"use strict";this.default_b=this.default_b||{};(function(__){var window=this;
try{
__._F_toggles_initialize=function(a){(typeof globalThis!=="undefined"?globalThis:typeof self!=="undefined"?self:this)._F_toggles=a||[]};(0,__._F_toggles_initialize)([0x60c, ]);
/*

 Copyright 2017 Brandon Roberts, Mike Ryan, Victor Savkin, Rob Wormald
 SPDX-License-Identifier: MIT
*/
/*

 Copyright Google LLC All Rights Reserved.

 Use of this source code is governed by an MIT-style license that can be
 found in the LICENSE file at https://angular.dev/license
 @param {!tsickle_zone_impl_1.ZonePrivate} api
 @param {?} target
 @param {string} targetName
 @param {string} method
 @param {!Array<string>} callbacks
 @return {void}
*/
/*

 Copyright Google LLC All Rights Reserved.

 Use of this source code is governed by an MIT-style license that can be
 found in the LICENSE file at https://angular.dev/license
*/
/*

 Copyright Google LLC All Rights Reserved.

 Use of this source code is governed by an MIT-style license that can be
 found in the LICENSE file at https://angular.io/license
*/
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
/*

 Copyright Google LLC
 SPDX-License-Identifier: Apache-2.0
*/
/*

 The MIT License

 Copyright (c) 2014-2016 Google, Inc. http://angular.io

 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:

 The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.

 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.
*/
/*


 Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
     http://www.apache.org/licenses/LICENSE-2.0
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
*/
/*
 @license
 Copyright Google LLC All Rights Reserved.

 Use of this source code is governed by an MIT-style license that can be
 found in the LICENSE file at https://angular.dev/license
*/
/*
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var g,aa=function(a){a.isGuard_doNotManuallySetPrettyPlease=!0;return a},baa=function(){var a=aaa;return aa(function(b){for(var c in a)if(b===a[c]&&!/^[0-9]+$/.test(c))return!0;return!1})},daa=function(a){return aa(function(b){return caa(b)?b.every(function(c){return a(c)}):!1})},eaa=function(a,b){return Object.defineProperty(b,"type",{value:a,writable:!1})},faa=function(a,b,c,d,e){var f=Zone.__symbol__(d);if(!b[f]){var h=b[f]=b[d];b[d]=function(l,q,v){q&&q.prototype&&e.forEach(function(y){var E=
c+"."+d+"::"+y,H=q.prototype;try{if(H.hasOwnProperty(y)){var O=a.ObjectGetOwnPropertyDescriptor(H,y);O&&O.value?(O.value=a.wrapWithCurrentZone(O.value,E),a._redefineProperty(q.prototype,y,O)):H[y]&&(H[y]=a.wrapWithCurrentZone(H[y],E))}else H[y]&&(H[y]=a.wrapWithCurrentZone(H[y],E))}catch(N){}});return h.call(b,l,q,v)};a.attachOriginToPatched(b[d],h)}},ca=function(a){return(ba.__Zone_symbol_prefix||"__zone_symbol__")+a},gaa=function(){function a(ma){h&&h.mark&&h.mark(ma)}function b(ma,Da){h&&h.measure&&
h.measure(ma,Da)}function c(ma){da||ba[H]&&(da=ba[H].resolve(0));if(da){var Da=da[O];Da||(Da=da.then);Da.call(da,ma)}else ba[E](ma,0)}function d(ma){bb===0&&N.length===0&&c(e);ma&&N.push(ma)}function e(){if(!T){for(T=!0;N.length;){var ma=N;N=[];for(var Da=0;Da<ma.length;Da++){var Ea=ma[Da];try{Ea.zone.runTask(Ea,null,null)}catch(zb){Ia.onUnhandledError(zb)}}}Ia.microtaskDrainDone();T=!1}}function f(){}var h=ba.performance;a("Zone");var l=function(ma,Da){this._parent=ma;this._name=Da?Da.name||"unnamed":
"<root>";this._properties=Da&&Da.properties||{};this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,Da)};l.assertZonePatched=function(){if(ba.Promise!==na.ZoneAwarePromise)throw Error("x");};l.__load_patch=function(ma,Da,Ea){Ea=Ea===void 0?!1:Ea;if(na.hasOwnProperty(ma)){if(Da=ba[ca("forceDuplicateZoneCheck")]===!0,!Ea&&Da)throw Error("y`"+ma);}else ba["__Zone_disable_"+ma]||(Ea="Zone:"+ma,a(Ea),na[ma]=Da(ba,l,Ia),b(Ea,Ea))};l.prototype.get=function(ma){var Da=this.getZoneWith(ma);
if(Da)return Da._properties[ma]};l.prototype.getZoneWith=function(ma){for(var Da=this;Da;){if(Da._properties.hasOwnProperty(ma))return Da;Da=Da._parent}return null};l.prototype.fork=function(ma){if(!ma)throw Error("z");return this._zoneDelegate.fork(this,ma)};l.prototype.wrap=function(ma,Da){if(typeof ma!=="function")throw Error("A`"+ma);var Ea=this._zoneDelegate.intercept(this,ma,Da),zb=this;return function(){return zb.runGuarded(Ea,this,arguments,Da)}};l.prototype.run=function(ma,Da,Ea,zb){Pa={parent:Pa,
zone:this};try{return this._zoneDelegate.invoke(this,ma,Da,Ea,zb)}finally{Pa=Pa.parent}};l.prototype.runGuarded=function(ma,Da,Ea,zb){Pa={parent:Pa,zone:this};try{try{return this._zoneDelegate.invoke(this,ma,Da===void 0?null:Da,Ea,zb)}catch(qb){if(this._zoneDelegate.handleError(this,qb))throw qb;}}finally{Pa=Pa.parent}};l.prototype.runTask=function(ma,Da,Ea){if(ma.zone!=this)throw Error("B`"+(ma.zone||ja).name+"`"+this.name);var zb=ma.type,qb=ma.data===void 0?{}:ma.data,dc=qb.isPeriodic===void 0?
!1:qb.isPeriodic;qb=qb.isRefreshable===void 0?!1:qb.isRefreshable;if(ma.state!=="notScheduled"||zb!=="eventTask"&&zb!=="macroTask"){var fc=ma.state!="running";fc&&ma._transitionTo("running","scheduled");var qc=Na;Na=ma;Pa={parent:Pa,zone:this};try{zb!="macroTask"||!ma.data||dc||qb||(ma.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,ma,Da,Ea)}catch(Zb){if(this._zoneDelegate.handleError(this,Zb))throw Zb;}}finally{Da=ma.state,Da!=="notScheduled"&&Da!=="unknown"&&(zb=="eventTask"||dc||
qb&&Da==="scheduling"?fc&&ma._transitionTo("scheduled","running","scheduling"):(zb=ma._zoneDelegates,this._updateTaskCount(ma,-1),fc&&ma._transitionTo("notScheduled","running","notScheduled"),qb&&(ma._zoneDelegates=zb))),Pa=Pa.parent,Na=qc}}};l.prototype.scheduleTask=function(ma){if(ma.zone&&ma.zone!==this)for(var Da=this;Da;){if(Da===ma.zone)throw Error("C`"+this.name+"`"+ma.zone.name);Da=Da.parent}ma._transitionTo("scheduling","notScheduled");Da=[];ma._zoneDelegates=Da;ma._zone=this;try{ma=this._zoneDelegate.scheduleTask(this,
ma)}catch(Ea){throw ma._transitionTo("unknown","scheduling","notScheduled"),this._zoneDelegate.handleError(this,Ea),Ea;}ma._zoneDelegates===Da&&this._updateTaskCount(ma,1);ma.state=="scheduling"&&ma._transitionTo("scheduled","scheduling");return ma};l.prototype.scheduleMicroTask=function(ma,Da,Ea,zb){return this.scheduleTask(new y("microTask",ma,Da,Ea,zb,void 0))};l.prototype.scheduleMacroTask=function(ma,Da,Ea,zb,qb){return this.scheduleTask(new y("macroTask",ma,Da,Ea,zb,qb))};l.prototype.scheduleEventTask=
function(ma,Da,Ea,zb,qb){return this.scheduleTask(new y("eventTask",ma,Da,Ea,zb,qb))};l.prototype.cancelTask=function(ma){if(ma.zone!=this)throw Error("D`"+(ma.zone||ja).name+"`"+this.name);if(ma.state==="scheduled"||ma.state==="running"){ma._transitionTo("canceling","scheduled","running");try{this._zoneDelegate.cancelTask(this,ma)}catch(Da){throw ma._transitionTo("unknown","canceling"),this._zoneDelegate.handleError(this,Da),Da;}this._updateTaskCount(ma,-1);ma._transitionTo("notScheduled","canceling");
ma.runCount=-1;return ma}};l.prototype._updateTaskCount=function(ma,Da){var Ea=ma._zoneDelegates;Da==-1&&(ma._zoneDelegates=null);for(var zb=0;zb<Ea.length;zb++)Ea[zb]._updateTaskCount(ma.type,Da)};ea.Object.defineProperties(l.prototype,{parent:{configurable:!0,enumerable:!0,get:function(){return this._parent}},name:{configurable:!0,enumerable:!0,get:function(){return this._name}}});ea.Object.defineProperties(l,{root:{configurable:!0,enumerable:!0,get:function(){for(var ma=l.current;ma.parent;)ma=
ma.parent;return ma}},current:{configurable:!0,enumerable:!0,get:function(){return Pa.zone}},currentTask:{configurable:!0,enumerable:!0,get:function(){return Na}}});l.__symbol__=ca;var q={name:"",onHasTask:function(ma,Da,Ea,zb){return ma.hasTask(Ea,zb)},onScheduleTask:function(ma,Da,Ea,zb){return ma.scheduleTask(Ea,zb)},onInvokeTask:function(ma,Da,Ea,zb,qb,dc){return ma.invokeTask(Ea,zb,qb,dc)},onCancelTask:function(ma,Da,Ea,zb){return ma.cancelTask(Ea,zb)}},v=function(ma,Da,Ea){this._taskCounts=
{microTask:0,macroTask:0,eventTask:0};this._zone=ma;this._parentDelegate=Da;this._forkZS=Ea&&(Ea&&Ea.onFork?Ea:Da._forkZS);this._forkDlgt=Ea&&(Ea.onFork?Da:Da._forkDlgt);this._forkCurrZone=Ea&&(Ea.onFork?this._zone:Da._forkCurrZone);this._interceptZS=Ea&&(Ea.onIntercept?Ea:Da._interceptZS);this._interceptDlgt=Ea&&(Ea.onIntercept?Da:Da._interceptDlgt);this._interceptCurrZone=Ea&&(Ea.onIntercept?this._zone:Da._interceptCurrZone);this._invokeZS=Ea&&(Ea.onInvoke?Ea:Da._invokeZS);this._invokeDlgt=Ea&&
(Ea.onInvoke?Da:Da._invokeDlgt);this._invokeCurrZone=Ea&&(Ea.onInvoke?this._zone:Da._invokeCurrZone);this._handleErrorZS=Ea&&(Ea.onHandleError?Ea:Da._handleErrorZS);this._handleErrorDlgt=Ea&&(Ea.onHandleError?Da:Da._handleErrorDlgt);this._handleErrorCurrZone=Ea&&(Ea.onHandleError?this._zone:Da._handleErrorCurrZone);this._scheduleTaskZS=Ea&&(Ea.onScheduleTask?Ea:Da._scheduleTaskZS);this._scheduleTaskDlgt=Ea&&(Ea.onScheduleTask?Da:Da._scheduleTaskDlgt);this._scheduleTaskCurrZone=Ea&&(Ea.onScheduleTask?
this._zone:Da._scheduleTaskCurrZone);this._invokeTaskZS=Ea&&(Ea.onInvokeTask?Ea:Da._invokeTaskZS);this._invokeTaskDlgt=Ea&&(Ea.onInvokeTask?Da:Da._invokeTaskDlgt);this._invokeTaskCurrZone=Ea&&(Ea.onInvokeTask?this._zone:Da._invokeTaskCurrZone);this._cancelTaskZS=Ea&&(Ea.onCancelTask?Ea:Da._cancelTaskZS);this._cancelTaskDlgt=Ea&&(Ea.onCancelTask?Da:Da._cancelTaskDlgt);this._cancelTaskCurrZone=Ea&&(Ea.onCancelTask?this._zone:Da._cancelTaskCurrZone);this._hasTaskCurrZone=this._hasTaskDlgtOwner=this._hasTaskDlgt=
this._hasTaskZS=null;ma=Ea&&Ea.onHasTask;var zb=Da&&Da._hasTaskZS;if(ma||zb)this._hasTaskZS=ma?Ea:q,this._hasTaskDlgt=Da,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,Ea.onScheduleTask||(this._scheduleTaskZS=q,this._scheduleTaskDlgt=Da,this._scheduleTaskCurrZone=this._zone),Ea.onInvokeTask||(this._invokeTaskZS=q,this._invokeTaskDlgt=Da,this._invokeTaskCurrZone=this._zone),Ea.onCancelTask||(this._cancelTaskZS=q,this._cancelTaskDlgt=Da,this._cancelTaskCurrZone=this._zone)};v.prototype.fork=
function(ma,Da){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,ma,Da):new l(ma,Da)};v.prototype.intercept=function(ma,Da,Ea){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,ma,Da,Ea):Da};v.prototype.invoke=function(ma,Da,Ea,zb,qb){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,ma,Da,Ea,zb,qb):Da.apply(Ea,zb)};v.prototype.handleError=function(ma,Da){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,
this._handleErrorCurrZone,ma,Da):!0};v.prototype.scheduleTask=function(ma,Da){var Ea=Da;if(this._scheduleTaskZS)this._hasTaskZS&&Ea._zoneDelegates.push(this._hasTaskDlgtOwner),(Ea=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,ma,Da))||(Ea=Da);else if(Da.scheduleFn)Da.scheduleFn(Da);else if(Da.type=="microTask")d(Da);else throw Error("E");return Ea};v.prototype.invokeTask=function(ma,Da,Ea,zb){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,
this._invokeTaskCurrZone,ma,Da,Ea,zb):Da.callback.apply(Ea,zb)};v.prototype.cancelTask=function(ma,Da){if(this._cancelTaskZS)ma=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,ma,Da);else{if(!Da.cancelFn)throw Error("F");ma=Da.cancelFn(Da)}return ma};v.prototype.hasTask=function(ma,Da){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,ma,Da)}catch(Ea){this.handleError(ma,Ea)}};v.prototype._updateTaskCount=function(ma,Da){var Ea=this._taskCounts,
zb=Ea[ma];Da=Ea[ma]=zb+Da;if(Da<0)throw Error("G");zb!=0&&Da!=0||this.hasTask(this._zone,{microTask:Ea.microTask>0,macroTask:Ea.macroTask>0,eventTask:Ea.eventTask>0,change:ma})};ea.Object.defineProperties(v.prototype,{zone:{configurable:!0,enumerable:!0,get:function(){return this._zone}}});var y=function(ma,Da,Ea,zb,qb,dc){this._zone=null;this.runCount=0;this._zoneDelegates=null;this._state="notScheduled";this.type=ma;this.source=Da;this.data=zb;this.scheduleFn=qb;this.cancelFn=dc;if(!Ea)throw Error("H");
this.callback=Ea;var fc=this;this.invoke=ma==="eventTask"&&zb&&zb.useG?y.invokeTask:function(){return y.invokeTask.call(ba,fc,this,arguments)}};y.invokeTask=function(ma,Da,Ea){ma||(ma=this);bb++;try{return ma.runCount++,ma.zone.runTask(ma,Da,Ea)}finally{bb==1&&e(),bb--}};y.prototype.cancelScheduleRequest=function(){this._transitionTo("notScheduled","scheduling")};y.prototype._transitionTo=function(ma,Da,Ea){if(this._state===Da||this._state===Ea)this._state=ma,ma=="notScheduled"&&(this._zoneDelegates=
null);else throw Error("I`"+this.type+"`"+this.source+"`"+ma+"`"+Da+"`"+(Ea?" or '"+Ea+"'":"")+"`"+this._state);};y.prototype.toString=function(){return this.data&&typeof this.data.handleId!=="undefined"?this.data.handleId.toString():Object.prototype.toString.call(this)};y.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}};ea.Object.defineProperties(y.prototype,{zone:{configurable:!0,enumerable:!0,get:function(){return this._zone}},
state:{configurable:!0,enumerable:!0,get:function(){return this._state}}});var E=ca("setTimeout"),H=ca("Promise"),O=ca("then"),N=[],T=!1,da,ja={name:"NO ZONE"},na={},Ia={symbol:ca,currentZoneFrame:function(){return Pa},onUnhandledError:f,microtaskDrainDone:f,scheduleMicroTask:d,showUncaughtError:function(){return!l[ca("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:f,patchMethod:function(){return f},bindArguments:function(){return[]},patchThen:function(){return f},
patchMacroTask:function(){return f},patchEventPrototype:function(){return f},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return f},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return f},wrapWithCurrentZone:function(){return f},filterProperties:function(){return[]},attachOriginToPatched:function(){return f},_redefineProperty:function(){return f},patchCallbacks:function(){return f},
nativeScheduleMicroTask:c},Pa={parent:null,zone:new l(null,null)},Na=null,bb=0;b("Zone","Zone");return l},haa=function(a,b){return Zone.current.wrap(a,b)},iaa=function(a,b){for(var c=a.length-1;c>=0;c--)typeof a[c]==="function"&&(a[c]=haa(a[c],b+"_"+c));return a},kaa=function(a){for(var b=["getCurrentPosition","watchPosition"],c=a.constructor.name,d={},e=0;e<b.length;d={name$jscomp$109:void 0},e++){d.name$jscomp$109=b[e];var f=a[d.name$jscomp$109];if(f){var h=fa(a,d.name$jscomp$109);jaa(h)&&(a[d.name$jscomp$109]=
function(l){return function(q){var v=function(){return q.apply(this,iaa(arguments,c+"."+l.name$jscomp$109))};ha(v,q);return v}}(d)(f))}}},jaa=function(a){return a?a.writable===!1?!1:!(typeof a.get==="function"&&typeof a.set==="undefined"):!0},oaa=function(a,b,c){var d=fa(a,b);!d&&c&&fa(c,b)&&(d={enumerable:!0,configurable:!0});if(d&&d.configurable&&(c=ca("on"+b+"patched"),!a.hasOwnProperty(c)||!a[c])){delete d.writable;delete d.value;var e=d.get,f=d.set,h=b.slice(2),l=laa[h];l||(l=laa[h]=ca("ON_PROPERTY"+
h));d.set=function(q){var v=this;v||a!==ia||(v=ia);v&&(typeof v[l]==="function"&&v.removeEventListener(h,maa),f&&f.call(v,null),v[l]=q,typeof q==="function"&&v.addEventListener(h,maa,!1))};d.get=function(){var q=this;q||a!==ia||(q=ia);if(!q)return null;var v=q[l];return v?v:e&&(v=e.call(this))?(d.set.call(this,v),typeof q.removeAttribute==="function"&&q.removeAttribute(b),v):null};naa(a,b,d);a[c]=!0}},paa=function(a,b,c){if(b)for(var d=0;d<b.length;d++)oaa(a,"on"+b[d],c);else{b=[];for(d in a)d.slice(0,
2)=="on"&&b.push(d);for(d=0;d<b.length;d++)oaa(a,b[d],c)}},la=function(a){var b=ia[a];if(b){ia[ca(a)]=b;ia[a]=function(){var e=iaa(arguments,a);switch(e.length){case 0:this[ka]=new b;break;case 1:this[ka]=new b(e[0]);break;case 2:this[ka]=new b(e[0],e[1]);break;case 3:this[ka]=new b(e[0],e[1],e[2]);break;case 4:this[ka]=new b(e[0],e[1],e[2],e[3]);break;default:throw Error("J");}};ha(ia[a],b);var c=new b(function(){}),d;for(d in c)a==="XMLHttpRequest"&&d==="responseBlob"||function(e){typeof c[e]===
"function"?ia[a].prototype[e]=function(){return this[ka][e].apply(this[ka],arguments)}:naa(ia[a].prototype,e,{set:function(f){typeof f==="function"?(this[ka][e]=haa(f,a+"."+e),ha(this[ka][e],f)):this[ka][e]=f},get:function(){return this[ka][e]}})}(d);for(d in b)d!=="prototype"&&b.hasOwnProperty(d)&&(ia[a][d]=b[d])}},oa=function(a,b,c){for(var d=a;d&&!d.hasOwnProperty(b);)d=qaa(d);!d&&a[b]&&(d=a);a=ca(b);var e=null;if(d&&(!(e=d[a])||!d.hasOwnProperty(a))){e=d[a]=d[b];var f=d&&fa(d,b);if(jaa(f)){var h=
c(e,a,b);d[b]=function(){return h(this,arguments)};ha(d[b],e)}}return e},raa=function(a,b,c){function d(f){var h=f.data;h.args[h.cbIdx]=function(){f.invoke.apply(this,arguments)};e.apply(h.target,h.args);return f}var e=null;e=oa(a,b,function(f){return function(h,l){var q=c(h,l);return q.cbIdx>=0&&typeof l[q.cbIdx]==="function"?Zone.current.scheduleMacroTask(q.name,l[q.cbIdx],q,d,void 0):f.apply(h,l)}})},ha=function(a,b){a[ca("OriginalDelegate")]=b},uaa=function(){if(saa)return taa;saa=!0;try{var a=
pa.navigator.userAgent;if(a.indexOf("MSIE ")!==-1||a.indexOf("Trident/")!==-1||a.indexOf("Edge/")!==-1)taa=!0}catch(b){}return taa},vaa=function(a,b,c){if(!c||c.length===0)return b;c=c.filter(function(e){return e.target===a});if(!c||c.length===0)return b;var d=c[0].ignoreProperties;return b.filter(function(e){return d.indexOf(e)===-1})},waa=function(a){return Object.getOwnPropertyNames(a).filter(function(b){return b.startsWith("on")&&b.length>2}).map(function(b){return b.substring(2)})},xaa=function(a,
b){var c=(b?b(a):a)+"false";b=(b?b(a):a)+"true";c=qa+c;b=qa+b;ra[a]={};ra[a]["false"]=c;ra[a]["true"]=b},Eaa=function(a,b,c,d){function e(ja,na,Ia){if(na=na||a.event){ja=ja||na.target||a;var Pa=ja[ra[na.type][Ia?"true":"false"]];if(Pa){Ia=[];if(Pa.length===1)(na=H(Pa[0],ja,na))&&Ia.push(na);else{Pa=Pa.slice();for(var Na=0;Na<Pa.length&&(!na||na[yaa]!==!0);Na++){var bb=H(Pa[Na],ja,na);bb&&Ia.push(bb)}}if(Ia.length===1)throw Ia[0];na={};for(ja=0;ja<Ia.length;na={err$jscomp$16:void 0},ja++)na.err$jscomp$16=
Ia[ja],b.nativeScheduleMicroTask(function(ma){return function(){throw ma.err$jscomp$16;}}(na))}}}function f(ja,na){function Ia(Bb,uc){return!sa&&typeof Bb==="object"&&Bb?!!Bb.capture:sa&&uc?typeof Bb==="boolean"?{capture:Bb,passive:!0}:Bb?typeof Bb==="object"&&Bb.passive!==!1?Object.assign({},Bb,{passive:!0}):Bb:{passive:!0}:Bb}function Pa(Bb){if(typeof Bb==="object"&&Bb!==null){var uc=Object.assign({},Bb);Bb.signal&&(uc.signal=Bb.signal);return uc}return Bb}if(!ja)return!1;var Na=!0;na&&na.useG!==
void 0&&(Na=na.useG);var bb=na&&na.vh,ma=!0;na&&na.chkDup!==void 0&&(ma=na.chkDup);var Da=!1;na&&na.rt!==void 0&&(Da=na.rt);for(var Ea=ja;Ea&&!Ea.hasOwnProperty(h);)Ea=qaa(Ea);!Ea&&ja[h]&&(Ea=ja);if(!Ea||Ea[y])return!1;var zb=na&&na.eventNameToString,qb={},dc=Ea[y]=Ea[h],fc=Ea[ca(l)]=Ea[l];ja=Ea[ca(q)]=Ea[q];var qc=Ea[ca(v)]=Ea[v],Zb;na&&na.prepend&&(Zb=Ea[ca(na.prepend)]=Ea[na.prepend]);var Ae=function(Bb){if(!Bb.isRemoved){var uc=ra[Bb.eventName],vc;uc&&(vc=uc[Bb.capture?"true":"false"]);if(uc=
vc&&Bb.target[vc])for(var Kd=0;Kd<uc.length;Kd++)if(uc[Kd]===Bb){uc.splice(Kd,1);Bb.isRemoved=!0;Bb.removeAbortListener&&(Bb.removeAbortListener(),Bb.removeAbortListener=null);uc.length===0&&(Bb.allRemoved=!0,Bb.target[vc]=null);break}}if(Bb.allRemoved)return fc.call(Bb.target,Bb.eventName,Bb.capture?N:O,Bb.options)},eb=function(Bb){return dc.call(qb.target,qb.eventName,Bb.invoke,qb.options)},Cb=function(Bb){return Zb.call(qb.target,qb.eventName,Bb.invoke,qb.options)},Qa=function(Bb){return fc.call(Bb.target,
Bb.eventName,Bb.invoke,Bb.options)};Ae=Na?Ae:Qa;Qa=function(Bb,uc){var vc=typeof uc;return vc==="function"&&Bb.callback===uc||vc==="object"&&Bb.originalDelegate===uc};var Ub=na&&na.diff?na.diff:Qa,kc=Zone[ca("UNPATCHED_EVENTS")],cd=a[ca("PASSIVE_EVENTS")];Qa=function(Bb,uc,vc,Kd,td,jf){td=td===void 0?!1:td;jf=jf===void 0?!1:jf;return function(){var wh=this||a,jh=arguments[0];na&&na.transferEventName&&(jh=na.transferEventName(jh));var Fp=arguments[1];if(!Fp||zaa&&jh==="uncaughtException")return Bb.apply(this,
arguments);var dPa=!1;if(typeof Fp!=="function"){if(!Fp.handleEvent)return Bb.apply(this,arguments);dPa=!0}if(!bb||bb(Bb,Fp,wh,arguments)){var dT=sa&&!!cd&&cd.indexOf(jh)!==-1,Jr=Pa(Ia(arguments[2],dT)),GJ=Jr==null?void 0:Jr.signal;if(GJ==null||!GJ.aborted){if(kc)for(var eT=0;eT<kc.length;eT++)if(jh===kc[eT])return dT?Bb.call(wh,jh,Fp,Jr):Bb.apply(this,arguments);dT=Jr?typeof Jr==="boolean"?!0:Jr.capture:!1;eT=Jr&&typeof Jr==="object"?Jr.once:!1;var Fqb=Zone.current,nu=ra[jh];nu||(xaa(jh,zb),nu=ra[jh]);
var uy=nu[dT?"true":"false"];nu=wh[uy];var HJ=!1;if(nu){if(HJ=!0,ma)for(uy=0;uy<nu.length;uy++)if(Ub(nu[uy],Fp))return}else nu=wh[uy]=[];var Mfa;uy=wh.constructor.name;var fPa=Aaa[uy];fPa&&(Mfa=fPa[jh]);Mfa||(Mfa=uy+uc+(zb?zb(jh):jh));qb.options=Jr;eT&&(qb.options.once=!1);qb.target=wh;qb.capture=dT;qb.eventName=jh;qb.isExisting=HJ;if(HJ=Na?Baa:void 0)HJ.taskData=qb;GJ&&(qb.options.signal=void 0);var Kr=Fqb.scheduleEventTask(Mfa,Fp,HJ,vc,Kd);if(GJ){qb.options.signal=GJ;var gPa=function(){return Kr.zone.cancelTask(Kr)};
Bb.call(GJ,"abort",gPa,{once:!0});Kr.removeAbortListener=function(){return GJ.removeEventListener("abort",gPa)}}qb.target=null;HJ&&(HJ.taskData=null);eT&&(qb.options.once=!0);if(sa||typeof Kr.options!=="boolean")Kr.options=Jr;Kr.target=wh;Kr.capture=dT;Kr.eventName=jh;dPa&&(Kr.originalDelegate=Fp);jf?nu.unshift(Kr):nu.push(Kr);if(td)return wh}}}};Ea[h]=Qa(dc,E,Na?function(){if(!qb.isExisting)return dc.call(qb.target,qb.eventName,qb.capture?N:O,qb.options)}:eb,Ae,Da);Zb&&(Ea.prependListener=Qa(Zb,
".prependListener:",Cb,Ae,Da,!0));Ea[l]=function(){var Bb=this||a,uc=arguments[0];na&&na.transferEventName&&(uc=na.transferEventName(uc));var vc=arguments[2];vc=vc?typeof vc==="boolean"?!0:vc.capture:!1;var Kd=arguments[1];if(!Kd)return fc.apply(this,arguments);if(!bb||bb(fc,Kd,Bb,arguments)){var td=ra[uc],jf;td&&(jf=td[vc?"true":"false"]);if(td=jf&&Bb[jf])for(var wh=0;wh<td.length;wh++){var jh=td[wh];if(Ub(jh,Kd)){td.splice(wh,1);jh.isRemoved=!0;td.length===0&&(jh.allRemoved=!0,Bb[jf]=null,vc||typeof uc!==
"string"||(Bb[qa+"ON_PROPERTY"+uc]=null));jh.zone.cancelTask(jh);if(Da)return Bb;return}}return fc.apply(this,arguments)}};Ea[q]=function(){var Bb=this||a,uc=arguments[0];na&&na.transferEventName&&(uc=na.transferEventName(uc));var vc=[];Bb=Caa(Bb,zb?zb(uc):uc);for(uc=0;uc<Bb.length;uc++){var Kd=Bb[uc];vc.push(Kd.originalDelegate?Kd.originalDelegate:Kd.callback)}return vc};Ea[v]=function(){var Bb=this||a,uc=arguments[0];if(uc){na&&na.transferEventName&&(uc=na.transferEventName(uc));var vc=ra[uc];if(vc){var Kd=
Bb[vc["false"]];Bb=Bb[vc["true"]];if(Kd)for(Kd=Kd.slice(),vc=0;vc<Kd.length;vc++){var td=Kd[vc];this[l].call(this,uc,td.originalDelegate?td.originalDelegate:td.callback,td.options)}if(Bb)for(Bb=Bb.slice(),Kd=0;Kd<Bb.length;Kd++)vc=Bb[Kd],this[l].call(this,uc,vc.originalDelegate?vc.originalDelegate:vc.callback,vc.options)}}else{uc=Object.keys(Bb);for(Bb=0;Bb<uc.length;Bb++)(Kd=(Kd=Daa.exec(uc[Bb]))&&Kd[1])&&Kd!=="removeListener"&&this[v].call(this,Kd);this[v].call(this,"removeListener")}if(Da)return this};
ha(Ea[h],dc);ha(Ea[l],fc);qc&&ha(Ea[v],qc);ja&&ha(Ea[q],ja);return!0}for(var h=d&&d.add||"addEventListener",l=d&&d.rm||"removeEventListener",q=d&&d.listeners||"eventListeners",v=d&&d.rmAll||"removeAllListeners",y=ca(h),E="."+h+":",H=function(ja,na,Ia){if(!ja.isRemoved){var Pa=ja.callback;typeof Pa==="object"&&Pa.handleEvent&&(ja.callback=function(ma){return Pa.handleEvent(ma)},ja.originalDelegate=Pa);try{ja.invoke(ja,na,[Ia])}catch(ma){var Na=ma}var bb=ja.options;bb&&typeof bb==="object"&&bb.once&&
na[l].call(na,Ia.type,ja.originalDelegate?ja.originalDelegate:ja.callback,bb);return Na}},O=function(ja){return e(this,ja,!1)},N=function(ja){return e(this,ja,!0)},T=[],da=0;da<c.length;da++)T[da]=f(c[da],d);return T},Caa=function(a,b){if(!b){var c=[],d;for(d in a){var e=Daa.exec(d);if((e=e&&e[1])&&(!b||e===b)&&(e=a[d]))for(var f=0;f<e.length;f++)c.push(e[f])}return c}c=ra[b];c||(xaa(b),c=ra[b]);b=a[c["false"]];a=a[c["true"]];return b?a?b.concat(a):b.slice():a?a.slice():[]},Faa=function(a,b){(a=a.Event)&&
a.prototype&&b.patchMethod(a.prototype,"stopImmediatePropagation",function(c){return function(d,e){d[yaa]=!0;c&&c.apply(d,e)}})},Kaa=function(){ta.__load_patch("util",function(a,b,c){var d=waa(a);c.patchOnProperties=paa;c.patchMethod=oa;c.bindArguments=iaa;c.patchMacroTask=raa;var e=b.__symbol__("BLACK_LISTED_EVENTS"),f=b.__symbol__("UNPATCHED_EVENTS");a[f]&&(a[e]=a[f]);a[e]&&(b[e]=b[f]=a[e]);c.patchEventPrototype=Faa;c.patchEventTarget=Eaa;c.isIEOrEdge=uaa;c.ObjectDefineProperty=naa;c.ObjectGetOwnPropertyDescriptor=
fa;c.ObjectCreate=Gaa;c.ArraySlice=Haa;c.patchClass=la;c.wrapWithCurrentZone=haa;c.filterProperties=vaa;c.attachOriginToPatched=ha;c._redefineProperty=Object.defineProperty;c.patchCallbacks=faa;c.getGlobalObjects=function(){return{globalSources:Aaa,zoneSymbolEventNames:ra,eventNames:d,isBrowser:Iaa,isMix:Jaa,isNode:zaa,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:qa,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}})},Raa=function(){Laa=Zone.__symbol__;
Maa=Object[Laa("defineProperty")]=Object.defineProperty;Naa=Object[Laa("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor;Oaa=Object.create;ua=Laa("unconfigurables");Object.defineProperty=function(a,b,c){if(a&&a[ua]&&a[ua][b])throw new TypeError("K`"+b+"`"+a);var d=c.configurable;b!=="prototype"&&(c=Paa(a,b,c));return Qaa(a,b,c,d)};Object.defineProperties=function(a,b){Object.keys(b).forEach(function(f){Object.defineProperty(a,f,b[f])});for(var c=k(Object.getOwnPropertySymbols(b)),d=c.next();!d.done;d=
c.next()){d=d.value;var e=void 0;((e=Object.getOwnPropertyDescriptor(b,d))==null?0:e.enumerable)&&Object.defineProperty(a,d,b[d])}return a};Object.create=function(a,b){typeof b!=="object"||Object.isFrozen(b)||Object.keys(b).forEach(function(c){b[c]=Paa(a,c,b[c])});return Oaa(a,b)};Object.getOwnPropertyDescriptor=function(a,b){var c=Naa(a,b);c&&a&&a[ua]&&a[ua][b]&&(c.configurable=!1);return c}},Saa=function(a,b,c){var d=c.configurable;c=Paa(a,b,c);return Qaa(a,b,c,d)},Paa=function(a,b,c){Object.isFrozen(c)||
(c.configurable=!0);c.configurable||(a[ua]||Object.isFrozen(a)||Maa(a,ua,{writable:!0,value:{}}),a[ua]&&(a[ua][b]=!0));return c},Qaa=function(a,b,c,d){try{return Maa(a,b,c)}catch(e){if(c.configurable){typeof d=="undefined"?delete c.configurable:c.configurable=d;try{return Maa(a,b,c)}catch(f){d=!1;if(b==="createdCallback"||b==="attachedCallback"||b==="detachedCallback"||b==="attributeChangedCallback")d=!0;if(!d)throw f;d=null;try{d=JSON.stringify(c)}catch(h){d=c.toString()}console.log("Attempting to configure '"+
b+"' with descriptor '"+d+"' on object '"+a+"' and got error, giving up: "+f)}}else throw e;}},Taa=function(a,b){var c=b.getGlobalObjects(),d=c.eventNames,e=c.globalSources,f=c.zoneSymbolEventNames,h=c.TRUE_STR,l=c.FALSE_STR,q=c.ZONE_SYMBOL_PREFIX,v="ApplicationCache EventSource FileReader InputMethodContext MediaController MessagePort Node Performance SVGElementInstance SharedWorker TextTrack TextTrackCue TextTrackList WebKitNamedFlow Window Worker WorkerGlobalScope XMLHttpRequest XMLHttpRequestEventTarget XMLHttpRequestUpload IDBRequest IDBOpenDBRequest IDBDatabase IDBTransaction IDBCursor DBIndex WebSocket".split(" ");
c=[];var y="Anchor Area Audio BR Base BaseFont Body Button Canvas Content DList Directory Div Embed FieldSet Font Form Frame FrameSet HR Head Heading Html IFrame Image Input Keygen LI Label Legend Link Map Marquee Media Menu Meta Meter Mod OList Object OptGroup Option Output Paragraph Pre Progress Quote Script Select Source Span Style TableCaption TableCell TableCol Table TableRow TableSection TextArea Title Track UList Unknown Video".split(" ");a.wtf?c=y.map(function(na){return"HTML"+na+"Element"}).concat(v):
a.EventTarget?c.push("EventTarget"):c=v;var E=a.__Zone_disable_IE_check||!1,H=a.__Zone_enable_cross_context_check||!1,O=b.isIEOrEdge(),N={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"};for(v=0;v<d.length;v++){var T=d[v],da=q+(T+l),ja=q+(T+h);f[T]={};f[T][l]=da;f[T][h]=ja}for(f=0;f<y.length;f++)for(h=
y[f],l=e[h]={},q=0;q<d.length;q++)v=d[q],l[v]=h+".addEventListener:"+v;d=[];for(e=0;e<c.length;e++)y=a[c[e]],d.push(y&&y.prototype);b.patchEventTarget(a,b,d,{vh:function(na,Ia,Pa,Na){if(!E&&O)if(H)try{var bb=Ia.toString();if(bb==="[object FunctionWrapper]"||bb=="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }")return na.apply(Pa,Na),!1}catch(ma){return na.apply(Pa,Na),!1}else{if(Ia=Ia.toString(),Ia==="[object FunctionWrapper]"||Ia=="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }")return na.apply(Pa,
Na),!1}else if(H)try{Ia.toString()}catch(ma){return na.apply(Pa,Na),!1}return!0},transferEventName:function(na){return N[na]||na}});Zone[b.symbol("patchEventTarget")]=!!a.EventTarget},Uaa=function(a,b){var c=a.getGlobalObjects(),d=c.ADD_EVENT_LISTENER_STR,e=c.REMOVE_EVENT_LISTENER_STR,f=b.WebSocket;b.EventTarget||a.patchEventTarget(b,a,[f.prototype]);b.WebSocket=function(l,q){var v=arguments.length>1?new f(l,q):new f(l),y=a.ObjectGetOwnPropertyDescriptor(v,"onmessage");if(y&&y.configurable===!1){var E=
a.ObjectCreate(v);var H=v;[d,e,"send","close"].forEach(function(O){E[O]=function(){var N=a.ArraySlice.call(arguments);if(O===d||O===e){var T=N.length>0?N[0]:void 0;T&&(T=Zone.__symbol__("ON_PROPERTY"+T),v[T]=E[T])}return v[O].apply(v,N)}})}else E=v;a.patchOnProperties(E,["close","error","message","open"],H);return E};c=b.WebSocket;for(var h in f)c[h]=f[h]},Vaa=function(a,b){var c=a.getGlobalObjects(),d=c.isMix;if((c.isBrowser||d)&&!a.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&
typeof Element!=="undefined"){if((c=a.ObjectGetOwnPropertyDescriptor(Element.prototype,"onclick"))&&!c.configurable)return!1;if(c)return a.ObjectDefineProperty(Element.prototype,"onclick",{enumerable:!0,configurable:!0,get:function(){return!0}}),d=!!document.createElement("div").onclick,a.ObjectDefineProperty(Element.prototype,"onclick",c),d}var e=b.XMLHttpRequest;if(!e)return!1;c=e.prototype;if(d=a.ObjectGetOwnPropertyDescriptor(c,"onreadystatechange"))return a.ObjectDefineProperty(c,"onreadystatechange",
{enumerable:!0,configurable:!0,get:function(){return!0}}),e=!!(new e).onreadystatechange,a.ObjectDefineProperty(c,"onreadystatechange",d||{}),e;var f=a.symbol("fake");a.ObjectDefineProperty(c,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[f]},set:function(h){this[f]=h}});a=new e;c=function(){};a.onreadystatechange=c;c=a[f]===c;a.onreadystatechange=null;return c},Xaa=function(a){for(var b=a.symbol("unbound"),c={},d=0;d<Waa.length;c={onproperty:void 0},d++){var e=Waa[d];
c.onproperty="on"+e;self.addEventListener(e,function(f){return function(h){h=h.target;var l;for(l=h?h.constructor.name+"."+f.onproperty:"unknown."+f.onproperty;h;){if(h[f.onproperty]&&!h[f.onproperty][b]){var q=a.wrapWithCurrentZone(h[f.onproperty],l);q[b]=h[f.onproperty];h[f.onproperty]=q}h=h.parentElement}}}(c),!0)}},Yaa=function(){var a=typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};a[(a.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch"]=
function(){var b=a.Zone;b.__load_patch("defineProperty",function(c,d,e){e._redefineProperty=Saa;Raa()});b.__load_patch("registerElement",function(c,d,e){d=e.getGlobalObjects();var f=d.isMix;(d.isBrowser||f)&&"registerElement"in c.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])});b.__load_patch("EventTargetLegacy",function(c,d,e){Taa(c,e);d=e.getGlobalObjects();var f=d.isMix;d.isNode&&!f||Vaa(e,
c)||(d=typeof WebSocket!=="undefined",Xaa(e),e.patchClass("XMLHttpRequest"),d&&Uaa(e,c),Zone[e.symbol("patchEvents")]=!0)})}},Zaa=function(a,b){b.patchMethod(a,"queueMicrotask",function(){return function(c,d){Zone.current.scheduleMicroTask("queueMicrotask",d[0])}})},va=function(a,b,c,d){function e(v){var y=v.data;y.args[0]=function(){return v.invoke.apply(this,arguments)};var E=h.apply(a,y.args);typeof E==="number"?y.handleId=E:(y.handle=E,y.isRefreshable=typeof E.refresh==="function");return v}function f(v){v=
v.data;var y=v.handleId,E;return l.call(a,(E=v.handle)!=null?E:y)}var h=null,l=null;b+=d;c+=d;var q={};h=oa(a,b,function(v){return function(y,E){if(typeof E[0]==="function"){var H={isRefreshable:!1,isPeriodic:d==="Interval",delay:d==="Timeout"||d==="Interval"?E[1]||0:void 0,args:E},O=E[0];E[0]=function(){try{return O.apply(this,arguments)}finally{var Ia=H.handle,Pa=H.handleId,Na=H.isRefreshable;H.isPeriodic||Na||(Pa?delete q[Pa]:Ia&&(Ia[$aa]=null))}};var N=Zone.current.scheduleMacroTask(b,E[0],H,
e,f);if(!N)return N;var T=N.data;y=T.handleId;E=T.handle;var da=T.isRefreshable;T=T.isPeriodic;if(y)q[y]=N;else if(E&&(E[$aa]=N,da&&!T)){var ja=E.refresh;E.refresh=function(){var Ia=N.zone,Pa=N.state;Pa==="notScheduled"?(N._state="scheduled",Ia._updateTaskCount(N,1)):Pa==="running"&&(N._state="scheduling");return ja.call(this)}}var na;return(na=E!=null?E:y)!=null?na:N}return v.apply(a,E)}});l=oa(a,c,function(v){return function(y,E){y=E[0];if(typeof y==="number"){var H=q[y];delete q[y]}else(H=y==null?
void 0:y[$aa])?y[$aa]=null:H=y;var O;((O=H)==null?0:O.type)?H.cancelFn&&H.zone.cancelTask(H):v.apply(a,E)}})},cba=function(){var a=ta;a.__load_patch("legacy",function(b){(b=b[a.__symbol__("legacyPatch")])&&b()});a.__load_patch("timers",function(b){va(b,"set","clear","Timeout");va(b,"set","clear","Interval");va(b,"set","clear","Immediate")});a.__load_patch("requestAnimationFrame",function(b){va(b,"request","cancel","AnimationFrame");va(b,"mozRequest","mozCancel","AnimationFrame");va(b,"webkitRequest",
"webkitCancel","AnimationFrame")});a.__load_patch("blocking",function(b,c){for(var d=["alert","prompt","confirm"],e=0;e<d.length;e++)oa(b,d[e],function(f,h,l){return function(q,v){return c.current.run(f,b,v,l)}})});a.__load_patch("EventTarget",function(b,c,d){d.patchEventPrototype(b,d);if(!Zone[d.symbol("patchEventTarget")]){var e=d.getGlobalObjects();c=e.eventNames;var f=e.zoneSymbolEventNames,h=e.TRUE_STR,l=e.FALSE_STR;e=e.ZONE_SYMBOL_PREFIX;for(var q=0;q<c.length;q++){var v=c[q],y=e+(v+l),E=e+
(v+h);f[v]={};f[v][l]=y;f[v][h]=E}(c=b.EventTarget)&&c.prototype&&d.patchEventTarget(b,d,[c&&c.prototype])}(c=b.XMLHttpRequestEventTarget)&&c.prototype&&d.patchEventTarget(b,d,[c.prototype])});a.__load_patch("MutationObserver",function(){la("MutationObserver");la("WebKitMutationObserver")});a.__load_patch("IntersectionObserver",function(){la("IntersectionObserver")});a.__load_patch("FileReader",function(){la("FileReader")});a.__load_patch("on_property",function(b,c,d){if((!zaa||Jaa)&&!Zone[d.symbol("patchEvents")]){c=
b.__Zone_ignore_on_properties;d=[];if(Iaa){var e=window;d=d.concat("Document SVGElement Element HTMLElement HTMLBodyElement HTMLMediaElement HTMLFrameSetElement HTMLFrameElement HTMLIFrameElement HTMLMarqueeElement Worker".split(" "));a:{try{var f=pa.navigator.userAgent;if(f.indexOf("MSIE ")!==-1||f.indexOf("Trident/")!==-1){var h=!0;break a}}catch(q){}h=!1}f=h?[{target:e,ignoreProperties:["error"]}]:[];h=waa(e);var l=c?c.concat(f):c;f=qaa(e);e&&(h=vaa(e,h,l),paa(e,h,f))}d=d.concat("XMLHttpRequest XMLHttpRequestEventTarget IDBIndex IDBRequest IDBOpenDBRequest IDBDatabase IDBTransaction IDBCursor WebSocket".split(" "));
for(e=0;e<d.length;e++)(f=b[d[e]])&&f.prototype&&(h=f.prototype,f=waa(f.prototype),h&&(f=vaa(h,f,c),paa(h,f,void 0)))}});a.__load_patch("customElements",function(b,c,d){c=d.getGlobalObjects();var e=c.isMix;(c.isBrowser||e)&&b.customElements&&"customElements"in b&&d.patchCallbacks(d,b.customElements,"customElements","define","connectedCallback disconnectedCallback adoptedCallback attributeChangedCallback formAssociatedCallback formDisabledCallback formResetCallback formStateRestoreCallback".split(" "))});
a.__load_patch("XHR",function(b,c){(function(v){function y(Na){var bb=Na.data,ma=bb.target;ma[h]=!1;ma[q]=!1;var Da=ma[f];N||(N=ma[aba],T=ma[bba]);Da&&T.call(ma,"readystatechange",Da);Da=ma[f]=function(){if(ma.readyState===ma.DONE)if(!bb.aborted&&ma[h]&&Na.state==="scheduled"){var Ea=ma[c.__symbol__("loadfalse")];if(ma.status!==0&&Ea&&Ea.length>0){var zb=Na.invoke;Na.invoke=function(){for(var qb=ma[c.__symbol__("loadfalse")],dc=0;dc<qb.length;dc++)qb[dc]===Na&&qb.splice(dc,1);bb.aborted||Na.state!==
"scheduled"||zb.call(Na)};Ea.push(Na)}else Na.invoke()}else bb.aborted||ma[h]!==!1||(ma[q]=!0)};N.call(ma,"readystatechange",Da);ma[d]||(ma[d]=Na);Ia.apply(ma,bb.args);ma[h]=!0;return Na}function E(){}function H(Na){Na=Na.data;Na.aborted=!0;return Pa.apply(Na.target,Na.args)}var O=v.XMLHttpRequest;if(O){O=O.prototype;var N=O[aba],T=O[bba];!N&&(v=v.XMLHttpRequestEventTarget)&&(v=v.prototype,N=v[aba],T=v[bba]);var da=oa(O,"open",function(){return function(Na,bb){Na[e]=bb[2]==0;Na[l]=bb[1];return da.apply(Na,
bb)}}),ja=ca("fetchTaskAborting"),na=ca("fetchTaskScheduling"),Ia=oa(O,"send",function(){return function(Na,bb){if(c.current[na]===!0||Na[e])return Ia.apply(Na,bb);bb={target:Na,url:Na[l],isPeriodic:!1,args:bb,aborted:!1};var ma=Zone.current.scheduleMacroTask("XMLHttpRequest.send",E,bb,y,H);Na&&Na[q]===!0&&!bb.aborted&&ma.state==="scheduled"&&ma.invoke()}}),Pa=oa(O,"abort",function(){return function(Na,bb){var ma=Na[d];if(ma&&typeof ma.type=="string")ma.cancelFn==null||ma.data&&ma.data.aborted||ma.zone.cancelTask(ma);
else if(c.current[ja]===!0)return Pa.apply(Na,bb)}})}})(b);var d=ca("xhrTask"),e=ca("xhrSync"),f=ca("xhrListener"),h=ca("xhrScheduled"),l=ca("xhrURL"),q=ca("xhrErrorBeforeScheduled")});a.__load_patch("geolocation",function(b){b.navigator&&b.navigator.geolocation&&kaa(b.navigator.geolocation)});a.__load_patch("PromiseRejectionEvent",function(b,c){function d(e){return function(f){Caa(b,e).forEach(function(h){var l=b.PromiseRejectionEvent;l&&(l=new l(e,{promise:f.promise,reason:f.rejection}),h.invoke(l))})}}
b.PromiseRejectionEvent&&(c[ca("unhandledPromiseRejectionHandler")]=d("unhandledrejection"),c[ca("rejectionHandledHandler")]=d("rejectionhandled"))});a.__load_patch("queueMicrotask",function(b,c,d){Zaa(b,d)})},dba=function(){ta.__load_patch("canvas",function(a,b,c){a=a.HTMLCanvasElement;typeof a!=="undefined"&&a.prototype&&a.prototype.toBlob&&c.patchMacroTask(a.prototype,"toBlob",function(d,e){return{name:"HTMLCanvasElement.toBlob",target:d,cbIdx:0,args:e}})})},wa=function(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,
wa);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));b!==void 0&&(this.cause=b);this.reportErrorToServer=!0},eba=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");wa.call(this,c+a[d])},xa=function(a,b){if(a)throw Error("L");b.push(65533)},fba=function(a,b){b=String.fromCharCode.apply(null,b);return a==null?b:a+b},gba=function(a,b,c,d){c=b+c;for(var e=[],f=null,h,l,q,v;b<c;)h=a[b++],h<128?e.push(h):h<224?b>=c?xa(d,e):(l=a[b++],
h<194||(l&192)!==128?(b--,xa(d,e)):e.push((h&31)<<6|l&63)):h<240?b>=c-1?xa(d,e):(l=a[b++],(l&192)!==128||h===224&&l<160||h===237&&l>=160||((q=a[b++])&192)!==128?(b--,xa(d,e)):e.push((h&15)<<12|(l&63)<<6|q&63)):h<=244?b>=c-2?xa(d,e):(l=a[b++],(l&192)!==128||(h<<28)+(l-144)>>30!==0||((q=a[b++])&192)!==128||((v=a[b++])&192)!==128?(b--,xa(d,e)):(h=(h&7)<<18|(l&63)<<12|(q&63)<<6|v&63,h-=65536,e.push((h>>10&1023)+55296,(h&1023)+56320))):xa(d,e),e.length>=8192&&(f=fba(f,e),e.length=0);return fba(f,e)},kba=
function(a,b,c,d){var e;d?(e=hba)||(e=hba=new TextDecoder("utf-8",{fatal:!0})):(e=iba)||(e=iba=new TextDecoder("utf-8",{fatal:!1}));c=b+c;a=b===0&&c===a.length?a:a.subarray(b,c);try{return e.decode(a)}catch(f){if(b=d){if(jba===void 0){try{e.decode(new Uint8Array([128]))}catch(h){}try{e.decode(new Uint8Array([97])),jba=!0}catch(h){jba=!1}}b=!jba}b&&(hba=void 0);throw f;}},oba=function(a,b){b=b===void 0?!1:b;if(lba){if(b&&(mba?!a.isWellFormed():/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(a)))throw Error("M");
a=(nba||(nba=new TextEncoder)).encode(a)}else{for(var c=0,d=new Uint8Array(3*a.length),e=0;e<a.length;e++){var f=a.charCodeAt(e);if(f<128)d[c++]=f;else{if(f<2048)d[c++]=f>>6|192;else{if(f>=55296&&f<=57343){if(f<=56319&&e<a.length){var h=a.charCodeAt(++e);if(h>=56320&&h<=57343){f=(f-55296)*1024+h-56320+65536;d[c++]=f>>18|240;d[c++]=f>>12&63|128;d[c++]=f>>6&63|128;d[c++]=f&63|128;continue}else e--}if(b)throw Error("M");f=65533}d[c++]=f>>12|224;d[c++]=f>>6&63|128}d[c++]=f&63|128}}a=c===d.length?d:d.subarray(0,
c)}return a},za=function(a){ya.setTimeout(function(){throw a;},0)},Aa=function(){var a=ya.navigator;return a&&(a=a.userAgent)?a:""},pba=function(a){return Ba?Ca?Ca.brands.some(function(b){return(b=b.brand)&&Fa(b,a)}):!1:!1},Ga=function(a){return Fa(Aa(),a)},Ha=function(){return Ba?!!Ca&&Ca.brands.length>0:!1},qba=function(){return Ha()?!1:Ga("Opera")},rba=function(){return Ha()?!1:Ga("Trident")||Ga("MSIE")},sba=function(){return Ga("Firefox")||Ga("FxiOS")},uba=function(){return Ga("Safari")&&!(tba()||
(Ha()?0:Ga("Coast"))||qba()||(Ha()?0:Ga("Edge"))||(Ha()?pba("Microsoft Edge"):Ga("Edg/"))||(Ha()?pba("Opera"):Ga("OPR"))||sba()||Ga("Silk")||Ga("Android"))},tba=function(){return Ha()?pba("Chromium"):(Ga("Chrome")||Ga("CriOS"))&&!(Ha()?0:Ga("Edge"))||Ga("Silk")},vba=function(){return Ga("Android")&&!(tba()||sba()||qba()||Ga("Silk"))},wba=function(){var a=Aa();if(rba()){var b=/rv: *([\d\.]*)/.exec(a);if(b&&b[1])a=b[1];else{b="";var c=/MSIE +([\d\.]+)/.exec(a);if(c&&c[1])if(a=/Trident\/(\d.\d)/.exec(a),
c[1]=="7.0")if(a&&a[1])switch(a[1]){case "4.0":b="8.0";break;case "5.0":b="9.0";break;case "6.0":b="10.0";break;case "7.0":b="11.0"}else b="7.0";else b=c[1];a=b}}else a="";return a},xba=function(){if(Ha()){var a=Ca.brands.find(function(b){return b.brand==="Internet Explorer"});if(!a||!a.version)return NaN;a=a.version.split(".")}else{a=wba();if(a==="")return NaN;a=a.split(".")}return a.length===0?NaN:Number(a[0])},Ja=function(){return Ba?!!Ca&&!!Ca.platform:!1},yba=function(){return Ja()?Ca.platform===
"Android":Ga("Android")},zba=function(){return Ga("iPhone")&&!Ga("iPod")&&!Ga("iPad")},Ka=function(){return zba()||Ga("iPad")||Ga("iPod")},Aba=function(){return Ja()?Ca.platform==="macOS":Ga("Macintosh")},La=function(a){return a[a.length-1]},Bba=function(a,b){var c=0;Ma(a,function(d,e,f){b.call(void 0,d,e,f)&&++c});return c},Cba=function(a,b){for(var c=typeof a==="string"?a.split(""):a,d=a.length-1;d>=0;d--)if(d in c&&b.call(void 0,c[d],d,a))return d;return-1},Oa=function(a,b){return Dba(a,b)>=0},
Eba=function(a){if(!Array.isArray(a))for(var b=a.length-1;b>=0;b--)delete a[b];a.length=0},Sa=function(a,b){b=Dba(a,b);var c;(c=b>=0)&&Ra(a,b);return c},Ra=function(a,b){Array.prototype.splice.call(a,b,1)},Ta=function(a,b){a:{for(var c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}b>=0&&Ra(a,b)},Ua=function(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},Fba=function(a,b){for(var c=1;c<arguments.length;c++){var d=
arguments[c];if(Va(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var h=0;h<f;h++)a[e+h]=d[h]}else a.push(d)}},Hba=function(a,b,c,d){return Array.prototype.splice.apply(a,Gba(arguments,1))},Gba=function(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},Iba=function(a,b,c){b=b||a;var d=function(q){return q};c=c||d;for(var e=d=0,f=new Set;e<a.length;){var h=a[e++],l=c(h);f.has(l)||(f.add(l),b[d++]=h)}b.length=d},Kba=function(a,b){a.sort(b||Jba)},
Lba=function(a,b){for(var c=Array(a.length),d=0;d<a.length;d++)c[d]={index:d,value:a[d]};var e=b||Jba;Kba(c,function(f,h){return e(f.value,h.value)||f.index-h.index});for(b=0;b<a.length;b++)a[b]=c[b].value},Jba=function(a,b){return a>b?1:a<b?-1:0},Mba=function(){for(var a=[],b=0;b<5;b+=1)a.push(b);return a},Nba=function(a,b,c){b=Array.prototype.splice.call(a,b,1);Array.prototype.splice.call(a,c,0,b[0])},Oba=function(a){for(var b="",c=0,d=a.length-10240;c<d;)b+=String.fromCharCode.apply(null,a.subarray(c,
c+=10240));b+=String.fromCharCode.apply(null,c?a.subarray(c):a);return btoa(b)},Qba=function(a){return Pba[a]||""},Sba=function(a){Rba.test(a)&&(a=a.replace(Rba,Qba));a=atob(a);for(var b=new Uint8Array(a.length),c=0;c<a.length;c++)b[c]=a.charCodeAt(c);return b},Wa=function(a){return a!=null&&a instanceof Uint8Array},Tba=function(a,b){var c=a.length;if(c!==b.length)return!1;for(var d=0;d<c;d++)if(a[d]!==b[d])return!1;return!0},Xa=function(){return typeof BigInt==="function"},Ya=function(a){return Array.prototype.slice.call(a)},
$a=function(a){return!!(Za(a)&2)},cb=function(a){a[ab]|=34;return a},Uba=function(a){a[ab]|=32;return a},Vba=function(a,b){b[ab]=(a|0)&-14591},Wba=function(a,b){b[ab]=(a|34)&-14557},db=function(a){return+!!(a&512)-1},Xba=function(a){return a.length==0?fb():new gb(a,hb)},ib=function(a){return a.messagePrototypeMarker===Yba},$ba=function(a){return!(!a||typeof a!=="object"||a.mapPrototypeMarker!==Zba)},jb=function(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&a.constructor===Object},kb=
function(a,b,c,d){if(a==null){if(!c)throw Error();}else if(typeof a==="string")a=a?new gb(a,hb):fb();else if(a.constructor!==gb)if(Wa(a))a=a.length?new gb(d?a:new Uint8Array(a),hb):fb();else{if(!b)throw Error();a=void 0}return a},aca=function(a,b){return!!a&&(Array.isArray(a)?a.includes(b):a.has(b))},lb=function(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=Za(a);if(d&1)return!0;if(!aca(b,c))return!1;a[ab]=d|1;return!0},mb=function(a){if(a&2)throw Error();},nb=function(a,b){if(typeof b!=="number"||
b<0||b>=a.length)throw Error();},bca=function(a,b){if(typeof b!=="number"||b<0||b>a.length)throw Error();},cca=function(a,b){(b=ob?b[ob]:void 0)&&(a[ob]=Ya(b))},dca=function(a){return a},eca=function(a){return a},ica=function(a,b,c,d){return fca(a,b,c,d,gca,hca)},lca=function(a,b,c,d){return fca(a,b,c,d,jca,kca)},fca=function(a,b,c,d,e,f){if(!c.length&&!d)return 0;for(var h=0,l=0,q=0,v=0,y=0,E=c.length-1;E>=0;E--){var H=c[E];d&&E===c.length-1&&H===d||(v++,H!=null&&q++)}if(d)for(var O in d)E=+O,isNaN(E)||
(y+=mca(E),l++,E>h&&(h=E));v=e(v,q)+f(l,h,y);O=q;E=l;H=h;for(var N=y,T=c.length-1;T>=0;T--){var da=c[T];if(!(da==null||d&&T===c.length-1&&da===d)){da=T-b;var ja=e(da,O)+f(E,H,N);ja<v&&(a=1+da,v=ja);E++;O--;N+=mca(da);H=Math.max(H,da)}}b=e(0,0)+f(E,H,N);b<v&&(a=0,v=b);if(d){E=l;H=h;N=y;O=q;for(var na in d)d=+na,isNaN(d)||d>=1024||(E--,O++,N-=na.length,h=e(d,O)+f(E,H,N),h<v&&(a=1+d,v=h))}return a},kca=function(a,b,c){return c+a*3+(a>1?a-1:0)},jca=function(a,b){return(a>1?a-1:0)+(a-b)*4},hca=function(a,
b){return a==0?0:9*Math.max(1<<32-Math.clz32(a+a/2-1),4)<=b?a==0?0:a<4?100+(a-1)*16:a<6?148+(a-4)*16:a<12?244+(a-6)*16:a<22?436+(a-12)*19:a<44?820+(a-22)*17:52+32*a:40+4*b},gca=function(a){return 40+4*a},mca=function(a){return a>=100?a>=1E4?Math.ceil(Math.log10(1+a)):a<1E3?3:4:a<10?1:2},pb=function(a){var b=a;if(nca(b)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(b))throw Error(String(b));}else if(oca(b)&&!Number.isSafeInteger(b))throw Error(String(b));return pca?BigInt(a):a=qca(a)?a?"1":"0":nca(a)?a.trim()||
"0":String(a)},rca=function(a,b){if(a.length>b.length)return!1;if(a.length<b.length||a===b)return!0;for(var c=0;c<a.length;c++){var d=a[c],e=b[c];if(d>e)return!1;if(d<e)return!0}},sca=function(a){var b=a>>>0;rb=b;sb=(a-b)/4294967296>>>0},tb=function(a){if(a<0){sca(-a);var b=k(tca(rb,sb));a=b.next().value;b=b.next().value;rb=a>>>0;sb=b>>>0}else sca(a)},uca=function(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,a==0&&(b=b+1>>>0));a=b*4294967296+(a>>>0);return c?-a:a},ub=function(a,b){b>>>=0;a>>>=
0;if(b<=2097151)var c=""+(4294967296*b+a);else Xa()?c=""+(BigInt(b)<<BigInt(32)|BigInt(a)):(c=(a>>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+c*6777216+b*6710656,c+=b*8147497,b*=2,a>=1E7&&(c+=a/1E7>>>0,a%=1E7),c>=1E7&&(b+=c/1E7>>>0,c%=1E7),c=b+vca(c)+vca(a));return c},vca=function(a){a=String(a);return"0000000".slice(a.length)+a},wca=function(){var a=rb,b=sb;b&2147483648?Xa()?a=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):(b=k(tca(a,b)),a=b.next().value,b=b.next().value,a="-"+ub(a,b)):a=ub(a,b);
return a},xca=function(a){if(a.length<16)tb(Number(a));else if(Xa())a=BigInt(a),rb=Number(a&BigInt(4294967295))>>>0,sb=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+(a[0]==="-");sb=rb=0;for(var c=a.length,d=b,e=(c-b)%6+b;e<=c;d=e,e+=6)d=Number(a.slice(d,e)),sb*=1E6,rb=rb*1E6+d,rb>=4294967296&&(sb+=Math.trunc(rb/4294967296),sb>>>=0,rb>>>=0);b&&(b=k(tca(rb,sb)),a=b.next().value,b=b.next().value,rb=a,sb=b)}},tca=function(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]},vb=function(){var a=Error();yca(a,"incident");
za(a)},wb=function(a){a=Error(a);yca(a,"warning");return a},xb=function(a,b){throw Error(b===void 0?"unexpected value "+a+"!":b);},zca=function(a){if(typeof a!=="number")throw Error("R`"+typeof a+"`"+a);return a},yb=function(a){return a==null?a:zca(a)},Aca=function(a){if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-Infinity")return Number(a)},Bca=function(a){if(typeof a!=="boolean")throw Error("S`"+Ab(a)+"`"+a);return a},Db=function(a){return a==null?a:Bca(a)},Cca=function(a){if(a==
null||typeof a==="boolean")return a;if(typeof a==="number")return!!a},Eb=function(a){var b=typeof a;switch(b){case "bigint":return!0;case "number":return Number.isFinite(a)}return b!=="string"?!1:Dca.test(a)},Fb=function(a){if(!Number.isFinite(a))throw wb("enum");return a|0},Eca=function(a){return a==null?a:Fb(a)},Fca=function(a){return a==null?a:Number.isFinite(a)?a|0:void 0},Gb=function(a){if(typeof a!=="number")throw wb("int32");if(!Number.isFinite(a))throw wb("int32");return a|0},Hb=function(a){if(a==
null)return a;if(typeof a==="string"){if(!a)return;a=+a}if(typeof a==="number")return Number.isFinite(a)?a|0:void 0},Gca=function(a){if(a==null)return a;if(typeof a==="string"){if(!a)return;a=+a}if(typeof a==="number")return Number.isFinite(a)?a>>>0:void 0},Kb=function(a,b){b=b===void 0?0:b;if(!Eb(a))throw wb("int64");var c=typeof a;switch(b){case 4096:switch(c){case "string":return Ib(a);case "bigint":return String(BigInt.asIntN(64,a));default:return Hca(a)}case 8192:switch(c){case "string":return b=
Math.trunc(Number(a)),Number.isSafeInteger(b)?a=pb(b):(b=a.indexOf("."),b!==-1&&(a=a.substring(0,b)),a=Xa()?pb(BigInt.asIntN(64,BigInt(a))):pb(Ica(a))),a;case "bigint":return pb(BigInt.asIntN(64,a));default:return pb(Jb(a))}case 0:switch(c){case "string":return Ib(a);case "bigint":return pb(BigInt.asIntN(64,a));default:return Jb(a)}default:return xb(b,"Unknown format requested type for int64")}},Lb=function(a){return a==null?a:Kb(a,0)},Jca=function(a){return a[0]==="-"?!1:a.length<20?!0:a.length===
20&&Number(a.substring(0,6))<184467},Kca=function(a){return a[0]==="-"?a.length<20?!0:a.length===20&&Number(a.substring(0,7))>-922337:a.length<19?!0:a.length===19&&Number(a.substring(0,6))<922337},Lca=function(a){if(a<0){tb(a);var b=ub(rb,sb);a=Number(b);return Number.isSafeInteger(a)?a:b}if(Jca(String(a)))return a;tb(a);return sb*4294967296+(rb>>>0)},Ica=function(a){if(Kca(a))return a;xca(a);return wca()},Mca=function(a){if(Jca(a))return a;xca(a);return ub(rb,sb)},Jb=function(a){a=Math.trunc(a);
Number.isSafeInteger(a)||(tb(a),a=uca(rb,sb));return a},Mb=function(a){a=Math.trunc(a);return a>=0&&Number.isSafeInteger(a)?a:Lca(a)},Hca=function(a){a=Math.trunc(a);if(Number.isSafeInteger(a))a=String(a);else{var b=String(a);Kca(b)?a=b:(tb(a),a=wca())}return a},Nca=function(a){a=Math.trunc(a);if(a>=0&&Number.isSafeInteger(a))a=String(a);else{var b=String(a);Jca(b)?a=b:(tb(a),a=ub(rb,sb))}return a},Ib=function(a){var b=Math.trunc(Number(a));if(Number.isSafeInteger(b))return String(b);b=a.indexOf(".");
b!==-1&&(a=a.substring(0,b));return Ica(a)},Nb=function(a){var b=Math.trunc(Number(a));if(Number.isSafeInteger(b)&&b>=0)return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return Mca(a)},Oca=function(a){if(a==null)return a;if(typeof a==="bigint")return Ob(a)?a=Number(a):(a=BigInt.asIntN(64,a),a=Ob(a)?Number(a):String(a)),a;if(Eb(a))return typeof a==="number"?Jb(a):Ib(a)},Pb=function(a,b){b=b===void 0?!1:b;var c=typeof a;if(a==null)return a;if(c==="bigint")return String(BigInt.asIntN(64,
a));if(Eb(a))return c==="string"?Ib(a):b?Hca(a):Jb(a)},Pca=function(a){var b=0;b=b===void 0?0:b;if(!Eb(a))throw wb("uint64");var c=typeof a;switch(b){case 4096:switch(c){case "string":return Nb(a);case "bigint":return String(BigInt.asUintN(64,a));default:return Nca(a)}case 8192:switch(c){case "string":return b=Math.trunc(Number(a)),Number.isSafeInteger(b)&&b>=0?a=pb(b):(b=a.indexOf("."),b!==-1&&(a=a.substring(0,b)),a=Xa()?pb(BigInt.asUintN(64,BigInt(a))):pb(Mca(a))),a;case "bigint":return pb(BigInt.asUintN(64,
a));default:return pb(Mb(a))}case 0:switch(c){case "string":return Nb(a);case "bigint":return pb(BigInt.asUintN(64,a));default:return Mb(a)}default:return xb(b,"Unknown format requested type for int64")}},Qca=function(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String(BigInt.asIntN(64,a));if(Eb(a)){if(b==="string")return Ib(a);if(b==="number")return Jb(a)}},Rca=function(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String(BigInt.asUintN(64,a));if(Eb(a)){if(b==="string")return Nb(a);
if(b==="number")return Mb(a)}},Qb=function(a){if(typeof a!=="string")throw Error();return a},Sca=function(a){if(a!=null&&typeof a!=="string")throw Error();return a},Tca=function(a){return a==null||typeof a==="string"?a:void 0},Rb=function(a,b,c,d){if(a!=null&&typeof a==="object"&&ib(a))return a;if(!Array.isArray(a))return c?d&2?Uca(b):new b:void 0;var e=c=Za(a);e===0&&(e|=d&32);e|=d&2;e!==c&&(a[ab]=e);return new b(a)},Uca=function(a){var b=a[Vca];if(b)return b;b=new a;cb(b.internalArray_);return a[Vca]=
b},Sb=function(a,b,c){if(b)return Bca(a);var d;return(d=Cca(a))!=null?d:c?!1:void 0},Tb=function(a,b,c){a=b?Kb(a):Oca(a);b=a==null?c?0:void 0:a;return typeof b==="string"&&(c=+b,Number.isSafeInteger(c))?c:b},Vb=function(a,b,c){if(b)return Qb(a);var d;return(d=Tca(a))!=null?d:c?"":void 0},Wca=function(a,b,c){a=b?Fb(a):Fca(a);return a==null?c?0:void 0:a},Xca=function(){vb()},Zca=function(a,b){(Wb||(Wb=new Xb)).set(a,b);(Yca||(Yca=new Xb)).set(b,a)},ada=function(){Xb===void 0&&(Xb=typeof WeakMap==="function"?
$ca(WeakMap):null);return Xb},$ca=function(a){try{return a.toString().indexOf("[native code]")!==-1?a:null}catch(b){return null}},cda=function(a){if(bda===void 0){var b=new Yb([],{});bda=Array.prototype.concat.call([],b).length===1}bda&&typeof Symbol==="function"&&Symbol.isConcatSpreadable&&(a[Symbol.isConcatSpreadable]=!0)},dda=function(a,b){if(a.length!==b.length)return!1;for(var c in b){var d=Number(c),e;if(e=Number.isInteger(d))e=a[d],d=b[d],e=!(Number.isNaN(e)?Number.isNaN(d):e===d);if(e)return!1}return!0},
eda=function(){vb()},fda=function(a,b){var c,d;return(c=$b)==null?void 0:(d=c.get(b))==null?void 0:d.get(a)},hda=function(a,b){return gda(b)},gda=function(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "bigint":return Ob(a)?Number(a):String(a);case "boolean":return a?1:0;case "object":if(a)if(Array.isArray(a)){if(lb(a,void 0,0))return}else{if(Wa(a))return Oba(a);if(a instanceof gb)return ida(a);if(a instanceof ac)return jda(a)}}return a},kda=function(a){return a},lda=function(a,
b,c,d,e,f){a=Rb(a,d,c,f);e&&(a=bc(a));return a},mda=function(a){return a},nda=function(a,b,c){if(a.size!=b.size)return!1;var d=!0;a.forEach(function(e,f){cc(e,b.get(f),c==null?void 0:c.getFieldComparisonTypeInfo(2))||(d=!1)});return d},oda=function(a,b){if(!Array.isArray(a)||!Array.isArray(b))return 0;a=a[0];b=b[0];return a===b?0:a<b?-1:1},pda=function(a,b,c){if(b==null)return a.size===0;if(!Array.isArray(b)||a.size>b.length)return!1;b=Array.prototype.slice.call(b);b.sort(oda);for(var d=0,e=void 0,
f=b.length-1;f>=0;f--){var h=b[f];if(!h||!Array.isArray(h)||h.length!==2)return!1;var l=h[0];if(l!==e){e=void 0;if(!cc(a.get(l),h[1],(e=c)==null?void 0:e.getFieldComparisonTypeInfo(2)))return!1;e=l;d++}}return d===a.size},qda=function(a,b){if(!Array.isArray(a)||!Array.isArray(b))return!1;a=Array.prototype.slice.call(a);b=Array.prototype.slice.call(b);a.sort(oda);b.sort(oda);var c=a.length,d=b.length;if(c===0&&d===0)return!0;for(var e=0,f=0;e<c&&f<d;){var h=void 0,l=a[e];if(!Array.isArray(l))return!1;
for(var q=l[0];e<c-1&&(h=a[e+1])[0]===q;)e++,l=h;var v=void 0;h=b[f];if(!Array.isArray(h))return!1;for(var y=h[0];f<d-1&&(v=b[f+1])[0]===y;)f++,h=v;if(!cc(q,y))return!1;q=void 0;if(!cc(l[1],h[1],(q=void 0)==null?void 0:q.getFieldComparisonTypeInfo(2)))return!1;e++;f++}return e>=c&&f>=d},rda=function(a){return[a,this.get(a)]},uda=function(){return sda||(sda=new ac(cb([]),void 0,void 0,void 0,tda))},vda=function(a,b){if(typeof b==="string")try{b=Sba(b)}catch(c){return!1}return Wa(b)&&Tba(a,b)},wda=
function(a){switch(a){case "bigint":case "string":case "number":return!0;default:return!1}},zda=function(a,b){var c=xda||(xda=Symbol()),d;if(ib(a))ec(a),a=a.internalArray_,d!=null||(d=a[c]);else if(!Array.isArray(a))return!1;if(ib(b))ec(b),b=b.internalArray_,d!=null||(d=b[c]);else if(!Array.isArray(b))return!1;return yda(a,b,d,2)},cc=function(a,b,c){return yda(a,b,c,0)},yda=function(a,b,c,d){if(a===b||a==null&&b==null)return!0;if(a instanceof ac)return Ada(a,b,c);if(b instanceof ac)return Ada(b,a,
c);if(a==null||b==null)return!1;if(a instanceof gb)return Bda(a,b);if(b instanceof gb)return Bda(b,a);if(Wa(a))return vda(a,b);if(Wa(b))return vda(b,a);var e=typeof a,f=typeof b;if(e!=="object"||f!=="object")return Number.isNaN(a)||Number.isNaN(b)?String(a)===String(b):wda(e)&&wda(f)?""+a===""+b:e==="boolean"&&f==="number"||e==="number"&&f==="boolean"?!a===!b:!1;if(ib(a)||ib(b))return zda(a,b);if(a.constructor!=b.constructor)return!1;if(a.constructor===Array){f=Za(a);var h=Za(b),l=a.length,q=b.length,
v=Math.max(l,q);e=db(f|h);(f=d===1||!!((f|h)&1))&&(d=1);if(!f){f=xda||(xda=Symbol());var y;c!=null||(c=(y=a[f])!=null?y:b[f]);if(c!=null){var E=c.getRepeatedFields();var H=c.getMapFields()}}y=l&&a[l-1];f=q&&b[q-1];jb(y)||(y=null);jb(f)||(f=null);l=l-e-+!!y;q=q-e-+!!f;for(h=0;h<v;h++)if(!Cda(h-e,a,y,l,b,f,q,e,E,H,c,d))return!1;if(y)for(var O in y){d=a;v=y;h=l;var N=b,T=f,da=q,ja=e,na=E,Ia=H,Pa=c,Na=+O;d=!Number.isFinite(Na)||Na<h||Na<da?!0:Cda(Na,d,v,h,N,T,da,ja,na,Ia,Pa,2);if(!d)return!1}if(f)for(var bb in f)if((O=
y&&bb in y)||(O=a,d=y,v=l,h=b,N=f,T=q,da=e,ja=E,na=H,Ia=c,Pa=+bb,O=!Number.isFinite(Pa)||Pa<v||Pa<T?!0:Cda(Pa,O,d,v,h,N,T,da,ja,na,Ia,2)),!O)return!1;return!0}if(a.constructor===Object)return cc([a],[b]);throw Error();},Cda=function(a,b,c,d,e,f,h,l,q,v,y,E){b=Dda(a,b,c,d,l);e=Dda(a,e,f,h,l);E=E===1;if(e==null&&lb(b,q,a)||b==null&&lb(e,q,a))return!0;y=E?y:y==null?void 0:y.getFieldComparisonTypeInfo(a);if(v=v==null?void 0:v.has(a)){if(b==null&&Array.isArray(e))return e.length===0;if(e==null&&Array.isArray(b))return b.length===
0;if(Array.isArray(b)&&Array.isArray(e))return qda(b,e)}return yda(b,e,y,v||aca(q,a)?1:0)},Dda=function(a,b,c,d,e){var f;return(f=a<d?b[a+e]:void 0)!=null?f:c==null?void 0:c[a]},Fda=function(a,b){Eda=b;a=new a(b);Eda=void 0;return a},Ida=function(a){switch(typeof a){case "boolean":return Gda||(Gda=[0,void 0,!0]);case "number":return a>0?void 0:a===0?Hda||(Hda=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}},Jda=function(a,b){a=m(a,b[0],b[1]);a[ab]|=16384;return a},m=function(a,
b,c){a==null&&(a=Eda);Eda=void 0;if(a==null){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-33521665|(b&1023)<<15)}else{if(!Array.isArray(a))throw Error("U");d=Za(a);if(d&2048)throw Error("X");if(d&64)return a;d|=64;if(c&&(d|=512,c!==a[0]))throw Error("Y");a:{c=a;var e=c.length;if(e){var f=e-1;if(jb(c[f])){d|=256;b=f-db(d);if(b>=1024)throw Error("Z");d=d&-33521665|(b&1023)<<15;break a}}if(b){b=Math.max(b,e-db(d));if(b>1024)throw Error("$");d=d&-33521665|(b&1023)<<15}}}a[ab]=d;return a},Kda=function(a,b,
c){var d=Ya(a),e=d.length,f=b&256?d[e-1]:void 0;e+=f?-1:0;for(b=b&512?1:0;b<e;b++)d[b]=c(d[b]);if(f){b=d[b]={};for(var h in f)b[h]=c(f[h])}cca(d,a);return d},Lda=function(a,b,c,d,e){if(a!=null){if(Array.isArray(a))a=lb(a,void 0,0)?void 0:e&&Za(a)&2?a:gc(a,b,c,d!==void 0,e);else if(jb(a)){var f={},h;for(h in a)f[h]=Lda(a[h],b,c,d,e);a=f}else a=b(a,d);return a}},gc=function(a,b,c,d,e){var f=d||c?Za(a):0;d=d?!!(f&32):void 0;for(var h=Ya(a),l=0;l<h.length;l++)h[l]=Lda(h[l],b,c,d,e);c&&(cca(h,a),c(f,h));
return h},Nda=function(a){return Lda(a,Mda,void 0,void 0,!1)},Mda=function(a){return ib(a)?a.toJSON():a instanceof gb?Oda(a):Wa(a)?new Uint8Array(a):a instanceof ac?jda(a,Nda):a},Qda=function(a){return Lda(a,Pda,void 0,void 0,!1)},Pda=function(a){return ib(a)?a.toJSON():a instanceof ac?jda(a,Qda):gda(a)},Rda=function(a){if(typeof a==="string")return{buffer:Sba(a),isImmutable:!1};if(Array.isArray(a))return{buffer:new Uint8Array(a),isImmutable:!1};if(a.constructor===Uint8Array)return{buffer:a,isImmutable:!1};
if(a.constructor===ArrayBuffer)return{buffer:new Uint8Array(a),isImmutable:!1};if(a.constructor===gb)return{buffer:hc(a)||new Uint8Array(0),isImmutable:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),isImmutable:!1};throw Error("ia");},Sda=function(a,b,c){c=c===void 0?Wba:c;if(a!=null){if(a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=Za(a);if(d&2)return a;b&&(b=d===0||!!(d&32)&&!(d&64||!(d&16)));return b?(a[ab]=(d|34)&
-12293,a):gc(a,Sda,d&4?Wba:c,!0,!0)}ib(a)?(c=a.internalArray_,d=c[ab],a=d&2?a:Tda(a,c,d,!0)):a instanceof ac&&!(a.arrayState&2)&&(c=cb(Uda(a,Sda)),a=new ac(c,a.valueCtor,a.keyToApi,a.valueToApi));return a}},Tda=function(a,b,c,d){ec(a);return Fda(a.constructor,Vda(b,c,d))},Vda=function(a,b,c){var d=c||b&2?Wba:Vba,e=!!(b&32);a=Kda(a,b,function(f){return Sda(f,e,d)});a[ab]=a[ab]|32|(c?2:0);return a},bc=function(a){var b=a.internalArray_,c=b[ab];return c&2?Tda(a,b,c,!1):a},Xda=function(a,b,c,d){if(!(4&
b))return!0;if(c==null)return!1;!d&&c===0&&(4096&b||8192&b)&&(a.constructor[Wda]=(a.constructor[Wda]|0)+1)<5&&vb();return c===0?!1:!(c&b)},Yda=function(a,b,c,d){b=d+db(b);if(!(b<0||b>=a.length||b>=c))return a[b]},ic=function(a,b,c,d){var e=b>>15&1023||536870912;if(c>=e){var f=b;if(b&256)var h=a[a.length-1];else{if(d==null)return f;h=a[e+db(b)]={};f|=256}h[c]=d;c<e&&(a[c+db(b)]=void 0);f!==b&&(a[ab]=f);return f}a[c+db(b)]=d;b&256&&(a=a[a.length-1],c in a&&delete a[c]);return b},oc=function(a,b,c,d,
e,f,h){var l=a.internalArray_,q=l[ab];d=2&q?1:d;f=!!f;e=Zda(l,q,b,e);var v=Za(e),y=e;$da(y,a);d!==2&&d!==1||jc(y,a);if(Xda(a,v,h,f)){4&v&&(e=Ya(e),v=lc(v,q),q=ic(l,q,b,e));for(var E=y=0;y<e.length;y++){var H=c(e[y]);H!=null&&(e[E++]=H)}E<y&&(e.length=E);v=aea(v,q);v=(v|20)&-4097;v&=-8193;h&&(v|=h);e[ab]=v;2&v&&Object.freeze(e)}if(d===1||d===4&&32&v)mc(v)||(a=v,v|=2,v!==a&&(e[ab]=v),Object.freeze(e));else if(h=d!==5?!1:!!(32&v)||mc(v)||!!bea(e),(d===2||h)&&mc(v)&&(e=Ya(e),v=lc(v,q),v=nc(v,q,f),e[ab]=
v,q=ic(l,q,b,e)),mc(v)||(b=v,v=nc(v,q,f),v!==b&&(e[ab]=v)),h){var O=cea(e);dea(e,a,!0)}else if(d===2&&!f){var N;(N=Wb)==null||N.delete(e)}return O||e},Zda=function(a,b,c,d){a=pc(a,b,c,d);return Array.isArray(a)?a:eea},aea=function(a,b){a===0&&(a=lc(a,b));return a|1},mc=function(a){return!!(2&a)&&!!(4&a)||!!(2048&a)},fea=function(a,b,c,d,e,f,h){var l=b&2;a:{var q=c,v=b&2;c=!1;if(q==null){if(v){a=uda();break a}q=[]}else if(q.constructor===ac){if((q.arrayState&2)==0||v){a=q;break a}q=Uda(q)}else Array.isArray(q)?
c=$a(q):q=[];if(v){if(!q.length){a=uda();break a}c||(c=!0,cb(q))}else if(c){c=!1;v=Ya(q);for(q=0;q<v.length;q++){var y=v[q]=Ya(v[q]);Array.isArray(y[1])&&(y[1]=cb(y[1]))}q=v}c||(Za(q)&64?rc(q,32):32&b&&Uba(q));f=new ac(q,e,f,h);ic(a,b,d,f);a=f}!l&&e&&(a.callToMutableOnAccess=!0);return a},sc=function(a,b,c){a=a.internalArray_;var d=a[ab];return fea(a,d,pc(a,d,b),b,void 0,Vb,c)},tc=function(a,b,c,d){a=a.internalArray_;var e=a[ab];return fea(a,e,pc(a,e,b),b,c,d)},wc=function(a,b,c,d){var e=a.internalArray_,
f=e[ab];mb(f);if(c==null)return ic(e,f,b),a;c=gea(c);var h=Za(c),l=h,q=!!(2&h)||Object.isFrozen(c),v=!q&&(void 0===hea||!1);if(Xda(a,h)){h=21;q&&(c=Ya(c),l=0,h=lc(h,f),h=nc(h,f,!0));for(var y=0;y<c.length;y++)c[y]=d(c[y])}v?(c=Ya(c),l=0,h=lc(h,f),h=nc(h,f,!0)):q||dea(c,a);h!==l&&(c[ab]=h);ic(e,f,b,c);return a},xc=function(a,b,c,d){var e=a.internalArray_,f=e[ab];mb(f);ic(e,f,b,(d==="0"?Number(c)===0:c===d)?void 0:c);return a},jea=function(a){var b;return(b=a[iea])!=null?b:a[iea]=new Map},kea=function(a,
b,c,d){var e=a.get(d);if(e!=null)return e;for(var f=e=0;f<d.length;f++){var h=d[f];pc(b,c,h)!=null&&(e!==0&&(c=ic(b,c,e)),e=h)}a.set(d,e);return e},lea=function(a,b,c,d){a=a.internalArray_;var e=a[ab];d=pc(a,e,c,d);b=Rb(d,b,!1,e);b!==d&&b!=null&&ic(a,e,c,b);return b},mea=function(a,b,c,d,e,f,h,l){var q=a.internalArray_,v=!!(2&b);e=v?1:e;h=!!h;l&&(l=!v);f=Zda(q,b,d,f);var y=Za(f);v=f;$da(v,a);e!==2&&e!==1||jc(v,a);v=!!(4&y);if(!v){y=aea(y,b);var E=f,H=b,O=!!(2&y);O&&(H|=2);for(var N=!O,T=!0,da=0,ja=
0;da<E.length;da++){var na=Rb(E[da],c,!1,H);if(na instanceof c){if(!O){var Ia=$a(na.internalArray_);N&&(N=!Ia);T&&(T=Ia)}E[ja++]=na}}ja<da&&(E.length=ja);y|=4;y=T?y|16:y&-17;y=N?y|8:y&-9;E[ab]=y;O&&Object.freeze(E)}if(l&&!(8&y||!f.length&&(e===1||e===4&&32&y))){mc(y)?(f=Ya(f),y=lc(y,b),b=ic(q,b,d,f)):jc(f,a);c=f;l=y;for(E=0;E<c.length;E++)y=c[E],H=bc(y),y!==H&&(c[E]=H);l|=8;l=c.length?l&-17:l|16;y=c[ab]=l}if(e===1||e===4&&32&y)mc(y)||(a=y,y|=!f.length||16&y&&(!v||32&y)?2:2048,y!==a&&(f[ab]=y),Object.freeze(f));
else if(v=e!==5?!1:!!(32&y)||mc(y)||!!bea(f),(e===2||v)&&mc(y)&&(f=Ya(f),y=lc(y,b),y=nc(y,b,h),f[ab]=y,b=ic(q,b,d,f)),mc(y)||(d=y,y=nc(y,b,h),y!==d&&(f[ab]=y)),v){var Pa=cea(f);dea(f,a,!0)}else if(e===2&&!h){var Na;(Na=Wb)==null||Na.delete(f)}return Pa||f},lc=function(a,b){a=(2&b?a|2:a&-3)|32;return a&=-2049},nc=function(a,b,c){32&b&&c||(a&=-33);return a},yc=function(a,b,c,d,e,f,h,l,q,v){mb(a.internalArray_[ab]);b=f(a,b,2,h,!0);f=Za(b);f=4&f?4096&f?4096:8192&f?8192:0:void 0;f=f!=null?f:0;if(q)if(Array.isArray(d))for(d=
gea(d),e=d.length,l=0;l<e;l++)b.push(c(d[l],f));else for(d=k(d),e=d.next();!e.done;e=d.next())b.push(c(e.value,f));else l&&v?(e!=null||(e=b.length-1),nb(b,e),b.splice(e,l)):(l&&bca(b,e),e!=void 0?b.splice(e,l,c(d,f)):b.push(c(d,f)));return a},zc=function(a,b,c,d,e,f,h,l){var q=a.internalArray_[ab];mb(q);a=mea(a,q,c,b,2,f,!0);if(h&&l)e!=null||(e=a.length-1),nb(a,e),a.splice(e,h);else return h?bca(a,e):d=d!=null?d:new c,e!=void 0?a.splice(e,h,d):a.push(d),$a(d.internalArray_)?rc(a,8):rc(a,16),d},nea=
function(a){return Pb(a,!0)},Ac=function(a,b){return a!=null?a:b},oea=function(a){return kb(a,!1,!1,!1)},qea=function(a){ec(a);var b=Bc?a.internalArray_:gc(a.internalArray_,Pda,void 0,void 0,!1);var c=!Bc,d=(c?a.internalArray_:b)[ab];if(a=b.length){var e=b[a-1],f=jb(e);f?a--:e=void 0;var h=db(d),l=a-h,q=!!pea&&!(d&512),v;d=(v=pea)!=null?v:eca;d=q?d(l,h,b,e):l;v=(l=q&&l!==d)?Array.prototype.slice.call(b,0,a):b;if(f||l){b:{var y=v;var E=e;var H;f=!1;if(l)for(q=Math.max(0,d+h);q<y.length;q++){var O=
y[q],N=q-h;O==null||lb(O,void 0,N)||$ba(O)&&O.size===0||(f=y[q]=void 0,((f=H)!=null?f:H={})[N]=O,f=!0)}if(E)for(var T in E)if(q=+T,isNaN(q))q=void 0,((q=H)!=null?q:H={})[T]=E[T];else if(O=E[T],Array.isArray(O)&&(lb(O,void 0,+T)||$ba(O)&&O.size===0)&&(O=null),O==null&&(f=!0),l&&q<d){f=!0;O=q+h;for(N=y.length;N<=O;N++)y.push(void 0);y[O]=E[q]}else O!=null&&(q=void 0,((q=H)!=null?q:H={})[T]=O);f||(H=E);if(H)for(var da in H){E=H;break b}E=null}y=E==null?e!=null:E!==e}l&&(a=v.length);for(var ja;a>0;a--){T=
a-1;H=v[T];T-=h;if(!(H==null||lb(H,void 0,T)||$ba(H)&&H.size===0))break;ja=!0}if(v!==b||y||ja){if(!l&&!c)v=Array.prototype.slice.call(v,0,a);else if(ja||y||E)v.length=a;E&&v.push(E)}b=v}return b},rea=function(a,b){if(b==null)return new a;if(!Array.isArray(b))throw Error("la");if(Object.isFrozen(b)||Object.isSealed(b)||!Object.isExtensible(b))throw Error("ma");b[ab]|=128;return Fda(a,Uba(b))},Cc=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Dc=function(a,b){var c={},d;for(d in a)b.call(void 0,
a[d],d,a)&&(c[d]=a[d]);return c},sea=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},tea=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},uea=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},vea=function(a,b){return a!==null&&b in a},wea=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c},xea=function(a,b){return(b=wea(a,b))&&a[b]},Ec=function(a){for(var b in a)return!1;return!0},yea=function(a){for(var b in a)delete a[b]},
Fc=function(a,b){b in a&&delete a[b]},zea=function(a,b,c){if(a!==null&&b in a)throw Error("oa`"+b);a[b]=c},Aea=function(a,b){return a!==null&&b in a?a[b]:void 0},Gc=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Cea=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Bea.length;f++)c=Bea[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},Eea=function(){var a=null;if(!Dea)return a;try{var b=function(c){return c};a=Dea.createPolicy("goog#html",
{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a},Gea=function(){Fea===void 0&&(Fea=Eea());return Fea},Ic=function(a){var b=Gea();return new Hc(b?b.createScriptURL(a):a)},Jc=function(a){if(a instanceof Hc)return a.privateDoNotAccessOrElseWrappedResourceUrl;throw Error("qa");},Hea=function(a){return a.toString().indexOf("`")===-1},Lc=function(a){return a instanceof Kc},Mc=function(a){if(Lc(a))return a.privateDoNotAccessOrElseWrappedUrl;throw Error("qa");},Nc=function(a){return new Iea(function(b){return b.substr(0,
a.length+1).toLowerCase()===a+":"})},Oc=function(a){var b=b===void 0?Jea:b;a:if(b=b===void 0?Jea:b,!Lc(a)){for(var c=0;c<b.length;++c){var d=b[c];if(d instanceof Iea&&d.isValid(a)){a=new Kc(a);break a}}a=void 0}return a||Kea},Mea=function(a){if(Lea.test(a))return a},Pc=function(a){return a instanceof Kc?Mc(a):Mea(a)},Nea=function(a,b){b=Pc(b);b!==void 0&&(a.href=b)},Rc=function(a){var b=Gea();return new Qc(b?b.createHTML(a):a)},Sc=function(a){return a instanceof Qc},Tc=function(a){if(Sc(a))return a.privateDoNotAccessOrElseWrappedHtml;
throw Error("qa");},Uc=function(a,b){if(a.nodeType===1&&/^(script|style)$/i.test(a.tagName))throw Error("qa");a.innerHTML=Tc(b)},Oea=function(a,b){a.src=Jc(b).toString()},Vc=function(a,b,c,d){b=Pc(b);return b!==void 0?a.open(b,c,d):null},Pea=function(a){a=a===void 0?document:a;var b,c;a=(c=(b="document"in a?a.document:a).querySelector)==null?void 0:c.call(b,"script[nonce]");return a==null?"":a.nonce||a.getAttribute("nonce")||""},Wc=function(a,b){a.src=Jc(b);(b=Pea(a.ownerDocument&&a.ownerDocument.defaultView||
window))&&a.setAttribute("nonce",b)},Qea=function(){ta.__load_patch("Error",function(a,b,c){function d(Ia){for(var Pa={zoneName:Ia.zone.name},Na=Pa;Ia.parent;){Ia=Ia.parent;var bb={zoneName:Ia.zone.name};Pa=Pa.parent=bb}return Na}function e(Ia,Pa,Na){Na=Na===void 0?!0:Na;Ia=Ia.split("\n");for(var bb=0;Ia[bb]!==y&&Ia[bb]!==E&&Ia[bb]!==H&&Ia[bb]!==O&&Ia[bb]!==N&&bb<Ia.length;)bb++;for(;bb<Ia.length&&Pa;bb++){var ma=Ia[bb];if(ma.trim())switch(v[ma]){case h.zoneJsInternal:Ia.splice(bb,1);bb--;break;case h.transition:Pa.parent?
Pa=Pa.parent:Pa=null;Ia.splice(bb,1);bb--;break;default:Ia[bb]+=Na?" ["+Pa.zone.name+"]":" ["+Pa.zoneName+"]"}}return Ia.join("\n")}function f(){var Ia=this,Pa=q.apply(this,arguments),Na=Pa.originalStack=Pa.stack;if(f.stackRewrite&&Na){var bb=c.currentZoneFrame();if(T==="lazy")Pa[c.symbol("zoneFrameNames")]=d(bb);else if(T==="default")try{Pa.stack=Pa.zoneAwareStack=e(Na,bb)}catch(ma){}}return this instanceof q&&this.constructor!=q?(Object.keys(Pa).concat("stack","message").forEach(function(ma){var Da=
Pa[ma];if(Da!==void 0)try{Ia[ma]=Da}catch(Ea){}}),this):Pa}var h={zoneJsInternal:0,transition:1},l=c.symbol("zoneJsInternalStackFrames"),q=a[c.symbol("Error")]=a.Error,v={},y,E,H,O,N;a.Error=f;var T=a.__Zone_Error_BlacklistedStackFrames_policy||a.__Zone_Error_ZoneJsInternalStackFrames_policy||"default";f.prototype=q.prototype;f[l]=v;f.stackRewrite=!1;var da=c.symbol("zoneAwareStack");T==="lazy"&&Object.defineProperty(f.prototype,"zoneAwareStack",{configurable:!0,enumerable:!0,get:function(){this[da]||
(this[da]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1));return this[da]},set:function(Ia){this.originalStack=Ia;this[da]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1)}});var ja=["stackTraceLimit","captureStackTrace","prepareStackTrace"];(a=Object.keys(q))&&a.forEach(function(Ia){ja.filter(function(Pa){return Pa===Ia}).length===0&&Object.defineProperty(f,Ia,{get:function(){return q[Ia]},set:function(Pa){q[Ia]=Pa}})});q.hasOwnProperty("stackTraceLimit")&&(q.stackTraceLimit=
Math.max(q.stackTraceLimit,15),Object.defineProperty(f,"stackTraceLimit",{get:function(){return q.stackTraceLimit},set:function(Ia){return q.stackTraceLimit=Ia}}));q.hasOwnProperty("captureStackTrace")&&Object.defineProperty(f,"captureStackTrace",{value:function(Ia,Pa){q.captureStackTrace(Ia,Pa)}});Object.defineProperty(f,"prepareStackTrace",{get:function(){return q.prepareStackTrace},set:function(Ia){return Ia&&typeof Ia==="function"?q.prepareStackTrace=function(Pa,Na){if(Na)for(var bb=0;bb<Na.length;bb++)if(Na[bb].getFunctionName()===
"zoneCaptureStackTrace"){Na.splice(bb,1);break}return Ia.call(this,Pa,Na)}:q.prepareStackTrace=Ia}});if(T!=="disable"){var na=b.current.fork({name:"detect",onHandleError:function(Ia,Pa,Na,bb){if(bb.originalStack&&Error===f)for(Ia=bb.originalStack.split(/\n/),bb=Na=Pa=!1;Ia.length;){var ma=Ia.shift();if(/:\d+:\d+/.test(ma)||ma==="ZoneAwareError"){var Da=ma.split("(")[0].split("@")[0],Ea=h.transition;Da.indexOf("ZoneAwareError")!==-1&&(Da.indexOf("new ZoneAwareError")!==-1?(y=ma,E=ma.replace("new ZoneAwareError",
"new Error.ZoneAwareError")):(H=ma,O=ma.replace("Error.",""),ma.indexOf("Error.ZoneAwareError")===-1&&(N=ma.replace("ZoneAwareError","Error.ZoneAwareError"))),v[E]=h.zoneJsInternal);Da.indexOf("runGuarded")!==-1?Na=!0:Da.indexOf("runTask")!==-1?bb=!0:Da.indexOf("run")!==-1?Pa=!0:Ea=h.zoneJsInternal;v[ma]=Ea;if(Pa&&Na&&bb){f.stackRewrite=!0;break}}}return!1}}).fork({name:"child",onScheduleTask:function(Ia,Pa,Na,bb){return Ia.scheduleTask(Na,bb)},onInvokeTask:function(Ia,Pa,Na,bb,ma,Da){return Ia.invokeTask(Na,
bb,ma,Da)},onCancelTask:function(Ia,Pa,Na,bb){return Ia.cancelTask(Na,bb)},onInvoke:function(Ia,Pa,Na,bb,ma,Da,Ea){return Ia.invoke(Na,bb,ma,Da,Ea)}});b=Error.stackTraceLimit;Error.stackTraceLimit=100;na.run(function(){na.runGuarded(function(){var Ia=function(){};na.scheduleEventTask(l,function(){na.scheduleMacroTask(l,function(){na.scheduleMicroTask(l,function(){throw Error();},void 0,function(Pa){Pa._transitionTo=Ia;Pa.invoke()});na.scheduleMicroTask(l,function(){throw Error();},void 0,function(Pa){Pa._transitionTo=
Ia;Pa.invoke()})},void 0,function(Pa){Pa._transitionTo=Ia;Pa.invoke()},function(){})},void 0,function(Pa){Pa._transitionTo=Ia;Pa.invoke()},function(){})})});Error.stackTraceLimit=b}})},Rea=function(){ta.__load_patch("ZoneAwarePromise",function(a,b,c){function d(eb){if(eb&&eb.toString===Object.prototype.toString){var Cb=eb.constructor&&eb.constructor.name;return(Cb?Cb:"")+": "+JSON.stringify(eb)}return eb?eb.toString():Object.prototype.toString.call(eb)}function e(eb){c.onUnhandledError(eb);try{var Cb=
b[Pa];typeof Cb==="function"&&Cb.call(this,eb)}catch(Qa){}}function f(eb){return eb}function h(eb){return Zb.reject(eb)}function l(eb,Cb){return function(Qa){try{q(eb,Cb,Qa)}catch(Ub){q(eb,!1,Ub)}}}function q(eb,Cb,Qa){var Ub=zb();if(eb===Qa)throw new TypeError("za");if(eb[Na]===null){var kc=null;try{if(typeof Qa==="object"||typeof Qa==="function")kc=Qa&&Qa.then}catch(cd){return Ub(function(){q(eb,!1,cd)})(),eb}if(Cb!==!1&&Qa instanceof Zb&&Qa.hasOwnProperty(Na)&&Qa.hasOwnProperty(bb)&&Qa[Na]!==null)v(Qa),
q(eb,Qa[Na],Qa[bb]);else if(Cb!==!1&&typeof kc==="function")try{kc.call(Qa,Ub(l(eb,Cb)),Ub(l(eb,!1)))}catch(cd){Ub(function(){q(eb,!1,cd)})()}else{eb[Na]=Cb;Ub=eb[bb];eb[bb]=Qa;eb[ma]===ma&&Cb===!0&&(eb[Na]=eb[Ea],eb[bb]=eb[Da]);Cb===!1&&Qa instanceof Error&&(kc=b.currentTask&&b.currentTask.data&&b.currentTask.data.__creationTrace__)&&N(Qa,qb,{configurable:!0,enumerable:!1,writable:!0,value:kc});for(kc=0;kc<Ub.length;)y(eb,Ub[kc++],Ub[kc++],Ub[kc++],Ub[kc++]);if(Ub.length==0&&Cb==0){eb[Na]=0;Cb=Qa;
try{throw Error("Aa`"+d(Qa)+"`"+(Qa&&Qa.stack?"\n"+Qa.stack:""));}catch(cd){Cb=cd}ja&&(Cb.throwOriginal=!0);Cb.rejection=Qa;Cb.promise=eb;Cb.zone=b.current;Cb.task=b.currentTask;da.push(Cb);c.scheduleMicroTask()}}}return eb}function v(eb){if(eb[Na]===0){try{var Cb=b[dc];Cb&&typeof Cb==="function"&&Cb.call(this,{rejection:eb[bb],promise:eb})}catch(Qa){}eb[Na]=!1;for(Cb=0;Cb<da.length;Cb++)eb===da[Cb].promise&&da.splice(Cb,1)}}function y(eb,Cb,Qa,Ub,kc){v(eb);var cd=eb[Na],Bb=cd?typeof Ub==="function"?
Ub:f:typeof kc==="function"?kc:h;Cb.scheduleMicroTask("Promise.then",function(){try{var uc=eb[bb],vc=!!Qa&&ma===Qa[ma];vc&&(Qa[Da]=uc,Qa[Ea]=cd);var Kd=Cb.run(Bb,void 0,vc&&Bb!==h&&Bb!==f?[]:[uc]);q(Qa,!0,Kd)}catch(td){q(Qa,!1,td)}},Qa)}function E(eb){var Cb=eb.prototype,Qa=O(Cb,"then");if(!Qa||Qa.writable!==!1&&Qa.configurable){var Ub=Cb.then;Cb[Ia]=Ub;eb.prototype.then=function(kc,cd){var Bb=this;return(new Zb(function(uc,vc){Ub.call(Bb,uc,vc)})).then(kc,cd)};eb[Ae]=!0}}function H(eb){return function(Cb,
Qa){Cb=eb.apply(Cb,Qa);if(Cb instanceof Zb)return Cb;Qa=Cb.constructor;Qa[Ae]||E(Qa);return Cb}}var O=Object.getOwnPropertyDescriptor,N=Object.defineProperty,T=c.symbol,da=[],ja=a[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,na=T("Promise"),Ia=T("then");c.onUnhandledError=function(eb){if(c.showUncaughtError()){var Cb=eb&&eb.rejection;Cb?console.error("Unhandled Promise rejection:",Cb instanceof Error?Cb.message:Cb,"; Zone:",eb.zone.name,"; Task:",eb.task&&eb.task.source,"; Value:",Cb,Cb instanceof
Error?Cb.stack:void 0):console.error(eb)}};c.microtaskDrainDone=function(){for(var eb={};da.length;eb={uncaughtPromiseError:void 0}){eb.uncaughtPromiseError=da.shift();try{eb.uncaughtPromiseError.zone.runGuarded(function(Cb){return function(){if(Cb.uncaughtPromiseError.throwOriginal)throw Cb.uncaughtPromiseError.rejection;throw Cb.uncaughtPromiseError;}}(eb))}catch(Cb){e(Cb)}}};var Pa=T("unhandledPromiseRejectionHandler"),Na=T("state"),bb=T("value"),ma=T("finally"),Da=T("parentPromiseValue"),Ea=T("parentPromiseState"),
zb=function(){var eb=!1;return function(Cb){return function(){eb||(eb=!0,Cb.apply(null,arguments))}}},qb=T("currentTaskTrace"),dc=T("rejectionHandledHandler"),fc=function(){},qc=a.AggregateError,Zb=function(eb){if(!(this instanceof Zb))throw Error("Ba");this[Na]=null;this[bb]=[];try{var Cb=zb();eb&&eb(Cb(l(this,!0)),Cb(l(this,!1)))}catch(Qa){q(this,!1,Qa)}};Zb.toString=function(){return"function ZoneAwarePromise() { [native code] }"};Zb.resolve=function(eb){return eb instanceof Zb?eb:q(new this(null),
!0,eb)};Zb.reject=function(eb){return q(new this(null),!1,eb)};Zb.withResolvers=function(){var eb={};eb.promise=new Zb(function(Cb,Qa){eb.resolve=Cb;eb.reject=Qa});return eb};Zb.any=function(eb){if(!eb||typeof eb[Symbol.iterator]!=="function")return Promise.reject(new qc([],"All promises were rejected"));var Cb=[],Qa=0;try{for(var Ub=k(eb),kc=Ub.next();!kc.done;kc=Ub.next()){var cd=kc.value;Qa++;Cb.push(Zb.resolve(cd))}}catch(vc){return Promise.reject(new qc([],"All promises were rejected"))}if(Qa===
0)return Promise.reject(new qc([],"All promises were rejected"));var Bb=!1,uc=[];return new Zb(function(vc,Kd){for(var td=0;td<Cb.length;td++)Cb[td].then(function(jf){Bb||(Bb=!0,vc(jf))},function(jf){uc.push(jf);Qa--;Qa===0&&(Bb=!0,Kd(new qc(uc,"All promises were rejected")))})})};Zb.race=function(eb){function Cb(uc){Ub(uc)}function Qa(uc){kc(uc)}var Ub,kc,cd=new this(function(uc,vc){Ub=uc;kc=vc});eb=k(eb);for(var Bb=eb.next();!Bb.done;Bb=eb.next())(Bb=Bb.value)&&typeof Bb.then==="function"||(Bb=
this.resolve(Bb)),Bb.then(Cb,Qa);return cd};Zb.all=function(eb){return Zb.allWithCallback(eb)};Zb.allSettled=function(eb){return(this&&this.prototype instanceof Zb?this:Zb).allWithCallback(eb,{thenCallback:function(Cb){return{status:"fulfilled",value:Cb}},errorCallback:function(Cb){return{status:"rejected",reason:Cb}}})};Zb.allWithCallback=function(eb,Cb){var Qa,Ub,kc=new this(function(td,jf){Qa=td;Ub=jf}),cd=2,Bb=0,uc=[];eb=k(eb);for(var vc=eb.next(),Kd={};!vc.done;Kd={curValueIndex:void 0},vc=eb.next()){(vc=
vc.value)&&typeof vc.then==="function"||(vc=this.resolve(vc));Kd.curValueIndex=Bb;try{vc.then(function(td){return function(jf){uc[td.curValueIndex]=Cb?Cb.thenCallback(jf):jf;cd--;cd===0&&Qa(uc)}}(Kd),function(td){return function(jf){Cb?(uc[td.curValueIndex]=Cb.errorCallback(jf),cd--,cd===0&&Qa(uc)):Ub(jf)}}(Kd))}catch(td){Ub(td)}cd++;Bb++}cd-=2;cd===0&&Qa(uc);return kc};ea.Object.defineProperty(Zb.prototype,Symbol.toStringTag,{configurable:!0,enumerable:!0,get:function(){return"Promise"}});ea.Object.defineProperty(Zb.prototype,
Symbol.species,{configurable:!0,enumerable:!0,get:function(){return Zb}});Zb.prototype.then=function(eb,Cb){var Qa,Ub=(Qa=this.constructor)==null?void 0:Qa[Symbol.species];Ub&&typeof Ub==="function"||(Ub=this.constructor||Zb);Qa=new Ub(fc);Ub=b.current;this[Na]==null?this[bb].push(Ub,Qa,eb,Cb):y(this,Ub,Qa,eb,Cb);return Qa};Zb.prototype.catch=function(eb){return this.then(null,eb)};Zb.prototype.finally=function(eb){var Cb,Qa=(Cb=this.constructor)==null?void 0:Cb[Symbol.species];Qa&&typeof Qa==="function"||
(Qa=Zb);Cb=new Qa(fc);Cb[ma]=ma;Qa=b.current;this[Na]==null?this[bb].push(Qa,Cb,eb,eb):y(this,Qa,Cb,eb,eb);return Cb};Zb.resolve=Zb.resolve;Zb.reject=Zb.reject;Zb.race=Zb.race;Zb.all=Zb.all;na=a[na]=a.Promise;a.Promise=Zb;var Ae=T("thenPatched");c.patchThen=E;na&&(E(na),oa(a,"fetch",function(eb){return H(eb)}));Promise[b.__symbol__("uncaughtPromiseErrors")]=da;return Zb})},Sea=function(){ta.__load_patch("toString",function(a){var b=Function.prototype.toString,c=ca("OriginalDelegate"),d=ca("Promise"),
e=ca("Error"),f=function(){if(typeof this==="function"){var l=this[c];if(l)return typeof l==="function"?b.call(l):Object.prototype.toString.call(l);if(this===Promise&&(l=a[d])||this===Error&&(l=a[e]))return b.call(l)}return b.call(this)};f[c]=b;Function.prototype.toString=f;var h=Object.prototype.toString;Object.prototype.toString=function(){return typeof Promise==="function"&&this instanceof Promise?"[object Promise]":h.call(this)}})},Xc=function(a){for(var b in a)if(a[b]===Xc)return b;throw Error("Da");
},n=function(a){return{token:a.token,providedIn:a.providedIn||null,factory:a.factory,value:void 0}},p=function(a){return{providers:a.providers||[],imports:a.imports||[]}},Vea=function(a){var b;(b=a.hasOwnProperty(Tea)?a[Tea]:null)||(b=a.hasOwnProperty(Uea)?a[Uea]:null);return b},Wea=function(a){return(a=a&&(a[Tea]||a[Uea]))?a:null},Zea=function(a){return a&&(a.hasOwnProperty(Xea)||a.hasOwnProperty(Yea))?a[Xea]:null},Yc=function(a){return typeof a==="string"?a:a==null?"":String(a)},Zc=function(a){if(typeof a===
"string")return a;if(Array.isArray(a))return"["+a.map(Zc).join(", ")+"]";if(a==null)return""+a;if(a.overriddenName)return""+a.overriddenName;if(a.name)return""+a.name;a=a.toString();if(a==null)return""+a;var b=a.indexOf("\n");return b===-1?a:a.substring(0,b)},$ea=function(a,b){return a==null||a===""?b===null?"":b:b==null||b===""?a:a+" "+b},afa=function(){throw new $c(-201,!1);},bfa=function(a,b){return Object.is(a,b)},bd=function(a){var b=ad;ad=a;return b},gfa=function(a){if(cfa)throw Error("qa");
if(ad!==null){ad.consumerOnSignalRead(a);var b=ad.nextProducerIndex++;dfa(ad);b<ad.producerNode.length&&ad.producerNode[b]!==a&&dd(ad)&&efa(ad.producerNode[b],ad.producerIndexOfThis[b]);ad.producerNode[b]!==a&&(ad.producerNode[b]=a,ad.producerIndexOfThis[b]=dd(ad)?ffa(a,ad,b):0);ad.producerLastReadVersion[b]=a.version}},jfa=function(a){if(!dd(a)||a.dirty)if(a.dirty||a.lastCleanEpoch!==hfa)(a.producerMustRecompute(a)||ifa(a))&&a.producerRecomputeValue(a),a.dirty=!1,a.lastCleanEpoch=hfa},kfa=function(a){if(a.liveConsumerNode!==
void 0){var b=cfa;cfa=!0;try{for(var c=k(a.liveConsumerNode),d=c.next();!d.done;d=c.next()){var e=d.value;e.dirty||(a=void 0,e.dirty=!0,kfa(e),(a=e.consumerMarkedDirty)==null||a.call(e,e))}}finally{cfa=b}}},lfa=function(){var a;return((a=ad)==null?void 0:a.consumerAllowSignalWrites)!==!1},ed=function(a){a&&(a.nextProducerIndex=0);return bd(a)},mfa=function(a,b){bd(b);if(a&&a.producerNode!==void 0&&a.producerIndexOfThis!==void 0&&a.producerLastReadVersion!==void 0){if(dd(a))for(b=a.nextProducerIndex;b<
a.producerNode.length;b++)efa(a.producerNode[b],a.producerIndexOfThis[b]);for(;a.producerNode.length>a.nextProducerIndex;)a.producerNode.pop(),a.producerLastReadVersion.pop(),a.producerIndexOfThis.pop()}},ifa=function(a){dfa(a);for(var b=0;b<a.producerNode.length;b++){var c=a.producerNode[b],d=a.producerLastReadVersion[b];if(d!==c.version)return!0;jfa(c);if(d!==c.version)return!0}return!1},nfa=function(a){dfa(a);if(dd(a))for(var b=0;b<a.producerNode.length;b++)efa(a.producerNode[b],a.producerIndexOfThis[b]);
a.producerNode.length=a.producerLastReadVersion.length=a.producerIndexOfThis.length=0;a.liveConsumerNode&&(a.liveConsumerNode.length=a.liveConsumerIndexOfThis.length=0)},ffa=function(a,b,c){ofa(a);if(a.liveConsumerNode.length===0&&a.producerNode!==void 0)for(var d=0;d<a.producerNode.length;d++)a.producerIndexOfThis[d]=ffa(a.producerNode[d],a,d);a.liveConsumerIndexOfThis.push(c);return a.liveConsumerNode.push(b)-1},efa=function(a,b){ofa(a);if(a.liveConsumerNode.length===1&&a.producerNode!==void 0)for(var c=
0;c<a.producerNode.length;c++)efa(a.producerNode[c],a.producerIndexOfThis[c]);c=a.liveConsumerNode.length-1;a.liveConsumerNode[b]=a.liveConsumerNode[c];a.liveConsumerIndexOfThis[b]=a.liveConsumerIndexOfThis[c];a.liveConsumerNode.length--;a.liveConsumerIndexOfThis.length--;b<a.liveConsumerNode.length&&(c=a.liveConsumerIndexOfThis[b],a=a.liveConsumerNode[b],dfa(a),a.producerIndexOfThis[c]=b)},dd=function(a){var b,c;return a.consumerIsAlwaysLive||((c=a==null?void 0:(b=a.liveConsumerNode)==null?void 0:
b.length)!=null?c:0)>0},dfa=function(a){a.producerNode!=null||(a.producerNode=[]);a.producerIndexOfThis!=null||(a.producerIndexOfThis=[]);a.producerLastReadVersion!=null||(a.producerLastReadVersion=[])},ofa=function(a){a.liveConsumerNode!=null||(a.liveConsumerNode=[]);a.liveConsumerIndexOfThis!=null||(a.liveConsumerIndexOfThis=[])},rfa=function(a){var b=Object.create(pfa);b.computation=a;a=function(){jfa(b);gfa(b);if(b.value===qfa)throw b.error;return b.value};a[fd]=b;return a},tfa=function(a){var b=
Object.create(sfa);b.value=a;a=function(){gfa(b);return b.value};a[fd]=b;return a},vfa=function(a,b){lfa()||ufa();a.equal(a.value,b)||(a.value=b,a.version++,hfa++,kfa(a))},hd=function(a){var b=gd;gd=a;return b},wfa=function(a,b,c){if((a=Vea(a))&&a.providedIn=="root")return a.value===void 0?a.value=a.factory():a.value;if(c&8)return null;if(b!==void 0)return b;afa()},id=function(a){a.__forward_ref__=id;a.toString=function(){return Zc(this())};return a},jd=function(a){return xfa(a)?a():a},xfa=function(a){return typeof a===
"function"&&a.hasOwnProperty(yfa)&&a.__forward_ref__===id},ld=function(a){var b=kd;kd=a;return b},zfa=function(a,b){b=b===void 0?0:b;if(kd===void 0)throw new $c(-203,!1);return kd===null?wfa(a,void 0,b):kd.get(a,b&8?null:void 0,b)},md=function(a,b){b=b===void 0?0:b;return(gd||zfa)(jd(a),b)},r=function(a,b){return md(a,Afa(b===void 0?0:b))},Afa=function(a){return typeof a==="undefined"||typeof a==="number"?a:0|(a.optional&&8)|(a.host&&1)|(a.self&&2)|(a.skipSelf&&4)},Bfa=function(a){for(var b=[],c=
0;c<a.length;c++){var d=jd(a[c]);if(Array.isArray(d)){if(d.length===0)throw new $c(900,!1);for(var e=void 0,f=0,h=0;h<d.length;h++){var l=d[h],q=l.__NG_DI_FLAG__;typeof q==="number"?q===-1?e=l.token:f|=q:e=l}b.push(md(e,f))}else b.push(md(d))}return b},nd=function(a,b){a.__NG_DI_FLAG__=b;a.prototype.__NG_DI_FLAG__=b;return a},Cfa=function(a,b,c){for(var d=0;d<c.length;){var e=c[d];if(typeof e==="number"){if(e!==0)break;d++;e=c[d++];var f=c[d++],h=c[d++];a.setAttribute(b,f,h,e)}else f=c[++d],e.charCodeAt(0)===
64?a.setProperty(b,e,f):a.setAttribute(b,e,f),d++}},od=function(a,b){if(b!==null&&b.length!==0)if(a===null||a.length===0)a=b.slice();else for(var c=-1,d=0;d<b.length;d++){var e=b[d];typeof e==="number"?c=e:c!==0&&(c===-1||c===2?Dfa(a,c,e,b[++d]):Dfa(a,c,e,null))}return a},Dfa=function(a,b,c,d){var e=0,f=a.length;if(b===-1)f=-1;else for(;e<a.length;){var h=a[e++];if(typeof h==="number")if(h===b){f=-1;break}else if(h>b){f=e-1;break}}for(;e<a.length;){h=a[e];if(typeof h==="number")break;else if(h===
c){d!==null&&(a[e+1]=d);return}e++;d!==null&&e++}f!==-1&&(a.splice(f,0,b),e=f+1);a.splice(e++,0,c);d!==null&&a.splice(e++,0,d)},Efa=function(a){return a.type===4&&a.value!=="ng-template"},Ffa=function(a,b,c){var d=4,e=a.attrs,f;if(e!==null)a:{for(f=0;f<e.length;f++){var h=e[f];if(h===3||h===4||h===6)break a}f=e.length}else f=0;h=!1;for(var l=0;l<b.length;l++){var q=b[l];if(typeof q==="number"){if(!h&&(d&1)!==0&&(q&1)!==0)return!1;h&&(q&1)===0||(h=!1,d=q|d&1)}else if(!h)if(d&4){if(d=2|d&1,q!==""&&
q!==(a.type!==4||c?a.value:"ng-template")||q===""&&b.length===1){if((d&1)===0)return!1;h=!0}}else if(d&8){var v;if(!(v=e===null)){a:{v=void 0;var y=a,E=0;if(c)for(;E<e.length&&typeof e[E]==="string";E+=2){if(y=e[E]==="class"){b:{y=e[E+1].toLowerCase();for(var H=0,O=y.length;;){H=y.indexOf(q,H);if(H===-1){y=H;break b}if(H===0||y.charCodeAt(H-1)<=32){var N=q.length;if(H+N===O||y.charCodeAt(H+N)<=32){y=H;break b}}H+=1}y=void 0}y=y!==-1}if(y){q=!0;break a}}else if(Efa(y)){q=!1;break a}E=e.indexOf(1,E);
if(E>-1)for(;++E<e.length&&typeof(v=e[E])==="string";)if(v.toLowerCase()===q){q=!0;break a}q=!1}v=!q}if(v){if((d&1)===0)return!1;h=!0}}else{v=b[++l];a:if(e===null)q=-1;else if(E=0,c||!Efa(a)){for(y=!1;E<e.length;){O=e[E];if(O===q){q=E;break a}if(O===3||O===6)y=!0;else if(O===1||O===2){for(O=e[++E];typeof O==="string";)O=e[++E];continue}else if(O===4)break;else if(O===0){E+=4;continue}E+=y?1:2}q=-1}else b:{E=e.indexOf(4);if(E>-1)for(E++;E<e.length;){y=e[E];if(typeof y==="number")break;if(y===q){q=
E;break b}E++}q=-1}if(q===-1){if((d&1)===0)return!1;h=!0}else if(v!==""&&(q=q>f?"":e[q+1].toLowerCase(),d&2&&v!==q)){if((d&1)===0)return!1;h=!0}}}return(d&1)===0||h},Gfa=function(a,b,c){c=c===void 0?!1:c;for(var d=0;d<b.length;d++)if(Ffa(a,b[d],c))return!0;return!1},Hfa=function(a){for(var b=a[0],c=1,d=2,e="",f=!1;c<a.length;){var h=a[c];if(typeof h==="string")if(d&2){var l=a[++c];e+="["+h+(l.length>0?'="'+l+'"':"")+"]"}else d&8?e+="."+h:d&4&&(e+=" "+h);else e!==""&&(h&1)!==0&&(b+=f?":not("+e.trim()+
")":e,e=""),d=h,f=f||(d&1)!==0;c++}e!==""&&(b+=f?":not("+e.trim()+")":e);return b},pd=function(a){return{toString:a}.toString()},t=function(a){return pd(function(){var b=Ifa(a),c;b=Object.assign({},b,{decls:a.decls,vars:a.vars,template:a.template,consts:a.consts||null,ngContentSelectors:a.ngContentSelectors,onPush:a.changeDetection===0,directiveDefs:null,pipeDefs:null,dependencies:b.standalone&&a.dependencies||null,getStandaloneInjector:null,getExternalStyles:null,signals:(c=a.signals)!=null?c:!1,
data:a.data||{},encapsulation:a.encapsulation||0,styles:a.styles||qd,_:null,schemas:a.schemas||null,tView:null,id:""});Jfa(b);c=a.dependencies;b.directiveDefs=Kfa(c,!1);b.pipeDefs=Kfa(c,!0);c=0;var d=[b.selectors,b.ngContentSelectors,b.hostVars,b.hostAttrs,b.consts,b.vars,b.decls,b.encapsulation,b.standalone,b.signals,b.exportAs,JSON.stringify(b.inputs),JSON.stringify(b.outputs),Object.getOwnPropertyNames(b.type.prototype),!!b.contentQueries,!!b.viewQuery].join("|");d=k(d);for(var e=d.next();!e.done;e=
d.next())c=Math.imul(31,c)+e.value.charCodeAt(0)<<0;b.id="c"+(c+2147483648);return b})},Nfa=function(a){return a[rd]||a[Lfa]||null},Ofa=function(a){return a!==null},u=function(a){return pd(function(){return{type:a.type,bootstrap:a.bootstrap||qd,declarations:a.declarations||qd,imports:a.imports||qd,exports:a.exports||qd,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||null}})},Pfa=function(a,b){if(a==null)return sd;var c={},d;for(d in a)if(a.hasOwnProperty(d)){var e=a[d],f=0;if(Array.isArray(e)){f=
e[0];var h=e[1];var l=void 0;e=(l=e[2])!=null?l:h}else h=e;b?(c[h]=f!==0?[d,f]:d,b[h]=e):c[h]=d}return c},ud=function(a){return pd(function(){var b=Ifa(a);Jfa(b);return b})},vd=function(a){return{type:a.type,name:a.name,factory:null,pure:a.pure!==!1,standalone:a.standalone===!0,onDestroy:a.type.prototype.ngOnDestroy||null}},Rfa=function(a){return a[Qfa]||null},Ifa=function(a){var b={};return{type:a.type,providersResolver:null,factory:null,hostBindings:a.hostBindings||null,hostVars:a.hostVars||0,hostAttrs:a.hostAttrs||
null,contentQueries:a.contentQueries||null,declaredInputs:b,inputTransforms:null,inputConfig:a.inputs||sd,exportAs:a.exportAs||null,standalone:a.standalone===!0,signals:a.signals===!0,selectors:a.selectors||qd,viewQuery:a.viewQuery||null,features:a.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Pfa(a.inputs,b),outputs:Pfa(a.outputs),debugInfo:null}},Jfa=function(a){var b;(b=a.features)==null||b.forEach(function(c){return c(a)})},Kfa=function(a,b){if(!a)return null;
var c=b?Rfa:Nfa;return function(){return(typeof a==="function"?a():a).map(function(d){return c(d)}).filter(Ofa)}},wd=function(a){return a.hasOwnProperty(Sfa)?a[Sfa]:null},Tfa=function(a,b){a.forEach(function(c){return Array.isArray(c)?Tfa(c,b):b(c)})},Ufa=function(a,b){return b>=a.length-1?a.pop():a.splice(b,1)[0]},yd=function(a,b,c){var d=xd(a,b);if(d>=0)a[d|1]=c;else{var e=d=~d,f=a.length;if(f==e)a.push(b,c);else if(f===1)a.push(c,a[0]),a[0]=b;else{f--;for(a.push(a[f-1],a[f]);f>e;)a[f]=a[f-2],f--;
a[e]=b;a[e+1]=c}}return d},Vfa=function(a,b){b=xd(a,b);if(b>=0)return a[b|1]},xd=function(a,b){for(var c=0,d=a.length>>1;d!==c;){var e=c+(d-c>>1),f=a[e<<1];if(b===f)return e<<1;f>b?d=e:c=e+1}return~(d<<1)},Xfa=function(){return{"\u0275providers":Wfa(!0,zd.apply(0,arguments)),"\u0275fromNgModule":!0}},Wfa=function(a){var b=[],c=new Set,d,e=function(f){b.push(f)};Tfa(zd.apply(1,arguments),function(f){Yfa(f,e,[],c)&&(d||(d=[]),d.push(f))});d!==void 0&&Zfa(d,e);return b},Zfa=function(a,b){for(var c={},
d=0;d<a.length;c={providers$jscomp$2:void 0,ngModule:void 0},d++){var e=a[d];c.ngModule=e.ngModule;c.providers$jscomp$2=e.providers;$fa(c.providers$jscomp$2,function(f){return function(h){b(h,f.ngModule)}}(c))}},Yfa=function(a,b,c,d){a=jd(a);if(!a)return!1;var e=null,f=Zea(a),h=!f&&(a[rd]||null);if(f||h){if(h&&!h.standalone)return!1;e=a}else{var l=a.ngModule;if(f=Zea(l))e=l;else return!1}l=d.has(e);if(h){if(l)return!1;d.add(e);if(h.dependencies)for(f=typeof h.dependencies==="function"?h.dependencies():
h.dependencies,f=k(f),l=f.next();!l.done;l=f.next())Yfa(l.value,b,c,d)}else if(f){if(f.imports!=null&&!l){d.add(e);var q;Tfa(f.imports,function(y){Yfa(y,b,c,d)&&(q||(q=[]),q.push(y))});q!==void 0&&Zfa(q,b)}l||(h=wd(e)||function(){return new e},b({provide:e,useFactory:h,deps:qd},e),b({provide:aga,useValue:e,multi:!0},e),b({provide:bga,useValue:function(){return md(e)},multi:!0},e));f=f.providers;if(f!=null&&!l){var v=a;$fa(f,function(y){b(y,v)})}}else return!1;return e!==a&&a.providers!==void 0},$fa=
function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())(c=c.value)&&c.\u0275providers&&(c=c.\u0275providers),Array.isArray(c)?$fa(c,b):b(c)},dga=function(a){return a!==null&&typeof a=="object"&&cga in a},Ad=function(a){return typeof a==="function"},gga=function(){ega===void 0&&(ega=new fga);return ega},iga=function(a){var b=Vea(a);b=b!==null?b.factory:wd(a);if(b!==null)return b;if(a instanceof Bd)throw new $c(204,!1);if(a instanceof Function)return hga(a);throw new $c(204,!1);},hga=function(a){if(a.length>
0)throw new $c(204,!1);var b=Wea(a);return b!==null?function(){return b.factory(a)}:function(){return new a}},lga=function(a){if(dga(a))return Cd(void 0,a.useValue);a=jga(a);return Cd(a,kga)},jga=function(a){var b=void 0;if(Ad(a))return b=jd(a),wd(b)||iga(b);if(dga(a))b=function(){return jd(a.useValue)};else if(a&&a.useFactory)b=function(){return a.useFactory.apply(a,w(Bfa(a.deps||[])))};else if(a&&a.useExisting)b=function(){return md(jd(a.useExisting))};else{var c=jd(a&&(a.useClass||a.provide));
if(a.deps)b=function(){return new (Function.prototype.bind.apply(c,[null].concat(w(Bfa(a.deps)))))};else return wd(c)||iga(c)}return b},mga=function(a){if(a.destroyed)throw new $c(205,!1);},Cd=function(a,b,c){return{factory:a,value:b,multi:(c===void 0?0:c)?[]:void 0}},nga=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Array.isArray(c)?nga(c,b):c&&c&&c.\u0275providers?nga(c.\u0275providers,b):b(c)},Ed=function(a,b){a instanceof Dd&&mga(a);a=ld(a);var c=hd();try{return b()}finally{ld(a),
hd(c)}},oga=function(){if(gd===void 0&&kd==null)throw new $c(-203,!1);},Fd=function(a){return Array.isArray(a)&&typeof a[1]==="object"},Gd=function(a){return Array.isArray(a)&&a[1]===!0},Hd=function(){return pga},pga=function(a){a.type.prototype.ngOnChanges&&(a.setInput=qga);return rga},rga=function(){var a=this.__ngSimpleChanges__||null,b=a==null?void 0:a.current;if(b){var c=a.previous;if(c===sd)a.previous=b;else for(var d in b)c[d]=b[d];a.current=null;this.ngOnChanges(b)}},qga=function(a,b,c,d,
e){d=this.declaredInputs[d];var f;(f=a.__ngSimpleChanges__||null)||(f=a.__ngSimpleChanges__={previous:sd,current:null});var h=f;f=h.current||(h.current={});h=h.previous;var l=h[d];f[d]=new sga(l&&l.currentValue,c,h===sd);b!==null?b.applyValueToInputSignal(b,c):a[e]=c},Id=function(a){for(;Array.isArray(a);)a=a[0];return a},Jd=function(a,b){return Id(b[a.index])},Ld=function(a,b){a=b[a];return Fd(a)?a:a[0]},Md=function(a,b){return b===null||b===void 0?null:a[b]},tga=function(a){a[2]&1024||(a[2]|=1024,
(a[2]&128)===128&&Nd(a))},uga=function(a){var b;return!!(a[2]&9216||((b=a[24])==null?0:b.dirty))},vga=function(a){var b;(b=a[10].changeDetectionScheduler)==null||b.notify(9);a[2]&64&&(a[2]|=1024);uga(a)&&Nd(a)},Nd=function(a){var b;(b=a[10].changeDetectionScheduler)==null||b.notify(0);for(a=Od(a);a!==null&&!(a[2]&8192);){a[2]|=8192;if((a[2]&128)!==128)break;a=Od(a)}},wga=function(a,b){if((a[2]&256)===256)throw new $c(911,!1);a[21]===null&&(a[21]=[]);a[21].push(b)},Od=function(a){a=a[3];return Gd(a)?
a[3]:a},x=function(){return Pd.lView},Qd=function(){return Pd.tView},z=function(a){Pd.contextLView=a;return a[8]},A=function(a){Pd.contextLView=null;return a},Rd=function(){for(var a=Pd.currentTNode;a!==null&&a.type===64;)a=a.parent;return a},Sd=function(a,b){var c=Pd;c.currentTNode=a;c.isParent=b},yga=function(a){var b=xga;xga=a;return b},Td=function(){var a=Pd,b=a.bindingRootIndex;b===-1&&(b=a.bindingRootIndex=a.tView.bindingStartIndex);return b},Ud=function(a){var b=Pd,c=b.bindingIndex;b.bindingIndex+=
a;return c},zga=function(a){var b=Pd.currentDirectiveIndex;return b===-1?null:a[b]},Bga=function(a,b,c){if(c&4){for(;!(b=b.parent,b!==null||c&1);){b=a[1];b=b.type===2?b.declTNode:b.type===1?a[5]:null;if(b===null)break;a=a[14];if(b.type&10)break}if(b===null)return!1}c=Pd=Aga();c.currentTNode=b;c.lView=a;return!0},Cga=function(a){var b=Aga(),c=a[1];Pd=b;b.currentTNode=c.firstChild;b.lView=a;b.tView=c;b.contextLView=a;b.bindingIndex=c.bindingStartIndex;b.inI18n=!1},Aga=function(){var a=Pd,b=a===null?
null:a.child;return b===null?Dga(a):b},Dga=function(a){var b={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:a,child:null,inI18n:!1};a!==null&&(a.child=b);return b},Ega=function(){var a=Pd;Pd=a.parent;a.currentTNode=null;a.lView=null;return a},Fga=function(){var a=Ega();a.isParent=!0;a.tView=null;a.selectedIndex=-1;a.contextLView=
null;a.elementDepthCount=0;a.currentDirectiveIndex=-1;a.currentNamespace=null;a.bindingRootIndex=-1;a.bindingIndex=-1;a.currentQueryIndex=0},Vd=function(){var a=Pd;return a.tView.data[a.selectedIndex]},Wd=function(){Pd.currentNamespace="svg"},Gga=function(a,b){var c=b.directiveStart;for(b=b.directiveEnd;c<b;c++){var d=a.data[c].type.prototype,e=d.ngAfterContentInit,f=d.ngAfterContentChecked,h=d.ngAfterViewInit,l=d.ngAfterViewChecked;d=d.ngOnDestroy;if(e){var q=void 0,v=void 0;((v=(q=a).contentHooks)!=
null?v:q.contentHooks=[]).push(-c,e)}f&&(q=e=void 0,((q=(e=a).contentHooks)!=null?q:e.contentHooks=[]).push(c,f),q=e=void 0,((q=(e=a).contentCheckHooks)!=null?q:e.contentCheckHooks=[]).push(c,f));h&&(e=f=void 0,((e=(f=a).viewHooks)!=null?e:f.viewHooks=[]).push(-c,h));l&&(f=h=void 0,((f=(h=a).viewHooks)!=null?f:h.viewHooks=[]).push(c,l),f=h=void 0,((f=(h=a).viewCheckHooks)!=null?f:h.viewCheckHooks=[]).push(c,l));d!=null&&(h=l=void 0,((h=(l=a).destroyHooks)!=null?h:l.destroyHooks=[]).push(c,d))}},Hga=
function(a,b,c,d){(a[2]&3)===c&&Xd(a,b,c,d)},Iga=function(a,b){var c=a[2];(c&3)===b&&(a[2]=(c&16383)+1)},Xd=function(a,b,c,d){for(var e=d!=null?d:-1,f=b.length-1,h=0,l=d!==void 0?a[17]&65535:0;l<f;l++)if(typeof b[l+1]==="number"){if(h=b[l],d!=null&&h>=d)break}else{b[l]<0&&(a[17]+=65536);if(h<e||e==-1){var q=b[l]<0,v=b[l+1],y=a[q?-b[l]:b[l]];q?a[2]>>14<a[17]>>16&&(a[2]&3)===c&&(a[2]+=16384,Jga(y,v)):Jga(y,v);a[17]=(a[17]&4294901760)+l+2}l++}},Jga=function(a,b){var c=bd(null);try{b.call(a)}finally{bd(c)}},
Kga=function(a,b){for(a>>=16;a>0;)b=b[14],a--;return b},Mga=function(a){var b=Lga;Lga=a;return b},Oga=function(a,b,c){var d;typeof c==="string"?d=c.charCodeAt(0)||0:c.hasOwnProperty(Yd)&&(d=c[Yd]);d==null&&(d=c[Yd]=Nga++);c=d&255;b.data[a+(c>>5)]|=1<<c},Sga=function(a,b){var c=Pga(a,b);if(c!==-1)return c;c=b[1];c.firstCreatePass&&(a.injectorIndex=b.length,Qga(c.data,a),Qga(b,null),Qga(c.blueprint,null));c=Rga(a,b);a=a.injectorIndex;if(c!==-1)for(var d=c&32767,e=Kga(c,b),f=e[1].data,h=0;h<8;h++)b[a+
h]=e[d+h]|f[d+h];b[a+8]=c;return a},Qga=function(a,b){a.push(0,0,0,0,0,0,0,0,b)},Pga=function(a,b){return a.injectorIndex===-1||a.parent&&a.parent.injectorIndex===a.injectorIndex||b[a.injectorIndex+8]===null?-1:a.injectorIndex},Rga=function(a,b){if(a.parent&&a.parent.injectorIndex!==-1)return a.parent.injectorIndex;a=0;for(var c=b;c!==null;){b=Tga(c);if(b===null)break;a++;c=c[14];if(b.injectorIndex!==-1)return b.injectorIndex|a<<16}return-1},Zd=function(a){var b=Rd();if(a==="class")return b.classes;
if(a==="style")return b.styles;if(b=b.attrs)for(var c=b.length,d=0;d<c;){var e=b[d];if(e===3||e===4||e===6)break;if(e===0)d+=2;else if(typeof e==="number")for(d++;d<c&&typeof b[d]==="string";)d++;else{if(e===a)return b[d+1];d+=2}}return null},Uga=function(a,b,c,d){c&8&&d===void 0&&(d=null);if((c&3)===0){a=a[9];var e=hd();try{return a?a.get(b,d,c&8):wfa(b,d,c&8)}finally{hd(e)}}c&8||d!==void 0?b=d:(afa(),b=void 0);return b},Wga=function(a,b,c,d,e){d=d===void 0?0:d;if(a!==null){if(b[2]&2048&&!(d&2)){a:{var f=
d;for(var h=$d,l=a,q=b;l!==null&&q!==null&&q[2]&2048&&!(q[2]&512);){var v=Vga(l,q,c,f|2);if(v!==$d){f=v;break a}l=l.parent;if(!l){if(l=q[20])if(l=l.get(c,$d,f),l!==$d){f=l;break a}l=Tga(q);q=q[14]}}f=h}if(f!==$d)return f}a=Vga(a,b,c,d);if(a!==$d)return a}return Uga(b,c,d,e)},Vga=function(a,b,c,d){var e=$d;if(typeof c==="string")var f=c.charCodeAt(0)||0;else f=c.hasOwnProperty(Yd)?c[Yd]:void 0,f=typeof f==="number"?f>=0?f&255:Xga:f;if(typeof f==="function"){if(!Bga(b,a,d))return d&1?d&8||e!==void 0?
b=e:(afa(),b=void 0):b=Uga(b,c,d,e),b;try{var h=f(d);if(h!=null||d&8)return h;afa()}finally{Ega()}}else if(typeof f==="number"){h=null;var l=Pga(a,b),q=d&1?b[15][5]:null;if(l===-1||d&4){var v=l===-1?Rga(a,b):b[l+8];v===-1||d&2?l=-1:(h=b[1],l=v&32767,b=Kga(v,b))}for(;l!==-1;){a=b[1];if(a.data[l+(f>>5)]&1<<f){v=b[1];var y=v.data[l+8],E=Yga(y,v,c,h==null?y.componentOffset>-1&&Lga:h!=v&&(y.type&3)!==0,d&1&&q===y);v=E!==null?ae(b,v,E,y):$d;if(v!==$d)return v}v=b[l+8];v!==-1&&!(d&2||d&1&&b[1].data[l+8]===
q)&&b[l+(f>>5)]&1<<f?(h=a,l=v&32767,b=Kga(v,b)):l=-1}}return e},Yga=function(a,b,c,d,e){var f=a.providerIndexes,h=b.data,l=f&1048575;b=a.directiveStart;a=a.directiveEnd;var q=f>>20;f=e?l+q:a;for(d=d?l:l+q;d<f;d++)if(l=h[d],d<b&&c===l||d>=b&&l.type===c)return d;return e&&(e=h[b])&&e.template&&e.type===c?b:null},ae=function(a,b,c,d){var e=a[c],f=b.data;if(e instanceof be){var h=e;if(h.resolving)throw a=f[c],new $c(-200,typeof a==="function"?a.name||a.toString():typeof a==="object"&&a!=null&&typeof a.type===
"function"?a.type.name||a.type.toString():Yc(a));var l=Mga(h.canSeeViewProviders);h.resolving=!0;var q=h.injectImpl?hd(h.injectImpl):null;Bga(a,d,0);try{if(e=a[c]=h.factory(void 0,f,a,d),b.firstCreatePass&&c>=d.directiveStart){var v=f[c],y=v.type.prototype,E=y.ngOnInit,H=y.ngDoCheck;if(y.ngOnChanges){var O=pga(v),N;((N=b.preOrderHooks)!=null?N:b.preOrderHooks=[]).push(c,O);var T;((T=b.preOrderCheckHooks)!=null?T:b.preOrderCheckHooks=[]).push(c,O)}if(E){var da;((da=b.preOrderHooks)!=null?da:b.preOrderHooks=
[]).push(-c,E)}if(H){var ja;((ja=b.preOrderHooks)!=null?ja:b.preOrderHooks=[]).push(c,H);var na;((na=b.preOrderCheckHooks)!=null?na:b.preOrderCheckHooks=[]).push(c,H)}}}finally{q!==null&&hd(q),Mga(l),h.resolving=!1,Ega()}}return e},Xga=function(){return new ce(Rd(),x())},de=function(a){return pd(function(){var b=a.prototype.constructor;b=b[Sfa]||Zga(b);for(var c=Object.prototype,d=Object.getPrototypeOf(a.prototype).constructor;d&&d!==c;){var e=d[Sfa]||Zga(d);if(e&&e!==b)return e;d=Object.getPrototypeOf(d)}return function(f){return new f}})},
Zga=function(a){return xfa(a)?function(){var b=Zga(jd(a));return b&&b()}:wd(a)},Tga=function(a){var b=a[1],c=b.type;return c===2?b.declTNode:c===1?a[5]:null},$ga=function(a){return function(){var b=zd.apply(0,arguments);if(a){b=a.apply(null,w(b));for(var c in b)this[c]=b[c]}}},ee=function(a){return pd(function(){function b(){function d(h,l,q){for(l=h.hasOwnProperty("__parameters__")?h.__parameters__:Object.defineProperty(h,"__parameters__",{value:[]}).__parameters__;l.length<=q;)l.push(null);(l[q]=
l[q]||[]).push(f);return h}var e=zd.apply(0,arguments);if(this instanceof b)return c.apply(this,e),this;var f=new (Function.prototype.bind.apply(b,[null].concat(w(e))));d.annotation=f;return d}var c=$ga(a);return b})},bha=function(a,b,c,d){a=aha(a,b===void 0?null:b,c===void 0?null:c,d);a.resolveInjectorInitializers();return a},aha=function(a,b,c,d,e){b=b===void 0?null:b;e=e===void 0?new Set:e;c=[(c===void 0?null:c)||qd,Xfa(a)];d=d||(typeof a==="object"?void 0:Zc(a));return new Dd(c,b||gga(),d||null,
e)},dha=function(){if(cha!==void 0)return cha;if(typeof document!=="undefined")return document;throw new $c(210,!1);},fe=function(a,b){Fd(b)?(a.__ngContext__=b[19],eha.set(b[19],b)):a.__ngContext__=b},fha=function(a){for(;a!==null&&!Gd(a);)a=a[4];return a},he=function(a,b){return new ge(Jd(a,b))},gha=function(a){return a instanceof ge?a.nativeElement:a},ie=function(a){return a.ownerDocument.defaultView},hha=function(a){return a.ownerDocument},iha=function(a,b){var c=xga?64:1088,d;for((d=a[10].changeDetectionScheduler)==
null||d.notify(b);a;){a[2]|=c;b=Od(a);if((a[2]&512)!==0&&!b)break;a=b}},jha=function(){return new je(x())},ke=function(a){a=a(function(b){b.stack=Error().stack});a.prototype=Object.create(Error.prototype);return a.prototype.constructor=a},kha=function(a,b){a&&(b=a.indexOf(b),0<=b&&a.splice(b,1))},le=function(a){return typeof a==="function"},lha=function(a){return a instanceof me||a&&"closed"in a&&le(a.remove)&&le(a.add)&&le(a.unsubscribe)},ne=function(){},oe=function(a){mha(function(){throw a;})},
pe=function(a){return a},qe=function(){return nha(zd.apply(0,arguments))},nha=function(a){return a.length===0?pe:a.length===1?a[0]:function(b){return a.reduce(function(c,d){return d(c)},b)}},oha=function(a){var b;return(b=a!=null?a:void 0)!=null?b:Promise},pha=function(a,b){return new re(function(c){var d=0;return b.schedule(function(){d===a.length?c.complete():(c.next(a[d++]),c.closed||this.schedule())})})},qha=function(a,b){if(!a)throw Error("La");return new re(function(c){var d=new me;d.add(b.schedule(function(){var e=
a[Symbol.asyncIterator]();d.add(b.schedule(function(){var f=this;e.next().then(function(h){h.done?c.complete():(c.next(h.value),f.schedule())})}))}));return d})},rha=function(a,b,c,d){b=b.schedule(function(){try{c.call(this)}catch(e){a.error(e)}},d===void 0?0:d);a.add(b);return b},tha=function(a,b){return new re(function(c){var d;c.add(b.schedule(function(){d=a[sha]();rha(c,b,function(){var e=d.next(),f=e.value;e.done?c.complete():(c.next(f),this.schedule())})}));return function(){var e;return le((e=
d)==null?void 0:e.return)&&d.return()}})},uha=function(a,b){return new re(function(c){var d=new me;d.add(b.schedule(function(){var e=a[se]();d.add(e.subscribe({next:function(f){d.add(b.schedule(function(){return c.next(f)}))},error:function(f){d.add(b.schedule(function(){return c.error(f)}))},complete:function(){d.add(b.schedule(function(){return c.complete()}))}}))}));return d})},vha=function(a,b){return new re(function(c){return b.schedule(function(){return a.then(function(d){c.add(b.schedule(function(){c.next(d);
c.add(b.schedule(function(){return c.complete()}))}))},function(d){c.add(b.schedule(function(){return c.error(d)}))})})})},wha=function(a){return new TypeError("Ma`"+(a!==null&&typeof a==="object"?"an invalid object":"'"+a+"'"))},yha=function(a,b){if(a!=null){if(le(a[se]))return uha(a,b);if(xha(a))return pha(a,b);if(le(a==null?void 0:a.then))return vha(a,b);if(Symbol.asyncIterator&&le(a==null?void 0:a[Symbol.asyncIterator]))return qha(a,b);if(le(a==null?void 0:a[sha]))return tha(a,b)}throw wha(a);
},ue=function(a,b){return b?yha(a,b):te(a)},te=function(a){if(a instanceof re)return a;if(a!=null){if(le(a[se]))return zha(a);if(xha(a))return Aha(a);if(le(a==null?void 0:a.then))return Bha(a);if(Symbol.asyncIterator&&le(a==null?void 0:a[Symbol.asyncIterator]))return Cha(a);if(le(a==null?void 0:a[sha]))return Dha(a)}throw wha(a);},zha=function(a){return new re(function(b){var c=a[se]();if(le(c.subscribe))return c.subscribe(b);throw new TypeError("Na");})},Aha=function(a){return new re(function(b){for(var c=
0;c<a.length&&!b.closed;c++)b.next(a[c]);b.complete()})},Bha=function(a){return new re(function(b){a.then(function(c){b.closed||(b.next(c),b.complete())},function(c){return b.error(c)}).then(null,oe)})},Dha=function(a){return new re(function(b){for(var c=a[sha]();!b.closed;){var d=c.next(),e=d.value;d.done?b.complete():b.next(e)}return function(){return le(c==null?void 0:c.return)&&c.return()}})},Cha=function(a){return new re(function(b){Eha(a,b).catch(function(c){return b.error(c)})})},Eha=function(a,
b){var c,d,e,f,h,l;return ve(function(q){switch(q.nextAddress){case 1:we(q,2,3);var v=a[Symbol.asyncIterator];f=v!==void 0?v.call(a):new Fha(k(a));case 5:return xe(q,f.next(),8);case 8:d=q.yieldResult;if(d.done){q.jumpTo(3);break}h=d.value;b.next(h);q.jumpTo(5);break;case 3:ye(q);q.catchAddress_=0;q.finallyAddress_=9;if(!d||d.done||!(e=f.return)){q.jumpTo(9);break}return xe(q,e.call(f),9);case 9:ye(q,0,0,1);if(c)throw c.error;ze(q,10,1);break;case 10:ze(q,4);break;case 2:l=Be(q);c={error:l};q.jumpTo(3);
break;case 4:b.complete(),Ce(q)}})},De=function(a,b){return b?pha(a,b):Aha(a)},Gha=function(a){return le(a[a.length-1])?a.pop():void 0},Ee=function(a){var b=a[a.length-1];return b&&le(b.schedule)?a.pop():void 0},Fe=function(){var a=zd.apply(0,arguments),b=Ee(a);return b?pha(a,b):De(a)},Ge=function(a){var b=le(a)?a:function(){return a};return new re(function(c){return c.error(b())})},Je=function(a){return new Promise(function(b,c){var d=new He({next:function(e){b(e);d.unsubscribe()},error:c,complete:function(){c(new Ie)}});
a.subscribe(d)})},Ke=function(a){return function(b){if(le(b==null?void 0:b.lift))return b.lift(function(c){try{return a(c,this)}catch(d){this.error(d)}});throw new TypeError("Oa");}},Hha=function(){return Ke(function(a,b){var c=null;a._refCount++;var d=new Le(b,void 0,void 0,void 0,function(){if(!a||a._refCount<=0||0<--a._refCount)c=null;else{var e=a._connection,f=c;c=null;!e||f&&e!==f||e.unsubscribe();b.unsubscribe()}});a.subscribe(d);d.closed||(c=a.connect())})},B=function(a){return Ke(function(b,
c){var d=0;b.subscribe(new Le(c,function(e){c.next(a.call(void 0,e,d++))}))})},Jha=function(a){return B(function(b){return Iha(b)?a.apply(null,w(b)):a(b)})},Oha=function(a){if(a.length===1){var b=a[0];if(Kha(b))return{args:b,keys:null};if(b&&typeof b==="object"&&Lha(b)===Mha)return a=Nha(b),{args:a.map(function(c){return b[c]}),keys:a}}return{args:a,keys:null}},Me=function(){var a=zd.apply(0,arguments),b=Ee(a),c=Gha(a);a=Oha(a);var d=a.args,e=a.keys;if(d.length===0)return ue([],b);b=new re(Pha(d,
b,e?function(f){for(var h={},l=0;l<f.length;l++)h[e[l]]=f[l];return h}:pe));return c?b.pipe(Jha(c)):b},Pha=function(a,b,c){c=c===void 0?pe:c;return function(d){Qha(b,function(){for(var e=a.length,f=Array(e),h=e,l=a.map(function(){return!1}),q=!0,v={i$jscomp$287:0};v.i$jscomp$287<e;v={i$jscomp$287:v.i$jscomp$287},v.i$jscomp$287++)Qha(b,function(y){return function(){ue(a[y.i$jscomp$287],b).subscribe(new Ne(d,function(E){f[y.i$jscomp$287]=E;q&&(l[y.i$jscomp$287]=!0,q=!l.every(pe));q||d.next(c(f.slice()))},
function(){return--h===0}))}}(v),d)},d)}},Qha=function(a,b,c){a?c.add(a.schedule(b)):b()},Rha=function(a,b,c,d){var e=[],f=0,h=0,l=!1,q=function(v){f++;te(c(v,h++)).subscribe(new Le(b,function(y){b.next(y)},void 0,function(){f--;for(var y={};e.length&&f<d;y={bufferedValue:void 0})y.bufferedValue=e.shift(),q(y.bufferedValue);!l||e.length||f||b.complete()}))};a.subscribe(new Le(b,function(v){return f<d?q(v):e.push(v)},void 0,function(){l=!0;!l||e.length||f||b.complete()}));return function(){e=null}},
Oe=function(a,b,c){c=c===void 0?Infinity:c;if(le(b))return Oe(function(d,e){return B(function(f,h){return b(d,f,e,h)})(te(a(d,e)))},c);typeof b==="number"&&(c=b);return Ke(function(d,e){return Rha(d,e,a,c)})},Pe=function(a){a=a===void 0?Infinity:a;return Oe(pe,a)},Qe=function(){var a=zd.apply(0,arguments);return Pe(1)(De(a,Ee(a)))},Re=function(a){return new re(function(b){te(a()).subscribe(b)})},Se=function(){var a=zd.apply(0,arguments),b=Gha(a),c=Oha(a);a=c.args;c=c.keys;return b?Sha(a,c).pipe(B(function(d){return b.apply(null,
w(d))})):Sha(a,c)},Sha=function(a,b){return new re(function(c){var d=a.length;if(d===0)c.complete();else for(var e=Array(d),f=0,h=0,l={sourceIndex:0};l.sourceIndex<d;l={hasValue$jscomp$2:void 0,sourceIndex:l.sourceIndex},l.sourceIndex++){var q=te(a[l.sourceIndex]);l.hasValue$jscomp$2=!1;c.add(q.subscribe({next:function(v){return function(y){v.hasValue$jscomp$2||(v.hasValue$jscomp$2=!0,h++);e[v.sourceIndex]=y}}(l),error:function(v){return c.error(v)},complete:function(v){return function(){f++;f!==
d&&v.hasValue$jscomp$2||(h===d&&c.next(b?b.reduce(function(y,E,H){return y[E]=e[H],y},{}):e),c.complete())}}(l)}))}})},Te=function(a,b,c){if(le(c)){var d=c;c=void 0}if(d)return Te(a,b,c).pipe(Jha(d));d=k(le(a.addEventListener)&&le(a.removeEventListener)?Tha.map(function(h){return function(l){return a[h](b,l,c)}}):le(a.addListener)&&le(a.removeListener)?Uha.map(Vha(a,b)):le(a.on)&&le(a.off)?Wha.map(Vha(a,b)):[]);var e=d.next().value,f=d.next().value;return!e&&xha(a)?Oe(function(h){return Te(h,b,c)})(De(a)):
new re(function(h){if(!e)throw new TypeError("Pa");var l=function(){var q=zd.apply(0,arguments);return h.next(1<q.length?q:q[0])};e(l);return function(){return f(l)}})},Vha=function(a,b){return function(c){return function(d){return a[c](b,d)}}},Xha=function(a,b){return new re(function(c){var d=function(){var f=zd.apply(0,arguments);return c.next(f.length===1?f[0]:f)},e=a(d);return le(b)?function(){return b(d,e)}:void 0})},Ve=function(a,b,c){a=a===void 0?0:a;c=c===void 0?Ue:c;var d=-1;b!=null&&(b&&
le(b.schedule)?c=b:d=b);return new re(function(e){var f=a instanceof Date&&!isNaN(a)?+a-c.now():a;f<0&&(f=0);var h=0;return c.schedule(function(){e.closed||(e.next(h++),0<=d?this.schedule(void 0,d):e.complete())},f)})},Yha=function(a,b){a=a===void 0?0:a;b=b===void 0?Ue:b;a<0&&(a=0);return Ve(a,a,b)},Xe=function(){var a=zd.apply(0,arguments),b=Ee(a);var c=typeof a[a.length-1]==="number"?a.pop():Infinity;return a.length?a.length===1?te(a[0]):Pe(c)(De(a,b)):We},Ye=function(a){return Ke(function(b,c){var d=
0;b.subscribe(new Le(c,function(e){return a.call(void 0,e,d++)&&c.next(e)}))})},aia=function(){var a=zd.apply(0,arguments);a=a.length===1&&Zha(a[0])?a[0]:a;return a.length===1?te(a[0]):new re($ha(a))},$ha=function(a){return function(b){for(var c=[],d={i$jscomp$290:0};c&&!b.closed&&d.i$jscomp$290<a.length;d={i$jscomp$290:d.i$jscomp$290},d.i$jscomp$290++)c.push(te(a[d.i$jscomp$290]).subscribe(new Le(b,function(e){return function(f){if(c){for(var h=0;h<c.length;h++)h!==e.i$jscomp$290&&c[h].unsubscribe();
c=null}b.next(f)}}(d))))}},Ze=function(a){a=a instanceof Date&&!isNaN(a)?{first:a}:typeof a==="number"?{each:a}:a;var b=a.first,c=a.each,d=a.with===void 0?bia:a.with,e=a.scheduler===void 0?Ue:a.scheduler,f=a.meta===void 0?null:a.meta;if(b==null&&c==null)throw new TypeError("Ra");return Ke(function(h,l){var q,v=null,y=0,E=function(O){q=rha(l,e,function(){H.unsubscribe();te(d({meta:f,lastValue:v,seen:y})).subscribe(l)},O)};var H=h.subscribe(new Le(l,function(O){var N;(N=q)==null||N.unsubscribe();y++;
l.next(v=O);c>0&&E(c)},void 0,void 0,function(){var O;if((O=q)==null||!O.closed){var N;(N=q)==null||N.unsubscribe()}v=null}));E(b!=null?typeof b==="number"?b:+b-e.now():c)})},bia=function(a){throw new cia(a);},eia=function(a){return a in dia?(delete dia[a],!0):!1},fia=function(a){return!!a&&(a instanceof re||le(a.lift)&&le(a.subscribe))},$e=function(){},gia=function(a){function b(){a=$e;try{c!==void 0&&typeof cancelAnimationFrame==="function"&&cancelAnimationFrame(c),d!==void 0&&clearTimeout(d)}catch(e){}}
var c;var d=setTimeout(function(){a();b()});typeof requestAnimationFrame==="function"&&(c=requestAnimationFrame(function(){a();b()}));return function(){return b()}},hia=function(a){queueMicrotask(function(){return a()});return function(){a=$e}},iia=function(a){if(a._nesting==0&&!a.hasPendingMicrotasks&&!a.isStable)try{a._nesting++,a.onMicrotaskEmpty.emit(null)}finally{if(a._nesting--,!a.hasPendingMicrotasks)try{a.runOutsideAngular(function(){return a.onStable.emit(null)})}finally{a.isStable=!0}}},
kia=function(a){function b(){gia(function(){a.callbackScheduled=!1;jia(a);a.isCheckStableRunning=!0;iia(a);a.isCheckStableRunning=!1})}a.isCheckStableRunning||a.callbackScheduled||(a.callbackScheduled=!0,a.scheduleInRootZone?Zone.root.run(function(){b()}):a._outer.run(function(){b()}),jia(a))},oia=function(a){var b=lia++,c={};a._inner=a._inner.fork({name:"angular",properties:(c.isAngularZone=!0,c.isAngularZone_ID=b,c["isAngularZone_ID"+b]=!0,c),onInvokeTask:function(d,e,f,h,l,q){if(mia(q,"__ignore_ng_zone__"))return d.invokeTask(f,
h,l,q);try{return nia(a),d.invokeTask(f,h,l,q)}finally{(a.shouldCoalesceEventChangeDetection&&h.type==="eventTask"||a.shouldCoalesceRunChangeDetection)&&kia(a),a._nesting--,iia(a)}},onInvoke:function(d,e,f,h,l,q,v){try{return nia(a),d.invoke(f,h,l,q,v)}finally{!a.shouldCoalesceRunChangeDetection||a.callbackScheduled||mia(q,"__scheduler_tick__")||kia(a),a._nesting--,iia(a)}},onHasTask:function(d,e,f,h){d.hasTask(f,h);e===f&&(h.change=="microTask"?(a._hasPendingMicrotasks=h.microTask,jia(a),iia(a)):
h.change=="macroTask"&&(a.hasPendingMacrotasks=h.macroTask))},onHandleError:function(d,e,f,h){d.handleError(f,h);a.runOutsideAngular(function(){return a.onError.emit(h)});return!1}})},jia=function(a){a.hasPendingMicrotasks=a._hasPendingMicrotasks||(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&a.callbackScheduled===!0?!0:!1},nia=function(a){a._nesting++;a.isStable&&(a.isStable=!1,a.onUnstable.emit(null))},mia=function(a,b){if(!Array.isArray(a)||a.length!==1)return!1;var c,
d;return((c=a[0])==null?void 0:(d=c.data)==null?void 0:d[b])===!0},C=function(a){pia(Qd(),x(),Pd.selectedIndex+(a===void 0?1:a))},pia=function(a,b,c){(b[2]&3)===3?(a=a.preOrderCheckHooks,a!==null&&Xd(b,a,3,c)):(a=a.preOrderHooks,a!==null&&Hga(b,a,0,c));Pd.selectedIndex=c},af=function(a,b){b=b===void 0?0:b;var c=x();return c===null?md(a,b):Wga(Rd(),c,jd(a),b)},qia=function(){throw Error("Sa");},ria=function(a,b,c,d,e,f){var h=bd(null);try{var l=null;(e&1)!==0&&(l=b[d][fd]);l!==null&&l.transformFn!==
void 0&&(f=l.transformFn(f));(e&2)!==0&&(f=a.inputTransforms[d].call(b,f));a.setInput!==null?a.setInput(b,l,f,c,d):(a=l,a!==null?a.applyValueToInputSignal(a,f):b[d]=f)}finally{bd(h)}},uia=function(){return"".replace(sia,function(a){return a.replace(tia,"\u200b$1\u200b")})},bf=function(a,b,c,d,e){if(d!=null){var f=!1;if(Gd(d))var h=d;else Fd(d)&&(f=!0,d=d[0]);d=Id(d);a===0&&c!==null?e==null?b.appendChild(c,d):b.insertBefore(c,d,e||null,!0):a===1&&c!==null?b.insertBefore(c,d,e||null,!0):a===2?b.removeChild(null,
d,f):a===3&&b.destroyNode(d);if(h!=null)for(f=h[7],f!==Id(h)&&bf(a,b,c,f,e),e=10;e<h.length;e++)d=h[e],cf(b,a,d[1].firstChild,d,c,f,!1)}},via=function(a,b){var c;(c=b[10].changeDetectionScheduler)==null||c.notify(10);cf(b[11],2,a.firstChild,b,null,null,!1)},wia=function(a,b){var c=a[9],d=b[3];Fd(d)?a[2]|=2:b[15]!==d[3][15]&&(a[2]|=2);c===null?a[9]=[b]:c.push(b)},xia=function(a,b){a=a[9];b=a.indexOf(b);a.splice(b,1)},df=function(a,b){if(!(a.length<=10)){var c=10+b,d=a[c];if(d){var e=d[16];e!==null&&
e!==a&&xia(e,d);b>0&&(a[c-1][4]=d[4]);a=Ufa(a,10+b);via(d[1],d);d[0]=null;d[5]=null;b=a[18];b!==null&&b.detachView(a[1]);d[3]=null;d[4]=null;d[2]&=-129}return d}},zia=function(a,b){if(!(b[2]&256)){var c=b[11];c.destroyNode&&cf(c,3,a.firstChild,b,null,null,!1);if(a=b[12])for(;a;){c=null;if(Fd(a))c=a[12];else{var d=a[10];d&&(c=d)}if(!c){for(;a&&!a[4]&&a!==b;)Fd(a)&&yia(a[1],a),a=a[3];a===null&&(a=b);Fd(a)&&yia(a[1],a);c=a&&a[4]}a=c}else yia(b[1],b)}},yia=function(a,b){if(!(b[2]&256)){var c=bd(null);
try{b[2]&=-129;b[2]|=256;b[24]&&nfa(b[24]);var d;if(a!=null&&(d=a.destroyHooks)!=null)for(var e=0;e<d.length;e+=2){var f=b[d[e]];if(!(f instanceof be)){var h=d[e+1];if(Array.isArray(h))for(var l=0;l<h.length;l+=2)h[l+1].call(f[h[l]]);else h.call(f)}}var q=a.cleanup,v=b[7];if(q!==null)for(d=0;d<q.length-1;d+=2)if(typeof q[d]==="string"){var y=q[d+3];if(y>=0)v[y]();else v[-y].unsubscribe();d+=2}else q[d].call(v[q[d+1]]);v!==null&&(b[7]=null);var E=b[21];if(E!==null)for(b[21]=null,q=0;q<E.length;q++)(0,E[q])();
var H=b[23];if(H!==null){b[23]=null;for(var O=k(H),N=O.next();!N.done;N=O.next())N.value.destroy()}b[1].type===1&&b[11].destroy();var T=b[16];if(T!==null&&Gd(b[3])){T!==b[3]&&xia(T,b);var da=b[18];da!==null&&da.detachView(a)}eha.delete(b[19])}finally{bd(c)}}},Aia=function(a,b,c){for(;b!==null&&b.type&168;)b=b.parent;if(b===null)return c[0];var d=b.componentOffset;return d>-1&&(a=a.data[b.directiveStart+d].encapsulation,a===2||a===0)?null:Jd(b,c)},Bia=function(a,b,c,d){a=Aia(a,d.parent,b);var e=b[11];
d=d.parent||b[5];b=d.type&40?Jd(d,b):null;if(a!=null)if(Array.isArray(c))for(d=0;d<c.length;d++){var f=e,h=a,l=c[d];b!==null?f.insertBefore(h,l,b,!1):f.appendChild(h,l)}else b!==null?e.insertBefore(a,c,b,!1):e.appendChild(a,c)},ef=function(a,b){if(b!==null){var c=b.type;if(c&3)return Jd(b,a);if(c&4)return Cia(-1,a[b.index]);if(c&8){c=b.child;if(c!==null)return ef(a,c);a=a[b.index];return Gd(a)?Cia(-1,a):Id(a)}if(c&128)return ef(a,b.next);if(c&32)return(void 0)(b,a)()||Id(a[b.index]);c=b!==null?a[15][5].projection[b.projection]:
null;if(c!==null){if(Array.isArray(c))return c[0];a=Od(a[15]);return ef(a,c)}return ef(a,b.next)}return null},Cia=function(a,b){a+=11;if(a<b.length){a=b[a];var c=a[1].firstChild;if(c!==null)return ef(a,c)}return b[7]},cf=function(a,b,c,d,e,f,h){for(;c!=null;)if(c.type===128)c=c.next;else{var l=d[c.index],q=c.type;h&&b===0&&(l&&fe(Id(l),d),c.flags|=2);if((c.flags&32)!==32)if(q&8)cf(a,b,c.child,d,e,f,!1),bf(b,a,e,l,f);else if(q&32){q=(void 0)(c,d);for(var v;v=q();)bf(b,a,e,v,f);bf(b,a,e,l,f)}else q&
16?Dia(a,b,d,c,e,f):bf(b,a,e,l,f);c=h?c.projectionNext:c.next}},Dia=function(a,b,c,d,e,f){var h=c[15];c=h[5].projection[d.projection];if(Array.isArray(c))for(d=0;d<c.length;d++)bf(b,a,e,c[d],f);else h=h[3],(d.flags&128)===128&&(c.flags|=128),cf(a,b,c,h,e,f,!0)},Eia=function(a,b,c){var d=c.mergedAttrs,e=c.classes;c=c.styles;d!==null&&Cfa(a,b,d);e!==null&&(e===""?a.removeAttribute(b,"class"):a.setAttribute(b,"class",e));c!==null&&a.setAttribute(b,"style",c)},gf=function(a){return a instanceof ff?a.changingThisBreaksApplicationSecurity:
a},hf=function(a,b){a=a instanceof ff&&a.getTypeName()||null;if(a!=null&&a!==b){if(a==="ResourceURL"&&b==="URL")return!0;throw Error("Ta`"+b+"`"+a);}return a===b},Gia=function(){if(Fia===void 0&&(Fia=null,kf.trustedTypes))try{Fia=kf.trustedTypes.createPolicy("angular",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return Fia},Hia=function(a){var b;return((b=Gia())==null?void 0:b.createHTML(a))||a},Jia=function(a){a=String(a);
return a.match(Iia)?a:"unsafe:"+a},lf=function(a){var b={};a=k(a.split(","));for(var c=a.next();!c.done;c=a.next())b[c.value]=!0;return b},mf=function(){for(var a={},b=k(zd.apply(0,arguments)),c=b.next();!c.done;c=b.next()){c=c.value;for(var d in c)c.hasOwnProperty(d)&&(a[d]=!0)}return a},Kia=function(a){a=a.nodeName;return typeof a==="string"?a:"FORM"},Nia=function(a){return a.replace(/&/g,"&amp;").replace(Lia,function(b){return"&#"+((b.charCodeAt(0)-55296)*1024+(b.charCodeAt(1)-56320)+65536)+";"}).replace(Mia,
function(b){return"&#"+b.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")},Wia=function(a,b){var c=null;try{var d;if(!(d=Oia)){var e=new Pia(a);try{var f=!!(new window.DOMParser).parseFromString(Hia(""),"text/html")}catch(na){f=!1}d=f?new Qia(e):e}Oia=d;var h=b?String(b):"";c=Oia.getInertBodyElement(h);a=5;b=h;do{if(a===0)throw Error("Va");a--;h=b;b=c.innerHTML;c=Oia.getInertBodyElement(h)}while(h!==b);var l=new Ria,q=(("content"in c&&c.nodeType===Node.ELEMENT_NODE&&c.nodeName==="TEMPLATE"?
c.content:null)||c).firstChild;h=!0;for(a=[];q;){if(q.nodeType===Node.ELEMENT_NODE){b=l;d=q;var v=Kia(d).toLowerCase();if(Sia.hasOwnProperty(v)){b.buf.push("<");b.buf.push(v);var y=d.attributes;for(d=0;d<y.length;d++){var E=y.item(d),H=E.name,O=H.toLowerCase();if(Tia.hasOwnProperty(O)){var N=E.value;Uia[O]&&(N=Jia(N));b.buf.push(" ",H,'="',Nia(N),'"')}}b.buf.push(">");h=!0}else h=!Via.hasOwnProperty(v)}else q.nodeType===Node.TEXT_NODE&&l.buf.push(Nia(q.nodeValue));if(h&&q.firstChild){a.push(q);var T=
q.firstChild;if(T&&(q.compareDocumentPosition(T)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY)throw Error("Ua`"+T.outerHTML);q=T}else for(;q;){q.nodeType===Node.ELEMENT_NODE&&l.endElement(q);var da,ja=q.nextSibling;if(ja&&q!==ja.previousSibling)throw Error("Ua`"+ja.outerHTML);if(da=ja){q=da;break}q=a.pop()}}return Hia(l.buf.join(""))}finally{if(c)for(c=("content"in c&&c.nodeType===Node.ELEMENT_NODE&&c.nodeName==="TEMPLATE"?c.content:null)||c;c.firstChild;)c.firstChild.remove()}},
Yia=function(){if(Xia===void 0&&(Xia=null,kf.trustedTypes))try{Xia=kf.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return Xia},Zia=function(a){var b;return((b=Yia())==null?void 0:b.createHTML(a))||a},$ia=function(a){var b;return((b=Yia())==null?void 0:b.createScriptURL(a))||a},nf=function(a){var b=aja();return b?Zia(b.sanitize(1,a)||""):hf(a,"HTML")?Zia(gf(a)):Wia(dha(),Yc(a))},
bja=function(a){var b=aja();return b?b.sanitize(2,a)||"":hf(a,"Style")?gf(a):Yc(a)},of=function(a){var b=aja();return b?b.sanitize(4,a)||"":hf(a,"URL")?gf(a):Jia(Yc(a))},cja=function(a){var b=aja();if(b)return $ia(b.sanitize(5,a)||"");if(hf(a,"ResourceURL"))return $ia(gf(a));throw new $c(904,!1);},aja=function(){var a=x();return a&&a[10].sanitizer},eja=function(a,b,c,d,e,f,h,l,q,v,y){var E=b.blueprint.slice();E[0]=e;E[2]=d|1228;if(v!==null||a&&a[2]&2048)E[2]|=2048;E[17]=0;E[3]=E[14]=a;E[8]=c;E[10]=
h||a&&a[10];E[11]=l||a&&a[11];E[9]=q||a&&a[9]||null;E[5]=f;E[19]=dja++;E[6]=y;E[20]=v;E[15]=b.type==2?a[15]:E;return E},pf=function(a,b,c,d,e){var f=a.data[b];if(f===null){f=Pd.currentTNode;var h=Pd.isParent,l=a.data,q=h?f:f&&f.parent,v=q?q.injectorIndex:-1,y=0;fja!==null&&(y|=128);b=l[b]={type:c,index:b,insertBeforeIndex:null,injectorIndex:v,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:y,providerIndexes:0,value:d,attrs:e,mergedAttrs:null,
localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:q,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0};a.firstChild===null&&(a.firstChild=b);f!==null&&(h?f.child==null&&b.parent!==null&&(f.child=b):f.next===null&&(f.next=b,b.prev=f));f=b;Pd.inI18n&&(f.flags|=32)}else f.type&64&&(f.type=c,f.value=d,f.attrs=
e,a=Pd,b=a.currentTNode,a=a.isParent?b:b.parent,f.injectorIndex=a===null?-1:a.injectorIndex);Sd(f,!0);return f},gja=function(a,b,c,d){if(c===0)return-1;for(var e=b.length,f=0;f<c;f++)b.push(d),a.blueprint.push(d),a.data.push(null);return e},hja=function(a,b,c,d,e){var f=Pd.selectedIndex;try{Pd.selectedIndex=-1,d&2&&b.length>25&&pia(a,b,25),c(d,e)}finally{Pd.selectedIndex=f}},ija=function(a,b,c){if((b.flags&4)!==0){var d=bd(null);try{for(var e=b.directiveEnd,f=b.directiveStart;f<e;f++){var h=a.data[f];
h.contentQueries&&h.contentQueries(1,c[f],f)}}finally{bd(d)}}},nja=function(a,b,c){var d=Jd(c,b),e=c.directiveStart,f=c.directiveEnd;if(c.componentOffset>-1){var h=a.data[e+c.componentOffset],l=Jd(c,b),q=jja(h);h=kja(b,eja(b,q,null,lja(h),l,c,null,b[10].rendererFactory.createRenderer(l,h),null,null,null));b[c.index]=h}a.firstCreatePass||Sga(c,b);fe(d,b);d=c.initialInputs;for(h=e;h<f;h++){l=a.data[h];q=ae(b,a,h,c);fe(q,b);if(d!==null){var v=d[h-e];if(v!==null)for(var y=0;y<v.length;){var E=v[y++],
H=v[y++],O=v[y++],N=v[y++];ria(l,q,E,H,O,N)}}l.template&&(Ld(c.index,b)[8]=ae(b,a,h,c))}(c.flags&64)===64&&mja(a,b,c)},oja=function(a,b,c){c=c===void 0?Jd:c;var d=b.localNames;if(d!==null)for(var e=b.index+1,f=0;f<d.length;f+=2){var h=d[f+1];h=h===-1?c(b,a):a[h];a[e++]=h}},jja=function(a){var b=a.tView;return b===null||b.incompleteFirstPass?a.tView=pja(1,null,a.template,a.decls,a.vars,a.directiveDefs,a.pipeDefs,a.viewQuery,a.schemas,a.consts,a.id):b},pja=function(a,b,c,d,e,f,h,l,q,v,y){d=25+d;e=d+
e;for(var E=[],H=0;H<e;H++)E.push(H<d?null:qf);v=typeof v==="function"?v():v;return E[1]={type:a,blueprint:E,template:c,queries:null,viewQuery:l,declTNode:b,data:E.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:e,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,
components:null,directiveRegistry:typeof f==="function"?f():f,pipeRegistry:typeof h==="function"?h():h,firstChild:null,schemas:q,consts:v,incompleteFirstPass:!1,ssrId:y}},rja=function(a,b,c,d,e){for(var f in b)if(b.hasOwnProperty(f)){var h=b[f];if(h!==void 0){d!=null||(d={});var l=0;if(Array.isArray(h)){var q=h[0];l=h[1]}else q=h;h=f;if(e!==null){if(!e.hasOwnProperty(f))continue;h=e[f]}a===0?qja(d,c,h,q,l):qja(d,c,h,q)}}return d},qja=function(a,b,c,d,e){var f;a.hasOwnProperty(c)?(f=a[c]).push(b,d):
f=a[c]=[b,d];e!==void 0&&f.push(e)},rf=function(a,b,c,d,e,f,h,l){var q=Jd(b,c),v=b.inputs,y;!l&&v!=null&&(y=v[d])?(sja(a,c,y,d,e),b.componentOffset>-1&&(a=Ld(b.index,c),a[2]&16||(a[2]|=64))):b.type&3&&(d=d==="class"?"className":d==="for"?"htmlFor":d==="formaction"?"formAction":d==="innerHtml"?"innerHTML":d==="readonly"?"readOnly":d==="tabindex"?"tabIndex":d,e=h!=null?h(e,b.value||"",d):e,f.setProperty(q,d,e))},vja=function(a,b,c,d){var e=d===null?null:{"":-1};var f=a.directiveRegistry;var h=null,
l=null;if(f)for(var q=0;q<f.length;q++){var v=f[q];if(Gfa(c,v.selectors,!1))if(h||(h=[]),v.template)if(v.findHostDirectiveDefs!==null){var y=[];l=l||new Map;v.findHostDirectiveDefs(v,y,l);h.unshift.apply(h,[].concat(w(y),[v]));tja(a,c,y.length)}else h.unshift(v),tja(a,c,0);else{l=l||new Map;var E=y=void 0;(E=(y=v).findHostDirectiveDefs)==null||E.call(y,v,h,l);h.push(v)}}f=h===null?null:[h,l];f===null?f=h=null:(h=k(f),f=h.next().value,h=h.next().value);f!==null&&uja(a,b,c,f,e,h);if(e&&d)for(a=c.localNames=
[],b=0;b<d.length;b+=2){f=e[d[b+1]];if(f==null)throw new $c(-301,!1);a.push(d[b],f)}c.mergedAttrs=od(c.mergedAttrs,c.attrs)},uja=function(a,b,c,d,e,f){for(var h=0;h<d.length;h++){var l=Sga(c,b);Oga(l,a,d[h].type)}h=a.data.length;l=d.length;c.flags|=1;c.directiveStart=h;c.directiveEnd=h+l;c.providerIndexes=h;for(h=0;h<d.length;h++)l=d[h],l.providersResolver&&l.providersResolver(l);var q=!1,v=!1;h=gja(a,b,d.length,null);for(l=0;l<d.length;l++){var y=d[l];c.mergedAttrs=od(c.mergedAttrs,y.hostAttrs);
var E=a,H=c,O=b,N=h;E.data[N]=y;var T=y.factory||(y.factory=wd(y.type));T=new be(T,!!y.template);E.blueprint[N]=T;O[N]=T;T=E;var da=H;E=gja(E,O,y.hostVars,qf);if(O=y.hostBindings){H=T.hostBindingOpCodes;H===null&&(H=T.hostBindingOpCodes=[]);T=~da.index;a:{for(da=H.length;da>0;){var ja=H[--da];if(typeof ja==="number"&&ja<0){da=ja;break a}}da=0}da!=T&&H.push(T);H.push(N,E,O)}N=h;T=y;if(E=e){if(T.exportAs)for(O=0;O<T.exportAs.length;O++)E[T.exportAs[O]]=N;T.template&&(E[""]=N)}y.contentQueries!==null&&
(c.flags|=4);if(y.hostBindings!==null||y.hostAttrs!==null||y.hostVars!==0)c.flags|=64;y=y.type.prototype;!q&&(y.ngOnChanges||y.ngOnInit||y.ngDoCheck)&&(N=q=void 0,((N=(q=a).preOrderHooks)!=null?N:q.preOrderHooks=[]).push(c.index),q=!0);v||!y.ngOnChanges&&!y.ngDoCheck||(y=v=void 0,((y=(v=a).preOrderCheckHooks)!=null?y:v.preOrderCheckHooks=[]).push(c.index),v=!0);h++}b=c.directiveEnd;a=a.data;d=c.attrs;e=[];l=h=null;for(q=c.directiveStart;q<b;q++){v=a[q];N=(y=f?f.get(v):null)?y.outputs:null;h=rja(0,
v.inputs,q,h,y?y.inputs:null);l=rja(1,v.outputs,q,l,N);if(h===null||d===null||Efa(c))v=null;else{v=h;y=q;N=null;for(T=0;T<d.length;)if(E=d[T],E===0)T+=4;else{if(E!==5){if(typeof E==="number")break;if(v.hasOwnProperty(E))for(N===null&&(N=[]),O=v[E],H=0;H<O.length;H+=3)if(O[H]===y){N.push(E,O[H+1],O[H+2],d[T+1]);break}}T+=2}v=N}e.push(v)}h!==null&&(h.hasOwnProperty("class")&&(c.flags|=8),h.hasOwnProperty("style")&&(c.flags|=16));c.initialInputs=e;c.inputs=h;c.outputs=l},mja=function(a,b,c){var d=c.directiveStart,
e=c.directiveEnd,f=c.index;c=Pd.currentDirectiveIndex;try{for(Pd.selectedIndex=f;d<e;d++){var h=a.data[d],l=b[d];Pd.currentDirectiveIndex=d;h.hostBindings===null&&h.hostVars===0&&h.hostAttrs===null||h.hostBindings===null||h.hostBindings(1,l)}}finally{Pd.selectedIndex=-1,Pd.currentDirectiveIndex=c}},tja=function(a,b,c){b.componentOffset=c;var d;((d=a.components)!=null?d:a.components=[]).push(b.index)},lja=function(a){var b=16;a.signals?b=4096:a.onPush&&(b=64);return b},wja=function(a,b,c,d,e,f){var h=
Jd(a,b);b=b[11];a=a.value;d==null?b.removeAttribute(h,c,f):(d=e==null?Yc(d):e(d,a||"",c),b.setAttribute(h,c,d,f))},xja=function(a,b){var c=a.contentQueries;if(c!==null){var d=bd(null);try{for(var e=0;e<c.length;e+=2){var f=c[e],h=c[e+1];if(h!==-1){var l=a.data[h];Pd.currentQueryIndex=f;l.contentQueries(2,b[h],h)}}}finally{bd(d)}}},kja=function(a,b){a[12]?a[13][4]=b:a[12]=b;return a[13]=b},yja=function(a,b,c){Pd.currentQueryIndex=0;var d=bd(null);try{b(a,c)}finally{bd(d)}},zja=function(a){var b;return(b=
a[7])!=null?b:a[7]=[]},Aja=function(a){var b;return(b=a.cleanup)!=null?b:a.cleanup=[]},Bja=function(a,b,c){if(a===null||a.template)a:{for(a=c[b.index];Array.isArray(a);){if(typeof a[1]==="object"){c=a;break a}a=a[0]}c=null}return c[11]},Cja=function(a,b){(a=(a=a[9])?a.get(sf,null):null)&&a.handleError(b)},sja=function(a,b,c,d,e){for(var f=0;f<c.length;){var h=c[f++],l=c[f++],q=c[f++];ria(a.data[h],b[h],d,l,q,e)}},Dja=function(a,b){a[11].setValue(Id(a[Pd.selectedIndex]),b)},Fja=function(a,b,c){Cga(b);
try{var d=a.viewQuery;d!==null&&yja(1,d,c);var e=a.template;e!==null&&hja(a,b,e,1,c);a.firstCreatePass&&(a.firstCreatePass=!1);var f;(f=b[18])!=null&&Eja(f,a);a.staticContentQueries&&xja(a,b);a.staticViewQueries&&yja(2,a.viewQuery,c);var h=a.components;if(h!==null)for(c=0;c<h.length;c++){var l=Ld(h[c],b),q=l[1];d=q;e=l;for(var v=e.length;v<d.blueprint.length;v++)e.push(d.blueprint[v]);l[0]!==null&&l[6]===null&&(l[6]=null);Fja(q,l,l[8])}}catch(y){throw a.firstCreatePass&&(a.incompleteFirstPass=!0,
a.firstCreatePass=!1),y;}finally{b[2]&=-5,Fga()}},Gja=function(a,b,c){var d=c?a.styles:null,e=c?a.classes:null,f=0;if(b!==null)for(var h=0;h<b.length;h++){var l=b[h];if(typeof l==="number")f=l;else if(f==1)e=$ea(e,l);else if(f==2){var q=b[++h];d=$ea(d,l+": "+q+";")}}c?a.styles=d:a.stylesWithoutHost=d;c?a.classes=e:a.classesWithoutHost=e},Hja=function(a,b,c,d,e){for(e=e===void 0?!1:e;c!==null;){if(c.type!==128){var f=b[c.index];f!==null&&d.push(Id(f));if(Gd(f)){for(var h=d,l=10;l<f.length;l++){var q=
f[l],v=q[1].firstChild;v!==null&&Hja(q[1],q,v,h)}f[7]!==f[0]&&h.push(f[7])}f=c.type;if(f&8)Hja(a,b,c.child,d);else if(f&32)for(f=(void 0)(c,b);h=f();)d.push(h);else f&16&&(f=c!==null?b[15][5].projection[c.projection]:null,Array.isArray(f)?d.push.apply(d,w(f)):(h=Od(b[15]),Hja(h[1],h,f,d,!0)))}c=e?c.projectionNext:c.next}return d},Ija=function(a){if(a[23]!==null)for(var b=!0;b;){b=!1;for(var c=k(a[23]),d=c.next(),e={};!d.done;e={effect$jscomp$3:void 0},d=c.next())e.effect$jscomp$3=d.value,e.effect$jscomp$3.dirty&&
(b=!0,e.effect$jscomp$3.zone===null||Zone.current===e.effect$jscomp$3.zone?e.effect$jscomp$3.run():e.effect$jscomp$3.zone.run(function(f){return function(){return f.effect$jscomp$3.run()}}(e)));b=b&&!!(a[2]&8192)}},Kja=function(a,b,c){b=b===void 0?!0:b;c=c===void 0?0:c;var d=a[10].rendererFactory,e;(e=d.begin)==null||e.call(d);try{e=c;c=xga;try{for(yga(!0),Jja(a,e),e=0;uga(a);){if(e===100)throw new $c(103,!1);e++;Jja(a,1)}}finally{yga(c)}}catch(h){throw b&&Cja(a,h),h;}finally{var f;(f=d.end)==null||
f.call(d)}},Lja=function(a,b){for(a=fha(a[12]);a!==null;a=fha(a[4]))for(var c=10;c<a.length;c++){var d=a[c];(d[2]&128)===128&&Jja(d,b)}},Jja=function(a,b){var c=a[1],d=a[2],e=a[24],f=!!(b===0&&d&16);f||(f=!!(d&64&&b===0));f||(f=!!(d&1024));f||(f=!!((e==null?0:e.dirty)&&ifa(e)));f||(f=!1);e&&(e.dirty=!1);a[2]&=-9217;if(f){var h=c.template;b=a[8];var l=a[2];if((l&256)!==256){Cga(a);d=!0;f=e=null;if(c.type!==2){if((e=a[24])!=null)var q=e;else e=(q=Mja.pop())!=null?q:Object.create(Nja),e.lView=a,q=e;
f=q;e=ed(f)}else if(ad===null){d=!1;var v;q=(v=a[24])!=null?v:Object.create(Oja);q.lView=a;f=q;e=ed(f)}else a[24]&&(nfa(a[24]),a[24]=null);try{a[17]=0;Pd.bindingIndex=c.bindingStartIndex;h!==null&&hja(c,a,h,2,b);if(q=(l&3)===3){var y=c.preOrderCheckHooks;y!==null&&Xd(a,y,3,null)}else{var E=c.preOrderHooks;E!==null&&Hga(a,E,0,null);Iga(a,0)}for(var H=fha(a[12]);H!==null;H=fha(H[4]))if(H[2]&2){var O=H[9];for(y=0;y<O.length;y++)tga(O[y])}Ija(a);Lja(a,0);c.contentQueries!==null&&xja(c,a);if(q){var N=
c.contentCheckHooks;N!==null&&Xd(a,N,3)}else{var T=c.contentHooks;T!==null&&Hga(a,T,1);Iga(a,1)}var da=c.hostBindingOpCodes;if(da!==null)try{for(H=0;H<da.length;H++){var ja=da[H];if(ja<0)Pd.selectedIndex=~ja;else{O=ja;var na=da[++H],Ia=da[++H];N=Pd;N.bindingIndex=N.bindingRootIndex=na;Pd.currentDirectiveIndex=O;Ia(2,a[O])}}}finally{Pd.selectedIndex=-1}var Pa=c.components;Pa!==null&&Pja(a,Pa,0);var Na=c.viewQuery;Na!==null&&yja(2,Na,b);if(q){var bb=c.viewCheckHooks;bb!==null&&Xd(a,bb,3)}else{var ma=
c.viewHooks;ma!==null&&Hga(a,ma,2);Iga(a,2)}c.firstUpdatePass===!0&&(c.firstUpdatePass=!1);if(a[22]){for(var Da=k(a[22]),Ea=Da.next();!Ea.done;Ea=Da.next()){var zb=Ea.value;zb()}a[22]=null}a[2]&=-73}catch(qb){throw Nd(a),qb;}finally{f!==null&&(mfa(f,e),d&&(a=f,a.lView[24]!==a&&(a.lView=null,Mja.push(a)))),Fga()}}}else d&8192&&(Ija(a),Lja(a,1),c=c.components,c!==null&&Pja(a,c,1))},Pja=function(a,b,c){for(var d=0;d<b.length;d++){var e=c,f=Ld(b[d],a);(f[2]&128)===128&&Jja(f,e)}},Qja=function(a,b){var c=
[],d;for(d in a)if(a.hasOwnProperty(d)){var e=a[d];if(e!==void 0){var f=Array.isArray(e),h=f?e[0]:e;e=f?e[1]:0;b?c.push({propName:h,templateName:d,isSignal:(e&1)!==0}):c.push({propName:h,templateName:d})}}return c},Rja=function(){Gga(x()[1],Rd())},Sja=function(a,b,c){return new tf(a,b,c,!1)},Uja=function(a,b,c){return(new Tja({providers:a,parent:b,debugName:c===void 0?null:c,runEnvironmentInitializers:!0})).injector},uf=function(a){return!!a&&typeof a.then==="function"},Vja=function(a){return!!a&&
typeof a.subscribe==="function"},vf=function(a){return typeof a==="function"&&a[fd]!==void 0},Wja=function(a){return Ke(function(b,c){var d=!1,e=null,f=null,h=!1,l=function(){var v;(v=f)==null||v.unsubscribe();f=null;d&&(d=!1,v=e,e=null,c.next(v));h&&c.complete()},q=function(){f=null;h&&c.complete()};b.subscribe(new Le(c,function(v){d=!0;e=v;f||te(a(v)).subscribe(f=new Le(c,l,void 0,q))},void 0,function(){h=!0;d&&f&&!f.closed||c.complete()}))})},wf=function(a,b){b=b===void 0?Ue:b;return Wja(function(){return Ve(a,
b)})},Xja=function(a){return Ke(function(b,c){var d=[];b.subscribe(new Le(c,function(e){return d.push(e)},void 0,function(){c.next(d);c.complete()}));a.subscribe(new Le(c,function(){var e=d;d=[];c.next(e)},void 0,ne));return function(){d=null}})},xf=function(a){return Ke(function(b,c){var d=null,e=!1,f;d=b.subscribe(new Le(c,void 0,function(h){f=te(a(h,xf(a)(b)));d?(d.unsubscribe(),d=null,f.subscribe(c)):e=!0}));e&&(d.unsubscribe(),d=null,f.subscribe(c))})},Yja=function(a,b,c){return function(d,e){var f=
c,h=b,l=0;d.subscribe(new Le(e,function(q){var v=l++;h=f?a(h,q,v):(f=!0,q);e.next(h)},void 0,void 0))}},Zja=function(){var a=zd.apply(0,arguments),b=Gha(a);return b?qe(Zja.apply(null,w(a)),Jha(b)):Ke(function(c,d){Pha([c].concat(w(a.length===1&&Zha(a[0])?a[0]:a)))(d)})},yf=function(){return Zja.apply(null,w(zd.apply(0,arguments)))},zf=function(a){return le()?Oe(a,void 0,1):Oe(a,1)},aka=function(){return $ja.apply(null,w(zd.apply(0,arguments)))},$ja=function(){var a=zd.apply(0,arguments),b=Ee(a);return Ke(function(c,
d){Pe(1)(De([c].concat(w(a)),b)).subscribe(d)})},bka=function(a){return Ke(function(b,c){var d=!1,e=null,f=null,h=function(){var l;(l=f)==null||l.unsubscribe();f=null;d&&(d=!1,l=e,e=null,c.next(l))};b.subscribe(new Le(c,function(l){var q;(q=f)==null||q.unsubscribe();d=!0;e=l;f=new Le(c,h,void 0,ne);te(a(l)).subscribe(f)},void 0,function(){h();c.complete()},function(){e=f=null}))})},Af=function(a,b){b=b===void 0?Ue:b;var c=Ve(a,b);return bka(function(){return c})},cka=function(a){a=a===void 0?null:
a;return Ke(function(b,c){var d=!1;b.subscribe(new Le(c,function(e){d=!0;c.next(e)},void 0,function(){d||c.next(a);c.complete()}))})},dka=function(){return Ke(function(a,b){a.subscribe(new Le(b,ne))})},Bf=function(a){return Ke(function(b,c){b.subscribe(new Le(c,function(){return c.next(a)}))})},Cf=function(){return Ke(function(a,b){var c=0;a.subscribe(new Le(b,function(d){++c<=1&&(b.next(d),1<=c&&b.complete())}))})},eka=function(a){return Oe(function(b,c){return a(b,c).pipe(Cf(),Bf(b))})},Df=function(a,
b){b=b===void 0?Ue:b;var c=Ve(a,b);return eka(function(){return c})},Ef=function(a){var b=b===void 0?pe:b;var c;a=(c=a)!=null?c:fka;return Ke(function(d,e){var f,h=!0;d.subscribe(new Le(e,function(l){var q=b(l);if(h||!a(f,q))h=!1,f=q,e.next(l)}))})},fka=function(a,b){return a===b},hka=function(a){a=a===void 0?gka:a;return Ke(function(b,c){var d=!1;b.subscribe(new Le(c,function(e){d=!0;c.next(e)},void 0,function(){return d?c.complete():c.error(a())}))})},gka=function(){return new Ie},Ff=function(a){return Ke(function(b,
c){b.subscribe(c);c.add(a)})},Gf=function(a,b){var c=arguments.length>=2;return function(d){return d.pipe(a?Ye(function(e,f){return a(e,f,d)}):pe,Cf(),c?cka(b):hka(function(){return new Ie}))}},ika=function(){return Ke(function(a,b){var c=[];a.subscribe(new Le(b,function(d){c.push(d);1<c.length&&c.shift()},void 0,function(){for(var d=k(c),e=d.next();!e.done;e=d.next())b.next(e.value);b.complete()},function(){c=null}))})},jka=function(a,b){var c=arguments.length>=2;return function(d){return d.pipe(a?
Ye(function(e,f){return a(e,f,d)}):pe,ika(),c?cka(b):hka(function(){return new Ie}))}},kka=function(a){var b=le(a)?a:function(){return a};return le()?Ke(function(c,d){var e=b();(void 0)(e).subscribe(d).add(c.subscribe(e))}):function(c){var d=new Hf(c,b);le(c==null?void 0:c.lift)&&(d.lift=c.lift);d.source=c;d.subjectFactory=b;return d}},lka=function(){var a=new If(1,void 0,void 0);return function(b){return kka(function(){return a})(b)}},mka=function(){var a=zd.apply(0,arguments);return a.length?Ke(function(b,
c){$ha([b].concat(w(a)))(c)}):pe},nka=function(a,b){return Ke(Yja(a,b,arguments.length>=2))},oka=function(){var a=a||{};var b=a.connector===void 0?function(){return new Jf}:a.connector,c=a.resetOnComplete===void 0?!0:a.resetOnComplete,d=a.resetOnError===void 0?!0:a.resetOnError,e=a.resetOnRefCountZero===void 0?!0:a.resetOnRefCountZero;return function(f){var h=null,l=null,q=0,v=!1,y=!1,E=function(){h=l=null;v=y=!1};return Ke(function(H,O){q++;var N;l=(N=l)!=null?N:b();O.add(function(){q--;if(e&&!q&&
!y&&!v){var T=h;E();T==null||T.unsubscribe()}});l.subscribe(O);!h&&q>0&&(h=new He({next:function(T){return l.next(T)},error:function(T){y=!0;var da=l;d&&E();da.error(T)},complete:function(){v=!0;var T=l;c&&E();T.complete()}}),ue(H).subscribe(h))})(f)}},Kf=function(a){var b;a&&typeof a==="object"?b=a:b={bufferSize:a,windowTime:void 0,refCount:!1,scheduler:void 0};return function(c){return Ke(pka(b))(c)}},pka=function(a){var b=a.bufferSize===void 0?Infinity:a.bufferSize;var c=a.windowTime===void 0?
Infinity:a.windowTime;var d=a.refCount;var e=a.scheduler;var f,h=0,l;return function(q,v){h++;if(f)var y=f.subscribe(v);else f=new If(b,c,e),y=f.subscribe(v),l=q.subscribe({next:function(E){f.next(E)},error:function(E){var H=f;f=l=void 0;H.error(E)},complete:function(){l=void 0;f.complete()}}),l.closed&&(l=void 0);v.add(function(){h--;y.unsubscribe();d&&h===0&&l&&(l.unsubscribe(),f=l=void 0)})}},Lf=function(a){return Ye(function(b,c){return a<=c})},Mf=function(){var a=zd.apply(0,arguments),b=Ee(a);
return Ke(function(c,d){(b?Qe(a,c,b):Qe(a,c)).subscribe(d)})},Nf=function(a){return Ke(function(b,c){var d=null,e=0,f=!1;b.subscribe(new Le(c,function(h){var l;(l=d)==null||l.unsubscribe();l=e++;te(a(h,l)).subscribe(d=new Le(c,function(q){return c.next(q)},void 0,function(){d=null;f&&!d&&c.complete()}))},void 0,function(){(f=!0,!d)&&c.complete()}))})},Of=function(a){return Ke(function(b,c){te(a).subscribe(new Le(c,function(){return c.complete()},void 0,ne));!c.closed&&b.subscribe(c)})},qka=function(a){var b=
b===void 0?!1:b;return Ke(function(c,d){var e=0;c.subscribe(new Le(d,function(f){var h=a(f,e++);(h||b)&&d.next(f);!h&&d.complete()}))})},Pf=function(a,b){var c=le(a)||b?{next:a,error:b,complete:void 0}:a;return c?Ke(function(d,e){d.subscribe(new Le(e,function(f){var h;(h=c.next)==null||h.call(c,f);e.next(f)},function(f){var h;(h=c.error)==null||h.call(c,f);e.error(f)},function(){var f;(f=c.complete)==null||f.call(c);e.complete()}))}):pe},ska=function(a){var b=rka.leading;var c=rka.trailing;return Ke(function(d,
e){var f=!1,h=null,l=null,q=!1,v=function(){var O;(O=l)==null||O.unsubscribe();l=null;c&&(H(),q&&e.complete())},y=function(){l=null;q&&e.complete()},E=function(O){return l=te(a(O)).subscribe(new Le(e,v,void 0,y))},H=function(){f&&(e.next(h),!q&&E(h));f=!1;h=null};d.subscribe(new Le(e,function(O){f=!0;h=O;(!l||l.closed)&&(b?H():E(O))},void 0,function(){q=!0;c&&f&&l&&!l.closed||e.complete()}))})},Qf=function(){var a=zd.apply(0,arguments),b=Gha(a);return Ke(function(c,d){for(var e=a.length,f=Array(e),
h=a.map(function(){return!1}),l=!1,q={i$jscomp$336:0};q.i$jscomp$336<e;q={i$jscomp$336:q.i$jscomp$336},q.i$jscomp$336++)te(a[q.i$jscomp$336]).subscribe(new Le(d,function(v){return function(y){f[v.i$jscomp$336]=y;l||h[v.i$jscomp$336]||(h[v.i$jscomp$336]=!0,(l=h.every(pe))&&(h=null))}}(q),void 0,ne));c.subscribe(new Le(d,function(v){l&&(v=[v].concat(w(f)),d.next(b?b.apply(null,w(v)):v))}))})},tka=function(){ufa=function(){throw new $c(600,!1);}},uka=function(a,b,c){try{var d=c();return uf(d)?d.catch(function(e){b.runOutsideAngular(function(){return a.handleError(e)});
throw e;}):d}catch(e){throw b.runOutsideAngular(function(){return a.handleError(e)}),e;}},vka=function(a,b){return Array.isArray(b)?b.reduce(vka,a):Object.assign({},a,b)},wka=function(a,b){b=a.indexOf(b);b>-1&&a.splice(b,1)},Rf=function(a){if(!xka.has(a)){xka.add(a);var b,c;(b=performance)==null||(c=b.mark)==null||c.call(b,"mark_feature_usage",{detail:{feature:a}})}},Aka=function(a,b){(b==null?0:b.injector)||oga();var c,d=(c=b==null?void 0:b.injector)!=null?c:r(Sf);if((d!=null?d:r(Sf)).get(Tf)!==
"browser")return yka;Rf("NgAfterRender");return zka(a,d,b,!1)},Uf=function(a,b){(b==null?0:b.injector)||oga();var c,d=(c=b==null?void 0:b.injector)!=null?c:r(Sf);if((d!=null?d:r(Sf)).get(Tf)!=="browser")return yka;Rf("NgAfterNextRender");return zka(a,d,b,!0)},zka=function(a,b,c,d){var e=b.get(Vf);e.impl!=null||(e.impl=b.get(Wf));var f,h=(f=c==null?void 0:c.phase)!=null?f:2;b=(c==null?void 0:c.manualCleanup)!==!0?b.get(Xf):null;a instanceof Function?(c=[void 0,void 0,void 0,void 0],c[h]=a,a=c):a=[a.earlyRead,
a.write,a.mixedReadWrite,a.read];d=new Bka(e.impl,a,d,b);e.impl.register(d);return d},Cka=function(a,b,c,d){var e=bd(null);try{var f=b.tView,h,l,q,v=eja(a,f,c,a[2]&4096?4096:16,null,b,null,null,(h=d==null?void 0:d.injector)!=null?h:null,(l=d==null?void 0:d.embeddedViewInjector)!=null?l:null,(q=d==null?void 0:d.dehydratedView)!=null?q:null);v[16]=a[b.index];var y=a[18];y!==null&&(v[18]=y.createEmbeddedView(f));Fja(f,v,c);return v}finally{bd(e)}},Dka=function(a,b){b=10+b;if(b<a.length)return a[b]},
Eka=function(a,b){return!b||b.firstChild===null||(a.flags&128)===128},Fka=function(a,b,c,d){d=d===void 0?!0:d;var e=b[1],f=10+c,h=a.length;c>0&&(a[f-1][4]=b);c<h-10?(b[4]=a[f],f=10+c,f>=a.length?a.push(b):a.splice(f,0,b)):(a.push(b),b[4]=null);b[3]=a;f=b[16];f!==null&&a!==f&&wia(f,b);f=b[18];f!==null&&Eja(f,e);vga(b);b[2]|=128;d&&(c=Cia(c,a),d=b[11],f=d.parentNode(a[7]),f!==null&&(a=a[5],b[0]=f,b[5]=a,cf(d,1,e.firstChild,b,f,c,!1)));b=b[6];b!==null&&b.firstChild!==null&&(b.firstChild=null)},Hka=function(){return Gka(Rd(),
x())},Ika=function(a){return a[8]||(a[8]=[])},Gka=function(a,b){var c=b[a.index];if(Gd(c))var d=c;else d=[c,!0,0,b,null,a,null,null,null,null],b[a.index]=d,kja(b,d);Jka(d,b,a,c);return new Yf(d,a,b)},Kka=function(a,b,c,d){if(!a[7]){if(c.type&8)d=Id(d);else{d=b[11];var e=d.createComment("");c=Jd(c,b);b=d.parentNode(c);c=d.nextSibling(c);d.insertBefore(b,e,c,!1);d=e}a[7]=d}},Mka=function(a){return Lka(a)?Array.isArray(a)||!(a instanceof Map)&&Symbol.iterator in a:!1},Nka=function(a,b){if(Array.isArray(a))for(var c=
0;c<a.length;c++)b(a[c]);else for(a=a[Symbol.iterator]();!(c=a.next()).done;)b(c.value)},Lka=function(a){return a!==null&&(typeof a==="function"||typeof a==="object")},Zf=function(a,b,c){return a[b]=c},$f=function(a,b,c){if(Object.is(a[b],c))return!1;a[b]=c;return!0},ag=function(a,b,c,d){c=$f(a,b,c);return $f(a,b+1,d)||c},Pka=function(a,b,c,d,e,f,h,l,q,v){var y=c+25;if(b.firstCreatePass){var E=b.consts;h=pf(b,y,4,h||null,l||null);vja(b,a,h,Md(E,q));Gga(b,h);d=h.tView=pja(2,h,d,e,f,b.directiveRegistry,
b.pipeRegistry,null,b.schemas,E,null);b.queries!==null&&(b.queries.template(b,h),d.queries=b.queries.embeddedTView(h));d=h}else d=b.data[y];Sd(d,!1);c=Oka(b,a,d,c);bg&&Bia(b,a,c,d);fe(c,a);c=[c,!0,0,a,null,d,null,c,null,null];a[y]=c;kja(a,c);(d.flags&1)===1&&nja(b,a,d);q!=null&&oja(a,d,v)},D=function(a,b,c,d,e,f,h,l){var q=x(),v=Qd();f=Md(v.consts,f);Pka(q,v,a,b,c,d,e,f,h,l);return D},Qka=function(a,b){bg=!0;return b[11].createComment("")},cg=function(a){for(var b=Object.getPrototypeOf(a.type.prototype).constructor,
c=!0,d=[a];b;){if(a.template)var e=b.\u0275cmp||b.\u0275dir;else{if(b.\u0275cmp)throw new $c(903,!1);e=b.\u0275dir}if(e){if(c){d.push(e);var f=a;f.inputs=Rka(a.inputs);f.inputTransforms=Rka(a.inputTransforms);f.declaredInputs=Rka(a.declaredInputs);f.outputs=Rka(a.outputs);(f=e.hostBindings)&&Ska(a,f);f=e.viewQuery;var h=e.contentQueries;f&&Tka(a,f);h&&Uka(a,h);f=void 0;h=a;var l=e;for(f in l.inputs)if(l.inputs.hasOwnProperty(f)&&!h.inputs.hasOwnProperty(f)){var q=l.inputs[f];if(q!==void 0&&(h.inputs[f]=
q,h.declaredInputs[f]=l.declaredInputs[f],l.inputTransforms!==null&&(q=Array.isArray(q)?q[0]:q,l.inputTransforms.hasOwnProperty(q)))){var v=void 0;(v=h).inputTransforms!=null||(v.inputTransforms={});h.inputTransforms[q]=l.inputTransforms[q]}}f=void 0;h=a.outputs;l=e.outputs;for(f in l)l.hasOwnProperty(f)&&!h.hasOwnProperty(f)&&(h[f]=l[f]);e.template&&e.data.animation&&(f=a.data,f.animation=(f.animation||[]).concat(e.data.animation))}if(e=e.features)for(f=0;f<e.length;f++)(h=e[f])&&h.ngInherit&&h(a),
h===cg&&(c=!1)}b=Object.getPrototypeOf(b)}a=0;b=null;for(c=d.length-1;c>=0;c--)e=d[c],e.hostVars=a+=e.hostVars,e.hostAttrs=od(e.hostAttrs,b=od(b,e.hostAttrs))},Rka=function(a){return a===sd?{}:a===qd?[]:a},Tka=function(a,b){var c=a.viewQuery;a.viewQuery=c?function(d,e){b(d,e);c(d,e)}:b},Uka=function(a,b){var c=a.contentQueries;a.contentQueries=c?function(d,e,f){b(d,e,f);c(d,e,f)}:b},Ska=function(a,b){var c=a.hostBindings;a.hostBindings=c?function(d,e){b(d,e);c(d,e)}:b},Vka=function(a,b,c){if(a.hostDirectives!==
null){a=k(a.hostDirectives);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.directive[Lfa]||null,f=void 0,h=e.declaredInputs,l=d.inputs;for(f in l)l.hasOwnProperty(f)&&(h[l[f]]=h[f]);Vka(e,b,c);c.set(e,d);b.push(e)}}},Wka=function(a){if(a===void 0||a.length===0)return sd;for(var b={},c=0;c<a.length;c+=2)b[a[c]]=a[c+1];return b},dg=function(a){var b=a.inputConfig,c={},d;for(d in b)if(b.hasOwnProperty(d)){var e=b[d];Array.isArray(e)&&e[3]&&(c[d]=e[3])}a.inputTransforms=c},eg=function(a,b,c,
d){var e=x(),f=Pd.bindingIndex++;$f(e,f,b)&&(f=Vd(),wja(f,e,a,b,c,d));return eg},fg=function(a,b,c,d){return $f(a,Pd.bindingIndex++,c)?b+Yc(c)+d:qf},Xka=function(a,b,c,d,e,f){a=ag(a,Pd.bindingIndex,c,e);Ud(2);return a?b+Yc(c)+d+Yc(e)+f:qf},gg=function(a,b,c,d,e,f){var h=x();b=fg(h,b,c,d);b!==qf&&(c=Vd(),wja(c,h,a,b,e,f));return gg},hg=function(a,b,c,d,e,f,h,l){var q=x();b=Xka(q,b,c,d,e,f);b!==qf&&(c=Vd(),wja(c,q,a,b,h,l));return hg},Yka=function(a,b,c,d,e,f,h,l,q,v){var y=x();var E=Pd.bindingIndex;
var H=ag(y,E,c,e);E=$f(y,E+2,h)||H;Ud(3);b=E?b+Yc(c)+d+Yc(e)+f+Yc(h)+l:qf;b!==qf&&(c=Vd(),wja(c,y,a,b,q,v));return Yka},F=function(a,b,c){var d=x(),e=Pd.bindingIndex++;if($f(d,e,b)){e=Qd();var f=Vd();rf(e,f,d,a,b,d[11],c,!1)}return F},Zka=function(a,b,c,d,e){e=e?"class":"style";sja(a,c,b.inputs[e],e,d)},$ka=function(a,b,c,d){for(var e=a[c+1],f=b===null,h=d?e>>17&32767:(e&131068)>>2,l=!1;h!==0&&(l===!1||f);){var q=a[h+1],v=a[h];if(v===null||b==null||(Array.isArray(v)?v[1]:v)===b||Array.isArray(v)&&
typeof b==="string"&&xd(v,b)>=0)l=!0,a[h+1]=d?q|1:q|2;h=d?q>>17&32767:(q&131068)>>2}l&&(a[c+1]=d?e|2:e|1)},ala=function(a,b){var c=ig;if(c===b)return-1;for(b=jg=b;b<c&&a.charCodeAt(b)>32;)b++;b=kg=b;return lg(a,b,c)},fla=function(a,b){var c=ig;b=jg=lg(a,b,c);if(c===b)return-1;for(var d;b<c&&((d=a.charCodeAt(b))===45||d===95||(d&-33)>=65&&(d&-33)<=90||d>=48&&d<=57);)b++;b=kg=b;b=bla(a,b,c);d=b=cla=lg(a,b,c);for(var e=b=-1,f=-1,h=d,l=h;h<c;){var q=a.charCodeAt(h++);if(q===59)break;else q===34||q===
39?l=h=dla(a,q,h,c):d===h-4&&f===85&&e===82&&b===76&&q===40?l=h=dla(a,41,h,c):q>32&&(l=h);f=e;e=b;b=q&-33}b=ela=l;return bla(a,b,c)},lg=function(a,b,c){for(;b<c&&a.charCodeAt(b)<=32;)b++;return b},bla=function(a,b,c){b=lg(a,b,c);b<c&&b++;return b},dla=function(a,b,c,d){for(var e=-1;c<d;){var f=a.charCodeAt(c++);if(f==b&&e!==92)return c;e=f==92&&e===92?0:f}throw Error();},mg=function(a,b,c){gla(a,b,c,!1);return mg},ng=function(a,b){gla(a,b,null,!0);return ng},ila=function(a,b){var c;ela=cla=kg=jg=
0;ig=b.length;for(c=fla(b,lg(b,0,ig));c>=0;c=fla(b,c))hla(a,b.substring(jg,kg),b.substring(cla,ela))},og=function(a){jla(kla,lla,a,!0)},lla=function(a,b){var c;ela=cla=kg=jg=0;ig=b.length;for(c=ala(b,lg(b,0,ig));c>=0;c=ala(b,c))yd(a,b.substring(jg,kg),!0)},gla=function(a,b,c,d){var e=x(),f=Qd(),h=Ud(2);f.firstUpdatePass&&mla(f,a,h,d);if(b!==qf&&$f(e,h,b)){var l=f.data[Pd.selectedIndex],q=e[11];b!=null&&b!==""&&(typeof c==="string"?b+=c:typeof b==="object"&&(b=Zc(gf(b))));nla(f,l,e,q,a,e[h+1]=b,d,
h)}},jla=function(a,b,c,d){var e=Qd(),f=Ud(2);e.firstUpdatePass&&mla(e,null,f,d);var h=x();if(c!==qf&&$f(h,f,c)){var l=e.data[Pd.selectedIndex];if((l.flags&(d?8:16))===0||f>=e.expandoStartIndex){var q=h[11],v=h[f+1];if(c==null||c==="")a=qd;else{var y=[];c=gf(c);if(Array.isArray(c))for(b=0;b<c.length;b++)a(y,c[b],!0);else if(typeof c==="object")for(var E in c)c.hasOwnProperty(E)&&a(y,E,c[E]);else typeof c==="string"&&b(y,c);a=y}a=h[f+1]=a;v===qf&&(v=qd);b=y=0;c=0<v.length?v[0]:null;for(E=0<a.length?
a[0]:null;c!==null||E!==null;){var H=y<v.length?v[y+1]:void 0,O=b<a.length?a[b+1]:void 0,N=null,T=void 0;c===E?(y+=2,b+=2,H!==O&&(N=E,T=O)):E===null||c!==null&&c<E?(y+=2,N=c):(b+=2,N=E,T=O);N!==null&&nla(e,l,h,q,N,T,d,f);c=y<v.length?v[y]:null;E=b<a.length?a[b]:null}}else f=d?l.classesWithoutHost:l.stylesWithoutHost,f!==null&&(c=$ea(f,c?c:"")),Zka(e,l,h,c,d)}},mla=function(a,b,c,d){var e=a.data;if(e[c+1]===null){var f=e[Pd.selectedIndex];a=c>=a.expandoStartIndex;(f.flags&(d?8:16))!==0&&b===null&&
!a&&(b=!1);var h=zga(e),l=d?f.residualClasses:f.residualStyles;if(h===null)(d?f.classBindings:f.styleBindings)===0&&(b=ola(null,e,f,b,d),b=pg(b,f.attrs,d),l=null);else{var q=f.directiveStylingLast;if(q===-1||e[q]!==h)if(b=ola(h,e,f,b,d),l===null)h=d?f.classBindings:f.styleBindings,h=(h&131068)>>2!==0?e[h>>17&32767]:void 0,h!==void 0&&Array.isArray(h)&&(h=ola(null,e,f,h[1],d),h=pg(h,f.attrs,d),e[(d?f.classBindings:f.styleBindings)>>17&32767]=h);else{l=void 0;h=f.directiveEnd;for(q=1+f.directiveStylingLast;q<
h;q++)l=pg(l,e[q].hostAttrs,d);l=pg(l,f.attrs,d)}}l!==void 0&&(d?f.residualClasses=l:f.residualStyles=l);h=b;l=d?f.classBindings:f.styleBindings;b=l>>17&32767;l=(l&131068)>>2;e[c]=h;q=!1;if(Array.isArray(h)){var v=h[1];if(v===null||xd(h,v)>0)q=!0}else v=h;a?l!==0?(a=e[b+1]>>17&32767,e[c+1]=a<<17|b<<2,a!==0&&(e[a+1]=e[a+1]&-131069|c<<2),e[b+1]=e[b+1]&131071|c<<17):(e[c+1]=b<<17|0,b!==0&&(e[b+1]=e[b+1]&-131069|c<<2),b=c):(e[c+1]=l<<17|0,b===0?b=c:e[l+1]=e[l+1]&-131069|c<<2,l=c);q&&(e[c+1]|=2);$ka(e,
v,c,!0);$ka(e,v,c,!1);a=v;h=d?f.residualClasses:f.residualStyles;h!=null&&typeof a=="string"&&xd(h,a)>=0&&(e[c+1]|=1);l=b<<17|l<<2;d?f.classBindings=l:f.styleBindings=l}},ola=function(a,b,c,d,e){var f=c.directiveEnd,h=c.directiveStylingLast;for(h===-1?h=c.directiveStart:h++;h<f;){var l=b[h];d=pg(d,l.hostAttrs,e);if(l===a)break;h++}a!==null&&(c.directiveStylingLast=h);return d},pg=function(a,b,c){var d=c?1:2,e=-1;if(b!==null)for(var f=0;f<b.length;f++){var h=b[f];typeof h==="number"?e=h:e===d&&(Array.isArray(a)||
(a=a===void 0?[]:["",a]),yd(a,h,c?!0:b[++f]))}return a===void 0?null:a},hla=function(a,b,c){yd(a,b,gf(c))},kla=function(a,b,c){b=String(b);b===""||b.includes(" ")||yd(a,b,c)},nla=function(a,b,c,d,e,f,h,l){if(b.type&3){a=a.data;var q=a[l+1];((q&1)===1?pla(a,b,c,e,(q&131068)>>2,h):void 0)===void 0&&(f!==void 0||(q&2)==2&&(f=pla(a,null,c,e,l,h)),b=Id(c[Pd.selectedIndex]),h?f?d.addClass(b,e):d.removeClass(b,e):(h=e.indexOf("-")===-1?void 0:2,f==null?d.removeStyle(b,e,h):(typeof f==="string"&&f.endsWith("!important")&&
(f=f.slice(0,-10),h|=1),d.setStyle(b,e,f,h))))}},pla=function(a,b,c,d,e,f){for(var h=b===null,l=void 0;e>0;){var q=a[e],v=Array.isArray(q),y=v?q[1]:q,E=y===null,H=c[e+1];H===qf&&(H=E?qd:void 0);y=E?Vfa(H,d):y===d?H:void 0;v&&y===void 0&&(y=Vfa(q,d));if(y!==void 0&&(l=y,h))return l;e=a[e+1];e=h?e>>17&32767:(e&131068)>>2}b!==null&&(a=f?b.residualClasses:b.residualStyles,a!=null&&(l=Vfa(a,d)));return l},qg=function(a,b,c){a=fg(x(),a,b,c);jla(yd,lla,a,!0)},qla=function(a,b,c,d,e){return a===c&&Object.is(b,
d)?1:Object.is(e(a,b),e(c,d))?-1:0},wla=function(a,b,c){var d=void 0,e=void 0,f=0,h=a.length-1;if(Array.isArray(b)){for(var l=b.length-1;f<=h&&f<=l;){var q=a.at(f),v=b[f],y=qla(f,q,f,v,c);if(y!==0)y<0&&a.updateValue(f,v),f++;else{var E=a.at(h);y=b[l];var H=qla(h,E,l,y,c);H!==0?(H<0&&a.updateValue(h,y),h--,l--):(q=c(f,q),E=c(h,E),H=c(f,v),Object.is(H,E)?(E=c(l,y),Object.is(E,q)?(rla(a,f,h),a.updateValue(h,y),l--,h--):a.move(h,f),a.updateValue(f,v),f++):(d!=null||(d=new sla),e!=null||(e=tla(a,f,h,c)),
ula(a,d,f,H)?(a.updateValue(f,v),f++,h++):e.has(H)?(d.set(q,a.detach(f)),h--):(v=a.create(f,b[f]),a.attach(f,v),f++,h++)))}}for(;f<=l;)vla(a,d,c,f,b[f]),f++}else if(b!=null){b=b[Symbol.iterator]();for(l=b.next();!l.done&&f<=h;)v=a.at(f),y=l.value,q=qla(f,v,f,y,c),q!==0?(q<0&&a.updateValue(f,y),f++,l=b.next()):(d!=null||(d=new sla),e!=null||(e=tla(a,f,h,c)),q=c(f,y),ula(a,d,f,q)?(a.updateValue(f,y),f++,h++,l=b.next()):e.has(q)?(v=c(f,v),d.set(v,a.detach(f)),h--):(a.attach(f,a.create(f,y)),f++,h++,
l=b.next()));for(;!l.done;)vla(a,d,c,a.length,l.value),l=b.next()}for(;f<=h;)a.destroy(a.detach(h--));var O;(O=d)==null||O.forEach(function(N){a.destroy(N)})},ula=function(a,b,c,d){return b!==void 0&&b.has(d)?(a.attach(c,b.get(d)),b.delete(d),!0):!1},vla=function(a,b,c,d,e){ula(a,b,d,c(d,e))?a.updateValue(d,e):(b=a.create(d,e),a.attach(d,b))},tla=function(a,b,c,d){for(var e=new Set;b<=c;b++)e.add(d(b,a.at(b)));return e},G=function(a,b){Rf("NgControlFlow");var c=x(),d=Pd.bindingIndex++,e=c[d]!==qf?
c[d]:-1;e=e!==-1?c[25+e]:void 0;if($f(c,d,a)){d=bd(null);try{if(e!==void 0){var f=df(e,0);f!==void 0&&zia(f[1],f)}if(a!==-1){a=25+a;var h=c[a],l=c[1].data[a],q=Cka(c,l,b,{dehydratedView:null});Fka(h,q,0,Eka(l,null))}}finally{bd(d)}}else e!==void 0&&(c=Dka(e,0),c!==void 0&&(c[8]=b))},rg=function(a){return a},sg=function(a,b){return b},tg=function(a,b,c,d,e,f,h,l){Rf("NgControlFlow");var q=x(),v=Qd(),y=x();h=l?h.bind(y[15][8]):h;y[25+a]=new xla(h);Pka(q,v,a+1,b,c,d,e,Md(v.consts,f))},ug=function(a){var b=
bd(null),c=Pd.selectedIndex;try{var d=x(),e=d[1],f=d[c];c+=1;var h=d[c];f.liveCollection===void 0?f.liveCollection=new yla(h,d,e.data[c]):f.liveCollection.reset();var l=f.liveCollection;wla(l,a,f.trackByFn);if(l.needsIndexUpdate)for(a=0;a<l.length;a++)Dka(l.lContainer,a)[8].$index=a}finally{bd(b)}},I=function(a,b,c,d){var e=x(),f=Qd(),h=25+a;a=e[11];if(f.firstCreatePass){var l=f.consts;c=Md(l,c);c=pf(f,h,2,b,c);vja(f,e,c,Md(l,d));c.attrs!==null&&Gja(c,c.attrs,!1);c.mergedAttrs!==null&&Gja(c,c.mergedAttrs,
!0);f.queries!==null&&f.queries.elementStart(f,c);l=c}else l=f.data[h];bg=!0;b=a.createElement(b,Pd.currentNamespace);e[h]=b;h=(l.flags&1)===1;Sd(l,!0);Eia(a,b,l);(l.flags&32)!==32&&bg&&Bia(f,e,b,l);Pd.elementDepthCount===0&&fe(b,e);Pd.elementDepthCount++;h&&(nja(f,e,l),ija(f,l,e));d!==null&&oja(e,l);return I},J=function(){var a=Rd();Pd.isParent?Pd.isParent=!1:(a=a.parent,Sd(a,!1));var b=a;fja===b&&(fja=null);Pd.elementDepthCount--;var c=Qd();c.firstCreatePass&&(Gga(c,a),(a.flags&4)!==0&&c.queries.elementEnd(a));
b.classesWithoutHost!=null&&(b.flags&8)!==0&&Zka(c,b,x(),b.classesWithoutHost,!0);b.stylesWithoutHost!=null&&(b.flags&16)!==0&&Zka(c,b,x(),b.stylesWithoutHost,!1);return J},K=function(a,b,c,d){I(a,b,c,d);J();return K},vg=function(a,b,c){var d=x(),e=Qd();a+=25;if(e.firstCreatePass){var f=e.consts;var h=Md(f,b);b=pf(e,a,8,"ng-container",h);h!==null&&Gja(b,h,!0);f=Md(f,c);vja(e,d,b,f);e.queries!==null&&e.queries.elementStart(e,b);f=b}else f=e.data[a];Sd(f,!0);bg=!0;b=d[11].createComment(uia());d[a]=
b;bg&&Bia(e,d,b,f);fe(b,d);(f.flags&1)===1&&(nja(e,d,f),ija(e,f,d));c!=null&&oja(d,f);return vg},wg=function(){var a=Rd(),b=Qd();Pd.isParent?Pd.isParent=!1:(a=a.parent,Sd(a,!1));b.firstCreatePass&&(Gga(b,a),(a.flags&4)!==0&&b.queries.elementEnd(a));return wg},xg=function(a,b,c){vg(a,b,c);wg();return xg},yg=function(a,b,c){var d=x(),e=Pd.bindingIndex++;if($f(d,e,b)){e=Qd();var f=Vd();rf(e,f,d,a,b,d[11],c,!0)}return yg},zg=function(a,b,c){var d=x(),e=Pd.bindingIndex++;if($f(d,e,b)){e=Qd();var f=Vd();
rf(e,f,d,a,b,Bja(zga(e.data),f,d),c,!0)}return zg},Ag=function(a){var b=a.toLowerCase().replace(/_/g,"-");if(a=zla(b))return a;b=b.split("-")[0];if(a=zla(b))return a;if(b==="en")return Ala;throw new $c(701,!1);},zla=function(a){a in Bla||(Bla[a]=kf.ng&&kf.ng.common&&kf.ng.common.locales&&kf.ng.common.locales[a]);return Bla[a]},Cla=function(a,b,c,d){c>=a.data.length&&(a.data[c]=null,a.blueprint[c]=null);b[c]=d},L=function(a){return Pd.contextLView[25+a]},Bg=function(a){var b=Qd(),c=x();a+=25;var d=
pf(b,a,128,null,null);Sd(d,!1);Cla(b,c,a,Dla);return Bg},Ela=function(a){Rf("NgLet");Cla(Qd(),x(),Pd.selectedIndex,a);return a},Fla=function(a){a=Pd.contextLView[25+a];if(a===Dla)throw new $c(314,!1);return a},M=function(a,b,c,d){c=x();Gla(Qd(),c,c[11],Rd(),a,b,d);return M},Cg=function(a,b){var c=Rd(),d=x(),e=Qd();Gla(e,d,Bja(zga(e.data),c,d),c,a,b);return Cg},Hla=function(a,b,c,d){a=a.cleanup;if(a!=null)for(var e=0;e<a.length-1;e+=2){var f=a[e];if(f===c&&a[e+1]===d)return b=b[7],c=a[e+2],b.length>
c?b[c]:null;typeof f==="string"&&(e+=2)}return null},Gla=function(a,b,c,d,e,f,h){var l=(d.flags&1)===1,q=a.firstCreatePass&&Aja(a),v=zja(b),y=!0;if(d.type&3||h){var E=Jd(d,b),H=h?h(E):E;E=v.length;var O=h?function(da){return h(Id(da[d.index]))}:d.index,N=null;!h&&l&&(N=Hla(a,b,e,d.index));N!==null?((N.__ngLastListenerFn__||N).__ngNextListenerFn__=f,N.__ngLastListenerFn__=f,y=!1):(f=Ila(d,b,f),a=c.listen(H,e,f),v.push(f,a),q&&q.push(e,O,E,E+1))}else f=Ila(d,b,f);a=d.outputs;var T;if(y&&a!==null&&(T=
a[e])&&(y=T.length))for(a=0;a<y;a+=2)c=b[T[a]][T[a+1]].subscribe(f),l=v.length,v.push(f,c),q&&q.push(e,d.index,l,-(l+1))},Jla=function(a,b,c){var d=bd(null);try{return b(c)!==!1}catch(e){return Cja(a,e),!1}finally{bd(d)}},Ila=function(a,b,c){return function f(e){if(e===Function)return c;var h=a.componentOffset>-1?Ld(a.index,b):b;iha(h,5);h=Jla(b,c,e);for(var l=f.__ngNextListenerFn__;l;)h=Jla(b,l,e)&&h,l=l.__ngNextListenerFn__;return h}},P=function(a){a=a===void 0?1:a;for(var b=Pd.contextLView;a>0;)b=
b[14],a--;return(Pd.contextLView=b)[8]},Dg=function(a){var b=x()[15][5];if(!b.projection){for(var c=a?a.length:1,d=[],e=0;e<c;e++)d.push(null);c=b.projection=d;d=c.slice();for(b=b.child;b!==null;){if(b.type!==128){if(a)a:{e=b;var f=a,h=null;b:{var l=e.attrs;if(l!=null){var q=l.indexOf(5);if((q&1)===0){l=l[q+1];break b}}l=null}for(q=0;q<f.length;q++){var v=f[q];if(v==="*")h=q;else{if(l===null)v=Gfa(e,v,!0);else b:{var y=0;c:for(;y<v.length;y++){var E=v[y];if(l.length===E.length){for(var H=0;H<l.length;H++)if(l[H]!==
E[H])continue c;v=!0;break b}}v=!1}if(v){e=q;break a}}}e=h}else e=0;e!==null&&(d[e]?d[e].projectionNext=b:c[e]=b,d[e]=b)}b=b.next}}},Eg=function(a,b,c){b=b===void 0?0:b;var d=x(),e=Qd();a=pf(e,25+a,16,null,c||null);a.projection===null&&(a.projection=b);Pd.isParent=!1;d[6]&&fja===null||(a.flags&32)===32||(b=d[11],e=Aia(e,a.parent,d),c=a.parent||d[5],c=c.type&40?Jd(c,d):null,Dia(b,0,d,a,e,c))},Gg=function(a,b,c){Fg(a,"",b,"",c);return Gg},Fg=function(a,b,c,d,e){var f=x();b=fg(f,b,c,d);b!==qf&&(c=Qd(),
d=Vd(),rf(c,d,f,a,b,f[11],e,!1));return Fg},Hg=function(a,b,c,d,e,f,h){var l=x();b=Xka(l,b,c,d,e,f);b!==qf&&(c=Qd(),d=Vd(),rf(c,d,l,a,b,l[11],h,!1));return Hg},Kla=function(){return this._results[Symbol.iterator]()},Mla=function(){return Lla(Rd(),x())},Lla=function(a,b){return a.type&4?new Ig(b,a,he(a,b)):null},Nla=function(a,b,c,d){d=b[18].queries[d];if(d.matches===null){a=a.data;for(var e=c.matches,f=[],h=0;e!==null&&h<e.length;h+=2){var l=e[h];if(l<0)f.push(null);else{var q=f,v=q.push,y=b,E=a[l],
H=e[h+1];l=c.metadata.read;H===-1?(l=E,y=l.type&11?he(l,y):l.type&4?Lla(l,y):null):H===-2?y=l===ge?he(E,y):l===Jg?Lla(E,y):l===Kg?Gka(E,y):void 0:y=ae(y,y[1],H,E);v.call(q,y)}}d.matches=f}return d.matches},Ola=function(a,b,c,d){var e=a.queries.queries[c],f=e.matches;if(f!==null)for(a=Nla(a,b,e,c),c=0;c<f.length;c+=2){var h=f[c];if(h>0)d.push(a[c/2]);else{e=f[c+1];h=b[-h];for(var l=10;l<h.length;l++){var q=h[l];q[16]===q[3]&&Ola(q[1],q,e,d)}if(h[9]!==null)for(h=h[9],l=0;l<h.length;l++)q=h[l],Ola(q[1],
q,e,d)}}return d},Rla=function(a,b){var c=x();b=new Lg((b&4)===4);var d=b.destroy,e=zja(c);e.push(b);a.firstCreatePass&&Aja(a).push(d,e.length-1);var f;return((f=c[18])!=null?f:c[18]=new Pla).queries.push(new Qla(b))-1},Mg=function(a,b,c){var d=Qd();d.firstCreatePass&&(Sla(d,new Tla(a,b,c),-1),(b&2)===2&&(d.staticViewQueries=!0));Rla(d,b)},Ng=function(a,b,c,d){var e=Qd();if(e.firstCreatePass){var f=Rd();Sla(e,new Tla(b,c,d),f.index);b=e.contentQueries||(e.contentQueries=[]);a!==(b.length?b[b.length-
1]:-1)&&b.push(e.queries.length-1,a);(c&2)===2&&(e.staticContentQueries=!0)}return Rla(e,c)},Ula=function(a){return a.split(",").map(function(b){return b.trim()})},Sla=function(a,b,c){a.queries===null&&(a.queries=new Vla);a.queries.track(new Og(b,c))},Wla=function(a,b){var c=a[1],d=c.queries.queries[b];return d.crossesNgTemplate?Ola(c,a,b,[]):Nla(c,a,d,b)},Qg=function(a){var b=x(),c=Qd(),d=Pd.currentQueryIndex;Pd.currentQueryIndex=d+1;c=c.queries.queries[d];return a.dirty&&(b[2]&4)===4===((c.metadata.flags&
2)===2)?(c.matches===null?a.reset([]):(b=Wla(b,d),a.reset(b,gha),Pg(a)),!0):!1},Rg=function(){return x()[18].queries[Pd.currentQueryIndex].queryList},Sg=function(a){Rf("NgSignals");a=tfa(a);var b=a[fd];a.set=function(c){return vfa(b,c)};a.update=function(c){lfa()||ufa();vfa(b,c(b.value))};a.asReadonly=Xla.bind(a);return a},Xla=function(){var a=this,b=this[fd];if(b.readonlyFn===void 0){var c=function(){return a()};c[fd]=b;b.readonlyFn=c}return b.readonlyFn},Yla=function(a){var b=rfa(function(){c._dirtyCounter();
var d=c;var e=d._lView;var f=d._queryIndex;e===void 0||f===void 0||e[2]&4?e=void 0:(d=e[18].queries[f].queryList,e=Wla(e,f),d.reset(e,gha),e=d.first);if(a&&e===void 0)throw new $c(-951,!1);return e});var c=b[fd];c._dirtyCounter=Sg(0);c._flatValue=void 0;return b},$la=function(a,b){var c=a[fd];c._lView=x();c._queryIndex=b;c._queryList=c._lView[18].queries[b].queryList;Zla(c._queryList,function(){return c._dirtyCounter.update(function(d){return d+1})})},Q=function(a,b){b=b===void 0?"":b;var c=x(),d=
Qd();a+=25;var e=d.firstCreatePass?pf(d,a,1,b,null):d.data[a];bg=!0;b=c[11].createText(b);c[a]=b;bg&&Bia(d,c,b,e);Sd(e,!1)},Tg=function(a){R("",a,"");return Tg},R=function(a,b,c){var d=x();a=fg(d,a,b,c);a!==qf&&Dja(d,a);return R},Ug=function(a,b,c,d,e){var f=x();a=Xka(f,a,b,c,d,e);a!==qf&&Dja(f,a);return Ug},ama=function(a,b,c,d,e,f,h,l,q){var v=x();var y=Pd.bindingIndex;var E=ag(v,y,b,d);y=ag(v,y+2,f,l)||E;Ud(4);a=y?a+Yc(b)+c+Yc(d)+e+Yc(f)+h+Yc(l)+q:qf;a!==qf&&Dja(v,a);return ama},Vg=function(a,
b,c){vf(b)&&typeof b.set==="function"&&(b=b());var d=x(),e=Pd.bindingIndex++;if($f(d,e,b)){e=Qd();var f=Vd();rf(e,f,d,a,b,d[11],c,!1)}return Vg},Wg=function(a,b){var c=vf(a)&&typeof a.set==="function";c&&a.set(b);return c},Xg=function(a,b){var c=x();Gla(Qd(),c,c[11],Rd(),a,b);return Xg},bma=function(a,b,c,d,e){a=jd(a);if(Array.isArray(a))for(var f=0;f<a.length;f++)bma(a[f],b,c,d,e);else{f=Qd();var h=x(),l=Rd(),q=Ad(a)?a:jd(a.provide),v=jga(a),y=l.providerIndexes&1048575,E=l.directiveStart,H=l.providerIndexes>>
20;if(Ad(a)||!a.multi)d=new be(v,e),v=cma(q,b,e?y:y+H,E),v===-1?(v=Sga(l,h),Oga(v,f,q),dma(f,a,b.length),b.push(q),l.directiveStart++,l.directiveEnd++,e&&(l.providerIndexes+=1048576),c.push(d),h.push(d)):(c[v]=d,h[v]=d);else{E=cma(q,b,y+H,E);y=cma(q,b,y,y+H);var O=E>=0&&c[E];H=y>=0&&c[y];e&&!H||!e&&!O?(E=Sga(l,h),Oga(E,f,q),E=c.length,O=new be(e?ema:fma,e),O.multi=[],O.index=E,O.componentProviders=0,d&&!e&&O.componentProviders++,O.multi.push(v),!e&&H&&(c[y].providerFactory=O),dma(f,a,b.length,0),
b.push(q),l.directiveStart++,l.directiveEnd++,e&&(l.providerIndexes+=1048576),c.push(O),h.push(O)):(b=c[e?y:E],!e&&d&&b.componentProviders++,b=b.multi.push(v)-1,dma(f,a,E>-1?E:y,b));!e&&d&&H&&c[y].componentProviders++}}},dma=function(a,b,c,d){var e=Ad(b),f=!!b.useClass;if(e||f)if(f=(f?jd(b.useClass):b).prototype.ngOnDestroy)a=a.destroyHooks||(a.destroyHooks=[]),!e&&b.multi?(b=a.indexOf(c),b===-1?a.push(c,[d,f]):a[b+1].push(d,f)):a.push(c,f)},cma=function(a,b,c,d){for(;c<d;c++)if(b[c]===a)return c;
return-1},fma=function(){return gma(this.multi,[])},ema=function(a,b,c,d){b=this.multi;if(this.providerFactory){var e=this.providerFactory.componentProviders;d=ae(c,c[1],this.providerFactory.index,d);c=d.slice(0,e);gma(b,c);for(b=e;b<d.length;b++)c.push(d[b])}else c=[],gma(b,c);return c},gma=function(a,b){for(var c=0;c<a.length;c++)b.push((0,a[c])());return b},Yg=function(a){var b=b===void 0?[]:b;return function(c){c.providersResolver=function(d,e){e=e?e(a):a;var f=Qd();f.firstCreatePass&&(d=!!d.template,
bma(b,f.data,f.blueprint,d,!0),bma(e,f.data,f.blueprint,d,!1))}}},$g=function(a){Rf("NgStandalone");a.getStandaloneInjector=function(b){b=b.get(Zg);if(a.standalone){if(!b.cachedInjectors.has(a)){var c=Wfa(!1,a.type);c=c.length>0?Uja([c],b._injector,"Standalone["+a.type.name+"]"):null;b.cachedInjectors.set(a,c)}b=b.cachedInjectors.get(a)}else b=null;return b}},ah=function(a,b){a=Td()+a;var c=x();return c[a]===qf?Zf(c,a,b()):c[a]},bh=function(a,b,c){return hma(x(),Td(),a,b,c)},ch=function(a,b,c,d){return ima(x(),
Td(),a,b,c,d)},dh=function(a,b,c,d,e){return jma(x(),Td(),a,b,c,d,e)},lma=function(a,b,c,d,e,f){var h=kma,l=Td()+6,q=x();var v=ag(q,l,a,b);v=ag(q,l+2,c,d)||v;return ag(q,l+4,e,f)||v?Zf(q,l+6,h(a,b,c,d,e,f)):q[l+6]},mma=function(a,b){a=a[b];return a===qf?void 0:a},hma=function(a,b,c,d,e,f){b+=c;return $f(a,b,e)?Zf(a,b+1,f?d.call(f,e):d(e)):mma(a,b+1)},ima=function(a,b,c,d,e,f,h){b+=c;return ag(a,b,e,f)?Zf(a,b+2,h?d.call(h,e,f):d(e,f)):mma(a,b+2)},jma=function(a,b,c,d,e,f,h,l){b+=c;c=ag(a,b,e,f);return $f(a,
b+2,h)||c?Zf(a,b+3,l?d.call(l,e,f,h):d(e,f,h)):mma(a,b+3)},S=function(a,b){var c=Qd();a+=25;if(c.firstCreatePass){a:{var d=c.pipeRegistry;if(d)for(var e=d.length-1;e>=0;e--){var f=d[e];if(b===f.name){b=f;break a}}b=void 0}c.data[a]=b;if(b.onDestroy){var h;((h=c.destroyHooks)!=null?h:c.destroyHooks=[]).push(a,b.onDestroy)}}else b=c.data[a];h=b.factory||(b.factory=wd(b.type));b=hd(af);try{var l=Mga(!1),q=h();Mga(l);Cla(c,x(),a,q)}finally{hd(b)}},U=function(a,b,c){a+=25;var d=x(),e=d[a];return d[1].data[a].pure?
hma(d,Td(),b,e.transform,c,e):e.transform(c)},eh=function(a,b,c,d){a+=25;var e=x(),f=e[a];return e[1].data[a].pure?ima(e,Td(),b,f.transform,c,d,f):f.transform(c,d)},nma=function(a,b,c,d){a+=25;var e=x(),f=e[a];return e[1].data[a].pure?jma(e,Td(),b,f.transform,c,0,d,f):f.transform(c,0,d)},oma=function(a,b,c){a=a.\u0275cmp;a.directiveDefs=Kfa(b,!1);a.pipeDefs=Kfa(c,!0)},fh=function(a,b){return Lla(a,b)},rma=function(){function a(){gfa(b);if(b.value===pma)throw new $c(-950,!1);return b.value}var b=Object.create(qma);
b.value=void 0;b.transformFn=void 0;a[fd]=b;return a},sma=function(){return Yla(!1)},tma=function(a){var b=Rd(),c=x();b.componentOffset>-1&&(a&16)!==16?(a=Ld(b.index,c),a=new gh(a,a)):a=b.type&175?new gh(c[15],c):null;return a},uma=function(a,b,c){a=a.previousIndex;if(a===null)return a;var d=0;c&&a<c.length&&(d=c[a]);return a+b+d},yma=function(a){var b=a.ngZoneFactory;var c=a.ignoreChangesOutsideZone;var d=a.scheduleInRootZone;b!=null||(b=function(){return new hh(Object.assign({},vma(),{scheduleInRootZone:d}))});
return[{provide:hh,useFactory:b},{provide:bga,multi:!0,useFactory:function(){var e=r(ih,{optional:!0});return function(){return e.initialize()}}},{provide:bga,multi:!0,useFactory:function(){var e=r(kh);return function(){e.initialize()}}},c===!0?{provide:wma,useValue:!0}:[],{provide:xma,useValue:d!=null?d:!1}]},vma=function(a){var b,c;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(b=a==null?void 0:a.eventCoalescing)!=null?b:!1,shouldCoalesceRunChangeDetection:(c=a==null?void 0:
a.runCoalescing)!=null?c:!1}},Cma=function(a){var b=a.platformInjector?a.r3Injector:a.moduleRef.injector,c=b.get(hh);return c.run(function(){a.platformInjector?a.r3Injector.resolveInjectorInitializers():a.moduleRef.resolveInjectorInitializers();var d=b.get(sf,null),e;c.runOutsideAngular(function(){e=c.onError.subscribe({next:function(l){d.handleError(l)}})});if(a.platformInjector){var f=function(){return b.destroy()},h=a.platformInjector.get(zma);h.add(f);b.onDestroy(function(){e.unsubscribe();h.delete(f)})}else a.moduleRef.onDestroy(function(){wka(a.allPlatformModules,
a.moduleRef);e.unsubscribe()});return uka(d,c,function(){var l=b.get(lh);Ama(l);return l.donePromise.then(function(){b.get(mh,"en-US");if(a.platformInjector){var q=b.get(nh);a.rootComponent!==void 0&&q.bootstrap(a.rootComponent);return q}Bma(a.moduleRef,a.allPlatformModules);return a.moduleRef})})})},Bma=function(a,b){var c=a.injector.get(nh);if(a._bootstrapComponents.length>0)a._bootstrapComponents.forEach(function(d){return c.bootstrap(d)});else if(a.instance.ngDoBootstrap)a.instance.ngDoBootstrap(c);
else throw new $c(-403,!1);b.push(a)},Hma=function(a,b,c){c=c===void 0?[]:c;var d="Platform: "+b,e=new Bd(d);return function(f){f=f===void 0?[]:f;var h=Dma();if(!h||h.injector.get(Ema,!1))if(f=[].concat(w(c),w(f),[{provide:e,useValue:!0}]),a)a(f);else{f=Fma(f,d);if(oh&&!oh.get(Ema,!1))throw new $c(400,!1);tka();oh=f;f.get(ph);Gma(f)}f=Dma();if(!f)throw new $c(401,!1);return f}},Fma=function(a,b){a=a===void 0?[]:a;return qh({name:b,providers:[{provide:Ima,useValue:"platform"},{provide:zma,useValue:new Set([function(){return oh=
null}])}].concat(w(a))})},Dma=function(){var a,b;return(b=(a=oh)==null?void 0:a.get(ph))!=null?b:null},Gma=function(a){var b;(b=a.get(Jma,null))==null||b.forEach(function(c){return c()})},rh=function(a){return typeof a==="boolean"?a:a!=null&&a!=="false"},sh=function(a,b){b=b===void 0?NaN:b;return isNaN(parseFloat(a))||isNaN(Number(a))?b:Number(a)},th=function(a){Rf("NgSignals");return rfa(a)},Lma=function(){return new Kma(x(),Rd())},Pma=function(a,b){Rf("NgSignals");(b==null?0:b.injector)||oga();
var c,d=(c=b==null?void 0:b.injector)!=null?c:r(Sf);c=(b==null?void 0:b.manualCleanup)!==!0?d.get(Xf):null;var e=d.get(Kma,null,{optional:!0});if(e===null||(b==null?0:b.forceRoot))var f=Mma(a,d.get(uh),d.get(vh));else f=Nma(e.view,a),c instanceof je&&c._lView===e.view&&(c=null);f.injector=d;c!==null&&(f.onDestroyFn=c.onDestroy(function(){return f.destroy()}));return new Oma(f)},Nma=function(a,b){var c=Object.create(Qma);c.view=a;c.zone=typeof Zone!=="undefined"?Zone.current:null;c.fn=b;a[23]!=null||
(a[23]=new Set);a[23].add(c);c.consumerMarkedDirty(c);return c},Mma=function(a,b,c){var d=Object.create(Rma);d.fn=a;d.scheduler=b;d.notifier=c;d.zone=typeof Zone!=="undefined"?Zone.current:null;d.scheduler.schedule(d);d.notifier.notify(13);return d},xh=function(a){var b=bd(null);try{return a()}finally{bd(b)}},Sma=function(a,b){a=a[rd]||null;var c=b.elementInjector||gga();return(new yh(a)).create(c,b.projectableNodes,b.hostElement,b.environmentInjector)},Tma=function(a){var b=a[rd]||null;if(!b)return null;
var c=new yh(b);return{get selector(){return c.selector},get type(){return c.componentType},get inputs(){return c.inputs},get outputs(){return c.outputs},get ngContentSelectors(){return c.ngContentSelectors},get isStandalone(){return b.standalone},get isSignal(){return b.signals}}},zh=function(){var a=function(){};new a;return a},Wma=function(a){var b=Uma;var c=c===void 0?Vma:c;return new Ah(a,b,c)},Uma=function(a,b,c,d,e){b instanceof V?(ec(b),b=b.internalArray_):b=Array.isArray(b)?Jda(b,d):void 0;
if(b!=null){Bh(a,c,2);c=a.encoder_.end();Ch(a,c);c.push(a.totalLength_);e(b,a);e=c.pop();for(e=a.totalLength_+a.encoder_.length()-e;e>127;)c.push(e&127|128),e>>>=7,a.totalLength_++;c.push(e);a.totalLength_++}},$ma=function(a,b,c,d){var e=d[a];if(e)return e;e={};e.messageMetadata=Ida(d[0]);var f=d[1],h=1;f&&f.constructor===Object&&(e.extensions=f,f=d[++h],typeof f==="function"&&(e.isMessageSet=!0,Xma!=null||(Xma=f),Yma!=null||(Yma=d[h+1]),f=d[h+=2]));for(var l={};f&&Array.isArray(f)&&f.length&&typeof f[0]===
"number"&&f[0]>0;){for(var q=0;q<f.length;q++)l[f[q]]=f;f=d[++h]}for(q=1;f!==void 0;){typeof f==="number"&&(q+=f,f=d[++h]);var v=void 0;if(f instanceof Ah)var y=f;else y=Zma,h--;f=void 0;if((f=y)==null?0:f.$$isMsg){f=d[++h];v=d;var E=h;typeof f==="function"&&(f=f(),v[E]=f);v=f}f=d[++h];E=q+1;typeof f==="number"&&f<0&&(E-=f,f=d[++h]);for(;q<E;q++){var H=l[q];v?c(e,q,y,v,H):b(e,q,y,H)}}return d[a]=e},bna=function(a){return Array.isArray(a)?a[0]instanceof Ah?a:[ana,a]:[a,void 0]},cna=function(a,b,c,
d){var e=c.$$binaryReaderFn;a[b]=d?function(f,h,l){return e(f,h,l,d)}:e},ena=function(a,b,c,d,e){var f=c.$$binaryReaderFn,h,l;a[b]=function(q,v,y){return f(q,v,y,l||(l=$ma(dna,cna,ena,d).messageMetadata),h||(h=fna(d)),e)}},fna=function(a){var b=a[gna];if(b!=null)return b;var c=$ma(dna,cna,ena,a);b=c.isMessageSet?function(d,e){return Xma(d,e,c)}:function(d,e){for(;hna(e)&&e.nextWireType_!=4;){var f=e.nextField_,h=c[f],l=h==null,q=!1;if(h==null){var v=c.extensions;if(v){var y=v[f];if(y){var E=void 0;
q||(q=(E=v.requiredDirectly)==null?void 0:E[f]);if(!ina||q)v=jna(y),v!=null&&(h=c[f]=v)}}}h!=null&&h(e,d,f)||(v=e,f=v.fieldCursor_,kna(v),v.discardUnknownFields?v=void 0:(y=v.decoder_.getCursor()-f,v.decoder_.cursor_=f,v=v.decoder_.readByteString(y)),f=d,v&&(ob||(ob=Symbol()),(y=f[ob])?y.push(v):f[ob]=[v]));l&&h!=null&&!q&&lna++<5&&vb()}return!0};return a[gna]=b},jna=function(a){a=bna(a);var b=a[0].$$binaryReaderFn;if(a=a[1]){var c=fna(a),d=$ma(dna,cna,ena,a).messageMetadata;return function(e,f,h){return b(e,
f,h,d,c)}}return b},Dh=function(a){return $ma(mna,nna,ona,a)},nna=function(a,b,c){a[b]=c.$$binaryWriterFn},ona=function(a,b,c,d){var e,f,h=c.$$binaryWriterFn;a[b]=function(l,q,v){return h(l,q,v,f||(f=Dh(d).messageMetadata),e||(e=pna(d)))}},pna=function(a){var b=a[qna];if(!b){var c=Dh(a);b=function(d,e){return rna(d,e,c)};a[qna]=b}return b},rna=function(a,b,c){for(var d=a[ab],e=db(d),f=a.length,h=f+(d&256?-1:0),l=d&512?1:0;l<h;l++){var q=a[l];if(q!=null){var v=l-e,y=sna(c,v);if(y){var E=c.extensions,
H=void 0,O=void 0,N=void 0;(H=E)==null||!H[v]||((O=E)==null?0:(N=O.requiredDirectly)==null?0:N[v])||lna++<5&&vb();y(b,q,v)}}}if(d&256){d=a[f-1];for(var T in d)if(e=+T,!Number.isNaN(e)&&(f=d[e],f!=null&&(h=sna(c,e))))l=c.extensions,y=v=q=void 0,(q=l)==null||!q[e]||((v=l)==null?0:(y=v.requiredDirectly)==null?0:y[e])||lna++<5&&vb(),h(b,f,e)}if(a=ob?a[ob]:void 0)for(Ch(b,b.encoder_.end()),c=0;c<a.length;c++)Ch(b,hc(a[c])||new Uint8Array(0))},sna=function(a,b){var c=a[b];if(c)return c;if(c=a.extensions){var d=
c[b];if(d){d=bna(d);var e=d[0].$$binaryWriterFn;d=d[1];var f;c=c==null?void 0:(f=c.requiredDirectly)==null?void 0:f[b];if(!ina||c){if(d){var h=pna(d),l=Dh(d).messageMetadata;c=a.isMessageSet?Yma(l,h):function(q,v,y){return e(q,v,y,l,h)}}else c=e;return a[b]=c}}}},Eh=function(a,b,c){return new Ah(a,b,c)},Fh=function(a,b,c){ic(a,a[ab],b,c)},tna=function(a){return a==null?a:Oda(a)},Hh=function(a,b,c){if(Gh(a,1).split("/").pop()!=c)a=null;else{var d=typeof b==="function"?b:b.constructor;a=a.internalArray_;
b=a[ab];c=pc(a,b,2);if(c!=null&&!(Array.isArray(c)||typeof c==="object"&&ib(c)))throw Error("ab`"+Ab(c));var e=Rb(c,d,!0,b);if(!(e instanceof d))throw Error("bb`"+e.constructor.displayName+"`"+d.displayName);d=b&2;var f=$a(e.internalArray_);f&&!d?e=bc(e):!f&&d&&(d=e.internalArray_,f=d[ab],e=f&2?e:Tda(e,d,f,!0));c!==e&&ic(a,b,2,e);a=e}return a},wna=function(a,b){return function(c,d){if(una.length){var e=una.pop();e.setOptions(d);e.decoder_.init(c,void 0,void 0,d);c=e}else c=new vna(c,d);try{var f=
new a,h=f.internalArray_;fna(b)(h,c);var l=f}finally{c.free()}return l}},xna=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("ja`"+Ab(b)+"`"+b);cb(b);return new a(b)}},Ih=function(a){return function(b){return yna(a,b)}},zna=function(a){switch(a){case 200:return 0;case 400:return 3;case 401:return 16;case 403:return 7;case 404:return 5;case 409:return 10;case 412:return 9;case 429:return 8;case 499:return 1;case 500:return 2;case 501:return 12;case 503:return 14;case 504:return 4;
default:return 2}},Ana=function(a){switch(a){case 0:return"OK";case 1:return"CANCELLED";case 2:return"UNKNOWN";case 3:return"INVALID_ARGUMENT";case 4:return"DEADLINE_EXCEEDED";case 5:return"NOT_FOUND";case 6:return"ALREADY_EXISTS";case 7:return"PERMISSION_DENIED";case 16:return"UNAUTHENTICATED";case 8:return"RESOURCE_EXHAUSTED";case 9:return"FAILED_PRECONDITION";case 10:return"ABORTED";case 11:return"OUT_OF_RANGE";case 12:return"UNIMPLEMENTED";case 13:return"INTERNAL";case 14:return"UNAVAILABLE";
case 15:return"DATA_LOSS";default:return""}},Dna=function(a){var b=[],c=[];a=Bna([].concat(w(a)).sort(Cna));a=k(a);for(var d=a.next(),e={};!d.done;e={name$jscomp$193:void 0,operator$jscomp$5:void 0},d=a.next())d=d.value,e.name$jscomp$193=d.name,e.operator$jscomp$5=d.operator,d=d.values,d.length!==0&&b.push(d.map(function(f){return function(h){return oca(h)||qca(h)?f.name$jscomp$193+f.operator$jscomp$5+h:f.name$jscomp$193+f.operator$jscomp$5+'"'+h+'"'}}(e)).join(" "));c.length>0&&b.push("filters="+
encodeURIComponent(c.join(",")));return b.join(" ")},Bna=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=d.operator;var e=d.values;if(d=d.id)if(daa(oca)(e))b.push({name:d,operator:c,values:e});else if(daa(nca)(e))b.push({name:d,operator:c,values:e});else if(daa(qca)(e))b.push({name:d,operator:c,values:e});else throw Error("hb`"+e);}return b},Jh=function(a,b,c){if(Ena.includes(a)||Fna.includes(a)||Gna.includes(a))return{id:a,operator:b,values:c};throw Error("ib`"+
a);},Cna=function(a,b){return a.id===b.id?JSON.stringify(a)<JSON.stringify(b)?-1:1:Hna.indexOf(a.id)-Hna.indexOf(b.id)},Ina=function(a){switch(a){case "user":return"borg_user";case "job":case "job_regex":return"borg_job";case "cell":return"cell";case "index":return"task_index";case "attempt":return"task_attempt_uid";case "min_time":return"start_time";case "max_time":return"end_time";case "q":return"text_payload";case "q_invert":return"text_payload";case "min_severity":return"severity";case "remote_log_name":return"log_name";
case "process_name":return"process_name";case "trace_id":return"trace_id";case "span_id":return"span_id";case "job_uid":return"job_uid";case "process_id":return"local_process_id";case "src_file":case "inverted_call_site_regex":return"site_path";default:return null}},Jna=function(a,b,c){var d=Ina(a);if(!d)return null;switch(a){case "user":case "job":case "cell":case "trace_id":case "span_id":case "job_uid":case "process_id":case "process_name":case "remote_log_name":return[Jh(d,"=",[b])];case "job_regex":return[Jh(d,
"=",b.split("|"))];case "index":case "attempt":case "min_time":case "max_time":return[Jh(d,"=",[Number(b)])];case "q":return[Jh(d,"=",[b.startsWith("(?i)")?b.substring(4):b])];case "q_invert":return[Jh(d,"!=",[b.startsWith("(?i)")?b.substring(4):b])];case "src_file":return a=c.get("src_line"),[Jh(d,"=",[a?b+":"+a:b])];case "inverted_call_site_regex":return[Jh(d,"!=",[].concat(w(b.split(","))))];default:return null}},Kna=function(a){switch(a){case "resource.labels.borg_user":return"borg_user";case "resource.labels.borg_job":return"borg_job";
case "resource.labels.borg_cell":return"cell";case "resource.labels.borg_task_index":return"task_index";case "resource.labels.borg_task_attempt_uid":return"task_attempt_uid";case "text_payload":return"text_payload";case "severity":return"severity";case "resource.labels.log_name":return"log_name";case "resource.labels.process_name":return"process_name";case "trace":return"trace_id";case "span_id":return"span_id";case "resource.labels.borg_job_uid":return"job_uid";case "resource.labels.local_process_id":return"local_process_id";
case "source_location.file":return"site_path";default:return null}},Lna=function(a,b){if(b&&!b.createEmbeddedView)throw Error("kb`"+a+"`"+Zc(b));},Mna=function(a,b,c){a=Ag(a);b=Kh([a[1],a[2]],b);return Kh(b,c)},Nna=function(a,b,c){a=Ag(a);b=Kh([a[3],a[4]],b);return Kh(b,c)},Ona=function(a,b,c){a=Ag(a);b=Kh([a[5],a[6]],b);return Kh(b,c)},Pna=function(a,b){a=Ag(a)[7];return Kh(a,b)},Qna=function(a,b){a=Ag(a);return Kh(a[10],b)},Rna=function(a,b){a=Ag(a);return Kh(a[11],b)},Sna=function(a,b){a=Ag(a)[12];
return Kh(a,b)},Lh=function(a,b){a=Ag(a);var c=a[13][b];if(typeof c==="undefined"){if(b===12)return a[13][0];if(b===13)return a[13][1]}return c},Tna=function(a){if(!a[21])throw Error("lb`"+a[0]);},Vna=function(a){a=Ag(a);Tna(a);return(a[21][2]||[]).map(function(b){return typeof b==="string"?Una(b):[Una(b[0]),Una(b[1])]})},Wna=function(a,b,c){a=Ag(a);Tna(a);b=Kh([a[21][0],a[21][1]],b)||[];return Kh(b,c)||[]},Kh=function(a,b){for(;b>-1;b--)if(typeof a[b]!=="undefined")return a[b];throw Error("mb");
},Una=function(a){var b=k(a.split(":"));a=b.next().value;b=b.next().value;return{hours:+a,minutes:+b}},Mh=function(){return new $c(2100,!1)},eoa=function(a,b,c,d){var e=Xna(a);b=Nh(c,b)||b;a=[];for(var f;b;)if(f=Yna.exec(b)){if(a=a.concat(f.slice(1)),b=a.pop(),!b)break}else{a.push(b);break}var h=e.getTimezoneOffset();d&&(h=Zna(d,h),e=$na(e,d));var l="";a.forEach(function(q){a:if(aoa[q])var v=aoa[q];else{switch(q){case "G":case "GG":case "GGG":v=Oh(3,1);break;case "GGGG":v=Oh(3,2);break;case "GGGGG":v=
Oh(3,0);break;case "y":v=Ph(0,1,0,!1,!0);break;case "yy":v=Ph(0,2,0,!0,!0);break;case "yyy":v=Ph(0,3,0,!1,!0);break;case "yyyy":v=Ph(0,4,0,!1,!0);break;case "Y":v=boa(1);break;case "YY":v=boa(2,!0);break;case "YYY":v=boa(3);break;case "YYYY":v=boa(4);break;case "M":case "L":v=Ph(1,1,1);break;case "MM":case "LL":v=Ph(1,2,1);break;case "MMM":v=Oh(2,1);break;case "MMMM":v=Oh(2,2);break;case "MMMMM":v=Oh(2,0);break;case "LLL":v=Oh(2,1,1);break;case "LLLL":v=Oh(2,2,1);break;case "LLLLL":v=Oh(2,0,1);break;
case "w":v=coa(1);break;case "ww":v=coa(2);break;case "W":v=coa(1,!0);break;case "d":v=Ph(2,1);break;case "dd":v=Ph(2,2);break;case "c":case "cc":v=Ph(7,1);break;case "ccc":v=Oh(1,1,1);break;case "cccc":v=Oh(1,2,1);break;case "ccccc":v=Oh(1,0,1);break;case "cccccc":v=Oh(1,3,1);break;case "E":case "EE":case "EEE":v=Oh(1,1);break;case "EEEE":v=Oh(1,2);break;case "EEEEE":v=Oh(1,0);break;case "EEEEEE":v=Oh(1,3);break;case "a":case "aa":case "aaa":v=Oh(0,1);break;case "aaaa":v=Oh(0,2);break;case "aaaaa":v=
Oh(0,0);break;case "b":case "bb":case "bbb":v=Oh(0,1,1,!0);break;case "bbbb":v=Oh(0,2,1,!0);break;case "bbbbb":v=Oh(0,0,1,!0);break;case "B":case "BB":case "BBB":v=Oh(0,1,0,!0);break;case "BBBB":v=Oh(0,2,0,!0);break;case "BBBBB":v=Oh(0,0,0,!0);break;case "h":v=Ph(3,1,-12);break;case "hh":v=Ph(3,2,-12);break;case "H":v=Ph(3,1);break;case "HH":v=Ph(3,2);break;case "m":v=Ph(4,1);break;case "mm":v=Ph(4,2);break;case "s":v=Ph(5,1);break;case "ss":v=Ph(5,2);break;case "S":v=Ph(6,1);break;case "SS":v=Ph(6,
2);break;case "SSS":v=Ph(6,3);break;case "Z":case "ZZ":case "ZZZ":v=doa(0);break;case "ZZZZZ":v=doa(3);break;case "O":case "OO":case "OOO":case "z":case "zz":case "zzz":v=doa(1);break;case "OOOO":case "ZZZZ":case "zzzz":v=doa(2);break;default:v=null;break a}aoa[q]=v}l+=v?v(e,c,h):q==="''"?"'":q.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return l},foa=function(a,b,c){var d=new Date(0);d.setFullYear(a,b,c);d.setHours(0,0,0);return d},Nh=function(a,b){var c=Ag(a)[0];Qh[c]!=null||(Qh[c]={});if(Qh[c][b])return Qh[c][b];
var d="";switch(b){case "shortDate":d=Qna(a,0);break;case "mediumDate":d=Qna(a,1);break;case "longDate":d=Qna(a,2);break;case "fullDate":d=Qna(a,3);break;case "shortTime":d=Rna(a,0);break;case "mediumTime":d=Rna(a,1);break;case "longTime":d=Rna(a,2);break;case "fullTime":d=Rna(a,3);break;case "short":d=Nh(a,"shortTime");var e=Nh(a,"shortDate");d=goa(Sna(a,0),[d,e]);break;case "medium":d=Nh(a,"mediumTime");e=Nh(a,"mediumDate");d=goa(Sna(a,1),[d,e]);break;case "long":d=Nh(a,"longTime");e=Nh(a,"longDate");
d=goa(Sna(a,2),[d,e]);break;case "full":d=Nh(a,"fullTime"),e=Nh(a,"fullDate"),d=goa(Sna(a,3),[d,e])}d&&(Qh[c][b]=d);return d},goa=function(a,b){b&&(a=a.replace(/\{([^}]+)}/g,function(c,d){return b!=null&&d in b?b[d]:c}));return a},Rh=function(a,b,c,d,e){var f="";if(a<0||e&&a<=0)e?a=-a+1:(a=-a,f=c===void 0?"-":c);for(a=String(a);a.length<b;)a="0"+a;d&&(a=a.slice(a.length-b));return f+a},Ph=function(a,b,c,d,e){c=c===void 0?0:c;d=d===void 0?!1:d;e=e===void 0?!1:e;return function(f,h){f=hoa(a,f);if(c>
0||f>-c)f+=c;if(a===3)f===0&&c===-12&&(f=12);else if(a===6)return Rh(f,3).substring(0,b);h=Lh(h,5);return Rh(f,b,h,d,e)}},hoa=function(a,b){switch(a){case 0:return b.getFullYear();case 1:return b.getMonth();case 2:return b.getDate();case 3:return b.getHours();case 4:return b.getMinutes();case 5:return b.getSeconds();case 6:return b.getMilliseconds();case 7:return b.getDay();default:throw Error("nb`"+a);}},Oh=function(a,b,c,d){c=c===void 0?0:c;d=d===void 0?!1:d;return function(e,f){return ioa(e,f,
a,b,c,d)}},ioa=function(a,b,c,d,e,f){switch(c){case 2:return Ona(b,e,d)[a.getMonth()];case 1:return Nna(b,e,d)[a.getDay()];case 0:var h=a.getHours(),l=a.getMinutes();return f&&(c=Vna(b),a=Wna(b,e,d),c=c.findIndex(function(q){if(Array.isArray(q)){var v=k(q);q=v.next().value;v=v.next().value;var y=h>=q.hours&&l>=q.minutes,E=h<v.hours||h===v.hours&&l<v.minutes;if(q.hours<v.hours){if(y&&E)return!0}else if(y||E)return!0}else if(q.hours===h&&q.minutes===l)return!0;return!1}),c!==-1)?a[c]:Mna(b,e,d)[h<12?
0:1];case 3:return Pna(b,d)[a.getFullYear()<=0?0:1];default:throw Error("ob`"+c);}},doa=function(a){return function(b,c,d){b=-1*d;c=Lh(c,5);var e=b>0?Math.floor(b/60):Math.ceil(b/60);switch(a){case 0:return(b>=0?"+":"")+Rh(e,2,c)+Rh(Math.abs(b%60),2,c);case 1:return"GMT"+(b>=0?"+":"")+Rh(e,1,c);case 2:return"GMT"+(b>=0?"+":"")+Rh(e,2,c)+":"+Rh(Math.abs(b%60),2,c);case 3:return d===0?"Z":(b>=0?"+":"")+Rh(e,2,c)+":"+Rh(Math.abs(b%60),2,c);default:throw Error("pb`"+a);}}},joa=function(a){var b=a.getDay();
b=b===0?-3:4-b;return foa(a.getFullYear(),a.getMonth(),a.getDate()+b)},coa=function(a,b){b=b===void 0?!1:b;return function(c,d){if(b){var e=(new Date(c.getFullYear(),c.getMonth(),1)).getDay()-1;c=1+Math.floor((c.getDate()+e)/7)}else{c=joa(c);e=c.getFullYear();var f=foa(e,0,1).getDay();e=foa(e,0,1+(f<=4?4:11)-f);c=1+Math.round((c.getTime()-e.getTime())/6048E5)}return Rh(c,a,Lh(d,5))}},boa=function(a,b){b=b===void 0?!1:b;return function(c,d){c=joa(c).getFullYear();return Rh(c,a,Lh(d,5),b)}},Zna=function(a,
b){a=a.replace(/:/g,"");a=Date.parse("Jan 01, 1970 00:00:00 "+a)/6E4;return isNaN(a)?b:a},$na=function(a,b){var c=a.getTimezoneOffset();b=Zna(b,c);a=new Date(a.getTime());a.setMinutes(a.getMinutes()+-1*(b-c));return a},Xna=function(a){if(a instanceof Date&&!isNaN(a.valueOf()))return a;if(typeof a==="number"&&!isNaN(a))return new Date(a);if(typeof a==="string"){a=a.trim();if(/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(a)){var b=k(a.split("-").map(function(d){return+d}));a=b.next().value;var c=b.next().value;
c=c===void 0?1:c;b=b.next().value;return foa(a,c-1,b===void 0?1:b)}b=parseFloat(a);if(!isNaN(a-b))return new Date(b);if(b=a.match(koa))return loa(b)}b=new Date(a);if(!(b instanceof Date)||isNaN(b.valueOf()))throw Error("qb`"+a);return b},loa=function(a){var b=new Date(0),c=0,d=0,e=a[8]?b.setUTCFullYear:b.setFullYear,f=a[8]?b.setUTCHours:b.setHours;a[9]&&(c=Number(a[9]+a[10]),d=Number(a[9]+a[11]));e.call(b,Number(a[1]),Number(a[2])-1,Number(a[3]));f.call(b,Number(a[4]||0)-c,Number(a[5]||0)-d,Number(a[6]||
0),Math.floor(parseFloat("0."+(a[7]||0))*1E3));return b},moa=function(a,b){a=a.key;b=b.key;if(a===b)return 0;if(a===void 0)return 1;if(b===void 0)return-1;if(a===null)return 1;if(b===null)return-1;if(typeof a=="string"&&typeof b=="string")return a<b?-1:1;if(typeof a=="number"&&typeof b=="number")return a-b;if(typeof a=="boolean"&&typeof b=="boolean")return a<b?-1:1;a=String(a);b=String(b);return a==b?0:a<b?-1:1},soa=function(a,b,c,d){var e=e===void 0?!1:e;var f="",h=!1;if(isFinite(a)){h=noa(a);e&&
(h=ooa(h));f=b.minInt;e=b.minFrac;var l=b.maxFrac;if(d){var q=d.match(poa);if(q===null)throw Error("rb`"+d);d=q[1];var v=q[3];q=q[5];d!=null&&(f=qoa(d));v!=null&&(e=qoa(v));q!=null?l=qoa(q):v!=null&&e>l&&(l=e)}roa(h,e,l);d=h.digits;q=h.integerLen;e=h.exponent;l=[];for(h=d.every(function(y){return!y});q<f;q++)d.unshift(0);for(;q<0;q++)d.unshift(0);q>0?l=d.splice(q,d.length):(l=d,d=[0]);f=[];for(d.length>=b.lgSize&&f.unshift(d.splice(-b.lgSize,d.length).join(""));d.length>b.gSize;)f.unshift(d.splice(-b.gSize,
d.length).join(""));d.length&&f.unshift(d.join(""));f=f.join(Lh(c,1));l.length&&(f+=Lh(c,0)+l.join(""));e&&(f+=Lh(c,6)+"+"+e)}else f=Lh(c,9);return f=a<0&&!h?b.negPre+f+b.negSuf:b.posPre+f+b.posSuf},ooa=function(a){if(a.digits[0]===0)return a;var b=a.digits.length-a.integerLen;a.exponent?a.exponent+=2:(b===0?a.digits.push(0,0):b===1&&a.digits.push(0),a.integerLen+=2);return a},noa=function(a){a=Math.abs(a)+"";var b=0,c,d,e,f;(c=a.indexOf("."))>-1&&(a=a.replace(".",""));(d=a.search(/e/i))>0?(c<0&&
(c=d),c+=+a.slice(d+1),a=a.substring(0,d)):c<0&&(c=a.length);for(d=0;a.charAt(d)==="0";d++);if(d===(f=a.length)){var h=[0];c=1}else{for(f--;a.charAt(f)==="0";)f--;c-=d;h=[];for(e=0;d<=f;d++,e++)h[e]=Number(a.charAt(d))}c>22&&(h=h.splice(0,21),b=c-1,c=1);return{digits:h,exponent:b,integerLen:c}},roa=function(a,b,c){if(b>c)throw Error("sb`"+b+"`"+c);var d=a.digits,e=d.length-a.integerLen;c=Math.min(Math.max(b,e),c);var f=c+a.integerLen,h=d[f];if(f>0){d.splice(Math.max(a.integerLen,f));for(var l=f;l<
d.length;l++)d[l]=0}else for(e=Math.max(0,e),a.integerLen=1,d.length=Math.max(1,f=c+1),d[0]=0,l=1;l<f;l++)d[l]=0;if(h>=5)if(f-1<0){for(h=0;h>f;h--)d.unshift(0),a.integerLen++;d.unshift(1);a.integerLen++}else d[f-1]++;for(;e<Math.max(0,c);e++)d.push(0);var q=c!==0,v=b+a.integerLen;if(b=d.reduceRight(function(y,E,H,O){E+=y;O[H]=E<10?E:E-10;q&&(O[H]===0&&H>=v?O.pop():q=!1);return E>=10?1:0},0))d.unshift(b),a.integerLen++},qoa=function(a){var b=parseInt(a);if(isNaN(b))throw Error("tb`"+a);return b},toa=
function(a,b){if(a.length==0)return b;if(b.length==0)return a;var c=0;a.endsWith("/")&&c++;b.startsWith("/")&&c++;return c==2?a+b.substring(1):c==1?a+b:a+"/"+b},uoa=function(a){var b=a.match(/#|\?|$/);b=b&&b.index||a.length;return a.slice(0,b-(a[b-1]==="/"?1:0))+a.slice(b)},Sh=function(a){return a&&a[0]!=="?"?"?"+a:a},voa=function(a){return RegExp("^(https?:)?//").test(a)?(a=k(a.split(/\/\/[^\/]+/)),a.next(),a.next().value):a},yoa=function(){if(woa)return woa;if(typeof document!=="object"||!document)return woa=
new Set(xoa);var a=document.createElement("input");return woa=new Set(xoa.filter(function(b){a.setAttribute("type",b);return a.type===b}))},zoa=function(){if(Th==null&&typeof window!=="undefined")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Th=!0}}))}finally{Th=Th||!1}return Th},Uh=function(a){return zoa()?a:!!a.capture},Aoa=function(){if(Vh==null){if(typeof document!=="object"||!document||typeof Element!=="function"||!Element)return Vh=!1;if("scrollBehavior"in
document.documentElement.style)Vh=!0;else{var a=Element.prototype.scrollTo;Vh=a?!/\{\s*\[native code\]\s*\}/.test(a.toString()):!1}}return Vh},Coa=function(){if(typeof document!=="object"||!document)return 0;if(Boa==null){var a=document.createElement("div"),b=a.style;a.dir="rtl";b.width="1px";b.overflow="auto";b.visibility="hidden";b.pointerEvents="none";b.position="absolute";b=document.createElement("div");var c=b.style;c.width="2px";c.height="1px";a.appendChild(b);document.body.appendChild(a);Boa=
0;a.scrollLeft===0&&(a.scrollLeft=1,Boa=a.scrollLeft===0?1:2);a.remove()}return Boa},Eoa=function(a){if(Doa==null){var b=typeof document!=="undefined"?document.head:null;Doa=!(!b||!b.createShadowRoot&&!b.attachShadow)}return Doa&&(a=a.getRootNode?a.getRootNode():null,typeof ShadowRoot!=="undefined"&&ShadowRoot&&a instanceof ShadowRoot)?a:null},Wh=function(){for(var a=typeof document!=="undefined"&&document?document.activeElement:null;a&&a.shadowRoot;){var b=a.shadowRoot.activeElement;if(b===a)break;
else a=b}return a},Xh=function(a){return a.composedPath?a.composedPath()[0]:a.target},Foa=function(){return typeof __karma__!=="undefined"&&!!__karma__||typeof jasmine!=="undefined"&&!!jasmine||typeof jest!=="undefined"&&!!jest||typeof Mocha!=="undefined"&&!!Mocha},Goa=function(a){return a.buttons===0||a.detail===0},Hoa=function(a){a=a.touches&&a.touches[0]||a.changedTouches&&a.changedTouches[0];return!!a&&a.identifier===-1&&(a.radiusX==null||a.radiusX===1)&&(a.radiusY==null||a.radiusY===1)},Yh=function(a){var b=
zd.apply(1,arguments);return b.length?b.some(function(c){return a[c]}):a.altKey||a.shiftKey||a.ctrlKey||a.metaKey},Zh=function(a){return Array.isArray(a)?a:[a]},$h=function(a){return a!=null&&""+a!=="false"},ai=function(a){return a==null?"":typeof a==="string"?a:a+"px"},bi=function(a){return a instanceof ge?a.nativeElement:a},ci=function(a,b){return isNaN(parseFloat(a))||isNaN(Number(a))?arguments.length===2?b===void 0?0:b:0:Number(a)},Ioa=function(a){if(!a.hasAttribute("tabindex")||a.tabIndex===
void 0)return!1;a=a.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))},Joa=function(a){if(!Ioa(a))return null;a=parseInt(a.getAttribute("tabindex")||"",10);return isNaN(a)?-1:a},Koa=function(a){return{matches:a==="all"||a==="",media:a,addListener:function(){},removeListener:function(){}}},Loa=function(a){return a.map(function(b){return b.split(",")}).reduce(function(b,c){return b.concat(c)}).map(function(b){return b.trim()})},Moa=function(){return null},Noa=function(a){if(a.type==="characterData"&&
a.target instanceof Comment)return!0;if(a.type==="childList"){for(var b=0;b<a.addedNodes.length;b++)if(!(a.addedNodes[b]instanceof Comment))return!1;for(b=0;b<a.removedNodes.length;b++)if(!(a.removedNodes[b]instanceof Comment))return!1;return!0}return!1},Poa=function(a,b,c){var d=Ooa(a,b);c=c.trim();d.some(function(e){return e.trim()===c})||(d.push(c),a.setAttribute(b,d.join(" ")))},di=function(a,b,c){var d=Ooa(a,b);c=c.trim();d=d.filter(function(e){return e!==c});d.length?a.setAttribute(b,d.join(" ")):
a.removeAttribute(b)},Ooa=function(a,b){var c,d;return(d=(c=a.getAttribute(b))==null?void 0:c.match(/\S+/g))!=null?d:[]},Qoa=function(a,b){return typeof a==="string"?(b||"")+"/"+a:a},Soa=function(a,b){a.id||(a.id="cdk-describedby-message-"+b+"-"+Roa++)},Toa=function(a){return fia(a)?a:Fe(a)},Uoa=function(){return r(ei)},Voa=function(a,b){for(var c=typeof ShadowRoot!=="undefined"&&ShadowRoot;b;){if(b===a)return!0;b=c&&b instanceof ShadowRoot?b.host:b.parentNode}return!1},Woa=function(a,b){return b.some(function(c){var d=
a.top>c.bottom,e=a.right<c.left,f=a.left>c.right;return a.bottom<c.top||d||e||f})},Xoa=function(a,b){return b.some(function(c){var d=a.bottom>c.bottom,e=a.left<c.left,f=a.right>c.right;return a.top<c.top||d||e||f})},Yoa=function(a){return a&&typeof a.connect==="function"&&!(a instanceof Hf)},fi=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},$oa=function(a){if(typeof a!=="number"&&a!=null){var b=k(a.split(Zoa));a=b.next().value;return(b=b.next().value)&&b!=="px"?null:parseFloat(a)}return a||
null},apa=function(a){return{top:Math.floor(a.top),right:Math.floor(a.right),bottom:Math.floor(a.bottom),left:Math.floor(a.left),width:Math.floor(a.width),height:Math.floor(a.height)}},bpa=function(){return r(mh)},cpa=function(a,b,c){a=Math.max(Math.abs(a-c.left),Math.abs(a-c.right));b=Math.max(Math.abs(b-c.top),Math.abs(b-c.bottom));return Math.sqrt(a*a+b*b)},dpa=function(a){a&1&&K(0,"mat-pseudo-checkbox",1);a&2&&(a=P(),F("disabled",a.disabled)("state",a.selected?"checked":"unchecked"))},epa=function(a){a&
1&&K(0,"mat-pseudo-checkbox",3);a&2&&(a=P(),F("disabled",a.disabled))},fpa=function(a){a&1&&(I(0,"span",4),Q(1),J());a&2&&(a=P(),C(),R("(",a.group.label,")"))},gpa=function(a,b,c){if(c.length){b=b.toArray();c=c.toArray();for(var d=0,e=0;e<a+1;e++)b[e].group&&b[e].group===c[d]&&d++;return d}return 0},hpa=function(a,b,c,d){return a<c?a:a+b>c+d?Math.max(0,a-d+b):c},ipa=function(a,b){return this._trackRow(b)},jpa=function(a){a&1&&(I(0,"tr",0)(1,"td",3),Q(2),J()());a&2&&(a=P(),C(),mg("padding-top",a._cellPadding)("padding-bottom",
a._cellPadding),eg("colspan",a.numCols),C(),R(" ",a.label," "))},kpa=function(a){a&1&&(I(0,"td",3),Q(1),J());a&2&&(a=P(2),mg("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),eg("colspan",a._firstRowOffset),C(),R(" ",a._firstRowOffset>=a.labelMinRequiredCells?a.label:""," "))},lpa=function(a,b){if(a&1){var c=x();I(0,"td",6)(1,"button",7);M("click",function(f){var h=z(c).$implicit,l=P(2);return A(l._cellClicked(h,f))})("focus",function(f){var h=z(c).$implicit,l=P(2);return A(l._emitActiveDateChange(h,
f))});I(2,"span",8);Q(3);J();K(4,"span",9);J()()}if(a&2){a=b.$implicit;b=b.$index;var d=P().$index,e=P();mg("width",e._cellWidth)("padding-top",e._cellPadding)("padding-bottom",e._cellPadding);eg("data-mat-row",d)("data-mat-col",b);C();ng("mat-calendar-body-disabled",!a.enabled)("mat-calendar-body-active",e._isActiveCell(d,b))("mat-calendar-body-range-start",e._isRangeStart(a.compareValue))("mat-calendar-body-range-end",e._isRangeEnd(a.compareValue))("mat-calendar-body-in-range",e._isInRange(a.compareValue))("mat-calendar-body-comparison-bridge-start",
e._isComparisonBridgeStart(a.compareValue,d,b))("mat-calendar-body-comparison-bridge-end",e._isComparisonBridgeEnd(a.compareValue,d,b))("mat-calendar-body-comparison-start",e._isComparisonStart(a.compareValue))("mat-calendar-body-comparison-end",e._isComparisonEnd(a.compareValue))("mat-calendar-body-in-comparison-range",e._isInComparisonRange(a.compareValue))("mat-calendar-body-preview-start",e._isPreviewStart(a.compareValue))("mat-calendar-body-preview-end",e._isPreviewEnd(a.compareValue))("mat-calendar-body-in-preview",
e._isInPreview(a.compareValue));F("ngClass",a.cssClasses)("tabindex",e._isActiveCell(d,b)?0:-1);eg("aria-label",a.ariaLabel)("aria-disabled",!a.enabled||null)("aria-pressed",e._isSelected(a.compareValue))("aria-current",e.todayValue===a.compareValue?"date":null)("aria-describedby",e._getDescribedby(a.compareValue));C();ng("mat-calendar-body-selected",e._isSelected(a.compareValue))("mat-calendar-body-comparison-identical",e._isComparisonIdentical(a.compareValue))("mat-calendar-body-today",e.todayValue===
a.compareValue);C();R(" ",a.displayValue," ")}},npa=function(a,b){a&1&&(I(0,"tr",1),D(1,kpa,2,6,"td",4),tg(2,lpa,5,48,"td",5,mpa),J());if(a&2){a=b.$implicit;b=b.$index;var c=P();C();G(b===0&&c._firstRowOffset?1:-1);C();ug(a)}},opa=function(a){return(a==null?void 0:a.nodeName)==="TD"},ppa=function(a){if(opa(a))var b=a;else if(opa(a.parentNode))b=a.parentNode;else{var c;opa((c=a.parentNode)==null?void 0:c.parentNode)&&(b=a.parentNode.parentNode)}var d;return((d=b)==null?void 0:d.getAttribute("data-mat-row"))!=
null?b:null},qpa=function(a,b,c){return c!==null&&b!==c&&a<c&&a===b},rpa=function(a,b,c){return b!==null&&b!==c&&a>=b&&a===c},spa=function(a,b,c,d){return d&&b!==null&&c!==null&&b!==c&&a>=b&&a<=c},tpa=function(a){a=a.changedTouches[0];return document.elementFromPoint(a.clientX,a.clientY)},upa=function(){return{color:"accent"}},vpa=function(a,b){a&1&&(I(0,"th",2)(1,"span",6),Q(2),J(),I(3,"span",3),Q(4),J()());a&2&&(a=b.$implicit,C(2),Tg(a.long),C(2),Tg(a.narrow))},xpa=function(a,b,c,d,e){b=a.getYear(b);
c=a.getYear(c);a=wpa(a,d,e);return Math.floor((b-a)/24)===Math.floor((c-a)/24)},gi=function(a,b,c,d){return((a.getYear(b)-wpa(a,c,d))%24+24)%24},wpa=function(a,b,c){var d=0;c?d=a.getYear(c)-24+1:b&&(d=a.getYear(b));return d},ypa=function(){},zpa=function(a){if(a&1){var b=x();I(0,"mat-month-view",4);Xg("activeDateChange",function(c){z(b);var d=P();Wg(d.activeDate,c)||(d.activeDate=c);return A(c)});M("_userSelection",function(c){z(b);var d=P();return A(d._dateSelected(c))})("dragStarted",function(c){z(b);
var d=P();return A(d._dragStarted(c))})("dragEnded",function(c){z(b);var d=P();return A(d._dragEnded(c))});J()}a&2&&(a=P(),Vg("activeDate",a.activeDate),F("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass)("comparisonStart",a.comparisonStart)("comparisonEnd",a.comparisonEnd)("startDateAccessibleName",a.startDateAccessibleName)("endDateAccessibleName",a.endDateAccessibleName)("activeDrag",a._activeDrag))},Apa=function(a){if(a&1){var b=
x();I(0,"mat-year-view",5);Xg("activeDateChange",function(c){z(b);var d=P();Wg(d.activeDate,c)||(d.activeDate=c);return A(c)});M("monthSelected",function(c){z(b);var d=P();return A(d._monthSelectedInYearView(c))})("selectedChange",function(c){z(b);var d=P();return A(d._goToDateInView(c,"month"))});J()}a&2&&(a=P(),Vg("activeDate",a.activeDate),F("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},Bpa=function(a){if(a&1){var b=x();I(0,
"mat-multi-year-view",6);Xg("activeDateChange",function(c){z(b);var d=P();Wg(d.activeDate,c)||(d.activeDate=c);return A(c)});M("yearSelected",function(c){z(b);var d=P();return A(d._yearSelectedInMultiYearView(c))})("selectedChange",function(c){z(b);var d=P();return A(d._goToDateInView(c,"year"))});J()}a&2&&(a=P(),Vg("activeDate",a.activeDate),F("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},hi=function(a){return a==null||(typeof a===
"string"||Array.isArray(a))&&a.length===0},Cpa=function(a){return function(b){if(hi(b.value)||hi(a))return null;var c=parseFloat(b.value);return!isNaN(c)&&c<a?{min:{min:a,actual:b.value}}:null}},Dpa=function(a){return function(b){if(hi(b.value)||hi(a))return null;var c=parseFloat(b.value);return!isNaN(c)&&c>a?{max:{max:a,actual:b.value}}:null}},Epa=function(a){return hi(a.value)?{required:!0}:null},Fpa=function(a){return function(b){var c=b.value;return c!=null&&typeof c.length==="number"&&b.value.length>
a?{maxlength:{requiredLength:a,actualLength:b.value.length}}:null}},Hpa=function(a){if(!a)return Gpa;if(typeof a==="string"){var b="";a.charAt(0)!=="^"&&(b+="^");b+=a;a.charAt(a.length-1)!=="$"&&(b+="$");var c=new RegExp(b)}else b=a.toString(),c=a;return function(d){if(hi(d.value))return null;d=d.value;return c.test(d)?null:{pattern:{requiredPattern:b,actualValue:d}}}},Gpa=function(){return null},Ipa=function(a){return a!=null},Jpa=function(a){return uf(a)?ue(a):a},Kpa=function(a){var b={};a.forEach(function(c){b=
c!=null?Object.assign({},b,c):b});return Object.keys(b).length===0?null:b},Lpa=function(a,b){return b.map(function(c){return c(a)})},Mpa=function(a){return a.map(function(b){return b.validate?function(c){return b.validate(c)}:b})},Npa=function(a){if(!a)return null;var b=a.filter(Ipa);return b.length==0?null:function(c){return Kpa(Lpa(c,b))}},Opa=function(a){return a!=null?Npa(Mpa(a)):null},Ppa=function(a){if(!a)return null;var b=a.filter(Ipa);return b.length==0?null:function(c){c=Lpa(c,b).map(Jpa);
return Se(c).pipe(B(Kpa))}},Qpa=function(a){return a!=null?Ppa(Mpa(a)):null},Rpa=function(a,b){return a===null?[b]:Array.isArray(a)?[].concat(w(a),[b]):[a,b]},Spa=function(a,b){return[].concat(w(b.path),[a])},ii=function(a,b,c){c=c===void 0?"whenDisabledForLegacyCode":c;Tpa(a,b);b.valueAccessor.writeValue(a.value);if(a.disabled||c==="always"){var d,e;(e=(d=b.valueAccessor).setDisabledState)==null||e.call(d,a.disabled)}Upa(a,b);Vpa(a,b);Wpa(a,b);Xpa(a,b)},Zpa=function(a,b){var c=function(){};b.valueAccessor&&
(b.valueAccessor.registerOnChange(c),b.valueAccessor.registerOnTouched(c));Ypa(a,b);a&&(b._invokeOnDestroyCallbacks(),a._registerOnCollectionChange(function(){}))},$pa=function(a,b){a.forEach(function(c){c.registerOnValidatorChange&&c.registerOnValidatorChange(b)})},Xpa=function(a,b){if(b.valueAccessor.setDisabledState){var c=function(d){b.valueAccessor.setDisabledState(d)};a._onDisabledChange.push(c);b._registerOnDestroy(function(){a._unregisterOnDisabledChange(c)})}},Tpa=function(a,b){var c=a._rawValidators;
b.validator!==null?aqa(a,Rpa(c,b.validator)):typeof c==="function"&&aqa(a,[c]);c=a._rawAsyncValidators;b.asyncValidator!==null?bqa(a,Rpa(c,b.asyncValidator)):typeof c==="function"&&bqa(a,[c]);c=function(){return ji(a)};$pa(b._rawValidators,c);$pa(b._rawAsyncValidators,c)},Ypa=function(a,b){var c=!1;if(a!==null){if(b.validator!==null){var d=a._rawValidators;if(Array.isArray(d)&&d.length>0){var e=d.filter(function(f){return f!==b.validator});e.length!==d.length&&(c=!0,a._assignValidators(e))}}b.asyncValidator!==
null&&(d=a._rawAsyncValidators,Array.isArray(d)&&d.length>0&&(e=d.filter(function(f){return f!==b.asyncValidator}),e.length!==d.length&&(c=!0,a._assignAsyncValidators(e))))}a=function(){};$pa(b._rawValidators,a);$pa(b._rawAsyncValidators,a);return c},Upa=function(a,b){b.valueAccessor.registerOnChange(function(c){a._pendingValue=c;a._pendingChange=!0;a._pendingDirty=!0;a.updateOn==="change"&&cqa(a,b)})},Wpa=function(a,b){b.valueAccessor.registerOnTouched(function(){a._pendingTouched=!0;a.updateOn===
"blur"&&a._pendingChange&&cqa(a,b);a.updateOn!=="submit"&&dqa(a)})},cqa=function(a,b){a._pendingDirty&&eqa(a);a.setValue(a._pendingValue,{emitModelToViewChange:!1});b.viewToModelUpdate(a._pendingValue);a._pendingChange=!1},Vpa=function(a,b){var c=function(d,e){b.valueAccessor.writeValue(d);e&&b.viewToModelUpdate(d)};a.registerOnChange(c);b._registerOnDestroy(function(){a._unregisterOnChange(c)})},fqa=function(a,b){if(!a.hasOwnProperty("model"))return!1;a=a.model;return a.firstChange?!0:!Object.is(b,
a.currentValue)},gqa=function(a,b){a._syncPendingControls();b.forEach(function(c){var d=c.control;d.updateOn==="submit"&&d._pendingChange&&(c.viewToModelUpdate(d._pendingValue),d._pendingChange=!1)})},hqa=function(a){if(!a)return null;var b=void 0,c=void 0,d=void 0;a.forEach(function(e){e.constructor===ki?b=e:Object.getPrototypeOf(e.constructor)===li?c=e:d=e});return d?d:c?c:b?b:null},mi=function(a){return a!=null&&!Array.isArray(a)&&typeof a==="object"},iqa=function(a,b){a._forEachChild(function(c,
d){if(b[d]===void 0)throw new $c(1002,"");})},jqa=function(a){return typeof a==="object"&&a!==null&&Object.keys(a).length===2&&"value"in a&&"disabled"in a},ni=function(a,b){return{type:7,name:a,definitions:b,options:{}}},oi=function(a,b){return{type:4,styles:b===void 0?null:b,timings:a}},kqa=function(a){return{type:3,steps:a,options:null}},pi=function(a){return{type:6,styles:a,offset:null}},qi=function(a,b){return{type:0,name:a,styles:b,options:void 0}},ri=function(a){return{type:5,steps:a}},si=function(a,
b,c){return{type:1,expr:a,animation:b,options:c===void 0?null:c}},lqa=function(){var a={optional:!0};return{type:11,selector:"@*",animation:{type:9,options:null},options:a===void 0?null:a}},mqa=function(a){a&1&&K(0,"span",21)},nqa=function(a){a&1&&(I(0,"label",20),Eg(1,1),D(2,mqa,1,0,"span",21),J());a&2&&(a=P(2),F("floating",a._shouldLabelFloat())("monitorResize",a._hasOutline())("id",a._labelId),eg("for",a._control.disableAutomaticLabeling?null:a._control.id),C(2),G(!a.hideRequiredMarker&&a._control.required?
2:-1))},oqa=function(a){a&1&&D(0,nqa,3,5,"label",20);a&2&&(a=P(),G(a._hasFloatingLabel()?0:-1))},pqa=function(a){a&1&&K(0,"div",7)},qqa=function(){},rqa=function(a){a&1&&D(0,qqa,0,0,"ng-template",13);a&2&&(P(2),a=L(1),F("ngTemplateOutlet",a))},sqa=function(a){a&1&&(I(0,"div",9),D(1,rqa,1,1,null,13),J());a&2&&(a=P(),F("matFormFieldNotchedOutlineOpen",a._shouldLabelFloat()),C(),G(a._forceDisplayInfixLabel()?-1:1))},tqa=function(a){a&1&&(I(0,"div",10,2),Eg(2,2),J())},uqa=function(a){a&1&&(I(0,"div",
11,3),Eg(2,3),J())},vqa=function(){},wqa=function(a){a&1&&D(0,vqa,0,0,"ng-template",13);a&2&&(P(),a=L(1),F("ngTemplateOutlet",a))},xqa=function(a){a&1&&(I(0,"div",14,4),Eg(2,4),J())},yqa=function(a){a&1&&(I(0,"div",15,5),Eg(2,5),J())},zqa=function(a){a&1&&K(0,"div",16)},Aqa=function(a){a&1&&(I(0,"div",18),Eg(1,6),J());a&2&&(a=P(),F("@transitionMessages",a._subscriptAnimationState))},Bqa=function(a){a&1&&(I(0,"mat-hint",22),Q(1),J());a&2&&(a=P(2),F("id",a._hintLabelId),C(),Tg(a.hintLabel))},Cqa=function(a){a&
1&&(I(0,"div",19),D(1,Bqa,2,2,"mat-hint",22),Eg(2,7),K(3,"div",23),Eg(4,8),J());a&2&&(a=P(),F("@transitionMessages",a._subscriptAnimationState),C(),G(a.hintLabel?1:-1))},Dqa=function(){},Eqa=function(a){a&1&&(Wd(),I(0,"svg",2),K(1,"path",3),J())},ti=function(a,b){if(Sc(a))return a;a=String(a).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;");if(b==null?0:b.preserveSpaces)a=a.replace(/(^|[\r\n\t ]) /g,"$1&#160;");if(b==null?0:b.preserveNewlines)a=
a.replace(/(\r\n|\n|\r)/g,"<br>");if(b==null?0:b.preserveTabs)a=a.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>');return Rc(a)},ui=function(a){var b=ti("");return Rc(a.map(function(c){return Tc(ti(c))}).join(Tc(b).toString()))},Hqa=function(a){if(!Fqa.test(a))throw Error("qa");if(Gqa.indexOf(a.toUpperCase())!==-1)throw Error("qa");},vi=function(a,b,c){Hqa(a);var d="<"+a;b&&(d+=Iqa(b));Array.isArray(c)||(c=c===void 0?[]:[c]);Jqa.indexOf(a.toUpperCase())!==-1?d+=">":(b=ui(c.map(function(e){return Sc(e)?
e:ti(String(e))})),d+=">"+b.toString()+"</"+a+">");return Rc(d)},Iqa=function(a){for(var b="",c=Object.keys(a),d=0;d<c.length;d++){var e=c[d],f=a[e];if(!Fqa.test(e))throw Error("qa");if(f!==void 0&&f!==null){if(/^on./i.test(e))throw Error("qa");Kqa.indexOf(e.toLowerCase())!==-1&&(f=Lc(f)?f.toString():Mea(String(f))||"about:invalid#zClosurez");f=e+'="'+ti(String(f))+'"';b+=" "+f}}return b},wi=function(a){var b=zd.apply(1,arguments);if(b.length===0)return Ic(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=
encodeURIComponent(b[d])+a[d+1];return Ic(c)},Mqa=function(a){a=a.searchParams;var b=a.get("ota"),c=a.get("youtube_persona"),d=a.getAll("label");if(b)return{account:b,accountType:"ota"};if(c)return{account:c,accountType:"youtube_persona"};b=k(d);for(c=b.next();!c.done;c=b.next()){c=c.value;d=k(Lqa.keys());for(var e=d.next();!e.done;e=d.next())if(e=e.value,c.startsWith(e))return{account:c.replace(e,""),accountType:Lqa.get(e)}}var f,h;return{account:(h=(f=a.get("account"))!=null?f:a.get("gaia"))!=null?
h:"",accountType:"gaia"}},xi=function(a){return{fieldType:3,fieldName:a}},Qqa=function(){for(var a;a=Nqa.remove();){try{a.fn.call(a.scope)}catch(b){za(b)}Oqa.put(a)}Pqa=!1},Rqa=function(a){var b=a,c;return function(){if(b){var d=b;b=void 0;c=d.apply(this,arguments)}return c}},Sqa=function(a,b){return a.size!==b.size?!1:[].concat(w(a)).every(function(c){return b.has(c)})},Tqa=function(a){var b=new Set;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=k(c.value);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b},
Uqa=function(a,b){if(!Sqa(a,b)){var c=[].concat(w(b)).filter(function(e){return!a.has(e)}),d=[].concat(w(a)).filter(function(e){return!b.has(e)});return{added:c,removed:d}}},Vqa=function(a,b){var c=a.size>b.size?a:b;return new Set([].concat(w(a===c?b:a)).filter(function(d){return c.has(d)}))},Wqa=function(a,b){return a.size>=b.size&&[].concat(w(b)).every(function(c){return a.has(c)})},yi=function(a,b){if(a===b)return!0;if(a==null||b==null)return a===b;if(Array.isArray(a)){if(!Array.isArray(b))return!1;
var c=a.length;if(c!==b.length)return!1;for(var d=0;d<c;d++)if(!yi(a[d],b[d]))return!1;return!0}if(a instanceof Date)return b instanceof Date?a.getTime()===b.getTime():!1;if(a instanceof RegExp)return b instanceof RegExp?a.toString()===b.toString():!1;if(a instanceof Set||b instanceof Set)return a instanceof Set&&b instanceof Set?Sqa(a,b):!1;if(Sc(a)||Sc(b))return Sc(a)&&Sc(b)?a===b||a.toString()===b.toString():!1;if(a instanceof V||b instanceof V)return a instanceof V&&b instanceof V?a==b||!(!a||
!b)&&a instanceof b.constructor&&zda(a,b):!1;if(typeof a==="object"){if(typeof b!=="object")return!1;c=Object.keys(a);d=c.length;if(d!==Object.keys(b).length)return!1;for(var e=0;e<d;e++){var f=c[e];if(!Xqa.call(b,f)||!yi(a[f],b[f]))return!1}return!0}return!1},Yqa=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=!1,e=k(b),f=e.next();!f.done;f=e.next())if(yi(c,f.value)){d=!0;break}d||b.push(c)}return b},Zqa=function(a,b){for(var c=a.length-1;c>=0;c--)yi(a[c],b)&&
a.splice(c,1)},$qa=function(a,b,c){c=c===void 0?Infinity:c;if(a===b)return!0;if((a==null||b==null)&&a!==b)return!1;var d=Object.keys(a),e=Object.keys(b);if(d.length!==e.length)return!1;c=Math.min(d.length,c);for(e=0;e<c;e++){var f=d[e];if(a[f]!==b[f]&&(typeof a[f]!=="object"||typeof b[f]!=="object"))return!1}return!0},bra=function(a){return Object.assign.apply(Object,[{}].concat(w(ara.map(function(b){var c={};return c[b]=a[b],c}))))},zi=function(a){if(a!==null&&a!==void 0&&["boolean","function","number",
"string"].indexOf(typeof a)===-1)if(Array.isArray(a)){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())b.push(zi(c.value));a=b}else if(a instanceof Date)a=new Date(a.getTime());else if(a instanceof Map){b=new Map;a=k(a);for(c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b.set(zi(c),zi(d))}a=b}else if(!Sc(a))if(a instanceof V)a=a.clone();else{b={};c=k(Object.entries(a));for(d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b[d]=
zi(e)}Object.setPrototypeOf(b,Object.getPrototypeOf(a));a=b}return a},cra=function(a){return typeof a==="number"},Ai=function(a){return typeof a==="string"},Bi=function(a){return Array.isArray(a)&&a.every(Ai)},dra=function(a){return Array.isArray(a)&&a.every(cra)},era=function(a){if(a==null)return!1;a=String(a).trim();if(a.length<=2)return!1;var b=Number(a);return isNaN(b)?!1:String(b).length===a.length},Ci=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},
Fi=function(a){if(a){if(cra(a)){var b=new Date(a);b.getFullYear()>47E3&&(b=new Date(a/1E3));return new Di(b)}b=a.split("/");if(b.length===3)return a=Ei(b[2]),a<50?a+=2E3:a<100&&(a+=1900),new Di(a,Ei(b[0])-1,Ei(b[1]));if(b.length===1)return Fi(Number(a))}return new Di},fra=function(a){return a.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"")},gra=function(a){return!(!a||!a.startsWith("text/")&&!a.startsWith("image/")&&a!=="application/pdf")},Gi=function(a,b){return a.map(function(c){return c[b]})},hra=function(a,
b){return a.filter(function(c){return!b.has(c)})},ira=function(a,b){for(var c=k(a),d=c.next();!d.done;d=c.next())if(!b.has(d.value))return!1;b=k(b);for(c=b.next();!c.done;c=b.next())if(!a.has(c.value))return!1;return!0},Hi=function(a,b){return hra(a,new Set(b))},jra=function(a,b){var c=/[,;]/;(b===void 0||b)&&(c=/[\s,;]/);return a.split(c).map(Ii).filter(function(d){return!!d})},kra=function(a,b){a=new URL(a);return a.host+a.pathname+b},lra=function(a){return a.user!==void 0},mra=function(a){switch(a){case "public_non_google":return"Public (non-google.com)";
case "googlers_unrestricted":return"Full-time Googlers";default:return Ji(a.replace(/_/g," ").toLowerCase())}},Ki=function(a,b){return function(c){if(a.has(c))return a.get(c);var d=b(c);a.set(c,d);return d}},Li=function(a,b){return new Map(a.map(function(c){return[c,b(c)]}))},Mi=function(a,b){var c;return new Map((c=a==null?void 0:a.map(function(d){return[b(d),d]}))!=null?c:[])},nra=function(a,b){var c=new Map;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b(d),f=void 0,h=(f=c.get(e))!=
null?f:[];h.push(d);c.set(e,h)}return c},ora=function(a,b){return Li([].concat(w(a.keys())),function(c){return b(a.get(c),c)})},pra=function(a){var b=new Map;a=k(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b.set(d,c)}return b},qra=function(a){var b=new Map;a=k(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}return b},Ni=function(a){switch(a){case "P0":case "P1":case "P2":case "P3":case "P4":return a;
default:return null}},rra=function(a){switch(a){case "TYPE_UNSPECIFIED":case "BUG":case "FEATURE_REQUEST":case "CUSTOMER_ISSUE":case "INTERNAL_CLEANUP":case "PROCESS":case "VULNERABILITY":case "PRIVACY_ISSUE":case "PROJECT":case "FEATURE":case "MILESTONE":case "EPIC":case "STORY":case "TASK":case "PROGRAM":return a;default:return null}},sra=function(a){switch(a){case "S0":case "S1":case "S2":case "S3":case "S4":return a;default:return null}},Oi=function(a){switch(a){case "BUG":return"Bug";case "FEATURE_REQUEST":return"Feature Request";
case "CUSTOMER_ISSUE":return"Customer Issue";case "INTERNAL_CLEANUP":return"Internal Cleanup";case "PROCESS":return"Process";case "VULNERABILITY":return"Vulnerability";case "PRIVACY_ISSUE":return"Privacy Issue";case "PROJECT":return"Project";case "FEATURE":return"Feature";case "MILESTONE":return"Milestone";case "EPIC":return"Epic";case "STORY":return"Story";case "TASK":return"Task";case "PROGRAM":return"Program";case "TYPE_UNSPECIFIED":return"";default:return""}},Qi=function(a,b,c,d){return{status:a,
displayValue:Pi[a],open:b,assigneeRequirement:c,sortOrder:d}},tra=function(a){if(!a)return!1;a=a.userGaiaStatus;return!a||a==="ACTIVE"||a==="UNSPECIFIED"},Si=function(a){return a?a.map(Ri):[]},Ti=function(a){a=Si(a);a.sort();return a},Ri=function(a){return a&&a.getUserGaiaStatus?ura(vra(a)):ura(a)},ura=function(a){return a?a.userGaiaStatus==="DELETED"?"[Deleted User]":a.userGaiaStatus==="UNAVAILABLE"?"[Unavailable User]":tra(a)?wra(a)||"[No Data]":"[No Data]":""},Ui=function(a){return a&&a.getUserGaiaStatus?
wra(vra(a)):wra(a)},wra=function(a){if(a)return a.emailAddress||a.obfuscatedEmailAddress||""},vra=function(a){if(a!=null){var b={},c;if(c=a.getEmailAddress())b.emailAddress=c;if(c=Gh(a,2))b.obfuscatedEmailAddress=c;if(c=a.getUserGaiaStatus())b.userGaiaStatus=xra[c];(c=Vi(a,4,Wi(Xi)))&&c.length>0&&(b.aliases=c);return b}},Yi=function(a){return a?{emailAddress:a.trim(),userGaiaStatus:"ACTIVE"}:null},yra=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())b.push(Yi(c.value));return b},
zra=function(a){var b=a.getId(),c=Zi(a,3);var d=Vi(a,2,Wi());a=$i(a,4,Wi());return aj({id:b,std_offset:c,names:d,transitions:a||[]})},fj=function(a){var b=a.emailAddress,c=a.obfuscatedEmailAddress,d=a.aliases;a=a.userGaiaStatus;var e=new bj;b&&cj(e,1,b);c&&cj(e,2,c);(d==null?0:d.length)&&dj(e,4,d);if(a)switch(a){case "UNSPECIFIED":ej(e,3,0);break;case "ACTIVE":ej(e,3,1);break;case "DELETED":ej(e,3,2);break;case "UNAVAILABLE":ej(e,3,3);break;default:xb(a)}return e},gj=function(a){var b={},c=a.getEmailAddress();
c&&(b.emailAddress=c);if(c=Gh(a,2))b.obfuscatedEmailAddress=c;c=a.getUserGaiaStatus();switch(c){case 0:break;case 1:b.userGaiaStatus="ACTIVE";break;case 2:b.userGaiaStatus="DELETED";break;case 3:b.userGaiaStatus="UNAVAILABLE";break;default:throw Error("Ab`"+c);}a=Vi(a,4,Wi(Xi));if(a==null?0:a.length)b.aliases=a;return b},hj=function(a){if(a!=null&&(a=String(a),a.trim()!==""))return a=Number(a),isNaN(a)?void 0:a},ij=function(a){if(a!=null)return String(a)},Ara=function(a){if(a!=null&&a!=="0")return a},
jj=function(a){return a==null?void 0:a},Bra=function(){return function(a){return a==null?"<none>":a}},kj=function(a){return a!=null},Cra=function(a){if(a!=null)return a/1E3},Era=function(a){var b=a.getTrackerId_asString(),c=a.getName(),d=a.getComponentId_asString(),e=lj(a,4,Wi()).map(String);var f=W(a,mj,6);f=f!=null?{logoUrl:f.getLogoUrl(),cocUrl:Gh(f,3),theme:Dra[f.getTheme()]}:void 0;return{trackerId:b,name:c,componentId:d,associatedTrackerIds:e,branding:f!=null?f:null,internalBaseUrl:a.getInternalBaseUrl()||
void 0,externalBaseUrl:a.getExternalBaseUrl()||void 0,collaboratorGroups:nj(a,bj,10,Wi()).length>0?nj(a,bj,10,Wi()).map(gj):void 0}},Fra=function(a){return Era(a.getIt())},Gra=function(a){return a.getIt().getTrackersList().map(Era)},Hra=function(a){return{trackers:a.getIt().getTrackersList().map(Era),nextPageToken:a.getIt().getNextPageToken(),totalSize:a.getIt().getTotalSize()}},oj=function(a){if(a==null)return"UNSPECIFIED_FORMATTING_MODE";switch(Ira[a]){case "MARKDOWN_FORMATTING_MODE":return"MARKDOWN";
case "PLAIN_FORMATTING_MODE":return"PLAIN";case "LITERAL_FORMATTING_MODE":return"LITERAL";default:return"UNSPECIFIED_FORMATTING_MODE"}},pj=function(a){return console==null?!1:typeof console[a]==="function"},qj=function(){pj("debug")&&console.debug.apply(console,zd.apply(0,arguments))},rj=function(){pj("info")&&console.info.apply(console,zd.apply(0,arguments))},Jra=function(){pj("log")&&console.log.apply(console,zd.apply(0,arguments))},sj=function(){pj("warn")&&console.warn.apply(console,zd.apply(0,
arguments))},Kra=function(){pj("error")&&console.error.apply(console,zd.apply(0,arguments))},Lra=function(a){if(a!=null){var b=a.getYear();if(b==null)sj("No year. dateToJs");else{var c=a.getDay();if(c==null)sj("No day. dateToJs");else if(a=a.getMonth(),a==null)sj("No month. dateToJs");else return{year:b,day:c,month:a}}}},Mra=function(a){var b=new tj;uj(b,3,a.day);b.setMonth(a.month);b.setYear(a.year);return b},vj=function(a){if(a!=null){var b=a.getSeconds_asLegacyNumberOrString();a=a.getNanos();return{seconds:b,
nanos:a}}},xj=function(a){var b=new wj;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},Nra=function(a){var b=new yj;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},Ora=function(a){if(a!=null){var b=a.getSeconds_asLegacyNumberOrString();a=a.getNanos();return{seconds:b,nanos:a}}},zj=function(a){var b=a*1E3;a=0;b=b===void 0?0:b;if(b<=-1E9||b>=1E9)a+=Math.trunc(b/1E9),b%=1E9;b<0&&(b+=1E9,--a);return xj({seconds:a,nanos:b})},Aj=function(a){if(!a)return 0;a=a.getSeconds_asLegacyNumberOrString()*
1E9+a.getNanos();return Math.round(a/1E3)},Pra=function(a){return a?a==="ASCENDING"?"asc":"desc":""},Bj=function(a,b,c){return function(d,e){e=e===void 0?c:e;return Qra(d,a,b,e)}},Qra=function(a,b,c,d){return d?[].concat(w(a)).sort(function(e,f){var h=d==="ASCENDING"?1:-1;return c(b(e),b(f))*h}):[].concat(w(a))},Cj=function(a,b){return a==null||b==null?a==null&&b==null?0:a==null?1:b==null?-1:0:isNaN(a)&&isNaN(b)?0:isNaN(a)?1:isNaN(b)?-1:a>b?1:a<b?-1:0},Dj=function(a,b){return a==null||b==null?a==
null&&b==null?0:a==null?1:b==null?-1:0:a.localeCompare(b)},dsa=function(a){var b={};Ej(a,1)&&(b.showFullHistory=Fj(a,1));Ej(a,2)&&(b.useCodefont=Fj(a,2));Gj(a,5)&&(b.resultsPerPage=Zi(a,5));Ej(a,26)&&(b.showRecentEventsFirst=Fj(a,26));var c=a.getDisplayColumns();c&&(b.displayColumns={column:c.getColumnList().map(Rra).filter(kj)});if(c=a.getSortColumns())b.sortColumns={column:c.getColumnList().map(Sra).filter(kj)};Hj(a,7)&&(b.bannerMessageId=Gh(a,7));if(c=W(a,Tra,3)){var d={};Ij(c,1)&&(d.reportedPriority=
Jj[Kj(c,1,0)]);Ij(c,2)&&(d.assignedPriority=Jj[Kj(c,2,0)]);Ij(c,3)&&(d.verifiedPriority=Jj[Kj(c,3,0)]);Ij(c,4)&&(d.ccdPriority=Jj[Kj(c,4,0)]);Ij(c,9)&&(d.collaboratorPriority=Jj[Kj(c,9,0)]);Ij(c,5)&&(d.starredPriority=Jj[Kj(c,5,0)]);Ej(c,6)&&(d.excludeChangesByMe=Fj(c,6));Ej(c,7)&&(d.unsubscribeFromAll=Fj(c,7));Ej(c,8)&&(d.enableV2Prefs=Fj(c,8));b.notificationPreferences=d}if(d=W(a,Ura,9)){c={showHotlists:Fj(d,1),showStatusIcons:Fj(d,4),wrapComponents:Fj(d,3),wrapTitles:Fj(d,2),rtlComponentPath:Fj(d,
5)};var e=sc(d,6,Vb);c.fieldStatus=Object.fromEntries(e.entries());d=sc(d,7,Vb);c.modeForField=Object.fromEntries(d.entries());b.listViewPreferences=c}if(c=a.getLayoutPreferences())d={},Gj(c,1)&&(d.leftSidebarWidth=Zi(c,1)),Ej(c,2)&&(d.expandIssueSlo=Fj(c,2)),Gj(c,3)&&(d.rightSidebarWidth=Zi(c,3)),b.layoutPreferences=d;if(c=a.getDateTimePreferences())d={},Hj(c,1)&&(d.calendarFormat=Gh(c,1)),Hj(c,2)&&(d.timeFormat=Gh(c,2)),c.hasTimeZone()&&(d.timeZone=c.getTimeZone()),Ij(c,7)&&(d.sloEtaViewAs=Vra[Kj(c,
7,0)]),b.dateTimePreferences=d;if(c=W(a,Lj,8))d={},Ij(c,1)&&(d.density=Wra[c.getDensity()]),b.themePreferences=d;if(c=a.getHomepagePreferences())d={},Ij(c,1)&&(d.resourceType=Xra(Kj(c,1,1))),Pb(Mj(c,2))!=null&&(d.resourceId=Nj(c,2)),b.homepagePreferences=d;if(c=W(a,Yra,17))d={},Ej(c,1)&&(d.enableAllHotkeys=Fj(c,1,!0)),b.keyboardPreferences=d;Pb(Mj(a,16))!=null&&(b.newFeaturesAcknowledgedMillis=Nj(a,16));Ej(a,18)&&(b.autoCcOnComment=Fj(a,18));Oj(a,Pj,20)&&(d=W(a,Pj,20),c=d.getCommentDisplayOverride(),
d=d.getLastPublishMode(),b.textDisplayPreferences={commentDisplayOverride:Qj(c),lastPublishMode:Qj(d)});Oj(a,Rj,33)&&(e=W(a,Rj,33),c=Kj(e,3,0),d=e.getCommentDisplayOverride(),e=e.getLastPublishMode(),b.commentFormattingPreferences={commentCreateOverride:Qj(c),commentDisplayOverride:Qj(d),lastPublishMode:Qj(e)});Oj(a,Sj,21)&&(c=W(a,Sj,21),d={},Ej(c,2)&&(d.announcementDismissed=Fj(c,2)),Ej(c,1)&&(d.enableBugScreensaver=Fj(c,1)),b.bugScreensaverPreferences=d);Oj(a,Tj,24)&&(c=W(a,Tj,24),d={},Uj(c,1)&&
(d.announcementDismissedMillis=Vj(c,1)),b.g3nPreferences=d);if(c=W(a,Zra,23))c=nj(c,Wj,1,Wi()),b.teamWarningPreferences={componentTeamWarnings:c.map($ra)};c=tc(a,25,wj,Vb);c.size&&(b.dismissalTimestamps=asa(c));c=a.getCollapsedMap();c.size&&(b.collapsed=Object.fromEntries(c.entries()));Ej(a,29)&&(b.showInlineImages=a.getShowInlineImages());Oj(a,Xj,28)&&(c=W(a,Xj,28),d={},Ij(c,1)&&(d.commentFilter=bsa(Kj(c,1,0))),b.commentFilterPreferences=d);if(c=W(a,Yj,31))b.missionControlPreferences=csa(c);Oj(a,
Zj,32)&&(c=W(a,Zj,32),a=ak(c,1),c=vj(W(c,wj,2)),b.scopePreferences={starredTeams:a,lastAutomaticStarsUpdate:c});return b},Rra=function(a){if(a.hasType()){var b={type:esa[a.getType()]};a.hasCustomFieldId()&&(b.customFieldId=a.getCustomFieldId_asLegacyNumberOrString());return b}},Sra=function(a){var b=a.getColumn();if(b=b&&Rra(b)){if(Ij(a,2))a:switch(a=Kj(a,2,1),a){case 1:a="ASCENDING";break a;case 2:a="DESCENDING";break a;default:a=xb(a,"Unknown sortOrder: "+a)}else a=void 0;if(a)return{column:b,order:a}}},
Qj=function(a){if(a!==0)return fsa[a]},Xra=function(a){switch(a){case 1:return"HOTLIST";case 2:return"SAVED_SEARCH";case 3:return"BOOKMARK_GROUP";case 5:return"MISSION_CONTROL";case 6:return"ASSIGNED_TO_ME";default:return xb(a,"Unknown resourceType: "+a)}},$ra=function(a){var b={};a.hasComponentId()&&(b.componentId=a.getComponentId_asLegacyNumberOrString());Uj(a,2)&&(b.dismissMillis=Vj(a,2));return b},asa=function(a){a=Array.from(a.entries()).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;
return[b,c.toDate()]});return Object.fromEntries(a)},bsa=function(a){switch(a){case 0:return"FULL_HISTORY";case 1:return"ALL_COMMENTS";case 2:return"HUMAN_ONLY";case 3:return"TEAM_AND_ASSIGNEE";default:return xb(a,"Unknown resourceType: "+a)}},csa=function(a){var b=Gj(a,3)?Zi(a,3):void 0,c=Gj(a,6)?Zi(a,6):void 0,d=Gj(a,5)?Zi(a,5):void 0,e=Gj(a,4)?Zi(a,4):void 0,f=Ej(a,10)?Fj(a,10):void 0,h=Ej(a,11)?Fj(a,11):void 0,l=Ej(a,12)?Fj(a,12):void 0,q=bk(a,7,Wi()).map(function(y){return gsa[y]}),v=bk(a,8,
Wi()).map(function(y){return gsa[y]});b={workAreaUrls:Vi(a,1,Wi(Xi)),myTasksTab:b,myTasksDaysOld:c,needsAttentionDaysOld:d,workAreaTab:e,needsAttentionSources:q,myTasksSources:v,hideBadgeInNav:f,isNeedsAttentionSourcesConfigured:h,isMyTasksSourcesConfigured:l};c=sc(a,9,Wca);c.size&&(b.workAreaQuickFilters=hsa(c));a=a.getCollapsedMap();a.size&&(b.collapsed=Object.fromEntries(a.entries()));return b},hsa=function(a){var b={};a=k(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=
d.next().value;d=d.next().value;b[c]=isa[d]}return b},usa=function(a){var b=new ck;a.showFullHistory!=null&&dk(b,1,a.showFullHistory);a.useCodefont!=null&&dk(b,2,a.useCodefont);a.resultsPerPage!=null&&ek(b,5,a.resultsPerPage);a.displayColumns!=null&&b.setDisplayColumns(jsa(a.displayColumns));if(a.sortColumns!=null){var c=ksa(a.sortColumns);X(b,fk,6,c)}a.bannerMessageId!=null&&gk(b,7,a.bannerMessageId);if(a.notificationPreferences!=null){c=a.notificationPreferences;var d=new Tra;d=hk(d,1,ik[c.reportedPriority]);
d=hk(d,2,ik[c.assignedPriority]);d=hk(d,3,ik[c.verifiedPriority]);d=hk(d,4,ik[c.ccdPriority]);d=hk(d,9,ik[c.collaboratorPriority]);d=hk(d,5,ik[c.starredPriority]);d=dk(d,6,c.excludeChangesByMe);d=dk(d,7,c.unsubscribeFromAll);c=dk(d,8,c.unsubscribeFromAll);X(b,Tra,3,c)}a.listViewPreferences!=null&&(c=a.listViewPreferences,d=new Ura,d=dk(d,1,c.showHotlists),d=dk(d,2,c.wrapTitles),d=dk(d,3,c.wrapComponents),d=dk(d,4,c.showStatusIcons),d=dk(d,5,c.rtlComponentPath),c.fieldStatus!=null&&jk(c.fieldStatus,
sc(d,6,Vb)),c.modeForField!=null&&jk(c.modeForField,sc(d,7,Vb)),X(b,Ura,9,d));a.layoutPreferences!=null&&(c=a.layoutPreferences,d=new lsa,c.leftSidebarWidth!=null&&ek(d,1,c.leftSidebarWidth),c.expandIssueSlo!=null&&dk(d,2,c.expandIssueSlo),c.rightSidebarWidth!=null&&ek(d,3,c.rightSidebarWidth),X(b,lsa,10,d));a.dateTimePreferences!=null&&(c=a.dateTimePreferences,d=new kk,d=gk(d,1,c.calendarFormat),d=gk(d,2,c.timeFormat).setTimeZone(c.timeZone),c=hk(d,7,msa[c.sloEtaViewAs]),X(b,kk,11,c));a.themePreferences!=
null&&(c=a.themePreferences,c=(new Lj).setDensity(nsa[c.density]),X(b,Lj,8,c));if(a.homepagePreferences!=null){c=a.homepagePreferences;d=new osa;if(c.resourceType!=null){var e=psa(c.resourceType);hk(d,1,e)}c.resourceId!=null&&lk(d,2,c.resourceId);X(b,osa,13,d)}a.keyboardPreferences!=null&&(c=a.keyboardPreferences,d=new Yra,c=dk(d,1,c.enableAllHotkeys),X(b,Yra,17,c));a.newFeaturesAcknowledgedMillis!=null&&lk(b,16,a.newFeaturesAcknowledgedMillis);a.autoCcOnComment!=null&&dk(b,18,a.autoCcOnComment);
a.textDisplayPreferences!=null&&(c=a.textDisplayPreferences,d=new Pj,c.commentDisplayOverride&&d.setCommentDisplayOverride(mk[c.commentDisplayOverride]),c.lastPublishMode&&d.setLastPublishMode(mk[c.lastPublishMode]),X(b,Pj,20,d));a.commentFormattingPreferences!=null&&(c=a.commentFormattingPreferences,d=new Rj,c.commentCreateOverride&&hk(d,3,mk[c.commentCreateOverride]),c.commentDisplayOverride&&d.setCommentDisplayOverride(mk[c.commentDisplayOverride]),c.lastPublishMode&&d.setLastPublishMode(mk[c.lastPublishMode]),
X(b,Rj,33,d));a.bugScreensaverPreferences!=null&&(c=a.bugScreensaverPreferences,d=new Sj,c.enableBugScreensaver!=null&&dk(d,1,c.enableBugScreensaver),c.announcementDismissed!=null&&dk(d,2,c.announcementDismissed),X(b,Sj,21,d));a.g3nPreferences!=null&&(c=a.g3nPreferences,d=new Tj,c.announcementDismissedMillis!=null&&nk(d,1,c.announcementDismissedMillis),X(b,Tj,24,d));a.teamWarningPreferences!=null&&(c=qsa(a.teamWarningPreferences),X(b,Zra,23,c));if(a.dismissalTimestamps!=null)for(d=a.dismissalTimestamps,
c=tc(b,25,wj,Vb),d=k(Object.entries(d)),e=d.next();!e.done;e=d.next()){var f=k(e.value);e=f.next().value;var h=f.next().value;f=c;var l=f.set;h=(new wj).fromMillis(h.getTime());l.call(f,e,h)}a.collapsed!=null&&jk(a.collapsed,b.getCollapsedMap());a.showRecentEventsFirst!=null&&dk(b,26,a.showRecentEventsFirst);a.showInlineImages!=null&&dk(b,29,a.showInlineImages);a.commentFilterPreferences!=null&&(d=a.commentFilterPreferences,c=new Xj,d.commentFilter!=null&&(d=rsa(d.commentFilter),hk(c,1,d)),X(b,Xj,
28,c));if(a.missionControlPreferences!=null){c=a.missionControlPreferences;d=new Yj;c.workAreaUrls&&dj(d,1,c.workAreaUrls);c.collapsed&&jk(c.collapsed,d.getCollapsedMap());if(c.workAreaQuickFilters){e=c.workAreaQuickFilters;f={};l=k(Object.keys(e));for(h=l.next();!h.done;h=l.next())h=h.value,f[h]=ssa[e[h]];jk(f,sc(d,9,Wca))}c.myTasksTab!=null&&ek(d,3,c.myTasksTab);c.workAreaTab!=null&&ek(d,4,c.workAreaTab);c.myTasksDaysOld!=null&&ek(d,6,c.myTasksDaysOld);c.needsAttentionDaysOld!=null&&ek(d,5,c.needsAttentionDaysOld);
c.needsAttentionSources&&(e=c.needsAttentionSources.map(tsa),ok(d,7,e));c.myTasksSources&&(e=c.myTasksSources.map(tsa),ok(d,8,e));c.hideBadgeInNav!=null&&dk(d,10,!!c.hideBadgeInNav);c.isNeedsAttentionSourcesConfigured!=null&&dk(d,11,!!c.isNeedsAttentionSourcesConfigured);c.isMyTasksSourcesConfigured!=null&&dk(d,12,!!c.isMyTasksSourcesConfigured);X(b,Yj,31,d)}a.scopePreferences!=null&&(a=a.scopePreferences,c=new Zj,c=pk(c,1,a.starredTeams),a.lastAutomaticStarsUpdate&&(a=xj(a.lastAutomaticStarsUpdate),
X(c,wj,2,a)),X(b,Zj,32,c));return b},jsa=function(a){return(new qk).setColumnList(a.column.map(function(b){return vsa(b)}))},vsa=function(a){var b=(new rk).setType(wsa[a.type]);a.customFieldId!=null&&b.setCustomFieldId(a.customFieldId);return b},ksa=function(a){return(new fk).setColumnList(a.column.map(function(b){var c=(new sk).setColumn(vsa(b.column));a:switch(b=b.order,b){case "ASCENDING":b=1;break a;case "DESCENDING":b=2;break a;default:b=xb(b,"Unknown sortOrder: "+b)}return hk(c,2,b)}))},psa=
function(a){switch(a){case "HOTLIST":return 1;case "SAVED_SEARCH":return 2;case "BOOKMARK_GROUP":return 3;case "MISSION_CONTROL":return 5;case "ASSIGNED_TO_ME":return 6;default:return xb(a,"Unknown resourceType: "+a)}},qsa=function(a){var b=new Zra;a.componentTeamWarnings!=null&&xsa(b,a.componentTeamWarnings.map(function(c){var d=new Wj;c.componentId&&d.setComponentId(c.componentId);c.dismissMillis&&nk(d,2,c.dismissMillis);return d}));return b},rsa=function(a){switch(a){case "FULL_HISTORY":return 0;
case "ALL_COMMENTS":return 1;case "HUMAN_ONLY":return 2;case "TEAM_AND_ASSIGNEE":return 3;default:return xb(a,"Unknown commentFilterType: "+a)}},tsa=function(a){return ysa[a]},jk=function(a,b){a=k(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}},zsa=function(a){a=Tc(a).toString();var b=new tk;gk(b,2,a);return b},vk=function(a){if(!a)return null;a=uk(a,2);return a===null||a===void 0?null:Rc(a)},Asa=function(a){if(!a)return null;
a=uk(a,3);return a===null||a===void 0?null:new Kc(a)},Dsa=function(){wk==null&&(wk=new Bsa(Csa.buganizerSessionJspb));Oj(wk,xk,2)||wk.setConfig(new xk);if(!Oj(wk,yk,9)){var a=wk,b=new yk;X(a,yk,9,b)}wk.hasUser()||wk.setUser(new zk);Oj(wk,ck,7)||(a=wk,b=new ck,X(a,ck,7,b));return wk},Ak=function(){return new Esa},Fsa=function(a){var b=1E3;b=b===void 0?150:b;var c,d=[];return function(e){d.push(e);c&&clearTimeout(c);c=setTimeout(function(){a(d);d=[];c=void 0},b)}},Gsa=function(a){function b(){var e,
f,h,l;return ve(function(q){if(q.nextAddress==1){if(d||c.length===0)return q.return();d=!0;e=[].concat(w(c));c=[];f=k(e);h=f.next()}if(q.nextAddress!=3){if(h.done)return d=!1,xe(q,b(),0);l=h.value;return xe(q,a.apply(null,w(l.args)).then(l.returnValue.resolve).catch(l.returnValue.reject),3)}h=f.next();return q.jumpTo(2)})}var c=[],d=!1;return function(){var e=zd.apply(0,arguments),f=new Esa;c.push({args:e,returnValue:f});b();return f.promise}},Bk=function(a){var b=!1;return function(){var c=zd.apply(0,
arguments);if(!b)return b=!0,a.apply(null,w(c))}},Hsa=function(a){return a},Dk=function(a){return function(){var b=Ck.getItem(a);if(b==null)return!1;try{return!!JSON.parse(b)}catch(c){return console.warn("getBooleanAt() JSON.parse("+a+") failed"),console.warn(c),!1}}},Ek=function(a){return function(b){b===!0?Ck.setItem(a,"1"):Ck.removeItem(a)}},Isa=function(a){return a&&typeof a==="object"&&"overrideUntilDate"in a&&"flagName"in a&&"value"in a?!0:!1},Jsa=function(a){return{overrides:a.overrides.filter(function(b){return b.overrideUntilDate?
Date.parse(b.overrideUntilDate)>Date.now():!0})}},Ksa=function(){console.warn("Local flag overrides only apply to the client runtime (TypeScript), and do not have an effect on any flag values on the Front End server or API.")},Osa=function(){if(Lsa("flag-overrides")()){var a=Msa("flag-overrides")();if(a&&typeof a==="object"&&"overrides"in a&&Array.isArray(a.overrides)&&a.overrides.every(Isa))return Jsa(a);Nsa();console.warn("Could not parse flag overrides.")}},Nsa=function(){Fk("flag-overrides")()},
Psa=function(a,b){var c=new Date(Date.now()+864E5);c=c===void 0?null:c;Ksa();var d,e=((d=Osa())==null?void 0:d.overrides)||[];Fk("flag-overrides")({overrides:[].concat(w(e.filter(function(f){return f.flagName!==a})),[{flagName:a,value:b,overrideUntilDate:c}])})},Qsa=function(a,b){Psa(a,b)},Rsa=function(a){Ksa();var b,c=((b=Osa())==null?void 0:b.overrides)||[];Fk("flag-overrides")({overrides:c.filter(function(d){return d.flagName!==a})})},Jk=function(){if(Ssa==null){Tsa();var a=Dsa();var b=a.hasUser()?
a.getUser():new zk;b=Fj(b,4)?{anonymous:!0,email:null,userTypeLabel:"ANONYMOUS",sessionIdentifier:""}:{anonymous:!1,email:b.getEmail(),userTypeLabel:b.getUserTypeLabel(),sessionIdentifier:b.getSessionIdentifier()};var c=Oj(a,xk,2)?a.getConfig():new xk;for(var d=new Map,e=k(sc(c,4,Sb).entries()),f=e.next();!f.done;f=e.next()){var h=k(f.value);f=h.next().value;h=h.next().value;d.set(f,h)}c={appName:c.getAppName(),documentationBaseUrl:c.getDocumentationBaseUrl(),enabledFlags:d,environmentType:c.getEnvironmentType(),
onePickUrl:c.getOnePickUrl(),onePickSecretToken:c.getOnePickSecretToken(),commentNumberLimit:c.getCommentNumberLimit(),createComponentRedirectDelay:c.getCreateComponentRedirectDelay(),createRestrictedSubresourcesComponentIds:lj(c,13,Wi(Xi)),indefiniteRetentionComponentsAllowlist:lj(c,20,Wi(Xi)),trustedEmailDomainsAllowlist:Vi(c,22,Wi(Xi)),helpMeFixSidebarComponentAllowlist:lj(c,23,Wi()),internalBaseUrl:c.getInternalBaseUrl(),externalBaseUrl:c.getExternalBaseUrl()};d=dsa(Oj(a,ck,7)?a.getUserPreferences():
new ck);f=Oj(a,yk,9)?W(a,yk,9):new yk;e=nj(f,Gk,1,Wi()).map(zra);Oj(f,Hk,2)?(f=f.getAnnouncement(),f={message:f.getMessage(),messageId:f.getMessageId(),dismissible:Fj(f,3),tags:f.getTagsList(Xi)}):f=null;e={timezones:e,announcement:f};f=a.getXsrfToken();h=a.getCspNonce();var l=a.getFrontendAccessMode(),q=a.getMustAcknowledgeTerms(),v=a.getShowNewFeaturesDialog(),y=a.getAppBaseHref(),E=Oj(a,Ik,11)?Fra(a.getTracker()):null,H;Oj(a,Usa,12)?(H=a.getPassiveLoginIframeUrl())?(H=uk(H,4),H=H===null||H===void 0?
null:Ic(H)):H=null:H=null;Ssa={user:b,config:c,xsrfToken:f,cspNonce:h,frontendAccessMode:l,mustAcknowledgeTerms:q,showNewFeaturesDialog:v,userPreferences:d,preload:e,appBaseHref:y,tracker:E,passiveLoginIframeUrl:H,userRequiresCaptcha:Fj(a,13)}}return Ssa},Vsa=function(){return(Jk().frontendAccessMode||"INTERNAL")==="INTERNAL"},Kk=function(a){a=a.config.environmentType||"QA";switch(a){case "NIGHTLY":case "PROD":return!0;case "QA":case "DEV":return!1;default:xb(a,"Unknown environment type.")}},Wsa=
function(a,b){return(b===void 0?0:b)?"https://"+a.host+"-review.git.corp.google.com/c/"+a.repo+"/+/"+a.changeNumber:"https://"+a.host+"-review.googlesource.com/c/"+a.repo+"/+/"+a.changeNumber},Lk=function(a){var b=a.match(Xsa);if(b){a=b[1];var c=b[2];b=b[3];if(a&&c&&b)return{host:a,repo:c,changeNumber:Number(b),state:"MERGED"}}},$sa=function(a,b){a=a.map(Ysa)||[];b=b.map(Ysa)||[];return hra(a,new Set(b)).map(Zsa)},Ysa=function(a){return a.host+","+a.repo+","+a.changeNumber+","+a.state},Zsa=function(a){var b=
k(a.split(","));a=b.next().value;var c=b.next().value,d=b.next().value;b=b.next().value;d=hj(d);if(!d)throw Error("Bb");if(!Object.values(ata).includes(b))throw Error("Cb");return{host:a,repo:c,changeNumber:d,state:b}},bta=function(a){if(a.match(/^(https:\/\/|http:\/\/)?(cl)\/[\d]+/)||a.match(/^(https:\/\/|http:\/\/)?(cr)\/[\d]+/)||a.match(/^(https:\/\/|http:\/\/)?(critique\.corp\.google\.com)/)||a.match(/^(https:\/\/|http:\/\/)?(critique-ng\.corp\.google\.com)/))a=a.replace(/^.*\//,"");return a.match(/^[1-9]\d{0,19}$/)?
a:null},Mk=function(a){Tsa();var b,c;return(c=(b=Dsa().getConfig())==null?void 0:sc(b,4,Sb).get(a))!=null?c:!1},cta=function(a,b){b=b===void 0?Mk("enableGerritChanges"):b;var c;return ve(function(d){return b?(c=a&&(!!bta(a)||!!Lk(a)))?d.return(""):d.return("Must be a CL number or Gerrit URL"):d.return("")})},eta=function(a){return a==null?!1:dta.has(a.name)},fta=function(a){return(a==null?void 0:a.name)==="hotlist"},gta=function(a){return a==null?!1:a.href!=null&&a.value!=null},hta=function(a){return Array.isArray(a)?
a.every(gta):!1},Nk=function(a){return{value:String(a),href:"issues/"+a}},ita=function(a){return{value:a,href:"https://critique.corp.google.com/"+a}},jta=function(a){var b=Vsa();return{value:a.changeNumber,href:Wsa(a,b===void 0?!1:b)}},kta=function(a){return{value:String(a),href:"issues?q=hotlistid:"+a}},lta=function(a){return{value:a,href:"https://pm.corp.google.com/"+a}},ota=function(a,b){var c=new Map(a.filter(function(v){return v.placeholder}).map(function(v){var y;return[(y=Ok[v.placeholder.role])!=
null?y:"",v.placeholder.count]})),d=new Map(b.filter(function(v){return v.placeholder}).map(function(v){var y;return[(y=Ok[v.placeholder.role])!=null?y:"",v.placeholder.count]}));a=new Map(a.filter(function(v){return v.user}).map(function(v){var y,E;return[(y=Ui(v.user.user))!=null?y:"",(E=mta[v.allocation.involvement])!=null?E:""]}));var e=new Map(b.filter(function(v){return v.user}).map(function(v){var y,E;return[(y=Ui(v.user.user))!=null?y:"",(E=mta[v.allocation.involvement])!=null?E:""]}));b=
[];for(var f=[],h=k(c),l=h.next();!l.done;l=h.next()){var q=k(l.value);l=q.next().value;q=q.next().value;l.length!==0&&l!==Ok.JOB_ROLE_UNSPECIFIED&&(d.has(l)?d.get(l)!==q&&b.push(l+" ("+d.get(l)+" > "+q+")"):b.push(l+" ("+q+")"))}d=k(d);for(h=d.next();!h.done;h=d.next())l=k(h.value),h=l.next().value,l=l.next().value,h.length!==0&&h!==Ok.JOB_ROLE_UNSPECIFIED&&(c.has(h)||f.push(h+" ("+l+")"));c=k(a);for(d=c.next();!d.done;d=c.next())h=k(d.value),d=h.next().value,h=h.next().value,d.length!==0&&(e.has(d)?
(l=void 0,q=(l=e.get(d))!=null?l:"",q!==h&&b.push(d+nta(h,q))):b.push(d+nta(h)));e=k(e);for(c=e.next();!c.done;c=e.next())d=k(c.value),c=d.next().value,d=d.next().value,c.length!==0&&(a.has(c)||f.push(c+nta(d)));return{additions:b,removals:f}},nta=function(a,b){return b===a?"":b&&b.length>0&&a.length>0&&b!==Ok.JOB_ROLE_UNSPECIFIED&&a!==Ok.JOB_ROLE_UNSPECIFIED?" ("+b+" > "+a+")":a.length>0&&a!==Ok.JOB_ROLE_UNSPECIFIED?" ("+a+")":""},Pk=function(a){return!!a&&pta.test(a)&&!qta.test(a)},tta=function(a){a=
a===void 0?"":a;return!rta(a)||a.endsWith("-robots@google.com")||sta(a)},sta=function(a){return uta.some(function(b){return a.endsWith(b)})},rta=function(a){return!a.endsWith("@prod.google.com")&&!a.endsWith("@appspot.gserviceaccount.com")},Rk=function(a){return Qk(a,Hsa)},Qk=function(a,b){var c={};return a.filter(function(d){d=String(b(d));return c[d]?!1:c[d]=!0})},vta=function(a){return function(b){return Qk(b,a)}},wta=function(a,b){return a.map(function(c,d){return[c,b[d]]})},xta=function(a,b){var c=
a===void 0?[]:a;a=b===void 0?[]:b;if(c.length===0)return a;b=a.filter(function(d){return c.indexOf(d)<0});return b.length===a.length?a:b},yta=function(a,b){if(a.length!==b.length)return!1;a=[].concat(w(a)).sort();b=[].concat(w(b)).sort();return a.every(function(c,d){return c===b[d]})},zta=function(a,b){if(a.length===0)return b;b=b.slice();b=xta(a,b);return[].concat(w(a),w(b))},Ata=function(a,b){var c=new Set(a),d=new Set(b);return{added:b.filter(function(e){return!c.has(e)}),removed:a.filter(function(e){return!d.has(e)})}},
Bta=function(a,b){a=nra(a,b);return[].concat(w(a.values()))},Cta=function(a){for(var b=[],c=0;c<a.length;c+=100)b.push(a.slice(c,c+100));return b},Dta=function(a){var b=a.reduce(function(c,d){c[d]=~~c[d]+1;return c},{});return Object.keys(b).sort(function(c,d){return b[d]-b[c]})},Sk=function(a){return a?a.seconds*1E3+a.nanos/1E6:0},Tk=function(a){var b=a+" day"+(a>1?"s":"");if(a<365)return b;a=Math.round(a/365*10)/10;return b+" (~"+(a+" year"+(a>1?"s":""))+")"},Eta=function(a){if(a){var b=new Uk;
b.setTime(a.getTime());return b}},Fta=function(a){if(a!=null)return new Date(a.year,a.month-1,a.day)},Gta=function(a){if(a==null)return"";var b=a.toLocaleDateString(void 0,{dateStyle:"medium"});return(new Date).getFullYear()===a.getFullYear()?b.split(", ")[0]:b},Hta=function(a){return a==null?!1:Date.now()>Sk(a)},Vk=function(a,b){return(a!=null?a:0)+(b!=null?b:0)},Ita=function(a){return a.length===0?0:a.reduce(Vk)/a.length},Jta=function(a,b){b=b===void 0?Ita(a):b;if(a.length===0)return 0;a=a.map(function(c){return Math.pow(c-
b,2)}).reduce(Vk)/(a.length-1);return Math.sqrt(a)},Wk=function(a,b){if(a<5)return!1;if(!Kta.get(b)){var c=Ita(b),d=Jta(b,c);Kta.set(b,{mean:c,stdDev:d})}b=Kta.get(b);return a-b.mean>b.stdDev*2},Xk=function(a){return!(a==null||!a.commentNumber)},Yk=function(a){var b;return((b=a.attachments)==null?void 0:b.length)>0},Lta=function(a,b){return Object.assign({},a,{commentRedacted:b.redacted,unlinkifiedComment:b.unlinkifiedComment,formattedComment:b.formattedComment})},Mta=function(a,b,c){var d=a.findIndex(function(f){return f.commentNumber===
b}),e=a[d];if(e==null)return a;c=Object.assign({},e,c);return[].concat(w(a.slice(0,d)),[c],w(a.slice(d+1)))},Zk=function(a){var b;return a==null?void 0:(b=a.snapshot)==null?void 0:b[0]},Nta=function(a){var b;return Ri((b=Zk(a))==null?void 0:b.assigneeUser)||void 0},Ota=function(a){if(a==null)return"";var b,c,d,e,f=a.etag,h=a.piiRetention;var l=a.piiRetentionState;l=l==null?"":[JSON.stringify(l.retentionPeriod),JSON.stringify(l.scheduledDeletionTime)].join("-");return[f,h,l,(b=a.entityStatus)==null?
void 0:b.reason,(c=a.entityStatus)==null?void 0:c.status,(d=a.contentVerdict)==null?void 0:(e=d.piiVerdict)==null?void 0:e.severity].join("-")},Pta=function(a){if(a==null)return"";var b=a.attachments.map(Ota).join("-"),c=[];if(a.commentReactions&&a.commentReactions.size>0){var d,e=k((d=a.commentReactions)==null?void 0:d.entries());for(d=e.next();!d.done;d=e.next()){var f=k(d.value);d=f.next().value;f=f.next().value;c.push(d+"-"+f.count)}}c=c.join("-");var h,l;return[a.modifiedDate,a.version,"["+b+
"]",a.preDiffs.length,a.postDiffs.length,a.commentVersion,(h=a.commentContentVerdict)==null?void 0:(l=h.piiVerdict)==null?void 0:l.severity,a.commentDeletionStatus,a.commentRetention,"["+c+"]"].join("-")},Qta=function(a){return a.map(function(b){return b.commentNumber}).filter(kj).reduce(function(b,c){return Math.max(b,c)},1)},Rta=function(a,b){if(a===b)return!0;if(a==null||b==null||a.length!==b.length)return!1;for(var c=a.length-1;c>=0;c--){var d=a[c],e=b[c];if(d!==e&&(d==null||e==null||Pta(d)!==
Pta(e)))return!1}return!0},al=function(a){if(a==null||(a==null?0:a.isArchived))return!1;var b,c;a=a==null?void 0:(b=a.snapshot)==null?void 0:(c=b[0])==null?void 0:c.status;if(a==null)return!1;var d,e;return(e=(d=$k[a])==null?void 0:d.open)!=null?e:!1},Sta=function(a){if(a==null||a.isArchived)return!1;var b,c;a=a==null?void 0:(b=a.snapshot)==null?void 0:(c=b[0])==null?void 0:c.status;if(a==null)return!1;b=$k[a];return b==null?!1:!(b==null?0:b.open)},Uta=function(a){return Tta(a,"FIXED")},Tta=function(a,
b){if(a==null?0:a.isArchived)return!1;var c,d;return b===(a==null?void 0:(c=a.snapshot)==null?void 0:(d=c[0])==null?void 0:d.status)},bl=function(a){return a.isArchived==null?!1:!a.isArchived},Vta=function(a){if(!a)return!1;var b,c=(b=a.aggregatedData)==null?void 0:b.modifiedTimeMicros,d;a=(d=a.userData)==null?void 0:d.lastViewedTimeMicros;return!a||c&&a<c},Xta=function(){var a=cl;return Bj(function(b){var c,d;return(d=Wta[(c=a(b))==null?void 0:c.snapshot[0].status])!=null?d:0},Cj)},Yta=function(){var a=
cl;return Bj(function(b){var c,d;return(c=a(b))==null?void 0:(d=c.snapshot[0].assigneeUser)==null?void 0:d.emailAddress},Dj)},Zta=function(){var a=cl;return Bj(function(b){var c;return(c=a(b))==null?void 0:c.snapshot[0].type},Dj)},$ta=function(){var a=cl;return Bj(function(b){var c,d;return(c=a(b))==null?void 0:(d=c.snapshot[0].reporterUser)==null?void 0:d.emailAddress},Dj)},aua=function(a){return Bj(function(b){var c,d,e;return(e=(c=a(b))==null?void 0:(d=c.aggregatedData)==null?void 0:d.createdTimeMicros)!=
null?e:0},Cj)},bua=function(a){return Bj(function(b){var c,d,e;return(e=(c=a(b))==null?void 0:(d=c.aggregatedData)==null?void 0:d.modifiedTimeMicros)!=null?e:0},Cj)},dua=function(){return Bj(function(a){var b,c;return(c=a==null?void 0:(b=a.experimentalFields)==null?void 0:b.triage.triagerEmail)!=null?c:""},function(a,b){return a===cua?1:b!==cua&&a?b?Dj(a,b):1:-1})},eua=function(a){var b,c,d;return(d=a==null?void 0:(b=a.snapshot)==null?void 0:(c=b[0])==null?void 0:c.priority)!=null?d:"PRIORITY_UNSPECIFIED"},
gua=function(a){return Bj(function(b){return fua[eua(a(b))]},Cj)},hua=function(){var a=cl;return Bj(function(b){b=a(b);if(b==null)b=0;else{var c=b.descendantCount;b=c===0?0:(c-b.openDescendantCount)/c}return b},Cj)},iua=function(a,b){var c=Zk(a),d;a=[(d=a.aggregatedData)==null?void 0:d.lastModifier,c==null?void 0:c.reporterUser,c==null?void 0:c.assigneeUser,c==null?void 0:c.verifierUser].concat(w(b.map(function(e){return e.userPerformingActionUser})));return Qk(a.filter(kj),Ui)},jua=function(a,b){b=
iua(a,b);var c,d,e;a=(e=(c=Zk(a))==null?void 0:(d=c.ccUsers)==null?void 0:d.length)!=null?e:0;return b.length+a},dl=function(a){var b;return(a==null?void 0:(b=a.userPerformingActionUser)==null?void 0:b.emailAddress)==="piper-bugupdater@prod.google.com"},kua=function(a){var b;return(a==null?void 0:(b=a.userPerformingActionUser)==null?void 0:b.emailAddress)==="apphosting-stubby-api--s-7egoogle-2ecom-3agitwatcher@prod.google.com"},el=function(a){if(!kua(a))return!1;var b;return((b=a==null?void 0:a.unlinkifiedComment)!=
null?b:"").trim().split("\n").length>=9},lua=function(a){return function(b){var c,d;return((d=b==null?void 0:(c=b.snapshot[0])==null?void 0:c.customField)!=null?d:[]).find(function(e){return e.customFieldId===a})}},nua=function(a,b,c){b=mua.get(c)||new Set(c.map(function(e){return e.issueId}));mua.set(c,b);var d;a=k((d=a.parentIssueIds)!=null?d:[]);for(d=a.next();!d.done;d=a.next())if(b.has(d.value))return!1;return!0},pua=function(a,b){oua.get(b)||oua.set(b,[b.map(function(e){var f,h;return(h=e==
null?void 0:(f=e.userActivityStats)==null?void 0:f.oneDayViewCount)!=null?h:0}),b.map(function(e){var f,h;return(h=e==null?void 0:(f=e.userActivityStats)==null?void 0:f.sevenDayViewCount)!=null?h:0}),b.map(function(e){var f,h;return(h=e==null?void 0:(f=e.userActivityStats)==null?void 0:f.thirtyDayViewCount)!=null?h:0})]);var c=k(oua.get(b));b=c.next().value;var d=c.next().value;c=c.next().value;return Wk(b[a],b)||Wk(d[a],d)||Wk(c[a],c)},qua=function(a){if(a)return{issueId:a.issueId,version:a.version,
snapshot:a.snapshot,userData:a.userData,aggregatedData:a.aggregatedData,accessLimit:a.accessLimit,customFields:a.customFields,visibleFields:a.visibleFields,majorModifiedTimeMicros:a.majorModifiedTimeMicros,parentIssueIds:a.parentIssueIds,descendantCount:a.descendantCount,openDescendantCount:a.openDescendantCount,isArchived:a.isArchived,trackerId:a.trackerId,userActivityStats:a.userActivityStats,experimentalFields:a.experimentalFields}},rua=function(a,b){if(a&&b)return{issueId:a.issueId,version:a.version,
snapshot:a.snapshot,userData:a.userData,aggregatedData:a.aggregatedData,accessLimit:a.accessLimit,customFields:a.customFields,visibleFields:a.visibleFields,majorModifiedTimeMicros:a.majorModifiedTimeMicros,parentIssueIds:a.parentIssueIds,descendantCount:a.descendantCount,openDescendantCount:a.openDescendantCount,isArchived:a.isArchived,trackerId:a.trackerId,userActivityStats:a.userActivityStats,experimentalFields:a.experimentalFields,ancestors:b.ancestors,childIssueCount:b.childIssueCount,relatedLinks:b.relatedLinks,
statusUpdate:b.statusUpdate,description:b.description}},sua=function(a){if(!a)return"NEW";var b,c,d=(c=(b=a.experimentalFields)==null?void 0:b.triage.phase)!=null?c:"UNSPECIFIED",e;b=(e=a.snapshot[0])==null?void 0:e.status;if(al(a)&&(d==="NEW"||d==="UNSPECIFIED"))return"NEW";if(al(a)&&d==="CONFIRMED")return"CONFIRMED";if(al(a)&&d==="IN_PROGRESS")return"IN_PROGRESS";if(d==="FIXED"||b==="FIXED"||b==="VERIFIED")return"FIXED";if(d==="WONT_FIX"||b==="NOT_REPRODUCIBLE"||b==="INTENDED_BEHAVIOR"||b==="OBSOLETE"||
b==="INFEASIBLE")return"WONT_FIX";if(b!=="DUPLICATE")return"NEW"},tua=function(a){var b;if(((b=a.experimentalFields)==null?void 0:b.triage.subphase)==="REPORTER_RESPONDED")return!0;var c,d,e,f,h,l;return!!(((c=a.experimentalFields)==null?0:c.triage.needsInfo)&&((d=a.aggregatedData)==null?0:(e=d.lastModifier)==null?0:e.emailAddress)&&((f=a.snapshot[0].reporterUser)==null?0:f.emailAddress)&&((h=a.aggregatedData)==null?0:h.modifiedTimeMicros)&&((l=a.aggregatedData)==null?0:l.createdTimeMicros)&&a.snapshot[0].reporterUser.emailAddress===
a.aggregatedData.lastModifier.emailAddress&&(a.aggregatedData.modifiedTimeMicros-a.aggregatedData.createdTimeMicros)/1E3>6E4)},uua=function(a){return a==null?{closed:0,total:0}:{closed:a.descendantCount-a.openDescendantCount,total:a.descendantCount}},vua=function(a,b){if(a==null)return 0;var c=0;a=k(a.aggregatedStatus);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.issueIds===void 0?[]:d.issueIds;d.status===b&&(c+=e.length)}return c},wua=function(a){var b,c;return(c=a==null?void 0:(b=a.changelists)==
null?void 0:b.length)!=null?c:0},xua=function(a){var b;return(b=a==null?void 0:a.gerritChanges)!=null?b:[]},yua=function(a){if(a==null)return[];a=[].concat(w(a.assignees.map(function(b){return b.emailAddress})),w(a.collaborators.map(function(b){return b.emailAddress})),w(a.verifiers.map(function(b){return b.emailAddress})),w(a.reporters.map(function(b){return b.emailAddress}))).filter(kj);return Dta(a)},zua=function(a,b){var c;a=(c=a.componentPathInfo)==null?void 0:c.allCustomField;if(!a)return!0;
c=k(a);var d=c.next();for(a={};!d.done;a={customField:void 0},d=c.next())if(a.customField=d.value,a.customField.required){d=!!a.customField.typedDefaultValue;var e=void 0,f=void 0,h=(e=b)==null?void 0:(f=e.snapshot.customField)==null?void 0:f.some(function(l){return function(q){return q.customFieldId===l.customField.customFieldId}}(a));if(!d&&!h)return!1}return!0},Aua=function(a){var b=a.map(function(c){return c.detailedUserType});return b.includes("PUBLIC")?3:b.includes("EXTERNAL")?0:b.includes("TVC")?
4:a.map(function(c){return c.principalType}).includes("GROUP")?1:b.includes("UNRESTRICTED_GOOGLER")?5:2},Bua=function(a,b){switch(a){case 3:return"public user";case 0:return"external partner";case 4:return"restricted user (TVC)";case 5:return"user";default:return b?"user":"unknown user"}},Cua=function(a){var b=a.userPrincipals;var c=a.newEditors;var d=a.newImplicitUsers;var e=a.isExternalSession;var f=a.issueId;a=a.actionIssueId;b=Aua(b);return{title:"Allow "+(b===1?"members of the group to ":Bua(b,
e)+" to ")+(c.length===0?"comment?":"edit?"),content:"Adding "+d.join(", ")+" will allow "+(b===1?"all members of the group":"them")+" to "+(c.length===0?"comment on ":"edit ")+(f===a?"issue "+a:"canonical issue "+a)+"."}},Dua=function(a){a=a?a.taskResourceType==="DRIVE"?a.driveResource.fileType:a.taskResourceType:void 0;switch(a){case "CHANGELIST":return"critique-logo";case "LAUNCH":return"launch-logo";case "ISSUE":return"bug_report_24px";case "DOCUMENT":return"drive-doc";case "SPREADSHEET":return"drive-sheet";
case "PRESENTATION":return"drive-slide";case "GERRIT":return"gerrit-logo";default:return"link"}},Eua=function(a,b){return b.length?a.filter(function(c){return[].concat(w(b)).some(function(d){return d.check(c)})}):a},Fua=function(a,b){return b.length?a.filter(function(c){return[].concat(w(b)).every(function(d){return d.check(c)})}):a},il=function(a){switch(fl(a,gl)){case 0:throw Error("Fb");case 1:return{user:gj(a.getUser())};case 2:return{group:gj(a.getGroup())};case 3:return{alias:hl(a,3,gl)};default:throw Error("Gb");
}},ll=function(a){var b=new jl;lra(a)&&b.setUser(fj(a.user));a.group!==void 0&&b.setGroup(fj(a.group));a.alias!==void 0&&kl(b,3,gl,a.alias);return b},Gua=function(a){var b=new ml;switch(a){case "ACCESS_LEVEL_UNSPECIFIED":b.setAccessLevel(0);break;case "LIMIT_NONE":b.setAccessLevel(1);break;case "LIMIT_VIEW":b.setAccessLevel(2);break;case "LIMIT_APPEND":b.setAccessLevel(3);break;case "LIMIT_VIEW_TRUSTED":b.setAccessLevel(4);break;default:throw Error("Jb");}return b},Hua=function(a){switch(a.getAccessLevel()){case 0:return"ACCESS_LEVEL_UNSPECIFIED";
case 1:return"LIMIT_NONE";case 2:return"LIMIT_VIEW";case 3:return"LIMIT_APPEND";case 4:return"LIMIT_VIEW_TRUSTED";default:throw Error("Jb");}},Jua=function(a){if(a)return{accessLevel:Iua[a.getAccessLevel()]}},Lua=function(a){return(new nl).setAccessLevel(Kua[a.accessLevel])},Oua=function(a){if(a)return(a=W(a,Mua,1))?(a=a.getSeverity(),a={piiVerdict:a?{severity:Nua(a)}:{severity:"NONE_DETECTED"}}):a={piiVerdict:{severity:"NONE_DETECTED"}},a},Nua=function(a){switch(a){case 0:case 1:return"NONE_DETECTED";
case 2:return"RESTRICTED";case 3:return"RESTRICTED_PLUS";default:throw Error("Kb`"+a);}},Pua=function(a){switch(a){case "RESTRICTION_SEVERITY_UNSPECIFIED":case "NONE_DETECTED":return 1;case "RESTRICTED":return 2;case "RESTRICTED_PLUS":return 3;default:throw Error("Kb`"+a);}},Qua=function(a){var b=new ol;b=pl(b,1,a.contentJudgementId).setResourcePath(a.resourcePath);var c=Pua(a.severity);b=ej(b,3,c);b=cj(b,4,a.judgementReason);return cj(b,8,a.contentJudge)},Rua=function(a){return{contentJudgementId:Vj(a,
1)?String(Vj(a,1)):void 0,resourcePath:a.getResourcePath()||void 0,severity:Nua(a.getRestrictionSeverity()),judgementReason:Gh(a,4),contentJudge:Gh(a,8)}},Sua=function(a){var b=new ol;var c=Pua(a.severity);b=ej(b,3,c);return cj(b,4,a.judgementReason)},Uua=function(a){if(a){a:{var b=a.getStatus();switch(b){case 0:b="ACTIVE";break a;case 1:b="DELETED";break a;case 2:b="PURGED";break a;default:throw Error("Lb`"+b);}}return{status:b,reason:Tua(a.getReason())}}},Tua=function(a){switch(a){case 0:return"UNSPECIFIED";
case 1:return"USER_REQUEST";case 2:return"ABUSE";case 3:return"RESTRICTED";case 4:return"RETENTION";case 5:return"ACCOUNT_CAPABILITIES";default:throw Error("Mb`"+a);}},Vua=function(a){switch(a){case "DELETION_REASON_UNSPECIFIED":return"UNSPECIFIED";case "USER_REQUEST":return"USER_REQUEST";case "ABUSE":return"ABUSE";case "RESTRICTED":return"RESTRICTED";case "RETENTION":return"RETENTION";case "ACCOUNT_CAPABILITIES":return"ACCOUNT_CAPABILITIES";default:throw Error("Mb`"+a);}},Wua=function(a){if(a!=null){var b,
c;return{retentionPeriod:(b=Ora(a.getRetentionPeriod()))!=null?b:null,scheduledDeletionTime:(c=vj(W(a,wj,2)))!=null?c:null}}},Yua=function(a){return{retentionSelection:Xua[Kj(a,1,0)],retentionPeriodDays:Zi(a,2),piiRetentionSelection:Xua[Kj(a,3,0)],piiRetentionPeriodDays:Zi(a,4),spiiRetentionPeriodDays:Zi(a,5)}},$ua=function(a){var b=new ql;b=ej(b,1,Zua[a.retentionSelection]);b=uj(b,2,a.retentionPeriodDays);b=ej(b,3,Zua[a.piiRetentionSelection]);b=uj(b,4,a.piiRetentionPeriodDays);return uj(b,5,a.spiiRetentionPeriodDays)},
ava=function(a){switch(a){case 0:return"RETENTION_UNSPECIFIED";case 1:return"COMPONENT_DEFAULT";case 2:return"INDEFINITE";default:throw Error("Nb`"+a);}},bva=function(a){switch(a){case "RETENTION_UNSPECIFIED":return 0;case "COMPONENT_DEFAULT":return 1;case "INDEFINITE":return 2;default:throw Error("Nb`"+a);}},dva=function(a){var b=hj(a.getAttachmentId_asLegacyNumberOrString());var c=a.getFilename();var d=Vj(a,3)||void 0,e=Gh(a,2);c=c&&e?{filename:c,length:d,contentType:e}:void 0;return{attachmentId:b,
media:c,contentType:Gh(a,2),filename:a.getFilename(),length:Vj(a,3),etag:cva(a.getEtag())||"",contentVerdict:Oua(a.getContentVerdict()),entityStatus:Uua(a.getEntityStatus()),piiRetentionState:Wua(a.getRestrictedRetentionState()),piiRetention:ava(a.getRestrictedRetention())}},fva=function(a){var b=new rl;var c=new eva;a=a?new gb(a,hb):fb();c=sl(c,2,a);b=X(b,eva,5,c);c=b.setEntityStatus;a=new tl;a=a.setStatus.call(a,0).setReason(0);return c.call(b,a)},gva=function(a){return["REPEATED_TEXT","REPEATED_DATE",
"REPEATED_ENUM","REPEATED_NUMERIC"].includes(a.type)},iva=function(a){if(a!=null)return{customFieldId:jj(hj(a.getCustomFieldId_asLegacyNumberOrString())),standardField:hva[Kj(a,ul(a,vl,2),0)]}},kva=function(a){var b=new wl;a.customFieldId?b.setCustomFieldId(a.customFieldId):a.standardField&&xl(b,2,vl,Eca(jva[a.standardField]));return b},lva=function(a){if(a){var b=hj(a.getCustomFieldId_asLegacyNumberOrString());if(b==null)sj("No customFieldId. customFieldValueToJs");else{b={customFieldId:b,displayValues:nj(a,
tk,11,Wi()).map(function(H){return Tc(vk(H)).toString()})};switch(a.getValueCase()){case 2:b.textValue=jj(hl(a,2,yl));break;case 3:b.dateValue=Lra(a.getDateValue());break;case 4:b.enumValue=jj(hl(a,4,yl));break;case 5:b.numericValue=jj(zl(a,ul(a,yl,5)));break;case 6:var c,d;b.repeatedTextValue={values:(d=(c=Al(a,Bl,6,yl))==null?void 0:c.getValuesList(Xi))!=null?d:[]};break;case 8:var e,f;b.repeatedEnumValue={values:(f=(e=Al(a,Bl,8,yl))==null?void 0:e.getValuesList(Xi))!=null?f:[]};break;case 9:var h,
l;b.repeatedNumericValue={values:(l=(h=Al(a,Cl,9,yl))==null?void 0:h.getValuesList(Xi))!=null?l:[]};break;case 7:var q,v,y,E;b.repeatedDateValue={values:(E=(q=Al(a,Dl,7,yl))==null?void 0:(v=q.getValuesList())==null?void 0:(y=v.map(Lra))==null?void 0:y.filter(kj))!=null?E:[]}}return b}}},mva=function(a){var b=(new El).setCustomFieldId(a.customFieldId);a.textValue!=null?kl(b,2,yl,a.textValue):a.dateValue!=null?(a=Mra(a.dateValue),Fl(b,3,yl,a)):a.enumValue!=null?kl(b,4,yl,a.enumValue):a.numericValue!=
null?xl(b,5,yl,yb(a.numericValue)):a.repeatedTextValue!=null?(a=(new Bl).setValuesList(a.repeatedTextValue.values),Fl(b,6,yl,a)):a.repeatedEnumValue!=null?(a=(new Bl).setValuesList(a.repeatedEnumValue.values),Fl(b,8,yl,a)):a.repeatedNumericValue!=null?(a=(new Cl).setValuesList(a.repeatedNumericValue.values),Fl(b,9,yl,a)):a.repeatedDateValue!=null&&(a=(new Dl).setValuesList(a.repeatedDateValue.values.map(Mra)),Fl(b,7,yl,a));return b},pva=function(a){var b=a.getCustomFieldId_asLegacyNumberOrString(),
c=nva[a.getType()],d=!!Fj(a,4),e=a.getName(),f=a.getDescription()||"",h=lva(W(a,El,10));var l=Vi(a,8,Wi(Xi));b={customFieldId:b,type:c,required:d,name:e,description:f,typedDefaultValue:h,allowedValue:l,fieldSignificance:ova[Kj(a,9,0)],shared:a.getShared(),stateOnIssues:"INHERIT",enabledOnIssues:!0};a.getComponentId_asLegacyNumberOrString()&&(b.componentId=hj(a.getComponentId_asLegacyNumberOrString()));return b},qva=function(a){return pva(a)},tva=function(a){var b=new Gl;a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));
b.setComponentId(String(a.componentId));b.setType(rva[a.type]);Hl(b,4,a.required);b.setName(a.name);b.setDescription(a.description);if(a.typedDefaultValue){var c=mva(a.typedDefaultValue);X(b,El,10,c)}a.allowedValue&&dj(b,8,a.allowedValue);a.fieldSignificance&&b.setFieldSignificance(sva[a.fieldSignificance]);b.setShared(a.shared);return b},uva=function(a){return{specId:Vj(a,1),estimate:Gh(a,2),averageDays:zl(a,3),totalOpen:zl(a,4),totalComplete:zl(a,5)}},Ava=function(a){var b=new Il;a.inherit&&b.setInherit(a.inherit);
a.id&&b.setId(a.id);a.name&&b.setName(a.name);a.customFieldId&&b.setCustomFieldId(a.customFieldId);a.numericSpec&&vva(b,wva(new xva,a.numericSpec.multiplier));if(a.enumSpec){var c;yva(b,zva(new Jl,((c=a.enumSpec.options)!=null?c:[]).map(function(d){return(new Kl).setLabel(d.label).setValue(d.value)})))}if(a.aggregationType){a:switch(a.aggregationType){case "MAX":a=2;break a;case "SUM":a=1;break a;default:a=0}ej(b,6,a)}return b},Ml=function(a){var b=void 0,c=a.getContentVerdict();c&&(b=Oua(c));c=void 0;
var d=a.getFormattedComment();d&&(c=Bva(d));d=void 0;var e=W(a,bj,3);e&&(d=gj(e));e=void 0;var f=a.getEtag();f&&(e=cva(f));f=void 0;var h=a.getEntityStatus();h&&(f=Uua(h));h=void 0;var l=a.getRestrictedRetentionState();l&&(h=Wua(l));return{issueId:String(a.getIssueId_asLegacyNumberOrString()),commentNumber:a.getCommentNumber(),commentContentVerdict:b,formattingMode:Cva(a.getFormattingMode()),formattedComment:c,lastEditorUser:d,lastModified:Aj(a.getModifiedTime()),version:a.getVersion(),unlinkifiedComment:a.getComment(),
entityStatus:f,piiRetentionState:h,piiRetention:ava(a.getRestrictedRetention()),redacted:Fj(a,13),etag:e,commentReactions:Dva(W(a,Ll,17))}},Bva=function(a){if(Nl(a,Eva,1,Ol)){var b=Al(a,Eva,1,Ol);var c;b={plainSection:((c=nj(b,Pl,1,Wi()))!=null?c:[]).map(Fva)}}else b=void 0;return{plainFormat:b,markdownFormat:Nl(a,Ql,2,Ol)?{content:vk(Al(a,Ql,2,Ol).getContent())}:void 0,literalFormat:Nl(a,Rl,3,Ol)?{content:vk(Al(a,Rl,3,Ol).getContent())}:void 0}},Fva=function(a){return{isQuoted:Fj(a,1),content:vk(a.getContent())}},
Gva=function(a){var b=new Pl;return Hl(b,1,a.isQuoted).setContent(zsa(a.content))},Cva=function(a){switch(a){case 0:case 1:return"PLAIN";case 2:return"MARKDOWN";case 3:return"LITERAL";default:throw Error("Ob`"+a);}},Sl=function(a){switch(a){case "PLAIN":return 1;case "MARKDOWN":return 2;case "LITERAL":return 3;case void 0:case null:case "UNSPECIFIED_FORMATTING_MODE":return 1;default:throw Error("Ob`"+a);}},Dva=function(a){var b,c;a==null?c=void 0:c=nj(a,Tl,2,Wi());a=(b=c)!=null?b:[];b=new Map;a=k(a);
for(c=a.next();!c.done;c=a.next()){c=c.value;a:{var d=c.getType();switch(d){case 0:d="REACTION_TYPE_UNSPECIFIED";break a;case 1:d="UPVOTE";break a;default:throw Error("Pb`"+d);}}var e=void 0,f=void 0,h=void 0,l=void 0,q=(f=Fj(c,1))!=null?f:!1;f=(h=Vj(c,2))!=null?h:0;c=nj(c,bj,3,Wi());c={type:d,hasReacted:q,count:f,recentResponders:(l=(e=c)==null?void 0:e.map(gj).filter(kj))!=null?l:[]};b.set(d,c)}return b},Hva=function(a){return a.map(function(b){return W(b,bj,1)}).filter(kj).map(gj).map(function(b){return{mentionedUser:b}})},
Iva=function(a){switch(a){case 1:return"BUG";case 3:return"CUSTOMER_ISSUE";case 2:return"FEATURE_REQUEST";case 4:return"INTERNAL_CLEANUP";case 5:return"PROCESS";case 6:return"VULNERABILITY";case 7:return"PRIVACY_ISSUE";case 10:return"PROJECT";case 11:return"FEATURE";case 12:return"MILESTONE";case 13:return"EPIC";case 14:return"STORY";case 15:return"TASK";case 8:return"TYPE_UNSPECIFIED";case 9:return"PROGRAM";case 0:return"TYPE_UNSPECIFIED";default:return"TYPE_UNSPECIFIED"}},Jva=function(a){switch(a){case "BUG":return 1;
case "CUSTOMER_ISSUE":return 3;case "FEATURE_REQUEST":return 2;case "INTERNAL_CLEANUP":return 4;case "PROCESS":return 5;case "VULNERABILITY":return 6;case "PRIVACY_ISSUE":return 7;case "PROJECT":return 10;case "FEATURE":return 11;case "MILESTONE":return 12;case "EPIC":return 13;case "STORY":return 14;case "TASK":return 15;case "PROGRAM":return 9;case "TYPE_UNSPECIFIED":return 0;default:return 0}},Kva=function(a){switch(a){case "SWE":return 1;case "SRE":return 2;case "PM":return 3;case "TPGM":return 4;
case "UX":return 5;default:return 0}},Lva=function(a){switch(a){case "HIGH":return 1;case "MEDIUM":return 2;case "LOW":return 3;default:return 4}},Ova=function(a){var b=new Ul;if(a.user){var c=b.setUser;var d=a.user;d=(new Vl).setUser(fj(d.user));c=c.call(b,d);a=a.allocation;d=new Mva;d=xl(d,1,Nva,Eca(Lva(a.involvement)));a=Wl(d,3,a.aggregationValue);X(c,Mva,3,a)}else a.placeholder&&(c=a.placeholder,c=(new Xl).setRole(Kva(c.role)).setCount(c.count),Fl(b,2,Yl,c));return b},Pva=function(a){var b=new Zl;
a=a.plannedAllocations.map(Ova);return $l(b,1,a)},Qva=function(a){switch(a){case 1:return"HIGH";case 2:return"MEDIUM";case 3:return"LOW";default:return"ZERO"}},Rva=function(a){switch(a){case 1:return"SWE";case 2:return"SRE";case 3:return"PM";case 4:return"TPGM";case 5:return"UX";default:return"JOB_ROLE_UNSPECIFIED"}},Sva=function(a){if(a.hasUser()){var b={user:gj(a.getUser().getUser())};a=W(a,Mva,3);a={involvement:Qva(Kj(a,ul(a,Nva,1),0)),aggregationValue:zl(a,3)};b={user:b,allocation:a}}else Nl(a,
Xl,2,Yl)?(b=a.getPlaceholder(),b={placeholder:{role:Rva(b.getRole()),count:b.getCount()}}):b={};return b},Tva=function(a){a=Vi(a,1,Wi(Xi));return{paths:a!=null?a:[]}},Vva=function(a){return{startTime:vj(a.getStartTime()),targetTime:vj(W(a,wj,3)),endTime:vj(a.getEndTime()),objective:Ora(a.getObjective()),businessDays:a.getBusinessDays(),dayType:Uva[a.getDayType()]}},Xva=function(a){var b=new am;a.startTime&&b.setStartTime(xj(a.startTime));if(a.targetTime){var c=xj(a.targetTime);X(b,wj,3,c)}a.endTime&&
b.setEndTime(xj(a.endTime));a.objective&&b.setObjective(Nra(a.objective));a.businessDays&&b.setBusinessDays(a.businessDays);a.dayType&&b.setDayType(Wva[a.dayType]);return b},Zva=function(a){var b=(new bm).setInherit(a.inherit).setSource(Yva[a.source]).setId(cm(a.id)).setComment(a.comment);return pl(b,6,cm(a.sourceComponentId)).setSourceTeamId(cm(a.sourceTeamId))},awa=function(a){return{author:gj(a.getAuthor()),timestamp:vj(a.getTimestamp()),add:$va(a.getAdd()),remove:$va(a.getRemove()),addMask:Tva(a.getAddMask()),
removeMask:Tva(a.getRemoveMask())}},$va=function(a){var b=String(a.getSloId_asLegacyNumberOrString()),c=a.getName(),d=a.getDescription(),e=String(Vj(a,2));var f=nj(a,dm,5,Wi());f=(f!=null?f:[]).map(bwa);var h=nj(a,dm,6,Wi());h=(h!=null?h:[]).map(bwa);var l=a.getIsArchived();a:switch(a=Kj(a,8,0),a){case 0:a="OFF";break a;case 1:a="OFF";break a;case 2:a="ON";break a;default:throw Error("Qb`"+a);}return{sloId:b,name:c,description:d,parentId:e,elements:f,effectiveElements:h,isArchived:l,alertState:a}},
bwa=function(a){var b=cwa(a.getMetric()),c=a.getMatcher();a:{var d=a.getDayType();switch(d){case 0:d="CALENDAR";break a;case 1:d="CALENDAR";break a;case 2:d="BUSINESS";break a;default:throw Error("Sb`"+d);}}return{metric:b,matcher:c,dayType:d,objective:Ora(a.getObjective()),businessDays:a.getBusinessDays()}},cwa=function(a){switch(a){case 0:return"METRIC_UNSPECIFIED";case 1:return"ASSIGNMENT";case 2:return"RESPONSE";case 3:return"CLOSURE";default:throw Error("Rb`"+a);}},ewa=function(a){var b=new dm,
c=dwa(a.metric);b=ej(b,1,c).setMatcher(a.matcher);c=b.setDayType;a:{var d=a.dayType;switch(d){case "DAY_TYPE_UNSPECIFIED":d=0;break a;case "CALENDAR":d=1;break a;case "BUSINESS":d=2;break a;default:throw Error("Sb`"+d);}}return c.call(b,d).setObjective(Nra(a.objective)).setBusinessDays(a.businessDays)},dwa=function(a){switch(a){case "METRIC_UNSPECIFIED":return 0;case "ASSIGNMENT":return 1;case "RESPONSE":return 2;case "CLOSURE":return 3;default:throw Error("Tb`"+a);}},fwa=function(a){return{issueId:String(a.getIssueId_asLegacyNumberOrString()),
updateText:Gh(a,2),formattedText:Oj(a,em,3)?Bva(W(a,em,3)):void 0,formattingMode:a.getFormattingMode()?Cva(a.getFormattingMode()):void 0,author:a.hasAuthor()?gj(a.getAuthor()):void 0,updateTime:a.hasUpdateTime()?jj(vj(a.getUpdateTime())):void 0,version:a.getVersion()}},gwa=function(a){var b=(new fm).setFormattingMode(Sl(a.formattingMode));a.issueId&&b.setIssueId(a.issueId);a.updateText&&cj(b,2,a.updateText);if(a.formattedText){var c=a.formattedText,d=new em;if(c.plainFormat){var e=c.plainFormat;var f=
new Eva;e=e.plainSection.map(Gva);f=$l(f,1,e);Fl(d,1,Ol,f)}c.markdownFormat&&(f=c.markdownFormat,f=(new Ql).setContent(zsa(f.content)),Fl(d,2,Ol,f));c.literalFormat&&(c=c.literalFormat,c=(new Rl).setContent(zsa(c.content)),Fl(d,3,Ol,c));X(b,em,3,d)}a.author&&b.setAuthor(fj(a.author));a.updateTime&&b.setUpdateTime(xj(a.updateTime));a.version&&b.setVersion(a.version);return b},mwa=function(a){var b=a.getAccessLimit(),c=hwa[Kj(a,30,0)],d,e,f,h,l,q,v,y,E,H,O,N,T,da,ja,na,Ia,Pa=a.getComponentId_asLegacyNumberOrString(),
Na=a.getType()?Iva(a.getType()):null,bb=a.getStatus()?gm[a.getStatus()]:null,ma=a.getPriority()?hm[a.getPriority()]:null,Da=a.getSeverity()?iwa[a.getSeverity()]:null,Ea=a.getTitle(),zb=a.getReporter()?gj(a.getReporter()):null,qb=a.getAssignee()?gj(a.getAssignee()):null,dc=a.getVerifier()?gj(a.getVerifier()):null,fc=(v=(d=a.getCcsList())==null?void 0:d.map(gj))!=null?v:[];d=(y=(e=a.getCollaboratorsList())==null?void 0:e.map(gj))!=null?y:[];e=a.getStaffing()?{plannedAllocations:nj(a.getStaffing(),Ul,
1,Wi()).map(Sva)}:null;y=a.getCanonicalIssueId_asLegacyNumberOrString()?String(a.getCanonicalIssueId_asLegacyNumberOrString()):null;v=(E=(f=a.getBlockedByIssueIdsList_asLegacyNumberOrString())==null?void 0:f.map(String))!=null?E:[];f=(H=(h=a.getBlockingIssueIdsList_asLegacyNumberOrString())==null?void 0:h.map(String))!=null?H:[];h=(O=a.getHotlistIdsList_asLegacyNumberOrString(Xi))!=null?O:[];O=(N=(l=a.getCustomFieldsList())==null?void 0:l.map(lva).filter(kj))!=null?N:[];l=(T=a.getCodeChangesList(Xi))!=
null?T:[];T=(da=a.getGerritChangesList().map(jwa))!=null?da:[];da=Vi(a,17,Wi(Xi));da=da!=null?da:[];N=Vi(a,18,Wi(Xi));N=N!=null?N:[];H=Vi(a,19,Wi(Xi));H=H!=null?H:[];E=a.getInProd();var qc=a.getIsArchived(),Zb=(ja=(q=a.getDuplicateIssueIdsList_asLegacyNumberOrString())==null?void 0:q.map(String))!=null?ja:[];q=a.getIsDeleted();ja=kwa[Kj(a,24,0)];var Ae=(na=vj(a.getSloSnoozeUntil()))!=null?na:null;na=(Ia=vj(a.getSloEndTime()))!=null?Ia:null;Ia=Vi(a,27,Wi(Xi));return{componentId:Pa,type:Na,status:bb,
priority:ma,severity:Da,title:Ea,reporterUser:zb,assigneeUser:qb,verifierUser:dc,ccUsers:fc,collaboratorsUsers:d,plannedAllocations:e,duplicateOfIssueId:y,blockedByIssueId:v,blockingIssueId:f,hotlistId:h,customField:O,changelist:l,gerritChanges:T,foundInVersion:da,targetedToVersion:N,verifiedInVersion:H,inProd:E,isArchived:qc,duplicateIssueId:Zb,isDeleted:q,deletionReason:ja,sloStartTime:Ae,sloEndTime:na,sloSnoozeType:c==="SLO_SNOOZE_TYPE_UNSPECIFIED"?null:c,postmortems:Ia!=null?Ia:[],retention:lwa[a.getRetention()],
effort:a.hasEffort()?uva(a.getEffort()):void 0,issueAccessLimitLevel:b!=null?Hua(b):null,comment:"",formattingMode:void 0}},twa=function(a){var b=new im;a.componentId&&b.setComponentId(a.componentId);a.title&&b.setTitle(a.title);a.type!=null&&b.setType(Jva(a.type));a.inProd!=null&&b.setInProd(a.inProd);a.isArchived!=null&&b.setIsArchived(a.isArchived);a.status!=null&&b.setStatus(nwa[a.status]);a.priority!=null&&b.setPriority(owa[a.priority]);a.severity!=null&&b.setSeverity(pwa[a.severity]);a.reporterUser&&
b.setReporter(fj(a.reporterUser));a.assigneeUser&&b.setAssignee(fj(a.assigneeUser));a.verifierUser&&b.setVerifier(fj(a.verifierUser));a.ccUsers&&b.setCcsList(a.ccUsers.map(fj));a.collaboratorsUsers&&b.setCollaboratorsList(a.collaboratorsUsers.map(fj));a.plannedAllocations&&b.setStaffing(Pva(a.plannedAllocations));a.duplicateOfIssueId&&b.setCanonicalIssueId(Number(a.duplicateOfIssueId));a.blockedByIssueId&&b.setBlockedByIssueIdsList(a.blockedByIssueId.map(Number));a.blockingIssueId&&b.setBlockingIssueIdsList(a.blockingIssueId.map(Number));
a.hotlistId&&b.setHotlistIdsList(a.hotlistId);a.customField&&b.setCustomFieldsList(a.customField.map(mva));a.changelist&&b.setCodeChangesList(a.changelist);a.gerritChanges&&b.setGerritChangesList(a.gerritChanges.map(qwa));a.foundInVersion&&dj(b,17,a.foundInVersion);a.targetedToVersion&&dj(b,18,a.targetedToVersion);a.verifiedInVersion&&dj(b,19,a.verifiedInVersion);a.duplicateIssueId&&b.setDuplicateIssueIdsList(a.duplicateIssueId.map(Number));a.isDeleted!=null&&b.setIsDeleted(a.isDeleted);a.deletionReason!=
null&&b.setDeletionReason(rwa[a.deletionReason]);a.sloStartTime&&b.setSloSnoozeUntil(xj(a.sloStartTime));a.sloEndTime&&b.setSloEndTime(xj(a.sloEndTime));a.sloSnoozeType!=null&&b.setSloSnoozeType(swa[a.sloSnoozeType]);a.retention!=null&&b.setRetention(bva(a.retention));if(a.effort){var c=b.setEffort,d=a.effort,e=new jm;d.specId&&pl(e,1,d.specId);d.estimate&&cj(e,2,d.estimate);d.averageDays&&Wl(e,3,d.averageDays);d.totalOpen&&Wl(e,4,d.totalOpen);d.totalComplete&&Wl(e,5,d.totalComplete);c.call(b,e)}a.issueAccessLimitLevel&&
b.setAccessLimit(Gua(a.issueAccessLimitLevel));return b},jwa=function(a){return{host:Gh(a,1),repo:Gh(a,2),changeNumber:a.getChangeNumber_asLegacyNumberOrString(),state:uwa[a.getState()]}},qwa=function(a){var b=new km;b=cj(b,1,a.host);return cj(b,2,a.repo).setChangeNumber(a.changeNumber).setState(vwa[a.state])},zwa=function(a){switch(fl(a,wwa)){case 2:var b=Al(a,xwa,2,wwa);return b.getCommentNumber()!==0?{type:"issueReference",issueId:String(b.getIssueId_asLegacyNumberOrString()),commentNumber:b.getCommentNumber(),
sourceCommentNumber:Zi(a,3)}:{type:"issueReference",issueId:String(b.getIssueId_asLegacyNumberOrString()),sourceCommentNumber:Zi(a,3)};case 1:return{type:"hyperlink",href:Gh(Al(a,ywa,1,wwa),1),sourceCommentNumber:Zi(a,3)};case 0:throw Error("Ub");default:throw Error("Vb");}},mm=function(a){for(var b=a.getIssueState()?[mwa(a.getIssueState())]:[],c=new Map,d=k(a.getAncestorsMap().entries()),e=d.next();!e.done;e=d.next()){var f=k(e.value);e=f.next().value;f=f.next().value;c.set(String(e),{sourceIssueIds:f.getSourceIssueIdsList_asLegacyNumberOrString().map(String)})}var h,
l,q;d=String(a.getIssueId_asLegacyNumberOrString());e=a.getVersion();f=a.hasDescription()?Ml(a.getDescription()):void 0;var v;if(v=a.getUserData()){var y=Fj(v,2);y=y==null?null:y;var E=Fj(v,1);v={voted:y,starred:E==null?null:E,notificationSubscription:Awa[Kj(v,4,0)],lastViewedTimeMicros:Aj(W(v,wj,5))}}else v=void 0;if(a){E=void 0;a.hasSloStatus()&&(y=a.getSloStatus(),E={assignmentBounds:(y==null?0:Oj(y,am,1))?Vva(W(y,am,1)):void 0,responseBounds:(y==null?0:Oj(y,am,2))?Vva(W(y,am,2)):void 0,closureBounds:(y==
null?0:Oj(y,am,3))?Vva(W(y,am,3)):void 0});var H;y={voteCount:(H=Vj(a,10))!=null?H:0,createdTimeMicros:Aj(a.getCreatedTime()),resolvedTimeMicros:Aj(a.getResolvedTime()),verifiedTimeMicros:Aj(a.getVerifiedTime()),modifiedTimeMicros:Aj(a.getModifiedTime()),lastModifier:gj(W(a,bj,14)),sloId:hj(a.getSloId_asLegacyNumberOrString()),teamId:hj(a.getTeamId_asLegacyNumberOrString()),retentionState:Wua(a.getRetentionState()),sloStatus:E}}else y=void 0;H=Jua(a.getAccessLimit());E=a.getCustomFieldsList().map(pva);
var O=nj(a,wl,34,Wi()).map(iva).filter(kj),N=Aj(a.getMajorModifiedTime()),T=a.getParentIssueIdsList_asLegacyNumberOrString().map(String),da=(h=Zi(a,39))!=null?h:0;h=(l=Zi(a,45))!=null?l:0;l=(q=Zi(a,46))!=null?q:0;q=a.getIsArchived();var ja=nj(a,Bwa,41,Wi()).map(zwa),na=Ara(String(a.getTrackerId_asLegacyNumberOrString())),Ia=a.getStatusUpdate()&&fwa(a.getStatusUpdate()),Pa;if(Pa=W(a,lm,47))a=W(a,lm,47),Pa={oneDayViewCount:Vj(a,1),sevenDayViewCount:Vj(a,2),thirtyDayViewCount:Vj(a,3)};return{issueId:d,
version:e,snapshot:b,description:f,userData:v,aggregatedData:y,accessLimit:H,customFields:E,visibleFields:O,majorModifiedTimeMicros:N,parentIssueIds:T,ancestors:c,childIssueCount:da,descendantCount:h,openDescendantCount:l,isArchived:q,relatedLinks:ja,trackerId:na,statusUpdate:Ia,userActivityStats:Pa}},Cwa=function(a){if(a)return{status:gm[a.getStatus()],issueIds:a.getIssueIdsList_asLegacyNumberOrString().map(ij).filter(kj)}},Dwa=function(a){if(a)return{priority:hm[a.getPriority()],issueIds:a.getIssueIdsList_asLegacyNumberOrString().map(ij).filter(kj)}},
Ewa=function(){},Fwa=function(a){return Object.values(a).length>0},Gwa=function(a,b){a.next(Object.freeze(Object.assign({},a.getValue(),b)))},Hwa=function(a,b){var c=a.getValue();c=Object.assign({},c);b=(delete c[b],c);a.next(Object.freeze(b))},Iwa=function(a,b){var c=a.getValue(),d={};c=k(Object.entries(c));for(var e=c.next();!e.done;e=c.next()){var f=k(e.value);e=f.next().value;f=f.next().value;b.includes(e)||(d[e]=f)}a.next(Object.freeze(d))},Jwa=function(a){var b=Object.assign({},a);a=a.ids;b=
(delete b.ids,b);a&&(b.ids=[].concat(w(a)).sort());return JSON.stringify(b)},Kwa=function(a,b,c){c=a.get(b)||c;a.has(b)||a.set(b,c);return c},Lwa=function(a){a=a===void 0?{}:a;return bra(a)},Mwa=function(a){var b=new Jf,c=a.subscribe(b);a=Je(b);a.finally(function(){c.unsubscribe()});return a},Nwa=function(a){return a==null?new Promise(function(){}):Promise.resolve(a)},Owa=function(){return new Promise(function(){})},Qwa=function(a){return a.type==="CUSTOM_FIELD"?[Pwa[wsa[a.type]],a.customFieldId].join(":"):
Pwa[wsa[a.type]]},Swa=function(a){return a.includes(":")?(a=k(a.split(":")),a.next(),a=a.next().value,{type:"CUSTOM_FIELD",customFieldId:cm(a)}):{type:esa[Rwa[a]]}},Twa=function(a){var b;a==null?a=void 0:(a=Vi(a,1,Wi()),a=a==null?void 0:a.map(Swa));return(b=a)!=null?b:[]},Uwa=function(a){var b=k(a.trim().split(" ")),c=b.next().value;a=b.next().value;nm(b);b=Swa(c);c="DESCENDING";a==="asc"&&(c="ASCENDING");return{field:b,direction:c}},Wwa=function(a){return a.map(Vwa).join(",")},Vwa=function(a){return Qwa(a.field)+
" "+(a.direction==="ASCENDING"?"asc":"desc")},Xwa=function(a){return Wwa(a.toLowerCase().split(",").map(function(b){return b.replace(":asc"," asc")}).map(function(b){return b.replace(":desc"," desc")}).map(function(b){return b.replace("custom_field.","custom_field:")}).map(function(b){return b.replace("collaborator_count","collaborators_count").replace("verified_in_version","verified_in_versions").replace("targeted_to_version","targeted_to_versions").replace("found_in_version","found_in_versions")}).map(Uwa))},
Ywa=function(a){var b,c,d,e,f,h=(new om).setHotlistId(a.hotlistId).setName(a.name).setDescription(a.description).setArchived(a.archived).setDefaultOrderBy(Wwa((d=a.sortOrder)!=null?d:[]));d=h.setDisplayPreferences;var l=new pm,q=(e=(b=a.displayColumn)==null?void 0:b.map(Qwa))!=null?e:[];b=dj(l,1,q);h=d.call(h,b).setCreatedTime(zj(a.createdTimeMicros)).setModifiedTime(zj(a.modifiedTimeMicros)).setOwnersList((f=(c=a.adminUsers)==null?void 0:c.map(fj))!=null?f:[]);a.etag!==void 0&&(c=h.setEtag,a=a.etag,
a=a.length?new gb(oba(a,!0),hb):fb(),c.call(h,a));return h},Zwa=function(a){if(!a.getHotlistId_asLegacyNumberOrString())throw Error("ec");if(!a.getName())throw Error("fc");if(!a.getCreatedTime())throw Error("gc");if(!a.getModifiedTime())throw Error("hc");var b,c,d,e;return{hotlistId:a.getHotlistId_asLegacyNumberOrString(),name:a.getName(),description:(c=a.getDescription())!=null?c:"",archived:(d=a.getArchived())!=null?d:!1,createdTimeMicros:Aj(a.getCreatedTime()),modifiedTimeMicros:Aj(a.getModifiedTime()),
displayColumn:Twa(a.getDisplayPreferences()),sortOrder:a.getDefaultOrderBy().split(",").filter(Boolean).map(Uwa),etag:cva(a.getEtag())||void 0,adminUsers:(e=(b=a.getOwnersList())==null?void 0:b.map(gj))!=null?e:[]}},$wa=function(a){return{issueId:String(a.getIssueId_asLegacyNumberOrString()),position:a.getPosition(),issue:mm(a.getIssue())}},axa=function(a){var b=nj(a,qm,1,Wi()).map($wa),c=new Map(b.map(function(d){return[d.issueId,d.position]}));return{issues:b.map(function(d){return d.issue}),numTotalResults:a.getTotalSize(),
positionMap:Object.fromEntries(c),nextPageToken:a.getNextPageToken(),totalSizeAccurate:a.getTotalSizeAccurate(),maySkipResults:a.getMaySkipResults()}},bxa=function(a){var b;return{searchId:Number(a.getSavedSearchId_asLegacyNumberOrString()),name:a.getName(),description:a.getDescription(),query:a.getQuery(),sortOrder:a.getDefaultOrderBy().split(",").filter(Boolean).map(Uwa),displayColumn:Twa(a.getDisplayPreferences()),adminUsers:((b=a.getOwnersList())!=null?b:[]).map(gj)}},cxa=function(a){var b,c,
d=(new rm).setSavedSearchId(a.searchId).setName(a.name).setDescription(a.description).setQuery(a.query).setDefaultOrderBy(Wwa((b=a.sortOrder)!=null?b:[]));b=d.setDisplayPreferences;var e=(c=a.displayColumn)!=null?c:[];c=new pm;e=e.map(Qwa);c=dj(c,1,e);return b.call(d,c).setOwnersList(a.adminUsers.map(fj))},exa=function(a){switch(fl(a,sm)){case 1:var b=a.getHotlist(),c=(b==null?0:b.getHotlist())?Zwa(b.getHotlist()):void 0,d;b=(d=b==null?void 0:b.getHotlistId_asLegacyNumberOrString())!=null?d:0;var e;
return{hotlistId:b,hotlist:c,name:(e=c==null?void 0:c.name)!=null?e:"Hotlist "+b,resourceType:"HOTLIST"};case 2:return e=a.getSavedSearch(),d=(e==null?0:e.getSavedSearch())?bxa(e.getSavedSearch()):void 0,e=(c=e==null?void 0:e.getSavedSearchId_asLegacyNumberOrString())!=null?c:0,{savedSearchId:e,savedSearch:d,name:(b=d==null?void 0:d.name)!=null?b:"Saved search "+e,resourceType:"SAVED_SEARCH"};case 3:d=a.getBookmarkGroup();e=(d==null?0:d.getBookmarkGroup())?dxa(d.getBookmarkGroup()):void 0;var f,h;
return{bookmarkGroupId:(f=d==null?void 0:d.getBookmarkGroupId_asLegacyNumberOrString())!=null?f:0,bookmarkGroup:e,name:(h=e==null?void 0:e.name)!=null?h:"",resourceType:"BOOKMARK_GROUP"};default:throw Error("ic");}},gxa=function(a){switch(a.resourceType){case "HOTLIST":var b=(new tm).setHotlistId(a.hotlistId);a.hotlist&&b.setHotlist(Ywa(a.hotlist));return(new um).setHotlist(b);case "SAVED_SEARCH":return b=(new vm).setSavedSearchId(a.savedSearchId),a.savedSearch&&b.setSavedSearch(cxa(a.savedSearch)),
(new um).setSavedSearch(b);case "BOOKMARK_GROUP":return b=(new wm).setBookmarkGroupId(a.bookmarkGroupId),a.bookmarkGroup&&b.setBookmarkGroup(fxa(a.bookmarkGroup)),(new um).setBookmarkGroup(b);default:xb(a.resourceType,"Unexpected resourceType in bookmarkItemToItProto")}},dxa=function(a){var b=a.getArchived(),c=a.getBookmarkGroupId_asLegacyNumberOrString(),d=a.getDescription();var e=nj(a,um,5,Wi());return{archived:b,bookmarkGroupId:c,description:d,item:e.map(exa),name:a.getName(),adminUsers:a.getOwnersList().map(gj)}},
fxa=function(a){var b,c=(new xm).setBookmarkGroupId(a.bookmarkGroupId).setName(a.name).setDescription(a.description).setArchived(a.archived),d=(b=a.item.map(gxa))!=null?b:[];return $l(c,5,d).setOwnersList(a.adminUsers.map(fj))},hxa=function(a){switch(a.resourceType){case "HOTLIST":return(new um).setHotlist((new tm).setHotlistId(a.resourceId));case "SAVED_SEARCH":return(new um).setSavedSearch((new vm).setSavedSearchId(a.resourceId));case "BOOKMARK_GROUP":return(new um).setBookmarkGroup((new wm).setBookmarkGroupId(a.resourceId));
default:xb(a.resourceType,"Unexpected resourceType in bookmarkItemForUpdateToItProto")}},ixa=function(a){a=dxa(a).item;a=nra(a,function(l){return l.resourceType});var b,c,d,e,f,h;return{bookmarkGroups:(e=(b=a.get("BOOKMARK_GROUP"))==null?void 0:b.map(function(l){return l.bookmarkGroup}).filter(kj))!=null?e:[],hotlists:(f=(c=a.get("HOTLIST"))==null?void 0:c.map(function(l){return l.hotlist}).filter(kj))!=null?f:[],savedSearches:(h=(d=a.get("SAVED_SEARCH"))==null?void 0:d.map(function(l){return l.savedSearch}).filter(kj))!=
null?h:[]}},jxa=function(a){return dxa(a.getIt())},kxa=function(a){a=nj(a,xm,2,Wi());return(a!=null?a:[]).map(dxa)},mxa=function(a,b){b=b===void 0?document.documentElement:b;return Qe(Re(function(){return Fe(b.querySelector(a))}),lxa(b,{childList:!0,subtree:!0}).pipe(Ye(function(c){return c.some(function(d){return d.addedNodes.length>0})}),B(function(){return b.querySelector(a)}))).pipe(Ye(kj),Cf(),B(function(c){return c}))},lxa=function(a,b){return new re(function(c){var d=new MutationObserver(function(e){c.next(e)});
d.observe(a,b);return function(){d.disconnect()}})},ym=function(a,b){return function(c){if(c.target instanceof HTMLElement){var d=c.target.closest(a);d&&c.currentTarget.contains(d)&&b(c,d)}}},nxa=function(a){a=a.target;for(var b=[];a.parentNode;){var c=void 0,d=a,e=[];for(c in d.dataset)d.dataset[c]==="true"&&e.push(c);c=e;b.unshift(a.tagName+(c.length>0?"["+c.join(",")+"]":""));a=a.parentNode}return b.join(" > ")},oxa=function(a){var b={};a=k(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=
k(c.value);c=d.next().value;d=d.next().value;d!=null&&(b[c]=String(d))}b=new URLSearchParams(b);return String(b)},zm=function(a){return a.ctrlKey||a.metaKey||a instanceof MouseEvent&&a.button===1},pxa=function(a){a=$i(a,1,Wi(Xi));return{changelistNumbers:a!=null?a:[]}},sxa=function(a){return{changelists:nj(a,qxa,1,Wi()).map(rxa),nextPageToken:a.getNextPageToken()}},rxa=function(a){var b,c;return{author:a.getAuthor(),changelistNumber:a.getChangelistNumber(),pending:a.getPending(),timestamp:vj(a.getTimestamp()),
issueIds:(b=a.getIssueIdsList_asString())!=null?b:[],fixedIssueIds:(c=ak(a,6))!=null?c:[]}},txa=function(a){var b=a.getAuthor(),c=a.getDescription(),d=a.getPending(),e=a.getTimestamp_asLegacyNumberOrString();a=Vi(a,5,Wi(Xi));return{author:b,description:c,pending:d,timestamp:e,affectedFiles:a!=null?a:[]}},Am=function(a){return encodeURIComponent(a).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,"%20").replace(/%26/gi,"&").replace(/%3D/gi,
"=").replace(/%2B/gi,"+")},uxa=function(a){if(a)return Jua(a.getIt())},vxa=function(a){var b=Vi(a,1,Wi(Xi));a=Vi(a,2,Wi(Xi));return{noAccessEmails:b,unknownEmails:a}},wxa=function(a){var b=a.getIt();a=nj(b,jl,2,Wi()).map(il);var c=b.getAppendersList().map(il),d=nj(b,jl,4,Wi()).map(il),e=b.getReadersList().map(il),f=nj(b,jl,11,Wi()).map(il),h=nj(b,jl,12,Wi()).map(il),l=nj(b,jl,3,Wi()).map(il),q=nj(b,jl,7,Wi()).map(il),v=nj(b,jl,5,Wi()).map(il),y=nj(b,jl,9,Wi()).map(il);a:switch(Kj(b,10,0)){case 0:b=
"IMPLICIT_ACCESS_UNSPECIFIED";break a;case 1:b="ALLOW";break a;case 2:b="DENY";break a;default:throw Error("Hb");}return{admins:a,appenders:c,editors:d,readers:e,restrictedReaders:f,restrictedPlusReaders:h,inheritedAdmins:l,implicitAppenders:q,implicitEditors:v,implicitReaders:y,implicitAccess:b}},Bm=function(a,b){switch(a){case "HOTLIST":return"hotlists/"+b;case "BOOKMARK_GROUP":return"bookmarkGroups/"+b;case "SAVED_SEARCH":return"savedSearches/"+b;case "COMPONENT":return"components/"+b;case "COMPONENT_SLO":return"components/"+
b+"/slo";case "ISSUE":return"issues/"+b;case "ISSUE_DEFAULTS":return"components/"+b+"/issueDefaults";case "SLO":return"slos/"+b;case "TEAM":return"teams/"+b;default:throw Error("kc`"+a);}},yxa=function(a){return{fieldId:iva(W(a,wl,1)),stateOnIssues:xxa[Kj(a,4,0)],enabledOnIssues:Fj(a,5)}},Axa=function(a){var b=W(a,Cm,7),c,d=(c=b==null?void 0:b.getSlo())!=null?c:new Dm;c=b==null?void 0:W(b,bj,4);var e=b==null?void 0:W(b,bj,5),f,h=String(a.getId_asLegacyNumberOrString());b=(f=b==null?void 0:b.getVersion())!=
null?f:0;f=a.getName();var l=a.getDescription(),q=[].concat(w(a.getPathNamesList())),v=a.getPathIdsList_asLegacyNumberOrString().map(String),y=[],E=y.concat;var H=Vi(a,5,Wi());return{teamId:h,version:b,name:f,description:l,pathNames:q,pathIds:v,collapsedPathNames:E.call(y,w(H)),members:a.getMembersList().map(zxa),deleted:a.getDeleted(),slo:{inherit:d.getInherit(),sloId:String(d.getId_asLegacyNumberOrString()),comment:d.getComment(),sourceTeamId:String(d.getSourceTeamId_asLegacyNumberOrString())},
sloLead:c?gj(c):void 0,defaultSloLead:e?gj(e):void 0}},zxa=function(a){var b=a.getUser();return{user:b?gj(b):{},isLead:Fj(a,2)}},Bxa=function(a){var b=new Em;return Hl(b,2,a.isLead).setUser(fj(a.user))},Cxa=function(a){var b=new Dm;b.setInherit(a.inherit).setId(Number(a.sloId)).setComment(a.comment).setSourceTeamId(Number(a.sourceTeamId));return b},Dxa=function(a){return(new Fm).setInherit(a.inherit).setId(a.id)},Exa=function(a){return{teamId:a.getTeamId_asLegacyNumberOrString(),score:a.getScore()}},
Fxa=function(a){return(new Gm).setTeamId(a.teamId).setScore(a.score)},Gxa=function(a){var b=hj(a);if(b==null)throw Error("lc`"+a);return b},Hxa=function(a){var b=nj(a,Hm,4,Wi()).map(yxa);b=new Map(b.map(function(q){return[q.fieldId.customFieldId,q]}));var c,d,e=(d=(c=nj(a,Gl,5,Wi()))==null?void 0:c.map(qva))!=null?d:[];c=k(e);for(d=c.next();!d.done;d=c.next()){d=d.value;var f=b.get(d.customFieldId);f&&(d.enabledOnIssues=f.enabledOnIssues,d.stateOnIssues=f.stateOnIssues)}var h,l;return{componentPathId:(l=
(h=lj(a,1,Wi()))==null?void 0:h.map(Gxa))!=null?l:[],componentPathName:Vi(a,2,Wi(Xi)),allCustomField:e,fieldConfigsMap:b}},Ixa=function(a){switch(a){case "ALL_PROTECTIONS":return 2;case "NO_PROTECTIONS":return 1;case "SPAM_PROTECTION_UNSPECIFIED":return 0;default:return 0}},Lxa=function(a){var b=Oj(a,ql,15)?Yua(W(a,ql,15)):void 0,c=Oj(a,Im,7)?Hxa(W(a,Im,7)):void 0;if(a.hasSlo()){var d=a.getSlo();d={inherit:d.getInherit(),source:Jxa[d.getSource()],id:String(d.getId_asLegacyNumberOrString()),sourceComponentId:String(Vj(d,
6)),sourceTeamId:String(d.getSourceTeamId_asLegacyNumberOrString()),comment:d.getComment()}}else d=void 0;if(Oj(a,Il,18)){var e=a.getEffortSpec();var f=e.getInherit();var h=e.getId_asLegacyNumberOrString(),l=e.getName();a:switch(Kj(e,6,0)){case 2:var q="MAX";break a;case 1:q="SUM";break a;default:q="AGGREGATION_TYPE_UNSPECIFIED"}f={inherit:f,id:h,name:l,aggregationType:q,customFieldId:e.getCustomFieldId_asLegacyNumberOrString()};if(Nl(e,xva,4,Jm)){var v=Al(e,xva,4,Jm);v&&(f.numericSpec={multiplier:zl(v,
1)})}else if(Nl(e,Jl,5,Jm)&&(e=Al(e,Jl,5,Jm),f.enumSpec={options:[]},e&&(e==null?void 0:(v=nj(e,Kl,1,Wi()))==null?void 0:v.length)>0))for(v=k(nj(e,Kl,1,Wi())),e=v.next();!e.done;e=v.next())e=e.value,l=h=void 0,(h=f.enumSpec)==null||(l=h.options)==null||l.push({label:e.getLabel(),value:e.getValue()})}else f=void 0;a.hasTeam()?(v=a.getTeam(),v={inherit:v.getInherit(),id:String(v.getId_asLegacyNumberOrString())}):v=void 0;e=Jua(a.getAccessLimit());h=Kj(a,21,0);h=h===2?"ALL_PROTECTIONS":h===1?"NO_PROTECTIONS":
"SPAM_PROTECTION_UNSPECIFIED";l=a.getTrackerId_asLegacyNumberOrString()?String(a.getTrackerId_asLegacyNumberOrString()):void 0;var y,E;q=a.getComponentId_asLegacyNumberOrString();var H=Vj(a,3),O=a.getName(),N=a.getDescription(),T=a.getIsArchived(),da="buganizer-system+"+a.getComponentId_asLegacyNumberOrString()+"@google.com";var ja=Kj(a,10,0)===1?"ENABLED":"DISABLED";return{componentId:q,parentComponentId:H,name:O,description:N,archived:T,componentPathInfo:c,accessLimit:e,emailAlias:da,commentEditState:ja,
defaultTemplateId:Gxa(Vj(a,6)),slo:d,bugscopeSloId:String(Vj(a,14)),retentionSettings:b,fieldOrdering:Kxa[Kj(a,17,0)],effortSpec:f,team:v,teamSuggestions:(E=(y=a.getTeamSuggestionsList())==null?void 0:y.map(Exa))!=null?E:[],trackerId:l==="0"?void 0:l,spamProtection:h}},Mxa=function(a){return{author:gj(a.getAuthor()),timestamp:vj(a.getTimestamp()),add:Lxa(a.getAdd()),remove:Lxa(a.getRemove()),addMask:Tva(a.getAddMask()),removeMask:Tva(a.getRemoveMask())}},Oxa=function(a){a=a.getIt();var b;return{updates:((b=
nj(a,Nxa,1,Wi()))!=null?b:[]).map(Mxa)}},Km=function(a){return Lxa(a.getIt())},Pxa=function(a){var b=new Lm;b=pl(b,3,a.parentComponentId).setName(a.name).setDescription(a.description);a.commentEditState&&b.setCommentEditState(a.commentEditState==="ENABLED"?1:2);a.retentionSettings&&(a=$ua(a.retentionSettings),X(b,ql,15,a));return(new Mm).setIt(b)},Qxa=function(a){a=nj(a,Mm,1,Wi());return(a!=null?a:[]).map(Km)},Rxa=function(a){return{warningHeader:Gh(a,1),warning:Gh(a,2),isAllowed:Fj(a,3),isExternalMove:Fj(a,
4)}},Txa=function(a){a=a.getIt();var b=mwa(a.getIssueState());a.getComment()&&(b.comment=a.getComment());a.getFormattingMode()&&(b.formattingMode=Sxa[a.getFormattingMode()]);return{componentId:a.getComponentId_asLegacyNumberOrString(),templateId:a.getTemplateId_asLegacyNumberOrString(),name:a.getName(),description:a.getDescription(),default:Fj(a,9),inheritable:Fj(a,10),snapshot:b}},Uxa=function(a){var b=new Nm,c=b.setIt;var d=(new Om).setFormattingMode(Sl(a.snapshot.formattingMode)).setComment(a.snapshot.comment).setComponentId(a.componentId).setTemplateId(a.templateId).setName(a.name).setDescription(a.description);
d=Hl(d,9,a.default);a=Hl(d,10,a.inheritable).setIssueState(twa(a.snapshot));return c.call(b,a)},Vxa=function(a){a=nj(a,Mm,1,Wi());return(a!=null?a:[]).map(Km)},Wxa=function(a){return{componentPath:a.getComponentPath(),retentionSettings:Yua(W(a,ql,3))}},Yxa=function(a){return nj(a,Xxa,2,Wi()).map(Wxa)},Zxa=function(a){return Txa(W(a,Nm,1))},$xa=function(a){return(nj(a,Nm,1,Wi())||[]).map(Txa)},aya=function(a){return pva(a.getIt())},cya=function(a){return(new bya).setIt(tva(a))},dya=function(a){a=a.getIt();
return{customFields:a.getCustomFieldsList().map(pva),nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},gya=function(a){var b,c=(b=a.getTriage())==null?void 0:Kj(b,1,0),d;b=(d=a.getTriage())==null?void 0:Kj(d,4,0);var e,f,h,l;return{id:a.getId_asString(),triage:{phase:c!=null?eya[c]:"UNSPECIFIED",subphase:b!=null?fya[b]:"TRIAGE_SUBPHASE_UNSPECIFIED",needsInfo:(h=(e=a.getTriage())==null?void 0:Fj(e,2))!=null?h:!1,triagerEmail:(l=(f=a.getTriage())==null?void 0:Gh(f,3))!=null?l:void 0},
clusterId:Pm(a,3)}},jya=function(a){var b=new Qm;b=hk(b,1,hya[a.triage.phase]);b=hk(b,4,iya[a.triage.subphase]).setNeedsInfo(a.triage.needsInfo);b=gk(b,3,a.triage.triagerEmail);b=(new Rm).setId(a.id).setTriage(b);return gk(b,3,a.clusterId)},mya=function(a){var b=a.getId_asString();if(b&&b!=="0"){var c,d,e,f,h,l=(f=(c=a.getTriage())==null?void 0:c.getScope())!=null?f:void 0;c=(h=(d=a.getTriage())==null?void 0:Fj(d,2))!=null?h:!1;var q;(e=a.getTriage())==null?q=void 0:q=nj(e,kya,3,Wi()).map(lya);return{id:b,
triage:{scope:l,showComponentColumn:c,config:q||[]}}}},lya=function(a){switch(fl(a,nya)){case 1:return{type:"CUSTOM_FIELD",customFieldConfig:oya(Al(a,Sm,1,nya))};case 2:return{type:"HOTLIST",hotlistConfig:pya(Al(a,qya,2,nya))};default:throw Error("mc");}},oya=function(a){var b,c=(b=nj(a,rya,2,Wi()).map(function(d){return{phases:d.getPhasesList().map(function(e){return eya[e]}),subphases:d.getSubphasesList().map(function(e){return fya[e]}),value:lva(d.getValue())}}))!=null?b:[];return{customFieldId:a.getCustomFieldId_asString(),
defaultValues:c}},pya=function(a){return{hotlistIds:a.getHotlistIdsList_asString(),operation:sya[a.getOperation()],phases:a.getPhasesList().map(function(b){return eya[b]}),subphases:a.getSubphasesList().map(function(b){return fya[b]})}},tya=function(a){a==="[Deleted User]"&&(a="nobody@google.com");a.includes("@")||(a+="@google.com");var b=new bj;return cj(b,1,a)},uya=function(a){var b;return(b=a==null?void 0:a.trim().split(",").filter(Boolean).map(tya))!=null?b:[]},Tm=function(a){var b;return(b=a==
null?void 0:a.trim().split(",").filter(Boolean).map(hj).filter(kj))!=null?b:[]},Um=function(a){var b;return(b=a==null?void 0:a.trim().split(",").filter(Boolean))!=null?b:[]},wya=function(a){var b=new Vm,c=new Vm,d=new im,e=new im;a=k(a);for(var f=a.next();!f.done;f=a.next()){f=f.value;if(f.ignoreOnIssueEditRequest)break;switch(f.fieldName){case "assignee":f.value?(d.setAssignee(tya(f.value)),Wm(b,"assignee")):(e.setAssignee(new bj),Wm(c,"assignee"));break;case "attachments":break;case "blockedByIssueId":f.actionType===
"ADD"?(d.addAllBlockedByIssueIds(Tm(f.value)),Wm(b,"blocked_by_issue_ids")):(e.addAllBlockedByIssueIds(Tm(f.value)),Wm(c,"blocked_by_issue_ids"));break;case "blockingIssueId":f.actionType==="ADD"?(d.addAllBlockingIssueIds(Tm(f.value)),Wm(b,"blocking_issue_ids")):(e.addAllBlockingIssueIds(Tm(f.value)),Wm(c,"blocking_issue_ids"));break;case "ccs":f.actionType==="ADD"?(d.addAllCcs(uya(f.value)),Wm(b,"ccs")):(e.addAllCcs(uya(f.value)),Wm(c,"ccs"));break;case "changelists":f.actionType==="ADD"?(d.addAllCodeChanges(Um(f.value)),
Wm(b,"code_changes")):(e.addAllCodeChanges(Um(f.value)),Wm(c,"code_changes"));break;case "collaborators":f.actionType==="ADD"?(d.addAllCollaborators(uya(f.value)),Wm(b,"collaborators")):(e.addAllCollaborators(uya(f.value)),Wm(c,"collaborators"));break;case "staffing":if(!f.staffingValue)break;f.actionType==="ADD"?(d.setStaffing(Pva(f.staffingValue)),Wm(b,"staffing")):(e.setStaffing(Pva(f.staffingValue)),Wm(c,"staffing"));break;case "comment":break;case "componentId":d.setComponentId(hj(f.value));
Wm(b,"component_id");break;case "customField":if(!f.customFieldValue)break;var h=mva(f.customFieldValue);f.actionType==="ADD"?(d.addCustomFields(h),Wm(b,"custom_fields")):(e.addCustomFields(h),Wm(c,"custom_fields"));break;case "deletionReason":f.value!=null?(d.setDeletionReason(rwa[f.value]),Wm(b,"deletion_reason")):(e.setDeletionReason(2),Wm(c,"deletion_reason"));break;case "duplicateOfIssueId":(f=hj(f.value))?(d.setCanonicalIssueId(f),Wm(b,"canonical_issue_id")):Wm(c,"canonical_issue_id");break;
case "effortEstimate":f.value?(h=new jm,f=cj(h,2,f.value),d.setEffort(f),Wm(b,"effort")):(e.setEffort(new jm),Wm(c,"effort"));break;case "foundInVersion":f.actionType==="ADD"?(h=d,f=Um(f.value),Xm(h,17,f),Wm(b,"found_in_versions")):(h=e,f=Um(f.value),Xm(h,17,f),Wm(c,"found_in_versions"));break;case "gerritChanges":h=(f.gerritChangeValue||[]).map(qwa);f.actionType==="ADD"?(d.addAllGerritChanges(h),Wm(b,"gerrit_changes")):(e.addAllGerritChanges(h),Wm(c,"gerrit_changes"));break;case "hotlists":f.actionType===
"ADD"?(d.addAllHotlistIds(Tm(f.value)),Wm(b,"hotlist_ids")):(e.addAllHotlistIds(Tm(f.value)),Wm(c,"hotlist_ids"));break;case "inProd":d.setInProd(f.value==="true");Wm(b,"in_prod");break;case "type":d.setType(vya[f.value]);Wm(b,"type");break;case "isArchived":d.setIsArchived(f.value==="true");Wm(b,"is_archived");break;case "isDeleted":d.setIsDeleted(f.value==="true");Wm(b,"is_deleted");break;case "parentId":break;case "priority":d.setPriority(owa[f.value]);Wm(b,"priority");break;case "readState":break;
case "reporter":d.setReporter(tya(f.value));Wm(b,"reporter");break;case "severity":d.setSeverity(pwa[f.value]);Wm(b,"severity");break;case "sloEndTime":(f=hj(f.value))?(d.setSloEndTime(xj({seconds:f,nanos:0})),Wm(b,"slo_end_time")):(e.setSloEndTime(new wj),Wm(c,"slo_end_time"));break;case "sloSnoozeType":d.setSloSnoozeType(swa[f.value]);Wm(b,"slo_snooze_type");break;case "sloStartTime":(f=hj(f.value))?(d.setSloSnoozeUntil(xj({seconds:f,nanos:0})),Wm(b,"slo_snooze_until")):(e.setSloSnoozeUntil(new wj),
Wm(c,"slo_snooze_until"));break;case "status":d.setStatus(nwa[f.value]);Wm(b,"status");break;case "targetedToVersion":f.actionType==="ADD"?(h=d,f=Um(f.value),Xm(h,18,f),Wm(b,"targeted_to_versions")):(h=e,f=Um(f.value),Xm(h,18,f),Wm(c,"targeted_to_versions"));break;case "title":d.setTitle(f.value);Wm(b,"title");break;case "verifiedInVersion":f.actionType==="ADD"?(h=d,f=Um(f.value),Xm(h,19,f),Wm(b,"verified_in_versions")):(h=e,f=Um(f.value),Xm(h,19,f),Wm(c,"verified_in_versions"));break;case "verifier":f.value?
(d.setVerifier(tya(f.value)),Wm(b,"verifier")):(e.setVerifier(new bj),Wm(c,"verifier"));break;default:xb(f.fieldName,"Unhandled IssueFieldName in actionsToIssueStateChanges")}}return{addMask:b,removeMask:c,stateAddBuilder:d,stateRemoveBuilder:e}},xya=function(a){var b=a.actions.filter(function(h){return!h.ignoreOnIssueEditRequest}),c=b.filter(function(h){return h.fieldName!=="comment"}),d=wya(c);c=d.addMask;var e=d.removeMask,f=d.stateAddBuilder;d=d.stateRemoveBuilder;a=(new Ym).setIssueId(Number(a.issueId)).setAdd(f).setRemove(d).setAddMask(c).setRemoveMask(e);
(b=La(b.filter(function(h){return h.fieldName==="comment"})))&&b.value!=null&&a.setIssueComment((new Zm).setComment(b.value));return a},yya=function(a,b,c,d){var e=new $m,f=e.setIt;a=(new an).setIssueId(a);b&&a.setIssueAccessLimit(Gua(b));c&&a.setAddedCollaboratorsList(c.map(fj));d&&a.setRemovedCollaboratorsList(d.map(fj));return f.call(e,a)},zya=function(a){return(new bn).setIt((new cn).setIssueId(Number(a)))},Bya=function(a){return(new Aya).setIt((new dn).setIssueId(Number(a.issueId)).setComponentId(Number(a.componentId)))},
Dya=function(a){var b,c=new Cya,d=c.setIt,e=(new en).setIssueId(String(a.issueId)).setComponentId(String(a.componentId));a=(b=a.setLimitViewTrusted)!=null?b:!1;b=Hl(e,3,a);return d.call(c,b)},Eya=function(a){return{issueId:Ara(a.getIssueId_asString()),status:gm[a.getStatus()],title:a.getTitle()}},Hya=function(a){var b=new Fya;b.setFieldName(a.fieldName);a.value&&b.setValue(a.value);a.actionType&&hk(b,3,Gya[a.actionType]);if(a.customFieldValue){var c=b.setCustomFieldValue;a=a.customFieldValue;a=(new fn).setIt(mva(a));
c.call(b,a)}return b},Jya=function(a){return(new Iya).setIt(xya(a))},Mya=function(a){var b=new Kya,c=a.addHotlistIds.map(String);wc(b,1,c,Kb);c=a.removeHotlistIds.map(String);wc(b,2,c,Kb);var d=a.hotlistIssue;a=(new qm).setIssueId(Number(d.issueId));d.position&&a.setPosition(d.position);if(d.issue){c=a.setIssue;d=d.issue;var e=(new gn).setIssueId(d.issueId).setVersion(d.version).setCustomFieldsList(d.customFields.map(tva)),f=d.visibleFields.map(kva);e=$l(e,34,f).setMajorModifiedTime(zj(d.majorModifiedTimeMicros)).setParentIssueIdsList(d.parentIssueIds.map(hj).filter(kj));
e=uj(e,39,d.childIssueCount);e=uj(e,45,d.descendantCount);e=uj(e,46,d.openDescendantCount).setIsArchived(d.isArchived);d.trackerId&&e.setTrackerId(d.trackerId);d.snapshot&&d.snapshot[0]&&e.setIssueState(twa(d.snapshot[0]));d.statusUpdate&&e.setStatusUpdate(gwa(d.statusUpdate));if(d.userData){f=e.setUserData;var h=d.userData,l=new hn;h.voted&&Hl(l,2,h.voted);h.starred&&Hl(l,1,h.starred);h.notificationSubscription&&l.setNotificationSubscription(Lya[h.notificationSubscription]);h.lastViewedTimeMicros!==
void 0&&(h=zj(h.lastViewedTimeMicros),X(l,wj,5,h));f.call(e,l)}if(d.aggregatedData){f=pl(e,10,d.aggregatedData.voteCount).setCreatedTime(zj(d.aggregatedData.createdTimeMicros)).setResolvedTime(zj(d.aggregatedData.resolvedTimeMicros)).setVerifiedTime(zj(d.aggregatedData.verifiedTimeMicros)).setModifiedTime(zj(d.aggregatedData.modifiedTimeMicros));l=fj(d.aggregatedData.lastModifier);X(f,bj,14,l);if(d.aggregatedData.sloStatus){f=e.setSloStatus;h=d.aggregatedData.sloStatus;l=new jn;if(h.assignmentBounds){var q=
Xva(h.assignmentBounds);X(l,am,1,q)}h.responseBounds&&(q=Xva(h.responseBounds),X(l,am,2,q));h.closureBounds&&(h=Xva(h.closureBounds),X(l,am,3,h));f.call(e,l)}d.aggregatedData.sloId&&e.setSloId(d.aggregatedData.sloId);d.aggregatedData.teamId&&e.setTeamId(d.aggregatedData.teamId);d.aggregatedData.retentionState&&(f=e.setRetentionState,h=d.aggregatedData.retentionState,l=new kn,h.retentionPeriod&&(q=Nra(h.retentionPeriod),X(l,yj,1,q)),h.scheduledDeletionTime&&(h=xj(h.scheduledDeletionTime),X(l,wj,2,
h)),f.call(e,l))}d.accessLimit&&e.setAccessLimit(Lua(d.accessLimit));if(d.ancestors)for(f=e.getAncestorsMap(),l=k(d.ancestors.entries()),h=l.next();!h.done;h=l.next())q=k(h.value),h=q.next().value,q=q.next().value,f.set(Number(h),(new ln).setSourceIssueIdsList(q.sourceIssueIds.map(hj).filter(kj)));d.userActivityStats&&(d=d.userActivityStats,f=new lm,f=pl(f,1,d.oneDayViewCount),f=pl(f,2,d.sevenDayViewCount),d=pl(f,3,d.thirtyDayViewCount),X(e,lm,47,d));c.call(a,e)}a=(new mn).setIt(a);X(b,mn,3,a);return b},
Oya=function(a){var b=nj(a,Nya,1,Wi());return{issueDigests:(b!=null?b:[]).map(Eya),numTotalResults:Vj(a,2)}},Qya=function(a){var b=(new nn).setIssueId(a.issueId).setRetention(bva(a.retention));a.significanceOverride&&b.setSignificanceOverride(sva[a.significanceOverride]);return(new Pya).setIt(b)},Sya=function(a){var b=new Rya,c=b.setIt,d=(new gn).setIssueState(twa(a.snapshot));a.snapshot.comment&&d.setIssueComment((new Zm).setComment(a.snapshot.comment).setFormattingMode(Sl(a.snapshot.formattingMode)));
a.attachments&&d.addAllAttachments(a.attachments.map(fva));d=(new on).setIssue(d);if(a.templateId!=null){var e=new pn;e=Hl(e,1,!1).setTemplateId(a.templateId);X(d,pn,3,e)}a.contentJudgement&&(e=d.setContentJudgement,a=ej(Sua(a.contentJudgement),5,2),a=ej(a,6,1),e.call(d,a));return c.call(b,d)},Tya=function(a){return{issueId:Ara(a.getIssueId_asString())}},Uya=function(a,b){a=(new qn).setQuery(a);b.s&&a.setOrderBy(Xwa(b.s));b.count&&(a.setPageSize(b.count),b.p&&a.setPageToken("start_index:"+b.count*
(b.p-1)));var c;return(new rn).setIt(a).setTrackerIdsList((c=b.trackerIds)!=null?c:[])},eza=function(a,b,c){a=Vya(new Wya,Uya(a,b));c.queryType&&hk(a,2,Xya[c.queryType]);c.sortSpecs&&c.sortSpecs.length&&Yya(a,c.sortSpecs.map(function(d){var e=new Zya;e=hk(e,1,$ya[d.sortType]);return dk(e,2,d.sortDecreasing)}));c.experimentalFields&&aza(a,jya(c.experimentalFields));c.concatenator&&bza(a,cza((new sn).setRelation(dza[c.concatenator.relation]),c.concatenator.experimentalSortPrimary));return a},fza=function(a){return fwa(a.getIt())},
gza=function(a){var b=new tn,c=b.setIt;var d=(new un).setQuery(a.query);d=ej(d,2,sva[a.minimumSignificance]);a=uj(d,4,a.maximumSize);a=ej(a,3,2);return c.call(b,a)},hza=function(a){if(a!=null)return mm(a.getIt())},iza=function(a){var b;return{version:a.version,unlinkifiedComment:a.unlinkifiedComment,commentNumber:a.commentNumber,commentVersion:a.version,commentLastModifiedAtDate:Cra(a.lastModified),commentRedacted:jj(a.redacted),commentContentVerdict:a.commentContentVerdict,commentRetentionState:a.piiRetentionState,
commentDeletionStatus:(b=a.entityStatus)==null?void 0:b.status,commentRetention:a.piiRetention,lastCommentEditorUser:a.lastEditorUser,formattingMode:a.formattingMode,formattedComment:a.formattedComment,commentEtag:a.etag,commentReactions:a.commentReactions}},jza=function(a,b){var c,d,e;b=zj((e=(c=b.aggregatedData)==null?void 0:c.createdTimeMicros)!=null?e:0);c=b!=null?Number(b.toDate()):void 0;return{attachments:[],preDiffs:[],postDiffs:[],modifiedDate:c,userPerformingActionUser:a.lastEditorUser,
userPerformingAction:Bra()(Ui(a.lastEditorUser)),commentVersion:a.version,version:a.version,commentLastModifiedAtDate:Cra(a.lastModified),commentRedacted:jj(a.redacted),commentContentVerdict:a.commentContentVerdict,commentRetentionState:a.piiRetentionState,commentDeletionStatus:(d=a.entityStatus)==null?void 0:d.status,commentRetention:a.piiRetention,lastCommentEditorUser:a.lastEditorUser,commentEtag:a.etag,commentNumber:a.commentNumber,unlinkifiedComment:a.unlinkifiedComment,formattingMode:a.formattingMode,
isMajorEvent:!0,statusUpdate:void 0,taggedSummary:void 0,formattedComment:a.formattedComment,commentReactions:a.commentReactions,issueId:a.issueId}},vn=function(a){if(a!=null)if(a=hza(a.getIssue()),a==null)sj("No issue. issueFetchResponseToJs");else return a},kza=function(a){var b=new wn;b.setIssueIdsList(a.issueIds.map(String));a=a.actions.map(Hya);$l(b,1,a);return b},lza=function(a){return{issueId:a.getIssueId_asString(),message:a.getMessage()}},nza=function(a){for(var b={},c=k(tc(a,1,xn,Vb).entries()),
d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b[Number(d)]=hza(e)}c={};d=k(tc(a,3,Mm,Vb).entries());for(e=d.next();!e.done;e=d.next()){var f=k(e.value);e=f.next().value;f=f.next().value;c[Number(e)]=Km(f)}a=nj(a,mza,2,Wi());a=(a!=null?a:[]).map(lza);return{affectedIssues:b,componentMap:c,errors:a}},oza=function(a){var b;return((b=a.getIt().getIssueCommentsList())!=null?b:[]).map(Ml).map(iza)},pza=function(a){return{readTimestamp:Oj(a.getIt(),wj,3)?Aj(W(a.getIt(),
wj,3)):0}},qza=function(a){a=a.getIt();var b=a.getIssueState(),c=b.getAccessLimit();b={type:Iva(b.getType()),status:gm[b.getStatus()],priority:hm[b.getPriority()],severity:iwa[b.getSeverity()],componentId:b.getComponentId_asLegacyNumberOrString(),accessLimitLevel:c!=null?Hua(c):null};return{issueId:String(a.getIssueId_asLegacyNumberOrString()),issueState:b,modifiedTime:vj(a.getModifiedTime()),teamId:a.getTeamId_asLegacyNumberOrString()}},rza=function(a){return Ml(a.getIt())},sza=function(a){return a.getIt().getIssueCommentsList().map(Ml)},
tza=function(a){return Dva(a==null?void 0:a.getIt())},uza=function(a){a=a.getIt();return{issues:a.getIssuesList().filter(kj).map(mm),numTotalResults:a.getTotalSize(),positionMap:void 0,nextPageToken:a.getNextPageToken(),totalSizeAccurate:a.getTotalSizeAccurate(),maySkipResults:a.getMaySkipResults()}},wza=function(a){return{issueId:a.getIssueId_asString(),summaryType:vza[a.getSummaryType()],modelVersion:a.getModelVersion(),issueVersion:a.getIssueVersion(),summary:a.getSummary(),formattedSummary:Oj(a,
Ql,6)?{content:vk(W(a,Ql,6).getContent())}:void 0}},Bza=function(a){if(a){var b=a==null?void 0:a.getTypeName();switch(b){case "google.protobuf.Int32Value":var c;return{type:"NUMBER",value:(c=Hh(a,xza,b))==null?void 0:c.getValue()};case "google.protobuf.Int64Value":var d;return{type:"NUMBER",value:(d=Hh(a,yza,b))==null?void 0:d.getValue_asLegacyNumberOrString()};case "google.protobuf.StringValue":var e;return{type:"STRING",value:(e=Hh(a,zza,b))==null?void 0:e.getValue()};case "google.protobuf.BoolValue":var f;
return{type:"BOOLEAN",value:(f=Hh(a,Aza,b))==null?void 0:f.getValue()};case "google.protobuf.Timestamp":return{type:"TIMESTAMP",value:vj(Hh(a,wj,b))};case "google.devtools.issuetracker.v1.User":return a=Hh(a,bj,b),{type:"USER",value:a&&gj(a)};case "google.devtools.issuetracker.v1.CustomFieldValue":return a=Hh(a,El,b),{type:"CUSTOM_FIELD_VALUE",value:a&&lva(a)};case "google.devtools.issuetracker.v1.IssueAccessLimit":return a=Hh(a,ml,b),{type:"ISSUE_ACCESS_LIMIT",value:a&&Hua(a)};case "google.devtools.issuetracker.v1.Issue.Effort":return a=
Hh(a,jm,b),{type:"STRING",value:a&&uva(a).estimate};case "google.devtools.issuetracker.v1.EntityStatus":return a=Hh(a,tl,b),{type:"ENTITY_STATUS",value:a&&Uua(a)};case "google.devtools.issuetracker.v1.GerritChange":return a=Hh(a,km,b),{type:"GERRIT_CHANGE",value:a&&jwa(a)};case "google.devtools.issuetracker.v1.Staffing.PlannedAllocation":return a=Hh(a,Ul,b),{type:"PLANNED_ALLOCATION",value:a&&Sva(a)};default:console.error("Unhandled type in parseProtoAny: "+b)}}},Dza=function(a){var b,c;return{issueId:String(a.getIssueId_asLegacyNumberOrString()),
version:a.getVersion(),author:gj(a.getAuthor()),timestamp:vj(a.getTimestamp()),fieldUpdates:a.getFieldUpdatesList().map(Cza).filter(kj),attachments:a.getAttachmentsList().map(dva),comment:a.hasIssueComment()&&((b=a.getIssueComment())==null?void 0:b.getIssueId_asLegacyNumberOrString())!==0?Ml(a.getIssueComment()):void 0,statusUpdate:a.hasStatusUpdate()?fwa(a.getStatusUpdate()):void 0,statusUpdateEntityStatus:((c=a.getStatusUpdate())==null?0:c.getEntityStatus())?Uua(a.getStatusUpdate().getEntityStatus()):
void 0}},Cza=function(a){var b=a.getField();if(Eza.has(b)){var c=fl(a,Fza);switch(c){case 3:a:{if(c=Al(a,Gza,3,Fza)){a=Bza(W(c,yn,1));var d=Bza(W(c,yn,2));if(a||d){var e;c={type:(e=a==null?void 0:a.type)!=null?e:d==null?void 0:d.type,oldValue:a==null?void 0:a.value,newValue:d==null?void 0:d.value};break a}}c=void 0}return{field:b,singleValueUpdate:c};case 4:return{field:b,collectionUpdate:Hza(Al(a,Iza,4,Fza))};default:console.error("Unexpected ValueUpdate oneof in Proto for field id:"+c)}}else console.error('Unexpected IssueStateMask value: "'+
b+'"')},Hza=function(a){if(a){var b=nj(a,yn,1,Wi()).map(Bza).filter(kj);a=nj(a,yn,2,Wi()).map(Bza).filter(kj);var c=[].concat(w(b),w(a));if(c.length!==0)return{type:c[0].type,added:b.map(function(d){return d.value}),removed:a.map(function(d){return d.value})}}},zn=function(a){return new Di(a.year,a.month-1,a.day)},An=function(a){return{month:a.getMonth()+1,day:a.getDate(),year:a.getFullYear()}},Jza=function(a){return!(!a||a.day==null||a.month==null||a.year==null)},Kza=function(a,b){if(a&&b){var c=
k(b.split(":"));b=c.next().value;c=c.next().value;return new Uk(a.getYear(),a.getMonth(),a.getDate(),Number(b),Number(c))}},Bn=function(a){return a.numericValue===0?a.numericValue:a.textValue||a.dateValue||a.enumValue||a.numericValue||a.repeatedTextValue||a.repeatedDateValue||a.repeatedEnumValue||a.repeatedNumericValue||null},Cn=function(a){a=Bn(a);return a==null?!0:typeof a==="string"?a==="":typeof a==="number"?!1:a.values!=null?a.values.length===0:!a||!a.day||!a.month||!a.year},Lza=function(a){return a?
An(Fi(a)):null},Mza=function(a){return a?(a=cm(a),isNaN(a)?null:a):null},Oza=function(a){return Nza.format(zn(a))},Rza=function(a){var b=a.fieldUpdates.map(function(c){return Pza(c,a)}).filter(kj);a.statusUpdate&&b.push({name:"statusUpdate",displayName:"Status Update",type:"STATUS_UPDATE",important:!1,timestamp:Sk(a.timestamp),statusUpdateDiff:a.statusUpdateEntityStatus?{entityStatus:a.statusUpdateEntityStatus}:void 0});return Qza(b)},Qza=function(a){var b=a.filter(function(h){return h.name==="status"});
a=a.filter(function(h){return h.name!=="status"});var c=[].concat(w(a),w(b));b=[];a=void 0;c=k(c);for(var d=c.next();!d.done;d=c.next())d=d.value,d.name==="canonicalId"?a=d:(d.name==="status"&&a&&(d.newValue==="Duplicate"&&(d.newValue="Duplicate of "+a.newValue),d.oldValue==="Duplicate"&&(d.oldValue="Duplicate of "+a.oldValue),a=void 0),b.push(d));var e,f;((e=a)==null?0:e.oldValue)&&((f=a)==null?0:f.newValue)&&b.push({name:"status",displayName:"Status",type:"SINGLE_VALUE",important:!0,timestamp:a.timestamp,
oldValue:"Duplicate of "+a.oldValue,newValue:"Duplicate of "+a.newValue});return b},Pza=function(a,b){var c=Sk(b.timestamp);b=b.version===0;var d=a.field;switch(d){case "access_limit":var e=a.singleValueUpdate;return{name:"access_limit",displayName:"Issue access level",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:e.oldValue||"",newValue:e.newValue||""};case "assignee":return e=a.singleValueUpdate,{name:"assignee",displayName:"Assignee",type:"SINGLE_VALUE",important:!0,timestamp:c,isUser:!0,
oldValue:Dn(e.oldValue),newValue:Dn(e.newValue)};case "blocked_by_issue_ids":return e=a.collectionUpdate,{name:"blockedById",displayName:"Blocked by",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(Nk),removed:e.removed.map(Nk)};case "blocking_issue_ids":return e=a.collectionUpdate,{name:"blockingId",displayName:"Blocking",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(Nk),removed:e.removed.map(Nk)};case "canonical_issue_id":return e=a.singleValueUpdate,{name:"canonicalId",
displayName:"Canonical",type:"SINGLE_VALUE",important:!0,timestamp:c,oldValue:ij(e.oldValue),newValue:ij(e.newValue)};case "ccs":return e=a.collectionUpdate,{name:"cc",displayName:"CC",type:"USER_COLLECTION",important:!1,timestamp:c,isUser:!0,added:e.added.map(Dn),removed:e.removed.map(Dn)};case "collaborators":return e=a.collectionUpdate,{name:"collaborators",displayName:"Collaborators",type:"USER_COLLECTION",important:!1,timestamp:c,isUser:!0,added:e.added.map(Dn),removed:e.removed.map(Dn)};case "child_issue_ids":return e=
a.collectionUpdate,{name:"childIssueIds",displayName:"Child Issue",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(Nk),removed:e.removed.map(Nk)};case "code_changes":return e=a.collectionUpdate,Object.assign({},{name:"changelist",displayName:"Changelist",important:!1,timestamp:c},Vsa()?{type:"LINKED_COLLECTION",added:e.added.map(ita),removed:e.removed.map(ita)}:{type:"COLLECTION",added:e.added,removed:e.removed});case "component_id":var f=a.singleValueUpdate,h;return{name:"component",
displayName:"Component",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:(e=ij(f.oldValue))!=null?e:"",newValue:(h=ij(f.newValue))!=null?h:""};case "custom_fields":return e=a.singleValueUpdate,h=(e.oldValue||e.newValue).customFieldId,{customFieldId:h,name:String(h),displayName:"",type:"CUSTOM_FIELD",important:!1,timestamp:c,oldValue:Sza(e.oldValue),newValue:Sza(e.newValue)};case "duplicate_issue_ids":return e=a.collectionUpdate,{name:"duplicateId",displayName:"Duplicate issue",type:"LINKED_COLLECTION",
important:!1,timestamp:c,added:e.added.map(Nk),removed:e.removed.map(Nk)};case "effort":return e=a.singleValueUpdate,{name:"effort",displayName:"Estimated Effort",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:e.oldValue||"<none>",newValue:e.newValue||"<none>"};case "found_in_versions":return e=a.collectionUpdate,{name:"foundIn",displayName:"Found in",type:"COLLECTION",important:!1,timestamp:c,added:e.added,removed:e.removed};case "gerrit_changes":return e=a.collectionUpdate,{name:"gerritChange",
displayName:"Gerrit change",important:!1,timestamp:c,type:"LINKED_COLLECTION",added:e.added.map(function(Da){return jta(Da)}),removed:e.removed.map(function(Da){return jta(Da)})};case "hotlist_ids":return e=a.collectionUpdate,{name:"hotlist",displayName:"Hotlist",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(kta),removed:e.removed.map(kta)};case "in_prod":return e=a.singleValueUpdate,{name:"inProd",displayName:"In prod",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:e.oldValue!=
null?String(e.oldValue):"",newValue:e.newValue!=null?String(e.newValue):""};case "is_archived":e=a.singleValueUpdate;var l;return{name:"isArchived",displayName:"Archived",type:"SINGLE_VALUE",important:!b||e.newValue,timestamp:c,oldValue:String((f=e.oldValue)!=null?f:!1),newValue:String((l=e.newValue)!=null?l:!1)};case "parent_issue_ids":return e=a.collectionUpdate,{name:"parentIssueIds",displayName:"Parent Issue",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(Nk),removed:e.removed.map(Nk)};
case "staffing.planned_allocations":return e=a.collectionUpdate,e=ota(e.added,e.removed),{name:"staffing",displayName:"Staffing",important:!1,timestamp:c,type:"COLLECTION",added:e.additions,removed:e.removals};case "postmortems":return e=a.collectionUpdate,Object.assign({},{name:"postmortem",displayName:"Postmortem",timestamp:c,important:!1},Vsa()?{type:"LINKED_COLLECTION",added:e.added.map(lta),removed:e.removed.map(lta)}:{type:"COLLECTION",added:e.added,removed:e.removed});case "priority":return e=
a.singleValueUpdate,{name:"priority",displayName:"Priority",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:e.oldValue!=null?hm[e.oldValue]:"",newValue:e.newValue!=null?hm[e.newValue]:""};case "retention":e=a.singleValueUpdate;var q,v;return{name:"retention",displayName:"Retention",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:(q=Tza(e.oldValue))!=null?q:"",newValue:(v=Tza(e.newValue))!=null?v:""};case "reporter":return e=a.singleValueUpdate,{name:"reporter",displayName:"Reporter",type:"SINGLE_VALUE",
important:!1,timestamp:c,isUser:!0,oldValue:Dn(e.oldValue),newValue:Dn(e.newValue)};case "severity":return e=a.singleValueUpdate,{name:"severity",displayName:"Severity",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:e.oldValue!=null?iwa[e.oldValue]:"",newValue:e.newValue!=null?iwa[e.newValue]:""};case "slo_snooze_until":e=a.singleValueUpdate;var y,E,H,O;return{name:"sloStartTime",displayName:"SLO Start Date",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:String((H=(y=e.oldValue)==null?
void 0:y.seconds)!=null?H:"<none>"),newValue:String((O=(E=e.newValue)==null?void 0:E.seconds)!=null?O:"<none>")};case "slo_end_time":e=a.singleValueUpdate;var N,T,da,ja;return{name:"sloEndTime",displayName:"SLO End Date",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:String((da=(N=e.oldValue)==null?void 0:N.seconds)!=null?da:"<none>"),newValue:String((ja=(T=e.newValue)==null?void 0:T.seconds)!=null?ja:"<none>")};case "status":e=a.singleValueUpdate;var na,Ia;return{name:"status",displayName:"Status",
type:"SINGLE_VALUE",important:!0,timestamp:c,oldValue:Ji((na=En.get(e.oldValue))!=null?na:""),newValue:Ji((Ia=En.get(e.newValue))!=null?Ia:"")};case "targeted_to_versions":return e=a.collectionUpdate,{name:"targetedTo",displayName:"Targeted to",type:"COLLECTION",important:!1,timestamp:c,added:e.added,removed:e.removed};case "title":e=a.singleValueUpdate;var Pa,Na;return{name:"title",displayName:"Title",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:(Pa=e.oldValue)!=null?Pa:"",newValue:(Na=
e.newValue)!=null?Na:""};case "type":e=a.singleValueUpdate;var bb,ma;return{name:"type",displayName:"Type",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:(bb=Uza.get(e.oldValue))!=null?bb:"",newValue:(ma=Uza.get(e.newValue))!=null?ma:""};case "verifier":return e=a.singleValueUpdate,{name:"verifier",displayName:"Verifier",type:"SINGLE_VALUE",important:!1,timestamp:c,isUser:!0,oldValue:Dn(e.oldValue),newValue:Dn(e.newValue)};case "verified_in_versions":return e=a.collectionUpdate,{name:"verifiedIn",
displayName:"Verified in",type:"COLLECTION",important:!1,timestamp:c,added:e.added,removed:e.removed};case "deletion_reason":case "entity_status":case "is_deleted":case "slo_snooze_type":case "staffing":break;default:xb(d,"Unexpected IssueStateMask in fieldUpdateToDiff")}},Dn=function(a){return Bra()(Ui(a))},Sza=function(a){var b;a==null?b="<none>":b=a.textValue!=null?a.textValue:a.dateValue!=null?Oza(a.dateValue):a.enumValue!=null?a.enumValue:a.numericValue!=null?String(a.numericValue):a.repeatedTextValue!=
null?a.repeatedTextValue.values.join(", "):a.repeatedDateValue!=null?a.repeatedDateValue.values.map(Oza).join(", "):a.repeatedEnumValue!=null?a.repeatedEnumValue.values.join(", "):a.repeatedNumericValue!=null?a.repeatedNumericValue.values.map(String).join(", "):"";return b},Tza=function(a){if(a!=null)switch(lwa[a]){case "COMPONENT_DEFAULT":return"Component Default";case "INDEFINITE":return"Indefinite"}},Yza=function(a){var b=void 0,c=void 0;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;
var e=d.updates.flatMap(function(y){return y.fieldUpdates}),f=void 0,h=(f=La(e.filter(function(y){return y.field==="assignee"})))==null?void 0:f.singleValueUpdate;h&&(b=Vza(h));f=void 0;var l=(f=La(e.filter(function(y){return y.field==="verifier"})))==null?void 0:f.singleValueUpdate;l&&(c=Vza(l));f=void 0;l=(f=La(e.filter(function(y){return y.field==="status"})))==null?void 0:f.singleValueUpdate;var q=void 0;f=(q=La(e.filter(function(y){return y.field==="canonical_issue_id"})))==null?void 0:q.singleValueUpdate;
q=void 0;e=(q=La(e.filter(function(y){return y.field==="is_archived"})))==null?void 0:q.singleValueUpdate;if(l){q=l.oldValue!=null?gm[l.oldValue]:void 0;l=l.newValue!=null?gm[l.newValue]:void 0;var v=void 0;f=ij((v=f)==null?void 0:v.newValue);Wza(d,Xza({oldStatus:q,newStatus:l,currentAssignee:b,currentVerifier:c,canonicalIssueId:f,assigneeChanged:!!h}))}else h&&b?Wza(d,[Fn("Reassigned to "),Gn(b),Fn(".")]):f&&(l=void 0,f=ij((l=f)==null?void 0:l.newValue),Wza(d,Xza({oldStatus:"DUPLICATE",newStatus:"DUPLICATE",
currentAssignee:b,currentVerifier:c,canonicalIssueId:f,assigneeChanged:!!h})));e&&Wza(d,[Fn(e.newValue?"Archived.":"Unarchived.")])}},Xza=function(a){var b=a.oldStatus;var c=a.newStatus;var d=a.currentAssignee;var e=a.currentVerifier;var f=a.canonicalIssueId;a=a.assigneeChanged;b=b&&$k[b];var h=c&&$k[c];if(b&&h&&!b.open&&h.open)return[Fn("Status: "+h.displayValue+" (reopened)")];switch(c){case "ASSIGNED":if(d)return[Fn("Assigned to "),Gn(d),Fn(".")];break;case "ACCEPTED":if(d)return[Fn("Accepted by "),
Gn(d),Fn(".")];break;case "FIXED":return a&&d?[Fn("Marked as fixed, reassigned to "),Gn(d),Fn(".")]:[Fn("Marked as fixed.")];case "VERIFIED":if(e)return[Fn("Verified by "),Gn(e),Fn(".")];break;case "DUPLICATE":if(f)return[Fn("Status: Duplicate of "),{text:f,tag:"bug"}]}return[Fn("Status: "+Ji(h.displayValue))]},Vza=function(a){if(a)return a.newValue},Fn=function(a){return{text:a,tag:""}},Gn=function(a){switch(a.userGaiaStatus){case "ACTIVE":case "UNSPECIFIED":case void 0:if(a.emailAddress)return{text:a.emailAddress,
tag:"user"};if(a.obfuscatedEmailAddress)return Fn(a.obfuscatedEmailAddress);break;case "DELETED":return Fn("Deleted User");case "UNAVAILABLE":return Fn("Unavailable User");default:return console.warn("Unexpected User Gaia status in userToTaggedText"),{text:""}}return Fn("User")},aAa=function(a){if(!a.length)return[];a=Bta(a,function(b){return b.issueId}).flatMap(Zza);return $za(a,"DESCENDING")},Zza=function(a){if(!a.length)return[];a=bAa(a);Yza(a);return a.map(function(b){return cAa(b)}).filter(dAa)},
dAa=function(a){var b;return a.postDiffs.length||a.preDiffs.length||a.commentNumber||a.attachments.length||((b=a.taggedSummary)==null?void 0:b.length)},bAa=function(a){var b=eAa(a,"ASCENDING");a=[new fAa];b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=La(a),e;var f=e=void 0;if(d.updates.length===0)e=!0;else{var h;if(!(h=d.hasInitialUpdate)&&!(h=!d.author||!c.author)){h=d.author;var l=c.author;h=!(h===l||(h.emailAddress||l.emailAddress?h.emailAddress===l.emailAddress:(h.obfuscatedEmailAddress||
l.obfuscatedEmailAddress)&&h.obfuscatedEmailAddress===l.obfuscatedEmailAddress))}if(h||d.comment&&c.comment)e=!1;else{if(h=(f=d.updates[0])==null?0:f.timestamp)f=(e=d.updates[0])==null?void 0:e.timestamp,h=Math.abs(Sk(f)-Sk(c.timestamp))>36E5;e=h?!1:!0}}e?gAa(d,c):a.push(gAa(new fAa,c))}return a},hAa=function(a){var b={};if(a==null)return b;a=nj(a,Hn,1,Wi());a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getResource(),e={admin:!1,writer:!1,appender:!1,reader:!1};b[d]=b[d]||e;switch(c.getRelation()){case 1:b[d].admin=
!0;break;case 2:b[d].writer=!0;break;case 3:b[d].appender=!0;break;case 4:b[d].reader=!0}}return b},iAa=function(a,b){return a.map(function(c){var d=c.resourceName;c=c.relation;return b[d]!==void 0&&b[d][c]!==void 0?b[d][c]:!1})},jAa=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())b.value.remove()},kAa=function(a,b){b=b.createElement("style");b.textContent=a;return b},lAa=function(a,b){b=b.createElement("link");b.setAttribute("rel","stylesheet");b.setAttribute("href",a);return b},nAa=function(a,
b){return b.map(function(c){return c.replace(mAa,a)})},oAa=function(a){var b=new Map;a.length>0&&a.replace(/^\?/,"").split("&").forEach(function(c){var d=c.indexOf("=");d=k(d==-1?[decodeURIComponent(c),""]:[decodeURIComponent(c.slice(0,d)),decodeURIComponent(c.slice(d+1))]);c=d.next().value;d=d.next().value;var e=b.get(c)||[];e.push(d);b.set(c,e)});return b},rAa=function(a){return encodeURIComponent(a).replace(pAa,function(b,c){var d;return(d=qAa[c])!=null?d:b})},sAa=function(a){return""+a},tAa=function(a){return typeof ArrayBuffer!==
"undefined"&&a instanceof ArrayBuffer},uAa=function(a){return typeof Blob!=="undefined"&&a instanceof Blob},vAa=function(a){return typeof FormData!=="undefined"&&a instanceof FormData},wAa=function(a,b){return{body:b,headers:a.headers,context:a.context,observe:a.observe,params:a.params,reportProgress:a.reportProgress,responseType:a.responseType,withCredentials:a.withCredentials,transferCache:a.transferCache}},xAa=function(a){return a.url?a.url:a.headers.get("X-Request-URL".toLocaleLowerCase())},yAa=
function(){},zAa=function(a,b){return b(a)},AAa=function(a,b){return function(c,d){return b.intercept(c,{handle:function(e){return a(e,d)}})}},BAa=function(a,b,c){return function(d,e){return Ed(c,function(){return b(d,function(f){return a(f,e)})})}},FAa=function(a,b){var c=a.url.toLowerCase();if(!r(CAa)||a.method==="GET"||a.method==="HEAD"||c.startsWith("http://")||c.startsWith("https://"))return b(a);c=r(DAa).getToken();var d=r(EAa);c==null||a.headers.has(d)||(a=a.clone({headers:a.headers.set(d,
c)}));return b(a)},HAa=function(){if(GAa===void 0&&(GAa=null,typeof window!=="undefined")){var a=window;a.trustedTypes!==void 0&&(GAa=a.trustedTypes.createPolicy("angular#components",{createHTML:function(b){return b}}))}return GAa},IAa=function(a){var b;return((b=HAa())==null?void 0:b.createHTML(a))||a},JAa=function(){var a=r(ei),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:""}}},KAa=function(a){if(a&1){var b=x();I(0,"div",1)(1,"button",2);M("click",function(){z(b);
var c=P();return A(c.action())});Q(2);J()()}a&2&&(a=P(),C(2),R(" ",a.data.action," "))},LAa=function(){},MAa=function(a){a&1&&K(0,"span",1);a&2&&(a=P(),F("innerHtml",a.data.htmlMessage,nf))},NAa=function(a){a&1&&(I(0,"span",2),Q(1),J());a&2&&(a=P(),C(),Tg(a.data.message))},OAa=function(a){if(a&1){var b=x();I(0,"button",6);M("click",function(){z(b);var c=P();return A(c.snackBarRef.dismissWithAction())});Q(1);J()}a&2&&(a=P(),C(),R(" ",a.data.actionLabel," "))},PAa=function(a){if(a&1){var b=x();I(0,
"button",6);M("click",function(){z(b);var c=P();return A(c.snackBarRef.dismiss())});Q(1);J()}a&2&&(a=P(),C(),R(" ",a.data.dismissLabel," "))},QAa=function(a){if(a&1){var b=x();I(0,"button",7);M("click",function(){z(b);var c=P();return A(c.snackBarRef.dismiss())});K(1,"mat-icon",8);J()}},RAa=function(a){var b;return((b=a.error)==null?void 0:b.message)!==void 0},Jn=function(a){return!!a&&In(a)&&(!!a.data&&a.data.message!==void 0||RAa(a))},Kn=function(a){return a.data&&a.data.message!==void 0&&a.data&&
a.data.message?a.data.message:RAa(a)&&a.error&&a.error.message?a.error.message:""},SAa=function(a,b,c){var d=c.path.split("/");if(d.length>a.length||c.pathMatch==="full"&&(b.hasChildren()||d.length<a.length))return null;b={};for(c=0;c<d.length;c++){var e=d[c],f=a[c];if(e[0]===":")b[e.substring(1)]=f;else if(e!==f.path)return null}return{consumed:a.slice(0,d.length),posParams:b}},Ln=function(a,b){var c=a?TAa(a):void 0,d=b?TAa(b):void 0;if(!c||!d||c.length!=d.length)return!1;for(var e=0;e<c.length;e++)if(d=
c[e],!UAa(a[d],b[d]))return!1;return!0},TAa=function(a){return[].concat(w(Object.keys(a)),w(Object.getOwnPropertySymbols(a)))},UAa=function(a,b){if(Array.isArray(a)&&Array.isArray(b)){if(a.length!==b.length)return!1;a=[].concat(w(a)).sort();var c=[].concat(w(b)).sort();return a.every(function(d,e){return c[e]===d})}return a===b},Mn=function(a){return fia(a)?a:uf(a)?ue(Promise.resolve(a)):Fe(a)},XAa=function(a,b,c){return VAa[c.paths](a.root,b.root,c.matrixParams)&&WAa[c.queryParams](a.queryParams,
b.queryParams)&&!(c.fragment==="exact"&&a.fragment!==b.fragment)},YAa=function(a,b){return Ln(a,b)},$Aa=function(a,b,c){if(!Nn(a.segments,b.segments)||!ZAa(a.segments,b.segments,c)||a.numberOfChildren!==b.numberOfChildren)return!1;for(var d in b.children)if(!a.children[d]||!$Aa(a.children[d],b.children[d],c))return!1;return!0},aBa=function(a,b){return Object.keys(b).length<=Object.keys(a).length&&Object.keys(b).every(function(c){return UAa(a[c],b[c])})},cBa=function(a,b,c){return bBa(a,b,b.segments,
c)},bBa=function(a,b,c,d){if(a.segments.length>c.length)return a=a.segments.slice(0,c.length),Nn(a,c)&&!b.hasChildren()&&ZAa(a,c,d)?!0:!1;if(a.segments.length===c.length){if(!Nn(a.segments,c)||!ZAa(a.segments,c,d))return!1;for(var e in b.children)if(!a.children[e]||!cBa(a.children[e],b.children[e],d))return!1;return!0}e=c.slice(0,a.segments.length);c=c.slice(a.segments.length);return Nn(a.segments,e)&&ZAa(a.segments,e,d)&&a.children.primary?bBa(a.children.primary,b,c,d):!1},ZAa=function(a,b,c){return b.every(function(d,
e){return WAa[c](a[e].parameters,d.parameters)})},dBa=function(a,b){return Nn(a,b)&&a.every(function(c,d){return Ln(c.parameters,b[d].parameters)})},Nn=function(a,b){return a.length!==b.length?!1:a.every(function(c,d){return c.path===b[d].path})},eBa=function(a,b){var c=[];Object.entries(a.children).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;d==="primary"&&(c=c.concat(b(e,d)))});Object.entries(a.children).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;d!=="primary"&&
(c=c.concat(b(e,d)))});return c},hBa=function(a){return a.segments.map(function(b){return fBa(b.path)+gBa(b.parameters)}).join("/")},On=function(a,b){if(!a.hasChildren())return hBa(a);if(b){b=a.children.primary?On(a.children.primary,!1):"";var c=[];Object.entries(a.children).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;d!=="primary"&&c.push(d+":"+On(e,!1))});return c.length>0?b+"("+c.join("//")+")":b}b=eBa(a,function(d,e){return e==="primary"?[On(a.children.primary,!1)]:[e+":"+
On(d,!1)]});return Object.keys(a.children).length===1&&a.children.primary!=null?hBa(a)+"/"+b[0]:hBa(a)+"/("+b.join("//")+")"},iBa=function(a){return encodeURIComponent(a).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")},jBa=function(a){return iBa(a).replace(/%3B/gi,";")},fBa=function(a){return iBa(a).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")},gBa=function(a){return Object.entries(a).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;
return";"+fBa(b)+"="+fBa(c)}).join("")},kBa=function(a){a=Object.entries(a).map(function(b){b=k(b);var c=b.next().value;b=b.next().value;return Array.isArray(b)?b.map(function(d){return jBa(c)+"="+jBa(d)}).join("&"):jBa(c)+"="+jBa(b)}).filter(function(b){return b});return a.length?"?"+a.join("&"):""},mBa=function(a){return(a=a.match(lBa))?a[0]:""},nBa=function(a){var b={};return a.segments.length>0?new Pn([],(b.primary=a,b)):a},oBa=function(a){for(var b={},c=k(Object.entries(a.children)),d=c.next();!d.done;d=
c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;e=oBa(e);if(d==="primary"&&e.segments.length===0&&e.hasChildren())for(d=k(Object.entries(e.children)),e=d.next();!e.done;e=d.next()){var f=k(e.value);e=f.next().value;f=f.next().value;b[e]=f}else if(e.segments.length>0||e.hasChildren())b[d]=e}a=new Pn(a.segments,b);a.numberOfChildren===1&&a.children.primary&&(b=a.children.primary,a=new Pn(a.segments.concat(b.segments),b.children));return a},Rn=function(a){return a instanceof Qn},pBa=function(a){function b(f){for(var h=
{},l=k(f.children),q=l.next();!q.done;q=l.next()){q=q.value;var v=b(q);h[q.outlet]=v}h=new Pn(f.url,h);f===a&&(c=h);return h}var c,d=b(a.root);d=nBa(d);var e;return(e=c)!=null?e:d},vBa=function(a,b,c,d){for(var e=a;e.parent;)e=e.parent;if(b.length===0)return qBa(e,e,e,c,d);b=rBa(b);if(b.isAbsolute&&b.commands.length===1&&b.commands[0]=="/")return qBa(e,e,new Pn([],{}),c,d);var f=e;if(b.isAbsolute)a=new sBa(f,!0,0);else if(a)if(a.parent===null)a=new sBa(a,!0,0);else{f=a;a=a.segments.length-1+(tBa(b.commands[0])?
0:1);for(var h=b.numberOfDoubleDots;h>a;){h-=a;f=f.parent;if(!f)throw new $c(4005,!1);a=f.segments.length}a=new sBa(f,!1,a-h)}else a=new sBa(f,!1,NaN);b=a.processChildren?Sn(a.segmentGroup,a.index,b.commands):uBa(a.segmentGroup,a.index,b.commands);return qBa(e,a.segmentGroup,b,c,d)},tBa=function(a){return typeof a==="object"&&a!=null&&!a.outlets&&!a.segmentPath},Tn=function(a){return typeof a==="object"&&a!=null&&a.outlets},qBa=function(a,b,c,d,e){var f={};d&&Object.entries(d).forEach(function(h){var l=
k(h);h=l.next().value;l=l.next().value;f[h]=Array.isArray(l)?l.map(function(q){return""+q}):""+l});a=a===b?c:wBa(a,b,c);a=nBa(oBa(a));return new Qn(a,f,e)},wBa=function(a,b,c){var d={};Object.entries(a.children).forEach(function(e){var f=k(e);e=f.next().value;f=f.next().value;d[e]=f===b?c:wBa(f,b,c)});return new Pn(a.segments,d)},rBa=function(a){if(typeof a[0]==="string"&&a.length===1&&a[0]==="/")return new xBa(!0,0,a);var b=0,c=!1;a=a.reduce(function(d,e,f){if(typeof e==="object"&&e!=null){if(e.outlets){var h=
{};Object.entries(e.outlets).forEach(function(l){var q=k(l);l=q.next().value;q=q.next().value;h[l]=typeof q==="string"?q.split("/"):q});return[].concat(w(d),[{outlets:h}])}if(e.segmentPath)return[].concat(w(d),[e.segmentPath])}return typeof e!=="string"?[].concat(w(d),[e]):f===0?(e.split("/").forEach(function(l,q){if(q!=0||l!==".")q==0&&l===""?c=!0:l===".."?b++:l!=""&&d.push(l)}),d):[].concat(w(d),[e])},[]);return new xBa(c,b,a)},yBa=function(a){if(Tn(a[0]))return a[0].outlets;var b={};return b.primary=
a,b},uBa=function(a,b,c){a!=null||(a=new Pn([],{}));if(a.segments.length===0&&a.hasChildren())return Sn(a,b,c);a:{var d=a;for(var e=0,f=b,h={match:!1,pathIndex:0,commandIndex:0};f<d.segments.length;){if(e>=c.length){d=h;break a}var l=d.segments[f],q=c[e];if(Tn(q))break;q=""+q;var v=e<c.length-1?c[e+1]:null;if(f>0&&q===void 0)break;if(q&&v&&typeof v==="object"&&v.outlets===void 0){if(q!=l.path||!Ln(v,l.parameters)){d=h;break a}e+=2}else{v={};if(q!=l.path||!Ln(v,l.parameters)){d=h;break a}e++}f++}d=
{match:!0,pathIndex:f,commandIndex:e}}e=c.slice(d.commandIndex);return d.match&&d.pathIndex<a.segments.length?(b=new Pn(a.segments.slice(0,d.pathIndex),{}),b.children.primary=new Pn(a.segments.slice(d.pathIndex),a.children),Sn(b,0,e)):d.match&&e.length===0?new Pn(a.segments,{}):d.match&&!a.hasChildren()?zBa(a,b,c):d.match?Sn(a,0,e):zBa(a,b,c)},Sn=function(a,b,c){if(c.length===0)return new Pn(a.segments,{});var d=yBa(c),e={};if(Object.keys(d).some(function(f){return f!=="primary"})&&a.children.primary&&
a.numberOfChildren===1&&a.children.primary.segments.length===0)return c=Sn(a.children.primary,b,c),new Pn(a.segments,c.children);Object.entries(d).forEach(function(f){var h=k(f);f=h.next().value;h=h.next().value;typeof h==="string"&&(h=[h]);h!==null&&(e[f]=uBa(a.children[f],b,h))});Object.entries(a.children).forEach(function(f){var h=k(f);f=h.next().value;h=h.next().value;d[f]===void 0&&(e[f]=h)});return new Pn(a.segments,e)},zBa=function(a,b,c){for(var d=a.segments.slice(0,b),e=0;e<c.length;){var f=
c[e];if(Tn(f))return a=ABa(f.outlets),new Pn(d,a);if(e===0&&tBa(c[0]))d.push(new Un(a.segments[b].path,BBa(c[0]))),e++;else{f=Tn(f)?f.outlets.primary:""+f;var h=e<c.length-1?c[e+1]:null;f&&h&&tBa(h)?(d.push(new Un(f,BBa(h))),e+=2):(d.push(new Un(f,{})),e++)}}return new Pn(d,{})},ABa=function(a){var b={};Object.entries(a).forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;typeof d==="string"&&(d=[d]);d!==null&&(b[c]=zBa(new Pn([],{}),0,d))});return b},BBa=function(a){var b={};Object.entries(a).forEach(function(c){var d=
k(c);c=d.next().value;d=d.next().value;return b[c]=""+d});return b},CBa=function(a,b){a.providers&&!a._injector&&(a._injector=Uja(a.providers,b,"Route: "+a.path));var c;return(c=a._injector)!=null?c:b},Vn=function(a){return a.outlet||"primary"},DBa=function(a,b){var c=a.filter(function(d){return Vn(d)===b});c.push.apply(c,w(a.filter(function(d){return Vn(d)!==b})));return c},Wn=function(a){if(!a)return null;var b;if((b=a.routeConfig)==null?0:b._injector)return a.routeConfig._injector;for(a=a.parent;a;a=
a.parent){b=a.routeConfig;var c=void 0;if((c=b)==null?0:c._loadedInjector)return b._loadedInjector;c=void 0;if((c=b)==null?0:c._injector)return b._injector}return null},EBa=function(a,b){if(a===b.value)return b;b=k(b.children);for(var c=b.next();!c.done;c=b.next())if(c=EBa(a,c.value))return c;return null},FBa=function(a,b){if(a===b.value)return[b];for(var c=k(b.children),d=c.next();!d.done;d=c.next())if(d=FBa(a,d.value),d.length)return d.unshift(b),d;return[]},Xn=function(a){var b={};a&&a.children.forEach(function(c){return b[c.value.outlet]=
c});return b},GBa=function(a,b,c){var d=a.routeConfig,e;if(b===null||(c===void 0?"emptyOnly":c)!=="always"&&(d==null?void 0:d.path)!==""&&(b.component||((e=b.routeConfig)==null?0:e.loadComponent))){var f;a={params:Object.assign({},a.params),data:Object.assign({},a.data),resolve:Object.assign({},a.data,(f=a._resolvedData)!=null?f:{})}}else a={params:Object.assign({},b.params,a.params),data:Object.assign({},b.data,a.data),resolve:Object.assign({},a.data,b.data,d==null?void 0:d.data,a._resolvedData)};
!d||typeof d.title!=="string"&&d.title!==null||(a.resolve[Yn]=d.title);return a},HBa=function(a,b){b.value._routerState=a;b.children.forEach(function(c){return HBa(a,c)})},IBa=function(a){var b=a.children.length>0?" { "+a.children.map(IBa).join(", ")+" } ":"";return""+a.value+b},JBa=function(a){if(a.snapshot){var b=a.snapshot,c=a._futureSnapshot;a.snapshot=c;Ln(b.queryParams,c.queryParams)||a.queryParamsSubject.next(c.queryParams);b.fragment!==c.fragment&&a.fragmentSubject.next(c.fragment);Ln(b.params,
c.params)||a.paramsSubject.next(c.params);a:{var d=b.url;var e=c.url;if(d.length!==e.length)d=!1;else{for(var f=0;f<d.length;++f)if(!Ln(d[f],e[f])){d=!1;break a}d=!0}}d||a.urlSubject.next(c.url);Ln(b.data,c.data)||a.dataSubject.next(c.data)}else a.snapshot=a._futureSnapshot,a.dataSubject.next(a._futureSnapshot.data)},KBa=function(a,b){var c=Ln(a.params,b.params)&&dBa(a.url,b.url),d=!a.parent!==!b.parent;return c&&!d&&(!a.parent||KBa(a.parent,b.parent))},LBa=function(a){var b=a.children&&a.children.map(LBa);
a=b?Object.assign({},a,{children:b}):Object.assign({},a);a.component||a.loadComponent||!b&&!a.loadChildren||!a.outlet||a.outlet==="primary"||(a.component=Zn);return a},OBa=function(a,b,c){if(c&&a.shouldReuseRoute(b.value,c.value.snapshot)){var d=c.value;d._futureSnapshot=b.value;b=MBa(a,b,c);return new $n(d,b)}d=NBa(b.value);b=b.children.map(function(e){return OBa(a,e)});return new $n(d,b)},MBa=function(a,b,c){return b.children.map(function(d){for(var e=k(c.children),f=e.next();!f.done;f=e.next())if(f=
f.value,a.shouldReuseRoute(d.value,f.value.snapshot))return OBa(a,d,f);return OBa(a,d)})},NBa=function(a){return new ao(new bo(a.url),new bo(a.params),new bo(a.queryParams),new bo(a.fragment),new bo(a.data),a.outlet,a.component,a)},QBa=function(a){var b=Rn(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a;a=b.redirectTo;b=b.navigationBehaviorOptions;var c=PBa(0);c.url=a;c.navigationBehaviorOptions=b;return c},PBa=function(a){var b=Error("Mc`");b.ngNavigationCancelingError=!0;b.cancellationCode=
a;return b},RBa=function(a){return!!a&&a.ngNavigationCancelingError},co=function(){return Nf(function(a){return Me(a.map(function(b){return b.pipe(Cf(),Mf(SBa))})).pipe(B(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c!==!0){if(c===SBa)return SBa;if(c===!1||Rn(c))return c}return!0}),Ye(function(b){return b!==SBa}),Cf())})},eo=function(a,b){var c=Symbol(),d=b.get(a,c);return d===c?typeof a!=="function"||Vea(a)!==null?b.get(a):a:d},fo=function(a,b,c,d,e){e=e===void 0?{canDeactivateChecks:[],
canActivateChecks:[]}:e;var f=Xn(b);a.children.forEach(function(h){var l=f[h.value.outlet],q=d.concat([h.value]),v=e;v=v===void 0?{canDeactivateChecks:[],canActivateChecks:[]}:v;var y=h.value,E=l?l.value:null,H=c?c.getContext(h.value.outlet):null;if(E&&y.routeConfig===E.routeConfig){var O=TBa(E,y,y.routeConfig.runGuardsAndResolvers);O?v.canActivateChecks.push(new UBa(q)):(y.data=E.data,y._resolvedData=E._resolvedData);y.component?fo(h,l,H?H.children:null,q,v):fo(h,l,c,q,v);O&&H&&H.outlet&&H.outlet.isActivated&&
v.canDeactivateChecks.push(new VBa(H.outlet.component,E))}else E&&go(l,H,v),v.canActivateChecks.push(new UBa(q)),y.component?fo(h,null,H?H.children:null,q,v):fo(h,null,c,q,v);delete f[h.value.outlet]});Object.entries(f).forEach(function(h){var l=k(h);h=l.next().value;l=l.next().value;return go(l,c.getContext(h),e)});return e},TBa=function(a,b,c){if(typeof c==="function")return c(a,b);switch(c){case "pathParamsChange":return!Nn(a.url,b.url);case "pathParamsOrQueryParamsChange":return!Nn(a.url,b.url)||
!Ln(a.queryParams,b.queryParams);case "always":return!0;case "paramsOrQueryParamsChange":return!KBa(a,b)||!Ln(a.queryParams,b.queryParams);default:return!KBa(a,b)}},go=function(a,b,c){var d=Xn(a),e=a.value;Object.entries(d).forEach(function(f){var h=k(f);f=h.next().value;h=h.next().value;e.component?b?go(h,b.children.getContext(f),c):go(h,null,c):go(h,b,c)});e.component?b&&b.outlet&&b.outlet.isActivated?c.canDeactivateChecks.push(new VBa(b.outlet.component,e)):c.canDeactivateChecks.push(new VBa(null,
e)):c.canDeactivateChecks.push(new VBa(null,e))},ho=function(a){return typeof a==="function"},WBa=function(a){return a instanceof Ie||(a==null?void 0:a.name)==="EmptyError"},ZBa=function(a,b){return Oe(function(c){var d=c.targetSnapshot,e=c.currentSnapshot,f=c.guards,h=f.canActivateChecks;f=f.canDeactivateChecks;return f.length===0&&h.length===0?Fe(Object.assign({},c,{guardsResult:!0})):XBa(f,d,e,a).pipe(Oe(function(l){return l&&typeof l==="boolean"?YBa(d,h,a,b):Fe(l)}),B(function(l){return Object.assign({},
c,{guardsResult:l})}))})},XBa=function(a,b,c,d){return ue(a).pipe(Oe(function(e){return $Ba(e.component,e.route,c,b,d)}),Gf(function(e){return e!==!0},!0))},YBa=function(a,b,c,d){return ue(b).pipe(zf(function(e){var f=e.route.parent;f!==null&&d&&d(new aCa(f));f=Fe(!0);var h=e.route;h!==null&&d&&d(new bCa(h));h=Fe(!0);return Qe(f,h,cCa(a,e.path,c),dCa(a,e.route,c))}),Gf(function(e){return e!==!0},!0))},dCa=function(a,b,c){var d=b.routeConfig?b.routeConfig.canActivate:null;if(!d||d.length===0)return Fe(!0);
d=d.map(function(e){return Re(function(){var f,h=(f=Wn(b))!=null?f:c,l=eo(e,h);f=l&&ho(l.canActivate)?l.canActivate(b,a):Ed(h,function(){return l(b,a)});return Mn(f).pipe(Gf())})});return Fe(d).pipe(co())},cCa=function(a,b,c){var d=b[b.length-1];b=b.slice(0,b.length-1).reverse().map(function(e){var f=e.routeConfig?e.routeConfig.canActivateChild:null;return f&&f.length!==0?{node:e,guards:f}:null}).filter(function(e){return e!==null}).map(function(e){return Re(function(){var f=e.guards.map(function(h){var l,
q=(l=Wn(e.node))!=null?l:c,v=eo(h,q);h=v&&ho(v.canActivateChild)?v.canActivateChild(d,a):Ed(q,function(){return v(d,a)});return Mn(h).pipe(Gf())});return Fe(f).pipe(co())})});return Fe(b).pipe(co())},$Ba=function(a,b,c,d,e){var f=b&&b.routeConfig?b.routeConfig.canDeactivate:null;if(!f||f.length===0)return Fe(!0);f=f.map(function(h){var l,q=(l=Wn(b))!=null?l:e,v=eo(h,q);h=v&&ho(v.canDeactivate)?v.canDeactivate(a,b,c,d):Ed(q,function(){return v(a,b,c,d)});return Mn(h).pipe(Gf())});return Fe(f).pipe(co())},
fCa=function(a,b,c){var d=b.canLoad;if(d===void 0||d.length===0)return Fe(!0);d=d.map(function(e){var f=eo(e,a);e=f&&ho(f.canLoad)?f.canLoad(b,c):Ed(a,function(){return f(b,c)});return Mn(e)});return Fe(d).pipe(co(),eCa())},eCa=function(){return qe(Pf(function(a){if(typeof a!=="boolean")throw QBa(a);}),B(function(a){return a===!0}))},gCa=function(a,b,c){var d=b.canMatch;if(!d||d.length===0)return Fe(!0);d=d.map(function(e){var f=eo(e,a);e=f&&ho(f.canMatch)?f.canMatch(b,c):Ed(a,function(){return f(b,
c)});return Mn(e)});return Fe(d).pipe(co(),eCa())},io=function(a){return Ge(new hCa(a))},kCa=function(a,b,c,d){var e=iCa(a,b,c);if(!e.matched)return Fe(e);d=CBa(b,d);return gCa(d,b,c).pipe(B(function(f){return f===!0?e:Object.assign({},jCa)}))},iCa=function(a,b,c){if(b.path==="**")return{matched:!0,parameters:c.length>0?(c.length>0?c[c.length-1]:null).parameters:{},consumedSegments:c,remainingSegments:[],positionalParamSegments:{}};if(b.path==="")return b.pathMatch==="full"&&(a.hasChildren()||c.length>
0)?Object.assign({},jCa):{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};a=(b.matcher||SAa)(c,a,b);if(!a)return Object.assign({},jCa);var d={},e;Object.entries((e=a.posParams)!=null?e:{}).forEach(function(h){var l=k(h);h=l.next().value;l=l.next().value;d[h]=l.path});e=a.consumed.length>0?Object.assign({},d,a.consumed[a.consumed.length-1].parameters):d;var f;return{matched:!0,consumedSegments:a.consumed,remainingSegments:c.slice(a.consumed.length),parameters:e,
positionalParamSegments:(f=a.posParams)!=null?f:{}}},oCa=function(a,b,c,d){if(c.length>0&&lCa(a,c,d)){var e=Pn;a=new Pn(c,a.children);c={};c.primary=a;a=k(d);for(d=a.next();!d.done;d=a.next())if(d=d.value,d.path===""&&Vn(d)!=="primary"){var f=new Pn([],{});c[Vn(d)]=f}c={segmentGroup:new e(b,c),slicedSegments:[]}}else if(c.length===0&&mCa(a,c,d)){b=Pn;e=a.segments;f=a.children;var h={};d=k(d);for(var l=d.next();!l.done;l=d.next())if(l=l.value,nCa(a,c,l)&&!f[Vn(l)]){var q=new Pn([],{});h[Vn(l)]=q}a=
Object.assign({},f,h);c={segmentGroup:new b(e,a),slicedSegments:c}}else c={segmentGroup:new Pn(a.segments,a.children),slicedSegments:c};return c},lCa=function(a,b,c){return c.some(function(d){return nCa(a,b,d)&&Vn(d)!=="primary"})},mCa=function(a,b,c){return c.some(function(d){return nCa(a,b,d)})},nCa=function(a,b,c){return(a.hasChildren()||b.length>0)&&c.pathMatch==="full"?!1:c.path===""},pCa=function(a){a.sort(function(b,c){return b.value.outlet==="primary"?-1:c.value.outlet==="primary"?1:b.value.outlet.localeCompare(c.value.outlet)})},
qCa=function(a){return(a=a.value.routeConfig)&&a.path===""},rCa=function(a){var b=[],c=new Set;a=k(a);for(var d=a.next(),e={};!d.done;e={node$jscomp$156:void 0},d=a.next())e.node$jscomp$156=d.value,qCa(e.node$jscomp$156)?(d=b.find(function(f){return function(h){return f.node$jscomp$156.value.routeConfig===h.value.routeConfig}}(e)),d!==void 0?(d.children.push.apply(d.children,w(e.node$jscomp$156.children)),c.add(d)):b.push(e.node$jscomp$156)):b.push(e.node$jscomp$156);a=k(c);for(e=a.next();!e.done;e=
a.next())e=e.value,d=rCa(e.children),b.push(new $n(e.value,d));return b.filter(function(f){return!c.has(f)})},tCa=function(a,b,c,d,e,f){return Oe(function(h){return(new sCa(a,b,c,d,h.extractedUrl,f===void 0?"emptyOnly":f,e)).recognize().pipe(B(function(l){return Object.assign({},h,{targetSnapshot:l.state,urlAfterRedirects:l.tree})}))})},wCa=function(a,b){return Oe(function(c){var d=c.targetSnapshot,e=c.guards.canActivateChecks;if(!e.length)return Fe(c);var f=new Set(e.map(function(y){return y.route})),
h=new Set;e=k(f);for(var l=e.next();!l.done;l=e.next())if(l=l.value,!h.has(l)){l=k(uCa(l));for(var q=l.next();!q.done;q=l.next())h.add(q.value)}var v=0;return ue(h).pipe(zf(function(y){if(f.has(y))return vCa(y,d,a,b);y.data=GBa(y,y.parent,a).resolve;return Fe(void 0)}),Pf(function(){return v++}),ika(),Oe(function(){return v===h.size?Fe(c):We}))})},uCa=function(a){var b=a.children.map(function(c){return uCa(c)}).flat();return[a].concat(w(b))},vCa=function(a,b,c,d){var e=a.routeConfig,f=a._resolve;
(e==null?void 0:e.title)!==void 0&&typeof e.title!=="string"&&e.title!==null&&(f[Yn]=e.title);return xCa(f,a,b,d).pipe(B(function(h){a._resolvedData=h;a.data=GBa(a,a.parent,c).resolve;return null}))},xCa=function(a,b,c,d){var e=TAa(a);if(e.length===0)return Fe({});var f={};return ue(e).pipe(Oe(function(h){return yCa(a[h],b,c,d).pipe(Gf(),Pf(function(l){f[h]=l}))}),ika(),Bf(f),xf(function(h){return WBa(h)?We:Ge(h)}))},yCa=function(a,b,c,d){var e,f=(e=Wn(b))!=null?e:d,h=eo(a,f);a=h.resolve?h.resolve(b,
c):Ed(f,function(){return h(b,c)});return Mn(a)},zCa=function(a){return Nf(function(b){var c=a(b);return c?ue(c).pipe(B(function(){return b})):Fe(b)})},ECa=function(a,b,c){return Mn(a.loadChildren()).pipe(B(ACa),Oe(function(d){return d instanceof BCa||Array.isArray(d)?Fe(d):ue(Promise.resolve(new CCa(d)))}),B(function(d){c&&c(a);if(!Array.isArray(d)){var e=d.create(b).injector;d=e.get(DCa,[],{optional:!0,self:!0}).flat()}return{routes:d.map(LBa),injector:e}}))},ACa=function(a){return a&&typeof a===
"object"&&"default"in a?a["default"]:a},HCa=function(a,b,c){var d=a.get(FCa),e=a.get(ei);return a.get(hh).runOutsideAngular(function(){if(!e.startViewTransition||d.skipNextTransition)return d.skipNextTransition=!1,new Promise(function(v){return setTimeout(v)});var f,h=new Promise(function(v){f=v}),l=e.startViewTransition(function(){f();return GCa(a)}),q=d.onViewTransitionCreated;q&&Ed(a,function(){return q({transition:l,from:b,to:c})});return h})},GCa=function(a){return new Promise(function(b){Uf({read:function(){return setTimeout(b)}},
{injector:a})})},ICa=function(a,b){a.events.pipe(Ye(function(c){return c instanceof jo||c instanceof ko||c instanceof lo||c instanceof mo}),B(function(c){return c instanceof jo||c instanceof mo?0:c instanceof ko&&(c.code===0||c.code===1)?2:1}),Ye(function(c){return c!==2}),Cf()).subscribe(function(){b()})},no=function(a,b){return{"\u0275kind":a,"\u0275providers":b}},JCa=function(a){return(new oo).setIt(Ywa(a))},po=function(a){return Zwa(a.getIt())},KCa=function(a){return exa(W(a,qo,1).getIt())},LCa=
function(a){return bxa(a.getIt())},MCa=function(a){return LCa(a.getSearch())},NCa=function(a){return nj(a,ro,1,Wi()).map(LCa)},OCa=function(a){return{id:String(a.hotlistId),name:a.name,description:a.description,adminUsers:a.adminUsers,starred:!0,resourceType:"HOTLIST"}},PCa=function(a){switch(a.resourceType){case "HOTLIST":var b,c,d,e;return{id:String(a.hotlistId),name:a.name,description:(d=(b=a.hotlist)==null?void 0:b.description)!=null?d:"",adminUsers:(e=(c=a.hotlist)==null?void 0:c.adminUsers)!=
null?e:[],starred:!0,resourceType:"HOTLIST"};case "SAVED_SEARCH":var f,h,l,q;return{id:String(a.savedSearchId),name:a.name,description:(l=(f=a.savedSearch)==null?void 0:f.description)!=null?l:"",adminUsers:(q=(h=a.savedSearch)==null?void 0:h.adminUsers)!=null?q:[],starred:!0,resourceType:"SAVED_SEARCH"};case "BOOKMARK_GROUP":throw Error("Sc");default:xb(a.resourceType,"Unexpected type in bookmarkItemToLink")}},QCa=function(a){return{id:String(a.bookmarkGroupId),name:a.name,description:a.description,
adminUsers:a.adminUsers,starred:!0,sublinks:a.item.filter(function(b){var c;return!((c=b.hotlist)==null?0:c.archived)}).map(PCa)}},UCa=function(a,b,c){var d=new Map,e=new Map,f=new Map,h=new Map,l=new Map;b=k(b);for(var q=b.next();!q.done;q=b.next())q=q.value,q.archived?e.set(q.bookmarkGroupId,q):d.set(q.bookmarkGroupId,q);b=[].concat(w(d.values())).flatMap(function(v){var y;return(y=v.item)!=null?y:[]});b=new Set(b.filter(function(v){return v.resourceType==="HOTLIST"}).map(function(v){return v.hotlistId}));
a=k(a);for(q=a.next();!q.done;q=a.next())q=q.value,b.has(q.hotlistId)||(q.archived?h.set(q.hotlistId,OCa(q)):f.set(q.hotlistId,OCa(q)));c=k(c);for(a=c.next();!a.done;a=c.next())a=a.value,l.set(a.searchId,{id:String(a.searchId),name:a.name,description:a.description,adminUsers:a.adminUsers,starred:!0,resourceType:"SAVED_SEARCH"});return{id:"current-user-bookmark-id",bookmarkGroups:RCa([].concat(w(d.values())).map(QCa)),archivedBookmarkGroups:RCa([].concat(w(e.values())).map(QCa)),hotlists:SCa(f.values()),
archivedHotlists:SCa(h.values()),savedSearches:TCa(l.values())}},VCa=function(a,b){var c=new Set(b.hotlists.map(function(l){return l.hotlistId})),d=new Set(b.bookmarkGroups.map(function(l){return l.bookmarkGroupId}));b=new Set(b.savedSearches.map(function(l){return l.searchId}));for(var e=k([].concat(w(a.hotlists),w(a.archivedHotlists))),f=e.next();!f.done;f=e.next())f=f.value,f.starred=c.has(Number(f.id));e=k([].concat(w(a.bookmarkGroups),w(a.archivedBookmarkGroups)));for(f=e.next();!f.done;f=e.next()){f=
f.value;f.starred=d.has(Number(f.id));var h=void 0;f=k((h=f.sublinks)!=null?h:[]);for(h=f.next();!h.done;h=f.next())switch(h=h.value,h.resourceType){case "HOTLIST":h.starred=c.has(Number(h.id));break;case "SAVED_SEARCH":h.starred=b.has(Number(h.id));break;case "BOOKMARK_GROUP":h.starred=d.has(Number(h.id));break;default:throw Error("Tc");}}c=k(a.savedSearches);for(d=c.next();!d.done;d=c.next())d=d.value,d.starred=b.has(Number(d.id));return a},so=function(a){return{id:a,triage:{phase:"NEW",subphase:"TRIAGE_SUBPHASE_UNSPECIFIED",
needsInfo:!1}}},WCa=function(a,b){var c=new Map(b.map(function(d){return[d==null?void 0:d.id,d]}));return a.filter(kj).map(function(d){return Object.assign({},d,{experimentalFields:c.get(d.issueId)})})},to=function(){return XCa.performance&&XCa.PerformanceObserver&&typeof window.performance.getEntriesByType==="function"&&typeof window.performance.mark==="function"&&typeof window.performance.measure==="function"},YCa=function(a){var b=a.name;if(b!=null&&(a=Math.round(a.duration),!isNaN(a))){var c=
k(b.split(" -> ")),d=c.next().value;c=c.next().value;if(d==null||c==null)console.warn("can't parse 'from' and 'to' in PerformanceEntry: "+b);else return{from:d,to:c,duration:a}}},$Ca=function(a){a=a.sort(function(d,e){return d.startTime-e.startTime});var b=a.find(ZCa);if(b!=null){var c=b.name.split(" -> ")[1];return a.find(function(d){return d.name===c})}},dDa=function(){var a=window.performance.getEntries(),b=$Ca(a);if(b==null)return[];var c=b.startTime;return a.filter(aDa).filter(bDa).filter(cDa).filter(function(d){return d.startTime<=
c})},ZCa=function(a){var b=a.entryType;a=a.name;return b==="measure"&&a.indexOf("browserStart")===0},aDa=function(a){return a.name.indexOf("Zone")!==0},cDa=function(a){return a.entryType==="resource"},eDa=function(a){return a.initiatorType==="xmlhttprequest"},bDa=function(a){return a.name.match(/\.html$/)==null},fDa=function(a,b){var c=b.transferSize||0,d=a.count+1,e=a.cacheHits+(c===0?1:0);return{count:d,duration:a.duration+b.duration,transferSize:a.transferSize+c,cacheHits:e,cacheHitRate:e/d}},
gDa=function(){return typeof uo.gtag==="function"},hDa=function(a){if(a!=null&&!(a.duration>=3E4))return{hitType:"event",eventCategory:"cf",eventAction:a.from,eventLabel:a.to,eventValue:a.duration}},kDa=function(a){a=a.getEntries().map(YCa).map(hDa);a=k(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;if(c&&c.hitType){b=c.hitType;var d=c.eventAction;var e=c.eventCategory,f=c.eventLabel;c=c.eventValue;d=Object.assign({},d!==void 0?{event_action:d}:{},e!==void 0?{event_category:e}:{},f!==void 0?
{event_label:f}:{},c!==void 0?{event_value:c}:{});iDa(b,d)}}setTimeout(jDa,100)},jDa=function(){if(!lDa){var a=dDa(),b=a.filter(function(c){return!eDa(c)}).reduce(fDa,mDa());vo("r-until-cf","asset","count",b.count);vo("r-until-cf","asset","transferSize",b.transferSize);vo("r-until-cf","asset","duration",b.duration);vo("r-until-cf","asset","cacheHitRate",b.cacheHitRate);a=a.filter(eDa).reduce(fDa,mDa());vo("r-until-cf","xhr","count",a.count);vo("r-until-cf","xhr","transferSize",a.transferSize);vo("r-until-cf",
"xhr","duration",a.duration);lDa=!0}},vo=function(a,b,c,d){iDa(a,Object.assign({},b!==void 0?{event_action:b}:{},c!==void 0?{event_label:c}:{},d!==void 0?{event_value:d}:{}))},iDa=function(a,b){b!=null&&(nDa("page_location","Scrubbed Page URL"),nDa("page_title","Scrubbed Page Title"),gDa()&&uo.gtag("event",a,b),oDa&&rj("[stub gtag.ts] gtag('event')",a,b))},xo=function(a,b){wo(a,b)},nDa=function(a,b){if(gDa()){var c={};uo.gtag("set",(c[a]=b,c))}oDa&&rj("[stub gtag.ts] gtag('set', {"+a+": "+b+")}")},
wo=function(a,b){if(gDa()){var c={};uo.gtag("set","user_properties",(c[a]=b,c))}oDa&&rj("[stub gtag.ts] gtag('set', 'user_properties', {"+a+": "+b+")}")},tDa=function(){var a=a===void 0?vo:a;var b=Date.now(),c=yo(b);yo(pDa())!==c?a("retention","first-visit"):(c=yo(b),yo(pDa())===c&&qDa()===1&&a("retention","second-visit"));a=yo(b);yo(pDa())!==a?rDa(1):(a=qDa()||0,rDa(a+1));sDa(b)},yo=function(a){if(a!=null)return(new Date(a)).toLocaleDateString()},uDa=function(){function a(){e[0]=1732584193;e[1]=
4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;y=v=0}function b(E){for(var H=h,O=0;O<64;O+=4)H[O/4]=E[O]<<24|E[O+1]<<16|E[O+2]<<8|E[O+3];for(O=16;O<80;O++)E=H[O-3]^H[O-8]^H[O-14]^H[O-16],H[O]=(E<<1|E>>>31)&4294967295;E=e[0];var N=e[1],T=e[2],da=e[3],ja=e[4];for(O=0;O<80;O++){if(O<40)if(O<20){var na=da^N&(T^da);var Ia=1518500249}else na=N^T^da,Ia=1859775393;else O<60?(na=N&T|da&(N|T),Ia=2400959708):(na=N^T^da,Ia=3395469782);na=((E<<5|E>>>27)&4294967295)+na+ja+Ia+H[O]&4294967295;ja=da;da=
T;T=(N<<30|N>>>2)&4294967295;N=E;E=na}e[0]=e[0]+E&4294967295;e[1]=e[1]+N&4294967295;e[2]=e[2]+T&4294967295;e[3]=e[3]+da&4294967295;e[4]=e[4]+ja&4294967295}function c(E,H){if(typeof E==="string"){E=unescape(encodeURIComponent(E));for(var O=[],N=0,T=E.length;N<T;++N)O.push(E.charCodeAt(N));E=O}H||(H=E.length);O=0;if(v==0)for(;O+64<H;)b(E.slice(O,O+64)),O+=64,y+=64;for(;O<H;)if(f[v++]=E[O++],y++,v==64)for(v=0,b(f);O+64<H;)b(E.slice(O,O+64)),O+=64,y+=64}function d(){var E=[],H=y*8;v<56?c(l,56-v):c(l,
64-(v-56));for(var O=63;O>=56;O--)f[O]=H&255,H>>>=8;b(f);for(O=H=0;O<5;O++)for(var N=24;N>=0;N-=8)E[H++]=e[O]>>N&255;return E}for(var e=[],f=[],h=[],l=[128],q=1;q<64;++q)l[q]=0;var v,y;a();return{reset:a,update:c,digest:d,digestString:function(){for(var E=d(),H="",O=0;O<E.length;O++)H+="0123456789ABCDEF".charAt(Math.floor(E[O]/16))+"0123456789ABCDEF".charAt(E[O]%16);return H}}},zo=function(a){a&&typeof a.dispose=="function"&&a.dispose()},vDa=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=
arguments[b];Va(d)?vDa.apply(null,d):zo(d)}},ADa=function(a,b){b=b===void 0?wDa:b;if(!xDa){var c;a=(c=a.navigator)==null?void 0:c.userAgentData;if(!a||typeof a.getHighEntropyValues!=="function"||a.brands&&typeof a.brands.map!=="function")return Promise.reject(Error("Zc"));c=(a.brands||[]).map(function(e){var f=new Ao;return gk(f,1,e.brand).setVersion(e.version)});yDa(dk(zDa,2,a.mobile),c);xDa=a.getHighEntropyValues(b)}var d=new Set(b);return xDa.then(function(e){var f=zDa.clone();d.has("platform")&&
f.setPlatform(e.platform);d.has("platformVersion")&&gk(f,4,e.platformVersion);d.has("architecture")&&gk(f,5,e.architecture);d.has("model")&&f.setModel(e.model);d.has("uaFullVersion")&&gk(f,7,e.uaFullVersion);return f}).catch(function(){return zDa.clone()})},BDa=function(){return zd.apply(0,arguments).map(String).join("__")},CDa=function(){for(var a={},b=k(Object.entries(Bo)),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;d>1&&(a[c]=d)}return a},DDa=function(){var a=
Object.values(Bo),b=a.map(function(c){return c-1}).reduce(Vk,0);a=a.reduce(Vk,0);return{total:a,redundant:b,redundancyRatio:Math.round(b/a*100)/100}},EDa=function(a){for(var b=[];a;){var c=void 0,d=void 0;b.push((d=(c=a.routeConfig)==null?void 0:c.path)!=null?d:"");c=void 0;a=(c=a.children)==null?void 0:c[0]}return b.join("/")},Co=function(a){return a instanceof jo},FDa=function(a){return a instanceof Do},GDa=function(a){return function(b){return new re(function(c){return b.subscribe(function(d){return void a.run(function(){return void c.next(d)})},
function(d){return void a.run(function(){return void c.error(d)})},function(){return void a.run(function(){return void c.complete()})})})}},HDa=function(a,b){var c=b.filter(function(e){return!a.includes(e)}).map(function(e){return"+"+e}).join(),d=a.filter(function(e){return!b.includes(e)}).map(function(e){return"-"+e}).join();return c+d},KDa=function(){var a=window.defrostedResourcesJspb;if(a&&Array.isArray(a))if(a=rea(IDa,JDa(a))){if((a=nj(a,Eo,1,Wi()))&&a.length===1)return vn(a[0])}else sj("Defroster: found data, but it was unparseable. This is unintended but will not cause a user-visible issue.")},
LDa=function(a){if(a){var b=a?{ancestors:a.ancestors,childIssueCount:a.childIssueCount,relatedLinks:a.relatedLinks,statusUpdate:a.statusUpdate,description:a.description}:void 0;return Object.assign({},{issueId:a.issueId},b)}},MDa=function(a){var b=new Fo;b=pl(b,1,Number(a.targetIssueId));return pl(b,2,a.afterIssueId?Number(a.afterIssueId):void 0)},Go=function(a){return{targetIssueId:String(Vj(a,1)),afterIssueId:Vj(a,2)?String(Vj(a,2)):void 0}},NDa=function(a){return{sourceIssueId:Vj(a,3),issueRelationships:a.getIssueRelationshipsList().map(Go),
totalSize:a.getTotalSize()}},ODa=function(a){var b=[];a=k(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b.push({issueId:c,relatedChildren:d.issueRelationships,totalChildCount:d.totalSize})}return b},PDa=function(a){return!(a==null||!a.relatedChildren.length)},RDa=function(a,b){var c=[].concat(w(a));a=new Set(a.map(function(h){return h.targetIssueId}));b=k(b);for(var d=b.next(),e={};!d.done;e={newItem$jscomp$6:void 0},d=b.next())if(e.newItem$jscomp$6=
d.value,!a.has(e.newItem$jscomp$6.targetIssueId)){d=c.findIndex(function(h){return function(l){return l.targetIssueId===h.newItem$jscomp$6.afterIssueId}}(e));var f=void 0;f=e.newItem$jscomp$6.afterIssueId?d===-1?c.length:d+1:0;c.splice(f,0,e.newItem$jscomp$6);a.add(e.newItem$jscomp$6.targetIssueId)}return QDa(c)},SDa=function(a,b){return QDa(a.filter(function(c){return c.targetIssueId!==b}))},QDa=function(a){for(var b=[],c=k(a.entries()),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;
var f=e.next().value;e=void 0;d=Object.assign({},f,{afterIssueId:(e=a[d-1])==null?void 0:e.targetIssueId});b.push(d)}return b},TDa=function(a){var b=new Map;a=k(a);for(var c=a.next(),d={};!c.done;d={previousOperation:void 0},c=a.next()){var e=c.value;c=e.issues.map(function(f){return f.issueId}).join(",");d.previousOperation=b.get(c);d.previousOperation?(e={newParentId:e.newParentId,newRelations:e.newRelations,issues:d.previousOperation.issues,eventTimestamps:[].concat(w(d.previousOperation.eventTimestamps),
w(e.eventTimestamps)),newParentChildrenSnapshot:e.newParentChildrenSnapshot,done:e.done},e.done.promise.then(d.previousOperation.done.resolve).catch(function(f){return function(h){f.previousOperation.done.reject(h);throw h;}}(d)),b.set(c,e)):b.set(c,e)}b=[].concat(w(b.values()));a=k(b);d=a.next();for(c={};!d.done;c={operation$jscomp$5:void 0},d=a.next())c.operation$jscomp$5=d.value,c.operation$jscomp$5.newRelations=c.operation$jscomp$5.newRelations.map(function(f){return function(h){return f.operation$jscomp$5.newParentChildrenSnapshot.find(function(l){return l.targetIssueId===
h.targetIssueId})}}(c));return b.sort(function(f,h){var l=f.newParentChildrenSnapshot,q=h.newParentChildrenSnapshot;f=Math.min.apply(Math,w(f.issues.map(function(v){return l.findIndex(function(y){return y.targetIssueId===v.issueId})})));h=Math.min.apply(Math,w(h.issues.map(function(v){return q.findIndex(function(y){return y.targetIssueId===v.issueId})})));return f===h?0:f<h?-1:1})},ZDa=function(a){return a?(a=a.getResponse())?nj(a,UDa,1,Wi()).map(function(b){if(b&&b.getObjective()){var c,d;var e=
b.getObjective(),f=(c=b.getUri())==null?void 0:c.getResourcePath();if(e&&e.getId()){var h,l;c={objectiveId:f!=null?f:e.getId(),title:e.getTitle(),url:Asa(e.getUrl()),priorityRating:VDa(e==null?void 0:(h=e.getPriority())==null?void 0:Kj(h,1,0)),keyResults:(l=nj(e,WDa,7,Wi()).map(XDa).filter(kj))!=null?l:[]}}else c=void 0;b={objective:c,periodLabel:(d=W(b,YDa,4))==null?void 0:d.getLabel()}}else b=void 0;return b}).filter(kj):[]:[]},XDa=function(a){if(a&&a.getId()){var b;return{keyResultId:a.getId(),
title:a.getTitle(),url:Asa(a.getUrl()),priorityRating:VDa(a==null?void 0:(b=a.getPriority())==null?void 0:Kj(b,1,0))}}},VDa=function(a){if(!a)return"RATING_UNSPECIFIED";switch(a){case 1:return"P0";case 2:return"P1";case 3:return"P2";case 4:return"P3";case 5:return"P4";default:return"RATING_UNSPECIFIED"}},bEa=function(a){return a.getResponsesList().map(function(b){return nj(b,$Da,1,Wi()).map(aEa)}).flat().filter(function(b){return b.signals.length>0})},aEa=function(a){var b=cEa(W(a,Ho,1));a=nj(a,dEa,
2,Wi());return{task:b,signals:a.map(eEa).filter(kj)}},fEa=function(a){return a.getResponsesList().map(function(b){return nj(b,Ho,1,Wi()).map(cEa).filter(kj)}).flat()},cEa=function(a){if(a){var b=Gh(a,1),c=gEa(Kj(a,2,0)),d=a.getTitle(),e=vj(W(a,wj,4)),f=vj(a.getLastModifiedTimestamp()),h=Gh(a,6);var l=nj(a,hEa,7,Wi());b={taskId:b,taskResourceType:c,title:d,createdTimestamp:e,lastModifiedTimestamp:f,externalLink:h,resourceRelationships:l.map(iEa),isStaleTask:Fj(a,13),snoozeUntilTimestamp:vj(W(a,wj,
14)),manualSignalTimestamp:vj(W(a,wj,15))};Nl(a,jEa,8,kEa)?(a=Al(a,jEa,8,kEa),a={fileType:lEa[Kj(a,1,0)],lastMentionTimestamp:vj(W(a,wj,2)),lastMentionLink:Gh(a,4),docwrapRequestTimestamp:vj(W(a,wj,3)),docwrapRequestLink:Gh(a,5)},b.driveResource=a):Nl(a,mEa,9,kEa)&&(a=Al(a,mEa,9,kEa),a={priority:hm[a.getPriority()],accessLevel:Iua[a.getAccessLevel()],hotlistIds:a.getHotlistIdsList_asLegacyNumberOrString(Xi)},b.issueResource=a);return b}},iEa=function(a){return{category:nEa[Kj(a,1,0)],roleName:Gh(a,
2)}},eEa=function(a){var b={timestamp:vj(a.getTimestamp()),url:Asa(a.getUrl()),signalStatus:Fj(a,8)?1:0};if(Nl(a,Io,3,Jo)){a=Al(a,Io,3,Jo);var c={signal:oEa[a.getSignal()]};pEa.has(c.signal)?(Ko(a,2,qEa)!=null&&(c.commentId=a.getCommentId()),a=c):a=null;if(!a)return null;b.driveAlert=a}else if(Nl(a,Lo,5,Jo)){c=Al(a,Lo,5,Jo);a={signal:rEa[c.getSignal()]};if(pEa.has(a.signal)){Oj(c,yj,4)&&(a.reviewEstimate=Ora(W(c,yj,4)));c=W(c,sEa,5);var d=c==null?void 0:Al(c,tEa,2,uEa);c=d?{currentAvailability:{comeBackTimestamp:vj(d.getComeBackTimestamp())}}:
(c=c==null?void 0:Al(c,vEa,1,uEa))?{futureAvailability:{comeBackTimestamp:vj(c.getComeBackTimestamp()),futureOooTimestamp:vj(W(c,wj,1))}}:void 0;a.clAuthorAvailability=c}else a=null;if(!a)return null;b.changelistAlert=a}else if(Nl(a,Mo,4,Jo)){c=Al(a,Mo,4,Jo);a={signal:wEa[c.getSignal()]};if(pEa.has(a.signal)){if(c=c.getCommentNumbers())c=$i(c,1,Wi(Xi)),c.length>0&&(a.commentNumbers=c)}else a=null;if(!a)return null;b.issueAlert=a}else if(Nl(a,xEa,7,Jo)){a=Al(a,xEa,7,Jo);a={signal:yEa[a.getSignal()]};
a=pEa.has(a.signal)?a:null;if(!a)return null;b.gerritAlert=a}return b},gEa=function(a){switch(a){case 1:return"CHANGELIST";case 2:return"DRIVE";case 3:return"ISSUE";case 4:return"LAUNCH";case 5:return"GERRIT";default:return"TASK_RESOURCE_TYPE_UNSPECIFIED"}},zEa=function(a){switch(a){case "CHANGELIST":return 1;case "DRIVE":return 2;case "ISSUE":return 3;case "LAUNCH":return 4;case "GERRIT":return 5;default:return 0}},AEa=function(a){switch(a){case 0:return 0;case 1:return 5;case 2:return 2;default:return 0}},
BEa=function(a){if(!a)return 0;switch(a){case "ISSUE_TYPE_GROUPS_UNSPECIFIED":return 0;case "STANDARD_TYPES":return 1;case "WTDM_TYPES":return 2;default:return 0}},CEa=function(a){if(a=a.getResponse())return{commentId:a.getCommentId(),authorDisplayName:Gh(a,2),content:a.getContent(),lastModifiedTimestamp:vj(W(a,wj,4))}},GEa=function(a,b){if(!b||!b.getData())return[];a=tc(b,1,DEa,Vb).get(a);if(!a)return[];var c=ak(a,2),d,e;return Array.from((e=(d=b.getData())==null?void 0:tc(d,2,EEa,Tb))!=null?e:[]).map(function(f){if(c.some(function(v){return v===
f[0].toString()})){var h=f[1],l,q=(l=b.getData())==null?void 0:tc(l,1,No,Tb).get(Number(h.getWorkspaceId_asString()));return FEa(h,q)}}).filter(kj)},FEa=function(a,b){if(a&&a.getType()===3){var c=(new Date).getTime()/1E3,d=vj(a.getStartTime()),e=vj(a.getEndTime());c=c>=d.seconds&&c<e.seconds;b=b&&b.getWorkspaceId_asString()!=="0"?{workspaceId:b.getWorkspaceId_asString(),name:b.getName()}:void 0;if(c&&b)return{name:a.getName(),iterationId:Oo(a,1),workspace:b,startTimestamp:d,endTimestamp:e}}},JEa=
function(a){var b=a.getResponse();return b&&nj(b,Po,1,Wi())&&W(b,HEa,2)?nj(b,Po,1,Wi()).map(function(c){var d=W(b,HEa,2);if(c&&d){var e=c.getId();d=GEa(c.getId(),d);var f=c.getId(),h;c=c&&tc(c,15,IEa,Vb)?(h=tc(c,15,IEa,Vb).get(f))==null?void 0:Vi(h,1,Wi()):void 0;e={workItemId:e,iterations:d,okrIds:c}}else e=void 0;return e}).filter(kj):[]},NEa=function(a){var b={};a=k(tc(a,1,KEa,Vb).entries());for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b[c]={principalType:LEa[Kj(d,
1,0)],detailedUserType:MEa[Kj(d,2,0)]}}return b},OEa=function(a,b){return a.map(function(c){return b[c]||null})},PEa=function(){return{principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}},QEa=function(a){var b;return((b=a.getTeamSloEditPolicy())==null?void 0:Kj(b,2,0))===1},REa=function(a){var b;return((b=W(a,Qo,1))==null?void 0:b.getEffectiveSloEditPolicy())===1},SEa=function(a){var b=W(a,bj,2);a:{var c=Kj(a,3,0);switch(c){case 1:c="daily";break a;case 2:c="weekly";break a;case 3:c="monthly";
break a;case 0:break;default:xb(c)}c=void 0}var d=a.getTimeZone(),e=W(a,Ro,6);if(b==null)throw Error("dd");if(c==null)throw Error("ed");if(d==null)throw Error("fd");if(e==null)throw Error("gd");var f=a.getId_asLegacyNumberOrString();b=gj(b);var h=Zi(a,4),l={id:d.getId()};d.getVersion()&&(l.version=d.getVersion());d={hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds(),nanos:e.getNanos()};e=zl(a,7);var q=bk(a,8,Wi()).map(Iva);a=lj(a,9,Wi(Xi));return{id:f,lead:b,frequency:c,ordinal:h,timeZone:l,
timeOfDay:d,daysRemaining:e,types:q,sloIds:a}},UEa=function(a){var b=(new So).setId(a.id),c=fj(a.lead);b=X(b,bj,2,c).setFrequency(TEa(a.frequency));b=uj(b,4,a.ordinal);c=b.setTimeZone;var d=a.timeZone,e=(new To).setId(d.id);d.version&&e.setVersion(d.version);b=c.call(b,e);c=a.timeOfDay;c=(new Ro).setHours(c.hours).setMinutes(c.minutes).setSeconds(c.seconds).setNanos(c.nanos);b=X(b,Ro,6,c).setDaysRemaining(a.daysRemaining);c=a.types.map(Jva);b=ok(b,8,c);return pk(b,9,a.sloIds)},VEa=function(a){return $va(a.getIt())},
WEa=function(a){var b=new Uo,c=b.setIt;var d=(new Vo).setSloId(a.sloId).setName(a.name).setDescription(a.description).setParentId(a.parentId);var e=a.elements.map(ewa);d=$l(d,5,e);e=a.effectiveElements.map(ewa);d=$l(d,6,e).setIsArchived(a.isArchived);a:switch(a=a.alertState,a){case "OFF":a=1;break a;case "ON":a=2;break a;default:throw Error("Qb`"+a);}a=ej(d,8,a);return c.call(b,a)},TEa=function(a){switch(a){case "daily":return 1;case "weekly":return 2;case "monthly":return 3;default:return xb(a)}},
XEa=function(a){return{id:a.getId_asString(),name:a.getName(),description:a.getDescription()}},YEa=function(a){if(a=a.getIt())return Axa(a);throw Error("hd");},ZEa=function(a){return{teamId:a.getId_asString(),name:a.getName(),description:a.getDescription(),pathNames:a.getPathNamesList(Xi),pathIds:a.getPathIdsList_asString()}},$Ea=function(a){return{teamId:a,version:0,name:a,description:"",pathIds:[a],pathNames:[a],collapsedPathNames:[a],members:[],deleted:!1,slo:{inherit:!1,sloId:"0",comment:"",sourceTeamId:"0"}}},
Wo=function(a,b){b=new bo(b);a.subscribe(b);return b},Xo=function(a){var b;a.subscribe(function(c){b=c}).unsubscribe();return b},Yo=function(){return Ef(function(a,b){return yi(a,b)})},aFa=function(){return function(a){return a.pipe(B(function(b){return{event:b,timestamp:Date.now()}}),Xja(a.pipe(Af(1E4,Zo))))}},bFa=function(a,b){return{displayAs:"Team: "+a.name,queryAtom:"teamId:"+a.teamId+(b===void 0||b?"+":""),tooltip:"Issues within this team's components"}},cFa=function(a,b){return{displayAs:"Component: "+
a.name,queryAtom:"componentId:"+a.componentId+(b===void 0||b?"+":""),tooltip:"Issues within this component"}},$o=function(a,b,c){c=c===void 0?!1:c;if(!b)return"";Array.isArray(b)||(b=[b]);b=b.filter(kj);return b.length===0?"":a+":("+b.join("|")+")"+(c?"+":"")},ap=function(){return zd.apply(0,arguments).filter(Boolean).join(" AND ")},dFa=function(a){return{filter:a,pageSize:250,sort:"created_time:desc",custom:"byExperimentalPhase"}},eFa=function(a,b){return a.filter(function(c){return sua(c)===b})},
fFa=function(a){a&1&&Eg(0)},gFa=function(a){a&1&&xg(0)},hFa=function(a){if(a&1){var b=x();I(0,"button",6,1);M("click",function(e){z(b);var f=P();return A(f.onClick(e))});D(2,gFa,1,0,"ng-container",7);J()}if(a&2){var c;a=P();var d=L(1);F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",(c=a.tooltip)!==null&&c!==void 0?c:"");eg("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);C(2);F("ngTemplateOutlet",d)}},iFa=function(a){a&1&&xg(0)},jFa=function(a){if(a&1){var b=x();
I(0,"button",8,1);M("click",function(e){z(b);var f=P();return A(f.onClick(e))});D(2,iFa,1,0,"ng-container",7);J()}if(a&2){var c;a=P();var d=L(1);F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",(c=a.tooltip)!==null&&c!==void 0?c:"");eg("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);C(2);F("ngTemplateOutlet",d)}},kFa=function(a){a&1&&xg(0)},lFa=function(a){if(a&1){var b=x();I(0,"button",9,1);M("click",function(e){z(b);var f=P();return A(f.onClick(e))});D(2,kFa,
1,0,"ng-container",7);J()}if(a&2){var c;a=P();var d=L(1);F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",(c=a.tooltip)!==null&&c!==void 0?c:"");eg("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);C(2);F("ngTemplateOutlet",d)}},mFa=function(a){a&1&&xg(0)},nFa=function(a){if(a&1){var b=x();I(0,"button",10,1);M("click",function(e){z(b);var f=P();return A(f.onClick(e))});D(2,mFa,1,0,"ng-container",7);J()}if(a&2){var c;a=P();var d=L(1);F("color",a.color)("disabled",
a.disabled)("ngClass",a.size)("matTooltip",(c=a.tooltip)!==null&&c!==void 0?c:"");eg("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);C(2);F("ngTemplateOutlet",d)}},oFa=function(a){a&1&&xg(0)},pFa=function(a){if(a&1){var b=x();I(0,"button",6,1);M("click",function(e){z(b);var f=P();return A(f.onClick(e))});D(2,oFa,1,0,"ng-container",7);J()}if(a&2){var c;a=P();var d=L(1);F("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",(c=a.tooltip)!==null&&c!==void 0?c:"");eg("aria-label",
a.bAriaLabel)("aria-expanded",a.bAriaExpanded);C(2);F("ngTemplateOutlet",d)}},qFa=function(a){a&1&&(I(0,"span",10),Wd(),I(1,"svg",12),K(2,"path",13),J(),I(3,"svg",14),K(4,"path",15),J()())},rFa=function(a){return a instanceof bp?a:new bp(a,{})},cp=function(a){a=rFa(a);return new bp(a.char,Object.assign({},a.modifiers,{shift:!0}))},sFa=function(a){a=rFa(a);return new bp(a.char,Object.assign({},a.modifiers,{ctrl:!0}))},tFa=function(){var a=cp("f");a=rFa(a);return new bp(a.char,Object.assign({},a.modifiers,
{alt:!0}))},vFa=function(a){if(a instanceof bp){var b=uFa(a.char);a.modifiers.ctrl&&(b="ctrl+"+b);a.modifiers.alt&&(b="alt+"+b);a.modifiers.shift&&(b="shift+"+b);return b}return a instanceof Array?a.map(vFa).join(" "):uFa(a)},dp=function(){return zd.apply(0,arguments)},uFa=function(a){switch(a){case "a":case "b":case "c":case "d":case "e":case "f":case "g":case "h":case "i":case "j":case "k":case "l":case "m":case "n":case "o":case "p":case "q":case "r":case "s":case "t":case "u":case "v":case "w":case "x":case "y":case "z":case "1":case "2":case "3":case "4":case "5":case "6":case "7":case "8":case "9":case "0":case "/":case "*":case ".":case "<":case ">":case "?":return a;
case "F1":return"f1";case "F3":return"f3";case "DOWN":return"down";case "UP":return"up";case "RIGHT":return"right";case "LEFT":return"left";case "SPACE":return"space";case "ENTER":return"enter";default:return xb(a)}},wFa=function(a){return a.keys.join("-")+"-"+a.description+"-"+a.displayAs},xFa=function(a){switch(a){case "P0":return ep.CHANGE_ISSUE_PRIORITY_TO_P0;case "P1":return ep.CHANGE_ISSUE_PRIORITY_TO_P1;case "P2":return ep.CHANGE_ISSUE_PRIORITY_TO_P2;case "P3":return ep.CHANGE_ISSUE_PRIORITY_TO_P3;
case "P4":return ep.CHANGE_ISSUE_PRIORITY_TO_P4;case "PRIORITY_UNSPECIFIED":break;default:console.error("Unsupported issue priority in issuePriorityToHotkey")}},yFa=function(a){switch(a){case "NEW":return ep.CHANGE_ISSUE_STATUS_TO_NEW;case "ASSIGNED":return ep.CHANGE_ISSUE_STATUS_TO_ASSIGNED;case "ACCEPTED":return ep.CHANGE_ISSUE_STATUS_TO_ACCEPTED;case "FIXED":return ep.CHANGE_ISSUE_STATUS_TO_FIXED;case "VERIFIED":return ep.CHANGE_ISSUE_STATUS_TO_VERIFIED;case "NOT_REPRODUCIBLE":return ep.CHANGE_ISSUE_STATUS_TO_NOT_REPRODUCIBLE;
case "INTENDED_BEHAVIOR":return ep.CHANGE_ISSUE_STATUS_TO_INTENDED_BEHAVIOR;case "OBSOLETE":return ep.CHANGE_ISSUE_STATUS_TO_OBSOLETE;case "INFEASIBLE":return ep.CHANGE_ISSUE_STATUS_TO_INFEASIBLE;case "DUPLICATE":return ep.CHANGE_ISSUE_STATUS_TO_DUPLICATE;case "STATUS_UNSPECIFIED":break;default:console.error("Unsupported issue status in issueStatusToHotkey")}},zFa=function(a,b){if(a==null)return null;a=a.getRequestHook(b);return a==null?null:a},AFa=function(a){return Object.assign({},{arrays:{},descriptions:{},
keys:[],objectMaps:{},objects:{},enums:{},emptyArrayIsUnset:!1},a)},BFa=function(a,b){return fp(b,a)},CFa=function(a,b,c){b[a]=c},DFa=function(){return{}},IFa=function(a,b){var c=new a;return b==null?c:EFa(b,FFa,GFa,HFa,a)},FFa=function(a,b){return b[a]},GFa=function(a,b,c){b.Serializable$values[a]=c},HFa=function(a){if(a==null)throw Error("jd");return new a},EFa=function(a,b,c,d,e){e=d(e);for(var f=JFa(a,e),h=f.arrays||{},l=f.objects||{},q=f.objectMaps||{},v=k(f.keys||[]),y=v.next(),E={};!y.done;E=
{mapMetadata:void 0},y=v.next()){y=y.value;var H=b(y,a);if(H!=null){var O=void 0;if(h.hasOwnProperty(y)){if(f.emptyArrayIsUnset&&H.length===0)continue;O=KFa(H,b,c,d,!0,!0,h[y])}else if(l.hasOwnProperty(y))O=KFa(H,b,c,d,!1,!0,l[y]);else if(q.hasOwnProperty(y))E.mapMetadata=q[y],O=E.mapMetadata.isPropertyArray?H.map(function(N){return function(T){return LFa(T,N.mapMetadata,b,c,d)}}(E)):LFa(H,E.mapMetadata,b,c,d);else if(Array.isArray(H)){if(f.emptyArrayIsUnset&&H.length===0)continue;O=KFa(H,b,c,d,!0,
!1)}else O=H;c(y,e,O)}}return e},LFa=function(a,b,c,d,e){for(var f={},h=k(Object.keys(a)),l=h.next();!l.done;l=h.next()){l=l.value;var q=a[l];q!=null&&(f[l]=KFa(q,c,d,e,b.isValueArray,b.isSerializable,b.ctor))}return f},KFa=function(a,b,c,d,e,f,h){if(f&&h==null)throw Error("kd");if(a==null)return a;var l;e&&f?l=a.map(function(q){return EFa(q,b,c,d,h)}):e&&!f?l=a.map(function(q){return q}):l=!e&&f?EFa(a,b,c,d,h):typeof a==="object"?JSON.parse(JSON.stringify(a)):a;return l},JFa=function(a,b){if(b instanceof
gp)a=AFa(b.getPartialClassMetadata());else if(a instanceof gp)a=AFa(a.getPartialClassMetadata());else throw Error("ld");return a},MFa=function(a){if(a.queryParams!=null){var b={},c;for(c in a.queryParams)a.queryParams[c]!==void 0&&(b[c]=a.queryParams[c]);a.queryParams=b}},NFa=function(a,b,c){c=c===void 0?{}:c;b=k(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=k(d.value);d=e.next().value;e=e.next().value;d in a&&(c[e]=a[d])}return c},OFa=function(a,b){a&1&&(I(0,"div",1),Wd(),I(1,"svg",
2)(2,"g"),K(3,"path",3),J()(),Pd.currentNamespace=null,I(4,"span",4),Q(5),J()());a&2&&(a=b.ngIf,eg("aria-label",a)("title",a),C(5),Tg(a))},PFa=function(a){a&1&&K(0,"waldo-availability-chip",1);a&2&&(a=P(),F("user",a.user),eg("coinonly",a.coinonly))},QFa=function(a){a&1&&(Wd(),I(0,"svg",2),K(1,"polygon",3),J())},RFa=function(a){if(a&1){var b=x();I(0,"div",0);M("keydown",function(c){z(b);var d=P();return A(d._handleKeydown(c))})("click",function(){z(b);var c=P();return A(c.closed.emit("click"))})("@transformMenu.start",
function(c){z(b);var d=P();return A(d._onAnimationStart(c))})("@transformMenu.done",function(c){z(b);var d=P();return A(d._onAnimationDone(c))});I(1,"div",1);Eg(2);J()()}a&2&&(a=P(),og(a._classList),F("id",a.panelId)("@transformMenu",a._panelAnimationState),eg("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null))},SFa=function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}},
TFa=function(a,b){if(a&1){var c=x();I(0,"a",7);M("click",function(){var d=z(c).$implicit,e=P(2);return A(e.clickSegment.emit(d.name||d.path))});Q(1);J()}a&2&&(a=b.$implicit,F("href",a.path,of),C(),R(" ",a.name||a.path," "))},UFa=function(a){a&1&&(I(0,"button",4),K(1,"mat-icon",5),J(),I(2,"mat-menu",null,0),tg(4,TFa,2,2,"a",6,sg),J());if(a&2){a=L(3);var b=P();F("matMenuTriggerFor",a);C(4);ug(b.segments)}},VFa=function(a){a&1&&K(0,"mat-icon",2);a&2&&(a=P().$implicit,F("svgIcon",a.icon))},WFa=function(a,
b){if(a&1){var c=x();I(0,"button",1);M("click",function(){var e=z(c).$implicit,f=P();return A(f.onClickButton(e.value))});D(1,VFa,1,1,"mat-icon",2);Q(2);J()}if(a&2){var d;a=b.$implicit;b=P();F("disableRipple",!0)("matTooltip",(d=a.tooltip)!==null&&d!==void 0?d:"");eg("aria-checked",b.value===a.value);C();G(a.icon?1:-1);C();R(" ",a.name," ")}},XFa=function(a){if(a&1){var b=x();I(0,"button",4);M("click",function(){z(b);var c=P();return A(c.toggle())});K(1,"mat-icon",5);J()}a&2&&(a=P(),ng("isClosed",
a.isClosed),F("ngClass",a.direction)("matTooltip",a.toggleButtonLabel),eg("aria-label",a.toggleButtonLabel),C(),F("svgIcon",a.isLTR?"chevron-left":"chevron-right"))},YFa=function(a){a=a.getBoundingClientRect();return a.top>=0&&a.bottom<=window.innerHeight},ZFa=function(a){a=a.getBoundingClientRect();return a.bottom>0&&a.top<window.innerHeight},$Fa=function(a,b,c,d){var e=(d=d===void 0?!1:d)?function(f){return c.partially(f)}:function(f){return c.fully(f)};return(new re(function(f){f.next(e(a));var h=
b(function(l){f.next(l[0].isIntersecting)},d?{threshold:0}:{threshold:1});h.observe(a);return function(){h.unobserve(a)}})).pipe(Ef())},aGa=function(a,b,c){var d=(c===void 0?0:c)?function(e){return b.partially(e)}:function(e){return b.fully(e)};return Xe(Fe(void 0),Te(window,"scroll").pipe(Af(500))).pipe(B(function(){return d(a)}),Ef())},cGa=function(a){return!!a.match(bGa)&&!a.endsWith("/history")},hp=function(a){return a.type==="hyperlink"},dGa=function(a){return hp(a)&&cGa(a.href)},fGa=function(a){return hp(a)&&
!!a.href.match(eGa)},gGa=function(a,b){b=b===void 0?!1:b;if(a.endsWith("/history"))return null;var c,d;return(a=(d=(c=a.match(bGa))==null?void 0:c[2])!=null?d:null)?b?"https://3p-screenshot.corp.google.com/"+a+".png":"https://screenshot.googleplex.com/"+a+".png":null},hGa=function(a){return a.type==="issueReference"},iGa=function(a){return hp(a)&&!dGa(a)&&!(hp(a)&&a.href.startsWith("mailto:"))},jGa=function(a,b){a=a===void 0?"":a;b=b===void 0?48:b;var c=c===void 0?"...":c;var d=[].concat(w(a));if(d.length<=
b)return a;a=b-[].concat(w(c)).length;d=d.slice(0,a).join("");String.prototype.trimEnd!=null&&(d=d.trimEnd());return d+c},kGa=function(a){a=a===void 0?"":a;var b=new Set([].concat(w('!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~\t\n')));a=[].concat(w(a)).map(function(c){return b.has(c)?" ":c}).join("").trim();return a.length===0?[]:a.split(/[\s]+/g)},lGa=function(a){return a.split("").every(function(b){return b.length===1&&b.charCodeAt(0)>=0&&b.charCodeAt(0)<=255})},nGa=function(a){if(a!=null){a=[].concat(w(a)).slice(0,
100);a=k(a);for(var b=a.next();!b.done;b=a.next())if(b=mGa[b.value])return b}},oGa=function(a){if(a.includes('"')||a.includes("'"))return[];var b=[].concat(w(a.matchAll(RegExp("(^|[;,\\-\\s])+(\\d+)","g"))));if(b.length)return b.map(function(c){c=k(c);c.next();c.next();return c.next().value});a=[].concat(w(a.matchAll(RegExp("(b|b-qa|issues)\\/(\\d+)","g"))));return a.length?a.map(function(c){c=k(c);c.next();c.next();return c.next().value}):[]},pGa=function(a,b){var c;a=(c=a)!=null?c:"";var d;b=(d=
b)!=null?d:"";return a.trim()===b.trim()},qGa=function(a){a&1&&(K(0,"img",1),S(1,"async"));if(a&2){var b;a=P(2);F("src",U(1,2,a.srcRedirected$),of);eg("alt",(b=a.alt)!==null&&b!==void 0?b:"user provided image")}},rGa=function(a){if(a&1){var b=x();I(0,"a",3);S(1,"async");S(2,"async");M("click",function(c){z(b);var d=P(2);return A(d.trigger(c))})("keydown.enter",function(c){z(b);var d=P(2);return A(d.trigger(c))});I(3,"b-glue");K(4,"mat-icon",4);J();vg(5);Q(6);S(7,"async");wg();J()}a&2&&(a=P(2),F("href",
U(1,3,a.src$),of)("title",U(2,5,a.src$)),C(6),Tg(U(7,7,a.srcTruncated$)))},sGa=function(a){a&1&&(D(0,qGa,2,4,"img",1),S(1,"async"),D(2,rGa,8,9,"a",2));if(a&2){var b;a=P();G((b=U(1,1,a.showImage$))?0:2,b)}},tGa=function(a){a&1&&(K(0,"mat-icon",0),S(1,"async"));a&2&&(a=P(),Fg("matTooltip","Unable to load image ",U(1,2,a.srcTruncated$),""))},uGa=function(a){a&1&&(K(0,"br"),I(1,"a",1),K(2,"b-secure-image-widget",2),J(),K(3,"br"));if(a&2){a=P();var b=P();C();F("href",a,of)("rel",b.EXTERNAL_LINK_REL);C();
F("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!0)}},vGa=function(a){a&1&&K(0,"b-secure-image-widget",0);if(a&2){a=P();var b=P();F("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!1)}},wGa=function(a){a&1&&(D(0,uGa,4,5),S(1,"async"),D(2,vGa,1,3,"b-secure-image-widget",0));if(a&2){var b;a=P();G((b=U(1,1,a.displayMode$))===a.DisplayMode.SHOW?0:b===a.DisplayMode.COLLAPSE?2:-1)}},zGa=function(){var a={timeout:5E3};a=a===void 0?{}:a;return xGa!=null?xGa:xGa=yGa(a)},
AGa=function(){return new Promise(function(a,b){window.gapi.load("client",{callback:a,onerror:b})})},yGa=function(a){a=a===void 0?{}:a;var b;return ve(function(c){if(c.nextAddress==1)return(b=window.gapi)&&b.client&&b.client.load?c.return(b):xe(c,BGa(wi(CGa),a),2);if(c.nextAddress!=3){b=window.gapi;if(!b)throw Error("od");return b.client&&b.client.load?c.jumpTo(3):xe(c,AGa(),3)}return c.return(b)})},DGa=function(a,b,c){var d=a.config.get(b);c!==d&&a.config.update(b,c)},FGa=function(a,b){b=b===void 0?
0:b;var c=a.auth2.getAuthInstance().currentUser.get(),d=c.getAuthResponse(!0);if(d&&d.expires_at-Date.now()<b){if(EGa.has(a))return EGa.get(a);b=Promise.resolve(c.reloadAuthResponse()).finally(function(){EGa.delete(a)});EGa.set(a,b);return b}return Promise.resolve()},GGa=function(a,b){var c;return a.client.init({apiKey:b.apiKey,clientId:b.clientId,scope:b.scope,discoveryDocs:b.discoveryDocs,hostedDomain:b.hostedDomain,fetchBasicProfile:(c=b.fetchBasicProfile)!=null?c:!0})},jp=function(a){return(a!=
null?a:[]).map(ip)},lp=function(a){return(a!=null?a:[]).map(kp)},ip=function(a){if(a==null)return"";var b=a.user,c=a.group,d=a.alias;a=void 0;b!=null?(a="USER",b=Ui(b)):c!=null?(a="GROUP",b=Ui(c)):d!=null?(a="ALIAS",b=d):b="";return a===void 0||b===""?"":a+":"+b},mp=function(a){return(a!=null?a:[]).map(ip)},np=function(a){return(a!=null?a:[]).map(kp)},kp=function(a){var b=k(a.split(":"));a=b.next().value;b=b.next().value;if(!a||!b)throw Error("pd`"+b);switch(a){case "USER":return{user:{emailAddress:b}};
case "GROUP":return{group:{emailAddress:b}};case "ALIAS":return{alias:b};default:throw Error("qd`"+b);}},op=function(){return{admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null}},pp=function(a){return{admins:jp(a.admins),editors:jp(a.editors),appenders:jp(a.appenders),readers:jp(a.readers),restrictedReaders:jp(a.restrictedReaders),restrictedPlusReaders:jp(a.restrictedPlusReaders),inheritedAdmins:jp(a.inheritedAdmins),implicitAccess:a.implicitAccess||
null}},qp=function(a){return{admins:lp(a.admins),editors:lp(a.editors),appenders:lp(a.appenders),readers:lp(a.readers),restrictedReaders:lp(a.restrictedReaders),restrictedPlusReaders:lp(a.restrictedPlusReaders),implicitAccess:a.implicitAccess}},HGa=function(a){for(var b={},c=k(a.keys),d=c.next();!d.done;d=c.next()){d=d.value;var e=a.getAll(d);b[d]=e.length>1?e:e[0]}return b},IGa=function(){var a=window.gapi;if(!a)return Promise.reject(Error("td"));if(a.client&&a.client.load)return Promise.resolve(a);
qj("loading gapi client");return new Promise(function(b,c){a.load("client",{callback:function(){qj("gapi client has finished loading");b(a)},onerror:c})})},rp=function(a){return a==null?"":typeof a==="number"?isFinite(a)?String(a):"":a&&(a=String(a),a.length<=254)?a:""},MGa=function(){var a=sp("gapi.config.get");if((a=rp(a&&a("googleapis.config/sessionIndex")))||(a=rp(ya.__X_GOOG_AUTHUSER))||(a=rp(sp("google.authuser"))))return a;var b=ya.location.href||"",c=JGa.exec(b);try{a=rp(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;
c=KGa.exec(b);try{a=rp(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;a=LGa.exec(b);return(a=rp(a&&a[1]))?a:""},NGa=function(){var a=sp("gapi.auth.getToken");a=(a=a?a():null)&&a.access_token;var b=null;if(!a){a=(a=sp("gapi.auth2.getAuthInstance"))?a():null;if(!a||!a.isSignedIn.get())return null;a=(b=a.currentUser.get().getAuthResponse(!0))&&b.access_token;if(!a)return null;b=b.token_type}return{Authorization:(b||"Bearer")+" "+a}},PGa=function(a){a=a===void 0?"":a;var b;if(!(b=NGa())){b=a;var c=
c===void 0?MGa():c;a={};var d=OGa([]);d&&(a.Authorization=d);b||(b=(b=sp("gapi.config.get"))&&b("client/apiKey"));b&&(a["X-Goog-Api-Key"]=b);c&&(a["X-Goog-AuthUser"]=String(c));b=a}return b},QGa=function(a,b){b=b===void 0?0:b;var c;if(c=b===0)c=(c=sp("gapi.config.get"))?(c=c("oauth-flow/authUrl"))&&(c.indexOf("staging")>0||c.indexOf("test")>0)?2:1:0,c=c===2;c&&(b=7);switch(b){case 7:b="dev-";c="-googleapis.corp";break;case 1:b="autopush-";c="-googleapis.sandbox";break;case 2:b="staging-";c="-googleapis.sandbox";
break;default:b="",c=".clients6"}a="https://"+b+a+c+".google.com";(b=(b=sp("gapi.config.get"))&&b("client/rewrite"))&&b[a]&&(a=String(b[a]));return a},SGa=function(a,b){return a<1||!isFinite(a)?Promise.reject("gapi.client missing"):(new Promise(function(c){return ya.setTimeout(c,b)})).then(function(){return RGa(a-1,b*2)})},RGa=function(a,b){a=a===void 0?0:a;b=b===void 0?5E3:b;var c=ya;try{do var d=c.gapi;while(!d&&c!==c.top&&(c=c.parent))}catch(e){}if(!d)return SGa(a,b);ya.gapi||(ya.gapi=d);return d.client?
Promise.resolve(d):new Promise(function(e,f){d.load("client",function(){d.client?e(d):f("gapi.client missing")})})},TGa=function(){var a=a===void 0?"":a;var b=b===void 0?MGa():b;var c=sp("gapi.config.update");c("googleapis.config/auth/useFirstPartyAuth",!0);c("googleapis.config/auth/useFirstPartyAuthV2",!0);b&&c("googleapis.config/sessionIndex",b);a&&c("client/apiKey",a)},UGa=function(a){return(new tp).setEventType(2).setRpcType(2).setLookupType(a)},VGa=function(a){a=Math.round(a*1E3);return isFinite(a)?
a:null},up=function(a){var b;return(b=a==null?void 0:a.trim())!=null?b:""},wp=function(a){var b=b===void 0?WGa:b;var c=vp(a),d=function(e){e=k(e);e.next();e=nm(e);return b(c,e)};return function(){var e=zd.apply(0,arguments),f=this||ya,h=XGa.get(f);h||(h={},XGa.set(f,h));f=h;h=[this].concat(w(e));e=d?d(h):h;if(Object.prototype.hasOwnProperty.call(f,e))f=f[e];else{var l=k(h);h=l.next().value;l=nm(l);h=a.apply(h,l);f=f[e]=h}return f}},$Ga=function(a,b,c,d,e){e=e===void 0?"":e;a=new xp(a,b);e&&(a.destinationUrl=
e);d&&YGa(a,function(){return PGa().Authorization});a.setProductID(109303191);c&&c.length&&(d=new ZGa,wc(d,3,c,Gb),a.setClearExperimentIds(d));return a.build()},Ap=function(a,b,c,d){yp.call(this);this.initialized_=!1;this.title_=null;this.cache_=b;this.id_=c;this.transport_=a;aHa(this.transport_,this.id_);d&&zp(d.getEventTarget(),"a",this.onContactsChange_,!1,this)},bHa=function(a){var b={};if(a){a=k(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=d.containerType;d=d.id||"";c&&d&&(b[c]=
b[c]||d)}}return b},dHa=function(a){return a.extendedData&&a.extendedData.contactPreferences?a.extendedData.contactPreferences.map(function(b){return cHa(b.name,b.email)}).join(", "):""},gHa=function(a,b,c){var d=[];a&&(eHa("name",a.name,b,d,c),eHa("phone",a.phone,b,d,c),eHa("photo",a.photo,b,d,c));return d.map(function(e){return new fHa(e)})},eHa=function(a,b,c,d,e){if(b){b=k(b);for(var f=b.next();!f.done;f=b.next())if(f=f.value,sp("metadata.containerType",f)!=="CONTACT"){var h=f;var l=c,q=d,v=e,
y=sp("metadata.encodedContainerId",h),E=sp("metadata.containerType",h);l.contains(y,E)?h=l.get(y,E)||0:(h=q.length,l.set(y,E,h),q.push({}),v.push(y));l=q[h];l[a]=l[a]||[];l[a].push(f)}}},iHa=function(a,b){if(a){a=hHa(a);for(var c=0;c<a.getFieldLength();c++){var d=a.getField(c);if(d.hasValue()&&(!b||b(d.getMetaData())))return d.getValue()}}return null},jHa=function(a,b){if(a){a=a.getPhoto();for(var c=0;c<a.getFieldLength();c++){var d=a.getField(c);if(d.hasUrl()&&(!b||b(d.getMetaData())))return d.getUrl()}}return null},
kHa=function(a){this.query_=a;this.error_=0},nHa=function(a,b){for(var c=[],d=a.length,e=0,f=[],h,l,q=0;q<d;){switch(e){case 0:var v=a.indexOf("<",q);if(v<0){if(c.length===0)return a;c.push(a.substring(q));q=d}else c.push(a.substring(q,v)),l=v,q=v+1,lHa?(mHa.lastIndex=q,v=mHa.exec(a)):(mHa.lastIndex=0,v=mHa.exec(a.substring(q))),v?(f=["<",v[0]],h=v[1],e=1,q+=v[0].length):c.push("<");break;case 1:v=a.charAt(q++);switch(v){case "'":case '"':var y=a.indexOf(v,q);y<0?q=d:(f.push(v,a.substring(q,y+1)),
q=y+1);break;case ">":f.push(v);c.push(b(f.join(""),h));e=0;f=[];l=h=null;break;default:f.push(v)}break;default:throw Error();}e===1&&q>=d&&(q=l+1,c.push("<"),e=0,f=[],l=h=null)}return c.join("")},Cp=function(a,b){b=a(b||oHa,void 0);a=Bp();b&&b.renderAsElement?a=b.renderAsElement():(a=a.createElement("DIV"),b=pHa(b),a.innerHTML=Tc(b));a.childNodes.length==1&&(b=a.firstChild,b.nodeType==1&&(a=b));return a},pHa=function(a){return In(a)?a.toSafeHtml&&(a=a.toSafeHtml(),a instanceof Qc)?a:ti("zSoyz"):
ti(String(a))},Ep=function(a,b,c,d,e,f,h){this.serverBase_=typeof a==="string"?new Dp(a):a;this.useApiary_=!!c;this.apiaryClientDeferred_=d;this.onAuthError_=e;this.testGaia_=!!f;this.contactStoreConfig_=h;this.commonAcParams_={};this.acWrappers_={};this.onAcCompleteListeners_={};this.inputToAcWrapper_={};this.focusedElement_=null},qHa=function(a){a=a.getEmail();if(!a)return!1;for(var b=k(["-pager","+pager","-oncall","+oncall","lifeguard-ng"]),c=b.next();!c.done;c=b.next())if(a.indexOf(c.value)>=
0)return!0;return!1},uHa=function(a,b,c){a=a.filter(rHa());if(!c)return a;c=c.map(function(d){return{contact:d,toString:function(){return d.text}}});b=sHa(new tHa(c),b,c.length);return a.concat(b.map(function(d){return d.contact}))},Gp=function(a){return a?Fa(a,"@")?a:a==="[Deleted User]"?a:a+"@google.com":""},wHa=function(a){if(vHa==null){var b=typeof document!=="undefined"?document.head:null;vHa=!(!b||!b.createShadowRoot&&!b.attachShadow)}return vHa&&(a=a.getRootNode?a.getRootNode():null,typeof ShadowRoot!==
"undefined"&&ShadowRoot&&a instanceof ShadowRoot)?a:null},xHa=function(a){if(a&1){var b=x();I(0,"div",0);M("clickOutside",function(){z(b);var c=P();return A(c.closeHovercard$.next())})("mouseenter",function(){z(b);P().isOnHover$.next(!0);return A()})("mouseleave",function(){z(b);P().isOnHover$.next(!1);return A()});Eg(1);J()}a&2&&(a=P(),og(a.className),F("cdkTrapFocusAutoCapture",a.wasTriggeredByKeyboard))},yHa=function(a){a&1&&K(0,"img",9);a&2&&(a=P(),F("src",a.person.imageUrl,of)("alt",a.person.name+
"'s profile picture"))},zHa=function(a){a&1&&(I(0,"div",10),Q(1),J());a&2&&(a=P(),C(),R(" ",a.person.email," "))},AHa=function(a){a&1&&(I(0,"div",11)(1,"onedev-chip",12),K(2,"mat-icon",13),Q(3),J()());a&2&&(a=P(),C(3),R("",a.outOfOfficeDescription," "))},BHa=function(a){a&1&&(I(0,"li"),Q(1),J());a&2&&(a=P(2),C(),Tg(a.person.title))},CHa=function(a){a&1&&K(0,"li",18)},DHa=function(a){a&1&&(I(0,"li"),Q(1),J());a&2&&(a=P(2),C(),Tg(a.person.department))},EHa=function(a){a&1&&(vg(0),K(1,"mat-icon",14),
I(2,"div",15)(3,"ul",16),D(4,BHa,2,1,"li",8)(5,CHa,1,0,"li",17)(6,DHa,2,1,"li",8),J()(),wg());a&2&&(a=P(),C(4),F("ngIf",a.person.title),C(),F("ngIf",a.person.title&&a.person.department),C(),F("ngIf",a.person.department))},FHa=function(a){a&1&&(vg(0),K(1,"mat-icon",19),I(2,"div",15),Q(3),J(),wg());a&2&&(a=P(),C(3),Tg(a.person.location))},GHa=function(a){a&1&&(vg(0),K(1,"mat-icon",20),I(2,"div",15)(3,"ul",16)(4,"li")(5,"a",21),Q(6,"Teams"),J()(),K(7,"li",18),I(8,"li")(9,"a",21),Q(10,"Calendar"),J()(),
K(11,"li",18),I(12,"li")(13,"a",21),Q(14,"CLs"),J()(),K(15,"li",18),I(16,"li")(17,"a",21),Q(18,"Readability"),J()()()(),wg());a&2&&(a=P(),C(5),F("href","https://moma.corp.google.com/person/"+a.person.ldap,of),C(4),F("href","https://www.google.com/calendar/embed?src="+a.person.email+"&mode=WEEK&showCalendars=0",of),C(4),F("href","https://critique.corp.google.com/"+a.person.ldap,of),C(4),F("href","https://icanread.corp.google.com/s/"+a.person.ldap,of))},IHa=function(a){return a&&HHa.test(a)?a.split("@")[0]:
""},JHa=function(a){return a?a.find(function(b){var c;return((c=b.metadata)==null?void 0:c.container)==="DOMAIN_PROFILE"}):null},KHa=function(a){return a?a.find(function(b){var c;return((c=b.metadata)==null?void 0:c.container)==="DOMAIN_PROFILE"}):null},LHa=function(a,b){return a.map(function(c){var d,e,f,h=(e=b==null?void 0:(d=b.matches)==null?void 0:d.find(function(O){return O.lookupId===c}))==null?void 0:(f=e.personId)==null?void 0:f[0];if(!h)return{ldap:IHa(c),name:"",email:c};var l;d=b==null?
void 0:(l=b.people)==null?void 0:l[h];var q;h=(q=KHa(d==null?void 0:d.email))==null?void 0:q.value;var v,y;q=d==null?void 0:(v=d.name)==null?void 0:(y=v[0])==null?void 0:y.displayName;var E,H;v=d==null?void 0:(E=d.photo)==null?void 0:(H=E[0])==null?void 0:H.url;y=JHa(d==null?void 0:d.organization);E=y==null?void 0:y.title;H=y==null?void 0:y.department;y=y==null?void 0:y.location;return{ldap:IHa(h),email:h||c||"",name:q||"",imageUrl:v,title:E,department:H,location:y}})},MHa=function(a,b){a&1&&(I(0,
"onedev-person-hovercard-body",1),S(1,"async"),Eg(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),Eg(3,1,["ngProjectAs","[onedev-additional-content]",5,["","onedev-additional-content",""]]),J());a&2&&(a=b.ngIf,b=P(),F("person",a)("outOfOfficeDescription",U(1,2,b.outOfOfficeDescription$)))},NHa=function(a){a&1&&(I(0,"onedev-person-hovercard",2,0),Eg(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),J());if(a&2){a=L(1);var b=P();F("email",b.email)("enableWaldo",
!0)("onedevIsHovercardReady",a.init)}},OHa=function(a){a&1&&xg(0)},PHa=function(a){a&1&&(I(0,"span",2),D(1,OHa,1,0,"ng-container",3),J(),I(2,"onedev-hovercard",null,1),K(4,"b-person-card",4),J());if(a&2){a=L(3);var b=P(),c=L(3);F("onedevHovercardTrigger",a)("onedevHovercardActive",!!b.email);C();F("ngTemplateOutlet",c);C(3);F("email",b.email)}},QHa=function(a){a&1&&xg(0)},RHa=function(a){a&1&&D(0,QHa,1,0,"ng-container",3);a&2&&(P(),a=L(3),F("ngTemplateOutlet",a))},SHa=function(a){a&1&&Eg(0)},THa=
function(){return new $c(3008,!1)},Hp=function(a){if(typeof a=="number")return a;a=a.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:UHa(parseFloat(a[1]),a[2])},UHa=function(a,b){switch(b){case "s":return a*1E3;default:return a}},VHa=function(a,b,c){if(a.hasOwnProperty("duration"))b=a;else a:{var d=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,e=0,f="";if(typeof a==="string"){d=a.match(d);if(d===null){b.push(new $c(3E3,!1));b={duration:0,delay:0,easing:""};break a}a=
UHa(parseFloat(d[1]),d[2]);var h=d[3];h!=null&&(e=UHa(parseFloat(h),d[4]));(d=d[5])&&(f=d)}c||(c=!1,d=b.length,a<0&&(b.push(new $c(3100,!1)),c=!0),e<0&&(b.push(new $c(3101,!1)),c=!0),c&&b.splice(d,0,new $c(3E3,!1)));b={duration:a,delay:e,easing:f}}return b},WHa=function(a){return a.length?a[0]instanceof Map?a:a.map(function(b){return new Map(Object.entries(b))}):[]},Ip=function(a,b,c){b.forEach(function(d,e){var f=XHa(e);c&&!c.has(e)&&c.set(e,a.style[f]);a.style[f]=d})},Jp=function(a,b){b.forEach(function(c,
d){d=XHa(d);a.style[d]=""})},Kp=function(a){if(Array.isArray(a)){var b;a.length==1?b=a[0]:b={type:2,steps:a,options:null};a=b}return a},ZHa=function(a,b,c){var d=b.params||{};a=YHa(a);a.length&&a.forEach(function(e){d.hasOwnProperty(e)||c.push(new $c(3001,!1))})},YHa=function(a){var b=[];if(typeof a==="string"){for(var c;c=$Ha.exec(a);)b.push(c[1]);$Ha.lastIndex=0}return b},Lp=function(a,b,c){var d=""+a,e=d.replace($Ha,function(f,h){h=b[h];h==null&&(c.push(new $c(3003,!1)),h="");return h.toString()});
return e==d?a:e},XHa=function(a){return a.replace(aIa,function(){return zd.apply(0,arguments)[1].toUpperCase()})},cIa=function(a,b,c){if(c.size&&b.length){var d=b[0],e=[];c.forEach(function(h,l){d.has(l)||e.push(l);d.set(l,h)});if(e.length){c={};for(var f=1;f<b.length;c={kf$jscomp$1:void 0},f++)c.kf$jscomp$1=b[f],e.forEach(function(h){return function(l){return h.kf$jscomp$1.set(l,bIa(a,l))}}(c))}}return b},Mp=function(a,b,c){switch(b.type){case 7:return a.visitTrigger(b,c);case 0:return a.visitState(b,
c);case 1:return a.visitTransition(b,c);case 2:return a.visitSequence(b,c);case 3:return a.visitGroup(b,c);case 4:return a.visitAnimate(b,c);case 5:return a.visitKeyframes(b,c);case 6:return a.visitStyle(b,c);case 8:return a.visitReference(b,c);case 9:return a.visitAnimateChild(b,c);case 10:return a.visitAnimateRef(b,c);case 11:return a.visitQuery(b,c);case 12:return a.visitStagger(b,c);default:throw new $c(3004,!1);}},bIa=function(a,b){return window.getComputedStyle(a)[b]},Op=function(a){switch(a.length){case 0:return new Np;
case 1:return a[0];default:return new dIa(a)}},fIa=function(a,b,c){b=b===void 0?new Map:b;c=c===void 0?new Map:c;var d=[],e=[],f=-1,h=null;a.forEach(function(l){var q=l.get("offset"),v=q==f,y=v&&h||new Map;l.forEach(function(E,H){var O=H;if(H!=="offset")switch(O=XHa(O),E){case "!":E=b.get(H);break;case "*":E=c.get(H);break;default:E=eIa(O,E,d)}y.set(O,E)});v||e.push(y);h=y;f=q});if(d.length)throw new $c(3502,!1);return e},hIa=function(a,b,c,d){switch(b){case "start":a.onStart(function(){return d(c&&
gIa(c,"start",a))});break;case "done":a.onDone(function(){return d(c&&gIa(c,"done",a))});break;case "destroy":a.onDestroy(function(){return d(c&&gIa(c,"destroy",a))})}},gIa=function(a,b,c){var d=c.totalTime;b=iIa(a.element,a.triggerName,a.fromState,a.toState,b||a.phaseName,d==void 0?a.totalTime:d,c.disabled?!0:!1);a=a._data;a!=null&&(b._data=a);return b},iIa=function(a,b,c,d,e,f,h){return{element:a,triggerName:b,fromState:c,toState:d,phaseName:e===void 0?"":e,totalTime:f===void 0?0:f,disabled:!!h}},
Pp=function(a,b,c){var d=a.get(b);d||a.set(b,d=c);return d},jIa=function(a){var b=a.indexOf(":");return[a.substring(1,b),a.slice(b+1)]},lIa=function(a){a=a.parentNode||a.host||null;return a===kIa?null:a},mIa=function(a,b){for(;b;){if(b===a)return!0;b=lIa(b)}return!1},pIa=function(a,b){var c=[];typeof a=="string"?a.split(/\s*,\s*/).forEach(function(d){a:{if(d[0]==":"&&(d=nIa(d,b),typeof d=="function")){c.push(d);d=void 0;break a}var e=d.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(e==null||
e.length<4)b.push(new $c(3015,!1)),d=c;else{d=e[1];var f=e[2];e=e[3];c.push(oIa(d,e));f[0]!="<"||d=="*"&&e=="*"||c.push(oIa(e,d));d=void 0}}return d}):c.push(a);return c},nIa=function(a,b){switch(a){case ":enter":return"void => *";case ":leave":return"* => void";case ":increment":return function(c,d){return parseFloat(d)>parseFloat(c)};case ":decrement":return function(c,d){return parseFloat(d)<parseFloat(c)};default:return b.push(new $c(3016,!1)),"* => *"}},oIa=function(a,b){var c=qIa.has(a)||rIa.has(a),
d=qIa.has(b)||rIa.has(b);return function(e,f){var h=a=="*"||a==e,l=b=="*"||b==f;!h&&c&&typeof e==="boolean"&&(h=e?qIa.has(a):rIa.has(a));!l&&d&&typeof f==="boolean"&&(l=f?qIa.has(b):rIa.has(b));return h&&l}},tIa=function(a){var b=a.split(/\s*,\s*/).find(function(c){return c==":self"})?!0:!1;b&&(a=a.replace(sIa,""));a=a.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(c){return".ng-trigger-"+c.slice(1)}).replace(/:animating/g,".ng-animating");return[a,b]},uIa=function(a){if(typeof a=="string")return null;
var b=null;Array.isArray(a)?a.forEach(function(c){c instanceof Map&&c.has("offset")&&(b=parseFloat(c.get("offset")),c.delete("offset"))}):a instanceof Map&&a.has("offset")&&(b=parseFloat(a.get("offset")),a.delete("offset"));return b},vIa=function(a,b){if(a.hasOwnProperty("duration"))return a;if(typeof a=="number")return{duration:VHa(a,b).duration,delay:0,easing:""};if(a.split(/\s+/).some(function(c){return c.charAt(0)=="{"&&c.charAt(1)=="{"}))return b={duration:0,delay:0,easing:"",dynamic:!0},b.strValue=
a,b;a=VHa(a,b);return{duration:a.duration,delay:a.delay,easing:a.easing}},Qp=function(a){if(a){if(a=Object.assign({},a),a.params){var b=a;var c=(c=a.params)?Object.assign({},c):null;b.params=c}}else a={};return a},wIa=function(a,b,c,d,e,f,h,l){return{type:1,element:a,keyframes:b,preStyleProps:c,postStyleProps:d,duration:e,delay:f,totalTime:e+f,easing:h===void 0?null:h,subTimeline:l===void 0?!1:l}},yIa=function(a,b,c,d,e,f,h,l,q,v){f=f===void 0?new Map:f;h=h===void 0?new Map:h;v=v===void 0?[]:v;return(new xIa).buildKeyframes(a,
b,c,d,e,f,h,l,q,v)},zIa=function(a,b){var c=new Map,d;a.forEach(function(e){if(e==="*"){d!=null||(d=b.keys());e=k(d);for(var f=e.next();!f.done;f=e.next())c.set(f.value,"*")}else for(e=k(e),f=e.next();!f.done;f=e.next()){var h=k(f.value);f=h.next().value;h=h.next().value;c.set(f,h)}});return c},AIa=function(a,b,c,d,e,f,h,l,q,v,y,E,H){return{type:0,element:a,triggerName:b,isRemovalTransition:e,fromState:c,fromStyles:f,toState:d,toStyles:h,timelines:l,queriedElements:q,preStyleProps:v,postStyleProps:y,
totalTime:E,errors:H}},BIa=function(a,b,c,d,e){return a.some(function(f){return f(b,c,d,e)})},CIa=function(a,b){var c=Object.assign({},b);Object.entries(a).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;e!=null&&(c[d]=e)});return c},DIa=function(a,b){return new Rp(a,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(){return!0}],options:null,queryCount:0,depCount:0},b)},EIa=function(a,b,c){a.has(b)?a.has(c)||a.set(c,a.get(b)):a.has(c)&&a.set(b,a.get(c))},FIa=function(a){return a&&
a.nodeType===1},GIa=function(a,b){var c=a.style.display;a.style.display=b!=null?b:"none";return c},IIa=function(a,b,c){var d=[];b.forEach(function(h){return d.push(GIa(h))});var e=[];c.forEach(function(h,l){var q=new Map;h.forEach(function(v){var y=bIa(l,v);q.set(v,y);y&&y.length!=0||(l.__ng_removed=HIa,e.push(l))});a.set(l,q)});var f=0;b.forEach(function(h){return GIa(h,d[f++])});return e},JIa=function(a,b){function c(h){if(!h)return 1;var l=f.get(h);if(l)return l;var q=h.parentNode;d.has(q)?l=q:
e.has(q)?l=1:l=c(q);f.set(h,l);return l}var d=new Map;a.forEach(function(h){return d.set(h,[])});if(b.length==0)return d;var e=new Set(b),f=new Map;b.forEach(function(h){var l=c(h);l!==1&&d.get(l).push(h)});return d},Sp=function(a,b){var c;(c=a.classList)==null||c.add(b)},Tp=function(a,b){var c;(c=a.classList)==null||c.remove(b)},KIa=function(a,b,c){Op(c).onDone(function(){return Up(a,b)})},MIa=function(a){var b=[];LIa(a,b);return b},LIa=function(a,b){for(var c=0;c<a.length;c++){var d=a[c];d instanceof
dIa?LIa(d.players,b):b.push(d)}},NIa=function(a,b){var c=Object.keys(a),d=Object.keys(b);if(c.length!=d.length)return!1;for(d=0;d<c.length;d++){var e=c[d];if(!b.hasOwnProperty(e)||a[e]!==b[e])return!1}return!0},OIa=function(a,b,c){var d=c.get(a);if(!d)return!1;var e=b.get(a);e?d.forEach(function(f){return e.add(f)}):b.set(a,d);c.delete(a);return!0},RIa=function(a,b){var c=null,d=null;Array.isArray(b)&&b.length?(c=PIa(b[0]),b.length>1&&(d=PIa(b[b.length-1]))):b instanceof Map&&(c=PIa(b));return c||
d?new QIa(a,c,d):null},PIa=function(a){var b=null;a.forEach(function(c,d){if(d==="display"||d==="position")b=b||new Map,b.set(d,c)});return b},SIa=function(a){switch(a){case "body":return document.body;case "document":return document;case "window":return window;default:return a}},TIa=function(a){var b=a.indexOf(".");return[a.substring(0,b),a.slice(b+1)]},UIa=function(a){var b=function(){var c=a.apply(this,[].concat(w(zd.apply(0,arguments))))||this;c.defaultColor=void 0;c.color=void 0;return c};Y(b,
a);ea.Object.defineProperties(b.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color},set:function(c){c=c||this.defaultColor;c!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),c&&this._elementRef.nativeElement.classList.add("mat-"+c),this._color=c)}}});return b},VIa=function(a){var b=function(){var c=a.apply(this,[].concat(w(zd.apply(0,arguments))))||this;c._disableRipple=!1;return c};Y(b,a);ea.Object.defineProperties(b.prototype,
{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(c){this._disableRipple=$h(c)}}});return b},WIa=function(a){var b=function(){var c=a.apply(this,[].concat(w(zd.apply(0,arguments))))||this;c._disabled=!1;return c};Y(b,a);ea.Object.defineProperties(b.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(c){this._disabled=$h(c)}}});return b},Vp=function(a){if(a.user){var b,c;return(c=(b=a.user.user)==
null?void 0:b.emailAddress)!=null?c:""}if(a.placeholder){var d;return(d=a.placeholder.role)!=null?d:""}return""},XIa=function(a){return new Map(a.map(function(b){return[Vp(b),b]}))},Wp=function(a){return typeof a==="string"?"buganizer.drafts."+a:"buganizer.drafts.labeled."+a.label},YIa=function(){},ZIa=function(a,b){for(var c=a.length;c--;)b(a[c])},$Ia=function(){},aJa=function(a){return a==null?null:typeof a==="number"?a:a.endsWith("ms")?ci(a.substring(0,a.length-2)):a.endsWith("s")?ci(a.substring(0,
a.length-1))*1E3:a==="0"?0:null},bJa=function(a,b){for(var c=a.nativeElement.parentElement;c&&!c.classList.contains("mat-mdc-dialog-container");)c=c.parentElement;return c?b.find(function(d){return d.id===c.id}):null},cJa=function(a){if(a&1){var b=x();I(0,"button",5);M("click",function(){z(b);var c=P();return A(c.dialogRef.close(!1))});Q(1);J()}a&2&&(a=P(),C(),R(" ",a.cancelButtonText," "))},dJa=function(a){var b=[];a=[].concat.apply([],w(a.map(function(e){return e.actions})));a=k(a);for(var c=a.next(),
d={};!c.done;d={action$jscomp$65:void 0},c=a.next())d.action$jscomp$65=c.value,b.some(function(e){return function(f){return yi(e.action$jscomp$65,f)}}(d))||b.push(d.action$jscomp$65);return b},eJa=function(a){return Array.from(new Set([].concat.apply([],w(a.map(function(b){return b.issueIds})))))},fJa=function(a){switch(a){case "RESTRICTED":return 2;case "RESTRICTED_PLUS":return 3;case "NONE_DETECTED":return 1;case "RESTRICTION_SEVERITY_UNSPECIFIED":return 0;default:return xb(a,"Unexpected pii severity")}},
Xp=function(a){return a&&a.piiVerdict?a.piiVerdict.severity:"NONE_DETECTED"},gJa=function(a){switch(a){case "RESTRICTED":return"Restricted";case "RESTRICTED_PLUS":return"Restricted+";default:return""}},hJa=function(a){return Rua(a.getIt())},iJa=function(a){return{encryptedMedia:ida(Yp(a,1)),errorMessage:a.getErrorMessage()}},kJa=function(a){var b=new jJa;Zp(b,1,kb(a.attachment,!1,!0,!1));if(a.contentJudgement!==void 0){var c=b.setContentJudgement;a=a.contentJudgement;a=(new $p).setIt(Sua(a));c.call(b,
a)}return b},mJa=function(a){var b;return{attachments:((b=a.getAttachmentsList())!=null?b:[]).map(lJa)}},lJa=function(a){if(a!=null)return dva(a.getIt())},nJa=function(a,b){a&1&&(I(0,"li"),Q(1),J());a&2&&(a=b.$implicit,C(),Tg(a))},oJa=function(a){return a.endsWith("?")?a.slice(0,a.length-1):a},pJa=function(a,b,c,d){c&&c.targetTime&&(c.endTime?b.push({sloBounds:c,sloMetric:d}):a.push({sloBounds:c,sloMetric:d}))},qJa=function(a,b){return a.sloBounds.targetTime.seconds-b.sloBounds.targetTime.seconds},
rJa=function(){return{startTime:Date.now(),sessionStartTime:Date.now(),firstActionSeen:!1,editCount:0,variations:new Set}},sJa=function(a){var b;return(b=hj(a))!=null?b:null},tJa=function(a){var b;return(b=ij(a))!=null?b:null},aq=function(a,b){b=(b===void 0?{}:b).comment;return{path:"/issues/"+a,fragment:b?"comment"+b:void 0}},bq=function(a,b){b=b===void 0?{}:b;b=b===void 0?{}:b;a={q:"status:open componentid:"+a};b.includeArchived&&(a.q+=" archived:all");a={path:"/issues",queryParams:a};a.queryParams.s=
"created_time:desc";return a},uJa=function(a){var b={};a=(b.component=a?String(a):void 0,b);a=a===void 0?{}:a;return{path:"/issues/new",queryParams:a}},vJa=function(a){return{path:"/components/"+a}},wJa=function(a){var b={};a&&(b.componentId=a);return{path:"/components",queryParams:b}},xJa=function(a){return{path:"/slos/"+a+"/edit"}},yJa=function(a){var b;return(a==null?void 0:(b=a.userData)==null?void 0:b.starred)||!1},zJa=function(a){var b;return(a==null?void 0:(b=a.userData)==null?void 0:b.lastViewedTimeMicros)||
0},AJa=function(a){var b;return(b=Zk(a))==null?void 0:b.title},BJa=function(a){var b,c;return(c=(b=Zk(a))==null?void 0:b.status)!=null?c:void 0},CJa=function(a){var b,c;return(c=(b=Zk(a))==null?void 0:b.priority)!=null?c:void 0},DJa=function(a){var b,c;return(c=(b=Zk(a))==null?void 0:b.assigneeUser)!=null?c:void 0},EJa=function(a){var b,c;return(c=(b=Zk(a))==null?void 0:b.reporterUser)!=null?c:void 0},FJa=function(a){var b;a=a==null?void 0:(b=a.aggregatedData)==null?void 0:b.teamId;return ij(a)},
GJa=function(a){var b;a=(b=Zk(a))==null?void 0:b.componentId;return ij(a)},HJa=function(a){var b,c;return(c=(b=Zk(a))==null?void 0:b.ccUsers)!=null?c:[]},IJa=function(a){var b,c;return(c=(b=Zk(a))==null?void 0:b.issueAccessLimitLevel)!=null?c:"LIMIT_NONE"},JJa=function(a){var b,c;return(c=(b=Zk(a))==null?void 0:b.collaboratorsUsers)!=null?c:[]},KJa=function(a){var b,c;return(c=(b=Zk(a))==null?void 0:b.type)!=null?c:void 0},LJa=function(a){var b,c;return(c=(b=Zk(a))==null?void 0:b.foundInVersion)!=
null?c:[]},MJa=function(a){var b,c;return(c=(b=Zk(a))==null?void 0:b.targetedToVersion)!=null?c:[]},NJa=function(a){var b,c;return(c=(b=Zk(a))==null?void 0:b.changelist)!=null?c:[]},OJa=function(a){var b,c;return(c=(b=Zk(a))==null?void 0:b.postmortems)!=null?c:[]},PJa=function(a){var b;return((b=Zk(a))==null?void 0:b.inProd)||!1},QJa=function(a){var b;return(b=Zk(a))==null?void 0:b.effort},RJa=function(a){var b,c;return(c=(b=Zk(a))==null?void 0:b.plannedAllocations)!=null?c:void 0},SJa=function(a){var b;
return a==null?void 0:(b=a.aggregatedData)==null?void 0:b.voteCount},TJa=function(a){var b;return(a==null?void 0:(b=a.userData)==null?void 0:b.voted)||!1},VJa=function(a){return UJa(a)},UJa=function(a){var b,c;return(c=(b=Zk(a))==null?void 0:b.isDeleted)!=null?c:!1},XJa=function(a){return WJa(a)},WJa=function(a){var b;return a==null?void 0:(b=a.accessLimit)==null?void 0:b.accessLevel},YJa=function(a){return(a=a==null?void 0:a.aggregatedData)&&Math.round(a.modifiedTimeMicros/1E3)},$Ja=function(a){return ZJa(a)},
ZJa=function(a){var b,c;return(c=(b=Zk(a))==null?void 0:b.retention)!=null?c:void 0},aKa=function(a){var b,c;return(c=(b=Zk(a))==null?void 0:b.duplicateOfIssueId)!=null?c:void 0},cKa=function(a){return bKa(a)},bKa=function(a){var b,c;return(c=a==null?void 0:(b=a.aggregatedData)==null?void 0:b.retentionState)!=null?c:void 0},dKa=function(a){var b;return ij(a==null?void 0:(b=a.aggregatedData)==null?void 0:b.sloId)},eKa=function(a){var b;return a==null?void 0:(b=a.aggregatedData)==null?void 0:b.createdTimeMicros},
fKa=function(a){return a==null?void 0:a.effortSpec},gKa=function(a){a=fKa(a);return!(!a||!a.name&&!a.inherit)},hKa=function(a){return a==null?void 0:a.componentPathInfo},iKa=function(a){if(!a)return{};var b,c=k((b=a.match(RegExp("comment([0-9]+)")))!=null?b:[]);c.next();b=c.next().value;var d;a=k((d=a.match(RegExp("comment[0-9]+version([0-9]+)")))!=null?d:[]);a.next();d=a.next().value;return{commentNumber:hj(b),commentVersion:hj(d)}},jKa=function(a){switch(a){case "ALL":case "ALL_UPDATES":return"All Updates";
case "IMPORTANT":case "MAJOR_UPDATES":return"Major Updates";case "CLOSURE_ONLY":return"Closure Only";case "MINIMAL":return"Minimal";case "NONE":return"None";default:return a}},kKa=function(a){return a?Ji(a.replace(/_/g," ").toLowerCase()):""},lKa=function(a){return a?a.join(", "):""},mKa=function(a,b){if(!a)return ti("");if(!b)return ti(a);b=b.split(" ").map(fra);b=b.filter(function(h){return!!h});b=b.map(cq);if(b.length===0)return ti(a);b=new RegExp("(\\W|^)("+b.join("|")+")(\\w*)","i");for(var c=
[];a;){var d=b.exec(a);if(!d){c.push(a);break}var e=d.index+d[1].length,f=d[2];d=d[3];c.push(a.substring(0,e));c.push(vi("b",{},f));c.push(d);a=a.substring(e+f.length+d.length)}return ui(c)},nKa=function(a){return a?"Yes":"No"},oKa=function(a){return a?a.pathNames?a.pathNames.join(" > "):"":""},pKa=function(a){if(a>=1073741824){a/=1073741824;var b="GB"}else a>=1048576?(a/=1048576,b="MB"):a>=1024?(a/=1024,b="KB"):b="B";a=a<10?Math.round(a*10)/10:Math.round(a);return a+" "+b},qKa=function(a){if(!a)return null;
var b=new Uk;b.setTime(a.seconds*1E3);return b},rKa=function(a){if(a&&Pk(a))return a},dq=function(a){return a==null?"":String(a)},sKa=function(a){var b;return(b=a==null?void 0:a.filter(function(c){return!!c.trim()}).join(", "))!=null?b:""},uKa=function(a,b){if(tKa[a])return tKa[a][b]},vKa=function(a){return a.customFieldValue?String(a.customFieldValue.customFieldId):a.fieldName},yKa=function(a){if(a&1){var b=x();vg(0,1);I(1,"onedev-hovercard-action",3);S(2,"async");M("onAction",function(){z(b);var e=
P();return A(wKa(e))});I(3,"span");Q(4);J()();I(5,"onedev-hovercard-action",3);S(6,"async");M("onAction",function(){z(b);var e=P();return A(xKa(e))});I(7,"span");Q(8);J()();wg()}if(a&2){var c,d;a=P();C();F("disabled",(c=U(2,4,a.actionService.assigneeUpdating$))!==null&&c!==void 0?c:!1);C(3);Tg(a.email!==a.currentAssignee?"Set as assignee":"Remove assignee");C();F("disabled",(d=U(6,6,a.actionService.ccUpdating$))!==null&&d!==void 0?d:!1);C(3);Tg(a.currentCc.includes(a.email)?"Remove from CCs":"Add to CCs")}},
zKa=function(a){a&1&&K(0,"b-availability-chip",2);a&2&&(a=P(2),F("user",a.email))},AKa=function(a){a&1&&(vg(0),Q(1),wg(),D(2,zKa,1,1,"b-availability-chip",2));if(a&2){a=P();var b=P();C();Tg(a.content);C();G(b.enableWaldoAvailability&&b.availabilityChipEnabled?2:-1)}},BKa=function(a){a&1&&xg(0)},CKa=function(a){a&1&&(I(0,"span",3),D(1,BKa,1,0,"ng-container",4),J(),I(2,"onedev-hovercard",null,1),K(4,"b-issue-person-card",5),J());if(a&2){a=L(3);var b=P(),c=L(1),d=P();F("onedevHovercardTrigger",a);eg("tabindex",
d.hovercardEnabled&&d.hovercardFocusEnabled?"0":null);C();F("ngTemplateOutlet",c);C(3);F("email",b.email)}},DKa=function(a){a&1&&xg(0)},EKa=function(a){a&1&&D(0,DKa,1,0,"ng-container",4);a&2&&(P(),a=L(1),F("ngTemplateOutlet",a))},FKa=function(a,b){a&1&&D(0,AKa,3,2,"ng-template",null,0,fh)(2,CKa,5,4)(3,EKa,1,1,"ng-container");a&2&&(a=P(),C(2),G(a.hovercardEnabled&&a.isNonObfuscatedEmail(b.email)?2:3))},GKa=function(a){a&1&&K(0,"b-user-display-name",0);a&2&&(a=P(),F("email",a.getEmailAddress())("hovercardEnabled",
!1)("availabilityChipEnabled",a.availabilityChipEnabled)("hovercardFocusEnabled",a.hovercardFocusEnabled))},HKa=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),C(),Tg(a.getDisplayString()))},IKa=function(a){a&1&&xg(0)},JKa=function(a){a&1&&(I(0,"span",2),D(1,IKa,1,0,"ng-container",3),J(),I(2,"onedev-hovercard",null,1),K(4,"b-issue-person-card",4),J());if(a&2){a=L(3);var b=P(),c=L(3);F("onedevHovercardTrigger",a);C();F("ngTemplateOutlet",c);C(3);F("email",b.email)}},KKa=function(a){a&1&&xg(0)},
LKa=function(a){a&1&&D(0,KKa,1,0,"ng-container",3);a&2&&(P(),a=L(3),F("ngTemplateOutlet",a))},NKa=function(a){a&1&&K(0,"img",5);a&2&&(a=P(2),P(),F("src",MKa[a.email],of))},OKa=function(a){a&1&&K(0,"img",8);a&2&&(a=P(3),F("src",a.src,of)("srcset",a.srcset))},PKa=function(a){a&1&&(I(0,"span",7),S(1,"async"),D(2,OKa,1,2,"img",8),J());if(a&2){a=P(2);var b=P();ng("team-member",U(1,5,b.isTeamMember$))("anonymous",!a.showImage);C(2);G(a.showImage?2:-1)}},RKa=function(a){a&1&&D(0,NKa,1,1,"img",5)(1,PKa,3,
7,"span",6);if(a&2){a=P();var b=P();G(a.email&&QKa(b,a.email)?0:-1);C();G(QKa(b,a.email)?-1:1)}},SKa=function(a,b){a&1&&D(0,JKa,5,3)(1,LKa,1,1,"ng-container")(2,RKa,2,2,"ng-template",null,0,fh);a&2&&(a=P(),G(a.isNonObfuscatedEmail(b.email)?0:1))},TKa=function(a){a&1&&K(0,"b-user-image",3);a&2&&(a=P(),F("email",a.email))},UKa=function(a){a&1&&xg(0)},VKa=function(a){a&1&&(I(0,"span",5),D(1,UKa,1,0,"ng-container",6),J(),I(2,"onedev-hovercard",null,1),K(4,"b-issue-person-card",7),J());if(a&2){a=L(3);
var b=P(),c=L(5);F("onedevHovercardTrigger",a);C();F("ngTemplateOutlet",c);C(3);F("email",b.email)}},WKa=function(a){a&1&&xg(0)},XKa=function(a){a&1&&D(0,WKa,1,0,"ng-container",6);a&2&&(P(),a=L(5),F("ngTemplateOutlet",a))},YKa=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),C(),a.ldapOnly?(a=a.email,a=a.trim(),a=a.endsWith("@google.com")?a.split("@google.com")[0]:a.endsWith("@prod.google.com")?a.split("@prod.google.com")[0]:a):a=a.email,Tg(a))},ZKa=function(a){a&1&&(I(0,"span",4),K(1,"b-availability-chip",
8),J());a&2&&(a=P(),C(),F("user",a.email))},$Ka=function(a){a&1&&K(0,"b-icon",6)},aLa=function(a){a&1&&K(0,"b-user-image",7);a&2&&(a=P(2),F("email",a.email))},bLa=function(a){a&1&&(D(0,$Ka,1,0,"b-icon",6),S(1,"async"),D(2,aLa,1,1,"b-user-image",7));a&2&&(a=P(),G(a.enableGroupIcon&&U(1,1,a.isGroup$)?0:2))},cLa=function(a){a&1&&K(0,"b-user-display-name",3);a&2&&(a=P(),F("email",a.email)("hovercardFocusEnabled",!0)("availabilityChipEnabled",!1))},dLa=function(a){a&1&&xg(0)},eLa=function(a){a&1&&(I(0,
"span",8),D(1,dLa,1,0,"ng-container",9),J(),I(2,"onedev-hovercard",null,1),K(4,"b-issue-person-card",10),J());if(a&2){a=L(3);P();var b=L(3),c=P();F("onedevHovercardTrigger",a);C();F("ngTemplateOutlet",b);C(3);F("email",c.email)}},fLa=function(a){a&1&&xg(0)},gLa=function(a){a&1&&D(0,fLa,1,0,"ng-container",9);a&2&&(P(),a=L(3),F("ngTemplateOutlet",a))},hLa=function(a){a&1&&(I(0,"span",11),Q(1),J());a&2&&(a=P(2),C(),Tg(a.email))},iLa=function(a){a&1&&D(0,eLa,5,3)(1,gLa,1,1,"ng-container")(2,hLa,2,1,"ng-template",
null,0,fh);a&2&&(a=P(),G(a.isNonObfuscatedEmail(a.email)?0:1))},jLa=function(a){a&1&&(K(0,"mat-icon",4),S(1,"async"),S(2,"async"));if(a&2){var b,c;a=P();F("svgIcon",(b=U(1,2,a.iconName$))!==null&&b!==void 0?b:"")("matTooltip",(c=U(2,4,a.iconToolTip$))!==null&&c!==void 0?c:"")}},kLa=function(a){a&1&&K(0,"b-availability-chip",5);a&2&&(a=P(),F("user",a.email))},lLa=function(a){if(a&1){var b=x();I(0,"mat-form-field",3)(1,"input",8);M("focus",function(c){z(b);var d=P();return A(d.showPicker(c.target))});
J()()}a&2&&(a=P(),C(),F("formControl",a.timeFormControl))},pLa=function(a){if(a&1){var b=x();I(0,"button",11);M("click",function(){z(b);var c=P(2);mLa(c,new Di);nLa(c,c.date);c.calendar._getCurrentViewComponent()._focusActiveCell(!1);c.includeTimePicker&&(c.dateTime=new Uk,oLa(c,new Uk));c.saveChanges();return A(c.saveClicked.emit())});Q(1,"Today");J()}},qLa=function(a){if(a&1){var b=x();I(0,"button",12);M("click",function(){z(b);var c=P(2);mLa(c);c.includeTimePicker&&(c.dateTime=void 0);c.saveChanges();
return A(c.saveClicked.emit())});Q(1,"None");J()}},rLa=function(a){a&1&&(I(0,"div",1),D(1,pLa,2,0,"button",9)(2,qLa,2,0,"button",10),K(3,"mat-divider"),J());a&2&&(a=P(),C(),G(a.todayButtonEnabled?1:-1),C(),G(a.noneButtonEnabled&&!a.required?2:-1))},sLa=function(a){a&1&&(K(0,"div"),S(1,"lowercase"));a&2&&(a=P(3),qg("bv2-edit-icon ",U(1,3,a.type),""))},tLa=function(a){a&1&&(I(0,"div")(1,"label"),Q(2),J(),D(3,sLa,2,5,"div",13),J());a&2&&(a=P(2),qg("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),
C(2),R(" ",a.title," "),C(),G(a.readonly||a.disabled?-1:3))},uLa=function(a){a&1&&xg(0)},vLa=function(a){if(a&1){var b=x();I(0,"div",17);M("menuClosed",function(){z(b);var d=P(3);return A(eq(d,null,!1,!0))});D(1,uLa,1,0,"ng-container",18);J()}if(a&2){P(2);a=L(7);P();var c=L(7);F("matMenuTriggerFor",c);C();F("ngTemplateOutlet",a)}},xLa=function(a,b){a&1&&(I(0,"a",19),Q(1),J());a&2&&(a=P(4),hg("aria-label","customfield",a.customFieldId,":",b,""),F("queryParams",bh(5,wLa,"customfield"+a.customFieldId+
':"'+b+'"')),C(),R(" ",b," "))},yLa=function(a){a&1&&Q(0," -- ")},zLa=function(a){if(a&1){var b=x();I(0,"div",16);D(1,xLa,2,7,"a",19)(2,yLa,1,0);K(3,"br");I(4,"button",20);M("menuClosed",function(){z(b);var e=P(3);return A(eq(e,null,!1,!0))});Q(5," Edit ");J()()}if(a&2){var c;a=P(3);var d=L(7);C();G((c=a.getDisplayValue(""))?1:2,c);C(3);gg("aria-label","Edit item for ",a.title,"");F("matMenuTriggerFor",d)}},ALa=function(a){a&1&&D(0,vLa,2,2,"div",15)(1,zLa,6,4,"div",16);a&2&&(a=P(2),G(a.choices.length>
50&&a.customFieldId!==0?1:0))},BLa=function(a){a&1&&xg(0)},CLa=function(a){a&1&&(I(0,"div",14),D(1,BLa,1,0,"ng-container",18),J());a&2&&(P(),a=L(7),C(),F("ngTemplateOutlet",a))},DLa=function(a){a&1&&K(0,"b-user-membership-chip",25);a&2&&(a=P(5),F("user",a.user)("email",a.value)("teamId",a.teamId)("enableSmallChip",!0))},ELa=function(a){a&1&&K(0,"b-user-image",26);a&2&&(a=P(5),F("email",a.value))},FLa=function(a){a&1&&(I(0,"span",27)(1,"b-person-hovercard",28),Q(2),J()());a&2&&(a=P(5),C(),F("email",
a.value),C(),R(" ",a.getDisplayValue("--")," "))},GLa=function(a){a&1&&(I(0,"div",24),D(1,DLa,1,4,"b-user-membership-chip",25)(2,ELa,1,1,"b-user-image",26)(3,FLa,3,2,"span",27),J());a&2&&(a=P(4),C(),G(a.enableTeamAnnotations&&a.value?1:-1),C(),G(!a.enableTeamAnnotations&&a.value?2:-1),C(),G(a.enableTeamAnnotations?-1:3))},HLa=function(a){a&1&&(I(0,"div"),D(1,GLa,4,3,"div",24),J());a&2&&(a=P(3),C(),G(a.isUser?1:-1))},ILa=function(a){a&1&&K(0,"b-truncated-span",29);a&2&&(a=P(4),F("maxWidth",150)("modelValue",
a.getDisplayValue("--"))("disabled",!a.truncate))},JLa=function(a){a&1&&K(0,"b-truncated-span",30);a&2&&(a=P(4),F("ngClass",a.getPriority(a.value))("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},KLa=function(a){a&1&&K(0,"b-truncated-span",29);a&2&&(a=P(4),qg("chippy status-",a.value,""),F("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},LLa=function(a){a&1&&K(0,"b-truncated-span",32);a&2&&(a=P(4),F("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",
!a.truncate))},MLa=function(a){a&1&&K(0,"div",33)},OLa=function(a){a&1&&(I(0,"div"),D(1,ILa,1,3,"b-truncated-span",29)(2,JLa,1,4,"b-truncated-span",30)(3,KLa,1,6,"b-truncated-span",31)(4,LLa,1,3,"b-truncated-span",32)(5,MLa,1,0,"div",33),J());a&2&&(a=P(3),C(),G(ah(5,NLa).includes(a.title)?-1:1),C(),G(a.title==="Priority"?2:-1),C(),G(a.title==="Status"?3:-1),C(),G(a.title==="Triage phase"?4:-1),C(),G(a.title||a.readonly||a.disabled?-1:5))},PLa=function(a){a&1&&(I(0,"div",22),K(1,"mat-icon",34),J())},
QLa=function(a){a&1&&(I(0,"div",23),K(1,"mat-icon",35),J())},SLa=function(a){if(a&1){var b=x();I(0,"div",21,4);M("keydown",function(c){z(b);var d=P(2);return A(RLa(d,c))})("click",function(c){z(b);var d=P(2);return A(eq(d,c,!0,!1))});D(2,HLa,2,1,"div")(3,OLa,6,6,"div")(4,PLa,2,0,"div",22)(5,QLa,2,0,"div",23);J()}a&2&&(a=P(2),ng("edit-field-user-container",a.isUser)("edit-field-activated",a.isActive),C(2),G(a.isUser?2:-1),C(),G(a.isUser?-1:3),C(),G(a.type!="ENUM"?4:-1),C(),G(a.type=="ENUM"?5:-1))},
TLa=function(a){if(a&1){var b=x();I(0,"div",12,2);M("click",function(c){z(b);var d=P();return A(eq(d,c,!0,!1))})("keydown",function(c){z(b);var d=P();return A(RLa(d,c))})("keydown.escape",function(){z(b);var c=L(2);return A(c.hide())});D(3,tLa,4,5,"div",13)(4,ALa,2,1)(5,CLa,2,1,"div",14)(6,SLa,6,8,"ng-template",null,3,fh);J()}a&2&&(a=P(),qg("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,""),ng("bv2-disabled",a.disabled)("bv2-readonly",a.readonly),hg("aria-label","",a.title," value is ",
a.getDisplayValue("empty"),""),F("matTooltip",a.getTooltip()),eg("aria-disabled",!1),C(3),G(a.title?3:-1),C(),G(a.type==="ENUM"?4:-1),C(),G(a.type!=="ENUM"?5:-1))},ULa=function(a){if(a&1){var b=x();I(0,"div",38);M("click",function(){z(b);var c=P(2);return A(c.setFieldValue(!c.value))});I(1,"label");Q(2);J()()}a&2&&(a=P(2),qg("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),C(2),Tg(a.title))},WLa=function(a){if(a&1){var b=x();I(0,"div",36);D(1,ULa,3,4,"div",13);I(2,"b-slide-toggle",
37);M("modelChange",function(){z(b);var d=P();return A(d.setFieldValue(!d.value))});J()()}if(a&2){var c;a=P();qg("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,"");F("ngClass",ch(10,VLa,a.disabled,a.readonly))("matTooltip",a.getTooltip());eg("aria-disabled",!1);C();G(a.title?1:-1);C();F("disabled",a.disabled||a.readonly)("aria-label",a.name)("model",(c=a.value)!==null&&c!==void 0?c:void 0)}},XLa=function(a){a&1&&K(0,"b-availability-chip",39);a&2&&(a=P(2),F("user",a.value))},YLa=
function(a){a&1&&D(0,XLa,1,1,"b-availability-chip",39);a&2&&(a=P(),G(a.value&&a.enableWaldoAvailability?0:-1))},ZLa=function(a){if(a&1){var b=x();I(0,"button",42);M("click",function(){z(b);var c=P(2);return A(c.clearFieldValue())});I(1,"span",43);K(2,"mat-icon",44);J();Q(3," \u00a0 ");J()}a&2&&(a=P(2),ng("b-menu-item-checked",a.value==null),F("disabled",a.value==null))},$La=function(a){a&1&&(I(0,"span",47),Q(1),J());a&2&&(a=P().$implicit,C(),Tg(a.hotkey.displayAs))},aMa=function(a,b){if(a&1){var c=
x();I(0,"button",45);M("click",function(){var d=z(c).$implicit,e=P(2);return A(e.setFieldValue(d.value))})("onHotkey",function(){var d=z(c).$implicit,e=P(2);e.setFieldValue(d.value);return A(e.enumMenuTrigger.closeMenu())});I(1,"span",46)(2,"span",43);K(3,"mat-icon",44);J();Q(4);D(5,$La,2,1,"span",47);J()()}a&2&&(a=b.$implicit,b=P(2),ng("b-menu-item-checked",b.value==a.value),F("disabled",b.value==a.value)("matTooltip",a.altText||"")("hotkey",a.hotkey),eg("aria-label",a.displayText)("title",!b.showEnumTitle||
a.altText?"":a.displayText),C(4),R(" ",a.displayText," "),C(),G(a.hotkey&&b.showHotkeyHint?5:-1))},bMa=function(a){a&1&&(D(0,ZLa,4,3,"button",40),tg(1,aMa,6,9,"button",41,sg));a&2&&(a=P(),G(a.clearable?0:-1),C(),ug(a.choices))},cMa=function(){},dMa=function(){},eMa=function(a){if(a&1){var b=x();I(0,"div",38);M("click",function(d){z(b);return A(d.stopPropagation())});I(1,"b-date-time-picker-content",50);M("dateSelectionChange",function(d){z(b);var e=P(2);return A(e.googDateValue=d!==null&&d!==void 0?
d:null)})("saveClicked",function(){z(b);var d=P(2);return A(d.setFieldValue(d.googDateValue))})("cancelClicked",function(){z(b);var d=P(2);return A(eq(d,null,!1,!1))});J()()}if(a&2){var c;a=P(2);C();F("required",!(a.clearable&&a.type==="DATE"))("date",(c=a.googDateValue)!==null&&c!==void 0?c:void 0)}},gMa=function(a){if(a&1){var b=x();I(0,"textarea",59);Xg("ngModelChange",function(c){z(b);var d=P(4);Wg(d.textBuffer,c)||(d.textBuffer=c);return A(c)});M("keydown",function(c){z(b);var d=P(4);return A(fMa(d,
c))});J()}a&2&&(a=P(4),Vg("ngModel",a.textBuffer),eg("aria-label",a.title))},iMa=function(a){if(a&1){var b=x();I(0,"input",60);Xg("ngModelChange",function(c){z(b);var d=P(4);Wg(d.textBuffer,c)||(d.textBuffer=c);return A(c)});M("keydown",function(c){z(b);var d=P(4);return A(hMa(d,c))});J()}a&2&&(a=P(4),Vg("ngModel",a.textBuffer),eg("type",a.type==="NUMERIC"?"number":"text")("aria-label",a.title))},jMa=function(a){a&1&&(I(0,"div"),D(1,gMa,1,2,"textarea",57)(2,iMa,1,3,"input",58),J());a&2&&(a=P(3),C(),
G(a.multiline?1:-1),C(),G(a.multiline?-1:2))},kMa=function(a){if(a&1){var b=x();I(0,"textarea",63);Xg("ngModelChange",function(c){z(b);var d=P(4);Wg(d.textBuffer,c)||(d.textBuffer=c);return A(c)});M("keydown",function(c){z(b);var d=P(4);return A(fMa(d,c))})("autocompleteActive",function(c){z(b);var d=P(4);return A(d.autocompleteActive=c)});J()}a&2&&(a=P(4),Vg("ngModel",a.textBuffer),F("bContactAutocomplete","MULTI"),eg("aria-label",a.title))},lMa=function(a){if(a&1){var b=x();I(0,"input",64);Xg("ngModelChange",
function(c){z(b);var d=P(4);Wg(d.textBuffer,c)||(d.textBuffer=c);return A(c)});M("keydown",function(c){z(b);var d=P(4);return A(hMa(d,c))})("autocompleteActive",function(c){z(b);var d=P(4);return A(d.autocompleteActive=c)});J()}a&2&&(a=P(4),Vg("ngModel",a.textBuffer),F("bContactAutocomplete","SINGLE"),eg("type",a.type==="NUMERIC"?"number":"text")("aria-label",a.title))},mMa=function(a){a&1&&(I(0,"div"),D(1,kMa,1,3,"textarea",61)(2,lMa,1,4,"input",62),J());a&2&&(a=P(3),C(),G(a.multiline?1:-1),C(),
G(a.multiline?-1:2))},oMa=function(a){if(a&1){var b=x();I(0,"div",51);M("click",function(c){z(b);return A(c.stopPropagation())});D(1,jMa,3,2,"div")(2,mMa,3,2,"div");I(3,"div",52)(4,"button",53);M("click",function(){z(b);var c=P(2);return A(nMa(c))});K(5,"mat-icon",54);J();I(6,"button",55);M("click",function(c){z(b);var d=P(2);return A(eq(d,c,!1,!0))});K(7,"mat-icon",56);J()();I(8,"div",22);K(9,"mat-icon",34);J()()}a&2&&(a=P(2),C(),G(a.isUser?-1:1),C(),G(a.isUser?2:-1),C(2),gg("aria-label","Apply change to ",
a.title,""),Fg("matTooltip","Apply change to ",a.title,""),F("disabled",a.value==a.textBuffer),C(2),gg("aria-label","Discard change to ",a.title,""),Fg("matTooltip","Discard change to ",a.title,""))},pMa=function(a){a&1&&(I(0,"div",48,5),D(2,cMa,0,0)(3,dMa,0,0)(4,eMa,2,2,"div")(5,oMa,10,11,"div",49),J());if(a&2){var b;a=P();qg("bv2-issue-metadata-field-edit bv2-issue-metadata-field-",a.name,"-edit");C(2);G((b=a.type)==="ENUM"?2:b==="BOOL"?3:b==="DATE"?4:5)}},qMa=function(a){switch(a==null?void 0:
a.type){case "ENUM":return"ENUM";case "DATE":return"DATE";case "TEXT":return"TEXT";case "NUMERIC":return"NUMERIC";default:return null}},fq=function(a,b,c){c=c===void 0?2:c;var d=Math.floor((new Date).getTime()/1E3-a);if(d<300)return"just now";if(!(d<0)){for(var e=[],f=k(rMa),h=f.next();!h.done;h=f.next()){var l=k(h.value);h=l.next().value;l=l.next().value;if(e.length>=c)break;var q=Math.floor(d/l);if(q>=1)b?e.push(""+q+sMa[h]):q===1?e.push(q+" "+h):e.push(q+" "+h+"s");else if(e.length)break;d-=q*
l;if(q>1)break}if(e.length)return e.join(" ")+" ago";console.error("epochToDateAgo() unhandled input. Seconds:",a)}},tMa=function(a,b){a&1&&(I(0,"time",1),S(1,"async"),Q(2),J());if(a&2){a=P();var c=fg(x(),"padding-left: ",a.paddingLeftPx,"px");jla(hla,ila,c,!1);F("title",b.title);eg("datetime",U(1,6,a.timestampIso$));C(2);Tg(b.formatted)}},uMa=function(a,b){a&1&&(I(0,"span",4),Q(1," by "),K(2,"b-user-display-name",7),J());a&2&&(C(2),F("email",b)("hovercardEnabled",!1))},vMa=function(a,b){a&1&&(I(0,
"div")(1,"span"),Q(2),J(),K(3,"b-formatted-date-time",8),J());a&2&&(a=P(),C(2),Tg(a.pending?"Created on: ":"Submitted on: "),C(),F("timestamp",b))},wMa=function(a,b){a&1&&(K(0,"br"),Q(1));a&2&&(a=b.$implicit,C(),R("",a," "))},xMa=function(a,b){a&1&&(I(0,"div",2)(1,"a",3),Q(2," CL "),I(3,"span"),Q(4),J()(),D(5,uMa,3,2,"span",4),K(6,"br")(7,"br"),D(8,vMa,4,2,"div"),I(9,"div",5),K(10,"div",6)(11,"br"),I(12,"div"),Q(13," Affected files: "),tg(14,wMa,2,1,null,null,sg),J()()());if(a&2){var c,d;a=P();C();
F("href","http://critique.corp.google.com/"+a.changelistId,of);C(3);Tg(a.changelistId);C();G((c=b.author)?5:-1,c);C(3);G((d=b.timestamp)?8:-1,d);C(2);F("innerHTML",b.description,nf);C(4);ug(b.affectedFiles)}},yMa=function(a){a&1&&K(0,"b-changelist-card",5,1);if(a&2){a=L(1);var b=P();F("onedevIsHovercardReady",a.init)("changelistId",b.changelistId)}},zMa=function(a){a&1&&K(0,"b-changelist-chip",0);a&2&&(a=P(),F("changelistId",a.changelist))},AMa=function(a){a&1&&K(0,"b-gerrit-change-chip",1);a&2&&
(a=P(),F("gerritChange",a.gerritChange))},BMa=function(a){a&1&&K(0,"b-changelist-card",4,1);if(a&2){a=L(1);var b=P();F("onedevIsHovercardReady",a.init)("changelistId",b.id)}},CMa=function(a){a&1&&Eg(0,4)},DMa=function(a){a&1&&(I(0,"div",11),K(1,"input",12),I(2,"div",13),Wd(),I(3,"svg",14),K(4,"path",15),J(),Pd.currentNamespace=null,K(5,"div",16),J()());a&2&&(a=P(),ng("mdc-checkbox--disabled",a.disabled),C(),F("checked",a.selected)("disabled",a.disabled))},EMa=function(a){a&1&&(I(0,"div",17),K(1,"input",
18),I(2,"div",19),K(3,"div",20)(4,"div",21),J()());a&2&&(a=P(),ng("mdc-radio--disabled",a.disabled),C(),F("checked",a.selected)("disabled",a.disabled))},FMa=function(){},GMa=function(a){a&1&&(I(0,"span",4),D(1,FMa,0,0,"ng-template",6),J());a&2&&(P(),a=L(3),C(),F("ngTemplateOutlet",a))},HMa=function(){},IMa=function(a){a&1&&(I(0,"span",5),D(1,HMa,0,0,"ng-template",6),J());a&2&&(P(),a=L(5),C(),F("ngTemplateOutlet",a))},JMa=function(){},KMa=function(a){a&1&&D(0,JMa,0,0,"ng-template",6);a&2&&(P(),a=L(1),
F("ngTemplateOutlet",a))},LMa=function(){},MMa=function(a){a&1&&(I(0,"span",9),D(1,LMa,0,0,"ng-template",6),J());a&2&&(P(),a=L(3),C(),F("ngTemplateOutlet",a))},NMa=function(){},OMa=function(a){a&1&&(I(0,"span",9),D(1,NMa,0,0,"ng-template",6),J());a&2&&(P(),a=L(5),C(),F("ngTemplateOutlet",a))},PMa=function(){},QMa=function(a){a&1&&D(0,PMa,0,0,"ng-template",6);a&2&&(P(),a=L(1),F("ngTemplateOutlet",a))},RMa=function(a,b){a&1&&(I(0,"mat-list-option",11),Q(1),J());a&2&&(a=b.$implicit,b=P(),mg("height",
"auto"),F("selected",b.selectedValues.has(a))("value",a),C(),R(" ",a," "))},SMa=function(a){var b,c=(b=a==null?void 0:a.added.length)!=null?b:0,d;b=(d=a==null?void 0:a.removed.length)!=null?d:0;return a?c>0&&b===0?["Add ("+c+")","Add "+c+" value(s)"]:c===0&&b>0?["Remove ("+b+")","Remove "+b+" value(s)"]:["Save","Save all changes ("+c+" added, "+b+" removed)"]:["Save","(No changes)"]},TMa=function(a,b){if(a&1){var c=x();I(0,"div",1,0);M("@panelAnimation.done",function(d){z(c);var e=P();return A(e._animationDone.next(d))});
Eg(2);J()}a&2&&(a=b.id,b=P(),og(b._classList),ng("mat-mdc-autocomplete-visible",b.showPanel)("mat-mdc-autocomplete-hidden",!b.showPanel)("mat-primary",b._color==="primary")("mat-accent",b._color==="accent")("mat-warn",b._color==="warn"),F("id",b.id)("@panelAnimation",b.isOpen?"visible":"hidden"),eg("aria-label",b.ariaLabel||null)("aria-labelledby",b._getPanelAriaLabelledby(a)))},UMa=function(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}},
VMa=function(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}},WMa=function(a){if(a&1){var b=x();I(0,"mat-checkbox",8);M("click",function(d){z(b);return A(d.stopPropagation())})("change",function(){z(b);var d=P().$implicit,e=P();return A(e.toggleSelection(d))});Q(1);J()}if(a&2){a=P().$implicit;var c=P();F("checked",c.selectedValuesMap[a]);C();R(" ",a," ")}},XMa=function(a){a&1&&(I(0,"div",7),Q(1),J());a&2&&(a=P().$implicit,C(),R(" ",a," "))},YMa=function(a,b){a&1&&
(I(0,"mat-option",4),D(1,WMa,2,2,"mat-checkbox",6)(2,XMa,2,1,"div",7),J());a&2&&(a=b.$implicit,b=P(),F("value",a),C(),G(b.allowMultiSelect?1:2))},$Ma=function(a){if(a&1){var b=x();I(0,"div",5)(1,"button",9);M("click",function(){z(b);var c=P();return A(ZMa(c))})("keydown.enter",function(){z(b);var c=P();return A(ZMa(c))});K(2,"mat-icon",10);J();I(3,"button",11);M("click",function(){z(b);var c=P();return A(c.cancel())})("keydown.esc",function(){z(b);var c=P();return A(ZMa(c))});K(4,"mat-icon",12);J()()}a&
2&&(a=P(),C(),gg("aria-label","Apply changes to ",a.customFieldTitle,""),F("disabled",!a.hasPendingChanges),C(2),gg("aria-label","Discard changes to ",a.customFieldTitle,""))},aNa=function(a){if(a&1){var b=x();I(0,"a",16);M("click",function(){z(b);var c=P();return A(c.trackClick("viewTeamAssociationOnComponent"))});I(1,"button",11);Q(2,"View team association on component");J()()}a&2&&(a=P(),F("href",a.ROUTES.editComponent.makeHref(a.componentId),of))},bNa=function(a){if(a&1){var b=x();I(0,"a",4);
M("click",function(){z(b);var d=P(2);return A(d.trackClick("viewTeamInMoma"))});I(1,"span");Q(2);K(3,"mat-icon",5);J()()}if(a&2){a=P(2);var c=L(4);Fg("href","https://moma.corp.google.com/team/",a.teamId,"",of);F("onedevHovercardTrigger",c);eg("aria-labelledby",a.linkAriaLabelledBy())("aria-label",(a.teamName?a.teamName:a.teamId)+" - link opens in a new tab");C();eg("id",a.teamLinkId);C();R("",a.teamName?a.teamName:a.teamId," ")}},cNa=function(a){a&1&&(I(0,"span",3),Q(1),J());if(a&2){a=P(2);var b=
L(4);F("onedevHovercardTrigger",b);C();Tg(a.teamName?a.teamName:a.teamId)}},dNa=function(a){a&1&&D(0,bNa,4,7,"a",2)(1,cNa,2,2,"span",3);a&2&&(a=P(),G(a.anchorLinkEnabled?0:-1),C(),G(a.anchorLinkEnabled?-1:1))},eNa=function(a){a&1&&K(0,"span",6)},fNa=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(2),C(),Tg(a.teamNotAssignedMessage))},gNa=function(a){a&1&&D(0,eNa,1,0,"span",6)(1,fNa,2,1,"span");a&2&&(a=P(),G(a.teamId!="0"?0:-1),C(),G(a.teamId=="0"?1:-1))},hNa=function(a){a&1&&K(0,"b-icon",2);a&2&&
(a=P(),F("name",a.iconName))},iNa=function(a){a&1&&(I(0,"span",3),Q(1),J());a&2&&(a=P(),C(),Tg(a.title))},jNa=function(a){a&1&&(I(0,"div",4),Q(1,"\u00a0"),J())},kNa=function(){return bka(function(){return ue(Promise.resolve(void 0))})},lNa=function(a){a&1&&K(0,"a",1)},pNa=function(a){var b=a.cloneNode(!0),c=b.querySelectorAll("[id]"),d=a.nodeName.toLowerCase();b.removeAttribute("id");for(var e=0;e<c.length;e++)c[e].removeAttribute("id");d==="canvas"?mNa(a,b):(d==="input"||d==="select"||d==="textarea")&&
nNa(a,b);oNa("canvas",a,b,mNa);oNa("input, textarea, select",a,b,nNa);return b},oNa=function(a,b,c,d){b=b.querySelectorAll(a);if(b.length)for(a=c.querySelectorAll(a),c=0;c<b.length;c++)d(b[c],a[c])},nNa=function(a,b){b.type!=="file"&&(b.value=a.value);b.type==="radio"&&b.name&&(b.name="mat-clone-"+b.name+"-"+qNa++)},mNa=function(a,b){if(b=b.getContext("2d"))try{b.drawImage(a,0,0)}catch(c){}},rNa=function(a){a=a.getBoundingClientRect();return{top:a.top,right:a.right,bottom:a.bottom,left:a.left,width:a.width,
height:a.height,x:a.x,y:a.y}},sNa=function(a,b,c){var d=a.bottom,e=a.left,f=a.right;return c>=a.top&&c<=d&&b>=e&&b<=f},gq=function(a,b,c){a.top+=b;a.bottom=a.top+a.height;a.left+=c;a.right=a.left+a.width},tNa=function(a,b,c){var d=a.right,e=a.bottom,f=a.left,h=a.width*.05,l=a.height*.05;return c>a.top-l&&c<e+l&&b>f-h&&b<d+h},uNa=function(a,b){a=a.rootNodes;if(a.length===1&&a[0].nodeType===b.ELEMENT_NODE)return a[0];var c=b.createElement("div");a.forEach(function(d){return c.appendChild(d)});return c},
vNa=function(a,b,c){for(var d in b)if(b.hasOwnProperty(d)){var e=b[d];if(e){var f=void 0;a.setProperty(d,e,((f=c)==null?0:f.has(d))?"important":"")}else a.removeProperty(d)}},hq=function(a,b){var c=b?"":"none";vNa(a.style,{"touch-action":b?"":"none","-webkit-user-drag":b?"":"none","-webkit-tap-highlight-color":b?"":"transparent","user-select":c,"-ms-user-select":c,"-webkit-user-select":c,"-moz-user-select":c})},xNa=function(a,b){vNa(a.style,{position:b?"":"fixed",top:b?"":"0",opacity:b?"":"0",left:b?
"":"-999em"},wNa)},yNa=function(a,b){return b&&b!="none"?a+" "+b:a},ANa=function(a,b){a.style.width=b.width+"px";a.style.height=b.height+"px";a.style.transform=zNa(b.left,b.top)},zNa=function(a,b){return"translate3d("+Math.round(a)+"px, "+Math.round(b)+"px, 0)"},BNa=function(a){var b=a.toLowerCase().indexOf("ms")>-1?1:1E3;return parseFloat(a)*b},DNa=function(a){a=getComputedStyle(a);var b=CNa(a,"transition-property"),c=b.find(function(d){return d==="transform"||d==="all"});if(!c)return 0;b=b.indexOf(c);
c=CNa(a,"transition-duration");a=CNa(a,"transition-delay");return BNa(c[b])+BNa(a[b])},CNa=function(a,b){return a.getPropertyValue(b).split(",").map(function(c){return c.trim()})},iq=function(a){return a.type[0]==="t"},ENa=function(a){a.preventDefault()},jq=function(a,b,c){b=Math.max(0,Math.min(a.length-1,b));c=Math.max(0,Math.min(a.length-1,c));if(b!==c){for(var d=a[b],e=c<b?-1:1;b!==c;b+=e)a[b]=a[b+e];a[c]=d}},FNa=function(a,b){var c=a.top,d=a.bottom;a=a.height*.05;return b>=c-a&&b<=c+a?1:b>=d-
a&&b<=d+a?2:0},GNa=function(a,b){var c=a.left,d=a.right;a=a.width*.05;return b>=c-a&&b<=c+a?1:b>=d-a&&b<=d+a?2:0},HNa=function(a){a&1&&(I(0,"label"),Q(1),J());a&2&&(a=P(),C(),R(" ",a.title," "))},INa=function(a){a&1&&K(0,"mat-icon",15)},KNa=function(a,b){a&1&&(I(0,"div",20),xg(1,22),J());if(a&2){a=b.$implicit;b=b.$index;P(2);var c=L(14);C();F("ngTemplateOutletContext",ch(2,JNa,a,b))("ngTemplateOutlet",c)}},MNa=function(a){a&1&&(I(0,"collapsible-panel",17),tg(1,KNa,2,5,"div",20,rg),xg(3,21),J());if(a&
2){a=P();var b=L(16),c=F("isExpanded",a.isExpanded||a.enableNewCustomRepeatedEnumUi&&kq(a))("iconName",a.iconName)("hasCompactTitleBar",!0);var d=a.enableNewCustomRepeatedEnumUi&&kq(a)?(d=a.values)?d.length===1?"1 value":d.length+" values":"":a.collapsiblePanelTitle;c("title",d);C();ug(LNa(a));C(2);F("ngTemplateOutlet",b)}},NNa=function(a,b){a&1&&(I(0,"div",20),xg(1,22),J());if(a&2){a=b.$implicit;b=b.$index;P(2);var c=L(14);C();F("ngTemplateOutletContext",ch(2,JNa,a,b))("ngTemplateOutlet",c)}},ONa=
function(a){a&1&&(I(0,"div",23),Q(1,"--"),J())},PNa=function(a){a&1&&(tg(0,NNa,2,5,"div",20,rg),xg(2,21),D(3,ONa,2,0,"div",23));if(a&2){a=P();var b=L(16);ug(LNa(a));C(2);F("ngTemplateOutlet",b);C();G((a.values==null?0:a.values.length)?-1:3)}},SNa=function(a){if(a&1){var b=x();I(0,"button",29);M("menuOpened",function(){z(b);var d=P(3);QNa(d);d.enumPendingValues=new Set(d.values||[]);return A()})("menuClosed",function(){z(b);var d=P(3);return A(RNa(d))});Q(1,"Edit ");J()}if(a&2){a=P(3);var c=L(18);
F("matMenuTriggerFor",c);eg("aria-label","Add item to "+a.title)}},TNa=function(a){a&1&&(I(0,"button",27,7),Q(2,"Edit "),J());if(a&2){a=P(3);var b=L(25);F("xapInlineDialogClick",b)("overlayPositions",a.OVERLAY_POSITION_LIST);eg("aria-label","Edit items for "+a.title)}},VNa=function(a){if(a&1){var b=x();I(0,"button",30,7);M("click",function(){z(b);var c=P(3);return A(UNa(c))});Q(2,"Edit ");J()}a&2&&(a=P(3),eg("aria-label","Edit items for "+a.title))},WNa=function(a){a&1&&D(0,SNa,2,2,"button",26)(1,
TNa,3,3,"button",27)(2,VNa,3,1,"button",28);a&2&&(a=P(2),G(kq(a)?-1:0),C(),G(kq(a)&&!a.enableNewCustomRepeatedEnumUi?1:-1),C(),G(a.enableNewCustomRepeatedEnumUi&&kq(a)?2:-1))},XNa=function(a){a&1&&(I(0,"button",24),Q(1,"Add "),J());if(a&2){a=P(2);var b=L(23);gg("aria-label","Add item to ",a.title,"");F("xapInlineDialogClick",b)("overlayPositions",a.OVERLAY_POSITION_LIST)}},YNa=function(a){if(a&1){var b=x();I(0,"button",31);M("beforeOpened",function(){z(b);var d=P(2);return A(d.invalidMessage="")});
Q(1,"Add ");J()}if(a&2){a=P(2);var c=L(21);gg("aria-label","Add item to ",a.title,"");Fg("dialogLabel","Add item to ",a.title,"");Fg("matTooltip","Add item to ",a.title,"");F("xapInlineDialogClick",c)("overlayPositions",a.OVERLAY_POSITION_LIST)}},ZNa=function(a){a&1&&D(0,WNa,3,3)(1,XNa,2,4,"button",24)(2,YNa,2,8,"button",25);if(a&2){var b;a=P();G((b=a.type)==="REPEATED_ENUM"?0:b==="REPEATED_DATE"?1:2)}},$Na=function(a){a&1&&(I(0,"div"),K(1,"b-code-change-chip",38),J());a&2&&(a=P(2).item,C(),F("codeChange",
a))},aOa=function(a){a&1&&(I(0,"div")(1,"a",39),Q(2),J()());if(a&2){a=P(2).item;var b=P();C();switch(b.environmentType){case "NIGHTLY":case "PROD":b="https://taskflow.corp.google.com/workspaces";break;default:b="https://taskflow-autopush.corp.google.com/workspaces"}F("href",b+"/"+a.workspaceId+"/work_item/b/"+a.issueId+"?edit=b/"+a.issueId,of);eg("aria-label","Workspace"+a.workspaceId);C();R(" ",a.workspaceName," ")}},bOa=function(a){a&1&&(I(0,"div"),K(1,"b-team-display",40),J());a&2&&(a=P(2).item,
C(),F("teamId",a.teamId)("componentId",a.componentId))},cOa=function(a){if(a&1){var b=x();I(0,"div")(1,"a",41);M("click",function(){z(b);var c=P(3);return A(c.trackClick("postmortem"))});Q(2);J()()}a&2&&(a=P(2).item,C(),gg("aria-label","Postmortem ",a,""),Fg("href","https://pm.corp.google.com/",a,"",of),C(),R(" ",a," "))},eOa=function(a){if(a&1){var b=x();I(0,"div",34)(1,"a",42);M("click",function(){z(b);var d=P(3);return A(d.trackClick("repeated-enum"))});Q(2);J()()}if(a&2){a=P(2).item;var c=P();
F("matTooltip",a);C();hg("aria-label","Search issues for customfield",c.customFieldId,":",a,"");F("queryParams",bh(6,dOa,"customfield"+c.customFieldId+':"'+a+'"'));C();R(" ",a," ")}},fOa=function(a){a&1&&(I(0,"div"),K(1,"b-truncated-span",44),J());if(a&2){a=P(3).item;var b=P();C();F("maxWidth",150)("modelValue",a)("disabled",!b.truncate)}},gOa=function(a){a&1&&K(0,"b-user-membership-chip",45);if(a&2){a=P(4).item;var b=P();F("user",b.getUser(a))("email",a)("teamId",b.teamId)("enableSmallChip",!0)("enableGroupIcon",
!0)}},hOa=function(a){a&1&&K(0,"b-icon",47)},iOa=function(a){a&1&&(D(0,hOa,1,0,"b-icon",47),S(1,"async"),I(2,"b-person-hovercard",46),Q(3),J());if(a&2){var b;a=P(4).item;var c=P();G(((b=U(1,3,c.groups$))==null?0:b.has(a))?0:-1);C(2);F("email",a);C();R(" ",a," ")}},jOa=function(a){a&1&&(I(0,"div",43),D(1,gOa,1,5,"b-user-membership-chip",45)(2,iOa,4,5,"b-person-hovercard",46),J());a&2&&(a=P(4),C(),G(a.enableTeamAnnotations?1:2))},kOa=function(a){a&1&&D(0,fOa,2,3,"div")(1,jOa,3,1,"div",43);a&2&&(a=P(3),
G(a.isUser?1:0))},mOa=function(a){if(a&1){var b=x();I(0,"button",48);S(1,"async");M("click",function(){z(b);var c=P(3);return A(c.toggleAccessLimits.emit())});K(2,"b-icon",49);S(3,"async");J()}a&2&&(a=P(3),F("disabled",!U(1,2,a.hasAclToAdmin$)),C(2),F("ngClass",bh(6,lOa,!U(3,4,a.hasAclToAdmin$))))},nOa=function(a){if(a&1){var b=x();I(0,"button",50,8);M("click",function(){z(b);var d=P(2).$index,e=P();return A(e.removeItem(d))});J()}if(a&2){a=P(2).item;var c=P();hg("aria-label","Remove ",a," from ",
c.title,"");F("disabled",c.listFieldDisabled)("matTooltip","Remove item")}},oOa=function(a){a&1&&(I(0,"div",32)(1,"div",33),D(2,$Na,2,1,"div")(3,aOa,3,3,"div")(4,bOa,2,2,"div")(5,cOa,3,5,"div")(6,eOa,3,8,"div",34)(7,kOa,2,1),J(),D(8,mOa,4,8,"button",35),S(9,"async"),D(10,nOa,2,5,"button",36),K(11,"div",37),J());if(a&2){var b;a=P().item;var c=P();C(2);G(c.type==="CODE_CHANGES"?2:c.type==="WORKSPACES"?3:c.type==="TEAM"?4:c.type==="POSTMORTEMS"?5:c.type==="REPEATED_ENUM"&&kq(c)?6:c.isString(a)?7:-1);
C(6);G(c.type==="USERCHIP"&&c.checkAccessLimits&&c.toggleAccessLimits.observed&&((b=U(9,2,c.groups$))==null?0:b.has(a))?8:(c.readonly?0:c.type==="REPEATED_ENUM"?kq(c)&&!c.enableNewCustomRepeatedEnumUi:1)?10:-1)}},pOa=function(a,b){a&1&&D(0,oOa,12,4,"div",32);if(a&2){a=b.item;b=b.$index;var c=P();G((c.showingAll||b<c.defaultLineCount||c.values&&c.values.length===c.defaultLineCount+1)&&(c.type!=="CODE_CHANGES"||c.showCodeChanges(a))?0:-1)}},qOa=function(a){if(a&1){var b=x();I(0,"div",52,9);M("click",
function(c){z(b);var d=P(2);return A(lq(d,!1,c))})("keydown.enter",function(c){z(b);var d=P(2);return A(lq(d,!1,c))})("keydown.space",function(c){z(b);var d=P(2);return A(lq(d,!1,c))});Q(2," (show fewer) ");J()}a&2&&(a=P(2),hg("aria-label","Show at most ",a.defaultLineCount," ",a.title," items"),Fg("matTooltip","Show a truncated list of at most ",a.defaultLineCount," items"))},rOa=function(a){if(a&1){var b=x();I(0,"div")(1,"div",53);Q(2);I(3,"span",54,10);M("click",function(c){z(b);var d=P(2);return A(lq(d,
!0,c))})("keydown.enter",function(c){z(b);var d=P(2);return A(lq(d,!0,c))})("keydown.space",function(c){z(b);var d=P(2);return A(lq(d,!0,c))});Q(5," (show all) ");J()()()}a&2&&(a=P(2),C(2),R(" ... and ",a.values.length-a.defaultLineCount," more "),C(),hg("aria-label","Show all ",a.values==null?null:a.values.length," ",a.title," items"),Fg("matTooltip","Show all ",a.values==null?null:a.values.length," items in the list"))},tOa=function(a){a&1&&D(0,qOa,3,5,"div",51)(1,rOa,6,6,"div");a&2&&(a=P(),G(a.showingAll&&
sOa(a)?0:-1),C(),G(!a.showingAll&&sOa(a)?1:-1))},vOa=function(a,b){if(a&1){var c=x();I(0,"button",56);M("click",function(d){var e=z(c).$implicit,f=P(2),h=e.value;f.enumPendingValues.has(h)?f.enumPendingValues.delete(h):f.enumPendingValues.add(h);f.liveAnnouncer.announce(uOa(f,e));d==null||d.stopPropagation();return A()});I(1,"span",57);K(2,"mat-icon",58);J();Q(3);J()}a&2&&(a=b.$implicit,b=P(2),ng("b-menu-item-checked",b.enumPendingValues.has(a.value)),F("disabled",b.listFieldDisabled),eg("aria-label",
uOa(b,a)),C(3),R(" ",a.displayText," "))},wOa=function(a){a&1&&tg(0,vOa,4,5,"button",55,rg);a&2&&(a=P(),ug(a.sortedEnumChoices))},xOa=function(a){a&1&&K(0,"input",60);a&2&&(a=P(2),gg("aria-label","Addition to ",a.title,""),F("bContactAutocomplete","MULTI"))},yOa=function(a){a&1&&K(0,"input",61);a&2&&(a=P(2),gg("aria-label","Addition to ",a.title,""),F("type",a.type==="REPEATED_NUMERIC"?"number":"text"))},zOa=function(a){a&1&&(I(0,"mat-error"),Q(1),J());a&2&&(a=P(2),hg("aria-label","",a.title," error: ",
a.invalidMessage,""),C(),R(" ",a.invalidMessage," "))},AOa=function(a){if(a&1){var b=x();I(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"form",59,11);M("ngSubmit",function(){z(b);var d=L(3),e=L(4),f=P();return A(f.textPopupSubmit(d,e))});D(5,xOa,1,3,"input",60)(6,yOa,1,3,"input",61);I(7,"div",62)(8,"button",63);K(9,"mat-icon",64);J();I(10,"button",65);M("click",function(){z(b);var d=P();return A(d.closeAddPopup(!0))});K(11,"mat-icon",66);J()();D(12,zOa,2,4,"mat-error");J()()()}if(a&2){a=
L(3);var c=P();C(5);G(c.isUser?5:6);C(3);gg("aria-label","Apply addition to ",c.title,"");F("disabled",!a.valid||c.listFieldDisabled);C(2);gg("aria-label","Discard addition to ",c.title,"");C(2);G(c.invalidMessage?12:-1)}},BOa=function(a){if(a&1){var b=x();I(0,"b-date-time-picker-content",67);M("dateChange",function(c){z(b);var d=P();return A(c&&d.addItems(c))})("cancelClicked",function(){z(b);var c=P();return A(c.closeAddPopup(!1))});J()}a&2&&F("required",!0)("renderPanel",!1)},EOa=function(a){if(a&
1){var b=x();I(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-custom-repeated-enum-picker",68);M("onApplyChanges",function(c){z(b);var d=P();return A(COa(d,c))})("onCancelChanges",function(){z(b);var c=P();return A(c.closeAddPopup(!0))});J()()()}a&2&&(a=P(),C(2),F("allowMultiSelect",!0)("customFieldTitle",a.title)("allowedValues",DOa(a))("selectedValues",a.values))},mq=function(a,b){return{originX:a,originY:b}},nq=function(a,b){return{overlayX:a,overlayY:b}},FOa=function(a){switch(a==
null?void 0:a.type){case "REPEATED_TEXT":return"REPEATED_TEXT";case "REPEATED_DATE":return"REPEATED_DATE";case "REPEATED_ENUM":return"REPEATED_ENUM";case "REPEATED_NUMERIC":return"REPEATED_NUMERIC";default:return null}},GOa=function(a){a&1&&xg(0)},HOa=function(a){if(a&1){var b=x();I(0,"div",3);M("mouseenter",function(){z(b);var c=P();return A(c.toggle(!0))})("mouseleave",function(){z(b);var c=P();return A(c.toggle(!1))})("mousemove",function(){z(b);P().activity.next();return A()});D(1,GOa,1,0,"ng-container",
4);J()}a&2&&(a=P(),F("ngClass",a.bubbleStyle)("@fade",void 0),C(),F("ngTemplateOutlet",a.panelTemplate))},IOa=function(a){a&1&&(I(0,"span",3),Q(1),J());a&2&&(a=P(2),ng("xs",a.compactMode),F("ngClass",a.chipClass),C(),R(" ",a.chipText," "))},JOa=function(a){a&1&&(I(0,"div",5),Q(1),I(2,"a",6),Q(3," Learn more"),J()());a&2&&(a=P(3),C(),R(" ",a.bubbleText," "),C(),F("href",oq(a.documentationLinks),of))},KOa=function(a){a&1&&(I(0,"xap-bubble",2)(1,"span",4),Q(2),J(),D(3,JOa,4,2,"ng-template",null,0,fh),
J());if(a&2){a=L(4);var b=P(2);F("panelTemplate",a);C();ng("xs",b.compactMode);F("ngClass",b.chipClass);C();R(" ",b.chipText," ")}},LOa=function(a){a&1&&D(0,IOa,2,4,"span",1)(1,KOa,5,5,"xap-bubble",2);a&2&&(a=P(),G(a.labelOnlyMode?0:1))},MOa=function(a){a&1&&(I(0,"li")(1,"a",3),Q(2," Create an issue in this component"),J()());a&2&&(a=P(2),C(),F("href",a.createIssueUrl,of))},NOa=function(a,b){a&1&&(I(0,"h3"),Q(1),J(),I(2,"p"),Q(3),J(),K(4,"b-component-access-level-indicator",2),I(5,"p"),Q(6),J(),I(7,
"ul")(8,"li")(9,"a",3),Q(10," View recent open issues"),J()(),D(11,MOa,3,1,"li"),I(12,"li")(13,"a",3),Q(14," View component"),J()()());a&2&&(a=P(),C(),Tg(b.name),C(2),R("ID: ",a.componentId,""),C(),F("accessLevel",b.accessLimit==null?null:b.accessLimit.accessLevel)("labelOnlyMode",!0),C(2),Tg(b.description),C(3),F("href",a.recentIssuesUrl,of),C(2),G(a.isAnonymous?-1:11),C(2),F("href",a.viewComponentUrl,of))},OOa=function(a,b){a&1&&(I(0,"span",4)(1,"a",6),Q(2),J(),I(3,"onedev-hovercard",null,0),K(5,
"b-component-card",7),J()());a&2&&(a=b.$implicit,b=L(4),C(),F("onedevHovercardTrigger",b)("routerLinkObj",a.route),C(),Tg(a.name),C(3),F("componentId",a.id.toString()))},POa=function(a){a&1&&(I(0,"span",5),Q(1,"[Archived]"),J())},pq=function(a,b){b=b===void 0?bq:b;var c,d=(c=a==null?void 0:a.componentPathId)!=null?c:[],e,f=(e=a==null?void 0:a.componentPathName)!=null?e:[];return d.map(function(h,l){var q;l=(q=f[l])!=null?q:String(h);q=b(h);return{id:h,name:l,route:q}})},QOa=function(a){a&1&&Q(0," > ")},
ROa=function(a,b){a&1&&(I(0,"a",4),Q(1),J(),D(2,QOa,1,0));if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;gg("aria-label","View recent issues in ",a.name,"");F("routerLinkObj",a.route);C();Tg(a.name);C();G(c!==b-1?2:-1)}},SOa=function(a){a&1&&(I(0,"span"),Q(1," [Archived]"),J())},TOa=function(a){a&1&&(I(0,"div",2),tg(1,ROa,3,5,null,null,sg),S(3,"async"),D(4,SOa,2,0,"span"),S(5,"async"),J());a&2&&(a=P(),C(),ug(U(3,1,a.componentPath$)),C(3),G(U(5,3,a.isArchived$)?4:-1))},UOa=function(a,b){a&1&&(I(0,
"div",5),K(1,"mat-icon",6),I(2,"div",7),Q(3),J()(),I(4,"div",8)(5,"span",7),Q(6),J(),K(7,"b-component-access-level-indicator",9),J(),I(8,"p",7),Q(9),J());a&2&&(C(3),Tg(b.name),C(3),R("Component ID: ",b.componentId,""),C(),F("accessLevel",b.accessLimit==null?null:b.accessLimit.accessLevel)("labelOnlyMode",!0),C(2),Tg(b.description))},VOa=function(a,b){a&1&&(I(0,"div",3)(1,"a",10),Q(2,"View recent open issues"),J(),I(3,"a",11),Q(4,"View component settings"),J(),I(5,"a",12),Q(6,"Create issue in this component"),
J()());a&2&&(C(),F("routerLinkObj",b.recentIssues),C(2),F("routerLinkObj",b.componentSettings),C(2),F("routerLinkObj",b.createIssue))},qq=function(a){var b=Object.keys(a);return Promise.all(Object.values(a)).then(function(c){return Object.fromEntries(b.map(function(d,e){return[d,c[e]]}))})},rq=function(a){a=a===void 0?0:a;return new Promise(function(b){setTimeout(b,a)})},WOa=function(a){a&1&&(I(0,"span",4),Q(1),J());a&2&&(a=P(2),C(),R(" ",a.name," "))},XOa=function(a){a&1&&Q(0," Trackers are distinct communities with their own branding. ")},
YOa=function(a){a&1&&(I(0,"a",9),Q(1,"Learn More"),J());a&2&&(a=P(2),F("href",a.documentationLinks.baseDocumentationUrl+"/concepts/trackers",of))},ZOa=function(a){a&1&&(I(0,"button",1),K(1,"img",2)(2,"img",3),D(3,WOa,2,1,"span",4),J(),I(4,"onedev-hovercard",null,0)(6,"div",5)(7,"div",6)(8,"span",7),Q(9),D(10,XOa,1,0),J(),I(11,"div",8)(12,"a",9),Q(13),J(),D(14,YOa,2,1,"a",9),J()()()());if(a&2){a=L(5);var b=P();ng("xs",b.compactMode);F("onedevHovercardTrigger",a)("onedevHovercardActive",b.showHovercard);
C();F("src",b.logoLight,of);C();F("src",b.logoDark,of);C();G(b.compactMode?-1:3);C(6);R(" This component or issue is part of ",b.extendedName,". ");C();G(b.isGlobalBuganizer?-1:10);C(2);F("href",b.redirectUrl,of);C();R("View ",b.extendedName,"");C();G(b.isGlobalBuganizer?-1:14)}},$Oa=function(a){a&1&&(K(0,"b-tracker-chip",0),S(1,"async"));a&2&&(a=P(),F("tracker",U(1,4,a.tracker$)||void 0)("compactMode",a.compactMode)("showHovercard",a.showHovercard)("isGlobalBuganizer",a.isGlobalBuganizer))},aPa=
function(a){a&1&&K(0,"mat-icon",1)},bPa=function(a){if(a&1){var b=x();I(0,"button",9);M("mousedown",function(c){z(b);var d=P();return A(d.back(c))});K(1,"mat-icon",10);J()}},cPa=function(a){if(a&1){var b=x();I(0,"button",11);M("mousedown",function(c){z(b);var d=P();return A(d.expand(d.componentOption,c))});K(1,"mat-icon",12);J()}a&2&&(a=P(),F("matTooltip","View child components of "+a.componentOption.name),eg("aria-label","View child components of "+a.componentOption.name),C(),F("svgIcon",a.showFolderSpecialIcon?
"folder_special_24px":"folder"))},ePa=function(a){if(a&1){var b=x();I(0,"a",14);S(1,"toString");S(2,"boldPrefixMatches");M("mousedown",function(d){z(b);var e=P().$implicit;P(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return A()});J()}if(a&2){a=P().$implicit;var c=P(2);F("innerHtml",eh(2,3,U(1,1,a.name),c.query),nf)}},hPa=function(a){a&1&&Q(0);a&2&&(a=P().$implicit,R(" ",a.name," "))},iPa=function(a){a&1&&Q(0," \u00a0>\u00a0 ")},jPa=function(a,b){a&1&&D(0,ePa,3,6,"a",13)(1,
hPa,1,1)(2,iPa,1,0);if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;G(a.name!=a.id?0:1);C(2);G(c!==b-1?2:-1)}},kPa=function(a){a&1&&tg(0,jPa,3,2,null,null,sg);a&2&&(a=P(),ug(a.componentOption.componentPath))},lPa=function(a,b){if(a&1){var c=x();I(0,"a",16);M("mousedown",function(d){var e=z(c);P(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return A()});Q(1);J()}a&2&&(C(),R(" ",b.name," "))},mPa=function(a){a&1&&D(0,lPa,2,1,"a",15);if(a&2){var b;a=P();G((b=a.componentOption.componentPath[a.componentOption.componentPath.length-
1])?0:-1,b)}},nPa=function(a){a&1&&(I(0,"span",6),Q(1," [Archived] "),J())},oPa=function(a){return{type:"team",id:a.teamId,name:a.name,description:a.description,pathNames:a.pathNames,pathIds:a.pathIds,expanded:!1}},pPa=function(a){return{type:"team",id:a.id,name:a.name,description:a.description,expanded:!1}},qPa=function(a,b){var c,d=(c=b==null?void 0:b.componentPathId)!=null?c:[],e,f=(e=b==null?void 0:b.componentPathName)!=null?e:[];b=d.map(function(h,l){return{id:h,name:f[l],pathText:f.slice(0,
l+1).join(" > ")}});return{type:"component",id:a.componentId,name:a.name,description:a.description,accessLimit:a.accessLimit,archived:a.archived,componentPath:b,trackerId:a.trackerId}},rPa=function(a){return new Map([].concat(w(a.entries())).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;return[b,c.map(pPa)]}))},sPa=function(a){a&1&&K(0,"img",1);a&2&&(a=P(),eg("src",a.getLogoUrl(),of))},tPa=function(a){a&1&&(I(0,"span",6),Q(1,"no components"),J())},uPa=function(a){a&1&&(I(0,"div",3),
K(1,"div",5),S(2,"boldPrefixMatches"),D(3,tPa,2,0,"span",6),J());a&2&&(a=P(),C(),F("innerHtml",eh(2,2,a.teamOption.name,a.query),nf),C(2),G(a.hasNoComponent?3:-1))},vPa=function(a){if(a&1){var b=x();I(0,"a",8);M("mousedown",function(c){z(b);var d=P(2).$index,e=P(2);d=e.teamOption.pathIds==null?null:e.teamOption.pathIds[d];c.preventDefault();c.stopPropagation();d&&e.selectTeamId.emit(d);return A()});Q(1);J()}a&2&&(a=P(2).$implicit,C(),Tg(a))},wPa=function(a){a&1&&Q(0);a&2&&(a=P(2).$implicit,R(" ",
a," "))},xPa=function(a){a&1&&(D(0,vPa,2,1,"a",7)(1,wPa,1,1),vg(2),Q(3," \u00b7 "),wg());a&2&&(a=P(3),G(a.allowSegmentSelection?0:1))},yPa=function(a){a&1&&(I(0,"strong",9),Q(1),J());a&2&&(a=P(2).$implicit,C(),Tg(a))},zPa=function(a){a&1&&Q(0);a&2&&(a=P(2).$implicit,R(" ",a," "))},APa=function(a){a&1&&D(0,yPa,2,1,"strong",9)(1,zPa,1,1);a&2&&(a=P(3),G(a.compact?0:1))},BPa=function(a,b){a&1&&D(0,xPa,4,1,"ng-container")(1,APa,2,1);a&2&&G(b.$index!==b.$count-1?0:1)},CPa=function(a){a&1&&(I(0,"div",4),
tg(1,BPa,2,1,null,null,sg),J());a&2&&(a=P(),C(),ug(a.teamOption.pathNames))},DPa=function(a){var b={attributeFilter:["aria-label","aria-valuenow"]};return new re(function(c){(new MutationObserver(function(d){var e=d[0].target,f;d=(f=e.getAttribute("aria-label"))!=null?f:"";var h;f=(h=e.getAttribute("aria-valuenow"))!=null?h:"indeterminate";c.next([d,f])})).observe(a,b)})},EPa=function(a){a&1&&K(0,"div",2)},FPa=function(){var a=r(ei),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+
b.search:""}}},GPa=function(a){if(a&1){var b=x();I(0,"button",9);M("mousedown",function(c){z(b);P().clearQuery();return A(sq(c))});K(1,"mat-icon",10);J()}},HPa=function(a){a&1&&(I(0,"div",11),Q(1," Checking for admin access... "),J())},IPa=function(a){a&1&&(I(0,"div",12),Q(1," You do not have admin access to this component. "),I(2,"a",13),Q(3,"View component admins"),J()());a&2&&(a=P(3),C(2),F("href",tq.editComponentAccess.makeHref(a.selectedComponent.componentId),of))},JPa=function(a){a&1&&D(0,IPa,
4,1,"div",12);a&2&&(a=P(2),G(!a.hasAccess&&a.selectedComponent?0:-1))},KPa=function(a){a&1&&(I(0,"div"),D(1,HPa,2,0,"div",11)(2,JPa,1,1),J());a&2&&(a=P(),C(),G(a.checkingAccess?1:2))},LPa=function(a){a&1&&K(0,"mat-progress-bar",16)},MPa=function(a){a&1&&Q(0," teams ")},NPa=function(a){a&1&&Q(0," team ")},PPa=function(a,b){if(a&1){var c=x();I(0,"div",22);M("mousedown",function(e){var f=z(c).$implicit,h=P(5);OPa(h.searchState,f);return A(sq(e))});I(1,"team-row",23);M("selectTeamId",function(e){z(c);
var f=P(5);return A(uq(f.searchState,e))});J()()}if(a&2){a=b.$implicit;b=P(5);var d=L(3);F("data",a);C();F("teamOption",a)("query",d.value)("hasNoComponent",b.searchState.hasNoComponent(a.id))}},QPa=function(a){a&1&&(I(0,"div",19)(1,"div",20),Q(2," Filter components by my teams "),I(3,"span"),Q(4),D(5,MPa,1,0)(6,NPa,1,0),J()(),tg(7,PPa,2,4,"div",21,sg),K(9,"mat-divider"),J());a&2&&(a=P(),C(4),R("",a.length," "),C(),G(a.length>1?5:6),C(2),ug(a))},RPa=function(a,b){a&1&&D(0,QPa,10,2,"div",19);a&2&&
G(b.length?0:-1)},SPa=function(a){a&1&&xg(0)},UPa=function(a){a&1&&(D(0,RPa,1,1),S(1,"async"),D(2,SPa,1,0,"ng-container",18));if(a&2){var b;a=P(2);var c=L(12);G((b=U(1,3,a.searchState.myTeams$))?0:-1,b);C(2);F("ngTemplateOutlet",c)("ngTemplateOutletContext",bh(5,TPa,a.searchState.recentComponents))}},VPa=function(a){a&1&&Q(0," teams ")},WPa=function(a){a&1&&Q(0," team ")},XPa=function(a){a&1&&xg(0)},$Pa=function(a,b){a&1&&D(0,XPa,1,0,"ng-container",18);if(a&2){a=b.$implicit;b=b.$index;P(5);var c=
L(10);F("ngTemplateOutlet",c)("ngTemplateOutletContext",ch(4,YPa,a,bh(2,ZPa,b)))}},aQa=function(a){if(a&1){var b=x();I(0,"button",25);M("mousedown",function(){z(b);var c=P(5);return A(c.searchState.showAllTeams$.next(!0))});K(1,"mat-icon",26);Q(2," Show all teams ");J()}},bQa=function(a,b){a&1&&(I(0,"div",19)(1,"div",20),Q(2," Filter components by teams "),I(3,"span"),Q(4),D(5,VPa,1,0)(6,WPa,1,0),J()(),tg(7,$Pa,1,7,"ng-container",null,sg),S(9,"async"),D(10,aQa,3,0,"button",24),S(11,"async"),K(12,
"mat-divider"),J());a&2&&(a=P(4),C(4),R("",b," "),C(),G(b>1?5:6),C(2),ug(U(9,3,a.searchState.filteredTeamOptions$)),C(3),G(U(11,5,a.searchState.hasHiddenTeams$)?10:-1))},cQa=function(a,b){a&1&&D(0,bQa,13,7,"div",19);if(a&2){var c;G((c=b.length)?0:-1,c)}},dQa=function(a){a&1&&xg(0)},fQa=function(a){a&1&&(D(0,cQa,1,1),S(1,"async"),D(2,dQa,1,0,"ng-container",18));if(a&2){var b;a=P(2);var c=L(12);G((b=U(1,3,a.searchState.teamOptions$))?0:-1,b);C(2);F("ngTemplateOutlet",c)("ngTemplateOutletContext",bh(5,
eQa,a.searchState.componentOptions))}},gQa=function(a){a&1&&xg(0)},iQa=function(a,b){a&1&&D(0,gQa,1,0,"ng-container",18);if(a&2){a=b.$implicit;b=b.$index;P(7);var c=L(10);F("ngTemplateOutlet",c)("ngTemplateOutletContext",ch(4,YPa,a,bh(2,hQa,b)))}},jQa=function(a){a&1&&(I(0,"div",32),tg(1,iQa,1,7,"ng-container",null,sg),J());a&2&&(a=P(2),C(),ug(a))},mQa=function(a){if(a&1){var b=x();D(0,jQa,3,0,"div",32);I(1,"button",25);M("mousedown",function(c){z(b);var d=P(5),e=d.searchState.teamScope$.value;e.expanded?
kQa(d.searchState,e):lQa(d.searchState,e);return A(sq(c))});K(2,"mat-icon",26);Q(3);J()}a&2&&(a=P(5),G(a.searchState.teamScope$.value.expanded?0:-1),C(2),ng("expanded",a.searchState.teamScope$.value.expanded),C(),R(" ",a.searchState.teamScope$.value.expanded?"Hide":"Show"," child teams "))},nQa=function(a,b){a&1&&D(0,mQa,4,4,"button",24);a&2&&G(b.length?0:-1)},qQa=function(a){if(a&1){var b=x();I(0,"div",27)(1,"div",20);Q(2," Filtering by team: ");J();I(3,"div",28)(4,"team-row",29);M("selectTeamId",
function(e){z(b);var f=P(3);return A(uq(f.searchState,e))});J();I(5,"button",30);M("mousedown",function(e){z(b);var f=P(3);oQa(f.searchState);return A(sq(e))});K(6,"mat-icon",31);J()();D(7,nQa,1,1);J()}if(a&2){var c;a=P(3);var d=L(3);C(3);F("data",a.searchState.teamScope$.value)("listOrder",ah(7,pQa));C();F("teamOption",a.searchState.teamScope$.value)("query",d.value)("compact",!0)("allowSegmentSelection",!0);C(3);G((c=a.searchState.getChildTeams(a.searchState.teamScope$.value.id))?7:-1,c)}},rQa=
function(a){a&1&&xg(0)},tQa=function(a){a&1&&D(0,qQa,8,8,"div",27)(1,rQa,1,0,"ng-container",18);if(a&2){a=P(2);var b=L(12);G(a.searchState.teamScope$.value?0:-1);C();F("ngTemplateOutlet",b)("ngTemplateOutletContext",ch(3,sQa,a.searchState.componentOptions,a.searchState.teamScope$.value))}},wQa=function(a){if(a&1){var b=x();I(0,"div",33)(1,"div",34);Q(2,"Component Tree Browser");J();I(3,"component-row",35);M("goBack",function(){z(b);var c=P(3);return A(uQa(c.searchState))})("selectComponentId",function(c){z(b);
var d=P(3);return A(vQa(d.searchState,c))});J()()}a&2&&(a=P(3),C(3),F("componentOption",a.searchState.componentScope))},xQa=function(a){a&1&&xg(0)},zQa=function(a){a&1&&D(0,wQa,4,1,"div",33)(1,xQa,1,0,"ng-container",18);if(a&2){a=P(2);var b=L(12);G(a.searchState.componentScope?0:-1);C();F("ngTemplateOutlet",b)("ngTemplateOutletContext",bh(3,yQa,a.searchState.componentOptions))}},AQa=function(a){if(a&1){var b=x();I(0,"div",14,5);M("mousedown",function(d){z(b);P();return A(sq(d))});I(2,"div",15);D(3,
LPa,1,0,"mat-progress-bar",16);J();I(4,"div",17);D(5,UPa,3,7,"ng-container");S(6,"async");D(7,fQa,3,7,"ng-container")(8,tQa,2,6,"ng-container")(9,zQa,2,5,"ng-container");J()()}if(a&2){var c;a=P();C(3);G(a.isLoading()?3:-1);C(2);G((c=U(6,2,a.searchState.state$))==="default"?5:c==="global"?7:c==="team_scope"?8:c==="component_scope"?9:-1)}},BQa=function(a){if(a&1){var b=x();I(0,"button",39);M("mousedown",function(c){z(b);var d=P().team,e=P();d.expanded?kQa(e.searchState,d):lQa(e.searchState,d);return A(sq(c))});
K(1,"mat-icon",40);J()}a&2&&(a=P().team,C(),ng("expanded",a.expanded))},CQa=function(a){a&1&&xg(0)},EQa=function(a,b){a&1&&D(0,CQa,1,0,"ng-container",18);if(a&2){a=b.$implicit;b=b.$index;var c=P(2),d=c.level;c=c.order;P();var e=L(10);F("ngTemplateOutlet",e)("ngTemplateOutletContext",dh(2,DQa,a,d+1,c.concat(b)))}},FQa=function(a){a&1&&tg(0,EQa,1,6,"ng-container",null,sg);if(a&2){a=P().team;var b=P();ug(b.searchState.getChildTeams(a.id))}},GQa=function(a,b){if(a&1){var c=x();I(0,"div",36);M("mousedown",
function(h){var l=z(c).team,q=P();OPa(q.searchState,l);return A(sq(h))});I(1,"div",37);D(2,BQa,2,2,"button",38);I(3,"team-row",23);M("selectTeamId",function(h){z(c);var l=P();return A(uq(l.searchState,h))});J()()();D(4,FQa,2,0)}if(a&2){a=b.team;var d=b.level;b=b.order;var e=P(),f=L(3);F("listOrder",b)("data",a);C();mg("margin-left",d*28,"px");C();G(e.searchState.getChildTeams(a.id).length?2:-1);C();ng("indent",!e.searchState.getChildTeams(a.id).length);F("teamOption",a)("query",f.value)("hasNoComponent",
e.searchState.hasNoComponent(a.id));C();G(a.expanded?4:-1)}},HQa=function(a){a&1&&Q(0," components ")},IQa=function(a){a&1&&Q(0," component ")},KQa=function(a,b){if(a&1){var c=x();I(0,"div",43);M("mousedown",function(f){var h=z(c).$implicit,l=P(3);JQa(l.searchState,h.id);return A(sq(f))});I(1,"component-row",44);M("selectComponentId",function(f){z(c);var h=P(3);return A(JQa(h.searchState,f))})("expandComponent",function(f){z(c);var h=P(3);return A(h.searchState.expandComponent(f))});J()()}if(a&2){a=
b.$implicit;b=P(2).mode;var d=P(),e=L(3);F("data",a);C();F("showFolderSpecialIcon",vq(d.activeSession))("componentOption",a)("query",e.value)("mode",b)}},LQa=function(a,b){a&1&&(I(0,"div",41)(1,"div",20),Q(2),I(3,"span"),Q(4),D(5,HQa,1,0)(6,IQa,1,0),J()(),tg(7,KQa,2,5,"div",42,sg),J());if(a&2){var c=P();a=c.$implicit;c=c.mode;C(2);R(" ",c==="recent"?"Select recent component":"Select component"," ");C(2);R("",b," ");C();G(b>1?5:6);C(2);ug(a)}},MQa=function(a){a&1&&Q(0," No recent components ")},NQa=
function(a){a&1&&Q(0," No child components ")},OQa=function(a){a&1&&(Q(0),K(1,"mat-icon",46),Q(2," above ("),I(3,"a",47),Q(4,"learn more "),K(5,"mat-icon",48),J(),Q(6," about team associations) "));a&2&&(a=P(4).teamScope,R(" for ",a.name,". Remove the team filter by clicking on the "))},PQa=function(a){a&1&&(Q(0," No components found "),D(1,OQa,7,1));a&2&&(a=P(3).teamScope,C(),G(a?1:-1))},QQa=function(a){a&1&&(I(0,"div",45),D(1,MQa,1,0)(2,NQa,1,0)(3,PQa,2,1),J());a&2&&(a=P(2).mode,C(),G(a==="recent"?
1:a==="leaf"?2:3))},RQa=function(a){a&1&&D(0,QQa,4,1,"div",45);a&2&&(a=P(2),G(a.componentLoading||a.searchState.componentsLoading?-1:0))},SQa=function(a,b){a&1&&D(0,LQa,9,3,"div",41)(1,RQa,1,1);if(a&2){var c;G((c=b.$implicit.length)?0:1,c)}},TQa=function(a,b){b=k([a.listOrder,b.listOrder]);a=b.next().value;b=b.next().value;for(var c=0;c<Math.min(a.length,b.length);c++)if(a[c]!==b[c])return a[c]-b[c];return a.length-b.length},UQa=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P().$implicit,C(),Tg(a.text))},
VQa=function(a){a&1&&(I(0,"span"),K(1,"b-component-access-level-indicator",0),J());a&2&&(a=P().$implicit,C(),F("accessLevel",a.accessLevel))},WQa=function(a,b){a&1&&(I(0,"span"),D(1,UQa,2,1,"span")(2,VQa,2,1,"span"),J());a&2&&(a=b.$implicit,P(),C(),G(a.text!==void 0?1:2))},YQa=function(a,b){var c=XQa.get(b);if(!c)return null;a=a.toLowerCase().indexOf(c);return a>=0?{accessLevel:b,startOfMatch:a,endOfMatch:a+c.length}:null},ZQa=function(){return{color:"accent",disabledInteractive:!1}},$Qa=function(a){if(a&
1){var b=x();I(0,"div");K(1,"br");I(2,"mat-radio-group",7);Xg("ngModelChange",function(c){z(b);var d=P(2);Wg(d.setLimitViewTrusted,c)||(d.setLimitViewTrusted=c);return A(c)});I(3,"mat-radio-button",8);Q(4,"Mark this issue as Limited Visibility + Google. Information will only be shared with Googlers and listed public users.");J();I(5,"mat-radio-button",9);Q(6,"Leave issue unrestricted. All information in this issue is suitable for external sharing.");J()()()}a&2&&(a=P(2),C(2),Vg("ngModel",a.setLimitViewTrusted),
C(),F("value",!0),C(2),F("value",!1))},aRa=function(a){if(a&1){var b=x();I(0,"div");K(1,"br");I(2,"mat-checkbox",10);Xg("ngModelChange",function(c){z(b);var d=P(2);Wg(d.acknowledged,c)||(d.acknowledged=c);return A(c)});J();I(3,"span");Q(4,"All information in this issue is suitable for external sharing.");J()()}a&2&&(a=P(2),C(2),Vg("ngModel",a.acknowledged))},bRa=function(a){a&1&&(I(0,"div"),D(1,$Qa,7,3,"div")(2,aRa,5,1,"div"),J());a&2&&(a=P(),C(),G(a.isLimitNoneIssueTrackerMove?1:2))},cRa=function(a){if(a&
1){var b=x();I(0,"button",11);M("click",function(){z(b);var c=P();return A(c.allow())});Q(1," Move Issue ");J()}a&2&&(a=P(),F("disabled",!a.acknowledged))},wq=function(a,b){return dRa(tq.viewIssue.routeDeclarationPath,{id:a,params:b})},hRa=function(a,b,c,d,e){c=eRa(c);d=fRa(d);return gRa("action/issues/csv","q",a,"trackerIds",b,"s",c,"c",d,"h",e)},eRa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},fRa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):
null},dRa=function(a,b){b=b===void 0?{}:b;return b.id==null?"":xq(a,b)},xq=function(a,b){var c=b=b===void 0?{}:b;b=c.id;var d=c.params,e=c.tab;c=c.token;var f=a;b!=null&&(f=a.replace(c?c:/:\w+/,b.toString()));d&&(f=iRa(f,d));e&&(f=f+"#"+e);return f},jRa=function(a){return Hva(a.getIt().getMentionsList(Xi)).map(function(b){return b.mentionedUser}).map(Ui).map(function(b){return b||""})},kRa=function(a){a=a.getIt();return a.hasFormattedComment()?Bva(a.getFormattedComment()):{}},lRa=function(a){switch(a.formattingMode){case "LITERAL":return Fe({literalFormat:{content:ti(a.comment)}});
case "MARKDOWN":return a={markdownFormat:{content:ti("")}},Fe(a);case void 0:case "PLAIN":case "UNSPECIFIED_FORMATTING_MODE":return a={plainFormat:{plainSection:[{isQuoted:!1,content:ti(a.comment)}]}},Fe(a);default:return xb(a.formattingMode,"Unknown formatting mode: "+a.formattingMode)}},mRa=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P().$implicit,C(),R("(",a.disabledReason,")"))},nRa=function(a,b){a&1&&(I(0,"mat-radio-button",4),Q(1),D(2,mRa,2,1,"span"),J());a&2&&(a=b.$implicit,F("value",a)("disabled",
!a.enabled),C(),R(" ",a.displayText," "),C(),G(a.enabled?-1:2))},oRa=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P().$implicit,C(),R("(",a.disabledReason,")"))},pRa=function(a,b){a&1&&(I(0,"mat-radio-button",4),Q(1),D(2,oRa,2,1,"span"),J());a&2&&(a=b.$implicit,F("value",a)("disabled",!a.enabled),C(),R(" ",a.displayText," "),C(),G(a.enabled?-1:2))},qRa=function(a){return a?"https://goto.corp.google.com/buganizer-delete":"https://issuetracker.google.com/issues/new?component=169992&template=543202"},
rRa=function(a){return"share-email-confirmation-"+a},sRa=function(a){a&1&&(Wd(),I(0,"svg",11),K(1,"circle",12),J());a&2&&(a=P(),eg("viewBox",a._viewBox()),C(),mg("stroke-dasharray",a._strokeCircumference(),"px")("stroke-dashoffset",a._strokeCircumference()/2,"px")("stroke-width",a._circleStrokeWidth(),"%"),eg("r",a._circleRadius()))},tRa=function(){return{diameter:100}},uRa=function(a){a&1&&K(0,"mat-spinner",0);a&2&&(a=P(),F("diameter",a.SIZE_LARGE),eg("aria-label",a.ariaLabel))},vRa=function(a){a&
1&&K(0,"mat-spinner",1);a&2&&(a=P(),F("diameter",a.SIZE_SMALL)("strokeWidth",a.DIAMETER_SMALL),eg("aria-label",a.ariaLabel))},wRa=function(){},xRa=function(a){a&1&&Eg(0)},yRa=function(){},zRa=function(a){a&1&&D(0,yRa,0,0,"ng-template",12);a&2&&(a=P().$implicit,F("cdkPortalOutlet",a.templateLabel))},ARa=function(a){a&1&&Q(0);a&2&&(a=P().$implicit,Tg(a.textLabel))},BRa=function(a,b){if(a&1){var c=x();I(0,"div",7,2);M("click",function(){var f=z(c),h=f.$implicit;f=f.$index;var l=P(),q=L(1);return A(l._handleClick(h,
q,f))})("cdkFocusChange",function(f){var h=z(c).$index,l=P();return A(l._tabFocusChanged(f,h))});K(2,"span",8)(3,"div",9);I(4,"span",10)(5,"span",11);D(6,zRa,1,1,null,12)(7,ARa,1,1);J()()()}if(a&2){a=b.$implicit;b=b.$index;var d=L(1),e=P();og(a.labelClass);ng("mdc-tab--active",e.selectedIndex===b);F("id",e._getTabLabelId(b))("disabled",a.disabled)("fitInkBarToContent",e.fitInkBarToContent);eg("tabIndex",e._getTabIndex(b))("aria-posinset",b+1)("aria-setsize",e._tabs.length)("aria-controls",e._getTabContentId(b))("aria-selected",
e.selectedIndex===b)("aria-label",a.ariaLabel||null)("aria-labelledby",!a.ariaLabel&&a.ariaLabelledby?a.ariaLabelledby:null);C(3);F("matRippleTrigger",d)("matRippleDisabled",a.disabled||e.disableRipple);C(3);G(a.templateLabel?6:7)}},CRa=function(a){a&1&&Eg(0)},DRa=function(a,b){if(a&1){var c=x();I(0,"mat-tab-body",13);M("_onCentered",function(){z(c);var e=P();return A(e._removeTabBodyWrapperHeight())})("_onCentering",function(e){z(c);var f=P();return A(f._setTabBodyWrapperHeight(e))});J()}if(a&2){a=
b.$implicit;b=b.$index;var d=P();og(a.bodyClass);ng("mat-mdc-tab-body-active",d.selectedIndex===b);F("id",d._getTabContentId(b))("content",a.content)("position",a.position)("origin",a.origin)("animationDuration",d.animationDuration)("preserveContent",d.preserveContent);eg("tabindex",d.contentTabIndex!=null&&d.selectedIndex===b?d.contentTabIndex:null)("aria-labelledby",d._getTabLabelId(b))("aria-hidden",d.selectedIndex!==b)}},ERa=function(a){var b,c=new yq,d=c.setIt,e=(new zq).setIssueId(a.issueId).setScope(a.scope);
e=cj(e,4,a.scopeSortOrder).setMaxResults((b=a.maxResults)!=null?b:7);a=cj(e,3,a.keyword);return d.call(c,a)},FRa=function(a,b){a=wta([].concat(w(a.scores),w(b.scores)),[].concat(w(a.similarIssues),w(b.similarIssues))).sort(function(c,d){return d[0]-c[0]});a=Qk(a,function(c){c=k(c);c.next();return c.next().value.issueId});return{scores:a.map(function(c){return c[0]}),similarIssues:a.map(function(c){return c[1]})}},GRa=function(a){a&1&&Eg(0)},HRa=function(a){a&1&&K(0,"div",0)},IRa=function(a){a&1&&
K(0,"b-formatted-date-time",1);a&2&&(a=P(),F("mode",a.mode)("timestamp",a.createdTime)("paddingLeftPx",0))},JRa=function(a){a&1&&(vg(0),Q(1,"--"),wg())},KRa=function(a){if(a&1){var b=x();I(0,"div",0);M("keydown",function(c){z(b);var d=P();return A(d.processKeydown(c))});Eg(1);J()}a&2&&(a=P(),og(a.className),eg("id",a.id))},LRa=function(a){a&1&&K(0,"mat-icon",9)},MRa=function(a){a&1&&(I(0,"span",17),Q(1),J());a&2&&(a=P(3),C(),Tg(a.HOTKEYS.COPY_ISSUE_ID.displayAs))},NRa=function(a){a&1&&(I(0,"span",
17),Q(1),J());a&2&&(a=P(4),C(),Tg(a.HOTKEYS.COPY_ISSUE_SHORTLINK.displayAs))},ORa=function(a){if(a&1){var b=x();I(0,"div",14)(1,"label",15);Q(2,"Issue shortlink");J();I(3,"input",24,5);M("onHotkey",function(){z(b);var d=L(4),e=P(3);return A(Aq(e,d))})("focus",function(){z(b);var d=L(4);return A(d.select())});J();D(5,NRa,2,1,"span",17);I(6,"button",25);M("onHotkey",function(){z(b);var d=L(4),e=P(3);return A(Aq(e,d))})("click",function(){z(b);var d=L(4),e=P(3);return A(Aq(e,d))});K(7,"mat-icon",19);
J()()}if(a&2){a=L(4);var c=P(3);C();F("htmlFor",a.id);C(2);F("hotkey",c.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",c.enableHotkeys);eg("value",c.getAppBaseUrl().replace(/^.*?:\/\//,""));C(2);G(c.enableHotkeys?5:-1);C();F("hotkey",c.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",c.enableHotkeys)}},PRa=function(a){a&1&&(I(0,"span",17),Q(1),J());a&2&&(a=P(3),C(),Tg(a.HOTKEYS.COPY_ISSUE_URL.displayAs))},QRa=function(a){a&1&&(I(0,"span",17),Q(1),J());a&2&&(a=P(3),C(),Tg(a.HOTKEYS.COPY_ISSUE_TITLE.displayAs))},
RRa=function(a){a&1&&(I(0,"span",17),Q(1),J());a&2&&(a=P(4),C(),Tg(a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS.displayAs))},SRa=function(a){if(a&1){var b=x();I(0,"div",14)(1,"label",15);Q(2,"Issue email");J();I(3,"input",26,6);M("onHotkey",function(){z(b);var d=L(4),e=P(3);return A(Aq(e,d))})("focus",function(){z(b);var d=L(4);return A(d.select())});J();D(5,RRa,2,1,"span",17);I(6,"button",27);M("onHotkey",function(){z(b);var d=L(4),e=P(3);return A(Aq(e,d))})("click",function(){z(b);var d=L(4),e=P(3);return A(Aq(e,
d))});K(7,"mat-icon",19);J()()}if(a&2){a=L(4);var c=P(3);C();F("htmlFor",a.id);C(2);F("hotkey",c.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",c.enableHotkeys);eg("value","buganizer-system"+(Kk(c.activeSession.session)?"":"-qa")+("+"+c.componentId+"+"+c.issueId)+"@google.com");C(2);G(c.enableHotkeys?5:-1);C();F("hotkey",c.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",c.enableHotkeys)}},TRa=function(a){a&1&&(I(0,"span",17),Q(1),J());a&2&&(a=P(4),C(),Tg(a.HOTKEYS.COPY_ISSUE_TODO.displayAs))},
URa=function(a){if(a&1){var b=x();I(0,"div",14)(1,"label",15);Q(2,"TODO comment");J();I(3,"input",28,7);M("onHotkey",function(){z(b);var d=L(4),e=P(3);return A(Aq(e,d))})("focus",function(){z(b);var d=L(4);return A(d.select())});J();D(5,TRa,2,1,"span",17);I(6,"button",29);M("onHotkey",function(){z(b);var d=L(4),e=P(3);return A(Aq(e,d))})("click",function(){z(b);var d=L(4),e=P(3);return A(Aq(e,d))});K(7,"mat-icon",19);J()()}if(a&2){a=L(4);var c=P(3);C();F("htmlFor",a.id);C(2);F("hotkey",c.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",
c.enableHotkeys);eg("value","TODO: "+c.getAppBaseUrl().replace(/^.*?:\/\//,"")+" - ");C(2);G(c.enableHotkeys?5:-1);C();F("hotkey",c.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",c.enableHotkeys)}},VRa=function(a){if(a&1){var b=x();I(0,"div",13)(1,"div",14)(2,"label",15);Q(3,"Issue ID");J();I(4,"input",16,2);M("onHotkey",function(){z(b);var f=L(5),h=P(2);return A(Aq(h,f))})("focus",function(){z(b);var f=L(5);return A(f.select())});J();D(6,MRa,2,1,"span",17);I(7,"button",18);M("onHotkey",function(){z(b);
var f=L(5),h=P(2);return A(Aq(h,f))})("click",function(){z(b);var f=L(5),h=P(2);return A(Aq(h,f))});K(8,"mat-icon",19);J()();D(9,ORa,8,7,"div",14);I(10,"div",14)(11,"label",15);Q(12,"Issue URL");J();I(13,"input",20,3);M("onHotkey",function(){z(b);var f=L(14),h=P(2);return A(Aq(h,f))})("focus",function(){z(b);var f=L(14);return A(f.select())});J();D(15,PRa,2,1,"span",17);I(16,"button",21);M("onHotkey",function(){z(b);var f=L(14),h=P(2);return A(Aq(h,f))})("click",function(){z(b);var f=L(14),h=P(2);
return A(Aq(h,f))});K(17,"mat-icon",19);J()();I(18,"div",14)(19,"label",15);Q(20,"URL and title");J();I(21,"input",22,4);M("onHotkey",function(){z(b);var f=L(22),h=P(2);return A(Aq(h,f))})("focus",function(){z(b);var f=L(22);return A(f.select())});J();D(23,QRa,2,1,"span",17);I(24,"button",23);M("onHotkey",function(){z(b);var f=L(22),h=P(2);return A(Aq(h,f))})("click",function(){z(b);var f=L(22),h=P(2);return A(Aq(h,f))});K(25,"mat-icon",19);J()();D(26,SRa,8,7,"div",14)(27,URa,8,7,"div",14);J()}if(a&
2){a=L(5);var c=L(14),d=L(22),e=P(2);F("cdkTrapFocusAutoCapture",!0);C(2);F("htmlFor",a.id);C(2);F("hotkey",e.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",e.enableHotkeys);eg("value",e.issueId);C(2);G(e.enableHotkeys?6:-1);C();F("hotkey",e.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",e.enableHotkeys);C(2);G(e.activeSession.isInternalSession()&&!vq(e.activeSession)?9:-1);C(2);F("htmlFor",c.id);C(2);F("hotkey",e.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",e.enableHotkeys);eg("value",e.getIssueUrl());C(2);G(e.enableHotkeys?
15:-1);C();F("hotkey",e.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",e.enableHotkeys);C(3);F("htmlFor",d.id);C(2);F("hotkey",e.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",e.enableHotkeys);eg("value",e.getAppBaseUrl(e.isExternalIssue)+" "+e.issueTitle);C(2);G(e.enableHotkeys?23:-1);C();F("hotkey",e.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",e.enableHotkeys);C(2);G(e.activeSession.isInternalSession()&&!vq(e.activeSession)?26:-1);C();G(e.activeSession.isInternalSession()&&!vq(e.activeSession)?27:-1)}},WRa=function(a){if(a&
1){var b=x();I(0,"button",10,0);M("onHotkey",function(){z(b);var d=P();d.disabled||d.trigger.open();return A()})("onedevPopupPanelTriggerOpened",function(){z(b);var d=P();return A(d.isOpen=!0)})("onedevPopupPanelTriggerClosed",function(){z(b);var d=P();return A(d.isOpen=!1)})("click",function(){z(b);var d=P();d.disabled||d.trigger.open();return A()});K(2,"mat-icon",11);J();I(3,"onedev-popup-panel",12,1);D(5,VRa,28,25,"div",13);J()}if(a&2){a=L(4);var c=P();F("onedevPopupPanelTriggerFor",a)("hotkey",
c.HOTKEYS.HIGHLIGHT_ISSUE_ID)("hotkeyEnabled",c.enableHotkeys);eg("aria-label","Show links for the issue "+c.issueId);C(5);G(c.isOpen?5:-1)}},XRa=function(a){a&1&&K(0,"b-issue-id-picker",1);a&2&&(a=P(),F("issueId",a.id)("showCopyOptions",!1))},YRa=function(a){a&1&&K(0,"b-issue-priority-display",1);a&2&&(a=P(),F("issuePriority",a.priority))},ZRa=function(a){a&1&&(vg(0),Q(1,"--"),wg())},$Ra=function(a){a&1&&(I(0,"a",2),Q(1," Fix Pending "),J());a&2&&(a=P(),qg("chippy status-",a.IssueStatus.FIXED,""),
Fg("href","http://cl/",a.pendingFixCl.changelistNumber,"",of),Hg("matTooltip","Open cl/",a.pendingFixCl.changelistNumber," from ",a.pendingFixCl.author,""))},aSa=function(a,b){a&1&&(I(0,"div",4),Q(1),J());a&2&&(a=P(2),qg("chippy status-",b,""),F("title",a.STATUS_JS_FULL_TEXT[b]),C(),R(" ",a.STATUS_JS_TERSE[b]," "))},bSa=function(a){a&1&&(vg(0),Q(1,"--"),wg())},cSa=function(a){a&1&&D(0,aSa,2,5,"div",3)(1,bSa,2,0,"ng-container");if(a&2){var b;a=P();G((b=a.status)?0:1,b)}},dSa=function(a,b){b=b===void 0?
"":b;return a.filter(function(c){return c.fixedIssueIds.includes(b)})[0]},eSa=function(a){for(;a.lastChild;)a.lastChild.remove()},fSa=function(a){for(a=a.firstChild;a;){if(a.nodeType!==Node.TEXT_NODE)return!1;a=a.nextSibling}return!0},Bq=function(a){return a.endsWith("px")?Math.floor(Number(a.substr(0,a.length-2))):Number.NaN},Cq=function(a){return a.ctrlKey||a.metaKey||a.shiftKey||a.altKey},gSa=function(a){if(a&1){var b=x();I(0,"div",5);M("clickOutside",function(){z(b);var c=P();return A(c.hide())});
I(1,"div",6);Q(2," Relative link may be malformed:\u00a0 ");I(3,"code");Q(4);J();I(5,"button",7);M("click",function(){z(b);var c=P();return A(c.copyToClipboard())});K(6,"mat-icon",8);J()();I(7,"div",6);Q(8," Force open as: \u00a0 ");I(9,"a",9);M("click",function(c){z(b);var d=P();Cq(c)||(c.preventDefault(),c.stopPropagation(),Dq(d.domSafe,"http://"+d.originalHref));return A()});Q(10);J()()()}a&2&&(a=P(),C(4),Tg(a.originalHref),C(5),Fg("href","http://",a.originalHref,"",of),C(),R(" http://",a.originalHref,
" "))},hSa=function(a){a&1&&(I(0,"b-glue"),K(1,"mat-icon",4),J())},iSa=function(a){a&1&&K(0,"mat-icon",7);a&2&&(a=P().$implicit,F("svgIcon",a.icon))},lSa=function(a,b){if(a&1){var c=x();I(0,"span",6);D(1,iSa,1,1,"mat-icon",7);I(2,"a",8);M("click",function(f){var h=z(c).$implicit,l=P(2);h=h.href;Cq(f)||(f.preventDefault(),f.stopPropagation(),Dq(l.domSafe,h));return A()})("keydown",function(f){var h=z(c).$index,l=P(2);return A(jSa(l,f,h===0))});Q(3);J()();I(4,"button",9);M("keydown.Tab",function(f){var h=
z(c),l=h.$index;h=h.$count;var q=P(2);return A(kSa(q,f,l===h-1))})("click",function(){var f=z(c).$implicit,h=P(2);return A(h.copyToClipboard(f.originalHref))});K(5,"mat-icon",10);J()}if(a&2){a=b.$implicit;var d=b.$index;b=b.$count;var e=P(2);C();G(a.icon?1:-1);C();F("href",a.originalHref,of)("rel",e.EXTERNAL_LINK_REL);C();Tg(a.label);C();ng("final",d===b-1)}},nSa=function(a){if(a&1){var b=x();I(0,"div",5);M("clickOutside",function(){z(b);var c=P();return A(c.hide())});tg(1,lSa,6,6,null,null,mSa);
J()}a&2&&(a=P(),C(),ug(a.urls))},oSa=function(a){a&1&&(I(0,"div",4),xg(1,5),J());a&2&&(a=P(),F("onedevIsHovercardReady",a.hovercardReady))},pSa=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)},qSa=function(a,b){a&1&&K(0,"b-plain-format-section",1);a&2&&F("section",b.$implicit)},rSa=function(a){a&1&&K(0,"b-plain-format-quoted-section",0);a&2&&(a=P(),F("section",a.section))},sSa=function(a){a&1&&K(0,"b-plain-format-unquoted-section",0);a&2&&(a=P(),F("section",a.section))},uSa=function(a){if(a&
1){var b=x();I(0,"a",4);M("click",function(){z(b);var c=P();c.showQuote=!1;tSa(c);return A()});Q(1," - Hide quoted text - ");J()}a&2&&(a=P(),eg("aria-controls",a.childId))},vSa=function(a){if(a&1){var b=x();I(0,"a",5);M("click",function(){z(b);var c=P();c.showQuote=!0;tSa(c);return A()});Q(1," - Show quoted text - ");J()}a&2&&(a=P(),eg("aria-controls",a.childId))},wSa=function(a,b){a&1&&K(0,"b-literal-format-presenter",0);a&2&&F("content",b)},xSa=function(a,b){a&1&&K(0,"b-markdown-format-presenter",
0);a&2&&F("content",b)},ySa=function(a,b){a&1&&K(0,"b-plain-format-presenter",0);a&2&&F("content",b)},zSa=function(a,b){a&1&&(I(0,"div",1),K(1,"b-formatted-comment-presenter",2),J());a&2&&(a=P(),ng("invisible",(a.comment||"").trim()==="")("error",b.isFallback),C(),F("formattedComment",b.formattedComment))},ASa=function(a){a&1&&K(0,"b-formatted-comment-presenter",2);a&2&&(a=P(),F("formattedComment",a.note.formattedComment))},BSa=function(a){a&1&&K(0,"b-live-preview",3);a&2&&(a=P(),F("comment",a.rawComment)("issueId",
a.issueId)("audience",a.audience)("formattingMode",a.formattingModeOverride||a.formattingMode||a.FormattingMode.PLAIN)("idPrefix",a.idPrefix))},CSa=function(a){a&1&&(vg(0),Q(1,"Un-CC me"),wg())},DSa=function(a){a&1&&(vg(0),Q(1,"CC me"),wg())},FSa=function(a,b){var c=a.getPrimaryTarget(),d=a.getTargetList().map(function(e){return e===c?b:e});return new Eq(new ESa(a,d))},Fq=function(){return new GSa(zd.apply(0,arguments))},ISa=function(){return new HSa(zd.apply(0,arguments))},KSa=function(){var a=zd.apply(0,
arguments);return a.length===1?a[0]:new JSa(a)},MSa=function(){return new LSa(zd.apply(0,arguments))},OSa=function(a,b){if(a&1){var c=x();I(0,"div",3)(1,"b-contact-chip",5);M("chipSelection",function(){var d=z(c).$index,e=P();e.selectedChipIndex!==d&&Gq(e,d)&&(NSa(e),e.selectedChipIndex=d,e.items[d].isSelected=!0);return A()})("chipClear",function(){z(c);var d=P();return A(NSa(d))})("chipRemove",function(){var d=z(c).$index,e=P();return A(e.removeItem(d))});J()()}a&2&&(a=b.$implicit,b=P(),C(),F("isReadonly",
a.isReadonly)("isSelected",a.isSelected)("isWidgetDisabled",b.isWidgetDisabled())("principalType",a.principalType)("detailedUserType",a.detailedUserType)("nestedChips",a.nestedChips)("value",a.value)("displayText",a.displayText)("accessLevel",b.getAccessLevel()))},RSa=function(a){if(a&1){var b=x();I(0,"input",8,0);M("autocompleteActive",function(){z(b);var c=P(2);return A(c.chipifyFn())});Xg("ngModelChange",function(c){z(b);var d=P(2);Wg(d.typedText,c)||(d.typedText=c);return A(c)});M("focus",function(){z(b);
var c=P(2);return A(PSa(c))})("blur",function(){z(b);var c=P(2);QSa(c);c.isFocused=!1;return A()});J()}a&2&&(a=P(2),F("bContactAutocomplete","MULTI")("additionalContactsCallback",a.additionalContactsFn),Vg("ngModel",a.typedText),F("disabled",a.isWidgetDisabled())("placeholder",a.placeholderText),eg("aria-expanded",!1))},SSa=function(a){if(a&1){var b=x();I(0,"input",9,0);M("peoplekitAutocompleteSelectionChange",function(c){z(b);var d=P(2);return A(d.selectAutocomplete(c))});Xg("ngModelChange",function(c){z(b);
var d=P(2);Wg(d.typedText,c)||(d.typedText=c);return A(c)});M("focus",function(){z(b);var c=P(2);return A(PSa(c))})("blur",function(){z(b);var c=P(2);QSa(c);c.isFocused=!1;return A()});J()}a&2&&(a=P(2),F("peoplekitAutocompleteConfig",a.BASE_AUTOCOMPLETE_CONFIG)("peoplekitSearchSessionOptions",a.SESSION_OPTIONS),Vg("ngModel",a.typedText),F("disabled",a.isWidgetDisabled())("placeholder",a.placeholderText))},TSa=function(a){a&1&&D(0,RSa,2,6,"input",6)(1,SSa,2,5,"input",7);a&2&&(a=P(),G(a.enablePeoplekitAc?
1:0))},USa=function(a){a&1&&(I(0,"span"),Q(1," Groups cannot be granted Restricted+ reader permission. "),I(2,"a",10),Q(3,"Learn more"),J()());a&2&&(a=P(),C(2),eg("href",oq(a.documentationLinks)+"#components",of))},VSa=function(a){a&1&&(I(0,"span"),Q(1," Invalid user(s). "),J())},WSa=function(a){a&1&&(I(0,"span"),Q(1,' "Public" or external users are not allowed for component designated as "internal access". '),J())},XSa=function(a){a&1&&(I(0,"span"),Q(1,' "Public" is not allowed for components designated as "external partner access". '),
J())},YSa=function(a){a&1&&(I(0,"span"),Q(1," SLO lead can not be a group. "),J())},ZSa=function(a){a&1&&(I(0,"span"),Q(1," SLO lead can only be a full-time Googler. "),J())},$Sa=function(a){a&1&&(I(0,"span"),Q(1," Only users in the Google domain can be selected. "),J())},aTa=function(a){a&1&&(I(0,"span"),Q(1," User has already been selected. "),J())},bTa=function(a){a&1&&(I(0,"span"),Q(1," Only users can be selected. Groups and aliases are not supported. "),J())},gTa=function(a,b){if(!b||!a)return cTa;
var c;return!dTa((c=b.readers)!=null?c:[])||eTa(a)?fTa:cTa},dTa=function(a){return a.some(function(b){return b.alias!==void 0?b.alias==="public"||b.alias==="public_non_google":!1})},eTa=function(a){return a==="LIMIT_VIEW"||a==="LIMIT_VIEW_TRUSTED"},hTa=function(a,b){a&1&&(I(0,"a",6),Q(1," Learn more. "),J());a&2&&F("href",b,of)},iTa=function(a,b){a&1&&K(0,"b-multi-user-input",9);a&2&&(F("users",b),eg("disabled",!0))},jTa=function(a){a&1&&(vg(0,8),K(1,"br"),I(2,"h2"),Q(3,"Users who can view"),J(),
D(4,iTa,1,2,"b-multi-user-input",9),S(5,"async"),wg());if(a&2){var b;a=P(2);F("onedevIsHovercardReady",a.showHovercard$);C(4);G((b=U(5,2,a.viewers$))?4:-1,b)}},lTa=function(a){if(a&1){var b=x();I(0,"span",2,0);S(2,"async");S(3,"async");M("focus",function(){z(b);var f=L(1);P().loadTooltipOnce();f.disabled=!1;return A(f.show())})("blur",function(){z(b);var f=L(1);f.disabled=!0;return A(f.hide())});Q(4);S(5,"async");J();I(6,"onedev-hovercard",null,1)(8,"div",3)(9,"div",4)(10,"div",5);Q(11);S(12,"async");
D(13,hTa,2,1,"a",6)(14,jTa,6,4,"ng-container",7);J()()()()}if(a&2){var c,d;a=L(7);var e=P();ng("xs",e.compactMode);F("onedevHovercardTrigger",a)("matTooltipDisabled",!0)("matTooltip",(c=U(2,9,e.tooltipText$))!==null&&c!==void 0?c:"")("ngClass",U(3,11,e.chipClass$));C(4);R(" ",U(5,13,e.chipText$)," ");C(7);R(" ",U(12,15,e.bubbleText$)," ");C(2);G((d=kTa(e.documentationLinks))?13:-1,d)}},mTa=function(a){return a==="visible_to_listed_partners"||a==="visible_to_listed_public_users"},nTa=function(a){a&
1&&K(0,"b-issue-visibility-chip",5);a&2&&(a=P(2),F("issueId",a.issueId))},oTa=function(a){a&1&&K(0,"b-component-access-level-indicator",6);a&2&&(a=P(2),F("labelOnlyMode",!0)("accessLevel",a.issue.accessLimit==null?null:a.issue.accessLimit.accessLevel))},pTa=function(a){a&1&&(I(0,"span"),Q(1," Assigned to "),K(2,"b-user-display",13),J());a&2&&(a=P(2),C(2),F("model",a.assigneeUser)("hovercardEnabled",!1))},qTa=function(a){a&1&&(I(0,"span"),Q(1," Accepted by "),K(2,"b-user-display",13),J());a&2&&(a=
P(2),C(2),F("model",a.assigneeUser)("hovercardEnabled",!1))},rTa=function(a){a&1&&(I(0,"span"),Q(1," Duplicate of "),I(2,"a",2),Q(3),J()());if(a&2){a=P(2);var b=P();C(2);gg("aria-label","Go to issue ",a.duplicateOfIssueId,"");F("href",b.ROUTES.viewIssue.makeHref(a.duplicateOfIssueId),of);C();R(" ",a.duplicateOfIssueId," ")}},sTa=function(a){a&1&&(I(0,"span"),Q(1),J());if(a&2){a=P();var b=P(2);C();R(" ",b.STATUS_JS_FULL_TEXT[a]," ")}},tTa=function(a,b){a&1&&D(0,pTa,3,2,"span")(1,qTa,3,2,"span")(2,
rTa,4,4,"span")(3,sTa,2,1,"span");a&2&&G(b==="ASSIGNED"?0:b==="ACCEPTED"?1:b==="DUPLICATE"?2:3)},uTa=function(a,b){a&1&&K(0,"b-app-vote-button",14);if(a&2){var c;a=P();var d=P(2);F("issueId",d.issueId)("voteCount",a.voteCount)("upvoted",(c=b.voted)!==null&&c!==void 0?c:!1)}},vTa=function(a){a&1&&D(0,uTa,1,3,"b-app-vote-button",14);if(a&2){var b;a=P(2);G((b=a.issue.userData)?0:-1,b)}},xTa=function(a){if(a&1){var b=x();I(0,"button",15);M("click",function(){z(b);var c=P(2);return A(wTa(c,c.childContextId))});
Q(1," Unlink parent ");J()}},yTa=function(a,b){a&1&&(I(0,"li"),Q(1," Last updated by "),K(2,"b-user-display",13),Q(3," on: "),K(4,"b-formatted-date-time",16),J());a&2&&(a=P(),C(2),F("model",b)("hovercardEnabled",!1),C(2),F("timestamp",a.modifiedTimeMicros/1E3))},zTa=function(a,b){a&1&&(D(0,yTa,5,3,"li"),I(1,"li"),Q(2," Reported by "),K(3,"b-user-display",13),Q(4," on: "),K(5,"b-formatted-date-time",16),J());if(a&2){var c;a=P();G((c=b.lastModifier)?0:-1,c);C(3);F("model",a.reporterUser)("hovercardEnabled",
!1);C(2);F("timestamp",b.createdTimeMicros/1E3)}},ATa=function(a){a&1&&(I(0,"li",12),K(1,"b-note-container",17),J());if(a&2){var b;a=P(2);C();var c=F("issueId",a.issueId)("issueAccessLevel",a.issue.accessLimit==null?null:a.issue.accessLimit.accessLevel)("formattingMode",(b=a.firstEvent==null?null:a.firstEvent.formattingMode)!==null&&b!==void 0?b:a.FormattingMode.UNSPECIFIED_FORMATTING_MODE),d,e;b={commentNumber:1,unlinkifiedComment:((d=a.firstEvent)==null?void 0:d.unlinkifiedComment)||"",formattedComment:(e=
a.firstEvent)==null?void 0:e.formattedComment};c("note",b)}},DTa=function(a,b){if(a&1){var c=x();I(0,"div",1)(1,"h3")(2,"a",2);Q(3);J();Q(4," \u00a0 ");I(5,"span",3);Q(6);J()();I(7,"ul")(8,"li",4);D(9,nTa,1,1,"b-issue-visibility-chip",5)(10,oTa,1,2,"b-component-access-level-indicator",6);J();I(11,"li",7)(12,"span",8);Q(13);J();Q(14," \u00a0 ");D(15,tTa,4,1);J()();I(16,"div",9)(17,"b-cc-button",10);M("onCc",function(q){z(c);var v=P();v.location&&q&&v.analytics.trackEvent(v.location+"_issueCard","add",
"CC");return A()});J();D(18,vTa,1,1)(19,xTa,2,0,"button",11);J();I(20,"ul");D(21,zTa,6,4,"li")(22,ATa,2,4,"li",12);J()()}if(a&2){var d,e,f,h,l;a=P();C(2);gg("aria-label","Go to issue ",a.issueId,"");F("href",a.ROUTES.viewIssue.makeHref(a.issueId),of);C();Tg(a.issueId);C(3);Tg(b.title);C(3);G(a.enableNewVisibilityChips?9:10);C(3);F("ngClass",a.priorityClass(b.priority));C();Tg(a.ISSUE_PRIORITY_TEXT_JS[(d=b.priority)!==null&&d!==void 0?d:a.ISSUE_PRIORITY_ENUM.PRIORITY_UNSPECIFIED]);C(2);G((e=b.status)?
15:-1,e);C(2);F("issueId",a.issueId)("ccState",BTa(a,(f=b.ccUsers)!==null&&f!==void 0?f:ah(15,CTa)));C();G((h=a.issue.aggregatedData)?18:-1,h);C();G(a.childContextId?19:-1);C(2);G((l=a.issue.aggregatedData)?21:-1,l);C();G((a.firstEvent==null?0:a.firstEvent.unlinkifiedComment)?22:-1)}},FTa=function(a){if(a&1){var b=x();I(0,"span",11);M("onedevHovercardShown",function(){z(b);var d=P(2);return A(ETa(d))});Q(1);J()}if(a&2){a=P(2);var c=L(6);F("onedevHovercardTrigger",c)("onedevHovercardActive",a.enableHovercard);
C();Tg(a.title||"--")}},GTa=function(a){a&1&&(I(0,"span",8),Q(1),J());a&2&&(a=P(2),C(),Tg(a.title||"--"))},HTa=function(a){if(a&1){var b=x();D(0,FTa,2,3,"span",7)(1,GTa,2,1,"span",8);I(2,"a",9);M("keydown",function(c){z(b);P();c.key==="Enter"&&c.stopPropagation();return A()})("click",function(c){z(b);return A(c.stopPropagation())});K(3,"mat-icon",10);J()}a&2&&(a=P(),G(a.enableHovercard?0:1),C(2),F("routerLink","/"+a.link)("target",a.anchorTarget)("matTooltipShowDelay",250))},ITa=function(a){if(a&
1){var b=x();I(0,"a",12);M("keydown",function(d){z(b);P();d.key==="Enter"&&d.stopPropagation();return A()})("click",function(d){z(b);return A(d.stopPropagation())})("onedevHovercardShown",function(){z(b);var d=P();return A(ETa(d))});Q(1);J()}if(a&2){a=P();var c=L(6);F("routerLink","/"+a.link)("target",a.anchorTarget)("onedevHovercardTrigger",c)("onedevHovercardActive",a.enableHovercard);C();Tg(a.title||"--")}},JTa=function(a,b){a&1&&(I(0,"span",13),Q(1),J());if(a&2){var c;og(b.cssClass);hg("aria-label",
"",b.title," - ",b.tooltip,"");F("matTooltip",(c=b.tooltip)!==null&&c!==void 0?c:"");C();Tg(b.title)}},KTa=function(a){a&1&&K(0,"b-issue-card",6);a&2&&(a=P(),F("issueId",a.issue.issueId))},LTa=function(a){a&1&&(I(0,"span",3),Eg(1,1),J())},MTa=function(a){a&1&&(I(0,"span",6),Eg(1,2),J())},NTa=function(a){a&1&&(I(0,"span",3),Eg(1,1),I(2,"span",8),Wd(),I(3,"svg",9),K(4,"path",10),J()()())},OTa=function(a){a&1&&(I(0,"span",6),Eg(1,2),J())},PTa=function(a){a&1&&(I(0,"span",4),Q(1),J());a&2&&(a=P(),C(),
Tg(a.placeholder))},QTa=function(a){a&1&&Eg(0)},RTa=function(a){a&1&&(I(0,"span",11),Q(1),J());a&2&&(a=P(2),C(),Tg(a.triggerValue))},STa=function(a){a&1&&(I(0,"span",5),D(1,QTa,1,0)(2,RTa,2,1,"span",11),J());a&2&&(a=P(),C(),G(a.customTrigger?1:2))},TTa=function(a){if(a&1){var b=x();I(0,"div",12,1);M("@transformPanel.done",function(c){z(b);var d=P();return A(d._panelDoneAnimatingStream.next(c.toState))})("keydown",function(c){z(b);var d=P();return A(d._handleKeydown(c))});Eg(2,1);J()}a&2&&(a=P(),qg("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",
a._getPanelTheme(),""),F("ngClass",a.panelClass)("@transformPanel","showing"),eg("id",a.id+"-panel")("aria-multiselectable",a.multiple)("aria-label",a.ariaLabel||null)("aria-labelledby",a._getPanelAriaLabelledby()))},UTa=function(a){a&1&&Eg(0,2)},VTa=function(a){a&1&&(I(0,"thead",0),xg(1,1),J(),I(2,"tbody",0),xg(3,2)(4,3),J(),I(5,"tfoot",0),xg(6,4),J())},WTa=function(a){a&1&&xg(0,1)(1,2)(2,3)(3,4)},XTa=function(a,b){return a.concat(Array.from(b))},YTa=function(a,b){b=b.toUpperCase();for(a=a.viewContainer.element.nativeElement;a;){var c=
a.nodeType===1?a.nodeName:null;if(c===b)return a;if(c==="TABLE")break;a=a.parentNode}return null},ZTa=function(a){a&1&&Eg(0,2)},$Ta=function(a){a&1&&(I(0,"thead",0),xg(1,1),J(),I(2,"tbody",2),xg(3,3)(4,4),J(),I(5,"tfoot",0),xg(6,5),J())},aUa=function(a){a&1&&xg(0,1)(1,3)(2,4)(3,5)},bUa=function(a,b){a&1&&(I(0,"div",4)(1,"div",15),Q(2,"CURRENT ISSUE"),J(),I(3,"div",16),Q(4),J()());a&2&&(C(4),R(" ",b==null?null:b.snapshot[0].title," "))},cUa=function(a){a&1&&K(0,"mat-icon",17)},dUa=function(a){a&1&&
K(0,"mat-icon",18)},eUa=function(a,b){a&1&&D(0,cUa,1,0,"mat-icon",17)(1,dUa,1,0,"mat-icon",18);a&2&&(a=P(),G(b===a.SearchSource.SEMANTIC_SEARCH?0:1))},fUa=function(a){if(a&1){var b=x();I(0,"mat-select",19);S(1,"async");M("selectionChange",function(c){z(b);P().selectedSearchSource$.next(c.value);return A()});I(2,"mat-option",20);Q(3);J();I(4,"mat-option",21);Q(5);J()()}a&2&&(a=P(),F("value",U(1,5,a.selectedSearchSource$)),C(2),F("value",a.SearchSource.SEMANTIC_SEARCH),C(),R(" ",a.SearchSource.SEMANTIC_SEARCH,
" "),C(),F("value",a.SearchSource.EXACT_MATCH),C(),R(" ",a.SearchSource.EXACT_MATCH," "))},gUa=function(a){if(a&1){var b=x();I(0,"mat-chip-listbox",26)(1,"mat-chip-option",33,2);M("keydown.enter",function(){z(b);var d=L(2);return A(d.openMenu())})("keyup.space",function(){z(b);var d=L(2);return A(d.openMenu())});I(3,"span");Q(4);J();K(5,"mat-icon",34);J()()}if(a&2){P();a=L(7);var c=P(3);F("selectable",!1);C();F("matMenuTriggerFor",a);C(3);Tg(c.selectedScopeFilter.displayAs)}},iUa=function(a){if(a&
1){var b=x();I(0,"button",35);M("click",function(){z(b);var c=P(4);return A(hUa(c,c.componentFilter))});K(1,"mat-icon",36);Q(2);J()}a&2&&(a=P(4),F("matTooltip",a.componentFilter.tooltip||""),C(),ng("invisible",a.componentFilter!==a.selectedScopeFilter),C(),R(" ",a.componentFilter.displayAs," "))},jUa=function(a){if(a&1){var b=x();I(0,"button",35);M("click",function(){z(b);var c=P(4);return A(hUa(c,c.teamFilter))});K(1,"mat-icon",36);Q(2);J()}a&2&&(a=P(4),F("matTooltip",a.teamFilter.tooltip||""),C(),
ng("invisible",a.teamFilter!==a.selectedScopeFilter),C(),R(" ",a.teamFilter.displayAs," "))},kUa=function(a){if(a&1){var b=x();I(0,"button",37);M("click",function(){z(b);var c=P(4);return A(c.openLearnMore())});K(1,"mat-icon",38);J()}},lUa=function(a){if(a&1){var b=x();I(0,"div",22)(1,"mat-chip-listbox",23);M("change",function(c){z(b);var d=P(3);c.value?d.selectedFilters$.add(Hq):d.selectedFilters$.delete(Hq);return A()});I(2,"mat-chip-option",24)(3,"span",25);Q(4);J()()();D(5,gUa,6,3,"mat-chip-listbox",
26);I(6,"mat-menu",27,1);D(8,iUa,3,4,"button",28)(9,jUa,3,4,"button",28);J();I(10,"mat-chip-listbox",29);M("change",function(){z(b);var c=P(3);c.includeDescendants=!c.includeDescendants;var d=Xo(c.component$),e=Xo(c.team$);if(d&&e){d=cFa(d,c.includeDescendants);e=bFa(e,c.includeDescendants);var f=new Set(Xo(c.selectedFilters$.value$));f&&c.componentFilter&&c.teamFilter&&(f.has(c.componentFilter)?(f.delete(c.componentFilter),f.add(d),c.selectedScopeFilter=d):(f.delete(c.teamFilter),f.add(e),c.selectedScopeFilter=
e),c.componentFilter=d,c.teamFilter=e,c.selectedFilters$.reset(f))}return A()});I(11,"mat-chip-option",30)(12,"span",31);Q(13);J()()();D(14,kUa,2,0,"button",32);J()}a&2&&(a=P(3),C(2),F("selected",a.selectedFilters$.has(a.openFilter))("value",a.openFilter),C(),F("matTooltip",a.openFilter.tooltip||""),C(),R(" ",a.openFilter.displayAs," "),C(),G(a.selectedScopeFilter?5:-1),C(3),G(a.componentFilter?8:-1),C(),G(a.teamFilter?9:-1),C(4),R(" Include sub-",a.selectedScopeFilter===a.componentFilter?"components":
"teams"," "),C(),G(a.isInternalSession?14:-1))},mUa=function(a,b){a&1&&D(0,lUa,15,9,"div",22);a&2&&(a=P(2),G(b===a.SearchSource.SEMANTIC_SEARCH&&a.tableDataSource!==a.TableDataSource.ISSUE_IDS?0:-1))},nUa=function(a){a&1&&(D(0,mUa,1,1),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.selectedSearchSource$))?0:-1,b)}},oUa=function(a){a&1&&K(0,"ai-spinner",39);a&2&&F("large",!0)},pUa=function(a){a&1&&K(0,"ai-spinner",40)},qUa=function(a){a&1&&K(0,"b-spinner",41)},rUa=function(a){a&1&&(I(0,"div",10),D(1,
oUa,1,1,"ai-spinner",39),S(2,"async"),D(3,pUa,1,0,"ai-spinner",40)(4,qUa,1,0,"b-spinner",41),J());a&2&&(a=P(),C(),G(!a.searchText$.value&&a.isSimilarIssuesUiEnabled?1:a.searchText$.value&&U(2,1,a.selectedSearchSource$)===a.SearchSource.SEMANTIC_SEARCH?3:4))},sUa=function(a){a&1&&(I(0,"b-callout",42)(1,"b-callout-body"),Q(2," This issue was suggested by AI! Save time by exploring the suggestions first next time. "),I(3,"a",46),Q(4,"Learn more"),J()()())},tUa=function(a){a&1&&(I(0,"h3",43),K(1,"mat-icon",
47),Q(2," Possible duplicates "),J())},uUa=function(a){a&1&&(I(0,"th",66)(1,"span",67),Q(2,"Selection"),J()())},vUa=function(a,b){a&1&&(I(0,"td",68),K(1,"mat-radio-button",69),S(2,"async"),J());a&2&&(a=b.$implicit,b=P(3),C(),F("checked",U(2,3,Iq(b.selectedIssues,a.issueId)))("aria-label",a.snapshot[0].title)("value",a.issueId))},wUa=function(a){a&1&&(I(0,"th",66),Q(1," Title "),J())},xUa=function(a,b){a&1&&(I(0,"td",68),K(1,"b-issue-title-cell",70),J());a&2&&(a=b.$implicit,b=P(3),C(),F("issue",a)("issueUrlFactory",
b.issueUrlFactory)("useButtonToNavigate",!0)("enableHovercard",!0))},yUa=function(a){a&1&&(I(0,"th",66),Q(1," Id "),J())},zUa=function(a,b){a&1&&(I(0,"td",68),K(1,"b-issue-id-cell",71),J());a&2&&(a=b.$implicit,C(),F("id",a.issueId))},AUa=function(a){a&1&&(I(0,"th",66),Q(1," Priority "),J())},BUa=function(a,b){a&1&&(I(0,"td",68),K(1,"b-issue-priority-cell",72),J());a&2&&(a=b.$implicit,C(),F("issue",a))},CUa=function(a){a&1&&(I(0,"th",73),Q(1," Status "),J())},DUa=function(a,b){a&1&&(I(0,"td",68),K(1,
"b-issue-status-cell",72),J());a&2&&(a=b.$implicit,C(),F("issue",a))},EUa=function(a){a&1&&(I(0,"th",66),Q(1," Dupes "),J())},FUa=function(a,b){a&1&&(I(0,"td",74),Q(1),J());if(a&2){var c;a=b.$implicit;C();R(" ",(c=a.snapshot[0].duplicateIssueId==null?null:a.snapshot[0].duplicateIssueId.length)!==null&&c!==void 0?c:0," ")}},GUa=function(a){a&1&&(I(0,"th",75)(1,"span",67),Q(2,"Votes"),J(),K(3,"mat-icon",76),J())},HUa=function(a,b){a&1&&(I(0,"td",74),Q(1),J());a&2&&(a=b.$implicit,C(),R(" ",a.aggregatedData.voteCount,
" "))},IUa=function(a){a&1&&(I(0,"th",77),Q(1," Created "),J())},JUa=function(a,b){a&1&&(I(0,"td",68),K(1,"b-issue-created-time-cell",78),J());a&2&&(a=b.$implicit,C(),F("issue",a))},KUa=function(a){a&1&&K(0,"tr",79)},LUa=function(a,b){if(a&1){var c=x();I(0,"tr",80);M("keydown",function(d){var e=z(c),f=e.$implicit;e=e.index;var h=P(3);return A(h.onRowKeydown(e,f,d))})("keydown.enter",function(){var d=z(c).$implicit,e=P(3);return A(e.selectIssue(d.issueId))})("focusin",function(){var d=z(c).$implicit,
e=P(3);return A(Jq(e.focusManager,d))})("click",function(){var d=z(c),e=d.$implicit;d=d.index;var f=P(3);f.selectIssue(e.issueId);return A(f.focusManager.setActiveItem(d))});J()}a&2&&F("row",b.$implicit)},NUa=function(a){if(a&1){var b=x();I(0,"table",48);M("contentChanged",function(){z(b);var d=P(),e=P();return A(MUa(e,d))});vg(1,49);D(2,uUa,3,0,"th",50);I(3,"mat-radio-group",51);M("change",function(d){z(b);var e=P(2);return A(e.selectIssue(d.value))});D(4,vUa,3,5,"td",52);J();wg();vg(5,53);D(6,wUa,
2,0,"th",50)(7,xUa,2,4,"td",52);wg();vg(8,54);D(9,yUa,2,0,"th",50)(10,zUa,2,1,"td",52);wg();vg(11,55);D(12,AUa,2,0,"th",50)(13,BUa,2,1,"td",52);wg();vg(14,56);D(15,CUa,2,0,"th",57)(16,DUa,2,1,"td",52);wg();vg(17,58);D(18,EUa,2,0,"th",50)(19,FUa,2,1,"td",59);wg();vg(20,60);D(21,GUa,4,0,"th",61)(22,HUa,2,1,"td",59);wg();vg(23,62);D(24,IUa,2,0,"th",63)(25,JUa,2,1,"td",52);wg();D(26,KUa,1,0,"tr",64)(27,LUa,1,1,"tr",65);J()}if(a&2){a=P();var c=P();F("dataSource",a)("trackBy",c.trackByIssueId);C(26);F("matHeaderRowDef",
c.tableColumns);C();F("matRowDefColumns",c.tableColumns)}},OUa=function(a){a&1&&(I(0,"div",45)(1,"span",81),Q(2,"No results found"),J()())},PUa=function(a,b){a&1&&(I(0,"div",11),D(1,sUa,5,0,"b-callout",42)(2,tUa,3,0,"h3",43)(3,NUa,28,4,"table",44)(4,OUa,3,0,"div",45),J());a&2&&(a=P(),C(),G(a.isSimilarIssuesUiEnabled&&a.isPasteResultInSuggestion?1:-1),C(),G(a.searchText$.value||a.isLoading||!a.isSimilarIssuesUiEnabled?-1:2),C(),G(!a.isLoading&&b&&b.length?3:-1),C(),G(a.isLoading||(b==null?null:b.length)!==
0?-1:4))},QUa=function(a){if(a&1){var b=x();I(0,"button",4);M("click",function(c){z(b);P().expansionChange.emit();c.stopPropagation();return A()});K(1,"b-icon",5);J()}a&2&&(a=P(),ng("collapsed",!a.expanded),eg("aria-label",a.expanded?"Collapse children":"Expand children"))},RUa=function(a){a&1&&K(0,"div",2)},SUa=function(a){a&1&&K(0,"b-signal-chip",1);a&2&&(a=P().$implicit,F("chipColor",a.chipColor)("displayText",a.displayAs)("tooltip",a.tooltip))},TUa=function(a,b){a&1&&D(0,SUa,1,3,"b-signal-chip",
1);a&2&&(a=b.$implicit,b=P(),G(a.check(b.issue)?0:-1))},UUa=function(a){a&1&&(I(0,"b-person-hovercard",1),Q(1),J());a&2&&(a=P(),F("email",a.assignee),C(),R(" ",a.assignee," "))},VUa=function(a){a&1&&(vg(0),Q(1,"--"),wg())},WUa=function(a){a&1&&K(0,"b-team-display",1);a&2&&(a=P(),F("teamId",a.teamId)("componentId",a.componentId)("anchorLinkEnabled",!1))},XUa=function(a){a&1&&(vg(0),Q(1,"--"),wg())},YUa=function(a,b){a&1&&K(0,"b-user-image",0);a&2&&F("email",b)},ZUa=function(a){if(a&1){var b=x();I(0,
"button",2);M("click",function(){z(b);var c=P();return A(c.claim())});Q(1," Claim ");J()}},$Ua=function(a){a&1&&(vg(0),Q(1),S(2,"enumToHuman"),wg());a&2&&(a=P(),C(),Tg(U(2,1,a.type)))},aVa=function(a){a&1&&(vg(0),Q(1,"--"),wg())},bVa=function(a){a&1&&(I(0,"a",1),K(1,"mat-icon",2),J());a&2&&(a=P(),F("href",a.mdHelpLink,of)("disableRipple",!0))},cVa=function(a){a&1&&xg(0)},dVa=function(a){a&1&&(I(0,"span"),Q(1,"Details"),J())},eVa=function(a){a&1&&(I(0,"span"),Q(1,"Members"),J())},gVa=function(a){a&
1&&(I(0,"div",11)(1,"a",12),D(2,dVa,2,0,"span")(3,eVa,2,0,"span"),J()());if(a&2){a=P(2);C();if(a.email===void 0)var b="";else{b=encodeURIComponent(a.getName());var c=encodeURIComponent(a.email);b=fVa(a.email)?"https://ganpati2.corp.google.com/group/"+b+".corp":sta(a.email)?"https://twosync.corp.google.com/rosterz/"+c:"https://groups.google.com/a/google.com/forum/#!members/"+b}F("href",b,of);C();G(fVa(a.email)?2:3)}},hVa=function(a){a&1&&(I(0,"span",2),D(1,cVa,1,0,"ng-container",3),J(),I(2,"onedev-hovercard",
null,1)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"h3"),Q(10),J()(),I(11,"div",9),K(12,"mat-icon",10),I(13,"span"),Q(14),J()()(),D(15,gVa,4,2,"div",11),J()()()());if(a&2){a=L(3);var b=P(),c=L(3);F("onedevHovercardTrigger",a);C();F("ngTemplateOutlet",c);C(9);Tg(b.getName());C(4);Tg(b.email);C();G(b.shouldShowLinks()?15:-1)}},iVa=function(a){a&1&&xg(0)},jVa=function(a){a&1&&D(0,iVa,1,0,"ng-container",3);a&2&&(P(),a=L(3),F("ngTemplateOutlet",a))},kVa=function(a){a&1&&Eg(0)},lVa=function(a){a&
1&&(I(0,"xap-dialog-layout")(1,"xap-dialog-layout-content"),Eg(2),J()())},mVa=function(a,b){a&1&&K(0,"mat-icon",2);a&2&&F("svgIcon",b)},nVa=function(a){a&1&&(I(0,"b-person-hovercard",4),Q(1),J());a&2&&(a=P(),F("email",a.value),C(),R(" ",a.displayText," "))},oVa=function(a){a&1&&(I(0,"b-group-email-card",4),Q(1),J());a&2&&(a=P(),F("email",a.value),C(),R(" ",a.displayText," "))},pVa=function(a,b){a&1&&(I(0,"div",8),K(1,"b-contact-chip",9),J());a&2&&(a=b.$implicit,b=P(3),C(),F("value",a.value)("detailedUserType",
a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},qVa=function(a){a&1&&(I(0,"div",7),tg(1,pVa,2,5,"div",8,sg),J());a&2&&(a=P(2),C(),ug(a.nestedChips))},rVa=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(2),C(),Tg(a.getTooltip()))},sVa=function(a){a&1&&(I(0,"b-text-with-tooltip",5),D(1,qVa,3,0,"div",7)(2,rVa,2,1,"span"),J());a&2&&(a=P(),F("dialogTabIndex",a.isContainerChip()?-1:0)("displayText",a.displayText),C(),G(a.isContainerChip()?
1:2))},tVa=function(a){if(a&1){var b=x();I(0,"div",10);M("click",function(){z(b);var c=P();return A(c.chipRemove.emit())})("keydown.enter",function(){z(b);var c=P();return A(c.chipRemove.emit())});K(1,"mat-icon",11);J()}a&2&&(a=P(),Fg("matTooltip","'Remove ",a.displayText,"'"),eg("aria-label","Remove "+a.displayText))},uVa=function(a,b){b&&(b.autocompleteGroupingType!=null&&a.setAutocompleteGroupingType(b.autocompleteGroupingType),b.autocompleteGroupingLabel!=null&&a.setAutocompleteGroupingLabel(b.autocompleteGroupingLabel),
b.autocompleteHeader!=null&&a.setAutocompleteHeader(b.autocompleteHeader),b.autocompleteMaxResultsBeforeScroll!=null&&a.setAutocompleteMaxResultsBeforeScroll(b.autocompleteMaxResultsBeforeScroll),b.density!=null&&a.setDensity(b.density),b.moveAutocompleteAboveAnchorIfOffscreen!=null&&a.setMoveAutocompleteAboveAnchorIfOffscreen(b.moveAutocompleteAboveAnchorIfOffscreen),b.autoActivateFirstSuggestion!=null&&a.setAutoActivateFirstSuggestion(b.autoActivateFirstSuggestion),b.showSuggestions!=null&&a.setShowSuggestions(b.showSuggestions),
b.noResultsMessage!=null&&a.setNoResultsMessage(b.noResultsMessage),b.autoActivateFirstSearchResult!=null&&a.setAutoActivateFirstSearchResult(b.autoActivateFirstSearchResult),b.clearSelectionOnSearch!=null&&a.setClearSelectionsOnSearch(b.clearSelectionOnSearch),b.resultCustomizationCallback!=null&&a.setResultCustomizationCallback(b.resultCustomizationCallback))},vVa=function(a,b){a&1&&(I(0,"span",1),Q(1),J());a&2&&(F("matTooltip",b),C(),R(" ",b," "))},wVa=function(a){a&1&&(I(0,"b-person-hovercard",
1),Q(1),J());a&2&&(a=P(),F("email",a.reporter),C(),R(" ",a.reporter," "))},xVa=function(a){a&1&&(vg(0),Q(1,"--"),wg())},yVa=function(a){a&1&&(I(0,"div")(1,"div",10),Q(2," An issue cannot reference itself. "),J()())},zVa=function(a){a&1&&(I(0,"mat-option",7)(1,"div",11),K(2,"b-spinner",12),J()());a&2&&(C(2),F("large",!0))},AVa=function(a){a&1&&(I(0,"mat-option",8),Q(1," No issues found. "),J())},BVa=function(a){a&1&&K(0,"mat-icon",14);if(a&2){a=P().$implicit;var b=P();F("svgIcon",b.STATUS_ICON[a.status])}},
CVa=function(a){a&1&&K(0,"b-issue-card",21,2);if(a&2){a=L(1);var b=P().$implicit;F("onedevIsHovercardReady",a.init)("issueId",b.resourceId)}},EVa=function(a,b){if(a&1){var c=x();I(0,"mat-option",9)(1,"div",13);D(2,BVa,1,1,"mat-icon",14);I(3,"strong",15);Q(4);J();I(5,"onedev-hovercard",null,1);D(7,CVa,2,2,"b-issue-card",16);J();I(8,"a",17);M("click",function(e){z(c);return A(e.stopPropagation())});K(9,"mat-icon",18);J();I(10,"span",19);Q(11);J();K(12,"div",20);S(13,"boldPrefixMatches");J()()}if(a&
2){a=b.$implicit;b=L(6);var d=P();F("value",a);C();eg("aria-label",a.resourceId+", "+a.displayText+", click ALT RightArrow to open the issue in a new tab.");C();G(a.status?2:-1);C();Gg("title",a.resourceId);C();R(" ",a.resourceId," ");C(4);F("onedevHovercardTrigger",b)("href",d.getIssueLink(a),of);C(3);Tg(DVa(a));C();Gg("title",a.displayText);F("innerHTML",eh(13,10,a.displayText,d.query),nf)}},FVa=function(a,b){a&1&&(I(0,"a",11),Q(1),J());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;Fg("href",
"issues/",a.resourceId,"",of);C();Ug(" ",a.resourceId,"",c===b-1?"":","," ")}},GVa=function(a){a&1&&(I(0,"div",3),tg(1,FVa,2,4,"a",11,sg),J());a&2&&(a=P(),C(),ug(a.selectedIssues))},HVa=function(a){a&1&&(I(0,"div",3)(1,"a",12)(2,"span",13),Q(3),J(),I(4,"span"),K(5,"mat-icon",14),J()()());a&2&&(a=P(),C(),Fg("href","issues/",a.selectedIssues[0].resourceId,"",of),C(2),R(" ",a.selectedIssues[0].displayText," "))},JVa=function(a){if(a&1){var b=x();I(0,"div",6)(1,"div",15);M("click",function(){z(b);var c=
P();return A(IVa(c))})("keyup.space",function(){z(b);var c=P();return A(IVa(c))});J()()}a&2&&(a=P(),C(),F("matTooltip",a.isQueryRestricted?"Searching in current component tree":"Click to search in current component tree"),eg("aria-checked",a.isQueryRestricted))},KVa=function(a){switch(a){case "RESTRICTION_SEVERITY_UNSPECIFIED":return 0;case "NONE_DETECTED":return 1;case "RESTRICTED":return 2;case "RESTRICTED_PLUS":return 3;default:throw Error("le`"+a);}},LVa=function(a){a&1&&(I(0,"span"),Q(1),J());
a&2&&(a=P(),C(),R("Retain ",a.resource," as long as issue?"))},MVa=function(a){a&1&&(I(0,"span"),Q(1,"Apply component retention settings?"),J())},NVa=function(a){a&1&&(I(0,"span")(1,"p"),Q(2),J(),I(3,"p")(4,"b"),Q(5,"Please note long retention is not appropriate in many circumstances for personal data, user data, or any other forms of sensitive data being stored."),J(),K(6,"br"),Q(7," Before selecting this option, you should make sure that Legal and Privacy have approved this non-standard retention period."),
J()());a&2&&(a=P(),C(2),R("Are you sure you want to override any component retention settings, and retain this ",a.resource," as long as issue?"))},OVa=function(a){a&1&&(I(0,"span")(1,"p"),Q(2),J()());a&2&&(a=P(),C(2),Ug("This ",a.resource," is currently retained as long as the issue. If you select this option, this ",a.resource," will be scheduled for deletion based on the component retention settings."))},PVa=function(a){if(a&1){var b=x();I(0,"mat-checkbox",8);Xg("ngModelChange",function(c){z(b);
var d=P();Wg(d.acknowledgeToMatchIssueRetention,c)||(d.acknowledgeToMatchIssueRetention=c);return A(c)});Q(1," I acknowledge ");J()}a&2&&(a=P(),Vg("ngModel",a.acknowledgeToMatchIssueRetention))},QVa=function(){var a=Math.random;this.initialMaxDelayMs_=500;this.maxDelayMs_=512E3;this.random_=a;this.reset()},Lq=function(a){return new Kq((a instanceof Kq?a:new Kq(a)).value,!0)},RVa=function(a){return{queryParams:a.getQueryParameters(),extraHeaders:a.getHeaders(),withCredentials:a.usesCredentialedRequests()}},
VVa=function(a){if(a.oauthTokens){var b=a.oauthTokens;return Je(b).then(function(c){c=new bo(c);b.subscribe(c);return new SVa(c)})}return a.apiKey?a.appAuthTokens?Promise.resolve(new TVa(a.apiKey,a.appAuthTokens)):Promise.resolve(new UVa(a.apiKey,a.authUser)):Promise.reject(Error("we"))},WVa=function(a){switch(a){case 200:return 0;case 400:return 3;case 401:return 16;case 403:return 7;case 404:return 5;case 409:return 10;case 412:return 9;case 429:return 8;case 501:return 12;case 503:return 14;case 504:return 4;
default:return 2}},XVa=function(a){return{send:function(b,c,d,e,f,h,l){var q=new Mq(a);q.listen("complete",c);q.listenOnce("ready",function(){q.dispose()});h&&(q.timeoutInterval_=Math.max(0,h));l&&(q.withCredentials_=l);q.send(b,d,e,f);return q}}},YVa=function(a){return new re(function(b){var c=Nq(function(){b.next({});b.complete()},a);return function(){Oq(c)}})},ZVa=function(a){return(new Pq).setName(a)},bWa=function(a){var b=new Qq;a=k(a.parts);for(var c=a.next();!c.done;c=a.next()){var d=c.value;
c=new $Va;if(d.value instanceof Rq)d.isDecreasing?xl(c,4,Sq,Lb(d.value.toString())):xl(c,2,Sq,Lb(d.value.toString()));else if(typeof d.value==="string")d.isDecreasing?kl(c,3,Sq,d.value):kl(c,1,Sq,d.value);else if(typeof d.value==="number")d.isDecreasing?xl(c,9,Sq,yb(d.value)):xl(c,10,Sq,yb(d.value));else if(d.value instanceof Uint8Array)d.isDecreasing?xl(c,5,Sq,kb(d.value,!1,!0,!1)):xl(c,7,Sq,kb(d.value,!1,!0,!1));else if(d.value instanceof Tq)if(d.isDecreasing){var e=c;d=aWa(d.value);Fl(e,11,Sq,
d)}else e=c,d=aWa(d.value),Fl(e,12,Sq,d);else d.value instanceof Uq&&(e=d.value.rep,typeof e==="number"?d.isDecreasing?xl(c,9,Sq,yb(e)):xl(c,10,Sq,yb(e)):typeof e==="string"&&(d.isDecreasing?xl(c,6,Sq,e==null?e:Pca(e)):xl(c,8,Sq,e==null?e:Pca(e))));b.addParts(c)}return b},iWa=function(a,b){if(a instanceof Vq)return b.getPartsList().length>0?null:cWa.apply(Vq,w(a.parts));a=Array.of.apply(Array,w(a.root.parts));b=k(b.getPartsList());for(var c=b.next();!c.done;c=b.next())switch(c=c.value,fl(c,Sq)){case 4:a.push(Lq(Wq(dWa(c,
ul(c,Sq,4)))));break;case 2:a.push(new Kq(Wq(dWa(c,ul(c,Sq,2)))));break;case 6:a.push(Lq(new Uq(eWa(c,6))));break;case 8:a.push(new Kq(new Uq(eWa(c,8))));break;case 10:a.push(new Kq(new Uq(fWa(c,10))));break;case 9:a.push(Lq(new Uq(fWa(c,9))));break;case 3:a.push(Lq(Pm(c,ul(c,Sq,3))));break;case 1:a.push(new Kq(Pm(c,ul(c,Sq,1))));break;case 7:var d=void 0;a.push(new Kq((d=gWa(c,ul(c,Sq,7)))==null?void 0:new Uint8Array(hc(d)||0)));break;case 5:d=void 0;a.push(Lq((d=gWa(c,ul(c,Sq,5)))==null?void 0:
new Uint8Array(hc(d)||0)));break;case 12:c=hWa(Al(c,wj,12,Sq));if(c===null)return null;a.push(new Kq(c));break;case 11:c=hWa(Al(c,wj,11,Sq));if(c===null)return null;a.push(Lq(c));break;case 0:return null;default:return null}return cWa.apply(Vq,w(a))},Xq=function(a){return{firstPartyUri:new Dp("https://"+a+"-signaler-pa.clients6.google.com"),thirdPartyUri:new Dp("https://"+a+"-signaler-pa.googleapis.com")}},mWa=function(a){if(a&1){var b=x();I(0,"input",9,2);M("change",function(){z(b);var c=P();if(jWa(c)){var d=
Yq(c);kWa(c);lWa(c,!0);Yq(c).focus();d.scrollTop=c.scrollPosition;d.selectionEnd=c.textAreaLastCursorLocation;d.dispatchEvent(new KeyboardEvent("keydown"));c.contentChange.emit(c.getValue())}return A()})("keyup",function(c){z(b);var d=P();document.activeElement===Zq(d)&&(c.key==="Enter"||c.key==="Tab"?(d.taggingInProgress=!1,lWa(d,!0),Yq(d).focus()):lWa(d));return A()});J()}a&2&&(a=P(),F("value",a.autocompleteUserName))},nWa=function(a){a&1&&K(0,"div",8,3)},oWa=function(a){a&1&&xg(0)},pWa=function(a){a&
1&&xg(0)},qWa=function(a){a=a.getIt();return{matchedPatterns:Vi(a,1,Wi())}},rWa=function(a){a&1&&(I(0,"p",5),Q(1),I(2,"a",11),Q(3," Learn more "),J()());a&2&&(a=P(),C(),R(" Your comment contains restricted words: ",$q(a.bannedWordsChecker),". Review your comment before posting. "))},sWa=function(a){a&1&&K(0,"b-live-preview",7);a&2&&(a=P(),F("comment",a.newComment.text)("issueId",a.origComment.issueId)("audience",a.origComment.audience)("formattingMode",a.newComment.formattingMode))},tWa=function(a){if(a&
1){var b=x();I(0,"section")(1,"div",12)(2,"b-recaptcha",13);M("onUpdate",function(c){z(b);var d=P();return A(d.recaptchaResponse=c)});J()()()}},uWa=function(a){return function(b){var c,d;return{resourceId:b.issueId,displayText:(c=b.snapshot[0].title)!=null?c:"",status:(d=b.snapshot[0].status)!=null?d:null,relations:[a]}}},vWa=function(a){var b=[],c=new Map;a=k(a);for(var d=a.next();!d.done;d=a.next())if(d=d.value,d.displayText!=="")if(c.get(d.resourceId)){var e=c.get(d.resourceId);e.relations=[].concat(w(e.relations),
w(d.relations))}else c.set(d.resourceId,d),b.push(d);return b},wWa=function(a,b){a&1&&K(0,"mat-icon",5);a&2&&(F("svgIcon",b.icon)("matTooltip",b.tooltip),eg("aria-label",b.tooltip))},xWa=function(a){a&1&&(vg(0),Q(1,"\u2026 >"),wg())},yWa=function(a){a&1&&(vg(0),Q(1,"\u2026"),wg())},zWa=function(a){if(a&1){var b=x();I(0,"a",13);M("click",function(){z(b);var c=P(4);return A(c.compactMode$.next(!1))});D(1,xWa,2,0,"ng-container")(2,yWa,2,0,"ng-container");J()}a&2&&(a=P().$implicit,C(),G(a.isSpliced?1:
-1),C(),G(a.isTruncated?2:-1))},AWa=function(a){a&1&&(I(0,"a",14),Q(1),J());if(a&2){a=P().$implicit;var b=L(5);ng("muted",a.name==a.id);F("routerLinkObj",a.route)("onedevHovercardTrigger",b);C();Tg(a.name)}},BWa=function(a){a&1&&(I(0,"span",15),Q(1),J());a&2&&(a=P().$implicit,ng("muted",a.name==a.id),C(),Tg(a.name))},CWa=function(a){a&1&&Q(0," > ")},DWa=function(a){a&1&&(vg(0),K(1,"b-component-path-card",16,1),wg());if(a&2){a=L(2);var b=P().$implicit;C();F("onedevIsHovercardReady",a.init)("componentId",
b.id)}},EWa=function(a,b){a&1&&(D(0,zWa,3,2,"a",9)(1,AWa,2,5,"a",10)(2,BWa,2,3,"span",11)(3,CWa,1,0),I(4,"onedev-hovercard",null,0),D(6,DWa,3,2,"ng-container",12),J());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;var d=P(3);G(a.isSpliced||a.isTruncated?0:-1);C();G(d.viewOnly?2:1);C(2);G(c!==b-1?3:-1)}},FWa=function(a,b){a&1&&(I(0,"span",6),tg(1,EWa,7,3,"onedev-hovercard",null,sg),J());a&2&&(C(),ug(b))},GWa=function(a){a&1&&(I(0,"span"),Q(1,"[Archived]"),J())},HWa=function(a){if(a&1){var b=x();
I(0,"button",17);M("click",function(){z(b);P(2).editing=!0;return A()});K(1,"mat-icon",18);J()}},IWa=function(a){a&1&&(I(0,"a",8),S(1,"async"),K(2,"mat-icon",19),J());if(a&2){var b;a=P(2);F("routerLinkObj",a.popoutLink((b=U(1,1,a.component$))==null?null:b.componentId))}},JWa=function(a){a&1&&(I(0,"b-async-data-placeholder",2),S(1,"async"),I(2,"div",4),S(3,"async"),S(4,"async"),D(5,wWa,1,3,"mat-icon",5),S(6,"async"),D(7,FWa,3,0,"span",6),S(8,"async"),D(9,GWa,2,0,"span"),S(10,"async"),D(11,HWa,2,0,
"button",7)(12,IWa,3,3,"a",8),J()());if(a&2){var b,c;a=P();F("isReady",U(1,10,a.isReady$));C(2);ng("public",U(3,12,a.showPublicIndicator$))("partner",U(4,14,a.showPartnerIndicator$));C(3);G((b=U(6,16,a.folder$))?5:-1,b);C(2);G((c=U(8,18,a.componentPath$))?7:-1,c);C(2);G(U(10,20,a.isArchived$)?9:-1);C(2);G(a.viewOnly?-1:11);C();G(a.popoutLink?12:-1)}},LWa=function(a){if(a&1){var b=x();I(0,"b-team-component-picker",20);S(1,"async");M("selectedComponentChange",function(c){z(b);var d=P();return A(KWa(d,
c))})("dropdownClosed",function(){z(b);var c=P();return A(KWa(c))});J()}a&2&&(a=P(),F("selectedComponent",U(1,3,a.component$))("isRequired",!0)("shouldFocus",!0))},MWa=function(a){if(a&1){var b=x();I(0,"button",6);M("click",function(){z(b);var c=P(2);return A(c.removeHotlist.emit())});K(1,"mat-icon",7);J()}a&2&&(a=P(2),ng("invisible",a.disabled),eg("aria-disabled",a.disabled)("aria-label","Remove the hotlist "+a.hotlist.name))},NWa=function(a){a&1&&(I(0,"span",1)(1,"span",2)(2,"a",3),Q(3),J()(),D(4,
MWa,2,4,"button",4),J(),I(5,"onedev-hovercard",null,0),K(7,"b-hotlist-card",5),J());if(a&2){a=L(6);var b=P();mg("padding-right",b.removable?0:"10px");ng("muted",b.disabled);F("onedevHovercardTrigger",a)("onedevHovercardActive",b.showHovercard);C(2);F("href",b.ROUTES.viewHotlist.makeHref(b.hotlist.hotlistId),of);eg("aria-label",b.getAriaLabel(b.hotlist));C();Tg(b.hotlist.name);C();G(b.removable?4:-1);C(3);F("hotlist",b.hotlist)}},br=function(a){for(var b=k(OWa),c=b.next();!c.done;c=b.next())if(c=c.value,
c.accessLevel===a)return c.title;return ar.title},PWa=function(a){a&1&&K(0,"mat-icon",7);a&2&&(a=P(),F("matTooltip",a.disabledDropdownTooltip))},QWa=function(a,b){if(a&1){var c=x();I(0,"button",10);M("click",function(){var d=z(c).$implicit,e=P();e.selectedDisplay$.next(d);e.updatedAccessLimitLevel.emit(d.accessLevel);return A()});I(1,"div",11);K(2,"mat-icon",12);I(3,"span",13);Q(4);J()();I(5,"div",14);Q(6);J()()}a&2&&(a=b.$implicit,b=P(),C(2),F("svgIcon",a.icon),C(2),R(" ",a.title," "),C(2),R(" ",
b.implicitAccessEnabled?a.descriptionWithExpandedAccess:a.descriptionNoExpandedAccess," "))},SWa=function(a,b){if(a&1){var c=x();I(0,"mat-checkbox",19);M("click",function(d){z(c);return A(d.stopPropagation())})("change",function(d){var e=z(c).$implicit,f=P(2);e=e.value.user;d=d.source.checked;var h=f.collaboratorGroupsEmailToDetailsMap.get(e.emailAddress).specifiedOnIssue;d?(h||f.addedCollaboratorGroups.add(e),f.removedCollaboratorGroups.delete(e)):(h&&f.removedCollaboratorGroups.add(e),f.addedCollaboratorGroups.delete(e));
var l;RWa(f,(l=f.updatedAccessLimitLevel$.getValue())!=null?l:f.defaultAccessLimitLevel);return A()});Q(1);J()}a&2&&(a=b.$implicit,F("id",a.key)("name",a.key)("checked",a.value.specifiedOnIssue),C(),R(" ",a.key," "))},TWa=function(a){a&1&&(I(0,"div")(1,"span",16),Q(2,"Add collaborator groups"),J(),K(3,"mat-icon",7),J(),I(4,"div",17),tg(5,SWa,2,4,"mat-checkbox",18,sg),S(7,"keyvalue"),J());a&2&&(a=P(),C(3),Gg("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP),C(2),ug(U(7,1,a.collaboratorGroupsEmailToDetailsMap)))},
VWa=function(a){if(a&1){var b=x();I(0,"button",20);M("click",function(){z(b);var c=P();return A(c.onPressCancel())});Q(1," Cancel ");J();I(2,"button",21);S(3,"async");M("click",function(){z(b);var c=P();return A(c.onPressSave())});Q(4," Save ");J()}a&2&&(a=P(),C(2),F("disabled",!UWa(a,U(3,1,a.hasAccessLimitLevelSelectionChanged$))))},WWa=function(a){if(a&1){var b=x();I(0,"button",22);M("click",function(){z(b);var c=P();return A(c.onPressCancel())});Q(1," Close ");J()}},cr=function(a){var b;a=a==null?
void 0:(b=a.accessLimit)==null?void 0:b.accessLevel;return a==="EXTERNAL_PARTNER"||a==="EXTERNAL_PUBLIC"},XWa=function(a){var b;return(a==null?void 0:(b=a.accessLimit)==null?void 0:b.accessLevel)==="EXTERNAL_PARTNER"},dr=function(a){var b;return(a==null?void 0:(b=a.accessLimit)==null?void 0:b.accessLevel)==="EXTERNAL_PUBLIC"},YWa=function(a,b){return a?a.join(" > "):String(b)},ZWa=function(a){switch(a){case "INTERNAL":return"Google internal (can be made visible to Google FTEs and TVCs)";case "EXTERNAL_PARTNER":return"Google partners (can be made visible to external Google partners)";
case "EXTERNAL_PUBLIC":return"Public (can be made visible to anyone with a Google Account)";case "ACCESS_LEVEL_UNSPECIFIED":return"Not specified";default:return""}},er=function(a){var b={};a=a.replace(/\r/g,"").split("\n");for(var c=0;c<a.length;c++){var d=a[c],e=d.indexOf(":");e<0||(b[d.substring(0,e)]=d.substring(e+2,d.length))}return b},fr=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase())return a[c]},$Wa=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase()){delete a[c];
break}},bXa=function(a){a=Gc(a);for(var b=0;b<aXa.length;++b){var c=aXa[b],d=fr(a,c);d&&(a["X-Goog-Upload-Header-"+c]=d,$Wa(a,c))}return a},cXa=function(a){a=Gc(a);$Wa(a,"X-Goog-Upload-Status");return a},eXa=function(a){if(a&1){var b=x();I(0,"button",3);M("fileSelected",function(c){z(b);var d=P();return A(dXa(d,c))});K(1,"mat-icon",4);J()}a&2&&(a=P(),F("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},fXa=function(a){if(a&1){var b=x();I(0,"button",
5);M("fileSelected",function(c){z(b);var d=P();return A(dXa(d,c))});K(1,"mat-icon",4);Q(2," Add attachments ");J()}a&2&&(a=P(),F("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},gXa=function(a){a&1&&(I(0,"span"),Q(1),S(2,"humanFileSize"),S(3,"humanFileSize"),J());if(a&2){var b;a=P().$implicit;C();Ug(" ",U(2,2,a.transferredBytes)," of ",U(3,4,(b=a.size)!==null&&b!==void 0?b:0)," ")}},hXa=function(a){a&1&&(I(0,"span",6),Q(1),J());a&2&&(a=P().$implicit,
C(),R(" ",a.errorMessage," "))},iXa=function(a){a&1&&(I(0,"span",6),Q(1),S(2,"humanFileSize"),J());if(a&2){var b;a=P().$implicit;C();R(" ",U(2,1,(b=a.size)!==null&&b!==void 0?b:0)," ")}},kXa=function(a,b){if(a&1){var c=x();I(0,"div",1)(1,"div",2);K(2,"mat-icon",3);I(3,"span",4);Q(4);J();I(5,"span",5);D(6,gXa,4,6,"span")(7,hXa,2,1,"span",6)(8,iXa,3,3,"span",6);J()();I(9,"button",7);M("click",function(){var d=z(c).$implicit,e=P(2);return A(e.cancel(d))});J()()}a&2&&(a=b.$implicit,b=P(2),F("ngClass",
bh(8,jXa,a.state===b.uploadStates.ERROR)),C(3),F("matTooltip",a.name),C(),Tg(a.name),C(2),G(a.state===b.uploadStates.UPLOADING?6:-1),C(),G(a.state===b.uploadStates.ERROR?7:-1),C(),G(a.state===b.uploadStates.COMPLETE?8:-1),C(),F("matTooltip",a.state===b.uploadStates.UPLOADING?"Cancel upload":"Remove attachment"),eg("aria-label","Remove attachment"+a.name))},lXa=function(a){a&1&&(I(0,"div",0),tg(1,kXa,10,10,"div",1,sg),J());a&2&&(a=P(),C(),ug(a.uploads))},mXa=function(a){this.action=a;this.wfv=!1},
nXa=function(a,b){mXa.call(this,"set-drive-options");this.appId=a;this.appOrigin=b},oXa=function(a){a=a&&a.getWindow()||window;return a.gadgets&&a.gadgets.rpc},qXa=function(a,b){var c=b&&b.getWindow()||window;if(oXa(b))a();else if(pXa)pXa.push(a);else var d=pXa=[a],e=c.setInterval(function(){if(oXa(b)){c.clearInterval(e);for(var f=0;f<d.length;f++)d[f]();pXa=null}},100)},sXa=function(a,b){var c=new gr(a);hr(b,c);var d={passive:!1};b.listen(c,"mousewheel",function(e){return void rXa(a,e)},d).listen(a,
"scroll",function(e){return void rXa(a,e)},d)},rXa=function(a,b){var c;a:{for(c=b.target;c;){if(c.nodeType==1){var d=ir(c,"overflowY");if(d=="auto"||d=="scroll")break a}c=c.parentNode}c=null}if(!c||!tXa(a,c)||c.scrollHeight==c.clientHeight||b.deltaY>0&&Math.abs(c.scrollTop-(c.scrollHeight-c.clientHeight))<=1||b.deltaY<0&&c.scrollTop==0)b.preventDefault(),b.stopPropagation()},uXa=function(a){if(a&1){var b=x();I(0,"div",0);K(1,"mat-icon",1);I(2,"div",2);Q(3," Comment and vote +1 on this issue to increase visibility ");
J();I(4,"div",3)(5,"button",4);M("click",function(c){z(b);var d=P();return A(d.onClick(c))});Q(6,"Comment and vote +1");J()()()}a&2&&(C(),F("matTooltip","The +1 button is located in the top right corner of the issue details page"))},vXa=function(a){if(a&1){var b=x();I(0,"b-plus-one-comment-callout",7);M("onSubmitComment",function(c){z(b);var d=P();return A(d.submitComment(c))});J()}a&2&&(a=P(),F("isPlusOneText",a.comment.value.trim()==="+1"))},wXa=function(a){if(a&1){var b=x();I(0,"b-drive-attachment",
11);M("onPickDoc",function(c){z(b);var d=P(2);d.comment&&(d.comment.value=d.comment.formattingMode==="MARKDOWN"?d.comment.value+("\n\n["+c.name+"]("+c.url+")"):d.comment.value+("\n\n"+c.name+" - "+c.url));return A()})("onCloneBlob",function(c){z(b);var d=P(2);return A(d.addUpload(c))});J()}a&2&&(a=P(2),F("disabled",a.attachmentsDisabled))},xXa=function(a){if(a&1){var b=x();I(0,"button",14);M("click",function(){z(b);var c=P(3);return A(c.onRestrict.emit())});K(1,"mat-icon",15);J()}a&2&&(a=P(3),F("disabled",
a.attachmentsDisabled))},yXa=function(a){if(a&1){var b=x();I(0,"button",16);M("click",function(){z(b);var c=P(3);return A(c.onRestrict.emit())});K(1,"mat-icon",15);Q(2);J()}a&2&&(a=P(3),C(2),R(" ",a.getRestrictedLabel()," "))},zXa=function(a){a&1&&(I(0,"div",10),D(1,xXa,2,1,"button",12)(2,yXa,3,1,"button",13),J());a&2&&(a=P(2),C(),G(a.isRestricted()?2:1))},AXa=function(a){if(a&1){var b=x();I(0,"div",6);Eg(1,2,[1,"goog-inline-block"]);I(2,"b-attachment-selector",8);M("onSelect",function(c){z(b);var d=
P();return A(d.uploadFile(c))});J();D(3,wXa,1,1,"b-drive-attachment",9)(4,zXa,3,1,"div",10);J()}a&2&&(a=P(),C(2),F("disabled",a.attachmentsDisabled),C(),G(a.currentTracker?-1:3),C(),G(a.showRestrictionOptions?4:-1))},BXa=function(a){a&1&&(I(0,"div"),K(1,"b-live-preview",17),J());a&2&&(a=P(),C(),F("comment",a.comment.value)("issueId",a.issueId)("audience",a.audience)("formattingMode",a.comment.formattingMode))},CXa=function(a){a&1&&(I(0,"p",6),Q(1),I(2,"a",15),Q(3," Learn more "),J()());a&2&&(a=P(4),
C(),R(" Your comment contains restricted words: ",$q(a.bannedWordsChecker),". Review your comment before posting. "))},DXa=function(a){if(a&1){var b=x();I(0,"div",7)(1,"b-recaptcha",16);M("onUpdate",function(c){z(b);var d=P(4);return A(d.recaptchaResponse$.next(c))});J()()}},EXa=function(a){a&1&&xg(0)},FXa=function(a){a&1&&D(0,EXa,1,0,"ng-container",17);a&2&&(P(4),a=L(3),F("ngTemplateOutlet",a))},HXa=function(a){if(a&1){var b=x();I(0,"span")(1,"mat-checkbox",18);S(2,"async");S(3,"async");M("change",
function(){z(b);var c=P(4);return A(GXa(c))});Q(4," CC Me ");J()()}a&2&&(a=P(4),C(),F("checked",!!U(2,2,a.autoCcOnComment$))("disabled",!!U(3,4,a.isCurrentUserCCd$)))},IXa=function(a){a&1&&(I(0,"mat-checkbox",19),Q(1," CC Me "),J());a&2&&F("checked",!0)("disabled",!0)},JXa=function(a){a&1&&(I(0,"span",10),D(1,IXa,2,2,"mat-checkbox",19),S(2,"async"),J());a&2&&(a=P(4),C(),G(U(2,1,a.isCurrentUserCCd$)?1:-1))},KXa=function(a){if(a&1){var b=x();I(0,"b-markdown-toggle",20);M("change",function(c){z(b);var d=
P();return A(d.formattingMode=c)});J()}a&2&&(a=P(),F("initialValue",a.formattingMode))},LXa=function(a){a&1&&(K(0,"b-access-limits-chip",12),S(1,"async"));a&2&&(a=P(4),F("issueId",a.issueId)("componentId",a.componentIdString)("accessLimitLevel",U(1,3,a.issueAccessLimitLevel$)))},MXa=function(a){a&1&&K(0,"b-issue-visibility-chip",13);a&2&&(a=P(4),F("issueId",a.issueId))},NXa=function(a){a&1&&(K(0,"b-component-access-level-indicator",14),S(1,"async"));a&2&&(a=P(4),F("accessLevel",U(1,1,a.accessLevel$)))},
PXa=function(a,b){if(a&1){var c=x();I(0,"b-comment-box",5,1);S(2,"async");S(3,"async");S(4,"async");S(5,"async");M("onHotkey",function(){z(c);var l=L(1);return A(OXa(l,"editpage-hotkey"))})("onChange",function(){z(c);var l=P(3);return A(l.saveCommentDraft())})("onFocusEvent",function(){z(c);var l=P(3);return A(l.wasFocused=!0)})("onSubmit",function(l){z(c);var q=P(3);return A(q.submitCommentBox(l))})("onRestrict",function(){z(c);var l=P(3);return A(l.showNewContentJudgementDialog())})("onPlusOneTextEntered",
function(l){z(c);var q=P(3);q.commentButtonStyle=q.isPlusOneCalloutEnabled()&&l?"hairline":"fill";return A()});D(6,CXa,4,1,"p",6)(7,DXa,2,0,"div",7);S(8,"async");I(9,"div",8);D(10,FXa,1,1,"ng-container");I(11,"div",9);Eg(12);D(13,HXa,5,6,"span");S(14,"async");S(15,"async");D(16,JXa,3,3,"span",10);S(17,"async");S(18,"async");D(19,KXa,1,1,"b-markdown-toggle",11);S(20,"async");D(21,LXa,2,5,"b-access-limits-chip",12);S(22,"async");J();D(23,MXa,1,1,"b-issue-visibility-chip",13)(24,NXa,2,3,"b-component-access-level-indicator",
14);J()()}if(a&2){var d,e,f;a=P(2);var h=P();F("hotkey",h.HOTKEYS.FOCUS_COMMENT_BOX)("supportsPreview",!0)("issueId",a.issueId)("comment",b)("componentId",a.componentId)("placeholder",(d=U(2,19,h.commentPlaceholderText$))!==null&&d!==void 0?d:void 0)("judgementForNewContent",(e=U(3,21,h.judgementForNewContent$))!==null&&e!==void 0?e:void 0)("audience",(f=U(4,23,h.audience$))!==null&&f!==void 0?f:void 0)("disabled",U(5,25,h.commentBoxEnabled$)===!1)("isPlusOneCalloutEnabled",h.isPlusOneCalloutEnabled())("warn",
h.bannedWordsChecker.showWarning());C(6);G(h.bannedWordsChecker.showWarning()?6:-1);C();G(U(8,27,h.showRecaptcha$)?7:-1);C(3);G(h.showActionsAfterPreview?-1:10);C(3);G(!U(14,29,h.isCurrentUserCCd$)&&U(15,31,h.hasAclToEdit$)?13:-1);C(3);G(U(17,33,h.isCurrentUserCCd$)||!U(18,35,h.hasAclToEdit$)?16:-1);C(3);G(U(20,37,h.hasAclToComment$)?19:-1);C(2);G(U(22,39,h.isAccessLimited$)?21:-1);C(2);G(h.enableNewVisibilityChips?23:24)}},QXa=function(a){a&1&&xg(0)},RXa=function(a){a&1&&D(0,QXa,1,0,"ng-container",
17);a&2&&(P(3),a=L(3),F("ngTemplateOutlet",a))},TXa=function(a){a&1&&(I(0,"h3",2),Q(1,"Add comment"),J(),I(2,"div",3),S(3,"async"),D(4,PXa,25,41,"b-comment-box",4),S(5,"async"),J(),D(6,RXa,1,1,"ng-container"));if(a&2){var b;a=P(2);C(2);F("ngClass",ch(7,SXa,U(3,3,a.empty$),!a.wasFocused));C(2);G((b=U(5,5,a.comment$))?4:-1,b);C(2);G(a.showActionsAfterPreview?6:-1)}},UXa=function(a,b){a&1&&D(0,TXa,7,10);a&2&&G(b.isDeleted?-1:0)},VXa=function(a){if(a&1){var b=x();I(0,"b-button",22);S(1,"async");M("onAction",
function(c){z(b);var d=P(2);return A(d.submitCommentBox(c))})("click",function(c){z(b);var d=P(2);return A(d.submitCommentBox(c))});Q(2);J()}a&2&&(a=P(2),F("format",a.commentButtonStyle)("disabled",U(1,4,a.commentButtonEnabled$)===!1)("color",a.bannedWordsChecker.showWarning()?"warn":"primary"),C(2),R(" ",a.bannedWordsChecker.showWarning()?"Comment Anyway":"Comment"," "))},WXa=function(a){a&1&&D(0,VXa,3,6,"b-button",21);a&2&&(a=P(),G(a.showCommentButton?0:-1))},XXa=function(a,b){b&&(b.helpText!=null&&
(a.helpText=b.helpText),b.helpTextWithSelections!=null&&(a.helpTextWithSelections=b.helpTextWithSelections),b.shouldAutofocus!=null&&(a.shouldAutofocus=b.shouldAutofocus),b.autocompleteGroupingType!=null&&a.setAutocompleteGroupingType(b.autocompleteGroupingType),b.autocompleteHeader!=null&&a.setAutocompleteHeader(b.autocompleteHeader),b.autocompleteMaxResultsBeforeScroll!=null&&a.setAutocompleteMaxResultsBeforeScroll(b.autocompleteMaxResultsBeforeScroll),b.density!=null&&a.setDensity(b.density),b.theme!=
null&&a.setTheme(b.theme),b.showSuggestions!=null&&a.setShowSuggestions(b.showSuggestions))},YXa=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(3),C(),R(" ",a.removeSelfActionDescription," "))},ZXa=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(3),C(),R(" ",a.includeSelfActionDescription," "))},$Xa=function(a){if(a&1){var b=x();I(0,"div",21);M("click",function(){z(b);var c=P(2);return A(c.userInclusionToggle.emit())})("keydown.enter",function(c){z(b);P(2).userInclusionToggle.emit();c.stopPropagation();
c.preventDefault();return A()})("keydown.space",function(c){z(b);P(2).userInclusionToggle.emit();c.stopPropagation();c.preventDefault();return A()});D(1,YXa,2,1,"span")(2,ZXa,2,1,"span");J()}a&2&&(a=P(2),ng("disabled",!!a.isSaving),F("matTooltip",a.isCurrentUserInCollection?a.removeSelfActionLongDescription:a.includeSelfActionLongDescription),eg("aria-disabled",!!a.isSaving)("aria-label",a.isCurrentUserInCollection?a.removeSelfActionLongDescription:a.includeSelfActionLongDescription),C(),G(a.isCurrentUserInCollection?
1:-1),C(),G(!a.isCurrentUserInCollection&&a.isAllowedToEditCollection?2:-1))},aYa=function(a){a&1&&(I(0,"div",19),D(1,$Xa,3,7,"div",20),J());a&2&&(a=P(),C(),G(a.isCurrentUserInCollection||!a.isCurrentUserInCollection&&a.isAllowedToEditCollection?1:-1))},bYa=function(a){a&1&&K(0,"input",23);a&2&&(a=P(2),gg("aria-label","Addition to ",a.title,""),F("bContactAutocomplete","MULTI"))},dYa=function(a){if(a&1){var b=x();I(0,"div",30);M("peoplekitSearchBarSelectionChange",function(c){z(b);var d=P(2);return A(cYa(d,
c))});J()}a&2&&(a=P(2),gg("aria-label","Addition to ",a.title,""),F("peoplekitSearchBarConfig",a.searchbarConfig))},eYa=function(a){a&1&&(I(0,"mat-error"),Q(1),J());a&2&&(a=P(2),hg("aria-label","",a.title," error: ",a.invalidMessage,""),C(),R(" ",a.invalidMessage," "))},fYa=function(a){if(a&1){var b=x();I(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"form",22,4);M("ngSubmit",function(){z(b);var d=L(3),e=L(4),f=P();return A(f.textPopupSubmit(d,e))});D(5,bYa,1,3,"input",23)(6,dYa,1,3,"div",
24);I(7,"div",25)(8,"button",26);K(9,"mat-icon",27);J();I(10,"button",28);M("click",function(){z(b);var d=P();return A(d.closeAddPopup(!0))});K(11,"mat-icon",29);J()();D(12,eYa,2,4,"mat-error");J()()()}if(a&2){a=L(3);var c=P();C(5);G(c.enablePeoplekitAc?6:5);C(3);gg("aria-label","Apply addition to ",c.title,"");F("disabled",!a.valid||!c.isAllowedToEditCollection);C(2);gg("aria-label","Discard addition to ",c.title,"");C(2);G(c.invalidMessage?12:-1)}},gYa=function(a){a&1&&(K(0,"b-user-membership-chip",
32),S(1,"async"));if(a&2){var b;a=P().$implicit;var c=P();F("user",c.getUser(a))("email",a)("teamId",(b=U(1,5,c.teamId$))!==null&&b!==void 0?b:"")("enableSmallChip",!0)("enableGroupIcon",!0)}},hYa=function(a){a&1&&K(0,"b-icon",33)},iYa=function(a){a&1&&(I(0,"b-person-hovercard",34),Q(1),J());a&2&&(a=P().$implicit,F("email",a),C(),R(" ",a," "))},kYa=function(a){if(a&1){var b=x();I(0,"button",36);S(1,"async");M("click",function(){z(b);var c=P(2);return A(c.toggleAccessLimits.emit())});K(2,"b-icon",
37);S(3,"async");J()}a&2&&(a=P(2),F("disabled",!U(1,2,a.hasAclToAdmin$)),C(2),F("ngClass",bh(6,jYa,!U(3,4,a.hasAclToAdmin$))))},lYa=function(a){if(a&1){var b=x();I(0,"button",39,5);M("click",function(){z(b);var d=P(2).$index,e=P();return A(e.removeItem(d))});J()}if(a&2){a=P(2).$implicit;var c=P();hg("aria-label","Remove ",a," from ",c.title,"");F("matTooltip","Remove item")}},mYa=function(a){a&1&&D(0,lYa,2,4,"button",38);a&2&&(a=P(2),G(a.isAllowedToEditCollection?0:-1))},nYa=function(a,b){a&1&&(I(0,
"div",11)(1,"div",31),D(2,gYa,2,7,"b-user-membership-chip",32)(3,hYa,1,0,"b-icon",33),S(4,"async"),D(5,iYa,2,2,"b-person-hovercard",34),J(),D(6,kYa,4,8,"button",35),S(7,"async"),D(8,mYa,1,1),J());if(a&2){var c,d;a=b.$implicit;b=P();C(2);G(b.enableTeamAnnotations?2:-1);C();G(!b.enableTeamAnnotations&&((c=U(4,4,b.groups$))==null?0:c.has(a))?3:-1);C(2);G(b.enableTeamAnnotations?-1:5);C();G(b.toggleAccessLimits.observed&&((d=U(7,6,b.groups$))==null?0:d.has(a))?6:8)}},oYa=function(a){if(a&1){var b=x();
I(0,"button",40);M("beforeOpened",function(){z(b);var d=P();return A(d.invalidMessage="")});Q(1,"Add ");J()}if(a&2){a=P();var c=L(3);gg("aria-label","Add item to ",a.title,"");Fg("dialogLabel","Add item to ",a.title,"");Fg("matTooltip","Add item to ",a.title,"");F("xapInlineDialogClick",c)("overlayPositions",a.overlayPosition)}},pYa=function(a){a&1&&xg(0)},jr=function(a,b){return{originX:a,originY:b}},kr=function(a,b){return{overlayX:a,overlayY:b}},qYa=function(a){a&1&&xg(0)},tYa=function(a){if(a&
1){var b=x();I(0,"div",1);M("keydown",function(c){z(b);var d=P();return A(d.processKeydown(c))});I(1,"div",2);D(2,qYa,1,0,"ng-container",3);J();I(3,"div",4)(4,"button",5);M("click",function(){z(b);var c=P();return A(rYa(c))});Q(5,"Save");J();I(6,"button",6);M("click",function(){z(b);var c=P();return A(sYa(c))});Q(7,"Cancel");J()()()}a&2&&(a=P(),F("cdkTrapFocusAutoCapture",!0),C(2),F("ngTemplateOutlet",a.editorTemplate),C(2),F("disabled",a.saveDisabled))},uYa=function(a){if(a&1){var b=x();I(0,"input",
4,2);M("peoplekitAutocompleteSelectionChange",function(c){z(b);var d=P();return A(d.selectAutocomplete(c))});Xg("ngModelChange",function(c){z(b);var d=P();Wg(d.inputValue,c)||(d.inputValue=c);return A(c)});J()}a&2&&(a=P(),F("peoplekitAutocompleteConfig",a.mergedAutocompleteConfig)("peoplekitSearchSessionOptions",a.sessionOptions),Vg("ngModel",a.inputValue))},vYa=function(a){a&1&&xg(0)},xYa=function(a){a&1&&(vg(0),D(1,vYa,1,0,"ng-container",6),wg());a&2&&(a=P(),C(),F("ngTemplateOutlet",a.selectedUserTemplate)("ngTemplateOutletContext",
bh(2,wYa,a.email)))},yYa=function(a){a&1&&Q(0);a&2&&(a=P(),R(" ",a.email," "))},zYa=function(a){a&1&&(Wd(),I(0,"svg",7),K(1,"path",8),J())},AYa=function(a){a&1&&K(0,"b-user-membership-chip",3);if(a&2){var b;a=P().$implicit;var c=P();F("email",a)("teamId",(b=c.teamId)!==null&&b!==void 0?b:"")("enableSmallChip",!0)}},BYa=function(a,b){a&1&&D(0,AYa,1,3,"b-user-membership-chip",3);a&2&&G(b.$implicit?0:-1)},CYa=function(a){a&1&&K(0,"div",2)},DYa=function(a){a&1&&(vg(0),Eg(1),wg())},EYa=function(a){a&1&&
(Wd(),I(0,"svg",1),K(1,"path",2),J());a&2&&(a=P(),F("matTooltip",a.warning))},FYa=function(a){if(a&1){var b=x();I(0,"b-edit-field",2,0);S(2,"async");S(3,"async");M("valueChange",function(d){z(b);var e=L(1);P().valueChange.emit({editField:e,newEmail:d!==null&&d!==void 0?d:""});return A()});J()}if(a&2){var c;a=P();F("name",a.name)("title",a.title)("type",a.FieldType.TEXT)("value",a.value)("user",a.user)("isUser",!0)("readonly",!U(2,10,a.hasAclToEdit$))("disabled",!!a.isSaving)("showAvailability",!0)("teamId",
(c=U(3,12,a.teamId$))!==null&&c!==void 0?c:"")}},GYa=function(a){if(a&1){var b=x();I(0,"onedev-edit-field")(1,"onedev-field-label");Q(2);J();I(3,"onedev-field-value",3)(4,"b-user-picker",4);S(5,"async");S(6,"async");M("emailChange",function(d){z(b);P().emailChange.emit(d);return A()});J()()()}if(a&2){var c;a=P();C(2);Tg(a.title);C();F("thinking",!!a.isSaving);C();F("user",a.user)("teamId",(c=U(5,5,a.teamId$))!==null&&c!==void 0?c:"")("disabled",!U(6,7,a.hasAclToEdit$))}},KYa=function(a){var b=void 0;
switch(fl(a,HYa)){case 9:b={recommendedIssue:mm(Al(a,gn,9,HYa))};break;case 10:b={recommendedHotlist:Zwa(Al(a,om,10,HYa))}}return{name:a.getName(),source:a.getSource(),resource:a.getResource(),type:IYa[a.getType()],recommendation:Gh(a,5),score:a.getScore(),confidence:JYa[a.getConfidence()],createTime:vj(W(a,wj,8)),content:b}},NYa=function(a){var b=(new lr).setParent(a.parent);a=a.userEngagement;var c=(new mr).setType(LYa[a.type]);a.rejectionReason!==void 0&&ej(c,3,MYa[a.rejectionReason]);return X(b,
mr,2,c)},PYa=function(a){return{recommendations:nj(a,OYa,1,Wi()).map(KYa),nextPageToken:a.getNextPageToken(),totalSize:Vj(a,3)}},QYa=function(a){if(a&1){var b=x();I(0,"b-star-toggle",8);S(1,"async");S(2,"async");M("starClicked",function(){z(b);var c=P(2);return A(c.starClicked.emit())});J()}a&2&&(a=P(2),F("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("acceptInput",!U(1,4,Iq(a.isSavingStar,a.hotlist.hotlistId)))("starred",U(2,6,Iq(a.starredHotlists,a.hotlist.hotlistId))))},
RYa=function(a){a&1&&(I(0,"p",7),Q(1),J());a&2&&(a=P(2),C(),R(" ",a.hotlist.description," "))},SYa=function(a){if(a&1){var b=x();I(0,"div",0)(1,"div",1)(2,"label",2);Q(3);J();I(4,"span",3);D(5,QYa,3,8,"b-star-toggle",4);I(6,"a",5);M("click",function(c){z(b);return A(c.stopPropagation())})("keydown.enter",function(c){z(b);return A(c.stopPropagation())});K(7,"mat-icon",6);J()()();D(8,RYa,2,1,"p",7);J()}a&2&&(a=P(),C(3),R(" ",a.hotlist.name," "),C(2),G(a.shouldShowStar(a.hotlist)?5:-1),C(),F("routerLink",
a.ROUTES.viewHotlist.makeHref(a.hotlist.hotlistId)),C(2),G(!a.isCompact&&a.hotlist.description?8:-1))},TYa=function(a){a&1&&xg(0)},UYa=function(a){a&1&&D(0,TYa,1,0,"ng-container",7);a&2&&(P(),a=L(10),F("ngTemplateOutlet",a))},WYa=function(a){if(a&1){var b=x();I(0,"button",15);M("click",function(){z(b);var c=P(2),d=Ei(c.query$.value);c.allHotlistIds.has(d)?(c.selectedHotlistIds.add(d),nr(c)):VYa(c,d);return A()});Q(1);S(2,"async");I(3,"span",16);Q(4,"(add hotlist by ID)");J()()}a&2&&(a=P(2),C(),R(" ",
U(2,1,a.query$)," "))},XYa=function(a){if(a&1){var b=x();I(0,"button",17);M("click",function(){z(b);P(2).showCreateNewPane=!0;return A()});Q(1);S(2,"async");I(3,"span",16);Q(4,"(create new)");J()()}a&2&&(a=P(2),C(),R(" ",U(2,1,a.query$)," "))},YYa=function(a){a&1&&K(0,"mat-icon",23)},ZYa=function(a){a&1&&K(0,"mat-icon",24)},$Ya=function(a){a&1&&K(0,"mat-icon",25)},aZa=function(a){if(a&1){var b=x();I(0,"div");D(1,YYa,1,0,"mat-icon",23)(2,ZYa,1,0,"mat-icon",24)(3,$Ya,1,0,"mat-icon",25);I(4,"mat-list-option",
26);S(5,"async");M("focus",function(){z(b);P();var e=L(1);return A(e.show())})("blur",function(){z(b);P();var e=L(1);return A(e.hide())});I(6,"hotlist-matlist-option",27);M("starClicked",function(){z(b);var e=P().$implicit,f=P(3);return A(f.toggleStar(e.hotlistId))});J()()()}if(a&2){var c;a=P().$implicit;var d=P(3);qg("flex-kids-x align-items-center left-padding ",a.type,"");C();G(a.type===d.HotlistType.RECOMMENDED?1:a.type===d.HotlistType.USER?2:3);C(3);mg("height","auto");F("selected",d.selectedHotlistIds.has(a.hotlistId))("disabled",
((c=U(5,13,a.permissions$))==null?null:c.appender)===!1)("value",a.hotlistId);C(2);F("hotlist",a)("isCompact",!1)("starredHotlists",d.starredHotlists)("isSavingStar",d.isSavingStar)}},bZa=function(a){if(a&1){var b=x();I(0,"mat-list-option",26);S(1,"async");M("focus",function(){z(b);P();var e=L(1);return A(e.show())})("blur",function(){z(b);P();var e=L(1);return A(e.hide())});I(2,"hotlist-matlist-option",27);M("starClicked",function(){z(b);var e=P().$implicit,f=P(3);return A(f.toggleStar(e.hotlistId))});
J()()}if(a&2){var c;a=P().$implicit;var d=P(3);mg("height","auto");F("selected",d.selectedHotlistIds.has(a.hotlistId))("disabled",((c=U(1,9,a.permissions$))==null?null:c.appender)===!1)("value",a.hotlistId);C(2);F("hotlist",a)("isCompact",!1)("starredHotlists",d.starredHotlists)("isSavingStar",d.isSavingStar)}},cZa=function(a,b){a&1&&(I(0,"div",19,4),S(2,"async"),D(3,aZa,7,15,"div",21)(4,bZa,3,11,"mat-list-option",22),J());if(a&2){var c;a=b.$implicit;b=P(3);F("matTooltip",((c=U(2,2,a.permissions$))==
null?null:c.appender)===!1?b.NO_ACCESS_MESSAGE:"");C(3);G(b.hotlistRecommendationsEnabled?3:4)}},dZa=function(a){if(a&1){var b=x();I(0,"div",20)(1,"span",16);Q(2," The number of hotlists is too large to show at once. ");J();I(3,"button",28);M("click",function(){z(b);var c=P(3);return A(c.forceShowOverflow$.next(!0))});Q(4," Show all anyway ");J()()}},fZa=function(a,b){if(a&1){var c=x();I(0,"mat-selection-list",18);M("selectionChange",function(d){z(c);var e=P(2);return A(e.onChangeMatList(d))})("keydown.meta.enter",
function(){z(c);var d=P(2);return A(d.usePreviousSelectedHotlists=!0)})("keydown.shift.enter",function(){z(c);var d=P(2);return A(d.usePreviousSelectedHotlists=!0)})("keydown.control.enter",function(){z(c);var d=P(2);return A(d.usePreviousSelectedHotlists=!0)});tg(1,cZa,5,4,"div",19,eZa);J();D(3,dZa,5,0,"div",20);S(4,"async")}a&2&&(a=P(2),C(),ug(b),C(2),G(U(4,1,a.isOverflowMode$)?3:-1))},gZa=function(a){if(a&1){var b=x();I(0,"header",8)(1,"h2");Q(2,"Search for Hotlists");J();I(3,"div",9);K(4,"mat-icon",
10);I(5,"input",11,2);M("input",function(){z(b);var d=L(6);P().query$.next(d.value);return A()});J()()();I(7,"section",12,3);D(9,WYa,5,3,"button",13);S(10,"async");D(11,XYa,5,3,"button",14);S(12,"async");D(13,fZa,5,3);S(14,"async");J()}if(a&2){var c;a=P();C(9);G(U(10,3,a.showLoadById$)?9:-1);C(2);G(U(12,5,a.showCreateNew$)?11:-1);C(2);G((c=U(14,7,a.visibleHotlists$))?13:-1,c)}},hZa=function(a){a&1&&xg(0)},iZa=function(a){a&1&&D(0,hZa,1,0,"ng-container",7);a&2&&(P(),a=L(8),F("ngTemplateOutlet",a))},
jZa=function(a){if(a&1){var b=x();I(0,"button",29);M("click",function(){z(b);var c=P();return A(nr(c))});Q(1);J()}a&2&&(a=P(),F("mat-dialog-close",!0)("matTooltip",a.saveBtnTooltip)("disabled",a.pristine),eg("aria-label",a.saveBtnTooltip),C(),R(" ",a.saveBtnLabel," "))},mZa=function(a){if(a&1){var b=x();I(0,"button",30);M("click",function(){z(b);var c=P();return A(kZa(c))});Q(1," Create ");J()}a&2&&(a=P(),F("disabled",!(lZa(a).length>0)))},nZa=function(a){a&1&&(I(0,"header",8)(1,"h2"),Q(2,"Create new hotlist"),
J()(),I(3,"section",31)(4,"div",32)(5,"form",33)(6,"label",34),Q(7,"Name"),J(),K(8,"input",35),I(9,"label",36),Q(10,"Description"),J(),K(11,"textarea",37),I(12,"p",16),Q(13," Note: Access controls can be adjusted after the hotlist is created. "),J()()()());a&2&&(a=P(),C(5),F("formGroup",a.hotlistUnderEdit))},oZa=function(a,b){return a.name.localeCompare(b.name)},pZa=function(a,b){if(a==null||a.trim()==="")return!1;b=b.map(function(c){var d;return(d=c.name)==null?void 0:d.toLowerCase()});a=a.toLowerCase();
return!b.includes(a)},qZa=function(a){var b,c=(b=a==null?void 0:a.added.length)!=null?b:0,d;b=(d=a==null?void 0:a.removed.length)!=null?d:0;return a?c>0&&b===0?["Add ("+c+")","Add "+c+" hotlist(s)"]:c===0&&b>0?["Remove ("+b+")","Remove "+b+" hotlist(s)"]:["Save","Save all changes ("+c+" added, "+b+" removed)"]:["Save","(No changes)"]},rZa=function(a){if(a&1){var b=x();I(0,"b-edit-field",17);S(1,"async");M("valueChange",function(d){z(b);var e=P(2),f=P(2);return A(f.setSeverity(e,d!==null&&d!==void 0?
d:f.IssueSeverity.S2))});J()}if(a&2){a=P(2);var c=P(2);F("name","severity")("title","Severity")("type",c.FieldType.ENUM)("tooltip","Set severity")("value",a.severity)("choices",c.severityChoices)("readonly",!U(1,7,c.hasAclToEdit$))}},sZa=function(a){if(a&1){var b=x();I(0,"b-edit-field",18,0);S(2,"async");M("onHotkey",function(){z(b);var d=L(1);return A(eq(d,null,!0,!1))})("valueChange",function(d){z(b);var e=P(2),f=P(2);return A(f.setPriority(e,d!==null&&d!==void 0?d:f.IssuePriority.P2))});J()}if(a&
2){a=P(2);var c=P(2);F("name","priority")("title","Priority")("type",c.FieldType.ENUM)("tooltip","Set priority")("value",a.priority)("choices",c.priorityChoices)("hotkey",c.HOTKEYS.OPEN_ISSUE_PRIORITY_MENU)("readonly",!U(2,8,c.hasAclToEdit$))}},tZa=function(a,b){if(a&1){var c=x();I(0,"b-hotlist-chip-smart",24);M("removeHotlist",function(){var d=z(c).$implicit,e=P(5),f=P();return A(f.onHotlistRemoved(d,e.issueId))});J()}a&2&&F("id",b.$implicit)},uZa=function(a,b){if(a&1){var c=x();I(0,"div",20)(1,
"button",21);M("click",function(){z(c);var d=P(5);return A(d.openHotlistModal())});K(2,"mat-icon",22);Q(3," Add ");J();tg(4,tZa,1,1,"b-hotlist-chip-smart",23,sg);J()}a&2&&(C(4),ug(b))},vZa=function(a){a&1&&(I(0,"div",11)(1,"div",19)(2,"label"),Q(3,"Hotlists"),J()(),D(4,uZa,6,0,"div",20),J());if(a&2){var b;a=P(3);C(4);G((b=a.snapshot[0].hotlistId)?4:-1,b)}},wZa=function(a,b){if(a&1){var c=x();I(0,"button",30);M("click",function(){var e=z(c),f=P(4),h=P(2);return A(h.setAssignee(f,e))})("onHotkey",function(){var e=
z(c),f=P(4),h=P(2);return A(h.setAssignee(f,e))});K(1,"mat-icon",31);Q(2," Assign to default ");J()}if(a&2){a=P(4);var d=P(2);F("disabled",a.assignee===b)("hotkey",d.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip","Set "+b+" as assignee");eg("aria-label","Set "+b+" as assignee");C();F("svgIcon",a.assignee===b?"done":"add")}},xZa=function(a){if(a&1){var b=x();I(0,"button",32);M("click",function(){z(b);var c=P(4),d=P(2);return A(d.setAssignee(c,d.currentUserEmail))})("onHotkey",function(){z(b);
var c=P(4),d=P(2);return A(d.setAssignee(c,d.currentUserEmail))});K(1,"mat-icon",22);Q(2," Assign to me ");J()}a&2&&F("matTooltip","Assign to me")},yZa=function(a){a&1&&(I(0,"div",26),K(1,"div",27),D(2,wZa,3,5,"button",28),S(3,"async"),D(4,xZa,3,1,"button",29),J());if(a&2){var b;a=P(3);var c=P(2);C(2);G((b=U(3,2,c.defaultAssigneeForComponent$))?2:-1,b);C(2);G(c.showAssignToSelf&&a.assignee!==c.currentUserEmail?4:-1)}},zZa=function(a){if(a&1){var b=x();I(0,"b-single-user-control",25,1);M("onHotkey",
function(){z(b);var f=L(1);return A(f.openEditor())})("valueChange",function(f){z(b);var h=P(2),l=P(2);return A(l.setAssignee(h,f.newEmail))})("emailChange",function(f){z(b);var h=P(2),l=P(2);return A(l.setAssignee(h,f))});J();D(2,yZa,5,4,"div",26);S(3,"async")}if(a&2){var c;a=P(2);var d=P(),e=P();F("name","assignee")("title","Assignee")("hotkey",e.HOTKEYS.CHANGE_ASSIGNEE)("value",a.assignee)("user",(c=d.snapshot[0].assigneeUser)!==null&&c!==void 0?c:void 0);C(2);G(e.sessionIsInternal&&U(3,6,e.hasAclToEdit$)?
2:-1)}},AZa=function(a){if(a&1){var b=x();I(0,"b-edit-field",33,2);S(2,"async");M("valueChange",function(d){z(b);var e=P(2),f=P(2);return A(f.setType(e,d!==null&&d!==void 0?d:f.IssueType.BUG))});J()}if(a&2){a=P(2);var c=P(2);F("name","type")("title","Type")("type",c.FieldType.ENUM)("value",a.type)("choices",c.typeChoices)("readonly",!U(2,6,c.hasAclToEdit$))}},BZa=function(a){if(a&1){var b=x();I(0,"b-edit-field",34,3);S(2,"async");M("onHotkey",function(){z(b);var d=L(1);return A(eq(d,null,!0,!1))})("valueChange",
function(d){z(b);var e=P(2),f=P(2);return A(f.setStatus(e,d!==null&&d!==void 0?d:f.IssueStatus.NEW))});J()}if(a&2){a=P(2);var c=P(2);F("name","status")("title","Status")("type",c.FieldType.ENUM)("value",a.status)("choices",c.statusChoices)("showHotkeyHint",!0)("hotkey",c.HOTKEYS.OPEN_ISSUE_STATUS_MENU)("readonly",!U(2,8,c.hasAclToEdit$))}},DZa=function(a){if(a&1){var b=x();I(0,"b-list-field",35);S(1,"async");M("valuesChange",function(d){z(b);var e=P(2),f=P(2);return A(f.setCodeChanges(e,d.values))});
J()}if(a&2){a=P(2);var c=P(2);F("readonly",!U(1,6,c.hasAclToEdit$))("defaultLineCount",3)("title","Code Changes")("inputValidator",c.codeChangesValidator)("type",c.ListFieldType.CODE_CHANGES)("values",CZa(a,c.sessionIsExternal))}},EZa=function(a){if(a&1){var b=x();I(0,"div",11)(1,"div",19)(2,"label");Q(3,"Component");J()();I(4,"b-component-breadcrumb-chip",36);M("componentChanged",function(d){z(b);var e=P(4);return A(e.setComponent(d))});J()()}if(a&2){a=P(2);var c=P(2);C(4);F("issueId",a.issueId)("componentId",
c.componentId)("compactMode",!0)("handleSave",!1)}},FZa=function(a){if(a&1){var b=x();I(0,"b-post-comment",39);M("commentSubmitted",function(){z(b);var c=P(5);return A(c.hideComment())});J()}a&2&&(a=P(3),F("issueId",a.issueId)("showActionsAfterPreview",!1)("showCommentButton",!1))},GZa=function(a){if(a&1){var b=x();I(0,"button",8);M("click",function(){z(b);var c=P(5);return A(c.showComment())});Q(1,"Add a comment");J()}},HZa=function(a){a&1&&(I(0,"div"),D(1,FZa,1,3,"b-post-comment",37)(2,GZa,2,0,
"button",38),J());a&2&&(a=P(4),C(),G(a.showCommentInput?1:2))},IZa=function(a){if(a&1){var b=x();I(0,"b-multi-user-control",40);S(1,"async");M("userInclusionToggle",function(){z(b);var d=P(2),e=P(2);return A(e.toggleCollaborators(d))})("valueChange",function(d){z(b);var e=P(2),f=P(2);return A(f.setCollaborators(e,d))})("toggleAccessLimits",function(){z(b);var d=P(2),e=P(2);return A(e.toggleAccessLimits(d.issueId))});J()}if(a&2){a=P(2);var c=P(2);F("title","Collaborators")("values",a.collaborators)("users",
a.collaboratorsUsers)("includeSelfActionDescription","Add me")("includeSelfActionLongDescription","Add yourself to collaborators")("overlayPosition",c.overlayPositionList)("removeSelfActionDescription","Remove me")("removeSelfActionLongDescription","Remove yourself from collaborators")("collectionHovercardDescription","Collaborators are people directly working on this issue.")("isCurrentUserInCollection",c.isCurrentUserCollaborator)("isAllowedToEditCollection",U(1,14,c.hasAclToEdit$))("iconName",
"groups_24px")("inputValidator",c.collaboratorUserPrincipalValidator)("checkAccessLimits",!0)}},KZa=function(a){if(a&1){var b=x();I(0,"b-multi-user-control",41);S(1,"async");M("userInclusionToggle",function(){z(b);var d=P(2),e=P(2);return A(JZa(e,d))})("valueChange",function(d){z(b);var e=P(2),f=P(2);return A(f.setCcs(e,d))});J()}if(a&2){a=P(2);var c=P(2);F("title","CC")("values",a.cc)("users",a.ccUsers)("includeSelfActionDescription","CC me")("includeSelfActionLongDescription","Add yourself to CC")("overlayPosition",
c.overlayPositionList)("removeSelfActionDescription","Un-CC me")("removeSelfActionLongDescription","Remove yourself from CC")("collectionHovercardDescription","CC are users who want to receive updates.")("isCurrentUserInCollection",c.isCurrentUserCcd)("isAllowedToEditCollection",U(1,12,c.hasAclToEdit$))("iconName","add_alert_24px")}},LZa=function(a,b){a&1&&(I(0,"div",5),D(1,rZa,2,9,"b-edit-field",9)(2,sZa,3,10,"b-edit-field",10)(3,vZa,5,1,"div",11)(4,zZa,4,8)(5,AZa,3,8,"b-edit-field",12)(6,BZa,3,
10,"b-edit-field",13)(7,DZa,2,8,"b-list-field",14)(8,EZa,5,4,"div",11)(9,HZa,3,1,"div")(10,IZa,2,16,"b-multi-user-control",15)(11,KZa,2,14,"b-multi-user-control",16),J());a&2&&(a=b.$implicit,b=P(3),C(),G(a===b.IssueFieldKey.SEVERITY?1:a===b.IssueFieldKey.PRIORITY?2:a===b.IssueFieldKey.HOTLISTS?3:a===b.IssueFieldKey.ASSIGNEE?4:a===b.IssueFieldKey.TYPE?5:a===b.IssueFieldKey.STATUS?6:a===b.IssueFieldKey.CODE_CHANGES?7:a===b.IssueFieldKey.COMPONENT?8:a===b.IssueFieldKey.COMMENT?9:a===b.IssueFieldKey.COLLABORATORS?
10:a===b.IssueFieldKey.CC_LIST?11:-1))},MZa=function(a){if(a&1){var b=x();I(0,"div",4);tg(1,LZa,12,1,"div",5,sg);I(3,"div",6)(4,"button",7);S(5,"async");M("click",function(){var c=z(b),d=P(2);return A(d.save(c))});Q(6);S(7,"async");J();I(8,"button",8);M("click",function(){z(b);var c=P(2);return A(c.cancelAction.emit())});Q(9,"Cancel");J()()()}a&2&&(a=P(2),C(),ug(a.fields),C(3),F("disabled",U(5,2,a.isSaving$)),C(2),Tg(U(7,4,a.isSaving$)?"Saving":"Save changes"))},NZa=function(a){a&1&&(D(0,MZa,10,6,
"div",4),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.editableIssue$))?0:-1,b)}},OZa=function(a){if(a&1){var b=x();I(0,"b-post-comment",9);M("commentSubmitted",function(){z(b);var c=P(2);return A(c.hideComment())});J()}a&2&&(a=P(),F("issueId",a)("showActionsAfterPreview",!1)("showCommentButton",!1))},PZa=function(a){if(a&1){var b=x();I(0,"button",10);M("click",function(){z(b);var c=P(2);return A(c.showComment())});Q(1,"Add a comment");J()}},SZa=function(a){if(a&1){var b=x();I(0,"div",1)(1,"div");
D(2,OZa,1,3,"b-post-comment",2)(3,PZa,2,0,"button",3);J();I(4,"div",4)(5,"button",5);Q(6,"Close as Won't Fix");J();I(7,"mat-menu",null,0)(9,"button",6);M("click",function(){var d=z(b),e=P();return A(QZa(e,e.IssueStatus.NOT_REPRODUCIBLE,d))});Q(10,"Not reproducible");J();I(11,"button",6);M("click",function(){var d=z(b),e=P();return A(QZa(e,e.IssueStatus.INTENDED_BEHAVIOR,d))});Q(12,"Intended behavior");J();I(13,"button",6);M("click",function(){var d=z(b),e=P();return A(QZa(e,e.IssueStatus.OBSOLETE,
d))});Q(14,"Obsolete");J();I(15,"button",6);M("click",function(){var d=z(b),e=P();return A(QZa(e,e.IssueStatus.INFEASIBLE,d))});Q(16,"Infeasible");J()();I(17,"button",7);M("click",function(){var d=z(b),e=P();return A(RZa(e,d))});Q(18,"Close as duplicate");J()()();I(19,"button",8);M("click",function(){z(b);var d=P();return A(d.cancelAction.emit())});Q(20,"Cancel");J()}if(a&2){a=L(8);var c=P();C(2);G(c.showCommentInput?2:3);C(3);F("matMenuTriggerFor",a)}},TZa=function(a,b){a&1&&(I(0,"span",10),Q(1,
"Reporter:"),J(),K(2,"b-user-image",11)(3,"b-user-display",12),I(4,"onedev-hovercard",null,0),K(6,"b-issue-person-card",13),J());if(a&2){a=L(5);var c=P();C(2);F("email",b);C();F("onedevHovercardTrigger",a)("model",c);C(3);F("email",b)}},UZa=function(a){a&1&&(D(0,TZa,7,4),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.reporterEmail$))?0:-1,b)}},WZa=function(a,b){if(a&1){var c=x();I(0,"div",1)(1,"div",2)(2,"span",3);Q(3,"Needs more info");J();D(4,UZa,2,3);S(5,"async");J();I(6,"b-post-comment",4);M("commentSubmitted",
function(){var e=z(c),f=P();return A(f.save(e))});I(7,"span",5)(8,"mat-checkbox",6);S(9,"async");M("change",function(){z(c);var e=P(),f=!e.shouldAssignToReporter$.value;e.shouldAssignToReporter$.next(f);VZa(!f);return A()});Q(10," Assign to reporter ");J()()();I(11,"div",7)(12,"button",8);S(13,"async");M("click",function(){var e=z(c),f=P();return A(f.save(e))});Q(14);S(15,"async");J();I(16,"button",9);M("click",function(){z(c);var e=P();return A(e.cancelAction.emit())});Q(17,"Cancel");J()()()}if(a&
2){var d;a=P();C(4);G((d=U(5,7,a.reporterUser$))?4:-1,d);C(2);F("issueId",b.issueId)("showActionsAfterPreview",!0)("showCommentButton",!1);C(2);F("checked",!!U(9,9,a.shouldAssignToReporter$));C(4);F("disabled",U(13,11,a.isSaving$));C(2);Tg(U(15,13,a.isSaving$)?"Saving":"Save changes")}},XZa=function(a,b){if(a&1){var c=x();I(0,"iframe",6);M("load",function(){z(c);var d=P();return A(d.contentLoaded=!0)});J()}a&2&&(a=P(),ng("loading",!a.contentLoaded),F("src",b,cja))},YZa=function(a){a&1&&K(0,"mat-spinner",
2)},$Za=function(a){return ZZa.some(function(b){return b.test(a)})},d_a=function(a,b){var c;var d=(c=a.formContent)==null?void 0:c.locale;c=d==null?void 0:d.split("-")[0];d=d&&a_a.includes(d)?d:c&&a_a.includes(c)?c:void 0;d=(d!=null?d:"en").replaceAll("-","_").toLowerCase();var e;a=((e=a.initializationData)==null?0:e.useNightlyRelease)?"nightly":"live";var f;return(b==null?0:(f=b.getEnableAlohaBinarySplit)==null?0:f.call(b))?wi(b_a,a):wi(c_a,a,d)},f_a=function(a,b,c,d){if(e_a)return e_a;var e=d_a(a,
d);return e_a=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(f,h){var l=or(document,"SCRIPT");Wc(l,e);l.onload=function(){b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};l.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};c.body.appendChild(l)})},h_a=function(a,b,c,d){if(g_a)return g_a;var e=d_a(a,d);return g_a=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):
new Promise(function(f,h){var l=or(document,"SCRIPT");Wc(l,e);l.onload=function(){b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};l.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};c.body.appendChild(l)})},i_a=function(a,b,c,d,e){e=e===void 0?!0:e;var f,h,l,q,v;return ve(function(y){switch(y.nextAddress){case 1:return f=Date.now(),xe(y,f_a(a,c,d,b),2);case 2:h=y.yieldResult;if(!(e||((q=a.initializationData)==null?
0:q.useNightlyRelease)||((v=a.initializationData)==null?0:v.isLocalServer))){l=h.initializeFeedbackClient(a,f,b);y.jumpTo(3);break}return xe(y,h.initializeFeedbackClientAsync(a,f,b),4);case 4:l=y.yieldResult;case 3:return l.initiateAloha(),y.return(l)}})},j_a=function(a,b,c,d){var e,f,h;return ve(function(l){if(l.nextAddress==1)return e=Date.now(),xe(l,h_a(a,c,d.document,b),2);if(l.nextAddress!=3)return f=l.yieldResult,xe(l,f.initializeFeedbackClientAsync(a,e,b,d),3);h=l.yieldResult;h.initiateAloha();
return l.return(h)})},k_a=function(a,b,c){var d=!0;d=d===void 0?!0:d;var e,f,h,l,q,v,y,E,H,O;return ve(function(N){e=c||ya;if((f=b)==null?0:(l=(h=f).getEnableAlohaBinarySplit)==null?0:l.call(h)){q=e;if(q.isFormOpened)throw v=Error("We"),v.name="DuplicateFormError",v;q.isFormOpened=!0;a.callbacks=a.callbacks||{};y=a.callbacks.onClose||function(){};a.callbacks.onClose=function(T){q.isFormOpened=!1;y(T)};try{return N.return(j_a(a,b,q,e))}catch(T){throw q.isFormOpened=!1,T;}}else{E=e;if(E.isFormOpened)throw H=
Error("We"),H.name="DuplicateFormError",H;E.isFormOpened=!0;a.callbacks=a.callbacks||{};O=a.callbacks.onClose||function(){};a.callbacks.onClose=function(T){E.isFormOpened=!1;O(T)};try{return N.return(i_a(a,b,E,e.document,d))}catch(T){throw E.isFormOpened=!1,T;}}Ce(N)})},o_a=function(a,b){return ve(function(c){return c.return(new Promise(function(d){var e=l_a(b!=null?b:"")+"/aloha_form_properties?productId="+a;m_a(e,function(f){f=f.target;var h=null;try{h=yna(n_a,JSON.stringify(f.getResponseJson(")]}'\n")))}catch(l){f=
new n_a,h=new pr,h=Hl(h,5,!0),h=Hl(h,2,!0),h=Hl(h,4,!1),h=Hl(h,8,!0),h=Hl(h,9,!0),h=Hl(h,7,!0),h=Hl(h,10,!0),h=Hl(h,12,!0),h=Hl(h,13,!1),h=Hl(h,14,!0),h=Hl(h,15,!0),h=Hl(h,20,!1),h=X(f,pr,1,h)}d(h)},"GET","",{},2E3,!0)}))})},l_a=function(a){return $Za(a)?a:"https://www.google.com/tools/feedback"},p_a=function(a){return a.toLocaleString("en-US",{timeZone:"America/Los_Angeles"})+" (US Pacific time)"},q_a=function(a){a&1&&(I(0,"div",5),K(1,"b-spinner"),J())},r_a=function(a){a&1&&K(0,"code",16);a&2&&
(a=P(2).$implicit,P(2),F("innerHtml",Tc(a.formattingModeDiff),nf))},s_a=function(a){a&1&&(I(0,"code",17),Q(1),J());a&2&&(a=P(2).$implicit,C(),R(" ",a.formattingMode," "))},t_a=function(a){a&1&&(I(0,"p",15),Q(1," Formatting: "),D(2,r_a,1,1,"code",16)(3,s_a,2,1,"code",17),J());a&2&&(a=P(3),C(2),G(a.diffView?2:3))},u_a=function(a){if(a&1){var b=x();I(0,"div")(1,"span",18)(2,"b-person-hovercard",19);S(3,"omitObfuscatedEmail");Q(4);S(5,"appendDomain");J()();I(6,"a",20);M("click",function(c){z(b);var d=
P().$implicit,e=P(2);d=d.version;c.stopPropagation();c=wq(e.issueId)+("#comment"+e.commentNumber+"version"+d);e.location.replaceState(c);return A()});Q(7);J()()}a&2&&(a=P().$implicit,P(2),C(2),F("email",U(3,7,Ui(a.lastEditorUser))),C(2),R(" <",U(5,9,Ui(a.lastEditorUser)),"> "),C(2),gg("aria-label","Comment version ",a.version,""),Fg("id","bv2-edit-issue-comment-",a.version,""),C(),R(" #",a.version,""))},v_a=function(a){a&1&&(I(0,"div",21),Q(1),J());a&2&&(a=P(2).$implicit,C(),Tg(a.preview))},w_a=function(a){a&
1&&(I(0,"div",22),Q(1,"Comment deleted."),J())},x_a=function(a){a&1&&(I(0,"div",23),Q(1,"Comment history restricted."),J())},y_a=function(a){a&1&&D(0,v_a,2,1,"div",21)(1,w_a,2,0,"div",22)(2,x_a,2,0,"div",23);a&2&&(a=P().$implicit,G(a.restricted||a.deleted?-1:0),C(),G(!a.restricted&&a.deleted?1:-1),C(),G(a.restricted?2:-1))},z_a=function(a){a&1&&(I(0,"div",24),Q(1,"Comment deleted."),J())},A_a=function(a){a&1&&(K(0,"div",26),S(1,"async"));if(a&2){a=P(2).$implicit;var b=P(2);ng("codefont",U(1,3,b.codefont.codefont$));
F("innerHtml",a.unlinkifiedComment,nf)}},B_a=function(a){a&1&&(K(0,"div",26),S(1,"async"));if(a&2){a=P(2).$implicit;var b=P(2);ng("codefont",U(1,3,b.codefont.codefont$));F("innerHtml",Tc(a.diff),nf)}},C_a=function(a){a&1&&(I(0,"div",23),Q(1," This comment is not available due to present or past restrictions on the comment. "),J())},D_a=function(a){a&1&&D(0,z_a,2,0,"div",24)(1,A_a,2,5,"div",25)(2,B_a,2,5,"div",25)(3,C_a,2,0,"div",23);if(a&2){a=P().$implicit;var b=P(2);G(!a.restricted&&a.deleted?0:
-1);C();G(b.diffView||a.restricted||a.deleted?-1:1);C();G(!b.diffView||a.restricted||a.deleted?-1:2);C();G(a.restricted?3:-1)}},E_a=function(a,b){if(a&1){var c=x();I(0,"li",9)(1,"div",10);K(2,"b-user-image",11);J();I(3,"div",12);M("click",function(){var d=z(c).$implicit;return A(d.open=!d.open)});K(4,"b-user-display",13)(5,"b-formatted-date-time",14);D(6,t_a,4,1,"p",15)(7,u_a,8,11,"div")(8,y_a,3,3);J();D(9,D_a,4,4);J()}a&2&&(a=b.$implicit,P(2),ng("comment-version-open",a.open),C(2),F("email",Ui(a.lastEditorUser)),
C(2),F("model",a.lastEditorUser),C(),F("timestamp",a.lastModified),C(),G(a.deleted?-1:6),C(),G(a.open?7:8),C(2),G(a.open?9:-1))},F_a=function(a){a&1&&(I(0,"ul",6),tg(1,E_a,10,8,"li",8,rg),J());a&2&&(a=P(),C(),ug(a.history))},I_a=function(a,b){var c=new G_a;a=qr(c,a,b);H_a(c,a);c=a.map(function(d){var e=d[0];d=d[1];switch(e){case -1:return vi("span",{"class":"diff-removed"},d);case 1:return vi("span",{"class":"diff-added"},d);case 0:return vi("span",{"class":void 0},d);default:throw Error("Ye`"+e);
}});return ui(c)},J_a=function(a){var b;return((b=a.entityStatus)==null?void 0:b.status)==="DELETED"},K_a=function(a){a&1&&(I(0,"div",2),Q(1," You are about to access a file marked as restricted. Access will be logged and audited. You must delete any downloaded files from local storage when finished. "),I(2,"a",12),Q(3," Learn more "),J()());a&2&&(a=P(2),C(2),F("href",a.getRestrictedAccessHelpLink(),of))},M_a=function(a){a&1&&(vg(0),D(1,K_a,4,1,"div",2),wg());a&2&&(a=P(),C(),G(L_a(a)?1:-1))},N_a=
function(a){a&1&&(I(0,"div",2)(1,"span",13),Q(2," You do not have access to view this attachment. "),J()())},O_a=function(a){a&1&&K(0,"mat-spinner",8)},Q_a=function(a,b){b=b===void 0?!0:b;return ve(function(c){if(c.nextAddress==1)if(window.crypto.subtle&&b)c=xe(c,crypto.subtle.digest("SHA-256",a),3);else{var d=c.return;var e=new P_a;e.update(new Uint8Array(a));e=(new Uint8Array(e.digest())).buffer;c=d.call(c,e)}else c=c.return(c.yieldResult);return c})},U_a=function(a){var b=a.useSubtleCrypto===void 0?
!0:a.useSubtleCrypto;var c=a.parts;var d,e,f,h;return ve(function(l){if(l.nextAddress==1){if(c.length===0)throw Error("cf");d=[];for(e=0;e<c.length;e++)f=c[e],typeof f==="string"?d.push(R_a.encode(f).buffer):d.push(f),e<c.length-1&&d.push(S_a);h=T_a.apply(null,w(d));return xe(l,Q_a(h,b),2)}return l.return(l.yieldResult)})},V_a=function(){var a=new Uint8Array(10);crypto.getRandomValues(a);return a},W_a=function(a){return a.reduce(function(b,c){return BigInt(256)*b+BigInt(c)},BigInt(0)).toString(36)},
T_a=function(){for(var a=zd.apply(0,arguments),b=0,c=k(a),d=c.next();!d.done;d=c.next())b+=d.value.byteLength;b=new Uint8Array(b);c=0;a=k(a);for(d=a.next();!d.done;d=a.next())d=d.value,b.set(new Uint8Array(d),c),c+=d.byteLength;return b.buffer},X_a=function(a){var b=a.product;var c=a.trustedOrigin;var d=a.salt;var e=a.useSubtleCrypto===void 0?!0:a.useSubtleCrypto;var f,h,l;return ve(function(q){if(q.nextAddress==1)return f=d?d:new ArrayBuffer(0),xe(q,U_a({useSubtleCrypto:e,parts:[b,f,c]}),2);h=q.yieldResult;
l=new Uint8Array(h);return q.return(W_a(l).padStart(50,"0").slice(0,50))})},Y_a=function(a){for(var b=a.trustedOrigin,c=a.product,d=a.fileHash+"-h"+a.version+".scf.usercontent.goog",e=k(d.split(".")),f=e.next();!f.done;f=e.next());a=a.cache?"&cache=1":"";return"https://"+d+"/"+c+"/shim.html?origin="+encodeURIComponent(b)+a},Z_a=function(){var a=window.origin;return typeof a==="string"&&(a.startsWith("https://")||a.startsWith("http://")||a.startsWith("chrome-extension://"))},$_a=function(a){a&1&&(I(0,
"span"),Q(1),J());a&2&&(a=P(),ng("muted",a.isGreyedOut),C(),R(" ",a.displayName,""))},a0a=function(a){if(a&1){var b=x();I(0,"a",2);M("click",function(c){z(b);var d=P();return A(d.handleClick(c))});Q(1);J()}a&2&&(a=P(),F("href",a.linkUrl,of)("rel",a.EXTERNAL_LINK_REL),C(),R(" ",a.displayName,""))},d0a=function(a){a&1&&(I(0,"span"),Q(1),I(2,"b"),Q(3),J(),Q(4," on "),I(5,"b"),Q(6),S(7,"date"),J(),Q(8,". "),J());a&2&&(a=P(4),C(),R(" Currently, the ",a.contentType," is scheduled for deletion in "),C(2),
Tg(b0a(c0a(a).getTime(),!0)),C(3),Tg(eh(7,3,c0a(a),"longDate")))},e0a=function(a){a&1&&(Q(0," The retention has "),I(1,"b"),Q(2,"expired"),J(),Q(3),I(4,"b"),Q(5),S(6,"date"),J(),Q(7,". "));a&2&&(a=P(4),C(3),R(" and the ",a.contentType," was scheduled for deletion on "),C(2),Tg(eh(6,2,c0a(a),"longDate")))},f0a=function(a){a&1&&(I(0,"span")(1,"b"),Q(2,"Retention:"),J(),Q(3),I(4,"b"),Q(5),J(),Q(6," from the last modification of the issue. "),D(7,d0a,9,6,"span")(8,e0a,8,5),J());a&2&&(a=P(3),C(3),R(" This ",
a.contentType," has a retention period of "),C(2),Tg(a.getRetentionPeriod()),C(2),G(c0a(a).getTime()<(new Di).getTime()?8:7))},g0a=function(a){a&1&&(I(0,"b"),Q(1,"Retention:"),J(),Q(2));a&2&&(a=P(3),C(2),R(" This ",a.contentType," has an indefinite retention period. "))},h0a=function(a){a&1&&(Q(0),I(1,"b"),Q(2,"overridden"),J(),Q(3," retention period set to match the issue retention period. "));a&2&&(a=P(3),R(" The ",a.contentType," has an "))},i0a=function(a){a&1&&(I(0,"p"),D(1,f0a,9,3,"span")(2,
g0a,3,1)(3,h0a,4,1),J());a&2&&(a=P(2),C(),G(a.retentionState&&!a.retentionState.scheduledDeletionTime?2:1),C(2),G(a.retention===a.retentionModel.INDEFINITE?3:-1))},j0a=function(a){a&1&&(I(0,"div",5)(1,"p")(2,"b"),Q(3,"Restricted Access:"),J(),Q(4),I(5,"a",6),Q(6," Learn More "),J()(),D(7,i0a,4,2,"p"),J());a&2&&(a=P(),C(4),R(" This ",a.contentType," is only available to users with the appropriate permissions. "),C(),F("rel",a.EXTERNAL_LINK_REL),eg("href",a.documentationLinks.getRestrictedAccessHelpLink(),
of),C(2),G(a.retentionState?7:-1))},k0a=function(a){a&1&&(I(0,"button",3,1),K(2,"mat-icon",6),J());if(a&2){a=P();var b=L(2);F("matTooltip",a.buttonLabel)("matMenuTriggerFor",b);eg("aria-label",a.buttonLabel);C(2);F("svgIcon",a.buttonIcon)}},l0a=function(a){a&1&&(I(0,"div",5),Q(1),J());a&2&&(a=P(),C(),Tg(a.header))},m0a=function(a){a&1&&K(0,"mat-icon",6);a&2&&(a=P(2).$implicit,F("svgIcon",a.icon))},n0a=function(a){a&1&&(I(0,"span",8),Q(1),J());a&2&&(a=P(2).$implicit,C(),Tg(a.hintText))},o0a=function(a){a&
1&&K(0,"mat-icon",6);a&2&&(a=P(2).$implicit,F("svgIcon",a.icon))},p0a=function(a){a&1&&(I(0,"span",8),Q(1),J());a&2&&(a=P(2).$implicit,C(),Tg(a.hintText))},q0a=function(a){if(a&1){var b=x();I(0,"button",11);M("click",function(d){z(b);var e=P().$implicit,f=P(3);return A(f.onAction(d,e))})("mouseup",function(d){z(b);var e=P().$implicit,f=P(3);return A(f.onAction(d,e))});D(1,o0a,1,1,"mat-icon",6);Q(2);D(3,p0a,2,1,"span",8);J()}if(a&2){a=P().$implicit;var c=P(2).$implicit;F("disabled",a.disabled)("ngClass",
c.className);eg("title",a.title);C();G(a.icon?1:-1);C();R(" ",a.label," ");C();G(a.hintText?3:-1)}},r0a=function(a){if(a&1){var b=x();I(0,"button",12);M("click",function(d){z(b);var e=P().$implicit,f=P(3);return A(f.onAction(d,e))})("mouseup",function(d){z(b);var e=P().$implicit,f=P(3);return A(f.onAction(d,e))});I(1,"span",13);K(2,"mat-icon",14);J();Q(3);J()}if(a&2){a=P().$implicit;var c=P(2).$implicit;ng("b-menu-item-checked",a.selected);F("disabled",a.disabled)("ngClass",c.className);eg("title",
a.title);C(3);R(" ",a.label," ")}},s0a=function(a,b){a&1&&D(0,q0a,4,6,"button",9)(1,r0a,4,6,"button",10);a&2&&(a=b.$implicit,G(a.type==="action"?0:-1),C(),G(a.type==="select"?1:-1))},t0a=function(a){a&1&&(I(0,"button",7),D(1,m0a,1,1,"mat-icon",6),Q(2),D(3,n0a,2,1,"span",8),J(),I(4,"mat-menu",null,2),tg(6,s0a,2,2,null,null,rg),J());if(a&2){a=L(5);var b=P().$implicit;F("matMenuTriggerFor",a);C();G(b.icon?1:-1);C();R(" ",b.label," ");C();G(b.hintText?3:-1);C(3);ug(b.items)}},u0a=function(a){a&1&&K(0,
"mat-icon",6);a&2&&(a=P(3).$implicit,F("svgIcon",a.icon))},v0a=function(a){a&1&&(I(0,"span",8),Q(1),J());a&2&&(a=P(3).$implicit,C(),Tg(a.hintText))},w0a=function(a){if(a&1){var b=x();I(0,"button",11);M("click",function(c){z(b);var d=P(2).$implicit,e=P();return A(e.onAction(c,d))})("mouseup",function(c){z(b);var d=P(2).$implicit,e=P();return A(e.onAction(c,d))});D(1,u0a,1,1,"mat-icon",6);Q(2);D(3,v0a,2,1,"span",8);J()}a&2&&(a=P(2).$implicit,F("disabled",a.disabled)("ngClass",a.className),eg("title",
a.title),C(),G(a.icon?1:-1),C(),R(" ",a.label," "),C(),G(a.hintText?3:-1))},x0a=function(a){if(a&1){var b=x();I(0,"button",12);M("click",function(c){z(b);var d=P(2).$implicit,e=P();return A(e.onAction(c,d))})("mouseup",function(c){z(b);var d=P(2).$implicit,e=P();return A(e.onAction(c,d))});I(1,"span",13);K(2,"mat-icon",14);J();Q(3);J()}a&2&&(a=P(2).$implicit,ng("b-menu-item-checked",a.selected),F("disabled",a.disabled)("ngClass",a.className),eg("title",a.title)("aria-label",a.label+" results per page"),
C(3),R(" ",a.label," "))},y0a=function(a){a&1&&D(0,w0a,4,6,"button",9)(1,x0a,4,7,"button",10);a&2&&(a=P().$implicit,G(a.type==="action"?0:-1),C(),G(a.type==="select"?1:-1))},z0a=function(a,b){a&1&&D(0,t0a,8,4)(1,y0a,2,2);a&2&&(a=b.$implicit,G(a.type==="submenu"?0:-1),C(),G(a.type!=="submenu"?1:-1))},A0a=function(a){var b=a.userIsExternal;a=a.issueIsExternal;return b&&a},B0a=function(a){a=a.bugId+"-comment"+a.comment;var b,c,d=(b=window)==null?void 0:(c=b.location)==null?void 0:c.href;b=d?encodeURIComponent(d):
"";return"http://reportcontent.google.com/troubleshooter?product=issue_tracker&content_id="+a+"&url="+b},C0a=function(a){a&1&&K(0,"b-restricted-chip",5);a&2&&(a=P(),F("label",a.getRestrictedLabel())("retentionState",a.attachment==null?null:a.attachment.piiRetentionState)("contentType","attachment"))},D0a=function(a){a&1&&(I(0,"span",6),K(1,"b-actions-menu",12),J());a&2&&(a=P(),C(),F("menuItems",a.actionMenuItems)("buttonLabel","Attachment actions")("matTooltip","Attachment actions"))},G0a=function(a){if(a&
1){var b=x();I(0,"span")(1,"b-conditional-link",13);M("customHandler",function(){z(b);var c=P();return A(c.viewAttachment())});J()()}a&2&&(a=P(),qg("bv2-issue-attachment-link ",E0a(a),""),C(),F("isGreyedOut",!a.hasViewAccess)("displayName","View")("linkUrl",F0a(a,!1))("linkEnabled",!0)("useCustomHandler",!0))},I0a=function(a){if(a&1){var b=x();I(0,"span")(1,"b-conditional-link",13);M("customHandler",function(){z(b);var c=P();c.isRestricted()?H0a(c,!0):c.domSafe.openInNewTab(F0a(c,!0));return A()});
J()();I(2,"span",14)(3,"button",15);M("click",function(){z(b);var c=P(),d;if((d=c.attachment)==null||!d.attachmentId)throw Error("jf");d=rr(c.trackerHelpers,c.issueId)+"#attachment"+c.attachment.attachmentId;c.clipboard.copy(d);c.snackBar.open("Link to attachment copied to clipboard","",{duration:2E3});return A()});K(4,"b-icon",16);J()()}a&2&&(a=P(),qg("bv2-issue-attachment-link ",E0a(a),""),C(),F("isGreyedOut",!a.hasViewAccess)("displayName","Download")("linkUrl",F0a(a,!0))("linkEnabled",!0)("useCustomHandler",
!0))},J0a=function(a){a&1&&(I(0,"span",10)(1,"a",17),K(2,"mat-icon",18),J()());a&2&&(a=P(),C(),F("href",a.documentationLinks.getRestrictedAccessHelpLink(),of)("disableRipple",!0),C(),F("svgIcon","help-outline"))},K0a=function(a){a&1&&(I(0,"div",19),Q(1," You do not have access to this restricted attachment. "),I(2,"a",20),Q(3,"Learn more"),J()());a&2&&(a=P(),C(2),F("href",a.documentationLinks.getRestrictedAccessHelpLink(),of))},L0a=function(a){a&1&&K(0,"attachment-preview",11);a&2&&(a=P(),F("issueId",
a.issueId)("attachmentId",a.attachment==null?null:a.attachment.attachmentId.toString())("mimeType",a.attachment==null?null:a.attachment.contentType))},N0a=function(a){var b,c,d;a=(d=(b=a.snapshot)==null?void 0:(c=b[0])==null?void 0:c.hotlistId)!=null?d:[];if(a.length===0)return!1;var e,f=(e=M0a.allowedHotlistIds)!=null?e:[];return a.some(function(h){return f.includes(h)})},O0a=function(a,b){var c,d;b=(c=b.snapshot)==null?void 0:(d=c[0])==null?void 0:d.type;if(!b)return!1;var e;return((e=a.restrictedIssueTypes)!=
null?e:[]).includes(b)},P0a=function(a,b){if(!b.regexMatcher)return!1;var c;return((c=a.match(b.regexMatcher))!=null?c:[]).length>0},Q0a=function(a,b){return(a==null?void 0:a.issueId)===(b==null?void 0:b.issueId)},U0a=function(a){var b=sr(a,"Content-Type");if(!b)return null;b=b.toLowerCase();if(b.startsWith("application/json"))return b.startsWith("application/json+protobuf")?new tr:new R0a;if(b.startsWith("application/x-protobuf")){a=sr(a,"Content-Transfer-Encoding");if(!a)return new S0a;if(a.toLowerCase()==
"base64")return new T0a}return null},W0a=function(){return function(a){return{response:a.getMutableResponse().getText(),citationResources:V0a(a.getMutableResponse())}}},V0a=function(a){return nj(a,X0a,13,Wi()).filter(function(b){return Nl(b,Y0a,6,Z0a)}).flatMap(function(b){var c;if(b==null)b=void 0;else{var d;(c=Al(b,Y0a,6,Z0a))==null?d=void 0:d=nj(c,$0a,1,Wi());b=d}return b}).map(function(b){var c,d,e,f;return{citationTitle:(c=b==null?void 0:b.getTitle())!=null?c:"",url:(d=b==null?void 0:b.getUrl())!=
null?d:"",iconUrl:(e=b==null?void 0:b.getIconUrl())!=null?e:"",isExternalDocument:(f=b==null?void 0:Fj(b,6))!=null?f:!1}})},c1a=function(a){var b,c,d,e;a=ur(a,a1a,1);return{output:(e=(b=nj(a,b1a,1,Wi())[0])==null?void 0:(c=b.getContent())==null?void 0:(d=c.getPartsList()[0])==null?void 0:d.getText())!=null?e:""}},d1a=function(a){var b=!a.description.includes("CHERRYPICK=")&&!a.description.includes("ROLLBACK_OF=")&&!a.description.includes("MENDEL_SYSTEM=");var c=a.description.replace("BEGIN_PUBLIC<br>",
"");c=c.replaceAll(/#[\w]+[ <br>]*/g,"");return{changelist:a,isInteresting:b,firstInterestingLine:c.split("<br>")[0]||c}},e1a=function(a){a&1&&K(0,"mat-icon",17)},f1a=function(a){a&1&&K(0,"img",18);a&2&&(a=P().$implicit,F("src",a.iconUrl,of))},g1a=function(a,b){if(a&1){var c=x();I(0,"div",15);D(1,e1a,1,0,"mat-icon",17)(2,f1a,1,1,"img",18);I(3,"a",19);M("click",function(){z(c);P(5).analytics.trackEvent("helpMeFix","click","citationClickFromPreview");return A()});Q(4);J()()}a&2&&(a=b.$implicit,C(),
G(a.isExternalDocument?1:2),C(2),F("href",a.url,of),C(),R(" ",a.citationTitle," "))},h1a=function(a){a&1&&(I(0,"div",16),Q(1),J());a&2&&(a=P(2),C(),R(" +",a.length-2," "))},i1a=function(a){a&1&&(I(0,"div",13),Q(1),J(),I(2,"div",14),tg(3,g1a,5,3,"div",15,sg),D(5,h1a,2,1,"div",16),J());a&2&&(a=P(),C(),Ug(" Found ",a.length," related source",a.length===1?"":"s"," "),C(2),ug(a.slice(0,2)),C(2),G(a.length>2?5:-1))},j1a=function(a,b){a&1&&D(0,i1a,6,3);a&2&&G(b.length>0?0:-1)},k1a=function(a,b){if(a&1){var c=
x();D(0,j1a,1,1);S(1,"async");I(2,"div",7)(3,"div",9);K(4,"b-markdown-format-presenter",10);J();I(5,"div",11)(6,"button",12);M("click",function(){z(c);var e=P(2);return A(e.openHelpMeFixSidebar())});Q(7," View summary and suggested fix ");J()()()}if(a&2){var d;a=P(2);G((d=U(1,2,a.citations$))?0:-1,d);C(4);F("content",b)}},l1a=function(a){a&1&&K(0,"b-spinner",8)},n1a=function(a){if(a&1){var b=x();I(0,"div",0)(1,"header",1)(2,"div",2);K(3,"mat-icon",3);I(4,"h4",4);Q(5,"Help me fix");J()();I(6,"button",
5);M("click",function(){z(b);var d=P();m1a(d.helpMeFixPreviewService);d.analytics.trackEvent("helpMeFix","click","hidePreview");return A()});K(7,"mat-icon",6);J()();D(8,k1a,8,4,"div",7);S(9,"async");D(10,l1a,1,0,"b-spinner",8);J()}if(a&2){var c;a=P();C(8);G((c=U(9,1,a.llmResponseMarkdown$))?8:10,c)}},o1a=function(a){if(a&1){var b=x();I(0,"button",1);M("click",function(){z(b);var c=P();m1a(c.helpMeFixPreviewService);return A()});K(1,"mat-icon",2);Q(2," Help me fix ");J()}},p1a=function(a){if(a&1){var b=
x();I(0,"button",1);M("click",function(){z(b);var c=P();return A(c.openHelpMeFixSidebar())});K(1,"mat-icon",2);Q(2);S(3,"async");J()}a&2&&(a=P(),C(2),R(" ",U(3,1,a.buttonText$)," "))},r1a=function(a){if(a&1){var b=x();I(0,"button",16,1);M("click",function(){z(b);var c=P(2);return A(q1a(c))});Q(2," Edit ");J()}},s1a=function(a,b){a&1&&(K(0,"b-user-display",17),I(1,"onedev-hovercard",null,2),K(3,"b-issue-person-card",18),S(4,"async"),J(),Q(5," created issue "));if(a&2){var c;a=L(2);var d=P(2);F("onedevHovercardTrigger",
a)("model",b);C(3);F("email",(c=U(4,3,d.originalAuthorEmail$))!==null&&c!==void 0?c:"")}},t1a=function(a,b){a&1&&(Q(0," on behalf of "),K(1,"b-user-display-name",19));a&2&&(C(),F("email",b)("showEmail",!1))},u1a=function(a){a&1&&(D(0,t1a,2,2,"b-user-display-name",19),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.onBehalfOfEmail$))?0:-1,b)}},v1a=function(a,b){if(a&1){var c=x();I(0,"a",20);M("click",function(d){var e=z(c);P(2).issueReferenceResolver.visit({issueId:e,elementId:"comment1",event:d});
return A()});Q(1);J()}a&2&&(a=P(),P(),F("routerLinkObj",aq(b,{comment:1})),eg("aria-label","Comment number"+a.commentNumber),C(),R(" #",a.commentNumber,""))},x1a=function(a){a&1&&(I(0,"span",11),Q(1," \u2022 Edited"),J());if(a&2){a=P();var b=P();F("matTooltip",w1a(b,a))}},y1a=function(a){a&1&&K(0,"help-me-fix-preview-button",12)},z1a=function(a){a&1&&(I(0,"p",15),Q(1," Description has been deleted. "),J())},A1a=function(a){if(a&1){var b=x();I(0,"b-restricted-comment-placeholder",22);S(1,"async");
M("onConfirm",function(){z(b);var c=P(),d=P(3),e=P();return A(e.loadRestrictedComment(c,d))});J()}a&2&&(a=P(5),F("disabled",!U(1,1,a.mayReadPii$)))},B1a=function(a){a&1&&(D(0,A1a,2,3,"b-restricted-comment-placeholder",21),S(1,"async"));a&2&&(a=P(4),G(U(1,1,a.shouldShowRestrictedPlaceholder$)?0:-1))},C1a=function(a){a&1&&(D(0,B1a,2,3),S(1,"async"));if(a&2){var b;a=P(3);G((b=U(1,1,a.id$))?0:-1,b)}},D1a=function(a){a&1&&K(0,"help-me-fix-preview")},E1a=function(a){a&1&&K(0,"smart-help-me-fix-button")},
F1a=function(a,b){a&1&&(K(0,"b-note-container",24),S(1,"async"));if(a&2){a=P();var c=P(4);F("issueId",a)("issueAccessLevel",U(1,4,c.accessLevel$))("note",b)("formattingMode",c.formattingMode)}},G1a=function(a){a&1&&(D(0,F1a,2,6,"b-note-container",24),S(1,"async"));if(a&2){var b;a=P(3);var c=P();G((b=a.unlinkifiedComment!==""&&U(1,1,c.firstNote$))?0:-1,b)}},H1a=function(a){a&1&&Q(0," Add one. ")},I1a=function(a){a&1&&(I(0,"p",23),Q(1," No description yet. "),D(2,H1a,1,0),J());a&2&&(a=P(4),C(2),G(a.canEditComment()?
2:-1))},J1a=function(a){a&1&&(D(0,D1a,1,0,"help-me-fix-preview")(1,E1a,1,0,"smart-help-me-fix-button")(2,G1a,2,3),S(3,"async"),D(4,I1a,3,1,"p",23));if(a&2){var b;a=P(2);var c=P();G(c.enableHelpMeFixSummary?0:1);C(2);G((b=U(3,3,c.id$))?2:-1,b);C(2);G(a.unlinkifiedComment===""?4:-1)}},K1a=function(a){a&1&&(D(0,C1a,2,3),S(1,"async"),D(2,J1a,5,5));a&2&&(a=P(2),G(U(1,1,a.isRedacted$)?0:2))},L1a=function(a,b){a&1&&(K(0,"b-attachment-viewer",27),S(1,"async"));if(a&2){var c;a=P().$implicit;var d=P(4);F("issueId",
b)("attachment",a)("attachmentUploader",(c=U(1,3,d.originalAuthorEmail$))!==null&&c!==void 0?c:"")}},M1a=function(a,b){a&1&&(I(0,"div",26),D(1,L1a,2,5,"b-attachment-viewer",27),S(2,"async"),J());if(a&2){var c;a=b.$implicit;b=P(4);Fg("id","attachment",a.attachmentId,"");C();G((c=U(2,3,b.id$))?1:-1,c)}},N1a=function(a){a&1&&(I(0,"div",25),tg(1,M1a,3,5,"div",26,sg),J());a&2&&(a=P(),C(),ug(a))},O1a=function(a,b){a&1&&D(0,N1a,3,0,"div",25);a&2&&G(b.length?0:-1)},Q1a=function(a,b){a&1&&(I(0,"div",3),K(1,
"mat-icon",4),I(2,"div",5)(3,"div",6)(4,"div",7)(5,"h4",8),Q(6,"Description"),J(),D(7,r1a,3,0,"button",9)(8,s1a,6,5),S(9,"async"),D(10,u1a,2,3),S(11,"async"),D(12,v1a,2,3,"a",10),S(13,"async"),D(14,x1a,2,1,"span",11),S(15,"async"),J(),I(16,"div"),D(17,y1a,1,0,"help-me-fix-preview-button",12),K(18,"b-formatted-date-time",13)(19,"b-actions-menu",14,0),S(21,"async"),J()(),D(22,z1a,2,0,"p",15),S(23,"async"),D(24,K1a,3,3)(25,O1a,1,1),S(26,"async"),J()());if(a&2){var c,d,e,f;a=P();C(7);G(a.canEditComment()?
7:-1);C();G((c=U(9,11,a.originalAuthor$))?8:-1,c);C(2);G(U(11,13,a.isAuthorNotReporter$)?10:-1);C(2);G((d=b.commentNumber&&U(13,15,a.id$))?12:-1,d);C(2);G(U(15,17,a.isShowCommentHistoryActionInMenu$)?14:-1);C(3);G(a.enableHelpMeFixSummary?17:-1);C();F("timestamp",b.modifiedDate);C();F("buttonLabel","Description actions")("menuItems",(e=U(21,19,a.commentActionMenuItems$))!==null&&e!==void 0?e:ah(25,P1a));C(3);G(U(23,21,a.isDeleted$)?22:24);C(3);G((f=U(26,23,a.attachments$))?25:-1,f)}},R1a=function(a){a&
1&&K(0,"b-spinner")},S1a=function(a){a&1&&(vg(0),Q(1," reacted"),wg())},T1a=function(a){a&1&&(vg(0),Q(1,", "),K(2,"br"),wg())},U1a=function(a,b){a&1&&(I(0,"div"),vg(1),Q(2),wg(),D(3,S1a,2,0,"ng-container")(4,T1a,3,0,"ng-container"),J());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;C(2);R(" ",a,"");C();G(c===b-1?3:4)}},V1a=function(a){a&1&&(vg(0),Q(1),wg());a&2&&(a=P(2),C(),R(" by ",Ri(a.event.lastCommentEditorUser),""))},W1a=function(a){a&1&&(vg(0),Q(1,"Message last modified"),wg(),D(2,V1a,2,1,
"ng-container"),vg(3),Q(4," on "),K(5,"b-formatted-date-time",0),wg());a&2&&(a=P(),C(2),G(a.event.version===0&&a.event.lastCommentEditorUser?2:-1),C(3),F("timestamp",a.event.commentLastModifiedAtDate))},X1a=function(a){a&1&&K(0,"b-user-email",0);a&2&&(a=P().$implicit,F("email",a.text)("withProfile",!0))},Y1a=function(a){a&1&&(I(0,"b-issue-reference-widget",1),Q(1),J());if(a&2){a=P().$implicit;var b=P();F("href",tq.viewIssue.makeHref(a.text))("issueId",b.getIssueId(a));C();Tg(a.text)}},Z1a=function(a){a&
1&&(vg(0),Q(1),wg());a&2&&(a=P().$implicit,C(),Tg(a.text))},$1a=function(a,b){a&1&&D(0,X1a,1,2,"b-user-email",0)(1,Y1a,2,3,"b-issue-reference-widget",1)(2,Z1a,2,1,"ng-container");if(a&2){var c;G((c=b.$implicit.tag)==="user"?0:c==="bug"?1:2)}},a2a=function(a){a&1&&(vg(0),K(1,"b-component-card",4,1),wg());if(a&2){a=L(2);var b=P();C();F("onedevIsHovercardReady",a.init)("componentId",b.id)}},b2a=function(a){a&1&&(I(0,"span"),Q(1),J());if(a&2){var b;a=P(5);C();Tg((b=a.effortSpecName)!==null&&b!==void 0?
b:"Estimated Effort")}},c2a=function(a){a&1&&(I(0,"span"),Q(1,"Estimated Effort (disabled)"),J())},d2a=function(a){a&1&&(I(0,"label"),D(1,b2a,2,1,"span")(2,c2a,2,0,"span"),Q(3," :\u200b "),J());a&2&&(a=P(4),C(),G(a.effortEnabled?1:2))},e2a=function(a){a&1&&(I(0,"label"),Q(1),J());a&2&&(a=P(3).$implicit,C(),R("",a.displayName,":\u200b"))},f2a=function(a){a&1&&(I(0,"span"),K(1,"b-user-display-name",7),J());a&2&&(a=P(),C(),F("email",a)("showEmail",!0))},g2a=function(a){a&1&&K(0,"plain-component-path",
5);a&2&&(a=P(4).$implicit,F("id",a.oldValue))},h2a=function(a){a&1&&K(0,"b-formatted-date-time",8);if(a&2){a=P(2);var b=P(4);F("timestamp",b.asNumber(a)*1E3)}},i2a=function(a){a&1&&(I(0,"span"),Q(1,"[Issue creation date]"),J())},j2a=function(a){a&1&&(I(0,"span"),D(1,h2a,1,1,"b-formatted-date-time",8)(2,i2a,2,0,"span"),J());a&2&&(a=P(),C(),G(a!=="<none>"?1:-1),C(),G(a==="<none>"?2:-1))},k2a=function(a){a&1&&K(0,"b-formatted-date-time",8);if(a&2){a=P(2);var b=P(4);F("timestamp",b.asNumber(a)*1E3)}},
l2a=function(a){a&1&&(I(0,"span"),Q(1,"[Unset]"),J())},m2a=function(a){a&1&&(I(0,"span"),D(1,k2a,1,1,"b-formatted-date-time",8)(2,l2a,2,0,"span"),J());a&2&&(a=P(),C(),G(a!=="<none>"?1:-1),C(),G(a==="<none>"?2:-1))},n2a=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),P(4),C(),Tg(br(a)))},o2a=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),C(),Tg(a))},p2a=function(a){a&1&&(D(0,f2a,2,2,"span")(1,g2a,1,1,"plain-component-path",5)(2,j2a,3,2,"span")(3,m2a,3,2,"span")(4,n2a,2,1,"span")(5,o2a,2,1,
"span"),vg(6),Q(7,"\u00a0"),wg(),K(8,"span",6),vg(9),Q(10,"\u00a0"),wg());a&2&&(a=P(3).$implicit,G(a.isUser?0:-1),C(),G(a.name==="component"?1:-1),C(),G(a.name=="sloStartTime"?2:-1),C(),G(a.name=="sloEndTime"?3:-1),C(),G(a.name==="access_limit"?4:-1),C(),G(a.isUser||a.name==="component"||a.name==="sloStartTime"||a.name==="sloEndTime"||a.name==="access_limit"?-1:5))},q2a=function(a){a&1&&K(0,"b-user-display-name",7);a&2&&(a=P(),F("email",a)("showEmail",!0))},r2a=function(a){a&1&&(I(0,"span"),K(1,"plain-component-path",
5),J());a&2&&(a=P(4).$implicit,C(),F("id",a.newValue))},s2a=function(a){a&1&&K(0,"b-formatted-date-time",8);if(a&2){a=P(2);var b=P(4);F("timestamp",b.asNumber(a)*1E3)}},t2a=function(a){a&1&&(I(0,"span"),Q(1,"[Issue creation date]"),J())},u2a=function(a){a&1&&(I(0,"span"),D(1,s2a,1,1,"b-formatted-date-time",8)(2,t2a,2,0,"span"),J());a&2&&(a=P(),C(),G(a!=="<none>"?1:-1),C(),G(a==="<none>"?2:-1))},v2a=function(a){a&1&&K(0,"b-formatted-date-time",8);if(a&2){a=P(2);var b=P(4);F("timestamp",b.asNumber(a)*
1E3)}},w2a=function(a){a&1&&(I(0,"span"),Q(1,"[Unset]"),J())},x2a=function(a){a&1&&(I(0,"span"),D(1,v2a,1,1,"b-formatted-date-time",8)(2,w2a,2,0,"span"),J());a&2&&(a=P(),C(),G(a!=="<none>"?1:-1),C(),G(a==="<none>"?2:-1))},y2a=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),P(4),C(),Tg(br(a)))},A2a=function(a){a&1&&(I(0,"span",9),Q(1),J());if(a&2){a=P();var b=P(3).$implicit;F("ngClass",bh(2,z2a,b.oldValue&&b.name=="title"));C();Tg(a)}},B2a=function(a){a&1&&D(0,q2a,1,2,"b-user-display-name",7)(1,
r2a,2,1,"span")(2,u2a,3,2,"span")(3,x2a,3,2,"span")(4,y2a,2,1,"span")(5,A2a,2,4,"span",9);a&2&&(a=P(3).$implicit,G(a.isUser?0:-1),C(),G(a.name==="component"?1:-1),C(),G(a.name==="sloStartTime"?2:-1),C(),G(a.name==="sloEndTime"?3:-1),C(),G(a.name==="access_limit"?4:-1),C(),G(a.isUser||a.name=="component"||a.name=="sloStartTime"||a.name=="sloEndTime"||a.name=="access_limit"?-1:5))},C2a=function(a){a&1&&(I(0,"div",4),D(1,d2a,4,1,"label")(2,e2a,2,1,"label")(3,p2a,11,6)(4,B2a,6,6),J());if(a&2){var b,c;
a=P(2).$implicit;C();G(a.name==="effort"?1:2);C(2);G((b=a.oldValue)?3:-1,b);C();G((c=a.newValue)?4:-1,c)}},D2a=function(a){a&1&&(I(0,"span"),Q(1,", "),J())},E2a=function(a,b){a&1&&(I(0,"span"),K(1,"b-user-display-name",7),D(2,D2a,2,0,"span"),J());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;C();F("email",a)("showEmail",!0);C();G(c!==b-1?2:-1)}},F2a=function(a){a&1&&(I(0,"span"),tg(1,E2a,3,3,"span",null,sg),J());a&2&&(a=P(4).$implicit,C(),ug(a.added))},G2a=function(a){a&1&&(I(0,"span"),Q(1,", "),
J())},H2a=function(a,b){a&1&&(I(0,"span")(1,"span"),Q(2),J(),D(3,G2a,2,0,"span"),J());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;C(2);Tg(a);C();G(c!==b-1?3:-1)}},I2a=function(a){a&1&&(I(0,"span"),tg(1,H2a,4,2,"span",null,sg),J());a&2&&(a=P(4).$implicit,C(),ug(a.added))},J2a=function(a){a&1&&(I(0,"div")(1,"label"),Q(2),J(),D(3,F2a,3,0,"span")(4,I2a,3,0,"span"),J());a&2&&(a=P(3).$implicit,C(2),R("+",a.displayName,":\u200b"),C(),G(a.isUser?3:4))},K2a=function(a){a&1&&(I(0,"span"),Q(1,", "),J())},
L2a=function(a,b){a&1&&(I(0,"span"),K(1,"b-user-display-name",7),D(2,K2a,2,0,"span"),J());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;C();F("email",a)("showEmail",!0);C();G(c!==b-1?2:-1)}},M2a=function(a){a&1&&(I(0,"span"),tg(1,L2a,3,3,"span",null,sg),J());a&2&&(a=P(4).$implicit,C(),ug(a.removed))},N2a=function(a){a&1&&(I(0,"span"),Q(1,", "),J())},O2a=function(a,b){a&1&&(I(0,"span")(1,"span"),Q(2),J(),D(3,N2a,2,0,"span"),J());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;C(2);Tg(a);C();G(c!==
b-1?3:-1)}},P2a=function(a){a&1&&(I(0,"span"),tg(1,O2a,4,2,"span",null,sg),J());a&2&&(a=P(4).$implicit,C(),ug(a.removed))},Q2a=function(a){a&1&&(I(0,"div")(1,"label"),Q(2),J(),D(3,M2a,3,0,"span")(4,P2a,3,0,"span"),J());a&2&&(a=P(3).$implicit,C(2),R("-",a.displayName,":\u200b"),C(),G(a.isUser?3:4))},R2a=function(a){a&1&&(I(0,"div",4),D(1,J2a,5,2,"div")(2,Q2a,5,2,"div"),J());if(a&2){a=P(2).$implicit;var b=P();C();G(a.added&&a.added.length&&b.isStringArray(a.added)&&(a.name!=="staffing"||b.plannedAllocationsUiEnabled)?
1:-1);C();G(a.removed&&a.removed.length&&b.isStringArray(a.removed)&&(a.name!=="staffing"||b.plannedAllocationsUiEnabled)?2:-1)}},S2a=function(a){a&1&&xg(0)},U2a=function(a,b){a&1&&(I(0,"span"),D(1,S2a,1,0,"ng-container",10),J());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;var d=P(4).$implicit;P();var e=L(4);C();F("ngTemplateOutlet",e)("ngTemplateOutletContext",dh(2,T2a,d,a,c===b-1))}},V2a=function(a){a&1&&(I(0,"div")(1,"label"),Q(2),J(),tg(3,U2a,2,6,"span",null,sg),J());a&2&&(a=P(3).$implicit,
C(2),R("+",a.displayName,":\u200b"),C(),ug(a.added))},W2a=function(a){a&1&&xg(0)},X2a=function(a,b){a&1&&(I(0,"span"),D(1,W2a,1,0,"ng-container",10),J());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;var d=P(4).$implicit;P();var e=L(4);C();F("ngTemplateOutlet",e)("ngTemplateOutletContext",dh(2,T2a,d,a,c===b-1))}},Y2a=function(a){a&1&&(I(0,"div")(1,"label"),Q(2),J(),tg(3,X2a,2,6,"span",null,sg),J());a&2&&(a=P(3).$implicit,C(2),R("-",a.displayName,":\u200b"),C(),ug(a.removed))},Z2a=function(a){a&
1&&(I(0,"div",4),D(1,V2a,5,1,"div")(2,Y2a,5,1,"div"),J());if(a&2){a=P(2).$implicit;var b=P();C();G(a.added&&a.added.length&&b.isLinkedItemArray(a.added)?1:-1);C();G(a.removed&&a.removed.length&&b.isLinkedItemArray(a.removed)?2:-1)}},$2a=function(a){a&1&&K(0,"b-formatted-date-time",8);a&2&&(a=P(),F("timestamp",a))},a3a=function(a){a&1&&(I(0,"span"),Q(1," - "),J())},b3a=function(a,b){a&1&&(I(0,"span"),K(1,"b-formatted-date-time",8),D(2,a3a,2,0,"span"),J());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;
C();F("timestamp",a);C();G(c!==b-1?2:-1)}},c3a=function(a){a&1&&(I(0,"span"),tg(1,b3a,3,2,"span",null,sg),J());a&2&&(a=P(4).$implicit,C(),ug(a.oldValue.split(", ")))},d3a=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),C(),Tg(a))},g3a=function(a){a&1&&(D(0,$2a,1,1,"b-formatted-date-time",8)(1,c3a,3,0,"span")(2,d3a,2,1,"span"),vg(3),Q(4,"\u00a0"),wg(),K(5,"span",6),vg(6),Q(7,"\u00a0"),wg());if(a&2){a=P(3).$implicit;var b=P();G(e3a(b,a,"oldValue")?0:-1);C();G(f3a(b,a,"oldValue")?1:-1);C();G(e3a(b,
a,"oldValue")||f3a(b,a,"oldValue")?-1:2)}},h3a=function(a){a&1&&K(0,"b-formatted-date-time",8);a&2&&(a=P(),F("timestamp",a))},i3a=function(a){a&1&&(I(0,"span"),Q(1," - "),J())},j3a=function(a,b){a&1&&(I(0,"span"),K(1,"b-formatted-date-time",8),D(2,i3a,2,0,"span"),J());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;C();F("timestamp",a);C();G(c!==b-1?2:-1)}},k3a=function(a){a&1&&(I(0,"span"),tg(1,j3a,3,2,"span",null,sg),J());a&2&&(a=P(4).$implicit,C(),ug(a.newValue.split(", ")))},l3a=function(a){a&
1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),C(),Tg(a))},m3a=function(a){a&1&&D(0,h3a,1,1,"b-formatted-date-time",8)(1,k3a,3,0,"span")(2,l3a,2,1,"span");if(a&2){a=P(3).$implicit;var b=P();G(e3a(b,a,"newValue")?0:-1);C();G(f3a(b,a,"newValue")?1:-1);C();G(e3a(b,a,"newValue")||f3a(b,a,"newValue")?-1:2)}},n3a=function(a){a&1&&(I(0,"div",4)(1,"label"),Q(2),J(),D(3,g3a,8,3)(4,m3a,3,3),J());if(a&2){var b,c;a=P(2).$implicit;var d=P();C();eg("title",d.customFieldName(a));C();R("",d.customFieldName(a),":\u200b");
C();G((b=a.oldValue)?3:-1,b);C();G((c=a.newValue)?4:-1,c)}},o3a=function(a){a&1&&(I(0,"span",11),Q(1,"Updated"),J())},p3a=function(a){a&1&&(I(0,"span"),Q(1,"Deleted"),J())},q3a=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),C(),R("Edited (unknown status '",a.status,"')"))},r3a=function(a,b){a&1&&D(0,o3a,2,0,"span",11)(1,p3a,2,0,"span")(2,q3a,2,1,"span");if(a&2){var c;G((c=b.status)==="ACTIVE"?0:c==="DELETED"?1:2)}},s3a=function(a){a&1&&(I(0,"div",4)(1,"label"),Q(2),J(),D(3,r3a,3,1),J());if(a&
2){var b;a=P(2).$implicit;C(2);R("",a.displayName,":\u200b");C();G((b=a.statusUpdateDiff==null?null:a.statusUpdateDiff.entityStatus)?3:-1,b)}},t3a=function(a){a&1&&(I(0,"div",4)(1,"label"),Q(2),J(),I(3,"pre",12),Q(4),S(5,"json"),J()());a&2&&(a=P(2).$implicit,C(2),R("",a.displayName,":\u200b"),C(2),Tg(U(5,2,a)))},u3a=function(a){a&1&&(K(0,"b-formatted-date-time",3),D(1,C2a,5,3,"div",4)(2,R2a,3,2,"div",4)(3,Z2a,3,2,"div",4)(4,n3a,5,4,"div",4)(5,s3a,4,2,"div",4)(6,t3a,6,4,"div",4));if(a&2){a=P().$implicit;
var b=P();F("timestamp",a.timestamp);C();G(!0===(a.type===b.DiffType.SINGLE_VALUE)?1:!0===(a.type===b.DiffType.COLLECTION||a.type===b.DiffType.USER_COLLECTION)?2:!0===(a.type===b.DiffType.LINKED_COLLECTION)?3:!0===(a.type===b.DiffType.CUSTOM_FIELD)?4:!0===(a.type===b.DiffType.STATUS_UPDATE)?5:6)}},v3a=function(a,b){a&1&&(I(0,"div",2),D(1,u3a,7,2),J());a&2&&(a=b.$implicit,b=P(),C(),G(((a==null?void 0:a.name)==="sloStartTime"||(a==null?void 0:a.name)==="sloEndTime"?b.activeSession.isInternalSession():
(a==null?void 0:a.name)==="staffing"?b.plannedAllocationsUiEnabled:1)?1:-1))},w3a=function(a){a&1&&(I(0,"b-issue-reference-widget",13),Q(1),J());if(a&2){a=P();var b=P().change;F("href",b.href)("issueId",a);C();Tg(a)}},x3a=function(a){a&1&&K(0,"hotlist-link",5);a&2&&(a=P(),F("id",a))},y3a=function(a){a&1&&(I(0,"a",14),Q(1),J());if(a&2){a=P();var b=P().change;F("href",b.href,of);C();Tg(a)}},z3a=function(a){a&1&&(I(0,"span"),Q(1,", "),J())},A3a=function(a){a&1&&D(0,w3a,2,3,"b-issue-reference-widget",
13)(1,x3a,1,1,"hotlist-link",5)(2,y3a,2,2,"a",14)(3,z3a,2,0,"span");if(a&2){var b=P();a=b.diff;b=b.isLast;var c=P();G(c.isIssueDiff(a)?0:c.isHotlistDiff(a)?1:2);C(3);G(b?-1:3)}},B3a=function(a,b){a&1&&D(0,A3a,4,2);if(a&2){var c;G((c=b.change.value)?0:-1,c)}},C3a=function(a,b){a&1&&(K(0,"b-user-membership-chip",9),S(1,"async"),S(2,"async"));if(a&2){var c;a=P(2);F("user",a.event.userPerformingActionUser)("email",b)("teamId",(c=U(1,4,a.teamId$))!==null&&c!==void 0?c:"");eg("aria-label",U(2,6,a.ariaLabelHeading$))}},
D3a=function(a){a&1&&(K(0,"b-user-display",10),S(1,"async"));a&2&&(a=P(2),F("model",a.event.userPerformingActionUser),eg("aria-label",U(1,2,a.ariaLabelHeading$)))},E3a=function(a){a&1&&xg(0)},F3a=function(a){a&1&&(I(0,"span",33),D(1,E3a,1,0,"ng-container",34),J(),I(2,"onedev-hovercard",null,1),K(4,"b-issue-person-card",35),J());if(a&2){a=L(3);P();var b=L(9),c=P();F("onedevHovercardTrigger",a);C();F("ngTemplateOutlet",b);C(3);F("email",Ui(c.event.userPerformingActionUser))}},G3a=function(a){a&1&&(I(0,
"span",11),Q(1),J());a&2&&(a=P(2),C(),R(" <",Ri(a.event.userPerformingActionUser),"> "))},H3a=function(a){a&1&&(I(0,"span",11),Q(1),J());a&2&&(a=P(2),C(),R(" <",Ri(a.event.userPerformingActionUser),"> "))},I3a=function(a){if(a&1){var b=x();I(0,"span")(1,"a",36);M("click",function(c){z(b);var d=P(2);return A(d.scrollCommentIntoView(c,d.event.commentNumber))});Q(2);J()()}a&2&&(a=P(2),C(),F("routerLinkObj",a.getCommentNumberLink(a.event.commentNumber)),eg("aria-label","Comment number"+a.event.commentNumber),
C(),R(" #",a.event.commentNumber,""))},J3a=function(a){if(a&1){var b=x();I(0,"button",37);M("click",function(){z(b);var c=P(2);return A(vr(c.issueCommentDialogsService,c.issueId,c.deobfuscatedEvent||c.event))});J()}},K3a=function(a){a&1&&K(0,"b-restricted-chip",14);if(a&2){var b,c;a=P(2);F("label",a.getRestrictedLabel())("retention",(b=a.event.commentRetention)!==null&&b!==void 0?b:void 0)("retentionState",(c=a.event.commentRetentionState)!==null&&c!==void 0?c:void 0)}},M3a=function(a){a&1&&(K(0,
"b-actions-menu",16,2),S(2,"async"));if(a&2){var b;a=P(2);F("buttonLabel","Comment actions")("menuItems",(b=U(2,2,a.commentActionMenuItems$))!==null&&b!==void 0?b:ah(4,L3a))}},N3a=function(a){a&1&&(I(0,"div",18),K(1,"b-tagged-text",38),J());a&2&&(a=P(2),C(),F("texts",a.event.taggedSummary))},O3a=function(a){a&1&&(K(0,"b-issue-event-details",19),S(1,"async"),S(2,"async"),S(3,"async"));if(a&2){var b,c;a=P();var d=P();F("diffs",(b=U(1,4,d.preEventDiffs$))!==null&&b!==void 0?b:ah(10,L3a))("customFieldMap",
a.customFieldMap)("effortSpecName",(c=U(2,6,d.effortSpec$))==null?null:c.name)("effortEnabled",!!U(3,8,d.isEffortEnabled$))}},P3a=function(a){a&1&&(I(0,"div",22),Q(1," Comment has been deleted. "),J())},Q3a=function(a){if(a&1){var b=x();I(0,"b-restricted-comment-placeholder",39);S(1,"async");M("onConfirm",function(){z(b);var c=P(2);return A(c.loadRestrictedComment())});J()}a&2&&(a=P(2),F("disabled",!U(1,1,a.mayReadPii$)))},R3a=function(a){a&1&&K(0,"b-note-container",25);a&2&&(a=P(2),F("issueId",a.issueId)("issueAccessLevel",
a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",a.formattingMode))},S3a=function(a){if(a&1){var b=x();K(0,"b-summarized-note-container",40);I(1,"button",41);M("click",function(){z(b);var c=P(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return A()});K(2,"mat-icon",42);Q(3,"Expand details");J()}a&2&&(a=P(2),F("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("summaryType",a.getSummaryType())("formattingMode",a.formattingMode))},
T3a=function(a){if(a&1){var b=x();I(0,"button",41);M("click",function(){z(b);var c=P(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return A()});K(1,"mat-icon",43);Q(2,"Collapse details");J()}},U3a=function(a){a&1&&K(0,"b-formatted-date-time",29);a&2&&(a=P(2),F("timestamp",a.event.modifiedDate))},V3a=function(a){a&1&&K(0,"mat-icon",45)},W3a=function(a){a&1&&K(0,"mat-icon",46)},X3a=function(a,b){a&1&&(I(0,"span"),Q(1),J());a&2&&(C(),Tg(b))},Y3a=function(a){a&1&&K(0,"b-comment-reaction-responders-card",
47);a&2&&(a=P(3),F("reactionState",a.event.commentReactions==null?null:a.event.commentReactions.get(a.ReactionType.UPVOTE))("issueId",a.issueId)("commentNumber",a.event.commentNumber))},c4a=function(a){if(a&1){var b=x();I(0,"div",30)(1,"button",44,3);S(3,"async");S(4,"async");S(5,"async");S(6,"async");M("click",function(){z(b);var e=P(2);return A(Z3a(e))});D(7,V3a,1,0,"mat-icon",45)(8,W3a,1,0,"mat-icon",46)(9,X3a,2,1,"span");S(10,"async");J();I(11,"onedev-hovercard",null,4);D(13,Y3a,1,3,"b-comment-reaction-responders-card",
47);S(14,"async");J()()}if(a&2){var c;a=L(12);var d=P(2);C();F("ariaLabel",$3a(d,d.ReactionType.UPVOTE))("ngClass",bh(22,a4a,U(3,10,d.noUpvoteReactions$)))("aria-disabled",!U(4,12,d.hasAclToUpvoteReact$)||d.commentReactionIsSaving)("disabled",!U(5,14,d.hasAclToUpvoteReact$)||d.commentReactionIsSaving)("onedevHovercardTrigger",a)("onedevHovercardConfig",d.commentReactionsHovercardConfig)("onedevHovercardActive",!!U(6,16,d.showCommentReactionHovercard$));C(6);G(b4a(d,d.ReactionType.UPVOTE)?7:8);C(2);
G((c=U(10,18,d.upvoteReactionCountDisplayString$))?9:-1,c);C(4);G(U(14,20,d.noUpvoteReactions$)?-1:13)}},d4a=function(a){if(a&1){var b=x();I(0,"a",49);M("click",function(){z(b);var c=P(3);return A(c.showCommentHistoryDialog(c.event.commentNumber))});Q(1," Show History ");J()}},e4a=function(a){a&1&&(I(0,"div",31),K(1,"b-comment-edit-timestamp-message",48),D(2,d4a,2,0,"a"),J());a&2&&(a=P(2),C(),F("event",a.event),C(),G(a.commentHistoryEnabled?2:-1))},f4a=function(a){a&1&&(K(0,"b-issue-event-details",
19),S(1,"async"),S(2,"async"),S(3,"async"));if(a&2){var b,c;a=P();var d=P();F("diffs",(b=U(1,4,d.postEventDiffs$))!==null&&b!==void 0?b:ah(10,L3a))("customFieldMap",a.customFieldMap)("effortSpecName",(c=U(2,6,d.effortSpec$))==null?null:c.name)("effortEnabled",!!U(3,8,d.isEffortEnabled$))}},g4a=function(a,b){a&1&&(I(0,"div",50),K(1,"b-attachment-viewer",51),J());a&2&&(a=b.$implicit,b=P(3),Fg("id","attachment",a.attachmentId,""),C(),F("issueId",b.issueId)("attachment",a)("attachmentUploader",Ui(b.event.userPerformingActionUser)))},
h4a=function(a){a&1&&(I(0,"div",32),tg(1,g4a,2,5,"div",50,sg),J());a&2&&(a=P(2),C(),ug(a.event.attachments))},j4a=function(a){a&1&&(I(0,"div",5),K(1,"b-user-image",6),J(),I(2,"div",7)(3,"h4",8),D(4,C3a,3,8,"b-user-membership-chip",9)(5,D3a,2,4,"b-user-display",10)(6,F3a,5,3)(7,G3a,2,1,"span",11)(8,H3a,2,1,"ng-template",null,0,fh)(10,I3a,3,3,"span")(11,J3a,1,0,"button",12),S(12,"async"),I(13,"span",13),D(14,K3a,1,3,"b-restricted-chip",14),K(15,"b-formatted-date-time",15),D(16,M3a,3,5,"b-actions-menu",
16),J()(),K(17,"div",17),D(18,N3a,2,1,"div",18)(19,O3a,4,11,"b-issue-event-details",19),S(20,"async"),K(21,"div",17),I(22,"div",20)(23,"div",21),D(24,P3a,2,0,"div",22)(25,Q3a,2,3,"b-restricted-comment-placeholder",23),I(26,"div",24),D(27,R3a,1,4,"b-note-container",25)(28,S3a,4,5)(29,T3a,3,0,"button",26),J(),I(30,"div",27)(31,"div",28),D(32,U3a,1,1,"b-formatted-date-time",29),S(33,"async"),J(),D(34,c4a,15,24,"div",30),J()(),D(35,e4a,3,2,"div",31),J(),D(36,f4a,4,11,"b-issue-event-details",19),S(37,
"async"),K(38,"div",17),D(39,h4a,3,0,"div",32),K(40,"div",17),J());if(a&2){var b;a=P();C();F("email",Ui(a.event.userPerformingActionUser));C(3);G((b=a.enableTeamAnnotations&&Ui(a.event.userPerformingActionUser))?4:5,b);C(2);G(a.isNonObfuscatedEmail(Ui(a.event.userPerformingActionUser))?6:7);C(4);G(a.isCommentEvent(a.event)?10:-1);C();G(U(12,20,a.canEditComment$)&&!wr(a)?11:-1);C(3);G(a.isRestricted()?14:-1);C();F("timestamp",a.event.modifiedDate);C();G(a.isCommentEvent(a.event)?16:-1);C(2);G(a.event.taggedSummary&&
a.event.taggedSummary.length?18:-1);C();G(U(20,22,a.showFullHistoryFromFiltering$)==="FULL_HISTORY"?19:-1);C(5);G(a.isDeleted()?24:-1);C();G(wr(a)&&!a.isDeleted()?25:-1);C(2);G(!i4a(a)||wr(a)||a.isDeleted()||a.isSummarized?-1:27);C();G(i4a(a)&&!wr(a)&&!a.isDeleted()&&a.isSummarized?28:-1);C();G(a.wasSummarized&&!a.isSummarized?29:-1);C(3);G(U(33,24,a.isShowingCommentTimestamp$)?32:-1);C(2);var c;b=a.ReactionType.UPVOTE;var d,e=!a.issuePermissionService.hasAclToComment()&&((c=a.event.commentReactions)==
null?void 0:(d=c.get(b))==null?void 0:d.count)===0;c=a.isInternalSession&&a.commentReactionsEnabled&&i4a(a)&&!a.isDeleted()&&!wr(a)&&!e;G(c?34:-1);C();G(a.isCommentEvent(a.event)&&(a.event.commentVersion||0)>0&&!wr(a)?35:-1);C();G(U(37,26,a.showFullHistoryFromFiltering$)==="FULL_HISTORY"?36:-1);C(3);G(a.event.attachments.length?39:-1)}},k4a=function(a){a&1&&(I(0,"aside",0),K(1,"b-spinner"),J())},l4a=function(a){a&1&&Q(0);if(a&2){var b;a=P(2).$index;var c=P();R(" ",(b=c.foldedCommentsCounts.get(a))==
null?null:b.commentFoldedCount," updates ")}},m4a=function(a){a&1&&Q(0);if(a&2){var b;a=P(2).$index;var c=P();R(" ",(b=c.foldedCommentsCounts.get(a))==null?null:b.commentFoldedCount," update ")}},n4a=function(a){if(a&1){var b=x();I(0,"div",2)(1,"button",4);M("click",function(){z(b);var e=P().$index,f=P(),h,l,q=(l=(h=f.foldedCommentsCounts.get(e))==null?void 0:h.eventFoldedCount)!=null?l:0;for(h=0;h<q&&((Xk(f.internalEvents[e-h])||Yk(f.internalEvents[e-h]))&&f.eventDisplayMode.set(e-h,"full"),e-h!==
0);h++);f.foldedCommentsCounts.delete(e);return A()});D(2,l4a,1,1)(3,m4a,1,1);J();K(4,"div",5);J()}if(a&2){var c;a=P().$index;var d=P();C(2);G(((c=(c=d.foldedCommentsCounts.get(a))==null?null:c.commentFoldedCount)!==null&&c!==void 0?c:1)>1?2:3)}},o4a=function(a){a&1&&(I(0,"div",3),K(1,"b-history-event",6),J());if(a&2){var b=P();a=b.$implicit;b=b.$index;var c=P();C();F("issueId",c.internalIssueId)("issueAccessLevel",c.issueAccessLevel)("event",a)("isSummarized",c.eventDisplayMode.get(b)===c.eventDisplayModes.SUMMARIZED)}},
q4a=function(a,b){a&1&&D(0,n4a,5,1,"div",2)(1,o4a,2,4,"div",3);if(a&2){var c;a=b.$implicit;b=b.$index;var d=P();G(d.foldedCommentsCounts.has(b)&&((c=(c=d.foldedCommentsCounts.get(b))==null?null:c.commentFoldedCount)!==null&&c!==void 0?c:0)>0?0:-1);C();G(d.internalIssueId&&p4a(d,a,d.eventDisplayMode.get(b))?1:-1)}},r4a=function(a){a&1&&(I(0,"aside",0),K(1,"b-spinner"),J())},s4a=function(a){return!(!rta(a.userPerformingAction)||!a.isMajorEvent)},u4a=function(a){if(a&1){var b=x();I(0,"div",0);K(1,"mat-icon",
1);I(2,"button",2);M("click",function(){z(b);var c=P(3);c.llmIssueSummaryService.trackEvent("click","issueDetailsPage");t4a(c.llmIssueSummaryService);return A()});Q(3," Summarize ");J()()}},v4a=function(a,b){a&1&&D(0,u4a,4,0,"div",0);a&2&&(a=P(2),G(b===a.BUTTON?0:-1))},w4a=function(a){a&1&&(D(0,v4a,1,1),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.stage$))?0:-1,b)}},x4a=function(a,b){a&1&&(I(0,"mat-option",5)(1,"div",8),Q(2),J(),I(3,"div",9),Q(4),J()());a&2&&(a=b.$implicit,F("value",a),C(2),Tg(a.name),
C(2),Tg(a.description))},B4a=function(a){switch(a){case "FULL_HISTORY":return y4a;case "ALL_COMMENTS":return xr;case "HUMAN_ONLY":return z4a;case "TEAM_AND_ASSIGNEE":return A4a;default:return xr}},C4a=function(a){if(a&1){var b=x();I(0,"span",1)(1,"div")(2,"button",2);M("click",function(){z(b);var d=P();return A(d.addHotlist(d.hotlist.hotlistId))});K(3,"mat-icon",3);J();K(4,"mat-icon",4);J();I(5,"span",5)(6,"a",6);Q(7);J()()();I(8,"onedev-hovercard",null,0);K(10,"b-hotlist-recommendation-card",7);
J()}if(a&2){a=L(9);var c=P();mg("padding-right","10px");F("onedevHovercardTrigger",a)("onedevHovercardActive",c.showHovercard)("onedevHovercardConfig",c.hovercardConfig);C(2);eg("aria-label","Add the suggested hotlist "+c.hotlist.name);C(4);F("href",c.ROUTES.viewHotlist.makeHref(c.hotlist.hotlistId),of);eg("aria-label",c.getAriaLabel(c.hotlist));C();Tg(c.hotlist.name);C(3);F("hotlist",c.hotlist)("recommendationId",c.recommendationId)("issueId",c.issueId)}},D4a=function(a,b){if(a&1){var c=x();I(0,
"b-hotlist-chip-smart",4);M("removeHotlist",function(){var d=z(c).$implicit,e=P(2);return A(e.onHotlistRemoved(d))});J()}a&2&&F("id",b.$implicit)},E4a=function(a,b){a&1&&(K(0,"b-hotlist-recommendation-chip",5),S(1,"async"));a&2&&(a=b.$implicit,b=P(4),F("hotlist",a.content==null?null:a.content.recommendedHotlist)("recommendationId",a.name)("issueId",U(1,3,b.issueId$)))},G4a=function(a,b){a&1&&tg(0,E4a,2,5,"b-hotlist-recommendation-chip",5,F4a);a&2&&ug(b)},H4a=function(a){a&1&&(D(0,G4a,2,0),S(1,"async"));
if(a&2){var b;a=P(2);G((b=U(1,1,a.recommendations$))?0:-1,b)}},J4a=function(a){if(a&1){var b=x();I(0,"div",0);Eg(1);I(2,"button",1);S(3,"async");M("onHotkey",function(){z(b);var c=P();return A(c.openHotlistModal())})("click",function(){z(b);var c=P();return A(c.openHotlistModal())});K(4,"mat-icon",2);Q(5);S(6,"async");J();tg(7,D4a,1,1,"b-hotlist-chip-smart",3,sg);S(9,"async");D(10,H4a,2,3);J()}a&2&&(a=P(),C(2),F("hotkey",a.HOTKEYS.OPEN_HOTLIST_PICKER)("ngClass",bh(10,I4a,!U(3,4,a.textOfHotlistBtn$))),
C(3),R(" ",U(6,6,a.textOfHotlistBtn$)," "),C(2),ug(U(9,8,a.hotlistIds$)),C(3),G(a.hotlistRecommendationsEnabled?10:-1))},L4a=function(a){if(a&1){var b=x();I(0,"mat-form-field",7)(1,"input",8,0);M("keyup",function(c){z(b);var d=P();return A(K4a(d,c))})("blur",function(){z(b);var c=P();return A(c.onInputBlur())});J()()}a&2&&(a=P(),mg("width",a.editModeWidth,"px"),ng("banned-words-warning",a.bannedWordsChecker.showWarning()),C(),F("value",a.titlePlain))},M4a=function(a){a&1&&(I(0,"h3",4,1),Q(2),J());
a&2&&(a=P(),eg("title",a.isLongTitle?a.titlePlain:""),C(2),R(" ",a.titleTruncated," "))},O4a=function(a){if(a&1){var b=x();I(0,"button",9);M("click",function(){z(b);var c=P();return A(c.isEditMode?K4a(c):N4a(c))});K(1,"mat-icon",10);J()}a&2&&(a=P(),F("disabled",a.disabled||a.isSaving))},P4a=function(a){a&1&&(I(0,"p",6),Q(1),I(2,"a",11),Q(3," Learn more "),J()());a&2&&(a=P(),C(),R(" ",$q(a.bannedWordsChecker)," is restricted. Press 'Esc' to cancel or 'Enter' to skip check and save title. "))},Q4a=
function(a){a&1&&K(0,"mat-icon",1)},R4a=function(a){a&1&&(I(0,"span",2),S(1,"date"),Q(2),J());a&2&&(a=P(2),Fg("title","Start Date: ",eh(1,4,a.startDate,"longDate"),""),C(2),Ug(" ",a.startDateShortStr," ",a.JOINING_ARROW," "))},S4a=function(a){a&1&&(I(0,"span",3),S(1,"date"),Q(2),J());a&2&&(a=P(2),Fg("title","End Date: ",eh(1,3,a.endDate,"longDate"),""),C(2),R(" ",a.endDateShortStr," "))},T4a=function(a){a&1&&(I(0,"span",4),Q(1,"?"),J())},U4a=function(a){a&1&&(I(0,"div",0),D(1,Q4a,1,0,"mat-icon",1)(2,
R4a,3,7,"span",2)(3,S4a,3,6,"span",3)(4,T4a,2,0,"span",4),J());a&2&&(a=P(),C(),G(a.showIcon?1:-1),C(),G(a.startDate?2:-1),C(),G(a.endDate?3:4))},yr=function(a){return a==="CRITIQUE"?"CHANGELIST":a==="DRIVE"?"DRIVE":a==="BUGANIZER"?"ISSUE":a==="WTDM"||a==="NON_WTDM"?"ISSUE":a==="GERRIT"?"GERRIT":"TASK_RESOURCE_TYPE_UNSPECIFIED"},V4a=function(a,b){b=b===void 0?[]:b;return"http://cl/search/cl:("+[].concat(w(a),w(b.map(function(c){return String(c.changelistNumber)}))).join("|")+")"},W4a=function(a,b,
c){c=c===void 0?22:c;return["display: inline-block; border-radius: 50%;","width: "+c+"px;","min-width: "+c+"px;","height: "+c+"px;","background: conic-gradient(var(--"+(b===void 0?"good-gfx":b)+") "+a*100+"%, var(--divider) 0 100%);","box-shadow: inset 0 0 0 2px var(--divider);"].join(" ")},zr=function(a){return"hotlist-"+a},Ar=function(a){return"savedsearch-"+a},Cr=function(a){if(a!=null){if(X4a.includes(a))return a;var b=a.match(/\bhotlists?\b/)?Br(a):void 0;if(b)return"hotlist";b=a.match(/\bsavedsearch(?:es|)\b/)?
Br(a):void 0;if(b)return"savedsearch";b=/\bb\/\d+\b/;b=a.match(/\bissues?\b/)||a.match(b)?Br(a):void 0;b||(a=a.trim(),b=a.length<3?!1:!!a.match(/^\d+$/));if(b)return"issue"}},Y4a=function(a){switch(Cr(a)){case "hotlist":return"Hotlist";case "savedsearch":return"Saved Search";case "issue":return"Issue"}},Br=function(a){if(a!=null)return a.split(/[^\d]+/).filter(Boolean).pop()},Z4a=function(a){var b=Br(a);if(b!=null)switch(Cr(a)){case "hotlist":return"/hotlists/"+b;case "savedsearch":return"/savedsearches/"+
b;default:return"/issues/"+b}},$4a=function(a){var b=Br(a);if(b!=null&&Cr(a)==="issue")return"/issues?q="+encodeURIComponent("id:"+b+" OR parentid:"+b+"+")},a5a=function(a){for(var b={},c={},d=k(a),e=d.next();!e.done;e=d.next())e=e.value,c[e.issueId]=e;d=a.slice();d.sort(function(q,v){var y,E;return(((y=v.descendantCount)!=null?y:0)-((E=q.descendantCount)!=null?E:0))*-1});d=k(d);for(e=d.next();!e.done;e=d.next()){var f=e.value,h=void 0;e=(h=b[f.issueId])!=null?h:0;h=void 0;f=k((h=f.parentIssueIds)!=
null?h:[]);for(h=f.next();!h.done;h=f.next())if(h=c[h.value],h!=null){var l=void 0;b[h.issueId]=(l=b[h.issueId])!=null?l:0;b[h.issueId]+=1+e}}return a.map(function(q){var v,y=(v=b[q.issueId])!=null?v:0;return[[y,q.openDescendantCount+y*10],q]})},b5a=function(a,b){a=a.results;if(a.length<(b===void 0?50:b))return[];a=a5a(a);a.sort(function(f,h){f=k(f);f=k(f.next().value);f.next();f=f.next().value;h=k(h);h=k(h.next().value);h.next();return h.next().value-f});b=a.filter(function(f){f=k(f);return k(f.next().value).next().value>
0}).map(function(f){f=k(f);f.next();return f.next().value}).filter(function(f){return f.descendantCount>=2}).filter(nua);var c={};a=k(a);for(var d=a.next();!d.done;d=a.next()){var e=k(d.value);d=e.next().value;e=e.next().value;c[e.issueId]=d}return b.map(function(f){var h,l;return{title:(h=f.snapshot)==null?void 0:(l=h[0])==null?void 0:l.title,ref:f.issueId,suggestionRationale:f.descendantCount+" descendants and "+c[f.issueId][0]+" recent personal touchpoints."}})},c5a=function(a){if(a&1){var b=x();
I(0,"div",1);M("click",function(){z(b);var c=P();return A(c.useXofYLabel=!c.useXofYLabel)});K(1,"div",2);I(2,"span");Q(3);S(4,"number");J();I(5,"span");Q(6);J()()}a&2&&(a=P(),Hg("title","",a.closed," of ",a.total," issues closed in this work area"),C(),eg("style",a.makePie(a.closed/a.total),bja),C(),ng("display-none",a.useXofYLabel),C(),R("",eh(4,11,a.closed/a.total*100,"1.0-0"),"% complete"),C(2),ng("display-none",!a.useXofYLabel),C(),Ug("",a.closed," of ",a.total," closed"))},d5a=function(a,b,c){var d=
c[b];return d==null?!1:[].concat(w(a)).map(function(e){return Dr[e]}).every(function(e){return e==null?!0:e.check(d,b,c)})},e5a=function(a){return!!Dr[a]},f5a=function(a){if(a&1){var b=x();I(0,"div",2);M("@arrowPosition.start",function(){z(b);var c=P();return A(c._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){z(b);var c=P();return A(c._disableViewStateAnimation=!1)});K(1,"div",3);I(2,"div",4);K(3,"div",5)(4,"div",6)(5,"div",7);J()()}a&2&&(a=P(),F("@arrowOpacity",a._getArrowViewState())("@arrowPosition",
a._getArrowViewState())("@allowChildren",a._getArrowDirectionState()),C(2),F("@indicator",a._getArrowDirectionState()),C(),F("@leftPointer",a._getArrowDirectionState()),C(),F("@rightPointer",a._getArrowDirectionState()))},g5a=function(a){a&1&&K(0,"th",41)},h5a=function(a){a&1&&K(0,"td",42)},i5a=function(a){a&1&&(I(0,"th",41),Q(1," Id "),J())},j5a=function(a,b){a&1&&(I(0,"td",43),K(1,"b-issue-id-cell",44),J());a&2&&(a=b.$implicit,C(),F("id",a.id))},k5a=function(a){a&1&&(I(0,"th",41),Q(1," Title "),
J())},l5a=function(a,b){a&1&&(I(0,"td",43),K(1,"b-issue-title-cell",45),S(2,"async"),S(3,"async"),J());if(a&2){var c;a=b.$implicit;b=P();C();ng("bold",b.showReadStatus&&b.isUnread(U(2,8,a.issue$)));Gg("anchorTarget",(b.options.navigationOptions==null?0:b.options.navigationOptions.alwaysOpenNewTab)?"_blank":void 0);F("issue",U(3,10,a.issue$))("issueUrlFactory",b.issueUrlFactory)("enableHovercard",(c=b.options.enableIssueHovercard)!==null&&c!==void 0?c:!1)("useButtonToNavigate",(b.options.navigationOptions==
null?null:b.options.navigationOptions.clickTargets)===b.ClickTargetsForNavigation.NONE)("trailingChip",b.options.showTrending?b.trendingChipsById$.value==null?null:b.trendingChipsById$.value[a.id]:void 0)}},m5a=function(a){a&1&&(I(0,"th",46),Q(1," Type "),J())},n5a=function(a,b){a&1&&(I(0,"td",43),K(1,"b-issue-type-cell",47),S(2,"async"),J());a&2&&(a=b.$implicit,C(),F("issue",U(2,1,a.issue$)))},o5a=function(){},p5a=function(a){a&1&&Q(0," Assignee ")},q5a=function(a){a&1&&(I(0,"th",48),D(1,o5a,0,0)(2,
p5a,1,0),J());a&2&&(a=P(),C(),G((a.options.modes==null?null:a.options.modes.assignee)==="avatar-if-open"?1:2))},r5a=function(a,b){a&1&&K(0,"b-user-image",49);a&2&&F("email",b)},s5a=function(a){a&1&&D(0,r5a,1,1,"b-user-image",49);if(a&2){var b;a=P();var c=P(3);G((b=c.getAssigneeString(a))?0:-1,b)}},t5a=function(a,b){a&1&&D(0,s5a,1,1);a&2&&(a=P(3),G(a.isOpen(b)?0:-1))},u5a=function(a){a&1&&(D(0,t5a,1,1),S(1,"async"));if(a&2){var b;a=P().$implicit;G((b=U(1,1,a.issue$))?0:-1,b)}},v5a=function(a){a&1&&
(K(0,"b-issue-assignee-cell",47),S(1,"async"));a&2&&(a=P().$implicit,F("issue",U(1,1,a.issue$)))},w5a=function(a){a&1&&(I(0,"td",43),D(1,u5a,2,3)(2,v5a,2,3,"b-issue-assignee-cell",47),J());a&2&&(a=P(),C(),G((a.options.modes==null?null:a.options.modes.assignee)==="avatar-if-open"?1:2))},x5a=function(a){a&1&&(I(0,"th",50),Q(1," Reporter "),J())},y5a=function(a,b){a&1&&(I(0,"td",43),K(1,"b-issue-reporter-cell",47),S(2,"async"),J());a&2&&(a=b.$implicit,C(),F("issue",U(2,1,a.issue$)))},z5a=function(a){a&
1&&(I(0,"th",51),Q(1," P "),J())},A5a=function(a,b){a&1&&(I(0,"td",43),K(1,"b-issue-priority-display",52),J());a&2&&(a=b.$implicit,b=P(),C(),F("issuePriority",b.getPriority(a)))},B5a=function(a){a&1&&(I(0,"th",53),Q(1," Status "),J())},C5a=function(a,b){a&1&&(I(0,"td",43),K(1,"b-issue-status-cell",47),S(2,"async"),J());a&2&&(a=b.$implicit,C(),F("issue",U(2,1,a.issue$)))},D5a=function(a){a&1&&(I(0,"th",41),Q(1," Team "),J())},E5a=function(a,b){a&1&&(I(0,"td",43),K(1,"b-issue-team-cell",47),S(2,"async"),
J());a&2&&(a=b.$implicit,C(),F("issue",U(2,1,a.issue$)))},F5a=function(a){a&1&&(I(0,"th",41),Q(1," Dupes "),J())},G5a=function(a){a&1&&Q(0);if(a&2){var b;a=P();R(" ",(b=a.snapshot[0].duplicateIssueId==null?null:a.snapshot[0].duplicateIssueId.length)!==null&&b!==void 0?b:0," ")}},H5a=function(a){a&1&&D(0,G5a,1,1);a&2&&(P(2),G(0))},I5a=function(a,b){a&1&&(I(0,"td",43),D(1,H5a,1,1),S(2,"async"),J());if(a&2){var c;a=b.$implicit;C();G((c=U(2,1,a.issue$))?1:-1,c)}},J5a=function(a){a&1&&(I(0,"th",41),Q(1,
" +1s "),J())},K5a=function(a){a&1&&(I(0,"span",54),Q(1),J());a&2&&(a=P(),Fg("title","",a.aggregatedData==null?null:a.aggregatedData.voteCount," votes"),C(),R(" ",a.aggregatedData==null?null:a.aggregatedData.voteCount," "))},L5a=function(a){a&1&&D(0,K5a,2,3,"span",54);a&2&&(P(2),G(0))},M5a=function(a,b){a&1&&(I(0,"td",43),D(1,L5a,1,1),S(2,"async"),J());if(a&2){var c;a=b.$implicit;C();G((c=U(2,1,a.issue$))?1:-1,c)}},N5a=function(a){a&1&&(I(0,"th",41),Q(1," 7d Views "),J())},O5a=function(a){a&1&&(I(0,
"span",54),Q(1),J());a&2&&(a=P(),Fg("title","",a.userActivityStats==null?null:a.userActivityStats.sevenDayViewCount," views in last 7 days"),C(),R(" ",a.userActivityStats==null?null:a.userActivityStats.sevenDayViewCount," "))},P5a=function(a){a&1&&D(0,O5a,2,3,"span",54);a&2&&(P(2),G(0))},Q5a=function(a,b){a&1&&(I(0,"td",43),D(1,P5a,1,1),S(2,"async"),J());if(a&2){var c;a=b.$implicit;C();G((c=U(2,1,a.issue$))?1:-1,c)}},R5a=function(a){a&1&&(I(0,"th",55),Q(1," Created "),J())},S5a=function(a,b){a&1&&
(I(0,"td",43),K(1,"b-issue-created-time-cell",56),S(2,"async"),J());if(a&2){var c;a=b.$implicit;b=P();C();F("issue",U(2,2,a.issue$))("mode",(c=b.options.modes==null?null:b.options.modes.createdTime)!==null&&c!==void 0?c:b.DEFAULT_DATETIME_MODE)}},T5a=function(a){a&1&&(I(0,"th",57),Q(1," Last Modified "),J())},U5a=function(a,b){a&1&&K(0,"b-formatted-date-time",58);if(a&2){var c;a=P(2);F("timestamp",b/1E3)("mode",(c=a.options.modes==null?null:a.options.modes.modifiedTime)!==null&&c!==void 0?c:a.DEFAULT_DATETIME_MODE)("paddingLeftPx",
0)}},V5a=function(a){a&1&&Q(0," -- ")},W5a=function(a,b){a&1&&(I(0,"td",43),D(1,U5a,1,3,"b-formatted-date-time",58)(2,V5a,1,0),J());if(a&2){var c;a=b.$implicit;b=P();C();G((c=b.getModifiedTimeMicros(a))?1:2,c)}},X5a=function(a){a&1&&(I(0,"th",59),Q(1," Modified "),J())},Y5a=function(a,b){a&1&&K(0,"b-formatted-date-time",58);a&2&&F("timestamp",b/1E3)("mode","relativepasttiny")("paddingLeftPx",4)},Z5a=function(a){a&1&&Q(0," -- ")},$5a=function(a,b){a&1&&(I(0,"td",60),D(1,Y5a,1,3,"b-formatted-date-time",
58)(2,Z5a,1,0),J());if(a&2){var c;a=b.$implicit;b=P();C();G((c=b.getModifiedTimeMicros(a))?1:2,c)}},a6a=function(a){a&1&&(I(0,"th",61),Q(1," Triager "),J())},b6a=function(a){a&1&&K(0,"b-issue-triager-cell",47);a&2&&(a=P(),F("issue",a))},c6a=function(a){a&1&&D(0,b6a,1,1,"b-issue-triager-cell",47);a&2&&(P(2),G(0))},d6a=function(a,b){a&1&&(I(0,"td",60),D(1,c6a,1,1),S(2,"async"),J());if(a&2){var c;a=b.$implicit;C();G((c=U(2,1,a.issue$))?1:-1,c)}},e6a=function(a){a&1&&(I(0,"th",41),Q(1,"Alerts"),J())},
f6a=function(a){a&1&&K(0,"b-issue-alerts-cell",62);if(a&2){a=P();var b=P(2);F("alerts",b.alerts)("issue",a)}},g6a=function(a){a&1&&D(0,f6a,1,2,"b-issue-alerts-cell",62);a&2&&(P(2),G(0))},h6a=function(a,b){a&1&&(I(0,"td",60),D(1,g6a,1,1),S(2,"async"),J());if(a&2){var c;a=b.$implicit;C();G((c=U(2,1,a.issue$))?1:-1,c)}},i6a=function(a){a&1&&(I(0,"th",63),Q(1," Timeframe "),J())},j6a=function(a,b){a&1&&(I(0,"td",43),K(1,"issue-timeframe",64),S(2,"async"),J());a&2&&(a=b.$implicit,C(),F("issue",U(2,2,a.issue$))("showIcon",
!1))},k6a=function(a){a&1&&(I(0,"th",65),Q(1," Progress "),J())},l6a=function(a,b){a&1&&(I(0,"td",43),K(1,"progress-pie",47),S(2,"async"),J());a&2&&(a=b.$implicit,C(),F("issue",U(2,1,a.issue$)))},m6a=function(a){a&1&&K(0,"th",41)},n6a=function(a,b){if(a&1){var c=x();I(0,"td",43)(1,"b-actions-menu",66);M("click",function(f){z(c);return A(f.stopPropagation())});J()()}if(a&2){var d,e;a=b.$implicit;b=P();C();F("buttonLabel",(d=b.options.menu==null?null:b.options.menu.buttonLabel)!==null&&d!==void 0?d:
b.DEFAULT_MENU_OPTIONS.buttonLabel)("buttonIcon",(e=b.options.menu==null?null:b.options.menu.buttonIcon)!==null&&e!==void 0?e:b.DEFAULT_MENU_OPTIONS.buttonIcon)("menuItems",b.getMenuItems(a.id))}},o6a=function(a){a&1&&(I(0,"th",41),Q(1," Component "),J())},p6a=function(a,b){a&1&&(I(0,"td",43),K(1,"b-issue-component-name-cell",47),S(2,"async"),J());a&2&&(a=b.$implicit,C(),F("issue",U(2,1,a.issue$)))},q6a=function(a){a&1&&K(0,"tr",67)},s6a=function(a,b){if(a&1){var c=x();I(0,"tr",68,0);S(2,"async");
M("click",function(d){z(c);var e=L(1),f=P();return A(r6a(f,d,e))})("mouseup",function(d){z(c);var e=L(1),f=P();return A(r6a(f,d,e))})("focusin",function(){var d=z(c).$implicit,e=P();return A(e.focusManager==null?null:Jq(e.focusManager,d))})("keydown",function(d){var e=z(c).$implicit,f=P();return A(f.onRowKeydown(e,d))});J()}a&2&&(a=b.$implicit,b=P(),ng("closed",b.options.deEmphasizeClosedIssues&&b.isClosed(U(2,5,a.issue$)))("active",b.options.activeRowMode===b.ActiveRowMode.REMAIN_ACTIVE&&(b.focusManager==
null?null:b.focusManager.activeItem==null?null:b.focusManager.activeItem.row==null?null:b.focusManager.activeItem.row.id)===a.id),F("row",a))},t6a=function(a){if(a&1){var b=x();I(0,"button",70);M("click",function(){z(b);var c=P(5);return A(c.rowLimit$.next(void 0))});Q(1," Show more ");J()}},u6a=function(a){a&1&&D(0,t6a,2,0,"button",69);if(a&2){a=P();var b=P();G(a.length<b?0:-1)}},v6a=function(a){if(a&1){var b=x();I(0,"button",70);M("click",function(){z(b);var c=P(5);return A(c.rowLimit$.next(c.options.rowLimit))});
Q(1," Show less ");J()}},w6a=function(a){a&1&&D(0,v6a,2,0,"button",69);if(a&2){a=P();var b=P(3);G(a.length>b.options.rowLimit?0:-1)}},x6a=function(a){a&1&&(D(0,u6a,1,1),S(1,"async"),D(2,w6a,1,1));if(a&2){var b;a=P(3);G((b=U(1,1,a.rowLimit$))?0:2,b)}},y6a=function(a){a&1&&(D(0,x6a,3,3),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.rows$))?0:-1,b)}},z6a=function(a){a&1&&(I(0,"div",40),D(1,y6a,2,3),S(2,"async"),J());if(a&2){var b;a=P();C();G((b=U(2,1,a.rowCountAfterFilters$))?1:-1,b)}},A6a=function(a,
b){return(a==null?void 0:a.id)===(b==null?void 0:b.id)},cl=function(a){return Xo(a.issue$)},B6a=function(a){var b,c,d;return(b=Xo(a.issue$))==null?void 0:(c=b.snapshot)==null?void 0:(d=c[0])==null?void 0:d.priority},C6a=function(a){var b,c;return(b=Xo(a.issue$))==null?void 0:(c=b.aggregatedData)==null?void 0:c.modifiedTimeMicros},D6a=function(a,b){if(!b)return a;switch(b.column){case "status":return Xta()(a,b.direction);case "assignee":return Yta()(a,b.direction);case "reporter":return $ta()(a,b.direction);
case "type":return Zta()(a,b.direction);case "createdTime":return aua(cl)(a,b.direction);case "modifiedTime":case "relativeModifiedTime":return bua(cl)(a,b.direction);case "priority":return gua(cl)(a,b.direction);case "progress":return hua()(a,b.direction);default:return console.warn("b-issues-table sort by '"+b.column+"' not implemented"),a}},E6a=function(a){a&1&&(I(0,"div"),K(1,"b-spinner"),J())},F6a=function(a){a&1&&(I(0,"div",4),Eg(1,1),J());a&2&&(a=P(),Fg("id","expansion-panel-content-",a.instance,
""),eg("aria-labelledby","expansion-panel-header-"+a.instance))},H6a=function(a,b){if(a&1){var c=x();Q(0," Triager:\u00a0 ");K(1,"b-user-image",20);I(2,"b-single-user-control",21,0);S(4,"async");M("valueChange",function(e){z(c);var f=P(3);return A(G6a(f,e.newEmail))})("emailChange",function(e){z(c);var f=P(3);return A(G6a(f,e))});J();I(5,"button",22);M("click",function(e){z(c);L(3).openEditor();return A(e.stopPropagation())});K(6,"mat-icon",23);J()}if(a&2){var d;a=P(3);C();F("email",b);C();F("name",
"triager")("title","Triager")("value",b)("user",(d=U(4,5,a.triager$))!==null&&d!==void 0?d:void 0)}},I6a=function(a){if(a&1){var b=x();I(0,"button",24);M("click",function(){z(b);var c=P(3);return A(c.claim())});Q(1," Claim ");J()}},J6a=function(a){a&1&&(I(0,"div",15),D(1,H6a,7,7),S(2,"async"),D(3,I6a,2,0,"button",19),J());if(a&2){var b;a=P(2);C();G((b=U(2,1,a.triagerEmail$))?1:3,b)}},K6a=function(a){if(a&1){var b=x();I(0,"b-event-stream-header",47);M("click",function(c){z(b);return A(c.stopPropagation())});
J()}},L6a=function(a){a&1&&K(0,"suggested-similar-issues",48);if(a&2){a=P();var b=P(2),c=P();F("issueId",b)("similarIssueIds",a)("limit",c.MAX_SIMILAR_ISSUES)}},M6a=function(a,b){a&1&&D(0,L6a,1,3,"suggested-similar-issues",48);a&2&&G(b.length?0:-1)},N6a=function(a){a&1&&xg(0)},O6a=function(a){a&1&&D(0,N6a,1,0,"ng-container",49);a&2&&(P(2),a=L(49),F("ngTemplateOutlet",a))},P6a=function(a){a&1&&xg(0)},Q6a=function(a){a&1&&D(0,P6a,1,0,"ng-container",49);a&2&&(P(2),a=L(51),F("ngTemplateOutlet",a))},R6a=
function(a){a&1&&xg(0)},S6a=function(a){a&1&&D(0,R6a,1,0,"ng-container",49);a&2&&(P(2),a=L(61),F("ngTemplateOutlet",a))},T6a=function(a){a&1&&xg(0)},U6a=function(a){a&1&&D(0,T6a,1,0,"ng-container",49);a&2&&(P(2),a=L(55),F("ngTemplateOutlet",a))},V6a=function(a){a&1&&xg(0)},W6a=function(a){a&1&&D(0,V6a,1,0,"ng-container",49);a&2&&(P(2),a=L(57),F("ngTemplateOutlet",a))},X6a=function(a){a&1&&xg(0)},Y6a=function(a){a&1&&D(0,X6a,1,0,"ng-container",49);a&2&&(P(2),a=L(53),F("ngTemplateOutlet",a))},Z6a=function(a){a&
1&&xg(0)},$6a=function(a){a&1&&D(0,Z6a,1,0,"ng-container",49);a&2&&(P(2),a=L(59),F("ngTemplateOutlet",a))},a7a=function(a){a&1&&D(0,O6a,1,1,"ng-container")(1,Q6a,1,1,"ng-container")(2,S6a,1,1,"ng-container")(3,U6a,1,1,"ng-container")(4,W6a,1,1,"ng-container")(5,Y6a,1,1,"ng-container")(6,$6a,1,1,"ng-container");if(a&2){var b;a=P(3);G((b=a.selectedTriageAction)===a.TriageActionKey.SET_NEEDS_INFO?0:b===a.TriageActionKey.SET_CONFIRMED?1:b===a.TriageActionKey.CLOSE_ISSUE?2:b===a.TriageActionKey.SET_IN_PROGRESS?
3:b===a.TriageActionKey.SET_FIXED?4:b===a.TriageActionKey.CHANGE_COMPONENT?5:b===a.TriageActionKey.UNCONFIRM?6:-1)}},c7a=function(a){if(a&1){var b=x();I(0,"button",51);S(1,"async");M("click",function(){z(b);var d=P().$implicit,e=P(4),f=P();return A(b7a(f,d.key,e))});Q(2);J()}if(a&2){a=P().$implicit;var c=P(5);F("disabled",!U(1,2,c.hasAclToEdit$));C(2);R(" ",a.displayAs," ")}},d7a=function(a,b){a&1&&D(0,c7a,3,4,"button",50);a&2&&(a=b.$implicit,b=P(3),G(a.isEligible(b)?0:-1))},f7a=function(a,b){a&1&&
tg(0,d7a,1,1,null,null,e7a);a&2&&(a=P(4),ug(a.PHASE_TO_ACTIONS.get(b)))},g7a=function(a){a&1&&(D(0,f7a,2,0),S(1,"async"));if(a&2){var b;a=P(3);G((b=U(1,1,a.issuePhase$))?0:-1,b)}},h7a=function(a){if(a&1){var b=x();I(0,"needs-more-info",52);M("cancelAction",function(){z(b);var c=P(3);return A(c.cancelAction())})("completeAction",function(c){z(b);var d=P(3);return A(Er(d,c))});J()}},i7a=function(a){if(a&1){var b=x();I(0,"div",53)(1,"div",54);Q(2,"Confirm issue");J();I(3,"verify-fields",55);M("cancelAction",
function(){z(b);var c=P(3);return A(c.cancelAction())})("completeAction",function(c){z(b);var d=P(3);return A(Er(d,c))});J()()}a&2&&(a=P(3),C(3),F("fields",a.CONFIRM_ACTION.fieldsToShow))},j7a=function(a){if(a&1){var b=x();I(0,"div",53)(1,"div",54);Q(2,"Reroute");J();I(3,"verify-fields",55);M("cancelAction",function(){z(b);var c=P(3);return A(c.cancelAction())})("completeAction",function(c){z(b);var d=P(3);return A(Er(d,c))});J()()}a&2&&(a=P(3),C(3),F("fields",a.CHANGE_COMPONENT.fieldsToShow))},k7a=
function(a){if(a&1){var b=x();I(0,"div",53)(1,"div",54);Q(2,"Move to In progress");J();I(3,"verify-fields",56);M("cancelAction",function(){z(b);var c=P(3);return A(c.cancelAction())})("completeAction",function(c){z(b);var d=P(3);return A(Er(d,c))});J()()}a&2&&(a=P(3),C(3),F("fields",a.SET_IN_PROGRESS.fieldsToShow)("showAssignToSelf",a.SET_IN_PROGRESS.showAssignToSelf))},l7a=function(a){if(a&1){var b=x();I(0,"div",53)(1,"div",54);Q(2,"Move to Fixed");J();I(3,"verify-fields",57);M("cancelAction",function(){z(b);
var c=P(3);return A(c.cancelAction())})("completeAction",function(c){z(b);var d=P(3);return A(Er(d,c))});J()()}a&2&&(a=P(3),C(3),F("fields",a.SET_FIXED.fieldsToShow)("automaticChanges",a.SET_FIXED.automaticChanges))},m7a=function(a){if(a&1){var b=x();I(0,"div",53)(1,"div",54);Q(2,"Unconfirm");J();I(3,"verify-fields",55);M("cancelAction",function(){z(b);var c=P(3);return A(c.cancelAction())})("completeAction",function(c){z(b);var d=P(3);return A(Er(d,c))});J()()}a&2&&(a=P(3),C(3),F("fields",a.UNCONFIRM.fieldsToShow))},
n7a=function(a){if(a&1){var b=x();I(0,"div",53)(1,"div",54);Q(2,"Close issue");J();I(3,"close-issue",58);M("cancelAction",function(){z(b);var c=P(3);return A(c.cancelAction())})("completeAction",function(c){z(b);var d=P(3);return A(d.completeAction(c))});J()()}},o7a=function(a,b){a&1&&(I(0,"div",25)(1,"div",26),K(2,"issue-title",27),S(3,"async"),I(4,"div",28)(5,"div")(6,"span",29),Q(7),S(8,"enumToHuman"),J()(),I(9,"div")(10,"span",30),K(11,"b-issue-priority-display",31),J()(),K(12,"mat-divider",32)(13,
"b-issue-hotlists",33),J()(),I(14,"b-expansion-panel",34),vg(15,35),I(16,"div",15),K(17,"mat-icon",36),I(18,"h4",37),Q(19,"Description"),J()(),wg(),K(20,"b-issue-description",38),J(),I(21,"b-expansion-panel",34,1),vg(23,35),I(24,"div",39),K(25,"mat-icon",40),I(26,"h4",41),Q(27),S(28,"async"),J(),D(29,K6a,1,0,"b-event-stream-header",42),S(30,"async"),J(),wg(),K(31,"b-event-stream",43),S(32,"async"),S(33,"async"),S(34,"async"),S(35,"async"),J(),I(36,"b-expansion-panel",34),vg(37,35),I(38,"div",39),
K(39,"mat-icon",44),I(40,"h4",45),Q(41),S(42,"async"),J()(),wg(),D(43,M6a,1,1),S(44,"async"),J()(),I(45,"div",46),D(46,a7a,7,1)(47,g7a,2,3)(48,h7a,1,0,"ng-template",null,2,fh)(50,i7a,4,1,"ng-template",null,3,fh)(52,j7a,4,1,"ng-template",null,4,fh)(54,k7a,4,2,"ng-template",null,5,fh)(56,l7a,4,2,"ng-template",null,6,fh)(58,m7a,4,1,"ng-template",null,7,fh)(60,n7a,4,0,"ng-template",null,8,fh),J());if(a&2){var c,d,e,f;a=L(22);var h=P(),l=P();C(2);F("title",b.snapshot[0].title)("issueId",h)("componentId",
b.snapshot[0].componentId)("hasAclToEdit",U(3,22,l.hasAclToEdit$));C(5);Tg(U(8,24,b.snapshot[0].type));C(4);F("issuePriority",b.snapshot[0].priority);C();F("vertical",!0);C();F("issueId",h);C();F("expanded",!0);C(6);F("id",h);C();F("expanded",!0);C(6);R("Comments (",(c=U(28,26,l.comments$))==null?null:c.length,")");C(2);G(a.expanded&&((d=U(30,28,l.comments$))==null?0:d.length)?29:-1);C(2);F("issueId",h)("events",U(32,30,l.events$))("issueAccessLevel",U(33,32,l.accessLevel$))("showFullHistory",U(34,
34,l.preferences.showFullHistory$));eg("data-will-inline-screenshots",U(35,36,l.enableInlineScreenshots$)?!0:null);C(5);F("expanded",!0);C(5);R(" Similar issues (",(e=U(42,38,l.similarIssueIds$))==null?null:e.length,") ");C(2);G((f=U(44,40,l.similarIssueIds$))?43:-1,f);C(3);G(l.displaySecondaryFooter?46:47)}},p7a=function(a,b){if(a&1){var c=x();I(0,"div",9)(1,"div",10)(2,"div",11)(3,"div");K(4,"b-issue-id-picker",12);I(5,"a",13);K(6,"mat-icon",14);J()();D(7,J6a,4,3,"div",15);S(8,"async");J();I(9,
"div",16)(10,"button",17);M("click",function(){z(c);var e=P();return A(e.triageService.closeSidebar())});K(11,"mat-icon",18);J()()();D(12,o7a,62,42);S(13,"async");J()}if(a&2){var d;a=P();C(4);F("issueId",b)("showCopyOptions",!1);C();Fg("href","/issues/",b,"",of);C(2);G(U(8,6,a.issuePhase$)===a.TriagePhase.NEW?7:-1);C(5);G((d=U(13,8,a.issue$))?12:-1,d)}},q7a=function(a){a=a.internal;var b,c,d;(b=a.getFeatures())==null?d=void 0:d=bk(b,1,Wi(Xi)).sort().join("-");b=(c=d)!=null?c:"";var e,f,h;(e=a.getFeatures())==
null?h=void 0:h=bk(e,2,Wi(Xi)).sort().join("-");c=(f=h)!=null?f:"";return Gh(a,10,"all_features")+(":enabled-"+b)+(":disabled-"+c)},Fr=function(a,b){return a.querySelector('[peoplekit-id="'+b+'"]')},r7a=function(a,b){return Array.from(a.querySelectorAll('[peoplekit-id="'+b+'"]'))},s7a=function(a){return Array.from(a.querySelectorAll("[autofocus], [tabindex], a, input, textarea, select, button")).filter(function(b){return!(b.getAttribute("aria-hidden")==="true"||b.hasAttribute("disabled")||b.hasAttribute("hidden"))})},
t7a=function(a){return a.closest('[class~="aU4VQc"]')},u7a=function(a){var b=new Image;b.src=a;a=b.complete;b.src="";return a},Gr=function(a,b,c,d,e,f){e=e===void 0?new v7a:e;f=f===void 0?"":f;b=Cp(w7a,{imageUrls:b.map(function(h){return h||"https://lh3.googleusercontent.com/a/default-user"}),backupUrl:f||"https://lh3.googleusercontent.com/a/default-user",size:c,preloadSize:d,pixelRatio:x7a()});e=new y7a(b,e);a.appendChild(b);return e},A7a=function(a,b){var c="",d=0;b=k(b);for(var e=b.next();!e.done;e=
b.next())e=e.value,c=c+a.substring(d,e.getStart())+"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3"+a.substring(e.getStart(),e.getEnd())+"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3",d=e.getEnd();c+=a.substring(d,a.length);return z7a(z7a(Hr(c),"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3","<b>"),"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3","</b>")},B7a=function(a){var b=a.getDisplayName();return b?A7a(b,a.getMatchInfo().getDisplayNameMatches()):""},C7a=function(a){var b=a.getDisplayValue();return b?A7a(b,a.getMatchInfo().getDisplayValueMatches()):
""},D7a=function(a,b){var c=b?B7a(a):Hr(a.getDisplayName());b=b?C7a(a):Hr(a.getDisplayValue());c=c||b;b=b||Hr(a.getDescription());var d=a.getPrimaryTarget();return{hovercardId:d.getTargetType()===1||d.getTargetType()===6?a.getDisplayValue():d.getProfileId(),label:c,sublabel:b,photos:[a.getPhotoUrl()]}},E7a=function(a){var b=a.result();b=D7a(b,!1);a=a.getDisplayNameWithOverrideApplied();return{label:Hr(a)||b.sublabel,sublabel:b.sublabel,name:a,photos:b.photos,hovercardId:b.hovercardId}},F7a=function(a){var b;
switch(((b=a.statefulChipConfig)==null?void 0:b.chipState)||0){case 3:return"isError";default:return""}},H7a=function(a,b,c){var d=E7a(a),e=a.result().getPrimaryTarget();a=b.getWarnForExternalSelections()&&e.getOrgState()===2;e=b.getShouldDisplayExternalSelectionIcon()&&a&&e.getDataSource()!==1?["https://www.gstatic.com/people/peoplekit/icons/light_theme/out_of_domain_yellow500.svg"]:d.photos;c=F7a(c);return{id:Ir(G7a),label:d.label,name:d.name,photos:e,hovercardId:d.hovercardId,stateClass:c,isWarning:a,
isDeletionDisabled:!b.getAllowChipDeletion()}},J7a=function(a,b,c,d){var e="",f=Hr(a.getDescription()),h=!1,l=a.getMemberList().length;if(l>1||a.getDisplayName())e=a.getMemberList().map(function(q){var v=q.getPrimaryTarget().getName(),y="";if(v){if(b){var E;var H=(v=(H=q.getPrimaryTarget())==null?void 0:(E=H.getName())==null?void 0:E.getGivenName())?A7a(v,q.getMatchInfo().getGivenNameMatches()):""}else H=Hr(v.getGivenName());(y=H)||(y=b?B7a(q):Hr(q.getDisplayName()))}y||(y=b?C7a(q):Hr(q.getDisplayValue()));
return y}),c&&(e=e.reverse()),e=b?B7a(a)||e.join(", "):Hr(a.getDisplayName())||e.join(", "),f||d||a.getTotalMemberCount()===null||(f=Number(a.getTotalMemberCount()),f=I7a({memberCount:f}),h=!0);else if(l===1)return e=a.getMemberList()[0],f=D7a(e,b),Object.assign({},f,{type:a.getPrimaryTarget().getTargetType(),flatResult:e,allowSublabelTranslation:!1});c=a.getPhotoUrl();c=a.getDisplayName()&&c?[c]:a.getMemberList().map(function(q){return q.getPhotoUrl()});return{hovercardId:"",label:e,sublabel:f,type:a.getPrimaryTarget().getTargetType(),
photos:c,allowSublabelTranslation:h}},Mr=function(a){return new Lr(a)},K7a=function(a,b,c){b=b.ownerDocument.createEvent(c);b.initEvent(a,!0,!0);return b},L7a=function(a,b){return K7a(a,b,"CustomEvent")},M7a=function(a){return a.resultType===4||a.resultType===5},Q7a=function(a){Nr.addCoreFactory({type:0,configurationKey:a,factory:{create:function(b){var c=b.chipConfig;var d=b.chipCustomization,e=b.isRightToLeft;e=J7a(b.selection.result(),!1,e,!1);if(e.flatResult){var f=Object,h=f.assign,l=e.flatResult,
q=l.getPrimaryTarget(),v=c.getWarnForExternalSelections()&&q.getOrgState()===2;q=c.getShouldDisplayExternalSelectionIcon()&&v&&q.getDataSource()!==1?["https://www.gstatic.com/people/peoplekit/icons/light_theme/out_of_domain_yellow500.svg"]:e.photos;d=F7a(d);c={id:Ir(G7a),label:e.label,name:l.getDisplayName(),photos:q,hovercardId:e.hovercardId,stateClass:d,isWarning:v,isDeletionDisabled:!c.getAllowChipDeletion()};c=h.call(f,{},c,{type:e.type})}else c=Object.assign({},{id:Ir(N7a),isDeletionDisabled:!c.getAllowChipDeletion(),
stateClass:"",isWarning:!1,name:e.label},e);e=Cp(O7a,c);Gr(Fr(e,"d6MZcd"),c.photos,b.avatarSize,b.resultListItemAvatarSize,b.appearanceConfig);b.parent.appendChild(e);return{chip:new P7a(e,b.selection,b.selectionsState),root:e,state:0}},shouldCreate:M7a}})},R7a=function(a){return 0===a.resultType},U7a=function(a){Nr.addCoreFactory({type:1,configurationKey:a,factory:{create:function(b){var c=H7a(b.selection,b.chipConfig,b.chipCustomization);c=Cp(S7a,Object.assign({},c,{avatarSize:b.avatarSize}));b.parent.appendChild(c);
return{chip:new T7a(c,b.selection,b.selectionsState),root:c,state:0}},shouldCreate:R7a}})},a8a=function(a,b,c,d,e){var f=V7a(c),h=Or(a),l=Pr(a);l&&h.intersection(W7a(l));X7a(h,Bp(a),Bp(c));a=Y7a(a,b);b=h.left;a&4?b+=h.width:a&2&&(b+=h.width/2);h=new Qr(b,h.top+(a&1?h.height:0));h=Z7a(h,f);a=Y7a(c,d);h=$7a(h,Rr(c),a).rect;c=Pr(c);c.top-=f.y;c.right-=f.x;c.bottom-=f.y;c.left-=f.x;f=h;f.left<c.left?f.left=c.left:f.left+f.width>c.right&&(f.left=c.right-f.width);h=f;e&&(e=h,d&1?e.top<c.top&&(d=c.top-e.top,
e.top+=d,e.height-=d):(d=e.top+e.height,d>c.bottom&&(e.height-=d-c.bottom)),h=e);return h},d8a=function(a,b){Sr(a,new Qr(b.left,b.top));b=b.getSize();b8a(Rr(a),b)||c8a(a,b)},e8a=function(a,b){return new Tr(a,b)},h8a=function(a,b,c){b=Cp(f8a,{label:c.label,id:b,ariaLabel:c.ariaLabel});a.appendChild(b);a=c.showDelayMs;c=c.hideDelayMs;c=new Ur(b,a===void 0?500:a,c===void 0?300:c);return new g8a(b,c)},i8a=function(a){return!a.chipCustomization.statefulChipConfig||a.chipCustomization.statefulChipConfig.chipState===
0||a.chipConfig.getWarnForExternalSelections()&&a.chipCustomization.statefulChipConfig.chipState!==3?!1:!0},j8a=function(a){Nr.addDecoratorFactory({type:0,factory:{create:function(b,c){return{chip:new Vr(c.chip,b.chipCustomization.statefulChipConfig.tooltipLabel,b.chipCustomization.statefulChipConfig.ariaLabel),root:c.root,state:b.chipCustomization.statefulChipConfig.chipState}},shouldCreate:i8a},configurationKey:a})},l8a=function(a,b,c){return new Eq(new k8a(a===void 0?0:a,b!=null?b:[],c!=null?c:
null))},Wr=function(a){return(a||"").trim()},Xr=function(a,b,c,d){return new m8a(a,b===void 0?"":b,c===void 0?!1:c,d===void 0?null:d)},Yr=function(a){var b=a.element,c=a.veid,d=a.actions,e=a.pairs;if(b){var f="";d&&d.length&&(f="; track:"+d.join(",").trim());d="";e&&e.length&&(d="; "+e.join("; ").trim());b.setAttribute("jslog",c+f+d);b.LSWHIf=void 0}b=a.element;a=a.componentId;a=b.getAttribute("jslog").concat("; cid:",a);b.setAttribute("jslog",a)},Zr=function(a){return L7a("pcw-click",a)},n8a=function(a){var b;
return Object.freeze({id:"jCCvxc",iconUrl:(b=$r.get(a))==null?void 0:b.get("jCCvxc"),label:"Copy",keyboardShortcut:[512,67],veid:108906})},o8a=function(a){var b;return Object.freeze({id:"UkZFS",iconUrl:(b=$r.get(a))==null?void 0:b.get("UkZFS"),label:"Cut",keyboardShortcut:[512,88],veid:119506})},p8a=function(a){var b;return Object.freeze({id:"YCRBfe",iconUrl:(b=$r.get(a))==null?void 0:b.get("YCRBfe"),label:"Change name",keyboardShortcut:[16,69],veid:120676})},q8a=function(a){var b;return Object.freeze({id:"l1309",
iconUrl:(b=$r.get(a))==null?void 0:b.get("l1309"),label:"Change email address",keyboardShortcut:[16,70],veid:135428})},r8a=function(a){var b=as?"Option":"Alt",c,d=Object,e=d.freeze;a=(c=$r.get(a))==null?void 0:c.get("xTCd3");return e.call(d,{id:"xTCd3",iconUrl:a,label:"More info",keyboardShortcut:[18,39],veid:119507,ariaLabel:"More info, "+b+" + right arrow key"})},s8a=function(a){var b;return Object.freeze({id:"ENOWEf",iconUrl:(b=$r.get(a))==null?void 0:b.get("ENOWEf"),label:"Hide suggestion",keyboardShortcut:[],
veid:181476})},t8a=function(a){return a.map(function(b){if(as)switch(b){case 512:return"\u2318";case 18:return"Option"}switch(b){case 16:return"Shift";case 512:return"Ctrl";case 18:return"Alt";case 191:return"/";case 39:return"\u2006\u279d";default:return String.fromCharCode(b)}})},w8a=function(a,b){var c=Ir(bs.getInstance()),d=Object,e=d.assign;c=c+":"+a.id;var f=t8a(a.keyboardShortcut);a:switch(b=b.getDensity(),b){case 0:b="googleMaterialDefaultDensity";break a;case 1:b="workspaceMaterialComfortableDensity";
break a;case 2:b="workspaceMaterialCompactDensity";break a;default:throw Error("uf`"+b);}d=Cp(u8a,e.call(d,{},a,{id:c,keyboardShortcut:f,densityClass:b}));a.veid&&Yr({element:d,veid:a.veid,actions:["impression","pcw-click"],componentId:"peoplekitweb"});return new v8a(d,a)},x8a=function(a,b){return new cs(a,b)},y8a=function(a,b,c){var d=Math.max(b,c);return a>Math.min(b,c)&&a<d},A8a=function(a,b){return new z8a(a,b)},ds=function(a){return new B8a(a)},D8a=function(a,b){return new C8a(a,b)},E8a=function(){return!1},
F8a=function(){},I8a=function(a,b,c,d){var e=Cp(G8a);Yr({element:e,veid:28041,actions:["impression"],componentId:"peoplekitweb"});var f=new H8a(e);a.appendChild(e);return new es(e,b,c,f,d)},L8a=function(a,b){b=Cp(J8a,{label:b.label});a.appendChild(b);return new K8a(b)},fs=function(a,b){for(var c=k(M8a.values()),d=c.next();!d.done;d=c.next())a.classList.remove(d.value);(b=M8a.get(b))&&a.classList.add(b)},gs=function(a,b){for(var c=k(["peoplekitThemeLight","peoplekitThemeDark"]),d=c.next();!d.done;d=
c.next())a.classList.remove(d.value);(b=N8a.get(b))&&a.classList.add(b)},Q8a=function(a,b,c,d,e){b=Cp(O8a,{content:b,header:d,confirmAction:!0});a.appendChild(b);d=Fr(b,"Sx9Kwc");a=L8a(Fr(b,"IbE0S"),{label:"Cancel"});var f={confirmButtonText:e};f=f||{};var h="";f=f.confirmButtonText;switch(In(f)?f.toString():f){case "Confirm":h+="Confirm";break;case "Hide":h+="Hide";break;case "Show":h+="Show";break;default:h+="Apply"}h=L8a(Fr(b,"McfNlf"),{label:h});gs(b,c.getTheme());fs(d,c.getStyle());c={element:h.getRoot(),
veid:0,actions:["pcw-click","impression"],componentId:"peoplekitweb"};switch(e){case "Hide":c.veid=131909;Yr(c);break;case "Show":c.veid=131910,Yr(c)}return new P8a(b,a,h)},S8a=function(a,b,c,d){b=Cp(O8a,{content:b,header:d});a.appendChild(b);a=Fr(b,"Sx9Kwc");d=L8a(Fr(b,"IbE0S"),{label:"Close"});gs(b,c.getTheme());fs(a,c.getStyle());return new R8a(b,d)},U8a=function(a,b){var c=T8a({header:"Couldn't hide suggestion"});var d=hs("<div>There was a problem and this person could not be hidden</div>");a=
S8a(a,d,b,c);Yr({element:a.getRoot(),veid:131913,actions:["impression"],componentId:"peoplekitweb"});return a},V8a=function(a,b){var c=T8a({header:"Couldn't hide suggestion"});var d=hs("<div>Groups of 2 or more people can't be hidden</div>");a=S8a(a,d,b,c);Yr({element:a.getRoot(),veid:166230,actions:["impression"],componentId:"peoplekitweb"});return a},W8a=function(a,b){var c=T8a({header:"Couldn't show suggestion"});var d=hs("<div>There was a problem and this person could not be shown in suggestions</div>");
a=S8a(a,d,b,c);Yr({element:a.getRoot(),veid:184760,actions:["impression"],componentId:"peoplekitweb"});return a},Z8a=function(a,b,c,d){var e=b.result().getMemberList();e.length===1?(b=D7a(e[0],!1),b={hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,name:"",photos:b.photos}):b=E7a(b);e=X8a({hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,name:b.name});var f=d===0?"Hide":"Show",h='<div peoplekit-id="'+is("bN97Pc")+'"><div class="'+is("peoplekitComponentsHideconfirmationdialogImplHeadline")+
'">';h=(d===0?h+"Hide Suggestion?":h+"Show Suggestion?")+('</div><div class="'+is("peoplekitComponentsHideconfirmationdialogImplDescription")+'">');d=hs((d===0?h+"This person won't be suggested again unless you search for them in Photos.":h+"Suggest this person when showing people results.")+"</div></div>");a=Q8a(a,d,c,e,f);d=Fr(a.getRoot(),"d6MZcd");Gr(d,b.photos,36,36,c);return new Y8a(a)},$8a=function(a){js.addDecoratorFactory({type:0,factory:{create:function(b,c){return new ks(c,b.appearanceConfig,
b.clientConfig,b.result,b.ariaParent)},shouldCreate:function(b){var c=b.result.getResultType()===7,d=b.result.getMemberList().length>=2;c=!c&&!d;d=!!(new ls).filterResult(b.result);return Fj(b.clientConfig.internal,7,!1)&&!d&&c}},configurationKey:a})},d9a=function(a,b){var c=Cp(a9a,{icon:b.icon,tooltipLabel:b.tooltipLabel,ariaLabel:b.ariaLabel});a.appendChild(c);var d=c.classList,e=d.add;a:{var f=b.density||0;switch(f){case 0:f="googleMaterialDefaultDensity";break a;case 1:f="workspaceMaterialComfortableDensity";
break a;case 2:f="workspaceMaterialCompactDensity";break a;default:throw Error("uf`"+f);}}e.call(d,f);if(b.tooltipLabel){d=c.getAttribute("data-tooltip-id")||"";var h=h8a(a,d,{label:b.tooltipLabel,ariaLabel:b.ariaLabel});b9a(h,c)}return new c9a(c,b.icon,b.disabledIcon,h,b.disableDomNavigation,b.onClick)},f9a=function(a,b,c,d){var e=Object.assign({},c);e.onClick=function(f){d.select(a.getSelection(),1);var h;(h=c.onClick)==null||h.call(c,f)};return new e9a(a,b,e)},h9a=function(a){js.addDecoratorFactory({type:2,
factory:{create:function(b,c){return new g9a(c,b.appearanceConfig,b.clientConfig,b.interactions)},shouldCreate:function(b){return Fj(b.clientConfig.internal,7,!1)&&!!(new ls).filterResult(b.result)}},configurationKey:a})},i9a=function(a){js.addDecoratorFactory({type:1,factory:{create:function(b,c){return f9a(c,b.appearanceConfig,b.resultCustomizationConfig.secondaryActionButtonConfig,b.interactions)},shouldCreate:function(b){return!!b.resultCustomizationConfig.secondaryActionButtonConfig&&!(Fj(b.clientConfig.internal,
7,!1)&&(new ls).filterResult(b.result))}},configurationKey:a})},j9a=function(a){a=q7a(a);U7a(a);j8a(a);Q7a(a);$8a(a);h9a(a);i9a(a)},ms=function(a,b,c){b=[b,c].map(function(d){return d!=null?d:""}).join(";");a.setAttribute("pkd-ac-state",String(ti(b)))},k9a=function(a,b){b=[String(b.getId()),b.getValue()].join(";");a.setAttribute("pkd-target",String(ti(b)))},l9a=function(a,b){a.setAttribute("pkd-ps-state",String(ti("1")));b.warmUpCache().then(function(){a.setAttribute("pkd-ps-state",String(ti("2")))},
function(){a.setAttribute("pkd-ps-state",String(ti("3")))})},p9a=function(a){var b=Cp(m9a,{id:Ir(n9a)});a.appendChild(b);return new o9a(b)},s9a=function(a){if(ns){var b=q9a(a);r9a(a,b)}else a.scrollIntoView({block:"nearest"})},os=function(a){switch(a){case 0:return 40;case 1:return 32;case 2:return 28;default:throw Error("uf`"+a);}},t9a=function(a){switch(a){case 0:return"googleMaterialDefaultDensity";case 1:return"workspaceMaterialComfortableDensity";case 2:return"workspaceMaterialCompactDensity";
default:throw Error("uf`"+a);}},u9a=function(){var a=a===void 0?10:a;var b="";if(a<1)return b;for(;b.length<a;)b+=Math.random().toString(36).substring(2);return b.length>a?b.substring(0,a):b},v9a=function(a){var b,c=(b=a.getClient())==null?void 0:b.getApplication();a=a.getRequestType();return c&&a?[c,a]:null},w9a=function(a){return(a=v9a(a))?JSON.stringify(a):null},x9a=function(a,b){b=b===void 0?null:b;b=a.getProfileId()||b;return b?(a=v9a(a))?JSON.stringify([a,b]):null:null},z9a=function(a){return y9a.map(function(b){return new ps(a,
b)})},A9a=function(a,b){return new Promise(function(c){b>0?setTimeout(function(){return c(a)},b):c(a)})},B9a=function(a){return new Promise(function(b,c){a>0?setTimeout(function(){return c("TIMEOUT")},a):c("TIMEOUT")})},C9a=function(a,b,c){b=A9a(b,c);return Promise.race([a,b])},D9a=function(a,b){b=B9a(b);return Promise.race([a,b])},E9a=function(a){var b=new qs;if(a instanceof rs)switch(b.setErrorType(a.type),a.type){case 2:b.setErrorMessage("Failed to load flags from service");break;case 3:b.setErrorMessage("Failed to retrieve flags from cache");
break;case 4:b.setErrorMessage("Operation failed to complete before timeout");break;case 6:b.setErrorMessage("Operation failed because of invalid keys.");break;case 7:b.setErrorMessage("Failed to load flags from server"),b.setStatusCode(a.statusCode)}else b.setErrorType(5),b.setErrorMessage(a.message);return b},us=function(a){a=a===void 0?null:a;var b=(new ss).setExperimentFlags(new ts).setSource(3);a&&b.setError(E9a(a));return b},N9a=function(a){var b=b===void 0?new F9a:b;if(G9a)return G9a;var c=
new H9a(a),d=new I9a(a),e;(b.cachedIsStorageAvailable_=J9a(b.storage_))?e=new vs(a,b):e=new ws(a);b=e;try{b.clean()}catch(f){}c=new K9a(new L9a(b,c),d,a.runtime_);return G9a=new M9a(a,c)},P9a=function(a){var b=a.resultCustomizationConfig,c=D7a(a.result,!0);a=O9a(a,c);c=a.sublabel;var d=a.allowSublabelTranslation;b.customSublabel&&(c=b.customSublabel.sublabel,d=b.customSublabel.shouldAllowTranslation);return{id:a.id,hovercardId:a.hovercardId,label:a.label,sublabel:b.shouldHideSublabel?"":c,photos:a.photos,
densityClass:a.densityClass,tags:a.tags,allowSublabelTranslation:d}},O9a=function(a,b){var c=a.result,d=a.resultConfig;a=t9a(a.appearanceConfig.getDensity());var e=[];Fj(Q9a.getExperiments(),3,!1)&&d.getWarnForExternalSelections()&&c.getPrimaryTarget().getOrgState()===2&&e.push({iconUrl:"https://www.gstatic.com/people/peoplekit/icons/light_theme/domain_disabled_grey900.svg",altText:"External",style:1});return{id:Ir(R9a),hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,photos:b.photos,densityClass:a,
tags:e,allowSublabelTranslation:!1}},T9a=function(a){var b=a.result,c=a.resultCustomizationConfig,d=a.appearanceConfig,e=a.isRightToLeft,f=Fj(a.clientConfig.internal,6,!1);d=t9a(d.getDensity());b=J7a(b,!0,e,f);if(b.flatResult)return d=Object.assign({},a,{result:b.flatResult}),d=O9a(d,b),a=d.sublabel,e=d.allowSublabelTranslation,c.customSublabel&&(a=c.customSublabel.sublabel,e=c.customSublabel.shouldAllowTranslation),{id:d.id,hovercardId:d.hovercardId,label:d.label,sublabel:c.shouldHideSublabel?"":
a,photos:d.photos,densityClass:d.densityClass,tags:d.tags,type:b.type,allowSublabelTranslation:e};a=b.sublabel;e=b.allowSublabelTranslation;c.customSublabel&&(a=c.customSublabel.sublabel,e=c.customSublabel.shouldAllowTranslation);return{id:Ir(S9a),hovercardId:b.hovercardId,label:b.label,sublabel:c.shouldHideSublabel?"":a,type:b.type,photos:b.photos,densityClass:d,tags:[],allowSublabelTranslation:e}},V9a=function(a,b,c,d,e,f){return new U9a(a,b,c,d,e,f)},W9a=function(a){return a.resultCustomizationConfig.shouldDisable?
2:a.selectionsState.get(a.result.getPrimaryTarget().getId())&&!a.resultConfig.getAllowResultDeselection()?1:0},xs=function(a,b,c,d){return new X9a(a,b===void 0?"":b,c===void 0?!1:c,d===void 0?null:d)},Y9a=function(a){var b=-1;(a=ys(a))&&Gj(a,2)&&(b=Zi(a,2,0));return"index:"+b},$9a=function(a,b,c,d,e,f,h,l,q){a={result:a,selectionsState:c,resultConfig:d,appearanceConfig:e,clientConfig:f,isRightToLeft:h,interactions:l,resultCustomizationConfig:d.getResultCustomizationCallback()(a,b),ariaParent:q};f=
q7a(f);return Z9a(js,f).create(a)},c$a=function(a){var b=Ir(bs.getInstance());b=Cp(a$a,{id:b,header:a});return new b$a(b,a)},d$a=function(a,b,c){return new zs(a,b,c)},f$a=function(a,b,c){var d;return(b=(d=b.groupConfigs[c])==null?void 0:d.headerText)?new e$a(a,b):a},g$a=function(a,b,c,d){b=b.groupConfigs[c];c=b==null?void 0:b.infoGroupConfig;return(b==null?0:b.headerText)&&c?new As(a,c,d):a},h$a=function(a,b,c){b=b.groupConfigs[c];c=b==null?void 0:b.collapsibleGroupConfig;return(b==null?0:b.headerText)&&
c?new Bs(a,c):a},Cs=function(a){return a instanceof TypeError?4:3},k$a=function(a,b,c,d,e,f,h,l,q){h=Cp(i$a,{header:h||""});a.appendChild(h);a=p9a(Fr(h,"tjneg"));return{resultList:new j$a(a,b,c,d,e,f,l,q),list:a}},n$a=function(a,b,c,d,e,f,h,l,q,v,y){a=k$a(a,b,c,d,e,l,q,f,v);b=a.resultList;b=new l$a(b,a.list,h);return new m$a(b,f,y)},p$a=function(a,b,c,d,e,f,h,l,q,v,y){q=Cp(i$a,{header:q||""});a.appendChild(q);a=p9a(Fr(q,"tjneg"));b=new o$a(a,b,c,d,e,f,h,l,v);return new m$a(b,f,y)},q$a=function(){return"https://support.google.com/contacts/answer/7345608"},
s$a=function(a){return r$a.some(function(b){return a instanceof b})},t$a=function(a){return a.getAttribute("peoplekit-id")==="XLuqBd"},G$a=function(a,b,c,d,e,f,h,l,q,v){var y=Cp(u$a);fs(y,h.getStyle());a.appendChild(y);a=Cp(v$a);Yr({element:a,veid:85843,actions:["impression"],componentId:"peoplekitweb"});fs(a,h.getStyle());y.appendChild(a);var E=Fr(a,"tjneg");a:{var H=h.getAutocompleteHeader(),O=h.getAutocompleteCustomGrouping();if(l.internal.getEnableAutocompleteLegalese()){var N=h.getAutocompleteGroupingType()===
4||h.getAutocompleteGroupingType()===5,T=O&&s$a(O);e=p$a(E,h,h,l,d,e,N&&T?O:new w$a,q,H,b,f)}else{switch(h.getAutocompleteGroupingType()){case 1:e=p$a(E,h,h,l,d,e,new w$a,q,H,b,f);break a;case 2:e=n$a(E,h,h,l,d,e,new x$a(h.getAutocompleteGroupingLabel()),q,H,b,f);break a;case 3:e=n$a(E,h,h,l,d,e,new y$a(h.getAutocompleteGroupingLabel()),q,H,b,f);break a;case 4:if(!O)break;e=Fj(l.internal,7,!1)?p$a(E,h,h,l,d,e,O,q,H,b,f):n$a(E,h,h,l,d,e,O,q,H,b,f);break a;case 5:if(O){e=p$a(E,h,h,l,d,e,O,q,H,b,f);
break a}}q=k$a(E,h,h,l,d,q,H,e,b);e=new m$a(q.resultList,e,f)}}E=Fr(E,"rymPhb");b.setAttribute("aria-owns",E.id);b.setAttribute("aria-controls",E.id);E.setAttribute("aria-labelledby",b.id);q=h.getNoResultsMessage();E=Cp(z$a);q?q.display?q=new A$a(E,q):(q=Cp(B$a,q),E.appendChild(q),q=new C$a):q=new D$a;a.appendChild(E);f=new E$a(a,b,e,c,f,h,q,l);Fj(l.internal,7,!1)&&(f=new Ds(f,v,c,l,h,b));return new F$a(y,b,f,d,h)},I$a=function(a,b){return new H$a(a,b)},J$a=function(a){return a.map(function(b){return b.getLoggingToken()}).filter(Boolean)},
Es=function(a){return a.filter(function(b){return!b.isPlaceholder()}).map(function(b){return b.selectionToken().getLoggingToken()}).filter(Boolean)},K$a=function(a,b,c){switch(b){case 1:a.reporter.reportProceed(Es(c));break;case 2:a.dismiss(c);break;case 3:a.save(c);break;case 4:a.send(c);break;case 5:a.reporter.reportSecondaryAction(Es(c))}},M$a=function(a,b,c){return new L$a(a,b,c)},Q$a=function(a,b){a=a.internal.getClearcut();b=new N$a(a,b);b=Fs(b);a=a.getInterfaceType();return new O$a(new P$a(b,
a))},Gs=function(a,b,c,d){var e;d=k(d);for(var f=d.next();!f.done;f=d.next()){f=f.value;try{f(a,b,c)}catch(h){e||(e=h)}}if(e)throw e;},R$a=function(a,b,c,d,e){e=k(e);for(var f=e.next();!f.done;f=e.next())f=f.value,f(a,b,c,d)},T$a=function(a){if(S$a.has(a))return S$a.get(a);throw Error("Kf`"+a);},V$a=function(a){if(U$a.has(a))return U$a.get(a);throw Error("Lf`"+a);},W$a=function(a){for(var b=new Map,c=k(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,b.set(a[d].string,a[d].xid);return b},Y$a=
function(a){return a?a.__owner?a.__owner:a.parentNode&&a.parentNode.nodeType===11?a.parentNode.host:X$a(a):null},Z$a=function(a,b,c){for(c||(a=Y$a(a));a&&!b(a);)a=Y$a(a)},cab=function(a,b,c){var d=new Hs,e=MGa();c=(new $$a).setClientId(b.getClientId()).setApplication(b.getSocialApplicationOrUndefined()).setEntryPoint(c).setVersionName("1.0").setBaselineCl(683703728);d=new Is(d,1394,e,void 0,void 0,void 0,new aab(c));d.setClientSideLogOnlyForDevelopment(!b.getEnableClearcut()||!1);b=new ZGa;e=Q9a.getExperimentIds();
b=wc(b,3,e,Gb);d.clearcut_.setClearExperimentIds(b);d.setComponentID("peoplekitweb");return new bab(a,d)},hab=function(a){var b=a.clientConfig,c=a.initializeIoC,d=b.internal;a=a.commonConfig.getEnvironmentConfig();var e=a.experimentsConfig_.getProfileId();if(e)if(d.getExperiments().getIsEnabled()){var f=bc(dab||(dab=eab('[null,null,null,null,null,null,null,"AIzaSyBAMHkvD9gqERVdYmGsYLnAtfzigZdAqJQ"]')));f=new fab(f,7)}else f=new Js;else f=new Js;d=d.getExperiments();a=f.loadExperiments(d.getApplication(),
(new Ks).setPeopleApiEnv(a.apiEnv_),e);Q9a=new gab(d,a);c&&c(b)},jab=function(a,b,c,d,e,f){var h=c.beginSession(function(){},f.sessionOptions||new Ls);return iab(a,b,c,h,d,e,f)},iab=function(a,b,c,d,e,f,h){hab({clientConfig:f,commonConfig:e,initializeIoC:j9a});f.internal.getClearcut().setInterfaceType(4);f.internal.getClearcut().setComponentFlow(7);var l=Cp(kab,{classes:"aU4VQc"});a.appendChild(l);Fj(f.internal,14,!0)&&e.setStyle(1);gs(l,e.getTheme());Yr({element:l,veid:64611,actions:["impression"],
componentId:"peoplekitweb"});a=new Ms;var q=M$a(d,a,e.getEntryPoint()),v=Q$a(f,e.getEntryPoint());b=G$a(l,b,d,a,q,v,e,f,new lab(h.intelligence),c);l9a(b.getRoot(),c);c=cab(l,f.internal.getClearcut(),e.getEntryPoint());c.start(mab);return new nab(l,b,a,q,c,e)},oab=function(a){switch(a){case 0:return 28;case 1:return 24;case 2:return 20;default:throw Error("uf`"+a);}},pab=function(a){var b=Number("2"),c=Number("4");return oab(a)+2*b+2*c},xab=function(a,b){var c=a.getPrimaryTarget().getContactId(),d=
a.getPrimaryTarget().getProfileId();if(c)return qab(rab(sab(),tab(c).setEdit(!0)));if(d)return qab(uab(sab(),(new Ns).setObfuscatedGaiaId(d).setEdit(!0)));var e;c=((e=a.getPrimaryTarget().getName())==null?void 0:e.getGivenName())||b;var f;b=((f=a.getPrimaryTarget().getName())==null?void 0:f.getFamilyName())||"";f=a.getTargetList().filter(function(h){return h.getTargetType()===1||h.getTargetType()===6}).map(function(h){return h.getDisplayValue()});a=a.getTargetList().filter(function(h){return h.getTargetType()===
2||h.getTargetType()===7}).map(function(h){return h.getDisplayValue()});return qab(vab(new Os,wab((new Ps).setGivenName(c).setFamilyName(b).setEmailList(f),a)))},yab=function(a){return(a==null?0:Qs(a).isValid())?{isValid:!1,errorMessage:"Name can't be an email address"}:{isValid:!0}},Cab=function(a,b,c,d){var e=E7a(b);b=xab(b.result(),b.getDisplayNameWithOverrideApplied());e={hovercardId:e.hovercardId,label:e.label,sublabel:e.sublabel,photos:e.photos,name:e.name,contactsUrl:b};b=e.contactsUrl;var f=
d.description;d='<div peoplekit-id="'+is("bN97Pc")+'"><div class="'+is("peoplekitComponentsNameeditdialogImplDescription")+'">';f?(d+=Rs(f)+" ",b='To edit this contact permanently, use <a href="'+(is(Ss(b))+'" target="_blank" class="'+is("peoplekitComponentsNameeditdialogImplGoogleContactsLink")+'">Google Contacts</a>.'),d+=b):(b='Show a different name to recipients of this message. To edit this contact permanently, use <a href="'+(is(Ss(b))+'" target="_blank" class="'+is("peoplekitComponentsNameeditdialogImplGoogleContactsLink")+
'">Google Contacts</a>.'),d+=b);d+='</div><div peoplekit-id="'+is("PN08Xe")+'"></div></div>';d=hs(d);b=X8a(e);a=Q8a(a,d,c,b);d=Fr(a.getRoot(),"d6MZcd");Gr(d,e.photos,36,36,c);c=Fr(a.getRoot(),"PN08Xe");e=Cp(zab,{label:"Name",initialValue:e.name||"",id:Ir(Aab)});c.appendChild(e);c=new Ts(e);return new Bab(a,c)},Dab=function(a,b,c,d,e,f,h,l,q,v){a={resultType:c.result().getResultType(),avatarSize:oab(f.getDensity()),resultListItemAvatarSize:os(f.getDensity()),parent:a,ariaParent:b,selection:c,selectionsState:d,
actionRequestCallbacks:e,appearanceConfig:f,chipConfig:h,chipCustomization:q,isRightToLeft:v,clientConfig:l};l=q7a(l);return Z9a(Nr,l).create(a)},Eab=function(a){return JSON.stringify(a.map(function(b){return{id:String(b.getId()),dn:b.getDisplayName()||void 0,fdn:b.getForceDisplayNameOverride()?"f":void 0}}))},Gab=function(a){return JSON.parse(a).map(function(b){var c=new Us(Vs(b.id));b.dn&&c.setDisplayName(b.dn);b.fdn&&Fab(c,!0);return c})},Hab=function(a){return Fab((new Us(a.id())).setDisplayName(a.getDisplayNameOverride()),
a.getForceDisplayNameOverride())},Iab=function(a,b,c,d,e,f,h,l,q,v){return new Ws(a,b,c,d,e,f,h,l,q,v)},Mab=function(a,b){var c=b.ownerDocument.defaultView.navigator;if(c.clipboard&&c.clipboard.writeText)c.clipboard.writeText(a);else if(c=b.ownerDocument,b=b.ownerDocument.defaultView,c.queryCommandSupported("copy"))try{var d=c.createElement("div");d.setAttribute("peoplekit-id","wbLqpc");d.textContent=a;a=d;var e,f=Jab.height;if(!f){var h=Kab();f=h;if(a.style[h]===void 0){var l=Lab()+Ji(h);a.style[l]!==
void 0&&(f=l)}Jab.height=f}(e=f)&&(a.style[e]=0);c.body.appendChild(d);var q=b.getSelection();q&&(q.selectAllChildren(d),c.execCommand("copy"))}finally{d&&c.body.removeChild(d)}},Nab=function(a,b){a=a.map(function(c){var d=c.result(),e=c.getDisplayNameWithOverrideApplied();switch(c.id().getType()){case 3:case 8:e=e||"Google User"}c=d.getDisplayValue();return new Xs(c,e)});Mab(a.join(", "),b)},Pab=function(a,b,c,d,e,f,h,l,q,v,y){a=new Ys(a,b,c,d,e,f,h,l,q,v,y);return new Oab(a,y)},Sab=function(a,b,
c,d,e,f,h,l,q,v,y){var E=new H8a(a),H=new Qab({getPrevKeyCode:function(){return Zs(a)?39:37},getNextKeyCode:function(){return Zs(a)?37:39},navigatePastBegin:q.navigatePastBegin,navigatePastEnd:q.navigatePastEnd});e=Pab(b,c,E,d,e,f,h,l,{chipClick:function(O,N){return H.onClick(O,ds(N))},chipContextMenu:function(O,N){H.onContextMenu(ds(N))},chipDrop:q.chipDrop||function(){},chipEditContactMethod:q.chipEditContactMethod||function(){}},v,y);H.attach(a,e.getNavigatable());return new Rab(e,b,c,d,v,y)},
Uab=function(a){switch(a){case 0:return"googleMaterialDefaultDensity";case 1:return"workspaceMaterialComfortableDensity";case 2:return"workspaceMaterialCompactDensity";default:throw Error("uf`"+a);}},Wab=function(a){a=a.replace(/\\"/g,"%%").matchAll(Vab);return[].concat(w(a)).map(function(b){var c=b[0].replace(RegExp("%%","g"),'\\"');return{value:c,startIndex:b.index||0,length:c.length}})},Xab=function(a,b){var c=Wab(a);c=k(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,b<=d.startIndex+d.length)return d;
return{startIndex:0,length:a.length,value:a}},Yab=function(a,b){return a.length!==b.length?!1:a.length===b.length&&a.every(function(c,d){return c.equals(b[d])})},dbb=function(a,b,c,d,e,f,h,l,q){var v=new Zab(c,new $s(c,d,l,q),f),y=Cp($ab,{max_height:void 0});fs(y,e.getStyle());a.appendChild(y);a=Fr(y,"kE8AEc");var E=Cp(abb,{multiSelectable:!0,orientation:"horizontal",isKeyboardFocusable:!1,ariaLabel:"Search Field"});a.appendChild(E);a=Cp(bbb,{id:Ir(cbb),ariaLabel:"",helpText:e.helpText,shouldAutofocus:e.shouldAutofocus,
height:pab(e.getDensity()),densityClass:Uab(e.getDensity())});var H=Fr(a,"BbVjBd");E.appendChild(a);f=Sab(E,c,v,d,h,e,e,f,{navigatePastEnd:function(){H.focus()},chipDrop:function(){H.focus()},chipEditContactMethod:function(O){H.value=O;O=H.dispatchEvent;var N=K7a("input",H,"Event");O.call(H,N);H.focus()}},l,q);b=b(H);return new at(y,f,a,b,c,v,d,l,e,q)},gbb=function(a,b,c,d,e,f){e.internal.getClearcut().setInterfaceType(4);e.internal.getClearcut().setComponentFlow(4);d.setAllowContactMethodEditing(Fj(e.internal,
5,!1));var h=Cp(ebb,{classes:"aU4VQc"});a.appendChild(h);Fj(e.internal,14,!0)&&d.setStyle(1);gs(h,d.getTheme());Yr({element:h,veid:64611,actions:["impression"],componentId:"peoplekitweb"});l9a(h,b);var l=Q$a(e,d.getEntryPoint()),q=new Ms,v=M$a(c,q,d.getEntryPoint()),y=new lab(f.intelligence);a=(new bt).setFilter(c.options_.getFilter()).setUseOriginalDisplayValue(d.getUseOriginalDisplayValue());a=dbb(h,function(E){return G$a(h,E,c,q,v,l,d,e,y,b)},q,b,d,e,y,a,l);f=cab(h,e.internal.getClearcut(),d.getEntryPoint());
f.start(mab);return new fbb(h,a,q,v,f)},ibb=function(a,b,c,d,e){var f=b.beginSession(function(){},e.sessionOptions||new Ls);return hbb(a,b,f,c,d,e)},hbb=function(a,b,c,d,e,f){hab({clientConfig:e,commonConfig:d,initializeIoC:j9a});return gbb(a,b,c,d,e,f)},kbb=function(a){var b=[],c=a.indexOf("@");if(c>=0&&a.length-c>1){var d=a.substring(c);b.push(d);c===0&&d.indexOf(".")<0&&jbb(b,d.substring(c+1));a=a.substring(0,c+1)}if(a==="@")return b;jbb(b,a);return b},jbb=function(a,b){a.push(b);var c=b.length+
1;lbb.lastIndex=0;for(var d=lbb.exec(b);d&&d.index<c;d=lbb.exec(b))a.push(b.substring(Number(lbb.lastIndex)))},dt=function(a){return ct(mbb(a)).replace(nbb,"").toUpperCase().toLowerCase()},pbb=function(a){a=Array.from(a).flatMap(function(f){return(f||"").split(obb)}).filter(Boolean);if(!a.length)return a;var b=new Set;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=dt(c.value);c=k(kbb(c).filter(Boolean));for(var d=c.next();!d.done;d=c.next())b.add(d.value)}var e="";return Array.from(b).sort().reverse().filter(function(f){if(e.startsWith(f))return!1;
e=f;return!0})},rbb=function(a){return function c(){var d;return qbb(c,function(e){switch(e.nextAddress){case 1:e.catchAddress_=0,e.finallyAddress_=2,d=0;case 4:if(!(d<a)){e.jumpTo(2);break}return xe(e,d,7);case 7:d++;e.jumpTo(4);break;case 2:ye(e),ze(e,0)}})}()},sbb=function(a,b){return isFinite(a.fieldAffinity)?a.fieldAffinity:b&&et(a.id)&&a.id.getType()!==9?isFinite(a.itemAffinity)?a.itemAffinity:-Infinity:-Infinity},vbb=function(a,b,c){if(et(a.id)||et(b.id)){var d=tbb.has(a.id.getType()),e=tbb.has(b.id.getType());
if(d!==e)return d?-1:1;if(et(a.id)&&et(b.id))return ubb(a,b,c,!1)}d=sbb(a,c);c=sbb(b,c);(c=d!==c?d>c?-1:1:0)||(a=!!a.isPrimary,c=a!==!!b.isPrimary?a?-1:1:0);return c},ubb=function(a,b,c,d){var e=isFinite(a.itemAffinity)?a.itemAffinity:-Infinity,f=isFinite(b.itemAffinity)?b.itemAffinity:-Infinity;return e!==f?e>f?-1:1:d?vbb(a,b,c):0},Abb=function(a,b,c){var d=ft(b.getTargetType(),b.getValue()),e=[],f=e.concat;var h=Vi(b,5,Wi());h=w(h.map(wbb));var l=w(Vi(b,6,Wi()).map(xbb));var q=Vi(b,13,Wi());e=f.call(e,
h,l,w(q.map(ybb)));zbb.includes(d.getType())&&e.push(d);return{id:d,containerIds:e,dataSource:Vi(b,6,Wi()).length?1:2,isMe:!!b.getIsMe(),isPrimary:a.getTargetList()[0]===b,itemAffinity:a.hasAffinity()?a.getAffinity().getValue():-Infinity,fieldAffinity:b.hasAffinity()?b.getAffinity().getValue():-Infinity,provenance:c,resultExtendedData:a.hasExtendedData()?a.getExtendedData():void 0,targetData:b,resultData:a}},Bbb=function(a){return(a||"").trim()},Fbb=function(a){var b=a.resultData,c=a.targetData,d=
gt(a.id).setDataSource(a.dataSource||0).setIsMe(!!a.isMe);a.containerIds&&(d.sourceIds_=a.containerIds||[]);Ij(b,1)&&d.setResultType(b.getResultType());c.hasValue()&&d.setValue(Bbb(c.getValue()));c.hasCanonicalValue()&&d.setCanonicalValue(Bbb(c.getCanonicalValue()));c.hasDescription()&&d.setDescription(c.getDescription());if(c.hasName()){var e=c.getName();d.setName((new Cbb).setDisplayName(e.getDisplayName()).setGivenName(e.getGivenName()).setFamilyName(e.getFamilyName()).setSourceType(e.getSourceType()))}c.hasPhoto()&&
(e=c.getPhoto(),d.setPhoto((new ht).setUrl(e.getUrl()).setType(e.getType()).setSourceType(e.getSourceType()).setGlyph(e.getGlyph())));if(Gj(b,4)){var f;a.totalMemberCount=(f=b.getTotalMemberCount())!=null?f:void 0}b.hasAffinity()&&d.setPersonLoggingId(b.getAffinity().getLoggingId()||"");c.hasAffinity()&&d.setFieldLoggingId(c.getAffinity().getLoggingId()||"");Ij(c,10)&&d.setOrgState(c.getOrgState());c.hasDataSource()&&d.setDataSource(c.getDataSource());c.getTagList().length&&d.setTagList(c.getTagList().map(function(h){return(new it).setAltText(h.getAltText()).setIconUrl(h.getIconUrl())}));
c.hasExtendedData()&&d.setExtendedData(c.getExtendedData());Oj(c,jt,9)&&(a=c.getEmailSecurityInfo(),d.setEmailSecurityInfo(Dbb(a.getCertificateStatus(),Vj(a,3,0),a.getEncryptionSupport()==4||a.getEncryptionSupport()==2)));Oj(c,kt,17)&&(c=c.getReachabilityInfo(),d.setReachabilityInfo(new Ebb(c.getReachabilityStatus(),c.getClientData())));return d},Gbb=function(a){a=a===void 0?{requestCorpHeaders:!1}:a;var b=(new lt).setDevice(1);a.requestCorpHeaders&&hk(b,2,2);return b},Ibb=function(a){return a?Hbb.get(a)||
0:0},Lbb=function(a){switch(a.getValueCase()){case 2:return mt(a.getEmail().getValue()||"");case 3:var b=a.getPhone();return b.getOriginalValue()&&b.getCanonicalValue()?(a=nt(b.getOriginalValue()||""),b=nt(b.getCanonicalValue()||""),!a.equals(b)&&a.getValue().startsWith(b.getValue())?a:b):nt(b.getCanonicalValue()||b.getDisplayValue()||b.getOriginalValue()||"");case 4:a=Al(a,Jbb,4,ot);if(a.hasProfileId())return a=a.getProfileId()||"",new pt(8,up(a).toLowerCase(),a);switch(fl(a,qt)){case 2:return a=
a.getEmail()||"",new pt(6,up(a).toLowerCase(),a);case 3:return Kbb(a.getPhone()||"")}}return rt},Nbb=function(a){return nj(a,Mbb,5,Wi()).map(function(b){switch(b.getIdCase()){case 1:return wbb(b.getProfileId()||"");case 2:return xbb(b.getContactId()||"");default:return null}}).filter(Boolean)},Obb=function(a,b){return Oj(a,st,3)&&W(a,st,3).getIsPlaceholder()?3:tt(b,8)?1:0},Pbb=function(a){return a&&a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):-Infinity},Qbb=function(a){return a.hasAffinity()?
Number(a.getAffinity().getValue_legacyNullable()):-Infinity},Rbb=function(a){return!!a&&!!a.getPrimary()},Tbb=function(a){var b=a.getDisplayInfo();if(!b)return"";a=[];var c=b.getName();c&&(c.hasValue()?a.push(c.getValue()):(c.hasGivenName()&&a.push(c.getGivenName()),c.hasFamilyName()&&a.push(c.getFamilyName())));(b=b.getPhoto())&&b.hasUrl()&&a.push(b.getUrl());return a.length?"NameAndPhotoOnly"+Sbb(a):""},Xbb=function(a){var b=void 0;if(W(a,st,3)){var c;b=(c=b)!=null?c:new ut;vt(b,Ubb,W(a,st,3))}if(W(a,
Vbb,5)){var d;b=(d=b)!=null?d:new ut;vt(b,Wbb,W(a,Vbb,5))}return b},$bb=function(a){var b=void 0;if(W(a,Ybb,9)){var c;b=(c=b)!=null?c:new ut;vt(b,Zbb,W(a,Ybb,9))}return b},bcb=function(a){var b=new wt,c=a?2:1;acb(b.setEventType(4),c).setToken(a);return b},dcb=function(a,b){var c=new xt;c=(new wt).setLookupInfo(c);yt(c.setEventType(6),9).setItemCount(a.length).setQueryScope(ccb.get(b)||0);return c},ecb=function(){var a=new wt;yt(a.setEventType(6),10);return a},fcb=function(){var a=new wt;yt(a.setEventType(6),
2);return a},gcb=function(){var a=new wt;yt(a.setEventType(6),13);return a},hcb=function(a,b){var c=new wt;yt(c.setEventType(6),6).setQueryLength(a.length).setQueryScope(ccb.get(b)||0);return c},icb=function(a){var b=new wt;yt(b.setEventType(6),5).setQueryScope(ccb.get(a)||0);return b},jcb=function(a,b){switch(a){case 8:case 3:case 17:return(new zt).setProfileId(b);case 1:case 6:return(new zt).setEmail(b);case 7:case 2:return(new zt).setPhone(b);case 13:case 14:return a=new zt,kl(a,4,At,b);case 4:case 9:return(new zt).setContactId(b);
default:return null}},mcb=function(a){return((a=nj(a,kcb,2,Wi()).find(function(b){return Bt(b,1)===1}))?lcb.get(Bt(a,2)):0)||0},Ct=function(a){return(a||"").trim()},ocb=function(a,b){b.hasAffinity()&&a.setFieldLoggingId(ya.atob(Ct(tna(Dt(b.getAffinity(),1)))));if(b.hasName()){var c=b.getName(),d=a.setName,e=(new Cbb).setDisplayName(c.getValue()).setGivenName(c.getGivenName()).setFamilyName(c.getFamilyName()),f=e.setSourceType;a:switch(c.getSourceType()){case 1:c=3;break a;case 2:c=4;break a;default:c=
0}d.call(a,f.call(e,c))}b.hasPhoto()&&(b=b.getPhoto(),a.setPhoto((new ht).setUrl(b.getUrl()).setGlyph(b.getGlyph()).setType(ncb.get(b.getType())||0)))},qcb=function(a,b){if(b.hasProfileId())switch(fl(b,qt)){case 2:var c=Ct(b.getEmail());return pcb(gt(a.id).setValue(Ct(b.getProfileId())),(new Et).setType(1).setValue(c));case 3:return c=Ct(b.getPhone()),pcb(gt(a.id).setValue(Ct(b.getProfileId())),(new Et).setType(2).setValue(c));default:return b=Ct(b.getProfileId()),gt(a.id).setValue(b)}switch(fl(b,
qt)){case 2:return b=Ct(b.getEmail()),pcb(gt(a.id).setValue(b),(new Et).setType(1).setValue(b));case 3:return b=Ct(b.getPhone()),pcb(gt(a.id).setValue(b),(new Et).setType(2).setValue(b));default:return b=Ct(b.getProfileId()),gt(a.id).setValue(b)}},tcb=function(a,b){var c=gt(a.id).setIsMe(!!a.isMe);a.containerIds&&(c.sourceIds_=a.containerIds||[]);b&&ocb(c,b);a.group&&((b=nj(a.group,rcb,6,Wi()).find(function(d){return Ko(d,1,scb)!=null}))?c.setValue(Ct(Ko(b,1,scb))):a.group.hasGroupId()&&c.setValue(Ct(a.group.getGroupId())));
a.targetExtendedData&&c.setExtendedData(a.targetExtendedData);a.target=c},vcb=function(a){return new ucb(a)},ycb=function(a){if(a.getTargetType()===8){var b=a.getOriginatingField();if(b&&(b=b.getType(),b=wcb.get(b)))return b}return(b=xcb.get(a.getTargetType()))?b:et(a.getId())?8:0},Acb=function(a,b,c){var d=new Ft,e=new Gt;X(d,Gt,2,e);e.setProvenance(b);b=new Ht;X(d,Ht,1,b);dk(b,9,c===1);b.setProfileId(a.getProfileId()||null);b.setContactId(a.getContactId()||null);c=ycb(a)===8?8:a.getProfileId()?
3:4;hk(b,8,c);c=null;a.getTargetType()===8&&(e=a.getOriginatingField())&&wcb.has(e.getType())&&(c=e.getValue());c||(c=a.getValue());c&&b.setFieldValue(c);et(a.getId())||b.setName(a.getName()?a.getName().getDisplayName():null);c=ycb(a);hk(b,7,c);b.setFieldLoggingId(a.getFieldLoggingId()||null);b.setPersonLoggingId(a.getPersonLoggingId()||null);b.setIsPlaceholder(a.getDataSource()===3);Bt(b,7)===8&&b.setGroupId(a.getId().getValue());return new zcb(a,d)},Ccb=function(a){a=Bcb.indexOf(a.provenance);return a<
0?Bcb.length:a},Dcb=function(a){return a.containerIds&&a.containerIds.some(function(b){return b.getType()===3})},Ecb=function(a){var b;return(new Set(((b=a.containerIds)!=null?b:[]).map(String))).size},Gcb=function(a,b){b.getUseOriginalDisplayValue()&&(a=new Map(Array.from(a,function(c){var d=k(c);c=d.next().value;d=d.next().value;if(c.equals(d.getPrimaryTarget().getId())&&c.getOriginalValue()!==d.getDisplayValue()&&d.getPrimaryTarget().getValue()===d.getDisplayValue()){var e=c.getOriginalValue(),
f=d.getPrimaryTarget();d=FSa(d,new Fcb(f,e))}return[c,d]})));return a},Jcb=function(a){return Fj(a,21,!1)?new Hcb:Icb},Kcb=function(a){return a!==0&&a!==12},Lcb=function(a){return a.substring(a.indexOf("@")+1)},Mcb=function(a){return a.substring(0,a.indexOf("@")+1)},Pcb=function(a,b){a=a.match(Ncb);b=mt(b);return a&&a.length&&(a=a[0]||"")&&!b.equals(mt(a.replace(Ocb,"")))?!0:!1},Qcb=function(a,b){var c=0;return function(d){if(!a.isCancelled()){var e=d.getMetadata();e.setCallbackNumber(c);e.setIsFirstCallback(!c);
a.isDone()&&e.setIsLastCallback(!0);if(d.getResults().length||e.getIsLastCallback()||e.getCode()!==0)c++,b(d)}}},Tcb=function(a,b,c,d){b=Rcb(a,b).map(function(e){var f=k(e);e=f.next().value;f=f.next().value;return new It(e,f)});c=Rcb(a,c).map(function(e){var f=k(e);e=f.next().value;f=f.next().value;return new It(e,f)});a=Rcb(a,d).map(function(e){var f=k(e);e=f.next().value;f=f.next().value;return new It(e,f)});return new Scb(b,c,a)},Ucb=function(a){switch(a.getType()){case 1:case 6:return 1;case 2:case 7:return 2;
case 17:case 3:case 8:case 5:return 3;case 13:case 14:return 13;case 4:case 9:return 4;default:return 0}},Vcb=function(a){return a.reduce(function(b,c){var d=Ucb(c);if(b.has(d)){var e;(e=b.get(d))==null||e.push(c)}else b.set(d,[c]);return b},new Map)},Wcb=function(a,b){b=b===void 0?new Jt:b;var c=new Map;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;for(var e=k(d.data.keys()),f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.data.get(f))}return{data:c,metadata:b}},Ycb=function(a,b){return!a||
a instanceof Xcb?a:new Xcb(a,b)},$cb=function(a){var b=new Kt,c=b.setQueryId(Zcb(a,3)).setSelectionId(Zcb(a,4)),d=Zcb(a,5);nk(c,3,d).setInstanceId(a.getInstanceIdOrUndefined()).setAffinityVersion(a.getAffinityVersionOrUndefined());return b},bdb=function(a){var b=new adb,c;if(a=(c=W(a,Lt,18))==null?void 0:c.getSessionState())c=$cb(a),X(b,Kt,2,c);return b},ddb=function(a){return cdb.get(a)||0},fdb=function(a,b){var c=edb(Mt(new Nt,"PeopleStore").setLogSource(Kj(a,4,574)).setApplication(a.getSocialApplication()).setEnvironment(b.getPeopleApiEnv()).setVersion("1004").setBaselineCl(683703728).setEnableClearcut(a.getEnableClearcut()),
[].concat(w(b.getExperiments().getExperimentIdsList()),w(Ot?Ot.getExperimentIds():[]))).setClientAgent(2);b.getClearcutUrl()&&c.setClearcutUrl(b.getClearcutUrl());if(a=nj(a,Pt,5,Wi()).find(function(d){return d.getEntryPoint()===0}))c.setEventSource(Qt(a,4)),c.setEventSourceId(Qt(a,4));return c},gdb=function(a,b){return new Rt(a,b)},hdb=function(a){return(Oj(a,St,12)?W(W(a,St,12),Pt,2):a.getSources())||new Pt},idb=function(a){return(Oj(a,St,12)?W(W(a,St,12),Pt,3):a.getSources())||new Pt},jdb=function(a){return a.filter(function(b){var c,
d=(c=ys(b))==null?void 0:Kj(c,4,0),e;return((e=W(b,Ht,1))==null?void 0:Kj(e,8,0))!==3||d!==2&&d!==1?!0:!1})},ldb=function(a){return a.filter(function(b){var c;return(b=(c=W(b,Ht,1))==null?void 0:c.getFieldType())&&kdb.has(b)?!1:!0})},mdb=function(a,b){return a.reduce(function(c,d){var e=b(d);c.has(e)||c.set(e,[]);c.get(e).push(d);return c},new Map)},ndb=function(a){if(!a.hasSessionState())return"";a=a.getSessionState();return Vj(a,3,0)+":"+Vj(a,4,0)+":"+Vj(a,5,0)+":"+a.getInstanceId()},odb=function(a){return Oj(a,
Gt,2)?ys(a).getContext()||0:0},pdb=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getSessionState();d=d?Vj(d,3,0)+"-"+Vj(d,4,0)+"-"+Vj(d,5,0)+"-"+d.getInstanceId():"";b.has(d)?b.get(d).push(c):b.set(d,[c])}return Array.from(b.values())},Tt=function(a,b,c,d){d=d===void 0?!1:d;a=a.filter(function(h){return!Fj(h,4,!1)});if(d){d=k(a);for(var e=d.next();!e.done;e=d.next())dk(e.value,4,!0)}if(c)for(d=a.filter(function(h){return h&&!h.hasSessionState()}),d=k(d),
e=d.next();!e.done;e=d.next())e.value.setSessionState(c.clone());a=pdb(a);c=[];a=k(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,e=d.find(function(h){return h&&h.hasSessionState()})){e=e.getSessionState();var f=new qdb;f.setSessionState(e);f.setEventType(b);$l(f,3,d);f.setEventSources(e.getSources());c.push(f)}return c},rdb=function(a){var b;a=a.getMetadata();a.hasCacheState()&&(a=a.getCacheState(),a.hasSource()&&(b=a.getSource()));return b||new Ut},tdb=function(a){a&1&&xg(0,9);if(a&2){a=P(2);
P();var b=L(5);F("ngTemplateOutlet",b)("ngTemplateOutletContext",bh(2,sdb,a))}},udb=function(a){a&1&&(I(0,"div",5),K(1,"mat-icon",6),I(2,"div",7),xg(3,8),D(4,tdb,1,4,"ng-container",9),J()());if(a&2){a=P(2);var b=L(3);C(3);F("ngTemplateOutlet",b);C();G(a.isIssueSummaryExpanded?4:-1)}},vdb=function(a,b){a&1&&D(0,udb,5,2,"div",5);a&2&&(a=P(),G(b===a.GENERATING||b===a.SUMMARY_VISIBLE?0:-1))},wdb=function(a){a&1&&(I(0,"div"),Q(1," AI-generated summaries may contain inaccurate or offensive information that doesn't represent Google's views. Buganizer and other AI API usage does not store or log the issue's contents for any training purposes. "),
J())},xdb=function(a){a&1&&K(0,"mat-icon",15)},ydb=function(a){a&1&&K(0,"mat-icon",16)},zdb=function(a){if(a&1){var b=x();I(0,"span",10)(1,"h4",11);Q(2," AI-generated summary ");I(3,"xap-bubble",12)(4,"xap-icon-trigger");K(5,"mat-icon",13);J();D(6,wdb,2,0,"ng-template",null,4,fh);J()();I(8,"button",14);M("click",function(){z(b);var d=P();return A(d.isIssueSummaryExpanded=!d.isIssueSummaryExpanded)});D(9,xdb,1,0,"mat-icon",15)(10,ydb,1,0,"mat-icon",16);J()()}if(a&2){a=L(7);var c=P();C(3);F("panelTemplate",
a);C(5);F("matTooltipShowDelay",1E3);eg("aria-expanded",c.isIssueSummaryExpanded);C();G(c.isIssueSummaryExpanded?9:10)}},Adb=function(a){a&1&&K(0,"b-spinner")},Cdb=function(a,b){a&1&&xg(0,9);a&2&&(P(3),a=L(9),F("ngTemplateOutlet",a)("ngTemplateOutletContext",bh(2,Bdb,b)))},Ddb=function(a){a&1&&(D(0,Cdb,1,4,"ng-container",9),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.summary$))?0:-1,b)}},Edb=function(a,b){a&1&&D(0,Adb,1,0,"b-spinner")(1,Ddb,2,3);a&2&&(a=b.stage,b=P(),G(a===b.GENERATING?0:a===
b.SUMMARY_VISIBLE?1:-1))},Fdb=function(a){a&1&&K(0,"b-markdown-format-presenter",17);a&2&&(a=P().summary,F("content",a.formattedSummary))},Gdb=function(a){a&1&&(I(0,"div",18),Q(1),J());a&2&&(a=P().summary,C(),R(" ",a.summary," "))},Hdb=function(a,b){a&1&&D(0,Fdb,1,1,"b-markdown-format-presenter",17)(1,Gdb,2,1,"div",18);a&2&&G(b.summary.formattedSummary?0:1)},Jdb=function(a){if(a&1){var b=x();xg(0,9);I(1,"div",19);K(2,"span",20);I(3,"div",21)(4,"button",22);M("click",function(){z(b);var e=P().summary,
f=P();return A(f.copySummary(e))});K(5,"mat-icon",23);J();I(6,"button",24);M("click",function(){z(b);var e=P().summary,f=P();return A(f.openFeedbackDialog(e))});K(7,"mat-icon",25);J();I(8,"button",26);M("click",function(){z(b);var e=P().summary,f=P();return A(f.trackThumbsUp(e))});K(9,"mat-icon",27);J();I(10,"button",28);M("click",function(){z(b);var e=P().summary,f=P();return A(f.trackThumbsDown(e))});K(11,"mat-icon",29);J()()()}if(a&2){a=P().summary;var c=P(),d=L(7);F("ngTemplateOutlet",d)("ngTemplateOutletContext",
bh(6,Bdb,a));C(8);F("disabled",c.hasReacted);C();F("ngClass",bh(8,Idb,c.thumbsUpClicked));C();F("disabled",c.hasReacted);C();F("ngClass",bh(10,Idb,c.thumbsDownClicked))}},Kdb=function(a){if(a&1){var b=x();I(0,"div",19)(1,"div",30);Q(2," Issue can not be summarized for now. ");J();I(3,"div",21)(4,"button",31);M("click",function(){z(b);var c=P().summary,d=P();return A(d.openFeedbackDialog(c))});K(5,"mat-icon",32);J()()()}},Ldb=function(a,b){a&1&&D(0,Jdb,12,12)(1,Kdb,6,0,"div",19);a&2&&G(b.summary.summary?
0:1)},Mdb=function(a,b){a&1&&K(0,"b-user-image",0);a&2&&F("email",b.$implicit)},Ndb=function(a,b){if(a&1){var c=x();I(0,"button",2);M("click",function(){z(c);var d=P(2);return A(d.limit+=d.LIMIT_INCREMENT)});Q(1);J()}a&2&&(Fg("title","",b," more participant(s). Click to show."),C(),R("",b," more"))},Odb=function(a){a&1&&D(0,Ndb,2,3,"button",1);if(a&2){var b;a=P();G((b=a.emails.length-a.limit)?0:-1,b)}},Qdb=function(a){a&1&&(I(0,"a",3),Q(1),J());a&2&&(a=P(2),F("href",a.makeCritiqueUrl(ah(2,Pdb),a.pending),
of),C(),R("(",a.pending.length," pending)"))},Rdb=function(a,b){a&1&&(I(0,"div",0),K(1,"img",1),Q(2," \u00a0 "),I(3,"a",2),Q(4),J(),Q(5," \u00a0 "),D(6,Qdb,2,3,"a",3),J());a&2&&(a=P(),C(3),F("href",a.makeCritiqueUrl(a.submitted,a.pending),of),C(),R("",b," CLs"),C(2),G(a.pending.length>0?6:-1))},Sdb=function(a){a&1&&(I(0,"a",2),Q(1),J());a&2&&(a=P(2),F("routerLink",a.searchPageUrl),C(),R(" ",a.count," Issues "))},Tdb=function(a){a&1&&D(0,Sdb,2,2,"a",2);a&2&&(a=P(),G(a.count!=null?0:-1))},Udb=function(a){a&
1&&Q(0);a&2&&(a=P(),R(" ",a.count," Issues "))},Vdb=function(a,b){var c=nra(a,function(h){var l;return(l=h.experimentalFields)==null?void 0:l.clusterId});a=[];var d=[];c=k(c.entries());for(var e=c.next();!e.done;e=c.next()){var f=k(e.value);e=f.next().value;f=f.next().value;!e||f.length<3?a.push.apply(a,w(f)):d.push({id:e,issueIds:f.map(function(h){return h.issueId}),issues:f,size:f.length,name:b(f)})}b=d.sort(function(h,l){return l.size-h.size});a.length>0&&b.push({issueIds:a.map(function(h){return h.issueId}),
issues:a,size:a.length,name:Promise.resolve("Uncategorized")});return b},Wdb=function(a,b){if(a&1){var c=x();I(0,"div",0)(1,"a",7);Q(2);S(3,"async");J();I(4,"button",8);M("click",function(){var d=z(c),e=P();Vt(e.router,tq.viewTriage.makeHref(d,Wt[e.phase$.value]));return A()});Q(5," View issues ");K(6,"mat-icon",9);J()()}a&2&&(a=P(),C(),F("href",a.ROUTES.viewTriage.makeHref(b,a.phaseToUrlSlug[a.phase$.value]),of),C(),R(" ",U(3,2,a.heading$)," "))},Xdb=function(a,b){a&1&&Q(0);a&2&&(a=P(),Ug(" ",b.length,
"",b.length===a.FETCH_SIZE?"+":""," "))},Ydb=function(a){a&1&&Q(0," ... ")},Zdb=function(a,b){a&1&&K(0,"i",11);if(a&2){a=b.$implicit;b=b.$index;var c=P(2);a=fg(x(),"height: ",a*100,"%;");jla(hla,ila,a,!1);Hg("title","Modified ",b," days ago: ",c[b]," Issues")}},$db=function(a,b){a&1&&tg(0,Zdb,1,6,"i",10,rg);a&2&&ug(b)},aeb=function(a){a&1&&(D(0,$db,2,0),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.ratioDaysOld$))?0:-1,b)}},ceb=function(a){return(beb-a/1E3)/864E5},feb=function(a){var b=a.match(/\(.*\)/);
if(a.match(/'.*'/)||a.match(/".*"/)||b)return{complexSyntax:!0};a=a.split(/\s+/).filter(Boolean);b=a.filter(deb).length;var c=a.filter(function(d){return!deb(d)}).filter(eeb).length;return{filters:b,text:a.length-b-c,resourceIds:c}},eeb=function(a){a=String(a);a=a.replace("http://b/","");a=a.replace("https://b/","");a=a.replace("b/","");a=a.trim();return a.length<3?!1:Xt(a)},deb=function(a){return!!a.match(/\w:\w/g)},geb=function(a,b){a&1&&(I(0,"span",5),Q(1),J());a&2&&(F("title",b.description),C(),
Tg(b.name))},heb=function(a){a&1&&(I(0,"code",6),Q(1),S(2,"async"),J());a&2&&(a=P(),C(),Tg(U(2,1,a.id$)))},ieb=function(a,b){a&1&&(I(0,"div",7),K(1,"phase-card-contents",8)(2,"phase-card-contents",8)(3,"phase-card-contents",8)(4,"phase-card-contents",8)(5,"phase-card-contents",8),J());a&2&&(a=P(),C(),F("phase",a.TriagePhase.NEW)("teamId",b),C(),F("phase",a.TriagePhase.CONFIRMED)("teamId",b),C(),F("phase",a.TriagePhase.IN_PROGRESS)("teamId",b),C(),F("phase",a.TriagePhase.FIXED)("teamId",b),C(),F("phase",
a.TriagePhase.WONT_FIX)("teamId",b))},Yt=function(a){if(!a.unlinkifiedComment)return sj("Can't getClMetadata from an event with no unlinkifiedComment",a),{};if(kua(a))if(el(a)){var b=a.unlinkifiedComment;var c=b.trim().split("\n");if(a.formattingMode==="MARKDOWN"){var d,e;var f=(e=(d=c[5])==null?void 0:d.trim())!=null?e:"";var h;c=(h=b.match(/^Link: &nbsp;&nbsp;&nbsp;&nbsp; (.+)/m))==null?void 0:h[1];var l;var q=(l=b.match(/^Author: .* \\<(.+)\\>/m))==null?void 0:l[1]}else{var v,y;f=(y=(v=c[7])==
null?void 0:v.trim())!=null?y:"";var E,H;c=(H=(E=c[c.length-1])==null?void 0:E.trim())!=null?H:"";var O;q=(O=b.match(/^Author: .* <(.+)>/m))==null?void 0:O[1]}f||sj("failed to parse a title from GitWatcher comment, which is unexpected.",b);c||sj("failed to parse a link from GitWatcher comment, which is unexpected.",b);q?q=q.endsWith("@google.com")?q.split("@")[0]:q:sj("failed to parse an author from GitWatcher comment, which is unexpected.",b);b={author:q,title:f,link:c,reviewer:void 0,delta:void 0}}else b=
{};else{l=a.unlinkifiedComment;h=l.trim().split("\n");var N,T;O=(T=(N=h[0])==null?void 0:N.trim())!=null?T:"";var da;h=(da=h[2])==null?void 0:da.trim();E=(q=O.match(/^Change\s+(\d+)/))==null?void 0:q[1];E==null&&sj("failed to parse an id from Critique comment, which is unexpected.",l);O=(c=O.match(/^Change.*by (\S+)@/))==null?void 0:c[1];O==null&&sj("failed to parse an author from Critique comment, which is unexpected.",l);c=(f=l.match(/[\^\s]R=(\S+)/))==null?void 0:f[1];f=(b=l.match(/[\^\s]DELTA=(\d+)/))==
null?void 0:b[1];b={id:hj(E),author:O,title:h,reviewer:c,delta:hj(f),link:"cl/"+E}}return b},jeb=function(a){var b;return(b=Yt(a).id)!=null?b:0},keb=function(a){var b;return(b=Yt(a).link)!=null?b:""},leb=function(a){return[].concat(w(a.preDiffs),w(a.postDiffs)).map(function(b){return"Changed "+(b.displayName||b.name)+" "+(b.newValue?"to "+b.newValue:"")}).join("\n")},neb=function(a){if(a==null)return"";var b,c,d=(c=(b=a.userPerformingActionUser)==null?void 0:b.emailAddress)!=null?c:"";if(dl(a)||el(a)){if(a=
Yt(a).author)return a.includes("@")?a:a+"@google.com"}else if(d==="product-feedback-gathering@prod.google.com")return meb(a,"reporter")||d;return d},oeb=function(a,b){var c,d,e;return(e=[].concat(w((c=a.preDiffs)!=null?c:[]),w((d=a.postDiffs)!=null?d:[])).find(function(f){return f.name===b}))==null?void 0:e.oldValue},meb=function(a,b){var c,d,e;return(e=[].concat(w((c=a.preDiffs)!=null?c:[]),w((d=a.postDiffs)!=null?d:[])).find(function(f){return f.name===b}))==null?void 0:e.newValue},peb=function(a){if(a==
null)return"default";if(Xk(a)&&a.commentNumber===1)return"create";if(dl(a)||el(a))return"changelist";var b,c=(b=a.preDiffs)!=null?b:[],d;b=(d=a.postDiffs)!=null?d:[];c=new Set([].concat(w(c),w(b)).map(function(f){return f.name}));if(c.has("statusUpdate"))return"statusUpdate";if(c.has("assignee")){var e;c=(e=a.userPerformingActionUser)==null?void 0:e.emailAddress;e=meb(a,"assignee");a=oeb(a,"assignee");return c===e?"self-assign":c===a&&e==="<none>"?"self-unassign":e==="<none>"?"unassign":"assignee"}return c.has("status")?
"status":c.has("priority")?"priority":Xk(a)?"comment":c.has("component")?"component":"default"},qeb=function(a){a&1&&(Q(0," created "),I(1,"b-issue-reference-widget",1),Q(2),J(),K(3,"b-formatted-date-time",2));a&2&&(a=P(),C(),F("href",wq(a.event.issueId))("issueId",a.event.issueId),C(),R("b/",a.event.issueId,""),C(),F("timestamp",a.event.modifiedDate))},reb=function(a){a&1&&K(0,"changelist-link-plain",3);a&2&&(a=P(2),F("id",a.getChangelistNumber(a.event)))},seb=function(a){a&1&&(I(0,"a",4),Q(1),J());
a&2&&(a=P(2),F("href",a.getLink(a.event),of),C(),Tg(a.getLink(a.event)))},teb=function(a,b){a&1&&(Q(0," \u2014 "),I(1,"span",5),Q(2),J());a&2&&(C(),F("title",b),C(),Tg(b))},ueb=function(a){a&1&&(Q(0," submitted "),D(1,reb,1,1,"changelist-link-plain",3)(2,seb,2,2,"a",4),K(3,"b-formatted-date-time",2),D(4,teb,3,2,"span",5));if(a&2){var b;a=P();C();G(a.isCritiqueComment(a.event)?1:-1);C();G(a.isFullGerritComment(a.event)?2:-1);C();F("timestamp",a.event.modifiedDate);C();G((b=a.getClMetadata(a.event).title)?
4:-1,b)}},veb=function(a){a&1&&(Q(0," commented on "),I(1,"b-issue-reference-widget",1),Q(2),J(),K(3,"b-formatted-date-time",2));a&2&&(a=P(),C(),F("href",wq(a.event.issueId))("issueId",a.event.issueId),C(),R("b/",a.event.issueId,""),C(),F("timestamp",a.event.modifiedDate))},web=function(a){a&1&&(Q(0," set priority "),K(1,"b-issue-priority-display",6),Q(2," on "),I(3,"b-issue-reference-widget",1),Q(4),J(),K(5,"b-formatted-date-time",2));a&2&&(a=P(),C(),F("issuePriority",a.toIssuePriority(a.getNewDiffValue(a.event,
"priority"))),C(2),F("href",wq(a.event.issueId))("issueId",a.event.issueId),C(),R("b/",a.event.issueId,""),C(),F("timestamp",a.event.modifiedDate))},xeb=function(a,b){a&1&&(Q(0," set status "),I(1,"span"),Q(2),J(),Q(3," on "));a&2&&(a=P(2),C(),qg("chippy xs status-",a.STATUS_CODE_FROM_DISPLAY_STRING[b],""),C(),R(" ",b," "))},yeb=function(a){a&1&&(D(0,xeb,4,4),I(1,"b-issue-reference-widget",1),Q(2),J(),K(3,"b-formatted-date-time",2));if(a&2){var b;a=P();G((b=a.getNewDiffValue(a.event,"status"))?0:
-1,b);C();F("href",wq(a.event.issueId))("issueId",a.event.issueId);C();R("b/",a.event.issueId,"");C();F("timestamp",a.event.modifiedDate)}},zeb=function(a,b){a&1&&(Q(0," \u2014 "),I(1,"span",7),Q(2),J());a&2&&(C(),F("title",b),C(),Tg(b))},Aeb=function(a){a&1&&(Q(0," set status update on "),I(1,"b-issue-reference-widget",1),Q(2),J(),K(3,"b-formatted-date-time",2),D(4,zeb,3,2,"span",7));if(a&2){var b;a=P();C();F("href",wq(a.event.issueId))("issueId",a.event.issueId);C();R("b/",a.event.issueId,"");C();
F("timestamp",a.event.modifiedDate);C();G((b=a.event.statusUpdate==null?null:a.event.statusUpdate.updateText)?4:-1,b)}},Beb=function(a){a&1&&(Q(0," assigned "),I(1,"b-issue-reference-widget",1),Q(2),J(),Q(3," to "),K(4,"b-user-email",0)(5,"b-formatted-date-time",2));if(a&2){var b;a=P();C();F("href",wq(a.event.issueId))("issueId",a.event.issueId);C();R("b/",a.event.issueId,"");C(2);F("ldapOnly",!0)("email",(b=a.getNewDiffValue(a.event,"assignee"))!==null&&b!==void 0?b:"");C();F("timestamp",a.event.modifiedDate)}},
Ceb=function(a){a&1&&(Q(0," self-assigned "),I(1,"b-issue-reference-widget",1),Q(2),J(),K(3,"b-formatted-date-time",2));a&2&&(a=P(),C(),F("href",wq(a.event.issueId))("issueId",a.event.issueId),C(),R("b/",a.event.issueId,""),C(),F("timestamp",a.event.modifiedDate))},Deb=function(a){a&1&&(Q(0," unassigned self from "),I(1,"b-issue-reference-widget",1),Q(2),J(),K(3,"b-formatted-date-time",2));a&2&&(a=P(),C(),F("href",wq(a.event.issueId))("issueId",a.event.issueId),C(),R("b/",a.event.issueId,""),C(),
F("timestamp",a.event.modifiedDate))},Eeb=function(a){a&1&&(Q(0," unassigned "),K(1,"b-user-email",0),Q(2," from "),I(3,"b-issue-reference-widget",1),Q(4),J(),K(5,"b-formatted-date-time",2));if(a&2){var b;a=P();C();F("ldapOnly",!0)("email",(b=a.getPreviousDiffValue(a.event,"assignee"))!==null&&b!==void 0?b:"");C(2);F("href",wq(a.event.issueId))("issueId",a.event.issueId);C();R("b/",a.event.issueId,"");C();F("timestamp",a.event.modifiedDate)}},Feb=function(a){a&1&&(Q(0," moved "),I(1,"b-issue-reference-widget",
1),Q(2),J(),Q(3," to another component "),K(4,"b-formatted-date-time",2));a&2&&(a=P(),C(),F("href",wq(a.event.issueId))("issueId",a.event.issueId),C(),R("b/",a.event.issueId,""),C(2),F("timestamp",a.event.modifiedDate))},Geb=function(a){a&1&&(I(0,"span",8),Q(1," updated "),J(),I(2,"b-issue-reference-widget",1),Q(3),J(),K(4,"b-formatted-date-time",2));a&2&&(a=P(),F("title",a.shorthandAllDiffs(a.event)),C(2),F("href",wq(a.event.issueId))("issueId",a.event.issueId),C(),R("b/",a.event.issueId,""),C(),
F("timestamp",a.event.modifiedDate))},Heb=function(a,b){a&1&&(Q(0," \u2014 "),I(1,"span",9),Q(2),J());a&2&&(C(),F("title",b),C(),Tg(b))},Ieb=function(a){a&1&&D(0,Heb,3,2,"span",9);if(a&2){var b;a=P();G((b=a.event.unlinkifiedComment)?0:-1,b)}},Jeb=function(a,b){a&1&&(Q(0," \u2014 "),I(1,"span",10),Q(2),J());a&2&&(C(),F("title",b),C(),Tg(b))},Keb=function(a){a&1&&D(0,Jeb,3,2,"span",10);if(a&2){a=P();var b,c;a=(b=a.issueFullFridge.peek(a.event.issueId))==null?void 0:(c=b.snapshot[0])==null?void 0:c.title;
G(a?0:-1,a)}},Leb=function(a,b){a&1&&K(0,"recent-event-row",4);a&2&&F("event",b.$implicit)},Meb=function(a,b){a&1&&(I(0,"p",3),Q(1),J(),tg(2,Leb,1,1,"recent-event-row",4,sg));if(a&2){a=P();var c=P(3);C();R("Last 24 hours ",c.printStats(a["<24h"]),"");C();ug(b)}},Neb=function(a,b){a&1&&K(0,"recent-event-row",4);a&2&&F("event",b.$implicit)},Oeb=function(a,b){a&1&&(I(0,"p",5),Q(1),J(),tg(2,Neb,1,1,"recent-event-row",4,sg));if(a&2){a=P();var c=P(3);C();R("1-7 days ago ",c.printStats(a["24h-7d"]),"");
C();ug(b)}},Peb=function(a,b){a&1&&K(0,"recent-event-row",4);a&2&&F("event",b.$implicit)},Qeb=function(a,b){a&1&&(I(0,"p",5),Q(1),J(),tg(2,Peb,1,1,"recent-event-row",4,sg));if(a&2){a=P();var c=P(3);C();R("1-4 weeks ago ",c.printStats(a["7d-30d"]),"");C();ug(b)}},Reb=function(a,b){a&1&&K(0,"recent-event-row",4);a&2&&F("event",b.$implicit)},Seb=function(a,b){a&1&&(I(0,"p",5),Q(1),J(),tg(2,Reb,1,1,"recent-event-row",4,sg));if(a&2){a=P();var c=P(3);C();R(">30 days ago ",c.printStats(a[">30d"]),"");C();
ug(b)}},Teb=function(a){if(a&1){var b=x();I(0,"button",6);M("click",function(){z(b);var c=P(4);c.numDisplayed$.value<100?c.numDisplayed$.next(100):c.numDisplayed$.next(c.defaultNumEvents);return A()});Q(1);J()}a&2&&(a=P(4),C(),R(" ",a.numDisplayed$.value>a.defaultNumEvents?"Show less":"Show more"," "))},Ueb=function(a){a&1&&(D(0,Meb,4,1)(1,Oeb,4,1)(2,Qeb,4,1)(3,Seb,4,1)(4,Teb,2,1,"button",2),S(5,"async"));if(a&2){var b,c,d,e,f;a=P();var h=P(2);G((b=a["<24h"])?0:-1,b);C();G((c=a["24h-7d"])?1:-1,c);
C();G((d=a["7d-30d"])?2:-1,d);C();G((e=a[">30d"])?3:-1,e);C();G(((f=(f=U(5,5,h.events$))==null?null:f.length)!==null&&f!==void 0?f:0)>h.defaultNumEvents?4:-1)}},Veb=function(a){a&1&&(D(0,Ueb,6,7),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.bucketedEventStats$))?0:-1,b)}},Web=function(a){a&1&&(I(0,"div",0),Q(1," Recent activity "),K(2,"input",1),J(),D(3,Veb,2,3),S(4,"async"));if(a&2){var b;a=P();C(2);F("formControl",a.quickFilter);C();G((b=U(4,2,a.bucketedEvents$))?3:-1,b)}},Xeb=function(a){return function(b){var c;
if(a){var d="";if(dl(b)||el(b)){var e=Yt(b);d="submitted "+e.link+" "+e.title}e="b/"+b.issueId;var f=neb(b),h=peb(b),l=leb(b);b=b==null||dl(b)||el(b)?"":((c=b.unlinkifiedComment)!=null?c:"").slice(0,999);c=[e,f,h,d,l,b].join(" ").toLowerCase().includes(a.toLowerCase())}else c=!0;return c}},Yeb=function(a){if(a==null||a.n<=1)return"";var b=Object.keys(a.pptCounts).length;a=[a.clCount?a.clCount+" CLs":void 0,a.fixed?a.fixed+" issues fixed":void 0,b>1?b+" participants":void 0].filter(kj);return a.length===
0?"":"\u2014 "+a.join(", ")},Zeb=function(a){var b={};a.forEach(function(c){var d=Date.now()-c.modifiedDate,e=">30d";d<864E5?e="<24h":d<6048E5?e="24h-7d":d<2592E6&&(e="7d-30d");b[e]==null&&(b[e]=[]);b[e].push(c)});return b},$eb=function(a,b){var c;a=(c=b[a])!=null?c:[];var d={n:a.length,pptCounts:{}};a.forEach(function(e){var f=peb(e),h=neb(e);if(e.unlinkifiedComment&&f!=="changelist"){var l;d.comment=((l=d.comment)!=null?l:0)+1;var q;d.pptCounts[h]=((q=d.pptCounts[h])!=null?q:0)+1}if(f==="changelist"){var v;
d.clCount=((v=d.clCount)!=null?v:0)+1;var y;d.pptCounts[h]=((y=d.pptCounts[h])!=null?y:0)+1}else if(f==="create"){var E;d.created=((E=d.created)!=null?E:0)+1;var H;d.pptCounts[h]=((H=d.pptCounts[h])!=null?H:0)+1}else if(f==="status"&&meb(e,"status")==="Fixed"){var O;d.fixed=((O=d.fixed)!=null?O:0)+1}});return d},afb=function(a){a&1&&(I(0,"p",11),Q(1),J());a&2&&(a=P().$implicit,C(),Tg(a.description))},bfb=function(a,b){a&1&&(I(0,"mat-list-option",8)(1,"div",9)(2,"label",10),Q(3),J()(),D(4,afb,2,1,
"p",11),J());a&2&&(a=b.$implicit,b=P(2),mg("height","auto"),F("selected",b.selectedIds.has(a.searchId))("value",a.searchId),C(3),Tg(a.name),C(),G(a.description?4:-1))},dfb=function(a,b){if(a&1){var c=x();I(0,"mat-selection-list",6);M("selectionChange",function(d){z(c);var e=P();return A(e.onChangeMatList(d))});tg(1,bfb,5,6,"mat-list-option",7,cfb);J()}a&2&&(C(),ug(b))},efb=function(a,b){a&1&&K(0,"avatar-bunch",4);a&2&&F("emails",b)},ffb=function(a,b){a&1&&(I(0,"a",6),Q(1," View in TaskFlow "),K(2,
"mat-icon",7),J());a&2&&F("href",b,of)},gfb=function(a,b){a&1&&K(0,"progress-pie",1);a&2&&F("closed",b.closed)("total",b.total)},ifb=function(a,b){a&1&&(K(0,"cl-counts",3),S(1,"async"));if(a&2){var c;a=P();F("submitted",b.changelists)("pending",(c=U(1,2,a.pendingCls$))!==null&&c!==void 0?c:ah(4,hfb))}},jfb=function(a){a&1&&K(0,"gerrit-changes-count",4);a&2&&(a=P(),F("changes",a))},kfb=function(a,b){a&1&&D(0,jfb,1,1,"gerrit-changes-count",4);a&2&&G(b&&b.length>0?0:-1)},lfb=function(a){a&1&&K(0,"avatar-bunch",
5);a&2&&(a=P(),F("emails",a))},mfb=function(a,b){a&1&&D(0,lfb,1,1,"avatar-bunch",5);a&2&&G(b.length>0?0:-1)},nfb=function(a){return a},ofb=function(a){a==="UNKNOWN_SOURCE"&&console.error("an UNKNOWN TaskSources snuck in");return a},pfb=function(a){a&1&&(I(0,"div",2),Q(1),J());if(a&2){var b;a=P();ng("muted",!a.isNumeric(a.countDisplay)||a.isDisabled());C();Tg((b=a.countDisplay)!==null&&b!==void 0?b:"\u00a0")}},qfb=function(a){a&1&&(I(0,"div",0),K(1,"qif-stat",1),S(2,"async"),K(3,"qif-stat",2),S(4,
"async"),J());a&2&&(a=P(),C(),F("prefKey",a.id)("metadata",U(2,4,a.metadata$)),C(2),F("prefKey",a.id)("metadata",U(4,6,a.metadata$)))},Zt=function(a,b){return a===b?!0:(a==null?void 0:a.type)===(b==null?void 0:b.type)&&!(a==null||!a.ancestorChain.equals(b==null?void 0:b.ancestorChain))},rfb=function(a){switch(a){case 0:return"Row moved up";case 1:return"Row moved down";case 2:return"Row indented";case 3:return"Row unindented";case 4:return"Row moved";default:xb(a)}},tfb=function(a,b){var c=function(){return{position:d,
rowElement:b}};if(b.classList.contains("dragging")||b.classList.contains("nodrop")||b.classList.contains("mat-mdc-header-row")){var d="none";return c()}var e=sfb(b),f=b.nextElementSibling&&sfb(b.nextElementSibling),h=b.previousElementSibling&&sfb(b.previousElementSibling);if(a==="top"){var l;if(((l=b.previousElementSibling)==null?0:l.classList.contains("dragging"))&&h===e)return d="none",c();d="before";return c()}if(a==="bottom"){if(f!=null&&e<f){var q;if((q=b.nextElementSibling)==null?0:q.classList.contains("dragging"))return d=
"none",c();b=b.nextElementSibling;d="before";return c()}var v;if(((v=b.nextElementSibling)==null?0:v.classList.contains("dragging"))&&e===f)return d="none",c();d="after";return c()}d="current";return c()},sfb=function(a){return Number(a.dataset.level)},ufb=function(a){var b;return $t((b=a.dataset.ancestorchain)!=null?b:"")},vfb=function(a){a&1&&K(0,"th",30)},wfb=function(a){if(a&1){var b=x();I(0,"td",31,0);M("click",function(c){var d=z(b).$implicit,e=L(1),f=P();e.focus();Jq(f.focusManager,d);return A(c.stopPropagation())});
J()}},xfb=function(a){a&1&&K(0,"th",30)},yfb=function(a){if(a&1){var b=x();I(0,"td",32,1);M("click",function(c){var d=z(b).$implicit,e=L(1),f=P();e.focus();Jq(f.focusManager,d);return A(c.stopPropagation())})("dragstart",function(c){z(b);var d=P();return A(d.handleDragStart(c))});K(2,"mat-icon",33);J()}},zfb=function(a){a&1&&(I(0,"th",30),Q(1," Id "),J())},Afb=function(a,b){a&1&&(I(0,"td",34),K(1,"b-issue-id-cell",35),J());a&2&&(a=b.$implicit,C(),F("id",a.id))},Bfb=function(a){a&1&&(I(0,"th",30),
Q(1," Id "),J())},Cfb=function(a){a&1&&(I(0,"td",34),Q(1,"--"),J())},Dfb=function(a){a&1&&(I(0,"th",30),Q(1," Title "),J())},Efb=function(a,b){if(a&1){var c=x();I(0,"td",34)(1,"b-expandable-issue-title-cell",36);S(2,"async");S(3,"async");M("expansionChange",function(){var d=z(c).$implicit,e=P();return A(e.toggleExpansion(d))});J()()}a&2&&(a=b.$implicit,C(),F("issue",U(2,4,a.issue$))("expandable",U(3,6,a.hasChildren$))("expanded",!!a.expandedCount)("level",a.level))},Ffb=function(a){a&1&&(I(0,"th",
30),Q(1," Type "),J())},Gfb=function(a,b){a&1&&(I(0,"td",34),K(1,"b-issue-type-cell",37),S(2,"async"),J());a&2&&(a=b.$implicit,C(),F("issue",U(2,1,a.issue$)))},Hfb=function(){},Ifb=function(a){a&1&&Q(0," Assignee ")},Jfb=function(a){a&1&&(I(0,"th",30),D(1,Hfb,0,0)(2,Ifb,1,0),J());a&2&&(a=P(),C(),G((a.options.modes==null?null:a.options.modes.assignee)==="avatar-if-open"?1:2))},Kfb=function(a,b){a&1&&K(0,"b-user-image",38);a&2&&F("email",b)},Lfb=function(a){a&1&&D(0,Kfb,1,1,"b-user-image",38);if(a&
2){var b;a=P();var c=P(3);G((b=c.getAssigneeString(a))?0:-1,b)}},Mfb=function(a,b){a&1&&D(0,Lfb,1,1);a&2&&(a=P(3),G(a.isOpen(b)?0:-1))},Nfb=function(a){a&1&&(D(0,Mfb,1,1),S(1,"async"));if(a&2){var b;a=P().$implicit;G((b=U(1,1,a.issue$))?0:-1,b)}},Ofb=function(a){a&1&&(K(0,"b-issue-assignee-cell",37),S(1,"async"));a&2&&(a=P().$implicit,F("issue",U(1,1,a.issue$)))},Pfb=function(a){a&1&&(I(0,"td",34),D(1,Nfb,2,3)(2,Ofb,2,3,"b-issue-assignee-cell",37),J());a&2&&(a=P(),C(),G((a.options.modes==null?null:
a.options.modes.assignee)==="avatar-if-open"?1:2))},Qfb=function(a){a&1&&(I(0,"th",30),Q(1," Status "),J())},Rfb=function(a,b){a&1&&(I(0,"td",34),K(1,"b-issue-status-cell",39),S(2,"async"),J());a&2&&(a=b.$implicit,C(),F("issue",U(2,2,a.issue$))("showPendingFix",!0))},Sfb=function(a){a&1&&(I(0,"th",30),Q(1," Team "),J())},Tfb=function(a,b){a&1&&(I(0,"td",34),K(1,"b-issue-team-cell",37),S(2,"async"),J());a&2&&(a=b.$implicit,C(),F("issue",U(2,1,a.issue$)))},Ufb=function(a){a&1&&K(0,"th",30)},Vfb=function(a,
b){if(a&1){var c=x();I(0,"td",34)(1,"b-actions-menu",40);M("click",function(d){z(c);return A(d.stopPropagation())});J()()}a&2&&(a=b.$implicit,b=P(),C(),F("menuItems",b.getMenuItems(a)))},Wfb=function(a){a&1&&K(0,"th",30)},Yfb=function(a){if(a&1){var b=x();I(0,"b-actions-menu",40);M("click",function(d){z(b);return A(d.stopPropagation())});J()}if(a&2){a=P().$implicit;var c=P();F("menuItems",Xfb(c,a))}},Zfb=function(a){a&1&&K(0,"b-spinner")},$fb=function(a){a&1&&K(0,"b-spinner")},agb=function(a,b){a&
1&&(I(0,"td",41),D(1,Yfb,1,1,"b-actions-menu",42)(2,Zfb,1,0,"b-spinner")(3,$fb,1,0,"ng-template",null,2,fh),J());a&2&&(a=b.$implicit,C(),G(a.saving?2:1))},cgb=function(a,b){if(a&1){var c=x();I(0,"td",34)(1,"b-async-data-placeholder",43);S(2,"async");I(3,"b-button",44);M("onAction",function(){var d=z(c).$implicit,e=P();return A(bgb(e,d))});I(4,"span",45);Q(5);J()()()()}a&2&&(a=b.$implicit,b=P(),mg("padding-left",a.level*24+b.TITLE_FIXED_OFFSET_PX,"px"),eg("colspan",b.tableColumns.length),C(),F("isReady",
!!U(2,5,a.parentIssue$)),C(4),R("Display ",a.truncatedSiblingCount," more"))},dgb=function(a){a&1&&(I(0,"th",30),Q(1," Title "),J())},egb=function(a,b){if(a&1){var c=x();I(0,"td",34)(1,"div",46)(2,"b-text-input-cell",47);Xg("valueChange",function(d){var e=z(c).$implicit;Wg(e.title,d)||(e.title=d);return A(d)});M("commit",function(){var d=z(c).$implicit,e=P();return A(e.saveDraft(d))});J();I(3,"b-button",48);M("onAction",function(){var d=z(c).$implicit,e=P();return A(e.saveDraft(d))});Q(4," Create ");
J();I(5,"b-button",49);M("onAction",function(){var d=z(c).$implicit,e=P();return A(au(e,d))});Q(6," Cancel ");J()()()}a&2&&(a=b.$implicit,mg("padding-left",(a.level+1)*24,"px"),C(2),Vg("value",a.title),F("readonly",a.saving),C(),F("disabled",!a.title||a.saving),C(2),F("disabled",a.saving))},fgb=function(a){a&1&&K(0,"tr",23)},ggb=function(a){a&1&&D(0,fgb,1,0,"tr",50);a&2&&(a=P(),F("matHeaderRowDef",a.tableColumns))},jgb=function(a,b){if(a&1){var c=x();I(0,"tr",51);S(1,"async");S(2,"async");M("click",
function(d){var e=z(c).$implicit,f=P();return A(f.navigateToIssue(d,e))})("mouseup",function(d){var e=z(c).$implicit,f=P();return A(f.navigateToIssue(d,e))})("focusin",function(){var d=z(c).$implicit,e=P();return A(Jq(e.focusManager,d))})("keydown",function(d){var e=z(c).$implicit,f=P();return A(f.onRowKeydown(e,d))});J()}a&2&&(a=b.$implicit,b=P(),ng("selected",U(1,8,igb(b.selectionModel,a.ancestorChain)))("closed",b.isClosed(U(2,10,a.issue$))),F("row",a),eg("data-level",a.level)("data-type",a.type)("data-ancestorchain",
a.ancestorChain.hash()))},kgb=function(a,b){if(a&1){var c=x();I(0,"tr",52);M("focusin",function(){var d=z(c).$implicit,e=P();return A(Jq(e.focusManager,d))})("keydown",function(d){var e=z(c).$implicit,f=P();return A(f.onRowKeydown(e,d))});J()}a&2&&(a=b.$implicit,F("row",a),eg("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},lgb=function(a,b){if(a&1){var c=x();I(0,"tr",53);M("keydown",function(d){var e=z(c).$implicit,f=P();return A(f.onRowKeydown(e,d))})("keydown.escape",
function(){var d=z(c).$implicit,e=P();return A(au(e,d))})("keydown.backspace",function(d){var e=z(c).$implicit,f=P();return A(e.title||d.repeat||au(f,e))})("focusin",function(){var d=z(c).$implicit,e=P();return A(Jq(e.focusManager,d))});J()}a&2&&(a=b.$implicit,F("row",a),eg("data-type",a.type))},mgb=function(a,b){if(a&&a.length)return a.map(b)},ngb=function(a){var b=a.getFilename();var c=$i(a,2,Wi(Xi));return{filename:b,lineNumber:c,changeNumber:a.getChangeNumber_asLegacyNumberOrString()}},pgb=function(a){var b=
Gh(a,1);a=nj(a,ogb,2,Wi(Xi));return{packageName:b,fileMentionSet:mgb(a,ngb)}},rgb=function(a){var b=Zi(a,1),c=Fj(a,2);a=nj(a,qgb,3,Wi(Xi));return{totalMentions:b,truncated:c,packageMentionSet:mgb(a,pgb)}},bu=function(a){var b=sgb(a.open);a=sgb(a.total);return b===a?"("+b+")":"("+b+"/"+a+")"},sgb=function(a){var b=a.count;a=a.exact;return b===0||a?""+b:b+"+"},tgb=function(a){return"("+sgb(a)+")"},cu=function(a){return{count:a>99?99:a,exact:a>99?!1:!0}},ugb=function(a,b){switch(b){case "BLOCKED_BY":return"blockingid:"+
a+" status:open";case "BLOCKING":return"blockedbyid:"+a+" status:open";case "DUPLICATE":return"canonicalid:"+a;case "CHILDREN":return"parentid:"+a+" status:open";case "PARENT":break;default:xb(b)}},vgb=function(a){a&1&&xg(0)},wgb=function(a){a&1&&D(0,vgb,1,0,"ng-container",6);a&2&&(P(),a=L(14),F("ngTemplateOutlet",a))},xgb=function(a,b){a&1&&K(0,"b-issues-table",7);a&2&&(a=P(2),F("issueIds",b)("tableColumns",a.tableColumns)("menuItemFactory",a.getMenuItems)("filters",a.filters)("initialSort",a.initialSort)("options",
a.tableOptions))},ygb=function(a){a&1&&(D(0,xgb,1,6,"b-issues-table",7),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.blockerIds$))?0:-1,b)}},zgb=function(a){a&1&&xg(0)},Agb=function(a){a&1&&(I(0,"div")(1,"span",5),Q(2,"This issue is not blocked "),I(3,"span",8),Q(4,"\ud83c\udf89"),J()(),D(5,zgb,1,0,"ng-container",6),J());a&2&&(P(),a=L(14),C(5),F("ngTemplateOutlet",a))},Bgb=function(a,b){if(a&1){var c=x();I(0,"p",5);Q(1);I(2,"button",9);M("click",function(){z(c);var d=P();return A(d.shouldResetFilters.next())});
Q(3,"Show all");J()()}a&2&&(C(),Ug(" Filtering ",b," issue",b===1?"":"s",". "))},Dgb=function(a){if(a&1){var b=x();I(0,"b-button",10);S(1,"async");M("onAction",function(){z(b);var c=P();return A(Cgb(c))});Q(2," Add blocker ");J()}a&2&&(a=P(),F("disabled",!U(1,1,a.canEdit$)))},Egb=function(a,b){a&1&&K(0,"b-issues-table",0);a&2&&(a=P(),F("issueIds",b)("tableColumns",a.tableColumns)("options",a.tableOptions)("filters",a.filters)("issueUrlFactory",a.ROUTES.issueDependencies.makeHref)("menuItemFactory",
a.getMenuItems))},Fgb=function(a,b){a&1&&(I(0,"span",8),Q(1),J());a&2&&(Fg("title","",b," applied filter(s)"),C(),Tg(b))},Ggb=function(a){a&1&&(D(0,Fgb,2,3,"span",8),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.internalSelectedOptions.size$))?0:-1,b)}},Hgb=function(a){a&1&&(I(0,"h1",6),Q(1),J());a&2&&(a=P(),C(),Tg(a.overlayTitle))},Igb=function(a){a&1&&(I(0,"h1"),Q(1),J());a&2&&(a=P().$implicit,C(),Tg(a.title))},Jgb=function(a){a&1&&(I(0,"p"),Q(1),J());a&2&&(a=P().$implicit,C(),Tg(a.description))},
Kgb=function(a,b){if(a&1){var c=x();I(0,"div",7)(1,"div",9)(2,"mat-checkbox",10);S(3,"async");M("change",function(d){var e=z(c).$implicit,f=P();e=e.key;d.checked?f.internalSelectedOptions.add(e):f.internalSelectedOptions.delete(e);f.onChange.emit(new Set(f.internalSelectedOptions));return A()});J();I(4,"div");D(5,Igb,2,1,"h1")(6,Jgb,2,1,"p");J()()()}a&2&&(a=b.$implicit,b=P(),C(2),F("checked",U(3,3,Iq(b.internalSelectedOptions,a.key))),C(3),G(a.title?5:-1),C(),G(a.description?6:-1))},Lgb=function(a){if(a&
1){var b=x();K(0,"mat-divider");I(1,"div",11)(2,"button",12);M("click",function(){z(b);var c=P(),d=L(1);return A(c.cancel(d))});Q(3);J();I(4,"button",13);M("click",function(){z(b);var c=P(),d=L(1);return A(c.confirm(d))});Q(5);J()()}a&2&&(a=P(),C(3),Tg(a.cancelButtonLabel),C(2),Tg(a.confirmButtonLabel))},Mgb=function(a){a&1&&K(0,"b-spinner")},Ngb=function(a){a&1&&xg(0)},Ogb=function(a){a&1&&D(0,Ngb,1,0,"ng-container",23);a&2&&(P(2),a=L(12),F("ngTemplateOutlet",a))},Pgb=function(a){a&1&&(K(0,"b-parents-table",
15),S(1,"async"),S(2,"async"));if(a&2){a=P();var b=P();F("issueId",a)("parentIds",U(1,3,b.parentIds$))("filters",U(2,5,b.issueFilters.value$))}},Qgb=function(a){a&1&&xg(0)},Rgb=function(a){a&1&&(I(0,"div")(1,"span",24),Q(2,"This issue has no parents"),J(),D(3,Qgb,1,0,"ng-container",23),J());a&2&&(P(2),a=L(12),C(3),F("ngTemplateOutlet",a))},Sgb=function(a){a&1&&xg(0)},Ugb=function(a){a&1&&(D(0,Sgb,1,0,"ng-container",25),S(1,"async"));if(a&2){a=P(2);var b=L(10);F("ngTemplateOutlet",b)("ngTemplateOutletContext",
bh(4,Tgb,U(1,2,a.parentsTable==null?null:a.parentsTable.hiddenRowCount$)))}},Vgb=function(a){a&1&&xg(0)},Wgb=function(a){a&1&&D(0,Vgb,1,0,"ng-container",23);a&2&&(P(2),a=L(14),F("ngTemplateOutlet",a))},Xgb=function(a){a&1&&(I(0,"div",20)(1,"section",26)(2,"div",27),Q(3," Progress: "),J(),I(4,"div",27),Q(5),S(6,"async"),S(7,"number"),S(8,"async"),S(9,"number"),J(),I(10,"div",28),S(11,"async"),I(12,"div",29),K(13,"div",30),S(14,"async"),I(15,"onedev-hovercard",null,3)(17,"div",31)(18,"div",32),Q(19),
S(20,"async"),J()()()()(),K(21,"mat-icon",33),I(22,"onedev-hovercard",null,4)(24,"div",31)(25,"div",34)(26,"p"),Q(27," The progress of child issues takes into consideration all child issues and descendant issues which have estimation data. If a child issue doesn\u2019t have an estimate, their progress is not reflected in the progress bar. "),J()()()()()());if(a&2){a=L(16);var b=L(23),c=P(2);C(5);Ug(" ",eh(7,11,U(6,9,c.totalDaysComplete$),"1.0-2")," of ",eh(9,16,U(8,14,c.totalDaysCount$),"1.0-2"),
" days complete ");C(5);gg("aria-label","",U(11,19,c.totalDaysDisplayPercent$)," Percentage of effort completed");C(2);F("onedevHovercardTrigger",a);C();mg("width",U(14,21,c.totalDaysDisplayPercent$),"%");C(6);R(" ",U(20,23,c.progressHovercardContent$)," ");C(2);F("onedevHovercardTrigger",b)}},Ygb=function(a){a&1&&K(0,"rollups-project",21);a&2&&(a=P(),F("id",a))},Zgb=function(a){a&1&&xg(0)},$gb=function(a){a&1&&(D(0,Zgb,1,0,"ng-container",25),S(1,"async"));if(a&2){a=P(2);var b=L(10);F("ngTemplateOutlet",
b)("ngTemplateOutletContext",bh(4,Tgb,U(1,2,a.relationsTable==null?null:a.relationsTable.hiddenRowCount$)))}},ahb=function(a){a&1&&xg(0)},bhb=function(a){a&1&&(I(0,"span",24),Q(1,"This issue has no children"),J(),D(2,ahb,1,0,"ng-container",23));a&2&&(P(3),a=L(14),C(2),F("ngTemplateOutlet",a))},chb=function(a){a&1&&(I(0,"p",35)(1,"a",36),Q(2," View as search results "),J()());if(a&2){a=P(2);var b=P();C();F("href",b.makeIlpUrlForParentIssue(a),of)}},dhb=function(a){a&1&&(D(0,bhb,3,1),S(1,"async"),S(2,
"async"),D(3,chb,3,1,"p",35));if(a&2){var b;a=P(2);G(U(1,1,a.unarchivedChildIssueCount$)===0&&(((b=U(2,3,a.relationsTable==null?null:a.relationsTable.rows$))==null?null:b.length)||0)===0?0:3)}},ehb=function(a,b){if(a&1){var c=x();I(0,"div",9)(1,"section",10)(2,"div",11)(3,"h4",12)(4,"div",13);K(5,"mat-icon",14);J();Q(6);S(7,"async");J();D(8,Ogb,1,1,"ng-container");S(9,"async");J();D(10,Pgb,3,7,"b-parents-table",15);S(11,"async");D(12,Rgb,4,1,"div")(13,Ugb,2,6,"ng-container");S(14,"async");J();I(15,
"section")(16,"b-blockers-table",16);S(17,"async");M("shouldResetFilters",function(){z(c);var f=P();return A(f.shouldResetFilters())});J()();I(18,"section")(19,"div",17)(20,"h4",12)(21,"div",18);K(22,"mat-icon",19);J();Q(23);S(24,"async");J();D(25,Wgb,1,1,"ng-container");S(26,"async");S(27,"async");J();D(28,Xgb,28,25,"div",20);S(29,"async");S(30,"async");D(31,Ygb,1,1,"rollups-project",21);K(32,"b-issue-relations-table",22);S(33,"async");S(34,"async");S(35,"async");D(36,$gb,2,6,"ng-container");S(37,
"async");D(38,dhb,4,5);S(39,"async");J()()}if(a&2){var d,e;a=P();C(6);R(" Parents ",U(7,17,a.counts.countParentsDisplay$)," ");C(2);G(U(9,19,a.parentsCount$)?8:-1);C(2);G(U(11,21,a.parentsCount$)?10:12);C(3);G(U(14,23,a.issueFilters.value$)?13:-1);C(3);F("filters",U(17,25,a.issueFilters.value$));C(7);R(" Child issues ",U(24,27,a.counts.countChildrenDisplay$)," ");C(2);G(U(26,29,a.unarchivedChildIssueCount$)||(((d=U(27,31,a.relationsTable==null?null:a.relationsTable.rows$))==null?null:d.length)||0)>
0?25:-1);C(3);G(a.isTotalEstimatesEnabled&&U(29,33,a.unarchivedChildIssueCount$)&&U(30,35,a.totalDaysCount$)?28:-1);C(3);G(a.isInternalSession&&a.enableRollupStatsUi?31:-1);C();ng("hidden",!((e=U(33,37,a.relationsTable==null?null:a.relationsTable.rows$))==null?0:e.length)&&!U(34,39,a.relationsTable==null?null:a.relationsTable.hiddenRowCount$));Fg("saveExpansionAtKey","project-expansion-",b,"");F("rootIssueId",b)("filters",U(35,41,a.issueFilters.value$));C(4);G(U(37,43,a.issueFilters.value$)?36:-1);
C(2);G(U(39,45,a.unarchivedChildIssueCount$)!==null?38:-1)}},fhb=function(a){if(a&1){var b=x();I(0,"p",24);Q(1);I(2,"button",37);M("click",function(){z(b);var c=P(2);return A(c.issueFilters.reset([]))});Q(3,"Show all");J()()}a&2&&(a=P().filteredCount,C(),Ug(" Filtering ",a," issue",a===1?"":"s",". "))},ghb=function(a,b){a&1&&D(0,fhb,4,2,"p",24);a&2&&G(b.filteredCount?0:-1)},ihb=function(a){if(a&1){var b=x();I(0,"b-button",38);S(1,"async");M("onAction",function(){z(b);var c=P();return A(hhb(c))});
Q(2," Add parent ");J()}a&2&&(a=P(),F("disabled",!U(1,1,a.canEdit$)))},jhb=function(a){if(a&1){var b=x();I(0,"b-button",41);S(1,"async");M("onAction",function(){z(b);var c=P(2);return A(c.createChild())});Q(2," Create new child ");J()}a&2&&(a=P(2),F("disabled",!U(1,1,a.canEdit$)))},khb=function(a){if(a&1){var b=x();D(0,jhb,3,3,"b-button",39);I(1,"b-button",40);S(2,"async");M("onAction",function(){z(b);var c=P();return A(c.addChild())});Q(3," Add existing child ");J()}a&2&&(a=P(),G(a.isNonPublicSession?
0:-1),C(),F("disabled",!U(2,2,a.canEdit$)))},lhb=function(a,b){return Me([a,b]).pipe(B(function(c){var d=k(c);c=d.next().value;d=d.next().value;return d===0?0:Math.round(c*100/d*100)/100}))},mhb=function(a){return a===1?a+" day":a+" days"},nhb=function(a){a&1&&(K(0,"one-work-area-list",0),S(1,"async"));a&2&&(a=P(2),F("searchString",U(1,4,a.issueFilter$))("prefKey",a.entityReference)("reference",a.entityReference)("onlyShowTableWhenFiltered",a.onlyShowTableWhenFiltered))},phb=function(a){if(a&1){var b=
x();I(0,"aside",4)(1,"p",5);Q(2,"This issue has no children.");J();I(3,"button",6);M("click",function(){z(b);var c;(c=P(5).relationsTable)==null||ohb(c);return A()});Q(4," Create new child ");J();I(5,"button",7);M("click",function(){z(b);var c;(c=P(5).relationsTable)==null||c.addExistingChild();return A()});Q(6," Add existing ");J()()}},qhb=function(a,b){a&1&&(D(0,phb,7,0,"aside",4),S(1,"async"));if(a&2){var c;a=P(4);G(b.descendantCount===0&&(((c=U(1,1,a.relationsTable==null?null:a.relationsTable.rows$))==
null?null:c.length)||0)===0?0:-1)}},rhb=function(a){a&1&&(K(0,"b-issue-relations-table",3),D(1,qhb,2,3),S(2,"async"));if(a&2){var b;a=P(2);var c=P();Fg("saveExpansionAtKey","project-expansion-",a,"");F("rootIssueId",a)("filters",c.getFilters())("tableColumns",c.TREE_COLUMNS)("options",c.TREE_OPTIONS)("defaultExpansionLevel",0);C();G((b=U(2,8,c.issue$))?1:-1,b)}},shb=function(a){a&1&&(K(0,"rollups-project",2)(1,"stat-cards-project",2),D(2,rhb,3,10));if(a&2){a=P();var b=P();F("id",a);C();F("id",a);
C();G(b.showTable()?2:-1)}},thb=function(a){a&1&&Q(0);a&2&&(a=P(2),R(" Unhandled entity type: ",a.entityType," "))},uhb=function(a){a&1&&(K(0,"recent-events",1),S(1,"async"));a&2&&(a=P(2),F("query",U(1,2,a.issueFilter$))("numEvents",a.numRecentActivityEvents))},vhb=function(a){a&1&&D(0,nhb,2,6,"one-work-area-list",0)(1,shb,3,3)(2,thb,1,1)(3,uhb,2,4,"recent-events",1);a&2&&(a=P(),G(a.entityType==="hotlist"||a.entityType==="savedsearch"?0:a.entityType==="issue"?1:2),C(3),G(a.hideRecentActivity?-1:3))},
whb=function(a){return{filter:a!=null?a:void 0,pageSize:500,sort:"modified_time:desc"}},xhb=function(a){a&1&&(K(0,"b-issues-table",2),S(1,"async"));a&2&&(a=P(),F("issueIds",U(1,5,a.issueIds$))("options",a.TABLE_OPTIONS)("filters",a.getFilters())("tableColumns",a.getFilters()[0]==="PROGRESS"?a.PROGRESS_COLUMNS:a.DEFAULT_COLUMNS)("initialSort",a.INITIAL_SORT))},yhb=function(a){a&1&&(I(0,"button",9),K(1,"mat-icon",13),Q(2," Add "),J());a&2&&(P(),a=L(9),F("matMenuTriggerFor",a))},zhb=function(a){a&1&&
(I(0,"a",27),K(1,"mat-icon",28),Q(2," View Issue "),J(),I(3,"a",29),K(4,"mat-icon",28),Q(5," View as search results "),J());if(a&2){a=P(2).$implicit;var b=P(2);F("routerLink",b.makeBuganizerUrl(a));C(3);F("href",b.makeIlpUrlForParentIssue(a),of)}},Ahb=function(a){a&1&&(I(0,"a",20),K(1,"mat-icon",28),Q(2),J());if(a&2){a=P(2).$implicit;var b=P(2);F("routerLink",b.makeBuganizerUrl(a));C(2);R(" View ",b.getEntityTypeName(a)," ")}},Bhb=function(a,b){if(a&1){var c=x();I(0,"button",10);M("click",function(){var d=
z(c),e=P(4);e.clipboard.copy(d);du(e.butterBar,"ID copied",2E3);return A()});K(1,"mat-icon",30);Q(2);J()}a&2&&(C(2),R(" Copy ID: ",b," "))},Dhb=function(a){if(a&1){var b=x();Q(0);I(1,"button",17);M("click",function(l){z(b);return A(l.stopPropagation())});K(2,"mat-icon",18);J();I(3,"mat-menu",19,1);D(5,zhb,6,2)(6,Ahb,3,2,"a",20)(7,Bhb,3,1,"button",21);K(8,"mat-divider");I(9,"button",22);M("click",function(){z(b);var l=P().$implicit,q=P(2);return A(Chb(q.prefsService,l,-1))});K(10,"mat-icon",23);Q(11,
" Move Left ");J();I(12,"button",22);M("click",function(){z(b);var l=P().$implicit,q=P(2);return A(Chb(q.prefsService,l,1))});K(13,"mat-icon",24);Q(14," Move Right ");J();I(15,"button",25);M("click",function(){z(b);var l=P().$implicit,q=P(2).prefsService;if(l!=null){var v,y=((v=q.prefs.workAreaUrls)!=null?v:[]).slice();l=y.indexOf(l);l<0||(y.splice(l,1),eu(q,{workAreaUrls:y}))}return A()});K(16,"mat-icon",26);Q(17," Remove ");J()()}if(a&2){var c;a=L(4);var d=P(),e=d.$implicit,f=d.$index;d=d.$count;
var h=P(2);R(" ",h.titles[e]||e," ");C();F("matMenuTriggerFor",a);C(4);G(h.inferEntityType(e)==="issue"?5:6);C(2);G((c=h.extractLastDigits(e))?7:-1,c);C(2);F("disabled",f===0);C(3);F("disabled",f===d-1);C(3);Fg("title","Hide the work area '",e,"' from this section")}},Ehb=function(a){a&1&&K(0,"one-work-area",31);if(a&2){a=P().$implicit;var b=P(2);F("reference",a)("refreshWorkArea",b.refreshData)}},Fhb=function(a){a&1&&(I(0,"mat-tab"),D(1,Dhb,18,8,"ng-template",15)(2,Ehb,1,2,"ng-template",16),J())},
Hhb=function(a){if(a&1){var b=x();I(0,"mat-tab-group",14);M("selectedIndexChange",function(c){z(b);var d=P();return A(Ghb(d.prefsService,d.SECTION_SLUG,c))});tg(1,Fhb,3,0,"mat-tab",null,sg);J()}a&2&&(a=P(),F("selectedIndex",a.INITIAL_TAB_INDEX),C(),ug(a.workAreaReferences))},Ihb=function(a){a&1&&K(0,"b-issue-card",43);a&2&&(a=P().$implicit,F("issueId",a.ref))},Khb=function(a,b){if(a&1){var c=x();I(0,"li",40);M("click",function(){var d=z(c).$implicit,e=P(3);return A(Jhb(e,d.ref))});I(1,"p",41);Q(2);
J();I(3,"p",42);Q(4);J();I(5,"onedev-hovercard",null,2);D(7,Ihb,1,1,"b-issue-card",43);J()()}a&2&&(a=b.$implicit,b=L(6),Fg("title","Click to add\n\rWhy this? ",a.suggestionRationale,""),C(2),Tg(a.title),C(),F("onedevHovercardTrigger",b),C(),R("b/",a.ref,""),C(3),G(a.ref?7:-1))},Lhb=function(a){a&1&&(I(0,"div",34)(1,"h4"),Q(2,"Suggestions:"),J(),I(3,"ol",38),tg(4,Khb,8,6,"li",39,sg),J()());a&2&&(a=P(2),C(4),ug(a.suggestions))},Mhb=function(a){a&1&&(I(0,"section",12)(1,"div",32),K(2,"img",33),D(3,Lhb,
6,0,"div",34),J(),I(4,"p",35),Q(5," Use work areas to closely monitor a hotlist, saved search, or a parent/child project issue. "),J(),I(6,"button",36),K(7,"mat-icon",37),Q(8," Add work area "),J()());if(a&2){a=P();var b=L(9);C(2);F("src",a.EMPTY_STATE_IMG,of);C();G(a.suggestions.length>0?3:-1);C(3);F("matMenuTriggerFor",b)}},Nhb=function(a){if(a&1){var b=x();I(0,"div",1);M("click",function(){z(b);var c=P();return A(c._onBackdropClicked())});J()}a&2&&(a=P(),ng("mat-drawer-shown",a._isShowingBackdrop()))},
Ohb=function(a){a&1&&(I(0,"mat-drawer-content"),Eg(1,2),J())},Phb=function(){return!1},Qhb=function(a){if(a&1){var b=x();I(0,"div",1);M("click",function(){z(b);var c=P();return A(c._onBackdropClicked())});J()}a&2&&(a=P(),ng("mat-drawer-shown",a._isShowingBackdrop()))},Rhb=function(a){a&1&&(I(0,"mat-sidenav-content"),Eg(1,2),J())},Shb=function(a,b){if(a&1){var c=x();I(0,"button",9);M("click",function(){var d=z(c).$implicit,e=P(2);return A(e.pageSizeChange.emit(d))});I(1,"span",10);K(2,"mat-icon",11);
J();Q(3);J()}a&2&&(a=b.$implicit,b=P(2),ng("b-menu-item-checked",a===b.pageSize),eg("aria-checked",a===b.pageSize),C(3),R(" ",a," "))},Thb=function(a){a&1&&(I(0,"button",5),K(1,"mat-icon",6),J(),I(2,"mat-menu",null,0)(4,"div",7),Q(5,"Results per page:"),J(),tg(6,Shb,4,4,"button",8,sg),J());if(a&2){a=L(3);var b=P();F("matMenuTriggerFor",a);C(6);ug(b.pageSizeOptions)}},Uhb=function(a){a&1&&(I(0,"span"),Q(1," - "),I(2,"strong"),Q(3),J()());a&2&&(a=P(),C(3),Tg(a.endIndex))},Vhb=function(a,b){a&1&&(I(0,
"span",27),Q(1),J());a&2&&(C(),R("",b," "))},Whb=function(a){a&1&&(D(0,Vhb,2,1,"span",27),S(1,"async"),Q(2," \u00a0/\u00a0 "));if(a&2){var b;a=P();G((b=U(1,1,a.attentionCount$))?0:-1,b)}},Xhb=function(a,b){a&1&&(I(0,"div",9)(1,"h2",7),Q(2),J(),I(3,"span",26),D(4,Whb,3,3),S(5,"async"),I(6,"span"),Q(7),S(8,"async"),J()()());if(a&2){var c;C(2);Tg(b.displayName);C(2);G((c=U(5,3,b.attentionCount$))?4:-1,c);C(3);Tg(U(8,5,b.totalCount$))}},Zhb=function(a,b){if(a&1){var c=x();I(0,"button",13);M("click",function(){var d=
z(c).$implicit,e=P();return A(Yhb(e,d))});Q(1);J()}a&2&&(a=b.$implicit,b=P(),C(),R(" ",b.SUBPHASE_TO_DISPLAY_NAME[a]," "))},$hb=function(a){a&1&&K(0,"mat-progress-bar",21)},aib=function(a,b){a&1&&(I(0,"mat-chip-option",30),S(1,"async"),I(2,"span",32),Q(3),J()());a&2&&(a=b.$implicit,b=P(4),F("value",a.key)("selected",U(1,5,Iq(b.selectedFilterKeys,a.key))),C(2),F("matTooltip",a.tooltip),C(),Ug(" ",a.displayAs," (",a.count,") "))},bib=function(a){if(a&1){var b=x();I(0,"div",28)(1,"mat-chip-listbox",
29);M("change",function(d){z(b);P(3).selectedFilterKeys.reset(d.value.filter(kj));return A()});tg(2,aib,4,7,"mat-chip-option",30,sg);J();I(4,"mat-slide-toggle",31);Xg("ngModelChange",function(d){z(b);var e=P(3);Wg(e.groupByCluster,d)||(e.groupByCluster=d);return A(d)});Q(5,"Auto Clustering");J()()}if(a&2){a=P();var c=P(2);C();F("multiple",!0);C();ug(a);C(2);Vg("ngModel",c.groupByCluster)}},cib=function(a,b){a&1&&D(0,bib,6,2,"div",28);a&2&&G(b.length?0:-1)},dib=function(a){a&1&&(D(0,cib,1,1),S(1,"async"));
if(a&2){var b;a=P();G((b=U(1,1,a.availableFiltersInCurrentPhase$))?0:-1,b)}},eib=function(a){a&1&&xg(0)},gib=function(a,b){a&1&&(I(0,"div",33)(1,"section",34)(2,"p",35),Q(3),S(4,"async"),J(),D(5,eib,1,0,"ng-container",36),J()());if(a&2){a=b.$implicit;b=P(2);var c=L(54);C(3);Tg(U(4,3,a.name));C(2);F("ngTemplateOutlet",c)("ngTemplateOutletContext",ch(5,fib,a.issueIds,b.teamId))}},iib=function(a,b){a&1&&tg(0,gib,6,8,"div",33,hib);a&2&&ug(b)},jib=function(a){a&1&&xg(0)},kib=function(a,b){a&1&&D(0,jib,
1,0,"ng-container",36);if(a&2){a=P(2);var c=L(54);F("ngTemplateOutlet",c)("ngTemplateOutletContext",ch(2,fib,b,a.teamId))}},lib=function(a){a&1&&(D(0,kib,1,5,"ng-container"),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.issueIdsToRender$))?0:-1,b)}},mib=function(a){if(a&1){var b=x();I(0,"issue-triage-sidebar",37);M("refreshTable",function(){z(b);var c=P();return A(c.refreshTable())});J()}},oib=function(a){if(a&1){var b=x();I(0,"b-issues-table",40);S(1,"async");S(2,"async");M("activeIssueChange",
function(h){z(b);var l=P(2);l.triageService.setIssueId(h);l.triageService.openSidebar();return A()})("rowClick",function(h){z(b);var l=P(2);l.triageService.setIssueId(h);l.triageService.openSidebar();return A()})("sortChange",function(h){z(b);var l=P(2);return A(l.onSortChange(h))});J()}if(a&2){var c,d,e=P();a=e.issueIds;e=e.teamId;var f=P();F("issueIds",a)("tableColumns",(c=U(1,6,f.tableColumns$))!==null&&c!==void 0?c:ah(10,nib))("options",f.tableOptions)("teamId",e)("showReadStatus",!0)("alerts",
(d=U(2,8,f.issueAlertsForCurrentPhase$))!==null&&d!==void 0?d:ah(11,nib))}},pib=function(a){a&1&&(I(0,"div",39),K(1,"img",41),Q(2," All clean! There are no issues in this phase. "),J());a&2&&(a=P(2),C(),F("src",a.EMPTY_STATE_IMG,of))},qib=function(a,b){a&1&&D(0,oib,3,12,"b-issues-table",38)(1,pib,3,1,"div",39);a&2&&G(b.issueIds.length?0:1)},sib=function(a,b,c){if(!b)return rib(a,c);switch(b.column){case "createdTime":return aua(Hsa)(a,b.direction);case "relativeModifiedTime":return bua(Hsa)(a,b.direction);
case "priority":return gua(Hsa)(a,b.direction);case "triager":return dua()(a,b.direction);default:return console.warn("b-triage-phase sort by '"+b.column+"' not implemented"),a}},rib=function(a,b){var c=tib.get(b),d=new Map(a.map(function(e){return[e.issueId,c.findIndex(function(f){return f.check(e)})]}));b=a.filter(function(e){return d.get(e.issueId)!==-1}).sort(function(e,f){return d.get(e.issueId)-d.get(f.issueId)});return Qk([].concat(w(b),w(a)),function(e){return e.issueId})},uib=function(a,
b){a&1&&(Q(0),I(1,"small",13),Q(2),J());a&2&&(R(" ",b.name," \u00a0 "),C(2),R("[",b.teamId,"]"))},vib=function(a){a&1&&Q(0);a&2&&(a=P().$implicit,R(" ",a.teamId," "))},wib=function(a,b){if(a&1){var c=x();I(0,"li",11)(1,"span",12);D(2,uib,3,2,"small",13);S(3,"async");D(4,vib,1,1);J();I(5,"a",14);Q(6,"Triage view");J();Q(7," \u00a0 ");I(8,"a",15);K(9,"mat-icon",16);J();I(10,"button",17);M("click",function(){var e=z(c).$implicit,f=P(2);return A(f.onClickRemove(e.teamId))});K(11,"mat-icon",18);J()()}if(a&
2){var d;a=b.$implicit;b=P(2);C(2);G((d=U(3,3,a.team$))?2:4,d);C(3);F("href",b.ROUTES.viewTriage.makeHref(a.teamId),of);C(3);F("href",b.ROUTES.editTeam.makeHref(a.teamId,"triage"),of)}},xib=function(a,b){a&1&&(I(0,"ol",4),tg(1,wib,12,5,"li",11,sg),J());a&2&&(C(),ug(b))},yib=function(a,b){if(a&1){var c=x();I(0,"li")(1,"button",19);M("click",function(){var d=z(c).$implicit,e=P();return A(e.onClickAdd(d.teamId))});Q(2);J();Q(3," \u00a0 ");I(4,"small",13);Q(5);J()()}a&2&&(a=b.$implicit,C(2),R(" ",(a.team==
null?null:a.team.name)||a.teamId," "),C(3),R(" [",a.teamId,"] "))},zib=function(a){a&1&&(I(0,"button",9)(1,"span"),Q(2,"Edit"),J(),K(3,"b-icon",15),J());if(a&2){a=P();var b=L(7);F("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},Aib=function(a){a&1&&(I(0,"button",9)(1,"span"),Q(2,"Link"),J(),K(3,"b-icon",15),J());if(a&2){a=P();var b=L(73);F("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},Bib=function(a){a&1&&(I(0,"button",9)(1,"span"),Q(2,"CC"),J(),K(3,"b-icon",15),J());if(a&2){a=P();var b=L(89);
F("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},Cib=function(a){if(a&1){var b=x();I(0,"button",11);M("click",function(){z(b);var c=P();return A(c.bulkEdit("ESTIMATED_EFFORT"))});Q(1,"Estimated Effort");J()}},Dib=function(a,b){if(a&1){var c=x();I(0,"button",11);M("click",function(){var d=z(c).$implicit,e=P();return A(e.quickBulkEdit("PRIORITY",d))});Q(1);J()}a&2&&(a=b.$implicit,C(),R(" ",a," "))},Eib=function(a,b){if(a&1){var c=x();I(0,"button",11);M("click",function(){var d=z(c).$implicit,e=
P();return A(e.quickBulkEdit("SEVERITY",d))});Q(1);J()}a&2&&(a=b.$implicit,C(),R(" ",a," "))},Fib=function(a,b){if(a&1){var c=x();I(0,"button",11);M("click",function(){var d=z(c).$implicit,e=P();return A(e.quickBulkEdit("STATUS",d))});Q(1);J()}a&2&&(a=b.$implicit,b=P(),C(),R(" ",b.STATUS_JS_FULL_TEXT[a]," "))},Gib=function(a,b){if(a&1){var c=x();I(0,"button",16);M("click",function(){var e=z(c).$implicit,f=P();return A(f.quickBulkEdit("TYPE",e))});Q(1);J()}if(a&2){var d;a=b.$implicit;b=P();F("matTooltip",
(d=b.constants.issueTypesShortDescriptions.get(a))!==null&&d!==void 0?d:"");C();R(" ",b.constants.issueTypesDisplayNames.get(a)," ")}},Hib=function(a){if(a&1){var b=x();I(0,"button",4);M("click",function(){z(b);var c=P(2);return A(c.exportCsvClicked.emit())});Q(1,"Export issues to CSV ");J()}},Iib=function(a){if(a&1){var b=x();I(0,"button",4);M("click",function(){z(b);var c=P(2);return A(c.flagAsSpamClicked.emit())});Q(1,"Flag issues as spam ");J()}},Jib=function(a){a&1&&(I(0,"button",1)(1,"span"),
Q(2,"More"),J(),K(3,"b-icon",2),J(),I(4,"mat-menu",null,0),D(6,Hib,2,0,"button",3)(7,Iib,2,0,"button",3),J());if(a&2){a=L(5);var b=P();F("disabled",b.isAnonymous)("matMenuTriggerFor",a);C(6);G(b.showExportCsv?6:-1);C();G(b.showFlagIssuesAsSpam?7:-1)}},Kib=function(a){a&1&&Q(0," Network connection has been interrupted. ")},Lib=function(a){a&1&&Q(0," Network connection has been interrupted or login credentials may have expired. ")},Mib=function(a){if(a&1){var b=x();I(0,"button",2);M("click",function(c){z(b);
P(2);c.stopPropagation();c.preventDefault();var d={width:690,height:500,top:window.screenTop+(window.outerHeight-500)/2,left:window.screenLeft+(window.outerWidth-690)/2};c=window;var e=Oc(typeof"/refreshSso".href!="undefined"?"/refreshSso".href:"/refreshSso");var f=self.crossOriginIsolated!==void 0,h="strict-origin-when-cross-origin";window.Request&&(h=(new Request("/")).referrerPolicy);var l=h==="unsafe-url";h=d.noreferrer;if(f&&h){if(l)throw Error("Uf");h=!1}f=d.target||"/refreshSso".target;l=[];
for(var q in d)switch(q){case "width":case "height":case "top":case "left":l.push(q+"="+d[q]);break;case "target":case "noopener":case "noreferrer":break;case "attributionsrc":l.push(q+(d[q]?"="+d[q]:""));break;default:l.push(q+"="+(d[q]?1:0))}q=l.join(",");Ka()&&c.navigator&&c.navigator.standalone&&f&&f!="_self"?(q=or(document,"A"),Nea(q,e),q.target=f,h&&(q.rel="noreferrer"),((d=d.attributionsrc)||d==="")&&q.setAttribute("attributionsrc",d),d=document.createEvent("MouseEvent"),d.initMouseEvent("click",
!0,!0,c,1),q.dispatchEvent(d)):h?(c=Vc(c,"",f,q),d=Mc(e),c&&(c.opener=null,d===""&&(d="javascript:''"),d=Rc('<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+Hr(d)+'">'),(c=c.document)&&c.write&&(c.write(Tc(d)),c.close()))):((c=Vc(c,e,f,q))&&d.noopener&&(c.opener=null),c&&d.noreferrer&&(c.opener=null));return A()});Q(1," Log in again ");J()}},Nib=function(a){a&1&&(I(0,"b-callout",0)(1,"b-callout-body"),D(2,Kib,1,0)(3,Lib,1,0),J(),I(4,"b-callout-actions"),D(5,
Mib,2,0,"button",1),J()());a&2&&(a=P(),F("messageType","error"),C(2),G(a.isAnonymous?2:3),C(3),G(a.isAnonymous?-1:5))},Oib=function(a){a&1&&(I(0,"a",0),Q(1," Hiring! "),J())},Pib=function(a,b){a&1&&(I(0,"tr")(1,"td",4),Q(2),J(),I(3,"td"),Q(4,":"),J(),I(5,"td",5),Q(6),J()());a&2&&(a=b.$implicit,C(2),Tg(a.displayAs),C(4),Tg(a.description))},Qib=function(a,b){a&1&&(I(0,"thead")(1,"tr"),K(2,"th",2),I(3,"th",3),Q(4),J()(),tg(5,Pib,7,2,"tr",null,sg),J());a&2&&(a=b.$implicit,C(4),Tg(a.title),C(),ug(a.hotkeys))},
Rib=function(a){a=a===void 0?!1:a;var b=DDa(),c=b.total,d=b.redundancyRatio;vo("after-60s","xhr","redundant",b.redundant);vo("after-60s","xhr","total",c);vo("after-60s","xhr","redundancyRatio",d);a&&(console.table(CDa()),console.log(b))},Sib=function(){IGa().then(function(a){function b(e,f){var h=a.config.get(f)||{};h[e]=d;a.config.update(f,h)}function c(e){b(e,"client/rewrite");b(e,"client/firstPartyRewrite")}var d=Jk().appBaseHref+"proxy/";c("https://people-pa.clients6.google.com");c("https://people-pa.googleapis.com")})},
gu=function(a){a==="duplicateOfIssueId"&&(a="canonicalIssueId");var b=Number(a);isNaN(b)?a=new fu({type:String(a).replace(/([A-Z])/g,"_$1").toUpperCase()}):b===0?a=null:(a={customFieldId:b},a=new fu({type:"CUSTOM_FIELD",customFieldId:a.customFieldId,customFieldName:a.name}));return a},Tib=function(a){a=hu(a);if(iu(a))return null;var b=a.split(":");if(b.length!==2||iu(b[1]))return null;a=b[1].toLowerCase()==="asc"?"ASCENDING":"DESCENDING";return(b=gu(b[0]))&&a?new ju(b,a):null},Wib=function(a,b){var c=
new Uib;Vib(c,a,b);return c},Vib=function(a,b,c){var d=La(b.snapshot),e=b.aggregatedData,f=b.userActivityStats;var h=b&&b.accessLimit?b.accessLimit.accessLevel:void 0;a.accessLevel=h;a.id=b.issueId;a.issueId=b.issueId;a.trackerId=b.trackerId;d.componentId&&(a.componentId=d.componentId);c&&c.componentPathInfo&&c.componentPathInfo.componentPathName?a.componentPath=c.componentPathInfo:a.componentPath=[String(d.componentId)];d.type&&(a.type=d.type);if(d.status){a.status=d.status;var l;a.isClosed=!((l=
$k[d.status])==null?0:l.open)||b.isArchived}a.priority=d.priority.substr(1);a.severity=d.severity.substr(1);a.reporter=Ri(d.reporterUser);a.assignee=Ri(d.assigneeUser);a.assigneeEmail=Ui(d.assigneeUser);a.verifier=Ri(d.verifierUser);a.verifierEmail=Ui(d.verifierUser);a.cc=Si(d.ccUsers);a.collaborator=Si(d.collaboratorsUsers);a.changelist=d.changelist;a.postmortem=d.postmortems;a.hotlistId=d.hotlistId;a.blockingIssueId=d.blockingIssueId;a.blockedByIssueId=d.blockedByIssueId;a.teamId=e&&e.teamId?e.teamId:
0;a.createdTime=e?Math.round(e.createdTimeMicros/1E3):0;a.modifiedTime=e?Math.round(e.modifiedTimeMicros/1E3):0;a.resolvedTime=e&&e.resolvedTimeMicros?Math.round(e.resolvedTimeMicros/1E3):null;a.verifiedTime=e&&e.verifiedTimeMicros?Math.round(e.verifiedTimeMicros/1E3):null;a.majorModifiedTime=b.majorModifiedTimeMicros?Math.round(b.majorModifiedTimeMicros/1E3):0;a.archived=b.isArchived;a.lastViewedTime=b.userData&&b.userData.lastViewedTimeMicros?Math.round(b.userData.lastViewedTimeMicros/1E3):null;
a.title=d.title;a.foundInVersion=d.foundInVersion;a.targetedToVersion=d.targetedToVersion;a.verifiedInVersion=d.verifiedInVersion;d.inProd&&(a.inProd=d.inProd);a.duplicateOfIssueId=d.duplicateOfIssueId;a.starred=b.userData&&b.userData.starred?b.userData.starred:!1;a.voteCount=e?e.voteCount:0;a.duplicateCount=d.duplicateIssueId?d.duplicateIssueId.length:0;a.ccCount=d.ccUsers?d.ccUsers.length:0;a.collaboratorCount=d.collaboratorsUsers?d.collaboratorsUsers.length:0;var q;a.lastModifier=Ri((q=b.aggregatedData)==
null?void 0:q.lastModifier);a.customFieldMap={};a.customFieldNameToIdMap={};a.customFieldValueMap={};if(c&&c.componentPathInfo&&c.componentPathInfo.allCustomField)for(c=k(c.componentPathInfo.allCustomField),h=c.next();!h.done;h=c.next())h=h.value,a.customFieldMap[String(h.customFieldId)]=h,a.customFieldNameToIdMap[h.name.toLowerCase()]=h.customFieldId;if(d.customField)for(c=k(d.customField),h=c.next();!h.done;h=c.next())h=h.value,a.customFieldValueMap[String(h.customFieldId)]=h;a.retentionState=e?
e.retentionState:void 0;a.sloId=e?""+e.sloId:"";a.sloStatus=e?e.sloStatus||null:null;a.sloStartTime=d.sloStartTime;a.sloEndTime=d.sloEndTime;a.isRead=!!a.lastViewedTime&&a.lastViewedTime>=a.majorModifiedTime;d.effort&&(a.effort=d.effort);a.issueAccessLevel=d.issueAccessLimitLevel;a.descendantCount=b.descendantCount;a.openDescendantCount=b.openDescendantCount;a.oneDayViewCount=f?f.oneDayViewCount:0;a.sevenDayViewCount=f?f.sevenDayViewCount:0;a.thirtyDayViewCount=f?f.thirtyDayViewCount:0},ku=function(a,
b){b=b===void 0?Jk():b;var c,d=(c=b.tracker)==null?void 0:c.name;b=b.config.appName;d=d||b;return a?a+" - "+d:d},Xib=function(a){a&1&&K(0,"bug-screensaver")},Yib=function(a){a&1&&(K(0,"img",3),I(1,"span",4),Q(2),J(),Q(3," Powered by Google "),I(4,"span",1),Q(5,"|"),J());a&2&&(a=P(2),F("src",a.trackerLogo,of),C(2),R("",a.trackerName," Issue Tracker"))},Zib=function(a){a&1&&(I(0,"div")(1,"span",1),Q(2,"|"),J(),I(3,"a",5),Q(4,"Code of Conduct"),J()());a&2&&(a=P(2),C(3),F("href",a.trackerCoc,of))},$ib=
function(a){a&1&&(I(0,"footer"),D(1,Yib,6,2),I(2,"a",0),Q(3,"Privacy"),J(),I(4,"span",1),Q(5,"|"),J(),I(6,"a",2),Q(7,"Terms"),J(),D(8,Zib,5,1,"div"),J());a&2&&(a=P(),C(),G(a.currentTracker?1:-1),C(7),G(a.trackerCoc?8:-1))},ajb=function(a,b){if(a&1){var c=x();I(0,"b-fab-segmented",1);M("clickMain",function(e){z(c);var f=P(2);return A(f.trackClick(e))})("clickSegment",function(e){z(c);var f=P(2);return A(f.trackClick(e))});J()}if(a&2){a=P();var d=P();F("label",b)("icon",d.buttonIcon)("href",d.createIssuePath)("segments",
a)}},bjb=function(a){a&1&&(D(0,ajb,1,4,"b-fab-segmented",0),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.buttonLabel$))?0:-1,b)}},cjb=function(a){a&1&&xg(0)},djb=function(a){a&1&&xg(0)},ejb=function(a){a&1&&D(0,djb,1,0,"ng-container",1);a&2&&(a=P(),F("ngTemplateOutlet",a.content))},fjb=function(a){a&1&&(I(0,"ul",5)(1,"li")(2,"a",6),K(3,"mat-icon",7),Q(4," Triage "),J()()());a&2&&(a=P(2),C(),ng("selected",a.location.path().startsWith(tq.triageSettings.makeHref())),C(),F("href",a.ROUTES.triageSettings.makeHref(),
of))},gjb=function(a){if(a&1){var b=x();I(0,"button",12);M("click",function(){z(b);var c=P(4);return A(c.goToTriageSettingsPage())});Q(1," Configure triage ");J()}},hjb=function(a){if(a&1){var b=x();Q(0," Triage ");I(1,"button",9);M("click",function(c){z(b);return A(c.stopPropagation())});K(2,"mat-icon",10);J();I(3,"mat-menu",null,2);D(5,gjb,2,0,"ng-template",11);J()}a&2&&(a=L(4),C(),F("matMenuTriggerFor",a))},ijb=function(a){a&1&&(I(0,"div",16)(1,"span",17),Q(2),S(3,"async"),J()());a&2&&(a=P().$implicit,
C(2),Tg(U(3,1,a.name$)))},jjb=function(a,b){a&1&&(I(0,"span",23),Q(1),J());a&2&&(C(),R(" ",b," "))},kjb=function(a,b){if(a&1){var c=x();I(0,"a",22);M("click",function(f){var h=z(c),l=P(8);return A(l.onAnchorClick(h,f))});I(1,"span");Q(2);J();D(3,jjb,2,1,"span",23);S(4,"async");J()}if(a&2){var d;a=P().$implicit;var e=P();F("href",b,of);C(2);R(" ",e.phase(a).displayName," ");C();G((d=U(4,3,e.phase(a).attentionCount$))?3:-1,d)}},ljb=function(a,b){a&1&&(I(0,"li",20),D(1,kjb,5,5,"a",21),J());if(a&2){var c;
a=b.$implicit;b=P();var d=P(2).$implicit,e=P(4);ng("selected-indented",e.isTriageUrlFor(d.teamId,a));F("title",b.phase(a).displayName);C();G((c=e.ROUTES.viewTriage.makeHref(d.teamId,e.phaseToUrlSlug[a]))?1:-1,c)}},mjb=function(a){a&1&&(I(0,"ul",18),tg(1,ljb,2,4,"li",19,sg),J());a&2&&(a=P(6),C(),ug(a.ALL_PHASES))},njb=function(a){a&1&&D(0,mjb,3,0,"ul",18);if(a&2){var b;a=P().$implicit;var c=P(4);G((b=c.triageService.triageDataFactory.get(a.teamId))?0:-1,b)}},pjb=function(a,b){if(a&1){var c=x();I(0,
"li",14);S(1,"async");I(2,"sidebar-zippy",15);S(3,"async");M("onExpand",function(){var h=z(c).$implicit;P(4).bLocation.setUrl(tq.viewTriage.makeHref(h.teamId));return A()});D(4,ijb,4,3,"ng-template",null,3,fh)(6,njb,1,1,"ng-template",null,4,fh);J()()}if(a&2){var d;a=b.$implicit;b=L(5);var e=L(7),f=P(4);F("title",U(1,4,a.name$));C(2);F("header",b)("content",e)("expanded",(d=U(3,6,ojb(f,a.teamId)))!==null&&d!==void 0?d:!1)}},qjb=function(a){a&1&&(I(0,"ul",13),tg(1,pjb,8,8,"li",14,sg),J());a&2&&(a=P(2),
C(),ug(a))},rjb=function(a){a&1&&(K(0,"hr"),I(1,"sidebar-zippy",8),D(2,hjb,6,1,"ng-template",null,0,fh)(4,qjb,3,0,"ng-template",null,1,fh),J());if(a&2){a=L(3);var b=L(5);C();F("header",a)("content",b)}},sjb=function(a,b){a&1&&D(0,fjb,5,3,"ul",5)(1,rjb,6,2);a&2&&G(b.length===0?0:1)},tjb=function(a){a&1&&Q(0," Archived ")},ujb=function(a){if(a&1){var b=x();I(0,"button",15);M("click",function(c){z(b);return A(c.stopPropagation())});K(1,"mat-icon",16);J()}a&2&&(P(),a=L(5),F("matMenuTriggerFor",a))},vjb=
function(a){if(a&1){var b=x();I(0,"button",17);M("click",function(){z(b);var c=P(3).$implicit;return A(c.unstar())});Q(1," Unstar ");J()}},wjb=function(a){if(a&1){var b=x();I(0,"button",17);M("click",function(){z(b);var c=P(3).$implicit;return A(c.unarchive())});Q(1," Unarchive ");J()}},xjb=function(a){if(a&1){var b=x();I(0,"button",17);M("click",function(){z(b);var c=P(2).$implicit,d=P(3);return A(d.handleBookmarkGroupOpen(c.id))});Q(1," Open ");J();I(2,"button",17);M("click",function(){z(b);var c=
P(2).$implicit,d=P(3);return A(d.handleBookmarkGroupDashboard(c.id))});Q(3," Dashboard ");J();I(4,"button",17);M("click",function(){z(b);var c=P(2).$implicit,d=P(3);return A(d.openEditBookmarkGroup(c.id))});Q(5," Settings ");J();D(6,vjb,2,0,"button",18)(7,wjb,2,0,"button",18)}a&2&&(a=P(2).$implicit,C(6),G(a.isUnstarable()?6:-1),C(),G(a.isEditable()?7:-1))},yjb=function(a){a&1&&(I(0,"div",11)(1,"span",12),Q(2),J(),D(3,ujb,2,1,"button",13),I(4,"mat-menu",null,4),D(6,xjb,8,2,"ng-template",14),J()());
a&2&&(a=P().$implicit,gg("id","bv2-user-archived-bookmarkgroup-item-",a.id,""),C(2),Tg(a.name),C(),G(a?3:-1))},zjb=function(a,b){if(a&1){var c=x();I(0,"li",21)(1,"a",22);M("click",function(d){var e=z(c).$implicit,f=P(5);return A(f.onAnchorClick(e.href,d))});I(2,"span",12);Q(3);J()()()}a&2&&(a=b.$implicit,b=P(2).$implicit,ng("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item",a.type=="HOTLIST")("bv2-bookmark-group-saved-search-item",a.type=="SAVED_SEARCH"),Yka("id","bv2-user-hotlists-bg-",
b.id,"-",a.type,"-",a.id,""),F("title",a.name),C(),F("href",a.href,of),C(2),R(" ",a.name," "))},Ajb=function(a){a&1&&(I(0,"ul",19),tg(1,zjb,4,13,"li",20,sg),J());a&2&&(a=P().$implicit,C(),ug(a.items))},Bjb=function(a,b){a&1&&(I(0,"li",8)(1,"sidebar-zippy",10),D(2,yjb,7,4,"ng-template",null,2,fh)(4,Ajb,3,0,"ng-template",null,3,fh),J()());if(a&2){a=b.$implicit;b=L(3);var c=L(5);F("title",a.name);C();F("header",b)("content",c)}},Cjb=function(a){a&1&&(I(0,"button",25),K(1,"mat-icon",16),J());a&2&&(P(),
a=L(6),F("matMenuTriggerFor",a))},Djb=function(a){if(a&1){var b=x();I(0,"button",17);M("click",function(){z(b);var c=P(2).$implicit;return A(c.unstar())});Q(1," Unstar ");J()}},Ejb=function(a){if(a&1){var b=x();I(0,"button",17);M("click",function(){z(b);var c=P(2).$implicit;return A(c.unarchive())});Q(1," Unarchive ");J()}},Fjb=function(a){if(a&1){var b=x();I(0,"button",17);M("click",function(){z(b);var c=P().$implicit,d=P(3);return A(d.openEditHotlist(c.id))});Q(1," Settings ");J();D(2,Djb,2,0,"button",
18)(3,Ejb,2,0,"button",18)}a&2&&(a=P().$implicit,C(2),G(a.isUnstarable()?2:-1),C(),G(a.isEditable()?3:-1))},Gjb=function(a,b){if(a&1){var c=x();I(0,"li",23)(1,"a",24);M("click",function(d){var e=z(c).$implicit,f=P(3);return A(f.onAnchorClick(e.href,d))});I(2,"span",12);Q(3);J()();D(4,Cjb,2,1,"button",25);I(5,"mat-menu",null,5);D(7,Fjb,4,2,"ng-template",14);J()()}a&2&&(a=b.$implicit,ng("selected",a.isSelected()),Fg("id","bv2-user-hotlists-archived-hotlist-item-",a.id,""),F("title",a.name),C(),F("href",
a.href,of),C(2),Tg(a.name),C(),G(a?4:-1))},Hjb=function(a){a&1&&(I(0,"ul",7),tg(1,Bjb,6,3,"li",8,sg),tg(3,Gjb,8,8,"li",9,sg),J());a&2&&(a=P(2),C(),ug(a.bookmarkGroups),C(2),ug(a.hotlists))},Ijb=function(a){a&1&&(I(0,"div"),K(1,"hr"),I(2,"sidebar-zippy",6),D(3,tjb,1,0,"ng-template",null,0,fh)(5,Hjb,5,0,"ng-template",null,1,fh),J()());if(a&2){a=L(4);var b=L(6);C(2);F("header",a)("content",b)}},Jjb=function(a){a&1&&K(0,"b-spinner")},Kjb=function(a){if(a&1){var b=x();I(0,"b-star-toggle",13);M("starClicked",
function(){z(b);var c=P().$implicit,d=P();return A(d.toggleStar(c))});J()}a&2&&(a=P().$implicit,F("starMessage","Star this item")("unStarMessage","Un-star this item")("starred",a.isStarred))},Ljb=function(a){a&1&&K(0,"b-hotlist-card",10);a&2&&(a=P().$implicit,F("hotlist",a))},Mjb=function(a){a&1&&K(0,"b-bookmark-group-card",11);a&2&&(a=P().$implicit,F("bookmarkGroup",a))},Njb=function(a,b){a&1&&(I(0,"mat-option",6)(1,"div",8),D(2,Kjb,1,3,"b-star-toggle",9),I(3,"onedev-hovercard",null,2),D(5,Ljb,1,
1,"b-hotlist-card",10)(6,Mjb,1,1,"b-bookmark-group-card",11),J(),I(7,"span",12),Q(8),J()()());if(a&2){a=b.$implicit;b=L(4);var c=P();F("value",a);C();ng("bv2-bookmark-group",c.showHotlists&&a.isGroup);C();G(c.shouldShowStar(a)?2:-1);C(3);G(a.isGroup?6:5);C(2);F("onedevHovercardTrigger",b);C();Tg(a.name)}},Ojb=function(a){if(a&1){var b=x();I(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-hotlist-search",3);M("itemSelect",function(c){z(b);var d=P();d.itemSelect.emit(c);d.dialog.disabled=
!0;d.dialog.disabled=!1;return A()});J()()()}a&2&&(a=P(),C(2),F("showGroups",a.showGroups)("showHotlists",a.showHotlists)("allowStarring",a.allowStarring)("focusOnInit",!0))},Pjb=function(a){if(a&1){var b=x();I(0,"span");Q(1,"Bookmark groups");J();I(2,"b-hotlist-search-popup",8);M("itemSelect",function(c){z(b);var d=P();c.isGroup&&d.handleBookmarkGroupOpen(c.bookmarkGroupId);return A()})("click",function(c){z(b);return A(c.stopPropagation())});J()}a&2&&(C(2),F("showHotlists",!1))},Qjb=function(a){if(a&
1){var b=x();I(0,"button",16);M("click",function(c){z(b);return A(c.stopPropagation())});K(1,"mat-icon",17);J()}a&2&&(P(),a=L(5),F("matMenuTriggerFor",a))},Rjb=function(a){if(a&1){var b=x();I(0,"button",18);M("click",function(){z(b);var c=P(3).$implicit;return A(c.unstar())});Q(1," Unstar ");J()}},Sjb=function(a){if(a&1){var b=x();I(0,"button",18);M("click",function(){z(b);var c=P(3).$implicit;return A(c.archive())});Q(1," Archive ");J()}},Tjb=function(a){if(a&1){var b=x();I(0,"button",18);M("click",
function(){z(b);var c=P(3).$implicit;return A(c.setAsPreferredHomepage())});Q(1," Set as homepage ");J()}},Ujb=function(a){if(a&1){var b=x();I(0,"button",18);M("click",function(){z(b);var c=P(2).$implicit,d=P(3);return A(d.handleBookmarkGroupOpen(c.id))});Q(1," Open ");J();I(2,"button",18);M("click",function(){z(b);var c=P(2).$implicit,d=P(3);return A(d.handleBookmarkGroupDashboard(c.id))});Q(3," Dashboard ");J();I(4,"button",18);M("click",function(){z(b);var c=P(2).$implicit,d=P(3);return A(d.editBookmarkGroup(c.id))});
Q(5," Settings ");J();D(6,Rjb,2,0,"button",19)(7,Sjb,2,0,"button",19)(8,Tjb,2,0,"button",19)}a&2&&(a=P(2).$implicit,C(6),G(a.isUnstarable()?6:-1),C(),G(a.isEditable()?7:-1),C(),G(a.isPreferredHomepage()?-1:8))},Vjb=function(a){a&1&&(I(0,"div",12)(1,"span",13),Q(2),J(),D(3,Qjb,2,1,"button",14),I(4,"mat-menu",null,4),D(6,Ujb,9,3,"ng-template",15),J()());a&2&&(a=P().$implicit,gg("id","bv2-user-bookmarkgroup-item-",a.id,""),C(2),Tg(a.name),C(),G(a?3:-1))},Wjb=function(a){a&1&&(I(0,"button",24),K(1,"mat-icon",
17),J());a&2&&(P(),a=L(6),F("matMenuTriggerFor",a))},Xjb=function(a){if(a&1){var b=x();I(0,"button",18);M("click",function(){z(b);var c=P(2).$implicit;return A(c.unstar())});Q(1," Unstar ");J()}},Yjb=function(a){if(a&1){var b=x();I(0,"button",18);M("click",function(){z(b);var c=P(2).$implicit;return A(c.setAsPreferredHomepage())});Q(1," Set as homepage ");J()}},Zjb=function(a){if(a&1){var b=x();I(0,"button",18);M("click",function(){z(b);var c=P().$implicit,d=P(5);c.type==="HOTLIST"?d.location.setUrl(tq.editHotlist.makeHref(c.id)):
d.location.setUrl(d.paths.editSavedSearch(c.id));return A()});Q(1," Settings ");J();D(2,Xjb,2,0,"button",19)(3,Yjb,2,0,"button",19)}a&2&&(a=P().$implicit,C(2),G(a.isUnstarable()?2:-1),C(),G(a.isPreferredHomepage()?-1:3))},$jb=function(a,b){if(a&1){var c=x();I(0,"li",22)(1,"a",23);M("click",function(d){var e=z(c).$implicit,f=P(5);return A(f.onAnchorClick(e.href,d))});I(2,"span",13);Q(3);J()();D(4,Wjb,2,1,"button",24);I(5,"mat-menu",null,5);D(7,Zjb,4,2,"ng-template",15);J()()}a&2&&(a=b.$implicit,b=
P(2).$implicit,ng("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item",a.type=="HOTLIST")("bv2-bookmark-group-saved-search-item",a.type=="SAVED_SEARCH"),Yka("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),F("title",a.getDisplayName()),C(),F("href",a.href,of),C(2),R(" ",a.getDisplayName()," "),C(),G(b?4:-1))},akb=function(a){a&1&&(I(0,"ul",20),tg(1,$jb,8,14,"li",21,sg),J());a&2&&(a=P().$implicit,C(),ug(a.items))},bkb=function(a,b){a&1&&(I(0,"li",10)(1,"sidebar-zippy",11),
D(2,Vjb,7,4,"ng-template",null,2,fh)(4,akb,3,0,"ng-template",null,3,fh),J()());if(a&2){a=b.$implicit;b=L(3);var c=L(5);F("title",a.name);C();F("header",b)("content",c)("expanded",!1)}},ckb=function(a){a&1&&(I(0,"ul",9),tg(1,bkb,6,4,"li",10,sg),J());a&2&&(a=P(2),C(),ug(a.bookmarkGroups))},dkb=function(a){a&1&&D(0,ckb,3,0,"ul",9);a&2&&(a=P(),G(a.bookmarkGroups?0:-1))},ekb=function(a){if(a&1){var b=x();I(0,"span");Q(1,"Hotlists");J();I(2,"b-hotlist-search-popup",5);M("itemSelect",function(c){z(b);var d=
P();d.analytics.trackEvent("hotlistSearch","goToHotlist");d.location.setUrl(c.href);return A()})("click",function(c){z(b);return A(c.stopPropagation())});J()}a&2&&(C(2),F("showGroups",!1))},fkb=function(a){a&1&&(I(0,"button",11),K(1,"mat-icon",13),J());a&2&&(P(),a=L(6),F("matMenuTriggerFor",a))},gkb=function(a){if(a&1){var b=x();I(0,"button",15);M("click",function(){z(b);var c=P(2).$implicit,d=P(3);return A(d.addToMissionControl(c.id))});K(1,"mat-icon",17);Q(2," Add to 'Home' screen ");J()}},hkb=
function(a){if(a&1){var b=x();I(0,"button",15);M("click",function(){z(b);var c=P(2).$implicit;return A(c.setAsPreferredHomepage())});K(1,"mat-icon",18);Q(2," Set as preferred homepage ");J()}},ikb=function(a){if(a&1){var b=x();I(0,"button",15);M("click",function(){z(b);var c=P(2).$implicit;return A(c.unstar())});K(1,"mat-icon",19);Q(2," Unstar ");J()}},jkb=function(a){if(a&1){var b=x();D(0,gkb,3,0,"button",14)(1,hkb,3,0,"button",14);I(2,"button",15);M("click",function(){z(b);var d=P().$implicit,e=
P(3);return A(e.openEditHotlist(d.id))});K(3,"mat-icon",16);Q(4," Settings ");J();D(5,ikb,3,0,"button",14)}if(a&2){a=P().$implicit;var c=P(3);G(c.ENABLE_MISSION_CONTROL?0:-1);C();G(a.isPreferredHomepage()?-1:1);C(4);G(a.isUnstarable()?5:-1)}},kkb=function(a,b){if(a&1){var c=x();I(0,"li",8)(1,"a",9);M("click",function(d){var e=z(c).$implicit,f=P(3);return A(f.onAnchorClick(e.href,d))});I(2,"span",10);Q(3);J()();D(4,fkb,2,1,"button",11);I(5,"mat-menu",null,2);D(7,jkb,6,3,"ng-template",12);J()()}a&2&&
(a=b.$implicit,ng("selected",a.isSelected()),Fg("id","bv2-user-hotlists-hotlist-item-",a.id,""),F("title",a.name),C(),F("href",a.href,of),C(2),Tg(a.name),C(),G(a?4:-1))},lkb=function(a){a&1&&(I(0,"ul",6),tg(1,kkb,8,8,"li",7,sg),J());a&2&&(a=P(2),C(),ug(a.hotlists))},mkb=function(a){a&1&&D(0,lkb,3,0,"ul",6);a&2&&(a=P(),G(a.hotlists?0:-1))},nkb=function(a){a&1&&(I(0,"span"),Q(1,"Saved searches"),J())},okb=function(a){if(a&1){var b=x();I(0,"button",14);M("click",function(){z(b);var c=P(2).$implicit,
d=P(3);return A(d.addToMissionControl(c.id))});K(1,"mat-icon",17);Q(2," Add to 'Home' screen ");J()}},pkb=function(a){if(a&1){var b=x();I(0,"button",14);M("click",function(){z(b);var c=P(2).$implicit;return A(c.setAsPreferredHomepage())});K(1,"mat-icon",18);Q(2," Set as preferred homepage ");J()}},rkb=function(a){if(a&1){var b=x();D(0,okb,3,0,"button",13)(1,pkb,3,0,"button",13);I(2,"button",14);M("click",function(){z(b);var d=P().$implicit,e=P(3);return A(e.openEditSavedSearch(d.id))});K(3,"mat-icon",
15);Q(4," Settings ");J();I(5,"button",14);M("click",function(){z(b);var d=P().$implicit,e=P(3);return A(qkb(e,d))});K(6,"mat-icon",16);Q(7," Delete ");J()}if(a&2){a=P().$implicit;var c=P(3);G(c.ENABLE_MISSION_CONTROL?0:-1);C();G(a.isPreferredHomepage()?-1:1)}},skb=function(a,b){if(a&1){var c=x();I(0,"li",7)(1,"a",8);M("click",function(d){var e=z(c).$implicit,f=P(3);return A(f.onAnchorClick(e.href,d))});I(2,"span",9);Q(3);J()();I(4,"button",10);K(5,"mat-icon",11);J();I(6,"mat-menu",null,2);D(8,rkb,
8,2,"ng-template",12);J()()}a&2&&(a=b.$implicit,b=L(7),ng("selected",a.isSelected()),gg("id","bv2-saved-searches-search-item-",a.id,""),F("title",a.name),C(),F("href",a.href,of),C(2),Tg(a.name),C(),F("matMenuTriggerFor",b))},tkb=function(a){a&1&&(I(0,"ul",5),tg(1,skb,9,8,"li",6,sg),J());a&2&&(a=P(2),C(),ug(a.searches))},ukb=function(a){a&1&&D(0,tkb,3,0,"ul",5);a&2&&(a=P(),G(a.searches?0:-1))},vkb=function(a,b){a&1&&K(0,"mat-icon",23);a&2&&F("matBadge",b>99?"99+":b)("matBadgeHidden",b===0)("matBadgeDescription",
"Badge indicating "+b+" tasks need attention")},wkb=function(a){a&1&&K(0,"mat-icon",24)},xkb=function(a){a&1&&(I(0,"button",25),K(1,"mat-icon",26),J());a&2&&(P(),a=L(10),F("matMenuTriggerFor",a))},zkb=function(a){if(a&1){var b=x();I(0,"button",27);M("click",function(){z(b);var c=P(2);ykb(c,"MISSION_CONTROL");return A()});Q(1," Set as homepage ");J()}},Akb=function(a){if(a&1){var b=x();I(0,"li",22)(1,"a",8);M("click",function(d){z(b);var e=P();e.onAnchorClick(e.missionControlPath,d);return A()});D(2,
vkb,1,3,"mat-icon",23);S(3,"async");S(4,"async");D(5,wkb,1,0,"mat-icon",24);Q(6," Home ");J();D(7,xkb,2,1,"button",25);S(8,"async");I(9,"mat-menu",null,1);D(11,zkb,2,0,"ng-template",11);J()()}if(a&2){var c;a=P();ng("selected",!!a.location.path().match(/^\/home\b/));C();F("href",a.missionControlPath,of);C();G((c=!U(3,5,a.hideBadgeInNav$)&&U(4,7,a.missionControlTaskCount$))?2:5,c);C(5);G(U(8,9,a.isHomepageMissionControl$)?-1:7)}},Bkb=function(a){a&1&&(I(0,"button",10),K(1,"mat-icon",26),J());a&2&&(P(),
a=L(13),F("matMenuTriggerFor",a))},Ckb=function(a){if(a&1){var b=x();I(0,"button",27);M("click",function(){z(b);var c=P();ykb(c,"ASSIGNED_TO_ME");return A()});Q(1," Set as homepage ");J()}},Dkb=function(a){a&1&&K(0,"nav-sidebar-triage")},Ekb=function(a,b){b=b===void 0?156:b;var c=document.createElement("i");c.id=a;c.title=a;c.style.width="10px";c.style.height="10px";c.style.borderRadius="10px";c.style.backgroundColor="#ccc";c.style.zIndex="999";c.style.position="absolute";c.style.top="34px";c.style.left=
b+"px";c.style.opacity="0";document.body.appendChild(c);return c},Fkb=function(a,b,c){a.style.animation="";a.style.backgroundColor=b;setTimeout(function(){a.style.animation="blink-then-fade "+c+"ms ease-in 1"},0)},Hkb=function(a,b,c){b=b===void 0?"#ccc":b;c=c===void 0?400:c;Gkb++;var d=156;d+=(Gkb-1)*12;return function(e){e=e===void 0?b:e;var f,h=(f=document.getElementById(a))!=null?f:Ekb(a,d);Fkb(h,e,c)}},Tkb=function(a,b){b=b===void 0?[]:b;var c=c===void 0?{}:c;if(a==null)return"(undefined)";var d=
a.snapshot[0],e,f=(e=b[0])!=null?e:a.description;b=b.slice(1);b.sort(function(h,l){return l.modifiedDate-h.modifiedDate});return["## "+d.title,"ID: http://b/"+a.issueId,"Priority: "+d.priority,"Status: "+d.status,"Modified: "+fq(a.majorModifiedTimeMicros/1E3/1E3),Ikb(a),Jkb(a),Kkb(a,c),Lkb(a),Mkb(a),Nkb(a),Okb(a),Pkb(a),Qkb(f),Rkb(a),Skb(b)].filter(Boolean).join("\n").trim()+"\n\n---\n\n"},Kkb=function(a,b){a=a.snapshot[0].hotlistId;if(a!=null&&a.length!==0)return"Hotlists: "+a.map(function(c){var d;
return(d=b[c])!=null?d:"["+c+"]"}).join(", ")},Skb=function(a){if(a.length!==0){var b=a.map(Ukb).filter(Boolean).join("\n\n");return"\n### Comments ("+a.length+")\n"+b}},Vkb=function(a,b){b=b===void 0?300:b;if(a!=null)return a=a.replaceAll(/\n/g," "),a=jGa(a,b)},Ukb=function(a){if(a!=null){var b=Vkb(a.unlinkifiedComment);if(b!=null){var c,d=(c=a.lastCommentEditorUser)==null?void 0:c.emailAddress;a=fq(a.modifiedDate/1E3);return d+": "+b+" ("+a+")"}}},Qkb=function(a){if(a!=null&&(a=Vkb(a.unlinkifiedComment,
600),a!=null))return"\n### Description\n"+a},Nkb=function(a){a=a.descendantCount;if(!(a<=0))return"Descendant count: "+a},Lkb=function(a){var b;a=((b=k(a.snapshot).next().value.blockingIssueId)!=null?b:[]).length;if(!(a<=0))return"Blocking "+a+" issue(s)"},Mkb=function(a){var b;a=((b=k(a.snapshot).next().value.blockedByIssueId)!=null?b:[]).length;if(!(a<=0))return"Blocked by "+a+" issue(s)"},Ikb=function(a){var b;return(a=((b=k(a.snapshot).next().value.assigneeUser)!=null?b:{}).emailAddress)?"Assignee: "+
a:void 0},Jkb=function(a){var b;return(a=((b=k(a.snapshot).next().value.reporterUser)!=null?b:{}).emailAddress)?"Reporter: "+a:void 0},Okb=function(a){var b,c;a=(c=(b=a.aggregatedData)==null?void 0:b.voteCount)!=null?c:0;if(!(a<=0))return"Upvotes: "+a},Rkb=function(a){var b=a.statusUpdate;if(b!=null){a=b.updateText;var c,d=(c=b.author)==null?void 0:c.emailAddress,e;c=(e=b.updateTime)!=null?e:{};e=fq((c.seconds===void 0?0:c.seconds)+(c.nanos===void 0?0:c.nanos)/1E3/1E3/1E3);return"\n### Status Update\n"+
d+": "+a+" ("+e+")"}},Pkb=function(a){var b,c;a=(c=(b=a.userActivityStats)==null?void 0:b.thirtyDayViewCount)!=null?c:0;if(!(a<=10))return"30 day views: "+a},Wkb=function(a,b){b=b===void 0?0:b;var c=new Date;c.setDate(c.getDate()+b);document.cookie="tracker_override="+a+(b?"; expires="+c.toUTCString():"")},Xkb=function(a){a&1&&(I(0,"div",0),K(1,"router-outlet"),J())},Zkb=function(a){if(a&1){var b=x();I(0,"a",8);M("keydown.enter",function(){z(b);var c=P(3);return A(Ykb(c))})("keydown.space",function(){z(b);
var c=P(3);return A(Ykb(c))})("click",function(){z(b);var c=P(3);return A(Ykb(c))});Q(1," Dismiss");J()}},$kb=function(a){a&1&&(I(0,"div",1)(1,"div",5),K(2,"span",6),D(3,Zkb,2,0,"a",7),J()());a&2&&(a=P(2),C(2),F("innerHtml",a.announcement.message,nf),C(),G(a.announcement.dismissible?3:-1))},blb=function(a){if(a&1){var b=x();I(0,"b-resizable-sidebar",9);M("widthChanged",function(c){z(b);var d=P(2);c!==d.matSidebarWidth&&(d.matSidebarWidth=c,alb(d,c));return A()});K(1,"b-sidebar");J()}a&2&&(a=P(2),
F("size",a.matSidebarWidth)("disableToggleBtn",!0))},clb=function(a){a&1&&(K(0,"b-hiring-banner")(1,"b-terms-of-service"),D(2,$kb,4,2,"div",1),K(3,"b-sso-expired-callout-outlet"),I(4,"div",2),D(5,blb,2,2,"b-resizable-sidebar",3),I(6,"div",4),K(7,"router-outlet"),J()(),K(8,"b-footer")(9,"bug-screensaver-manager"));if(a&2){a=P();C(2);var b;var c=a.announcement;c=c===void 0?a.announcement:c;if((b=c)!=null&&b.message){var d;b=((d=c.tags)==null?void 0:d.length)>0||!lu(a.activeSession,"canSeeAnnouncementBanner")?
!1:c.dismissible?a.dismissedMessageId==null?!1:c.messageId!==a.dismissedMessageId:!0}else b=!1;G(b?2:-1);C(3);G(a.isAnonymous?-1:5)}},dlb=function(a){switch(a){case "COMFORTABLE":return"d-comfort";case "COZY":return"d-cozy";case "COMPACT":return"d-compact";default:return"d-comfort"}},elb=function(a){a&1&&K(0,"b-formatted-date-time",2);a&2&&(a=P(),F("date",a.value))},flb=function(a){a&1&&(vg(0),Q(1,"---"),wg())},glb=function(a,b){if(a&1){var c=x();I(0,"div",4)(1,"mat-checkbox",8);M("change",function(){var d=
z(c).$implicit,e=P();return A(e.changeSelection(d))})("click",function(d){z(c);return A(d.stopPropagation())});Q(2);J()()}a&2&&(a=b.$implicit,b=P(),F("title",b.getDisplayString(a)),C(),F("checked",!!b.valueMap.get(a))("indeterminate",b.valueMap.get(a)===null),C(),R(" ",b.getDisplayString(a)," "))},ilb=function(a){if(a&1){var b=x();I(0,"input",9,1);M("keydown",function(c){z(b);var d=P();c.key==="Enter"&&(hlb(d)&&d.addValue(),c.preventDefault());return A()})("click",function(c){z(b);return A(c.stopPropagation())});
Xg("ngModelChange",function(c){z(b);var d=P();Wg(d.filterValue,c)||(d.filterValue=c);return A(c)});J()}a&2&&(a=P(),F("type",a.type==="REPEATED_NUMERIC"?"number":"text"),Vg("ngModel",a.filterValue),F("placeholder",a.type==="REPEATED_ENUM"?"Filter values":"Add or filter values"))},jlb=function(a){a&1&&K(0,"mat-divider")},klb=function(a){if(a&1){var b=x();I(0,"div",10);M("click",function(c){z(b);var d=P();c.stopPropagation();return A(d.addValue())});Q(1," Add ");J()}},llb=function(a){if(a&1){var b=x();
I(0,"div")(1,"b-date-time-input",11);Xg("valueChange",function(c){z(b);var d=P();Wg(d.currentSelectedDate,c)||(d.currentSelectedDate=c);return A(c)});J();I(2,"div",12);M("click",function(c){z(b);var d=P();c.stopPropagation();if(c=d.currentSelectedDate)d.filterValue=c?c.getMonth()+1+"/"+c.getDate()+"/"+c.getFullYear():"",d.addValue(),d.currentSelectedDate=void 0;return A()});Q(3," Add ");J()()}a&2&&(a=P(),C(),Vg("value",a.currentSelectedDate))},mlb=function(a){if(a&1){var b=x();I(0,"div",6);Wd();I(1,
"svg",7);K(2,"path",8);J();Pd.currentNamespace=null;I(3,"input",9,0);M("input",function(){z(b);var c=L(4),d=P();return A(d.filterText$.next(c.value))});J()()}},nlb=function(a){a&1&&xg(0)},plb=function(a){if(a&1){var b=x();I(0,"div",12);M("click",function(){z(b);var d=P(2);return A(d.select(d.emptyOptionValue))});D(1,nlb,1,0,"ng-container",13);J()}if(a&2){P();a=L(4);var c=P();F("option",c.emptyOptionValue);eg("aria-selected",c.isSelected(c.emptyOptionValue));C();F("ngTemplateOutlet",a)("ngTemplateOutletContext",
bh(4,olb,c.emptyOptionValue))}},qlb=function(a){a&1&&xg(0)},rlb=function(a){if(a&1){var b=x();I(0,"div",12);M("click",function(){z(b);var e=P().$implicit,f=P(2);return A(f.select(e))});D(1,qlb,1,0,"ng-container",13);J()}if(a&2){a=P().$implicit;P();var c=L(4),d=P();F("option",a);eg("aria-selected",d.isSelected(a));C();F("ngTemplateOutlet",c)("ngTemplateOutletContext",bh(4,olb,a))}},slb=function(a,b){a&1&&(vg(0),D(1,rlb,2,6,"div",10),wg());a&2&&(a=b.$implicit,C(),F("ngIf",a))},tlb=function(a){a&1&&
(vg(0),Q(1),wg());a&2&&(a=P(2).$implicit,C(),R(" ",a," "))},ulb=function(a){a&1&&(I(0,"span",15),Q(1,"--"),J())},vlb=function(a){a&1&&(vg(0),D(1,tlb,2,1,"ng-container",14)(2,ulb,2,0,"ng-template",null,3,fh),wg());if(a&2){a=L(3);var b=P().$implicit;C();F("ngIf",b!=null)("ngIfElse",a)}},wlb=function(a){a&1&&xg(0)},xlb=function(a){a&1&&D(0,wlb,1,0,"ng-container",13);if(a&2){a=P().$implicit;var b=P(2);F("ngTemplateOutlet",b.optionTemplate)("ngTemplateOutletContext",bh(2,olb,a))}},ylb=function(a){a&1&&
D(0,vlb,4,2,"ng-container",14)(1,xlb,1,4,"ng-template",null,2,fh);if(a&2){a=L(2);var b=P(2);F("ngIf",!b.optionTemplate)("ngIfElse",a)}},zlb=function(a,b){a&1&&(vg(0),D(1,plb,2,6,"div",10)(2,slb,2,1,"ng-container",11)(3,ylb,3,2,"ng-template",null,1,fh),wg());a&2&&(a=b.ngIf,b=P(),C(),F("ngIf",b.includeEmptyOption),C(),F("ngForOf",a))},Alb=function(a){a&1&&xg(0)},Clb=function(a){a&1&&(vg(0),D(1,Alb,1,0,"ng-container",11),wg());a&2&&(a=P(),C(),F("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",
bh(2,Blb,a.value)))},Dlb=function(a){a&1&&xg(0)},Elb=function(a){a&1&&(vg(0),D(1,Dlb,1,0,"ng-container",11),wg());a&2&&(a=P(2),C(),F("ngTemplateOutlet",a.optionTemplate)("ngTemplateOutletContext",bh(2,Blb,a.value)))},Flb=function(a){a&1&&D(0,Elb,2,4,"ng-container",7);if(a&2){a=P();var b=L(8);F("ngIf",a.optionTemplate)("ngIfElse",b)}},Glb=function(a){a&1&&(vg(0),Q(1),wg());a&2&&(a=P(2),C(),R(" ",a.value," "))},Hlb=function(a){a&1&&(I(0,"span",12),Q(1,"--"),J())},Ilb=function(a){a&1&&D(0,Glb,2,1,"ng-container",
7)(1,Hlb,2,0,"ng-template",null,4,fh);if(a&2){a=L(2);var b=P();F("ngIf",b.value!=null)("ngIfElse",a)}},Jlb=function(a){a&1&&(Wd(),I(0,"svg",13),K(1,"path",14),J())},Klb=function(a){a&1&&(I(0,"div"),Q(1," The selected issues have no custom fields in common. "),J())},Llb=function(a){a&1&&(I(0,"span"),Q(1,"*"),J())},Mlb=function(a){if(a&1){var b=x();I(0,"input",10);Xg("ngModelChange",function(c){z(b);var d=P(2).$implicit;Wg(d.textValue,c)||(d.textValue=c);return A(c)});J()}a&2&&(a=P(2).$implicit,P(),
Vg("ngModel",a.textValue),eg("aria-labelledby",mu(a)))},Nlb=function(a){if(a&1){var b=x();I(0,"input",11);Xg("ngModelChange",function(c){z(b);var d=P(2).$implicit;Wg(d.numericValue,c)||(d.numericValue=c);return A(c)});J()}a&2&&(a=P(2).$implicit,P(),Vg("ngModel",a.numericValue),eg("aria-labelledby",mu(a)))},Plb=function(a){if(a&1){var b=x();I(0,"div")(1,"b-date-time-input",12);M("valueChange",function(e){z(b);var f=P(2).$implicit;P();return A(f.dateValue=e?An(e):void 0)});J()()}if(a&2){var c;a=P(2).$implicit;
var d=P();C();F("value",(c=Olb(a.dateValue))!==null&&c!==void 0?c:void 0)("required",d.isCustomFieldRequired(a))("customAriaLabelledBy",mu(a))("customFormId","bv2-custom-field-"+a.customFieldId)}},Rlb=function(a){if(a&1){var b=x();I(0,"onedev-single-select",13);Xg("valueChange",function(d){z(b);var e=P(2).$implicit;Wg(e.enumValue,d)||(e.enumValue=d);return A(d)});J()}if(a&2){var c;a=P(2).$implicit;P();Vg("value",a.enumValue);F("options",(c=a.allowedValue)!==null&&c!==void 0?c:ah(3,Qlb));eg("aria-labelledby",
mu(a))}},Tlb=function(a){if(a&1){var b=x();I(0,"b-bulk-repeated-field-picker",14);M("onSave",function(e){z(b);var f=P(2).$implicit,h=P();return A(Slb(h,f.customFieldId,e))});J()}if(a&2){var c;a=P(2).$implicit;var d=P();F("type",d.getCustomFieldType(a))("originalValueMap",d.repeatedCustomFieldsMap.get(a.customFieldId))("enumChoices",(c=a.allowedValue)!==null&&c!==void 0?c:ah(3,Qlb))}},Ulb=function(a){a&1&&D(0,Mlb,1,2,"input",6)(1,Nlb,1,2,"input",7)(2,Plb,2,4,"div")(3,Rlb,1,4,"onedev-single-select",
8)(4,Tlb,1,4,"b-bulk-repeated-field-picker",9);if(a&2){var b;a=P().$implicit;var c=P();G((b=c.getCustomFieldType(a))==="TEXT"?0:b==="NUMERIC"?1:b==="DATE"?2:b==="ENUM"?3:4)}},Vlb=function(a){if(a&1){var b=x();I(0,"span");Q(1," Multiple values ");J();I(2,"a",15);M("click",function(){z(b);var c=P().$implicit,d=P();return A(d.clearCustomFieldValue(c))});Q(3,"X");J()}},Wlb=function(a,b){a&1&&(I(0,"div",1)(1,"div",4)(2,"label",5),Q(3),D(4,Llb,2,0,"span"),J()(),D(5,Ulb,5,1)(6,Vlb,4,0),J());a&2&&(a=b.$implicit,
P(),C(2),F("matTooltip",(a.description||"")+" [ID: "+a.customFieldId+"]"),eg("id",mu(a)),C(),R(" ",a.name," "),C(),G(a.required?4:-1),C(),G(a.hasMultipleValues?6:5))},Xlb=function(a){return new Set(a.map(function(b){return Ci(b)}))},ou=function(a,b,c){return a.has(b)?c:""},Ylb=function(a,b,c){return a.has(b)?c:[]},pu=function(a,b,c){return{fieldName:a,diffType:"SINGLE_VALUE",diff:{oldValue:b,newValue:c}}},amb=function(a){if(!a)return"";var b=Zlb.get(a.retentionSelection),c=a.retentionPeriodDays,d=
"Issue Retention: "+b;b=d;c&&(b=d+(", Days: "+c));d=$lb.get(a.piiRetentionSelection);c=a.piiRetentionPeriodDays;a=a.spiiRetentionPeriodDays;d=", Restricted Retention: "+d;c&&(d+=", Restricted Days: "+c);a&&(d+=", Restricted+ Days: "+a);return b+d},cmb=function(a){if(!a)return"";var b=a.inherit,c=bmb.get(a.source),d=a.comment;a="Inherit: "+b+", Source: "+c+", ID: "+a.id;return d?a+(", Justification: "+d):a},dmb=function(a){return a?"Inherit: "+a.inherit+", ID: "+a.id:""},emb=function(a,b){a&1&&(I(0,
"mat-option",17),Q(1),J());a&2&&(a=b.$implicit,F("value",a),C(),R(" ",a," "))},fmb=function(a){if(a&1){var b=x();I(0,"mat-form-field",14)(1,"mat-select",16,0);M("selectionChange",function(c){z(b);var d=P(2);return A(d._changePageSize(c.value))});tg(3,emb,2,2,"mat-option",17,sg);J();I(5,"div",18);M("click",function(){z(b);var c=L(2);return A(c.open())});J()()}a&2&&(a=P(2),F("appearance",a._formFieldAppearance)("color",a.color),C(),F("value",a.pageSize)("disabled",a.disabled)("aria-labelledby",a._pageSizeLabelId)("panelClass",
a.selectConfig.panelClass||"")("disableOptionCentering",a.selectConfig.disableOptionCentering),C(2),ug(a._displayedPageSizeOptions))},gmb=function(a){a&1&&(I(0,"div",15),Q(1),J());a&2&&(a=P(2),C(),Tg(a.pageSize))},hmb=function(a){a&1&&(I(0,"div",3)(1,"div",13),Q(2),J(),D(3,fmb,6,7,"mat-form-field",14)(4,gmb,2,1,"div",15),J());a&2&&(a=P(),C(),eg("id",a._pageSizeLabelId),C(),R(" ",a._intl.itemsPerPageLabel," "),C(),G(a._displayedPageSizeOptions.length>1?3:-1),C(),G(a._displayedPageSizeOptions.length<=
1?4:-1))},imb=function(a){if(a&1){var b=x();I(0,"button",19);M("click",function(){z(b);var c=P();if(c.hasPreviousPage()){var d=c.pageIndex;c.pageIndex=0;c._emitPageEvent(d)}return A()});Wd();I(1,"svg",8);K(2,"path",20);J()()}a&2&&(a=P(),F("matTooltip",a._intl.firstPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("matTooltipPosition","above")("disabled",a._previousButtonsDisabled()),eg("aria-label",a._intl.firstPageLabel))},jmb=function(a){if(a&1){var b=x();I(0,"button",21);M("click",
function(){z(b);var c=P();if(c.hasNextPage()){var d=c.pageIndex;c.pageIndex=(c.pageSize?Math.ceil(c.length/c.pageSize):0)-1;c._emitPageEvent(d)}return A()});Wd();I(1,"svg",8);K(2,"path",22);J()()}a&2&&(a=P(),F("matTooltip",a._intl.lastPageLabel)("matTooltipDisabled",a._nextButtonsDisabled())("matTooltipPosition","above")("disabled",a._nextButtonsDisabled()),eg("aria-label",a._intl.lastPageLabel))},kmb=function(a){if(a&1){var b=x();I(0,"mat-paginator",3);M("page",function(c){z(b);var d=P(),e=c.pageIndex*
c.pageSize;d.childrenOnPage=d.children.slice(e,e+c.pageSize);return A()});J()}a&2&&(a=P(),F("length",a.children.length)("pageSize",a.pageSize)("pageSizeOptions",a.pageSizeOptions))},lmb=function(a,b){if(a&1){var c=x();I(0,"li")(1,"a",4);M("click",function(){var e=z(c).$implicit,f=P();return A(f.onVisit.emit(e))});Q(2);J();I(3,"onedev-hovercard",null,0);K(5,"b-component-card",5);J()()}if(a&2){a=b.$implicit;b=L(4);var d=P();C();F("onedevHovercardTrigger",b)("href",d.ROUTES.editComponent.makeHref(a.componentId),
of);C();R(" ",a.name," ");C(3);F("componentId",a.componentId.toString())}},mmb=function(a){if(a&1){var b=x();I(0,"button",6);M("click",function(){z(b);var c=P();return A(c.onClickCopyIssueShortLinks.emit())});Q(1);J()}a&2&&(a=P(),C(),R(" Copy '",a.shortLinkPrefix,"'' links "))},nmb=function(a){if(a&1){var b=x();I(0,"div",2)(1,"button",3);M("click",function(){z(b);var c=P();return A(c.action())});Q(2);J()()}a&2&&(a=P(),C(2),Tg(a.data.action))},omb=function(){},pmb=function(a){if(a&1){var b=x();I(0,
"a",17);M("click",function(){z(b);var c=P().$implicit;return A(c.showChildren=!1)});K(1,"mat-icon",18);J()}},qmb=function(a){if(a&1){var b=x();I(0,"a",19);M("click",function(){z(b);var c=P().$implicit,d=P();return A(d.showChildren(c))});K(1,"mat-icon",20);J()}},rmb=function(a){a&1&&(I(0,"span"),Q(1,"[Archived]"),J())},tmb=function(a){a&1&&(I(0,"a",10),Q(1," (Recent Issues) "),J());if(a&2){a=P().$implicit;var b=P();F("href",b.paths.listIssues(bh(1,smb,"status:open componentid:"+a.componentId)),of)}},
umb=function(a){a&1&&(I(0,"a",15),Q(1," Create issue "),J());if(a&2){a=P().$implicit;var b=P();F("href",b.paths.createIssue()+"?component="+a.componentId,of)}},vmb=function(a){a&1&&(I(0,"div",21),Q(1," No child components found. "),J())},wmb=function(a){a&1&&(I(0,"div",22),K(1,"b-spinner"),J())},xmb=function(a){if(a&1){var b=x();I(0,"component-subtree-list",24);M("childClosed",function(d){z(b);var e=P(3);return A(e.onSubtreeChildClosed(d))});J()}if(a&2){a=P(2).$implicit;var c=P();F("components",a.children)("parentComponent",
a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},ymb=function(a){a&1&&(I(0,"div",16),D(1,vmb,2,0,"div",21)(2,wmb,2,0,"div",22)(3,xmb,1,4,"component-subtree-list",23),J());a&2&&(a=P().$implicit,C(),G(a.noChildren?1:-1),C(),G(a.noChildren||a.children?-1:2),C(),G(a.children?3:-1))},zmb=function(a,b){if(a&1){var c=x();I(0,"li",2);M("click",function(d){var e=z(c).$implicit,f=P();return A(f.setSelected(e.componentId,d))});I(1,"div",3);K(2,"div",4);I(3,"div",5);D(4,pmb,2,0,"a",
6)(5,qmb,2,0,"a",7);J();I(6,"div",8)(7,"div")(8,"a",9);Q(9);J();D(10,rmb,2,0,"span")(11,tmb,2,3,"a",10);K(12,"b-component-access-level-indicator",11)(13,"b-tracker-chip-smart",12);J();I(14,"div",13);Q(15);J()();I(16,"div",14);D(17,umb,2,1,"a",15);J()();D(18,ymb,4,3,"div",16);J()}a&2&&(a=b.$implicit,b=P(),Fg("id","component-",a.componentId,""),C(4),G(a.showChildren?4:5),C(4),F("href",b.ROUTES.editComponent.makeHref(a.componentId),of),C(),R(" ",a.name," "),C(),G(a.archived?10:11),C(2),F("accessLevel",
a.accessLimit==null?null:a.accessLimit.accessLevel),C(),F("trackerId",a.trackerId),C(2),Tg(a.description),C(2),G(a.archived?-1:17),C(),G(a.showChildren?18:-1))},Amb=function(a){if(a&1){var b=x();I(0,"a",17);M("click",function(){z(b);var c=P().$implicit;return A(c.showChildren=!1)});K(1,"mat-icon",18);J()}},Bmb=function(a){if(a&1){var b=x();I(0,"a",19);M("click",function(){z(b);var c=P().$implicit,d=P();return A(d.showChildren(c))});K(1,"mat-icon",20);J()}},Cmb=function(a){a&1&&(I(0,"span"),Q(1,"[Archived]"),
J())},Emb=function(a){a&1&&(I(0,"a",10),Q(1," (Recent Issues) "),J());if(a&2){a=P().$implicit;var b=P();F("href",b.paths.listIssues(bh(1,Dmb,"status:open componentid:"+a.componentId)),of)}},Fmb=function(a){a&1&&(I(0,"a",15),Q(1," Create issue "),J());if(a&2){a=P().$implicit;var b=P();F("href",b.paths.createIssue()+"?component="+a.componentId,of)}},Gmb=function(a){a&1&&(I(0,"div",21),Q(1," No child components found. "),J())},Hmb=function(a){a&1&&(I(0,"div",22),K(1,"b-spinner"),J())},Imb=function(a){if(a&
1){var b=x();I(0,"component-subtree-list",24);M("childClosed",function(d){z(b);var e=P(3);return A(e.onSubtreeChildClosed(d))});J()}if(a&2){a=P(2).$implicit;var c=P();F("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},Jmb=function(a){a&1&&(I(0,"div",16),D(1,Gmb,2,0,"div",21)(2,Hmb,2,0,"div",22)(3,Imb,1,4,"component-subtree-list",23),J());a&2&&(a=P().$implicit,C(),G(a.noChildren?1:-1),C(),G(a.noChildren||a.children?-1:2),C(),G(a.children?
3:-1))},Kmb=function(a,b){if(a&1){var c=x();I(0,"li",2);M("click",function(d){var e=z(c).$implicit,f=P();return A(f.setSelected(e.componentId,d))});I(1,"div",3);K(2,"div",4);I(3,"div",5);D(4,Amb,2,0,"a",6)(5,Bmb,2,0,"a",7);J();I(6,"div",8)(7,"div")(8,"a",9);Q(9);J();D(10,Cmb,2,0,"span")(11,Emb,2,3,"a",10);K(12,"b-component-access-level-indicator",11)(13,"b-tracker-chip-smart",12);J();I(14,"div",13);Q(15);J()();I(16,"div",14);D(17,Fmb,2,1,"a",15);J()();D(18,Jmb,4,3,"div",16);J()}a&2&&(a=b.$implicit,
b=P(),F("id","component-"+a.componentId),C(4),G(a.showChildren?4:5),C(4),F("href",b.ROUTES.editComponent.makeHref(a.componentId),of),C(),R(" ",a.name," "),C(),G(a.archived?10:11),C(2),F("accessLevel",a.accessLimit==null?null:a.accessLimit.accessLevel),C(),F("trackerId",a.trackerId),C(2),Tg(a.description),C(2),G(a.archived?-1:17),C(),G(a.showChildren?18:-1))},Mmb=function(a){if(a&1){var b=x();I(0,"b-list-field",2);M("valuesChange",function(d){z(b);var e=P(2);return A(e.save.emit(d.values))});J()}if(a&
2){a=P();var c=P();F("readonly",c.readonly)("defaultLineCount",3)("title",c.field.name)("type",c.field.type)("customFieldId",c.field.customFieldId)("tooltip",c.getTooltip())("values",Lmb(c))("displayValuesOverride",a.displayValues)("enumChoices",a.choices)("listFieldDisabled",c.disabled)}},Pmb=function(a){if(a&1){var b=x();I(0,"b-edit-field",3);M("valueChange",function(e){z(b);var f=P(2);return A(f.save.emit(e))});J()}if(a&2){var c;a=P();var d=P();F("readonly",d.readonly)("name","customField"+d.field.customFieldId)("title",
d.field.name)("type",d.field.type)("tooltip",d.getTooltip())("clearable",!d.field.required)("value",Nmb(d))("displayValueOverride",d.getDisplayValue())("choices",(c=a.choices)!==null&&c!==void 0?c:ah(12,Omb))("showEnumTitle",!0)("disabled",d.disabled)("customFieldId",d.field.customFieldId)}},Qmb=function(a,b){a&1&&D(0,Mmb,1,10,"b-list-field",0)(1,Pmb,1,13,"b-edit-field",1);a&2&&G(b.isRepeated()?0:1)},Rmb=function(a){a&1&&(I(0,"div"),Q(1," Loading custom fields... "),J())},Smb=function(a){a&1&&(I(0,
"div"),Q(1),J());a&2&&(a=P(2),C(),R(" There are no custom fields in component ",a.selectedComponent.name,". "))},Tmb=function(a,b){a&1&&(I(0,"mat-option",6),Q(1),J());a&2&&(a=b.$implicit,F("value",a),C(),R(" ",a.name," "))},Umb=function(a){if(a&1){var b=x();I(0,"div")(1,"mat-form-field",4)(2,"mat-label");Q(3,"Custom field");J();I(4,"mat-select",5);M("selectionChange",function(c){z(b);var d=P(2);return A(d.fieldSelected.emit(c.value))});tg(5,Tmb,2,2,"mat-option",6,sg);J()()()}a&2&&(a=P(2),C(5),ug(a.customFields))},
Vmb=function(a){a&1&&(I(0,"div",3),D(1,Rmb,2,0,"div")(2,Smb,2,1,"div")(3,Umb,7,0,"div"),J());a&2&&(a=P(),C(),G(a.customFields==null?1:-1),C(),G(a.customFields&&!a.customFields.length?2:-1),C(),G((a.customFields==null?0:a.customFields.length)?3:-1))},Wmb=function(a){a&1&&xg(0)},Xmb=function(){},Ymb=function(a){a&1&&(vg(0),Q(1),wg());a&2&&(a=P().value,C(),Tg(a.textValue))},Zmb=function(a){a&1&&K(0,"b-formatted-date-time",4);if(a&2){a=P().value;var b=P();F("date",b.toDate(a.dateValue))}},$mb=function(a){a&
1&&(vg(0),Q(1),wg());a&2&&(a=P().value,C(),Tg(a.enumValue))},anb=function(a){a&1&&(vg(0),Q(1),wg());a&2&&(a=P().value,C(),Tg(a.numericValue))},bnb=function(a,b){a&1&&(vg(0),Q(1),wg());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;C();Ug("",a,"",c===b-1?"":", ","")}},cnb=function(a){a&1&&tg(0,bnb,2,2,"ng-container",null,sg);a&2&&(a=P().value,ug(a.repeatedTextValue.values))},dnb=function(a,b){a&1&&(vg(0),K(1,"b-formatted-date-time",4),Q(2),wg());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;var d=
P(3);C();F("date",d.toDate(a));C();Tg(c===b-1?"":", ")}},enb=function(a){a&1&&tg(0,dnb,3,2,"ng-container",null,sg);a&2&&(a=P().value,ug(a.repeatedDateValue.values))},fnb=function(a,b){a&1&&(vg(0),Q(1),wg());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;C();Ug("",a,"",c===b-1?"":", ","")}},gnb=function(a){a&1&&tg(0,fnb,2,2,"ng-container",null,sg);a&2&&(a=P().value,ug(a.repeatedEnumValue.values))},hnb=function(a,b){a&1&&(vg(0),Q(1),wg());if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;C();Ug("",a,
"",c===b-1?"":", ","")}},inb=function(a){a&1&&tg(0,hnb,2,2,"ng-container",null,sg);a&2&&(a=P().value,ug(a.repeatedNumericValue.values))},jnb=function(a,b){a&1&&D(0,Ymb,2,1,"ng-container")(1,Zmb,1,1,"b-formatted-date-time",4)(2,$mb,2,1,"ng-container")(3,anb,2,1,"ng-container")(4,cnb,2,0)(5,enb,2,0)(6,gnb,2,0)(7,inb,2,0);a&2&&(a=b.value,b=P(),G(a.textValue!=null?0:-1),C(),G(b.isNonemptyJsonDateValue(a.dateValue)?1:-1),C(),G(a.enumValue!=null?2:-1),C(),G(a.numericValue!=null?3:-1),C(),G(a.repeatedTextValue!=
null?4:-1),C(),G(a.repeatedDateValue!=null?5:-1),C(),G(a.repeatedEnumValue!=null?6:-1),C(),G(a.repeatedNumericValue!=null?7:-1))},knb=function(a){a&1&&(I(0,"div")(1,"p"),Q(2),J()());a&2&&(a=P(),C(2),Ug(" Checking if you have permissions to mark these issues as spam. Checked ",a.issuesChecked," of ",a.issuesToFlag.length,"... "))},lnb=function(a,b){a&1&&(I(0,"li"),Q(1),J());a&2&&(a=b.$implicit,C(),Ug(" ",a.issueId," - ",a.title," "))},mnb=function(a){a&1&&(I(0,"div")(1,"p"),Q(2),J(),I(3,"ul"),tg(4,
lnb,2,2,"li",null,sg),J()());a&2&&(a=P(),C(2),R(" You do not have permissions to mark ",a.protectedIssues.length," issues. These will not be flagged as spam. "),C(2),ug(a.protectedIssues))},nnb=function(a){if(a&1){var b=x();I(0,"mat-dialog-content")(1,"mat-form-field")(2,"mat-label");Q(3);J();I(4,"input",4);Xg("ngModelChange",function(c){z(b);var d=P();Wg(d.numericEstimatedEffort,c)||(d.numericEstimatedEffort=c);return A(c)});M("keypress",function(c){z(b);var d=P();return A(/^(\d*\.)?\d*$/.test(d.numericEstimatedEffort+
c.key))});J()()()}a&2&&(a=P(),C(3),R(" ",a.effortSpecName," "),C(),Vg("ngModel",a.numericEstimatedEffort))},onb=function(a){if(a&1){var b=x();I(0,"div",1)(1,"label");Q(2);J();I(3,"onedev-single-select",5);Xg("valueChange",function(c){z(b);var d=P();Wg(d.currentEnumLabel,c)||(d.currentEnumLabel=c);return A(c)});J()()}a&2&&(a=P(),C(2),R(" ",a.effortSpecName," "),C(),Vg("value",a.currentEnumLabel),F("includeEmptyOption",!0)("options",a.allowedLabels))},tnb=function(a,b){if(a&1){var c=x();I(0,"div",20,
4);M("click",function(){var e=z(c).$implicit,f=P(2);pnb(f,e)||qu(f,e);return A()});I(2,"mat-pseudo-checkbox",21);M("click",function(e){var f=z(c).$implicit,h=P(2);e.stopPropagation();return A(qnb(h,f))});J();I(3,"span");Q(4);J()()}if(a&2){a=b.$implicit;b=b.$index;var d=P(2);mg("display",d.shouldShowHotlist[a.hotlistId]?"block":"none");ng("focused",b===d.focusedRowIndex);Gg("title",a.name);eg("id","hotlist-item-"+a.hotlistId)("aria-checked",rnb(d.selectedHotlistMap[a.hotlistId]))("aria-disabled",pnb(d,
a));C(2);F("state",snb(d.selectedHotlistMap[a.hotlistId]))("disabled",pnb(d,a));C(2);R(" ",a.name," ")}},unb=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(2),C(),R(" (",a.filterText,")"))},vnb=function(a){if(a&1){var b=x();I(0,"div",22,5);M("click",function(){z(b);var c=P(2);return A(c.loadHotlist())})("keydown.enter",function(){z(b);var c=P(2);return A(c.loadHotlist())});Q(2,"Load hotlist from id ");I(3,"span");Q(4);J()()}a&2&&(a=P(2),ng("focused",a.focusedRowIndex===a.choices.length+1),eg("aria-label",
"Load hotlist from"+a.filterText),C(4),R("(",a.filterText,")"))},xnb=function(a){if(a&1){var b=x();I(0,"div",23,6);M("click",function(){z(b);var c=P(2);return A(wnb(c))})("keydown.enter",function(){z(b);var c=P(2);return A(wnb(c))});Q(2,"Apply");J()}a&2&&(a=P(2),ng("focused",a.focusedRowIndex===a.choices.length+2))},ynb=function(a){if(a&1){var b=x();I(0,"div",11)(1,"div",15,2);tg(3,tnb,5,11,"div",16,sg);J()();K(5,"mat-divider");I(6,"div",17,3);M("click",function(){z(b);var c=P();return A(c.createHotlist())})("keydown.enter",
function(){z(b);var c=P();return A(c.createHotlist())});Q(8,"Create new hotlist ");D(9,unb,2,1,"span");J();D(10,vnb,5,4,"div",18)(11,xnb,3,2,"div",19)}a&2&&(a=P(),C(3),ug(a.choices),C(3),ng("focused",a.focusedRowIndex===a.choices.length),F("disabled",!a.canCreate),eg("aria-label","Create new hotlist"+a.filterText),C(3),G(a.filterText?9:-1),C(),G(a.canLoad?10:-1),C(),G(a.pendingChanges?11:-1))},znb=function(a){a&1&&(I(0,"li")(1,"a",1),Q(2),J(),K(3,"b-issue-visibility-chip",2),J());a&2&&(a=P().$implicit,
C(),Fg("href","issues/",a.issueId,"",of),C(),R("b/",a.issueId,""),C(),F("issueId",a.issueId))},Anb=function(a,b){a&1&&D(0,znb,4,4,"li");a&2&&G(b.$implicit.type==="issue"?0:-1)},Bnb=function(a){a&1&&(I(0,"ul"),tg(1,Anb,1,1,null,null,rg),J(),Q(3," within: "));a&2&&(a=P(2),C(),ug(a.externalWarnings))},Cnb=function(a){a&1&&(I(0,"li"),Q(1),K(2,"b-component-access-level-indicator",3),J());a&2&&(a=P().$implicit,C(),R(" ",a.path," "),C(),F("accessLevel",a.accessLevel))},Dnb=function(a,b){a&1&&D(0,Cnb,3,2,
"li");a&2&&G(b.$implicit.type==="component"?0:-1)},Enb=function(a){a&1&&(I(0,"div",0)(1,"div")(2,"strong"),Q(3,"You are editing issues in components that may have external viewers:"),J()(),D(4,Bnb,4,0),I(5,"ul"),tg(6,Dnb,1,1,null,null,rg),J()());a&2&&(a=P(),C(4),G(a.enableNewVisibilityChips?4:-1),C(2),ug(a.externalWarnings))},Gnb=function(a,b){if(a&1){var c=x();I(0,"button",12);M("click",function(){var d=z(c).$implicit,e=P(3);return A(Fnb(e.issueEditBuilder,d))});Q(1);J()}a&2&&(a=b.$implicit,b=P(3),
F("disabled",b.issueEditBuilder.issueState==a),C(),R(" ",a.displayValue," "))},Hnb=function(a){if(a&1){var b=x();I(0,"div",19)(1,"span");Q(2,"Multiple");J();I(3,"a",22);M("click",function(){z(b);var c=P(4);return A(c.issueEditBuilder.clearAssignee())});Q(4,"X");J()()}},Inb=function(a){if(a&1){var b=x();I(0,"div",19)(1,"span");Q(2,"Possibly multiple");J();I(3,"a",22);M("click",function(){z(b);var c=P(4);return A(c.issueEditBuilder.clearAssignee())});Q(4,"X");J()()}},Knb=function(a){if(a&1){var b=x();
I(0,"div")(1,"input",23);Xg("ngModelChange",function(c){z(b);var d=P(4);Wg(d.issueEditBuilder.commonAssignee,c)||(d.issueEditBuilder.commonAssignee=c);return A(c)});M("ngModelChange",function(){z(b);var c=P(4);return A(Jnb(c.issueEditBuilder))});J()()}a&2&&(a=P(4),C(),Vg("ngModel",a.issueEditBuilder.commonAssignee),F("bContactAutocomplete","SINGLE"),eg("cdkFocusInitial",a.focus===a.FocusableField.ASSIGNEE||null))},Lnb=function(a){if(a&1){var b=x();I(0,"div",19)(1,"span");Q(2);J();I(3,"a",24);M("click",
function(){z(b);var c=P(4);return A(c.issueEditBuilder.clearVerifier())});Q(4,"X");J()()}a&2&&(a=P(4),ng("bv2-invalid-multiple-user-chip",!ru(a.issueEditBuilder)),C(2),R(" Multiple ",ru(a.issueEditBuilder)?"":"(some unset)"," "))},Mnb=function(a){if(a&1){var b=x();I(0,"div",19)(1,"span");Q(2);J();I(3,"a",24);M("click",function(){z(b);var c=P(4);return A(c.issueEditBuilder.clearVerifier())});Q(4,"X");J()()}a&2&&(a=P(4),ng("bv2-invalid-multiple-user-chip",!ru(a.issueEditBuilder)),C(2),R(" Possibly multiple ",
ru(a.issueEditBuilder)?"":"(some unset)"," "))},Nnb=function(a){if(a&1){var b=x();I(0,"div")(1,"input",25);Xg("ngModelChange",function(c){z(b);var d=P(4);Wg(d.issueEditBuilder.commonVerifier,c)||(d.issueEditBuilder.commonVerifier=c);return A(c)});J()()}a&2&&(a=P(4),C(),Vg("ngModel",a.issueEditBuilder.commonVerifier),F("required",(a.issueEditBuilder.issueState==null?null:a.issueEditBuilder.issueState.status)=="VERIFIED")("bContactAutocomplete","SINGLE"),eg("cdkFocusInitial",a.focus===a.FocusableField.VERIFIER||
null))},Onb=function(a){a&1&&(I(0,"div")(1,"div",14)(2,"label",18),Q(3," Assignee "),J(),I(4,"div"),D(5,Hnb,5,0,"div",19)(6,Inb,5,0,"div",19)(7,Knb,2,3,"div"),J()(),I(8,"div",14)(9,"label",20),Q(10," Verifier "),J(),I(11,"div"),D(12,Lnb,5,3,"div",21)(13,Mnb,5,3,"div",21)(14,Nnb,2,4,"div"),J()()());if(a&2){var b,c;a=P(3);C(5);G((b=a.issueEditBuilder.selectedAssigneesStatus)==="MULTIPLE"?5:b==="POSSIBLY_MULTIPLE"?6:7);C(7);G((c=a.issueEditBuilder.selectedVerifiersStatus)==="MULTIPLE"?12:c==="POSSIBLY_MULTIPLE"?
13:14)}},Pnb=function(a){if(a&1){var b=x();I(0,"div",14)(1,"label",26);Q(2," Issue ID ");J();I(3,"input",27);M("ngModelChange",function(c){z(b);var d=P(3).issueEditBuilder;c=oGa(c);return A(d.commonDuplicateOf=c.length===1?c[0]:"")});J()()}a&2&&(a=P(3),C(3),F("ngModel",a.issueEditBuilder.commonDuplicateOf),eg("cdkFocusInitial",a.focus===a.FocusableField.DUPE_ID||null))},Qnb=function(a){if(a&1){var b=x();I(0,"div",5)(1,"button",10)(2,"span");Q(3);J();K(4,"b-icon",11);J();I(5,"mat-menu",null,2)(7,"button",
12);M("click",function(){z(b);var d=P(2);return A(d.issueEditBuilder.issueState=void 0)});Q(8,"No change ");J();tg(9,Gnb,2,2,"button",13,sg);J();I(11,"div");D(12,Onb,15,2,"div")(13,Pnb,4,2,"div",14);J();I(14,"div")(15,"b-comment-box",15);M("onSubmit",function(){z(b);var d;(d=P(2).matDialogRef)==null||d.close(!0);return A()});J()();K(16,"div",16)(17,"b-external-warnings",17);J()}if(a&2){a=L(6);var c=P(2);C();F("matMenuTriggerFor",a);C(2);Tg(c.issueEditBuilder.issueState?c.issueEditBuilder.issueState.displayValue:
"No change");C(4);F("disabled",!c.issueEditBuilder.issueState);C(2);ug(c.issueStates);C(3);G((!c.issueEditBuilder.issueState||c.issueEditBuilder.issueState.status!=="DUPLICATE")===!0?12:13);C(3);F("comment",c.comment)("showToolbar",!1);C(2);F("externalWarnings",c.externalWarnings)}},Rnb=function(a){if(a&1){var b=x();I(0,"div",6)(1,"b-recaptcha",28);M("onUpdate",function(c){z(b);var d=P(2);return A(d.issueEditBuilder.recaptchaResponse=c)});J()()}},Tnb=function(a){a&1&&(I(0,"form",null,1)(2,"h1",3),
Q(3,"Change issue status"),J(),I(4,"div",4)(5,"span"),Q(6,"Enter updated issue status information below"),J(),D(7,Qnb,18,7,"div",5),J(),D(8,Rnb,2,0,"div",6),I(9,"div",7)(10,"button",8),Q(11," Cancel "),J(),I(12,"button",9),Q(13," Save "),J()()());if(a&2){var b=L(1);a=P();C(7);G(a.issueEditBuilder?7:-1);C();G(a.issueEditBuilder&&a.enableRecaptcha?8:-1);C(2);F("mat-dialog-close",!1);C(2);var c=F("mat-dialog-close",!0);if(!(b=b.invalid))a:{if(a.issueEditBuilder!=null){b=Snb(a.issueEditBuilder);var d=
b.get("status");if(d==="DUPLICATE"){b=!b.get("duplicateOfIssueId");break a}if(d==="VERIFIED"){b=!ru(a.issueEditBuilder)&&!b.get("verifier");break a}}b=!1}c("disabled",b||!(!a.enableRecaptcha||a.issueEditBuilder.recaptchaResponse!==""))}},Vnb=function(a){if(a&1){var b=x();I(0,"b-app-bar-bulk-edit-menus",6);S(1,"async");M("onBulkEdit",function(d){z(b);var e=P();return A(e.bulkEdit(d))})("onQuickBulkEdit",function(d){z(b);var e=P();return A(e.quickBulkEdit(d))})("onBulkEditIssueRelation",function(d){z(b);
var e=P();return A(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){z(b);var d=P();return A(d.bulkMarkIssueRead())});J()}if(a&2){var c;a=P();F("readStatePrompt",Unb(a))("enableBulkEstimatedEffortOption",(c=U(1,2,a.enableBulkEstimatedEffortOption$))!==null&&c!==void 0?c:!1)}},Znb=function(a){if(a&1){var b=x();I(0,"b-copy-issue-id-button",7);M("onClickCopyIssueIds",function(){z(b);var c=P();return A(Wnb(c.copyIssueIdService,su(c)))})("onClickCopyIssueShortLinks",function(){z(b);var c=
P();return A(Xnb(c.copyIssueIdService,su(c)))})("onClickCopyAsIssueSearch",function(){z(b);var c=P();return A(Ynb(c.copyIssueIdService,su(c)))});J()}a&2&&(a=P(),F("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},$nb=function(a){if(a&1){var b=x();I(0,"div",3)(1,"b-hotlist-picker",8);M("onApply",function(c){z(b);var d=P();return A(d.handleHotlistPickerSave(c))})("onCreate",function(c){z(b);var d=P();return A(d.onCreateHotlist.emit(c))})("onLoad",
function(c){z(b);var d=P();return A(d.onLoadHotlist.emit(c))});J()()}a&2&&(a=P(),C(),F("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},bob=function(a){if(a&1){var b=x();I(0,"b-comment-box",15);Xg("commentChange",function(c){z(b);var d=P(2);Wg(d.comment,c)||(d.comment=c);return A(c)});M("onSubmit",function(){z(b);var c=P(2);return A(aob(c))});J()}a&2&&(a=P(2),Vg("comment",a.comment),F("showToolbar",!1))},cob=function(a){if(a&1){var b=x();I(0,"div",12)(1,"b-recaptcha",16);M("onUpdate",
function(c){z(b);var d=P(2);return A(d.recaptchaResponse=c)});J()()}},dob=function(a){a&1&&(I(0,"h1",9),Q(1,"Add comment"),J(),I(2,"mat-dialog-content"),D(3,bob,1,2,"b-comment-box",10),K(4,"b-external-warnings",11),J(),D(5,cob,2,0,"div",12),I(6,"mat-dialog-actions")(7,"button",13),Q(8," Cancel "),J(),I(9,"button",14),Q(10," Save "),J()());a&2&&(a=P(),C(3),G(a.comment?3:-1),C(),F("externalWarnings",a.externalWarnings),C(),G(a.enableRecaptcha?5:-1),C(2),F("mat-dialog-close",!1),C(2),F("disabled",a.enableRecaptcha&&
a.recaptchaResponse==="")("mat-dialog-close",!0))},eob=function(a){a&1&&K(0,"tr",8)},fob=function(a){a&1&&K(0,"tr",9)},gob=function(a){a&1&&(I(0,"th",10),Q(1,"User"),J())},hob=function(a,b){a&1&&K(0,"b-user-image",12)(1,"b-user-display-name",13);a&2&&(F("email",b),C(),F("email",b)("hovercardFocusEnabled",!0)("availabilityChipEnabled",!1))},iob=function(a,b){a&1&&(I(0,"td",11),D(1,hob,2,4),J());if(a&2){var c;a=b.$implicit;C();G((c=a.user.emailAddress)?1:-1,c)}},job=function(a){a&1&&(I(0,"th",10)(1,
"span",14),Q(2," Involvement "),K(3,"b-icon",15),J()());a&2&&(P(),a=Fla(7),C(3),F("matTooltip",a),eg("aria-label",a))},kob=function(a,b){a&1&&(I(0,"mat-option",17),Q(1),J());a&2&&(a=b.$implicit,F("value",a.value),C(),Tg(a.displayText))},nob=function(a,b){if(a&1){var c=x();I(0,"td",11)(1,"mat-select",16);M("selectionChange",function(d){var e=z(c).$implicit,f=P();return A(lob(f,e,d.value))});tg(2,kob,2,2,"mat-option",17,mob);J()()}a&2&&(a=b.$implicit,b=P(),C(),F("disabled",!b.isAllowedToEdit)("value",
a.involvement),C(),ug(b.involvementOptions))},oob=function(a){a&1&&(I(0,"th",10),Q(1,"Delete"),J())},qob=function(a){if(a&1){var b=x();I(0,"td",11)(1,"button",18);M("click",function(){var c=z(b).$implicit,d=P();return A(pob(d,c))});K(2,"mat-icon",19);J()()}a&2&&(a=P(),C(),F("disabled",!a.isAllowedToEdit))},rob=function(a,b){a&1&&(I(0,"span",5)(1,"mat-option",11)(2,"span",12),Q(3),J()()());a&2&&(a=b.$implicit,F("matTooltip","The "+a.displayText+" role has already been allocated.")("matTooltipDisabled",
!a.disabled),C(),F("value",a.value)("disabled",a.disabled),C(2),R(" ",a.displayText," "))},sob=function(a){a&1&&(I(0,"mat-error"),Q(1," Count must be less than or equal to 300,000. "),J())},tob=function(a){a&1&&(I(0,"mat-error"),Q(1," Count must be a whole number greater than 0. "),J())},uob=function(a){a&1&&(I(0,"b-callout",2)(1,"b-callout-body"),Q(2," You do not have edit access "),J()())},wob=function(a,b){if(a&1){var c=x();I(0,"b-placeholder-chip",15);M("editPlaceholder",function(){var d=z(c).$implicit,
e=P(),f=Fla(4);return A(vob(e,f,d.role))})("removePlaceholder",function(){var d=z(c).$implicit,e=P();return A(e.removePlaceholder(d))});J()}a&2&&(a=b.$implicit,b=P(),F("placeholder",a)("isAllowedToEdit",b.isAllowedToEdit))},xob=function(a){var b=a.assigneeUser===a.currentUserEmail,c=a.verifierUser===a.currentUserEmail,d,e=!((d=a.collaboratorsUsers)==null||!d.some(function(h){return h===a.currentUserEmail})),f;d=!((f=a.ccUsers)==null||!f.some(function(h){return h===a.currentUserEmail}));return!b&&
!c&&!e&&!d},yob=function(a){a&1&&(I(0,"span"),Q(1,"Cancel"),J())},zob=function(a){a&1&&(I(0,"span"),Q(1,"Edit"),J())},Gob=function(a){if(a&1){var b=x();I(0,"td")(1,"div")(2,"div",14);Q(3);J();I(4,"div",15)(5,"a",16);Q(6);J()()()();I(7,"td",10)(8,"mat-radio-button",17);M("change",function(d){z(b);var e=P(2);return A(Aob(e,d.value))});J()();I(9,"td",10)(10,"b-button",18);M("onAction",function(){z(b);var d=P().$implicit,e=P();return A(Bob(e,d))});D(11,yob,2,0,"span")(12,zob,2,0,"span");J()();I(13,"td",
10)(14,"b-button",19);M("onAction",function(){z(b);var d=P().$implicit,e=P();return A(Cob(e,d))});Q(15," Delete ");J()()}if(a&2){a=P().$implicit;var c=P();C(2);ng("selected",Dob(c,a));C();R(" ",a.name," ");C(2);F("href",Eob(c,a),of);eg("aria-label",a.name+"- Click to create a new issue");C();R(" ",Eob(c,a)," ");C(2);Fg("id","template-default-radio-",a.index,"");F("checked",c.defaultIndex===a.index)("aria-label","Make template "+a.name+" as default template")("value",a.index);C(2);F("bAriaLabel",Dob(c,
a)?"Cancel editing "+a.name:"Edit "+a.name);C();G(Dob(c,a)?11:12);C(3);F("bAriaLabel","Delete "+a.name)("disabled",!Fob(c,a))}},Hob=function(a){a&1&&(I(0,"h2",21),Q(1," Create Template "),J())},Iob=function(a){a&1&&(I(0,"h2",21),Q(1),J());a&2&&(a=P(2).$implicit,C(),Ug(' Edit template "',a.name,'" ',a.editableTemplate.isDirty()?"(changed)":""," "))},Job=function(a){if(a&1){var b=x();I(0,"div",22)(1,"b-slide-toggle",75);M("modelChange",function(){z(b);var c=P(2).$implicit.editableTemplate;c.inheritable=
!c.inheritable;tu(c);return A()});J();I(2,"span",23)(3,"label",76);Q(4,"Inherited by all child components");J();K(5,"mat-icon",77);J()()}a&2&&(a=P(2).$implicit,C(),F("model",a.editableTemplate.inheritable))},Kob=function(a,b){a&1&&(I(0,"mat-option",82),Q(1),J());a&2&&(a=b.$implicit,Gg("value",a),C(),R(" ",a," "))},Lob=function(a){if(a&1){var b=x();I(0,"div",33)(1,"div",23)(2,"label",78);Q(3,"Collaborator Groups");J();K(4,"mat-icon",79);J();I(5,"mat-form-field",80)(6,"mat-select",81);Xg("ngModelChange",
function(d){z(b);var e=P(2).$implicit;Wg(e.editableTemplate.collaboratorGroups,d)||(e.editableTemplate.collaboratorGroups=d);return A(d)});M("ngModelChange",function(){z(b);var d=P(2).$implicit;return A(tu(d.editableTemplate))});I(7,"mat-select-trigger");Q(8);J();tg(9,Kob,2,2,"mat-option",82,sg);J()()()}if(a&2){a=P(2).$implicit;var c=P();C(4);Gg("matTooltip",c.COLLABORATOR_GROUPS_TOOLTIP);C(2);Vg("ngModel",a.editableTemplate.collaboratorGroups);C(2);R(" ",a.editableTemplate.getCollaboratorGroupsString(),
" ");C();ug(c.trackerCollaboratorGroups)}},Nob=function(a,b){if(a&1){var c=x();I(0,"button",83);M("click",function(){var e=z(c).$implicit,f=P(2).$implicit,h=P();f.issueType=e.value;return A(Mob(h))});Q(1);J()}if(a&2){var d;a=b.$implicit;b=P(2).$implicit;F("disabled",b.issueType===a.value)("matTooltip",(d=a.altText)!==null&&d!==void 0?d:"");C();R(" ",a.displayText," ")}},Oob=function(a,b){if(a&1){var c=x();I(0,"button",84);M("click",function(){var d=z(c).$implicit,e=P(2).$implicit;e.editableTemplate.priority=
d.value;return A(tu(e.editableTemplate))});Q(1);J()}a&2&&(a=b.$implicit,b=P(2).$implicit,F("disabled",b.editableTemplate.priority===a.value),C(),R(" ",a.displayText," "))},Pob=function(a,b){if(a&1){var c=x();I(0,"button",84);M("click",function(){var d=z(c).$implicit,e=P(2).$implicit;e.editableTemplate.severity=d.value;return A(tu(e.editableTemplate))});Q(1);J()}a&2&&(a=b.$implicit,b=P(2).$implicit,F("disabled",b.editableTemplate.severity===a.value),C(),R(" ",a.displayText," "))},Qob=function(a,b){if(a&
1){var c=x();I(0,"div",50)(1,"b-hotlist-chip",85);M("removeHotlist",function(){var d=z(c).$implicit,e=P(3);return A(e.removeHotlist(d.hotlistId))});J()()}a&2&&(a=b.$implicit,C(),F("hotlist",a))},Rob=function(a){if(a&1){var b=x();I(0,"input",86);Xg("ngModelChange",function(c){z(b);var d=P(2).$implicit;Wg(d.editableTemplate.assignee,c)||(d.editableTemplate.assignee=c);return A(c)});M("ngModelChange",function(){z(b);var c=P(2).$implicit;return A(tu(c.editableTemplate))});J()}a&2&&(a=P(2).$implicit,F("bContactAutocomplete",
"SINGLE"),Vg("ngModel",a.editableTemplate.assignee))},Tob=function(a){if(a&1){var b=x();I(0,"input",87);M("peoplekitAutocompleteSelectionChange",function(d){z(b);var e=P(2).$implicit,f=P();return A(Sob(f,d,e,"assignee"))});Xg("ngModelChange",function(d){z(b);var e=P(2).$implicit;Wg(e.editableTemplate.assignee,d)||(e.editableTemplate.assignee=d);return A(d)});M("ngModelChange",function(){z(b);var d=P(2).$implicit;return A(tu(d.editableTemplate))});J()}if(a&2){a=P(2).$implicit;var c=P();F("peoplekitAutocompleteConfig",
c.BASE_AUTOCOMPLETE_CONFIG)("peoplekitSearchSessionOptions",c.SESSION_OPTIONS);Vg("ngModel",a.editableTemplate.assignee)}},Uob=function(a){if(a&1){var b=x();I(0,"input",88);Xg("ngModelChange",function(c){z(b);var d=P(2).$implicit;Wg(d.editableTemplate.verifier,c)||(d.editableTemplate.verifier=c);return A(c)});M("ngModelChange",function(){z(b);var c=P(2).$implicit;return A(tu(c.editableTemplate))});J()}a&2&&(a=P(2).$implicit,F("bContactAutocomplete","SINGLE"),Vg("ngModel",a.editableTemplate.verifier))},
Vob=function(a){if(a&1){var b=x();I(0,"input",89);M("peoplekitAutocompleteSelectionChange",function(d){z(b);var e=P(2).$implicit,f=P();return A(Sob(f,d,e,"verifier"))});Xg("ngModelChange",function(d){z(b);var e=P(2).$implicit;Wg(e.editableTemplate.verifier,d)||(e.editableTemplate.verifier=d);return A(d)});M("ngModelChange",function(){z(b);var d=P(2).$implicit;return A(tu(d.editableTemplate))});J()}if(a&2){a=P(2).$implicit;var c=P();F("peoplekitAutocompleteConfig",c.BASE_AUTOCOMPLETE_CONFIG)("peoplekitSearchSessionOptions",
c.SESSION_OPTIONS);Vg("ngModel",a.editableTemplate.verifier)}},Wob=function(a){if(a&1){var b=x();Bg(0);S(1,"staffingSummary");I(2,"div",69)(3,"div",23)(4,"label",90);Q(5,"Staffing");J();K(6,"mat-icon",91);J();I(7,"button",92);M("click",function(){z(b);var c=P(3);return A(c.editStaffing())});I(8,"span",93);Q(9);J();K(10,"b-icon",94);J()()}a&2&&(a=P(2).$implicit,a=U(1,2,a.editableTemplate.staffing==null?null:a.editableTemplate.staffing.plannedAllocations),C(7),eg("aria-label","Staffing: "+a),C(2),R(" ",
a," "))},Xob=function(a){a&1&&(I(0,"h3"),Q(1,"Custom issue fields"),J())},Yob=function(a){if(a&1){var b=x();I(0,"input",101);Xg("ngModelChange",function(d){z(b);var e=P().$implicit,f=P(2).$implicit;Wg(f.editableTemplate.customFieldValues[e.id].textValue,d)||(f.editableTemplate.customFieldValues[e.id].textValue=d);return A(d)});M("ngModelChange",function(){z(b);var d=P(3).$implicit;return A(tu(d.editableTemplate))});J()}if(a&2){a=P().$implicit;var c=P(2).$implicit;gg("id","template-cf-",a.id,"");Vg("ngModel",
c.editableTemplate.customFieldValues[a.id].textValue)}},Zob=function(a){if(a&1){var b=x();I(0,"input",102);Xg("ngModelChange",function(d){z(b);var e=P().$implicit,f=P(2).$implicit;Wg(f.editableTemplate.customFieldValues[e.id].numericValue,d)||(f.editableTemplate.customFieldValues[e.id].numericValue=d);return A(d)});M("ngModelChange",function(){z(b);var d=P(3).$implicit;return A(tu(d.editableTemplate))});J()}if(a&2){a=P().$implicit;var c=P(2).$implicit;gg("id","template-cf-",a.id,"");Vg("ngModel",
c.editableTemplate.customFieldValues[a.id].numericValue)}},apb=function(a){if(a&1){var b=x();I(0,"b-edit-field",103);M("valueChange",function(h){z(b);var l=P().$implicit,q=P(2).$implicit,v=P();return A(v.setCustomField(q,l.id,h))});J()}if(a&2){var c,d;a=P().$implicit;var e=P(2).$implicit,f=P();gg("id","template-cf-",a.id,"");F("type",f.FieldType.ENUM)("name",a.name)("clearable",!0)("value",(c=e.editableTemplate.customFieldValues[a.id]==null?null:e.editableTemplate.customFieldValues[a.id].enumValue)!==
null&&c!==void 0?c:null)("choices",(d=a.enumFields)!==null&&d!==void 0?d:ah(7,$ob))}},bpb=function(a){if(a&1){var b=x();I(0,"bv2-input-date-picker",104);M("boundValueChange",function(e){z(b);var f=P().$implicit,h=P(2).$implicit,l=P();return A(h.editableTemplate.customFieldValues[f.id].dateValue=l.getDateValue(e))})("boundValueChange",function(){z(b);var e=P(3).$implicit;return A(tu(e.editableTemplate))});J()}if(a&2){var c;a=P().$implicit;var d=P(2).$implicit;gg("id","template-cf-",a.id,"");F("boundValue",
(c=d.editableTemplate.customFieldValues[a.id].dateValue)!==null&&c!==void 0?c:void 0)}},dpb=function(a){if(a&1){var b=x();I(0,"b-list-field",105);M("valuesChange",function(e){z(b);var f=P().$implicit,h=P(2).$implicit,l=P();return A(l.setCustomField(h,f.id,e.values))});J()}if(a&2){a=P().$implicit;var c=P(2).$implicit,d=P();gg("id","template-cf-",a.id,"");F("defaultLineCount",2)("type",d.getListFieldType(a.type))("values",cpb(c.editableTemplate.customFieldValues[a.id]))("enumChoices",a.enumFields)("truncate",
!0)}},epb=function(a,b){a&1&&(I(0,"div")(1,"div",23)(2,"label",95),Q(3),J()(),I(4,"div"),D(5,Yob,1,3,"input",96)(6,Zob,1,3,"input",97)(7,apb,1,8,"b-edit-field",98)(8,bpb,1,3,"bv2-input-date-picker",99)(9,dpb,1,7,"b-list-field",100),J()());if(a&2){var c;a=b.$implicit;qg("cell-",a.cellType,"");C(2);Fg("for","template-cf-",a.id,"");C();Ug("",a.name," (id=",a.id,")");C(2);G((c=a.type)==="TEXT"?5:c==="NUMERIC"?6:c==="ENUM"?7:c==="DATE"?8:9)}},kpb=function(a){if(a&1){var b=x();I(0,"td",13)(1,"div",20);
D(2,Hob,2,0,"h2",21)(3,Iob,2,2,"h2",21);I(4,"div",22)(5,"div",23)(6,"label",24);Q(7,"Template Name");J()();I(8,"input",25);Xg("ngModelChange",function(h){z(b);var l=P().$implicit;Wg(l.editableTemplate.name,h)||(l.editableTemplate.name=h);return A(h)});M("ngModelChange",function(){z(b);var h=P().$implicit;return A(tu(h.editableTemplate))});J()();D(9,Job,6,1,"div",22);I(10,"div",22)(11,"div",23)(12,"label",26);Q(13,"Description of Template");J()();I(14,"input",27);Xg("ngModelChange",function(h){z(b);
var l=P().$implicit;Wg(l.editableTemplate.description,h)||(l.editableTemplate.description=h);return A(h)});M("ngModelChange",function(){z(b);var h=P().$implicit;return A(tu(h.editableTemplate))});J()();I(15,"div",28)(16,"h3");Q(17," Standard issue fields ");J();I(18,"div",29)(19,"div",30)(20,"div",23)(21,"label",31);Q(22,"Issue Access Level");J()();I(23,"b-issue-access-limits-dropdown",32);M("updatedAccessLimitLevel",function(h){z(b);var l=P().$implicit;return A(l.editableTemplate.onAccessLimitLevelSelected(h))});
J()();D(24,Lob,11,3,"div",33);J();I(25,"div",22)(26,"div",23)(27,"label",34);Q(28,"Title");J()();I(29,"input",35);Xg("ngModelChange",function(h){z(b);var l=P().$implicit;Wg(l.editableTemplate.title,h)||(l.editableTemplate.title=h);return A(h)});M("ngModelChange",function(){z(b);var h=P().$implicit;return A(tu(h.editableTemplate))});J()();I(30,"div",36)(31,"div",23)(32,"label",37);Q(33,"Type");J()();I(34,"button",38)(35,"span");Q(36);J();K(37,"b-icon",39);J();I(38,"mat-menu",40,2);tg(40,Nob,2,3,"button",
41,sg);J()();I(42,"div",36)(43,"div",23)(44,"label",42);Q(45,"Priority");J()();I(46,"button",43)(47,"span");Q(48);J();K(49,"b-icon",39);J();I(50,"mat-menu",40,3);tg(52,Oob,2,2,"button",44,sg);J()();I(54,"div",36)(55,"div",23)(56,"label",45);Q(57,"Severity");J()();I(58,"button",46)(59,"span");Q(60);J();K(61,"b-icon",39);J();I(62,"mat-menu",40,4);tg(64,Pob,2,2,"button",44,sg);J()();I(66,"div",47)(67,"div",23)(68,"label",48);Q(69,"Default Hotlists");J()();I(70,"b-hotlist-picker",49);M("onApply",function(h){z(b);
var l=P(2);return A(l.handleHotlistPickerSave(h))})("onCreate",function(h){z(b);var l=P(2);return A(l.createHotlist(h))})("onLoad",function(h){z(b);var l=P(2);return A(l.loadHotlist(h))});J();tg(71,Qob,2,1,"div",50,sg);J();K(73,"div",51);I(74,"div",52)(75,"div",23)(76,"label",53);Q(77,"Assignee");J()();D(78,Rob,1,2,"input",54)(79,Tob,1,3,"input",55);J();I(80,"div",52)(81,"div",23)(82,"label",56);Q(83,"Verifier");J()();D(84,Uob,1,2,"input",57)(85,Vob,1,3,"input",58);J();I(86,"div",22)(87,"div",23)(88,
"label",59);Q(89,"Collaborators");J();K(90,"mat-icon",60);J();I(91,"input",61);M("ngModelChange",function(h){z(b);var l=P().$implicit;return A(fpb(l.editableTemplate,h))});J()();I(92,"div",22)(93,"div",23)(94,"label",62);Q(95,"CC");J()();I(96,"input",63);M("ngModelChange",function(h){z(b);var l=P().$implicit;return A(gpb(l.editableTemplate,h))});J()();I(97,"div",22)(98,"div",23)(99,"label",64);Q(100,"Initial Comment");J()();I(101,"textarea",65);Xg("ngModelChange",function(h){z(b);var l=P().$implicit;
Wg(l.editableTemplate.comment,h)||(l.editableTemplate.comment=h);return A(h)});M("ngModelChange",function(){z(b);var h=P().$implicit;return A(tu(h.editableTemplate))});Q(102,"                  ");J();I(103,"b-markdown-toggle",66);M("change",function(h){z(b);var l=P().$implicit;return A(l.editableTemplate.setFormattingMode(h))});J()();I(104,"div",22)(105,"div",23)(106,"label",67);Q(107,"In Prod");J()();I(108,"b-slide-toggle",68);M("modelChange",function(){z(b);var h=P().$implicit.editableTemplate;
h.inProd=!h.inProd;tu(h);return A()});J()();D(109,Wob,11,4,"div",69);J();I(110,"div",70);D(111,Xob,2,0,"h3");tg(112,epb,10,8,"div",71,sg);J();I(114,"div",72)(115,"b-button",73);M("onAction",function(){z(b);var h=P(2);return A(hpb(h))});Q(116," Save ");J();I(117,"b-button",74);M("onAction",function(){z(b);var h=P(2);return A(ipb(h))});Q(118," Cancel ");J()()()()}if(a&2){a=L(39);var c=L(51),d=L(63),e=P().$implicit,f=P();C(2);G(e.editableTemplate.new?2:3);C(6);Vg("ngModel",e.editableTemplate.name);C();
G(f.enableTemplateInheritance?9:-1);C(5);Vg("ngModel",e.editableTemplate.description);C(9);F("disabled",!1)("defaultAccessLimitLevel",e.editableTemplate.issueAccessLimitLevel)("implicitAccessEnabled",f.implicitAccessEnabled);C();G(f.trackerCollaboratorGroups.length?24:-1);C(5);Vg("ngModel",e.editableTemplate.title);C(5);F("matMenuTriggerFor",a);C(2);Tg(jpb(e.issueType));C(2);F("overlapTrigger",!0);C(2);ug(f.issueTypeChoices);C(6);F("matMenuTriggerFor",c);C(2);Tg(e.editableTemplate.priority);C(2);
F("overlapTrigger",!0);C(2);ug(f.priorityChoices);C(6);F("matMenuTriggerFor",d);C(2);Tg(e.editableTemplate.severity);C(2);F("overlapTrigger",!0);C(2);ug(f.severityChoices);C(6);F("selectedHotlistIds",f.selectedHotlistIds)("choices",f.hotlists);C();ug(f.selectedHotlists);C(7);G(f.enablePeoplekitAc?79:78);C(6);G(f.enablePeoplekitAc?85:84);C(7);F("bContactAutocomplete","MULTI")("ngModel",e.editableTemplate.collaborators.join(", "));C(5);F("bContactAutocomplete","MULTI")("ngModel",e.editableTemplate.cc.join(", "));
C(5);Vg("ngModel",e.editableTemplate.comment);C(2);F("initialValue",e.editableTemplate.formattingMode);C(5);F("model",e.editableTemplate.inProd);C();G(f.enablePlannedAllocationsUi?109:-1);C(2);G(f.customFieldRows.length>0?111:-1);C();ug(f.customFieldRows);C(3);F("disabled",!e.editableTemplate.isDirty())}},lpb=function(a,b){a&1&&(I(0,"tr"),D(1,Gob,16,15)(2,kpb,119,32,"td",13),J());a&2&&(a=b.$implicit,C(),G(a.editableTemplate?2:1))},mpb=function(a){a&1&&(I(0,"tr")(1,"td",13)(2,"div",106)(3,"strong"),
Q(4,"Templates inherited from parent components"),J()()()())},npb=function(a){a&1&&(vg(0),K(1,"b-component-card",112,6),wg());if(a&2){a=L(2);var b=P().$implicit;C();F("onedevIsHovercardReady",a.init)("componentId",b.componentId.toString())}},opb=function(a,b){if(a&1){var c=x();I(0,"tr")(1,"td")(2,"div")(3,"div",14);Q(4);J();I(5,"div",15)(6,"a",16);Q(7);J()()()();I(8,"td",10)(9,"mat-radio-button",17);M("change",function(e){z(c);var f=P(2);return A(Aob(f,e.value))});J()();I(10,"td",107)(11,"div",108)(12,
"div",109);Q(13,"Inherited From");J();I(14,"a",110);Q(15);J();I(16,"onedev-hovercard",null,5);D(18,npb,3,2,"ng-container",111);J()()()()}if(a&2){a=b.$implicit;b=L(17);var d=P(2);C(3);ng("selected",Dob(d,a));C();R(" ",a.name," ");C(2);F("href",Eob(d,a),of);eg("aria-label",a.name+"- Click to create a new issue");C();R(" ",Eob(d,a)," ");C(2);Fg("id","template-default-radio-",a.index,"");F("checked",d.defaultIndex===a.index)("aria-label","Make template "+a.name+" as default template")("value",a.index);
C(5);F("onedevHovercardTrigger",b)("href",d.ROUTES.editComponentTemplates.makeHref(a.componentId),of);eg("aria-label","Inherited from "+d.componentIdsToPaths[a.componentId]);C();R(" ",d.componentIdsToPaths[a.componentId]," ")}},ppb=function(a,b){a&1&&(D(0,mpb,5,0,"tr"),tg(1,opb,19,15,"tr",null,sg));a&2&&(G(b.length?0:-1),C(),ug(b))},qpb=function(a,b){a&1&&(I(0,"div",113),Q(1),J(),I(2,"div",114)(3,"button",115),Q(4," Cancel "),J(),I(5,"button",116),Q(6," Confirm "),J()());a&2&&(a=b.$implicit,C(),R(' Are you sure you want to delete the template "',
a.name,'"? '),C(2),F("mat-dialog-close",!1),C(2),F("mat-dialog-close",!0))},rpb=function(a,b){a&1&&(I(0,"div",113),Q(1),J(),I(2,"div",114)(3,"button",117),Q(4," Cancel "),J(),I(5,"button",117),Q(6," Don't Save "),J(),I(7,"button",118),Q(8," Save "),J()());a&2&&(a=b.$implicit,C(),R(' Do you want to save changes to template "',a.name,'" before closing? '),C(2),F("mat-dialog-close",void 0),C(2),F("mat-dialog-close",!1),C(2),F("mat-dialog-close",!0))},spb=function(a){a&1&&(I(0,"div"),Q(1),J(),I(2,"div"),
Q(3),J());a&2&&(a=P(),C(),R(" Policy: ",a.rawObjectiveDisplayText," (business) "),C(2),R("Effective: ",a.objectiveDisplayText," (calendar)"))},tpb=function(a){a&1&&(I(0,"div"),Q(1),J());a&2&&(a=P(),C(),R("Policy: ",a.rawObjectiveDisplayText," (calendar)"))},upb=function(a){a&1&&(I(0,"div"),K(1,"b-slo-time-indicator",0),J());a&2&&(a=P(),C(),F("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.assignmentSlo)("includeObjective",!0))},vpb=function(a){a&1&&(I(0,"div"),K(1,"b-slo-time-indicator",
1),J());a&2&&(a=P(),C(),F("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.responseSlo)("includeObjective",!0))},wpb=function(a){a&1&&(I(0,"div"),K(1,"b-slo-time-indicator",2),J());a&2&&(a=P(),C(),F("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.closureSlo)("includeObjective",!0))},xpb=function(a){a&1&&(I(0,"div",5),K(1,"b-slo-status-summary",7),J());a&2&&(a=P(),C(),F("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric",a.onlyShowMetric))},
ypb=function(a){a&1&&Q(0," No applicable SLO rules ")},zpb=function(a){a&1&&Q(0," No SLO set on issue component ")},Apb=function(a){a&1&&(I(0,"div",6),D(1,ypb,1,0)(2,zpb,1,0),J());a&2&&(a=P(),C(),G(a.editSloLink?1:2))},Bpb=function(a){if(a&1){var b=x();I(0,"a",9);M("click",function(){z(b);var c=P(2);return A(c.trackOpenSlo())});Q(1);J()}a&2&&(a=P(2),F("href",a.editSloLink,of),C(),R(" ",a.sloName," "))},Cpb=function(a){a&1&&(I(0,"span"),Q(1," (private) "),J())},Dpb=function(a){a&1&&(I(0,"span"),Q(1,
" SLO definition: "),D(2,Bpb,2,2,"a",8)(3,Cpb,2,0,"span"),J());a&2&&(a=P(),C(2),G(a.sloName?2:3))},Gpb=function(a){if(a.type==="CUSTOM_FIELD")return new uu({name:a.customFieldId?String(a.customFieldId):a.customFieldName||"",label:a.customFieldName||"",fullLabel:a.customFieldName||"",isCustomField:!0,sortable:a.customFieldId!==void 0,tooltip:""});a=Ci(a.type);a==="canonicalIssueId"&&(a="duplicateOfIssueId");return Epb.includes(a)?Fpb(a):null},Ipb=function(a){return Hpb(a.map(Gpb).filter(function(b){return!!b}))},
Jpb=function(a){return a.map(function(b){b.isCustomField?b={type:"CUSTOM_FIELD",customFieldId:Ei(b.name),customFieldName:void 0}:(b=(b.name||"").replace(/([A-Z])/g,"_$1").toUpperCase(),b==="DUPLICATE_OF_ISSUE_ID"&&(b="CANONICAL_ISSUE_ID"),b={type:b,customFieldId:void 0,customFieldName:void 0});return b})},Hpb=function(a){return Qk(a,function(b){return b.name})},Fpb=function(a){var b={name:a,label:a.toUpperCase()},c=Kpb[a];c?Object.assign(b,c):Epb.includes(a)||(b.isCustomField=!0);b.fullLabel=b.fullLabel||
b.label.charAt(0).toUpperCase()+b.label.slice(1).toLowerCase();return new uu(b)},Lpb=function(a,b){a&1&&K(0,"col");a&2&&qg("",b.$implicit.name,"-col")},Mpb=function(a){a&1&&xg(0)},Opb=function(a,b){a&1&&D(0,Mpb,1,0,"ng-container",7);a&2&&(a=b.$implicit,b=P(),F("ngTemplateOutlet",b.headerCellTemplates[a.name]||b.defaultHeaderCellTemplate)("ngTemplateOutletContext",bh(2,Npb,a)))},Ppb=function(a){a&1&&xg(0)},Rpb=function(a,b){a&1&&D(0,Ppb,1,0,"ng-container",7);if(a&2){a=b.$implicit;b=b.$index;var c=
P(),d=c.$implicit;c=c.$index;var e=P();F("ngTemplateOutlet",e[b])("ngTemplateOutletContext",dh(2,Qpb,d,a,c))}},Tpb=function(a,b){if(a&1){var c=x();I(0,"tr",9,3);M("click",function(){var e=z(c).$index,f=P(2);f.focusedRowIndex!==e&&(f.focusedRowIndex=e,f.focusedRowIndexChange.emit(e));return A()})("focus",function(){var e=z(c).$index,f=P(2);f.focusedRowIndex!==e&&(f.focusedRowIndex=e,f.focusedRowIndexChange.emit(e));return A()});tg(2,Rpb,1,6,"ng-container",null,Spb);J()}if(a&2){a=b.$implicit;b=b.$index;
var d=P(2);ng("selected",a.selected)("unread",!d.readUnreadOptOut&&!a.isRead&&!a.isClosed)("closed",a.isClosed)("grid-focus",d.focusedRowIndex===b);eg("data-row-id",a.id)("data-is-read",a.isRead)("aria-label",d.renderRowLabel(a,b)+(a.selected?", row starred":""));C(2);ug(d.columns)}},Vpb=function(a){a&1&&tg(0,Tpb,4,11,"tr",8,Upb);a&2&&(a=P(),ug(a.list))},Wpb=function(a,b){a&1&&(I(0,"th"),K(1,"pop-grid-default-th",10),J());a&2&&(a=b.column,C(),F("column",a))},Xpb=function(a,b){a&1&&(I(0,"td"),K(1,
"pop-grid-default-cell",11),J());a&2&&(a=b.row,b=b.column,C(),F("row",a)("column",b))},Ypb=function(a){if(a&1){var b=x();I(0,"b-sortable-header",3);M("sortChanged",function(c){z(b);var d=P();d.grid&&d.grid.sortChange.emit(c);return A()});J()}a&2&&(a=P(),F("columnLabel",a.column.label)("columnName",a.column.name)("defaultSortDirection",a.column.defaultSortDirection||"ASC")("sort",a.grid==null?null:a.grid.sort)("matTooltip",a.column.tooltip||""))},Zpb=function(a){a&1&&(I(0,"span",4),Q(1),J());a&2&&
(a=P(2),C(),R("column-",a.column.name,""))},$pb=function(a){a&1&&(I(0,"div",2),D(1,Zpb,2,1,"span",4),Q(2),J());a&2&&(a=P(),eg("aria-label",a.column.label),C(),G(a.column.label?-1:1),C(),R(" ",a.column.label," "))},aqb=function(a){if(a&1){var b=x();I(0,"div",13,3);M("menuOpened",function(){z(b);var d=P();return A(d.menuOpen=!0)})("menuClosed",function(){z(b);var d=P();return A(d.menuOpen=!1)})("keydown.enter",function(d){z(b);L(1).openMenu();d.preventDefault();return A(d.stopPropagation())})("keydown.space",
function(){z(b);var d=L(1);return A(d.openMenu())});J()}if(a&2){a=P();var c=L(5);ng("columnpicker-button-active",a.menuOpen);gg("aria-label","",a.column.fullLabel," column configuration");F("matMenuTriggerFor",c)}},dqb=function(a,b){if(a&1){var c=x();I(0,"button",14);M("click",function(){var d=z(c).$implicit,e=P();return A(bqb(e,d.name))});K(1,"b-icon",15);I(2,"span",16);Q(3);J()()}a&2&&(a=b.$implicit,b=P(),ng("b-menu-item-checked",cqb(a.name).get(b.listViewPrefs)),C(3),R(" ",a.menuItem," "))},eqb=
function(a){a&1&&K(0,"mat-divider")},fqb=function(a){if(a&1){var b=x();I(0,"button",19);M("click",function(){z(b);var c=P().$implicit,d=P().before,e=P();return A(e.add(c,d))})("keydown.enter",function(c){z(b);var d=P().$implicit,e=P().before;P().add(d,e);c.preventDefault();return A(c.stopPropagation())});Q(1);J()}a&2&&(a=P().$implicit,F("matTooltip",a.tooltip),C(),R(" ",a.fullLabel," "))},hqb=function(a){a&1&&(I(0,"button",11)(1,"span"),Q(2),J()());if(a&2){a=P().$implicit;var b=P().before;P();var c=
L(19);F("matMenuTriggerFor",c)("matMenuTriggerData",ch(3,gqb,a.columns,b));C(2);Tg(a.label)}},iqb=function(a,b){a&1&&D(0,fqb,2,2,"button",18)(1,hqb,3,6,"button",11);a&2&&(a=b.$implicit,b=P(2),G(b.isIssueGridColumn(a)?0:1))},kqb=function(a){if(a&1){var b=x();I(0,"button",17);M("click",function(){var c=z(b).before,d=P();return A(jqb(d,c))});Q(1," Custom Field ");J();K(2,"mat-divider");tg(3,iqb,2,1,null,null,sg)}a&2&&(a=P(),C(3),ug(a.currentAvailableItems))},lqb=function(a,b){if(a&1){var c=x();I(0,"button",
21);M("click",function(){var d=z(c).$implicit,e=P().before,f=P();return A(f.add(d,e))})("keydown.enter",function(d){var e=z(c).$implicit,f=P().before;P().add(e,f);d.preventDefault();return A(d.stopPropagation())});Q(1);J()}a&2&&(a=b.$implicit,C(),R(" ",a.fullLabel," "))},mqb=function(a,b){a&1&&tg(0,lqb,2,1,"button",20,sg);a&2&&ug(b.columns)},cqb=function(a){switch(a){case "id-link":return{get:function(b){var c;return((c=b.modeForField)==null?void 0:c.id)==="link"},set:function(b,c){b.modeForField=
b.modeForField||{};b.modeForField.id=c?"link":void 0}};case "id-copy":return{get:function(b){var c;return((c=b.modeForField)==null?void 0:c.id)==="copy"},set:function(b,c){b.modeForField=b.modeForField||{};b.modeForField.id=c?"copy":void 0}};case "showHotlists":return{get:function(b){return b.showHotlists},set:function(b,c){b.showHotlists=c}};case "wrapTitles":return{get:function(b){return b.wrapTitles},set:function(b,c){b.wrapTitles=c}};case "wrapComponents":return{get:function(b){return b.wrapComponents},
set:function(b,c){b.wrapComponents=c}};case "showStatusIcons":return{get:function(b){var c;return((c=b.fieldStatus)==null?void 0:c.mode)==="icon"},set:function(b,c){var d;b.fieldStatus=(d=b.fieldStatus)!=null?d:{};b.fieldStatus.mode=c?"icon":void 0}};case "status-plain":return{get:function(b){var c;return((c=b.fieldStatus)==null?void 0:c.mode)==="plain"},set:function(b,c){var d;b.fieldStatus=(d=b.fieldStatus)!=null?d:{};b.fieldStatus.mode=c?"plain":void 0}};case "rtlComponentPath":return{get:function(b){return b.rtlComponentPath},
set:function(b,c){b.rtlComponentPath=c}};default:throw Error("Yf`"+a);}},nqb=function(a){a&1&&(I(0,"p",5),Q(1),J());a&2&&(a=P(),C(),R(" * Status update must be less than ",a.CHAR_LIMIT," characters. "))},oqb=function(a){a&1&&(I(0,"p",6),Q(1),I(2,"a",12),Q(3," Learn more "),J()());a&2&&(a=P(),C(),R(" Your status update contains restricted words: ",$q(a.bannedWordsChecker),". Review your status update before posting. "))},pqb=function(a){a&1&&(I(0,"div",8),K(1,"b-live-preview",13),J());a&2&&(a=P(),
C(),F("comment",a.newStatusUpdate.updateText)("issueId",a.origStatusUpdate.issueId)("formattingMode",a.newStatusUpdate.formattingMode)("audience",a.formattingAudience))},qqb=function(a){return function(b){return nj(b,No,1,Wi()).map(function(c){return{workspaceId:c.getWorkspaceId_asLegacyNumberOrString(),workspaceName:c.getName(),issueId:a}})}},rqb=function(a){a&1&&xg(0)},tqb=function(a){a&1&&(vg(0),D(1,rqb,1,0,"ng-container",8),wg());a&2&&(a=P(),C(),F("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",
bh(2,sqb,a.value)))},uqb=function(a){a&1&&Q(0);a&2&&(a=P(),Tg(a.value!=null?a.value:"--"))},vqb=function(a){a&1&&(Wd(),I(0,"svg",9),K(1,"path",10),J())},wqb=function(a){if(a&1){var b=x();I(0,"input",11);Xg("ngModelChange",function(c){z(b);var d=P();Wg(d.editingValue,c)||(d.editingValue=c);return A(c)});J()}a&2&&(a=P(),Vg("ngModel",a.editingValue))},xqb=function(a){return a!=null?Number(a):void 0},yqb=function(a){a&1&&K(0,"mat-icon",4);a&2&&(P(),a=L(5),F("onedevHovercardTrigger",a))},zqb=function(a){if(a&
1){var b=x();I(0,"onedev-numeric-field",10);M("valueChange",function(d){z(b);var e=P(2);e.selectedNumericEstimate=d;d==null?e.effortChange.emit(void 0):e.effortChange.emit({estimate:String(d)});return A()});J()}if(a&2){a=P(2);var c=L(2);F("value",a.selectedNumericEstimate)("valueTemplate",c)("disabled",a.disabled)("displayEditIcon",!a.disabled)}},Aqb=function(a){a&1&&Q(0);a&2&&(a=P().$implicit,R(" ",a.label," "))},Bqb=function(a){a&1&&Q(0," -- ")},Cqb=function(a,b){a&1&&D(0,Aqb,1,1)(1,Bqb,1,0);a&
2&&G(b.$implicit?0:1)},Eqb=function(a){if(a&1){var b=x();I(0,"onedev-single-select",11);M("valueChange",function(e){z(b);var f=P(2);return A(f.selectOption(e))});J();D(1,Cqb,2,1,"ng-template",null,2,fh)}if(a&2){var c;a=L(2);var d=P(2);F("value",d.selectedOption)("options",(c=d.effortSpec.enumSpec==null?null:d.effortSpec.enumSpec.options)!==null&&c!==void 0?c:ah(6,Dqb))("includeEmptyOption",!0)("optionTemplate",a)("disabled",d.disabled)("displayArrowIcon",!d.disabled)}},Gqb=function(a){a&1&&Q(0);a&
2&&(a=P(2),R(" ",a.effort==null?null:a.effort.estimate," "))},Hqb=function(a){a&1&&(I(0,"onedev-edit-field")(1,"onedev-field-label",3),Q(2),D(3,yqb,1,1,"mat-icon",4),J(),I(4,"onedev-hovercard",null,1)(6,"div",5)(7,"div",6),Q(8," This estimate was made under a different configuration and needs to be updated. "),I(9,"a",7),Q(10,"Learn more"),J()()()(),I(11,"onedev-field-value",8),D(12,zqb,1,4,"onedev-numeric-field",9)(13,Eqb,3,7)(14,Gqb,1,1),J()());if(a&2){var b;a=P();C();F("thinking",a.thinking);C();
R(" ",a.fieldName," ");C();G(a.isCompatibleValue?-1:3);C(8);F("thinking",a.thinking);C();G((b=a.fieldType)==="NUMERIC"?12:b==="DROPDOWN"?13:14)}},Iqb=function(a){a&1&&Q(0);a&2&&(a=P(2),R(" ",a.effort==null?null:a.effort.estimate," "))},Jqb=function(a){a&1&&Q(0);a&2&&(a=P().$implicit,R(" ",a!=null?a:"--"," "))},Kqb=function(a,b){a&1&&D(0,Iqb,1,1)(1,Jqb,1,1);a&2&&(a=b.$implicit,b=P(),G(b.isNaN(a)?0:1))},Lqb=function(a){a&1&&Q(0," -- ")},Mqb=function(a){a&1&&(I(0,"div",12),Q(1),J(),I(2,"div",13),Q(3),
J());a&2&&(a=P(),C(),Tg(a.staffingUserSummary),C(2),Tg(a.staffingPlaceholderSummary))},Nqb=function(a){a&1&&K(0,"mat-icon",3)},Oqb=function(a){a&1&&K(0,"mat-icon",10)},Pqb=function(a){a&1&&K(0,"mat-icon",11)},Qqb=function(a){a&1&&(I(0,"span"),K(1,"b-formatted-date-time",20),J());a&2&&(a=P(2),C(),F("timestamp",a.sloStartTime))},Rqb=function(a){a&1&&(I(0,"span"),K(1,"b-formatted-date-time",20),I(2,"span"),Q(3," (default)"),J()());a&2&&(a=P(2),C(),F("timestamp",a.issueCreationTimestamp/1E3))},Sqb=function(a){if(a&
1){var b=x();I(0,"slo-edit-date-time-picker",21);M("closePicker",function(){z(b);var c=P(2);return A(c.isSloStartEditTimePickerOpen=!1)})("sloEditCommit",function(c){z(b);var d=P(2);return A(d.updateSloStartTime(c))});J()}a&2&&(a=P(2),F("sloStatus",a.sloStatus)("sloEditTime",a.sloStartTime))},Tqb=function(a){if(a&1){var b=x();I(0,"div",13)(1,"a",16);Q(2," Start Date: ");J();I(3,"div",17)(4,"a",18,0);M("keydown.enter",function(){z(b);var d=P();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;
return A()})("keydown.space",function(){z(b);var d=P();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return A()})("click",function(){z(b);var d=P();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return A()});D(6,Qqb,2,1,"span")(7,Rqb,4,1,"span");J();D(8,Sqb,1,2,"ng-template",19);J()()}if(a&2){a=L(5);var c=P();C(6);G(c.hasSloStartTime?6:7);C(2);F("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",c.isSloStartEditTimePickerOpen)}},Uqb=function(a){a&1&&(I(0,"span"),
Q(1," Set closure SLO "),J())},Vqb=function(a){a&1&&(I(0,"span"),K(1,"b-formatted-date-time",20),J());a&2&&(a=P(2),C(),F("timestamp",a.sloEndTime))},Wqb=function(a){a&1&&(I(0,"span"),K(1,"b-formatted-date-time",20),I(2,"span"),Q(3," (default)"),J()());a&2&&(a=P(2),C(),F("timestamp",a.closureSloTarget*1E3))},Xqb=function(a){if(a&1){var b=x();I(0,"slo-edit-date-time-picker",21);M("closePicker",function(){z(b);var c=P(2);return A(c.isSloEndEditTimePickerOpen=!1)})("sloEditCommit",function(c){z(b);var d=
P(2);return A(d.updateSloEndTime(c))});J()}a&2&&(a=P(2),F("sloStatus",a.sloStatus)("sloEditTime",a.sloEndTime))},Yqb=function(a){if(a&1){var b=x();I(0,"div",14)(1,"a",16);Q(2," End Date: ");J();I(3,"div",17)(4,"a",22,0);M("click",function(){z(b);var d=P();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return A()})("keydown.enter",function(){z(b);var d=P();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return A()})("keydown.space",function(){z(b);var d=P();d.isSloEndEditTimePickerOpen=
!d.isSloEndEditTimePickerOpen;return A()});D(6,Uqb,2,0,"span")(7,Vqb,2,1,"span")(8,Wqb,4,1,"span");J();D(9,Xqb,1,2,"ng-template",19);J()()}if(a&2){a=L(5);var c=P();C(6);G(c.hasClosureSlo?-1:6);C();G(c.hasClosureSlo&&c.hasSloEndTime?7:-1);C();G(c.hasClosureSlo&&!c.hasSloEndTime?8:-1);C();F("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",c.isSloEndEditTimePickerOpen)}},Zqb=function(a,b){if(a&1){var c=x();I(0,"a",24);M("click",function(){z(c);var d=P(2);return A(d.trackOpenSlo())});Q(1);J()}a&
2&&(a=P(2),eg("href",a.editSloLink,of),C(),R(" ",b.name," "))},$qb=function(a){a&1&&(I(0,"div",15),Q(1," SLO definition: "),D(2,Zqb,2,2,"a",23),S(3,"async"),J());if(a&2){var b;a=P();C(2);G((b=U(3,1,a.slo$))?2:-1,b)}},arb=function(a){if(a&1){var b=x();I(0,"div",15)(1,"a",25);M("click",function(){z(b);P();vo("component","open","fromIssueSloBox");return A()});Q(2,"Select an SLO");J()()}a&2&&(a=P(),C(),eg("href",a.componentSloLink,of))},brb=function(a){return a&&a.teamId!=="0"?a.deleted?"DELETED":"VALID":
"MISSING"},crb=function(a){a&1&&xg(0)},drb=function(a){if(a&1){var b=x();I(0,"div",3);Q(1," Select a team from the suggestions below, or edit in ");I(2,"a",6);M("click",function(){z(b);var d=P();return A(d.trackClick("viewTeamAssociationOnComponent"))});Q(3,"component settings");J();Q(4,". ");I(5,"mat-radio-group",7);Xg("ngModelChange",function(d){z(b);var e=P();Wg(e.teamAction,d)||(e.teamAction=d);return A(d)});I(6,"p")(7,"mat-radio-button",8);Q(8," Don't make any changes ");J()();I(9,"p")(10,"mat-radio-button",
9);Q(11," Map component to selected team ");J()()();D(12,crb,1,0,"ng-container",10);J()}if(a&2){a=P();var c=L(5);C(2);F("href",a.componentSetting,of);C(3);Vg("ngModel",a.teamAction);C(7);F("ngTemplateOutlet",c)}},erb=function(a){a&1&&xg(0)},frb=function(a){a&1&&(I(0,"div",3),Q(1," Assigned team no longer exists, select a different team from the suggestions below, or edit/opt out of team mapping in "),I(2,"a",11),Q(3,"component settings"),J(),Q(4,". "),D(5,erb,1,0,"ng-container",10),J());if(a&2){a=
P();var b=L(5);C(2);F("href",a.componentSetting,of);C(3);F("ngTemplateOutlet",b)}},grb=function(a){a&1&&(I(0,"span",16),Q(1),J());a&2&&(a=P().$implicit,C(),Tg(a.teamPath))},hrb=function(a){a&1&&Q(0," -- ")},irb=function(a,b){a&1&&D(0,grb,2,1,"span",16)(1,hrb,1,0);a&2&&G(b.$implicit?0:1)},jrb=function(a){if(a&1){var b=x();I(0,"div",12)(1,"onedev-single-select",13);Xg("valueChange",function(d){z(b);var e=P(2);Wg(e.selectedTeam,d)||(e.selectedTeam=d);return A(d)});M("valueChange",function(d){z(b);var e=
P(2);return A(e.selectOption(d))});J();D(2,irb,2,1,"ng-template",null,1,fh);I(4,"a",14);M("click",function(){z(b);var d=P(2);return A(d.trackClick("viewTeamInMoma"))});K(5,"mat-icon",15);J()()}if(a&2){a=L(3);var c=P(2);C();F("disabled",c.teamAction==="NONE");Vg("value",c.selectedTeam);F("options",c.teamOptions)("includeEmptyOption",!1)("optionTemplate",a);C(3);eg("href",c.getMomaTeamLink(),of)}},krb=function(a){a&1&&D(0,jrb,6,6,"div",12);a&2&&(a=P(),G(a.teamOptions.length>0?0:-1))},lrb=function(a){if(a&
1){var b=x();I(0,"b-callout-actions")(1,"b-button",1);M("click",function(){z(b);var c=P();return A(c.openDialog())});Q(2);J()()}a&2&&(a=P(),C(2),Tg(a.buttonName))},mrb=function(){function a(){var c,d,e;return(c=window.google)==null?void 0:(d=c.corp)==null?void 0:(e=d.devops)==null?void 0:e.tools}var b=100;return new Promise(function(c,d){function e(){var f=a();f!=null?c(f):(setTimeout(e,b),b*=2)}e();setTimeout(function(){var f=a();f!=null?c(f):d("timeout: 5000")},5E3)})},nrb=function(a){return["PROD",
"NIGHTLY"].includes(a)?"production":"autopush"},orb=function(a){a&1&&xg(0)},prb=function(a){a&1&&D(0,orb,1,0,"ng-container",47);a&2&&(P(),a=L(93),F("ngTemplateOutlet",a))},rrb=function(a,b){a&1&&(K(0,"b-list-field",48),S(1,"async"));a&2&&(a=P(3),F("readonly",!0)("defaultLineCount",3)("title","Team")("type",a.ListFieldType.TEAM)("values",bh(8,qrb,b))("showInternalOnlyFieldBadge",!U(1,6,a.issueIsOnInternalComponent$)))},srb=function(a){a&1&&(D(0,rrb,2,10,"b-list-field",48),S(1,"async"));if(a&2){var b;
a=P(2);G((b=U(1,1,a.teamHovercardInputs$))?0:-1,b)}},urb=function(a){if(a&1){var b=x();I(0,"div",49)(1,"b-team-warning",50);S(2,"async");S(3,"async");M("updateTeam",function(){z(b);var h=P(3);h.issueFullFridge.poke(h.issueId);return A()});J()()}if(a&2){var c,d;a=P();var e=P(),f=P();C();F("warningType",a)("componentId",e.componentId)("parentComponentId",((c=U(2,4,f.component$))==null?null:c.parentComponentId)||0)("teamSuggestions",(d=U(3,6,f.teamSuggestions$))!==null&&d!==void 0?d:ah(8,trb))}},vrb=
function(a){a&1&&(D(0,urb,4,9,"div",49),S(1,"async"));a&2&&(a=P(2),G(U(1,1,a.shouldDisplayTeamSuggestions$)?0:-1))},wrb=function(a){a&1&&xg(0)},xrb=function(a){a&1&&D(0,wrb,1,0,"ng-container",47);a&2&&(P(),a=L(95),F("ngTemplateOutlet",a))},yrb=function(a,b){if(a&1){var c=x();I(0,"div",51);K(1,"div",52);I(2,"span",53);S(3,"async");S(4,"async");M("click",function(){var d=z(c),e=P(3);return A(vu(e,d))})("keydown.enter",function(d){var e=z(c);vu(P(3),e);d.stopPropagation();return A(d.preventDefault())})("keydown.space",
function(d){var e=z(c);vu(P(3),e);d.stopPropagation();return A(d.preventDefault())});Q(5);J()()}a&2&&(a=P(3),C(2),ng("disabled",!!U(3,6,a.isSaving$("status"))),F("matTooltip",b.description||""),eg("aria-disabled",!!U(4,8,a.isSaving$("status")))("aria-label",b.displayText||null),C(3),R(" ",b.displayText," "))},zrb=function(a){a&1&&(D(0,yrb,6,10,"div",51),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.issueStatusQuickAction$))?0:-1,b)}},Arb=function(a){a&1&&(I(0,"div",24),K(1,"b-edit-field",54,15),
S(3,"async"),I(4,"div",51),K(5,"div",52),I(6,"a",55),S(7,"async"),Q(8," Open triage "),J()()());a&2&&(a=P(2),C(),F("name","phase")("title","Triage phase")("type",a.FieldType.ENUM)("value",U(3,8,a.triagePhase$))("choices",a.phaseChoices)("showHotkeyHint",!1)("disabled",!0),C(5),F("href",U(7,10,a.triagePhaseUrl$),of))},Brb=function(a){a&1&&(K(0,"b-issue-card",56,16),S(2,"async"));if(a&2){a=L(1);var b=P(2);F("onedevIsHovercardReady",a.init)("issueId",U(2,2,b.canonicalIssueId$))}},Drb=function(a){if(a&
1){var b=x();I(0,"b-estimated-effort-row",57);S(1,"async");S(2,"async");S(3,"async");M("effortChange",function(e){z(b);var f=P(2);return A(Crb(f.editIssueService,f.issueId,e))});J()}if(a&2){var c,d;a=P(2);F("effort",(c=U(1,3,a.effort$))!==null&&c!==void 0?c:void 0)("effortSpec",(d=U(2,5,a.effortSpec$))!==null&&d!==void 0?d:void 0)("disabled",!U(3,7,a.hasAclToEdit$))}},Erb=function(a){a&1&&(I(0,"div"),Q(1," Expanded access is turned on for this component. Assignees, verifiers and collaborators can edit issues in this component, and CC'd users can comment on them. "),
I(2,"a",61),Q(3,"Learn more"),J()());a&2&&(a=P(3),C(2),F("href",oq(a.documentationLinks)+"#expanded-access",of))},Frb=function(a){a&1&&(I(0,"div",38)(1,"span",58),Q(2,"Expanded Access"),J(),I(3,"xap-bubble",59)(4,"xap-icon-trigger"),K(5,"mat-icon",60),J(),D(6,Erb,4,1,"ng-template",null,17,fh),J()());a&2&&(a=L(7),C(3),F("panelTemplate",a))},Grb=function(a){a&1&&(I(0,"span",65),S(1,"async"),Q(2),J());if(a&2){a=P();var b=P(3);ng("disabled",!!U(1,3,b.isSaving$("assignee")));C(2);R(" ",a.displayText," ")}},
Hrb=function(a,b){if(a&1){var c=x();I(0,"div",63);S(1,"async");M("onHotkey",function(){var d=z(c),e=P(3);return A(vu(e,d))})("click",function(){var d=z(c),e=P(3);return A(vu(e,d))})("keydown.enter",function(d){var e=z(c);vu(P(3),e);d.stopPropagation();return A(d.preventDefault())})("keydown.space",function(d){var e=z(c);vu(P(3),e);d.stopPropagation();return A(d.preventDefault())});K(2,"div",52);D(3,Grb,3,5,"span",64);S(4,"async");J()}a&2&&(a=P(3),F("hotkey",a.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",
b.description),eg("aria-disabled",!!U(1,5,a.isSaving$("assignee")))("aria-label",b.description),C(3),G(U(4,7,a.hasAclToEdit$)?3:-1))},Irb=function(a){a&1&&(D(0,Hrb,5,9,"div",62),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.issueAssigneeQuickAction$))?0:-1,b)}},Jrb=function(a){a&1&&xg(0)},Krb=function(a){a&1&&D(0,Jrb,1,0,"ng-container",47);a&2&&(P(),a=L(97),F("ngTemplateOutlet",a))},Lrb=function(a){a&1&&K(0,"b-list-field",44);if(a&2){a=P();var b=P(2);F("readonly",!0)("defaultLineCount",3)("title",
"TaskFlow Workspaces")("type",b.ListFieldType.WORKSPACES)("values",a)("tooltip","Links to TaskFlow workspaces this issue belongs to")}},Mrb=function(a,b){a&1&&(D(0,Lrb,1,6,"b-list-field",44),S(1,"async"));a&2&&(a=P(2),G(U(1,1,a.shouldDisplayWtdmUi$)&&b.length?0:-1))},Nrb=function(a){a&1&&(K(0,"b-staffing-row",43),S(1,"async"),S(2,"async"));if(a&2){var b;a=P(2);F("staffing",(b=U(1,3,a.staffing$))!==null&&b!==void 0?b:void 0)("issueId",a.issueId)("isAllowedToEdit",U(2,5,a.hasAclToEdit$))}},Orb=function(a){a&
1&&K(0,"b-list-field",44);if(a&2){a=P();var b=P();F("readonly",!0)("defaultLineCount",3)("title","Postmortems")("type",b.ListFieldType.POSTMORTEMS)("values",a.postmortems)("tooltip","Postmortems (auto-populated from a daily dump of Requiem)")}},Qrb=function(a,b){a&1&&(I(0,"div"),xg(1,66),J());a&2&&(a=b.$implicit,P(),b=L(109),C(),F("ngTemplateOutlet",b)("ngTemplateOutletContext",bh(2,Prb,a)))},Rrb=function(a){a&1&&xg(0)},Srb=function(a){a&1&&D(0,Rrb,1,0,"ng-container",47);a&2&&(P(),a=L(107),F("ngTemplateOutlet",
a))},Trb=function(a){a&1&&K(0,"hr",45)},Urb=function(a){a&1&&xg(0)},Vrb=function(a){a&1&&D(0,Urb,1,0,"ng-container",47);a&2&&(P(2),a=L(93),F("ngTemplateOutlet",a))},Wrb=function(a){a&1&&xg(0)},Xrb=function(a){a&1&&D(0,Wrb,1,0,"ng-container",47);a&2&&(P(2),a=L(95),F("ngTemplateOutlet",a))},Yrb=function(a){a&1&&xg(0)},Zrb=function(a){a&1&&D(0,Yrb,1,0,"ng-container",47);a&2&&(P(2),a=L(97),F("ngTemplateOutlet",a))},$rb=function(a,b){a&1&&(I(0,"div"),xg(1,66),J());a&2&&(a=b.$implicit,P(2),b=L(109),C(),
F("ngTemplateOutlet",b)("ngTemplateOutletContext",bh(2,Prb,a)))},asb=function(a){a&1&&xg(0)},bsb=function(a){a&1&&D(0,asb,1,0,"ng-container",47);a&2&&(P(2),a=L(107),F("ngTemplateOutlet",a))},csb=function(a){a&1&&(I(0,"collapsible-panel",46),S(1,"async"),D(2,Vrb,1,1,"ng-container"),S(3,"async"),D(4,Xrb,1,1,"ng-container"),S(5,"async"),D(6,Zrb,1,1,"ng-container"),S(7,"async"),tg(8,$rb,2,4,"div",null,x()[15][8].trackCustomField,!0),S(10,"async"),D(11,bsb,1,1,"ng-container"),S(12,"async"),J());if(a&2){var b;
a=P(2);F("titleWhenCollapsed",(b=U(1,6,a.showHiddenFieldsLabel$))!==null&&b!==void 0?b:"")("titleWhenExpanded","Hide additional fields");C(2);G(a.showSloStatus&&!U(3,8,a.isSloStatusPrimary$)?2:-1);C(2);G(U(5,10,a.isSeverityPrimary$)?-1:4);C(2);G(a.showCodeChanges&&!U(7,12,a.isChangelistPrimary$)?6:-1);C(2);ug(U(10,14,a.hiddenCustomFields$));C(3);G(U(12,16,a.isForgottenFourPrimary$)?-1:11)}},dsb=function(a){if(a&1){var b=x();I(0,"b-issue-slo-box",68);S(1,"async");S(2,"async");S(3,"async");S(4,"async");
S(5,"async");M("onSloStartTimeChange",function(h){z(b);var l=P(3);return A(l.editIssueService.updateSloStartTime(l.issueId,h.date))})("onSloEndTimeChange",function(h){z(b);var l=P(3);return A(l.editIssueService.updateSloEndTime(l.issueId,h.date))});J()}if(a&2){var c,d,e;a=P(2);var f=P();F("sloStatus",(c=U(1,8,f.sloStatus$))!==null&&c!==void 0?c:void 0)("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloId",(d=U(2,10,f.sloId$))!==null&&d!==void 0?d:void 0)("componentId",a.componentId)("isEditable",
!!U(3,12,f.hasAclToEdit$))("issueCreationTimestamp",(e=U(4,14,f.createdTimeMicros$))!==null&&e!==void 0?e:0)("showInternalOnlyFieldBadge",!U(5,16,f.issueIsOnInternalComponent$))}},esb=function(a){a&1&&D(0,dsb,6,18,"ng-template",67);a&2&&(a=P(2),F("refreshable",a.refreshMonitor.getObservable()))},gsb=function(a){if(a&1){var b=x();I(0,"b-edit-field",69);S(1,"async");S(2,"async");M("valueChange",function(d){z(b);var e=P(2);return A(fsb(e.editIssueService,e.issueId,d!==null&&d!==void 0?d:""))});J()}if(a&
2){a=P();var c=P();F("name","severity")("title","Severity")("type",c.FieldType.ENUM)("tooltip","Set severity, which reflects how much the issue affects the use of the product")("value",a.severity)("choices",c.severityChoices)("readonly",!U(1,8,c.hasAclToEdit$))("disabled",!!U(2,10,c.isSaving$("severity")))}},hsb=function(a){if(a&1){var b=x();I(0,"insights-graph-btn",72);M("pressed",function(){z(b);var c=P(3);return A(c.issueInsightsSidebarService.onClickButton("deployments"))});J()}},ksb=function(a){if(a&
1){var b=x();I(0,"b-list-field",70);S(1,"async");S(2,"async");M("valuesChange",function(h){z(b);var l=P(2),q=[],v=[];h=k(h.values);for(var y=h.next();!y.done;y=h.next()){y=y.value;var E=Lk(y);E?q.push(E):v.push(y)}isb(l.editIssueService,l.issueId,v);jsb(l.editIssueService,l.issueId,q);return A()});I(3,"div",71);D(4,hsb,1,0,"insights-graph-btn");S(5,"async");J()();K(6,"b-list-field",44);S(7,"async");S(8,"async");S(9,"async")}if(a&2){var c,d,e;a=P();var f=P();F("readonly",!U(1,16,f.hasAclToEdit$))("defaultLineCount",
3)("title","Code Changes")("inputValidator",f.codeChangesValidator)("type",f.ListFieldType.CODE_CHANGES)("values",CZa(a,f.sessionIsExternal))("listFieldDisabled",!!U(2,18,f.isSaving$("changelists")));C(4);G(U(5,20,f.issueInsightsSidebarService.shouldShowInsightsGraphButton$)?4:-1);C(2);ng("bv2-issue-metadata-error",(c=U(7,22,f.pendingCodeChanges$))==null?null:c.hasError);F("readonly",!0)("defaultLineCount",3)("title","Pending Code Changes")("type",f.ListFieldType.CODE_CHANGES)("values",((d=U(8,24,
f.pendingCodeChanges$))==null?null:d.changes)||ah(28,trb))("tooltip",((e=U(9,26,f.pendingCodeChanges$))==null?0:e.hasError)?"Error fetching pending changelists":"Pending code changes (auto-populated)")}},msb=function(a){if(a&1){var b=x();I(0,"b-edit-field",73);S(1,"csv");S(2,"async");S(3,"async");M("valueChange",function(d){z(b);var e=P(2);return A(lsb(e.editIssueService,e.issueId,d!==null&&d!==void 0?d:""))});J()}if(a&2){a=P();var c=P();F("name","foundInVersion")("title","Found In")("type",c.FieldType.TEXT)("multiline",
!0)("tooltip","Set the version(s) of the product affected by this issue (comma-separated list)")("value",U(1,8,a.foundInVersion))("readonly",!U(2,10,c.hasAclToEdit$))("disabled",!!U(3,12,c.isSaving$("foundInVersion")))}},osb=function(a){if(a&1){var b=x();I(0,"b-edit-field",74);S(1,"csv");S(2,"async");S(3,"async");M("valueChange",function(d){z(b);var e=P(2);return A(nsb(e.editIssueService,e.issueId,d!==null&&d!==void 0?d:""))});J()}if(a&2){a=P();var c=P();F("name","targetedToVersion")("title","Targeted To")("type",
c.FieldType.TEXT)("multiline",!0)("tooltip","Set the version(s) of the product in which the issue should be fixed (comma-separated list)")("value",U(1,8,a.targetedToVersion))("readonly",!U(2,10,c.hasAclToEdit$))("disabled",!!U(3,12,c.isSaving$("targetedToVersion")))}},qsb=function(a){if(a&1){var b=x();I(0,"b-edit-field",73);S(1,"csv");S(2,"async");S(3,"async");M("valueChange",function(d){z(b);var e=P(2);return A(psb(e.editIssueService,e.issueId,d!==null&&d!==void 0?d:""))});J()}if(a&2){a=P();var c=
P();F("name","verifiedInVersion")("title","Verified In")("type",c.FieldType.TEXT)("multiline",!0)("tooltip","Set the version(s) of the product in which the issue fix was verified (comma-separated list)")("value",U(1,8,a.verifiedInVersion))("readonly",!U(2,10,c.hasAclToEdit$))("disabled",!!U(3,12,c.isSaving$("verifiedInVersion")))}},ssb=function(a){if(a&1){var b=x();I(0,"b-edit-field",75);S(1,"async");S(2,"async");M("valueChange",function(d){z(b);var e=P(2);return A(rsb(e.editIssueService,e.issueId,
d!==null&&d!==void 0?d:!1))});J()}if(a&2){a=P();var c=P();F("name","inProd")("title","In Prod")("type",c.FieldType.BOOL)("value",a.inProd)("tooltip","Set if this issue occurs in production")("readonly",!U(1,7,c.hasAclToEdit$))("disabled",!!U(2,9,c.isSaving$("inProd")))}},tsb=function(a){a&1&&xg(0)},usb=function(a){a&1&&xg(0)},vsb=function(a){a&1&&xg(0)},wsb=function(a){a&1&&xg(0)},xsb=function(a){a&1&&(I(0,"div",20),D(1,tsb,1,0,"ng-container",47)(2,usb,1,0,"ng-container",47)(3,vsb,1,0,"ng-container",
47)(4,wsb,1,0,"ng-container",47),J());if(a&2){P();a=L(99);var b=L(101),c=L(103),d=L(105);C();F("ngTemplateOutlet",a);C();F("ngTemplateOutlet",b);C();F("ngTemplateOutlet",c);C();F("ngTemplateOutlet",d)}},zsb=function(a,b){if(a&1){var c=x();I(0,"b-custom-field-editor",76);S(1,"async");S(2,"async");M("save",function(e){var f=z(c).$implicit,h=P(2);return A(ysb(h.editIssueService,h.issueId,f.customFieldId,e))});J()}if(a&2){a=b.$implicit;b=P();var d=P();F("issue",b)("field",a)("readonly",!U(1,4,d.hasAclToEdit$))("disabled",
!!U(2,6,d.isSaving$(a.customFieldId)))}},Msb=function(a,b){if(a&1){var c=x();D(0,prb,1,1,"ng-container");S(1,"async");D(2,srb,2,3)(3,vrb,2,3);S(4,"async");I(5,"b-single-user-control",18);S(6,"async");M("valueChange",function(E){z(c);var H=P();return A(Asb(H,E))})("emailChange",function(E){z(c);var H=P();return A(Bsb(H.editIssueService,H.issueId,E))});J();I(7,"b-edit-field",19,0);S(9,"async");S(10,"async");M("valueChange",function(E){z(c);var H=L(8),O=P();return A(Csb(O,H,E!==null&&E!==void 0?E:"",
Xo(O.trackerId$)))});J();I(11,"div",20)(12,"b-edit-field",21,1);S(14,"async");S(15,"async");M("onHotkey",function(){z(c);var E=L(13);return A(eq(E,null,!0,!1))})("valueChange",function(E){z(c);var H=P();return A(Dsb(H.editIssueService,H.issueId,E!==null&&E!==void 0?E:""))});J();D(16,xrb,1,1,"ng-container");S(17,"async");J();I(18,"div",22)(19,"b-edit-field",23,2);S(21,"async");S(22,"async");S(23,"async");S(24,"async");M("onHotkey",function(){z(c);var E=L(20);return A(eq(E,null,!0,!1))})("valueChange",
function(E){z(c);var H=P();return A(Esb(H,E!==null&&E!==void 0?E:""))});J();D(25,zrb,2,3);S(26,"async");J();D(27,Arb,9,12,"div",24);I(28,"onedev-hovercard",null,3);D(30,Brb,3,4,"b-issue-card",25);J();D(31,Drb,4,9,"b-estimated-effort-row",26);S(32,"async");S(33,"async");I(34,"div",27)(35,"div",28)(36,"div",29)(37,"label");Q(38,"Access");J()();I(39,"div",30)(40,"span",31);Q(41);S(42,"async");J();I(43,"div",32);S(44,"async");S(45,"async");M("click",function(){z(c);var E=P();return A(E.toggleAccessLimits())})("keydown.enter",
function(E){z(c);var H=P();return A(H.toggleAccessLimitsWithKeystroke(E))})("keydown.space",function(E){z(c);var H=P();return A(H.toggleAccessLimitsWithKeystroke(E))});I(46,"span");Q(47);S(48,"async");J()()()();I(49,"onedev-hovercard",null,4)(51,"div",33)(52,"div",34)(53,"span",35);Q(54," Issue access level can only be set by Issue admins and it enables issue-level access control. ");I(55,"a",36);Q(56,"Learn more");J()()()()()();I(57,"div",37);S(58,"async");D(59,Frb,8,1,"div",38);S(60,"async");I(61,
"b-single-user-control",39,5);S(63,"async");M("onHotkey",function(){z(c);var E=L(62);return A(E.openEditor())})("valueChange",function(E){z(c);var H=P();return A(Fsb(H,E))})("emailChange",function(E){z(c);var H=P();return A(Gsb(H.editIssueService,H.issueId,E))});J();D(64,Irb,2,3);S(65,"async");I(66,"b-single-user-control",40);S(67,"async");M("valueChange",function(E){z(c);var H=P();return A(Hsb(H,E))})("emailChange",function(E){z(c);var H=P();return A(Isb(H.editIssueService,H.issueId,E))});J();vg(68);
I(69,"b-multi-user-control",41);S(70,"async");S(71,"async");S(72,"async");M("userInclusionToggle",function(){z(c);var E=P();return A(E.toggleCollaborators())})("valueChange",function(E){z(c);var H=P();return A(Jsb(H,E))})("toggleAccessLimits",function(){z(c);var E=P();return A(E.toggleAccessLimits())});J();I(73,"b-multi-user-control",42);S(74,"async");S(75,"async");S(76,"async");M("userInclusionToggle",function(){z(c);var E=P();return A(Ksb(E))})("valueChange",function(E){z(c);var H=P();return A(Lsb(H,
E))});J();wg();J();D(77,Krb,1,1,"ng-container");S(78,"async");D(79,Mrb,2,3);S(80,"async");D(81,Nrb,3,7,"b-staffing-row",43)(82,Orb,1,6,"b-list-field",44);tg(83,Qrb,2,4,"div",null,x()[15][8].trackCustomField,!0);S(85,"async");D(86,Srb,1,1,"ng-container");S(87,"async");D(88,Trb,1,0,"hr",45);S(89,"async");D(90,csb,13,18,"collapsible-panel",46);S(91,"async");D(92,esb,1,1,"ng-template",null,6,fh)(94,gsb,3,12,"ng-template",null,7,fh)(96,ksb,10,29,"ng-template",null,8,fh)(98,msb,4,14,"ng-template",null,
9,fh)(100,osb,4,14,"ng-template",null,10,fh)(102,qsb,4,14,"ng-template",null,11,fh)(104,ssb,3,11,"ng-template",null,12,fh)(106,xsb,5,4,"ng-template",null,13,fh)(108,zsb,3,8,"ng-template",null,14,fh)}if(a&2){var d,e,f,h,l,q;a=L(29);var v=L(50),y=P();G(y.showSloStatus&&U(1,95,y.isSloStatusPrimary$)?0:-1);C(2);G(y.sessionIsInternal?2:-1);C();G((d=U(4,97,y.teamWarningType$))?3:-1,d);C(2);F("name","reporter")("title","Reporter")("value",b.reporter)("user",(e=b.reporterUser)!==null&&e!==void 0?e:void 0)("isSaving",
U(6,99,y.isSaving$("reporter")));C(2);F("name","type")("title","Type")("type",y.FieldType.ENUM)("value",b.type)("choices",y.typeChoices)("readonly",!U(9,101,y.hasAclToEdit$))("disabled",!!U(10,103,y.isSaving$("type")));C(5);F("name","priority")("title","Priority")("type",y.FieldType.ENUM)("tooltip","Set priority, which reflects how soon the issue should be fixed")("value",b.priority)("choices",y.priorityChoices)("hotkey",y.HOTKEYS.OPEN_ISSUE_PRIORITY_MENU)("readonly",!U(14,105,y.hasAclToEdit$))("disabled",
!!U(15,107,y.isSaving$("priority")));C(4);G(U(17,109,y.isSeverityPrimary$)?16:-1);C(3);F("name","status")("title","Status")("type",y.FieldType.ENUM)("value",b.status)("choices",(f=U(21,111,y.statusChoices$))!==null&&f!==void 0?f:ah(167,trb))("showHotkeyHint",!0)("hotkey",y.HOTKEYS.OPEN_ISSUE_STATUS_MENU)("readonly",!U(22,113,y.hasAclToEdit$))("disabled",!!U(23,115,y.isSaving$("status")))("onedevHovercardActive",!!U(24,117,y.canonicalIssueId$))("onedevHovercardTrigger",a);C(6);G(U(26,119,y.hasAclToEdit$)?
25:-1);C(2);G(y.enableTriageView?27:-1);C(4);G(U(32,121,y.isEffortEnabled$)&&U(33,123,y.shouldDisplayEffort$)?31:-1);C(4);F("onedevHovercardTrigger",v)("onedevHovercardActive",!0)("onedevHovercardConfig",y.ACCESS_LIMITS_HOVERCARD_CONFIG);C(6);Tg(y.getAccessLimitLevelDisplay(U(42,125,y.accessLimitLevel$)));C(2);F("matTooltip",U(44,127,y.hasAclToAdmin$)?"Manage issue level access limits(Press Alt + Right arrow for more information)":"View issue level access limits(Press Alt + Right arrow for more information)");
eg("aria-label",U(45,129,y.hasAclToAdmin$)?"Edit":"View");C(4);R(" ",U(48,131,y.hasAclToAdmin$)?"Edit":"View"," ");C(8);F("href",y.documentationLinks.getIssueAccessLimit(),of);C(2);ng("implicit-access-box",U(58,133,y.isImplicitAccessEnabled$));C(2);G(U(60,135,y.isImplicitAccessEnabled$)?59:-1);C(2);F("name","assignee")("title","Assignee")("hotkey",y.HOTKEYS.CHANGE_ASSIGNEE)("value",b.assignee)("user",(h=b.assigneeUser)!==null&&h!==void 0?h:void 0)("isSaving",U(63,137,y.isSaving$("assignee")));C(3);
G(y.defaultAssigneeQuickActionEnabled&&U(65,139,y.hasAclToEdit$)?64:-1);C(2);F("name","verifier")("title","Verifier")("value",b.verifier)("user",(l=b.verifierUser)!==null&&l!==void 0?l:void 0)("isSaving",U(67,141,y.isSaving$("verifier")));C(3);F("title","Collaborators")("values",b.collaborators)("users",b.collaboratorsUsers)("includeSelfActionDescription","Add me")("includeSelfActionLongDescription","Add yourself to collaborators")("removeSelfActionDescription","Remove me")("removeSelfActionLongDescription",
"Remove yourself from collaborators")("collectionHovercardDescription","Collaborators are people directly working on this issue.")("isSaving",U(70,143,y.isSaving$("collaborators")))("isCurrentUserInCollection",U(71,145,y.isCurrentUserCollaborator$))("isAllowedToEditCollection",U(72,147,y.hasAclToEdit$))("iconName","groups_24px")("inputValidator",y.collaboratorUserPrincipalValidator)("checkAccessLimits",!0);C(4);F("title","CC")("values",b.cc)("users",b.ccUsers)("includeSelfActionDescription","CC me")("includeSelfActionLongDescription",
"Add yourself to CC")("removeSelfActionDescription","Un-CC me")("removeSelfActionLongDescription","Remove yourself from CC")("collectionHovercardDescription","CC are users who want to receive updates.")("isSaving",U(74,149,y.isSaving$("ccs")))("isCurrentUserInCollection",U(75,151,y.isCurrentUserCCd$))("isAllowedToEditCollection",U(76,153,y.isAllowedToEditCC$))("iconName","add_alert_24px");C(4);G(y.showCodeChanges&&U(78,155,y.isChangelistPrimary$)?77:-1);C(2);G((q=U(80,157,y.workspaces$))?79:-1,q);
C(2);G(y.enablePlannedAllocationsUi?81:-1);C();G(!y.sessionIsExternal&&(b.postmortems==null?0:b.postmortems.length)?82:-1);C();ug(U(85,159,y.visibleCustomFields$));C(3);G(U(87,161,y.isForgottenFourPrimary$)?86:-1);C(2);G(U(89,163,y.hasHiddenFields$)?88:-1);C(2);G(U(91,165,y.hasHiddenFields$)?90:-1)}},Nsb=function(a,b){if(a&1){var c=x();I(0,"a",18);M("click",function(){z(c);P().analytics.trackEvent("issueSidebar","navigate","issueDetailsPage");return A()});I(1,"span",19);Q(2,"Navigate to issue ");
J();Q(3);J();I(4,"button",20);M("click",function(){var d=z(c),e=P();return A(e.copyIssueId(d))});K(5,"mat-icon",21);J()}a&2&&(Fg("href","/issues/",b,"",of),C(3),R(" ",b," "))},Osb=function(a,b){if(a&1){var c=x();I(0,"b-app-vote-button",22);M("onVote",function(d){z(c);var e=P();return A(e.upvoted(d))});J()}a&2&&F("issueId",b.issueId)("upvoted",!(b.userData==null||!b.userData.voted))("voteCount",(b.aggregatedData==null?null:b.aggregatedData.voteCount)||0)},Qsb=function(a){if(a&1){var b=x();I(0,"span");
Q(1);J();I(2,"button",24);M("click",function(){z(b);var c=P(2);return A(Psb(c))});K(3,"mat-icon",25);J()}a&2&&(a=P(),eg("title",a.snapshot[0].title),C(),R(" ",a.snapshot[0].title," "),C(),F("matTooltipShowDelay",500))},Rsb=function(a){if(a&1){var b=x();I(0,"button",31);M("click",function(){z(b);var c=P(3);return A(wu(c))});Q(1,"Cancel");J()}},Ssb=function(a){a&1&&Q(0," Update title ")},Tsb=function(a){a&1&&xg(0)},Usb=function(a){a&1&&D(0,Tsb,1,0,"ng-container",32);a&2&&(P(3),a=L(23),F("ngTemplateOutlet",
a))},Vsb=function(a){if(a&1){var b=x();I(0,"mat-form-field",26)(1,"textarea",27);Xg("ngModelChange",function(c){z(b);var d=P(2);Wg(d.draftTitle,c)||(d.draftTitle=c);return A(c)});J()();I(2,"div",28);D(3,Rsb,2,0,"button",29);I(4,"button",30);M("click",function(){z(b);var c=P(2);return A(c.saveTitle())});D(5,Ssb,1,0)(6,Usb,1,1,"ng-container");J()()}a&2&&(a=P(2),C(),F("cdkTextareaAutosize",!0)("cdkAutosizeMinRows",1),Vg("ngModel",a.draftTitle),F("bFocus",!0),C(2),G(a.isSavingTitle?-1:3),C(),F("disabled",
a.isSavingTitle),C(),G(a.isSavingTitle?6:5))},Wsb=function(a){a&1&&(I(0,"div",15)(1,"div",23),D(2,Qsb,4,3)(3,Vsb,7,7),J()());a&2&&(a=P(),C(2),G(a.editTitleMode?-1:2),C(),G(a.editTitleMode?3:-1))},Xsb=function(a){a&1&&(I(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"div"),Q(3," AI-generated summaries may contain inaccurate or offensive information that does not represent Google's views. Buganizer and other AI API usage does not store or log the issue's contents for any training purposes. "),
J()()())},Ysb=function(a){if(a&1){var b=x();I(0,"button",54);M("click",function(){z(b);var c=P(5);return A(c.generateIssueSummary())});Q(1," Generate ");J()}},Zsb=function(a){a&1&&K(0,"mat-icon",44)},$sb=function(a){a&1&&K(0,"mat-icon",45)},atb=function(a){if(a&1){var b=x();I(0,"button",55);M("click",function(){z(b);var c=P(5);return A(c.isIssueSummaryExpanded=!c.isIssueSummaryExpanded)});D(1,Zsb,1,0,"mat-icon",44)(2,$sb,1,0,"mat-icon",45);J()}a&2&&(a=P(5),F("matTooltipShowDelay",1E3),eg("aria-expanded",
a.isIssueSummaryExpanded),C(),G(a.isIssueSummaryExpanded?-1:1),C(),G(a.isIssueSummaryExpanded?2:-1))},btb=function(a){a&1&&xg(0,56);a&2&&(P(6),a=L(23),F("ngTemplateOutlet",a))},ctb=function(a){a&1&&K(0,"b-markdown-format-presenter",58);a&2&&(a=P(),F("content",a.formattedSummary))},dtb=function(a){a&1&&(I(0,"div"),Q(1),J());a&2&&(a=P(),C(),R(" ",a.summary," "))},etb=function(a,b){if(a&1){var c=x();D(0,ctb,1,1,"b-markdown-format-presenter",58)(1,dtb,2,1,"div");I(2,"div",57)(3,"button",59);M("click",
function(){var d=z(c),e=P(7);return A(e.copySummary(d))});K(4,"mat-icon",60);J();I(5,"button",61);M("click",function(){var d=z(c),e=P(7);return A(e.openFeedbackDialog(d))});K(6,"mat-icon",62);J();I(7,"button",63);M("click",function(){var d=z(c),e=P(7);return A(e.trackThumbsUp(d))});K(8,"mat-icon",64);J();I(9,"button",65);M("click",function(){var d=z(c),e=P(7);return A(e.trackThumbsDown(d))});K(10,"mat-icon",66);J()()}a&2&&(a=P(7),G(b.formattedSummary?0:1),C(7),F("disabled",a.hasRatedSummary),C(),
ng("has-reacted-icon",a.summaryThumbsUp),C(),F("disabled",a.hasRatedSummary),C(),ng("has-reacted-icon",a.summaryThumbsDown))},ftb=function(a){a&1&&(D(0,etb,11,7,"div",57),S(1,"async"));if(a&2){var b;a=P(6);G((b=U(1,1,a.issueSummary$))?0:-1,b)}},gtb=function(a){a&1&&(I(0,"div",53),D(1,btb,1,1,"ng-container",56)(2,ftb,2,3),J());if(a&2){a=P(2);var b=P(3);C();G(a===b.GENERATING?1:a===b.SUMMARY_VISIBLE?2:-1)}},htb=function(a){a&1&&(I(0,"div",47)(1,"div",34)(2,"div",35),K(3,"mat-icon",48),I(4,"span"),Q(5,
"AI-GENERATED SUMMARY"),J(),I(6,"button",49),K(7,"mat-icon",50),J(),D(8,Xsb,4,0,"ng-template",null,2,fh),J(),D(10,Ysb,2,0,"button",51)(11,atb,3,4,"button",52),J(),D(12,gtb,3,1,"div",53),J());if(a&2){a=L(9);var b=P(),c=P(3);C(6);F("xapInlineDialog",a)("dialogTabIndex",0);C(4);G(b===c.BUTTON?10:-1);C();G(b===c.SUMMARY_VISIBLE?11:-1);C();G(c.isIssueSummaryExpanded?12:-1)}},itb=function(a,b){a&1&&D(0,htb,13,5,"div",47);a&2&&(a=P(3),G(b!==a.HIDDEN?0:-1))},jtb=function(a){a&1&&(D(0,itb,1,1),S(1,"async"));
if(a&2){var b;a=P(2);G((b=U(1,1,a.stage$))?0:-1,b)}},ktb=function(a){a&1&&(I(0,"span"),Q(1," No update yet "),J())},ltb=function(a){if(a&1){var b=x();I(0,"button",67);M("click",function(){z(b);var c=P(2);return A(c.editStatusUpdate())});K(1,"mat-icon",25);J()}a&2&&F("matTooltipShowDelay",1E3)},mtb=function(a){a&1&&K(0,"mat-icon",44)},ntb=function(a){a&1&&K(0,"mat-icon",45)},otb=function(a){if(a&1){var b=x();I(0,"button",68);M("click",function(){z(b);var c=P(2);return A(c.isStatusUpdateExpanded=!c.isStatusUpdateExpanded)});
D(1,mtb,1,0,"mat-icon",44)(2,ntb,1,0,"mat-icon",45);J()}a&2&&(a=P(2),F("matTooltipShowDelay",1E3),eg("aria-expanded",a.isStatusUpdateExpanded),C(),G(a.isStatusUpdateExpanded?-1:1),C(),G(a.isStatusUpdateExpanded?2:-1))},ptb=function(a,b){a&1&&(K(0,"b-note-container",70),S(1,"async"));if(a&2){var c;a=P();var d=P(),e=P(2);F("issueId",b)("note",d)("issueAccessLevel",U(1,4,e.accessLevel$))("formattingMode",(c=a.formattingMode)!==null&&c!==void 0?c:e.FormattingMode.PLAIN)}},qtb=function(a){a&1&&(I(0,"div",
69),D(1,ptb,2,6,"b-note-container",70),S(2,"async"),J());if(a&2){var b;a=P();var c=P(2);C();G((b=a.unlinkifiedComment!==""&&U(2,1,c.issueId$))?1:-1,b)}},rtb=function(a){a&1&&(D(0,qtb,3,3,"div",69),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.statusUpdate$))?0:-1,b)}},stb=function(a){a&1&&(I(0,"span"),Q(1," No description yet "),J())},utb=function(a){if(a&1){var b=x();I(0,"button",74);M("click",function(){z(b);var c=P(3);return A(ttb(c))});K(1,"mat-icon",25);J()}a&2&&F("matTooltipShowDelay",1E3)},
vtb=function(a){a&1&&K(0,"mat-icon",44)},wtb=function(a){a&1&&K(0,"mat-icon",45)},xtb=function(a){if(a&1){var b=x();I(0,"button",75);M("click",function(){z(b);var c=P(3);return A(c.isDescriptionExpanded=!c.isDescriptionExpanded)});D(1,vtb,1,0,"mat-icon",44)(2,wtb,1,0,"mat-icon",45);J()}a&2&&(a=P(3),F("matTooltipShowDelay",1E3),eg("aria-expanded",a.isDescriptionExpanded),C(),G(a.isDescriptionExpanded?-1:1),C(),G(a.isDescriptionExpanded?2:-1))},ytb=function(a,b){a&1&&(K(0,"b-note-container",70),S(1,
"async"));if(a&2){var c;a=P();var d=P(2),e=P(2);F("issueId",b)("note",a)("issueAccessLevel",U(1,4,e.accessLevel$))("formattingMode",(c=d[0].formattingMode)!==null&&c!==void 0?c:e.FormattingMode.PLAIN)}},ztb=function(a){if(a&1){var b=x();I(0,"div",77)(1,"a",78);M("click",function(){z(b);var c=P(5);c.analytics.trackEvent("issueSidebar","showMoreDescription");c.showFullDescription=!0;return A()});Q(2," Show more ");J()()}},Atb=function(a,b){a&1&&(I(0,"div",76),D(1,ytb,2,6,"b-note-container",70),S(2,
"async"),J(),D(3,ztb,3,0,"div",77));if(a&2){var c;a=P(4);ng("full-height",a.showFullDescription);C();G((c=b.unlinkifiedComment!==""&&U(2,4,a.issueId$))?1:-1,c);C(2);G(!a.showFullDescription&&a.descriptionHasMore?3:-1)}},Btb=function(a){a&1&&(I(0,"div",73,3),D(2,Atb,4,6),S(3,"async"),S(4,"async"),J());if(a&2){var b;a=P(3);C(2);G((b=U(3,1,a.hasDescription$)&&U(4,3,a.firstNote$))?2:-1,b)}},Ctb=function(a){a&1&&(I(0,"div",40)(1,"div",34)(2,"div",35)(3,"span"),Q(4,"DESCRIPTION"),J()(),I(5,"div",37),D(6,
stb,2,0,"span"),S(7,"async"),D(8,utb,2,1,"button",71),S(9,"async"),S(10,"async"),D(11,xtb,3,4,"button",72),S(12,"async"),J()(),D(13,Btb,5,5,"div",73),J());a&2&&(a=P(2),C(6),G(U(7,4,a.hasDescription$)?-1:6),C(2),G(!a.isDescriptionExpanded&&U(9,6,a.hasDescription$)||!U(10,8,a.userCanEditDescription$)?-1:8),C(3),G(U(12,10,a.hasDescription$)?11:-1),C(2),G(a.isDescriptionExpanded?13:-1))},Dtb=function(a){a&1&&xg(0)},Etb=function(a){a&1&&D(0,Dtb,1,0,"ng-container",32);a&2&&(P(2),a=L(23),F("ngTemplateOutlet",
a))},Ftb=function(a){a&1&&K(0,"mat-icon",44)},Gtb=function(a){a&1&&K(0,"mat-icon",45)},Htb=function(a){a&1&&(I(0,"div",46),K(1,"edit-issue-metadata",79),J());a&2&&(a=P(),C(),F("issueId",a.issueId))},Itb=function(a){if(a&1){var b=x();I(0,"div",17);D(1,jtb,2,3);I(2,"div",33)(3,"div",34)(4,"div",35);K(5,"mat-icon",36);I(6,"span");Q(7," STATUS UPDATE ");J()();I(8,"div",37);D(9,ktb,2,0,"span");S(10,"async");D(11,ltb,2,1,"button",38);S(12,"async");S(13,"async");D(14,otb,3,4,"button",39);S(15,"async");J()();
D(16,rtb,2,3);S(17,"async");J();D(18,Ctb,14,12,"div",40);S(19,"async");D(20,Etb,1,1,"ng-container");I(21,"div",41)(22,"div",34)(23,"div",35);K(24,"mat-icon",42);I(25,"span");Q(26,"FIELDS");J()();I(27,"button",43);M("click",function(){z(b);var e=P();return A(e.isFieldsExpanded=!e.isFieldsExpanded)});D(28,Ftb,1,0,"mat-icon",44)(29,Gtb,1,0,"mat-icon",45);J()();D(30,Htb,2,1,"div",46);J()()}if(a&2){var c,d;a=P();C();G(a.enableIssueSummarizationNoButton?1:-1);C(8);G(U(10,11,a.hasStatusUpdate$)?-1:9);C(2);
G(!a.isStatusUpdateExpanded&&U(12,13,a.hasStatusUpdate$)||!U(13,15,a.userCanEditStatusUpdate$)?-1:11);C(3);G(U(15,17,a.hasStatusUpdate$)?14:-1);C(2);G((c=a.isStatusUpdateExpanded&&U(17,19,a.statusUpdateNote$))?16:-1,c);C(2);G((d=U(19,21,a.events$))?18:20,d);C(9);F("matTooltipShowDelay",1E3);eg("aria-expanded",a.isFieldsExpanded);C();G(a.isFieldsExpanded?-1:28);C();G(a.isFieldsExpanded?29:-1);C();G(a.isFieldsExpanded?30:-1)}},Jtb=function(a){a&1&&xg(0)},Ktb=function(a){a&1&&D(0,Jtb,1,0,"ng-container",
32);a&2&&(P(),a=L(23),F("ngTemplateOutlet",a))},Ltb=function(a){a&1&&(I(0,"div",80),K(1,"b-spinner"),J())},Mtb=function(a){a&1&&(Q(0," This issue has not been modified since "),K(1,"b-formatted-date-time",1),Q(2," and is scheduled for deletion on "),I(3,"strong"),K(4,"b-formatted-date-time",1),J(),Q(5,". "));a&2&&(a=P(2),C(),F("mode","date")("timestamp",a.modifiedTime)("paddingLeftPx",0),C(3),F("mode","date")("timestamp",a.retentionExpireTime)("paddingLeftPx",0))},Ntb=function(a){a&1&&Q(0," This issue is retained indefinitely. ")},
Otb=function(a){a&1&&(D(0,Mtb,6,6)(1,Ntb,1,0),I(2,"a",0),Q(3,"Learn more"),J());a&2&&(a=P(),G(a.retentionState.retentionPeriod?0:1),C(2),F("href",a.documentationLink,of))},Ptb=function(a){a&1&&(I(0,"b-base-chip",0)(1,"div",1),K(2,"retention-text",2),J(),I(3,"div",3),K(4,"retention-help-text",4),J()());a&2&&(a=P(),F("compactMode",a.compactMode)("labelClass",a.dangerZone?"danger":"expiring")("labelOnlyMode",a.labelOnlyMode),C(2),F("retentionState",a.retentionState)("compactMode",a.compactMode),C(2),
F("retentionState",a.retentionState)("modifiedTime",a.modifiedTime))},Qtb=function(a){var b=b===void 0?new Date:b;var c=a.retentionPeriod;return b.getTime()>=Sk(a.scheduledDeletionTime)-Math.max(12096E5,.2*(c?c.seconds*1E3+(c.nanos||0)/1E6:0))},Ttb=function(a){if(a&1){var b=x();I(0,"issue-sidebar",10);M("closeSidebar",function(){z(b);var d=P(2);return A(d.isIssueSidebarOpen=!1)})("navigateToNextIssue",function(){z(b);var d=P(2);return A(Rtb(d))})("navigateToPreviousIssue",function(){z(b);var d=P(2);
return A(Stb(d))});J()}if(a&2){var c;a=P(2);F("issueId",(c=a.getFocusedIssue())==null?null:c.issueId)}},Utb=function(a){a&1&&xg(0)},Vtb=function(a){if(a&1){var b=x();I(0,"mat-sidenav-container",6,2)(2,"mat-sidenav",7);M("openedChange",function(d){z(b);P().anayltics.trackEvent("issueSidebar",d?"open":"close");return A()});D(3,Ttb,1,1,"issue-sidebar",8);J();I(4,"mat-sidenav-content");D(5,Utb,1,0,"ng-container",9);J()()}if(a&2){a=P();var c=L(4);ng("sidebar-enabled",a.isIssueSidebarEnabled);C(2);F("opened",
a.isIssueSidebarOpen)("disableClose",!0);C();G(a.isIssueSidebarOpen?3:-1);C(2);F("ngTemplateOutlet",c)}},Wtb=function(a){a&1&&xg(0)},Xtb=function(a){a&1&&D(0,Wtb,1,0,"ng-container",9);a&2&&(P(),a=L(4),F("ngTemplateOutlet",a))},Ytb=function(){},Ztb=function(a,b){a&1&&(I(0,"th",32),D(1,Ytb,0,0),J());a&2&&(a=b.column,b=P(2),eg("data-stable-column-name",a.name),C(),G(b.isIssueGridColumn(a)?1:-1))},$tb=function(){},aub=function(a,b){a&1&&(I(0,"th",33),D(1,$tb,0,0),J());a&2&&(a=b.column,b=P(2),eg("data-stable-column-name",
a.name),C(),G(b.isIssueGridColumn(a)?1:-1))},eub=function(a){if(a&1){var b=x();I(0,"mat-pseudo-checkbox",36);M("click",function(c){z(b);var d=P(3);c.stopPropagation();return A(bub(d))})("keydown.enter",function(c){z(b);var d=P(3);c.stopPropagation();return A(bub(d))})("keydown.space",function(c){z(b);var d=P(3);c.stopPropagation();return A(bub(d))});J()}a&2&&(a=P(3),F("state",cub(a)),eg("aria-checked",dub(a)))},fub=function(a,b){a&1&&(I(0,"th",34),D(1,eub,1,2,"mat-pseudo-checkbox",35),J());a&2&&(a=
b.column,b=P(2),eg("data-stable-column-name",a.name),C(),G(b.isIssueGridColumn(a)?1:-1))},gub=function(){},hub=function(a,b){a&1&&(I(0,"th"),D(1,gub,0,0),J());a&2&&(a=b.column,b=P(2),eg("data-stable-column-name",a.name),C(),G(b.isIssueGridColumn(a)?1:-1))},iub=function(a){a&1&&K(0,"pop-grid-default-th",37);a&2&&(a=P().column,F("column",a))},jub=function(a,b){a&1&&(I(0,"th"),D(1,iub,1,1,"pop-grid-default-th",37),J());a&2&&(a=b.column,b=P(2),eg("data-stable-column-name",a.name),C(),G(b.isIssueGridColumn(a)?
1:-1))},kub=function(a){if(a&1){var b=x();I(0,"b-column-picker",39);M("selectedColumnsChange",function(d){z(b);var e=P(4);e.columns=d;e.columnsChange.emit(d);e.cdr.detectChanges();return A()});J()}if(a&2){a=P(2).column;var c=P(2);F("column",a)("availableColumns",c.availableColumns)("selectedColumns",c.columns)}},lub=function(a){a&1&&K(0,"pop-grid-default-th",37);a&2&&(a=P(2).column,F("column",a))},mub=function(a){a&1&&D(0,kub,1,3,"b-column-picker",38)(1,lub,1,1,"pop-grid-default-th",37);a&2&&(a=P(3),
G(a.enableColumnSaving?0:1))},nub=function(a,b){a&1&&(I(0,"th"),D(1,mub,2,1),J());a&2&&(a=b.column,b=P(2),eg("data-stable-column-name",a.name),C(),G(b.isIssueGridColumn(a)?1:-1))},oub=function(){},pub=function(a){a&1&&(I(0,"td",32),D(1,oub,0,0),J());a&2&&(P(2),C(),G(1))},qub=function(){},rub=function(a){a&1&&(I(0,"td",40),D(1,qub,0,0),J());a&2&&(P(2),C(),G(1))},sub=function(a){if(a&1){var b=x();I(0,"mat-pseudo-checkbox",42);M("click",function(c){z(b);var d=P(),e=d.row;d=d.index;var f=P(2);c.stopPropagation();
if(c.shiftKey&&(c=e.selected,f.lastCheckedIndex!==null&&f.searchResults)){if(d<f.lastCheckedIndex){var h=d+1;var l=f.lastCheckedIndex+1}else h=f.lastCheckedIndex,l=d;h=k(f.searchResults.issues.slice(h,l));for(l=h.next();!l.done;l=h.next())l.value.selected=!c;xu(f)}e.selected=!e.selected;f.lastCheckedIndex=d;xu(f);return A()});J()}a&2&&(a=P().row,F("state",a.selected?"checked":"unchecked"),eg("aria-label","Select issue "+a.issueId)("aria-checked",a.selected))},tub=function(a){a&1&&(I(0,"td",34),D(1,
sub,1,3,"mat-pseudo-checkbox",41),J());a&2&&(P(2),C(),G(1))},uub=function(a){if(a&1){var b=x();I(0,"b-star-toggle",45);M("starClicked",function(){z(b);var d=P().row,e=P(2);return A(e.toggleStar(d))});J()}if(a&2){a=P().row;var c=P(2);F("starred",a.starred)("disabled",c.starInProgress[a.issueId])("starMessage","Star this issue")("unStarMessage","Un-star this issue")}},vub=function(a){a&1&&(I(0,"td",43),D(1,uub,1,4,"b-star-toggle",44),J());a&2&&(P(2),C(),G(1))},wub=function(a){a&1&&(I(0,"span"),Q(1),
J());a&2&&(a=P().row,eg("title",a.position),C(),R(" ",a.position," "))},xub=function(a){a&1&&(I(0,"td"),D(1,wub,2,2,"span"),J());a&2&&(P(2),C(),G(1))},yub=function(a){if(a&1){var b=x();I(0,"b-issue-id-picker",49);M("click",function(c){z(b);return A(c.stopPropagation())});J()}a&2&&(a=P(2).row,F("issueId",a.issueId)("showCopyOptions",!1),eg("title",a.title))},zub=function(a){a&1&&(I(0,"a",48),Q(1),J());a&2&&(a=P(2).row,P(2),F("href",wq(a.issueId),of),eg("title",a.title),C(),R(" ",a.issueId," "))},Aub=
function(a){a&1&&D(0,yub,1,3,"b-issue-id-picker",47)(1,zub,2,3,"a",48);a&2&&(a=P(3),G((a.listViewPrefs==null?null:a.listViewPrefs.modeForField==null?null:a.listViewPrefs.modeForField.id)==="copy"?0:1))},Bub=function(a){a&1&&(I(0,"td",46),D(1,Aub,2,1),J());a&2&&(P(2),C(),G(1))},Cub=function(a){a&1&&K(0,"archived-issue-indicator")},Dub=function(a){a&1&&K(0,"b-issue-visibility-chip",53);a&2&&(a=P(2).row,F("issueId",a.issueId)("compactMode",!0))},Eub=function(a){a&1&&K(0,"b-component-access-level-indicator",
54);a&2&&(a=P(2).row,F("accessLevel",a.accessLevel)("compactMode",!0))},Fub=function(a){a&1&&K(0,"mat-icon",59)},Gub=function(a,b){a&1&&K(0,"b-hotlist-chip-smart",61);a&2&&F("id",b.$implicit)("removable",!1)},Hub=function(a){a&1&&(I(0,"div",60),tg(1,Gub,1,2,"b-hotlist-chip-smart",61,sg),J());a&2&&(a=P(2).row,C(),ug(a.hotlistId))},Iub=function(a){a&1&&(I(0,"div",52),D(1,Cub,1,0,"archived-issue-indicator")(2,Dub,1,2,"b-issue-visibility-chip",53)(3,Eub,1,2,"b-component-access-level-indicator",54),K(4,
"b-tracker-chip-smart",55)(5,"b-retention-chip",56),I(6,"div",57)(7,"a",58),Q(8),D(9,Fub,1,0,"mat-icon",59),J()(),D(10,Hub,3,0,"div",60),J());if(a&2){a=P().row;var b=P(2);ng("bv2-grid-cell-flex-wrap",b.listViewPrefs&&b.listViewPrefs.wrapTitles);C();G(a.archived?1:-1);C();G(b.enableNewVisibilityChips?2:3);C(2);F("trackerId",a.trackerId)("compactMode",!0);C();F("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",a.modifiedTime);C(2);F("href",wq(a.issueId),
of);eg("title",a.title);C();R(" ",a.title," ");C();G(b.isIssueSidebarEnabled?9:-1);C();G(b.listViewPrefs&&b.listViewPrefs.showHotlists?10:-1)}},Jub=function(a){a&1&&(I(0,"td",50),D(1,Iub,11,15,"div",51),J());a&2&&(a=P(2),ng("bv2-grid-cell-variable-height",a.listViewPrefs&&a.listViewPrefs.wrapTitles),C(),G(1))},Lub=function(a){a&1&&(I(0,"div",63),Q(1),J());a&2&&(a=P().row,P(2),F("ngClass",dh(2,Kub,Number(a.priority)>=2,Number(a.priority)<2,Number(a.priority)===0)),C(),R(" P",a.priority," "))},Mub=
function(a){a&1&&(I(0,"td",62),D(1,Lub,2,6,"div",63),J());a&2&&(P(2),C(),G(1))},Nub=function(a){a&1&&(I(0,"div",63),Q(1),J());a&2&&(a=P().row,P(2),F("ngClass",dh(2,Kub,Number(a.severity)>=2,Number(a.severity)<2,Number(a.severity)===0)),C(),R(" S",a.severity," "))},Oub=function(a){a&1&&(I(0,"td",64),D(1,Nub,2,6,"div",63),J());a&2&&(P(2),C(),G(1))},Pub=function(a){a&1&&K(0,"mat-icon",67);if(a&2){a=P();var b=P(4);F("svgIcon",b.ISSUE_STATUS_JS_ICON_NAME[a])}},Qub=function(a){a&1&&Q(0);if(a&2){a=P();var b=
P(4);R(" ",b.STATUS_JS_TERSE[a]," ")}},Rub=function(a){a&1&&(I(0,"span"),Q(1),J());if(a&2){a=P();var b=P(4);qg("chippy status-",a," margin-left-auto");C();R(" ",b.STATUS_JS_TERSE[a]," ")}},Sub=function(a,b){a&1&&(I(0,"span",66),D(1,Pub,1,1,"mat-icon",67)(2,Qub,1,1)(3,Rub,2,4,"span",68),J());if(a&2){var c;a=P(4);F("title",a.STATUS_JS_FULL_TEXT[b]===a.STATUS_JS_TERSE[b]?"":a.STATUS_JS_FULL_TEXT[b]);C();G((c=a.listViewPrefs==null?null:a.listViewPrefs.fieldStatus==null?null:a.listViewPrefs.fieldStatus.mode)===
"icon"?1:c==="plain"?2:3)}},Tub=function(a){a&1&&D(0,Sub,4,2,"span",66);if(a&2){var b;a=P().row;G((b=a.status)?0:-1,b)}},Uub=function(a){a&1&&(I(0,"td",65),D(1,Tub,1,1),J());a&2&&(P(2),C(),G(1))},Vub=function(a){a&1&&(Q(0),S(1,"enumToHuman"));a&2&&(a=P().row,R(" ",U(1,1,a.type)," "))},Wub=function(a){a&1&&(I(0,"td",69),D(1,Vub,2,3),J());a&2&&(P(2),C(),G(1))},Xub=function(a){a&1&&(I(0,"b-person-hovercard",71),S(1,"omitObfuscatedEmail"),Q(2),J());a&2&&(a=P(2).row,F("email",U(1,2,a.reporter)),C(2),R(" ",
a.reporter," "))},Yub=function(a){a&1&&(I(0,"span"),Q(1,"--"),J())},Zub=function(a){a&1&&(D(0,Xub,3,4,"b-person-hovercard",71),S(1,"omitObfuscatedEmail"),D(2,Yub,2,0,"span"));a&2&&(a=P().row,G(U(1,2,a.reporter)?0:-1),C(2),G(a.reporter?-1:2))},$ub=function(a){a&1&&(I(0,"td",70),D(1,Zub,3,4),J());a&2&&(P(2),C(),G(1))},avb=function(a){a&1&&(I(0,"b-person-hovercard",71),S(1,"omitObfuscatedEmail"),Q(2),J());a&2&&(a=P(2).row,F("email",U(1,2,a.assignee)),C(2),R(" ",a.assignee," "))},bvb=function(a){a&1&&
(I(0,"span"),Q(1,"--"),J())},cvb=function(a){a&1&&(D(0,avb,3,4,"b-person-hovercard",71),S(1,"omitObfuscatedEmail"),D(2,bvb,2,0,"span"));a&2&&(a=P().row,G(U(1,2,a.assignee)?0:-1),C(2),G(a.assignee?-1:2))},dvb=function(a){a&1&&(I(0,"td",70),D(1,cvb,3,4),J());a&2&&(P(2),C(),G(1))},evb=function(a){a&1&&(I(0,"b-person-hovercard",71),S(1,"omitObfuscatedEmail"),Q(2),J());a&2&&(a=P(2).row,F("email",U(1,2,a.verifier)),C(2),R(" ",a.verifier," "))},fvb=function(a){a&1&&(I(0,"span"),Q(1,"--"),J())},gvb=function(a){a&
1&&(D(0,evb,3,4,"b-person-hovercard",71),S(1,"omitObfuscatedEmail"),D(2,fvb,2,0,"span"));a&2&&(a=P().row,G(U(1,2,a.verifier)?0:-1),C(2),G(a.verifier?-1:2))},hvb=function(a){a&1&&(I(0,"td",70),D(1,gvb,3,4),J());a&2&&(P(2),C(),G(1))},ivb=function(a){a&1&&(I(0,"span"),S(1,"arrayToHuman"),Q(2),S(3,"arrayToHuman"),J());a&2&&(a=P().row,eg("title",U(1,2,a.cc)),C(2),R(" ",U(3,4,a.cc)," "))},jvb=function(a){a&1&&(I(0,"td",70),D(1,ivb,4,6,"span"),J());a&2&&(P(2),C(),G(1))},kvb=function(a){a&1&&(I(0,"span"),
S(1,"arrayToHuman"),Q(2),S(3,"arrayToHuman"),J());a&2&&(a=P().row,eg("title",U(1,2,a.changelist)),C(2),R(" ",U(3,4,a.changelist)," "))},lvb=function(a){a&1&&(I(0,"td",70),D(1,kvb,4,6,"span"),J());a&2&&(P(2),C(),G(1))},mvb=function(a){a&1&&(I(0,"span"),S(1,"arrayToHuman"),Q(2),S(3,"arrayToHuman"),J());a&2&&(a=P().row,eg("title",U(1,2,a.postmortem)),C(2),R(" ",U(3,4,a.postmortem)," "))},nvb=function(a){a&1&&(I(0,"td",70),D(1,mvb,4,6,"span"),J());a&2&&(P(2),C(),G(1))},ovb=function(a){a&1&&xg(0)},pvb=
function(a){a&1&&(I(0,"span"),Q(1,", "),J())},rvb=function(a,b){a&1&&D(0,ovb,1,0,"ng-container",72)(1,pvb,2,0,"span");if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;P(4);var d=L(6);F("ngTemplateOutlet",d)("ngTemplateOutletContext",bh(3,qvb,a));C();G(c!==b-1?1:-1)}},svb=function(a){a&1&&tg(0,rvb,2,5,null,null,sg);a&2&&(a=P().row,ug(a.blockingIssueId))},tvb=function(a){a&1&&(I(0,"td",70),D(1,svb,2,0),J());a&2&&(P(2),C(),G(1))},uvb=function(a){a&1&&xg(0)},vvb=function(a){a&1&&(I(0,"span"),Q(1,", "),
J())},wvb=function(a,b){a&1&&D(0,uvb,1,0,"ng-container",72)(1,vvb,2,0,"span");if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;P(4);var d=L(6);F("ngTemplateOutlet",d)("ngTemplateOutletContext",bh(3,qvb,a));C();G(c!==b-1?1:-1)}},xvb=function(a){a&1&&tg(0,wvb,2,5,null,null,sg);a&2&&(a=P().row,ug(a.blockedByIssueId))},yvb=function(a){a&1&&(I(0,"td",70),D(1,xvb,2,0),J());a&2&&(P(2),C(),G(1))},zvb=function(a){a&1&&xg(0)},Avb=function(a){a&1&&D(0,zvb,1,0,"ng-container",72);if(a&2){a=P(2).row;P(2);var b=
L(6);F("ngTemplateOutlet",b)("ngTemplateOutletContext",bh(2,qvb,a.duplicateOfIssueId))}},Bvb=function(a){a&1&&D(0,Avb,1,4,"ng-container");a&2&&(a=P().row,G(a.duplicateOfIssueId?0:-1))},Cvb=function(a){a&1&&(I(0,"td",70),D(1,Bvb,1,1),J());a&2&&(P(2),C(),G(1))},Dvb=function(a){a&1&&K(0,"b-formatted-date-time",74);a&2&&(a=P().row,F("timestamp",a.createdTime))},Evb=function(a){a&1&&(I(0,"td",73),D(1,Dvb,1,1,"b-formatted-date-time",74),J());a&2&&(P(2),C(),G(1))},Fvb=function(a){a&1&&K(0,"b-formatted-date-time",
74);a&2&&(a=P().row,F("timestamp",a.modifiedTime))},Gvb=function(a){a&1&&(I(0,"td",73),D(1,Fvb,1,1,"b-formatted-date-time",74),J());a&2&&(P(2),C(),G(1))},Hvb=function(a){a&1&&K(0,"b-formatted-date-time",74);a&2&&(a=P().row,F("timestamp",a.resolvedTime))},Ivb=function(a){a&1&&(I(0,"td",73),D(1,Hvb,1,1,"b-formatted-date-time",74),J());a&2&&(P(2),C(),G(1))},Jvb=function(a){a&1&&K(0,"b-formatted-date-time",74);a&2&&(a=P().row,F("timestamp",a.verifiedTime))},Kvb=function(a){a&1&&(I(0,"td",73),D(1,Jvb,
1,1,"b-formatted-date-time",74),J());a&2&&(P(2),C(),G(1))},Lvb=function(a){a&1&&(I(0,"span"),S(1,"arrayToHuman"),Q(2),S(3,"arrayToHuman"),J());a&2&&(a=P().row,eg("title",U(1,2,a.foundInVersion)),C(2),R(" ",U(3,4,a.foundInVersion)," "))},Mvb=function(a){a&1&&(I(0,"td",70),D(1,Lvb,4,6,"span"),J());a&2&&(P(2),C(),G(1))},Nvb=function(a){a&1&&(I(0,"span"),S(1,"arrayToHuman"),Q(2),S(3,"arrayToHuman"),J());a&2&&(a=P().row,eg("title",U(1,2,a.targetedToVersion)),C(2),R(" ",U(3,4,a.targetedToVersion)," "))},
Ovb=function(a){a&1&&(I(0,"td",70),D(1,Nvb,4,6,"span"),J());a&2&&(P(2),C(),G(1))},Pvb=function(a){a&1&&(I(0,"span"),S(1,"arrayToHuman"),Q(2),S(3,"arrayToHuman"),J());a&2&&(a=P().row,eg("title",U(1,2,a.verifiedInVersion)),C(2),R(" ",U(3,4,a.verifiedInVersion)," "))},Qvb=function(a){a&1&&(I(0,"td",70),D(1,Pvb,4,6,"span"),J());a&2&&(P(2),C(),G(1))},Rvb=function(a){a&1&&(Q(0),S(1,"yesNo"));a&2&&(a=P().row,R(" ",U(1,1,a.inProd)," "))},Svb=function(a){a&1&&(I(0,"td",70),D(1,Rvb,2,3),J());a&2&&(P(2),C(),
G(1))},Tvb=function(a){a&1&&(Q(0),S(1,"yesNo"));a&2&&(a=P().row,R(" ",U(1,1,a.archived)," "))},Uvb=function(a){a&1&&(I(0,"td",70),D(1,Tvb,2,3),J());a&2&&(P(2),C(),G(1))},Vvb=function(a){a&1&&(I(0,"div",52)(1,"div",57)(2,"span"),Q(3),J()()());if(a&2){a=P().row;var b=P(2);C(2);eg("title",b.getComponentPath(a.componentPath));C();Tg(b.getComponentPath(a.componentPath))}},Xvb=function(a){a&1&&(I(0,"td",75),D(1,Vvb,4,2,"div",52),J());if(a&2){a=P(2);var b;var c=!((b=a.listViewPrefs)==null||!b.rtlComponentPath);
F("ngClass",ch(2,Wvb,a.listViewPrefs&&a.listViewPrefs.wrapComponents,c));C();G(1)}},Yvb=function(a){a&1&&(I(0,"slo-status-card",77),K(1,"b-aggregated-slo-status-indicator",78),J());a&2&&(a=P(2).row,F("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime),C(),F("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime))},Zvb=function(a){a&1&&D(0,Yvb,2,5,"slo-status-card",77);a&2&&(a=P().row,G(a.sloStatus?0:-1))},$vb=function(a){a&1&&(I(0,"td",76),D(1,Zvb,1,1),J());a&2&&(P(2),C(),G(1))},
awb=function(a){a&1&&(I(0,"slo-status-card",79),K(1,"b-slo-time-indicator",80),J());a&2&&(a=P(2).row,F("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","RESPONSE"),C(),F("sloBounds",a.sloStatus.responseBounds))},bwb=function(a){a&1&&D(0,awb,2,5,"slo-status-card",79);a&2&&(a=P().row,G(a.sloStatus?0:-1))},cwb=function(a){a&1&&(I(0,"td",76),D(1,bwb,1,1),J());a&2&&(P(2),C(),G(1))},dwb=function(a){a&1&&(I(0,"slo-status-card",79),K(1,"b-slo-time-indicator",80),J());
a&2&&(a=P(2).row,F("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","ASSIGNMENT"),C(),F("sloBounds",a.sloStatus.assignmentBounds))},ewb=function(a){a&1&&D(0,dwb,2,5,"slo-status-card",79);a&2&&(a=P().row,G(a.sloStatus?0:-1))},fwb=function(a){a&1&&(I(0,"td",76),D(1,ewb,1,1),J());a&2&&(P(2),C(),G(1))},gwb=function(a){a&1&&(I(0,"slo-status-card",79),K(1,"b-slo-time-indicator",80),J());a&2&&(a=P(2).row,F("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",
a.sloStartTime)("onlyShowMetric","CLOSURE"),C(),F("sloBounds",a.sloStatus.closureBounds))},hwb=function(a){a&1&&D(0,gwb,2,5,"slo-status-card",79);a&2&&(a=P().row,G(a.sloStatus?0:-1))},iwb=function(a){a&1&&(I(0,"td",76),D(1,hwb,1,1),J());a&2&&(P(2),C(),G(1))},jwb=function(a,b){a&1&&K(0,"b-formatted-date-time",81);a&2&&(P(4),F("timestamp",b.seconds*1E3))},kwb=function(a){a&1&&D(0,jwb,1,1,"b-formatted-date-time",81);if(a&2){var b;a=P().row;G((b=a.retentionState==null?null:a.retentionState.scheduledDeletionTime)?
0:-1,b)}},lwb=function(a){a&1&&(I(0,"td",70),D(1,kwb,1,1),J());a&2&&(P(2),C(),G(1))},mwb=function(a){a&1&&K(0,"div",82)},nwb=function(a){a&1&&(I(0,"div"),K(1,"b-team-display",83),J());a&2&&(a=P(2).row,C(),F("teamId",a.teamId.toString())("componentId",a.componentId.toString())("anchorLinkEnabled",!1))},owb=function(a){a&1&&D(0,mwb,1,0,"div",82)(1,nwb,2,3,"div");a&2&&(a=P(3),G(a.isLoadingTeams?0:1))},pwb=function(a){a&1&&(I(0,"td",70),D(1,owb,2,1),J());a&2&&(P(2),C(),G(1))},qwb=function(a){a&1&&Q(0);
a&2&&(a=P().row,R(" ",a.effort==null?null:a.effort.estimate," "))},rwb=function(a){a&1&&(I(0,"td",70),D(1,qwb,1,1),J());a&2&&(P(2),C(),G(1))},swb=function(a){a&1&&Q(0);if(a&2){a=P().row;var b=P(2);R(" ",b.isTotalEstimatesEnabled?(a.effort==null?null:a.effort.totalOpen)||"":""," ")}},twb=function(a){a&1&&(I(0,"td",70),D(1,swb,1,1),J());a&2&&(P(2),C(),G(1))},uwb=function(a){a&1&&Q(0);if(a&2){a=P().row;var b=P(2);R(" ",b.isTotalEstimatesEnabled?(a.effort==null?null:a.effort.totalComplete)||"":""," ")}},
vwb=function(a){a&1&&(I(0,"td",70),D(1,uwb,1,1),J());a&2&&(P(2),C(),G(1))},wwb=function(a){a&1&&Q(0);if(a&2){a=P().row;var b=P(2);R(" ",b.GET_ISSUE_ACCESS_LEVEL_TITLE(a.issueAccessLevel)," ")}},xwb=function(a){a&1&&(I(0,"td",76),D(1,wwb,1,1),J());a&2&&(P(2),C(),G(1))},ywb=function(a){a&1&&Q(0);a&2&&(a=P().row,R(" ",a.descendantCount," "))},zwb=function(a){a&1&&(I(0,"td",70),D(1,ywb,1,1),J());a&2&&(P(2),C(),G(1))},Awb=function(a){a&1&&Q(0);a&2&&(a=P().row,R(" ",a.openDescendantCount," "))},Bwb=function(a){a&
1&&(I(0,"td",70),D(1,Awb,1,1),J());a&2&&(P(2),C(),G(1))},Cwb=function(a){a&1&&Q(0);a&2&&(a=P().row,R(" ",a.oneDayViewCount," "))},Dwb=function(a){a&1&&(I(0,"td",70),D(1,Cwb,1,1),J());a&2&&(a=P(2),C(),G(a.enableAddViewCountColumnsOnIlp?1:-1))},Ewb=function(a){a&1&&Q(0);a&2&&(a=P().row,R(" ",a.sevenDayViewCount," "))},Fwb=function(a){a&1&&(I(0,"td",70),D(1,Ewb,1,1),J());a&2&&(P(2),C(),G(1))},Gwb=function(a){a&1&&Q(0);a&2&&(a=P().row,R(" ",a.thirtyDayViewCount," "))},Hwb=function(a){a&1&&(I(0,"td",70),
D(1,Gwb,1,1),J());a&2&&(P(2),C(),G(1))},Iwb=function(a){a&1&&Q(0);a&2&&(a=P().row,R(" ",a.voteCount&&a.voteCount>0?a.voteCount:""," "))},Jwb=function(a){a&1&&(I(0,"td",70),D(1,Iwb,1,1),J());a&2&&(P(2),C(),G(1))},Kwb=function(a){a&1&&Q(0);a&2&&(a=P().row,R(" ",a.position," "))},Lwb=function(a){a&1&&(I(0,"td",70),D(1,Kwb,1,1),J());a&2&&(P(2),C(),G(1))},Nwb=function(a){if(a&1){var b=x();I(0,"pop-grid",11);M("columnsChange",function(c){z(b);var d=P();d.columns=c;d.columnsChange.emit(c);d.cdr.detectChanges();
return A()})("focusedRowIndexChange",function(c){z(b);var d=P();d.focusedRowIndex=c;return A(d.focusedRowIndexChange.emit(d.focusedRowIndex))})("sortChange",function(c){z(b);var d=P();return A(d.sortChange.emit(c))})("rowClick",function(c){z(b);var d=P(),e=c.event.target,f,h=(f=e==null?void 0:e.closest(".title-cell"))!=null?f:!1,l;e=(l=e==null?void 0:e.closest(".issue-id-cell"))!=null?l:!1;h||e||zm(c.event)||!d.isIssueSidebarEnabled?d.rowClick.emit(c):(d.isIssueSidebarOpen=!0,d.cdr.detectChanges());
return A()});D(1,Ztb,2,2,"th",12)(2,aub,2,2,"th",13)(3,fub,2,2,"th",14)(4,hub,2,2,"th",15)(5,jub,2,2,"th",15)(6,nub,2,2,"th",16)(7,pub,2,1,"td",17)(8,rub,2,1,"td",18)(9,tub,2,1,"td",19)(10,vub,2,1,"td",20)(11,xub,2,1,"td",21)(12,Bub,2,1,"td",22)(13,Jub,2,3,"td",23)(14,Mub,2,1,"td",24)(15,Oub,2,1,"td",25)(16,Uub,2,1,"td",26)(17,Wub,2,1,"td",27)(18,$ub,2,1,"td",28)(19,dvb,2,1,"td",28)(20,hvb,2,1,"td",28)(21,jvb,2,1,"td",28)(22,lvb,2,1,"td",28)(23,nvb,2,1,"td",28)(24,tvb,2,1,"td",28)(25,yvb,2,1,"td",
28)(26,Cvb,2,1,"td",28)(27,Evb,2,1,"td",29)(28,Gvb,2,1,"td",29)(29,Ivb,2,1,"td",29)(30,Kvb,2,1,"td",29)(31,Mvb,2,1,"td",28)(32,Ovb,2,1,"td",28)(33,Qvb,2,1,"td",28)(34,Svb,2,1,"td",28)(35,Uvb,2,1,"td",28)(36,Xvb,2,5,"td",30)(37,$vb,2,1,"td",31)(38,cwb,2,1,"td",31)(39,fwb,2,1,"td",31)(40,iwb,2,1,"td",31)(41,lwb,2,1,"td",28)(42,pwb,2,1,"td",28)(43,rwb,2,1,"td",28)(44,twb,2,1,"td",28)(45,vwb,2,1,"td",28)(46,xwb,2,1,"td",31)(47,zwb,2,1,"td",28)(48,Bwb,2,1,"td",28)(49,Dwb,2,1,"td",28)(50,Fwb,2,1,"td",28)(51,
Hwb,2,1,"td",28)(52,Jwb,2,1,"td",28)(53,Lwb,2,1,"td",28);J()}a&2&&(a=P(),ng("sidebar-open",a.isIssueSidebarOpen),F("list",(a.searchResults==null?null:a.searchResults.issues)||ah(60,Mwb))("columns",a.columns)("focusedRowIndex",a.focusedRowIndex)("scrollContainer",".bv2-view")("sort",a.sort)("rowLabelRenderer",a.issueDescription),C(),F("forHeaderCell","focused"),C(),F("forHeaderCell","draghandle"),C(),F("forHeaderCell","selected"),C(),F("forHeaderCell","starred"),C(),F("forHeaderCell","position"),C(2),
F("forViewCell","focused"),C(),F("forViewCell","draghandle"),C(),F("forViewCell","selected"),C(),F("forViewCell","starred"),C(),F("forViewCell","position"),C(),F("forViewCell","issueId"),C(),F("forViewCell","title"),C(),F("forViewCell","priority"),C(),F("forViewCell","severity"),C(),F("forViewCell","status"),C(),F("forViewCell","type"),C(),F("forViewCell","reporter"),C(),F("forViewCell","assignee"),C(),F("forViewCell","verifier"),C(),F("forViewCell","cc"),C(),F("forViewCell","changelist"),C(),F("forViewCell",
"postmortem"),C(),F("forViewCell","blockingIssueId"),C(),F("forViewCell","blockedByIssueId"),C(),F("forViewCell","duplicateOfIssueId"),C(),F("forViewCell","createdTime"),C(),F("forViewCell","modifiedTime"),C(),F("forViewCell","resolvedTime"),C(),F("forViewCell","verifiedTime"),C(),F("forViewCell","foundInVersion"),C(),F("forViewCell","targetedToVersion"),C(),F("forViewCell","verifiedInVersion"),C(),F("forViewCell","inProd"),C(),F("forViewCell","archived"),C(),F("forViewCell","componentPath"),C(),
F("forViewCell","minSlo"),C(),F("forViewCell","responseSlo"),C(),F("forViewCell","assignmentSlo"),C(),F("forViewCell","closureSlo"),C(),F("forViewCell","deletionTime"),C(),F("forViewCell","team"),C(),F("forViewCell","estimate"),C(),F("forViewCell","estimateTotalOpen"),C(),F("forViewCell","estimateTotalComplete"),C(),F("forViewCell","accessLevel"),C(),F("forViewCell","descendantCount"),C(),F("forViewCell","openDescendantCount"),C(),F("forViewCell","oneDayViewCount"),C(),F("forViewCell","sevenDayViewCount"),
C(),F("forViewCell","thirtyDayViewCount"),C(),F("forViewCell","voteCount"),C(),F("forViewCell","position"))},Owb=function(a){a&1&&K(0,"b-issue-card",86,4);if(a&2){a=L(1);var b=P().id;F("onedevIsHovercardReady",a.init)("issueId",b)}},Pwb=function(a,b){a&1&&(I(0,"onedev-hovercard",null,3),D(2,Owb,2,2,"b-issue-card",84),J(),I(3,"span",85),Q(4),J());a&2&&(a=b.id,b=L(1),C(3),F("onedevHovercardTrigger",b),C(),Tg(a))},Qwb=function(a){if(a&1){var b=x();I(0,"b-app-bar-bulk-edit-menus",9);S(1,"async");M("onBulkEdit",
function(d){z(b);var e=P();return A(e.bulkEdit(d))})("onQuickBulkEdit",function(d){z(b);var e=P();return A(e.quickBulkEdit(d))})("onBulkEditIssueRelation",function(d){z(b);var e=P();return A(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){z(b);var d=P();return A(d.bulkMarkIssueRead())});J()}if(a&2){var c;a=P();F("enableBulkEstimatedEffortOption",(c=U(1,2,a.enableBulkEstimatedEffortOption$))!==null&&c!==void 0?c:!1)("readStatePrompt",Unb(a))}},Rwb=function(a){if(a&1){var b=x();I(0,"b-copy-issue-id-button",
10);M("onClickCopyIssueIds",function(){z(b);var c=P();return A(Wnb(c.copyIssueIdService,su(c)))})("onClickCopyIssueShortLinks",function(){z(b);var c=P();return A(Xnb(c.copyIssueIdService,su(c)))})("onClickCopyAsIssueSearch",function(){z(b);var c=P();return A(Ynb(c.copyIssueIdService,su(c)))});J()}a&2&&(a=P(),F("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},Swb=function(a){if(a&1){var b=x();I(0,"div",5)(1,"b-hotlist-picker",
11);M("onApply",function(c){z(b);var d=P();return A(d.handleHotlistPickerSave(c))})("onCreate",function(c){z(b);var d=P();return A(d.onCreateHotlist.emit(c))})("onLoad",function(c){z(b);var d=P();return A(d.onLoadHotlist.emit(c))});J()()}a&2&&(a=P(),C(),F("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},Twb=function(a){if(a&1){var b=x();I(0,"hotlist-add-issue-btn",13);M("issueAddedToHotlist",function(){z(b);var c=P(2);return A(c.refresh())});J()}a&2&&(a=P(2),F("hotlistId",a.currentHotlistId))},
Uwb=function(a){a&1&&K(0,"hotlist-archive-btn",12);a&2&&(a=P(2),F("hotlistId",a.currentHotlistId))},Vwb=function(a){a&1&&D(0,Twb,1,1,"hotlist-add-issue-btn",12)(1,Uwb,1,1,"hotlist-archive-btn",12);a&2&&(a=P(),G(a.enableBulkEditUi?0:-1),C(),G(a.isHotlistAdmin?1:-1))},Wwb=function(a){a&1&&(I(0,"span",16),Q(1,"Reporting"),J())},Xwb=function(a){if(a&1){var b=x();I(0,"b-button",14);M("onAction",function(){z(b);var c=P();return A(c.openInEstado())});K(1,"b-icon",15);D(2,Wwb,2,0,"span",16);J()}a&2&&(a=P(),
F("size",a.hasSelectedIssues()?"large":"medium")("format",a.hasSelectedIssues()?"icon":"flat"),C(2),G(a.hasSelectedIssues()?-1:2))},Ywb=function(a){if(a&1){var b=x();I(0,"b-comment-box",23);Xg("commentChange",function(c){z(b);var d=P(2);Wg(d.comment,c)||(d.comment=c);return A(c)});M("onSubmit",function(){z(b);var c=P(2);return A(aob(c))});J()}a&2&&(a=P(2),Vg("comment",a.comment),F("showToolbar",!1))},Zwb=function(a){if(a&1){var b=x();I(0,"div",20)(1,"b-recaptcha",24);M("onUpdate",function(c){z(b);
var d=P(2);return A(d.recaptchaResponse=c)});J()()}},$wb=function(a){a&1&&(I(0,"h1",17),Q(1,"Add comment"),J(),I(2,"mat-dialog-content"),D(3,Ywb,1,2,"b-comment-box",18),K(4,"b-external-warnings",19),J(),D(5,Zwb,2,0,"div",20),I(6,"mat-dialog-actions")(7,"button",21),Q(8," Cancel "),J(),I(9,"button",22),Q(10," Save "),J()());a&2&&(a=P(),C(3),G(a.comment?3:-1),C(),F("externalWarnings",a.externalWarnings),C(),G(a.enableRecaptcha?5:-1),C(2),F("mat-dialog-close",!1),C(2),F("disabled",a.enableRecaptcha&&
a.recaptchaResponse==="")("mat-dialog-close",!0))},axb=function(a){if(a&1){var b=x();I(0,"div",6)(1,"button",7);M("click",function(){z(b);var c=P();return A(c.onPressSave())});Q(2," Save ");J();I(3,"button",8);M("click",function(){z(b);var c=P();return A(c.onPressRevert())});Q(4," Revert changes ");J()()}a&2&&(a=P(),C(),F("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving()||a.isInvalid())("matTooltip",a.isInvalid()?"Invalid form data":a.hasNoChanges()?"No changes":"Save these changes"),
C(2),F("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state"))},bxb=function(a){if(a&1){var b=x();I(0,"div",6)(1,"button",7);M("click",function(){z(b);var d=P();return A(d.save())});Q(2," Save ");J();I(3,"button",8);M("click",function(){z(b);var d=P();return A(d.revert())});Q(4," Revert changes ");J();K(5,"hotlist-archive-btn",9);S(6,"async");J()}if(a&2){var c;a=P();C();F("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",
a.hasNoChanges()?"No changes":"Save these changes");C(2);F("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state");C(2);F("hotlistId",(c=U(6,5,a.id$))!==null&&c!==void 0?c:void 0)}},cxb=function(a,b){a&1&&Q(0);a&2&&R(" ",b.name," ")},dxb=function(a){a&1&&(I(0,"strong",2),Q(1,"(archived)"),J())},exb=function(a){a&1&&K(0,"b-spinner")},fxb=function(a){a&1&&(K(0,"hotlist-add-issue-btn",4),S(1,"async"));if(a&2){var b;a=P();F("hotlistId",
(b=U(1,1,a.id$))!==null&&b!==void 0?b:void 0)}},gxb=function(a){a&1&&(I(0,"p",6),Q(1," This hotlist cannot be edited because you are not an administrator of it. "),J())},hxb=function(a){a&1&&(K(0,"b-edit-hotlist-toolbar",0),I(1,"div",1),K(2,"b-edit-hotlist-header",0),I(3,"mat-tab-group",2)(4,"mat-tab",3),K(5,"b-edit-hotlist-basic",4),S(6,"async"),J(),I(7,"mat-tab",5),K(8,"b-edit-hotlist-acl",4),S(9,"async"),J()(),D(10,gxb,2,0,"p",6),S(11,"async"),J());a&2&&(a=P(),F("hotlistId",a.id),C(2),F("hotlistId",
a.id),C(),F("selectedIndex",a.tabIndex),C(2),F("hotlistId",a.id)("isReadOnly",U(6,8,a.isAdmin$)===!1),C(3),F("hotlistId",a.id)("isReadOnly",U(9,10,a.isAdmin$)===!1),C(2),G(U(11,12,a.isAdmin$)===!1?10:-1))},ixb=function(a,b){a&1&&(K(0,"empty-toolbar"),I(1,"div",7)(2,"h2"),Q(3,"Error"),J(),I(4,"p"),Q(5),J()());a&2&&(C(5),Tg(b))},jxb=function(a){a&1&&(I(0,"b-callout",0)(1,"b-callout-body"),Q(2),J()());a&2&&(a=P(),C(2),Tg(a.error))},kxb=function(a){a&1&&(vg(0),Q(1,", "),wg())},lxb=function(a,b){a&1&&
(Q(0),D(1,kxb,2,0,"ng-container"));if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;var d=P(2);R(" ",d.convertUserToString(a)," ");C();G(c!==b-1?1:-1)}},mxb=function(a,b){if(a&1){var c=x();I(0,"tr",7);M("click",function(){var e=z(c).$implicit,f=P();return A(f.editHotlist(e))})("focus",function(){var e=z(c).$index,f=P();return A(f.setFocusOnIndex(e))});K(1,"td",2);I(2,"td",8)(3,"a",9);M("click",function(e){z(c);return A(e.stopPropagation())});Q(4);J()();I(5,"td",10);Q(6);J();I(7,"td",11);tg(8,lxb,2,
2,null,null,sg);J();I(10,"td",12);Q(11);J()()}if(a&2){a=b.$implicit;b=b.$index;var d=P();ng("grid-focus",d.isFocused(b));eg("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));C(3);F("href",tq.editHotlist.makeHref(a.hotlistId),of);C();R(" ",a.name," ");C(2);R(" ",a.description," ");C(2);ug(a.adminUsers);C(3);R(" ",a.hotlistId," ")}},nxb=function(a){if(a&1){var b=x();I(0,"button",9);M("click",function(){z(b);var c=P(2);return A(c.appEvents.dashboardPanels.moveToTop.next(c.panelId))});
Q(1," Move to top ");J()}},oxb=function(a){if(a&1){var b=x();I(0,"button",10);M("click",function(){z(b);var c=P(2);return A(c.appEvents.dashboardPanels.moveUp.next(c.panelId))});Q(1," Move up ");J()}},pxb=function(a){if(a&1){var b=x();I(0,"button",11);M("click",function(){z(b);var c=P(2);return A(c.appEvents.dashboardPanels.moveDown.next(c.panelId))});Q(1," Move down ");J()}},qxb=function(a){if(a&1){var b=x();I(0,"button",12);M("click",function(){z(b);var c=P(2);return A(c.appEvents.dashboardPanels.moveToBottom.next(c.panelId))});
Q(1," Move to bottom ");J()}},rxb=function(a){if(a&1){var b=x();D(0,nxb,2,0,"button",4)(1,oxb,2,0,"button",5)(2,pxb,2,0,"button",6)(3,qxb,2,0,"button",7);I(4,"button",8);M("click",function(){z(b);var c=P();return A(c.removePanel())});Q(5," Remove ");J()}a&2&&(a=P(),G(a.first?-1:0),C(),G(a.first?-1:1),C(),G(a.last?-1:2),C(),G(a.last?-1:3))},sxb=function(a){a&1&&(vg(0),Q(1,"Insights"),wg())},txb=function(a){if(a&1){var b=x();I(0,"b-insights-graph-menu",1);M("openSidebar",function(d){z(b);var e=P(2);
return A(e.openSidebar(d.panel))});J()}if(a&2){a=P();var c=P();F("availablePanels",a)("iconOnly",c.iconOnly)("buttonClassname",c.buttonClassname)}},uxb=function(a){a&1&&(D(0,txb,1,3,"b-insights-graph-menu",0),S(1,"async"));a&2&&(a=P(),G(U(1,1,a.shouldShowInsightsGraphMenu$)?0:-1))},vxb=function(a){a&1&&K(0,"edit-issue-metadata",4);a&2&&(a=P(),F("issueId",a.issueId))},wxb=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),eg("title",a.getValue()),C(),R(" ",a.getValue()," "))},xxb=function(a){a&1&&
K(0,"b-custom-field-value-display",0);a&2&&(a=P(),F("customFieldValue",a.getCustomFieldValue()))},yxb=function(a){a&1&&K(0,"b-actions-menu",1);a&2&&(a=P(),F("menuItems",a.menuItems))},zxb=function(a){a&1&&(I(0,"span",2)(1,"strong"),Q(2),J(),Q(3,"\u00a0of\u00a0"),I(4,"strong"),Q(5),J()());a&2&&(a=P(),C(2),Ug("",a.searchResults.startIndex,"\u00a0-\u00a0",a.searchResults.endIndex,""),C(3),Tg(a.searchResults.totalText))},Axb=function(a){a&1&&(I(0,"div"),Q(1," Hotlist not found. "),J())},Bxb=function(a){a&
1&&(I(0,"div"),Q(1," Loading details... "),J())},Cxb=function(a){a&1&&K(0,"b-panel-controls",5);a&2&&(a=P(2),F("panelId",a.panel.panelId))},Dxb=function(a){a&1&&(I(0,"span",9),Q(1," \u00a0(changed) "),J())},Exb=function(a){a&1&&(I(0,"div"),D(1,Cxb,1,1,"b-panel-controls",5),I(2,"span",6),Q(3," Hotlist: "),I(4,"a",7)(5,"span",8),Q(6),J()()(),D(7,Dxb,2,0,"span",9),J());a&2&&(a=P(),C(),G(a.isDashboardEditable?1:-1),C(3),F("href",a.ROUTES.viewHotlist.makeHref(a.hotlistId),of),C(),Gg("matTooltip",a.resource.description),
C(),Tg(a.resource.name),C(),G(a.hasParamChanges()?7:-1))},Fxb=function(a){if(a&1){var b=x();I(0,"div",3)(1,"button",10);M("click",function(){z(b);var c=P();return A(c.save())});Q(2,"Save ");J();I(3,"button",11);M("click",function(){z(b);var c=P();return A(c.discardChanges())});Q(4," Discard changes ");J()()}},Gxb=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(3),C(),R("Searching for ",a.searchParams.query," ..."))},Hxb=function(a){a&1&&(I(0,"div",12),K(1,"b-spinner",15),D(2,Gxb,2,1,"span"),J());
a&2&&(a=P(2),C(),F("large",!1),C(),G(a.searchParams&&a.searchParams.query?2:-1))},Ixb=function(a){a&1&&(I(0,"div",13),Q(1," No issues in hotlist. "),J())},Kxb=function(a){if(a&1){var b=x();I(0,"div",14)(1,"b-issues-grid",16);M("init",function(c){z(b);var d=P(2);return A(Jxb(d,c))});Xg("focusedRowIndexChange",function(c){z(b);var d=P(2);Wg(d.focusedRowIndex,c)||(d.focusedRowIndex=c);return A(c)})("columnsChange",function(c){z(b);var d=P(2);Wg(d.issueColumns,c)||(d.issueColumns=c);return A(c)});M("sortChange",
function(c){z(b);var d=P(2);return A(d.setSort(c.field,c.direction))})("onRowDragDrop",function(c){z(b);var d=P(2);return A(d.repositionIssue(c.srcIndex,c.destIndex))})("rowClick",function(c){z(b);var d=P(2);return A(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){z(b);var c=P(2);return A(c.goToPage(c.page+1))})("onPrevPage",function(){z(b);var c=P(2);return A(c.goToPage(c.page-1))});J()()}a&2&&(a=P(2),C(),F("searchResults",a.searchResults),Vg("focusedRowIndex",a.focusedRowIndex)("columns",
a.issueColumns),F("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},Lxb=function(a){a&1&&(I(0,"div"),D(1,Hxb,3,2,"div",12)(2,Ixb,2,0,"div",13)(3,Kxb,2,5,"div",14),J());a&2&&(a=P(),C(),G(a.isLoading?1:-1),C(),G(a.isLoading||(a.searchResults==null?0:a.searchResults.issues==null?0:a.searchResults.issues.length)?-1:2),C(),G(!a.isLoading&&(a.searchResults==null?0:a.searchResults.issues==null?0:a.searchResults.issues.length)?3:-1))},Mxb=function(a){a&1&&(I(0,"div"),Q(1," Saved search not found. "),
J())},Nxb=function(a){a&1&&(I(0,"div"),Q(1," Loading details... "),J())},Oxb=function(a){a&1&&K(0,"b-panel-controls",5);a&2&&(a=P(2),F("panelId",a.panel.panelId))},Pxb=function(a){a&1&&(I(0,"span",8),Q(1," \u00a0(changed) "),J())},Qxb=function(a){a&1&&(I(0,"div",3),D(1,Oxb,1,1,"b-panel-controls",5),I(2,"span",3),Q(3," Saved search: "),I(4,"a",6)(5,"span",7),Q(6),J()()(),D(7,Pxb,2,0,"span",8),J());a&2&&(a=P(),C(),G(a.isDashboardEditable?1:-1),C(3),F("href",a.paths.viewSavedSearch(a.savedSearchId),
of),C(),Gg("matTooltip",a.resource.description),C(),Tg(a.resource.name),C(),G(a.hasParamChanges()?7:-1))},Rxb=function(a,b){a&1&&(I(0,"span"),Q(1),J());a&2&&(C(),R("Searching for ",b,"..."))},Sxb=function(a){a&1&&(I(0,"div",9),K(1,"b-spinner",12),D(2,Rxb,2,1,"span"),J());if(a&2){var b;a=P(2);C();F("large",!1);C();G((b=a.searchParams==null?null:a.searchParams.query)?2:-1,b)}},Txb=function(a){a&1&&(I(0,"div",10),Q(1," No issues in saved search. "),J())},Uxb=function(a){if(a&1){var b=x();I(0,"div",11)(1,
"b-issues-grid",13);M("init",function(c){z(b);var d=P(2);return A(Jxb(d,c))});Xg("focusedRowIndexChange",function(c){z(b);var d=P(2);Wg(d.focusedRowIndex,c)||(d.focusedRowIndex=c);return A(c)});M("columnsChange",function(c){z(b);var d=P(2);return A(d.columnsChange(c))})("sortChange",function(c){z(b);var d=P(2);return A(d.setSort(c.field,c.direction))})("rowClick",function(c){z(b);var d=P(2);return A(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){z(b);var c=P(2);return A(c.goToPage(c.page+
1))})("onPrevPage",function(){z(b);var c=P(2);return A(c.goToPage(c.page-1))});J()()}a&2&&(a=P(2),C(),F("searchResults",a.searchResults),Vg("focusedRowIndex",a.focusedRowIndex),F("columns",a.issueColumns)("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},Vxb=function(a){a&1&&(I(0,"div"),D(1,Sxb,3,2,"div",9)(2,Txb,2,0,"div",10)(3,Uxb,2,5,"div",11),J());a&2&&(a=P(),C(),G(a.isLoading?1:-1),C(),G(!a.isLoading&&a.searchResults&&a.searchResults.issues.length===0?2:-1),C(),G(!a.isLoading&&
a.searchResults&&a.searchResults.issues.length!==0?3:-1))},Wxb=function(a,b){a&1&&(I(0,"span",2)(1,"a",3),Q(2),J()());a&2&&(a=b.$implicit,C(),Fg("routerLink","/teams/",a.id,"/edit"),F("preserveFragment",!0),C(),Tg(a.name))},Xxb=function(a){a&1&&(I(0,"p")(1,"span",5),Q(2,"NOTE:"),J(),Q(3),I(4,"a",6),Q(5,"Learn more"),J()());a&2&&(a=P(),C(3),R(" ",a.data.noteText," "),C(),F("href",a.getDisablingFieldsHelpLink(),of))},Yxb=function(a){a&1&&K(0,"span",25)(1,"b-icon",26);a&2&&(a=P(),F("innerHTML",a.menuLabel,
nf))},Zxb=function(a){a&1&&(I(0,"div",27),Q(1," This includes emails about major updates and: "),I(2,"ul",28)(3,"li"),Q(4,"All title, hotlist, and status changes."),J(),I(5,"li"),Q(6,"Blocking, Blocked By, or Duplicate changes."),J(),I(7,"li"),Q(8,"Changes to Reporter, Verifier, and CCs."),J(),I(9,"li"),Q(10,"Changes to Type, Found In, Targeted To, Verified In, and In Prod. "),J(),I(11,"li"),Q(12,"Changes to custom fields marked as minor."),J()()())},$xb=function(a){a&1&&(I(0,"div",29),Q(1," This includes emails about: "),
I(2,"ul",28)(3,"li"),Q(4,"New comments."),J(),I(5,"li"),Q(6,"New status updates."),J(),I(7,"li"),Q(8,"Priority or Severity changes."),J(),I(9,"li"),Q(10,"Assignee changes."),J(),I(11,"li"),Q(12,"Component changes."),J(),I(13,"li"),Q(14,"Issue closure or reopening."),J(),I(15,"li"),Q(16,"Changes to custom fields marked as major."),J()()())},ayb=function(a,b){a&1&&(I(0,"mat-option",5),Q(1),J());a&2&&(a=b.$implicit,F("value",a),C(),R(" ",a.name," "))},byb=function(a){a&1&&(I(0,"span",3),Q(1," (must be between 30 days and 20 years) "),
J())},dyb=function(a){if(a&1){var b=x();I(0,"div",4)(1,"b-duration-picker",12);M("durationDaysChange",function(c){z(b);var d=P();d.model.retentionPeriodDays=c!==null&&c!==void 0?c:null;d.modelChange.emit(d.model);yu(d);return A()});J();I(2,"div",13);Q(3);J()()}a&2&&(a=P(),C(),F("disabled",a.issueRetentionDisabled)("durationDays",a.model.retentionPeriodDays),C(2),R(" Issues will be marked for deletion when they have not been modified for ",cyb(a.model.retentionPeriodDays),". "))},eyb=function(a){a&
1&&(I(0,"div",5)(1,"p"),Q(2,"Please note this extended retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),I(3,"b"),Q(4,"one or more"),J(),Q(5," of the following is true:"),J(),I(6,"ol")(7,"li"),Q(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),J(),I(9,"li"),Q(10,"You have a process in place to manually delete this data within an approved period of time."),J(),I(11,"li"),Q(12,"Legal and Privacy have approved this non-standard retention period."),
J()()())},fyb=function(a){a&1&&(I(0,"div",7)(1,"p"),Q(2,"Please note indefinite retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),I(3,"b"),Q(4,"one or more"),J(),Q(5," of the following is true:"),J(),I(6,"ol")(7,"li"),Q(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),J(),I(9,"li"),Q(10,"You have a process in place to manually delete this data within an approved period of time."),J(),I(11,"li"),Q(12,
"Legal and Privacy have approved this non-standard retention period."),J()()())},gyb=function(a){a&1&&(I(0,"span",3),Q(1," (Issue Retention is shorter than default Restricted Retention) "),J())},iyb=function(a){a&1&&(I(0,"span",3),Q(1),J());a&2&&(a=P(),C(),R(" ",hyb(a)," "))},jyb=function(a){a&1&&(I(0,"div",18)(1,"p"),Q(2," Please note restricted retention longer than 4 months is not appropriate in many circumstances for personal data, user data, or any other forms of sensitive data being stored. Before selecting it, you should make sure that Legal and Privacy have approved this non-standard retention period."),
J()())},lyb=function(a){if(a&1){var b=x();I(0,"div",4)(1,"div")(2,"span",14);Q(3,"Restricted retention:");J();I(4,"b-duration-picker",15);M("durationDaysChange",function(c){z(b);var d=P();d.model.piiRetentionPeriodDays=c!==null&&c!==void 0?c:null;d.modelChange.emit(d.model);yu(d);return A()});J()();I(5,"div",16)(6,"p");Q(7);J()();I(8,"div")(9,"span",14);Q(10,"Restricted+ retention:");J();I(11,"b-duration-picker",17);M("durationDaysChange",function(c){z(b);var d=P();d.model.spiiRetentionPeriodDays=
c!==null&&c!==void 0?c:null;d.modelChange.emit(d.model);yu(d);return A()});J()();I(12,"div",16)(13,"p");Q(14);J()();D(15,jyb,3,0,"div",18);J()}a&2&&(a=P(),C(4),F("disabled",!zu(a))("durationDays",a.model.piiRetentionPeriodDays),C(3),R(" Restricted comments and attachments will be marked for deletion when the containing issue has not been modified for ",cyb(a.model.piiRetentionPeriodDays),". "),C(4),F("disabled",!zu(a))("durationDays",a.model.spiiRetentionPeriodDays),C(3),R(" Restricted+ comments and attachments will be marked for deletion when the containing issue has not been modified for ",
cyb(a.model.spiiRetentionPeriodDays),". "),C(),G(a.model.piiRetentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&kyb(a)?15:-1))},myb=function(a){a&1&&(I(0,"div",11)(1,"p"),Q(2," Please note restricted retention longer than 4 months is not appropriate in many circumstances for personal data, user data, or any other forms of sensitive data being stored. Before selecting it, you should make sure that Legal and Privacy have approved this non-standard retention period."),J()())},nyb=function(a,b,c){a=
Au(a.slice(b),c,"[()|]","[()|,\\s]");a.idx+=b;return a},Au=function(a,b,c,d){var e=oyb(a.slice(0,b),c);e=e&&e.index||0;var f=a.slice(b);c=(new RegExp(d||c,"gi")).exec(f);return{val:a.slice(e,(c?c.index:f.length)+b),idx:e}},oyb=function(a,b){b=new RegExp(b,"gi");for(var c,d=null;(c=b.exec(a))!=null;)d=c,d.index=b.lastIndex;return d},Bu=function(a,b){return(b===void 0?0:b)?a.search(/^\d+\+?$/)>-1:a.search(/^\d+$/)>-1},pyb=function(a){return a.charAt(0)==="-"?{negated:!0,token:a.slice(1)}:{negated:!1,
token:a}},Cu=function(a,b,c,d){c=c===void 0?!1:c;d=d===void 0?!1:d;var e=b.val.toLowerCase();a=a.filter(function(q){q=q.name.toLowerCase();return q!==e||d?c?q.startsWith(e):Fa(q,e):!1});b=b.idx;for(var f=b+e.length,h=k(a),l=h.next();!l.done;l=h.next())l=l.value.completionCfg,l.startIdx=b,l.endIdx=f,l.matchingString=e;return a},Du=function(a){var b=a.name;var c=a.label;var d=a.type;var e=a.enableShadowPlaceholder;var f=a.id;var h;return{trackId:((h=a.trackIdPrefix)!=null?h:d)+":"+b,name:b,id:f!=null?
f:b,label:c,completionCfg:{enableShadowPlaceholder:e!=null?e:!0,completionValue:f!=null?f:b,type:d}}},syb=function(a,b){if(a&1){var c=x();I(0,"div",7)(1,"div",9);M("click",function(d){var e=z(c).$implicit,f=P();e=e.key;if(d=d===void 0?null:d)d.preventDefault(),d.stopPropagation();d=f.options.propertyValues[e];d.value=!d.value;qyb(f);ryb(f);f.optionsChange.emit(f.options);return A()});I(2,"mat-checkbox",10);M("change",function(d){var e=z(c).$implicit,f=P();e.value.value=d.checked;qyb(f);ryb(f);f.optionsChange.emit(f.options);
return A()})("click",function(d){z(c);return A(d.stopPropagation())});Q(3);J()()()}a&2&&(a=b.$implicit,eg("aria-checked",a.value.value),C(2),F("checked",a.value.value),C(),R(" ",a.value.displayString," "))},tyb=function(a){a&1&&(I(0,"div",8),Q(1),J());a&2&&(a=P(),C(),R(" ",a.errorString," "))},vyb=function(a){if(a&1){var b=x();I(0,"span",2)(1,"input",3);Xg("ngModelChange",function(c){z(b);var d=P(2);Wg(d.businessDayString,c)||(d.businessDayString=c);return A(c)});M("ngModelChange",function(){z(b);
var c=P(2);return A(uyb(c))});J();I(2,"span",6);Q(3,"days,");J()()}a&2&&(a=P(2),C(),ng("ng-invalid",!!a.errorString),Vg("ngModel",a.businessDayString))},xyb=function(a,b){a&1&&(I(0,"mat-option",5),Q(1),J());a&2&&(a=b.$implicit,b=P(2),F("value",a),C(),R(" ",wyb(b,a)," "))},Cyb=function(a){if(a&1){var b=x();I(0,"span",0);D(1,vyb,4,3,"span",2);I(2,"span",2)(3,"input",3);Xg("ngModelChange",function(c){z(b);var d=P();Wg(d.intervalString,c)||(d.intervalString=c);return A(c)});M("ngModelChange",function(){z(b);
var c=P();return A(uyb(c))});J();I(4,"mat-select",4);Xg("ngModelChange",function(c){z(b);var d=P();Wg(d.intervalUnit,c)||(d.intervalUnit=c);return A(c)});M("selectionChange",function(){z(b);var c=P();yyb(c);zyb(c);return A()});tg(5,xyb,2,2,"mat-option",5,sg);J()()()}a&2&&(a=P(),C(),G(Ayb(a)?1:-1),C(2),ng("invalid",!!a.errorString),Vg("ngModel",a.intervalString),C(),Vg("ngModel",a.intervalUnit),C(),ug(Ayb(a)?[Eu,Fu]:[Eu,Fu,Byb]))},Dyb=function(a){a&1&&(I(0,"span",7),Q(1),J());a&2&&(a=P(2),C(),Ug(" ",
a.objectiveBusinessDays," day",a.objectiveBusinessDays!=1?"s":""," "))},Eyb=function(a){a&1&&(I(0,"span"),Q(1,", "),J())},Fyb=function(a){a&1&&(I(0,"span"),D(1,Eyb,2,0,"span"),I(2,"span"),Q(3),J()());a&2&&(a=P(2),C(),G(a.objectiveBusinessDays?1:-1),C(2),Ug("",a.intervalString," ",wyb(a,a.intervalUnit),""))},Gyb=function(a){a&1&&(I(0,"span",1),D(1,Dyb,2,2,"span",7)(2,Fyb,4,3,"span"),J());a&2&&(a=P(),C(),G(a.objectiveBusinessDays?1:-1),C(),G(a.intervalString&&a.intervalString!="0"?2:-1))},Iyb=function(a){if(a&
1){var b=x();I(0,"b-icon",22);M("click",function(){z(b);var c=P(2);return A(Hyb(c,0))});J()}a&2&&F("name","add")("size","small")},Kyb=function(a){if(a&1){var b=x();I(0,"span",5)(1,"span",18)(2,"span",19);D(3,Iyb,1,2,"b-icon",20);J();I(4,"span",19)(5,"b-icon",21);M("click",function(c){z(b);var d=P();return A(Jyb(d,c))});J()()()()}a&2&&(a=P(),C(3),G(a.canPerformActions?3:-1),C(2),F("name","delete")("size","small"))},Lyb=function(a){a&1&&K(0,"td",26)},Myb=function(a){if(a&1){var b=x();I(0,"td",27)(1,
"slo-element-property-picker",42);Xg("optionsChange",function(c){z(b);var d=P().$implicit;Wg(d.typePickerValues,c)||(d.typePickerValues=c);return A(c)});J()()}a&2&&(a=P().$implicit,C(),F("selectAllText","Any type")("validator",a.validateTypePicker),Vg("options",a.typePickerValues))},Nyb=function(a){if(a&1){var b=x();I(0,"td",28)(1,"slo-element-property-picker",43);Xg("optionsChange",function(c){z(b);var d=P().$implicit;Wg(d.priorityPickerValues,c)||(d.priorityPickerValues=c);return A(c)});J()()}a&
2&&(a=P().$implicit,C(),F("selectAllText","Any priority")("validator",a.validatePriorityPicker),Vg("options",a.priorityPickerValues))},Oyb=function(a){if(a&1){var b=x();I(0,"td",29)(1,"slo-element-property-picker",44);Xg("optionsChange",function(d){z(b);var e=P().$implicit;Wg(e.postmortemPickerValues,d)||(e.postmortemPickerValues=d);return A(d)});J()()}if(a&2){a=P().$implicit;var c=P(2);C();F("selectAllText",c.postmortemAllSummaryValue)("validator",a.validatePostmortemPicker);Vg("options",a.postmortemPickerValues)}},
Qyb=function(a,b){a&1&&(I(0,"mat-option",47),Q(1),J());a&2&&(a=b.$implicit,P(4),F("value",a),C(),R(" ",Pyb(a)," "))},Ryb=function(a){if(a&1){var b=x();I(0,"td",30)(1,"mat-form-field",45)(2,"mat-select",46);Xg("ngModelChange",function(d){z(b);var e=P().$implicit;Wg(e.selectedMetric,d)||(e.selectedMetric=d);return A(d)});tg(3,Qyb,2,2,"mat-option",47,sg);J()()()}if(a&2){a=P().$implicit;var c=P(2);C(2);Vg("ngModel",a.selectedMetric);F("customValidators",a.metricValidators);C();ug(c.metricChoices)}},Syb=
function(a){if(a&1){var b=x();I(0,"td",31)(1,"slo-objective-selector",48);Xg("objectiveDurationChange",function(c){z(b);var d=P().$implicit;Wg(d.selectedObjectiveDuration,c)||(d.selectedObjectiveDuration=c);return A(c)})("objectiveBusinessDaysChange",function(c){z(b);var d=P().$implicit;Wg(d.selectedObjectiveBusinessDays,c)||(d.selectedObjectiveBusinessDays=c);return A(c)});J()()}a&2&&(a=P().$implicit,C(),F("dayType",a.selectedDayType),Vg("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",
a.selectedObjectiveBusinessDays),F("validator",a.validateObjective)("isDisabled",!1))},Uyb=function(a,b){a&1&&(I(0,"mat-option",47),Q(1),J());a&2&&(a=b.$implicit,P(4),F("value",a),C(),R(" ",Tyb.get(a||"CALENDAR")," "))},Vyb=function(a){if(a&1){var b=x();I(0,"td",32)(1,"mat-form-field",45)(2,"mat-select",49);Xg("ngModelChange",function(d){z(b);var e=P().$implicit;Wg(e.selectedDayType,d)||(e.selectedDayType=d);return A(d)});M("selectionChange",function(){z(b);var d=P().$implicit;d.selectedDayType===
"BUSINESS"?d.selectedObjectiveDuration.seconds%86400===0&&(d.selectedObjectiveBusinessDays=d.selectedObjectiveDuration.seconds/86400,d.selectedObjectiveDuration.seconds=0):(d.selectedObjectiveDuration.seconds===0&&(d.selectedObjectiveDuration.seconds=d.selectedObjectiveBusinessDays*86400),d.selectedObjectiveBusinessDays=0);return A()});tg(3,Uyb,2,2,"mat-option",47,sg);J()()()}if(a&2){a=P().$implicit;var c=P(2);C(2);Vg("ngModel",a.selectedDayType);C();ug(c.dayTypes)}},Zyb=function(a){if(a&1){var b=
x();I(0,"td",33)(1,"span",18)(2,"span",19)(3,"b-icon",50);M("click",function(){z(b);var c=P(3);if(c.openRow)if(c.openRow.isValid())Wyb(c.openRow.typePickerValues)&&Wyb(c.openRow.priorityPickerValues)&&Wyb(c.openRow.postmortemPickerValues)?c.confirmationDialogService.open({title:"SLO validation error",content:ti("An SLO rule that matches all issues is not allowed. These rules are considered too broad, and are typically created in error. Some filtering criteria is required to continue."),confirmButtonText:"Ok",
showCancelButton:!1}):Xyb(c);else{var d=c.openRow;(d.selectedDayType!=="BUSINESS"?d.selectedObjectiveDuration.seconds>0:d.selectedObjectiveDuration.seconds>0||d.selectedObjectiveBusinessDays>0)||c.confirmationDialogService.open({title:"SLO validation error",content:ti('An SLO rule must specify a valid duration.\nFor "Calendar" day objectives, the duration must be a positive integer.\nFor "Business" day objectives, a day and/or hour/minute duration must be specified.'),confirmButtonText:"Ok",showCancelButton:!1})}return A()});
J()();I(4,"span",19)(5,"b-icon",51);M("click",function(){z(b);var c=P().$implicit,d=P(2);return A(Yyb(d,c))});J()()()()}a&2&&(C(3),F("name","done")("size","small"),C(2),F("name","delete")("size","small"))},$yb=function(a){a&1&&K(0,"td",34)},azb=function(a){a&1&&(I(0,"div"),Q(1),J());a&2&&(a=P(2).$implicit,C(),R("ERROR: ",a.parseResult.error,""))},bzb=function(a,b){a&1&&(I(0,"span",53)(1,"span",54),Q(2),J()());a&2&&(a=b.$implicit,C(2),Tg(a))},dzb=function(a){a&1&&(I(0,"span",52),tg(1,bzb,3,1,"span",
53,sg),J());if(a&2){a=P(2).$implicit;C();if(a.parseResult.types.length===0)a=["Any"];else{for(var b=[],c=k(a.controllerReference.sloParseService.enumTypeToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.types.includes(d)&&b.push(czb(a.controllerReference,d));a=b}ug(a)}},ezb=function(a){a&1&&(I(0,"td",35),D(1,azb,2,1,"div")(2,dzb,3,0,"span",52),J());a&2&&(a=P().$implicit,C(),G(a.parseResult.error?1:2))},fzb=function(a){a&1&&(I(0,"div"),Q(1),J());a&2&&(a=P(2).$implicit,C(),R("ERROR: ",
a.parseResult.error,""))},gzb=function(a,b){a&1&&(I(0,"span",53)(1,"span",54),Q(2),J()());a&2&&(a=b.$implicit,C(2),Tg(a))},izb=function(a){a&1&&(I(0,"span",52),tg(1,gzb,3,1,"span",53,sg),J());if(a&2){a=P(2).$implicit;C();if(a.parseResult.priorities.length===0)a=["Any"];else{for(var b=[],c=k(a.controllerReference.sloParseService.enumPriorityToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.priorities.includes(d)&&b.push(hzb(a.controllerReference,d));a=b}ug(a)}},jzb=function(a){a&
1&&(I(0,"td",36),D(1,fzb,2,1,"div")(2,izb,3,0,"span",52),J());a&2&&(a=P().$implicit,C(),G(a.parseResult.error?1:2))},kzb=function(a){a&1&&(I(0,"div"),Q(1),J());a&2&&(a=P(2).$implicit,C(),R("ERROR: ",a.parseResult.error,""))},lzb=function(a,b){a&1&&(I(0,"span",53)(1,"span",54),Q(2),J()());a&2&&(a=b.$implicit,C(2),Tg(a))},mzb=function(a){a&1&&(I(0,"span",52),tg(1,lzb,3,1,"span",53,sg),J());if(a&2){a=P(2).$implicit;C();var b=a.parseResult.postmortemValues.includes("ANY"),c=a.parseResult.postmortemValues.includes("NONE");
a=b===c?["Either"]:[a.controllerReference.anyNoneDisplayValues.get(a.parseResult.postmortemValues[0])];ug(a)}},nzb=function(a){a&1&&(I(0,"td",37),D(1,kzb,2,1,"div")(2,mzb,3,0,"span",52),J());a&2&&(a=P().$implicit,C(),G(a.parseResult.error?1:2))},ozb=function(a){a&1&&(I(0,"td",38),Q(1),J());a&2&&(a=P().$implicit,P(2),C(),R(" ",Pyb(a.sloElement.metric)," "))},pzb=function(a){if(a&1){var b=x();I(0,"td",39)(1,"slo-objective-selector",55);Xg("objectiveDurationChange",function(c){z(b);var d=P().$implicit;
Wg(d.selectedObjectiveDuration,c)||(d.selectedObjectiveDuration=c);return A(c)})("objectiveBusinessDaysChange",function(c){z(b);var d=P().$implicit;Wg(d.selectedObjectiveBusinessDays,c)||(d.selectedObjectiveBusinessDays=c);return A(c)});J()()}a&2&&(a=P().$implicit,C(),F("dayType",a.selectedDayType),Vg("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays),F("isDisabled",!a.isEditingInternal))},qzb=function(a){a&1&&(I(0,"td",40),Q(1),J());a&2&&(a=
P().$implicit,P(2),C(),R(" ",Tyb.get(a.sloElement.dayType||"CALENDAR")," "))},szb=function(a){if(a&1){var b=x();I(0,"b-icon",63);M("click",function(c){z(b);var d=P(2).$implicit,e=P(2);return A(rzb(e,d,c))});J()}a&2&&F("name","edit")("size","small")},tzb=function(a){a&1&&K(0,"b-icon",57);a&2&&(P(),a=L(8),F("name","more-settings-vertical")("size","small")("matMenuTriggerFor",a))},vzb=function(a){if(a&1){var b=x();I(0,"button",64);M("click",function(){z(b);var c=P(2).$implicit,d=P(2);return A(uzb(d,
c,1))});Q(1," Move row down ");J()}},wzb=function(a){if(a&1){var b=x();I(0,"button",65);M("click",function(){z(b);var c=P(2).$implicit,d=P(2);return A(uzb(d,c,-1))});Q(1," Move row up ");J()}},yzb=function(a){if(a&1){var b=x();I(0,"td",41)(1,"span",18)(2,"span",19);D(3,szb,1,2,"b-icon",56);J();I(4,"span",19)(5,"span");D(6,tzb,1,3,"b-icon",57);J();I(7,"mat-menu",null,0);D(9,vzb,2,0,"button",58)(10,wzb,2,0,"button",59);I(11,"button",60);M("click",function(){z(b);var d=P().$implicit,e=P(2);Hyb(e,e.collection.indexOf(d)+
1);return A()});Q(12," Add row below ");J();I(13,"button",61);M("click",function(){z(b);var d=P().$implicit,e=P(2);Hyb(e,e.collection.indexOf(d));return A()});Q(14," Add row above ");J();I(15,"button",62);M("click",function(){z(b);var d=P().$implicit,e=P(2);return A(Yyb(e,d))});Q(16," Remove ");J()()()()()}if(a&2){a=P().$implicit;var c=P(2);C(3);G(a.canEdit?3:-1);C(3);G(a.canEdit?6:-1);C(3);G(xzb(c,a,1).valid?9:-1);C();G(xzb(c,a,-1).valid?10:-1)}},zzb=function(a,b){a&1&&(I(0,"tr",25),D(1,Lyb,1,0,
"td",26)(2,Myb,2,3,"td",27)(3,Nyb,2,3,"td",28)(4,Oyb,2,3,"td",29)(5,Ryb,5,2,"td",30)(6,Syb,2,5,"td",31)(7,Vyb,5,1,"td",32)(8,Zyb,6,4,"td",33)(9,$yb,1,0,"td",34)(10,ezb,3,1,"td",35)(11,jzb,3,1,"td",36)(12,nzb,3,1,"td",37)(13,ozb,2,1,"td",38)(14,pzb,2,4,"td",39)(15,qzb,2,1,"td",40)(16,yzb,17,4,"td",41),J());a&2&&(a=b.$implicit,b=P(2),ng("draggable",!b.isDisabled&&b.openRow==null),C(),G(a.isEditingInternal?1:-1),C(),G(a.isEditingInternal?2:-1),C(),G(a.isEditingInternal?3:-1),C(),G(a.isEditingInternal?
4:-1),C(),G(a.isEditingInternal?5:-1),C(),G(a.isEditingInternal?6:-1),C(),G(a.isEditingInternal?7:-1),C(),G(a.isEditingInternal?8:-1),C(),G(a.isEditingInternal?-1:9),C(),G(a.isEditingInternal?-1:10),C(),G(a.isEditingInternal?-1:11),C(),G(a.isEditingInternal?-1:12),C(),G(a.isEditingInternal?-1:13),C(),G(a.isEditingInternal?-1:14),C(),G(a.isEditingInternal?-1:15),C(),G(a.isEditingInternal?-1:16))},Azb=function(a){if(a&1){var b=x();I(0,"tbody",23);M("cdkDropListDropped",function(c){z(b);var d=P();return A(d.onDrop(c))});
tg(1,zzb,17,18,"tr",24,sg);J()}a&2&&(a=P(),F("cdkDropListData",a.collection)("cdkDropListDisabled",a.isDisabled||a.openRow!=null),C(),ug(a.collection))},Bzb=function(a){a&1&&(I(0,"div",17),Q(1," There are currently no rules for this SLO "),J())},Czb=function(a,b){if(a&1){var c=x();I(0,"tr",7);M("click",function(){var e=z(c).$implicit,f=P();return A(f.editSlo(e))})("focus",function(){var e=z(c).$index,f=P();return A(f.setFocusOnIndex(e))});K(1,"td",2);I(2,"td",8)(3,"a",9);Q(4);J()();I(5,"td",10);Q(6);
J()()}if(a&2){a=b.$implicit;b=b.$index;var d=P();ng("grid-focus",d.isFocused(b));eg("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));C(3);F("href",tq.editSlo.makeHref(a.sloId),of);C();R(" ",a.name," ");C(2);R(" ",a.description," ")}},Dzb=function(a){if(a)return(Array.isArray(a)?a.map(function(b){return Ei(b)}):[Ei(a)]).filter(function(b){return!isNaN(b)})},Ezb=function(a,b){if(b&&!Array.isArray(b))return a.find(function(c){return!Gu(c,b)})},Fzb=function(a,b){typeof a==="string"&&
(a=a.trim())&&b(Yi(a))},Gzb=function(a,b){if(!a)return[];a=k(typeof a==="string"?a.split(","):a);for(var c=a.next();!c.done;c=a.next())Fzb(c.value,function(d){return b.push(d)});return Yqa(b)},Hzb=function(a){return a===null?function(){}:function(b){a:{if(Array.isArray(b)&&b.length===1&&(b=b[0],Array.isArray(b))){b=new a(b);break a}b=void 0}if(b!==void 0)return b;throw Error("ag");}},Izb=function(a){a&1&&(I(0,"a",1),Q(1),S(2,"async"),J());if(a&2){var b;a=P();F("href",a.manageComponentLink,of);C();
Tg((b=U(2,2,a.component$))==null?null:b.name)}},Jzb=function(a){a&1&&(I(0,"output"),Q(1),J());a&2&&(a=P(),C(),Tg(a.componentId))},Kzb=function(a){a&1&&xg(0)},Lzb=function(a){a&1&&D(0,Kzb,1,0,"ng-container",4);a&2&&(P(),a=L(6),F("ngTemplateOutlet",a))},Mzb=function(a){a&1&&xg(0)},Nzb=function(a){a&1&&D(0,Mzb,1,0,"ng-container",4);a&2&&(P(),a=L(8),F("ngTemplateOutlet",a))},Ozb=function(a){a&1&&(I(0,"li")(1,"label"),Q(2,"Component"),J(),K(3,"b-async-component",8),J());a&2&&(a=P(2),C(3),F("componentId",
a.issueComponentId))},Pzb=function(a){a&1&&(I(0,"li")(1,"label"),Q(2,"Team"),J(),K(3,"b-team-display",9),J());a&2&&(a=P(2),C(3),F("teamId",a.issueTeamId))},Qzb=function(a){a&1&&(I(0,"ol",5)(1,"li")(2,"label"),Q(3,"ID"),J(),I(4,"output"),Q(5),J()(),I(6,"li")(7,"label"),Q(8,"Type"),J(),I(9,"output"),Q(10),J()(),I(11,"li")(12,"label"),Q(13,"Priority"),J(),K(14,"b-issue-priority-display",6),J(),I(15,"li")(16,"label"),Q(17,"Severity"),J(),I(18,"output"),Q(19),J()(),I(20,"li")(21,"label"),Q(22,"Status"),
J(),I(23,"output"),Q(24),J()(),I(25,"li")(26,"label"),Q(27,"Last modified"),J(),I(28,"output"),Q(29),S(30,"date"),J()(),I(31,"li")(32,"label"),Q(33,"Issue access limit"),J(),I(34,"output"),Q(35),I(36,"a",7),Q(37,"Learn more"),J()()(),D(38,Ozb,4,1,"li")(39,Pzb,4,1,"li"),J());a&2&&(a=P(),C(5),Tg(a.issueId),C(5),Tg(a.issueType),C(4),F("issuePriority",a.issuePriority),C(5),Tg(a.issueSeverity),C(5),Tg(a.issueStatus),C(5),Tg(eh(30,10,a.issueLastModified,"medium")),C(6),R("",a.accessLimitLevel," "),C(),
F("href",a.documentationLinks.getIssueAccessLimit(),of),C(2),G(a.issueComponentId?38:-1),C(),G(a.issueTeamId?39:-1))},Rzb=function(a){if(a&1){var b=x();I(0,"button",11);M("click",function(){z(b);P(2).loginRedirector.redirect();return A()});Q(1,"Sign in");J()}},Szb=function(a){a&1&&(I(0,"h3"),Q(1,"Access to this issue may be resolved by signing in."),J(),D(2,Rzb,2,0,"button",10));a&2&&(a=P(),C(2),G(a.enableSignInAnonymousAccessDenied?2:-1))},Tzb=function(a){return a.startsWith('"')&&a.endsWith('"')||
a.startsWith("'")&&a.endsWith("'")?a.toLowerCase().substr(1,a.length-2):a.toLowerCase()},Uzb=function(a){a.label||(a=zi(a),a.label={customFieldId:void 0,field:"_TEXT_"});return a},Wzb=function(a){return{type:Vzb[a.getType()],value:a.getValue()}},Yzb=function(a){var b,c=Xzb[a.getType()],d=((b=a.getValuesList())!=null?b:[]).map(Yzb);a=nj(a,Zzb,3,Wi());return{type:c,values:d,simpleValues:(a!=null?a:[]).map(Wzb)}},cAb=function(a){var b,c=$zb[a.getType()],d=((b=a.getValuesList())!=null?b:[]).map(Yzb);
b=Fj(a,3);if(a.hasLabel()){var e=a.getLabel();e={field:aAb[e.getField()],customFieldId:Number(e.getCustomFieldId_asString())}}else e=void 0;return{type:c,values:d,negated:b,label:e,operator:bAb[Kj(a,5,0)]}},hAb=function(a){switch(a.getKindCase()){case 2:return{syntaxErrorResponse:{syntaxError:Gh(Al(a,dAb,2,eAb),1)},queryBuilderResponse:void 0};case 1:a=Al(a,Hu,1,eAb);var b;return{syntaxErrorResponse:void 0,queryBuilderResponse:{type:fAb[a.getType()],expressions:((b=nj(a,gAb,2,Wi()))!=null?b:[]).map(cAb)}};
default:return{syntaxErrorResponse:void 0,queryBuilderResponse:void 0}}},iAb=function(a){a&1&&(I(0,"span",8),Q(1," > "),J())},lAb=function(a,b){if(a&1){var c=x();I(0,"span")(1,"a",7);M("click",function(e){var f=z(c).$implicit,h=P(2);f=new jAb(f.pathIds,f.pathNames);h.onTeamSelect.emit(f);e.stopPropagation();e.preventDefault();kAb(h.autocompleteTrigger);return A()});Q(2);J();D(3,iAb,2,0,"span",8);J()}if(a&2){a=b.$implicit;var d=b.$index;b=b.$count;C();F("matTooltip",a.pathNameText);C();Tg(a.name);
C();G(d!==b-1?3:-1)}},mAb=function(a,b){a&1&&(I(0,"mat-option",5)(1,"div"),tg(2,lAb,4,3,"span",null,sg),J(),I(4,"span",6),Q(5),S(6,"slice"),J()());a&2&&(a=b.$implicit,F("value",a),C(2),ug(a.teamPath),C(2),F("matTooltip",a.description),C(),R("",nma(6,3,a.description,100)," "))},nAb=function(a,b){a&1&&(I(0,"mat-option",4)(1,"div",5),Q(2),J()());a&2&&(a=b.$implicit,F("value",a),C(2),R(" ",a.name," "))},oAb=function(a,b){a&1&&(I(0,"mat-option",11),Q(1),J());a&2&&(a=b.$implicit,F("value",a.key),C(),R(" ",
a.value," "))},pAb=function(a){if(a&1){var b=x();I(0,"mat-form-field",4)(1,"mat-select",10);Xg("ngModelChange",function(c){z(b);var d=P(2);Wg(d.expressionType,c)||(d.expressionType=c);return A(c)});tg(2,oAb,2,2,"mat-option",11,sg);S(4,"keyvalue");J()()}a&2&&(a=P(2),C(),Vg("ngModel",a.expressionType),C(),ug(U(4,1,a.globalTypeLabels)))},qAb=function(a,b){a&1&&(I(0,"mat-option",11),Q(1),J());a&2&&(a=b.$implicit,F("value",a[0]),C(),R(" ",a[1]," "))},rAb=function(a,b){a&1&&(I(0,"mat-option",11),Q(1),J());
if(a&2){a=b.$implicit;b=P(2).$implicit;var c=P(2);F("value",a);C();R(" ",c.getTypeLabel(b,a)," ")}},sAb=function(a){if(a&1){var b=x();I(0,"mat-form-field",4)(1,"mat-select",18);Xg("ngModelChange",function(c){z(b);var d=P().$implicit;Wg(d.type,c)||(d.type=c);return A(c)});tg(2,rAb,2,2,"mat-option",11,sg);J()()}a&2&&(a=P().$implicit,C(),Vg("ngModel",a.type),C(),ug(a.getLegalTypes()))},uAb=function(a){if(a&1){var b=x();I(0,"div",26);M("click",function(){z(b);var c=P(2).$implicit,d=P(5);return A(tAb(d,
c))});I(1,"span",27);Q(2);J()()}a&2&&(a=P(2).$implicit,P(5),F("title",a.value),C(2),R(" ",a.value.replace(/"/g,"")," "))},vAb=function(a){if(a&1){var b=x();I(0,"div",24)(1,"b-custom-repeated-enum-picker",28);M("onValueChange",function(e){z(b);var f=P(7);f.chipUnderEdit.value='"'+e+'"';Iu(f);return A()});J()()}if(a&2){a=P(2).$implicit;var c=P(3).$implicit,d=P(2);C();F("showPlaceholder",!0)("customFieldTitle",d.getCustomFieldName(c))("currentInputValue",a.value.replace(/"/g,""))("allowedValues",c.getOptions())}},
wAb=function(a){if(a&1){var b=x();I(0,"div",22);D(1,uAb,3,2,"div",23)(2,vAb,2,4,"div",24);I(3,"button",25);M("click",function(){z(b);var d=P().$implicit,e=P(3).$implicit,f=P(2);return A(Ju(f,e,d))});J()()}if(a&2){a=P().$implicit;var c=P(5);C();G(c.chipUnderEdit===a?-1:1);C();G(c.chipUnderEdit===a?2:-1)}},xAb=function(a,b){a&1&&D(0,wAb,4,2,"div",22);a&2&&(a=b.$implicit,b=P(5),G(b.chipUnderEdit===a||a.value?0:-1))},yAb=function(a){if(a&1){var b=x();I(0,"button",29);M("click",function(){z(b);var c=P(3).$implicit,
d=P(2);return A(Ku(d,c))});Q(1);J()}a&2&&(a=P(3).$implicit,C(),R(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},zAb=function(a){a&1&&(I(0,"div",19),tg(1,xAb,1,1,null,null,sg),D(3,yAb,2,1,"button",21),J());a&2&&(a=P(2).$implicit,C(),ug(a.values),C(2),G(a.type?3:-1))},AAb=function(a,b){if(a&1){var c=x();I(0,"div",30)(1,"mat-checkbox",31);M("change",function(d){var e=z(c).$implicit,f=P(3).$implicit;return A(f.enumValues[e.id]=d.checked)});Q(2);J()()}a&2&&(a=b.$implicit,b=P(3).$implicit,C(),F("checked",
b.enumValues[a.id]),C(),R(" ",a.label||a.id," "))},BAb=function(a){a&1&&(I(0,"div",20),tg(1,AAb,3,2,"div",30,sg),J());a&2&&(a=P(2).$implicit,C(),ug(a.getOptions()))},CAb=function(a){if(a&1){var b=x();I(0,"div")(1,"input",32);Xg("ngModelChange",function(c){z(b);var d=P(3).$implicit;Wg(d.csv,c)||(d.csv=c);return A(c)});J()()}a&2&&(a=P(3).$implicit,C(),Vg("ngModel",a.csv),F("bContactAutocomplete","MULTI"))},DAb=function(a){if(a&1){var b=x();I(0,"div",14)(1,"input",33);Xg("ngModelChange",function(c){z(b);
var d=P(3).$implicit;Wg(d.csv,c)||(d.csv=c);return A(c)});J()()}a&2&&(a=P(3).$implicit,C(),Vg("ngModel",a.csv))},EAb=function(a){if(a&1){var b=x();I(0,"div",14)(1,"input",34);Xg("ngModelChange",function(c){z(b);var d=P(3).$implicit;Wg(d.csv,c)||(d.csv=c);return A(c)});J()()}a&2&&(a=P(3).$implicit,C(),Vg("ngModel",a.csv))},FAb=function(a){if(a&1){var b=x();I(0,"div",14)(1,"input",35);Xg("ngModelChange",function(c){z(b);var d=P(3).$implicit;Wg(d.csv,c)||(d.csv=c);return A(c)});J()()}a&2&&(a=P(3).$implicit,
C(),Vg("ngModel",a.csv))},GAb=function(a){a&1&&(I(0,"div"),D(1,CAb,2,2,"div")(2,DAb,2,1,"div",14)(3,EAb,2,1,"div",14)(4,FAb,2,1,"div",14),J());a&2&&(a=P(2).$implicit,C(),G(a.getWidgetType()=="user"?1:-1),C(),G(a.getWidgetType()=="csv"?2:-1),C(),G(a.getWidgetType()=="id"?3:-1),C(),G(a.getWidgetType()=="number"?4:-1))},HAb=function(a,b){if(a&1){var c=x();I(0,"div",36)(1,"div",24)(2,"input",35);Xg("ngModelChange",function(d){var e=z(c).$implicit;Wg(e.value,d)||(e.value=d);return A(d)});J()();I(3,"button",
37);M("click",function(){var d=z(c).$implicit,e=P(3).$implicit,f=P(2);return A(Ju(f,e,d))});J()()}a&2&&(a=b.$implicit,C(2),Vg("ngModel",a.value))},IAb=function(a){if(a&1){var b=x();I(0,"button",29);M("click",function(){z(b);var c=P(3).$implicit,d=P(2);return A(Ku(d,c))});Q(1);J()}a&2&&(a=P(3).$implicit,C(),R(" + ",a.type=="OR"||a.type=="NOR"?"OR":"AND"," "))},JAb=function(a){a&1&&(I(0,"div",19),tg(1,HAb,4,1,"div",36,sg),D(3,IAb,2,1,"button",21),J());a&2&&(a=P(2).$implicit,C(),ug(a.values),C(2),G(a.type?
3:-1))},LAb=function(a){if(a&1){var b=x();I(0,"div",26);M("click",function(){z(b);var d=P(2).$implicit,e=P(5);return A(KAb(e,d))});I(1,"span",27);Q(2);J()()}if(a&2){a=P(2).$implicit;var c=P(5);F("title",c.getComponentPath(c.components[a.value]));C(2);R(" ",c.getComponentPath(c.components[a.value])," ")}},MAb=function(a){if(a&1){var b=x();I(0,"div",24)(1,"b-team-component-picker",41);M("selectedComponentChange",function(c){z(b);var d=P(7);d.componentUnderEdit=c!==null&&c!==void 0?c:null;d.componentUnderEdit&&
(d.chipUnderEdit.value=d.componentUnderEdit.componentId,d.components[d.componentUnderEdit.componentId]=d.componentUnderEdit);d.componentUnderEdit=null;Iu(d);return A()});J()()}a&2&&(a=P(7),C(),F("selectedComponent",a.componentUnderEdit)("placeholder","Choose Component")("isRequired",!0))},NAb=function(a){if(a&1){var b=x();I(0,"div",38);D(1,LAb,3,2,"div",23)(2,MAb,2,3,"div",24);I(3,"button",39);M("click",function(){z(b);var d=P().$implicit;P(5);d.includeSubs=!d.includeSubs;return A()});K(4,"mat-icon",
40);J();I(5,"button",25);M("click",function(){z(b);var d=P().$implicit,e=P(3).$implicit,f=P(2);return A(Ju(f,e,d))});J()()}if(a&2){a=P().$implicit;var c=P(5);C();G(c.chipUnderEdit===a?-1:1);C();G(c.chipUnderEdit===a?2:-1);C();F("title",a.includeSubs?"Subcomponents are included":"Subcomponents are not included");eg("aria-checked",a.includeSubs);C();F("svgIcon",a.includeSubs?"child-components-24px":"child-components-hide-24px")}},OAb=function(a,b){a&1&&D(0,NAb,6,5,"div",38);a&2&&(a=b.$implicit,b=P(5),
G(b.chipUnderEdit===a||a.value?0:-1))},PAb=function(a){if(a&1){var b=x();I(0,"button",29);M("click",function(){z(b);var c=P(3).$implicit,d=P(2);return A(Ku(d,c))});Q(1);J()}a&2&&(a=P(3).$implicit,C(),R(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},QAb=function(a){a&1&&(I(0,"div",19),tg(1,OAb,1,1,null,null,sg),D(3,PAb,2,1,"button",21),J());a&2&&(a=P(2).$implicit,C(),ug(a.values),C(2),G(a.type?3:-1))},SAb=function(a){if(a&1){var b=x();I(0,"div",26);M("click",function(){z(b);var d=P(2).$implicit,
e=P(5);return A(RAb(e,d))});I(1,"span",27);Q(2);J()()}if(a&2){a=P(2).$implicit;var c=P(5);F("title",c.trackers[a.value]==null?null:c.trackers[a.value].name);C(2);R(" ",c.trackers[a.value]==null?null:c.trackers[a.value].name," ")}},TAb=function(a){if(a&1){var b=x();I(0,"div",24)(1,"b-tracker-picker",43);M("onTrackerSelect",function(c){z(b);var d=P(7);d.analytics.trackEvent("search","builder-autocomplete-select","tracker",isNaN(Number(c.trackerId))?0:Number(c.trackerId));d.chipUnderEdit.value=c.trackerId;
d.trackers[c.trackerId]=c;d.trackerUnderEdit=null;Iu(d);return A()});J()()}a&2&&(a=P(7),C(),F("selectedTracker",a.trackerUnderEdit))},UAb=function(a){if(a&1){var b=x();I(0,"div",42);D(1,SAb,3,2,"div",23)(2,TAb,2,1,"div",24);I(3,"button",25);M("click",function(){z(b);var d=P().$implicit,e=P(3).$implicit,f=P(2);return A(Ju(f,e,d))});J()()}if(a&2){a=P().$implicit;var c=P(5);C();G(c.chipUnderEdit===a?-1:1);C();G(c.chipUnderEdit===a?2:-1)}},VAb=function(a,b){a&1&&D(0,UAb,4,2,"div",42);a&2&&(a=b.$implicit,
b=P(5),G(b.chipUnderEdit===a||a.value?0:-1))},WAb=function(a){if(a&1){var b=x();I(0,"button",29);M("click",function(){z(b);var c=P(3).$implicit,d=P(2);return A(Ku(d,c))});Q(1);J()}a&2&&(a=P(3).$implicit,C(),R(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},XAb=function(a){a&1&&(I(0,"div",19),tg(1,VAb,1,1,null,null,sg),D(3,WAb,2,1,"button",21),J());a&2&&(a=P(2).$implicit,C(),ug(a.values),C(2),G(a.type?3:-1))},ZAb=function(a){if(a&1){var b=x();I(0,"div",26);S(1,"teamPath");M("click",function(){z(b);
var d=P(2).$implicit,e=P(6);return A(YAb(e,d))});I(2,"span",27);Q(3);S(4,"teamPath");J()()}if(a&2){a=P(2).$implicit;var c=P(6);F("title",U(1,2,c.teams[a.value]));C(3);R(" ",U(4,4,c.teams[a.value])," ")}},aBb=function(a){if(a&1){var b=x();I(0,"div",24)(1,"b-team-picker",46);M("onTeamSelect",function(c){z(b);var d=P(8);return A($Ab(d,c))});J()()}a&2&&(a=P(8),C(),F("teamSelected",a.teamUnderEdit))},bBb=function(a){if(a&1){var b=x();I(0,"div",44);D(1,ZAb,5,6,"div",23)(2,aBb,2,1,"div",24);I(3,"button",
45);M("click",function(){z(b);var d=P().$implicit;P(6);d.includeSubs=!d.includeSubs;return A()});K(4,"mat-icon",40);J();I(5,"button",25);M("click",function(){z(b);var d=P().$implicit,e=P(4).$implicit,f=P(2);return A(Ju(f,e,d))});J()()}if(a&2){a=P().$implicit;var c=P(6);C();G(c.chipUnderEdit===a?-1:1);C();G(c.chipUnderEdit===a?2:-1);C();F("title",a.includeSubs?"Subteams are included":"Subteams are not included");eg("aria-checked",a.includeSubs);C();F("svgIcon",a.includeSubs?"child-teams-24px":"child-teams-hide-24px")}},
cBb=function(a,b){a&1&&D(0,bBb,6,5,"div",44);a&2&&(a=b.$implicit,b=P(6),G(b.chipUnderEdit===a||a.value?0:-1))},dBb=function(a){if(a&1){var b=x();I(0,"button",29);M("click",function(){z(b);var c=P(4).$implicit,d=P(2);return A(Ku(d,c))});Q(1);J()}a&2&&(a=P(4).$implicit,C(),R(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},eBb=function(a){a&1&&(tg(0,cBb,1,1,null,null,sg),D(2,dBb,2,1,"button",21));a&2&&(a=P(3).$implicit,ug(a.values),C(2),G(a.type?2:-1))},fBb=function(a){a&1&&(I(0,"div",19),D(1,eBb,
3,1),J());a&2&&(a=P(4),C(),G(a.sessionIsInternal?1:-1))},hBb=function(a){if(a&1){var b=x();I(0,"div")(1,"bv2-input-date-picker",47);M("boundValueChange",function(d){z(b);P(3).$implicit.dateFrom=gBb(d);return A()});J();Q(2," and ");I(3,"bv2-input-date-picker",47);M("boundValueChange",function(d){z(b);P(3).$implicit.dateTo=gBb(d);return A()});J()()}if(a&2){a=P(3).$implicit;var c=P(2);C();F("boundValue",c.getDateValue(a.dateFrom))("isRequired",!0);C(2);F("boundValue",c.getDateValue(a.dateTo))("isRequired",
!0)}},iBb=function(a){if(a&1){var b=x();I(0,"div");Q(1," the last ");I(2,"input",48);Xg("ngModelChange",function(c){z(b);var d=P(3).$implicit;Wg(d.duration,c)||(d.duration=c);return A(c)});J();Q(3," days. ");J()}a&2&&(a=P(3).$implicit,C(2),Vg("ngModel",a.duration))},jBb=function(a){if(a&1){var b=x();I(0,"div")(1,"bv2-input-date-picker",47);M("boundValueChange",function(d){z(b);P(3).$implicit.dateFrom=gBb(d);return A()});J()()}if(a&2){a=P(3).$implicit;var c=P(2);C();F("boundValue",c.getDateValue(a.dateFrom))("isRequired",
!0)}},kBb=function(a){a&1&&(I(0,"div"),D(1,hBb,4,4,"div")(2,iBb,4,1,"div")(3,jBb,2,2,"div"),J());a&2&&(a=P(2).$implicit,C(),G(a.type=="RANGE"||a.type=="NRANGE"?1:-1),C(),G(a.type=="DURATION"||a.type=="NDURATION"?2:-1),C(),G(a.type=="LE"||a.type=="LT"||a.type=="GE"||a.type=="GT"||a.type=="OR"?3:-1))},lBb=function(a){if(a&1){var b=x();I(0,"div",26);M("click",function(){z(b);var d=P(2).$implicit,e=P(5);return A(Lu(e,d))});I(1,"span",27);Q(2);J()()}if(a&2){a=P(2).$implicit;var c=P(5);F("title",(c.hotlists[a.value]==
null?null:c.hotlists[a.value].name)||a.value);C(2);R(" ",(c.hotlists[a.value]==null?null:c.hotlists[a.value].name)||a.value," ")}},mBb=function(a,b){a&1&&(I(0,"mat-option",11),Q(1),J());a&2&&(a=b.$implicit,F("value",a.hotlistId),C(),R(" ",a.name," "))},nBb=function(a){if(a&1){var b=x();I(0,"mat-form-field",50)(1,"mat-select",51);Xg("ngModelChange",function(d){z(b);var e=P(2).$implicit;Wg(e.value,d)||(e.value=d);return A(d)});M("selectionChange",function(){z(b);var d=P(7);return A(Iu(d))});tg(2,mBb,
2,2,"mat-option",11,sg);J()()}if(a&2){a=P(2).$implicit;var c=P(5);C();Vg("ngModel",a.value);C();ug(c.userHotlists)}},oBb=function(a){if(a&1){var b=x();I(0,"div",49);D(1,lBb,3,2,"div",23)(2,nBb,4,1,"mat-form-field",50);I(3,"button",25);M("click",function(){z(b);var d=P().$implicit,e=P(3).$implicit,f=P(2);return A(Ju(f,e,d))});J()()}if(a&2){a=P().$implicit;var c=P(5);C();G(c.chipUnderEdit===a?-1:1);C();G(c.chipUnderEdit===a?2:-1)}},pBb=function(a,b){a&1&&D(0,oBb,4,2,"div",49);a&2&&(a=b.$implicit,b=
P(5),G(b.chipUnderEdit===a||a.value?0:-1))},qBb=function(a){if(a&1){var b=x();I(0,"button",29);M("click",function(){z(b);var c=P(3).$implicit,d=P(2);return A(Ku(d,c))});Q(1);J()}a&2&&(a=P(3).$implicit,C(),R(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},rBb=function(a){a&1&&(I(0,"div",19),tg(1,pBb,1,1,null,null,sg),D(3,qBb,2,1,"button",21),J());a&2&&(a=P(2).$implicit,C(),ug(a.values),C(2),G(a.type?3:-1))},sBb=function(a){if(a&1){var b=x();I(0,"div",26);M("click",function(){z(b);var d=P(2).$implicit,
e=P(5);return A(Lu(e,d))});I(1,"span",27);Q(2);J()()}if(a&2){a=P(2).$implicit;var c=P(5);F("title",(c.savedSearches[a.value]==null?null:c.savedSearches[a.value].name)||a.value);C(2);R(" ",(c.savedSearches[a.value]==null?null:c.savedSearches[a.value].name)||a.value," ")}},tBb=function(a,b){a&1&&(I(0,"mat-option",11),Q(1),J());a&2&&(a=b.$implicit,F("value",a.searchId),C(),R(" ",a.name," "))},uBb=function(a){if(a&1){var b=x();I(0,"mat-form-field",50)(1,"mat-select",52);Xg("ngModelChange",function(d){z(b);
var e=P(2).$implicit;Wg(e.value,d)||(e.value=d);return A(d)});M("selectionChange",function(){z(b);var d=P(7);return A(Iu(d))});tg(2,tBb,2,2,"mat-option",11,sg);J()()}if(a&2){a=P(2).$implicit;var c=P(5);C();Vg("ngModel",a.value);C();ug(c.userSavedSearches)}},vBb=function(a){if(a&1){var b=x();I(0,"div",49);D(1,sBb,3,2,"div",23)(2,uBb,4,1,"mat-form-field",50);I(3,"button",25);M("click",function(){z(b);var d=P().$implicit,e=P(3).$implicit,f=P(2);return A(Ju(f,e,d))});J()()}if(a&2){a=P().$implicit;var c=
P(5);C();G(c.chipUnderEdit===a?-1:1);C();G(c.chipUnderEdit===a?2:-1)}},wBb=function(a,b){a&1&&D(0,vBb,4,2,"div",49);a&2&&(a=b.$implicit,b=P(5),G(b.chipUnderEdit===a||a.value?0:-1))},xBb=function(a){if(a&1){var b=x();I(0,"button",29);M("click",function(){z(b);var c=P(3).$implicit,d=P(2);return A(Ku(d,c))});Q(1);J()}a&2&&(a=P(3).$implicit,C(),R(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},yBb=function(a){a&1&&(I(0,"div",19),tg(1,wBb,1,1,null,null,sg),D(3,xBb,2,1,"button",21),J());a&2&&(a=P(2).$implicit,
C(),ug(a.values),C(2),G(a.type?3:-1))},zBb=function(a){a&1&&(I(0,"div",14),D(1,zAb,4,1,"div",19)(2,BAb,3,0,"div",20)(3,GAb,5,4,"div")(4,JAb,4,1,"div",19)(5,QAb,4,1,"div",19)(6,XAb,4,1,"div",19)(7,fBb,2,1,"div",19)(8,kBb,4,3,"div")(9,rBb,4,1,"div",19)(10,yBb,4,1,"div",19),J());if(a&2){a=P().$implicit;var b=P(2);C();G(a.getWidgetType()==="repeated-enum"?1:-1);C();G(a.getWidgetType()==="enum"?2:-1);C();G(a instanceof Mu?3:-1);C();G(a.getWidgetType()=="text"?4:-1);C();G(a.getWidgetType()=="component"?
5:-1);C();G(b.isTrackerSearchEnabled&&a.getWidgetType()=="tracker"?6:-1);C();G(a.getWidgetType()=="team"?7:-1);C();G(a.getWidgetType()==="date"?8:-1);C();G(a.getWidgetType()=="hotlist"?9:-1);C();G(a.getWidgetType()=="savedsearch"?10:-1)}},ABb=function(a){a&1&&(I(0,"div",15),Q(1),J());if(a&2){a=P().$implicit;var b=P(2);C();R(" ",b.getCustomFieldName(a)," ")}},DBb=function(a){if(a&1){var b=x();I(0,"div",16)(1,"b-custom-field-picker",53);M("fieldSelected",function(c){z(b);var d=P().$index,e=P(2),f=c.customFieldId;
e.customFields[f]=c;e.expressions[d]=BBb(e.searchRuleFactory,"CUSTOM_FIELD",e.customFields[f]);CBb(e,e.expressions[d]);return A()});J()()}},FBb=function(a,b){if(a&1){var c=x();I(0,"div",5)(1,"div",12)(2,"mat-form-field",4)(3,"mat-select",13);Xg("ngModelChange",function(d){var e=z(c).$implicit;Wg(e.label.field,d)||(e.label.field=d);return A(d)});M("selectionChange",function(){var d=z(c).$index,e=P(2);return A(EBb(e,d))});tg(4,qAb,2,2,"mat-option",11,sg);J()();D(6,sAb,4,1,"mat-form-field",4);J();D(7,
zBb,11,10,"div",14)(8,ABb,2,1,"div",15)(9,DBb,2,0,"div",16);I(10,"button",17);M("click",function(){var d=z(c).$implicit,e=P(2);return A(e.removeExpression(d))});J()()}a&2&&(a=b.$implicit,b=P(2),C(3),Vg("ngModel",a.label.field),C(),ug(b.availableLabels),C(2),G(a.isPendingCustomField?-1:6),C(),G(a.isPendingCustomField?-1:7),C(),G(a.label.customFieldId?8:-1),C(),G(a.isPendingCustomField?9:-1))},GBb=function(a,b){if(a&1){var c=x();I(0,"button",54);M("click",function(){var d=z(c).$implicit,e=P(2);e.expressions.push({label:{field:d[0]}});
EBb(e,e.expressions.length-1);return A()});Q(1);J()}a&2&&(a=b.$implicit,C(),R(" ",a[1]," "))},HBb=function(a){a&1&&(I(0,"div",1)(1,"div",2)(2,"span",3),Q(3,"Advanced search query builder"),J(),D(4,pAb,5,3,"mat-form-field",4),J(),tg(5,FBb,11,5,"div",5,rg),I(7,"div",6)(8,"button",7),Q(9),J(),I(10,"mat-menu",8,0),tg(12,GBb,2,1,"button",9,sg),J()()());if(a&2){a=L(11);var b=P();C(4);G(b.expressions.length?4:-1);C();ug(b.expressions);C(3);F("matMenuTriggerFor",a);C();R(" ",b.expressionType," ... ");C(3);
ug(b.availableLabels)}},JBb=function(a){if(a&1){var b=x();I(0,"button",2);M("click",function(){z(b);var c=P();return A(IBb(c))});Q(1);J()}a&2&&(a=P(),C(),R(" ",a.buttonLabel," "))},KBb=function(a){if(a&1){var b=x();I(0,"button",3);M("click",function(){z(b);var c=P();return A(IBb(c))});K(1,"mat-icon",4);Q(2);J()}a&2&&(a=P(),F("matTooltip","Open release notes"),C(),F("svgIcon",a.alertMode?"release-notes-alert":"release-notes-default"),C(),R(" ",a.buttonLabel," "))},LBb=function(a){a&1&&K(0,"div",0)},
MBb=function(a){a&1&&K(0,"div",1)},NBb=function(a){if(a&1){var b=x();I(0,"button",9);M("click",function(c){z(b);var d=P();return A(d.manageSlos(c))});Q(1,"Manage SLOs");J()}},OBb=function(a){a&1&&(I(0,"a",11),Q(1,"Early Access "),K(2,"b-feature-stage-label",12),J())},PBb=function(a){a&1&&K(0,"mat-divider")(1,"b-whats-new-button",13);a&2&&(C(),F("menuMode",!0))},QBb=function(a){a&1&&K(0,"b-whats-new-button",0);a&2&&(a=P(),F("alertMode",a.majorReleaseNotesUpdated))},RBb=function(a){if(a&1){var b=x();
I(0,"button",4);M("click",function(){z(b);var c=P();return A(c.openFeedbackDialog())});K(1,"mat-icon",5);J()}},SBb=function(a){if(a&1){var b=x();I(0,"button",5);M("click",function(){z(b);var c=P();return A(c.clickMenu.emit())});K(1,"mat-icon",6);J()}},VBb=function(a,b){a&1&&(I(0,"output",4),Q(1),J());a&2&&(a=b.$implicit,F("ngClass",a.color?bh(2,TBb,a.color):ah(4,UBb)),C(),Tg(a.name))},WBb=function(a){a&1&&(I(0,"span"),Q(1," Currently selected hotlist: "),I(2,"strong"),Q(3),J()());a&2&&(a=P(3),C(3),
Tg(a.header.hotlist.name))},XBb=function(a){a&1&&Q(0," Showing your subscribed hotlists. Start typing a hotlist name or ID to filter. ")},YBb=function(a){a&1&&D(0,WBb,4,1,"span")(1,XBb,1,0);a&2&&(a=P(2),G(a.header.hotlist?0:1))},ZBb=function(a){a&1&&(I(0,"span"),Q(1,"Currently selected saved search: "),I(2,"strong"),Q(3),J()());a&2&&(a=P(3),C(3),Tg(a.header.savedSearch.name))},$Bb=function(a){a&1&&Q(0," Showing your saved searches. Start typing a saved search name or ID to filter. ")},aCb=function(a){a&
1&&D(0,ZBb,4,1,"span")(1,$Bb,1,0);a&2&&(a=P(2),G(a.header.savedSearch?0:1))},bCb=function(a){a&1&&(I(0,"span"),Q(1," and "),I(2,"strong"),Q(3,"subcomponents"),J()())},cCb=function(a){a&1&&(I(0,"span"),Q(1," Currently selected component: "),I(2,"strong",3),Q(3),J(),K(4,"b-component-access-level-indicator",4)(5,"b-tracker-chip-smart",5),D(6,bCb,4,0,"span"),J());if(a&2){a=P(3);C(3);var b=a.header.component,c=Nu(a.trackerHelpers,b.componentPathInfo);Tg(c&&c.componentPathName?c.componentPathName.join(" > "):
b.name);C();F("accessLevel",a.header.component.accessLimit==null?null:a.header.component.accessLimit.accessLevel);C();F("trackerId",a.header.component.trackerId);C();G(a.header.includeChildren?6:-1)}},dCb=function(a){a&1&&Q(0," Start typing a component name or ID to see auto-complete suggestions. ")},eCb=function(a){a&1&&D(0,cCb,7,4,"span")(1,dCb,1,0);a&2&&(a=P(2),G(a.header.component?0:1))},fCb=function(a){a&1&&(I(0,"span"),Q(1," Currently selected tracker: "),I(2,"strong"),Q(3),J()());a&2&&(a=P(3),
C(3),Tg(a.header.tracker.name))},gCb=function(a){a&1&&Q(0," Start typing a tracker name or ID to see auto-complete suggestions. ")},hCb=function(a){a&1&&D(0,fCb,4,1,"span")(1,gCb,1,0);a&2&&(a=P(2),G(a.header.tracker?0:1))},iCb=function(a){a&1&&(I(0,"span"),Q(1," and "),I(2,"strong"),Q(3,"subteams"),J()())},jCb=function(a){a&1&&(I(0,"span"),Q(1," Currently selected team: "),I(2,"strong"),Q(3),J(),D(4,iCb,4,0,"span"),J());a&2&&(a=P(3),C(3),Tg(a.header.team.name),C(),G(a.header.includeChildren?4:-1))},
kCb=function(a){a&1&&Q(0," Start typing a team name or ID to see auto-complete suggestions. ")},lCb=function(a){a&1&&D(0,jCb,5,2,"span")(1,kCb,1,0);a&2&&(a=P(2),G(a.header.team?0:1))},mCb=function(a,b){a&1&&(I(0,"span"),Q(1," Currently selected custom field: "),I(2,"strong"),Q(3),J(),Q(4," of type "),I(5,"strong"),Q(6),S(7,"lowercase"),J(),Q(8,". "),J());a&2&&(C(3),Tg(b.name),C(3),Tg(U(7,2,b.type)))},nCb=function(a){a&1&&Q(0," Start typing a custom field name or ID to see auto-complete suggestions. ")},
oCb=function(a){a&1&&D(0,mCb,9,4,"span")(1,nCb,1,0);if(a&2){var b;a=P(2);G((b=a.header.customField)?0:1,b)}},pCb=function(a){a&1&&(I(0,"div",0),D(1,YBb,2,1)(2,aCb,2,1)(3,eCb,2,1)(4,hCb,2,1)(5,lCb,2,1)(6,oCb,2,1),J());a&2&&(a=P(),C(),G(a.header.type==="hotlist"?1:-1),C(),G(a.header.type==="savedsearch"?2:-1),C(),G(a.header.type==="component"?3:-1),C(),G(a.header.type==="tracker"?4:-1),C(),G(a.header.type==="team"?5:-1),C(),G(a.header.type==="customfield"?6:-1))},qCb=function(a){a&1&&(I(0,"span"),Q(1),
J());a&2&&(a=P().$implicit,C(),Ug(" ",a.id,": ",a.name," "))},rCb=function(a){a&1&&(I(0,"span"),Q(1),I(2,"span"),Q(3),J()());a&2&&(a=P().$implicit,C(),R(" Hotlist ",a.id,": "),C(2),Tg(a.name))},sCb=function(a){a&1&&(I(0,"span"),Q(1),I(2,"span"),Q(3),J(),K(4,"br"),I(5,"span",7),Q(6),J()());a&2&&(a=P().$implicit,C(),R(" Saved search ",a.id,": "),C(2),Tg(a.name),C(3),Tg(a.query))},tCb=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P().$implicit,C(),R(" ",a.name," "))},uCb=function(a){a&1&&(I(0,"span"),
Q(1," > "),J())},wCb=function(a,b){if(a&1){var c=x();I(0,"span",9);M("click",function(e){var f=z(c).$implicit;vCb(f);return A(e.stopPropagation())});Q(1);J();D(2,uCb,2,0,"span")}if(a&2){a=b.$implicit;var d=b.$index;b=b.$count;Hg("title","",a.id,": ",a.name,"");C();Tg(a.name);C();G(d!==b-1?2:-1)}},xCb=function(a){a&1&&(I(0,"span"),Q(1," Component "),I(2,"strong",3),Q(3),J(),K(4,"b-component-access-level-indicator",4)(5,"b-tracker-chip-smart",5),I(6,"span",8),tg(7,wCb,3,5,null,null,sg),J()());a&2&&
(a=P().$implicit,C(3),Tg(a.id),C(),F("accessLevel",a.accessLimit==null?null:a.accessLimit.accessLevel),C(),F("trackerId",a.trackerId),C(2),ug(a.componentPath))},yCb=function(a){a&1&&(I(0,"span"),Q(1),I(2,"span"),Q(3),J()());a&2&&(a=P().$implicit,C(),R(" Tracker ",a.id,": "),C(2),Tg(a.name))},zCb=function(a){a&1&&(I(0,"span"),Q(1," > "),J())},ACb=function(a,b){if(a&1){var c=x();I(0,"span",9);M("click",function(e){var f=z(c).$implicit;vCb(f);return A(e.stopPropagation())});Q(1);J();D(2,zCb,2,0,"span")}if(a&
2){a=b.$implicit;var d=b.$index;b=b.$count;Hg("title","",a.id,": ",a.name,"");C();Tg(a.name);C();G(d!==b-1?2:-1)}},BCb=function(a){a&1&&(I(0,"span"),Q(1," Team "),I(2,"strong"),Q(3),J(),I(4,"span",8),tg(5,ACb,3,5,null,null,sg),J()());a&2&&(a=P().$implicit,C(3),Tg(a.id),C(2),ug(a.teamPath))},CCb=function(a){a&1&&(I(0,"span"),Q(1," > "),J())},DCb=function(a,b){a&1&&(I(0,"span"),Q(1),J(),D(2,CCb,2,0,"span"));if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;C();Tg(a);C();G(c!==b-1?2:-1)}},ECb=function(a){a&
1&&(I(0,"span"),Q(1),I(2,"span"),Q(3),J(),I(4,"span",10),tg(5,DCb,3,2,null,null,sg),J()());a&2&&(a=P().$implicit,C(),R(" Custom Field ",a.id,": "),C(2),Tg(a.name),C(2),ug(a.componentPathNames))},FCb=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P().$implicit,C(),Ug(" ",a.label,": ",a.name," "))},HCb=function(a,b){if(a&1){var c=x();I(0,"b-app-search-auto-complete-option",6);M("optionClicked",function(e){z(c);var f=P();e>=0&&e<f.items.length&&(e=f.items[e],e.id&&e.completionCfg&&GCb(e),f.itemSelected.emit(e));
return A()});D(1,qCb,2,2,"span")(2,rCb,4,2,"span")(3,sCb,7,3,"span")(4,tCb,2,1,"span")(5,xCb,9,3,"span")(6,yCb,4,2,"span")(7,BCb,7,1,"span")(8,ECb,7,2,"span")(9,FCb,2,2,"span");J()}if(a&2){a=b.$implicit;b=b.$index;var d=P();gg("id","b-app-search-option-",b,"");F("index",b)("isActive",b>=0&&b<d.items.length?b===d.activeItemIndex:!1);C();G(a.completionCfg.type==="issue"?1:-1);C();G(a.completionCfg.type==="hotlist"?2:-1);C();G(a.completionCfg.type==="savedsearch"?3:-1);C();G(a.completionCfg.type==="atom"?
4:-1);C();G(a.completionCfg.type==="component"?5:-1);C();G(a.completionCfg.type==="tracker"?6:-1);C();G(a.completionCfg.type==="team"?7:-1);C();G(a.completionCfg.type==="customField"?8:-1);C();G(d.SPECIAL_ITEM_TYPES.includes(a.completionCfg.type)?-1:9)}},JCb=function(a){if(a&1){var b=x();I(0,"div",21)(1,"input",22,2);Xg("ngModelChange",function(c){z(b);var d=P();Wg(d.searchName,c)||(d.searchName=c);return A(c)});M("keydown.Tab",function(){z(b);var c=P();return A(ICb(c))})("keydown.enter",function(){z(b);
var c=P();return A(c.saveSearch())});J();I(3,"button",23);M("click",function(){z(b);var c=P();return A(c.saveSearch())});K(4,"mat-icon",24);J()()}a&2&&(a=P(),C(),Vg("ngModel",a.searchName),C(2),F("disabled",!a.searchName))},KCb=function(a){a&1&&(I(0,"span",9),Q(1),J());a&2&&(a=P(),ng("muted",a.disabled),C(),Tg(a.cardTitle))},LCb=function(a){a&1&&(I(0,"mat-select-trigger"),K(1,"mat-icon",15),I(2,"span"),Q(3),J()());a&2&&(a=P(3),C(),F("svgIcon",a.selectedOption.icon),C(2),Tg(a.selectedOption.displayText))},
MCb=function(a){a&1&&K(0,"mat-icon",15);a&2&&(a=P().$implicit,F("svgIcon",a.icon))},NCb=function(a,b){a&1&&(I(0,"mat-option",14),D(1,MCb,1,1,"mat-icon",15),Q(2),J());a&2&&(a=b.$implicit,F("value",a),C(),G(a.icon?1:-1),C(),R(" ",a.displayText," "))},OCb=function(a){if(a&1){var b=x();I(0,"mat-form-field",12)(1,"mat-label");Q(2," Choose type... ");J();I(3,"mat-select",13);Xg("valueChange",function(c){z(b);var d=P(2);Wg(d.selectedOption,c)||(d.selectedOption=c);return A(c)});M("selectionChange",function(c){z(b);
P(2).dropdownSelectionChanged.emit(c.value);return A()});D(4,LCb,4,2,"mat-select-trigger");tg(5,NCb,3,3,"mat-option",14,sg);J()()}a&2&&(a=P(2),C(3),F("disabled",a.disabled),Vg("value",a.selectedOption),C(),G(a.selectedOption&&a.selectedOption.icon?4:-1),C(),ug(a.dropdownOptions))},PCb=function(a){if(a&1){var b=x();I(0,"mat-form-field",10)(1,"input",11);M("ngModelChange",function(c){z(b);var d=P();return A(d.cardTitleChange.emit(c))});J()();D(2,OCb,7,3,"mat-form-field",12)}a&2&&(a=P(),C(),ng("muted",
a.disabled||!a.selected),F("placeholder",a.placeholderForCardTitle)("disabled",a.disabled||!a.selected)("ngModel",a.cardTitle),eg("aria-label",a.ariaLabelForCardTitle),C(),G(a.dropdownOptions.length?2:-1))},QCb=function(a){a&1&&K(0,"mat-icon",5)},RCb=function(a){a&1&&K(0,"mat-icon",6)},SCb=function(a){a&1&&(I(0,"div",7),Eg(1),J())},TCb=function(a){a&1&&(I(0,"button",18),K(1,"mat-icon",22),J());a&2&&(a=P(2),F("disabled",a.disabled))},UCb=function(a){a&1&&K(0,"mat-divider",19);a&2&&F("vertical",!0)},
VCb=function(a){a&1&&(I(0,"mat-slide-toggle",20),Q(1," Required "),J());a&2&&(a=P(2),F("disabled",a.disabled))},WCb=function(a){if(a&1){var b=x();I(0,"mat-slide-toggle",23);M("change",function(c){z(b);var d=P(2);return A(d.isInheritedChange.emit(c))});Q(1," Inherited ");J()}a&2&&(a=P(2),F("checked",a.isInherited)("disabled",a.inheritedDisabled)("matTooltip",a.inheritedDisabledTooltipText)("matTooltipDisabled",!a.inheritedDisabled))},XCb=function(a){if(a&1){var b=x();I(0,"div",8)(1,"button",16);M("click",
function(){z(b);var c=P();return A(c.onSave())});Q(2," Save ");J();I(3,"button",17);M("click",function(){z(b);var c=P();return A(c.onCancel())});Q(4," Cancel ");J();D(5,TCb,2,1,"button",18)(6,UCb,1,1,"mat-divider",19)(7,VCb,2,1,"mat-slide-toggle",20)(8,WCb,2,4,"mat-slide-toggle",21);J()}a&2&&(a=P(),C(),F("disabled",a.isSaveButtonDisabled),C(2),F("disabled",a.disabled),C(2),G(a.showDeleteButton?5:-1),C(),G(a.showDeleteButton&&a.showRequiredToggle?6:-1),C(),G(a.showRequiredToggle?7:-1),C(),G(a.showInheritedToggle?
8:-1))},YCb=function(a,b){a&1&&(I(0,"mat-option",6),Q(1),J());a&2&&(a=b.$implicit,F("value",a),C(),Tg(a.name))},ZCb=function(a){if(a&1){var b=x();I(0,"mat-form-field")(1,"mat-select",5);Xg("valueChange",function(c){z(b);var d=P();Wg(d.selected,c)||(d.selected=c);return A(c)});tg(2,YCb,2,2,"mat-option",6,sg);J()()}a&2&&(a=P(),C(),Vg("value",a.selected),C(),ug(a.options))},$Cb=function(a){a&1&&Q(0," All the available shared fields have been activated. ")},aDb=function(a){a&1&&(I(0,"div"),Q(1," Once activated, the shared field will appear in the right panel of all issues. This only affects the visibility of the shared field in Buganizer UI. "),
I(2,"a",7),Q(3,"Learn more"),J()())},bDb=function(a){return yxa(a.getIt())},cDb=function(a){a&1&&(I(0,"h3"),Q(1),J());a&2&&(a=P(2),C(),R(" Edit Custom Field ",a.editableField.customFieldId," "))},dDb=function(a){a&1&&(I(0,"h3"),Q(1," Create Custom Field "),J())},eDb=function(a){a&1&&(I(0,"div",11),Q(1),J());a&2&&(a=P(2),C(),R(" ",a.serverError," "))},gDb=function(a,b){a&1&&(I(0,"button",25),Q(1),S(2,"enumToHuman"),J());a&2&&(a=b.$implicit,P(),b=L(33),F("matMenuTriggerFor",b)("matMenuTriggerData",
bh(5,fDb,a)),C(),R(" ",U(2,3,a)," "))},hDb=function(a,b){if(a&1){var c=x();I(0,"button",41);M("click",function(){var d=z(c).$implicit,e=P().type,f=P(2);return A(f.setType(e,d==="Multiple"))});Q(1);J()}a&2&&(a=b.$implicit,C(),R(" ",a," "))},iDb=function(a){a&1&&tg(0,hDb,2,1,"button",40,sg);a&2&&(a=P(2),ug(a.secondaryTypes))},kDb=function(a){if(a&1){var b=x();I(0,"td",13)(1,"label",42);Q(2," Allowed Values: ");J();I(3,"b-list-field",43);M("valuesChange",function(c){z(b);var d=P(2);return A(jDb(d,c.values))});
J()()}a&2&&(a=P(2),C(3),F("defaultLineCount",3)("type",a.ListFieldType.REPEATED_TEXT)("values",a.editableField.allowedValue||null)("listFieldDisabled",a.isSaving)("preventDuplicates",!0)("isDefaultOrAllowedValues",!0)("truncate",!0))},lDb=function(a){a&1&&(I(0,"label",27),Q(1," Default Value: "),J())},oDb=function(a,b){if(a&1){var c=x();I(0,"b-edit-field",44);M("valueChange",function(d){z(c);var e=P(2);mDb(e,d);return A()});J()}a&2&&(a=P(2),F("name","Default")("type",b)("tooltip","Set default value")("value",
nDb(a))("choices",a.allowedValues)("showEnumTitle",!0)("disabled",a.isSaving)("truncate",!0)("clearable",!0))},pDb=function(a){a&1&&(I(0,"label",29),Q(1," Default Values: "),J())},qDb=function(a,b){if(a&1){var c=x();I(0,"b-list-field",45);M("valuesChange",function(d){z(c);var e=P(2);mDb(e,d.values);return A()});J()}a&2&&(a=P(2),F("defaultLineCount",3)("type",b)("tooltip","Set default values")("values",a.getListFieldValues())("enumChoices",a.allowedValues)("isDefaultOrAllowedValues",!0)("listFieldDisabled",
a.isSaving)("truncate",!0))},rDb=function(a,b){if(a&1){var c=x();I(0,"button",46);M("click",function(){var d=z(c).$implicit,e=P(2);return A(e.setFieldSignificance(d))});Q(1);S(2,"enumToHuman");J()}a&2&&(a=b.$implicit,C(),R(" ",U(2,1,a)," "))},sDb=function(a){if(a&1){var b=x();I(0,"div",9);D(1,cDb,2,1,"h3")(2,dDb,2,0,"h3")(3,eDb,2,1,"div",11);I(4,"form",12)(5,"div",13)(6,"label",14);Q(7,"Name:");J();I(8,"input",15);Xg("ngModelChange",function(q){z(b);var v=P();Wg(v.editableField.name,q)||(v.editableField.name=
q);return A(q)});J()();I(9,"div",13)(10,"label",16);Q(11,"Description:");J();I(12,"textarea",17);Xg("ngModelChange",function(q){z(b);var v=P();Wg(v.editableField.description,q)||(v.editableField.description=q);return A(q)});J()();I(13,"table",18)(14,"tr")(15,"td",13)(16,"div",19)(17,"label",20);Q(18," Type: ");J();I(19,"onedev-hovercard",null,0)(21,"div",21)(22,"div",22);Q(23," You can only choose type of field when creating a new custom field. You won't be able to edit it after the custom field is created. ");
J()()()();I(24,"button",23);Q(25);S(26,"enumToHuman");K(27,"b-icon",24);J();I(28,"mat-menu",null,1);tg(30,gDb,3,7,"button",25,sg);J();I(32,"mat-menu",null,2);D(34,iDb,2,0,"ng-template",26);J()();D(35,kDb,4,7,"td",13);I(36,"td",13);D(37,lDb,2,0,"label",27)(38,oDb,1,9,"b-edit-field",28)(39,pDb,2,0,"label",29)(40,qDb,1,8,"b-list-field",30);J();I(41,"td",13)(42,"label",31);Q(43," Required: ");J();I(44,"b-edit-field",32);M("valueChange",function(q){z(b);var v=P();return A(v.editableField.required=!!q)});
J()();I(45,"td",13)(46,"div",19)(47,"label",33);Q(48," Field Significance: ");J();I(49,"onedev-hovercard",null,3)(51,"div",34)(52,"div",22);Q(53," This affects whether users will receive notifications when changes are made to this field. ");K(54,"br");Q(55," See\u00a0 ");I(56,"a",35);Q(57,"Email Settings ");J()()()()();I(58,"button",36);Q(59);S(60,"enumToHuman");K(61,"b-icon",24);J();I(62,"mat-menu",null,4);tg(64,rDb,3,3,"button",37,sg);J()()()();I(66,"button",38);M("click",function(){z(b);var q=
P();return A(q.save())});Q(67," Save ");J();I(68,"button",39);M("click",function(){z(b);var q=P();return A(q.cancel())});Q(69," Cancel ");J()()()}if(a&2){var c,d;a=L(20);var e=L(29),f=L(50),h=L(63),l=P();C();G(l.editableField.customFieldId?1:2);C(2);G(l.serverError?3:-1);C(5);F("bFocus",l.editableField&&!l.isLoading);Vg("ngModel",l.editableField.name);F("disabled",l.isSaving);C(4);Vg("ngModel",l.editableField.description);F("disabled",l.isSaving);C(5);F("onedevHovercardTrigger",a);C(7);F("matMenuTriggerFor",
e)("disabled",!!l.editableField.customFieldId);C();R(" ",U(26,25,l.editableField.type)," ");C(5);ug(l.typeChoices);C(5);G(["REPEATED_ENUM","ENUM"].includes(l.editableField.type)?35:-1);C(2);G(l.isRepeated(l.editableField)?-1:37);C();G((c=l.getSingleEditFieldType(l.editableField))?38:-1,c);C();G(l.isRepeated(l.editableField)?39:-1);C();G((d=l.getListFieldType(l.editableField))?40:-1,d);C(4);F("name","Required")("type",l.FieldType.BOOL)("tooltip","Whether the field is required")("value",l.editableField.required);
C(3);F("onedevHovercardTrigger",f);C(9);F("href",l.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",of);C(2);F("matMenuTriggerFor",h);C();R(" ",U(60,27,l.editableField.fieldSignificance)," ");C(5);ug(l.significanceChoices);C(2);F("disabled",!l.hasUnsavedChanges()||!l.editableField.name)}},tDb=function(a){a&1&&(I(0,"div",10),K(1,"b-spinner",47),J());a&2&&(C(),F("large",!0))},uDb=function(a){a&1&&(I(0,"th"),Q(1,"Actions"),J())},wDb=function(a){if(a&1){var b=x();I(0,"td",52)(1,"button",
53);M("click",function(){z(b);var c=P().$index,d=P(2);return A(d.editField(c))});Q(2,"Edit");J();I(3,"button",53);M("click",function(){z(b);var c=P().$index,d=P(2);return A(vDb(d,c))});Q(4,"Delete");J()()}},xDb=function(a,b){a&1&&(I(0,"tr",49)(1,"td"),Q(2),J(),I(3,"td"),Q(4),J(),I(5,"td"),Q(6),S(7,"enumToHuman"),J(),I(8,"td"),Q(9),J(),I(10,"td"),Q(11),S(12,"yesNo"),J(),I(13,"td"),K(14,"b-custom-field-value-display",51),J(),I(15,"td"),Q(16),S(17,"arrayToHuman"),J(),I(18,"td"),Q(19),S(20,"enumToHuman"),
J(),D(21,wDb,5,0,"td",52),J());a&2&&(a=b.$implicit,b=P(2),F("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field"),C(2),Tg(a.name),C(2),Tg(a.customFieldId),C(2),Tg(U(7,10,a.type)),C(3),Tg(a.description),C(2),Tg(U(12,12,a.required)),C(3),F("customFieldValue",a.typedDefaultValue),C(2),Tg(U(17,14,a.allowedValue)),C(3),Tg(U(20,16,a.fieldSignificance)),C(2),G(b.editMode?21:-1))},yDb=function(a){a&1&&(I(0,"tr")(1,"td",54),Q(2," There are no custom fields defined on this component. "),J()())},zDb=
function(a){a&1&&(I(0,"tr")(1,"td",55)(2,"strong"),Q(3,"Fields inherited from parent components"),J()()())},ADb=function(a){a&1&&(vg(0),K(1,"b-component-card",61,6),wg());if(a&2){a=L(2);var b=P().$implicit;C();F("onedevIsHovercardReady",a.init)("componentId",b.componentId.toString())}},CDb=function(a){if(a&1){var b=x();I(0,"b-field-state-menu",62,7);M("fieldStateChange",function(d){z(b);var e=P(),f=e.$implicit;e=e.$index;var h=P(3);return A(h.updateCustomFieldState(f,d,e))});J()}if(a&2){a=P().$implicit;
var c=P(3);F("fieldName",a.name)("fieldState",a.stateOnIssues)("enabledOnParent",BDb(c,a.customFieldId))("disabled",!c.editMode)("matTooltip",c.msgFieldStateTip);eg("aria-label",c.msgFieldStateTip)}},DDb=function(a,b){if(a&1){var c=x();I(0,"tr",49)(1,"td");Q(2);J();I(3,"td");Q(4);J();I(5,"td");Q(6);S(7,"enumToHuman");J();I(8,"td");Q(9);J();I(10,"td");Q(11);S(12,"yesNo");J();I(13,"td");K(14,"b-custom-field-value-display",51);J();I(15,"td");Q(16);S(17,"arrayToHuman");J();I(18,"td");Q(19);S(20,"enumToHuman");
J();I(21,"td",52)(22,"div",56)(23,"div",57);Q(24,"Inherited From");J();I(25,"a",58);M("click",function(){z(c);var e=P(3);return A(e.trackClick("parentCustomFields"))});Q(26);J();I(27,"onedev-hovercard",null,5);D(29,ADb,3,2,"ng-container",59);J()();D(30,CDb,2,6,"b-field-state-menu",60);J()()}if(a&2){a=b.$implicit;b=L(28);var d=P(3);F("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field");C(2);Tg(a.name);C(2);Tg(a.customFieldId);C(2);Tg(U(7,13,a.type));C(3);Tg(a.description);C(2);Tg(U(12,15,
a.required));C(3);F("customFieldValue",a.typedDefaultValue);C(2);Tg(U(17,17,a.allowedValue));C(3);Tg(U(20,19,a.fieldSignificance));C(6);F("onedevHovercardTrigger",b)("href",d.ROUTES.editComponentFields.makeHref(a.componentId),of);C();R(" ",d.componentIdsToNames[a.componentId]," ");C(4);G(d.editMode?30:-1)}},EDb=function(a){a&1&&tg(0,DDb,31,21,"tr",49,sg);a&2&&(a=P(2),ug(a.inheritedCustomFields))},FDb=function(a){a&1&&(I(0,"tr")(1,"td",55)(2,"strong"),Q(3,"Shared fields"),J()()())},HDb=function(a){if(a&
1){var b=x();I(0,"div",52)(1,"button",64);M("click",function(){z(b);var d=P().$implicit,e=P(3);return A(GDb(e,d.customFieldId))});Q(2," Deactivate ");J()()}if(a&2){a=P().$implicit;var c=P(3);C();F("disabled",c.fieldsEnabledOnParentComponent.has(a.customFieldId))("matTooltip",c.fieldsEnabledOnParentComponent.has(a.customFieldId)?a.name+" is inherited from its parent component.\n        To deactivate this field, go to the parent component\n        that activates this shared field.":"")}},IDb=function(a,
b){a&1&&(I(0,"tr",63)(1,"td"),Q(2),J(),I(3,"td"),Q(4),J(),I(5,"td"),Q(6),S(7,"enumToHuman"),J(),I(8,"td"),Q(9),J(),I(10,"td"),Q(11),S(12,"yesNo"),J(),I(13,"td"),K(14,"b-custom-field-value-display",51),J(),I(15,"td"),Q(16),S(17,"arrayToHuman"),J(),I(18,"td"),Q(19),S(20,"enumToHuman"),J(),I(21,"td"),D(22,HDb,3,2,"div",52),J()());a&2&&(a=b.$implicit,b=P(3),C(2),Tg(a.name),C(2),Tg(a.customFieldId),C(2),Tg(U(7,9,a.type)),C(3),Tg(a.description),C(2),Tg(U(12,11,a.required)),C(3),F("customFieldValue",a.typedDefaultValue),
C(2),Tg(U(17,13,a.allowedValue)),C(3),Tg(U(20,15,a.fieldSignificance)),C(3),G(b.editMode?22:-1))},JDb=function(a){a&1&&tg(0,IDb,23,17,"tr",63,sg);a&2&&(a=P(2),ug(a.sharedFields))},KDb=function(a){a&1&&(I(0,"tfoot")(1,"tr")(2,"td",55),Q(3," Custom fields in this table are sorted alphabetically. To see or modify field ordering, go to the "),I(4,"a",65),Q(5,"Field Ordering"),J(),Q(6," tab."),K(7,"br"),Q(8," Before removing custom fields or adding/changing required state, ensure that no automation depends on them. "),
J()()())},NDb=function(a){if(a&1){var b=x();I(0,"div",50)(1,"button",66);M("click",function(){z(b);var c=P(2);c.editableField={customFieldId:0,componentId:void 0,name:"",type:"TEXT",description:"",typedDefaultValue:void 0,required:!1,fieldSignificance:"MINOR",allowedValue:void 0,stateOnIssues:"INHERIT",enabledOnIssues:!1,shared:!1};c.originalEditableFieldValue=zi(c.editableField);c.setType("TEXT");c.allowedValues=[];c.serverError=null;return A()});Q(2," Add a Custom Field ");J();I(3,"button",67);
M("click",function(){z(b);var c=P(2);return A(LDb(c))});Q(4," Activate a Shared Field ");J()()}a&2&&(a=P(2),C(3),F("disabled",MDb(a).length==0))},ODb=function(a){a&1&&(I(0,"div")(1,"table",48)(2,"tr")(3,"th"),Q(4,"Name"),J(),I(5,"th"),Q(6,"ID"),J(),I(7,"th"),Q(8,"Type"),J(),I(9,"th"),Q(10,"Description"),J(),I(11,"th"),Q(12,"Required?"),J(),I(13,"th"),Q(14,"Default Value"),J(),I(15,"th"),Q(16,"Allowed Values"),J(),I(17,"th"),Q(18,"Field Significance"),J(),D(19,uDb,2,0,"th"),J(),tg(20,xDb,22,18,"tr",
49,sg),D(22,yDb,3,0,"tr")(23,zDb,4,0,"tr")(24,EDb,2,0)(25,FDb,4,0,"tr")(26,JDb,2,0)(27,KDb,9,0,"tfoot"),J(),D(28,NDb,5,1,"div",50),J());a&2&&(a=P(),C(19),G(a.editMode?19:-1),C(),ug(a.customFields),C(2),G(a.customFields.length?-1:22),C(),G(a.inheritedCustomFields.length?23:-1),C(),G(a.inheritedCustomFields.length?24:-1),C(),G(a.sharedFields.length?25:-1),C(),G(a.sharedFields.length?26:-1),C(),G(a.customFields.length?27:-1),C(),G(a.editMode?28:-1))},PDb=function(a){if(a&1){var b=x();I(0,"button",17);
M("click",function(){z(b);var c=P().$index,d=P();return A(d.removeAtIndex.emit(c))});K(1,"mat-icon",18);J()}a&2&&(a=P().$implicit,eg("aria-label","Delete row "+a.label))},QDb=function(a,b){if(a&1){var c=x();I(0,"div",9)(1,"div",11);K(2,"mat-icon",12);I(3,"div",3)(4,"mat-form-field",13)(5,"input",14,0);M("change",function(d){var e=z(c).$index,f=P();f.options[e].label=d.target.value;f.optionsChange.emit(f.options);return A()});J()()();I(7,"div",3)(8,"mat-form-field",13)(9,"input",15,1);M("change",function(d){var e=
z(c).$index,f=P();return A(f.valueChange(d,e))});J()()();D(11,PDb,2,1,"button",16);J()()}a&2&&(a=b.$implicit,b=P(),C(4),F("appearance","outline"),C(),ng("muted",b.disabled),F("value",a.label)("placeholder",a.label==null?"Dropdown value":"")("disabled",b.disabled),C(3),F("appearance","outline"),C(),ng("muted",b.disabled),F("value",a.value)("placeholder",a.value==null?"Average days":"")("disabled",b.disabled),C(2),G(b.disabled?-1:11))},RDb=function(a){if(a&1){var b=x();I(0,"button",19);M("click",function(){z(b);
var c=P();return A(c.addRow.emit())});Q(1," Add row ");J()}},SDb=function(a){a&1&&xg(0)},TDb=function(a){a&1&&D(0,SDb,1,0,"ng-container",5);a&2&&(P(),a=L(7),F("ngTemplateOutlet",a))},UDb=function(a){if(a&1){var b=x();I(0,"b-numeric-config",6);Xg("valueChange",function(c){z(b);var d=P();Wg(d.numericSpecMultiplier,c)||(d.numericSpecMultiplier=c);return A(c)});J()}a&2&&(a=P(),F("disabled",a.disabled),Vg("value",a.numericSpecMultiplier))},VDb=function(){},WDb=function(a){if(a&1){var b=x();I(0,"div",4)(1,
"label",7);Q(2,"Aggregation Rule");J();I(3,"a",8);K(4,"mat-icon",9);J();K(5,"br");I(6,"mat-form-field",10)(7,"mat-select",11);Xg("valueChange",function(c){z(b);var d=P();Wg(d.selectedAggregationRule,c)||(d.selectedAggregationRule=c);return A(c)});I(8,"mat-select-trigger");Q(9);S(10,"aggregationRuleText");J();I(11,"mat-option",12)(12,"div",13);Q(13);S(14,"aggregationRuleText");J();I(15,"div",14);Q(16,"All parents and children are added to the total");J()();I(17,"mat-option",12)(18,"div",13);Q(19);
S(20,"aggregationRuleText");J();I(21,"div",14);Q(22,"Take the assigned estimate if larger than total of all immediate children");J()()()()()}a&2&&(a=P(),C(7),Vg("value",a.selectedAggregationRule),F("disabled",a.disabled),C(2),R(" ",U(10,7,a.selectedAggregationRule)," "),C(2),F("value",a.aggregationRules.SUM),C(2),Tg(U(14,9,a.aggregationRules.SUM)),C(4),F("value",a.aggregationRules.MAX),C(2),Tg(U(20,11,a.aggregationRules.MAX)))},XDb=function(a){if(a&1){var b=x();I(0,"b-config-grid",15);Xg("optionsChange",
function(c){z(b);var d=P();Wg(d.enumSpecOptions,c)||(d.enumSpecOptions=c);return A(c)});M("addRow",function(){z(b);var c=P();return A(c.addRow())})("removeAtIndex",function(c){z(b);P().enumSpecOptions.splice(c,1);return A()});J()}a&2&&(a=P(),Vg("options",a.enumSpecOptions),F("disabled",a.disabled||a.inherit))},YDb=function(a){a&1&&(I(0,"div",4),K(1,"b-team-warning",5),J());a&2&&(a=P(),C(),F("warningType",a)("messageOnly",!0))},ZDb=function(a,b){a&1&&D(0,YDb,2,2,"div",4);a&2&&(a=P(),G(!a.isAdmin||
b!=="MISSING"&&b!=="DELETED"?-1:0))},$Db=function(a){if(a&1){var b=x();I(0,"div",0)(1,"mat-checkbox",6);M("change",function(c){z(b);var d=P();d.inherit=!c.checked;d.model.inherit=d.inherit;!d.isTopLevel&&d.inherit&&d.parentModel&&(d.model.id=d.parentModel.id);d.teamIdChanged$.next(d.model.id);d.modelChange.emit(d.model);return A()});Q(2," Override the inherited team ");J()()}a&2&&(a=P(),C(),F("disabled",!a.isAdmin)("checked",!a.inherit))},bEb=function(a){if(a&1){var b=x();I(0,"a",8);M("click",function(){z(b);
P(2);vo("component","navigate","to-internal-team-page");return A()});K(1,"mat-icon",9);J()}a&2&&(a=P(2),F("routerLink",aEb(a)?"/teams/"+a.model.id+"/edit":null)("target",a.anchorTarget))},cEb=function(a){a&1&&D(0,bEb,2,2,"a",7);a&2&&(a=P(),G(aEb(a)?0:-1))},dEb=function(a){if(a&1){var b=x();I(0,"a",11);M("click",function(){z(b);var c=P(2);vo("component","linkout-moma","team",Number(c.model.id));return A()});K(1,"mat-icon",9);J()}a&2&&(a=P(2),eg("href",a.getMomaTeamLink(),of))},eEb=function(a){a&1&&
D(0,dEb,2,1,"a",10);a&2&&(a=P(),G(aEb(a)?0:-1))},hEb=function(a,b){if(a&1){var c=x();I(0,"li",11);M("keydown",function(e){var f=z(c).$index,h=P();return A(h.onKeyDown(e,f))})("focus",function(){var e=z(c).$index,f=P();return A(f.onFocus(e))});K(1,"mat-icon",12);I(2,"span");Q(3);J();I(4,"div",13)(5,"button",14);M("click",function(){var e=z(c).$index,f=P();return A(fEb(f,e))});K(6,"mat-icon",15);J();I(7,"button",16);M("click",function(){var e=z(c).$index,f=P();return A(gEb(f,e))});K(8,"mat-icon",17);
J()()()}if(a&2){a=b.$implicit;b=b.$index;var d=P();eg("aria-label",a.name)("aria-grabbed",b===d.grabbedIndex);C(3);Tg(a.name);C(2);ng("invisible",b===0);C(2);ng("invisible",b===d.fields.length-1)}},iEb=function(a){a&1&&(I(0,"th",14),Q(1," Order"),J())},jEb=function(a,b){a&1&&(I(0,"td",15),Q(1),J());a&2&&(a=b.index,C(),R(" ",a+1," "))},kEb=function(a){a&1&&(I(0,"th",14),Q(1," Name"),J())},lEb=function(a,b){a&1&&(I(0,"td",15),Q(1),J());a&2&&(a=b.$implicit,C(),R(" ",a.name," "))},mEb=function(a){a&1&&
(I(0,"th",14),Q(1," Type"),J())},nEb=function(a,b){a&1&&(I(0,"td",15),Q(1),S(2,"toCustomFieldTypeDisplayValue"),J());a&2&&(a=b.$implicit,C(),R(" ",U(2,1,a.type)," "))},oEb=function(a){a&1&&(I(0,"th",14),Q(1," Required"),J())},pEb=function(a,b){a&1&&(I(0,"td",15),Q(1),J());a&2&&(a=b.$implicit,C(),R(" ",a.required?"Yes":"No"," "))},qEb=function(a){a&1&&(I(0,"th",14),Q(1," ID"),J())},rEb=function(a,b){a&1&&(I(0,"td",15),Q(1),J());a&2&&(a=b.$implicit,C(),R(" ",a.customFieldId," "))},sEb=function(a){a&
1&&K(0,"tr",16)},tEb=function(a){a&1&&K(0,"tr",17)},uEb=function(a){a&1&&(I(0,"div",12),Q(1," There are no custom fields defined on this component. "),J())},xEb=function(a){if(a&1){var b=x();I(0,"div",13)(1,"div")(2,"button",18);M("click",function(){z(b);var c=P();return A(vEb(c))});Q(3," Reorder fields ");J();I(4,"button",18);M("click",function(){z(b);var c=P();return A(wEb(c))});Q(5," Reset ordering ");J()()()}a&2&&(a=P(),C(2),F("disabled",a.fields.length===0),C(2),F("disabled",a.fieldOrdering!==
"CUSTOMIZED"))},yEb=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),C(),a=a.lineNumbers.length,R(" (",a+(a==1?" TODO":" TODOs"),") "))},AEb=function(a,b){if(a&1){var c=x();I(0,"li",3)(1,"a",4);M("click",function(){z(c);var d=P(2);return A(d.trackClick("lineNumber"))});Q(2);J()()}a&2&&(a=b.$implicit,b=P(2),C(),F("href",zEb(b,a),of),C(),Tg(a))},BEb=function(a){a&1&&(I(0,"span"),Q(1," ("),I(2,"ul",2),tg(3,AEb,3,2,"li",3,sg),J(),Q(5,") "),J());a&2&&(a=P(),C(3),ug(a.lineNumbers))},CEb=function(a){a&
1&&(I(0,"a",4),Q(1," Create Component "),J());a&2&&(a=P(),F("href",a.createComponentPath,of))},DEb=function(a){if(a&1){var b=x();I(0,"xap-dialog-layout",10)(1,"xap-dialog-layout-content")(2,"b-team-component-picker",11);S(3,"async");M("selectedComponentChange",function(d){z(b);var e=P();d=d!==null&&d!==void 0?d:null;var f="openFromSearch";f=f===void 0?null:f;d&&(f&&e.analytics.trackEvent("listComponents",f),e.bLocation.setUrl(tq.editComponent.makeHref(d.componentId)));return A()});J()()()}if(a&2){var c;
a=P();C(2);F("includeArchived",(c=U(3,4,a.includeArchived$))!==null&&c!==void 0?c:!1)("placeholder","Choose Component to navigate to that component")("shouldFocus",!0)("isRequired",!1)}},FEb=function(a){if(a&1){var b=x();I(0,"div",6)(1,"b-slide-toggle",12);S(2,"async");M("modelChange",function(d){z(b);var e=P();e.includeArchived$.next(d);d=e.componentTree;d=d.focusedController?d.focusedController.selectedId?d.focusedController.selectedId:-1:d.rootController.selectedId?d.rootController.selectedId:
-1;d>0&&EEb(e,d,Je(e.topLevelComponents$));return A()});J()()}if(a&2){var c;a=P();C();F("model",(c=U(2,2,a.includeArchived$))!==null&&c!==void 0?c:!1)("tooltip",a.includeArchived?"Show archived components.":"Hide archived components.")}},GEb=function(a){a&1&&(I(0,"div",8),K(1,"b-spinner",13),J())},HEb=function(a){a&1&&(I(0,"p",1),Q(1),J());a&2&&(a=P(),C(),Tg(a.packageMentionSet.packageName))},IEb=function(a,b){a&1&&(I(0,"li"),K(1,"b-file-mention",2),J());a&2&&(a=b.$implicit,b=P(),C(),F("issueId",
b.issueId)("packageName",b.packageMentionSet.packageName)("filename",a.filename)("lineNumbers",a.lineNumber)("changeNumber",a.changeNumber))},JEb=function(a){a&1&&(I(0,"div",4),Q(1),J());a&2&&(a=P(),C(),R(" Signed in as ",a.activeSession.getUserEmail()," "))},KEb=function(a){a&1&&(I(0,"span",3),Q(1," Select at least one tracker "),J())},LEb=function(a,b){if(a&1){var c=x();I(0,"div",5)(1,"mat-checkbox",6);M("change",function(d){var e=z(c).$implicit,f=P();return A(f.trackerCheckboxValues[e.trackerId]=
d.checked)});Q(2);J()()}a&2&&(a=b.$implicit,b=P(),C(),F("checked",b.trackerCheckboxValues[a.trackerId]||!1),C(),R(" ",a.name," "))},MEb=function(a){a&1&&(K(0,"b-tracker-search",1),S(1,"async"));a&2&&(a=P(),F("currentTrackerId",a.currentTracker.trackerId)("availableTrackers",U(1,2,a.availableTrackers$)))},NEb=function(a){a&1&&(I(0,"div",3),K(1,"b-spinner"),I(2,"span"),Q(3,"Initializing query builder..."),J()())},OEb=function(a){a&1&&(I(0,"div",6),K(1,"mat-icon",7),I(2,"p"),Q(3," The query is too complex to show in the query builder. You can still perform the search or save the search. "),
J()())},PEb=function(a){a&1&&(I(0,"div"),Q(1," We cannot understand your query because it seems to be incorrect (syntactically). Make sure all parentheses are balanced and all labels have values. "),J())},QEb=function(a){a&1&&(I(0,"div",4),D(1,OEb,4,0,"div",6)(2,PEb,2,0,"div"),J());a&2&&(a=P(),C(),G((a.advancedSearchCtrl==null?null:a.advancedSearchCtrl.getState())==="NOT_REPRESENTABLE"?1:-1),C(),G((a.advancedSearchCtrl==null?null:a.advancedSearchCtrl.getState())==="SYNTAX_ERROR"?2:-1))},REb=function(a){a&
1&&(I(0,"div",4),Q(1," We encountered a problem while retrieving the interpretation of the search query from the server. Please try again. "),J())},SEb=function(a){a&1&&K(0,"b-tracker-account-menu-hack",5);a&2&&(a=P(),F("trackerInternalBaseUrl",a.currentTracker.internalBaseUrl)("trackerExternalBaseUrl",a.currentTracker.externalBaseUrl))},TEb=function(a){a&1&&(I(0,"span"),Q(1),K(2,"span",13),J());a&2&&(a=P(2).$implicit,C(),R(" ",a.diff.oldValue," "))},UEb=function(a){a&1&&(I(0,"span")(1,"label"),Q(2),
J(),D(3,TEb,3,1,"span"),Q(4),J());a&2&&(a=P().$implicit,C(2),R("",a.fieldName,":"),C(),G(a.diff.oldValue?3:-1),C(),R(" ",a.diff.newValue," "))},VEb=function(a,b){a&1&&(I(0,"div")(1,"label"),Q(2),J(),Q(3),J());a&2&&(a=b.$implicit,b=P(3).$implicit,C(2),R("-",b.fieldName,":"),C(),R(" ",a," "))},WEb=function(a){a&1&&tg(0,VEb,4,2,"div",null,sg);a&2&&(a=P(2).$implicit,ug(a.diff.removed))},XEb=function(a,b){a&1&&(I(0,"div")(1,"label"),Q(2),J(),Q(3),J());a&2&&(a=b.$implicit,b=P(3).$implicit,C(2),R("+",b.fieldName,
":"),C(),R(" ",a," "))},YEb=function(a){a&1&&tg(0,XEb,4,2,"div",null,sg);a&2&&(a=P(2).$implicit,ug(a.diff.added))},ZEb=function(a){a&1&&(I(0,"div"),D(1,WEb,2,0)(2,YEb,2,0),J());a&2&&(a=P().$implicit,C(),G(a.diff.removed?1:-1),C(),G(a.diff.added?2:-1))},$Eb=function(a,b){a&1&&(I(0,"div",12),D(1,UEb,5,3,"span")(2,ZEb,3,2,"div"),J());a&2&&(a=b.$implicit,b=P(2),C(),G(a.diffType==b.DiffType.SINGLE_VALUE?1:-1),C(),G(a.diffType==b.DiffType.COLLECTION?2:-1))},aFb=function(a,b){a&1&&(I(0,"li",2)(1,"div",5),
K(2,"b-user-image",6),J(),I(3,"div",7)(4,"h4"),K(5,"b-user-display-name",8),I(6,"span",9),K(7,"b-formatted-date-time",10),J()(),I(8,"div",11),tg(9,$Eb,3,2,"div",12,sg),J()()());a&2&&(a=b.$implicit,b=P(),C(2),F("email",b.userToDisplay(a.author)),C(3),F("email",b.userToDisplay(a.author)),C(2),F("timestamp",a.timestamp),C(2),ug(a.diffs))},bFb=function(a){a.stack&&(a.stack=a.stack.replace(/ \[angular\]/g,""))},cFb=function(){var a=window.navigator.platform,b=window.navigator.userAgent;if(["Macintosh",
"MacIntel","MacPPC","Mac68K"].includes(a))return"Mac";if(["iPhone","iPad","iPod"].includes(a))return"iOS";if(["Win32","Win64","Windows","WinCE"].includes(a))return"Windows";if(/Android/.test(b))return"Android";if(/Linux/.test(a))return"Linux";if(/\bCrOS\b/.test(b))return"ChromeOS"},dFb=function(a,b){a&1&&(I(0,"mat-option",2),Q(1),K(2,"br"),I(3,"span",3),Q(4),J()());a&2&&(a=b.$implicit,F("value",a),C(),R(" ",a.title,""),C(3),Tg(a.description))},eFb=function(a,b){a&1&&xg(0,4);a&2&&(a=b.$implicit,P(),
b=L(3),F("ngTemplateOutlet",b)("ngTemplateOutletContext",bh(2,Ou,a)))},fFb=function(a){a&1&&xg(0,4);if(a&2){a=P().question;P();var b=L(5);F("ngTemplateOutlet",b)("ngTemplateOutletContext",bh(2,Ou,a))}},gFb=function(a){a&1&&xg(0,4);if(a&2){a=P().question;P();var b=L(7);F("ngTemplateOutlet",b)("ngTemplateOutletContext",bh(2,Ou,a))}},hFb=function(a){a&1&&xg(0,4);if(a&2){a=P().question;P();var b=L(9);F("ngTemplateOutlet",b)("ngTemplateOutletContext",bh(2,Ou,a))}},iFb=function(a,b){a&1&&D(0,fFb,1,4,"ng-container",
4)(1,gFb,1,4,"ng-container",4)(2,hFb,1,4,"ng-container",4);if(a&2){var c;a=b.question;b=P();G((c=a.type)===b.CustomQuestionType.INPUT?0:c===b.CustomQuestionType.TEXT?1:c===b.CustomQuestionType.SELECT?2:-1)}},kFb=function(a,b){if(a&1){var c=x();K(0,"h4",5);I(1,"mat-form-field",6)(2,"input",7);M("ngModelChange",function(d){var e=z(c).question,f=P();e.response=d;return A(jFb(f))});J()()}a&2&&(a=b.question,F("innerHtml",a.question,nf),C(2),F("ngModel",a.response),eg("aria-label",a.question))},lFb=function(a,
b){if(a&1){var c=x();K(0,"h4",5);I(1,"mat-form-field",8)(2,"textarea",7);M("ngModelChange",function(d){var e=z(c).question,f=P();e.response=d;return A(jFb(f))});Q(3,"    ");J()()}a&2&&(a=b.question,F("innerHtml",a.question,nf),C(2),F("ngModel",a.response),eg("aria-label",a.question))},nFb=function(a,b){a&1&&(I(0,"mat-option",10),Q(1),J());a&2&&(a=b.$implicit,P(2),F("value",a),C(),R(" ",mFb(a)?a.text:a," "))},oFb=function(a){a&1&&xg(0,4);if(a&2){a=P().question;P();var b=L(3);F("ngTemplateOutlet",b)("ngTemplateOutletContext",
bh(2,Ou,a.response.child))}},pFb=function(a,b){if(a&1){var c=x();K(0,"h4",5);I(1,"mat-form-field",6)(2,"mat-select",9);M("valueChange",function(d){var e=z(c).question,f=P();e.response=d;return A(jFb(f))});tg(3,nFb,2,2,"mat-option",10,sg);J()();D(5,oFb,1,4,"ng-container",4)}a&2&&(a=b.question,P(),F("innerHtml",a.question,nf),C(),eg("aria-label",a.question),C(),F("value",a.response),C(),ug(a.options),C(2),G(mFb(a.response)?5:-1))},qFb=function(a){a&1&&Eg(0)},rFb=function(a){a&1&&xg(0,2);a&2&&(a=P(),
F("ngTemplateOutlet",a.iconOverrides[a.state])("ngTemplateOutletContext",a._getIconContext()))},sFb=function(a){a&1&&(I(0,"span",7),Q(1),J());a&2&&(a=P(2),C(),Tg(a._getDefaultTextForState(a.state)))},tFb=function(a){a&1&&(I(0,"span",8),Q(1),J());a&2&&(a=P(3),C(),Tg(a._intl.completedLabel))},uFb=function(a){a&1&&(I(0,"span",8),Q(1),J());a&2&&(a=P(3),C(),Tg(a._intl.editableLabel))},vFb=function(a){a&1&&(D(0,tFb,2,1,"span",8)(1,uFb,2,1,"span",8),I(2,"mat-icon",7),Q(3),J());a&2&&(a=P(2),G(a.state==="done"?
0:a.state==="edit"?1:-1),C(3),Tg(a._getDefaultTextForState(a.state)))},wFb=function(a){a&1&&D(0,sFb,2,1,"span",7)(1,vFb,4,2,"mat-icon",7);a&2&&(a=P(),G(a.state==="number"?0:1))},xFb=function(a,b){a&1&&(I(0,"div",4),xg(1,9),J());a&2&&(C(),F("ngTemplateOutlet",b.template))},yFb=function(a){a&1&&(I(0,"div",4),Q(1),J());a&2&&(a=P(),C(),Tg(a.label))},zFb=function(a){a&1&&(I(0,"div",5),Q(1),J());a&2&&(a=P(),C(),Tg(a._intl.optionalLabel))},AFb=function(a){a&1&&(I(0,"div",6),Q(1),J());a&2&&(a=P(),C(),Tg(a.errorMessage))},
BFb=function(){},CFb=function(a){a&1&&(Eg(0),D(1,BFb,0,0,"ng-template",0));a&2&&(a=P(),C(),F("cdkPortalOutlet",a._portal))},DFb=function(a){a&1&&Eg(0)},EFb=function(a){a&1&&K(0,"div",6)},GFb=function(a,b){a&1&&(xg(0,5),D(1,EFb,1,0,"div",6));if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;P(2);var d=L(4);F("ngTemplateOutlet",d)("ngTemplateOutletContext",ch(3,FFb,a,c));C();G(c!==b-1?1:-1)}},JFb=function(a,b){if(a&1){var c=x();I(0,"div",7);M("@horizontalStepTransition.done",function(e){z(c);var f=P(2);
return A(f._animationDone.next(e))});xg(1,8);J()}if(a&2){a=b.$implicit;b=b.$index;var d=P(2);ng("mat-horizontal-stepper-content-inactive",d.selectedIndex!==b);F("@horizontalStepTransition",ch(8,HFb,d._getAnimationDirection(b),bh(6,IFb,d._getAnimationDuration())))("id",d._getStepContentId(b));eg("aria-labelledby",d._getStepLabelId(b));C();F("ngTemplateOutlet",a.content)}},KFb=function(a){a&1&&(I(0,"div",1)(1,"div",2),tg(2,GFb,2,6,null,null,sg),J(),I(4,"div",3),tg(5,JFb,2,11,"div",4,sg),J()());a&2&&
(a=P(),C(2),ug(a.steps),C(3),ug(a.steps))},LFb=function(a,b){if(a&1){var c=x();I(0,"div",9);xg(1,5);I(2,"div",10)(3,"div",11);M("@verticalStepTransition.done",function(h){z(c);var l=P(2);return A(l._animationDone.next(h))});I(4,"div",12);xg(5,8);J()()()()}if(a&2){a=b.$implicit;var d=b.$index;b=b.$count;var e=P(2),f=L(4);C();F("ngTemplateOutlet",f)("ngTemplateOutletContext",ch(10,FFb,a,d));C();ng("mat-stepper-vertical-line",d!==b-1);C();ng("mat-vertical-stepper-content-inactive",e.selectedIndex!==
d);F("@verticalStepTransition",ch(15,HFb,e._getAnimationDirection(d),bh(13,IFb,e._getAnimationDuration())))("id",e._getStepContentId(d));eg("aria-labelledby",e._getStepLabelId(d));C(2);F("ngTemplateOutlet",a.content)}},MFb=function(a){a&1&&tg(0,LFb,6,18,"div",9,sg);a&2&&(a=P(),ug(a.steps))},NFb=function(a,b){if(a&1){var c=x();I(0,"mat-step-header",13);M("click",function(){var e=z(c).step;return A(e.select())})("keydown",function(e){z(c);var f=P();return A(f._onKeydown(e))});J()}if(a&2){a=b.step;b=
b.i;var d=P();ng("mat-horizontal-stepper-header",d.orientation==="horizontal")("mat-vertical-stepper-header",d.orientation==="vertical");F("tabIndex",d._getFocusIndex()===b?0:-1)("id",d._getStepLabelId(b))("index",b)("state",d._getIndicatorType(b,a.state))("label",a.stepLabel||a.label)("selected",d.selectedIndex===b)("active",d._stepIsNavigable(b,a))("optional",a.optional)("errorMessage",a.errorMessage)("iconOverrides",d._iconOverrides)("disableRipple",d.disableRipple||!d._stepIsNavigable(b,a))("color",
a.color||d.color);eg("aria-posinset",b+1)("aria-setsize",d.steps.length)("aria-controls",d._getStepContentId(b))("aria-selected",d.selectedIndex==b)("aria-label",a.ariaLabel||null)("aria-labelledby",!a.ariaLabel&&a.ariaLabelledby?a.ariaLabelledby:null)("aria-disabled",d._stepIsNavigable(b,a)?null:!0)}},OFb=function(a){a&1&&(I(0,"li"),Q(1,"I have read "),I(2,"a",51),Q(3,"Chrome Security FAQ"),J(),Q(4,"."),J(),I(5,"li"),Q(6,"I have read "),I(7,"a",52),Q(8,"Reporting Security Bugs"),J(),Q(9,"."),J(),
I(10,"li"),Q(11,"I understand reports may be eligible for reward payments under the "),I(12,"a",53),Q(13,"Chrome VRP"),J(),Q(14,"."),J(),I(15,"li"),Q(16,"I understand issues are normally publicized once a fix has been widely deployed."),J())},QFb=function(a){if(a&1){var b=x();I(0,"h4",5);Q(1,"Which of the following best describes the issue that you are reporting?");J();I(2,"wizard-category-select",46);Xg("categoryChange",function(c){z(b);var d=P();Wg(d.model.category,c)||(d.model.category=c);return A(c)});
J();I(3,"mat-card",47)(4,"mat-card-header");Q(5," Ensure quality of issue reports: ");J();I(6,"mat-card-content")(7,"mat-checkbox",48);Xg("ngModelChange",function(c){z(b);var d=P();Wg(d.ackIssueQuality,c)||(d.ackIssueQuality=c);return A(c)});Q(8," By checking this box, I'm acknowledging that: ");I(9,"ul")(10,"li");Q(11,"I have searched for ");I(12,"a",49);Q(13,"existing issues");J();Q(14," that already report this problem.");J();D(15,OFb,17,0);J()()()();I(16,"div",30)(17,"button",33);Q(18," Next ");
K(19,"mat-icon",50);J()()}a&2&&(a=P(),C(2),F("persona",a.model.persona),Vg("category",a.model.category),C(5),Vg("ngModel",a.ackIssueQuality),C(5),F("href",a.existingIssuesLink,of),C(3),G(a.model.persona===a.Persona.VULN_REPORTER?15:-1),C(2),F("disabled",!PFb(a,0)))},SFb=function(a){a&1&&(I(0,"div")(1,"h3"),Q(2,"Prefer to file an issue manually?"),J(),I(3,"p"),Q(4," It's usually best to work through this short wizard so that your issue is given the labels needed for the right team to see it. Otherwise it might take longer for your issue to be triaged and resolved. "),
J(),I(5,"p"),Q(6," However, if you are a Chromium contributor and none of the other options apply, you may use the regular issue entry "),I(7,"a",49),Q(8,"form"),J(),Q(9,". "),J()());a&2&&(a=P(),C(7),F("href",a.paths.createIssue(ah(1,RFb)),of))},TFb=function(a){a&1&&(I(0,"mat-error"),Q(1," Summary is required "),J())},UFb=function(a){a&1&&(I(0,"mat-error"),Q(1," Steps to reproduce are required "),J())},VFb=function(a){a&1&&(I(0,"mat-error"),Q(1," Issue description is required "),J())},WFb=function(a){if(a&
1){var b=x();I(0,"wizard-custom-questions",54);M("responses",function(c){z(b);var d=P();return A(d.model.customQuestionResponses=c)});J()}a&2&&(a=P(),F("category",a.model.category.value))},XFb=function(a){if(a&1){var b=x();I(0,"div",41)(1,"b-recaptcha",55);M("onUpdate",function(c){z(b);var d=P();return A(d.recaptchaResponse=c)});J()()}},YFb=function(){},ZFb=function(){},$Fb=function(){},aGb=function(a,b){var c=[{customFieldId:b.version,textValue:a.version}];a=a.os.filter(function(d){return d!=="Unknown"});
a.length>0&&c.push({customFieldId:b.os,repeatedEnumValue:{values:a}});return c},cGb=function(a){return a.length?"# Custom Questions\n"+bGb(a).map(function(b){var c;return"#### "+((c=b.answerPrefix)!=null?c:b.question)+"\n"+b.response}).join("\n\n"):""},bGb=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,mFb(c.response)?(b.push({type:c.type,question:c.question,response:c.response.text}),b.push.apply(b,w(bGb([c.response.child])))):b.push(c);return b},dGb=function(a){a&1&&
(I(0,"a",8),Q(1," Create Component "),J())},eGb=function(a){a&1&&(I(0,"p",17),Q(1," None found. "),I(2,"a",18),Q(3,"Learn More"),J()())},fGb=function(a){a&1&&(vg(0),K(1,"b-component-path-card",28,1),wg());if(a&2){a=L(2);var b=P().$implicit;C();F("onedevIsHovercardReady",a.init)("componentId",b.componentId)}},gGb=function(a,b){a&1&&(I(0,"li")(1,"a",19)(2,"div",20)(3,"span",21),Q(4),K(5,"b-component-access-level-indicator",22)(6,"b-tracker-chip-smart",23),J(),I(7,"p",24),Q(8),J()(),I(9,"div",25)(10,
"a",26),Q(11," Edit "),J(),I(12,"a",26),Q(13," Create Issue "),J()()(),I(14,"onedev-hovercard",null,0),D(16,fGb,3,2,"ng-container",27),J()());if(a&2){a=b.$implicit;b=L(15);var c=P(2);C();F("routerLinkObj",c.viewIssues(a.componentId));C();F("onedevHovercardTrigger",b);C(2);R(" ",a.name||a.componentId," ");C();F("accessLevel",a.accessLimit==null?null:a.accessLimit.accessLevel)("labelOnlyMode",!0);C();F("trackerId",a.trackerId)("showHovercard",!1);C(2);Tg(a.description);C(2);F("routerLinkObj",c.componentSettings(a.componentId));
C(2);F("routerLinkObj",c.createIssue(a.componentId))}},hGb=function(a,b){a&1&&(D(0,eGb,4,0,"p",17),I(1,"ol",14),tg(2,gGb,17,10,"li",null,sg),J());a&2&&(G(b.length===0?0:-1),C(2),ug(b))},jGb=function(a){a&1&&(I(0,"a",23),Q(1," Learn more "),J());a&2&&(P(),F("href",iGb(),of))},kGb=function(a){a&1&&(Q(0),S(1,"async"));a&2&&(a=P(2),R(" ",U(1,1,a.suggestedTitle$)," "))},lGb=function(a){a&1&&K(0,"b-spinner")},mGb=function(a,b){if(a&1){var c=x();I(0,"button",17);M("click",function(){var d=z(c).$implicit;
P();var e=L(19),f=P();f.llmSuggestTitleService.generatedTitle.next(null);f.analytics.trackEvent("llm","reject","title-"+String(d));du(f.butterBar,"Thanks for the feedback!",3E3);var h;(h=e.trigger)==null||h.close();return A()});I(1,"span");Q(2);J()()}a&2&&(a=b.$implicit,b=P(2),C(2),Tg(b.REJECT_REASON_TO_DISPLAY.get(a)))},nGb=function(a){if(a&1){var b=x();I(0,"div",1)(1,"div",2)(2,"div",3)(3,"span",4);Q(4,"Suggested title");J();I(5,"div",5)(6,"button",6);M("click",function(){z(b);P().llmSuggestTitleService.suggestTitleRequested.next();
return A()});K(7,"mat-icon",7);J();I(8,"button",8);M("click",function(){z(b);var c=P();return A(c.close())});K(9,"mat-icon",9);J()()();I(10,"div",10);D(11,kGb,2,3);S(12,"async");D(13,lGb,1,0,"b-spinner");J();I(14,"div",11)(15,"button",12);S(16,"async");M("click",function(){z(b);var c=P(),d=Xo(Pu(c.llmSuggestTitleService.generatedTitle));d&&(c.analytics.trackEvent("llm","accept","title"),c.suggestionAccepted.emit(d),c.llmSuggestTitleService.generatedTitle.next(null));return A()});Q(17," Accept ");
J();I(18,"split-button",13,0);S(20,"async");I(21,"button",14);S(22,"async");M("click",function(){z(b);var c=P();c.llmSuggestTitleService.generatedTitle.next(null);c.analytics.trackEvent("llm","reject","title");return A()});Q(23," Reject ");J();I(24,"div",15);tg(25,mGb,3,1,"button",16,sg);J()()()()()}a&2&&(a=P(),C(11),G(U(12,5,a.isGeneratingTitle$)?13:11),C(4),F("disabled",U(16,7,a.isGeneratingTitle$)),C(3),F("size","small")("disabled",!!U(20,9,a.isGeneratingTitle$)),C(3),F("disabled",U(22,11,a.isGeneratingTitle$)),
C(4),ug(a.suggestedTitleRejectionReasons))},oGb=function(a){a&1&&(I(0,"a",3),K(1,"mat-icon",5),J())},pGb=function(a){a&1&&K(0,"b-spinner")},qGb=function(a,b){a&1&&K(0,"b-issues-table",4);a&2&&(a=P(),F("issueIds",b)("tableColumns",a.tableColumns)("options",a.tableOptions))},rGb=function(a){var b=a.similarIssues;var c=a.scores;return b.filter(function(d,e){return c[e]>=.65})},sGb=function(a){a&1&&xg(0)},uGb=function(a){a&1&&(vg(0),D(1,sGb,1,0,"ng-container",9),wg());a&2&&(a=P(),C(),F("ngTemplateOutlet",
a.valueTemplate)("ngTemplateOutletContext",bh(2,tGb,a.value)))},vGb=function(a){a&1&&Q(0);a&2&&(a=P(),Tg(a.value||"--"))},wGb=function(a){a&1&&(Wd(),I(0,"svg",10),K(1,"path",11),J());a&2&&(a=P(),ng("centered",a.centerEditIcon))},xGb=function(a){a&1&&K(0,"textarea",15);a&2&&(a=P(3),F("formControl",a.editingValue)("cdkAutosizeMaxRows",a.multilineMaxLines))},yGb=function(a){a&1&&K(0,"input",16);a&2&&(a=P(3),F("formControl",a.editingValue))},zGb=function(a){a&1&&(vg(0),I(1,"div",13),D(2,xGb,1,2,"textarea",
14)(3,yGb,1,1,"ng-template",null,4,fh),J(),wg());if(a&2){a=L(4);var b=P(2);C(2);F("ngIf",b.allowMultipleLines)("ngIfElse",a)}},AGb=function(a){a&1&&xg(0)},CGb=function(a){a&1&&(vg(0),D(1,AGb,1,0,"ng-container",9),wg());a&2&&(a=P(2),C(),F("ngTemplateOutlet",a.editorTemplate)("ngTemplateOutletContext",bh(2,BGb,a.editingValue)))},DGb=function(a){a&1&&D(0,zGb,5,2,"ng-container",12)(1,CGb,2,4,"ng-container",12);a&2&&(a=P(),F("ngIf",!a.editorTemplate),C(),F("ngIf",a.editorTemplate))},EGb=function(){},FGb=
function(a){a&1&&(I(0,"span",1),Wd(),I(1,"svg",2),K(2,"path",3),J()());a&2&&(a=P(),F("@indicatorRotate",a._getExpandedState()))},GGb=function(a){if(a&1){var b=x();I(0,"b-hotlist-picker",27);M("onApply",function(c){z(b);var d=P();return A(d.handleHotlistPickerSave(c))})("onLoad",function(c){z(b);var d=P();return A(d.loadHotlist(c))})("onCreate",function(c){z(b);var d=P();return A(d.createHotlist(c))});J()}a&2&&(a=P(),F("selectedHotlistIds",a.selectedHotlistIds)("choices",a.hotlists))},HGb=function(a,
b){a&1&&(I(0,"a",12),Q(1,"View recent issues"),J());a&2&&(a=P(),F("routerLinkObj",a.recentIssuesInComponent(b)))},MGb=function(a){a&1&&(I(0,"div",16),K(1,"b-icon",28),I(2,"span"),Q(3),J(),I(4,"a",29),Q(5,"View access settings"),J()());a&2&&(a=P(),F("ngClass",ch(5,IGb,JGb(a),KGb(a))),C(),F("name","alert")("size","small"),C(2),R("",LGb(a),"\u00a0"),C(),F("href",a.selectedComponent?tq.editComponentAccess.makeHref(a.selectedComponent.componentId):"",of))},PGb=function(a){a&1&&(I(0,"div",30),Q(1),J());
a&2&&(a=P(2),C(),R(" Error: The following required field(s) have not been filled: ",NGb(a).concat(OGb(a)).join(", ")," "))},QGb=function(a){a&1&&(I(0,"li"),Q(1),J());if(a&2){a=P(3);C();var b=[];a.isBlockedByIssueIdValid||b.push('"Blocked by"');a.isBlockingIssueIdValid||b.push('"Blocking"');a.isParentIssueIdsValid||b.push('"Parents"');Tg(b?b.join(" & ")+" must be"+((b.length<=1?" a":"")+" comma separated list")+((b.length>1?"s":"")+" of issue IDs"):"")}},RGb=function(a){a&1&&(I(0,"li"),Q(1),J());a&
2&&(a=P(3),C(),R(" Collaborators: you cannot add ",a.invalidCollaboratorsInput.join(", ")," "))},SGb=function(a){a&1&&(I(0,"div",30),Q(1," Error: The following field(s) have invalid values: "),I(2,"ul"),D(3,QGb,2,1,"li")(4,RGb,2,1,"li"),J()());a&2&&(a=P(2),C(3),G(a.isBlockedByIssueIdValid&&a.isBlockingIssueIdValid&&a.isParentIssueIdsValid?-1:3),C(),G(a.isCollaboratorsValid?-1:4))},TGb=function(a){a&1&&(I(0,"div",30),Q(1," Error: There is at least one upload ongoing. Please cancel or wait for it to be finished. "),
J())},VGb=function(a){a&1&&(I(0,"div",17),D(1,PGb,2,1,"div",30)(2,SGb,5,2,"div",30)(3,TGb,2,0,"div",30),J());a&2&&(a=P(),C(),G(NGb(a).length!==0||OGb(a).length!==0?1:-1),C(),G(a.isBlockedByIssueIdValid&&a.isBlockingIssueIdValid&&a.isParentIssueIdsValid&&a.isCollaboratorsValid?-1:2),C(),G(UGb(a.comment)?3:-1))},WGb=function(a,b){if(a&1){var c=x();I(0,"div",31)(1,"b-hotlist-chip",32);M("removeHotlist",function(){var d=z(c).$implicit,e=P(2);return A(e.removeHotlist(d.hotlistId))});J()()}a&2&&(a=b.$implicit,
C(),F("hotlist",a))},XGb=function(a){a&1&&(I(0,"div",18),tg(1,WGb,2,1,"div",31,sg),J());a&2&&(a=P(),C(),ug(a.selectedHotlists))},YGb=function(a,b){if(a&1){var c=x();I(0,"button",38);M("click",function(){var d=z(c).$implicit;P(2).selectedTemplate=d;return A()});Q(1);J()}a&2&&(a=b.$implicit,C(),Tg(a.name))},ZGb=function(a){if(a&1){var b=x();I(0,"button",38);M("click",function(){z(b);var c=P(2);c.selectedTemplate=c.availableExistingIssueTemplate;return A()});Q(1);J()}a&2&&(a=P(2),C(),Tg(a.availableExistingIssueTemplate.name))},
$Gb=function(a){a&1&&(I(0,"div",25)(1,"div",21)(2,"label",33),Q(3,"Template"),J()(),I(4,"button",34),Q(5),K(6,"mat-icon",35),J(),I(7,"mat-menu",36,2),tg(9,YGb,2,1,"button",37,sg),D(11,ZGb,2,1,"button",37),J()());if(a&2){var b;a=L(8);var c=P();C(4);F("matMenuTriggerFor",a);C();R("",(b=c.selectedTemplate==null?null:c.selectedTemplate.name)!==null&&b!==void 0?b:""," ");C(2);F("overlapTrigger",!0);C(2);ug(c.availablePredefinedTemplates);C(2);G(c.availableExistingIssueTemplate?11:-1)}},aHb=function(a){a&
1&&(I(0,"div",26)(1,"div",30),Q(2," You do not have permission to create issues in this component. "),J()())},bHb=function(a){a&1&&K(0,"llm-suggest-title-button",42);a&2&&(a=P(2),F("description",a.comment))},dHb=function(a){if(a&1){var b=x();I(0,"llm-suggest-title-preview",61);M("suggestionAccepted",function(c){z(b);var d=P(2);d.setTitle(c);return A(cHb(d))});J()}},eHb=function(a){a&1&&(I(0,"p",43),Q(1),I(2,"a",62),Q(3," Learn more "),J()());a&2&&(a=P(2),C(),R(" Your title contains restricted words: ",
$q(a.titleBannedWordsChecker),". Review your title before posting. "))},fHb=function(a,b){if(a&1){var c=x();I(0,"button",65);M("click",function(){var d=z(c).$implicit,e=P(3);return A(e.setPriority(d.value))});Q(1);J()}a&2&&(a=b.$implicit,C(),Tg(a.displayText))},gHb=function(a){if(a&1){var b=x();I(0,"div",25)(1,"div",21)(2,"label",63);Q(3,"Priority");J()();I(4,"button",64);Q(5);K(6,"mat-icon",35);J();I(7,"mat-menu",36,3)(9,"button",65);M("click",function(){z(b);var d=P(2);return A(d.setPriority())});
Q(10,"--");J();tg(11,fHb,2,1,"button",66,sg);J()()}if(a&2){a=L(8);var c=P(2);C(4);F("matMenuTriggerFor",a);eg("aria-label","Priority, required"+(c.issue.priority?", "+c.issue.priority:""));C();R("",c.issue.priority?c.issue.priority:"--"," ");C(2);F("overlapTrigger",!0);C(4);ug(c.priorityChoices)}},hHb=function(a,b){if(a&1){var c=x();I(0,"button",69);M("click",function(){var d=z(c).$implicit,e=P(3);return A(e.setIssueType(d.value))});Q(1);J()}a&2&&(a=b.$implicit,Gg("title",a.altText||""),C(),Tg(a.displayText))},
iHb=function(a){if(a&1){var b=x();I(0,"div",25)(1,"div",21)(2,"label",67);Q(3,"Type");J()();I(4,"button",64);S(5,"enumToHuman");Q(6);S(7,"enumToHuman");K(8,"mat-icon",35);J();I(9,"mat-menu",36,4)(11,"button",65);M("click",function(){z(b);var d=P(2);return A(d.setIssueType())});Q(12,"--");J();tg(13,hHb,2,2,"button",68,sg);J()()}if(a&2){a=L(10);var c=P(2);C(4);F("matMenuTriggerFor",a);eg("aria-label","Type, required"+(c.issue.type?U(5,4,", "+c.issue.type):""));C(2);R("",U(7,6,c.issue.type||"--")," ");
C(3);F("overlapTrigger",!0);C(4);ug(c.issueTypeChoices)}},jHb=function(a){if(a&1){var b=x();I(0,"div",44)(1,"div",21)(2,"label",70);Q(3,"Assignee");J()();I(4,"div",71)(5,"input",72);Xg("ngModelChange",function(c){z(b);var d=P(2);Wg(d.assigneeText,c)||(d.assigneeText=c);return A(c)});J()()()}a&2&&(a=P(2),C(5),Vg("ngModel",a.assigneeText),F("bContactAutocomplete","SINGLE"))},kHb=function(a){a&1&&(I(0,"mat-error"),Q(1," Collaborators only accepts individual users. "),J())},mHb=function(a){if(a&1){var b=
x();I(0,"div",45)(1,"div",21)(2,"label",73);Q(3,"Collaborators");J();K(4,"mat-icon",74);J();I(5,"div",71)(6,"input",75);M("ngModelChange",function(c){z(b);var d=P(2);return A(d.collaboratorsText=lHb(c))});J()();D(7,kHb,2,0,"mat-error");J()}a&2&&(a=P(2),C(6),ng("invalid",!a.isCollaboratorsValid),F("ngModel",Qu(a.collaboratorsText))("bContactAutocomplete","MULTI"),C(),G(!a.isCollaboratorsValid&&a.submitRequested?7:-1))},nHb=function(a){if(a&1){var b=x();I(0,"div",46)(1,"div",21)(2,"label",76);Q(3,"CC");
J()();I(4,"div",71)(5,"input",77);M("ngModelChange",function(c){z(b);var d=P(2);return A(d.ccsText=lHb(c))});J()()()}a&2&&(a=P(2),C(5),F("ngModel",Qu(a.ccsText))("bContactAutocomplete","MULTI"))},oHb=function(a){a&1&&(I(0,"p",50),Q(1),I(2,"a",62),Q(3," Learn more "),J()());a&2&&(a=P(2),C(),R(" Your description contains restricted words: ",$q(a.descriptionBannedWordsChecker),". Review your description before posting. "))},pHb=function(a){a&1&&xg(0)},qHb=function(a){a&1&&(I(0,"div",20)(1,"div",21)(2,
"label",80),Q(3," Collaborator Groups "),J(),K(4,"mat-icon",81),J(),D(5,pHb,1,0,"ng-container",82),J());if(a&2){a=P(3);var b=L(30);C(4);Gg("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP);C();F("ngTemplateOutlet",b)}},rHb=function(a){if(a&1){var b=x();I(0,"div",52)(1,"div",20)(2,"div",21)(3,"label",78);Q(4," Issue access level ");J()();I(5,"b-issue-access-limits-dropdown",79);M("updatedAccessLimitLevel",function(c){z(b);var d=P(2);return A(d.onAccessLimitLevelSelected(c))});J()();D(6,qHb,6,2,"div",20);
J()}a&2&&(a=P(2),C(5),F("disabled",!1)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled)("defaultAccessLimitLevel",a.selectedAccessLimitLevel),C(),G(a.trackerCollaboratorGroups.length>0?6:-1))},sHb=function(a,b){if(a&1){var c=x();I(0,"button",65);M("click",function(){var d=z(c).$implicit,e=P(3);return A(e.issue.severity=e.toIssueSeverity(d.value))});Q(1);J()}a&2&&(a=b.$implicit,C(),Tg(a.displayText))},uHb=function(a){if(a&1){var b=x();I(0,"div",96)(1,"div",21)(2,"label",107);Q(3," Staffing ");
J()();I(4,"button",108);S(5,"staffingSummary");M("click",function(){z(b);var d=P(3);return A(d.editStaffing())});I(6,"span",109);Q(7);S(8,"staffingSummary");J();K(9,"b-icon",110);J()()}if(a&2){var c;a=P(3);C(4);eg("aria-label","Staffing: "+U(5,2,(c=a.issue.plannedAllocations==null?null:a.issue.plannedAllocations.plannedAllocations)!==null&&c!==void 0?c:ah(6,tHb)));C(3);R(" ",U(8,4,a.issue.plannedAllocations==null?null:a.issue.plannedAllocations.plannedAllocations)," ")}},vHb=function(a){a&1&&(I(0,
"span"),Q(1,"*"),J())},wHb=function(a){a&1&&(I(0,"span"),Q(1,"*"),J())},xHb=function(a){a&1&&(I(0,"span"),Q(1,"*"),J())},zHb=function(a){if(a&1){var b=x();I(0,"div",90)(1,"div",21)(2,"label",111);Q(3," Parents ");D(4,xHb,2,0,"span");J()();I(5,"input",112);M("ngModelChange",function(c){z(b);var d=P(3);d.parentIssueIds=yHb(d,c).map(dq);d.isParentIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(Qu(d.parentIssueIds));return A()});J()()}a&2&&(a=P(3),C(4),G(a.isParentIssueIdsValid?-1:4),C(),F("ngModel",Qu(a.parentIssueIds)))},
AHb=function(a){a&1&&(I(0,"span"),Q(1,"*"),J())},BHb=function(a){if(a&1){var b=x();I(0,"div",90)(1,"div",21)(2,"label",113);Q(3," Children ");D(4,AHb,2,0,"span");J()();I(5,"input",114);M("ngModelChange",function(c){z(b);var d=P(3);d.childrenIssueIds=yHb(d,c).map(dq);d.isChildIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(Qu(d.childrenIssueIds));return A()});J()()}a&2&&(a=P(3),C(4),G(a.isChildIssueIdsValid?-1:4),C(),F("ngModel",Qu(a.childrenIssueIds)))},CHb=function(a){if(a&1){var b=x();I(0,"div",90)(1,
"div",21)(2,"label",78);Q(3," Issue access level ");J()();I(4,"b-issue-access-limits-dropdown",115);M("updatedAccessLimitLevel",function(c){z(b);var d=P(3);return A(d.onAccessLimitLevelSelected(c))});J()()}a&2&&(a=P(3),C(4),F("disabled",!1)("defaultAccessLimitLevel",a.selectedAccessLimitLevel)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled))},DHb=function(a){a&1&&xg(0)},EHb=function(a){a&1&&(I(0,"div",20)(1,"div",21)(2,"label",80),Q(3," Collaborator Groups "),J(),K(4,"mat-icon",81),J(),
D(5,DHb,1,0,"ng-container",82),J());if(a&2){a=P(3);var b=L(30);C(4);Gg("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP);C();F("ngTemplateOutlet",b)}},FHb=function(a){if(a&1){var b=x();I(0,"onedev-text-field",119);M("valueChange",function(d){z(b);var e=P(2).$implicit,f=P(3);return A(f.setCustomFieldValue(e,d))});J()}if(a&2){a=P(2).$implicit;var c=P(3);Fg("id","bv2-custom-field-",a.customFieldId,"");F("value",a.textValue);eg("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+
"-label")}},GHb=function(a){if(a&1){var b=x();I(0,"onedev-numeric-field",119);M("valueChange",function(d){z(b);var e=P(2).$implicit,f=P(3);return A(f.setCustomFieldValue(e,d))});J()}if(a&2){a=P(2).$implicit;var c=P(3);Fg("id","bv2-custom-field-",a.customFieldId,"");F("value",a.numericValue);eg("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},HHb=function(a){if(a&1){var b=x();I(0,"div")(1,"bv2-input-date-picker",120);M("boundValueChange",function(d){z(b);
var e=P(2).$implicit,f=P(3);return A(f.setCustomFieldValue(e,d))});J()()}if(a&2){a=P(2).$implicit;var c=P(3);C();Gg("bv2AriaLabelledby","bv2-custom-field-"+a.customFieldId+"-label");F("boundValue",a.dateValue)("isRequired",c.isCustomFieldRequired(a))("bv2Id","bv2-custom-field-"+a.customFieldId)}},IHb=function(a){if(a&1){var b=x();I(0,"onedev-single-select",121);M("valueChange",function(d){z(b);var e=P(2).$implicit,f=P(3);return A(f.setCustomFieldValue(e,d))});J()}if(a&2){a=P(2).$implicit;var c=P(3);
F("value",a.enumValue)("options",c.getCustomFieldAllowedValues(a))("includeEmptyOption",!0);eg("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},JHb=function(a,b){a&1&&(I(0,"div"),D(1,FHb,1,5,"onedev-text-field",117)(2,GHb,1,5,"onedev-numeric-field",117)(3,HHb,2,4,"div")(4,IHb,1,4,"onedev-single-select",118),J());a&2&&(a=P(4),C(),G(b===a.FieldType.TEXT?1:-1),C(),G(b===a.FieldType.NUMERIC?2:-1),C(),G(b===a.FieldType.DATE?3:-1),C(),G(b===a.FieldType.ENUM?4:-1))},KHb=function(a,b){if(a&
1){var c=x();I(0,"div")(1,"b-list-field",122);M("valuesChange",function(e){z(c);var f=P().$implicit,h=P(3);return A(h.setCustomFieldValue(f,e.values))});J()()}if(a&2){a=P().$implicit;var d=P(3);C();F("defaultLineCount",2)("type",b)("values",d.getListFieldValues(a))("enumChoices",d.customFieldAllowedValuesMap[a.customFieldId]||null)("truncate",!0)("isRequired",d.isCustomFieldRequired(a));eg("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},MHb=function(a,b){a&1&&(I(0,"div",90)(1,"div",
21)(2,"label",116),Q(3),J()(),D(4,JHb,5,4,"div")(5,KHb,2,7,"div"),J());if(a&2){var c,d;a=b.$implicit;b=P(3);C(2);Fg("id","bv2-custom-field-",a.customFieldId,"-label");var e=b.customFieldMap[a.customFieldId];Gg("title",(e&&e.description?e.description:"Custom Field")+" [ID: "+a.customFieldId+"]");F("ngClass",bh(8,LHb,b.isCustomFieldRequired(a)));var f=(e=b.customFieldMap[a.customFieldId])?e.name:"";e&&b.canEditIssuesInComponent&&b.customFieldMap[a.customFieldId].required&&(f+=", required field");eg("aria-label",
f);C();R(" ",b.getCustomFieldName(a)," ");C();G((c=b.getSingleEditFieldType(b.customFieldMap[a.customFieldId]))?4:-1,c);C();G((d=b.getListFieldType(b.customFieldMap[a.customFieldId]))?5:-1,d)}},NHb=function(a){if(a&1){var b=x();I(0,"mat-expansion-panel",55)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",83);Q(4,"Advanced fields (Required fields marked with");I(5,"span",84);Q(6,"*");J();Q(7,")");J()()();I(8,"div",85)(9,"div",86)(10,"div",21)(11,"label",87);Q(12," Severity ");J()();I(13,
"button",88);Q(14);K(15,"b-icon",89);J();I(16,"mat-menu",36,5);tg(18,sHb,2,1,"button",66,sg);J()();I(20,"div",90)(21,"div",21)(22,"label",91);Q(23," Found in ");J()();I(24,"input",92);M("ngModelChange",function(d){z(b);var e=P(2);return A(e.issue.foundInVersion=lHb(d))});J()();I(25,"div",93)(26,"div",21)(27,"label",94);Q(28," In prod ");J()();I(29,"mat-slide-toggle",95);Xg("ngModelChange",function(d){z(b);var e=P(2);Wg(e.issue.inProd,d)||(e.issue.inProd=d);return A(d)});J()();K(30,"div",53);D(31,
uHb,10,7,"div",96);K(32,"div",53);I(33,"div",90)(34,"div",21)(35,"label",97);Q(36," Reporter ");J()();I(37,"input",98);Xg("ngModelChange",function(d){z(b);var e=P(2);Wg(e.reporterText,d)||(e.reporterText=d);return A(d)});J()();I(38,"div",90)(39,"div",21)(40,"label",99);Q(41," Verifier ");J()();I(42,"input",100);Xg("ngModelChange",function(d){z(b);var e=P(2);Wg(e.verifierText,d)||(e.verifierText=d);return A(d)});J()();I(43,"div",90)(44,"div",21)(45,"label",101);Q(46," Targeted to ");J()();I(47,"input",
102);M("ngModelChange",function(d){z(b);var e=P(2);return A(e.issue.targetedToVersion=lHb(d))});J()();K(48,"div",53);I(49,"div",90)(50,"div",21)(51,"label",103);Q(52," Blocked by ");D(53,vHb,2,0,"span");J()();I(54,"input",104);M("ngModelChange",function(d){z(b);var e=P(2);e.issue.blockedByIssueId=yHb(e,d);e.isBlockedByIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(Qu(e.issue.blockedByIssueId));return A()});J()();I(55,"div",90)(56,"div",21)(57,"label",105);Q(58," Blocking ");D(59,wHb,2,0,"span");J()();
I(60,"input",106);M("ngModelChange",function(d){z(b);var e=P(2);e.issue.blockingIssueId=yHb(e,d);e.isBlockingIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(Qu(e.issue.blockingIssueId));return A()});J()();D(61,zHb,6,2,"div",90)(62,BHb,6,2,"div",90);K(63,"div",53);D(64,CHb,5,3,"div",90)(65,EHb,6,2,"div",20);K(66,"div",53);tg(67,MHb,6,10,"div",90,sg);J()()}if(a&2){a=L(17);var c=P(2);C(13);F("matMenuTriggerFor",a);eg("aria-label","Severity"+(c.issue.severity?", "+c.issue.severity:""));C();Tg(c.issue.severity);
C(2);F("overlapTrigger",!0);C(2);ug(c.severityChoices);C(6);F("ngModel",Qu(c.originalIssueCopy.foundInVersion));C(5);Vg("ngModel",c.issue.inProd);C(2);G(c.enablePlannedAllocationsUi?31:-1);C(6);Vg("ngModel",c.reporterText);F("bContactAutocomplete","SINGLE");C(5);Vg("ngModel",c.verifierText);F("bContactAutocomplete","SINGLE");C(5);F("ngModel",Qu(c.originalIssueCopy.targetedToVersion));C(6);G(c.isBlockedByIssueIdValid?-1:53);C();F("ngModel",Qu(c.issue.blockedByIssueId));C(5);G(c.isBlockingIssueIdValid?
-1:59);C();F("ngModel",Qu(c.issue.blockingIssueId));C();G(c.sessionIsExternal?-1:61);C();G(c.sessionIsExternal?-1:62);C(2);G(dr(c.selectedComponent)?-1:64);C();G(c.trackerCollaboratorGroups.length>0&&!dr(c.selectedComponent)?65:-1);C(2);ug(c.issue.customField)}},OHb=function(a,b){a&1&&K(0,"similar-issues",123);a&2&&(a=P(3),F("context",b)("componentId",a.issue.componentId))},PHb=function(a){a&1&&(D(0,OHb,1,2,"similar-issues",123),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.similarIssuesSearchString$))?
0:-1,b)}},QHb=function(a){a&1&&(I(0,"div",16),K(1,"b-icon",28),I(2,"span"),Q(3),J(),I(4,"a",29),Q(5,"View access settings"),J()());a&2&&(a=P(2),F("ngClass",ch(5,IGb,JGb(a),KGb(a))),C(),F("name","alert")("size","small"),C(2),R("",LGb(a),"\u00a0"),C(),F("href",a.selectedComponent?tq.editComponentAccess.makeHref(a.selectedComponent.componentId):"",of))},RHb=function(a){if(a&1){var b=x();I(0,"div",56)(1,"b-recaptcha",124);M("onUpdate",function(c){z(b);var d=P(2);return A(d.recaptchaResponse=c)});J()()}},
WHb=function(a){if(a&1){var b=x();I(0,"div")(1,"div",19)(2,"div",20)(3,"div",21)(4,"label",39);Q(5,"Title");J()();I(6,"div",40)(7,"input",41);M("ngModelChange",function(c){z(b);var d=P();return A(d.setTitle(c))})("blur",function(){z(b);var c=P();return A(cHb(c))});J();D(8,bHb,1,1,"llm-suggest-title-button",42);J();D(9,dHb,1,0,"llm-suggest-title-preview")(10,eHb,4,1,"p",43);J();D(11,gHb,13,4,"div",25)(12,iHb,15,8,"div",25);J();vg(13);I(14,"div",19);D(15,jHb,6,2,"div",44)(16,mHb,8,5,"div",45);J();I(17,
"div",19);D(18,nHb,6,2,"div",46);J();wg();I(19,"div",47)(20,"div",19)(21,"div",20)(22,"div",21)(23,"label",48);Q(24,"Description");J()();I(25,"b-comment-box",49);Xg("commentChange",function(c){z(b);var d=P();Wg(d.comment,c)||(d.comment=c);return A(c)});M("onChange",function(){z(b);var c=P();return A(c.saveCommentDraft())})("onSubmit",function(c){z(b);var d=P();return A(SHb(d,c,!c.shiftKey))})("onRestrict",function(){z(b);var c=P();return A(c.showNewContentJudgementDialog())});D(26,oHb,4,1,"p",50);
I(27,"b-markdown-toggle",51);M("change",function(c){z(b);var d=P();return A(d.comment.formattingMode=c)});J()()()();D(28,rHb,7,4,"div",52);K(29,"div",53);I(30,"div",54);D(31,NHb,69,20,"mat-expansion-panel",55);J();D(32,PHb,2,3)(33,QHb,6,8,"div",16)(34,RHb,2,0,"div",56);I(35,"div",57)(36,"b-button",58);M("onAction",function(c){z(b);var d=P();return A(SHb(d,c,!0))});Q(37);J();I(38,"b-button",59);M("onAction",function(c){z(b);var d=P();return A(SHb(d,c,!1))});Q(39);J();I(40,"b-button",60);M("onAction",
function(){z(b);var c=P();c.draftStore.$window.sessionStorage.removeItem(Wp("0"));THb(c.reloadService);return A()});Q(41," Discard ");J()()()()}a&2&&(a=P(),C(7),ng("invalid",a.titleBannedWordsChecker.showWarning()),F("ngModel",a.issue.title)("bFocus",a.newIssueStarted),C(),G(a.enableSuggestTitle?8:-1),C(),G(a.enableSuggestTitle?9:-1),C(),G(a.titleBannedWordsChecker.showWarning()?10:-1),C(),G(a.canEditIssuesInComponent?11:-1),C(),G(a.canEditIssuesInComponent?12:-1),C(3),G(a.canEditIssuesInComponent?
15:-1),C(),G(a.canEditIssuesInComponent?16:-1),C(2),G(a.canEditIssuesInComponent?18:-1),C(7),F("supportsPreview",!0),Vg("comment",a.comment),F("disabled",a.isSaving)("judgementForNewContent",a.judgementForNewContent)("componentId",a.selectedComponent==null?null:a.selectedComponent.componentId)("placeholder",a.piiWarningMessage)("idForAriaLabel",a.descriptionBoxId)("audience",a.audience)("showRestrictionOptions",a.canEditIssuesInComponent)("ngClass",bh(38,UHb,UGb(a.comment)))("warn",a.descriptionBannedWordsChecker.showWarning())("canEditIssuesInComponent",
a.canEditIssuesInComponent),C(),G(a.descriptionBannedWordsChecker.showWarning()?26:-1),C(),F("initialValue",a.comment.formattingMode),C(),G(a.canEditIssuesInComponent&&dr(a.selectedComponent)?28:-1),C(3),G(a.canEditIssuesInComponent?31:-1),C(),G(a.shouldShowSimilarIssues&&a.issue.componentId&&!a.submitRequested?32:-1),C(),G(JGb(a)||KGb(a)?33:-1),C(),G(a.enableRecaptcha?34:-1),C(2),F("disabled",VHb(a))("color",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"warn":
"primary"),C(),R(" ",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"Create Anyway":"Create"," "),C(),F("disabled",VHb(a))("color",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"warn":"primary"),C(),R(" ",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"Create Anyway & Start Another":"Create & Start Another"," "),C(),F("disabled",VHb(a)))},XHb=function(a,b){a&1&&(I(0,"h2",125),Q(1,
"This component has a default description"),J(),I(2,"mat-dialog-content"),Q(3," You have already entered a description, but the component you chose has a default description: "),I(4,"div",126),Q(5),J()(),I(6,"mat-dialog-actions")(7,"button",127),Q(8,"Use component description"),J(),I(9,"button",128),Q(10,"Keep my description"),J()());a&2&&(a=b.$implicit,C(5),Tg(a),C(2),F("mat-dialog-close",!0))},YHb=function(a,b){a&1&&(I(0,"mat-option",131),Q(1),J());a&2&&(a=b.$implicit,Gg("value",a),C(),R(" ",a,
" "))},$Hb=function(a){if(a&1){var b=x();I(0,"mat-form-field",129)(1,"mat-select",130);Xg("ngModelChange",function(c){z(b);var d=P();Wg(d.collaboratorGroupsText,c)||(d.collaboratorGroupsText=c);return A(c)});I(2,"mat-select-trigger");Q(3);J();tg(4,YHb,2,2,"mat-option",131,sg);J()()}a&2&&(a=P(),C(),Vg("ngModel",a.collaboratorGroupsText),F("ngModelOptions",ah(3,ZHb)),C(2),Tg(a.getCollaboratorGroupsString()),C(),ug(a.trackerCollaboratorGroups))},aIb=function(a,b){b.assigneeText=Ri(a.assigneeUser);b.reporterText=
Ri(a.reporterUser);b.verifierText=Ri(a.verifierUser);b.collaboratorsText=Si(a.collaboratorsUsers);b.ccsText=Si(a.ccUsers)},bIb=function(a,b){var c=a.assigneeText;c===null?c=null:(c=c.trim(),c=c.endsWith(",")?c.slice(0,c.length-1):c);a.assigneeText=c;a.assigneeText!=null&&(b.assigneeUser=Yi(a.assigneeText));a.reporterText!=null&&(b.reporterUser=Yi(a.reporterText));a.verifierText!=null&&(b.verifierUser=Yi(a.verifierText));a.collaboratorsText&&(c=yra(a.collaboratorsText),c.length?b.collaboratorsUsers=
c:b.collaboratorsUsers=void 0);a.ccsText&&(a=yra(a.ccsText),a.length?b.ccUsers=a:b.ccUsers=void 0)},dIb=function(a,b){for(var c=k(Object.keys(b)),d=c.next();!d.done;d=c.next()){d=d.value;var e=b[d],f=cIb[d];d==="customField"||yi(e,f)||(Array.isArray(e)?a[d]?(e=Yqa([].concat(w(e),w(a[d]))),a[d]=e):a[d]=e:e!==""&&(a[d]=e))}},eIb=function(a){a=Object.assign({},a);return delete a.hotlistId,a},fIb=function(a){var b={};a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.allowedValue&&(b[c.customFieldId]=
c.allowedValue.map(function(d){return{value:d,displayText:d}}));return b},gIb=function(a){return function(b){var c=Mi(b.snapshot.customField,function(l){return l.customFieldId}),d=[],e,f,h=(f=(e=a.componentPathInfo)==null?void 0:e.allCustomField)!=null?f:[];e=k(h);for(f=e.next();!f.done;f=e.next())f=f.value,h=f.customFieldId,f.enabledOnIssues&&(c.has(h)?d.push(c.get(h)):f.typedDefaultValue?d.push(f.typedDefaultValue):d.push({customFieldId:h}));return Object.assign({},b,{snapshot:Object.assign({},
b.snapshot,{customField:d})})}},hIb=function(a){a&1&&K(0,"b-star-toggle",6);a&2&&F("starMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("unStarMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("starred",!0)("disabled",!0)},iIb=function(a){if(a&1){var b=x();I(0,"b-star-toggle",10);M("starClicked",function(){z(b);var c=P(2);return A(c.toggleStar())});J()}a&2&&(a=P(2),F("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",
a.isStarred))},jIb=function(a){if(a&1){var b=x();I(0,"div")(1,"div",5);D(2,hIb,1,4,"b-star-toggle",6)(3,iIb,1,3,"b-star-toggle",7);I(4,"span",8);Q(5);I(6,"span")(7,"button",9);M("click",function(){z(b);var c=P();return A(c.editBookmarkGroup())});J()()()()()}a&2&&(a=P(),C(2),G(a.isAdmin?2:3),C(3),R("",a.bookmarkGroup.name," "))},mIb=function(a){if(a&1){var b=x();I(0,"b-saved-search-panel",13);M("focusedRowIndexChange",function(f){z(b);var h=P().$implicit,l=P();return A(kIb(l,h,f))})("selectionChange",
function(f){z(b);var h=P(2);return A(lIb(h,f))})("resultsLoaded",function(f){z(b);var h=P(2);return A(h.loadHotlists(f))});J()}if(a&2){var c=P();a=c.$implicit;var d=c.$index;c=c.$count;var e=P();F("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("savedSearchId",a.resourceId)("first",d===0)("last",d===c-1)}},nIb=function(a){if(a&1){var b=x();I(0,"b-hotlist-panel",14);M("focusedRowIndexChange",function(f){z(b);var h=P().$implicit,l=P();return A(kIb(l,h,f))})("selectionChange",
function(f){z(b);var h=P(2);return A(lIb(h,f))})("resultsLoaded",function(f){z(b);var h=P(2);return A(h.loadHotlists(f))});J()}if(a&2){var c=P();a=c.$implicit;var d=c.$index;c=c.$count;var e=P();F("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("hotlistId",a.resourceId)("first",d===0)("last",d===c-1)}},oIb=function(a,b){a&1&&(I(0,"div"),D(1,mIb,1,6,"b-saved-search-panel",11)(2,nIb,1,6,"b-hotlist-panel",12),J());if(a&2){var c;a=b.$implicit;C();G((c=a.type)==="SAVED_SEARCH"?
1:c==="HOTLIST"?2:-1)}},pIb=function(a){if(a&1){var b=x();I(0,"button",10);M("click",function(){z(b);var c=P();return A(c.archive())});Q(1," Archive bookmark group ");J()}a&2&&(a=P(),F("disabled",a.hasUnsavedChanges()||a.isSaving()))},qIb=function(a){if(a&1){var b=x();I(0,"button",10);M("click",function(){z(b);var c=P();return A(c.unarchive())});Q(1," Unarchive bookmark group ");J()}a&2&&(a=P(),F("disabled",a.hasUnsavedChanges()||a.isSaving()))},rIb=function(a){a&1&&(I(0,"span",12),Q(1," (archived) "),
J())},tIb=function(a,b){if(a&1){var c=x();I(0,"div")(1,"b-hotlist-chip-smart",45);M("removeHotlist",function(){var d=z(c),e=P(4);return A(sIb(e,d))});J()()}a&2&&(C(),F("id",b))},vIb=function(a,b){if(a&1){var c=x();I(0,"div",43)(1,"a",46);Q(2);J();I(3,"span",47);M("click",function(){var e=z(c),f=P(4);return A(uIb(f,e))})("keydown.enter",function(){var e=z(c),f=P(4);return A(uIb(f,e))})("keydown.space",function(){var e=z(c),f=P(4);return A(uIb(f,e))});Q(4," \u00d7 ");J()()}if(a&2){a=P().$implicit;var d=
P(3);C();F("href",d.paths.viewSavedSearch(b),of)("matTooltip","Go to saved search: "+d.getDisplayName(a));C();R(" S: ",d.getDisplayName(a)," ");C();F("matTooltip","Remove item: "+d.getDisplayName(a));eg("aria-label","Remove item: "+d.getDisplayName(a))}},wIb=function(a){a&1&&(I(0,"span",44),Q(1,"<None>"),J())},xIb=function(a,b){a&1&&(I(0,"div",34),D(1,tIb,2,1,"div")(2,vIb,5,5,"div",43)(3,wIb,2,0,"span",44),J());if(a&2){var c;a=b.$implicit;b=P(3);C();var d;var e=a.resourceType==="HOTLIST"?(d=a.hotlistId)==
null?void 0:d.toString():void 0;G(e?1:-1,e);C();G((c=a.resourceType==="SAVED_SEARCH"?a.savedSearchId:void 0)?2:-1,c);C();G(b.bookmarkGroupUnderEdit.item.length?-1:3)}},zIb=function(a,b){if(a&1){var c=x();I(0,"button",54);M("click",function(){var d=z(c).$implicit,e=P(5);return A(yIb(e,d))});Q(1);J()}a&2&&(a=b.$implicit,C(),R("",a.name," "))},AIb=function(a){a&1&&tg(0,zIb,2,1,"button",53,sg);a&2&&(a=P(4),ug(a.savedSearchChoices))},BIb=function(a){a&1&&(I(0,"div",42)(1,"label",48),Q(2,"Add from saved searches:"),
J(),I(3,"button",49)(4,"span",50),Q(5,"Select"),J(),K(6,"mat-icon",51),J(),I(7,"mat-menu",null,2),D(9,AIb,2,0,"ng-template",52),J()());a&2&&(a=L(8),C(3),F("matMenuTriggerFor",a))},GIb=function(a){if(a&1){var b=x();I(0,"div",30)(1,"label",32)(2,"span",20);Q(3,"Selected items");J()();I(4,"div",33,1);tg(6,xIb,4,3,"div",34,sg);J()();I(8,"div",35)(9,"div",36)(10,"label",37);Q(11,"Add hotlist from favorites:");J();I(12,"b-hotlist-picker",38);M("onApply",function(c){z(b);var d=P(2);return A(CIb(d,c))})("onCreate",
function(c){z(b);var d=P(2);return A(DIb(d,c))})("onLoad",function(c){z(b);var d=P(2);return A(EIb(d,c))});J()();I(13,"div",39)(14,"label",40);Q(15,"Add hotlist by query:");J();I(16,"b-hotlist-search",41);M("itemSelect",function(c){z(b);var d=P(2);"hotlistId"in c&&!d.selectedHotlistIds[0].includes(c.hotlistId)&&(FIb(d,c.hotlistId),d.bookmarkGroupUnderEdit.item.push({name:c.name,resourceType:"HOTLIST",hotlistId:c.hotlistId}));return A()});J()();D(17,BIb,10,1,"div",42);J()}a&2&&(a=P(2),C(6),ug(a.bookmarkGroupUnderEdit.item),
C(6),F("selectedHotlistIds",a.selectedHotlistIds)("choices",a.userHotlists)("checkEditAcl",!1),C(4),F("showGroups",!1)("allowStarring",!1),C(),G(a.savedSearchChoices.length>0?17:-1))},IIb=function(a){a&1&&(I(0,"span"),Q(1),I(2,"a",56),Q(3),J()());if(a&2){a=P().$implicit;var b=P(3);C();R(" Hotlist ",a.hotlistId,": ");C();F("href",HIb(b,a),of);C();R(" ",a.name||"(name not available)"," ")}},JIb=function(a){a&1&&(I(0,"span"),Q(1),I(2,"a",56),Q(3),J()());if(a&2){a=P().$implicit;var b=P(3);C();R(" Saved search ",
a.savedSearchId,": ");C();F("href",HIb(b,a),of);C();R(" ",a.name||"(name not available)"," ")}},KIb=function(a,b){a&1&&(I(0,"li"),D(1,IIb,4,3,"span")(2,JIb,4,3,"span"),J());a&2&&(a=b.$implicit,C(),G(a.resourceType==="HOTLIST"?1:-1),C(),G(a.resourceType==="SAVED_SEARCH"?2:-1))},LIb=function(a){a&1&&(I(0,"div",24)(1,"label")(2,"span",20),Q(3,"Items"),J()(),I(4,"div",55)(5,"ul"),tg(6,KIb,3,2,"li",null,sg),J()()());a&2&&(a=P(2),C(6),ug(a.bookmarkGroup.item))},MIb=function(a){if(a&1){var b=x();I(0,"div",
25)(1,"button",57);M("click",function(){z(b);var c=P(2);return A(c.saveMetadata())});Q(2," Update ");J();I(3,"button",58);M("click",function(){z(b);var c=P(2);return A(c.revertMetadataChanges())});Q(4," Revert changes ");J()()}a&2&&(a=P(2),C(),F("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},NIb=function(a){if(a&1){var b=x();I(0,"div",25)(1,"button",57);M("click",function(){z(b);var c=P(2);return A(c.saveAccessPolicy())});Q(2," Update ");J();I(3,"button",58);M("click",function(){z(b);
var c=P(2);return A(c.revertAccessPolicyChanges())});Q(4," Revert changes ");J()()}a&2&&(a=P(2),C(),F("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},RIb=function(a){if(a&1){var b=x();I(0,"div",11)(1,"h2");Q(2);J();D(3,rIb,2,0,"span",12);I(4,"a",13);Q(5," (View Dashboard)");J()();I(6,"mat-tab-group",14);Xg("selectedIndexChange",function(c){z(b);var d=P();Wg(d.selectedTabIndex,c)||(d.selectedTabIndex=c);return A(c)});M("selectedIndexChange",
function(c){z(b);var d=P();return A(d.tabChange(c))});I(7,"mat-tab",15)(8,"div",16);K(9,"b-error-banner",17);I(10,"div",18)(11,"label",19)(12,"span",20);Q(13,"Name");J()();I(14,"input",21,0);Xg("ngModelChange",function(c){z(b);var d=P();Wg(d.bookmarkGroupUnderEdit.name,c)||(d.bookmarkGroupUnderEdit.name=c);return A(c)});J()();I(16,"div",18)(17,"label",22)(18,"span",20);Q(19,"Description");J()();I(20,"textarea",23);Xg("ngModelChange",function(c){z(b);var d=P();Wg(d.bookmarkGroupUnderEdit.description,
c)||(d.bookmarkGroupUnderEdit.description=c);return A(c)});J()();D(21,GIb,18,6)(22,LIb,8,0,"div",24)(23,MIb,5,1,"div",25);J()();I(24,"mat-tab",26)(25,"div",16)(26,"div",18)(27,"label")(28,"span",20);Q(29,"Admins");J();I(30,"p",27);Q(31," Edit access controls, edit name and description, reorder items, add/remove items ");J()();I(32,"b-multi-user-input",28);M("usersChange",function(c){z(b);var d=P();return A(d.accessPolicyUnderEdit.admins=c)})("isValid",function(c){z(b);var d=P();return A(d.isAdminsFieldValid=
c)});J()();I(33,"div",18)(34,"label")(35,"span",20);Q(36,"View only");J();I(37,"p",27);Q(38," View the bookmark group ");J();I(39,"b-multi-user-input",29);M("usersChange",function(c){z(b);var d=P();return A(d.accessPolicyUnderEdit.readers=c)})("isValid",function(c){z(b);var d=P();return A(d.isReaderFieldValid=c)});J()()();I(40,"div",30);Q(41," See ");I(42,"a",31);Q(43,"access control documentation");J();Q(44," for an explanation of the settings. ");J();D(45,NIb,5,1,"div",25);J()()()}a&2&&(a=P(),C(2),
Ug(" Bookmark group ",a.bookmarkGroup.bookmarkGroupId,": ",a.bookmarkGroup.name," "),C(),G(a.isArchived()?3:-1),C(),F("href",xq(tq.viewDashboard.routeDeclarationPath,{id:a.bookmarkGroup.bookmarkGroupId}),of),C(2),Vg("selectedIndex",a.selectedTabIndex),C(3),F("error",a.error),C(),F("ngClass",bh(27,OIb,a.isEditDisabled())),C(4),Vg("ngModel",a.bookmarkGroupUnderEdit.name),F("disabled",a.isEditDisabled()),C(2),F("ngClass",bh(29,OIb,a.isEditDisabled())),C(4),Vg("ngModel",a.bookmarkGroupUnderEdit.description),
F("disabled",a.isEditDisabled()),C(),G(a.isAdmin?21:22),C(2),G(a.isAdmin?23:-1),C(3),F("ngClass",bh(31,OIb,a.isEditDisabled())),C(6),ng("disabled",a.isEditDisabled()),F("users",a.accessPolicyUnderEdit.admins),C(),F("ngClass",bh(33,OIb,a.isEditDisabled())),C(6),ng("disabled",a.isEditDisabled()),F("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",bh(37,PIb,bh(35,QIb,a.accessPolicyUnderEdit.admins))),C(3),F("href",oq(a.documentationLinks)+"#bookmark-groups",
of),C(3),G(a.isAdmin?45:-1))},SIb=function(a){if(a&1){var b=x();I(0,"button",9);M("click",function(){z(b);var c=P();return A(c.delete())});Q(1," Delete saved search ");J()}a&2&&(a=P(),F("disabled",a.hasUnsavedChanges()||a.isSaving()))},TIb=function(a){a&1&&(I(0,"div",8)(1,"h2"),Q(2," Saved search not found "),J()())},UIb=function(a){if(a&1){var b=x();I(0,"div",25)(1,"button",33);M("click",function(){z(b);var c=P(2);return A(c.saveMetadata())});Q(2," Update ");J();I(3,"button",34);M("click",function(){z(b);
var c=P(2);return A(c.revertMetadataChanges())});Q(4," Revert changes ");J()()}a&2&&(a=P(2),C(),F("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},VIb=function(a){if(a&1){var b=x();I(0,"div",25)(1,"button",33);M("click",function(){z(b);var c=P(2);return A(c.saveAccessPolicy())});Q(2," Update ");J();I(3,"button",34);M("click",function(){z(b);var c=P(2);return A(c.revertAccessPolicyChanges())});Q(4," Revert changes ");J()()}a&2&&(a=P(2),C(),F("disabled",!a.hasUnsavedAccessPolicyChanges()||
a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},ZIb=function(a){if(a&1){var b=x();I(0,"div",8)(1,"h2");Q(2);J();I(3,"a",10);Q(4," (View Issues)");J()();I(5,"mat-tab-group",11);Xg("selectedIndexChange",function(c){z(b);var d=P();Wg(d.selectedTabIndex,c)||(d.selectedTabIndex=c);return A(c)});M("selectedIndexChange",function(c){z(b);var d=P();return A(d.tabChange(c))});I(6,"mat-tab",12)(7,"div",13);K(8,"b-error-banner",14);I(9,"div",15)(10,"label",16)(11,"span",17);Q(12,"Name");J()();I(13,
"input",18,0);Xg("ngModelChange",function(c){z(b);var d=P();Wg(d.savedSearchUnderEdit.name,c)||(d.savedSearchUnderEdit.name=c);return A(c)});J()();I(15,"div",15)(16,"label",19)(17,"span",17);Q(18,"Description");J()();I(19,"textarea",20);Xg("ngModelChange",function(c){z(b);var d=P();Wg(d.savedSearchUnderEdit.description,c)||(d.savedSearchUnderEdit.description=c);return A(c)});Q(20,"            ");J()();I(21,"div",21)(22,"label",22)(23,"span",17);Q(24,"Query");J();I(25,"p",23);Q(26," To modify query and display preferences, run the saved search and modify its parameters ");
J();I(27,"div",24);Q(28);J()()();D(29,UIb,5,1,"div",25);J()();I(30,"mat-tab",26)(31,"div",13)(32,"div",15)(33,"label",27)(34,"span",17);Q(35,"Admins");J();I(36,"p",23);Q(37," Edit access controls, edit name and description, edit query ");J()();I(38,"b-multi-user-input",28);M("usersChange",function(c){z(b);var d=P();return A(d.accessPolicyUnderEdit.admins=c)})("isValid",function(c){z(b);var d=P();return A(d.isAdminsFieldValid=c)});J()();I(39,"div",15)(40,"label",29)(41,"span",17);Q(42,"View and execute search");
J()();I(43,"b-multi-user-input",30);M("usersChange",function(c){z(b);var d=P();return A(d.accessPolicyUnderEdit.readers=c)})("isValid",function(c){z(b);var d=P();return A(d.isReaderFieldValid=c)});J()();I(44,"div",31);Q(45," See ");I(46,"a",32);Q(47,"access control documentation");J();Q(48," for an explanation of the settings. ");J();D(49,VIb,5,1,"div",25);J()()()}a&2&&(a=P(),C(2),Ug(" Saved search ",a.savedSearch.searchId,": ",a.savedSearch.name," "),C(),F("href",a.paths.viewSavedSearch(a.savedSearch.searchId),
of),C(2),Vg("selectedIndex",a.selectedTabIndex),C(3),F("error",a.error),C(),F("ngClass",bh(26,WIb,a.isEditDisabled())),C(4),Vg("ngModel",a.savedSearchUnderEdit.name),F("disabled",a.isEditDisabled()),C(2),F("ngClass",bh(28,WIb,a.isEditDisabled())),C(4),Vg("ngModel",a.savedSearchUnderEdit.description),F("disabled",a.isEditDisabled()),C(9),R(" ",a.savedSearch.query," "),C(),G(a.isAdmin?29:-1),C(3),F("ngClass",bh(30,WIb,a.isEditDisabled())),C(6),ng("disabled",a.isEditDisabled()),F("users",a.accessPolicyUnderEdit.admins),
C(),F("ngClass",bh(32,WIb,a.isEditDisabled())),C(4),ng("disabled",a.isEditDisabled()),F("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",bh(36,XIb,bh(34,YIb,a.accessPolicyUnderEdit.admins))),C(3),F("href",oq(a.documentationLinks)+"#saved-searches",of),C(3),G(a.isAdmin?49:-1))},$Ib=function(a){a&1&&(I(0,"div",6),K(1,"b-spinner"),J())},aJb=function(a){if(a&1){var b=x();I(0,"div",35)(1,"span",36)(2,"mat-checkbox",37);M("change",function(c){z(b);
var d=P(2);return A(d.alertState.setValue(c.checked))});J()();I(3,"div")(4,"strong",38);Q(5,"SLO Notifications");J();I(6,"div",39);Q(7," When checked, admins will be notified when any component that would be automatically assigned this SLO overrides their SLO settings. ");J()()()}a&2&&(a=P(2),ng("bv2-edit-resource-readonly",a.isEditDisabled()),C(2),F("checked",a.alertState.getValue())("disabled",a.isEditDisabled()))},bJb=function(a){a&1&&(I(0,"div",20),Q(1," Action is required to keep your SLO definitions in Buganizer and BugScope in sync. "),
I(2,"a",40),Q(3," Learn more "),J()())},dJb=function(a){if(a&1){var b=x();I(0,"b-button",45);M("onAction",function(){z(b);var c=P(3);return A(cJb(c,!0))});Q(1," Archive ");J()}a&2&&(a=P(3),F("disabled",a.hasUnsavedMetadataChanges()||a.isSaving()))},eJb=function(a){if(a&1){var b=x();I(0,"b-button",46);M("onAction",function(){z(b);var c=P(3);return A(cJb(c,!1))});Q(1," Unarchive ");J()}a&2&&(a=P(3),F("disabled",a.hasUnsavedMetadataChanges()||a.isSaving()))},fJb=function(a){if(a&1){var b=x();I(0,"div",
24)(1,"b-button",41);M("onAction",function(){z(b);var d=P(2);return A(d.saveMetadata())});Q(2," Update ");J();I(3,"b-button",42);M("onAction",function(){z(b);var d=P(2);return A(d.revertMetadataChanges())});Q(4," Revert changes ");J();D(5,dJb,2,1,"b-button",43)(6,eJb,2,1,"b-button",44);J()}if(a&2){P();a=L(9);var c=P();C();F("disabled",!c.hasUnsavedMetadataChanges()||c.isSaving()||!c.elementPickerIsValid||!!a.pending||!!a.invalid);C(2);F("disabled",!c.hasUnsavedMetadataChanges()||c.isSaving()||!!a.pending||
!!a.invalid);C(2);G(c.slo&&!c.slo.isArchived?5:-1);C();G(c.slo&&c.slo.isArchived?6:-1)}},gJb=function(a){if(a&1){var b=x();I(0,"div",23)(1,"b-button",47);M("onAction",function(){z(b);var c=P(2);return A(c.saveAccessPolicy())});Q(2," Update ");J();I(3,"b-button",48);M("onAction",function(){z(b);var c=P(2);return A(c.revertAccessPolicyChanges())});Q(4," Revert changes ");J()()}a&2&&(a=P(2),C(),F("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||a.isInvalid()))},hJb=function(a){if(a&1){var b=
x();I(0,"div")(1,"div",7)(2,"h2")(3,"span",8);Q(4);J()()();I(5,"mat-tab-group",9);Xg("selectedIndexChange",function(c){z(b);var d=P();Wg(d.selectedTabIndex,c)||(d.selectedTabIndex=c);return A(c)});M("selectedIndexChange",function(c){z(b);var d=P();return A(d.tabChange(c))});I(6,"mat-tab",10)(7,"div",11)(8,"form",12,0)(10,"div",13)(11,"label",14)(12,"span",15);Q(13,"Name");J()();I(14,"input",16);M("ngModelChange",function(c){z(b);var d=P();return A(d.editableCopy.name=c)});J()();I(15,"div",13)(16,
"label",17)(17,"span",15);Q(18,"Description");J()();I(19,"textarea",18);M("ngModelChange",function(c){z(b);var d=P();return A(d.editableCopy.description=c)});Q(20,"                ");J()();D(21,aJb,8,4,"div",19);J();D(22,bJb,4,0,"div",20);I(23,"div",13)(24,"slo-elements-picker",21);M("onCollectionUpdate",function(c){z(b);var d=P();return A(d.updateCollection(c))})("onValidation",function(c){z(b);var d=P();return A(d.elementPickerIsValid=c)});J()();I(25,"div",22)(26,"div",23)(27,"div",24)(28,"b-button",
25);M("onAction",function(){z(b);var c=P();return A(c.showUpdateHistoryModal())});Q(29," View history ");J()()();I(30,"div",23);D(31,fJb,7,4,"div",24);J()()()();I(32,"mat-tab",26)(33,"div",27)(34,"form",28)(35,"div",13)(36,"label",29)(37,"span",15);Q(38,"Admins");J();I(39,"p",30);Q(40," Edit name, description and metrics ");J()();I(41,"b-multi-user-input",31);M("usersChange",function(c){z(b);var d=P();return A(d.editableAccessPolicy.admins=c)})("isValid",function(c){z(b);var d=P();return A(d.validity.admins=
c)});J()();I(42,"div",13)(43,"label",32)(44,"span",15);Q(45,"Readers");J();I(46,"p",30);Q(47," View the SLO definition (this is not required to see an issue's SLO status) ");J()();I(48,"b-multi-user-input",33);M("usersChange",function(c){z(b);var d=P();return A(d.editableAccessPolicy.readers=c)})("isValid",function(c){z(b);var d=P();return A(d.validity.readers=c)});J()()();I(49,"div",13);Q(50," See ");I(51,"a",34);Q(52,"access control documentation");J();Q(53," for an explanation of the settings. ");
J();D(54,gJb,5,1,"div",23);J()()()()}a&2&&(a=P(),C(4),Ug(" SLO ",a.slo.sloId,": ",a.slo.name," "),C(),Vg("selectedIndex",a.selectedTabIndex),C(5),ng("bv2-edit-resource-readonly",a.isEditDisabled()),C(4),F("required",!0)("ngModel",a.editableCopy.name)("disabled",a.isEditDisabled()),C(),ng("bv2-edit-resource-readonly",a.isEditDisabled()),C(4),F("ngModel",a.editableCopy.description)("disabled",a.isEditDisabled()),C(2),G(a.isImportedFromBugScope||a.alertState.getSavedValue()?21:-1),C(),G(a.isUneditedFromBugScope&&
a.isAdmin()?22:-1),C(),ng("bv2-edit-resource-readonly",a.isEditDisabled()),C(),F("isDisabled",a.isEditDisabled())("collection",a.editableCopy.elements),C(7),G(a.isAdmin()?31:-1),C(4),ng("bv2-edit-resource-readonly",a.isEditDisabled()),C(6),F("users",a.editableAccessPolicy.admins),eg("disabled",a.isEditDisabled()?!0:null),C(),ng("bv2-edit-resource-readonly",a.isEditDisabled()),C(6),F("users",a.editableAccessPolicy.readers)("includeAliases",!0)("includeViewAliases",!0),eg("disabled",a.isEditDisabled()?
!0:null),C(3),Fg("href","",oq(a.documentationLinks),"#slos",of),C(3),G(a.isAdmin()?54:-1))},iJb=function(a){if(a&1){var b=x();I(0,"div",2);K(1,"img",4)(2,"img",5);I(3,"p",6);Q(4," This issue is not blocking anything \u00a0\ud83e\udd73 ");J();I(5,"p",7);Q(6,' If this issue blocked another, it would mean that it should be resolved first, and it would show up in the "Blockers" list for that issue. ');I(7,"a",8);Q(8,"Learn more");J()();I(9,"button",9);M("click",function(){z(b);var c=P(2);return A(c.onClickAdd())});
Q(10," Add ");J()()}a&2&&(a=P(2),C(),F("src",a.TEA_LIGHT,of),C(),F("src",a.TEA_DARK,of))},jJb=function(a,b){a&1&&K(0,"b-issues-table",13);a&2&&(a=P(6),F("issueIds",b)("menuItemFactory",a.getMenuItems))},kJb=function(a){a&1&&(D(0,jJb,1,2,"b-issues-table",13),S(1,"async"));if(a&2){var b;a=P(5);G((b=U(1,1,a.blockedAndOpenIds$))?0:-1,b)}},lJb=function(a){a&1&&(I(0,"p",12),Q(1,"Not blocking any open issues \ud83e\udd73"),J())},mJb=function(a,b){a&1&&(I(0,"h4",11),Q(1),J(),D(2,kJb,2,3)(3,lJb,2,0,"p",12));
a&2&&(C(),R("Open (",b.length,")"),C(),G(b.length>0?2:3))},nJb=function(a,b){a&1&&K(0,"b-issues-table",13);a&2&&(a=P(6),F("issueIds",b)("menuItemFactory",a.getMenuItems))},oJb=function(a){a&1&&(I(0,"h4",11),Q(1),J(),D(2,nJb,1,2,"b-issues-table",13),S(3,"async"));if(a&2){var b;a=P();var c=P(4);C();R("Closed (",a.length,")");C();G((b=U(3,2,c.blockedAndClosedIds$))?2:-1,b)}},pJb=function(a,b){a&1&&D(0,oJb,4,4);a&2&&G(b.length>0?0:-1)},qJb=function(a){a&1&&(D(0,mJb,4,2),S(1,"async"),D(2,pJb,1,1),S(3,
"async"));if(a&2){var b,c;a=P(3);G((b=U(1,2,a.blockedAndOpen$))?0:-1,b);C(2);G((c=U(3,4,a.blockedAndClosed$))?2:-1,c)}},rJb=function(a,b){a&1&&(I(0,"li")(1,"a",15)(2,"span",7),Q(3),J(),I(4,"aside",16),K(5,"button",17),J()()());a&2&&(a=b.$implicit,C(),gg("aria-label","Issue ",a,""),Fg("routerLink","/issues/",a,""),C(2),R("b/",a,""))},sJb=function(a){a&1&&(I(0,"h4",11),Q(1,"Loading..."),J(),I(2,"ol",14),tg(3,rJb,6,5,"li",null,sg),J());a&2&&(a=P(2),C(3),ug(a))},tJb=function(a,b){a&1&&(I(0,"a",10),Q(1,
" View as search results "),J());a&2&&F("routerLink",b.path)("queryParams",b.params)},uJb=function(a){if(a&1){var b=x();D(0,qJb,4,6);S(1,"async");D(2,sJb,5,0);I(3,"aside",3)(4,"button",9);M("click",function(){z(b);var d=P(2);return A(d.onClickAdd())});Q(5," Add ");J();D(6,tJb,2,2,"a",10);S(7,"async");J()}if(a&2){var c;a=P(2);G(U(1,2,a.issuesBeingBlocked$)?0:2);C(6);G((c=U(7,4,a.searchUrl$))?6:-1,c)}},vJb=function(a,b){a&1&&D(0,iJb,11,2,"div",2)(1,uJb,8,6,"aside",3);a&2&&G(b.length===0?0:1)},wJb=function(a){a&
1&&(I(0,"aside",1),K(1,"b-spinner"),J())},zJb=function(a){return xJb(yJb(),a.paths.map(function(b){var c=new Ru;return gk(c,1,b)}))},AJb=function(a){return{content:new Map(a.getResponsesList().map(function(b){return[Gh(b.getReadonlySourceFileId(),1),cva(b.getContent())]})),revisionNumber:new Map(a.getResponsesList().map(function(b){return[Gh(b.getReadonlySourceFileId(),1),b.getReadonlySourceFileId().getRevisionNumber()]}))}},BJb=function(a){var b,c,d,e,f,h;return{changeNumber:(f=(b=a.getResponse())==
null?void 0:(c=b.getChangeId())==null?void 0:c.getChangeNumber_asLegacyNumberOrString())!=null?f:0,workspaceName:(h=(d=a.getResponse())==null?void 0:(e=d.getWorkspaceId())==null?void 0:Gh(e,1))!=null?h:""}},CJb=function(a){switch(a){case 1:return 2305;case 2:return 258;case 3:return 2307;case 4:return 2308;case 5:return 517;case 6:return 2566;case 8:return 3080;case 7:return 1031;case 9:return 3081;case 10:return 2570;default:return 0}},EJb=function(a){var b=new Su,c=a.sourceFile,d=new DJb,e=d.setSourceFileId;
var f=c.sourceFileId;var h=new Ru;f=gk(h,1,f.depotPath).setRevisionNumber(f.revisionNumber);d=e.call(d,f);c.fileOperation&&d.setOperation(CJb(c.fileOperation));return X(b,DJb,1,d).setContent(a.content)},FJb=function(a){a=a.getReadonlyResponse();return{outputs:nj(a,Tu,1,Wi()).map(function(b){return b.getContent()}),outputBlocked:Fj(a,2)}},GJb=function(a){a=encodeURIComponent(a).replace(/%([0-9A-F]{2})/g,function(b,c){return String.fromCharCode(Number("0x"+c))});return btoa(a)},HJb=function(a){return a.filter(function(b){return b.indexOf("+")!==
0}).map(function(b){return b.substring(1)})},IJb=function(a){return a.filter(function(b){return b.indexOf("-")!==0}).map(function(b){return b.substring(1)})},JJb=function(a,b,c){return HJb(c).every(function(d,e){return d.trim()===a[b+e].trim()})},KJb=function(a,b,c){for(var d=[],e=HJb(b).length,f=a.length-e;c<=f;c++)JJb(a,c,b)&&d.push(c);if(d.length===0)throw Error("hg");a=d[0];return{startRange:a,endRange:a+e}},LJb=function(a,b){if(b.length===0)return"";a=a.split("\n");var c=b.split(/\r?\n?@@\r?\n/).filter(function(l){return l.length>
0});b=[];var d=0,e=0,f=0;c=k(c);for(e=c.next();!e.done;e=c.next()){var h=e.value;d=KJb(a,h.split("\n"),d);e=d.startRange;d=f=d.endRange;h=IJb(h.split("\n"));b.push([e,f,h])}d=e=c=0;b=k(b);for(e=b.next();!e.done;e=b.next())e=k(e.value),f=e.next().value,c=e.next().value,e=e.next().value,f+=d,c+=d,a.splice.apply(a,[f,c-f].concat(w(e))),c-=f,e=e.length-c,d+=e;return a.join("\n")},MJb=function(a,b){a&1&&(I(0,"div",2),Q(1),J());a&2&&(a=b.$implicit,ng("remove",a.indexOf("-")==0)("add",a.indexOf("+")==0),
C(),R(" ",a[0]=="-"||a[0]=="+"?a.substr(1):a," "))},NJb=function(a){if(a&1){var b=x();I(0,"div",1);Q(1);J();I(2,"button",2);M("click",function(){z(b);var c=P();return A(c.restart())});Q(3," Restart ");J()}a&2&&(a=P(),C(),R(" ",a.error," "))},OJb=function(a,b){a&1&&K(0,"change-block",4);a&2&&F("lines",b.$implicit.lines)},RJb=function(a){if(a&1){var b=x();I(0,"div",3);Q(1," Suggested code change: ");J();tg(2,OJb,1,1,"change-block",4,sg);I(4,"div",3);Q(5," Suggested changelist description: ");J();K(6,
"change-block",5);I(7,"button",6);M("click",function(){z(b);var c=P();return A(PJb(c,c.outputData))});Q(8," Patch Changelist into new workspace ");J()}a&2&&(a=P(),C(2),ug(a.outputData.diffBlocks),C(4),F("lines",bh(1,QJb,a.outputData.description)))},SJb=function(a){a&1&&(I(0,"div",0),K(1,"img",7),I(2,"i"),Q(3,"Analyzing issue using LLM"),J()())},TJb=function(a){if(a&1){var b=x();I(0,"b-bug2code-file-path-input",8);M("chosenFilePath",function(c){z(b);var d=P();return A(d.updateFilePath(c))});J()}},
UJb=function(a){return a&&a.toString!==Object.prototype.toString?a.toString():a!=null&&a.message?a.message:"Unknown Error"},VJb=function(a){a&1&&K(0,"mat-icon",3)},WJb=function(a){a&1&&K(0,"img",4);a&2&&(a=P().$implicit,F("src",a.iconUrl,of))},XJb=function(a,b){a&1&&(I(0,"div",2),D(1,VJb,1,0,"mat-icon",3)(2,WJb,1,1,"img",4),I(3,"a",5),Q(4),J()());a&2&&(a=b.$implicit,C(),G(a.isExternalDocument?1:2),C(2),F("href",a.url,of),C(),R(" ",a.citationTitle," "))},YJb=function(a){a&1&&(I(0,"div",1),Q(1,"Sources"),
J(),tg(2,XJb,5,3,"div",2,sg));a&2&&(a=P(),C(2),ug(a))},ZJb=function(a,b){a&1&&D(0,YJb,4,0);a&2&&G(b.length>0?0:-1)},$Jb=function(a,b){a&1&&(K(0,"b-markdown-format-presenter",0),D(1,ZJb,1,1),S(2,"async"));if(a&2){var c;a=P();F("content",b);C();G((c=U(2,2,a.citations$))?1:-1,c)}},bKb=function(a){a&1&&(I(0,"p",4),Q(1),J(),xg(2,5));if(a&2){a=P();var b=P(),c=L(3);C();Tg(b.sectionTitle);C();F("ngTemplateOutletContext",bh(3,aKb,a))("ngTemplateOutlet",c)}},cKb=function(a,b){a&1&&D(0,bKb,3,5);a&2&&G(b.length>
0?0:-1)},dKb=function(a){a&1&&K(0,"b-issue-card",11,2);if(a&2){a=L(1);var b=P(3).$implicit;F("onedevIsHovercardReady",a.init)("issueId",b.issue.issueId)}},eKb=function(a){a&1&&K(0,"b-changelist-card",16,2);if(a&2){a=L(1);var b=P(2).$implicit,c=P(5);F("onedevIsHovercardReady",a.init)("changelistId",c.Number(b))}},fKb=function(a){if(a&1){var b=x();I(0,"div",12);K(1,"mat-icon",13);I(2,"a",14);M("onedevHovercardShown",function(){z(b);var h=P(6);return A(h.trackHover(h.changelistAnalyticsLabel))})("click",
function(){z(b);var h=P(6);return A(h.trackClick(h.changelistAnalyticsLabel))});Q(3);J();I(4,"onedev-hovercard",null,3);D(6,eKb,2,2,"b-changelist-card",15);J()()}if(a&2){a=L(5);var c=P(),d=c.$implicit;c=c.$index;var e=P(3).$implicit,f=P(2);C(2);Fg("href","https://critique.corp.google.com/cl/",d,"",of);F("onedevHovercardTrigger",a)("onedevHovercardConfig",f.hovercardConfig);C();R(" ",e.changelists[c].firstInterestingLine," ")}},gKb=function(a,b){a&1&&D(0,fKb,7,5,"div",12);a&2&&(a=b.$index,b=P(3).$implicit,
G(b.changelists[a].isInteresting?0:-1))},hKb=function(a){if(a&1){var b=x();I(0,"div",6)(1,"div",7);K(2,"img",8);I(3,"a",9);M("onedevHovercardShown",function(){z(b);var f=P(4);return A(f.trackHover(f.issueAnalyticsLabel))})("click",function(){z(b);var f=P(4);return A(f.trackClick(f.issueAnalyticsLabel))});Q(4);J();I(5,"onedev-hovercard",null,1);D(7,dKb,2,2,"b-issue-card",10);J()();tg(8,gKb,1,1,null,null,rg);J()}if(a&2){a=L(6);var c=P(),d=P().$implicit,e=P(2);C(2);F("src",e.BUGANIZER_LOGO_URL,of);C();
Fg("href","/issues/",d.issue.issueId,"",of);F("onedevHovercardTrigger",a)("onedevHovercardConfig",e.hovercardConfig);C();R(" ",c.title," ");C(4);ug(d.issue.snapshot[0].changelist.slice(0,3))}},iKb=function(a){a&1&&D(0,hKb,10,6,"div",6);a&2&&(a=P().$implicit,G(a.changelists&&a.changelists.length>0?0:-1))},jKb=function(a,b){a&1&&D(0,iKb,1,1);if(a&2){var c;a=b.$implicit;G((c=a.issue.snapshot&&a.issue.snapshot[0])?0:-1,c)}},lKb=function(a,b){a&1&&tg(0,jKb,1,1,null,null,kKb);a&2&&ug(b.issuesAndChangelists)},
nKb=function(a){a&1&&(I(0,"p",4),Q(1),J(),xg(2,5));if(a&2){a=P();var b=P(),c=L(3);C();Tg(b.sectionTitle);C();F("ngTemplateOutletContext",bh(3,mKb,a))("ngTemplateOutlet",c)}},oKb=function(a,b){a&1&&D(0,nKb,3,5);a&2&&G(b.length>0?0:-1)},pKb=function(a){a&1&&K(0,"b-issue-card",11,2);if(a&2){a=L(1);var b=P(3).$implicit;F("onedevIsHovercardReady",a.init)("issueId",b.issue.issueId)}},qKb=function(a){a&1&&K(0,"b-changelist-card",16,2);if(a&2){a=L(1);var b=P(2).$implicit,c=P(5);F("onedevIsHovercardReady",
a.init)("changelistId",c.Number(b))}},rKb=function(a){if(a&1){var b=x();I(0,"div",12);K(1,"mat-icon",13);I(2,"a",14);M("onedevHovercardShown",function(){z(b);var h=P(6);return A(h.trackHover(h.changelistAnalyticsLabel))})("click",function(){z(b);var h=P(6);return A(h.trackClick(h.changelistAnalyticsLabel))});Q(3);J();I(4,"onedev-hovercard",null,3);D(6,qKb,2,2,"b-changelist-card",15);J()()}if(a&2){a=L(5);var c=P(),d=c.$implicit;c=c.$index;var e=P(3).$implicit,f=P(2);C(2);Fg("href","https://critique.corp.google.com/cl/",
d,"",of);F("onedevHovercardTrigger",a)("onedevHovercardConfig",f.hovercardConfig);C();R(" ",e.changelists[c].firstInterestingLine," ")}},sKb=function(a,b){a&1&&D(0,rKb,7,5,"div",12);a&2&&(a=b.$index,b=P(3).$implicit,G(b.changelists[a].isInteresting?0:-1))},tKb=function(a){if(a&1){var b=x();I(0,"div",6)(1,"div",7);K(2,"img",8);I(3,"a",9);M("onedevHovercardShown",function(){z(b);var f=P(4);return A(f.trackHover(f.issueAnalyticsLabel))})("click",function(){z(b);var f=P(4);return A(f.trackClick(f.issueAnalyticsLabel))});
Q(4);J();I(5,"onedev-hovercard",null,1);D(7,pKb,2,2,"b-issue-card",10);J()();tg(8,sKb,1,1,null,null,rg);J()}if(a&2){a=L(6);var c=P(),d=P().$implicit,e=P(2);C(2);F("src",e.BUGANIZER_LOGO_URL,of);C();Fg("href","/issues/",d.issue.issueId,"",of);F("onedevHovercardTrigger",a)("onedevHovercardConfig",e.hovercardConfig);C();R(" ",c.title," ");C(4);ug(d.issue.snapshot[0].changelist.slice(0,3))}},uKb=function(a){a&1&&D(0,tKb,10,6,"div",6);a&2&&(a=P().$implicit,G(a.changelists&&a.changelists.length>0?0:-1))},
vKb=function(a,b){a&1&&D(0,uKb,1,1);if(a&2){var c;a=b.$implicit;G((c=a.issue.snapshot&&a.issue.snapshot[0])?0:-1,c)}},xKb=function(a,b){a&1&&tg(0,vKb,1,1,null,null,wKb);a&2&&ug(b.issuesAndChangelists)},yKb=function(a){a&1&&K(0,"mat-icon",8)},zKb=function(a){a&1&&K(0,"mat-icon",9)},AKb=function(a){if(a&1){var b=x();I(0,"b-callout",17)(1,"b-callout-body");Q(2," Feature only visible for some components. Join group to see it on all issues with stack traces. ");J();I(3,"b-callout-actions")(4,"button",
18);M("click",function(){z(b);P(3).hasDismissedBanner=!0;Ek("isHMFAllComponentsOptInBannerDismissed")(!0);return A()});Q(5,"Dismiss");J();I(6,"button",19);M("click",function(){z(b);P(3).domSafe.openInNewTab("https://groups.google.com/a/google.com/g/help-me-fix-opt-in-all-components/members");return A()});Q(7,"Join");J()()()}},BKb=function(a){a&1&&D(0,AKb,8,0,"b-callout",17);a&2&&(a=P(2),G(a.isEnabledOnAllComponents||a.hasDismissedBanner?-1:0))},CKb=function(a){a&1&&(I(0,"span",15),K(1,"b-spinner"),
Q(2," Analyzing the issue"),J())},EKb=function(a){if(a&1){var b=x();I(0,"llm-response",20);M("dataReady",function(){z(b);var c=P(2);return A(DKb(c))});J()}},FKb=function(a,b){a&1&&K(0,"b-bug2code-sidebar",21);a&2&&F("issueId",b)},GKb=function(a){a&1&&(D(0,FKb,1,1,"b-bug2code-sidebar",21),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.issueId$))?0:-1,b)}},HKb=function(a){a&1&&(I(0,"div",16),S(1,"async"),K(2,"related-fixed-issues"),J());a&2&&(a=P(2),F("hidden",!U(1,1,a.isLlmDataReady$)))},IKb=function(a){a&
1&&(I(0,"div",16),S(1,"async"),K(2,"similar-fixed-issues"),J());a&2&&(a=P(2),F("hidden",!U(1,1,a.isLlmDataReady$)))},JKb=function(a){a&1&&(I(0,"div",29),Q(1," Want to provide more feedback? "),I(2,"a",32),Q(3,"Share your thoughts"),J()())},KKb=function(a){a&1&&(I(0,"div",33),Q(1," Enjoying this feature? Join "),I(2,"a",34),Q(3,"this group"),J(),Q(4," to see it on all issues with exception stack traces! "),J());a&2&&(a=P(4),C(2),F("href",a.allComponentsOptInLink,of))},LKb=function(a){a&1&&D(0,KKb,
5,1,"div",33);a&2&&(a=P(3),G(!a.isEnabledOnAllComponents&&a.hasDismissedBanner?0:-1))},MKb=function(a){if(a&1){var b=x();I(0,"div",22)(1,"div",23)(2,"span");Q(3);J();I(4,"div",24)(5,"button",25);M("click",function(){z(b);var d=P(2),e=Xo(d.helpMeFixService.currentConfig$);d.votedThumbsUp=!0;d.analytics.trackEvent("helpMeFix","click","thumbsUp-"+(e==null?void 0:e.issueCategory),Number(Xo(d.issueId$)));return A()});K(6,"mat-icon",26);J();I(7,"button",27);M("click",function(){z(b);var d=P(2),e=Xo(d.helpMeFixService.currentConfig$);
d.votedThumbsDown=!0;d.analytics.trackEvent("helpMeFix","click","thumbsDown-"+(e==null?void 0:e.issueCategory),Number(Xo(d.issueId$)));return A()});K(8,"mat-icon",28);J()()();D(9,JKb,4,0,"div",29);J();I(10,"div",30)(11,"div");Q(12," AI may generate code in the response. Please review ");I(13,"a",31);Q(14," go/code-ai-policy ");J();Q(15," before using it. ");J();D(16,LKb,1,1);J()}if(a&2){a=P();var c=P();C(3);R(" ",c.votedThumbsUp||c.votedThumbsDown?"Thanks for the feedback!":"Was this helpful?"," ");
C(2);ng("voted",c.votedThumbsUp);F("disabled",c.votedThumbsUp||c.votedThumbsDown);C(2);ng("voted",c.votedThumbsDown);F("disabled",c.votedThumbsUp||c.votedThumbsDown);C(2);G(c.votedThumbsUp||c.votedThumbsDown?9:-1);C(7);G(a.issueCategory===c.IssueCategory.EXCEPTION?16:-1)}},NKb=function(a,b){a&1&&(I(0,"div",12),D(1,BKb,1,1),I(2,"div",14),D(3,CKb,3,0,"span",15),S(4,"async"),D(5,EKb,1,0,"llm-response")(6,GKb,2,3),S(7,"async"),J(),D(8,HKb,3,3,"div",16)(9,IKb,3,3,"div",16)(10,MKb,17,9),S(11,"async"),J());
a&2&&(a=P(),C(),G(b.issueCategory===a.IssueCategory.EXCEPTION?1:-1),C(2),G(!U(4,7,a.isLlmDataReady$)&&b.displayedModules.includes(a.DisplayModule.LOADING_AND_FOOTER)?3:-1),C(2),G(b.displayedModules.includes(a.DisplayModule.LLM_RESPONSE)?5:-1),C(),G(b.displayedModules.includes(a.DisplayModule.BUG_2_CODE)&&U(7,9,a.isHelpMeFixSidebarOpen$)?6:-1),C(2),G(b.displayedModules.includes(a.DisplayModule.RELATED_FIXED_ISSUES)?8:-1),C(),G(b.displayedModules.includes(a.DisplayModule.SIMILAR_FIXED_ISSUES)?9:-1),
C(),G(U(11,11,a.isLlmDataReady$)&&b.displayedModules.includes(a.DisplayModule.LOADING_AND_FOOTER)?10:-1))},OKb=function(a){a&1&&(I(0,"div",13),Q(1,"View an issue details to gain AI insights."),J())},PKb=function(a){a&1&&(I(0,"div",1),K(1,"mat-icon",3),I(2,"span",4),Q(3),J()());a&2&&(a=P(),C(3),R("",a.length," parent issues"))},QKb=function(a){a&1&&(I(0,"div",1),K(1,"mat-icon",5),I(2,"span",4),Q(3),J()());a&2&&(a=P(),C(3),R("Blocked by ",a.length," issues"))},RKb=function(a,b){a&1&&(I(0,"span"),Q(1),
J());a&2&&(a=P(4),qg("chippy status-",b," margin-s-left"),C(),R(" ",a.STATUS_JS_TERSE[b]," "))},SKb=function(a){a&1&&(I(0,"a",6)(1,"div",7)(2,"div",8)(3,"div",9),Q(4),J(),I(5,"div",10),Q(6),J()(),I(7,"div",8)(8,"div",11),Q(9),J(),D(10,RKb,2,4,"span",12),J()()());if(a&2){var b,c=P();a=c.$implicit;var d=c.$index;c=c.$count;var e=P(2);Fg("routerLink","/issues/",a.issueId,"");C();ng("border-bottom",d!==c-1);C(3);Tg(a.issueId);C(2);Tg(a.snapshot[0].title);C(2);F("ngClass",e.priorityClass(a.snapshot[0].priority));
C();Tg(a.snapshot[0].priority);C();G((b=a.snapshot[0].status)?10:-1,b)}},TKb=function(a,b){a&1&&D(0,SKb,11,9,"a",6);a&2&&G(b.$index<5?0:-1)},VKb=function(a){if(a&1){var b=x();I(0,"div",2)(1,"button",13);M("click",function(){z(b);var c=P(2);return A(UKb(c))});Q(2,"View all parent issues");J()()}},WKb=function(a){if(a&1){var b=x();I(0,"div",2)(1,"button",13);M("click",function(){z(b);var c=P(2),d;(d=c.hovercardInstance)==null||d.closeHovercard$.next();Vt(c.router,"/issues/"+c.currentIssueId+"/dependencies");
return A()});Q(2,"View all blockers");J()()}},YKb=function(a,b){a&1&&(I(0,"div",0),D(1,PKb,4,1,"div",1)(2,QKb,4,1,"div",1),I(3,"div"),tg(4,TKb,1,1,null,null,XKb),D(6,VKb,3,0,"div",2)(7,WKb,3,0,"div",2),J()());a&2&&(a=P(),C(),G(a.mode===a.ListIssuesHovercardMode.PARENT_ISSUES?1:-1),C(),G(a.mode===a.ListIssuesHovercardMode.BLOCKED_BY_ISSUES?2:-1),C(2),ug(b),C(2),G(b.length>5&&a.mode===a.ListIssuesHovercardMode.PARENT_ISSUES?6:-1),C(),G(b.length>5&&a.mode===a.ListIssuesHovercardMode.BLOCKED_BY_ISSUES?
7:-1))},ZKb=function(a){a&1&&K(0,"mat-icon",4)},$Kb=function(a){a&1&&(vg(0),K(1,"b-list-issues-card",6,1),wg());if(a&2){a=L(2);P();var b=L(4),c=P();C();F("onedevIsHovercardReady",a.init)("hovercardInstance",b)("currentIssueId",c.issueId)("issueIds",c.multiParentIssueIds)("mode",c.ListIssuesHovercardMode.PARENT_ISSUES)}},aLb=function(a){a&1&&(I(0,"a",3),Q(1),J(),D(2,ZKb,1,0,"mat-icon",4),I(3,"onedev-hovercard",null,0),D(5,$Kb,3,5,"ng-container",5),J());if(a&2){a=L(4);var b=P();Fg("title","",b.multiParentIssueIds.length,
" parents at this position");F("onedevHovercardTrigger",a);C();R("",b.multiParentIssueIds.length," Parents\u2026");C();G(b.multiParentIssueIds.length>1?2:-1)}},bLb=function(a,b){a&1&&(I(0,"b-issue-reference-widget",7),Q(1),J(),K(2,"mat-icon",4));if(a&2){var c=b.$implicit;a=b.$index;b=b.$count;var d=P();F("href",d.getIssueLink(c))("issueId",c);C();d.issueIdToTitle.has(c)?(c=d.issueIdToTitle.get(c),c=jGa(c)):c=String(c);Tg(c);C();ng("last",a===b-1)}},dLb=function(a,b){if(a&1){var c=x();I(0,"button",
1);S(1,"async");M("click",function(){z(c);var d=P();return A(cLb(d))});Q(2);J()}a&2&&(a=P(),F("disabled",a.disabled||a.issueFullFridge.isSaving(a.internalIssueId)||U(1,3,a.canEdit$)===!1)("title",b.isDupe?a.TOOLTIP_UNMARK_DUPE:a.TOOLTIP_MARK_DUPE),C(2),R(" ",b.isDupe?"Unmark Duplicate":"Mark as Duplicate"," "))},eLb=function(a){a&1&&xg(0)},fLb=function(a){a&1&&D(0,eLb,1,0,"ng-container",4);a&2&&(a=P(),F("ngTemplateOutlet",a.content))},gLb=function(a,b){if(a&1){var c=x();I(0,"button",13);M("click",
function(e){var f=z(c).$implicit;return A(f.action(e))});K(1,"mat-icon",14);Q(2);J()}if(a&2){var d;a=b.$implicit;F("disabled",a.disabled)("title",a.title);eg("aria-label",a.title);C();F("svgIcon",(d=a.icon)!==null&&d!==void 0?d:"");C();R(" ",a.label," ")}},hLb=function(a){if(a&1){var b=x();I(0,"button",15);M("click",function(d){z(b);var e=P(2);d.stopPropagation();d.preventDefault();var f;(f=e.helpHover)==null||f.toggle();return A()});K(1,"mat-icon",16);Q(2," Retention: ");K(3,"retention-text",17);
Q(4," \u00a0 ");K(5,"help-hover",18);J()}if(a&2){a=P();var c=L(14);C(3);F("retentionState",a.retentionState);C(2);F("content",c)}},iLb=function(a){a&1&&K(0,"retention-help-text",19);a&2&&(a=P(2),F("retentionState",a.retentionState)("modifiedTime",a.modifiedTimeMilliseconds))},jLb=function(a){a&1&&D(0,iLb,1,2,"retention-help-text",19);a&2&&(a=P(),G(a.retentionState&&a.modifiedTimeMilliseconds?0:-1))},kLb=function(a,b){if(a&1){var c=x();K(0,"b-app-vote-button",3)(1,"hotlist-picker-btn",4);I(2,"smart-dupe-btn",
5,0);M("onHotkey",function(){z(c);var e=L(3);return A(cLb(e))});J();I(4,"b-notification-menu",6);M("subscriptionChange",function(e){z(c);var f=P();return A(f.updateSubscription(e))})("showNotificationSettings",function(e){z(c);var f=P();return A(f.showNotificationSettings(e))});J();K(5,"insights-graph-menu-smart",7);I(6,"button",8);K(7,"mat-icon",9);J();I(8,"mat-menu",10,1);tg(10,gLb,3,5,"button",11,sg);D(12,hLb,6,2,"button",12);J();D(13,jLb,1,1,"ng-template",null,2,fh)}if(a&2){a=L(9);var d=P();F("issueId",
b.issueId)("voteCount",b.voteCount)("upvoted",b.voted);C();F("issueId",b.issueId);C();F("issueId",b.issueId)("hotkey",d.HOTKEYS.TOGGLE_MARK_AS_DUPLICATE);C(2);F("subscription",b.notificationSubscription)("issueId",b.issueId)("iconOnly",!0);C();F("iconOnly",!0);C();F("matMenuTriggerFor",a);C(4);ug(b.menuItems);C(2);G(d.retentionEnabled?12:-1)}},lLb=function(){},mLb=function(a){a&1&&(I(0,"output"),Q(1),S(2,"async"),J());if(a&2){a=P();var b=P();C();Ug(" ",a," of ",U(2,2,b.currentSearchResults.totalText$),
" ")}},qLb=function(a,b){if(a&1){var c=x();D(0,mLb,3,4,"output");I(1,"span",0)(2,"button",1);S(3,"async");M("onHotkey",function(){z(c);var d=P();return A(nLb(d.currentSearchResults))})("click",function(){z(c);var d=P();return A(nLb(d.currentSearchResults))});K(4,"mat-icon",2);J();I(5,"button",3);S(6,"async");M("onHotkey",function(){z(c);var d=P();return A(oLb(d.currentSearchResults))})("click",function(){z(c);var d=P();return A(oLb(d.currentSearchResults))});K(7,"mat-icon",4);J()()}a&2&&(a=P(),G(b!==
-1?0:-1),C(),F("ngClass",bh(10,pLb,b===-1)),C(),F("hotkey",a.HOTKEYS.GO_TO_PREVIOUS_ISSUE)("disabled",!U(3,6,a.currentSearchResults.hasPreviousIssue$)),C(3),F("hotkey",a.HOTKEYS.GO_TO_NEXT_ISSUE)("disabled",!U(6,8,a.currentSearchResults.hasNextIssue$)))},rLb=function(a){a&1&&K(0,"b-issue-visibility-chip",4);a&2&&(a=P(3),F("issueId",a.issueId))},sLb=function(a){a&1&&D(0,rLb,1,1,"b-issue-visibility-chip",4);a&2&&(a=P(2),G(a.hasAccessIndicator?0:-1))},tLb=function(a){a&1&&K(0,"b-component-access-level-indicator",
1);a&2&&(a=P(2),F("accessLevel",a.accessLevel))},uLb=function(a){a&1&&K(0,"b-access-limits-chip",2);a&2&&(a=P(2),F("issueId",a.issueId)("componentId",a.componentId)("accessLimitLevel",a.issueAccessLimitLevel))},vLb=function(a){a&1&&K(0,"b-retention-chip",3);a&2&&(a=P(2),F("retentionState",a.retentionState)("compactMode",!1)("modifiedTime",a.modifiedTime))},wLb=function(a){a&1&&(I(0,"div",0),D(1,sLb,1,1)(2,tLb,1,1,"b-component-access-level-indicator",1)(3,uLb,1,3,"b-access-limits-chip",2)(4,vLb,1,
3,"b-retention-chip",3),J());if(a&2){a=P();var b=P();C();G(b.enableNewVisibilityChips?1:a.isShowingPublicPartner?2:-1);C(2);G(a.isAccessLimited?3:-1);C();G(a.isShowingRetention?4:-1)}},xLb=function(a,b){a&1&&D(0,wLb,5,3,"div",0);a&2&&G(b.isShowingPublicPartner||b.isShowingRetention||b.isAccessLimited?0:-1)},yLb=function(a){a&1&&(I(0,"div",2),K(1,"mat-icon",4),Q(2),S(3,"async"),J());if(a&2){a=P();var b=L(4);F("onedevHovercardTrigger",b);C(2);R("",U(3,2,a.teamName$)," ")}},zLb=function(a){a&1&&xg(0)},
ALb=function(a){a&1&&D(0,zLb,1,0,"ng-container",20);a&2&&(P(),a=L(13),F("ngTemplateOutlet",a))},BLb=function(a){a&1&&(K(0,"b-component-breadcrumb-chip",22),S(1,"async"),I(2,"div",23),K(3,"b-issue-id-picker",24),S(4,"async"),S(5,"async"),S(6,"async"),J());a&2&&(a=P(2),F("componentId",U(1,6,a.componentId$))("issueId",a.issueId),C(3),F("issueId",a.issueId)("componentId",U(4,8,a.componentId$))("issueTitle",U(5,10,a.issueTitle$))("isExternalIssue",!!U(6,12,a.isWithinExternalComponent$)))},CLb=function(a){if(a&
1){var b=x();I(0,"b-team-chip",21);S(1,"async");S(2,"async");M("onTeamLoaded",function(){z(b);var c=P();return A(c.isTeamLoaded=!0)});J();D(3,BLb,7,14)}a&2&&(a=P(),F("componentId",U(1,3,a.componentId$))("teamId",U(2,5,a.teamId$)),C(3),G(a.isTeamLoaded?3:-1))},DLb=function(a,b){a&1&&K(0,"ancestors-breadcrumbs",27);a&2&&(a=P(3),F("ancestors",b)("issueId",a.issueId))},ELb=function(a){a&1&&(K(0,"b-component-breadcrumb-chip",25),S(1,"async"),I(2,"div",26),D(3,DLb,1,2,"ancestors-breadcrumbs",27),S(4,"async"),
K(5,"b-issue-id-picker",28),S(6,"async"),S(7,"async"),S(8,"async"),J());if(a&2){var b;a=P(2);F("componentId",U(1,8,a.componentId$))("compactMode",!0)("issueId",a.issueId);C(3);G((b=U(4,10,a.ancestors$))?3:-1,b);C(2);F("issueId",a.issueId)("componentId",U(6,12,a.componentId$))("issueTitle",U(7,14,a.issueTitle$))("isExternalIssue",!!U(8,16,a.isWithinExternalComponent$))}},FLb=function(a){if(a&1){var b=x();I(0,"b-team-chip",21);S(1,"async");S(2,"async");M("onTeamLoaded",function(){z(b);var c=P();return A(c.isTeamLoaded=
!0)});J();D(3,ELb,9,18)}a&2&&(a=P(),F("componentId",U(1,3,a.componentId$))("teamId",U(2,5,a.teamId$)),C(3),G(a.isTeamLoaded?3:-1))},GLb=function(a,b){a&1&&(I(0,"div",17),K(1,"mat-icon",29),Q(2),J());a&2&&(P(),a=L(36),F("onedevHovercardTrigger",a),C(2),R(" ",b," "))},HLb=function(a){a&1&&(vg(0),K(1,"b-list-issues-card",30,2),S(3,"async"),wg());if(a&2){a=L(2);var b=P(),c=L(36);C();F("onedevIsHovercardReady",a.init)("hovercardInstance",c)("currentIssueId",b.issueId)("issueIds",U(3,5,b.blockedByids$))("mode",
b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES)}},ILb=function(a){if(a.length!==0)return a.length===1?tq.viewIssue.makeHref(a[0]):tq.listIssues.makeHref()},JLb=function(a,b){a&1&&(I(0,"div",0),K(1,"img",1),I(2,"h3"),Q(3),J(),I(4,"a",2),S(5,"async"),Q(6),J()());a&2&&(a=P(),C(),F("src",b.branding==null?null:b.branding.logoUrl,of),C(2),R("This issue is a part of the ",b.name," tracker."),C(),F("href",U(5,4,a.trackerRedirectUrl$),of),C(2),R(" View in ",b.name," Tracker "))},KLb=function(a){a&1&&(I(0,"div")(1,
"ol")(2,"li")(3,"label"),Q(4,"Issue ID"),J(),I(5,"output"),Q(6),J()(),I(7,"li")(8,"label"),Q(9,"Type"),J(),I(10,"output"),Q(11),J()(),I(12,"li")(13,"label"),Q(14,"Status"),J(),I(15,"output"),Q(16),J()()()());a&2&&(a=P(2),C(6),Tg(a.issueId),C(5),Tg(a.issueType),C(5),Tg(a.issueStatus))},LLb=function(a){a&1&&(I(0,"div",0)(1,"div",1),K(2,"img",2),S(3,"async"),K(4,"mat-icon",3)(5,"img",2),S(6,"async"),J(),I(7,"h3",4),Q(8),S(9,"async"),J(),D(10,KLb,17,3,"div"),I(11,"div",5)(12,"a",6),S(13,"async"),Q(14,
"Continue"),J()()());a&2&&(a=P(),C(2),F("src",U(3,5,a.currentTrackerLogo$),of),C(3),F("src",U(6,7,a.trackerLogo$),of),C(3),R(" Redirecting to ",U(9,9,a.trackerName$)," "),C(2),G(a.issue!=null?10:-1),C(2),F("href",U(13,11,a.trackerRedirectUrl$),of))},MLb=function(a,b){if(a instanceof Element){var c=hj(window.sessionStorage.getItem(b));if(c!=null){a.scrollTo(0,c);var d=new ResizeObserver(function(){a.scrollTo(0,c);d.disconnect()});d.observe(a);setTimeout(function(){a.scrollTo(0,c);d.disconnect()},100)}}},
NLb=function(a,b){a&1&&(I(0,"h2",6),Q(1),J());a&2&&(C(),R("Issue ",b,""))},OLb=function(a){a&1&&xg(0,7);a&2&&(P(2),a=L(5),F("ngTemplateOutlet",a))},PLb=function(a){a&1&&xg(0,7);a&2&&(P(3),a=L(11),F("ngTemplateOutlet",a))},RLb=function(a){a&1&&xg(0,8);if(a&2){a=P(2);P(2);var b=L(9);F("ngTemplateOutlet",b)("ngTemplateOutletContext",bh(2,QLb,a.monorailRedirectUrl))}},SLb=function(a){a&1&&D(0,RLb,1,4,"ng-container",8);a&2&&(a=P(),G(a.monorailRedirectUrl?0:-1))},TLb=function(a,b){a&1&&D(0,PLb,1,1,"ng-container",
7)(1,SLb,1,1);if(a&2){var c;G((c=b.status)===403?0:c===404?1:-1)}},ULb=function(a,b){a&1&&(D(0,OLb,1,1,"ng-container",7)(1,TLb,2,1),S(2,"async"));if(a&2){var c;a=P();G(b.success?0:-1);C();G((c=U(2,2,a.mainIssueLoadError$))?1:-1,c)}},VLb=function(a){a&1&&xg(0)},WLb=function(a){a&1&&(I(0,"mat-sidenav-container",9)(1,"mat-sidenav-content"),D(2,VLb,1,0,"ng-container",10),J(),I(3,"mat-sidenav",11),S(4,"async"),K(5,"help-me-fix-sidebar"),J()());if(a&2){a=P(2);var b=L(7);C(2);F("ngTemplateOutlet",b);C();
F("autoFocus",!0)("opened",U(4,4,a.isHelpMeFixSidebarOpen$))("disableClose",!0)}},XLb=function(a){a&1&&xg(0)},YLb=function(a){a&1&&D(0,XLb,1,0,"ng-container",10);a&2&&(P(2),a=L(7),F("ngTemplateOutlet",a))},ZLb=function(a){a&1&&(D(0,WLb,6,6,"mat-sidenav-container",9),S(1,"async"),D(2,YLb,1,1,"ng-container"));a&2&&(a=P(),G(U(1,1,a.enableHelpMeFixSidebar$)?0:2))},$Lb=function(a){a&1&&(I(0,"a",22),Q(1,"Learn more"),J())},aMb=function(a){if(a&1){var b=x();I(0,"button",24);M("click",function(){var c=z(b),
d=P(4);return A(d.editIssueService.unarchive(c))});Q(1," Unarchive ");J()}},bMb=function(a){a&1&&(I(0,"b-callout",15)(1,"b-callout-body"),Q(2,"This issue has been archived. "),D(3,$Lb,2,0,"a",22),J(),I(4,"b-callout-actions"),D(5,aMb,2,0,"button",23),S(6,"async"),J()());if(a&2){var b;a=P(3);F("messageType","caution")("format","app")("iconOverride","archive_24px");C(3);G(a.activeSession.isInternalSession()?3:-1);C(2);G((b=U(6,5,a.id$))?5:-1,b)}},cMb=function(a){a&1&&(I(0,"a",25),Q(1,"Learn more"),J())},
dMb=function(a){a&1&&(I(0,"b-callout",16)(1,"b-callout-body"),Q(2," This issue is in an archived component. "),D(3,cMb,2,0,"a",25),J()());a&2&&(a=P(3),F("format","app")("iconOverride","archive_24px"),C(3),G(a.activeSession.isInternalSession()?3:-1))},eMb=function(a,b){a&1&&(Q(0," Reason: "),I(1,"code"),Q(2),J(),Q(3,". "));a&2&&(C(2),Tg(b))},fMb=function(a){a&1&&(I(0,"a",26),Q(1,"Learn more"),J())},hMb=function(a){if(a&1){var b=x();I(0,"button",28);S(1,"async");S(2,"async");M("click",function(){var d=
z(b),e=P(4);return A(gMb(e.editIssueService,d))});Q(3," Undelete ");J()}if(a&2){var c;a=P(4);F("matTooltip",(c=U(1,2,a.undeleteButtonTooltip$))!==null&&c!==void 0?c:"")("disabled",!U(2,4,a.permissions.canUndeleteIssue$))}},iMb=function(a){a&1&&(I(0,"b-callout",17)(1,"b-callout-body"),Q(2," This issue has been deleted. "),D(3,eMb,4,1),S(4,"async"),D(5,fMb,2,0,"a",26),J(),I(6,"b-callout-actions"),D(7,hMb,4,6,"button",27),S(8,"async"),J()());if(a&2){var b,c;a=P(3);C(3);G((b=(b=U(4,3,a.snapshot$))==null?
null:b.deletionReason)?3:-1,b);C(2);G(a.activeSession.isInternalSession()?5:-1);C(2);G((c=U(8,5,a.id$))?7:-1,c)}},jMb=function(a,b){a&1&&(I(0,"output",32),Q(1),J());a&2&&(C(),R(" ",b," "))},lMb=function(a,b){a&1&&(I(0,"a",31,5),Q(2),D(3,jMb,2,1,"output",32),S(4,"async"),J());if(a&2){var c;a=b.$implicit;b=L(1);F("routerLink",a.link)("active",b.isActive)("routerLinkActiveOptions",ah(7,kMb));C(2);R(" ",a.title," ");C();G((c=U(4,5,a.count$))?3:-1,c)}},mMb=function(a,b){a&1&&(I(0,"header",18),K(1,"b-tracker-banner",
29),S(2,"async"),S(3,"async"),K(4,"issue-header",21),I(5,"nav",30),tg(6,lMb,5,8,"a",31,sg),J(),K(8,"mat-tab-nav-panel",null,4),J());if(a&2){a=L(9);var c=P(3);C();F("issueId",U(2,4,c.id$))("trackerId",U(3,6,c.issueTrackerId$));C(3);F("issueId",b);C();F("tabPanel",a);C();ug(c.tabs)}},nMb=function(a,b){a&1&&K(0,"issue-metadata-sidebar",21);a&2&&F("issueId",b)},oMb=function(a){a&1&&(I(0,"div",14),S(1,"async"),D(2,bMb,7,7,"b-callout",15),S(3,"async"),D(4,dMb,4,3,"b-callout",16),S(5,"async"),D(6,iMb,9,
7,"b-callout",17),S(7,"async"),D(8,mMb,10,8,"header",18),S(9,"async"),I(10,"div",19)(11,"article",20),K(12,"router-outlet"),J(),D(13,nMb,1,1,"issue-metadata-sidebar",21),S(14,"async"),J()());if(a&2){var b,c;a=P(2);ng("issue-editor-false",!U(1,7,a.permissions.hasAclToEdit$));C(2);G(U(3,9,a.archived$)?2:-1);C(2);G(U(5,11,a.inArchivedComponent$)?4:-1);C(2);G(U(7,13,a.deleted$)?6:-1);C(2);G((b=U(9,15,a.id$))?8:-1,b);C(5);G((c=U(14,17,a.id$))?13:-1,c)}},pMb=function(a){a&1&&(I(0,"div",13),K(1,"b-tracker-redirect",
33),S(2,"async"),J());a&2&&(a=P(2),C(),F("issue",U(2,1,a.issue$)))},qMb=function(a){a&1&&(D(0,oMb,15,19,"div",12),S(1,"async"),D(2,pMb,3,3,"div",13));a&2&&(a=P(),G(U(1,1,a.showTrackerRedirect$)?2:0))},rMb=function(a,b){a&1&&(I(0,"h3"),Q(1," Redirecting to "),I(2,"a",34),Q(3),J()());a&2&&(a=b.monorailRedirectUrl,C(2),F("href",a,of),C(),R(" ",a," "))},sMb=function(a){a&1&&(K(0,"b-access-denied-metadata",35),S(1,"async"));a&2&&(a=P(2),F("issueMetadata",U(1,1,a.issueMetadata$)))},tMb=function(a){a&1&&
K(0,"b-access-denied-metadata",36)},uMb=function(a){a&1&&(I(0,"div",13),D(1,sMb,2,3,"b-access-denied-metadata",35)(2,tMb,1,0,"b-access-denied-metadata",36),J());a&2&&(a=P(),C(),G(a.activeSession.isInternalSession()?1:2))},vMb=function(a,b){a&1&&K(0,"b-issues-table",0);a&2&&(a=P(),F("issueIds",b)("menuItemFactory",a.getMenuItems)("tableColumns",a.tableColumns)("initialSort",a.initialSort))},xMb=function(a){if(a&1){var b=x();I(0,"div",2);K(1,"img",3);I(2,"p",4);Q(3," This issue has no duplicates ");
J();I(4,"p",5);Q(5," A duplicate is an issue with similar content. ");J();I(6,"p",5);Q(7,' Any issue added here will be closed as a duplicate of this one, making this the "canonical issue". ');I(8,"a",6);Q(9,"Learn more");J()();I(10,"button",7);M("click",function(){z(b);var c=P(2);return A(wMb(c))});Q(11," Add ");J()()}a&2&&(a=P(2),C(),F("src",a.ROBOT_SLEEPING,of))},yMb=function(a,b){a&1&&K(0,"b-duplicates-table",10);a&2&&(a=P(2),F("issueId",b)("duplicateIds",a))},zMb=function(a,b){a&1&&(I(0,"a",
12),Q(1," View as search results "),J());a&2&&F("routerLink",b.path)("queryParams",b.params)},AMb=function(a){if(a&1){var b=x();I(0,"h4",8);Q(1);S(2,"async");I(3,"button",9);M("click",function(){z(b);var e=P(2);return A(wMb(e))});Q(4," Add ");J()();D(5,yMb,1,2,"b-duplicates-table",10);S(6,"async");I(7,"aside",11);D(8,zMb,2,2,"a",12);S(9,"async");J()}if(a&2){var c,d;a=P(2);C();R("Duplicates ",U(2,3,a.counts.countDuplicateDisplay$)," ");C(4);G((c=U(6,5,a.id$))?5:-1,c);C(3);G((d=U(9,7,a.dupeUrl$))?8:
-1,d)}},BMb=function(a){a&1&&(D(0,xMb,12,1,"div",2),S(1,"async"),D(2,AMb,10,9));a&2&&(a=P(),G(U(1,1,a.showTable$)?2:0))},CMb=function(a){a&1&&(I(0,"aside",1),K(1,"b-spinner"),J())},DMb=function(a){a&1&&K(0,"mat-icon",2)},EMb=function(a){a&1&&K(0,"mat-icon",3)},FMb=function(a){a&1&&K(0,"mat-icon",4)},GMb=function(a){if(a&1){var b=x();I(0,"div",6)(1,"label");Q(2,"File path");J()();I(3,"div",6)(4,"input",7);M("keyup",function(c){z(b);var d=P(2).$implicit;P();d.type==="text-input"&&(d.value=c.target.value);
return A()});J()();I(5,"div",6)(6,"button",8);M("click",function(){z(b);var c=P(2).$implicit;P();if(c.type==="text-input"){var d;(d=c.callback)==null||d.call(c)}return A()});Q(7," Continue ");J()()}a&2&&(a=P(2).$implicit,C(4),F("disabled",a.state=="complete"),C(2),F("disabled",a.state=="complete"))},HMb=function(a,b){a&1&&K(0,"change-block",9);a&2&&F("lines",b.$implicit.lines)},IMb=function(a){a&1&&(Q(0),tg(1,HMb,1,1,"change-block",9,sg));if(a&2){a=P(2).$implicit;var b=P();R(" ",a.description," ");
C();ug(b.blocks(a))}},JMb=function(a){if(a&1){var b=x();I(0,"div",10);Q(1);J();I(2,"button",11);M("click",function(){z(b);var c=P(2).$implicit,d=P();return A(d.patch(c))});Q(3," Patch changelist into new workspace ");J()}a&2&&(a=P(2).$implicit,C(),R(" ",a.description," "),C(),F("disabled",a.state!=="in-progress"))},KMb=function(a){a&1&&Q(0);a&2&&(a=P(2).$implicit,R(" ",a.description," "))},LMb=function(a){a&1&&(I(0,"section"),D(1,GMb,8,2)(2,IMb,3,1)(3,JMb,4,2)(4,KMb,1,1),Q(5),J());if(a&2){var b;a=
P().$implicit;og(a.type);C();G((b=a.type)==="text-input"?1:b==="diff-preview"?2:b==="changelist-create"?3:4);C(4);R(" ",a.error," ")}},MMb=function(a,b){a&1&&(I(0,"div",0)(1,"header")(2,"div",1),D(3,DMb,1,0,"mat-icon",2)(4,EMb,1,0,"mat-icon",3)(5,FMb,1,0,"mat-icon",4),J(),I(6,"span"),Q(7),J()(),D(8,LMb,6,4,"section",5),J());if(a&2){var c;a=b.$implicit;C(3);G((c=a.state)==="error"?3:c==="complete"?4:5);C(4);Tg(a.title);C();G(a.type!=="complete"?8:-1)}},NMb=function(a){if(a&1){var b=x();I(0,"div",2);
K(1,"mat-icon",3);I(2,"div",4);xg(3,5);I(4,"div",6)(5,"button",7);M("click",function(){z(b);var c=P();return A(c.open())});Q(6," Suggest a fix for me ");J()()()()}a&2&&(P(),a=L(3),C(3),F("ngTemplateOutlet",a))},OMb=function(a){a&1&&(I(0,"div"),Q(1," AI-generated code changes may inaccurate or offensive information that doesn't represent Google's views. Please review all suggested changes. "),J())},PMb=function(a){a&1&&(I(0,"h4",8),Q(1," AI-generated code change "),I(2,"xap-bubble",9)(3,"xap-icon-trigger"),
K(4,"mat-icon",10),J(),D(5,OMb,2,0,"ng-template",null,1,fh),J(),I(7,"a",11),K(8,"mat-icon",12),J()());a&2&&(a=L(6),C(2),F("panelTemplate",a))},QMb=function(a,b){a&1&&(I(0,"span",9),Q(1," of "),I(2,"a",10),Q(3),J()());a&2&&(P(2),a=L(11),C(2),Fg("routerLink","/issues/",b,""),F("onedevHovercardTrigger",a),C(),R(" ",b," "))},RMb=function(a,b){a&1&&(I(0,"div")(1,"div",8),S(2,"async"),Q(3),J(),D(4,QMb,4,4,"span",9),S(5,"async"),J());if(a&2){var c;a=P();C();qg("chippy ",U(2,6,a.statusCssClass$),"");F("title",
a.STATUS_JS_FULL_TEXT[b]);C(2);R(" ",a.STATUS_JS_TERSE[b]," ");C();G((c=U(5,8,a.canonicalId$))?4:-1,c)}},SMb=function(a,b){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(),qg("b-chip squared issue-type-",b,""),C(),R(" ",a.issueTypeToDisplay(b)," "))},TMb=function(a,b){a&1&&K(0,"b-issue-hotlists",6);a&2&&F("issueId",b)},UMb=function(a){a&1&&(K(0,"b-issue-card",11,1),S(2,"async"));if(a&2){a=L(1);var b=P();F("onedevIsHovercardReady",a.init)("issueId",U(2,2,b.canonicalId$))}},VMb=function(a){a&1&&(I(0,"div",0),
K(1,"llm-summary"),J())},WMb=function(a,b){a&1&&K(0,"b-issue-person-card",4);a&2&&F("email",b)},XMb=function(a,b){a&1&&(I(0,"span",3),Q(1),S(2,"shortenEmail"),J(),I(3,"onedev-hovercard",null,0),D(5,WMb,1,1,"b-issue-person-card",4),J());if(a&2){var c;a=L(4);var d=P(2);F("onedevHovercardTrigger",a);C();R(" ",eh(2,3,d.userToString(b),30)," ");C(4);G((c=b.emailAddress)?5:-1,c)}},YMb=function(a,b){if(a&1){var c=x();I(0,"a",5);M("click",function(d){var e=z(c),f=P(2);return A(f.scrollCommentIntoView(d,e))});
Q(1);J()}a&2&&(a=P(2),gg("aria-label","Comment number ",b,""),F("routerLinkObj",a.getCommentNumberLink(b)),C(),R(" #",b,""))},ZMb=function(a){a&1&&(vg(0),Q(1,","),wg())},$Mb=function(a,b){a&1&&(I(0,"span",1),D(1,XMb,6,6),I(2,"span"),D(3,YMb,2,4,"a",2)(4,ZMb,2,0,"ng-container"),J()());if(a&2){var c,d;a=b.$implicit;var e=b.$index;b=b.$count;C();G((c=a.userPerformingActionUser)?1:-1,c);C(2);G((d=a.commentNumber)?3:-1,d);C();G(e!==b-1?4:-1)}},aNb=function(a,b){a&1&&(I(0,"div",2)(1,"a",3),S(2,"removePngExtension"),
K(3,"b-secure-image-widget",4),J(),K(4,"comments-info",5),J());a&2&&(a=b.$implicit,b=P(3),C(),Gg("href",U(2,5,a.src),of),C(2),F("showByDefault",!0)("src",a.srcCorp),C(),F("issueId",b.issueId)("comments",a.comments))},bNb=function(a){if(a&1){var b=x();I(0,"button",8);M("click",function(){z(b);var c=P(2),d=P(2);c=c.length;var e=Xo(d.maxImagesInOneRow$);e&&d.lastRenderedImageIndex$.next((Math.floor(c/e)+4)*e);return A()});Q(1," Load more ");J()}},cNb=function(a){if(a&1){var b=x();I(0,"button",9);M("click",
function(){z(b);var c=P(4);return A(c.goToResourcesTab())});Q(1," See all screenshots ");J()}},dNb=function(a){a&1&&D(0,bNb,2,0,"button",6)(1,cNb,2,0,"button",7);a&2&&(a=P(3),G(a.paginate?0:1))},eNb=function(a,b){a&1&&(I(0,"div",1),tg(1,aNb,5,7,"div",2,rg),S(3,"async"),J(),D(4,dNb,2,1));if(a&2){a=P();var c=P();ng("show-all-images",c.paginate);C();ug(U(3,3,c.imagesToRender$));C(3);G(a.length!==b.length?4:-1)}},fNb=function(a){a&1&&(D(0,eNb,5,5),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.imagesToRender$))?
0:-1,b)}},gNb=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0,e=(d=b.get(c.src))!=null?d:[];e.push(c.comment);b.set(c.src,e)}return Array.from(b.entries()).map(function(f){var h=k(f);f=h.next().value;h=h.next().value;return{src:f,comments:Rk(h)}})},hNb=function(a){a&1&&(I(0,"span",1),Q(1),S(2,"reverse"),J());a&2&&(a=P(),C(),Tg(U(2,1,a.leftText)))},iNb=function(a){a&1&&(I(0,"b-external-hyperlink-widget",2),Q(1),J());a&2&&(a=P(),F("href",a.redirectedHref)("originalHref",
a.originalHref),C(),Tg(a.linkText))},jNb=function(a){a&1&&(I(0,"b-issue-reference-widget",4),Q(1),J());a&2&&(a=P(2),F("href",a.redirectedHref)("issueId",a.issueId),C(),Tg(a.linkText))},kNb=function(a){a&1&&(I(0,"a",5),Q(1),J());a&2&&(a=P(2),Gg("href",a.redirectedHref,of),C(),Tg(a.linkText))},lNb=function(a){a&1&&D(0,jNb,2,3,"b-issue-reference-widget",4)(1,kNb,2,2,"a",5);a&2&&(a=P(),G(a.issueId?0:1))},mNb=function(a){a&1&&(I(0,"span",3),Q(1),J());a&2&&(a=P(),C(),Tg(a.rightText))},nNb=function(a){var b=
document.createElement("div");a&&Uc(b,a);return b},oNb=function(a){a&1&&(I(0,"td"),K(1,"b-issue-priority-display",0),J(),I(2,"td",1)(3,"span",2),Q(4),J(),K(5,"mentioned-link-with-context",3),J(),I(6,"td"),K(7,"comments-info",4),S(8,"toComments"),J());if(a&2){var b;a=P().$implicit;var c=P(3);C();F("matTooltip",a.hasViewAccess?"":"Access is denied to this issue")("issuePriority",a.priority);C(2);F("matTooltip",a.hasViewAccess?"":"Access is denied to this issue");C();R(" ",(b=a.title)!==null&&b!==void 0?
b:"--"," ");C();F("sourceComment",a.sourceComments[0].issueEvent)("relatedLink",a.relatedLinks[0]);C(2);F("issueId",c.issueId)("comments",U(8,8,a.sourceComments))}},pNb=function(a,b){a&1&&(I(0,"tr"),D(1,oNb,9,10),J());a&2&&(a=b.$implicit,C(),G(a.sourceComments&&a.relatedLinks?1:-1))},qNb=function(a){if(a&1){var b=x();I(0,"button",7);M("click",function(){z(b);var c=P(4);c.lastRenderedMentionedIssueIndex$.next(c.lastRenderedMentionedIssueIndex$.value+100);return A()});Q(1," Load more ");J()}},rNb=function(a){if(a&
1){var b=x();I(0,"button",8);M("click",function(){z(b);var c=P(4);return A(c.goToResourcesTab())});Q(1," See all mentioned issues ");J()}},sNb=function(a){a&1&&(I(0,"div"),D(1,qNb,2,0,"button",5)(2,rNb,2,0,"button",6),J());a&2&&(a=P(3),C(),G(a.paginate?1:2))},tNb=function(a,b){a&1&&(I(0,"section")(1,"table"),tg(2,pNb,2,1,"tr",null,sg),J(),D(4,sNb,3,1,"div"),J());a&2&&(a=P(),C(2),ug(a),C(2),G(b.length!==a.length?4:-1))},uNb=function(a){a&1&&(D(0,tNb,5,1,"section"),S(1,"async"));if(a&2){var b;a=P();
G((b=U(1,1,a.allMentionedIssues$))?0:-1,b)}},vNb=function(a,b){a&1&&(I(0,"div",0),K(1,"mentioned-link-with-context",1)(2,"comments-info",2),S(3,"toComments"),J());a&2&&(a=b.$implicit,b=P(3),C(),F("sourceComment",a[0].comment)("relatedLink",a[0]),C(),F("issueId",b.issueId)("comments",U(3,4,a)))},wNb=function(a){if(a&1){var b=x();I(0,"button",5);M("click",function(){z(b);var c=P(4);c.lastRenderedRelatedLinkIndex$.next(c.lastRenderedRelatedLinkIndex$.value+100);return A()});Q(1," Load more ");J()}},
xNb=function(a){if(a&1){var b=x();I(0,"button",6);M("click",function(){z(b);var c=P(4);return A(c.goToResourcesTab())});Q(1," See all related links ");J()}},yNb=function(a){a&1&&(I(0,"div"),D(1,wNb,2,0,"button",3)(2,xNb,2,0,"button",4),J());a&2&&(a=P(3),C(),G(a.paginate?1:2))},ANb=function(a,b){a&1&&(tg(0,vNb,4,6,"div",0,zNb),D(2,yNb,3,1,"div"));a&2&&(a=P(),ug(b),C(2),G(a.length!==b.length?2:-1))},BNb=function(a){a&1&&(D(0,ANb,3,1),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.linkGroupsToRender$))?
0:-1,b)}},DNb=function(a,b){var c=a.filter(function(d){return fGa(d[0])});a=a.filter(function(d){return!fGa(d[0])});return CNb([].concat(w(c),w(a)).slice(0,b),"ASCENDING")},ENb=function(a){a&1&&K(0,"mat-icon",8)},GNb=function(a){a&1&&xg(0,9);if(a&2){a=P().$implicit;P();var b=L(12);F("ngTemplateOutlet",b)("ngTemplateOutletContext",bh(2,FNb,a))}},HNb=function(){},INb=function(a){a&1&&D(0,HNb,0,0,"ng-template")},JNb=function(a){a&1&&D(0,INb,1,0,null,10);a&2&&(a=P(2).$implicit,F("ngTemplateOutlet",a.tabIconTemplate))},
KNb=function(a){a&1&&(D(0,JNb,1,1),xg(1,9));if(a&2){a=P().$implicit;P();var b=L(12);G(a.tabIconTemplate?0:-1);C();F("ngTemplateOutlet",b)("ngTemplateOutletContext",bh(3,FNb,a))}},LNb=function(a,b){if(a&1){var c=x();I(0,"button",7);S(1,"async");S(2,"async");S(3,"async");M("click",function(){var d=z(c).$implicit,e=P();d=d.key;e.internalExpandedTabs.has(d)?e.internalExpandedTabs.delete(d):e.internalExpandedTabs.add(d);e.expandedTabsChanged.emit(new Set(e.internalExpandedTabs));return A()});D(4,ENb,1,
0,"mat-icon",8);S(5,"async");D(6,GNb,1,4,"ng-container",9);S(7,"async");D(8,KNb,2,5,"ng-container",9);J()}a&2&&(a=b.$implicit,b=P(),ng("expanded",!!U(1,9,Iq(b.internalExpandedTabs,a.key))),gg("aria-controls","expandable-tabs-",a.key,"-content"),eg("aria-label",a.ariaLabel)("aria-expanded",!!U(2,11,Iq(b.internalExpandedTabs,a.key)))("aria-selected",!!U(3,13,Iq(b.internalExpandedTabs,a.key))),C(4),G(U(5,15,Iq(b.internalExpandedTabs,a.key))?4:-1),C(2),G(U(7,17,Iq(b.internalExpandedTabs,a.key))?6:8))},
NNb=function(a,b){if(a&1){var c=x();I(0,"button",11);M("click",function(){z(c);var d=P();return A(MNb(d))});Q(1);J()}a&2&&(a=P(),ng("expandable-tabs-hide-all",b.allTabsExpanded)("expandable-tabs-show-all",!b.allTabsExpanded),eg("aria-label",(b.allTabsExpanded?"Hide all":"Show all")+" "+a.ariaLabel),C(),R(" ",b.allTabsExpanded?"Hide all":"Show all"," "))},ONb=function(){},PNb=function(a){a&1&&D(0,ONb,0,0,"ng-template")},QNb=function(a){a&1&&D(0,PNb,1,0,null,10);a&2&&(a=P(3).$implicit,F("ngTemplateOutlet",
a.tabIconTemplate))},RNb=function(a){a&1&&(I(0,"h4"),D(1,QNb,1,1),xg(2,9),J());if(a&2){a=P(2).$implicit;P();var b=L(12);C();G(a.tabIconTemplate?1:-1);C();F("ngTemplateOutlet",b)("ngTemplateOutletContext",bh(3,FNb,a))}},SNb=function(a){a&1&&K(0,"span",14)},TNb=function(a){a&1&&K(0,"span",14)},UNb=function(){},VNb=function(a){a&1&&D(0,UNb,0,0,"ng-template")},WNb=function(a){a&1&&D(0,VNb,1,0,null,10);a&2&&(a=P(2).$implicit,F("ngTemplateOutlet",a.tabContentTemplate))},YNb=function(a){a&1&&(I(0,"div",
13),D(1,RNb,3,5,"h4"),S(2,"async"),D(3,SNb,1,0,"span",14)(4,TNb,1,0,"ng-template",null,1,fh)(6,WNb,1,1),J());if(a&2){var b;a=P().$implicit;var c=P();qg("expandable-tab-content ",a.key,"");Fg("id","expandable-tabs-",a.key,"-content");C();G(((b=U(2,7,c.visibleExpandedTabs$))!==null&&b!==void 0?b:ah(9,XNb)).length>1?1:3);C(5);G(a.tabContentTemplate?6:-1)}},ZNb=function(a,b){a&1&&(D(0,YNb,7,10,"div",12),S(1,"async"));a&2&&(a=b.$implicit,b=P(),G(U(1,1,Iq(b.internalExpandedTabs,a.key))?0:-1))},$Nb=function(){},
aOb=function(a){a&1&&D(0,$Nb,0,0,"ng-template")},bOb=function(a){a&1&&D(0,aOb,1,0,null,10);a&2&&(a=P().tab,F("ngTemplateOutlet",a.tabHeaderTemplate))},cOb=function(a){a&1&&Q(0);a&2&&(a=P().tab,R(" ",a.key," "))},dOb=function(a,b){a&1&&D(0,bOb,1,1)(1,cOb,1,1);a&2&&G(b.tab.tabHeaderTemplate?0:1)},eOb=function(a){a&1&&K(0,"mat-icon",10)},fOb=function(a){a&1&&(Q(0),S(1,"async"));if(a&2){var b;a=P(2);R("Screenshots (",(b=U(1,1,a.distinctImageLinksCount$))!==null&&b!==void 0?b:0,")")}},iOb=function(a,b){if(a&
1){var c=x();I(0,"inline-images-summary",12);S(1,"async");M("click",function(){z(c);var e=P(3);gOb(e.issueSummaryTracking,e.issueId,e.TabKeys.IMAGES);return A()});J()}if(a&2){var d;a=P(3);F("issueId",b)("imageLinks",(d=U(1,2,a.imageLinks$))!==null&&d!==void 0?d:ah(4,hOb))}},jOb=function(a){a&1&&(D(0,iOb,2,5,"inline-images-summary",11),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.issueId$))?0:-1,b)}},kOb=function(a){a&1&&K(0,"mat-icon",13)},lOb=function(a){a&1&&(Q(0),S(1,"async"));if(a&2){var b;
a=P(2);R("Mentioned issues (",(b=U(1,1,a.distinctIssuesCount$))!==null&&b!==void 0?b:0,")")}},mOb=function(a,b){if(a&1){var c=x();I(0,"b-mentioned-issues",15);M("click",function(){z(c);var d=P(3);gOb(d.issueSummaryTracking,d.issueId,d.TabKeys.MENTIONED_ISSUES);return A()});J()}a&2&&(a=P(3),F("issueReferences",b)("currentIssueId",a.issueId))},nOb=function(a){a&1&&(D(0,mOb,1,2,"b-mentioned-issues",14),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.issues$))?0:-1,b)}},oOb=function(a){a&1&&K(0,"mat-icon",
16)},pOb=function(a){a&1&&(Q(0),S(1,"async"));if(a&2){var b;a=P(2);R("Links (",(b=U(1,1,a.distinctOtherLinksCount$))!==null&&b!==void 0?b:0,")")}},qOb=function(a){if(a&1){var b=x();I(0,"related-links-widget",17);S(1,"async");M("click",function(){z(b);var d=P(2);gOb(d.issueSummaryTracking,d.issueId,d.TabKeys.LINKS);return A()});J()}if(a&2){var c;a=P(2);F("links",(c=U(1,2,a.otherLinks$))!==null&&c!==void 0?c:ah(4,hOb))("issueId",a.issueId)}},rOb=function(a){a&1&&K(0,"mat-icon",18)},sOb=function(a){a&
1&&Q(0,"Similar issues")},tOb=function(a,b){if(a&1){var c=x();I(0,"suggested-similar-issues",20);M("click",function(){z(c);var d=P(3);gOb(d.issueSummaryTracking,d.issueId,d.TabKeys.SIMILAR_ISSUES);return A()});J()}a&2&&(a=P(3),F("issueId",a.issueId)("similarIssueIds",b))},uOb=function(a){a&1&&(D(0,tOb,1,2,"suggested-similar-issues",19),S(1,"async"));if(a&2){var b;a=P(2);G((b=U(1,1,a.similarIssueIds$))?0:-1,b)}},wOb=function(a,b){if(a&1){var c=x();I(0,"expandable-tabs",2);M("expandedTabsChanged",function(d){var e=
z(c),f=P();return A(f.onTabExpanded$.emit({expandedTabKeys:d,allTabKeys:e}))})("contentShownChanged",function(d){z(c);var e=P(),f=e.issueSummaryTracking;e=e.issueId;for(var h=k(vOb),l=h.next();!l.done;l=h.next())l=l.value,d.has(l)?(Uu(f.issueInteractionsTracking,e,l+"-content-shown"),f.issueInteractionsTracking.getState(e).variations.delete(l+"-content-not-shown")):(Uu(f.issueInteractionsTracking,e,l+"-content-not-shown"),f.issueInteractionsTracking.getState(e).variations.delete(l+"-content-shown"));
d.size>0?(f.recordImpressionOnce(),Uu(f.issueInteractionsTracking,e,"SW-content-shown"),f.issueInteractionsTracking.getState(e).variations.delete("SW-content-not-shown")):(Uu(f.issueInteractionsTracking,e,"SW-content-not-shown"),f.issueInteractionsTracking.getState(e).variations.delete("SW-content-shown"));return A()});I(1,"expandable-tab",3);D(2,eOb,1,0,"ng-template",4)(3,fOb,2,3,"ng-template",5)(4,jOb,2,3,"ng-template",6);J();I(5,"expandable-tab",7);D(6,kOb,1,0,"ng-template",4)(7,lOb,2,3,"ng-template",
5)(8,nOb,2,3,"ng-template",6);J();I(9,"expandable-tab",8);D(10,oOb,1,0,"ng-template",4)(11,pOb,2,3,"ng-template",5)(12,qOb,2,5,"ng-template",6);J();I(13,"expandable-tab",9);D(14,rOb,1,0,"ng-template",4)(15,sOb,1,0,"ng-template",5)(16,uOb,2,3,"ng-template",6);J()()}a&2&&(a=P(),F("tabKeys",b)("expandedTabs",a.initiallyExpandedTabs),C(),F("key",a.TabKeys.IMAGES),C(4),F("key",a.TabKeys.MENTIONED_ISSUES),C(4),F("key",a.TabKeys.LINKS),C(4),F("key",a.TabKeys.SIMILAR_ISSUES))},xOb=function(a,b){a&1&&(I(0,
"li",3)(1,"div",6),K(2,"b-user-image",7),J(),I(3,"div",8),K(4,"b-user-display",9)(5,"b-formatted-date-time",10),I(6,"p",11),Q(7," Formatting: "),I(8,"code",12),Q(9),J()(),K(10,"br"),I(11,"span",13)(12,"b-person-hovercard",14),S(13,"omitObfuscatedEmail"),Q(14),S(15,"appendDomain"),J()(),Q(16),J(),I(17,"pre"),Q(18),J()());a&2&&(a=b.$implicit,b=b.$index,C(2),F("email",a.author==null?null:a.author.emailAddress),C(2),F("model",a.author),C(),F("timestamp",a.updateTime),C(4),R(" ",a.formattingMode," "),
C(3),F("email",U(13,8,a.author==null?null:a.author.emailAddress)),C(2),R(" <",U(15,10,a.author==null?null:a.author.emailAddress),"> "),C(2),R(" #",b+1," "),C(2),Tg(a.updateText))},yOb=function(a){if(a&1){var b=x();I(0,"button",9);M("click",function(){z(b);var c=P(3);return A(c.editStatusUpdate())});Q(1," Edit ");J()}},zOb=function(a){a&1&&(I(0,"header",4)(1,"h4",6),Q(2,"Status Update"),J(),I(3,"p",7),Q(4,"No update yet."),J(),D(5,yOb,2,0,"button",8),S(6,"async"),J());a&2&&(a=P(2),C(5),G(U(6,1,a.showEditButton$)?
5:-1))},BOb=function(a){if(a&1){var b=x();I(0,"button",18);M("click",function(){z(b);var c=P(4);return A(AOb(c))});Q(1," Mark as fresh ");J()}},COb=function(a){if(a&1){var b=x();I(0,"button",16);M("click",function(){z(b);var c=P(3);return A(c.editStatusUpdate())});Q(1," Edit ");J();D(2,BOb,2,0,"button",17);S(3,"async")}a&2&&(a=P(3),C(2),G(U(3,1,a.freshnessIndicator$)===a.Freshness.STALE?2:-1))},DOb=function(a){a&1&&K(0,"mat-icon",19)},EOb=function(a,b){a&1&&(D(0,DOb,1,0,"mat-icon",19),S(1,"async"),
Q(2," Updated by "),I(3,"span",20),Q(4),S(5,"shortenEmail"),J(),K(6,"b-formatted-date-time",21),I(7,"onedev-hovercard",null,0),K(9,"b-issue-person-card",22),J());if(a&2){var c,d;a=L(8);var e=P(3);G(U(1,5,e.freshnessIndicator$)===e.Freshness.FRESH?0:-1);C(3);F("onedevHovercardTrigger",a);C();R(" ",U(5,7,(c=b.author==null?null:b.author.emailAddress)!==null&&c!==void 0?c:"")," ");C(2);F("timestamp",b.updateTime);C(3);F("email",(d=b.author==null?null:b.author.emailAddress)!==null&&d!==void 0?d:"")}},
FOb=function(a,b){a&1&&K(0,"b-actions-menu",14);a&2&&F("buttonLabel","Status Update actions")("menuItems",b)},GOb=function(a,b){a&1&&(K(0,"b-note-container",23),S(1,"async"),S(2,"async"));if(a&2){var c;a=P();var d=P(3);F("issueId",a.issueId)("issueAccessLevel",U(1,4,d.accessLevel$))("note",b)("formattingMode",(c=U(2,6,d.formattingMode$))!==null&&c!==void 0?c:d.FormattingMode.PLAIN)}},HOb=function(a){if(a&1){var b=x();I(0,"button",25);M("click",function(){z(b);var c=P(4);return A(c.isCollapsed=!1)});
Q(1," Show More ");J()}},IOb=function(a){a&1&&(I(0,"div",15)(1,"div",null,1),D(3,GOb,3,8,"b-note-container",23),S(4,"async"),J(),D(5,HOb,2,0,"button",24),J());if(a&2){var b;a=P(3);C();ng("collapsed",a.isCollapsed);C(2);G((b=U(4,4,a.statusUpdateAsNote$))?3:-1,b);C(2);G(a.isCollapsed?5:-1)}},JOb=function(a){a&1&&(I(0,"div",5)(1,"header",10)(2,"div",11)(3,"h4",12),Q(4,"Status Update"),J(),D(5,COb,4,3),S(6,"async"),J(),I(7,"div",13),D(8,EOb,10,9),S(9,"async"),D(10,FOb,1,2,"b-actions-menu",14),S(11,"async"),
J()(),D(12,IOb,6,6,"div",15),S(13,"async"),J());if(a&2){var b,c,d;a=P(2);C(5);G(U(6,4,a.showEditButton$)?5:-1);C(3);G((b=U(9,6,a.statusUpdate$))?8:-1,b);C(2);G((c=U(11,8,a.menuItems$))?10:-1,c);C(2);G((d=U(13,10,a.statusUpdate$))?12:-1,d)}},LOb=function(a,b){a&1&&(I(0,"div"),S(1,"async"),K(2,"mat-icon",3),D(3,zOb,7,3,"header",4)(4,JOb,14,12,"div",5),J());a&2&&(a=P(),qg("carded margin-s-sides margin-s-bottom bg-main highlighted-left flex-kids-x ",U(1,9,a.semanticClass$),""),ng("display-none",bh(11,
KOb,a.UiState.LOADING).includes(b))("short-height",a.UiState.EMPTY===b),C(3),G(b===a.UiState.EMPTY?3:-1),C(),G(b===a.UiState.NORMAL?4:-1))},MOb=function(a){switch(a){case 1:return"noUpdate";case 2:return"hasUpdate";case 0:return"";default:return""}},NOb=function(a){a&1&&K(0,"llm-suggested-bug-fix",5);a&2&&(a=P(),F("issueId",a))},OOb=function(a,b){a&1&&(K(0,"issue-description-area",4)(1,"status-update",5),D(2,NOb,1,1,"llm-suggested-bug-fix",5),K(3,"b-issue-description",6));a&2&&(a=P(),F("id",b),C(),
F("issueId",b),C(),G(a.enableGoosePrompting||a.enableGoosePromptingSupportedIssues?2:-1),C(),F("id",b))},POb=function(a,b){a&1&&(K(0,"issue-summary-card",7,0),S(2,"async"));a&2&&(a=L(1),ng("hidden",!U(2,3,a.shouldShowSummaryCard$)),F("issueId",b))},QOb=function(a){a&1&&K(0,"issue-event-list",9);a&2&&(a=P(),F("id",a))},ROb=function(a){a&1&&K(0,"issue-event-list",9);a&2&&(a=P(),F("id",a))},SOb=function(a,b){a&1&&(I(0,"div",8),K(1,"b-event-stream-header"),D(2,QOb,1,1,"issue-event-list",9),K(3,"b-post-comment",
5),D(4,ROb,1,1,"issue-event-list",9),J());a&2&&(a=P(),ng("recent-first",a.showRecentEventsFirst),C(2),G(a.showRecentEventsFirst?-1:2),C(),F("issueId",b),C(),G(a.showRecentEventsFirst?4:-1))},TOb=function(a){a&1&&(I(0,"section")(1,"h4"),K(2,"mat-icon",1),Q(3),J(),K(4,"inline-images-summary",2)(5,"br")(6,"hr",3),J());if(a&2){a=P(2);var b=P();C(3);R(" Screenshots (",a.length,") ");C();F("issueId",b.issueId)("imageLinks",a)("paginate",!0)}},UOb=function(a){a&1&&D(0,TOb,7,4,"section");a&2&&(a=P(),G(a.length?
0:-1))},VOb=function(a){a&1&&D(0,UOb,1,1);a&2&&(a=P(2),G(a.isInternalSession?0:-1))},WOb=function(a){a&1&&(I(0,"section")(1,"h4"),K(2,"mat-icon",4),Q(3),J(),K(4,"b-mentioned-issues",5)(5,"br")(6,"hr",3),J());if(a&2){a=P();var b=P();C(3);R(" Mentioned issues (",a.length,") ");C();F("issueReferences",a)("currentIssueId",b.issueId)("paginate",!0)}},XOb=function(a,b){a&1&&D(0,WOb,7,4,"section");a&2&&G(b.length?0:-1)},YOb=function(a){a&1&&(I(0,"section")(1,"h4"),K(2,"mat-icon",6),Q(3),J(),K(4,"related-links-widget",
7),J());if(a&2){a=P();var b=P();C(3);R(" Links (",a.length,") ");C();F("links",a)("issueId",b.issueId)("paginate",!0)}},ZOb=function(a,b){a&1&&D(0,YOb,5,4,"section");a&2&&G(b.length?0:-1)},$Ob=function(a){a&1&&(D(0,VOb,1,1),S(1,"async"),D(2,XOb,1,1),S(3,"async"),D(4,ZOb,1,1),S(5,"async"));if(a&2){var b,c,d;a=P();G((b=U(1,3,a.imageLinks$))?0:-1,b);C(2);G((c=U(3,5,a.issueReferences$))?2:-1,c);C(2);G((d=U(5,7,a.otherLinks$))?4:-1,d)}},aPb=function(a,b){a&1&&K(0,"b-package-mentions-listing",3);if(a&2){a=
b.$implicit;b=P(2);var c=P(),d=P();F("issueId",c)("packageMentionSet",a)("displayPackageName",d.displayPackageNames(b))}},bPb=function(a){if(a&1){var b=x();tg(0,aPb,1,3,"b-package-mentions-listing",3,sg);I(2,"p",1)(3,"a",4);M("click",function(){z(b);var c=P(3);return A(c.trackSqueegeeClick())});Q(4,"View in Squeegee");J()()}a&2&&(a=P(),ug(a.mentions.packageMentionSet),C(3),F("href",a.link,of))},cPb=function(a){a&1&&(I(0,"div",2),K(1,"img",5),I(2,"p",6),Q(3," This issue has no TODOs "),J(),I(4,"p",
7),Q(5," Buganizer uses a separate service to look for TODOs in the codebase. It didn't find any. "),I(6,"a",8),Q(7,"Learn more"),J()()());a&2&&(a=P(3),C(),F("src",a.ROBOT_SLEEPING,of))},dPb=function(a,b){a&1&&D(0,bPb,5,1,"p",1)(1,cPb,8,1,"div",2);a&2&&G(b.mentions&&b.mentions.totalMentions>0?0:1)},ePb=function(a){a&1&&(D(0,dPb,2,1),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.codeMentionsState$))?0:-1,b)}},fPb=function(a){a&1&&K(0,"b-spinner",4);a&2&&F("large",!0)},gPb=function(a){a&1&&K(0,"b-hotlist-grid",
5);a&2&&(a=P(),F("hotlists",a.hotlists))},hPb=function(a){a&1&&(I(0,"div",6),K(1,"b-spinner"),I(2,"span"),Q(3),J()());a&2&&(a=P(),C(3),R(" Searching",a.query?" for "+a.query:"","..."))},iPb=function(a){a&1&&Q(0," No issues match your search. ")},jPb=function(a){a&1&&Q(0," Use search box to find issues. ")},lPb=function(a){a&1&&(I(0,"a",10),Q(1," Click to see all open issues"),J());a&2&&F("queryParams",ah(1,kPb))},mPb=function(a){a&1&&(I(0,"a",11),Q(1,"Learn more about searching"),J())},nPb=function(a){a&
1&&(I(0,"div",7),K(1,"img",9),D(2,iPb,1,0)(3,jPb,1,0)(4,lPb,2,2,"a",10)(5,mPb,2,0,"a",11),J());a&2&&(a=P(),F("bFocus",!0),C(),F("src",a.SPACE_EMPTY_STATE,of),C(),G(a.query?2:3),C(2),G(a.currentTracker?4:5))},pPb=function(a){if(a&1){var b=x();I(0,"div",8)(1,"b-issues-grid",12);M("init",function(c){z(b);var d=P();return A(d.resultsGrid=c)});Xg("columnsChange",function(c){z(b);var d=P();Wg(d.issueColumns,c)||(d.issueColumns=c);return A(c)});M("columnsChange",function(){z(b);P();oPb();return A()})("sortChange",
function(c){z(b);var d=P();return A(d.setSort(c.field,c.direction))})("rowClick",function(c){z(b);var d=P();return A(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){z(b);var c=P();return A(Vu(c,c.page,1))})("onPrevPage",function(){z(b);var c=P();return A(Vu(c,c.page,-1))});J()()}a&2&&(a=P(),C(),F("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex),Vg("columns",a.issueColumns),F("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},
qPb=function(a){a&1&&(I(0,"div",3)(1,"h2"),Q(2,"Manage SLOs"),J(),I(3,"p",5),Q(4,"You have admin rights for all SLOs listed below."),J()())},rPb=function(a){a&1&&K(0,"b-spinner",4);a&2&&F("large",!0)},sPb=function(a){a&1&&K(0,"b-slo-grid",6);a&2&&(a=P(2),F("slos",a.activeSlos))},tPb=function(a){a&1&&(I(0,"div",7),Q(1,"You have no Active SLOs"),J())},uPb=function(a){a&1&&K(0,"b-slo-grid",6);a&2&&(a=P(3),F("slos",a.archivedSlos))},vPb=function(a){a&1&&(I(0,"p",12),Q(1," You have no archived SLOs. "),
J())},wPb=function(a){a&1&&(I(0,"div",11),D(1,uPb,1,1,"b-slo-grid",6)(2,vPb,2,0,"p",12),J());a&2&&(a=P(2),C(),G(a.archivedSlos.length?1:2))},xPb=function(a){if(a&1){var b=x();D(0,sPb,1,1,"b-slo-grid",6)(1,tPb,2,0,"div",7);I(2,"button",8);M("click",function(){z(b);var c=P();c.areArchivedSlosExpanded=!c.areArchivedSlosExpanded;return A()});I(3,"h4",9);K(4,"mat-icon",10);Q(5);J()();D(6,wPb,3,1,"div",11)}a&2&&(a=P(),G(a.activeSlos.length?0:1),C(4),ng("rotate-180",a.areArchivedSlosExpanded),F("svgIcon",
"arrow-dropdown"),C(),R(" Archived SLOs (",a.archivedSlos.length,") "),C(),G(a.areArchivedSlosExpanded?6:-1))},yPb=function(a){a&1&&(I(0,"p"),Q(1,"Team inheritance path:"),J(),K(2,"b-team-breadcrumb",0));a&2&&(a=P(),C(2),F("teamPath",a.teamPath))},zPb=function(a){a&1&&(I(0,"p"),Q(1,"Component inheritance path:"),J(),K(2,"b-component-breadcrumb",1));a&2&&(a=P(),C(2),F("componentPathInfo",a.componentPath))},APb=function(a){var b={};a=k(a.groupMetadata);for(var c=a.next();!c.done;c=a.next())c=c.value,
b[c.groupEmail]=c;return b},DPb=function(a){return{approximateSize:Vj(a,2),groupEmail:Gh(a,1),sizeCategory:BPb[Kj(a,3,0)],permissionCategory:CPb[Kj(a,5,0)]}},FPb=function(a){a=nj(a,EPb,1,Wi());return{groupMetadata:(a!=null?a:[]).map(DPb)}},HPb=function(a,b){var c=[];if(!b||!a)return c;for(var d=k(GPb),e=d.next();!e.done;e=d.next()){e=e.value;var f=Hi(e.accessor(b)||[],e.accessor(a)||[]);f.length&&c.push({field:e.field,addedPrincipals:f})}return c},JPb=function(a,b){if(!a.appenders||!b||yi(b.appenders,
a.appenders))return!1;a=k(a.appenders||[]);for(var c=a.next();!c.done;c=a.next())if(c=c.value,IPb.has(c)&&!b.appenders.includes(c))return!0;return!1},KPb=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.sizeCategory){case "LARGE":case "HUGE":case "ENORMOUS":b.set(c.groupEmail,c)}return b},LPb=function(a,b){return a!==0&&b!==0?"Adding large and open groups to a public component":a!==0?a===1?"Adding a large group to a public component":"Adding large groups to a public component":
b===1?"Adding an open group to a public component":"Adding open groups to a public component"},MPb=function(a){if(a.size===0)return Wu;for(var b=a.size===1?vi("p",{},"The following large group is added: "):vi("p",{},"The following large groups are added: "),c=[],d=k(a.keys()),e=d.next();!e.done;e=d.next()){e=e.value;var f=a.get(e).approximateSize;c.push(vi("p",{},ui([vi("b",{},e)," has approximately ",vi("b",{},f)," Googlers."])))}return ui([b].concat(w(c)))},NPb=function(a){if(a.size===0)return Wu;
var b=a.size===1?vi("p",{},"The following open group is added: "):vi("p",{},"The following open groups are added: "),c=[];a=k(a.keys());for(var d=a.next();!d.done;d=a.next())c.push(vi("p",{},vi("b",{},d.value)));return ui([b].concat(w(c)))},OPb=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.permissionCategory==="OPEN_TO_JOIN"&&b.set(c.groupEmail,c);return b},PPb=function(a,b){var c=b.restrictedPlusReaders;return a.restrictedPlusReaders.filter(function(d){return!c.includes(d)}).filter(function(d){return d.startsWith("GROUP:")}).length>
0},QPb=function(a,b,c){a="USER:"+a;var d=c.admins.concat(c.inheritedAdmins);b=b.admins.concat(b.inheritedAdmins).filter(function(f){return!d.includes(f)});c=b.filter(function(f){return f.startsWith("GROUP:")});var e=b.filter(function(f){return f.startsWith("USER:")});return d.includes(a)||b.length===0?!1:e.includes(a)?!0:c.length?!0:!1},Xu=function(a){var b=a.split(":");a=b[0];return a==="ALIAS"?(b=b[1],{value:b,displayText:mra(b),principalType:a,detailedUserType:null}):{value:b[1],displayText:b[1],
principalType:a,detailedUserType:null}},RPb=function(a,b){a&1&&K(0,"b-contact-chip",4);a&2&&(a=b.$implicit,b=P(2),F("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},SPb=function(a,b){a&1&&(I(0,"tr",2)(1,"th",3),Q(2),J(),I(3,"td"),tg(4,RPb,1,5,"b-contact-chip",4,sg),J()());a&2&&(a=b.$implicit,C(2),Tg(a.permission),C(2),ug(a.principals))},WPb=function(a){var b="minimal";b=b===void 0?"expanded":b;a=TPb(a);
a=ora(a,function(c){c=UPb(c);return VPb(c,b)});return TPb(a)},YPb=function(a){a=TPb(a);a=ora(a,function(b){b=XPb(b);return UPb(b)});return TPb(a)},VPb=function(a,b){var c=b==="expanded"?ZPb:$Pb;return new Set([].concat(w(a)).flatMap(function(d){return[].concat(w(c.get(d)))}))},XPb=function(a){return new Set(Yu.filter(function(b){return Wqa(a,$Pb.get(b))}))},UPb=function(a){a=VPb(a,"expanded");var b=XPb(a);return new Set([].concat(w(b)).filter(function(c){return[].concat(w(aQb.get(c))).every(function(d){return!b.has(d)})}))},
TPb=function(a){var b=new Map;a=k(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;d=k(d);for(var e=d.next();!e.done;e=d.next()){e=e.value;var f=void 0;b.set(e,((f=b.get(e))!=null?f:new Set).add(c))}}return b},cQb=function(){function a(f,h){c.has(f)||c.set(f,new Set);var l=c.get(f);l.add(h);var q;h=k((q=b.get(h))!=null?q:[]);for(q=h.next();!q.done;q=h.next())q=q.value,l.has(q)||a(f,q)}var b=bQb,c=new Map,d=[].concat(w(b.values())).flatMap(function(f){return[].concat(w(f))});
d=k(new Set([].concat(w(b.keys()),w(d))));for(var e=d.next();!e.done;e=d.next())e=e.value,a(e,e);return c},dQb=function(a){var b=WPb(new Map([["componentAdmin",new Set(a.componentAdmin)],["issueAdmin",new Set(a.issueAdmin)],["issueEditor",new Set(a.editor)],["issueContributor",new Set(a.contributor)],["componentAdminOnly",new Set(a.componentAdminOnly)],["issueCreator",new Set(a.createIssuesOnly)],["issueAdminOnly",new Set(a.issueAdminOnly)],["issueEditorExisting",new Set(a.editExistingIssuesOnly)],
["issueCommenter",new Set(a.commentOnly)],["restrictedPlusViewer",new Set(a.viewRestrictedPlus)],["restrictedViewer",new Set(a.viewRestricted)],["issueViewer",new Set(a.viewer)]])),c=function(d){var e;return[].concat(w((e=b.get(d))!=null?e:[])).sort()};return{componentPermissions:{inheritedAdmins:a.inheritedComponentAdmin,admins:c("componentAdmin"),appenders:c("componentAppender")},issuesPermissions:{admins:c("issueAdmin"),editors:c("issueEditor"),appenders:c("issueAppender"),readers:c("issueReader"),
restrictedReaders:c("issueRestrictedReader"),restrictedPlusReaders:c("issueRestrictedPlusReader")}}},eQb=function(a){var b=a.componentAccessPolicy;a=a.issueAccessPolicy;return Rk([].concat(w(b?[].concat(w(b.inheritedAdmins||[]),w(b.admins||[]),w(b.appenders||[])):[]),w(a?[].concat(w(a.admins||[]),w(a.editors||[]),w(a.appenders||[]),w(a.readers||[]),w(a.restrictedReaders||[]),w(a.restrictedPlusReaders||[])):[]))).sort()},gQb=function(a){function b(e){var f;return[].concat(w((f=d.get(e))!=null?f:[])).sort()}
if(!a)return fQb;var c=a.issueAccessPolicy;a=a.componentAccessPolicy;var d=YPb(new Map([["issueAdmin",new Set(c.admins)],["issueEditor",new Set(c.editors)],["issueAppender",new Set(c.appenders)],["issueReader",new Set(c.readers)],["issueRestrictedReader",new Set(c.restrictedReaders)],["issueRestrictedPlusReader",new Set(c.restrictedPlusReaders)],["componentAdmin",new Set(a.admins)],["componentAppender",new Set(a.appenders)],["componentReader",new Set(a.readers)]]));return{componentAdmin:b("componentAdmin"),
issueAdmin:b("issueAdmin"),editor:b("issueEditor"),contributor:b("issueContributor"),componentAdminOnly:b("componentAdminOnly"),createIssuesOnly:b("issueCreator"),issueAdminOnly:b("issueAdminOnly"),editExistingIssuesOnly:b("issueEditorExisting"),commentOnly:b("issueCommenter"),viewRestrictedPlus:b("restrictedPlusViewer"),viewRestricted:b("restrictedViewer"),viewer:b("issueViewer"),inheritedComponentAdmin:a.inheritedAdmins}},hQb=function(a,b){var c;(c=!b)||(c=!(!yi([].concat(w(b.admins)).sort(),[].concat(w(a.admins)).sort())||
!yi([].concat(w(b.appenders)).sort(),[].concat(w(a.appenders)).sort())||!yi(b.implicitAccess,a.implicitAccess)));return!c},iQb=function(a,b){return b&&a?!yi([].concat(w(a.admins)).sort(),[].concat(w(b.admins)).sort())||!yi([].concat(w(a.editors)).sort(),[].concat(w(b.editors)).sort())||!yi([].concat(w(a.appenders)).sort(),[].concat(w(b.appenders)).sort())||!yi([].concat(w(a.readers)).sort(),[].concat(w(b.readers)).sort())||!yi([].concat(w(a.restrictedReaders)).sort(),[].concat(w(b.restrictedReaders)).sort())||
!yi([].concat(w(a.restrictedPlusReaders)).sort(),[].concat(w(b.restrictedPlusReaders)).sort()):!1},jQb=function(a,b){var c=Object.keys(a);c=k(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!yta(a[d],b[d]))return!0;return!1},kQb=function(a){if(a&1){var b=x();I(0,"input",15);Xg("ngModelChange",function(c){z(b);var d=P(2);Wg(d.rolesEditor.component.accessLimit.accessLevel,c)||(d.rolesEditor.component.accessLimit.accessLevel=c);return A(c)});J()}a&2&&(a=P(2),F("disabled",!a.rolesEditor.isAdmin),
Vg("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},lQb=function(a){if(a&1){var b=x();I(0,"input",16);Xg("ngModelChange",function(c){z(b);var d=P(2);Wg(d.rolesEditor.component.accessLimit.accessLevel,c)||(d.rolesEditor.component.accessLimit.accessLevel=c);return A(c)});J()}a&2&&(a=P(2),F("disabled",!a.rolesEditor.isAdmin||!a.isParentPartner()),Vg("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},mQb=function(a){if(a&1){var b=x();I(0,"input",17);Xg("ngModelChange",function(c){z(b);
var d=P(2);Wg(d.rolesEditor.component.accessLimit.accessLevel,c)||(d.rolesEditor.component.accessLimit.accessLevel=c);return A(c)});J()}a&2&&(a=P(2),F("disabled",!a.rolesEditor.isAdmin||!a.isParentPublic()),Vg("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},nQb=function(a,b){a&1&&(I(0,"p",14)(1,"a",18),Q(2," Learn more "),J()());a&2&&(C(),F("href",b,of))},oQb=function(a){a&1&&(I(0,"div",0)(1,"div",3)(2,"span",4),Q(3,"Component visibility: "),J()(),I(4,"div",5)(5,"div",6),D(6,kQb,1,2,
"input",7),I(7,"label",8),Q(8),J()(),I(9,"div",6),D(10,lQb,1,2,"input",9),I(11,"label",10),Q(12),J()(),I(13,"div",11),D(14,mQb,1,2,"input",12),I(15,"label",13),Q(16),J()()(),D(17,nQb,3,1,"p",14),J());if(a&2){var b;a=P();C(6);G(a.rolesEditor.component&&a.rolesEditor.component.accessLimit?6:-1);C(2);R(" ",ZWa(a.AccessLevelStrings.INTERNAL)," ");C(2);G(a.rolesEditor.component&&a.rolesEditor.component.accessLimit?10:-1);C(2);R(" ",ZWa(a.AccessLevelStrings.EXTERNAL_PARTNER)," ");C(2);G(a.rolesEditor.component&&
a.rolesEditor.component.accessLimit?14:-1);C(2);R(" ",ZWa(a.AccessLevelStrings.EXTERNAL_PUBLIC)," ");C();G((b=kTa(a.documentationLinks))?17:-1,b)}},tQb=function(a,b){if(a&1){var c=x();I(0,"tr")(1,"td")(2,"div",1)(3,"div",2)(4,"label",3);Q(5);J();I(6,"button",4);K(7,"mat-icon",5);J()();I(8,"b-multi-user-input",6);M("usersChange",function(e){var f=z(c).$implicit,h=P();return A(h.updateRolesMap(f.roleType,e))})("isValid",function(e){var f=z(c).$implicit,h=P();h.aclFormValidity.set(f.roleType,e);e=[].concat(w(h.aclFormValidity.values())).every(Boolean);
h.formIsValid.emit(e);return A()});J()()();I(9,"td");K(10,"b-icon",7);J();I(11,"td");K(12,"b-icon",7);J();I(13,"td");K(14,"b-icon",7);J();I(15,"td");K(16,"b-icon",7);J();I(17,"td");K(18,"b-icon",7);J();I(19,"td");K(20,"b-icon",7);J();I(21,"td");K(22,"b-icon",7);J();I(23,"td");K(24,"b-icon",7);J()()}if(a&2){var d;a=b.$implicit;b=P();C(2);ng("bv2-edit-resource-readonly",b.canEdit);C(2);F("htmlFor",a.roleType);C();Tg(a.label);C();F("matTooltip",a.tooltip);C(2);F("idForInputBox",a.roleType)("users",a.users)("ariaLabel",
a.ariaLabel)("accessLevel",b.accessLevel)("customValidators",(d=a.customValidators)!==null&&d!==void 0?d:ah(22,pQb))("includeAliases",a.includeAliases)("includeViewAliases",a.includeViewAliases)("containerChips",(a.chips==null?0:a.chips.values)&&a.chips.values.length>0?bh(26,qQb,ch(23,rQb,a.chips.displayText,a.chips.values)):ah(28,sQb));eg("disabled",b.canEdit?null:!0);C(2);F("name",b.getIconName(a,"componentAdmin"));C(2);F("name",b.getIconName(a,"createIssues"));C(2);F("name",b.getIconName(a,"issueAdmin"));
C(2);F("name",b.getIconName(a,"issueEditor"));C(2);F("name",b.getIconName(a,"issueCommenter"));C(2);F("name",b.getIconName(a,"issueReader"));C(2);F("name",b.getIconName(a,"restrictedReader"));C(2);F("name",b.getIconName(a,"restrictedPlusReader"))}},uQb=function(a){a&1&&(I(0,"div",0),K(1,"b-spinner"),J())},wQb=function(a){if(a&1){var b=x();I(0,"div")(1,"div",1)(2,"mat-tab-group",2);M("selectedIndexChange",function(c){z(b);var d=P();return A(d.tabChange(c))});I(3,"mat-tab",3)(4,"roles-view",4);M("saveRolesMap",
function(c){z(b);var d=P();vQb(d.rolesEditor,c);return A()});J()();I(5,"mat-tab",5);K(6,"permissions-view",6);J()()()()}a&2&&(a=P(),C(2),F("selectedIndex",a.selectedTabIndex),C(2),F("rolesMap",a.rolesEditor.rolesMap)("isSaving",a.isSaving())("component",a.rolesEditor.component)("rolesEditor",a.rolesEditor),C(2),F("componentReaders",a.rolesEditor.componentReaders)("componentAccessPolicy",a.rolesEditor.componentFlattenedAccessPolicy)("issueAccessPolicy",a.rolesEditor.issueDefaultFlattenedAccessPolicy)("accessLevel",
a.rolesEditor.component==null?null:a.rolesEditor.component.accessLimit==null?null:a.rolesEditor.component.accessLimit.accessLevel))},yQb=function(a){if(a&1){var b=x();I(0,"b-button",19,1);M("onAction",function(){z(b);var c=P(3);return A(xQb(c))});Q(2);J()}a&2&&(a=P(3),F("disabled",a.isSaving()),C(2),R(" ",a.archiveAction," Component "))},zQb=function(a){if(a&1){var b=x();I(0,"b-button",20);M("onAction",function(){z(b);var c=P(3);return A(c.createIssue())});Q(1," Create Issue ");J()}a&2&&(a=P(3),F("tooltip",
a.isArchived()?"Cannot create issue in archived component":"")("disabled",a.isArchived()))},AQb=function(a){a&1&&(I(0,"a",16),Q(1," Browse Components "),J(),D(2,yQb,3,2,"b-button",17)(3,zQb,2,2,"b-button",18));a&2&&(a=P(2),F("routerLinkObj",a.componentListRoute(a.component.componentId)),C(2),G(a.isAdmin()?2:-1),C(),G(a.isAnonymous?-1:3))},BQb=function(a){a&1&&(I(0,"div",15),K(1,"b-spinner"),J())},CQb=function(a){a&1&&(I(0,"span",22),Q(1," (archived) "),J())},DQb=function(a){a&1&&xg(0)},EQb=function(a){a&
1&&xg(0)},FQb=function(a){a&1&&xg(0)},GQb=function(a){a&1&&xg(0)},HQb=function(a){a&1&&xg(0)},JQb=function(a){if(a&1){var b=x();I(0,"div",52)(1,"div",44)(2,"label",73)(3,"span",41);Q(4,"Parent Component");J()();I(5,"span",46)(6,"div",74)(7,"strong");Q(8,"Careful!");J();Q(9," Moving this component can have significant consequences. If this component has custom fields that are defined on the parent or ancestor components, those fields will be lost, and issues in this component will no longer display those fields. ");
I(10,"div",48);K(11,"div",49)(12,"div",50);J()()()();I(13,"b-team-component-picker",75);M("selectedComponentChange",function(c){z(b);var d=P(4);return A(d.parentComponent=c!==null&&c!==void 0?c:null)});J()()}a&2&&(a=P(4),C(2),ng("required",a.isParentComponentRequired&&!IQb(a)),C(11),F("selectedComponent",a.parentComponent)("placeholder","Choose Component")("isRequired",a.isParentComponentRequired&&!IQb(a)))},KQb=function(a){a&1&&(I(0,"a",58),Q(1," Learn more "),J());a&2&&(P(4),F("href",iGb(),of))},
LQb=function(a){if(a&1){var b=x();I(0,"div",76)(1,"label",77)(2,"span",41);Q(3,"Retention Settings");J()();I(4,"div",78)(5,"p");Q(6,"Please choose a period of time to retain the data stored in this component.");K(7,"br");I(8,"a",79);Q(9," Learn more ");J()()();I(10,"div",80)(11,"b-retention-settings-form",81);M("modelChange",function(c){z(b);var d=P(4);return A(d.component.retentionSettings=c)})("validChange",function(c){z(b);P(4).retentionIsValid=c;return A()});J()()()}a&2&&(a=P(4),ng("bv2-edit-resource-readonly",
!a.isAdmin()),C(8),F("href",Zu(),of),C(3),F("issueRetentionDisabled",a.isAccessEditDisabled())("isExternal",a.isExternal())("componentPathInfo",a.component.componentPathInfo)("componentId",a.component.componentId)("initialModel",a.component.retentionSettings))},NQb=function(a){if(a&1){var b=x();I(0,"div",84)(1,"b-component-team-picker",85);M("modelChange",function(c){z(b);var d=P(5);d.component.team=c;d.componentTeam$.next(d.component.team);d.component.slo.inherit&&MQb(d);return A()});J()()}a&2&&
(a=P(5),C(),Gg("anchorTarget",a.hasUnsavedChanges()?"_blank":"_self"),F("isAdmin",a.isAdmin())("isTopLevel",!a.isParentComponentRequired)("parentModel",a.parentComponent==null?null:a.parentComponent.team)("useInternalLink",!0)("model",a.component.team))},OQb=function(a){a&1&&(I(0,"div",82)(1,"label",83)(2,"span",41),Q(3,"Team Configuration"),J()(),D(4,NQb,2,6,"div",84),J());a&2&&(a=P(4),ng("bv2-edit-resource-readonly",!a.isAdmin()),C(4),G(a.component.team?4:-1))},PQb=function(a){a&1&&(I(0,"a",95),
Q(1),J());if(a&2){var b;a=P();var c=P(5);F("routerLinkObj",c.getSloManagementLink(a.id));C();R(" ",(b=a.slo==null?null:a.slo.name)!==null&&b!==void 0?b:a.id," ")}},QQb=function(a){a&1&&Q(0," None ")},RQb=function(a,b){a&1&&(I(0,"div",90),Q(1," Inherited SLO Policy: "),D(2,PQb,2,2,"a",95)(3,QQb,1,0),J());a&2&&(C(2),G(b.id!=="0"?2:3))},SQb=function(a){a&1&&(I(0,"a",96),Q(1),S(2,"titlecase"),J());a&2&&(a=P(),F("routerLinkObj",a.link),C(),Ug(" (",U(2,3,a.type),") ",a.name," "))},TQb=function(a){a&1&&
Q(0," None ")},UQb=function(a){a&1&&(I(0,"div",98),K(1,"slo-inheritance-breadcrumbs",99),J());a&2&&(a=P(),C(),F("componentPath",a.componentPath)("teamPath",a.teamPath))},VQb=function(a){a&1&&D(0,UQb,2,2,"div",98);a&2&&(a=P(6),G(a.showSloInheritancePath?0:-1))},WQb=function(a,b){if(a&1){var c=x();I(0,"div",91);Q(1," Policy Source: ");D(2,SQb,3,5,"a",96)(3,TQb,1,0);I(4,"button",97);M("click",function(){z(c);var e=P(5);return A(e.showSloInheritancePath=!e.showSloInheritancePath)});Q(5);J();D(6,VQb,1,
1);S(7,"async");J()}if(a&2){var d;a=P(5);C(2);G(b.link?2:3);C(2);eg("aria-expanded",a.showSloInheritancePath);C();R(" ",a.showSloInheritancePath?"Hide":"Show"," full path ");C();G((d=U(7,4,a.policySourcePath$))?6:-1,d)}},XQb=function(a){a&1&&(Q(0," , "),I(1,"a",100),Q(2,"Team Leads"),J());a&2&&(a=P(7),C(),F("routerLinkObj",{path:"/teams/"+a.component.team.id+"/edit",fragment:a.tabsService.Tab.ACCESS}))},YQb=function(a){a&1&&(Q(0," SLO Admins: "),I(1,"a",100),Q(2,"Component Admins"),J(),D(3,XQb,3,
1,"a",100));a&2&&(a=P(6),C(),F("routerLinkObj",a.componentPermissions(a.componentId)),C(2),G(a.component.team&&a.component.team.id!=="0"?3:-1))},ZQb=function(a){a&1&&(I(0,"div",92),D(1,YQb,4,2),J());a&2&&(a=P(5),C(),G(a.enableTeamLeadSloEditingUi?1:-1))},$Qb=function(a){a&1&&(K(0,"mat-icon",101),Q(1," on "))},aRb=function(a){a&1&&(K(0,"mat-icon",102),Q(1," off "))},bRb=function(a){a&1&&(Q(0," Lock: "),D(1,$Qb,2,0),S(2,"async"),D(3,aRb,2,0));a&2&&(a=P(5),C(),G(U(2,1,a.sloLocked$)?1:3))},dRb=function(a){if(a&
1){var b=x();I(0,"div",94)(1,"mat-checkbox",103);M("change",function(c){z(b);var d=P(5);c=c.checked;d.component.slo.inherit=!c;c||MQb(d);return A()});I(2,"span");Q(3,"Override the inherited SLO policy");J()()()}a&2&&(a=P(5),C(),F("checked",!a.component.slo.inherit)("disabled",!cRb(a)))},eRb=function(a){if(a&1){var b=x();I(0,"div",104)(1,"label",110);Q(2," Justification ");J();K(3,"mat-icon",111);I(4,"textarea",112);Xg("ngModelChange",function(c){z(b);var d=P(6);Wg(d.component.slo.comment,c)||(d.component.slo.comment=
c);return A(c)});J()()}a&2&&(a=P(6),C(4),Vg("ngModel",a.component.slo.comment),F("disabled",!$u(a)))},fRb=function(a){a&1&&(I(0,"a",109),K(1,"mat-icon",113),J());a&2&&(a=P(6),Gg("target",a.hasUnsavedChanges()?"_blank":"_self"),F("routerLinkObj",a.getSloManagementLink(a.component.slo.id)))},jRb=function(a){if(a&1){var b=x();D(0,eRb,5,2,"div",104);I(1,"mat-slide-toggle",105);Xg("ngModelChange",function(c){z(b);var d=P(5);Wg(d.isEnableSloChecked,c)||(d.isEnableSloChecked=c);return A(c)});M("change",
function(c){z(b);var d=P(5);c=c.checked;d.isEnableSloChecked=c;c||(d.component.slo.id="0");return A()});Q(2," Enable SLO ");J();I(3,"div",106)(4,"label",107);Q(5,"SLO policy");J();I(6,"slo-picker",108);M("onSloSelect",function(c){z(b);var d=P(5);return A(d.onSloChange(c))});J();D(7,fRb,2,2,"a",109);J()}a&2&&(a=P(5),G(gRb(a)?0:-1),C(),ng("indented",hRb(a)),Vg("ngModel",a.isEnableSloChecked),F("disabled",!iRb(a)),C(5),F("bv2Disabled",!a.isEnableSloChecked||!iRb(a))("boundId",a.component.slo.id)("bv2Placeholder",
a.isEnableSloChecked&&iRb(a)?"Type to search for an SLO":"SLO disabled"),C(),G(a.component.slo.id&&a.component.slo.id!=="0"?7:-1))},kRb=function(a){a&1&&(I(0,"div",86)(1,"div",44)(2,"label",87)(3,"span",41),Q(4,"SLO Configuration"),J()(),I(5,"span",46)(6,"div",88)(7,"strong"),Q(8,"Careful!"),J(),Q(9," Changing the SLO (service level objective) of a component has the potential to impact the Buganizer SLO compliance status of every issue under that component. "),I(10,"div",48),K(11,"div",49)(12,"div",
50),J()()()(),I(13,"div",89),D(14,RQb,4,1,"div",90),S(15,"async"),D(16,WQb,8,6,"div",91),S(17,"async"),D(18,ZQb,2,1,"div",92),I(19,"div",93),D(20,bRb,4,3),J()(),D(21,dRb,4,2,"div",94)(22,jRb,8,9),J());if(a&2){var b,c;a=P(4);ng("bv2-edit-resource-readonly",!$u(a));C(14);G((b=U(15,8,a.inheritedSlo$))?14:-1,b);C(2);G((c=U(17,10,a.sloPolicySource$))?16:-1,c);C(2);G(a.sessionIsInternal?18:-1);C(2);G(a.enableSloLockingUi?20:-1);C();G(hRb(a)?21:-1);C();a.component&&a.component.slo?(b=!!a.component.team&&
a.component.team.id!=="0",c=!a.component.slo.inherit,a=a.component.parentComponentId===0&&!b||c):a=!1;G(a?22:-1)}},lRb=function(a){if(a&1){var b=x();I(0,"mat-slide-toggle",114);M("change",function(c){z(b);P(4).component.spamProtection=c.checked?"ALL_PROTECTIONS":"NO_PROTECTIONS";return A()});Q(1," Enable Spam Protections ");J()}a&2&&(a=P(4),F("checked",a.sessionIsInternal&&a.getComponentAccessLevel()==="EXTERNAL_PUBLIC"?a.component.spamProtection==="ALL_PROTECTIONS"||a.component.spamProtection===
"SPAM_PROTECTION_UNSPECIFIED":!1)("disabled",a.isAccessEditDisabled()))},mRb=function(a){if(a&1){var b=x();I(0,"div",69)(1,"b-button",115);M("onAction",function(){z(b);var c=P(4);return A(c.saveMetadata())});Q(2," Update ");J();I(3,"b-button",116);M("onAction",function(){z(b);var c=P(4);return A(c.revertMetadataChanges())});Q(4," Revert Changes ");J();I(5,"b-button",116);M("onAction",function(){z(b);var c=P(4);return A(c.createChild())});Q(6," Create Child Component ");J()()}a&2&&(a=P(4),C(),F("disabled",
a.isSaving()||!a.hasUnsavedMetadataChanges()),C(2),F("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),C(2),F("disabled",a.hasUnsavedMetadataChanges()))},nRb=function(a){if(a&1){var b=x();I(0,"b-button",117);M("onAction",function(){z(b);var c=P(4);return A(c.showUpdateHistoryModal())});Q(1," View History ");J()}},oRb=function(a){a&1&&K(0,"b-spinner")},pRb=function(a){if(a&1){var b=x();I(0,"b-component-children-list",118);M("onVisit",function(){z(b);var c=P(4);return A(c.trackClick("openChildComponent"))});
J()}a&2&&(a=P(4),F("children",a.childComponents))},qRb=function(a){a&1&&(I(0,"span"),Q(1," No child components. "),J())},rRb=function(a){if(a&1){var b=x();I(0,"div",36)(1,"form",37,7);K(3,"b-error-banner",38);I(4,"div",39)(5,"label",40)(6,"span",41);Q(7,"Name");J()();I(8,"input",42);Xg("ngModelChange",function(c){z(b);var d=P(3);Wg(d.component.name,c)||(d.component.name=c);return A(c)});J()();I(9,"div",43)(10,"div",44)(11,"label",45)(12,"span",41);Q(13,"Description");J()();I(14,"span",46)(15,"div",
47);Q(16," The description will be used during component searches. You can add previous project names or keywords that will help users search for your component. ");I(17,"div",48);K(18,"div",49)(19,"div",50);J()()()();I(20,"textarea",51);Xg("ngModelChange",function(c){z(b);var d=P(3);Wg(d.component.description,c)||(d.component.description=c);return A(c)});Q(21,"                ");J()();D(22,JQb,14,5,"div",52);I(23,"div",53)(24,"div",54)(25,"mat-checkbox",55);M("change",function(c){z(b);var d=P(3);
return A(d.setCommentEditState(c.checked))});J()();I(26,"div")(27,"strong",56);Q(28,"Editable Comments");J();I(29,"div",57);Q(30," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. ");K(31,"br");D(32,KQb,2,1,"a",58);J()()();D(33,LQb,12,8,"div",59)(34,OQb,5,3,"div",60)(35,kRb,23,12,"div",61);I(36,"div",62)(37,"div",44)(38,"label",63)(39,"span",41);Q(40,"Component Alias");J()();I(41,"span",46)(42,"div",64);Q(43," You can create a new issue in this component by sending an email to this alias. ");
K(44,"br");I(45,"a",65);Q(46," Learn more ");J();I(47,"div",48);K(48,"div",49)(49,"div",50);J()()()();I(50,"div")(51,"a",66);Q(52);J()()();D(53,lRb,2,2,"mat-slide-toggle",67);I(54,"div",68);D(55,mRb,7,3,"div",69);I(56,"div",69);D(57,nRb,2,0,"b-button",70);J()();I(58,"div",71)(59,"label")(60,"span",41);Q(61,"Child Components");J()();D(62,oRb,1,0,"b-spinner")(63,pRb,1,1,"b-component-children-list",72)(64,qRb,2,0,"span");J()()()}a&2&&(a=P(3),C(),ng("show-errors",a.error),C(2),F("error",a.error),C(),
ng("bv2-edit-resource-readonly",av(a)),C(4),Vg("ngModel",a.component.name),F("disabled",av(a)),C(),ng("bv2-edit-resource-readonly",av(a)),C(11),Vg("ngModel",a.component.description),F("disabled",av(a)),C(2),G(a.isAdmin()?22:-1),C(),ng("bv2-edit-resource-readonly",a.isAccessEditDisabled()),C(2),F("checked",a.commentEditsEnabled)("disabled",av(a)),C(7),G(a.sessionIsExternal?-1:32),C(),G(a.sessionIsExternal?-1:33),C(),G(a.sessionIsInternal?34:-1),C(),G(a.component.slo&&a.sessionIsInternal?35:-1),C(10),
F("href",a.documentationLinks.baseDocumentationUrl+"/guides/create-issue-email",of),C(6),Fg("href","mailto:",a.component.emailAlias,"",of),eg("aria-label","Component Alias -"+a.component.emailAlias),C(),Tg(a.component.emailAlias),C(),G(a.sessionIsInternal&&a.getComponentAccessLevel()==="EXTERNAL_PUBLIC"?53:-1),C(2),G(a.isEditorInternal||$u(a)?55:-1),C(2),G(a.componentHistoryUiEnabled?57:-1),C(5),G(a.childComponents===void 0?62:-1),C(),G(a.childComponents&&a.childComponents.length>0?63:-1),C(),G(a.childComponents&&
a.childComponents.length===0?64:-1))},sRb=function(a){a&1&&(I(0,"div",119),Q(1," Standard Fields "),J())},uRb=function(a){if(a&1){var b=x();I(0,"b-component-standard-fields",123);M("updateComponent",function(c){z(b);var d=P(4);return A(tRb(d,c))});J()}a&2&&(a=P(4),F("effortSpec",a.component.effortSpec)("parentEffortSpec",a.parentComponent==null?null:a.parentComponent.effortSpec)("disabled",!a.isEditorInternal))},vRb=function(a){a&1&&(I(0,"div",121),Q(1," Custom Fields "),J())},xRb=function(a){a&1&&
(D(0,sRb,2,0,"div",119)(1,uRb,1,3,"b-component-standard-fields",120)(2,vRb,2,0,"div",121),K(3,"b-component-custom-fields",122));a&2&&(a=P(3),G(wRb(a)?0:-1),C(),G(wRb(a)?1:-1),C(),G(wRb(a)?2:-1),C(),F("editMode",a.isEditorInternal)("isSaving",a.isSaving())("component",a.component)("parentComponent",a.parentComponent))},zRb=function(a){a&1&&(I(0,"a",125),Q(1," Learn more "),J());a&2&&(P(4),F("href",yRb(),of))},BRb=function(a){if(a&1){var b=x();I(0,"div",36)(1,"div",124);Q(2," Field ordering will be applied to all issues and templates in this component, including the right panel on the Issue Detail page. ");
D(3,zRb,2,1,"a",125);J();I(4,"b-field-reorder",126);M("onReload",function(){z(b);var c=P(3);return A(ARb(c))});J()()}a&2&&(a=P(3),C(3),G(a.sessionIsInternal?3:-1),C(),F("fields",a.effectiveCustomFields)("componentId",a.componentId)("fieldOrdering",a.component.fieldOrdering)("isAdmin",a.isAdmin()))},CRb=function(a){a&1&&K(0,"b-edit-templates",127);a&2&&(a=P(4),F("componentId",a.componentId)("supportCustomFields",!0))},DRb=function(a){a&1&&(I(0,"div"),Q(1),J());a&2&&(a=P().$implicit,C(),Tg(a.description))},
ERb=function(a,b){a&1&&(I(0,"div",128)(1,"label"),Q(2),J(),D(3,DRb,2,1,"div"),I(4,"div")(5,"a",66),Q(6),J()()());a&2&&(a=b.$implicit,C(2),Tg(a.name),C(),G(a.description?3:-1),C(2),F("href",a.url,of),eg("aria-label","Click to open the template "+a.name),C(),Tg(a.url))},FRb=function(a){a&1&&tg(0,ERb,7,5,"div",128,sg);a&2&&(a=P(4),ug(a.templates))},GRb=function(a){a&1&&(I(0,"div",36),D(1,CRb,1,2,"b-edit-templates",127)(2,FRb,2,0),J());a&2&&(a=P(3),C(),G(a.isEditorInternal?1:2))},IRb=function(a){if(a&
1){var b=x();I(0,"role-based-permissions",129);M("onTabChange",function(c){z(b);var d=P(3).tabsService;d.selectedAccessSubTabIndex=c;HRb(d);return A()});J()}a&2&&(a=P(3),F("tabIndex",a.tabsService.selectedAccessSubTabIndex))},JRb=function(a){if(a&1){var b=x();I(0,"div")(1,"div",21)(2,"h2");Q(3);J();D(4,CQb,2,0,"span",22);I(5,"a",23);M("click",function(){z(b);var l=P(2);return A(l.trackClick("recentIssues"))});Q(6," (Recent Issues)");J();K(7,"b-component-access-level-indicator",24)(8,"b-tracker-chip-smart",
25);J();I(9,"div",26);K(10,"b-component-breadcrumb",27)(11,"div",28);J();I(12,"mat-tab-group",29);M("selectedIndexChange",function(l){z(b);var q=P(2);return A(q.tabsService.tabChange(l))});I(13,"mat-tab",30);D(14,DQb,1,0,"ng-container",31);J();I(15,"mat-tab",32);D(16,EQb,1,0,"ng-container",31);J();I(17,"mat-tab",33);D(18,FQb,1,0,"ng-container",31);J();I(19,"mat-tab",34);D(20,GQb,1,0,"ng-container",31);J();I(21,"mat-tab",35);D(22,HQb,1,0,"ng-container",31);J()();D(23,rRb,65,31,"ng-template",null,2,
fh)(25,xRb,4,7,"ng-template",null,3,fh)(27,BRb,5,5,"ng-template",null,4,fh)(29,GRb,3,1,"ng-template",null,5,fh)(31,IRb,1,1,"ng-template",null,6,fh);J()}if(a&2){a=L(24);var c=L(26),d=L(28),e=L(30),f=L(32),h=P(2);C(3);Ug(" Component ",h.component.componentId,": ",h.currentName," ");C();G(h.isArchived()?4:-1);C();F("routerLinkObj",h.getRecentIssuesLink());C(2);F("accessLevel",h.getComponentAccessLevel());C();F("trackerId",h.component.trackerId);C(2);F("componentPathInfo",h.component.componentPathInfo)("isArchived",
h.isArchived())("label","Parent Component");C(2);F("selectedIndex",h.tabsService.selectedTabIndex);C();F("id",h.tabsService.Tab.BASIC);C();F("ngTemplateOutlet",a);C();F("id",h.tabsService.Tab.CUSTOM_FIELDS)("label",wRb(h)?"Fields":"Custom Fields");C();F("ngTemplateOutlet",c);C();F("id",h.tabsService.Tab.FIELD_ORDERING);C();F("ngTemplateOutlet",d);C();F("id",h.tabsService.Tab.TEMPLATES);C();F("ngTemplateOutlet",e);C();F("id",h.tabsService.Tab.ACCESS);C();F("ngTemplateOutlet",f)}},KRb=function(a){a&
1&&(I(0,"span")(1,"p"),Q(2," Archiving a component causes it and its subcomponents and all issues in those components to be hidden from normal use."),K(3,"br"),I(4,"a",134),Q(5," Learn more "),J()(),I(6,"p"),Q(7," If you no longer have a reason to retain the data stored in these components, please change the retention period as needed "),K(8,"br"),Q(9," so they can be scheduled for deletion. "),I(10,"a",135),Q(11," Learn more "),J()()());a&2&&(P(3),C(4),F("href","http://go/archived-components",of),
C(6),F("href",Zu(),of))},LRb=function(a){a&1&&(I(0,"span")(1,"p"),Q(2," Unarchiving a component will NOT cause its subcomponents to be unarchived."),K(3,"br"),Q(4," If you need to recursively unarchive subcomponents please use the buganizer_admin tool. "),I(5,"a",136),Q(6," Learn more "),J()()());a&2&&(P(3),C(5),F("href","http://go/buganizer-admin",of))},MRb=function(a,b){a&1&&(I(0,"span")(1,"span"),Q(2),J(),I(3,"span"),Q(4," : "),I(5,"b"),Q(6),J()(),K(7,"br"),J());a&2&&(a=b.$implicit,b=P(4),C(2),
Tg(a.componentPath),C(),ng("b-archive-warning-indef",!a.retentionSettings.retentionPeriodDays),C(3),Tg(b.getRetentionPeriod(a)))},NRb=function(a){a&1&&(I(0,"span"),tg(1,MRb,8,4,"span",null,sg),J());a&2&&(a=P(3),C(),ug(a.descendants))},ORb=function(a){a&1&&(I(0,"span")(1,"span"),Q(2),J()());a&2&&(a=P(3),C(2),Tg(a.descendants[0].componentPath))},PRb=function(a){if(a&1){var b=x();I(0,"h2",130);Q(1);J();I(2,"mat-dialog-content");D(3,KRb,12,2,"span")(4,LRb,7,1,"span");I(5,"p");Q(6," The following components will be affected: ");
J();I(7,"div",131);D(8,NRb,3,0,"span")(9,ORb,3,1,"span");J()();I(10,"mat-dialog-actions")(11,"button",132);M("click",function(){z(b);var c=P(2);c.archive();c.isArchiving=!1;return A()});Q(12," Yes ");J();I(13,"button",133);M("click",function(){z(b);P(2).isArchiving=!1;return A()});Q(14," No ");J()()}a&2&&(a=P(2),C(),Tg(a.component&&a.archiveAction?"Are you sure you want to "+a.archiveAction.toLowerCase()+' "'+a.component.name+'"'+(a.archiveAction==="Archive"?" and its subcomponents?":"?"):""),C(2),
G(a.archiveAction==="Archive"?3:-1),C(),G(a.archiveAction==="Unarchive"?4:-1),C(4),G(a.archiveAction==="Archive"?8:-1),C(),G(a.archiveAction==="Unarchive"?9:-1))},QRb=function(a){if(a&1){var b=x();I(0,"div",9)(1,"div",10)(2,"div",11)(3,"b-button",12);M("onAction",function(){z(b);var c=P();return A(c.back())});K(4,"b-icon",13);J();D(5,AQb,4,3);J()()();I(6,"div",14);D(7,BQb,2,0,"div",15)(8,JRb,33,21,"div");J();D(9,PRb,15,5,"ng-template",null,0,fh)}a&2&&(a=P(),C(5),G(a.component?5:-1),C(2),G(a.isLoading?
7:-1),C(),G(!a.isLoading&&a.component&&a.component.componentId?8:-1))},RRb=function(a){a&1&&(I(0,"div",8),K(1,"b-tracker-redirect",137),J());a&2&&(a=P(),C(),F("component",a.component))},SRb=function(a){var b=null;if(a.containerType==="TEAM")var c=a.content.sourceTeamId;else c=a.content.sourceTeamId,b=a.content.sourceComponentId;return{sourceTeamId:c,sourceComponentId:b}},TRb=function(a,b){var c=a.componentPathInfo;a=c.componentPathId;c=c.componentPathName;var d=a.findIndex(function(e){return""+e===
b});return{componentPathId:a.slice(d),componentPathName:c==null?void 0:c.slice(d),fieldConfigsMap:new Map}},URb=function(a,b,c,d){(c==null?0:c.inherit)||(c==null?void 0:c.id)!=="0"||!d||(a=d);if(!a)return null;c=a.pathNames;a=a.pathIds;d=[];for(var e=a.findIndex(function(f){return f===b});e<a.length;e++)d.push({id:a[e],name:c[e]});return d},VRb=function(a,b){a&1&&(I(0,"div",9),K(1,"b-team-breadcrumb",37),J());a&2&&(C(),F("teamPath",b))},WRb=function(a,b){a&1&&(vg(0),Q(1),wg());a&2&&(C(),Tg(b.trim()))},
XRb=function(a){a&1&&Q(0," No description ")},YRb=function(a,b){a&1&&K(0,"b-multi-user-input",24);a&2&&(F("users",b),eg("disabled",!0))},ZRb=function(a){a&1&&(I(0,"p"),Q(1,"No child teams"),J())},$Rb=function(a,b){a&1&&(K(0,"br"),I(1,"a",38),Q(2),J());a&2&&(a=b.$implicit,C(),Fg("routerLink","/teams/",a.id,"/edit"),C(),Tg(a.name))},aSb=function(a){a&1&&tg(0,$Rb,3,3,null,null,sg);a&2&&(a=P(),ug(a))},bSb=function(a,b){a&1&&D(0,ZRb,2,0,"p")(1,aSb,2,0);a&2&&G(b.length===0?0:1)},cSb=function(a){a&1&&(I(0,
"a",39),Q(1),J());if(a&2){var b;a=P();F("routerLinkObj",a.link);C();R(" ",(b=a.slo==null?null:a.slo.name)!==null&&b!==void 0?b:a.id," ")}},dSb=function(a){a&1&&Q(0," None ")},eSb=function(a,b){a&1&&(I(0,"div",28),Q(1," Inherited SLO Policy: "),D(2,cSb,2,2,"a",39)(3,dSb,1,0),J());a&2&&(C(2),G(b.link?2:3))},fSb=function(a,b){a&1&&(I(0,"a",30),Q(1),J());a&2&&(F("routerLinkObj",b.link),C(),R(" ",b.name," "))},gSb=function(a){a&1&&Q(0," None ")},hSb=function(a){a&1&&(K(0,"mat-icon",40),Q(1," on "))},iSb=
function(a){a&1&&(K(0,"mat-icon",41),Q(1," off "))},jSb=function(a){a&1&&(Q(0," Lock: "),D(1,hSb,2,0)(2,iSb,2,0));a&2&&(a=P(2),C(),G(a.originalSloLock?1:2))},kSb=function(a){if(a&1){var b=x();I(0,"div",42)(1,"mat-checkbox",43);M("change",function(c){z(b);var d=P(3);d.isSloInheritEnabled=!c.checked;d.isSloInheritEnabled&&(d.sloId=d.parentTeam.slo.sloId);return A()});I(2,"span");Q(3,"Override the inherited SLO");J()()()}a&2&&(a=P(3),C(),F("disabled",!a.hasEditAccess)("checked",!a.isSloInheritEnabled))},
lSb=function(a){if(a&1){var b=x();I(0,"div",44)(1,"label",48);Q(2," Justification to override the org SLO ");J();K(3,"mat-icon",49);I(4,"textarea",50);S(5,"async");M("ngModelChange",function(c){z(b);var d=P(4);return A(d.sloJustification$.next(c))});J()()}a&2&&(a=P(4),C(3),F("matTooltip",a.justificationRequiredText),eg("aria-label",a.justificationRequiredText),C(),F("ngModel",U(5,4,a.sloJustification$))("disabled",!a.hasEditAccess))},mSb=function(a,b){a&1&&(I(0,"a",47),S(1,"async"),K(2,"mat-icon",
8),J());a&2&&(a=P(4),Gg("target",U(1,2,a.hasUnsavedChanges$)?"_blank":"_self"),F("routerLinkObj",b))},nSb=function(a){if(a&1){var b=x();D(0,lSb,6,6,"div",44);I(1,"div",13)(2,"mat-slide-toggle",45);Xg("ngModelChange",function(e){z(b);var f=P(3);Wg(f.enableSloChecked,e)||(f.enableSloChecked=e);return A(e)});M("change",function(e){z(b);var f=P(3);return A(f.enableSloChecked=e.checked)});Q(3," Enable SLO ");J();I(4,"slo-picker",46);M("onSloSelect",function(e){z(b);var f=P(3);return A(f.onSloChange(e))});
J();D(5,mSb,3,4,"a",47);S(6,"async");J()}if(a&2){var c;a=P();var d=P(2);G(a.value?-1:0);C(2);ng("indented",!a.value);Vg("ngModel",d.enableSloChecked);F("disabled",!d.hasEditAccess);C(2);F("boundId",d.sloId)("bv2Disabled",!d.hasEditAccess||!d.enableSloChecked||d.isSloInheritEnabled)("bv2Placeholder",d.enableSloChecked?"Type to search for an SLO":"SLO disabled");C();G((c=U(6,9,d.sloPickerLink$))?5:-1,c)}},oSb=function(a,b){a&1&&D(0,kSb,4,2,"div",42)(1,nSb,7,11,"div",13);a&2&&(a=P(2),G(b.value?-1:0),
C(),G(a.isSloInheritEnabled?-1:1))},pSb=function(a){if(a&1){var b=x();I(0,"div",13)(1,"mat-checkbox",51);M("change",function(c){z(b);var d=P(2);return A(d.sloLocked=c.checked)});I(2,"span");Q(3,"Lock for all child teams");J()()()}a&2&&(a=P(2),C(),F("checked",a.sloLocked)("disabled",!a.canEditSloLock))},sSb=function(a){if(a&1){var b=x();I(0,"div",34)(1,"div",52)(2,"button",53);S(3,"async");M("click",function(){z(b);var c=P(),d=P();return A(qSb(d,c))});Q(4," Update ");J();I(5,"button",54);S(6,"async");
M("click",function(){z(b);var c=P(2);return A(rSb(c))});Q(7," Revert changes ");J()()()}a&2&&(a=P(2),C(2),F("disabled",!U(3,2,a.hasUnsavedChanges$)),C(3),F("disabled",!U(6,4,a.hasUnsavedChanges$)))},tSb=function(a){a&1&&(I(0,"p"),Q(1,"No mapped components"),J())},uSb=function(a,b){a&1&&(I(0,"ul")(1,"li")(2,"a",38),Q(3),J()()());a&2&&(a=b.$implicit,C(2),Fg("routerLink","/components/",a.componentId,"/edit"),C(),R(" ",a.name," "))},vSb=function(a){a&1&&(tg(0,uSb,4,3,"ul",null,sg),S(2,"async"));a&2&&
(a=P(3),ug(U(2,0,a.associatedComponents$)))},wSb=function(a,b){a&1&&D(0,tSb,2,0,"p")(1,vSb,3,2);a&2&&G(b.length===0?0:1)},ySb=function(a){if(a&1){var b=x();I(0,"mat-tab",36)(1,"div",12)(2,"div",55)(3,"label",56)(4,"span",15);Q(5,"Triage search scope");J()();I(6,"input",57);Xg("ngModelChange",function(c){z(b);var d=P(2);Wg(d.teamExperiments.triage.scope,c)||(d.teamExperiments.triage.scope=c);return A(c)});J()();I(7,"div",58)(8,"mat-checkbox",59);Xg("ngModelChange",function(c){z(b);var d=P(2);Wg(d.teamExperiments.triage.showComponentColumn,
c)||(d.teamExperiments.triage.showComponentColumn=c);return A(c)});Q(9,"Show component name column in triage view");J()();I(10,"div",34)(11,"div",52)(12,"button",60);M("click",function(){z(b);var c=P(2);return A(xSb(c))});Q(13," Update ");J()()()()()}a&2&&(a=P(2),F("id",a.Tab.TRIAGE),C(6),Vg("ngModel",a.teamExperiments.triage.scope),C(2),Vg("ngModel",a.teamExperiments.triage.showComponentColumn))},CSb=function(a,b){if(a&1){var c=x();I(0,"div",6)(1,"h2");Q(2);I(3,"a",7);Q(4);K(5,"mat-icon",8);J()()();
D(6,VRb,2,1,"div",9);S(7,"async");I(8,"mat-tab-group",10);Xg("selectedIndexChange",function(E){z(c);var H=P();Wg(H.selectedTabIndex,E)||(H.selectedTabIndex=E);return A(E)});M("selectedIndexChange",function(E){z(c);var H=P();return A(H.tabChange(E))});I(9,"mat-tab",11)(10,"div",12);Q(11," Team information on this page comes from ");I(12,"a",7);Q(13," Team Graph ");K(14,"mat-icon",8);J();Q(15," and is view only. ");I(16,"div",13)(17,"div",14)(18,"label")(19,"span",15);Q(20,"Description");J()();I(21,
"div",16);D(22,WRb,2,1,"ng-container")(23,XRb,1,0);J()()();I(24,"div",13)(25,"div",17)(26,"label",18)(27,"span",15);Q(28," Team admins ");J();I(29,"span",19)(30,"div",20);Q(31," Team admins are team leads from Team Graph. ");I(32,"div",21);K(33,"div",22)(34,"div",23);J()()()();D(35,YRb,1,2,"b-multi-user-input",24);S(36,"async");J()();I(37,"div",13)(38,"div",14)(39,"label")(40,"span",15);Q(41,"Child team(s)");J()();D(42,bSb,2,1);S(43,"async");J()()()();I(44,"mat-tab",25)(45,"div",12)(46,"div",17)(47,
"label",18)(48,"span",15);Q(49,"SLO configuration");J()();I(50,"span",19)(51,"div",26)(52,"strong");Q(53,"Careful!");J();Q(54," Changing the SLO (service level objective) of a component has the potential to impact the compliance status of every issue under this team's components. ");I(55,"div",21);K(56,"div",22)(57,"div",23);J()()()();I(58,"div",27);D(59,eSb,4,1,"div",28);S(60,"async");I(61,"div",29);Q(62," Policy Source: ");D(63,fSb,2,2,"a",30);S(64,"async");D(65,gSb,1,0);J();I(66,"div",31);D(67,
jSb,3,1);J()();K(68,"b-error-banner",32);D(69,oSb,2,2);S(70,"async");D(71,pSb,4,2,"div",13);I(72,"div",13)(73,"div",17)(74,"label",18)(75,"span",15);Q(76," SLO lead ");J()();I(77,"span",19)(78,"div",20);Q(79," Single team lead receiving SLO reports of unassigned issues. ");I(80,"div",21);K(81,"div",22)(82,"div",23);J()()()();I(83,"div");vg(84);I(85,"b-multi-user-input",33);M("usersChange",function(E){z(c);var H=P();E.length>1||(H.sloLead=E.length===1?E[0]:"");return A()})("isValid",function(E){z(c);
var H=P();return A(H.isSloLeadValid=E)});J();wg();J()();D(86,sSb,8,6,"div",34);J()();I(87,"mat-tab",35)(88,"div",12)(89,"div",13)(90,"div",14)(91,"label")(92,"span",15);Q(93," Component(s) that have mapped to this team ");J()()();D(94,wSb,2,1);S(95,"async");J()()();D(96,ySb,14,3,"mat-tab",36);J()}if(a&2){var d,e,f,h,l,q,v,y;a=P();C(2);R(" Team ",b.teamId,": ");C();Fg("href","https://moma.corp.google.com/team/",b.teamId,"",of);C();R(" ",b.name," ");C(2);G((d=U(7,28,a.teamPath$))?6:-1,d);C(2);Vg("selectedIndex",
a.selectedTabIndex);C();F("id",a.Tab.BASIC);C(3);Fg("href","https://moma.corp.google.com/team/",b.teamId,"",of);C(10);G((e=b.description)?22:23,e);C(13);G((f=U(36,30,a.adminsAndLeads$))?35:-1,f);C(7);G((h=U(43,32,a.childTeams$))?42:-1,h);C(2);F("id",a.Tab.SLO);C(15);G((l=U(60,34,a.inheritedSlo$))?59:-1,l);C(4);G((q=U(64,36,a.sloPolicySource$))?63:65,q);C(4);G(a.enableSloLockingUi?67:-1);C();F("error",a.error);C();G((v=bh(42,zSb,U(70,38,a.isRootTeam$)))?69:-1,v);C(2);G(a.enableSloLockingUi?71:-1);
C(14);F("users",a.sloLead?bh(44,ASb,a.sloLead):ah(46,BSb))("customValidators",a.sloLeadUserValidators)("detailedUserValidators",a.sloLeadGooglerValidators)("maxUserAllowed",1);eg("disabled",a.hasEditAccess?null:!0);C();G(a.hasEditAccess?86:-1);C();F("id",a.Tab.MAPPINGS);C(7);G((y=U(95,40,a.associatedComponents$))?94:-1,y);C(2);G(a.enableTeamScope?96:-1)}},DSb=function(a){a&1&&(I(0,"mat-error"),Q(1),J());a&2&&(a=P(),C(),Tg(a.validationErrorMessage))},ESb=function(a){a&1&&(I(0,"div",0)(1,"div",1),K(2,
"mat-icon",2),Q(3),J(),I(4,"div",3),K(5,"mat-icon",4),I(6,"span")(7,"a",5),Q(8),J(),Q(9," \u00b7 "),K(10,"b-formatted-date-time",6),Q(11," \u2010 "),K(12,"b-formatted-date-time",6),J()()());if(a&2){a=P();C(3);R(" ",a.iteration.workspace.name," ");C(4);var b,c,d;var e=a.getBaseUrl()+"/workspaces/"+((b=a.iteration)==null?void 0:(c=b.workspace)==null?void 0:c.workspaceId)+"/iterations/"+((d=a.iteration)==null?void 0:d.iterationId);F("href",e,of);C();R(" ",a.iteration.name," ");C(2);F("paddingLeftPx",
0)("timestamp",a.iteration.startTimestamp);C(2);F("paddingLeftPx",0)("timestamp",a.iteration.endTimestamp)}},FSb=function(a){a&1&&K(0,"iteration-card",4,1);if(a&2){a=L(1);var b=P(2);F("onedevIsHovercardReady",a.hovercardReady$)("iteration",b.iteration)}},GSb=function(a){if(a&1){var b=x();I(0,"div",2);M("onedevHovercardShown",function(){z(b);var c=P();return A(c.trackHoverEvent())})("click",function(c){z(b);var d=P();c.stopPropagation();d.analytics.trackEvent("missionControl","click","iteration-chip");
var e,f,h;c=d.iteration||d.iteration.workspace||d.iteration.iterationId?d.getBaseUrl()+"/workspaces/"+((e=d.iteration)==null?void 0:(f=e.workspace)==null?void 0:f.workspaceId)+"/iterations/"+((h=d.iteration)==null?void 0:h.iterationId):d.getBaseUrl();d.domSafe.openInNewTab(c);return A()});Q(1," Current ");J();I(2,"onedev-hovercard",null,0);D(4,FSb,2,2,"iteration-card",3);J()}a&2&&(a=L(3),F("onedevHovercardTrigger",a))},NSb=function(a,b,c,d){return HSb(a).map(function(e){var f=e.task,h=ISb(e.signals,
b);if(f&&h&&h.length!==0){var l,q,v,y,E,H,O=f.taskId,N=f.taskResourceType,T=f.title,da=JSb(h);e=KSb(e,h);if(f.issueResource){var ja=f.issueResource.priority;ja=ja==="P0"||ja==="P1"?ja:null}else ja=null;return{id:O,type:N,description:T,lastAlertTimestamp:da,signals:e,link:f.externalLink,icon:Dua(f),priority:ja,accessLevel:(v=(l=f.issueResource)==null?void 0:l.accessLevel)!=null?v:null,hotlistIds:f.issueResource?f.issueResource.hotlistIds:[],issueId:oGa(f.taskId).length===1?oGa(f.taskId)[0]:null,futureAvailability:LSb(h),
reviewEstimate:MSb(h),lastMentionLink:((q=f.driveResource)==null?0:q.lastMentionLink)&&f.driveResource.lastMentionLink!==""?f.driveResource.lastMentionLink:void 0,isStaleTask:(y=f.isStaleTask)!=null?y:!1,snoozeUntilTimestamp:(E=f.snoozeUntilTimestamp)!=null?E:void 0,manualSignalTimestamp:(H=f.manualSignalTimestamp)!=null?H:void 0,iteration:c.get(f.taskId),okrIds:d.get(f.taskId)}}}).filter(kj)},ISb=function(a,b){return a.filter(function(c){return c.signalStatus===b})},HSb=function(a){return a.results.map(function(b){var c=
b.task,d,e;return((e=c==null?void 0:(d=c.snoozeUntilTimestamp)==null?void 0:d.seconds)!=null?e:0)!==0?{task:c,signals:b.signals.map(function(f){return Object.assign({},f,{signalStatus:2})})}:b})},KSb=function(a,b){return OSb(b).map(function(c){var d={timestamp:c.timestamp,type:"DRIVE_SIGNAL_UNSPECIFIED"};if(c.driveAlert){d.type=c.driveAlert.signal;d.driveFileId=a.task.taskId.split("/")[1];d.driveCommentId=c.driveAlert.commentId;var e;d.driveCommentLink=(e=a.task.driveResource)==null?void 0:e.lastMentionLink}c.changelistAlert&&
(d.type=c.changelistAlert.signal);c.issueAlert&&(d.type=c.issueAlert.signal,d.commentNumbers=c.issueAlert.commentNumbers);c.gerritAlert&&(d.type=c.gerritAlert.signal);return d})},OSb=function(a){var b=a.some(function(c){var d;return((d=c.issueAlert)==null?void 0:d.signal)==="MENTIONED_NEEDS_RESPONSE"});return a.filter(function(c){var d;return!b||((d=c.issueAlert)==null?void 0:d.signal)!=="COMMENT_MENTIONS_ME"})},JSb=function(a){return a.sort(function(b,c){var d,e;return((d=Sk(c.timestamp))!=null?
d:0)-((e=Sk(b.timestamp))!=null?e:0)})[0].timestamp},bv=function(a){switch(a.type){case "NEEDS_ATTENTION":case "GERRIT_CHANGE_NEEDS_ATTENTION":case "MENTIONED_NEEDS_RESPONSE":return 0;case "REQUIRES_APPROVAL":case "READY_TO_SUBMIT":case "GERRIT_CHANGE_READY_TO_SUBMIT":case "NEAR_SLO":case "REPLIED_TO_MENTION":case "NEWLY_ASSIGNED_TO_ME":case "COMMENT_MENTIONS_ME":case "NEEDS_REPORTER_INPUT":case "THREAD_MENTIONS_ME":case "TAGGED_IN_COMMENT":return 1;default:return 2}},PSb=function(a){var b=a[0],c=
bv(b);a=k(a);for(var d=a.next();!d.done;d=a.next())d=d.value,bv(d)<c&&(b=d,c=bv(b));return b},LSb=function(a){return a.map(function(b){var c,d;return(c=b.changelistAlert)==null?void 0:(d=c.clAuthorAvailability)==null?void 0:d.futureAvailability}).find(kj)},MSb=function(a){return a.map(function(b){var c;return(c=b.changelistAlert)==null?void 0:c.reviewEstimate}).find(kj)},QSb=function(a){if(a&1){var b=x();I(0,"a",5);M("click",function(){z(b);P(2).analytics.trackEvent("mentionsCard","navigate","comment");
return A()});Q(1," a comment ");J()}a&2&&(a=P(2),F("href",a.lastMentionLink,of))},RSb=function(a){a&1&&Q(0," a comment ")},SSb=function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,"span"),K(3,"b-user-display",2),Q(4," mentioned you in "),D(5,QSb,2,1,"a",3)(6,RSb,1,0),J(),I(7,"span"),K(8,"b-formatted-date-time",4),J()(),I(9,"div"),Q(10),J()());a&2&&(a=P(),C(3),F("model",{emailAddress:b.authorDisplayName}),C(2),G(a.lastMentionLink?5:6),C(3),F("timestamp",b.lastModifiedTimestamp),C(2),Tg(b.content))},TSb=function(a,
b){if(a&1){var c=x();I(0,"a",7);M("click",function(){z(c);P(4).analytics.trackEvent("mentionsCard","navigate","commentNumber");return A()});Q(1);J()}a&2&&(a=P(4),F("routerLinkObj",a.getCommentNumberLink(a.issueId,b)),C(),R(" comment #",b," "))},VSb=function(a){if(a&1){var b=x();I(0,"div",9)(1,"span",10);Q(2," Was this 'Needs Response' alert accurate? ");J();I(3,"button",11);M("click",function(){z(b);var c=P(5);return A(c.trackThumbsUp())});K(4,"mat-icon",12);J();I(5,"button",13);M("click",function(){z(b);
var c=P(5);return A(c.trackThumbsDown())});K(6,"mat-icon",14);J()()}a&2&&(a=P(5),C(3),F("disabled",a.hasReacted),C(),F("ngClass",bh(4,USb,a.thumbsUpClicked)),C(),F("disabled",a.hasReacted),C(),F("ngClass",bh(6,USb,a.thumbsDownClicked)))},WSb=function(a,b){a&1&&(I(0,"div"),K(1,"b-note-container",8),D(2,VSb,7,8,"div",9),J());if(a&2){a=P(2).$implicit;var c=P(2);C();F("issueId",c.issueId)("note",b)("formattingMode",a.formattingMode);C();G(c.needsResponse&&!a.commentRedacted?2:-1)}},YSb=function(a){a&
1&&(I(0,"div",1)(1,"div",2)(2,"span",3),K(3,"b-user-display",4),I(4,"span"),Q(5," mentioned you in "),D(6,TSb,2,2,"a",5),J()(),I(7,"span"),K(8,"b-formatted-date-time",6),J()(),D(9,WSb,3,4,"div"),J());if(a&2){var b,c,d=P();a=d.$implicit;var e=d.$index;d=d.$count;P(2);F("ngClass",bh(5,XSb,e!==d-1));C(3);F("model",a.lastCommentEditorUser);C(3);G((b=a.commentNumber)?6:-1,b);C(2);F("timestamp",a.commentLastModifiedAtDate);C();if(a.unlinkifiedComment){var f;b={commentNumber:(f=a.commentNumber)!=null?f:
void 0,unlinkifiedComment:a.commentRedacted?"Comment access restricted. Please reach out to the issue owner to view.":a.unlinkifiedComment,formattedComment:a.commentRedacted?void 0:a.formattedComment}}else b=null;G((c=b)?9:-1,c)}},ZSb=function(a,b){a&1&&D(0,YSb,10,7,"div",1);a&2&&G(b.$implicit.unlinkifiedComment!=null?0:-1)},aTb=function(a,b){a&1&&(I(0,"div",0),tg(1,ZSb,1,1,null,null,$Sb),I(3,"div"),xg(4),J()());a&2&&(C(),ug(b))},bTb=function(a){return a===void 0||a===null?[]:Object.keys(a).filter(function(b){return a.hasOwnProperty(b)})},
cTb=function(a){a&1&&xg(0)},eTb=function(a){a&1&&D(0,cTb,1,0,"ng-container",5);if(a&2){a=P().$implicit;P(2);var b=L(3);F("ngTemplateOutlet",b)("ngTemplateOutletContext",bh(2,dTb,a))}},fTb=function(a,b){a&1&&D(0,eTb,1,4,"ng-container");a&2&&(a=b.$implicit,b=P(2),G(b.SIGNAL_TO_DISPLAY_TEXT.has(a.type)?0:-1))},hTb=function(a){a&1&&(I(0,"div",4),tg(1,fTb,1,1,null,null,gTb),J());a&2&&(a=P(),C(),ug(a.signals))},iTb=function(a){a&1&&xg(0)},kTb=function(a,b){a&1&&(I(0,"div",6),D(1,iTb,1,0,"ng-container",
5),I(2,"div",7),Q(3),J()());if(a&2){a=P(2);var c=L(3);C();F("ngTemplateOutlet",c)("ngTemplateOutletContext",bh(4,dTb,b));C();F("matTooltip",jTb(a.signals,b));C();R(" and ",a.signals.length-1," more ")}},lTb=function(a){a&1&&D(0,kTb,4,6,"div",6);if(a&2){var b;a=P();G((b=a.getHighestPrioritySignal(a.signals))?0:-1,b)}},pTb=function(a,b){if(a&1){var c=x();I(0,"div",11,2);M("mouseenter",function(){var f=z(c).xapLet,h=L(1);return A(f?h.disabled=!0:null)})("mouseleave",function(){var f=z(c).xapLet,h=L(1);
return A(f?h.disabled=!1:null)});Q(2);J()}if(a&2){a=b.xapLet;b=P().signal;var d=L(2),e=P();qg("signal-chip type-button urgent-",e.getSignalUrgency(b),"");ng("keep-focus-ring",a);F("onedevHovercardActive",a)("onedevHovercardTrigger",d)("matTooltip",mTb(e,b)||nTb(b)?'Press "Alt/Option + Right Arrow Key" to show comment':oTb.get(b.type));eg("tabindex",a?"0":"-1");C(2);R(" ",e.SIGNAL_TO_DISPLAY_TEXT.get(b.type)," ")}},rTb=function(a){a&1&&K(0,"mentioned-issue-comments-card",9,3);if(a&2){var b;a=L(1);
var c=P(2).signal,d=P();F("onedevIsHovercardReady",a.contentReady$)("issueId",d.issueId)("commentNumbers",(b=c.commentNumbers)!==null&&b!==void 0?b:ah(4,qTb))("needsResponse",c.type==="MENTIONED_NEEDS_RESPONSE")}},sTb=function(a){a&1&&D(0,rTb,2,5,"mentioned-issue-comments-card",12)},tTb=function(a){a&1&&K(0,"mentioned-drive-comments-card",10,3);if(a&2){a=L(1);var b=P(2).signal;F("onedevIsHovercardReady",a.contentReady$)("fileId",b.driveFileId)("commentId",b.driveCommentId)("lastMentionLink",b.driveCommentLink)}},
uTb=function(a){a&1&&D(0,tTb,2,4,"mentioned-drive-comments-card",13)},vTb=function(a,b){a&1&&(D(0,pTb,3,10,"div",8),I(1,"onedev-hovercard",null,1),D(3,sTb,1,0,"mentioned-issue-comments-card",9)(4,uTb,1,0,"mentioned-drive-comments-card",10),J());a&2&&(a=b.signal,b=P(),F("xapLet",mTb(b,a)||nTb(a)),C(3),G(mTb(b,a)?3:-1),C(),G(nTb(a)?4:-1))},xTb=function(a,b){a&1&&(I(0,"div",3)(1,"div",5),Q(2),J(),I(3,"div")(4,"a",6),Q(5),J()()());a&2&&(P(3),C(2),R(" O ",wTb(b==null?null:b.priorityRating),""),C(2),F("href",
b==null?null:b.url,of),C(),Tg(b==null?null:b.title))},yTb=function(a,b){a&1&&(I(0,"div",4)(1,"div",7),Q(2),J(),I(3,"div")(4,"a",6),Q(5),J()()());a&2&&(P(3),C(2),R(" KR ",wTb(b.priorityRating),""),C(2),F("href",b.url,of),C(),R(" ",b==null?null:b.title,""))},BTb=function(a,b){a&1&&(I(0,"div",2),D(1,xTb,6,3,"div",3)(2,yTb,6,3,"div",4),J());if(a&2){var c,d;a=b.$implicit;b=P();P();C();G((c=zTb(b,a))?1:-1,c);C();G((d=ATb(b,a))?2:-1,d)}},CTb=function(a){a&1&&(I(0,"div",0)(1,"div",1),tg(2,BTb,3,2,"div",2,
sg),J()());a&2&&(a=P(),C(2),ug(a.okrIds))},DTb=function(a){a&1&&K(0,"okr-card",4,1);if(a&2){a=L(1);var b=P(2);F("onedevIsHovercardReady",a.hovercardReady$)("okrIds",b.okrIds)}},ETb=function(a){if(a&1){var b=x();I(0,"div",2);M("onedevHovercardShown",function(){z(b);var c=P();return A(c.trackHoverEvent())});Q(1,"OKR");J();I(2,"onedev-hovercard",null,0);D(4,DTb,2,2,"okr-card",3);J()}a&2&&(a=L(3),F("onedevHovercardTrigger",a))},FTb=function(a){a&1&&(I(0,"div",0)(1,"div",1)(2,"div",2)(3,"div"),Q(4," Your response time is longer than usual for similar items. Respond to unblock others ("),
I(5,"a",3),Q(6,"see more"),J(),Q(7,"). "),J()()()())},GTb=function(a){a&1&&K(0,"stale-task-card",5,1);if(a&2){a=L(1);var b=P();F("onedevIsHovercardReady",a.hovercardReady$)("taskId",b.taskId)}},HTb=function(a,b){a&1&&(I(0,"mat-chip-option",1)(1,"span",2),Q(2),J()());if(a&2){a=P().$implicit;var c=P();F("value",a)("selected",c.selectedSources.includes(a));C();F("matTooltip",b.tooltipText);C();R(" ",b.displayName," ")}},ITb=function(a,b){a&1&&D(0,HTb,3,4,"mat-chip-option",1);if(a&2){var c;a=b.$implicit;
b=P();G((c=b.DEFINITIONS[a])?0:-1,c)}},JTb=function(a,b){if(a&1){var c=x();I(0,"button",7);M("click",function(){var d=z(c).$implicit,e=P();d=d.numberOfDays;e.selectedTimeBoundary=d;e.change.emit(d);return A()});Q(1);J()}a&2&&(a=b.$implicit,b=P(),F("disabled",a.numberOfDays===b.selectedTimeBoundary),C(),R(" ",a.label," "))},KTb=function(a){if(a&1){var b=x();I(0,"button",4);M("click",function(){z(b);var c=P();c.unsnooze.emit();c.onOpen(!1);return A()});K(1,"mat-icon",11);Q(2,"Unsnooze now ");J()}},
LTb=function(a){if(a&1){var b=x();I(0,"div",12);M("clickOutside",function(){z(b);P().timePickerOpen=!1;return A()});I(1,"b-date-time-picker-content",13);M("cancelClicked",function(){z(b);P().timePickerOpen=!1;return A()})("dateTimeChange",function(c){z(b);P().currentPickerDateTime=c;return A()})("saveClicked",function(){z(b);var c=P(),d=c.currentPickerDateTime;d&&c.snooze.emit(d);c.timePickerOpen=!1;return A()});J()()}a&2&&(a=P(),C(),F("required",!0)("renderPanel",!0)("dateTime",a.currentPickerDateTime)("includeTimePicker",
!0))},MTb=function(a){if(a&1){var b=x();vg(0);I(1,"div",1)(2,"span",2)(3,"a",3);M("click",function(){z(b);P().onChipClicked.emit();return A()});Q(4,"DMA");J()()();wg()}a&2&&(a=P(),C(),F("matTooltip",a.DMA_TOOLTIP_TEXT))},NTb=function(a){a&1&&(I(0,"label",11),Q(1),J());a&2&&(a=P().$implicit,F("matTooltip",a.description),C(),Tg(a.label))},OTb=function(a){a&1&&(I(0,"mat-tab"),D(1,NTb,2,2,"ng-template",10),J())},PTb=function(a){if(a&1){var b=x();I(0,"mat-tab-group",9);M("selectedIndexChange",function(c){z(b);
var d=P();return A(d.onTabIndexChange(c))});tg(1,OTb,2,0,"mat-tab",null,sg);J()}a&2&&(a=P(),F("selectedIndex",0),C(),ug(a.tabData))},QTb=function(a,b){if(a&1){var c=x();I(0,"source-filter-chips",12);M("change",function(d){z(c);var e=P().missionControlPrefs;d=d.map(nfb);e.prefs.needsAttentionSources=d;eu(e,{needsAttentionSources:d,isNeedsAttentionSourcesConfigured:!0});return A()});J()}a&2&&(a=P(),F("sourceFilterKeys",a.ALL_NEEDS_ATTENTION_SOURCE_FILTERS)("selectedSources",b))},RTb=function(a,b){if(a&
1){var c=x();I(0,"time-boundary-filter",13);M("change",function(d){z(c);var e=P().missionControlPrefs;e.prefs.needsAttentionDaysOld=d;eu(e,{needsAttentionDaysOld:d});return A()});J()}a&2&&F("selectedTimeBoundary",b)},STb=function(a){if(a&1){var b=x();I(0,"div",7)(1,"button",14,0);M("taskAdded",function(){z(b);var c=P();return A(c.refreshTaskData())});Q(3," Add a task ");J()()}},TTb=function(a){a&1&&(I(0,"p",15),Q(1," No alerts "),J())},VTb=function(a){if(a&1){var b=x();I(0,"th",31)(1,"mat-checkbox",
32);M("change",function(d){z(b);var e=P(2),f=P(2);return A(d?UTb(f,e):null)});J()()}if(a&2){a=P(2);var c=P(2);C();F("checked",c.selection.hasValue()&&c.selection.selected.length===a.length)("indeterminate",c.selection.hasValue()&&c.selection.selected.length!==a.length)}},WTb=function(a,b){if(a&1){var c=x();I(0,"td",33)(1,"mat-checkbox",34);M("click",function(d){z(c);return A(d.stopPropagation())})("change",function(d){var e=z(c).$implicit,f=P(4);return A(d?f.selection.toggle(e.id):null)});J()()}a&
2&&(a=b.$implicit,b=P(4),C(),F("checked",b.selection.isSelected(a.id)))},XTb=function(a){a&1&&(I(0,"th",31),Q(1),J());a&2&&(a=P(4),C(),Tg(a.selection.hasValue()?"":"Type"))},YTb=function(a,b){a&1&&(I(0,"td",33),K(1,"mat-icon",35),J());a&2&&(a=b.$implicit,C(),qg("product-icon ",a.icon,""),F("matTooltip",a.type)("svgIcon",a.icon))},$Tb=function(a){if(a&1){var b=x();I(0,"button",38);M("click",function(){z(b);var c=P(5);ZTb(c,c.selection.selected);c.selection.clear();return A()});Q(1);J()}a&2&&(a=P(5),
C(),Tg(Xo(a.signalStatusFilter$)!==1?"Dismiss":"Un-dismiss"))},aUb=function(a){a&1&&(I(0,"span"),Q(1,"Description"),J())},dUb=function(a){if(a&1){var b=x();I(0,"button",39);M("click",function(){z(b);var c=P(5);return A(bUb(c))});Q(1);J()}a&2&&(a=P(5),C(),Tg(cUb(a)?"Trigger manual signal":"Remove manual signal"))},eUb=function(a){a&1&&(I(0,"th",31),D(1,$Tb,2,1,"button",36)(2,aUb,2,0,"span")(3,dUb,2,1,"button",37),J());a&2&&(a=P(4),C(),G(a.selection.hasValue()?1:2),C(2),G(a.enableManualSignaling&&a.selection.hasValue()?
3:-1))},fUb=function(a){a&1&&K(0,"b-issue-visibility-chip",42);if(a&2){a=P(2).$implicit;var b=P(4);F("issueId",b.extractLastDigits(a.id))}},gUb=function(a){a&1&&K(0,"b-component-access-level-indicator",43);a&2&&(a=P(2).$implicit,F("accessLevel",a.accessLevel)("compactMode",!0))},hUb=function(a){a&1&&K(0,"okr-chip",44);a&2&&(a=P(2).$implicit,F("okrIds",a.okrIds))},iUb=function(a){a&1&&K(0,"iteration-chip",45);a&2&&(a=P(2).$implicit,F("iteration",a.iteration))},jUb=function(a){a&1&&(I(0,"div",46),S(1,
"futureAvailability"),K(2,"mat-icon",51),J());a&2&&(a=P(2).$implicit,F("matTooltip",U(1,1,a.futureAvailability)))},kUb=function(a){a&1&&(I(0,"div",47),Q(1),S(2,"number"),J());a&2&&(a=P(2).$implicit,C(),R(" <",eh(2,1,a.reviewEstimate.seconds/60,"1.0-0"),"m "))},lUb=function(a){a&1&&K(0,"b-issue-priority-display",48);a&2&&(a=P(2).$implicit,F("issuePriority",a.priority))},mUb=function(a){if(a&1){var b=x();I(0,"div",40);D(1,fUb,1,1,"b-issue-visibility-chip",42)(2,gUb,1,2,"b-component-access-level-indicator",
43)(3,hUb,1,1,"okr-chip",44)(4,iUb,1,1,"iteration-chip",45)(5,jUb,3,3,"div",46)(6,kUb,3,4,"div",47)(7,lUb,1,1,"b-issue-priority-display",48);I(8,"a",49);M("auxclick",function(){z(b);var d=P().$implicit,e=P(2),f=P(2);return A(f.sendClickAnalytics(d,e.slice(0,f.numDisplayedRows)))});Q(9);J();I(10,"onedev-dma-chip",50);M("onChipClicked",function(){z(b);var d=P(5);return A(d.sendDmaAnalytics())});J()()}if(a&2){a=P().$implicit;var c=P(4);C();G(c.enableNewVisibilityChips&&a.type===c.TaskResourceType.ISSUE?
1:2);C(2);G(c.enableOkrChip&&a.okrIds&&a.okrIds.length>0?3:-1);C();G(c.enableIterationChip&&a.iteration?4:-1);C();G(c.hasFutureAvailability(a)?5:-1);C();G(a.reviewEstimate&&a.reviewEstimate.seconds>=60?6:-1);C();G(a.priority?7:-1);C();F("href",a.type==="ISSUE"?"/issues/"+a.issueId:a.lastMentionLink?a.lastMentionLink:a.link,of);eg("target",a.type!==c.TaskResourceType.ISSUE?"_blank":null);C();R(" ",a.description," ");C();F("hotlistIds",a.hotlistIds)}},nUb=function(a){a&1&&(I(0,"span",41),Q(1,"No access to linked file"),
J())},oUb=function(a,b){a&1&&(I(0,"td",33),D(1,mUb,11,10,"div",40)(2,nUb,2,0,"span",41),J());a&2&&(a=b.$implicit,C(),G(a.description&&a.description!==""?1:2))},pUb=function(a){a&1&&(I(0,"th",31),Q(1),J());a&2&&(a=P(4),C(),Tg(a.selection.hasValue()?"":"Most recent alert"))},qUb=function(a){if(a&1){var b=x();I(0,"div")(1,"stale-task-indicator",52);M("click",function(){z(b);P();P(4).analytics.trackEvent("missionControl","click","stalenessChip-{{row.type}}");return A()});J()()}a&2&&(a=P().$implicit,C(),
F("taskId",a.id)("lastAlertTimestamp",a.lastAlertTimestamp))},rUb=function(a){a&1&&K(0,"b-formatted-date-time",53);a&2&&(a=P(2).$implicit,F("timestamp",a.lastAlertTimestamp)("paddingLeftPx",6))},sUb=function(a){a&1&&D(0,rUb,1,2,"b-formatted-date-time",53);a&2&&(a=P().$implicit,G(a.lastAlertTimestamp?0:-1))},tUb=function(a,b){a&1&&(I(0,"td",33),D(1,qUb,2,2,"div")(2,sUb,1,1),J());a&2&&(a=b.$implicit,b=P(4),C(),G(b.enableStaleTasks&&a.isStaleTask?1:2))},uUb=function(a){a&1&&(I(0,"th",31),Q(1),J());a&
2&&(a=P(4),C(),R(" ",a.selection.hasValue()?"":"Alert"," "))},vUb=function(a,b){a&1&&(I(0,"td",33),K(1,"needs-attention-signals-cell",54),J());a&2&&(a=b.$implicit,C(),F("issueId",a.issueId)("signals",a.signals))},wUb=function(a){a&1&&(I(0,"th",31),Q(1),J());a&2&&(a=P(4),C(),Tg(a.selection.hasValue()?"":"Action"))},xUb=function(a,b){a&1&&(I(0,"td",33)(1,"a",55),Q(2),J()());a&2&&(a=b.$implicit,b=P(4),C(2),R(" ",b.SIGNAL_TO_ACTION_TEXT.get(b.getHighestPrioritySignal(a.signals).type)," "))},yUb=function(a){a&
1&&(I(0,"th",56),Q(1),J());a&2&&(a=P(4),C(),Tg(a.selection.hasValue()?"":a.signalStatusFilter$.getValue()!==a.SignalStatus.SNOOZED?"Options":"Snooze Until"))},AUb=function(a){a&1&&(I(0,"span",57),Q(1),J());a&2&&(a=P().$implicit,P(4),C(),R("",zUb(a)," "))},CUb=function(a){if(a&1){var b=x();I(0,"button",65);M("click",function(d){z(b);return A(d.preventDefault())});K(1,"mat-icon",66);J()}if(a&2){P();a=L(9);var c=P(4);F("ariaLabel",BUb(c))("matTooltip",BUb(c))("matMenuTriggerFor",a.menu)}},GUb=function(a,
b){if(a&1){var c=x();I(0,"td",33);D(1,AUb,2,1,"span",57);I(2,"div",58)(3,"button",59);M("click",function(d){var e=z(c).$implicit,f=P(4);d.preventDefault();return A(f.copyIdOrLink(e))});K(4,"mat-icon",60);J();I(5,"button",61);M("click",function(d){var e=z(c).$implicit,f=P(4);d.preventDefault();ZTb(f,[e.id]);return A()});K(6,"mat-icon",62);J();D(7,CUb,2,3,"button",63);I(8,"snooze-menu",64,1);M("snooze",function(d){var e=z(c).$implicit,f=P(4);return A(DUb(f,e,d))})("unsnooze",function(){var d=z(c).$implicit,
e=P(4);return A(EUb(e,d))});J()()()}a&2&&(a=b.$implicit,b=P(4),C(),G(b.signalStatusFilter$.getValue()===b.SignalStatus.SNOOZED?1:-1),C(2),F("matTooltip",a.type===b.TaskResourceType.ISSUE?"Copy ID to clipboard":"Copy link to clipboard"),eg("aria-label",a.type===b.TaskResourceType.ISSUE?"Copy ID to clipboard":"Copy link to clipboard"),C(2),F("ariaLabel",FUb(b))("matTooltip",FUb(b)),C(2),G(b.enableSnoozedTasks?7:-1),C(),F("isSnoozed",b.signalStatusFilter$.getValue()===b.SignalStatus.SNOOZED))},HUb=function(a){a&
1&&K(0,"tr",67)},IUb=function(a){if(a&1){var b=x();I(0,"tr",68);M("click",function(c){var d=z(b).$implicit,e=P(2),f=P(2);return A(f.navigateToResource(c,d,e.slice(0,f.numDisplayedRows)))});J()}},JUb=function(a){a&1&&(I(0,"tr",69)(1,"td",70),Q(2," No alerts found "),J()())},KUb=function(a){a&1&&K(0,"mat-icon",72)},LUb=function(a){a&1&&K(0,"mat-icon",73)},MUb=function(a){if(a&1){var b=x();I(0,"button",71);M("click",function(){z(b);var d=P(2),e=P(2);return A(e.setNumDisplayedRows(d))});Q(1);D(2,KUb,
1,0,"mat-icon",72)(3,LUb,1,0,"mat-icon",73);J()}if(a&2){a=P(2);var c=P(2);C();R(" ",a.length>c.numDisplayedRows?"Show more":"Show less"," ");C();G(a.length>c.numDisplayedRows?2:-1);C();G(a.length===c.numDisplayedRows?3:-1)}},NUb=function(a){a&1&&(I(0,"table",16),vg(1,17),D(2,VTb,2,2,"th",18)(3,WTb,2,1,"td",19),wg(),vg(4,20),D(5,XTb,2,1,"th",18)(6,YTb,2,5,"td",19),wg(),vg(7,21),D(8,eUb,4,2,"th",18)(9,oUb,3,1,"td",19),wg(),vg(10,22),D(11,pUb,2,1,"th",18)(12,tUb,3,1,"td",19),wg(),vg(13,23),D(14,uUb,
2,1,"th",18)(15,vUb,2,2,"td",19),wg(),vg(16,24),D(17,wUb,2,1,"th",18)(18,xUb,3,1,"td",19),wg(),vg(19,25),D(20,yUb,2,1,"th",26)(21,GUb,10,7,"td",19),wg(),D(22,HUb,1,0,"tr",27)(23,IUb,1,0,"tr",28)(24,JUb,3,0,"tr",29),J(),D(25,MUb,4,3,"button",30));if(a&2){a=P();var b=P(2);F("dataSource",a.slice(0,b.numDisplayedRows));C(22);F("matHeaderRowDef",b.displayedColumns);C();F("matRowDefColumns",b.displayedColumns);C(2);G(a.length>b.DEFAULT_NUM_ROWS_DISPLAYED?25:-1)}},OUb=function(a,b){a&1&&D(0,TTb,2,0,"p",
15)(1,NUb,26,4);a&2&&(G(b.length===0?0:-1),C(),G(b.length>0?1:-1))},PUb=function(a){a&1&&(D(0,OUb,2,2),S(1,"async"));if(a&2){var b;a=P();G((b=U(1,1,a.allNeedsAttention$))?0:-1,b)}},QUb=function(a){a&1&&(I(0,"div",8),K(1,"b-spinner",74),J());a&2&&(C(),F("ariaLabel","loading needs attention alerts"))},RUb=function(a,b){var c=a.signals.map(function(d){return d.type});a=b.flatMap(function(d){return d.signals.map(function(e){return e.type})});a=Rk(a).filter(function(d){return!c.includes(d)}).sort();return[c.join(","),
a.join(",")]},SUb=function(a,b){a&1&&(I(0,"div",6)(1,"span",8),Q(2),J()());a&2&&(C(2),Tg(b))},TUb=function(a){a&1&&(I(0,"div",7),K(1,"b-needs-attention-table",9),J());a&2&&(a=P(),C(),F("refreshTable",a.refreshData))},UUb=function(a){return{label:"Viewed",description:"Issues you recently viewed",issues:a.watchMany({custom:"viewed",pageSize:50}).pipe(B(function(b){return b.results})),loading:!1}},VUb=function(a){return a.includes("WTDM")&&!a.includes("NON_WTDM")?"WTDM_TYPES":a.includes("NON_WTDM")&&
!a.includes("WTDM")?"STANDARD_TYPES":"ISSUE_TYPE_GROUPS_UNSPECIFIED"},WUb=function(a){a&1&&(I(0,"label",11),Q(1),J());a&2&&(a=P().$implicit,F("matTooltip",a.description),C(),Tg(a.label))},XUb=function(a,b){if(a&1){var c=x();I(0,"source-filter-chips",14);M("change",function(d){z(c);var e=P(4).prefsService;d=d.map(nfb);e.prefs.myTasksSources=d;eu(e,{myTasksSources:d,isMyTasksSourcesConfigured:!0});return A()});J()}a&2&&(a=P(4),F("sourceFilterKeys",a.ALL_MY_TASK_FILTERS)("selectedSources",b))},YUb=function(a,
b){if(a&1){var c=x();I(0,"time-boundary-filter",15);M("change",function(d){z(c);var e=P(4).prefsService;e.prefs.myTasksDaysOld=d;eu(e,{myTasksDaysOld:d});return A()});J()}a&2&&F("selectedTimeBoundary",b)},ZUb=function(a){a&1&&(I(0,"div",9)(1,"span",2),Q(2,"Sources"),J(),D(3,XUb,1,2,"source-filter-chips",12),S(4,"async"),D(5,YUb,1,1,"time-boundary-filter",13),S(6,"async"),J());if(a&2){var b,c;a=P(3);C(3);G((b=U(4,2,a.sources$))?3:-1,b);C(2);G((c=U(6,4,a.timeBoundary$))?5:-1,c)}},$Ub=function(a,b){a&
1&&K(0,"b-issues-table",16);a&2&&(a=P(4),F("issueIds",a.getIds(b))("tableColumns",a.tableColumns)("options",a.tableOptions))},aVb=function(a,b){a&1&&(I(0,"p",18),Q(1),J());a&2&&(C(),R(" ",b.length===0?"Enable source filters to see tasks":"No tasks"," "))},bVb=function(a){a&1&&(D(0,aVb,2,1,"p",18),S(1,"async"));if(a&2){var b;a=P(5);G((b=U(1,1,a.sources$))?0:-1,b)}},cVb=function(a){a&1&&(I(0,"th",36),Q(1,"Type"),J())},dVb=function(a,b){a&1&&(I(0,"td",37),K(1,"mat-icon",38),J());a&2&&(a=b.$implicit,
b=P(6),C(),qg("product-icon ",b.taskResourceTypeToIcon(a),""),F("matTooltip",a.taskResourceType)("svgIcon",b.taskResourceTypeToIcon(a)))},eVb=function(a){a&1&&(I(0,"th",36),Q(1,"Description"),J())},fVb=function(a){a&1&&K(0,"b-issue-visibility-chip",43);a&2&&(a=P(3).$implicit,F("issueId",a.issueId)("compactMode",!0))},gVb=function(a){a&1&&D(0,fVb,1,2,"b-issue-visibility-chip",43);a&2&&(a=P(2).$implicit,G(a.issueId?0:-1))},hVb=function(a){a&1&&K(0,"b-component-access-level-indicator",44);a&2&&(a=P(3).$implicit,
F("accessLevel",a.issueResource.accessLevel)("compactMode",!0))},iVb=function(a){a&1&&D(0,hVb,1,2,"b-component-access-level-indicator",44);a&2&&(a=P(2).$implicit,G(a.issueResource&&a.issueResource.accessLevel?0:-1))},jVb=function(a){a&1&&K(0,"b-issue-priority-display",40);a&2&&(a=P(2).$implicit,F("issuePriority",a.issueResource.priority))},kVb=function(a){if(a&1){var b=x();I(0,"onedev-dma-chip",45);M("onChipClicked",function(){z(b);var c=P(8);return A(c.sendDmaAnalytics())});J()}a&2&&(a=P(2).$implicit,
F("hotlistIds",a.issueResource.hotlistIds))},mVb=function(a){if(a&1){var b=x();D(0,gVb,1,1)(1,iVb,1,1)(2,jVb,1,1,"b-issue-priority-display",40);I(3,"a",41);M("auxclick",function(){z(b);var d=P().$implicit,e=P(6);return A(e.sendClickAnalytics(d))});Q(4);J();D(5,kVb,1,1,"onedev-dma-chip",42)}if(a&2){a=P().$implicit;var c=P(6);G(c.enableNewVisibilityChips?0:1);C(2);G(a.issueResource&&a.issueResource.priority&&lVb(a.issueResource.priority)?2:-1);C();F("href",a.taskResourceType===c.TaskResourceType.ISSUE?
"/issues/"+c.extractLastDigits(a.taskId):a.externalLink,of);eg("target",a.taskResourceType!==c.TaskResourceType.ISSUE?"_blank":null);C();Tg(a.title);C();G(a.issueResource&&a.issueResource.hotlistIds?5:-1)}},nVb=function(a){a&1&&(I(0,"span",39),Q(1,"No access to linked file"),J())},oVb=function(a,b){a&1&&(I(0,"td",37),D(1,mVb,6,6)(2,nVb,2,0,"span",39),J());a&2&&(a=b.$implicit,C(),G(a.title&&a.title!==""?1:2))},pVb=function(a){a&1&&(I(0,"th",36),Q(1,"Last modified"),J())},qVb=function(a){a&1&&K(0,"b-formatted-date-time",
46);a&2&&(a=P().$implicit,F("timestamp",a.lastModifiedTimestamp)("paddingLeftPx",0))},rVb=function(a,b){a&1&&(I(0,"td",37),D(1,qVb,1,2,"b-formatted-date-time",46),J());a&2&&(a=b.$implicit,C(),G(a.lastModifiedTimestamp?1:-1))},sVb=function(a){a&1&&(I(0,"th",36),Q(1,"My role"),J())},tVb=function(a,b){a&1&&(I(0,"td",37),Q(1),J());a&2&&(a=b.$implicit,C(),Tg(a.resourceRelationships[0].roleName))},uVb=function(a){a&1&&(I(0,"th",36),Q(1,"Creation date"),J())},vVb=function(a){a&1&&K(0,"b-formatted-date-time",
46);a&2&&(a=P().$implicit,F("timestamp",a.createdTimestamp)("paddingLeftPx",0))},wVb=function(a){a&1&&Q(0," -- ")},xVb=function(a,b){a&1&&(I(0,"td",37),D(1,vVb,1,2,"b-formatted-date-time",46)(2,wVb,1,0),J());a&2&&(a=b.$implicit,C(),G(a.createdTimestamp?1:2))},yVb=function(a){a&1&&(I(0,"th",47),Q(1," Options "),J())},AVb=function(a){if(a&1){var b=x();I(0,"button",53);M("click",function(c){z(b);var d=P().$implicit,e=P(6);c.preventDefault();return A(zVb(e,d))});K(1,"mat-icon",54);J()}a&2&&(a=P(7),F("disabled",
a.isSavingManualSignal)("matTooltip","Trigger a needs attention alert on this task"))},BVb=function(a,b){if(a&1){var c=x();I(0,"td",48)(1,"div",49);D(2,AVb,2,2,"button",50);I(3,"button",51);M("click",function(d){var e=z(c).$implicit,f=P(6);d.preventDefault();return A(f.copyIdOrLink(e))});K(4,"mat-icon",52);J()()()}a&2&&(a=b.$implicit,b=P(6),C(2),G(b.enableManualSignaling?2:-1),C(),F("matTooltip",a.taskResourceType===b.TaskResourceType.ISSUE?"Copy ID to clipboard":"Copy link to clipboard"),eg("aria-label",
a.taskResourceType===b.TaskResourceType.ISSUE?"Copy ID to clipboard":"Copy link to clipboard"))},CVb=function(a){a&1&&K(0,"tr",55)},DVb=function(a){if(a&1){var b=x();I(0,"tr",56);M("click",function(c){var d=z(b).$implicit,e=P(6);return A(e.navigateToResource(c,d))});J()}},EVb=function(a){a&1&&K(0,"mat-icon",60)},FVb=function(a){a&1&&K(0,"mat-icon",61)},GVb=function(a){if(a&1){var b=x();I(0,"button",59);M("click",function(){z(b);var d=P(3),e=P(4);return A(e.setNumDisplayedRows(d))});Q(1);D(2,EVb,1,
0,"mat-icon",60)(3,FVb,1,0,"mat-icon",61);J()}if(a&2){a=P(3);var c=P(4);C();R(" ",a.length>c.numDisplayedRows?"Show more":"Show less"," ");C();G(a.length>c.numDisplayedRows?2:-1);C();G(a.length===c.numDisplayedRows?3:-1)}},HVb=function(a){a&1&&(I(0,"td",57),D(1,GVb,4,3,"button",58),J());if(a&2){a=P(2);var b=P(4);C();G(a.length>b.DEFAULT_NUM_ROWS_DISPLAYED?1:-1)}},IVb=function(a){a&1&&K(0,"tr",62);if(a&2){a=P(2);var b=P(4);F("hidden",!(a.length>b.DEFAULT_NUM_ROWS_DISPLAYED))}},JVb=function(a,b){a&
1&&(I(0,"td",64),Q(1),J());a&2&&(C(),R(" ",b.length===0?"Enable source filters to see tasks":"No tasks found"," "))},KVb=function(a){a&1&&(I(0,"tr",63),D(1,JVb,2,1,"td",64),S(2,"async"),J());if(a&2){var b;a=P(6);C();G((b=U(2,1,a.sources$))?1:-1,b)}},NVb=function(a){a&1&&(I(0,"table",19),vg(1,20),D(2,cVb,2,0,"th",21)(3,dVb,2,5,"td",22),wg(),vg(4,23),D(5,eVb,2,0,"th",21)(6,oVb,3,1,"td",22),wg(),vg(7,24),D(8,pVb,2,0,"th",21)(9,rVb,2,1,"td",22),wg(),vg(10,25),D(11,sVb,2,0,"th",21)(12,tVb,2,1,"td",22),
wg(),vg(13,26),D(14,uVb,2,0,"th",21)(15,xVb,3,1,"td",22),wg(),vg(16,27),D(17,yVb,2,0,"th",28)(18,BVb,5,3,"td",29),wg(),D(19,CVb,1,0,"tr",30)(20,DVb,1,0,"tr",31),vg(21,32),D(22,HVb,2,1,"td",33),wg(),D(23,IVb,1,1,"tr",34)(24,KVb,3,3,"tr",35),J());if(a&2){a=P();var b=P(2).$implicit,c=P(2);qg("table-",b.label,"");F("dataSource",a.slice(0,c.numDisplayedRows)||ah(7,LVb));C(19);F("matHeaderRowDef",c.displayColumns);C();F("matRowDefColumns",c.displayColumns);C(3);F("matFooterRowDef",ah(8,MVb))}},OVb=function(a,
b){a&1&&D(0,bVb,2,3)(1,NVb,25,9,"table",17);a&2&&(G(b.length===0?0:-1),C(),G(b.length>0?1:-1))},PVb=function(a){a&1&&(D(0,$Ub,1,3,"b-issues-table",16),S(1,"async"),D(2,OVb,2,2),S(3,"async"));if(a&2){var b,c;a=P().$implicit;G((b=U(1,2,a.issues))?0:-1,b);C(2);G((c=U(3,4,a.liteTasks))?2:-1,c)}},QVb=function(a){a&1&&(I(0,"div",10),K(1,"b-spinner",65),J());a&2&&(C(),F("ariaLabel","loading tasks"))},RVb=function(a,b){a&1&&(I(0,"mat-tab"),D(1,WUb,2,2,"ng-template",8)(2,ZUb,7,6,"div",9)(3,PVb,4,6)(4,QVb,
2,1,"div",10),J());a&2&&(a=b.$implicit,C(2),G(a.liteTasks?2:-1),C(),G(a.loading?4:3))},SVb=function(a){if(a&1){var b=x();I(0,"div",6)(1,"mat-tab-group",7);M("selectedIndexChange",function(c){z(b);var d=P();return A(d.onTabIndexChange(c))});tg(2,RVb,5,2,"mat-tab",null,sg);J()()}a&2&&(a=P(),C(),F("selectedIndex",a.INITIAL_TAB_INDEX),C(),ug(a.tabData))},TVb=function(a,b){return a.lastModifiedTimestamp?b.lastModifiedTimestamp?Sk(b.lastModifiedTimestamp)-Sk(a.lastModifiedTimestamp):1:-1},UVb=function(a){a&
1&&(I(0,"mat-option",20),Q(1),J());a&2&&(a=P().$implicit,F("value",a),C(),R(" ",a.name," "))},VVb=function(a,b){a&1&&D(0,UVb,2,2,"mat-option",20);a&2&&G(b.$implicit.shouldDisplay()?0:-1)},WVb=function(a,b){a&1&&(I(0,"mat-option",22),Q(1),J());a&2&&(a=b.$implicit,F("value",a.id),C(),R(" ",a.name," "))},YVb=function(a){if(a&1){var b=x();I(0,"mat-form-field",5)(1,"mat-select",21);Xg("ngModelChange",function(c){z(b);var d=P();Wg(d.preferredHomepage.selectedOptionId,c)||(d.preferredHomepage.selectedOptionId=
c);return A(c)});M("selectionChange",function(){z(b);var c=P();return A(XVb(c.preferredHomepage))});tg(2,WVb,2,2,"mat-option",22,sg);J()()}a&2&&(a=P(),C(),Vg("ngModel",a.preferredHomepage.selectedOptionId),C(),ug(a.preferredHomepage.selectedMainOption.options))},ZVb=function(a){if(a&1){var b=x();I(0,"div")(1,"mat-slide-toggle",23);M("change",function(c){z(b);var d=P();c=c.checked;if(d.userPreferences){var e;d.userPreferences.missionControlPreferences=(e=d.userPreferences.missionControlPreferences)!=
null?e:{};e=!c;d.userPreferences.missionControlPreferences.hideBadgeInNav=e;d.save("hideBadgeInNav",String(e))}return A()});Q(2,' Show red "attention" badge in left navigation ');J()()}a&2&&(a=P(),C(),F("checked",!a.hideBadgeInNav))},$Vb=function(a,b){a&1&&(I(0,"mat-option",12),Q(1),J());a&2&&(a=b.$implicit,F("value",a.value),C(),R(" ",a.label," "))},aWb=function(a,b){a&1&&(I(0,"mat-option",12),Q(1),J());a&2&&(a=b.$implicit,F("value",a.value),C(),R(" ",a.label," "))},bWb=function(a,b){a&1&&(I(0,"mat-option",
12),Q(1),J());a&2&&(a=b.$implicit,F("value",a.value),C(),R(" ",a.label," "))},dWb=function(a){if(a&1){var b=x();I(0,"div",18)(1,"mat-slide-toggle",24);M("change",function(c){z(b);var d=P();d.userPreferences.textDisplayPreferences&&(d.userPreferences.textDisplayPreferences.commentDisplayOverride=c.checked?"LITERAL_FORMATTING_MODE":void 0,d.save("saveTextDisplayPreferences.commentDisplayOverride"));return A()});Q(2," Force comments to display as plain text ");J()()}a&2&&(a=P(),C(),F("checked",cWb(a)))},
eWb=function(a){if(a&1){var b=x();I(0,"div",18)(1,"mat-slide-toggle",25);M("change",function(c){z(b);var d=P();c=c.checked;d.userPreferences.showInlineImages=c;d.save("showInlineImages",c.toString());return A()});Q(2," Show SnipIt images inline in comments ");J()()}a&2&&(a=P(),C(),F("checked",a.getShowInlineImages()))},hWb=function(a){if(a&1){var b=x();K(0,"hr",8);I(1,"div",0)(2,"div",1)(3,"p",2);Q(4,"Comment formatting settings");J()();I(5,"div")(6,"div",18)(7,"mat-slide-toggle",26);M("change",function(c){z(b);
var d=P();d.userPreferences.commentFormattingPreferences&&(d.userPreferences.commentFormattingPreferences.commentDisplayOverride=c.checked?"LITERAL_FORMATTING_MODE":void 0,d.save("saveCommentFormattingPreferences.commentDisplayOverride"));return A()});Q(8," Force comments to display as plain text ");J()();I(9,"div",18)(10,"mat-slide-toggle",27);M("change",function(c){z(b);var d=P();d.userPreferences.commentFormattingPreferences&&(d.userPreferences.commentFormattingPreferences.commentCreateOverride=
c.checked?"LITERAL_FORMATTING_MODE":void 0,d.save("saveCommentFormattingPreferences.commentCreateOverride"));return A()});Q(11," Force comments to be created as plain text ");J()()()()}a&2&&(a=P(),C(7),F("checked",fWb(a)),C(3),F("checked",gWb(a)))},iWb=function(a){if(a&1){var b=x();I(0,"div",0)(1,"div",1)(2,"p",2);Q(3,"Other");J()();I(4,"div")(5,"div")(6,"mat-slide-toggle",28);M("change",function(c){z(b);var d=P();d.userPreferences.bugScreensaverPreferences.enableBugScreensaver=c.checked;return A(d.save("saveBugScreensaverPreferences"))});
Q(7," Enable bug screensaver ");J()()()()}a&2&&(a=P(),C(6),F("checked",a.userPreferences.bugScreensaverPreferences.enableBugScreensaver))},jWb=function(a,b){a&1&&(I(0,"mat-option",8),Q(1),S(2,"toNewEmailPreference"),J());a&2&&(a=b.$implicit,F("value",a),C(),R(" ",U(2,2,a)," "))},kWb=function(a,b){a&1&&(I(0,"mat-option",8),Q(1),S(2,"toNewEmailPreference"),J());a&2&&(a=b.$implicit,F("value",a),C(),R(" ",U(2,2,a)," "))},lWb=function(a,b){a&1&&(I(0,"mat-option",8),Q(1),S(2,"toNewEmailPreference"),J());
a&2&&(a=b.$implicit,F("value",a),C(),R(" ",U(2,2,a)," "))},mWb=function(a,b){a&1&&(I(0,"mat-option",8),Q(1),S(2,"toNewEmailPreference"),J());a&2&&(a=b.$implicit,F("value",a),C(),R(" ",U(2,2,a)," "))},nWb=function(a,b){a&1&&(I(0,"mat-option",8),Q(1),S(2,"toNewEmailPreference"),J());a&2&&(a=b.$implicit,F("value",a),C(),R(" ",U(2,2,a)," "))},oWb=function(a,b){a&1&&(I(0,"mat-option",8),Q(1),S(2,"toNewEmailPreference"),J());a&2&&(a=b.$implicit,F("value",a),C(),R(" ",U(2,2,a)," "))},pWb=function(a,b){a&
1&&(I(0,"mat-option",2),Q(1),J());a&2&&(a=b.$implicit,F("value",a.id),C(),R(" ",a.displayName," "))},qWb=function(a,b){return a.gmt===b.gmt?a.id>b.id?1:-1:a.gmt>b.gmt?1:-1},rWb=function(a){a&1&&K(0,"b-spinner")},sWb=function(a){a&1&&(I(0,"mat-hint"),Q(1,"This field is read-only"),J())},tWb=function(a,b){a&1&&(I(0,"mat-option",18),Q(1),J());a&2&&(a=b.$implicit,F("value",a.frequency),C(),R(" ",a.display," "))},uWb=function(a,b){a&1&&(I(0,"mat-option",18),Q(1),J());a&2&&(a=b.$implicit,F("value",a.ordinal),
C(),R(" ",a.display," "))},vWb=function(a){if(a&1){var b=x();I(0,"div")(1,"mat-form-field",15)(2,"mat-label");Q(3," Repeat on ");J();I(4,"mat-select",17);M("ngModelChange",function(d){z(b);var e=P(2),f=P(2);cv(f,Object.assign({},e,{ordinal:d}));return A()});tg(5,uWb,2,2,"mat-option",18,sg);J()()()}if(a&2){a=P(2);var c=P(2);C(4);F("ngModel",a.ordinal);C();ug(c.repeatOnOptions.get(a.frequency))}},wWb=function(a,b){a&1&&(I(0,"mat-option",18),Q(1),J());a&2&&(a=b.$implicit,F("value",a.timeOfDay),C(),R(" ~",
a.display," "))},xWb=function(a,b){if(a&1){var c=x();I(0,"div")(1,"mat-form-field",15)(2,"mat-label");Q(3," Repeat at ");J();I(4,"mat-select",27);M("ngModelChange",function(e){z(c);var f=P(2),h=P(2);cv(h,Object.assign({},f,{timeOfDay:e}));return A()});tg(5,wWb,2,2,"mat-option",18,sg);J()()()}if(a&2){a=P(2);var d=P(2);C(4);F("ngModel",a.timeOfDay)("compareWith",d.compareTimeOfDay);C();ug(b)}},yWb=function(a,b){a&1&&(I(0,"mat-option",18),Q(1),J());a&2&&(a=b.$implicit,F("value",a.value),C(),Tg(a.displayText))},
AWb=function(a,b){if(a&1){var c=x();I(0,"div",25)(1,"a",28);Q(2);J();I(3,"button",29);M("click",function(){var d=z(c).$implicit,e=P(2),f=P(2);return A(zWb(f,e,d))});K(4,"mat-icon",30);J()()}a&2&&(a=b.$implicit,C(),F("href","/slos/"+a,of),C(),Tg(a),C(),F("matTooltip","Remove SLO ID "+a))},BWb=function(a){a&1&&(I(0,"div",26),Q(1),J());a&2&&(a=P(2),C(),R(" Subscription ID: ",a.id," "))},DWb=function(a){if(a&1){var b=x();I(0,"div")(1,"mat-form-field",15)(2,"mat-label");Q(3," Frequency ");J();I(4,"mat-select",
17);M("ngModelChange",function(e){z(b);var f=P(),h=P(2);return A(h.setFrequency(e,f))});tg(5,tWb,2,2,"mat-option",18,sg);J()()();D(7,vWb,7,1,"div")(8,xWb,7,2,"div");S(9,"async");I(10,"div")(11,"b-timezone-picker",19);M("timezoneIdChange",function(e){z(b);var f=P(),h=P(2);return A(h.setTimeZone(e,f))});J()();I(12,"div")(13,"mat-form-field",20)(14,"mat-label");Q(15,"Days remaining");J();I(16,"input",21);Xg("ngModelChange",function(e){z(b);var f=P(3);Wg(f.inputDaysRemaining,e)||(f.inputDaysRemaining=
e);return A(e)});M("blur",function(){z(b);var e=P(),f=P(2);return A(f.setDaysRemaining(e))})("keydown.enter",function(){z(b);var e=P(),f=P(2);return A(f.setDaysRemaining(e))});J()()();I(17,"div")(18,"mat-form-field",20)(19,"mat-label");Q(20,"Types");J();I(21,"mat-select",22);M("ngModelChange",function(e){z(b);var f=P(),h=P(2);return A(h.setIssueType(e,f))});tg(22,yWb,2,2,"mat-option",18,sg);J()()();I(24,"div",8)(25,"mat-form-field",23)(26,"mat-label");Q(27,"Add SLO ID");J();I(28,"input",24);Xg("ngModelChange",
function(e){z(b);var f=P(3);Wg(f.newSloId,e)||(f.newSloId=e);return A(e)});M("keydown.enter",function(){z(b);var e=P(),f=P(2);return A(CWb(f,e))})("blur",function(){z(b);var e=P(),f=P(2);return A(CWb(f,e))});J()();tg(29,AWb,5,3,"div",25,sg);J();D(31,BWb,2,1,"div",26)}if(a&2){var c;a=P();var d=P(2);C(4);F("ngModel",a.frequency);C();ug(d.frequencyOptions);C(2);G(a.frequency!==d.DAILY?7:-1);C();G((c=U(9,9,d.repeatAtOptions$))?8:-1,c);C(3);F("timezoneId",a.timeZone.id)("fullWidth",!0);C(5);Vg("ngModel",
d.inputDaysRemaining);C(5);F("ngModel",a.types);C();ug(d.typeChoices);C(6);Vg("ngModel",d.newSloId);C();ug(a.sloIds);C(2);G(a.id?31:-1)}},FWb=function(a,b){if(a&1){var c=x();I(0,"div")(1,"div",8)(2,"mat-slide-toggle",14);S(3,"async");M("change",function(){z(c);var d=P(2);return A(EWb(d))});Q(4," Subscribe to your own reports ");D(5,rWb,1,0,"b-spinner");S(6,"async");J()();I(7,"div")(8,"mat-form-field",15)(9,"mat-label");Q(10,"Scope");J();I(11,"input",16);M("focus",function(){z(c);var d=P(2);return A(d.inputHasFocus=
!0)})("blur",function(){z(c);var d=P(2);return A(d.inputHasFocus=!1)});J();D(12,sWb,2,0,"mat-hint");J()();D(13,DWb,32,11);J()}a&2&&(a=P(2),C(2),F("disabled",U(3,6,a.isThinking$))("checked",b.id!==0),C(3),G(U(6,8,a.isThinking$)?5:-1),C(6),F("ngModel",a.currentUser.email),C(),G(a.inputHasFocus?12:-1),C(),G(b.id!==0?13:-1))},GWb=function(a){a&1&&(I(0,"div",2)(1,"div",3)(2,"p",4),Q(3,"Frequency settings"),J(),I(4,"p",11),Q(5," Choose when to receive your own reports. "),I(6,"a",12),Q(7,"Learn more"),
J()()(),D(8,FWb,14,10,"div"),S(9,"async"),J(),K(10,"hr",13));if(a&2){var b;a=P();C(8);G((b=U(9,1,a.userSubscription$))?8:-1,b)}},HWb=function(a){a&1&&K(0,"b-spinner")},IWb=function(a){a&1&&(I(0,"th",38),Q(1,"Scope"),J())},JWb=function(a,b){a&1&&(I(0,"td",39),Q(1),J());a&2&&(a=b.$implicit,C(),R(" ",a.lead.emailAddress," "))},KWb=function(a){a&1&&(I(0,"th",38),Q(1,"Frequency"),J())},NWb=function(a,b){a&1&&(I(0,"td",39),Q(1),S(2,"async"),S(3,"async"),J());if(a&2){var c;a=b.$implicit;b=P(2);C();ama(" ",
b.frequencyDisplayMap.get(a.frequency)," ",a.ordinal?a.frequency==="weekly"?"- "+LWb[a.ordinal-1].display:a.frequency==="monthly"?"- "+MWb(a.ordinal):"":""," - ",(c=U(2,4,b.hourOfDayDisplayMap$))==null?null:c.get(a.timeOfDay.hours)," - ",(c=U(3,6,b.timeZoneDisplayMap$))==null?null:c.get(a.timeZone.id)," ")}},OWb=function(a){a&1&&K(0,"th",38)},QWb=function(a){if(a&1){var b=x();I(0,"td",39)(1,"button",40);K(2,"mat-icon",41);J();I(3,"mat-menu",null,1)(5,"button",42);M("click",function(){var c=z(b).$implicit,
d=P(2);return A(d.openDialog(c))});Q(6," Edit subscription ");J();I(7,"button",43);M("click",function(){var c=z(b).$implicit,d=P(2);return A(PWb(d,c))});Q(8," Delete subscription ");J()()()}a&2&&(a=L(4),C(),F("matMenuTriggerFor",a))},RWb=function(a){a&1&&K(0,"tr",44)},SWb=function(a,b){a&1&&K(0,"tr",45);a&2&&(a=b.$implicit,eg("aria-label","Subscription with ID "+a.id+" and scoped to "+a.lead.emailAddress))},TWb=function(a){a&1&&(I(0,"table",10),vg(1,31),D(2,IWb,2,0,"th",32)(3,JWb,2,1,"td",33),wg(),
vg(4,34),D(5,KWb,2,0,"th",32)(6,NWb,4,8,"td",33),wg(),vg(7,35),D(8,OWb,1,0,"th",32)(9,QWb,9,1,"td",33),wg(),D(10,RWb,1,0,"tr",36)(11,SWb,1,1,"tr",37),J());a&2&&(a=P(),F("dataSource",a.subscriptions$),C(10),F("matHeaderRowDef",a.columns),C(),F("matRowDefColumns",a.columns))},UWb=function(a){a&1&&(I(0,"mat-error"),Q(1,"Please select a valid, single user"),J())},VWb=function(a){a&1&&(I(0,"mat-error"),Q(1,"Report for sundar@ cannot be generated"),J())},WWb=function(a,b){a&1&&(I(0,"mat-option",18),Q(1),
J());a&2&&(a=b.$implicit,F("value",a.frequency),C(),R(" ",a.display," "))},XWb=function(a,b){a&1&&(I(0,"mat-option",18),Q(1),J());a&2&&(a=b.$implicit,F("value",a.ordinal),C(),R(" ",a.display," "))},YWb=function(a){if(a&1){var b=x();I(0,"div")(1,"mat-form-field",15)(2,"mat-label");Q(3," Repeat on ");J();I(4,"mat-select",17);Xg("ngModelChange",function(d){z(b);var e=P().$implicit;Wg(e.ordinal,d)||(e.ordinal=d);return A(d)});tg(5,XWb,2,2,"mat-option",18,sg);J()()()}if(a&2){a=P().$implicit;var c=P();
C(4);Vg("ngModel",a.ordinal);C();ug(c.repeatOnOptions.get(a.frequency))}},ZWb=function(a,b){a&1&&(I(0,"mat-option",18),Q(1),J());a&2&&(a=b.$implicit,F("value",a.timeOfDay),C(),R(" ~",a.display," "))},$Wb=function(a,b){if(a&1){var c=x();I(0,"div")(1,"mat-form-field",15)(2,"mat-label");Q(3," Repeat at ");J();I(4,"mat-select",27);Xg("ngModelChange",function(e){z(c);var f=P().$implicit;Wg(f.timeOfDay,e)||(f.timeOfDay=e);return A(e)});tg(5,ZWb,2,2,"mat-option",18,sg);J()()()}if(a&2){a=P().$implicit;var d=
P();C(4);Vg("ngModel",a.timeOfDay);F("compareWith",d.compareTimeOfDay);C();ug(b)}},aXb=function(a,b){a&1&&(I(0,"mat-option",18),Q(1),J());a&2&&(a=b.$implicit,F("value",a.value),C(),Tg(a.displayText))},cXb=function(a,b){if(a&1){var c=x();I(0,"div",25)(1,"a",28);Q(2);J();I(3,"button",29);M("click",function(){var d=z(c).$implicit,e=P().$implicit;P();return A(bXb(e,d))});K(4,"mat-icon",30);J()()}a&2&&(a=b.$implicit,C(),F("href","/slos/"+a,of),C(),Tg(a),C(),F("matTooltip","Remove SLO ID "+a))},dXb=function(a){a&
1&&(I(0,"div",26),Q(1),J());a&2&&(a=P().$implicit,C(),R(" Subscription ID: ",a.id," "))},hXb=function(a,b){if(a&1){var c=x();I(0,"h1",46);Q(1,"Add report subscription");J();I(2,"mat-dialog-content")(3,"p",47);Q(4," Select the user (scope) and frequency of the report you wish to receive. ");J();I(5,"div")(6,"mat-form-field",48)(7,"mat-label");Q(8,"Scope");J();I(9,"input",49);M("ngModelChange",function(f){var h=z(c).$implicit,l=P();return A(h.lead=l.emailToUser(f))});J();D(10,UWb,2,0,"mat-error")(11,
VWb,2,0,"mat-error");J()();I(12,"div")(13,"mat-form-field",15)(14,"mat-label");Q(15," Frequency ");J();I(16,"mat-select",17);Xg("ngModelChange",function(f){var h=z(c).$implicit;Wg(h.frequency,f)||(h.frequency=f);return A(f)});M("ngModelChange",function(f){var h=z(c).$implicit;P();return A(eXb(f,h))});tg(17,WWb,2,2,"mat-option",18,sg);J()()();D(19,YWb,7,1,"div")(20,$Wb,7,2,"div");S(21,"async");I(22,"div")(23,"b-timezone-picker",19);M("timezoneIdChange",function(f){var h=z(c).$implicit;return A(h.timeZone.id=
f)});J()();I(24,"div")(25,"mat-form-field",15)(26,"mat-label");Q(27,"Days remaining");J();I(28,"input",50);Xg("ngModelChange",function(f){var h=z(c).$implicit;Wg(h.daysRemaining,f)||(h.daysRemaining=f);return A(f)});J()()();I(29,"div")(30,"mat-form-field",15)(31,"mat-label");Q(32,"Types");J();I(33,"mat-select",22);Xg("ngModelChange",function(f){var h=z(c).$implicit;Wg(h.types,f)||(h.types=f);return A(f)});tg(34,aXb,2,2,"mat-option",18,sg);J()()();I(36,"div",8)(37,"mat-form-field",51)(38,"mat-label");
Q(39,"Add SLO ID");J();I(40,"input",24);Xg("ngModelChange",function(f){z(c);var h=P();Wg(h.newSloId,f)||(h.newSloId=f);return A(f)});M("keydown.enter",function(){var f=z(c).$implicit,h=P();return A(fXb(h,f))})("blur",function(){var f=z(c).$implicit,h=P();return A(fXb(h,f))});J()();tg(41,cXb,5,3,"div",25,sg);J();D(43,dXb,2,1,"div",26);I(44,"p",52);Q(45," You are the only recipient of your subscription. Anyone else wishing to receive this report will need to subscribe for themselves. ");J();I(46,"a",
53);Q(47,"Learn more");J()();I(48,"mat-dialog-actions")(49,"button",54);Q(50,"Cancel");J();I(51,"button",9);M("click",function(){var f=z(c).$implicit,h=P();return A(gXb(h,f))});Q(52);J()()}if(a&2){var d,e;a=b.$implicit;b=P();C(9);F("ngModel",(d=a.lead==null?null:a.lead.emailAddress)!==null&&d!==void 0?d:"")("bContactAutocomplete","SINGLE");C();G(b.dialogInvalidEmailFormat?10:-1);C();G(b.ceoSelected?11:-1);C(5);Vg("ngModel",a.frequency);C();ug(b.frequencyOptions);C(2);G(a.frequency!==b.DAILY?19:-1);
C();G((e=U(21,15,b.repeatAtOptions$))?20:-1,e);C(3);F("timezoneId",a.timeZone.id)("fullWidth",!0);C(5);Vg("ngModel",a.daysRemaining);C(5);Vg("ngModel",a.types);C();ug(b.typeChoices);C(6);Vg("ngModel",b.newSloId);C();ug(a.sloIds);C(2);G(a.id?43:-1);C(8);F("disabled",!a.lead||!a.lead.emailAddress);C();R(" ",a.id===0?"Add":"Update"," ")}},MWb=function(a){var b=a%10,c=a%100;return b===1&&c!==11?String(a)+"st":b===2&&c!==12?String(a)+"nd":b===3&&c!==13?String(a)+"rd":String(a)+"th"},iXb=function(a){a&
1&&(I(0,"mat-tab",5)(1,"div",3),K(2,"b-slo-reports-settings"),J()())},jXb=function(a){a&1&&K(0,"b-star-toggle",5);a&2&&F("starMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("unStarMessage","You are an admin of this bookmark group, and cannot star/unstar it.")("starred",!0)("disabled",!0)},kXb=function(a){if(a&1){var b=x();I(0,"b-star-toggle",11);M("starClicked",function(){z(b);var c=P(2);return A(c.toggleStar())});J()}a&2&&(a=P(2),F("starMessage","Star this bookmark group")("unStarMessage",
"Un-star this bookmark group")("starred",a.isStarred))},lXb=function(a,b){a&1&&(I(0,"li")(1,"a",12),Q(2),J()());a&2&&(a=b.$implicit,b=P(2),C(),F("href",b.getUrl(a),of),C(),Tg(b.getDisplayName(a)))},mXb=function(a){if(a&1){var b=x();I(0,"div")(1,"div",3)(2,"div",4);D(3,jXb,1,4,"b-star-toggle",5)(4,kXb,1,3,"b-star-toggle",6);I(5,"span",7);Q(6);J();I(7,"button",8);M("click",function(){z(b);var c=P();return A(c.openEditBookmarkGroup())});J()();I(8,"div",9);Q(9);J()();I(10,"ul",10);tg(11,lXb,3,2,"li",
null,sg);J()()}a&2&&(a=P(),C(3),G(a.userIsAdmin?3:4),C(3),R("Bookmark Group: ",a.bookmarkGroup.name," "),C(3),Tg(a.bookmarkGroup.description),C(2),ug(a.bookmarkGroup.item))},nXb=function(a){if(a&1){var b=x();I(0,"button",10);M("click",function(){z(b);var c=P(2);return A(c.addToMissionControl(c.hotlistId))});Q(1," Hotlist insights in Home ");J()}},oXb=function(a,b){a&1&&D(0,nXb,2,0,"button",9);a&2&&(a=P(),G(a.showAddToMcButton(b)?0:-1))},pXb=function(a){if(a&1){var b=x();I(0,"b-star-toggle",16);M("starClicked",
function(){z(b);var c=P(2);return A(c.toggleStar())})("keydown.space",function(c){z(b);return A(c.stopPropagation())})("keydown.enter",function(c){z(b);return A(c.stopPropagation())});J()}a&2&&(a=P(2),F("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("starred",a.isStarred))},qXb=function(a){a&1&&K(0,"b-star-toggle",12);a&2&&F("starMessage","You are an admin of this hotlist, and cannot star/unstar it.")("unStarMessage","You are an admin of this hotlist, and cannot star/unstar it.")("starred",
!0)("disabled",!0)},rXb=function(a){a&1&&K(0,"b-star-toggle",12);a&2&&F("starMessage","")("unStarMessage","")("starred",!1)("disabled",!0)},sXb=function(a){a&1&&(I(0,"div",14),Q(1," Hotlist not found. "),J());a&2&&F("bFocus",!0)},tXb=function(a){a&1&&(I(0,"div"),Q(1," Loading details... "),J())},uXb=function(a){a&1&&(I(0,"span",19),Q(1," (archived) "),J())},vXb=function(a){a&1&&(I(0,"span",22),Q(1," \u00a0(changed) "),J())},wXb=function(a){if(a&1){var b=x();I(0,"div")(1,"span",17);Q(2," Hotlist: ");
I(3,"span",18);Q(4);J()();D(5,uXb,2,0,"span",19);I(6,"div",20)(7,"button",21);M("click",function(){z(b);var c=P(2);return A(c.openEditHotlist())});J()();D(8,vXb,2,0,"span",22);J()}a&2&&(a=P(2),C(3),F("matTooltip",a.hotlist.description),C(),R(" ",a.hotlist.name," "),C(),G(a.hotlist.archived?5:-1),C(3),G(a.hasParamChanges()?8:-1))},xXb=function(a){if(a&1){var b=x();I(0,"div",15)(1,"button",23);M("click",function(){z(b);var c=P(2);return A(c.save())});Q(2,"Save ");J();I(3,"button",24);M("click",function(){z(b);
var c=P(2);return A(c.discardChanges())});Q(4,"Discard changes ");J()()}},yXb=function(a){a&1&&(I(0,"div",5),D(1,pXb,1,3,"b-star-toggle",11)(2,qXb,1,4,"b-star-toggle",12)(3,rXb,1,4,"b-star-toggle",12),I(4,"div",13),D(5,sXb,2,1,"div",14)(6,tXb,2,0,"div")(7,wXb,9,4,"div"),J(),D(8,xXb,5,0,"div",15),J());a&2&&(a=P(),C(),G(a.isDirectAdmin()||!a.hotlist||a.hotlist.archived?-1:1),C(),G(a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived?2:-1),C(),G(a.hotlist?-1:3),C(2),G(a.hotlist||a.hotlistLoading?-1:5),
C(),G(a.hotlistLoading?6:-1),C(),G(a.hotlist&&!a.hotlistLoading?7:-1),C(),G(a.hasParamChanges()?8:-1))},zXb=function(a){a&1&&(I(0,"div",6),K(1,"b-spinner"),I(2,"span"),Q(3),J()());a&2&&(a=P(),C(3),R(" Loading hotlist: ",a.hotlistId,""))},AXb=function(a){a&1&&(I(0,"div",7),Q(1),J());a&2&&(a=P(),F("bFocus",!0),C(),R(" No issues in hotlist ",a.hotlistId,". "))},BXb=function(a){if(a&1){var b=x();I(0,"div",8)(1,"b-issues-grid",25);M("init",function(c){z(b);var d=P();return A(d.resultsGrid=c)});Xg("focusedRowIndexChange",
function(c){z(b);var d=P();Wg(d.focusedRowIndex,c)||(d.focusedRowIndex=c);return A(c)})("columnsChange",function(c){z(b);var d=P();Wg(d.issueColumns,c)||(d.issueColumns=c);return A(c)});M("sortChange",function(c){z(b);var d=P();return A(d.setSort(c.field,c.direction))})("rowClick",function(c){z(b);var d=P();return A(d.goToIssue(c.id,c.isRead,c.event))})("onRowDragDrop",function(c){z(b);var d=P();return A(d.repositionIssue(c.srcIndex,c.destIndex))})("onNextPage",function(){z(b);var c=P();return A(Vu(c,
c.page,1))})("onPrevPage",function(){z(b);var c=P();return A(Vu(c,c.page,-1))});J()()}a&2&&(a=P(),C(),F("searchResults",a.searchResults),Vg("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns),F("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},CXb=function(a){if(a&1){var b=x();I(0,"button",9);M("click",function(){z(b);var c=P(2);return A(c.addToMissionControl(c.savedSearchId))});Q(1," Saved Search insights in Home ");J()}},DXb=function(a,b){a&1&&D(0,
CXb,2,0,"button",8);a&2&&(a=P(),G(a.showAddToMcButton(b)?0:-1))},EXb=function(a){a&1&&(I(0,"div"),Q(1," Loading details... "),J())},FXb=function(a){a&1&&(I(0,"div"),Q(1," Saved search not found. "),J())},GXb=function(a){a&1&&(I(0,"span",13),Q(1," \u00a0(changed) "),J())},HXb=function(a){if(a&1){var b=x();I(0,"div",10);Q(1," Saved search: ");I(2,"span",11);Q(3);J();I(4,"button",12);M("click",function(){z(b);var c=P(2);return A(c.openEditSavedSearch())});J();D(5,GXb,2,0,"span",13);J()}a&2&&(a=P(2),
C(2),F("matTooltip",a.savedSearch.description),C(),R(" ",a.savedSearch.name," "),C(2),G(a.hasParamChanges()?5:-1))},IXb=function(a){a&1&&(I(0,"div",6),D(1,EXb,2,0,"div")(2,FXb,2,0,"div")(3,HXb,6,3,"div",10),J());a&2&&(a=P(),C(),G(!a.savedSearch&&a.isLoading?1:-1),C(),G(a.savedSearch||a.isLoading?-1:2),C(),G(a.savedSearch?3:-1))},JXb=function(a){if(a&1){var b=x();I(0,"button",18);M("click",function(){z(b);var c=P(2);return A(c.save())});Q(1,"Save ");J()}},KXb=function(a){if(a&1){var b=x();I(0,"div",
7);D(1,JXb,2,0,"button",14);I(2,"button",15);M("click",function(){z(b);var c=P();return A(c.discardChanges())});Q(3,"Discard changes ");J();I(4,"span",16)(5,"a",17);M("click",function(){z(b);var c=P();c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"backToNormalSearch");return A()});Q(6," Back to normal search");J()()()}a&2&&(a=P(),C(),G(a.isEditable()?1:-1),C(4),F("href",a.exitLink,of))},LXb=function(a){a&1&&(I(0,"span"),Q(1),J());a&2&&(a=P(3),C(),R(" Searching",a.searchParams.query?" for "+a.searchParams.query:
"","..."))},MXb=function(a){a&1&&(I(0,"div",19),K(1,"b-spinner"),D(2,LXb,2,1,"span"),J());a&2&&(a=P(2),C(2),G(a.searchParams?2:-1))},NXb=function(a){a&1&&(I(0,"div",20),Q(1," No issues in saved search. "),J());a&2&&F("bFocus",!0)},OXb=function(a){if(a&1){var b=x();I(0,"div",21)(1,"b-issues-grid",22);M("init",function(c){z(b);var d=P(2);return A(d.resultsGrid=c)});Xg("focusedRowIndexChange",function(c){z(b);var d=P(2);Wg(d.focusedRowIndex,c)||(d.focusedRowIndex=c);return A(c)})("columnsChange",function(c){z(b);
var d=P(2);Wg(d.issueColumns,c)||(d.issueColumns=c);return A(c)});M("sortChange",function(c){z(b);var d=P(2);return A(d.setSort(c.field,c.direction))})("rowClick",function(c){z(b);var d=P(2);return A(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){z(b);var c=P(2);return A(Vu(c,c.page,1))})("onPrevPage",function(){z(b);var c=P(2);return A(Vu(c,c.page,-1))});J()()}a&2&&(a=P(2),C(),F("searchResults",a.searchResults),Vg("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns),F("enableColumnSaving",
!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},PXb=function(a){a&1&&(I(0,"div"),D(1,MXb,3,1,"div",19)(2,NXb,2,1,"div",20)(3,OXb,2,6,"div",21),J());a&2&&(a=P(),C(),G(a.isLoading?1:-1),C(),G(a.isLoading||a.hasResults()?-1:2),C(),G(!a.isLoading&&a.hasResults()?3:-1))},QXb=function(a,b){return a()?[b]:[]},RXb=function(){var a=r(dv).getEnvironmentType(),b={};return(b.DEV="Dev",b.NIGHTLY="Autopush",b.QA="Dev",b.PROD="Prod",b)[a]},SXb=function(a,b){var c={};return vi("a",(c.href=b,c.target=
"_blank",c.rel="noopener noreferrer nofollow",c),a)},VXb=function(){return r(dv).getEnvironmentType()==="QA"?TXb:UXb},YXb=function(){return r(dv).getEnvironmentType()==="QA"?WXb:XXb},aYb=function(){return r(dv).getEnvironmentType()==="QA"?ZXb:$Xb},bYb=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},cYb=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},
dYb=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("a");},ea=dYb(this),ev=function(a,b){if(b)a:{var c=ea;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&b!=null&&cYb(c,a,{configurable:!0,writable:!0,value:b})}};
ev("Symbol",function(a){if(a)return a;var b=function(f,h){this.$jscomp$symbol$id_=f;cYb(this,"description",{configurable:!0,writable:!0,value:h})};b.prototype.toString=function(){return this.$jscomp$symbol$id_};var c="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("b");return new b(c+(f||"")+"_"+d++,f)};return e});
ev("Symbol.iterator",function(a){if(a)return a;a=Symbol("c");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=ea[b[c]];typeof d==="function"&&typeof d.prototype[a]!="function"&&cYb(d.prototype,a,{configurable:!0,writable:!0,value:function(){return eYb(bYb(this))}})}return a});ev("Symbol.asyncIterator",function(a){return a?a:Symbol("d")});
var eYb=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},fv=function(a){return fYb(a,a)},fYb=function(a,b){a.raw=b;Object.freeze&&(Object.freeze(a),Object.freeze(b));return a},k=function(a){var b=typeof Symbol!="undefined"&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if(typeof a.length=="number")return{next:bYb(a)};throw Error("e`"+String(a));},nm=function(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c},w=function(a){return a instanceof Array?
a:nm(k(a))},gv=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},gYb=typeof Object.assign=="function"?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)gv(d,e)&&(a[e]=d[e])}return a};ev("Object.assign",function(a){return a||gYb});
var hYb=typeof Object.create=="function"?Object.create:function(a){var b=function(){};b.prototype=a;return new b},iYb=function(){function a(){function c(){}new c;Reflect.construct(c,[],function(){});return new c instanceof c}if(typeof Reflect!="undefined"&&Reflect.construct){if(a())return Reflect.construct;var b=Reflect.construct;return function(c,d,e){c=b(c,d);e&&Reflect.setPrototypeOf(c,e.prototype);return c}}return function(c,d,e){e===void 0&&(e=c);e=hYb(e.prototype||Object.prototype);return Function.prototype.apply.call(c,
e,d)||e}}(),jYb;if(typeof Object.setPrototypeOf=="function")jYb=Object.setPrototypeOf;else{var kYb;a:{var lYb={a:!0},mYb={};try{mYb.__proto__=lYb;kYb=mYb.a;break a}catch(a){}kYb=!1}jYb=kYb?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError("f`"+a);return a}:null}
var hv=jYb,Y=function(a,b){a.prototype=hYb(b.prototype);a.prototype.constructor=a;if(hv)hv(a,b);else for(var c in b)if(c!="prototype")if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.superClass_=b.prototype},iv=function(){this.isRunning_=!1;this.yieldAllIterator_=null;this.yieldResult=void 0;this.nextAddress=1;this.finallyAddress_=this.catchAddress_=0;this.finallyContexts_=this.abruptCompletion_=null};
iv.prototype.start_=function(){if(this.isRunning_)throw new TypeError("h");this.isRunning_=!0};iv.prototype.next_=function(a){this.yieldResult=a};iv.prototype.throw_=function(a){this.abruptCompletion_={exception:a,isException:!0};this.nextAddress=this.catchAddress_||this.finallyAddress_};iv.prototype.return=function(a){this.abruptCompletion_={return:a};this.nextAddress=this.finallyAddress_};var xe=function(a,b,c){a.nextAddress=c;return{value:b}};iv.prototype.jumpTo=function(a){this.nextAddress=a};
var Ce=function(a){a.nextAddress=0},we=function(a,b,c){a.catchAddress_=b;c!=void 0&&(a.finallyAddress_=c)},jv=function(a,b){a.nextAddress=b;a.catchAddress_=0},Be=function(a){a.catchAddress_=0;var b=a.abruptCompletion_.exception;a.abruptCompletion_=null;return b},ye=function(a,b,c,d){d?a.finallyContexts_[d]=a.abruptCompletion_:a.finallyContexts_=[a.abruptCompletion_];a.catchAddress_=b||0;a.finallyAddress_=c||0},ze=function(a,b,c){c=a.finallyContexts_.splice(c||0)[0];(c=a.abruptCompletion_=a.abruptCompletion_||
c)?c.isException?a.nextAddress=a.catchAddress_||a.finallyAddress_:c.jumpTo!=void 0&&a.finallyAddress_<c.jumpTo?(a.nextAddress=c.jumpTo,a.abruptCompletion_=null):a.nextAddress=a.finallyAddress_:a.nextAddress=b},nYb=function(a){this.context_=new iv;this.program_=a};nYb.prototype.next_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return oYb(this,this.context_.yieldAllIterator_.next,a,this.context_.next_);this.context_.next_(a);return kv(this)};
var pYb=function(a,b){a.context_.start_();var c=a.context_.yieldAllIterator_;if(c)return oYb(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.context_.return);a.context_.return(b);return kv(a)};nYb.prototype.throw_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return oYb(this,this.context_.yieldAllIterator_["throw"],a,this.context_.next_);this.context_.throw_(a);return kv(this)};
var oYb=function(a,b,c,d){try{var e=b.call(a.context_.yieldAllIterator_,c);if(!(e instanceof Object))throw new TypeError("g`"+e);if(!e.done)return a.context_.isRunning_=!1,e;var f=e.value}catch(h){return a.context_.yieldAllIterator_=null,a.context_.throw_(h),kv(a)}a.context_.yieldAllIterator_=null;d.call(a.context_,f);return kv(a)},kv=function(a){for(;a.context_.nextAddress;)try{var b=a.program_(a.context_);if(b)return a.context_.isRunning_=!1,{value:b.value,done:!1}}catch(c){a.context_.yieldResult=
void 0,a.context_.throw_(c)}a.context_.isRunning_=!1;if(a.context_.abruptCompletion_){b=a.context_.abruptCompletion_;a.context_.abruptCompletion_=null;if(b.isException)throw b.exception;return{value:b.return,done:!0}}return{value:void 0,done:!0}},qYb=function(a){this.next=function(b){return a.next_(b)};this.throw=function(b){return a.throw_(b)};this.return=function(b){return pYb(a,b)};this[Symbol.iterator]=function(){return this}},qbb=function(a,b){b=new qYb(new nYb(b));hv&&a.prototype&&hv(b,a.prototype);
return b},rYb=function(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function f(h){h.done?d(h.value):Promise.resolve(h.value).then(b,c).then(f,e)}f(a.next())})},ve=function(a){return rYb(new qYb(new nYb(a)))},Fha=function(a){this[Symbol.asyncIterator]=function(){return this};this[Symbol.iterator]=function(){return a};this.next=function(b){return Promise.resolve(a.next(b))};this["throw"]=function(b){return new Promise(function(c,d){var e=a["throw"];
e!==void 0?c(e.call(a,b)):(c=a["return"],c!==void 0&&c.call(a),d(new TypeError("i")))})};a["return"]!==void 0&&(this["return"]=function(b){return Promise.resolve(a["return"](b))})},zd=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};ev("Reflect",function(a){return a?a:{}});ev("Reflect.construct",function(){return iYb});ev("Reflect.setPrototypeOf",function(a){return a?a:hv?function(b,c){try{return hv(b,c),!0}catch(d){return!1}}:null});
ev("Promise",function(a){function b(){this.batch_=null}function c(h){return h instanceof e?h:new e(function(l){l(h)})}if(a)return a;b.prototype.asyncExecute=function(h){if(this.batch_==null){this.batch_=[];var l=this;this.asyncExecuteFunction(function(){l.executeBatch_()})}this.batch_.push(h)};var d=ea.setTimeout;b.prototype.asyncExecuteFunction=function(h){d(h,0)};b.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var h=this.batch_;this.batch_=[];for(var l=0;l<h.length;++l){var q=
h[l];h[l]=null;try{q()}catch(v){this.asyncThrow_(v)}}}this.batch_=null};b.prototype.asyncThrow_=function(h){this.asyncExecuteFunction(function(){throw h;})};var e=function(h){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var l=this.createResolveAndReject_();try{h(l.resolve,l.reject)}catch(q){l.reject(q)}};e.prototype.createResolveAndReject_=function(){function h(v){return function(y){q||(q=!0,v.call(l,y))}}var l=this,q=!1;return{resolve:h(this.resolveTo_),
reject:h(this.reject_)}};e.prototype.resolveTo_=function(h){if(h===this)this.reject_(new TypeError("j"));else if(h instanceof e)this.settleSameAsPromise_(h);else{a:switch(typeof h){case "object":var l=h!=null;break a;case "function":l=!0;break a;default:l=!1}l?this.resolveToNonPromiseObj_(h):this.fulfill_(h)}};e.prototype.resolveToNonPromiseObj_=function(h){var l=void 0;try{l=h.then}catch(q){this.reject_(q);return}typeof l=="function"?this.settleSameAsThenable_(l,h):this.fulfill_(h)};e.prototype.reject_=
function(h){this.settle_(2,h)};e.prototype.fulfill_=function(h){this.settle_(1,h)};e.prototype.settle_=function(h,l){if(this.state_!=0)throw Error("k`"+h+"`"+l+"`"+this.state_);this.state_=h;this.result_=l;this.state_===2&&this.scheduleUnhandledRejectionCheck_();this.executeOnSettledCallbacks_()};e.prototype.scheduleUnhandledRejectionCheck_=function(){var h=this;d(function(){if(h.notifyUnhandledRejection_()){var l=ea.console;typeof l!=="undefined"&&l.error(h.result_)}},1)};e.prototype.notifyUnhandledRejection_=
function(){if(this.isRejectionHandled_)return!1;var h=ea.CustomEvent,l=ea.Event,q=ea.dispatchEvent;if(typeof q==="undefined")return!0;typeof h==="function"?h=new h("unhandledrejection",{cancelable:!0}):typeof l==="function"?h=new l("unhandledrejection",{cancelable:!0}):(h=ea.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledrejection",!1,!0,h));h.promise=this;h.reason=this.result_;return q(h)};e.prototype.executeOnSettledCallbacks_=function(){if(this.onSettledCallbacks_!=null){for(var h=
0;h<this.onSettledCallbacks_.length;++h)f.asyncExecute(this.onSettledCallbacks_[h]);this.onSettledCallbacks_=null}};var f=new b;e.prototype.settleSameAsPromise_=function(h){var l=this.createResolveAndReject_();h.callWhenSettled_(l.resolve,l.reject)};e.prototype.settleSameAsThenable_=function(h,l){var q=this.createResolveAndReject_();try{h.call(l,q.resolve,q.reject)}catch(v){q.reject(v)}};e.prototype.then=function(h,l){function q(H,O){return typeof H=="function"?function(N){try{v(H(N))}catch(T){y(T)}}:
O}var v,y,E=new e(function(H,O){v=H;y=O});this.callWhenSettled_(q(h,v),q(l,y));return E};e.prototype.catch=function(h){return this.then(void 0,h)};e.prototype.callWhenSettled_=function(h,l){function q(){switch(v.state_){case 1:h(v.result_);break;case 2:l(v.result_);break;default:throw Error("l`"+v.state_);}}var v=this;this.onSettledCallbacks_==null?f.asyncExecute(q):this.onSettledCallbacks_.push(q);this.isRejectionHandled_=!0};e.resolve=c;e.reject=function(h){return new e(function(l,q){q(h)})};e.race=
function(h){return new e(function(l,q){for(var v=k(h),y=v.next();!y.done;y=v.next())c(y.value).callWhenSettled_(l,q)})};e.all=function(h){var l=k(h),q=l.next();return q.done?c([]):new e(function(v,y){function E(N){return function(T){H[N]=T;O--;O==0&&v(H)}}var H=[],O=0;do H.push(void 0),O++,c(q.value).callWhenSettled_(E(H.length-1),y),q=l.next();while(!q.done)})};return e});var lv=function(a,b,c){if(a==null)throw new TypeError("m`"+c);if(b instanceof RegExp)throw new TypeError("n`"+c);return a+""};
ev("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=lv(this,b,"startsWith"),e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var h=0;h<f&&c<e;)if(d[c++]!=b[h++])return!1;return h>=f}});ev("Object.setPrototypeOf",function(a){return a||hv});ev("Symbol.dispose",function(a){return a?a:Symbol("o")});
ev("WeakMap",function(a){function b(){}function c(q){var v=typeof q;return v==="object"&&q!==null||v==="function"}function d(q){if(!gv(q,f)){var v=new b;cYb(q,f,{value:v})}}function e(q){var v=Object[q];v&&(Object[q]=function(y){if(y instanceof b)return y;Object.isExtensible(y)&&d(y);return v(y)})}if(function(){if(!a||!Object.seal)return!1;try{var q=Object.seal({}),v=Object.seal({}),y=new a([[q,2],[v,3]]);if(y.get(q)!=2||y.get(v)!=3)return!1;y.delete(q);y.set(v,4);return!y.has(q)&&y.get(v)==4}catch(E){return!1}}())return a;
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var h=0,l=function(q){this.id_=(h+=Math.random()+1).toString();if(q){q=k(q);for(var v;!(v=q.next()).done;)v=v.value,this.set(v[0],v[1])}};l.prototype.set=function(q,v){if(!c(q))throw Error("p");d(q);if(!gv(q,f))throw Error("q`"+q);q[f][this.id_]=v;return this};l.prototype.get=function(q){return c(q)&&gv(q,f)?q[f][this.id_]:void 0};l.prototype.has=function(q){return c(q)&&gv(q,f)&&gv(q[f],this.id_)};l.prototype.delete=
function(q){return c(q)&&gv(q,f)&&gv(q[f],this.id_)?delete q[f][this.id_]:!1};return l});
ev("Map",function(a){if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var l=Object.seal({x:4}),q=new a(k([[l,"s"]]));if(q.get(l)!="s"||q.size!=1||q.get({x:4})||q.set({x:4},"t")!=q||q.size!=2)return!1;var v=q.entries(),y=v.next();if(y.done||y.value[0]!=l||y.value[1]!="s")return!1;y=v.next();return y.done||y.value[0].x!=4||y.value[1]!="t"||!v.next().done?!1:!0}catch(E){return!1}}())return a;var b=new WeakMap,c=function(l){this[0]={};this[1]=
f();this.size=0;if(l){l=k(l);for(var q;!(q=l.next()).done;)q=q.value,this.set(q[0],q[1])}};c.prototype.set=function(l,q){l=l===0?0:l;var v=d(this,l);v.list||(v.list=this[0][v.id]=[]);v.entry?v.entry.value=q:(v.entry={next:this[1],previous:this[1].previous,head:this[1],key:l,value:q},v.list.push(v.entry),this[1].previous.next=v.entry,this[1].previous=v.entry,this.size++);return this};c.prototype.delete=function(l){l=d(this,l);return l.entry&&l.list?(l.list.splice(l.index,1),l.list.length||delete this[0][l.id],
l.entry.previous.next=l.entry.next,l.entry.next.previous=l.entry.previous,l.entry.head=null,this.size--,!0):!1};c.prototype.clear=function(){this[0]={};this[1]=this[1].previous=f();this.size=0};c.prototype.has=function(l){return!!d(this,l).entry};c.prototype.get=function(l){return(l=d(this,l).entry)&&l.value};c.prototype.entries=function(){return e(this,function(l){return[l.key,l.value]})};c.prototype.keys=function(){return e(this,function(l){return l.key})};c.prototype.values=function(){return e(this,
function(l){return l.value})};c.prototype.forEach=function(l,q){for(var v=this.entries(),y;!(y=v.next()).done;)y=y.value,l.call(q,y[1],y[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(l,q){var v=q&&typeof q;v=="object"||v=="function"?b.has(q)?v=b.get(q):(v=""+ ++h,b.set(q,v)):v="p_"+q;var y=l[0][v];if(y&&gv(l[0],v))for(l=0;l<y.length;l++){var E=y[l];if(q!==q&&E.key!==E.key||q===E.key)return{id:v,list:y,index:l,entry:E}}return{id:v,list:y,index:-1,entry:void 0}},e=function(l,
q){var v=l[1];return eYb(function(){if(v){for(;v.head!=l[1];)v=v.previous;for(;v.next!=v.head;)return v=v.next,{done:!1,value:q(v)};v=null}return{done:!0,value:void 0}})},f=function(){var l={};return l.previous=l.next=l.head=l},h=0;return c});
ev("Set",function(a){if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var c=Object.seal({x:4}),d=new a(k([c]));if(!d.has(c)||d.size!=1||d.add(c)!=d||d.size!=1||d.add({x:4})!=d||d.size!=2)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||f.value[0].x!=4||f.value[1]!=f.value[0]?!1:e.next().done}catch(h){return!1}}())return a;var b=function(c){this.map_=new Map;if(c){c=
k(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.map_.size};b.prototype.add=function(c){c=c===0?0:c;this.map_.set(c,c);this.size=this.map_.size;return this};b.prototype.delete=function(c){c=this.map_.delete(c);this.size=this.map_.size;return c};b.prototype.clear=function(){this.map_.clear();this.size=0};b.prototype.has=function(c){return this.map_.has(c)};b.prototype.entries=function(){return this.map_.entries()};b.prototype.values=function(){return this.map_.values()};b.prototype.keys=
b.prototype.values;b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.map_.forEach(function(f){return c.call(d,f,f,e)})};return b});ev("Array.from",function(a){return a?a:function(b,c,d){c=c!=null?c:function(l){return l};var e=[],f=typeof Symbol!="undefined"&&Symbol.iterator&&b[Symbol.iterator];if(typeof f=="function"){b=f.call(b);for(var h=0;!(f=b.next()).done;)e.push(c.call(d,f.value,h++))}else for(f=b.length,h=0;h<f;h++)e.push(c.call(d,b[h],h));return e}});
ev("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)gv(b,d)&&c.push([d,b[d]]);return c}});ev("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}});ev("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});ev("Number.MIN_SAFE_INTEGER",function(){return-9007199254740991});ev("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});
ev("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}});ev("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=lv(this,b,"endsWith");c===void 0&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;e>0&&c>0;)if(d[--c]!=b[--e])return!1;return e<=0}});ev("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});
ev("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(c<0&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});ev("String.prototype.includes",function(a){return a?a:function(b,c){return lv(this,b,"includes").indexOf(b,c||0)!==-1}});
var sYb=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e};ev("Array.prototype.entries",function(a){return a?a:function(){return sYb(this,function(b,c){return[b,c]})}});ev("Array.prototype.keys",function(a){return a?a:function(){return sYb(this,function(b){return b})}});ev("globalThis",function(a){return a||ea});
ev("Object.getOwnPropertySymbols",function(a){return a?a:function(){return[]}});var tYb=function(a,b,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var f=a[e];if(b.call(c,f,e,a))return{i:e,v:f}}return{i:-1,v:void 0}};ev("Array.prototype.find",function(a){return a?a:function(b,c){return tYb(this,b,c).v}});ev("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)gv(b,d)&&c.push(b[d]);return c}});
ev("Math.clz32",function(a){return a?a:function(b){b=Number(b)>>>0;if(b===0)return 32;var c=0;(b&4294901760)===0&&(b<<=16,c+=16);(b&4278190080)===0&&(b<<=8,c+=8);(b&4026531840)===0&&(b<<=4,c+=4);(b&3221225472)===0&&(b<<=2,c+=2);(b&2147483648)===0&&c++;return c}});ev("Math.log10",function(a){return a?a:function(b){return Math.log(b)/Math.LN10}});
ev("Math.imul",function(a){return a?a:function(b,c){b=Number(b);c=Number(c);var d=b&65535,e=c&65535;return d*e+((b>>>16&65535)*e+d*(c>>>16&65535)<<16>>>0)|0}});ev("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||b===Infinity||b===-Infinity||b===0)return b;var c=Math.floor(Math.abs(b));return b<0?-c:c}});ev("Number.isNaN",function(a){return a?a:function(b){return typeof b==="number"&&isNaN(b)}});
ev("Array.prototype.values",function(a){return a?a:function(){return sYb(this,function(b,c){return c})}});ev("Object.fromEntries",function(a){return a?a:function(b){var c={};if(!(Symbol.iterator in b))throw new TypeError("r`"+b);b=b[Symbol.iterator].call(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;if(Object(d)!==d)throw new TypeError("s");c[d[0]]=d[1]}return c}});
ev("Array.prototype.fill",function(a){return a?a:function(b,c,d){var e=this.length||0;c<0&&(c=Math.max(0,e+c));if(d==null||d>e)d=e;d=Number(d);d<0&&(d=Math.max(0,e+d));for(c=Number(c||0);c<d;c++)this[c]=b;return this}});var mv=function(a){return a?a:Array.prototype.fill};ev("Int8Array.prototype.fill",mv);ev("Uint8Array.prototype.fill",mv);ev("Uint8ClampedArray.prototype.fill",mv);ev("Int16Array.prototype.fill",mv);ev("Uint16Array.prototype.fill",mv);ev("Int32Array.prototype.fill",mv);
ev("Uint32Array.prototype.fill",mv);ev("Float32Array.prototype.fill",mv);ev("Float64Array.prototype.fill",mv);ev("String.prototype.repeat",function(a){return a?a:function(b){var c=lv(this,null,"repeat");if(b<0||b>1342177279)throw new RangeError("t");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});
ev("Array.prototype.flat",function(a){return a?a:function(b){b=b===void 0?1:b;var c=[];Array.prototype.forEach.call(this,function(d){Array.isArray(d)&&b>0?(d=Array.prototype.flat.call(d,b-1),c.push.apply(c,d)):c.push(d)});return c}});ev("Array.prototype.findIndex",function(a){return a?a:function(b,c){return tYb(this,b,c).i}});
ev("Array.prototype.flatMap",function(a){return a?a:function(b,c){var d=[];Array.prototype.forEach.call(this,function(e,f){e=b.call(c,e,f,this);Array.isArray(e)?d.push.apply(d,e):d.push(e)});return d}});ev("Promise.prototype.finally",function(a){return a?a:function(b){return this.then(function(c){return Promise.resolve(b()).then(function(){return c})},function(c){return Promise.resolve(b()).then(function(){throw c;})})}});
ev("String.prototype.matchAll",function(a){return a?a:function(b){if(b instanceof RegExp&&!b.global)throw new TypeError("u");var c=new RegExp(b,b instanceof RegExp?void 0:"g"),d=this,e=!1,f={next:function(){if(e)return{value:void 0,done:!0};var h=c.exec(d);if(!h)return e=!0,{value:void 0,done:!0};h[0]===""&&(c.lastIndex+=1);return{value:h,done:!1}}};f[Symbol.iterator]=function(){return f};return f}});
ev("Promise.allSettled",function(a){function b(d){return{status:"fulfilled",value:d}}function c(d){return{status:"rejected",reason:d}}return a?a:function(d){var e=this;d=Array.from(d,function(f){return e.resolve(f).then(b,c)});return e.all(d)}});var uYb=function(a){a=Math.trunc(a)||0;a<0&&(a+=this.length);if(!(a<0||a>=this.length))return this[a]};ev("Array.prototype.at",function(a){return a?a:uYb});var nv=function(a){return a?a:uYb};ev("Int8Array.prototype.at",nv);ev("Uint8Array.prototype.at",nv);
ev("Uint8ClampedArray.prototype.at",nv);ev("Int16Array.prototype.at",nv);ev("Uint16Array.prototype.at",nv);ev("Int32Array.prototype.at",nv);ev("Uint32Array.prototype.at",nv);ev("Float32Array.prototype.at",nv);ev("Float64Array.prototype.at",nv);ev("String.prototype.at",function(a){return a?a:uYb});ev("Reflect.isExtensible",function(a){return a?a:typeof Object.isExtensible=="function"?Object.isExtensible:function(){return!0}});ev("Reflect.getOwnPropertyDescriptor",function(a){return a||Object.getOwnPropertyDescriptor});
ev("Reflect.getPrototypeOf",function(a){return a||Object.getPrototypeOf});var vYb=function(a,b){for(;a;){var c=Reflect.getOwnPropertyDescriptor(a,b);if(c)return c;a=Reflect.getPrototypeOf(a)}};ev("Reflect.set",function(a){return a?a:function(b,c,d,e){var f=vYb(b,c);return f?f.set?(f.set.call(arguments.length>3?e:b,d),!0):f.writable&&!Object.isFrozen(b)?(b[c]=d,!0):!1:Reflect.isExtensible(b)?(b[c]=d,!0):!1}});
ev("Reflect.get",function(a){return a?a:function(b,c,d){if(arguments.length<=2)return b[c];var e=vYb(b,c);if(e)return e.get?e.get.call(d):e.value}});ev("String.prototype.codePointAt",function(a){return a?a:function(b){var c=lv(this,null,"codePointAt"),d=c.length;b=Number(b)||0;if(b>=0&&b<d){b|=0;var e=c.charCodeAt(b);if(e<55296||e>56319||b+1===d)return e;b=c.charCodeAt(b+1);return b<56320||b>57343?e:(e-55296)*1024+b+9216}}});
ev("String.fromCodePoint",function(a){return a?a:function(b){for(var c="",d=0;d<arguments.length;d++){var e=Number(arguments[d]);if(e<0||e>1114111||e!==Math.floor(e))throw new RangeError("v`"+e);e<=65535?c+=String.fromCharCode(e):(e-=65536,c+=String.fromCharCode(e>>>10&1023|55296),c+=String.fromCharCode(e&1023|56320))}return c}});var wYb=function(a,b){a=a!==void 0?String(a):" ";return b>0&&a?a.repeat(Math.ceil(b/a.length)).substring(0,b):""};
ev("String.prototype.padStart",function(a){return a?a:function(b,c){var d=lv(this,null,"padStart");return wYb(c,b-d.length)+d}});ev("String.prototype.replaceAll",function(a){return a?a:function(b,c){if(b instanceof RegExp&&!b.global)throw new TypeError("w");return b instanceof RegExp?this.replace(b,c):this.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),c)}});
ev("Math.hypot",function(a){return a?a:function(b){if(arguments.length<2)return arguments.length?Math.abs(arguments[0]):0;var c,d,e;for(c=e=0;c<arguments.length;c++)e=Math.max(e,Math.abs(arguments[c]));if(e>1E100||e<1E-100){if(!e)return e;for(c=d=0;c<arguments.length;c++){var f=Number(arguments[c])/e;d+=f*f}return Math.sqrt(d)*e}for(c=d=0;c<arguments.length;c++)f=Number(arguments[c]),d+=f*f;return Math.sqrt(d)}});ev("Array.of",function(a){return a?a:function(b){return Array.from(arguments)}});
ev("String.prototype.padEnd",function(a){return a?a:function(b,c){var d=lv(this,null,"padStart");return d+wYb(c,b-d.length)}});var xYb=xYb||{},ya=this||self,yYb=function(a,b){var c=sp("WIZ_global_data.oxN3nb");a=c&&c[a];return a!=null?a:b},zYb=ya._F_toggles||[],sp=function(a,b){a=a.split(".");b=b||ya;for(var c=0;c<a.length;c++)if(b=b[a[c]],b==null)return null;return b},Ab=function(a){var b=typeof a;return b!="object"?b:a?Array.isArray(a)?"array":b:"null"},Va=function(a){var b=Ab(a);return b=="array"||b=="object"&&typeof a.length=="number"},In=function(a){var b=typeof a;return b=="object"&&a!=null||b=="function"},vp=function(a){return Object.prototype.hasOwnProperty.call(a,
AYb)&&a[AYb]||(a[AYb]=++BYb)},AYb="closure_uid_"+(Math.random()*1E9>>>0),BYb=0,CYb=function(a,b,c){return a.call.apply(a.bind,arguments)},ov=function(a,b,c){ov=CYb;return ov.apply(null,arguments)},pv=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}},DYb=function(a){(0,eval)(a)},EYb=function(a,b){a=a.split(".");var c=ya;a[0]in c||typeof c.execScript=="undefined"||c.execScript("var "+a[0]);for(var d;a.length&&
(d=a.shift());)a.length||b===void 0?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b},FYb=function(a){return a},qv=function(a,b){function c(){}c.prototype=b.prototype;a.superClass_=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(d,e,f){for(var h=Array(arguments.length-2),l=2;l<arguments.length;l++)h[l-2]=arguments[l];return b.prototype[e].apply(d,h)}};var oca=aa(function(a){return typeof a==="number"}),nca=aa(function(a){return typeof a==="string"}),qca=aa(function(a){return typeof a==="boolean"}),mFb=aa(function(a){return!!a&&(typeof a==="object"||typeof a==="function")}),caa=aa(function(a){return Array.isArray(a)});var ba=globalThis;var fa=Object.getOwnPropertyDescriptor,naa=Object.defineProperty,qaa=Object.getPrototypeOf,Gaa=Object.create,Haa=Array.prototype.slice,aba=ca("addEventListener"),bba=ca("removeEventListener"),qa=ca(""),GYb=typeof window!=="undefined",pa=GYb?window:void 0,ia=GYb&&pa||globalThis,HYb=typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope,zaa=!("nw"in ia)&&typeof ia.process!=="undefined"&&ia.process.toString()==="[object process]",Iaa=!zaa&&!HYb&&!(!GYb||!pa.HTMLElement),Jaa=typeof ia.process!==
"undefined"&&ia.process.toString()==="[object process]"&&!HYb&&!(!GYb||!pa.HTMLElement),laa={},IYb=ca("enable_beforeunload"),maa=function(a){if(a=a||ia.event){var b=laa[a.type];b||(b=laa[a.type]=ca("ON_PROPERTY"+a.type));var c=this||a.target||ia;b=c[b];Iaa&&c===pa&&a.type==="error"?(c=a,c=b&&b.call(this,c.message,c.filename,c.lineno,c.colno,c.error),c===!0&&a.preventDefault()):(c=b&&b.apply(this,arguments),a.type==="beforeunload"&&ia[IYb]&&typeof c==="string"?a.returnValue=c:c==void 0||c||a.preventDefault());
return c}},ka=ca("originalInstance"),saa=!1,taa=!1;var sa=!1;if(typeof window!=="undefined")try{var JYb=Object.defineProperty({},"passive",{get:function(){sa=!0}});window.addEventListener("test",JYb,JYb);window.removeEventListener("test",JYb,JYb)}catch(a){sa=!1}var Baa={useG:!0},ra={},Aaa={},Daa=new RegExp("^"+qa+"(\\w+)(true|false)$"),yaa=ca("propagationStopped");var Laa,Maa,Naa,Oaa,ua;var Waa=[].concat(w("abort animationcancel animationend animationiteration auxclick beforeinput blur cancel canplay canplaythrough change compositionstart compositionupdate compositionend cuechange click close contextmenu curechange dblclick drag dragend dragenter dragexit dragleave dragover drop durationchange emptied ended error focus focusin focusout gotpointercapture input invalid keydown keypress keyup load loadstart loadeddata loadedmetadata lostpointercapture mousedown mouseenter mouseleave mousemove mouseout mouseover mouseup mousewheel orientationchange pause play playing pointercancel pointerdown pointerenter pointerleave pointerlockchange mozpointerlockchange webkitpointerlockerchange pointerlockerror mozpointerlockerror webkitpointerlockerror pointermove pointout pointerover pointerup progress ratechange reset resize scroll seeked seeking select selectionchange selectstart show sort stalled submit suspend timeupdate volumechange touchcancel touchmove touchstart touchend transitioncancel transitionend waiting wheel".split(" ")),
w(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"]),w(["autocomplete","autocompleteerror"]),w(["toggle"]),w("afterscriptexecute beforescriptexecute DOMContentLoaded freeze fullscreenchange mozfullscreenchange webkitfullscreenchange msfullscreenchange fullscreenerror mozfullscreenerror webkitfullscreenerror msfullscreenerror readystatechange visibilitychange resume".split(" ")),w("absolutedeviceorientation afterinput afterprint appinstalled beforeinstallprompt beforeprint beforeunload devicelight devicemotion deviceorientation deviceorientationabsolute deviceproximity hashchange languagechange message mozbeforepaint offline online paint pageshow pagehide popstate rejectionhandled storage unhandledrejection unload userproximity vrdisplayconnected vrdisplaydisconnected vrdisplaypresentchange".split(" ")),
w("beforecopy beforecut beforepaste copy cut paste dragstart loadend animationstart search transitionrun transitionstart webkitanimationend webkitanimationiteration webkitanimationstart webkittransitionend".split(" ")),w("activate afterupdate ariarequest beforeactivate beforedeactivate beforeeditfocus beforeupdate cellchange controlselect dataavailable datasetchanged datasetcomplete errorupdate filterchange layoutcomplete losecapture move moveend movestart propertychange resizeend resizestart rowenter rowexit rowsdelete rowsinserted command compassneedscalibration deactivate help mscontentzoom msmanipulationstatechanged msgesturechange msgesturedoubletap msgestureend msgesturehold msgesturestart msgesturetap msgotpointercapture msinertiastart mslostpointercapture mspointercancel mspointerdown mspointerenter mspointerhover mspointerleave mspointermove mspointerout mspointerover mspointerup pointerout mssitemodejumplistitemremoved msthumbnailclick stop storagecommit".split(" ")));var $aa=ca("zoneTask");qv(wa,Error);wa.prototype.name="CustomError";var KYb;qv(eba,wa);eba.prototype.name="AssertionError";var jba=void 0,hba,iba,LYb=typeof TextDecoder!=="undefined",nba,mba=typeof String.prototype.isWellFormed==="function",lba=typeof TextEncoder!=="undefined";var rv=function(a,b){var c=a.length-b.length;return c>=0&&a.indexOf(b,c)==c},fVa=function(a){return Gu("@ldap.google.com",a.slice(a.length-16))==0},iu=function(a){return/^[\s\xa0]*$/.test(a)},Ii=function(a){return a.trim()},Gu=function(a,b){a=String(a).toLowerCase();b=String(b).toLowerCase();return a<b?-1:a==b?0:1},MYb=/&/g,NYb=/</g,OYb=/>/g,PYb=/"/g,QYb=/'/g,RYb=/\x00/g,SYb=/[\x00&<>"']/,Fa=function(a,b){return a.indexOf(b)!=-1},UYb=function(a,b){var c=0;a=Ii(String(a)).split(".");b=Ii(String(b)).split(".");
for(var d=Math.max(a.length,b.length),e=0;c==0&&e<d;e++){var f=a[e]||"",h=b[e]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(f[0].length==0&&h[0].length==0)break;c=TYb(f[1].length==0?0:parseInt(f[1],10),h[1].length==0?0:parseInt(h[1],10))||TYb(f[2].length==0,h[2].length==0)||TYb(f[2],h[2]);f=f[3];h=h[3]}while(c==0)}return c},TYb=function(a,b){return a<b?-1:a>b?1:0};var VYb=!!(zYb[0]&1024),WYb=!!(zYb[0]&32),XYb=!!(zYb[0]&2048),YYb=!!(zYb[0]&4);var ZYb=yYb(1,!0),Ba=VYb?XYb:yYb(610401301,!1),ina=VYb?WYb||!YYb:yYb(660014094,ZYb);var Ca,$Yb=ya.navigator;Ca=$Yb?$Yb.userAgentData||null:null;var Dba=function(a,b){return Array.prototype.indexOf.call(a,b,void 0)},Ma=function(a,b,c){Array.prototype.forEach.call(a,b,c)},aZb=function(a,b,c){return Array.prototype.filter.call(a,b,c)},bZb=function(a,b,c){return Array.prototype.map.call(a,b,c)},cZb=function(a,b){return Array.prototype.some.call(a,b,void 0)};var dZb=function(a){dZb[" "](a);return a};dZb[" "]=function(){};var eZb=function(a,b){try{return dZb(a[b]),!0}catch(c){}return!1};var fZb=qba(),ns=rba(),gZb=Ga("Edge"),sv=Ga("Gecko")&&!(Fa(Aa().toLowerCase(),"webkit")&&!Ga("Edge"))&&!(Ga("Trident")||Ga("MSIE"))&&!Ga("Edge"),tv=Fa(Aa().toLowerCase(),"webkit")&&!Ga("Edge"),hZb=tv&&Ga("Mobile"),as=Aba(),iZb=Ja()?Ca.platform==="Windows":Ga("Windows"),jZb=(Ja()?Ca.platform==="Linux":Ga("Linux"))||(Ja()?Ca.platform==="Chrome OS":Ga("CrOS")),kZb=yba(),lZb=zba(),mZb=Ga("iPad"),nZb=Ga("iPod"),oZb=Ka();Fa(Aa().toLowerCase(),"kaios");var pZb;
a:{var qZb="",rZb=function(){var a=Aa();if(sv)return/rv:([^\);]+)(\)|;)/.exec(a);if(gZb)return/Edge\/([\d\.]+)/.exec(a);if(ns)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(tv)return/WebKit\/(\S+)/.exec(a);if(fZb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();rZb&&(qZb=rZb?rZb[1]:"");if(ns){var sZb,tZb=ya.document;sZb=tZb?tZb.documentMode:void 0;if(sZb!=null&&sZb>parseFloat(qZb)){pZb=String(sZb);break a}}pZb=qZb}var uZb=pZb;var vZb=sba(),wZb=zba()||Ga("iPod"),xZb=Ga("iPad"),yZb=vba(),zZb=tba(),AZb=uba()&&!Ka();var BZb={},uv=null,DZb=function(a,b){b===void 0&&(b=0);CZb();b=BZb[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e<a.length-2;e+=3){var h=a[e],l=a[e+1],q=a[e+2],v=b[h>>2];h=b[(h&3)<<4|l>>4];l=b[(l&15)<<2|q>>6];q=b[q&63];c[f++]=v+h+l+q}v=0;q=d;switch(a.length-e){case 2:v=a[e+1],q=b[(v&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|v>>4]+q+d}return c.join("")},FZb=function(a){var b=[];EZb(a,function(c){b.push(c)});return b},EZb=function(a,b){function c(q){for(;d<a.length;){var v=
a.charAt(d++),y=uv[v];if(y!=null)return y;if(!iu(v))throw Error("O`"+v);}return q}CZb();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),l=c(64);if(l===64&&e===-1)break;b(e<<2|f>>4);h!=64&&(b(f<<4&240|h>>2),l!=64&&b(h<<6&192|l))}},CZb=function(){if(!uv){uv={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));BZb[c]=d;for(var e=0;e<d.length;e++){var f=d[e];uv[f]===void 0&&(uv[f]=e)}}}};var Rba=/[-_.]/g,Pba={"-":"+",_:"/",".":"="},hb={},GZb=typeof structuredClone!="undefined";var HZb,gb=function(a,b){if(b!==hb)throw Error("P");this.value_=a;if(a!=null&&a.length===0)throw Error("Q");},fb=function(){return HZb||(HZb=new gb(null,hb))},ida=function(a){var b=a.value_;return b==null?"":typeof b==="string"?b:a.value_=Oba(b)};gb.prototype.isEmpty=function(){return this.value_==null};gb.prototype.sizeBytes=function(){var a=hc(this);return a?a.length:0};
var cva=function(a){var b={};b=b.parsingErrorsAreFatal===void 0?!0:b.parsingErrorsAreFatal;if(a=hc(a)){var c=a.length;b=LYb?kba(a,0,c,b):gba(a,0,c,b)}else b="";return b},Oda=function(a){a=a.value_||"";return typeof a==="string"?a:new Uint8Array(a)},IZb=function(a,b){if(!a.value_||!b.value_||a.value_===b.value_)return a.value_===b.value_;if(typeof a.value_==="string"&&typeof b.value_==="string"){var c=a.value_,d=b.value_;b.value_.length>a.value_.length&&(d=a.value_,c=b.value_);if(c.lastIndexOf(d,0)!==
0)return!1;for(b=d.length;b<c.length;b++)if(c[b]!=="=")return!1;return!0}c=hc(a);b=hc(b);return Tba(c,b)},hc=function(a){if(hb!==hb)throw Error("P");var b=a.value_;b=b==null||Wa(b)?b:typeof b==="string"?Sba(b):null;return b==null?b:a.value_=b},Bda=function(a,b){if(typeof b==="string")b=b?new gb(b,hb):fb();else if(b instanceof Uint8Array)b=new gb(b,hb);else if(!(b instanceof gb))return!1;return IZb(a,b)};var ab=Symbol(),Vca=Symbol(),JZb=Symbol(),iea=Symbol(),Wda=Symbol();var rc=function(a,b){a[ab]&=~b},Za=function(a){return a[ab]|0};var Yba={},Zba={},eea,KZb=[];KZb[ab]=55;eea=Object.freeze(KZb);var vv=function(a,b,c){this.idx_=0;this.arr_=a;this.mapper=b;this.thisArg=c};vv.prototype.next=function(){if(this.idx_<this.arr_.length){var a=this.arr_[this.idx_++];return{done:!1,value:this.mapper?this.mapper.call(this.thisArg,a):a}}return{done:!0,value:void 0}};vv.prototype[Symbol.iterator]=function(){return new vv(this.arr_,this.mapper,this.thisArg)};var ob,xda,Xi=Object.freeze({});Object.freeze({});var hea=Object.freeze({});var pca=typeof ya.BigInt==="function"&&typeof ya.BigInt(0)==="bigint";var Ob=aa(function(a){return pca?a>=LZb&&a<=MZb:a[0]==="-"?rca(a,NZb):rca(a,OZb)}),NZb=Number.MIN_SAFE_INTEGER.toString(),LZb=pca?BigInt(Number.MIN_SAFE_INTEGER):void 0,OZb=Number.MAX_SAFE_INTEGER.toString(),MZb=pca?BigInt(Number.MAX_SAFE_INTEGER):void 0;var rb=0,sb=0;var yca=function(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};var PZb;var Dca=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;var cea=function(a){Yb===void 0&&(Yb=typeof Proxy==="function"?$ca(Proxy):null);if(!Yb||!ada())return a;var b=bea(a);if(b)return b;if(Math.random()>.01)return a;cda(a);b=new Yb(a,{set:function(c,d,e){Xca();c[d]=e;return!0}});Zca(a,b);return b},Wb=void 0,Yca=void 0,bea=function(a){var b;return(b=Wb)==null?void 0:b.get(a)},gea=function(a){var b;return((b=Yca)==null?void 0:b.get(a))||a},Yb=void 0,Xb=void 0,bda=void 0,dea=function(a,b,c){if(ada()){if(fda(a,b)){if(c)return}else if(Math.random()>.01)return;
var d=a.length;c={length:d};for(var e=0;e<Math.min(d,10);e++){if(d<=10)var f=e;else{f=d/10;var h=Math.floor(e*f);f=h+Math.floor(Math.random()*(Math.floor((e+1)*f)-h))}c[f]=a[f]}dda(a,c)?(d=$b||($b=new Xb),e=d.get(b),e||(e=new Xb,d.set(b,e)),e.set(a,c)):(vb(),jc(a,b))}},$da=function(a,b){var c=fda(a,b);c&&!dda(a,c)&&(eda(),jc(a,b))},ec=function(a){var b;if(a&&(b=$b)!=null&&b.has(a)&&(b=a.internalArray_))for(var c=0;c<b.length;c++){var d=b[c];if(c===b.length-1&&jb(d))for(var e in d){var f=d[e];Array.isArray(f)&&
$da(f,a)}else Array.isArray(d)&&$da(d,a)}},$b=void 0,jc=function(a,b){var c,d;(c=$b)==null||(d=c.get(b))==null||d.delete(a)};var tda={},wv=function(){var a=function(){return iYb(Map,[],this.constructor)};Y(a,Map);return a}(),ac=function(a,b,c,d){c=c===void 0?kda:c;d=d===void 0?kda:d;var e=wv.call(this)||this;var f=Za(a);f|=64;a[ab]=f;e.arrayState=f;e.valueCtor=b;e.keyToApi=c;e.valueToApi=e.valueCtor?lda:d;for(var h=0;h<a.length;h++){var l=a[h],q=c(l[0],!1,!0),v=l[1];b?v===void 0&&(v=null):v=d(l[1],!1,!0,void 0,void 0,f);wv.prototype.set.call(e,q,v)}return e};Y(ac,wv);
var QZb=function(a){if(a.arrayState&2)throw Error("T");},jda=function(a,b){b=b===void 0?mda:b;if(a.size!==0)return Uda(a,b)},Uda=function(a,b){b=b===void 0?mda:b;var c=[];a=wv.prototype.entries.call(a);for(var d;!(d=a.next()).done;)d=d.value,d[0]=b(d[0]),d[1]=b(d[1]),c.push(d);return c};g=ac.prototype;g.clear=function(){QZb(this);wv.prototype.clear.call(this)};g.delete=function(a){QZb(this);return wv.prototype.delete.call(this,this.keyToApi(a,!0,!1))};
g.entries=function(){var a=Array.from(wv.prototype.keys.call(this));return new vv(a,rda,this)};g.keys=function(){return wv.prototype.keys.call(this)};g.values=function(){var a=Array.from(wv.prototype.keys.call(this));return new vv(a,ac.prototype.get,this)};g.forEach=function(a,b){var c=this;wv.prototype.forEach.call(this,function(d,e){a.call(b,c.get(e),e,c)})};
g.set=function(a,b){QZb(this);a=this.keyToApi(a,!0,!1);return a==null?this:b==null?(wv.prototype.delete.call(this,a),this):wv.prototype.set.call(this,a,this.valueToApi(b,!0,!0,this.valueCtor,!1,this.arrayState))};g.has=function(a){return wv.prototype.has.call(this,this.keyToApi(a,!1,!1))};
g.get=function(a){a=this.keyToApi(a,!1,!1);var b=wv.prototype.get.call(this,a);if(b!==void 0){var c=this.valueCtor;return c?(c=this.valueToApi(b,!1,!0,c,this.callToMutableOnAccess,this.arrayState),c!==b&&wv.prototype.set.call(this,a,c),c):b}};var Ada=function(a,b,c){return b instanceof ac?nda(a,b,c):pda(a,b,c)};ac.prototype[Symbol.iterator]=function(){return this.entries()};ac.prototype.toJSON=void 0;ac.prototype.mapPrototypeMarker=Zba;var sda;var Eda,Gda,Hda;var JDa=GZb?structuredClone:function(a){return gc(a,Mda,void 0,void 0,!1)};var RZb=function(a,b){this.bytes_=null;this.bytesAreImmutable_=!1;this.cursor_=this.end_=this.start_=0;this.init(a,void 0,void 0,b)};g=RZb.prototype;g.init=function(a,b,c,d){d=d===void 0?{}:d;this.aliasBytesFields=d.aliasBytesFields===void 0?!1:d.aliasBytesFields;a&&(a=Rda(a),this.bytes_=a.buffer,this.bytesAreImmutable_=a.isImmutable,this.start_=b||0,this.end_=c!==void 0?this.start_+c:this.bytes_.length,this.cursor_=this.start_)};g.free=function(){this.clear();SZb.length<100&&SZb.push(this)};
g.clear=function(){this.bytes_=null;this.bytesAreImmutable_=!1;this.cursor_=this.end_=this.start_=0;this.aliasBytesFields=!1};g.getEnd=function(){return this.end_};g.setEnd=function(a){this.end_=a};g.reset=function(){this.cursor_=this.start_};g.getCursor=function(){return this.cursor_};g.advance=function(a){TZb(this,this.cursor_+a)};
var TZb=function(a,b){a.cursor_=b;if(b>a.end_)throw Error("ga`"+b+"`"+a.end_);},xv=function(a){var b=a.bytes_,c=a.cursor_,d=b[c++],e=d&127;if(d&128&&(d=b[c++],e|=(d&127)<<7,d&128&&(d=b[c++],e|=(d&127)<<14,d&128&&(d=b[c++],e|=(d&127)<<21,d&128&&(d=b[c++],e|=d<<28,d&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128)))))throw Error("fa");TZb(a,c);return e},UZb=function(a){var b=a.bytes_,c=a.cursor_,d=b[c],e=b[c+1],f=b[c+2];b=b[c+3];a.advance(4);return(d<<0|e<<8|f<<16|b<<24)>>>0},VZb=function(a){for(var b=
0,c=a.cursor_,d=c+10,e=a.bytes_;c<d;){var f=e[c++];b|=f;if((f&128)===0)return TZb(a,c),!!(b&127)}throw Error("fa");},WZb=function(a,b){if(b<0)throw Error("ha`"+b);var c=a.cursor_,d=c+b;if(d>a.end_)throw Error("ga`"+(a.end_-c)+"`"+b);a.cursor_=d;return c};RZb.prototype.readString=function(a,b){var c=WZb(this,a),d=this.bytes_;return LYb?kba(d,c,a,b):gba(d,c,a,b)};
RZb.prototype.readByteString=function(a){if(a==0)return fb();var b=WZb(this,a);if(this.aliasBytesFields&&this.bytesAreImmutable_)b=this.bytes_.subarray(b,b+a);else{var c=this.bytes_;a=b+a;b=b===a?new Uint8Array(0):c.slice(b,a)}return Xba(b)};var SZb=[];var vna=function(a,b){if(SZb.length){var c=SZb.pop();c.init(a,void 0,void 0,b);a=c}else a=new RZb(a,b);this.decoder_=a;this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextTag_=this.nextField_=-1;this.setOptions(b)};g=vna.prototype;g.setOptions=function(a){a=a===void 0?{}:a;this.discardUnknownFields=a.discardUnknownFields===void 0?!1:a.discardUnknownFields};g.free=function(){this.decoder_.clear();this.nextWireType_=this.nextField_=this.nextTag_=-1;una.length<100&&una.push(this)};
g.getCursor=function(){return this.decoder_.getCursor()};g.getTag=function(){return this.nextTag_};g.reset=function(){this.decoder_.reset();this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextField_=this.nextTag_=-1};g.advance=function(a){this.decoder_.advance(a)};
var hna=function(a){var b=a.decoder_;if(b.cursor_==b.end_)return!1;a.fieldCursor_=a.decoder_.getCursor();b=xv(a.decoder_)>>>0;var c=b>>>3,d=b&7;if(!(d>=0&&d<=5))throw Error("ba`"+d+"`"+a.fieldCursor_);if(c<1)throw Error("ca`"+c+"`"+a.fieldCursor_);a.nextTag_=b;a.nextField_=c;a.nextWireType_=d;return!0},kna=function(a){switch(a.nextWireType_){case 0:a.nextWireType_!=0?kna(a):VZb(a.decoder_);break;case 1:a.decoder_.advance(8);break;case 2:if(a.nextWireType_!=2)kna(a);else{var b=xv(a.decoder_)>>>0;a.decoder_.advance(b)}break;
case 5:a.decoder_.advance(4);break;case 3:b=a.nextField_;do{if(!hna(a))throw Error("da");if(a.nextWireType_==4){if(a.nextField_!=b)throw Error("ea");break}kna(a)}while(1);break;default:throw Error("ba`"+a.nextWireType_+"`"+a.fieldCursor_);}},XZb=function(a,b,c){var d=a.decoder_.getEnd(),e=xv(a.decoder_)>>>0,f=a.decoder_.getCursor()+e,h=f-d;h<=0&&(a.decoder_.setEnd(f),c(b,a,void 0,void 0,void 0),h=f-a.decoder_.getCursor());if(h)throw Error("aa`"+e+"`"+(e-h));a.decoder_.cursor_=f;a.decoder_.setEnd(d)};
vna.prototype.readString=function(){return YZb(this)};var YZb=function(a){var b=xv(a.decoder_)>>>0;return a.decoder_.readString(b,!0)};vna.prototype.readByteString=function(){var a=xv(this.decoder_)>>>0;return this.decoder_.readByteString(a)};var una=[];var Mj=function(a,b){a=a.internalArray_;return pc(a,a[ab],b)},pc=function(a,b,c,d){if(c===-1)return null;var e=b>>15&1023||536870912;if(c>=e){if(b&256)return a[a.length-1][c]}else{var f=a.length;if(d&&b&256&&(d=a[f-1][c],d!=null)){if(Yda(a,b,e,c)&&JZb!=null){var h;a=(h=PZb)!=null?h:PZb={};h=a[JZb]||0;h>=4||(a[JZb]=h+1,vb())}return d}return Yda(a,b,e,c)}},Zp=function(a,b,c){var d=a.internalArray_,e=d[ab];mb(e);ic(d,e,b,c);return a},Oj=function(a,b,c,d){return lea(a,b,c,d===void 0?!1:d)!==void 0},Nl=
function(a,b,c,d){return lea(a,b,ul(a,d,c))!==void 0},ZZb=function(a,b,c){return mea(a,a.internalArray_[ab],b,c,3,!1,!0).length},yv=function(a,b,c,d,e){zc(a,b,c,e,d,!1,1);return a},zv=function(a,b){a=a.internalArray_;var c=a[ab],d=pc(a,c,b),e=Aca(d);e!=null&&e!==d&&ic(a,c,b,e);return e},Dt=function(a,b){a=a.internalArray_;var c=a[ab],d=pc(a,c,b),e=kb(d,!0,!0,!!(c&34));e!=null&&e!==d&&ic(a,c,b,e);return e},Wi=function(a,b){return a===Xi?2:b?4:5},Yp=function(a,b){a=Dt(a,b);return a==null?fb():a},xl=
function(a,b,c,d){var e=a.internalArray_,f=e[ab];mb(f);if(d==null){var h=jea(e);if(kea(h,e,f,c)===b)h.set(c,0);else return a}else{h=jea(e);var l=kea(h,e,f,c);l!==b&&(l&&(f=ic(e,f,l)),h.set(c,b))}ic(e,f,b,d);return a},ul=function(a,b,c){return fl(a,b)===c?c:-1},fl=function(a,b){a=a.internalArray_;return kea(jea(a),a,a[ab],b)},Av=function(a,b,c){a=a.internalArray_;var d=a[ab];mb(d);var e=pc(a,d,c);b=bc(Rb(e,b,!0,d));e!==b&&ic(a,d,c,b);return b},$Zb=function(a,b,c,d){var e=a[ab];d=pc(a,e,c,d);var f;
if(d!=null&&ib(d))return b=bc(d),b!==d&&ic(a,e,c,b),b.internalArray_;if(Array.isArray(d)){var h=Za(d);h&2?f=Vda(d,h,!1):f=d;f=Jda(f,b)}else f=Jda(void 0,b);f!==d&&ic(a,e,c,f);return f},ur=function(a,b,c){return(a=lea(a,b,c,!1))?a:Uca(b)},W=function(a,b,c,d){b=lea(a,b,c,d===void 0?!1:d);if(b==null)return b;a=a.internalArray_;d=a[ab];if(!(d&2)){var e=bc(b);e!==b&&(b=e,ic(a,d,c,b))}return b},nj=function(a,b,c,d){var e=a.internalArray_[ab];return mea(a,e,b,c,d,void 0,!1,!(2&e))},X=function(a,b,c,d){d==
null&&(d=void 0);return Zp(a,c,d)},Fl=function(a,b,c,d){d==null&&(d=void 0);return xl(a,b,c,d)},$l=function(a,b,c){var d=a.internalArray_,e=d[ab];mb(e);if(c==null)return ic(d,e,b),a;c=gea(c);for(var f=Za(c),h=f,l=!!(2&f)||!!(2048&f),q=l||Object.isFrozen(c),v=!q&&(void 0===hea||!1),y=!0,E=!0,H=0;H<c.length;H++){var O=c[H];l||(O=$a(O.internalArray_),y&&(y=!O),E&&(E=O))}l||(f|=5,f=y?f|8:f&-9,f=E?f|16:f&-17);v||q&&f!==h?(c=Ya(c),h=0,f=lc(f,e),f=nc(f,e,!0)):q||dea(c,a);f!==h&&(c[ab]=f);ic(d,e,b,c);return a},
Bv=function(a,b,c,d,e){zc(a,b,c,d,e);return a},Cv=function(a,b,c,d){zc(a,b,c,void 0,d,void 0,1,!0);return a},Dv=function(a,b,c,d){var e=a.internalArray_[ab];mb(e);a=mea(a,e,c,b,2,!1,!0);c=b=0;if(Array.isArray(d)){d=gea(d);e=d.length;for(var f=0;f<e;f++){var h=d[f];a.push(h);(h=$a(h.internalArray_))&&!b++&&rc(a,8);h||c++||rc(a,16)}}else for(d=k(d),e=d.next();!e.done;e=d.next())e=e.value,a.push(e),(e=$a(e.internalArray_))&&!b++&&rc(a,8),e||c++||rc(a,16)},Ev=function(a,b){return Oca(Mj(a,b))},Fv=function(a,
b){a=Mj(a,b);a!=null&&(typeof a==="bigint"?a>=0&&Ob(a)?a=Number(a):(a=BigInt.asUintN(64,a),a=Ob(a)?Number(a):String(a)):a=Eb(a)?typeof a==="number"?Mb(a):Nb(a):void 0);return a},lj=function(a,b,c,d,e){return oc(a,b,Oca,c,d,e,0)},ak=function(a,b){return oc(a,b,nea,1,void 0,void 0,4096)},a_b=function(a,b){return oc(a,b,Pb,Wi(),void 0,void 0,0)},tt=function(a,b){return Cca(Mj(a,b))},Gv=function(a,b){return Hb(Mj(a,b))},uk=function(a,b){return Tca(Mj(a,b))},Bt=function(a,b){return Fca(Mj(a,b))},Fj=function(a,
b,c){c=c===void 0?!1:c;return Ac(tt(a,b),c)},Zi=function(a,b,c){c=c===void 0?0:c;return Ac(Gv(a,b),c)},Vj=function(a,b,c){c=c===void 0?0:c;return Ac(Ev(a,b),c)},b_b=function(a){var b=b===void 0?0:b;return Ac(Fv(a,23),b)},Hv=function(a,b,c){c=c===void 0?"0":c;return Ac(Pb(Mj(a,b)),c)},zl=function(a,b,c){c=c===void 0?0:c;return Ac(zv(a,b),c)},Gh=function(a,b,c){c=c===void 0?"":c;return Ac(uk(a,b),c)},Kj=function(a,b,c){c=c===void 0?0:c;return Ac(Bt(a,b),c)},Oo=function(a,b){var c=c===void 0?"0":c;return Ac(Pb(Mj(a,
b),!0),c)},Nj=function(a,b){var c=c===void 0?"0":c;return Ac(Pb(Mj(a,b),!0),c)},$i=function(a,b,c,d,e){return oc(a,b,Hb,c,d,e)},Iv=function(a,b,c){a=$i(a,b,3,void 0,!0);nb(a,c);return a[c]},c_b=function(a,b,c,d,e){return oc(a,b,Aca,c,d,e)},Vi=function(a,b,c,d,e){return oc(a,b,Tca,c,d,e)},Jv=function(a,b,c){a=Vi(a,b,3,void 0,!0);nb(a,c);return a[c]},bk=function(a,b,c,d,e){return oc(a,b,Fca,c,d,e)},d_b=function(a,b,c){a=bk(a,b,3,void 0,!0);nb(a,c);return a[c]},hl=function(a,b,c){return Gh(a,ul(a,c,
b))},Ko=function(a,b,c){return uk(a,ul(a,c,b))},Al=function(a,b,c,d){return W(a,b,ul(a,d,c))},eWa=function(a,b){b=ul(a,Sq,b);a=Mj(a,b);b=!0;b=b===void 0?!1:b;var c=typeof a;a=a==null?a:c==="bigint"?String(BigInt.asUintN(64,a)):Eb(a)?c==="string"?Nb(a):b?Nca(a):Mb(a):void 0;return a==null?void 0:a},fWa=function(a,b){b=ul(a,Sq,b);a=zv(a,b);return a==null?void 0:a},Kv=function(a,b){a=Gv(a,b);return a==null?void 0:a},Zcb=function(a,b){a=Ev(a,b);return a==null?void 0:a},Pm=function(a,b){a=uk(a,b);return a==
null?void 0:a},gWa=function(a,b){a=Dt(a,b);return a==null?void 0:a},Qt=function(a,b){a=Bt(a,b);return a==null?void 0:a},dWa=function(a,b){a=Pb(Mj(a,b),!0);return a==null?void 0:a},e_b=function(a,b){a=Pb(Mj(a,b),!0);return a==null?void 0:a},dk=function(a,b,c){return Zp(a,b,Db(c))},Hl=function(a,b,c){return xc(a,b,Db(c),!1)},ek=function(a,b,c){return Zp(a,b,c==null?c:Gb(c))},uj=function(a,b,c){return xc(a,b,c==null?c:Gb(c),0)},nk=function(a,b,c){return Zp(a,b,Lb(c))},pl=function(a,b,c){return xc(a,
b,Lb(c),"0")},lk=function(a,b,c){return Zp(a,b,Lb(c))},Wl=function(a,b,c){return xc(a,b,yb(c),0)},gk=function(a,b,c){return Zp(a,b,Sca(c))},cj=function(a,b,c){return xc(a,b,Sca(c),"")},kl=function(a,b,c,d){return xl(a,b,c,Sca(d))},sl=function(a,b,c){return xc(a,b,kb(c,!1,!0,!1),fb())},hk=function(a,b,c){return Zp(a,b,Eca(c))},ej=function(a,b,c){return xc(a,b,Eca(c),0)},Lv=function(a,b,c){return yc(a,b,Gb,void 0,c,$i,void 0,1)},pk=function(a,b,c){return wc(a,b,c,Kb)},f_b=function(a,b,c){return yc(a,
b,Kb,void 0,c,lj,void 0,1,!1,!0)},Mv=function(a,b,c){yc(a,b,Kb,c,void 0,lj,void 0,void 0,!0)},dj=function(a,b,c){return wc(a,b,c,Qb)},Xm=function(a,b,c){yc(a,b,Qb,c,void 0,Vi,void 0,void 0,!0)},Nv=function(a,b,c,d){return yc(a,b,Qb,d,c,Vi,void 0,1)},ok=function(a,b,c){return wc(a,b,c,Fb)},Ej=function(a,b){return tt(a,b)!=null},Gj=function(a,b){return Gv(a,b)!=null},Uj=function(a,b){return Ev(a,b)!=null},Hj=function(a,b){return uk(a,b)!=null},Ij=function(a,b){return Bt(a,b)!=null};var pea,Bc,V=function(a,b,c){this.internalArray_=m(a,b,c)};V.prototype.toJSON=function(){return qea(this)};V.prototype.serialize=function(a){try{return Bc=!0,a&&(pea=a===eca||a!==dca&&a!==ica&&a!==lca?eca:a),JSON.stringify(qea(this),hda)}finally{a&&(pea=void 0),Bc=!1}};var yna=function(a,b){if(b==null||b=="")return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error("na");return Fda(a,Uba(b))};
V.prototype.getExtension=function(a){return a.ctor?a.isRepeated?a.getExtensionFn(this,a.ctor,a.fieldIndex,Wi(void 0,!0),!0):a.getExtensionFn(this,a.ctor,a.fieldIndex,!0):a.isRepeated?a.getExtensionFn(this,a.fieldIndex,Wi(void 0,!0),!0):a.getExtensionFn(this,a.fieldIndex,a.defaultValue,!0)};var g_b=function(a,b){a=b.ctor?b.getExtensionFn(a,b.ctor,b.fieldIndex,!0):b.getExtensionFn(a,b.fieldIndex,null,!0);return a===null?void 0:a};
V.prototype.hasExtension=function(a){return a.ctor?Oj(this,a.ctor,a.fieldIndex,!0):g_b(this,a)!==void 0};V.prototype.clone=function(){var a=this.internalArray_;return Tda(this,a,a[ab],!1)};V.prototype.isMutable=function(){return!$a(this.internalArray_)};V.prototype.isImmutable=function(){return $a(this.internalArray_)};
var vt=function(a,b,c){b.ctor?b.isRepeated?b.setExtensionFn(a,b.ctor,b.fieldIndex,c,void 0,!0):b.setExtensionFn(a,b.ctor,b.fieldIndex,c,!0):b.isRepeated?b.setExtensionFn(a,b.fieldIndex,c,void 0,!0):b.setExtensionFn(a,b.fieldIndex,c,!0)};V.prototype.messagePrototypeMarker=Yba;V.prototype.toString=function(){try{return Bc=!0,qea(this).toString()}finally{Bc=!1}};var Bea="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var h_b=globalThis.trustedTypes,Dea=h_b,Fea;var Hc=function(a){this.privateDoNotAccessOrElseWrappedResourceUrl=a};Hc.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedResourceUrl+""};var i_b=fv([""]),j_b=fYb(["\x00"],["\\0"]),k_b=fYb(["\n"],["\\n"]),l_b=fYb(["\x00"],["\\u0000"]);Hea(function(a){return a(i_b)})||Hea(function(a){return a(j_b)})||Hea(function(a){return a(k_b)})||Hea(function(a){return a(l_b)});var Kc=function(a){this.privateDoNotAccessOrElseWrappedUrl=a};Kc.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedUrl};var Kea=new Kc("about:invalid#zClosurez");var Iea=function(a){this.isValid=a},Jea=[Nc("data"),Nc("http"),Nc("https"),Nc("mailto"),Nc("ftp"),new Iea(function(a){return/^[^:]*([/?#]|$)/.test(a)})],Lea=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;var Qc=function(a){this.privateDoNotAccessOrElseWrappedHtml=a};Qc.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedHtml+""};var Wu=new Qc(h_b?h_b.emptyHTML:"");var m_b="alternate author bookmark canonical cite help icon license modulepreload next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");var o_b=function(a){var b=sp("window.location.href");a==null&&(a='Unknown Error of type "null/undefined"');if(typeof a==="string")return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(h){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||ya.$googDebugFname||b}catch(h){e="Not available",c=!0}b=n_b(a);if(!(!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name)){c=a.message;
if(c==null){if(a.constructor&&a.constructor instanceof Function){if(a.constructor.name)c=a.constructor.name;else if(c=a.constructor,Ov[c])c=Ov[c];else{c=String(c);if(!Ov[c]){var f=/function\s+([^\(]+)/m.exec(c);Ov[c]=f?f[1]:"[Anonymous]"}c=Ov[c]}c='Unknown Error of type "'+c+'"'}else c="Unknown Error of unknown type";typeof a.toString==="function"&&Object.prototype.toString!==a.toString&&(c+=": "+a.toString())}return{message:c,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:b||"Not available"}}return{message:a.message,
name:a.name,lineNumber:a.lineNumber,fileName:a.fileName,stack:b}},n_b=function(a,b){b||(b={});b[p_b(a)]=!0;var c=a.stack||"",d=a.cause;d&&!b[p_b(d)]&&(c+="\nCaused by: ",d.stack&&d.stack.indexOf(d.toString())==0||(c+=typeof d==="string"?d:d.message+"\n"),c+=n_b(d,b));a=a.errors;if(Array.isArray(a)){d=1;for(var e=0;e<a.length&&!(d>4);e++)b[p_b(a[e])]||(c+="\nInner error "+d++ +": ",a[e].stack&&a[e].stack.indexOf(a[e].toString())==0||(c+=typeof a[e]==="string"?a[e]:a[e].message+"\n"),c+=n_b(a[e],b));
e<a.length&&(c+="\n... "+(a.length-e)+" more inner errors")}return c},p_b=function(a){var b="";typeof a.toString==="function"&&(b=""+a);return b+a.stack},Ov={};var q_b=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&c.length>1;)d+=c.shift()+e.shift();return d+c.join("%s")},r_b=function(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},Xt=function(a){return!/[^0-9]/.test(a)},Hr=function(a){SYb.test(a)&&(a.indexOf("&")!=-1&&(a=a.replace(MYb,"&amp;")),a.indexOf("<")!=-1&&(a=a.replace(NYb,"&lt;")),a.indexOf(">")!=-1&&(a=a.replace(OYb,"&gt;")),a.indexOf('"')!=-1&&(a=a.replace(PYb,"&quot;")),a.indexOf("'")!=
-1&&(a=a.replace(QYb,"&#39;")),a.indexOf("\x00")!=-1&&(a=a.replace(RYb,"&#0;")));return a},s_b=function(a,b){for(var c=b.length,d=0;d<c;d++){var e=c==1?b:b.charAt(d);if(a.charAt(0)==e&&a.charAt(a.length-1)==e)return a.substring(1,a.length-1)}return a},z7a=function(a,b,c){return a.replace(new RegExp(cq(b),"g"),c.replace(/\$/g,"$$$$"))},cq=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},Pv=function(a,b){if(!Number.isFinite(a))return String(a);a=
String(a);var c=a.indexOf(".");c===-1&&(c=a.length);var d=a[0]==="-"?"-":"";d&&(a=a.substring(1));return d+"0".repeat(Math.max(0,b-c))+a},hu=function(a){return a==null?"":String(a)},Qv=function(){return Math.floor(Math.random()*2147483648).toString(36)+Math.abs(Math.floor(Math.random()*2147483648)^Date.now()).toString(36)},cm=function(a){var b=Number(a);return b==0&&iu(a)?NaN:b},Kab=function(){return"height".replace(/\-([a-z])/g,function(a,b){return b.toUpperCase()})},t_b=function(a){return String(a).replace(/([A-Z])/g,
"-$1").toLowerCase()},Ji=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},Ei=function(a){isFinite(a)&&(a=String(a));return typeof a==="string"?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN},u_b=function(a){var b=1;a=a.split(":");for(var c=[];b>0&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));return c};var Rv=function(a,b){this.key_=a;this.value_=b},v_b=function(a){throw Error("sa`"+a.key_);};Rv.prototype.string=function(a){if(this.value_==null)return arguments.length==0&&v_b(this),a;if(typeof this.value_==="string")return this.value_;throw new TypeError("ta`"+this.key_+"`"+this.value_+"`"+typeof this.value_);};
Rv.prototype.bool=function(a){if(this.value_==null)return arguments.length==0&&v_b(this),a;if(typeof this.value_==="boolean")return this.value_;if(typeof this.value_==="string"){var b=this.value_.toLowerCase();if(b==="true"||b==="1")return!0;if(b==="false"||b==="0")return!1}throw new TypeError("va`"+this.key_+"`"+this.value_+"`"+typeof this.value_);};
var x_b=function(){var a=w_b;if(a.value_==null)return null;if(typeof a.value_==="boolean")return a.value_;if(typeof a.value_==="string"){var b=a.value_.toLowerCase();if(b==="true"||b==="1")return!0;if(b==="false"||b==="0")return!1}throw new TypeError("wa`"+a.key_+"`"+a.value_+"`"+typeof a.value_);};
Rv.prototype.number=function(a){if(this.value_==null)return arguments.length==0&&v_b(this),a;if(typeof this.value_==="number")return this.value_;if(typeof this.value_==="string"){var b=Number(this.value_);if(!isNaN(b)&&!iu(this.value_))return b}throw new TypeError("xa`"+this.key_+"`"+this.value_+"`"+typeof this.value_);};
Rv.prototype.toString=function(){if(this.value_==null)var a=null;else if(typeof this.value_==="string")a=this.value_;else throw new TypeError("ua`"+this.key_+"`"+this.value_+"`"+typeof this.value_);a===null&&v_b(this);return a};Rv.prototype.array=function(a){if(this.value_==null){if(arguments.length==0)throw Error("sa`"+this.key_);return a}return y_b(this,Va(this.value_)?this.value_:typeof this.value_!=="string"?[this.value_]:z_b(this))};
var y_b=function(a,b){return bZb(b,function(c,d){return new Rv(this.key_+"["+d+"]",c)},a)},z_b=function(a){a=a.string();return a.trim()==""?[]:a.split(",").map(function(b){return b.trim()})};Rv.prototype.object=function(a){if(this.value_==null){if(arguments.length==0)throw Error("sa`"+this.key_);return a}if(!Va(this.value_)&&In(this.value_))return sea(this.value_,function(b,c){return new Rv(this.key_+"."+c,b)},this);throw new TypeError("ya`"+this.key_+"`"+this.value_+"`"+typeof this.value_);};var A_b;if(!(A_b=typeof window==="undefined")){var w_b,B_b,C_b=B_b=B_b===void 0?window:B_b;C_b=C_b===void 0?window:C_b;var D_b,E_b=C_b;E_b=E_b===void 0?window:E_b;D_b=E_b.WIZ_global_data;w_b=new Rv("mXaIFf",D_b&&"mXaIFf"in D_b?D_b.mXaIFf:null);var F_b=x_b();A_b=F_b===null?!0:F_b}
if(A_b){var Sv=globalThis,G_b=Sv[ca("forceDuplicateZoneCheck")]===!0;if(Sv.Zone&&(G_b||typeof Sv.Zone.__symbol__!=="function"))throw Error("Ca");Sv.Zone!=null||(Sv.Zone=gaa());var ta=Sv.Zone;Qea();Rea();Sea();Kaa();Yaa();cba();dba()};var Tea=Xc({"\u0275prov":Xc}),Xea=Xc({"\u0275inj":Xc}),Uea=Xc({ngInjectableDef:Xc}),Yea=Xc({ngInjectorDef:Xc});var $c=function(a,b){b=Error.call(this,"NG0"+Math.abs(a)+(b?": "+b:""));this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a};Y($c,Error);var rd=Xc({"\u0275cmp":Xc}),Lfa=Xc({"\u0275dir":Xc}),Qfa=Xc({"\u0275pipe":Xc}),H_b=Xc({"\u0275mod":Xc}),Sfa=Xc({"\u0275fac":Xc}),Yd=Xc({__NG_ELEMENT_ID__:Xc}),I_b=Xc({__NG_ENV_ID__:Xc});var ad=null,cfa=!1,hfa=1,fd=Symbol("Ea"),Tv={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:function(){return!1},producerRecomputeValue:function(){},consumerMarkedDirty:function(){},consumerOnSignalRead:function(){}};var J_b=Symbol("Fa"),K_b=Symbol("Ga"),qfa=Symbol("Ha"),pfa=Object.assign({},Tv,{value:J_b,dirty:!0,error:null,equal:bfa,producerMustRecompute:function(a){return a.value===J_b||a.value===K_b},producerRecomputeValue:function(a){if(a.value===K_b)throw Error("Ia");var b=a.value;a.value=K_b;var c=ed(a);try{var d=a.computation()}catch(e){d=qfa,a.error=e}finally{mfa(a,c)}b!==J_b&&b!==qfa&&d!==qfa&&a.equal(b,d)?a.value=b:(a.value=d,a.version++)}});var ufa=function(){throw Error();};var sfa=Object.assign({},Tv,{equal:bfa,value:void 0});Object.assign({},Tv,{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:function(a){a.schedule!==null&&a.schedule(a.ref)},hasRun:!1,cleanupFn:function(){}});var gd;var yfa=Xc({__forward_ref__:Xc});var Bd=function(a,b){this._desc=a;this.\u0275prov=void 0;typeof b=="number"?this.__NG_ELEMENT_ID__=b:b!==void 0&&(this.\u0275prov=n({token:this,providedIn:b.providedIn||"root",factory:b.factory}))};Bd.prototype.toString=function(){return"InjectionToken "+this._desc};ea.Object.defineProperties(Bd.prototype,{multi:{configurable:!0,enumerable:!0,get:function(){return this}}});var kf=globalThis;var L_b={},M_b=/\n/gm,kd=void 0;var bga=new Bd("");var N_b=new Bd("",-1);var aga=new Bd("");var fga=function(){};fga.prototype.get=function(a,b){b=b===void 0?L_b:b;if(b===L_b)throw a=Error("Ja`"+Zc(a)),a.name="NullInjectorError",a;return b};var sd={},qd=[];var cga=Xc({provide:String,useValue:Xc});var Ima=new Bd("");var kga={},O_b={},ega=void 0,Uv=function(){},Dd=function(a,b,c,d){var e=this;this.parent=b;this.source=c;this.scopes=d;this.records=new Map;this._ngOnDestroyHooks=new Set;this._onDestroyHooks=[];this._destroyed=!1;nga(a,function(f){return P_b(e,f)});this.records.set(N_b,Cd(void 0,this));d.has("environment")&&this.records.set(Uv,Cd(void 0,this));a=this.records.get(Ima);a!=null&&typeof a.value==="string"&&this.scopes.add(a.value);this.injectorDefTypes=new Set(this.get(aga,qd,2))};Y(Dd,Uv);g=Dd.prototype;
g.destroy=function(){mga(this);this._destroyed=!0;var a=bd(null);try{for(var b=k(this._ngOnDestroyHooks),c=b.next();!c.done;c=b.next())c.value.ngOnDestroy();var d=this._onDestroyHooks;this._onDestroyHooks=[];for(var e=k(d),f=e.next();!f.done;f=e.next()){var h=f.value;h()}}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),bd(a)}};
g.onDestroy=function(a){var b=this;mga(this);this._onDestroyHooks.push(a);return function(){var c=b._onDestroyHooks.indexOf(a);c!==-1&&b._onDestroyHooks.splice(c,1)}};
g.get=function(a,b,c){b=b===void 0?L_b:b;c=c===void 0?0:c;mga(this);if(a.hasOwnProperty(I_b))return a[I_b](this);c=Afa(c);var d=ld(this),e=hd();try{if(!(c&4)){var f=this.records.get(a);if(f===void 0){var h=(typeof a==="function"||typeof a==="object"&&a instanceof Bd)&&Vea(a),l;if(l=h)if(h.providedIn){var q=jd(h.providedIn);l=typeof q==="string"?q==="any"||this.scopes.has(q):this.injectorDefTypes.has(q)}else l=!1;l?f=Cd(iga(a),kga):f=null;this.records.set(a,f)}if(f!=null){a:{b=f;var v=bd(null);try{b.value===
kga&&(b.value=O_b,b.value=b.factory());var y;if(y=typeof b.value==="object"&&b.value){var E=b.value;y=E!==null&&typeof E==="object"&&typeof E.ngOnDestroy==="function"}y&&this._ngOnDestroyHooks.add(b.value);var H=b.value;break a}finally{bd(v)}H=void 0}return H}}var O=c&2?gga():this.parent;b=c&8&&b===L_b?null:b;return O.get(a,b)}catch(Na){if(Na.name==="NullInjectorError"){(Na.ngTempTokenPath=Na.ngTempTokenPath||[]).unshift(Zc(a));if(d)throw Na;H=Na;var N=this.source,T=H.ngTempTokenPath;a.__source&&
T.unshift(a.__source);var da="\n"+H.message;a=N;a=a===void 0?null:a;da=da&&da.charAt(0)==="\n"&&da.charAt(1)=="\u0275"?da.slice(2):da;var ja=Zc(T);if(Array.isArray(T))ja=T.map(Zc).join(" -> ");else if(typeof T==="object"){N=[];for(var na in T)if(T.hasOwnProperty(na)){var Ia=T[na];N.push(na+":"+(typeof Ia==="string"?JSON.stringify(Ia):Zc(Ia)))}ja="{"+N.join(", ")+"}"}var Pa="R3InjectorError"+(a?"("+a+")":"")+"["+ja+"]: "+da.replace(M_b,"\n  ");H.message=Pa;H.ngTokenPath=T;H.ngTempTokenPath=null;throw H;
}throw Na;}finally{hd(e),ld(d)}};g.resolveInjectorInitializers=function(){var a=bd(null),b=ld(this),c=hd();try{for(var d=this.get(bga,qd,2),e=k(d),f=e.next();!f.done;f=e.next()){var h=f.value;h()}}finally{ld(b),hd(c),bd(a)}};g.toString=function(){for(var a=[],b=k(this.records.keys()),c=b.next();!c.done;c=b.next())a.push(Zc(c.value));return"R3Injector["+a.join(", ")+"]"};
var P_b=function(a,b){b=jd(b);var c=Ad(b)?b:jd(b&&b.provide),d=lga(b);if(!Ad(b)&&b.multi===!0){var e=a.records.get(c);e||(e=Cd(void 0,kga,!0),e.factory=function(){return Bfa(e.multi)},a.records.set(c,e));c=b;e.multi.push(b)}a.records.set(c,d)};ea.Object.defineProperties(Dd.prototype,{destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});var sga=function(a,b,c){this.previousValue=a;this.currentValue=b;this.firstChange=c};Hd.ngInherit=!0;var Pd=Dga(null),fja=null,xga=!1,bg=!0;var be=function(a,b){var c=af;this.factory=a;this.resolving=!1;this.canSeeViewProviders=b;this.injectImpl=c};var Q_b={};var R_b=function(a,b){this.injector=a;this.parentInjector=b};R_b.prototype.get=function(a,b,c){c=Afa(c);var d=this.injector.get(a,Q_b,c);return d!==Q_b||b===Q_b?d:this.parentInjector.get(a,b,c)};var Lga=!0,Nga=0,$d={},ce=function(a,b){this._tNode=a;this._lView=b};ce.prototype.get=function(a,b,c){return Wga(this._tNode,this._lView,a,Afa(c),b)};var Vv=function(a){var b=this;this.attributeName=a;this.__NG_ELEMENT_ID__=function(){return Zd(b.attributeName)}};Vv.prototype.toString=function(){return"HostAttributeToken "+this.attributeName};(new Bd("")).__NG_ELEMENT_ID__=function(a){var b=Rd();if(b===null)throw new $c(204,!1);if(b.type&2)return b.value;if(a&8)return null;throw new $c(204,!1);};var S_b=nd(ee(function(a){return{token:a}}),-1),Wv=nd(ee(),8);nd(ee(),2);var Xv=nd(ee(),4);nd(ee(),1);Xc({provide:String,useValue:Xc});var Sf=function(){},qh=function(a){if(Array.isArray(a))return bha({name:""},void 0,a,"");var b,c=(b=a.name)!=null?b:"";return bha({name:c},a.parent,a.providers,c)},T_b=new fga;Sf.\u0275prov=n({token:Sf,providedIn:"any",factory:function(){return md(N_b)}});Sf.__NG_ELEMENT_ID__=-1;var U_b=function(){};var Yv=function(){},BCa=function(){};var vh=function(){},V_b=new Bd("",{providedIn:"root",factory:function(){return!1}});new Bd("",{providedIn:"root",factory:function(){return!1}});var wma=new Bd(""),xma=new Bd("");var cha=void 0;var eha=new Map,dja=0;var W_b=new Bd("",{providedIn:"root",factory:function(){return"ng"}}),Jma=new Bd(""),Tf=new Bd("",{providedIn:"platform",factory:function(){return"unknown"}});new Bd("");
var Zv=new Bd(""),X_b=new Bd("",{providedIn:"root",factory:function(){var a,b;return((a=dha().body)==null?void 0:(b=a.querySelector("[ngCspNonce]"))==null?void 0:b.getAttribute("ngCspNonce"))||null}}),Y_b={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1};new Bd("",{providedIn:"root",factory:function(){return Y_b}});var Z_b=function(){},$_b=function(){};var ge=function(a){this.nativeElement=a};ge.__NG_ELEMENT_ID__=function(){return he(Rd(),x())};var a0b=function(){},$v=function(){this.destroyNode=null};$v.__NG_ELEMENT_ID__=function(){var a=x(),b=Ld(Rd().index,a);return(Fd(b)?b:a)[11]};var Xf=function(){};Xf.__NG_ELEMENT_ID__=jha;Xf.__NG_ENV_ID__=function(a){return a};var je=function(a){this._lView=a};Y(je,Xf);je.__NG_ENV_ID__=Xf.__NG_ENV_ID__;je.__NG_ELEMENT_ID__=Xf.__NG_ELEMENT_ID__;je.prototype.onDestroy=function(a){var b=this;wga(this._lView,a);return function(){var c=b._lView;if(c[21]!==null){var d=c[21].indexOf(a);d!==-1&&c[21].splice(d,1)}}};var b0b=ke(function(a){return function(b){a(this);this.message=b?b.length+" errors occurred during unsubscription:\n"+b.map(function(c,d){return d+1+") "+c.toString()}).join("\n  "):"";this.name="UnsubscriptionError";this.errors=b}});var me=function(a){this.initialTeardown=a;this.closed=!1;this._teardowns=this._parentage=null};g=me.prototype;
g.unsubscribe=function(){if(!this.closed){this.closed=!0;var a=this._parentage;if(Array.isArray(a))for(var b=k(a),c=b.next();!c.done;c=b.next())c.value.remove(this);else a==null||a.remove(this);b=this.initialTeardown;if(le(b))try{b()}catch(f){var d=f instanceof b0b?f.errors:[f]}var e=this._teardowns;if(e)for(this._teardowns=null,b=k(e),c=b.next();!c.done;c=b.next()){c=c.value;try{le(c)?c():c.unsubscribe()}catch(f){c=void 0,d=(c=d)!=null?c:[],f instanceof b0b?d=[].concat(w(d),w(f.errors)):d.push(f)}}if(d)throw new b0b(d);
}};g.add=function(a){if(a&&a!==this)if(this.closed)le(a)?a():a.unsubscribe();else{if(a instanceof me){if(a.closed||a._hasParent(this))return;a._addParent(this)}var b;(this._teardowns=(b=this._teardowns)!=null?b:[]).push(a)}};g._hasParent=function(a){var b=this._parentage;return b===a||Array.isArray(b)&&b.includes(a)};g._addParent=function(a){var b=this._parentage;this._parentage=Array.isArray(b)?(b.push(a),b):b?[b,a]:a};
g._removeParent=function(a){var b=this._parentage;b===a?this._parentage=null:Array.isArray(b)&&kha(b,a)};g.remove=function(a){var b=this._teardowns;b&&kha(b,a);a instanceof me&&a._removeParent(this)};var c0b=new me;c0b.closed=!0;me.EMPTY=c0b;var mha=function(){setTimeout.apply(null,w(zd.apply(0,arguments)))};var aw=function(a){me.call(this);this.isStopped=!1;this.destination=a instanceof aw?a:new bw(!a||le(a)?{next:a!=null?a:void 0}:a);lha(a)&&a.add(this)};Y(aw,me);aw.EMPTY=me.EMPTY;aw.create=function(a,b,c){return new He(a,b,c)};g=aw.prototype;g.next=function(a){this.isStopped||this._next(a)};g.error=function(a){this.isStopped||(this.isStopped=!0,this._error(a))};g.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())};g.unsubscribe=function(){this.closed||(this.isStopped=!0,me.prototype.unsubscribe.call(this))};
g._next=function(a){this.destination.next(a)};g._error=function(a){this.destination.error(a);this.unsubscribe()};g._complete=function(){this.destination.complete();this.unsubscribe()};var bw=function(a){this.partialObserver=a};bw.prototype.next=function(a){var b=this.partialObserver;if(b.next)try{b.next(a)}catch(c){oe(c)}};bw.prototype.error=function(a){var b=this.partialObserver;if(b.error)try{b.error(a)}catch(c){oe(c)}else oe(a)};bw.prototype.complete=function(){var a=this.partialObserver;if(a.complete)try{a.complete()}catch(b){oe(b)}};
var He=function(a,b,c){aw.call(this);var d;le(a)||!a?d={next:a!=null?a:void 0,error:b!=null?b:void 0,complete:c!=null?c:void 0}:d=a;this.destination=new bw(d)};Y(He,aw);He.EMPTY=aw.EMPTY;He.create=aw.create;var se=typeof Symbol==="function"&&Symbol.observable||"@@observable";var re=function(a){a&&(this._subscribe=a)};g=re.prototype;g.lift=function(a){var b=new re;b.source=this;b.operator=a;return b};g.subscribe=function(a,b,c){a=a&&a instanceof aw||a&&le(a.next)&&le(a.error)&&le(a.complete)&&lha(a)?a:new He(a,b,c);b=this.operator;c=this.source;a.add(b?b.call(a,c):c?this._subscribe(a):this._trySubscribe(a));return a};g._trySubscribe=function(a){try{return this._subscribe(a)}catch(b){a.error(b)}};
g.forEach=function(a,b){var c=this;b=oha(b);return new b(function(d,e){var f=c.subscribe(function(h){try{a(h)}catch(l){e(l),f==null||f.unsubscribe()}},e,d)})};g._subscribe=function(a){var b;return(b=this.source)==null?void 0:b.subscribe(a)};re.prototype[se]=function(){return this};re.prototype.pipe=function(){var a=zd.apply(0,arguments);return a.length?nha(a)(this):this};re.create=function(a){return new re(a)};var d0b=ke(function(a){return function(){a(this);this.name="ObjectUnsubscribedError";this.message="object unsubscribed"}});var Jf=function(){this.observers=[];this.hasError=this.isStopped=this.closed=!1;this.thrownError=null};Y(Jf,re);g=Jf.prototype;g.lift=function(a){var b=new cw(this,this);b.operator=a;return b};g._throwIfClosed=function(){if(this.closed)throw new d0b;};g.next=function(a){this._throwIfClosed();if(!this.isStopped)for(var b=k(this.observers.slice()),c=b.next();!c.done;c=b.next())c.value.next(a)};
g.error=function(a){this._throwIfClosed();if(!this.isStopped){this.hasError=this.isStopped=!0;this.thrownError=a;for(var b=this.observers;b.length;)b.shift().error(a)}};g.complete=function(){this._throwIfClosed();if(!this.isStopped){this.isStopped=!0;for(var a=this.observers;a.length;)a.shift().complete()}};g.unsubscribe=function(){this.isStopped=this.closed=!0;this.observers=null};g._trySubscribe=function(a){this._throwIfClosed();return re.prototype._trySubscribe.call(this,a)};
g._subscribe=function(a){this._throwIfClosed();this._checkFinalizedStatuses(a);return this._innerSubscribe(a)};g._innerSubscribe=function(a){var b=this,c=this.isStopped,d=this.observers;return this.hasError||c?me.EMPTY:(d.push(a),new me(function(){return kha(b.observers,a)}))};g._checkFinalizedStatuses=function(a){var b=this.thrownError,c=this.isStopped;this.hasError?a.error(b):c&&a.complete()};var Pu=function(a){var b=new re;b.source=a;return b};
ea.Object.defineProperties(Jf.prototype,{observed:{configurable:!0,enumerable:!0,get:function(){var a;return((a=this.observers)==null?void 0:a.length)>0}}});Jf.create=function(a,b){return new cw(a,b)};var cw=function(a,b){Jf.call(this);this.destination=a;this.source=b};Y(cw,Jf);cw.create=Jf.create;cw.prototype.next=function(a){var b,c;(b=this.destination)==null||(c=b.next)==null||c.call(b,a)};cw.prototype.error=function(a){var b,c;(b=this.destination)==null||(c=b.error)==null||c.call(b,a)};
cw.prototype.complete=function(){var a,b;(a=this.destination)==null||(b=a.complete)==null||b.call(a)};cw.prototype._subscribe=function(a){var b,c;return(c=(b=this.source)==null?void 0:b.subscribe(a))!=null?c:me.EMPTY};var bo=function(a){Jf.call(this);this._value=a};Y(bo,Jf);bo.create=Jf.create;bo.prototype._subscribe=function(a){var b=Jf.prototype._subscribe.call(this,a);!b.closed&&a.next(this._value);return b};bo.prototype.getValue=function(){var a=this.thrownError,b=this._value;if(this.hasError)throw a;this._throwIfClosed();return b};bo.prototype.next=function(a){Jf.prototype.next.call(this,this._value=a)};ea.Object.defineProperties(bo.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.getValue()}}});var We=new re(function(a){return a.complete()});var sha=typeof Symbol==="function"&&Symbol.iterator?Symbol.iterator:"@@iterator";var xha=function(a){return a&&typeof a.length==="number"&&typeof a!=="function"};var e0b={now:function(){return(e0b.delegate||Date).now()},delegate:void 0};var If=function(a,b,c){a=a===void 0?Infinity:a;b=b===void 0?Infinity:b;c=c===void 0?e0b:c;Jf.call(this);this.bufferSize=a;this.windowTime=b;this.timestampProvider=c;this.buffer=[];this.infiniteTimeWindow=b===Infinity;this.bufferSize=Math.max(1,a);this.windowTime=Math.max(1,b)};Y(If,Jf);If.create=Jf.create;
If.prototype.next=function(a){var b=this.buffer,c=this.infiniteTimeWindow,d=this.timestampProvider,e=this.windowTime;this.isStopped||(b.push(a),!c&&b.push(d.now()+e));f0b(this);Jf.prototype.next.call(this,a)};If.prototype._subscribe=function(a){this._throwIfClosed();f0b(this);for(var b=this._innerSubscribe(a),c=this.infiniteTimeWindow,d=this.buffer.slice(),e=0;e<d.length&&!a.closed;e+=c?1:2)a.next(d[e]);this._checkFinalizedStatuses(a);return b};
var f0b=function(a){var b=a.bufferSize,c=a.timestampProvider,d=a.buffer;a=a.infiniteTimeWindow;var e=(a?1:2)*b;b<Infinity&&e<d.length&&d.splice(0,d.length-e);if(!a){b=c.now();c=0;for(a=1;a<d.length&&d[a]<=b;a+=2)c=a;c&&d.splice(0,c+1)}};var h0b=function(a,b){b=b===void 0?g0b:b;this.schedulerActionCtor=a;this.now=b};h0b.prototype.schedule=function(a,b,c){b=b===void 0?0:b;return(new this.schedulerActionCtor(this,a)).schedule(c,b)};var g0b=e0b.now;var Ie=ke(function(a){return function(){a(this);this.name="EmptyError";this.message="no elements in sequence"}});var Le=function(a,b,c,d,e){aw.call(this,a);this.onUnsubscribe=e;b&&(this._next=function(f){try{b(f)}catch(h){this.destination.error(h)}});c&&(this._error=function(f){try{c(f)}catch(h){this.destination.error(h)}this.unsubscribe()});d&&(this._complete=function(){try{d()}catch(f){this.destination.error(f)}this.unsubscribe()})};Y(Le,aw);Le.EMPTY=aw.EMPTY;Le.create=aw.create;Le.prototype.unsubscribe=function(){var a;this.closed||(a=this.onUnsubscribe)!=null&&a.call(this);aw.prototype.unsubscribe.call(this)};var Hf=function(a,b){this.source=a;this.subjectFactory=b;this._subject=null;this._refCount=0;this._connection=null};Y(Hf,re);Hf.create=re.create;Hf.prototype._subscribe=function(a){return i0b(this).subscribe(a)};var i0b=function(a){var b=a._subject;if(!b||b.isStopped)a._subject=a.subjectFactory();return a._subject};Hf.prototype._teardown=function(){this._refCount=0;var a=this._connection;this._subject=this._connection=null;a==null||a.unsubscribe()};
Hf.prototype.connect=function(){var a=this,b=this._connection;if(!b){b=this._connection=new me;var c=i0b(this);b.add(this.source.subscribe(new Le(c,void 0,function(d){a._teardown();c.error(d)},function(){a._teardown();c.complete()},function(){return a._teardown()})));b.closed&&(this._connection=null,b=me.EMPTY)}return b};Hf.prototype.refCount=function(){return Hha()(this)};var Iha=Array.isArray;var Kha=Array.isArray,j0b=Object,Lha=j0b.getPrototypeOf,Mha=j0b.prototype,Nha=j0b.keys;var Ne=function(a,b,c){aw.call(this,a);this._next=b;this.shouldComplete=c};Y(Ne,aw);Ne.EMPTY=aw.EMPTY;Ne.create=aw.create;Ne.prototype._complete=function(){this.shouldComplete()?aw.prototype._complete.call(this):this.unsubscribe()};var k0b=function(){return requestAnimationFrame.apply(null,w(zd.apply(0,arguments)))},l0b=function(){cancelAnimationFrame.apply(null,w(zd.apply(0,arguments)))};var Uha=["addListener","removeListener"],Tha=["addEventListener","removeEventListener"],Wha=["on","off"];var dw=function(){me.call(this)};Y(dw,me);dw.EMPTY=me.EMPTY;dw.prototype.schedule=function(){return this};var m0b=function(a,b){return setInterval.apply(null,[a,b].concat(w(zd.apply(2,arguments))))};var ew=function(a,b){me.call(this);this.scheduler=a;this.work=b;this.pending=!1};Y(ew,dw);ew.EMPTY=dw.EMPTY;g=ew.prototype;g.schedule=function(a,b){b=b===void 0?0:b;if(this.closed)return this;this.state=a;a=this.id;var c=this.scheduler;a!=null&&(this.id=this.recycleAsyncId(c,a,b));this.pending=!0;this.delay=b;this.id=this.id||this.requestAsyncId(c,this.id,b);return this};g.requestAsyncId=function(a,b,c){c=c===void 0?0:c;return m0b(a.flush.bind(a,this),c)};
g.recycleAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!=null&&this.delay===c&&this.pending===!1)return b;clearInterval(b)};g.execute=function(a,b){if(this.closed)return Error("Qa");this.pending=!1;if(a=this._execute(a,b))return a;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))};g._execute=function(a){var b=!1;try{this.work(a)}catch(d){b=!0;var c=!!d&&d||Error(d)}if(b)return this.unsubscribe(),c};
g.unsubscribe=function(){if(!this.closed){var a=this.id,b=this.scheduler,c=b.actions;this.work=this.state=this.scheduler=null;this.pending=!1;kha(c,this);a!=null&&(this.id=this.recycleAsyncId(b,a,null));this.delay=null;dw.prototype.unsubscribe.call(this)}};var fw=function(a,b){b=b===void 0?g0b:b;h0b.call(this,a,b);this.actions=[];this.active=!1;this.scheduled=void 0};Y(fw,h0b);fw.prototype.flush=function(a){var b=this.actions;if(this.active)b.push(a);else{var c;this.active=!0;do if(c=a.execute(a.state,a.delay))break;while(a=b.shift());this.active=!1;if(c){for(;a=b.shift();)a.unsubscribe();throw c;}}};var Ue=new fw(ew);var gw=new re(ne);var Zha=Array.isArray;var cia=ke(function(a){return function(b){b=b===void 0?null:b;a(this);this.message="Timeout has occurred";this.name="TimeoutError";this.info=b}});var hw=function(a,b){ew.call(this,a,b);this.scheduler=a;this.work=b};Y(hw,ew);hw.EMPTY=ew.EMPTY;hw.prototype.requestAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!==null&&c>0)return ew.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=k0b(function(){return a.flush(void 0)}))};
hw.prototype.recycleAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!=null&&c>0||c==null&&this.delay>0)return ew.prototype.recycleAsyncId.call(this,a,b,c);a.actions.length===0&&(l0b(b),a.scheduled=void 0)};var n0b=function(){fw.apply(this,arguments)};Y(n0b,fw);n0b.prototype.flush=function(a){this.active=!0;this.scheduled=void 0;var b=this.actions,c,d=-1;a=a||b.shift();var e=b.length;do if(c=a.execute(a.state,a.delay))break;while(++d<e&&(a=b.shift()));this.active=!1;if(c){for(;++d<e&&(a=b.shift());)a.unsubscribe();throw c;}};var o0b=new n0b(hw);var p0b=1,q0b,dia={},r0b=function(a){var b=p0b++;dia[b]=!0;q0b||(q0b=Promise.resolve());q0b.then(function(){return eia(b)&&a()});return b};var s0b=function(){return r0b.apply(null,w(zd.apply(0,arguments)))};var iw=function(a,b){ew.call(this,a,b);this.scheduler=a;this.work=b};Y(iw,ew);iw.EMPTY=ew.EMPTY;iw.prototype.requestAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!==null&&c>0)return ew.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=s0b(a.flush.bind(a,void 0)))};
iw.prototype.recycleAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!=null&&c>0||c==null&&this.delay>0)return ew.prototype.recycleAsyncId.call(this,a,b,c);a.actions.length===0&&(eia(b),a.scheduled=void 0)};var t0b=function(){fw.apply(this,arguments)};Y(t0b,fw);t0b.prototype.flush=function(a){this.active=!0;this.scheduled=void 0;var b=this.actions,c,d=-1;a=a||b.shift();var e=b.length;do if(c=a.execute(a.state,a.delay))break;while(++d<e&&(a=b.shift()));this.active=!1;if(c){for(;++d<e&&(a=b.shift());)a.unsubscribe();throw c;}};var Zo=new t0b(iw);ke(function(a){return function(){a(this);this.name="ArgumentOutOfRangeError";this.message="argument out of range"}});ke(function(a){return function(b){a(this);this.name="NotFoundError";this.message=b}});ke(function(a){return function(b){a(this);this.name="SequenceError";this.message=b}});var jw=function(){this.taskId=0;this.pendingTasks=new Set;this.hasPendingTasks=new bo(!1)};jw.prototype.add=function(){this._hasPendingTasks||this.hasPendingTasks.next(!0);var a=this.taskId++;this.pendingTasks.add(a);return a};jw.prototype.remove=function(a){this.pendingTasks.delete(a);this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)};jw.prototype.ngOnDestroy=function(){this.pendingTasks.clear();this._hasPendingTasks&&this.hasPendingTasks.next(!1)};
ea.Object.defineProperties(jw.prototype,{_hasPendingTasks:{configurable:!0,enumerable:!0,get:function(){return this.hasPendingTasks.value}}});jw.\u0275prov=n({token:jw,providedIn:"root",factory:function(){return new jw}});var kw=function(a){a=a===void 0?!1:a;Jf.call(this);this.pendingTasks=void 0;this.__isAsync=a;if(gd!==void 0||kd!=null){r(Xf,{optional:!0});var b;this.pendingTasks=(b=r(jw,{optional:!0}))!=null?b:void 0}};Y(kw,Jf);kw.create=Jf.create;kw.prototype.emit=function(a){var b=bd(null);try{Jf.prototype.next.call(this,a)}finally{bd(b)}};
kw.prototype.subscribe=function(a,b,c){var d=a;b=b||function(){return null};if(a&&typeof a==="object"){var e;d=(e=a.next)==null?void 0:e.bind(a);var f;b=(f=a.error)==null?void 0:f.bind(a);var h;c=(h=a.complete)==null?void 0:h.bind(a)}this.__isAsync&&(b=u0b(this,b),d&&(d=u0b(this,d)),c&&(c=u0b(this,c)));d=Jf.prototype.subscribe.call(this,{next:d,error:b,complete:c});a instanceof me&&a.add(d);return d};
var u0b=function(a,b){return function(c){var d,e=(d=a.pendingTasks)==null?void 0:d.add();setTimeout(function(){b(c);if(e!==void 0){var f;(f=a.pendingTasks)==null||f.remove(e)}})}};var lia=0,hh=function(a){this.hasPendingMicrotasks=this.hasPendingMacrotasks=!1;this.isStable=!0;this.onUnstable=new kw(!1);this.onMicrotaskEmpty=new kw(!1);this.onStable=new kw(!1);this.onError=new kw(!1);var b=a.enableLongStackTrace===void 0?!1:a.enableLongStackTrace,c=a.shouldCoalesceEventChangeDetection===void 0?!1:a.shouldCoalesceEventChangeDetection,d=a.shouldCoalesceRunChangeDetection===void 0?!1:a.shouldCoalesceRunChangeDetection;a=a.scheduleInRootZone===void 0?!1:a.scheduleInRootZone;if(typeof Zone==
"undefined")throw new $c(908,!1);Zone.assertZonePatched();this._nesting=0;this._outer=this._inner=Zone.current;Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec));b&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec));this.shouldCoalesceEventChangeDetection=!d&&c;this.shouldCoalesceRunChangeDetection=d;this.callbackScheduled=!1;this.scheduleInRootZone=a;oia(this)},v0b=function(){return typeof Zone!=="undefined"&&Zone.current.get("isAngularZone")===
!0},w0b=function(){if(v0b())throw new $c(909,!1);};hh.prototype.run=function(a,b,c){return this._inner.run(a,b,c)};hh.prototype.runTask=function(a,b,c,d){var e=this._inner;a=e.scheduleEventTask("NgZoneEvent: "+d,a,x0b,$e,$e);try{return e.runTask(a,b,c)}finally{e.cancelTask(a)}};hh.prototype.runGuarded=function(a,b,c){return this._inner.runGuarded(a,b,c)};hh.prototype.runOutsideAngular=function(a){return this._outer.run(a)};
var x0b={},lw=function(){this.hasPendingMacrotasks=this.hasPendingMicrotasks=!1;this.isStable=!0;this.onUnstable=new kw;this.onMicrotaskEmpty=new kw;this.onStable=new kw;this.onError=new kw};lw.prototype.run=function(a,b,c){return a.apply(b,c)};lw.prototype.runGuarded=function(a,b,c){return a.apply(b,c)};lw.prototype.runOutsideAngular=function(a){return a()};lw.prototype.runTask=function(a,b,c){return a.apply(b,c)};var sf=function(){this._console=console};sf.prototype.handleError=function(a){var b=this._findOriginalError(a);this._console.error("ERROR",a);b&&this._console.error("ORIGINAL ERROR",b)};sf.prototype._findOriginalError=function(a){for(a=a&&a.ngOriginalError;a&&a.ngOriginalError;)a=a.ngOriginalError;return a||null};var y0b=new Bd("",{providedIn:"root",factory:function(){var a=r(hh),b=r(sf);return function(c){return a.runOutsideAngular(function(){return b.handleError(c)})}}});new Bd("");var z0b=new Bd("",{providedIn:"root",factory:function(){return!1}});new Bd("");new Bd("");var sia=/^>|^->|\x3c!--|--\x3e|--!>|<!-$/g,tia=/(<|>)/g;var qf={};var ff=function(a){this.changingThisBreaksApplicationSecurity=a};ff.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"};var A0b=function(){ff.apply(this,arguments)};Y(A0b,ff);A0b.prototype.getTypeName=function(){return"HTML"};var B0b=function(){ff.apply(this,arguments)};Y(B0b,ff);B0b.prototype.getTypeName=function(){return"URL"};var C0b=function(){ff.apply(this,arguments)};Y(C0b,ff);
C0b.prototype.getTypeName=function(){return"ResourceURL"};var Fia;var Qia=function(a){this.inertDocumentHelper=a};Qia.prototype.getInertBodyElement=function(a){a="<body><remove></remove>"+a;try{var b=(new window.DOMParser).parseFromString(Hia(a),"text/html").body;if(b===null)return this.inertDocumentHelper.getInertBodyElement(a);var c;(c=b.firstChild)==null||c.remove();return b}catch(d){return null}};var Pia=function(a){this.defaultDoc=a;this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")};
Pia.prototype.getInertBodyElement=function(a){var b=this.inertDocument.createElement("template");b.innerHTML=Hia(a);return b};var Iia=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var D0b=lf("area,br,col,hr,img,wbr"),E0b=lf("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),F0b=lf("rp,rt"),G0b=mf(F0b,E0b),H0b=mf(E0b,lf("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),I0b=mf(F0b,lf("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),
Sia=mf(D0b,H0b,I0b,G0b),Uia=lf("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),J0b=lf("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),
K0b=lf("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),
Tia=mf(Uia,J0b,K0b),Via=lf("script,style,template"),Ria=function(){this.buf=[]};Ria.prototype.endElement=function(a){a=Kia(a).toLowerCase();Sia.hasOwnProperty(a)&&!D0b.hasOwnProperty(a)&&(this.buf.push("</"),this.buf.push(a),this.buf.push(">"))};var Lia=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Mia=/([^#-~ |!])/g,Oia;var L0b={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5,0:"NONE",1:"HTML",2:"STYLE",3:"SCRIPT",4:"URL",5:"RESOURCE_URL"};var Xia;var Mja=[],Nja=Object.assign({},Tv,{consumerIsAlwaysLive:!0,consumerMarkedDirty:function(a){Nd(a.lView)},consumerOnSignalRead:function(){this.lView[24]=this}}),Oja=Object.assign({},Tv,{consumerIsAlwaysLive:!0,consumerMarkedDirty:function(a){for(a=Od(a.lView);a&&a[1].type===2;)a=Od(a);a&&tga(a)},consumerOnSignalRead:function(){this.lView[24]=this}});var gh=function(a,b,c){this._lView=a;this._cdRefInjectingView=b;this.notifyErrorHandler=c===void 0?!0:c;this._appRef=null;this._attachedToViewContainer=!1};g=gh.prototype;g.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var a=this._lView[3];if(Gd(a)){var b=a[8],c=b?b.indexOf(this):-1;c>-1&&(df(a,c),Ufa(b,c))}this._attachedToViewContainer=!1}zia(this._lView[1],this._lView)};g.onDestroy=function(a){wga(this._lView,a)};
g.markForCheck=function(){iha(this._cdRefInjectingView||this._lView,4)};g.detach=function(){this._lView[2]&=-129};g.detectChanges=function(){this._lView[2]|=1024;Kja(this._lView,this.notifyErrorHandler)};
ea.Object.defineProperties(gh.prototype,{rootNodes:{configurable:!0,enumerable:!0,get:function(){var a=this._lView,b=a[1];return Hja(b,a,b.firstChild,[])}},context:{configurable:!0,enumerable:!0,get:function(){return this._lView[8]},set:function(a){this._lView[8]=a}},dirty:{configurable:!0,enumerable:!0,get:function(){var a;return!!(this._lView[2]&9280)||!((a=this._lView[24])==null||!a.dirty)}},destroyed:{configurable:!0,enumerable:!0,get:function(){return(this._lView[2]&256)===256}}});var M0b=function(){};M0b.\u0275prov=n({token:M0b,providedIn:"root",factory:function(){return null}});var N0b=function(a){this.ngModule=a};Y(N0b,U_b);var O0b=function(a,b){return new yh(b[rd]||null,a.ngModule)},yh=function(a,b){this.componentDef=a;this.ngModule=b;this.componentType=a.type;this.selector=a.selectors.map(Hfa).join(",");this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[];this.isBoundToModule=!!b};Y(yh,$_b);
yh.prototype.create=function(a,b,c,d){var e=bd(null);try{d=d||this.ngModule;var f,h=d instanceof Uv?d:(f=d)==null?void 0:f.injector;h&&this.componentDef.getStandaloneInjector!==null&&(h=this.componentDef.getStandaloneInjector(h)||h);var l=h?new R_b(a,h):a,q=l.get(a0b,null);if(q===null)throw new $c(407,!1);var v=l.get(M0b,null),y=l.get(vh,null);a={rendererFactory:q,sanitizer:v,changeDetectionScheduler:y};var E=q.createRenderer(null,this.componentDef),H=this.componentDef.selectors[0][0]||"div";if(c){var O=
this.componentDef.encapsulation,N=l.get(z0b,!1)||O===3;var T=E.selectRootElement(c,N)}else{var da=H.toLowerCase();T=E.createElement(H,da==="svg"?"svg":da==="math"?"math":null)}q=T;H=512;this.componentDef.signals?H|=4096:this.componentDef.onPush||(H|=16);T=null;q!==null&&(T=null);var ja=pja(0,null,null,1,0,null,null,null,null,null,null),na=eja(null,ja,null,H,null,null,a,E,l,null,T);Cga(na);l=null;try{var Ia=this.componentDef;H=null;if(Ia.findHostDirectiveDefs){var Pa=[];H=new Map;Ia.findHostDirectiveDefs(Ia,
Pa,H);Pa.push(Ia)}else Pa=[Ia];var Na=na[1];na[25]=q;var bb=pf(Na,25,2,"#host",null);Na=Pa;for(var ma=na[1],Da=k(Na),Ea=Da.next();!Ea.done;Ea=Da.next())bb.mergedAttrs=od(bb.mergedAttrs,Ea.value.hostAttrs);bb.mergedAttrs!==null&&(Gja(bb,bb.mergedAttrs,!0),q!==null&&Eia(E,q,bb));Da=null;q!==null&&(Da=null);var zb=a.rendererFactory.createRenderer(q,Ia),qb=eja(na,jja(Ia),null,lja(Ia),na[bb.index],bb,a,zb,null,null,Da);ma.firstCreatePass&&tja(ma,bb,Na.length-1);kja(na,qb);l=na[bb.index]=qb;var dc=ja.data[25];
if(q)if(c)Cfa(E,q,["ng-version","0.0.0-PLACEHOLDER"]);else{var fc=Ia.selectors[0];c=[];bb=[];ma=1;for(zb=2;ma<fc.length;){var qc=fc[ma];if(typeof qc==="string")zb===2?qc!==""&&c.push(qc,fc[++ma]):zb===8&&bb.push(qc);else{if((zb&1)!==0)break;zb=qc}ma++}c&&Cfa(E,q,c);if(bb&&bb.length>0){var Zb=bb.join(" ");Zb===""?E.removeAttribute(q,"class"):E.setAttribute(q,"class",Zb)}}if(b!==void 0){var Ae=this.ngContentSelectors,eb=dc.projection=[];for(E=0;E<Ae.length;E++){var Cb=b[E];eb.push(Cb!=null&&Cb.length?
Array.from(Cb):null)}}b=l;eb=H;Ae=[Rja];var Qa=Rd(),Ub=na[1],kc=Jd(Qa,na);uja(Ub,na,Qa,Pa,null,eb);for(eb=0;eb<Pa.length;eb++){var cd=ae(na,Ub,Qa.directiveStart+eb,Qa);fe(cd,na)}mja(Ub,na,Qa);kc&&fe(kc,na);var Bb=ae(na,Ub,Qa.directiveStart+Qa.componentOffset,Qa);b[8]=na[8]=Bb;if(Ae!==null)for(var uc=k(Ae),vc=uc.next();!vc.done;vc=uc.next()){var Kd=vc.value;Kd(Bb,Ia)}ija(Ub,Qa,na);var td=Bb;Fja(ja,na,null)}catch(jf){throw l!==null&&eha.delete(l[19]),eha.delete(na[19]),jf;}finally{Fga()}return new mw(this.componentType,
td,he(dc,na),na,dc)}finally{bd(e)}};ea.Object.defineProperties(yh.prototype,{inputs:{configurable:!0,enumerable:!0,get:function(){var a=this.componentDef,b=a.inputTransforms;a=Qja(a.inputs,!0);if(b!==null)for(var c=k(a),d=c.next();!d.done;d=c.next())d=d.value,b.hasOwnProperty(d.propName)&&(d.transform=b[d.propName]);return a}},outputs:{configurable:!0,enumerable:!0,get:function(){return Qja(this.componentDef.outputs,!1)}}});
var mw=function(a,b,c,d,e){this.location=c;this._rootLView=d;this._tNode=e;this.previousInputValues=null;this.instance=b;this.hostView=this.changeDetectorRef=new gh(d,void 0,!1);this.componentType=a};Y(mw,Z_b);
mw.prototype.setInput=function(a,b){var c=this._tNode.inputs,d;c!==null&&(d=c[a])&&(this.previousInputValues!=null||(this.previousInputValues=new Map),this.previousInputValues.has(a)&&Object.is(this.previousInputValues.get(a),b)||(c=this._rootLView,sja(c[1],c,d,a,b),this.previousInputValues.set(a,b),a=Ld(this._tNode.index,c),iha(a,1)))};mw.prototype.destroy=function(){this.hostView.destroy()};mw.prototype.onDestroy=function(a){this.hostView.onDestroy(a)};
ea.Object.defineProperties(mw.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return new ce(this._tNode,this._rootLView)}}});var tf=function(a,b,c,d){d=d===void 0?!0:d;this.ngModuleType=a;this._parent=b;this._bootstrapComponents=[];this.destroyCbs=[];this.componentFactoryResolver=new N0b(this);var e=(a[H_b]||null).bootstrap;this._bootstrapComponents=e instanceof Function?e():e;this._r3Injector=aha(a,b,[{provide:Yv,useValue:this},{provide:U_b,useValue:this.componentFactoryResolver}].concat(w(c)),Zc(a),new Set(["environment"]));d&&this.resolveInjectorInitializers()};Y(tf,Yv);
tf.prototype.resolveInjectorInitializers=function(){this._r3Injector.resolveInjectorInitializers();this.instance=this._r3Injector.get(this.ngModuleType)};tf.prototype.destroy=function(){var a=this._r3Injector;!a.destroyed&&a.destroy();this.destroyCbs.forEach(function(b){return b()});this.destroyCbs=null};tf.prototype.onDestroy=function(a){this.destroyCbs.push(a)};ea.Object.defineProperties(tf.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._r3Injector}}});
var CCa=function(a){this.moduleType=a};Y(CCa,BCa);CCa.prototype.create=function(a){return new tf(this.moduleType,a,[])};var Tja=function(a){this.componentFactoryResolver=new N0b(this);this.instance=null;var b=new Dd([].concat(w(a.providers),[{provide:Yv,useValue:this},{provide:U_b,useValue:this.componentFactoryResolver}]),a.parent||gga(),a.debugName,new Set(["environment"]));this.injector=b;a.runEnvironmentInitializers&&b.resolveInjectorInitializers()};Y(Tja,Yv);Tja.prototype.destroy=function(){this.injector.destroy()};
Tja.prototype.onDestroy=function(a){this.injector.onDestroy(a)};var P0b=new Bd(""),lh=function(){var a=this;this.done=this.initialized=!1;this.donePromise=new Promise(function(c,d){a.resolve=c;a.reject=d});var b;this.appInits=(b=r(P0b,{optional:!0}))!=null?b:[]},Ama=function(a){if(!a.initialized){for(var b=[],c=k(a.appInits),d=c.next(),e={};!d.done;e={initResult:void 0},d=c.next())d=d.value,e.initResult=d(),uf(e.initResult)?b.push(e.initResult):Vja(e.initResult)&&(e=new Promise(function(f){return function(h,l){f.initResult.subscribe({complete:h,error:l})}}(e)),
b.push(e));Promise.all(b).then(function(){a.done=!0;a.resolve()}).catch(function(f){a.reject(f)});b.length===0&&(a.done=!0,a.resolve());a.initialized=!0}};lh.\u0275fac=function(a){return new (a||lh)};lh.\u0275prov=n({token:lh,factory:lh.\u0275fac,providedIn:"root"});var nw=function(){};nw.prototype.log=function(a){console.log(a)};nw.prototype.warn=function(a){console.warn(a)};nw.\u0275fac=function(a){return new (a||nw)};nw.\u0275prov=n({token:nw,factory:nw.\u0275fac,providedIn:"platform"});var Vf=function(){this.impl=null};Vf.prototype.execute=function(){var a;(a=this.impl)==null||a.execute()};Vf.\u0275prov=n({token:Vf,providedIn:"root",factory:function(){return new Vf}});var Wf=function(){this.ngZone=r(hh);this.scheduler=r(vh);this.errorHandler=r(sf,{optional:!0});this.sequences=new Set;this.deferredRegistrations=new Set;this.executing=!1};
Wf.prototype.execute=function(){this.executing=!0;for(var a=k(Q0b),b=a.next(),c={};!b.done;c={phase:void 0},b=a.next()){c.phase=b.value;b=k(this.sequences);for(var d=b.next(),e={};!d.done;e={sequence:void 0},d=b.next())if(e.sequence=d.value,!e.sequence.erroredOrDestroyed&&e.sequence.hooks[c.phase])try{e.sequence.pipelinedValue=this.ngZone.runOutsideAngular(function(f,h){return function(){return f.sequence.hooks[h.phase](f.sequence.pipelinedValue)}}(e,c))}catch(f){e.sequence.erroredOrDestroyed=!0,
d=void 0,(d=this.errorHandler)==null||d.handleError(f)}}this.executing=!1;a=k(this.sequences);for(c=a.next();!c.done;c=a.next())c=c.value,c.erroredOrDestroyed=!1,c.pipelinedValue=void 0,c.once&&this.sequences.delete(c);a=k(this.deferredRegistrations);for(c=a.next();!c.done;c=a.next())this.sequences.add(c.value);this.deferredRegistrations.size>0&&this.scheduler.notify(8);this.deferredRegistrations.clear()};
Wf.prototype.register=function(a){this.executing?this.deferredRegistrations.add(a):(this.sequences.add(a),this.scheduler.notify(7))};Wf.prototype.unregister=function(a){this.executing&&this.sequences.has(a)?(a.erroredOrDestroyed=!0,a.pipelinedValue=void 0,a.once=!0):(this.sequences.delete(a),this.deferredRegistrations.delete(a))};var Q0b=[0,1,2,3];Wf.\u0275prov=n({token:Wf,providedIn:"root",factory:function(){return new Wf}});
var Bka=function(a,b,c,d){var e=this;this.impl=a;this.hooks=b;this.once=c;this.erroredOrDestroyed=!1;this.pipelinedValue=void 0;this.unregisterOnDestroy=d==null?void 0:d.onDestroy(function(){return e.destroy()})};Bka.prototype.destroy=function(){this.impl.unregister(this);var a;(a=this.unregisterOnDestroy)==null||a.call(this)};var uh=function(){};uh.\u0275prov=n({token:uh,providedIn:"root",factory:function(){return new R0b}});var R0b=function(){this.queuedEffectCount=0;this.queues=new Map;this.pendingTasks=r(jw);this.taskId=null};R0b.prototype.schedule=function(a){this.enqueue(a);this.taskId===null&&(this.taskId=this.pendingTasks.add())};R0b.prototype.enqueue=function(a){var b=a.zone;this.queues.has(b)||this.queues.set(b,new Set);b=this.queues.get(b);b.has(a)||(this.queuedEffectCount++,b.add(a))};
R0b.prototype.flush=function(){for(var a=this;this.queuedEffectCount>0;)for(var b=k(this.queues),c=b.next(),d={};!c.done;d={queue$jscomp$3:void 0},c=b.next()){var e=k(c.value);c=e.next().value;e=e.next().value;d.queue$jscomp$3=e;c===null?S0b(this,d.queue$jscomp$3):c.run(function(f){return function(){return S0b(a,f.queue$jscomp$3)}}(d))}this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)};
var S0b=function(a,b){for(var c=k(b),d=c.next();!d.done;d=c.next())d=d.value,b.delete(d),a.queuedEffectCount--,d.run()};var T0b=new Bd(""),U0b=new Bd(""),ow=function(a,b,c){var d=this;this._ngZone=a;this.registry=b;this._isZoneStable=!0;this._callbacks=[];this.taskTrackingZone=null;V0b||(V0b=c,W0b(b));this._watchAngularEvents();a.run(function(){d.taskTrackingZone=typeof Zone=="undefined"?null:Zone.current.get("TaskTrackingZone")})};
ow.prototype._watchAngularEvents=function(){var a=this;this._ngZone.onUnstable.subscribe({next:function(){a._isZoneStable=!1}});this._ngZone.runOutsideAngular(function(){a._ngZone.onStable.subscribe({next:function(){w0b();queueMicrotask(function(){a._isZoneStable=!0;a._runCallbacksIfReady()})}})})};ow.prototype.isStable=function(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks};
ow.prototype._runCallbacksIfReady=function(){var a=this;if(this.isStable())queueMicrotask(function(){for(;a._callbacks.length!==0;){var c=a._callbacks.pop();clearTimeout(c.timeoutId);c.doneCb()}});else{var b=X0b(this);this._callbacks=this._callbacks.filter(function(c){return c.updateCb&&c.updateCb(b)?(clearTimeout(c.timeoutId),!1):!0})}};
var X0b=function(a){return a.taskTrackingZone?a.taskTrackingZone.macroTasks.map(function(b){return{source:b.source,creationLocation:b.creationLocation,data:b.data}}):[]};g=ow.prototype;g.addCallback=function(a,b,c){var d=this,e=-1;b&&b>0&&(e=setTimeout(function(){d._callbacks=d._callbacks.filter(function(f){return f.timeoutId!==e});a()},b));this._callbacks.push({doneCb:a,timeoutId:e,updateCb:c})};g.whenStable=function(a,b,c){if(c&&!this.taskTrackingZone)throw Error("Wa");this.addCallback(a,b,c);this._runCallbacksIfReady()};
g.registerApplication=function(a){this.registry.registerApplication(a,this)};g.unregisterApplication=function(a){this.registry.unregisterApplication(a)};g.findProviders=function(){return[]};ow.\u0275fac=function(a){return new (a||ow)(md(hh),md(pw),md(U0b))};ow.\u0275prov=n({token:ow,factory:ow.\u0275fac});var pw=function(){this._applications=new Map};pw.prototype.registerApplication=function(a,b){this._applications.set(a,b)};pw.prototype.unregisterApplication=function(a){this._applications.delete(a)};
pw.prototype.findTestabilityInTree=function(a,b){var c,d;return(d=(c=V0b)==null?void 0:c.findTestabilityInTree(this,a,b===void 0?!0:b))!=null?d:null};pw.\u0275fac=function(a){return new (a||pw)};pw.\u0275prov=n({token:pw,factory:pw.\u0275fac,providedIn:"platform"});var V0b;var rka={leading:!0,trailing:!1};var Y0b=new Bd(""),nh=function(){this._bootstrapListeners=[];this._destroyed=this._runningTick=!1;this._destroyListeners=[];this._views=[];this.internalErrorHandler=r(y0b);this.afterRenderManager=r(Vf);this.zonelessEnabled=r(V_b);this.rootEffectScheduler=r(uh);this.deferredDirtyFlags=this.dirtyFlags=0;this.externalTestViews=new Set;this.afterTick=new Jf;this.componentTypes=[];this.components=[];this.isStable=r(jw).hasPendingTasks.pipe(B(function(a){return!a}));this._injector=r(Uv)};
nh.prototype.whenStable=function(){var a=this,b;return(new Promise(function(c){b=a.isStable.subscribe({next:function(d){d&&c()}})})).finally(function(){b.unsubscribe()})};
nh.prototype.bootstrap=function(a,b){var c=this,d=a instanceof $_b;if(!this._injector.get(lh).done)throw new $c(405,!1);var e;d?e=a:e=O0b(this._injector.get(U_b),a);this.componentTypes.push(e.componentType);a=e.isBoundToModule?void 0:this._injector.get(Yv);var f=e.create(T_b,[],b||e.selector,a),h=f.location.nativeElement,l=f.injector.get(T0b,null);l==null||l.registerApplication(h);f.onDestroy(function(){c.detachView(f.hostView);wka(c.components,f);l==null||l.unregisterApplication(h)});this._loadComponent(f);
return f};nh.prototype.tick=function(){this.zonelessEnabled||(this.dirtyFlags|=1);this._tick()};
nh.prototype._tick=function(){if(this._runningTick)throw new $c(101,!1);var a=bd(null);try{this._runningTick=!0;var b=null;this._injector.destroyed||(b=this._injector.get(a0b,null,{optional:!0}));this.dirtyFlags|=this.deferredDirtyFlags;for(var c=this.deferredDirtyFlags=0;this.dirtyFlags!==0&&c++<10;)a:{var d=void 0,e=void 0,f=b;this.dirtyFlags|=this.deferredDirtyFlags;this.deferredDirtyFlags=0;this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());if(this.dirtyFlags&7){var h=
!!(this.dirtyFlags&1);this.dirtyFlags&=-8;this.dirtyFlags|=8;for(var l=k(this.allViews),q=l.next();!q.done;q=l.next()){var v=q.value,y=v._lView;(h||uga(y))&&Kja(y,v.notifyErrorHandler,h&&!this.zonelessEnabled?0:1)}this.dirtyFlags&=-5;Z0b(this);if(this.dirtyFlags&23)break a}else f==null||(e=f.begin)==null||e.call(f),f==null||(d=f.end)==null||d.call(f);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute());Z0b(this)}}catch(E){this.internalErrorHandler(E)}finally{this._runningTick=
!1,bd(a),this.afterTick.next()}};var Z0b=function(a){a.allViews.some(function(b){return uga(b._lView)})?a.dirtyFlags|=2:a.dirtyFlags&=-8},$0b=function(a,b){a._views.push(b);if(b._attachedToViewContainer)throw new $c(902,!1);b._appRef=a;a=(b._lView[2]&512)!==0;var c=b._lView[16];c===null||a||wia(c,b._lView);vga(b._lView)};g=nh.prototype;g.detachView=function(a){wka(this._views,a);a._appRef=null;var b=(a._lView[2]&512)!==0,c=a._lView[16];c===null||b||xia(c,a._lView);via(a._lView[1],a._lView)};
g._loadComponent=function(a){$0b(this,a.hostView);this.tick();this.components.push(a);var b=this._injector.get(Y0b,[]);[].concat(w(this._bootstrapListeners),w(b)).forEach(function(c){return c(a)})};g.ngOnDestroy=function(){if(!this._destroyed)try{this._destroyListeners.forEach(function(a){return a()}),this._views.slice().forEach(function(a){return a.destroy()})}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}};
g.onDestroy=function(a){var b=this;this._destroyListeners.push(a);return function(){return wka(b._destroyListeners,a)}};g.destroy=function(){if(this._destroyed)throw new $c(406,!1);var a=this._injector;a.destroy&&!a.destroyed&&a.destroy()};
ea.Object.defineProperties(nh.prototype,{allViews:{configurable:!0,enumerable:!0,get:function(){return[].concat(w(this.externalTestViews.keys()),w(this._views))}},destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}},injector:{configurable:!0,enumerable:!0,get:function(){return this._injector}},viewCount:{configurable:!0,enumerable:!0,get:function(){return this._views.length}}});nh.\u0275fac=function(a){return new (a||nh)};
nh.\u0275prov=n({token:nh,factory:nh.\u0275fac,providedIn:"root"});var xka=new Set;var yka={destroy:function(){}};var Kg=function(){};Kg.__NG_ELEMENT_ID__=Hka;var Yf=function(a,b,c){this._lContainer=a;this._hostTNode=b;this._hostLView=c};Y(Yf,Kg);Yf.__NG_ELEMENT_ID__=Kg.__NG_ELEMENT_ID__;g=Yf.prototype;g.clear=function(){for(;this.length>0;)this.remove(this.length-1)};g.get=function(a){var b=this._lContainer[8];return b!==null&&b[a]||null};
g.createEmbeddedView=function(a,b,c){if(typeof c==="number")var d=c;else if(c!=null){d=c.index;var e=c.injector}a=a1b(a,b||{},e,null);b1b(this,a,d,Eka(this._hostTNode,null));return a};
g.createComponent=function(a,b,c,d,e){var f=a&&typeof a!=="function";f||(e=b||{},b=e.index,c=e.injector,d=e.projectableNodes,e=e.environmentInjector||e.ngModuleRef);a=f?a:new yh(a[rd]||null);c=c||this.parentInjector;e||a.ngModule!=null||(f=(f?c:this.parentInjector).get(Uv,null))&&(e=f);d=a.create(c,d,null,e);b1b(this,d.hostView,b,Eka(this._hostTNode,null));return d};g.insert=function(a,b){return b1b(this,a,b,!0)};
var b1b=function(a,b,c,d){var e=b._lView;if(Gd(e[3])){var f=a.indexOf(b);f!==-1?a.detach(f):(f=e[3],f=new Yf(f,f[5],f[3]),f.detach(f.indexOf(b)))}c=a._adjustIndex(c);a=a._lContainer;Fka(a,e,c,d);if(b._appRef)throw new $c(902,!1);b._attachedToViewContainer=!0;d=Ika(a);c>=d.length?d.push(b):d.splice(c,0,b);return b};g=Yf.prototype;g.move=function(a,b){return this.insert(a,b)};g.indexOf=function(a){var b=this._lContainer[8];return b!==null?b.indexOf(a):-1};
g.remove=function(a){a=this._adjustIndex(a,-1);var b=df(this._lContainer,a);b&&(Ufa(Ika(this._lContainer),a),zia(b[1],b))};g.detach=function(a){a=this._adjustIndex(a,-1);var b=df(this._lContainer,a);return b&&Ufa(Ika(this._lContainer),a)!=null?new gh(b):null};g._adjustIndex=function(a,b){return a==null?this.length+(b===void 0?0:b):a};
ea.Object.defineProperties(Yf.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return he(this._hostTNode,this._hostLView)}},injector:{configurable:!0,enumerable:!0,get:function(){return new ce(this._hostTNode,this._hostLView)}},parentInjector:{configurable:!0,enumerable:!0,get:function(){var a=Rga(this._hostTNode,this._hostLView);if(a!==-1){var b=Kga(a,this._hostLView);return new ce(b[1].data[(a&32767)+8],b)}return new ce(null,this._hostLView)}},length:{configurable:!0,enumerable:!0,
get:function(){return this._lContainer.length-10}}});var Jka=Kka;var Oka=Qka;new Bd("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR");new Bd("");var ig=0,jg=0,kg=0,cla=0,ela=0;var c1b=function(){};c1b.prototype.destroy=function(){};c1b.prototype.updateValue=function(){};var rla=function(a,b,c){var d=Math.min(b,c);b=Math.max(b,c);c=a.detach(b);if(b-d>1){var e=a.detach(d);a.attach(d,c);a.attach(b,e)}else a.attach(d,c)};c1b.prototype.move=function(a,b){this.attach(b,this.detach(a))};var sla=function(){this.kvMap=new Map;this._vMap=void 0};g=sla.prototype;g.has=function(a){return this.kvMap.has(a)};
g.delete=function(a){if(!this.has(a))return!1;var b=this.kvMap.get(a);this._vMap!==void 0&&this._vMap.has(b)?(this.kvMap.set(a,this._vMap.get(b)),this._vMap.delete(b)):this.kvMap.delete(a);return!0};g.get=function(a){return this.kvMap.get(a)};g.set=function(a,b){if(this.kvMap.has(a)){a=this.kvMap.get(a);this._vMap===void 0&&(this._vMap=new Map);for(var c=this._vMap;c.has(a);)a=c.get(a);c.set(a,b)}else this.kvMap.set(a,b)};
g.forEach=function(a){for(var b=k(this.kvMap),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;a(d,c);if(this._vMap!==void 0)for(var e=this._vMap;e.has(d);)d=e.get(d),a(d,c)}};var d1b=function(a,b,c){this.lContainer=a;this.$implicit=b;this.$index=c};ea.Object.defineProperties(d1b.prototype,{$count:{configurable:!0,enumerable:!0,get:function(){return this.lContainer.length-10}}});var xla=function(a){this.trackByFn=a;this.liveCollection=void 0},yla=function(a,b,c){this.lContainer=a;this.hostLView=b;this.templateTNode=c;this.operationsCounter=void 0;this.needsIndexUpdate=!1};Y(yla,c1b);g=yla.prototype;g.at=function(a){return Dka(this.lContainer,a)[8].$implicit};
g.attach=function(a,b){var c=b[6];this.needsIndexUpdate||(this.needsIndexUpdate=a!==this.length);Fka(this.lContainer,b,a,Eka(this.templateTNode,c))};g.detach=function(a){this.needsIndexUpdate||(this.needsIndexUpdate=a!==this.length-1);return df(this.lContainer,a)};g.create=function(a,b){a=Cka(this.hostLView,this.templateTNode,new d1b(this.lContainer,b,a),{dehydratedView:null});var c;(c=this.operationsCounter)==null||c.recordCreate();return a};
g.destroy=function(a){zia(a[1],a);var b;(b=this.operationsCounter)==null||b.recordDestroy()};g.updateValue=function(a,b){Dka(this.lContainer,a)[8].$implicit=b};g.reset=function(){this.needsIndexUpdate=!1;var a;(a=this.operationsCounter)==null||a.reset()};ea.Object.defineProperties(yla.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.lContainer.length-10}}});var Ala=["en",[["a","p"],["AM","PM"],void 0],[["AM","PM"],void 0,void 0],["SMTWTFS".split(""),"Sun Mon Tue Wed Thu Fri Sat".split(" "),"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),"Su Mo Tu We Th Fr Sa".split(" ")],void 0,["JFMAMJJASOND".split(""),"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),"January February March April May June July August September October November December".split(" ")],void 0,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,
0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",void 0,"{1} 'at' {0}",void 0],". , ; % + - E \u00d7 \u2030 \u221e NaN :".split(" "),["#,##0.###","#,##0%","\u00a4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(a){var b=a.toString().replace(/^[^.]*\.?/,"").length;return Math.floor(Math.abs(a))===1&&b===0?1:5}];var Bla={};var Dla={};var Lg=function(a){this._emitDistinctChangesOnly=a=a===void 0?!1:a;this.dirty=!0;this._onDirty=void 0;this._results=[];this._changesDetected=!1;this._changes=void 0;this.length=0;this.last=this.first=void 0;var b=Lg.prototype;b[Symbol.iterator]||(b[Symbol.iterator]=Kla)};g=Lg.prototype;g.get=function(a){return this._results[a]};g.map=function(a){return this._results.map(a)};g.filter=function(a){return this._results.filter(a)};g.find=function(a){return this._results.find(a)};
g.reduce=function(a,b){return this._results.reduce(a,b)};g.forEach=function(a){this._results.forEach(a)};g.some=function(a){return this._results.some(a)};g.toArray=function(){return this._results.slice()};g.toString=function(){return this._results.toString()};
g.reset=function(a,b){this.dirty=!1;a=a.flat(Number.POSITIVE_INFINITY);a:{var c=this._results;if(c.length!==a.length)b=!1;else{for(var d=0;d<c.length;d++){var e=c[d],f=a[d];b&&(e=b(e),f=b(f));if(f!==e){b=!1;break a}}b=!0}}if(this._changesDetected=!b)this._results=a,this.length=a.length,this.last=a[this.length-1],this.first=a[0]};var Pg=function(a){a._changes===void 0||!a._changesDetected&&a._emitDistinctChangesOnly||a._changes.next(a)},Zla=function(a,b){a._onDirty=b};
Lg.prototype.setDirty=function(){this.dirty=!0;var a;(a=this._onDirty)==null||a.call(this)};Lg.prototype.destroy=function(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())};ea.Object.defineProperties(Lg.prototype,{changes:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this._changes)!=null?a:this._changes=new Jf}}});Symbol.iterator;var Jg=function(){};Jg.__NG_ELEMENT_ID__=Mla;var Ig=function(a,b,c){this._declarationLView=a;this._declarationTContainer=b;this.elementRef=c};Y(Ig,Jg);Ig.__NG_ELEMENT_ID__=Jg.__NG_ELEMENT_ID__;Ig.prototype.createEmbeddedView=function(a,b){return a1b(this,a,b)};var a1b=function(a,b,c,d){a=Cka(a._declarationLView,a._declarationTContainer,b,{embeddedViewInjector:c,dehydratedView:d});return new gh(a)};
ea.Object.defineProperties(Ig.prototype,{ssrId:{configurable:!0,enumerable:!0,get:function(){var a;return((a=this._declarationTContainer.tView)==null?void 0:a.ssrId)||null}}});var Qla=function(a){this.queryList=a;this.matches=null};Qla.prototype.clone=function(){return new Qla(this.queryList)};Qla.prototype.setDirty=function(){this.queryList.setDirty()};var Pla=function(a){this.queries=a=a===void 0?[]:a};Pla.prototype.createEmbeddedView=function(a){var b=a.queries;if(b!==null){a=a.contentQueries!==null?a.contentQueries[0]:b.length;for(var c=[],d=0;d<a;d++)c.push(this.queries[b.queries[d].indexInDeclarationView].clone());return new Pla(c)}return null};
Pla.prototype.detachView=function(a){Eja(this,a)};var Eja=function(a,b){for(var c=0;c<a.queries.length;c++)b.queries.queries[c].matches!==null&&a.queries[c].setDirty()},Tla=function(a,b,c){this.flags=b;this.read=c===void 0?null:c;typeof a==="string"?this.predicate=Ula(a):this.predicate=a},Vla=function(a){this.queries=a=a===void 0?[]:a};g=Vla.prototype;g.elementStart=function(a,b){for(var c=0;c<this.queries.length;c++)this.queries[c].elementStart(a,b)};g.elementEnd=function(a){for(var b=0;b<this.queries.length;b++)this.queries[b].elementEnd(a)};
g.embeddedTView=function(a){for(var b=null,c=0;c<this.length;c++){var d=this.queries[c].embeddedTView(a,b!==null?b.length:0);d&&(d.indexInDeclarationView=c,b!==null?b.push(d):b=[d])}return b!==null?new Vla(b):null};g.template=function(a,b){for(var c=0;c<this.queries.length;c++)this.queries[c].template(a,b)};g.track=function(a){this.queries.push(a)};ea.Object.defineProperties(Vla.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.queries.length}}});
var Og=function(a,b){this.metadata=a;this.matches=null;this.indexInDeclarationView=-1;this.crossesNgTemplate=!1;this._appliesToNextNode=!0;this._declarationNodeIndex=b===void 0?-1:b};
Og.prototype.elementStart=function(a,b){if(e1b(this,b)){var c=this.metadata.predicate;if(Array.isArray(c))for(var d=0;d<c.length;d++){var e=c[d];a:{var f=b.localNames;if(f!==null)for(var h=0;h<f.length;h+=2)if(f[h]===e){f=f[h+1];break a}f=null}f1b(this,a,b,f);f1b(this,a,b,Yga(b,a,e,!1,!1))}else c===Jg?b.type&4&&f1b(this,a,b,-1):f1b(this,a,b,Yga(b,a,c,!1,!1))}};Og.prototype.elementEnd=function(a){this._declarationNodeIndex===a.index&&(this._appliesToNextNode=!1)};
Og.prototype.template=function(a,b){this.elementStart(a,b)};Og.prototype.embeddedTView=function(a,b){return e1b(this,a)?(this.crossesNgTemplate=!0,g1b(this,-a.index,b),new Og(this.metadata)):null};
var e1b=function(a,b){if(a._appliesToNextNode&&(a.metadata.flags&1)!==1){a=a._declarationNodeIndex;for(b=b.parent;b!==null&&b.type&8&&b.index!==a;)b=b.parent;return a===(b!==null?b.index:-1)}return a._appliesToNextNode},f1b=function(a,b,c,d){if(d!==null){var e=a.metadata.read;e!==null?e===ge||e===Kg||e===Jg&&c.type&4?g1b(a,c.index,-2):(b=Yga(c,b,e,!1,!1),b!==null&&g1b(a,c.index,b)):g1b(a,c.index,d)}},g1b=function(a,b,c){a.matches===null?a.matches=[b,c]:a.matches.push(b,c)};var Zg=function(a){this._injector=a;this.cachedInjectors=new Map};Zg.prototype.ngOnDestroy=function(){try{for(var a=k(this.cachedInjectors.values()),b=a.next();!b.done;b=a.next()){var c=b.value;c!==null&&c.destroy()}}finally{this.cachedInjectors.clear()}};Zg.\u0275prov=n({token:Zg,providedIn:"environment",factory:function(){return new Zg(md(Uv))}});var qw=function(){};qw.\u0275fac=function(a){return new (a||qw)(md(nh))};qw.\u0275mod=u({type:qw});qw.\u0275inj=p({});var pma=Symbol("Xa"),qma=Object.assign({},sfa,{transformFn:void 0,applyValueToInputSignal:function(a,b){vfa(a,b)}});sma.required=function(){return Yla(!0)};var rw=function(){};rw.__NG_ELEMENT_ID__=tma;var h1b=function(){};h1b.prototype.supports=function(a){return Mka(a)};h1b.prototype.create=function(a){return new i1b(a)};var j1b=function(a,b){return b},i1b=function(a){this.length=0;this._identityChangesTail=this._identityChangesHead=this._removalsTail=this._removalsHead=this._movesTail=this._movesHead=this._additionsTail=this._additionsHead=this._itTail=this._itHead=this._previousItHead=this._unlinkedRecords=this._linkedRecords=null;this._trackByFn=a||j1b};
i1b.prototype.forEachItem=function(a){var b;for(b=this._itHead;b!==null;b=b._next)a(b)};
var k1b=function(a,b){var c=a._itHead;a=a._removalsHead;for(var d=0,e=null;c||a;){var f=!a||c&&c.currentIndex<uma(a,d,e)?c:a,h=uma(f,d,e),l=f.currentIndex;if(f===a)d--,a=a._nextRemoved;else if(c=c._next,f.previousIndex==null)d++;else{e||(e=[]);var q=h-d,v=l-d;if(q!=v){for(var y=0;y<q;y++){var E=y<e.length?e[y]:e[y]=0,H=E+y;v<=H&&H<q&&(e[y]=E+1)}e[f.previousIndex]=v-q}}h!==l&&b(f,h,l)}},l1b=function(a,b){for(a=a._identityChangesHead;a!==null;a=a._nextIdentityChange)b(a)};g=i1b.prototype;
g.diff=function(a){a==null&&(a=[]);if(!Mka(a))throw new $c(900,!1);return this.check(a)?this:null};g.onDestroy=function(){};
g.check=function(a){var b=this;this._reset();var c=this._itHead,d=!1;if(Array.isArray(a)){this.length=a.length;for(var e=0;e<this.length;e++){var f=a[e];var h=this._trackByFn(e,f);c!==null&&Object.is(c.trackById,h)?(d&&(c=this._verifyReinsertion(c,f,h,e)),Object.is(c.item,f)||this._addIdentityChange(c,f)):(c=this._mismatch(c,f,h,e),d=!0);c=c._next}}else{var l=0;Nka(a,function(q){h=b._trackByFn(l,q);c!==null&&Object.is(c.trackById,h)?(d&&(c=b._verifyReinsertion(c,q,h,l)),Object.is(c.item,q)||b._addIdentityChange(c,
q)):(c=b._mismatch(c,q,h,l),d=!0);c=c._next;l++});this.length=l}this._truncate(c);this.collection=a;return this.isDirty};
g._reset=function(){if(this.isDirty){var a;for(a=this._previousItHead=this._itHead;a!==null;a=a._next)a._nextPrevious=a._next;for(a=this._additionsHead;a!==null;a=a._nextAdded)a.previousIndex=a.currentIndex;this._additionsHead=this._additionsTail=null;for(a=this._movesHead;a!==null;a=a._nextMoved)a.previousIndex=a.currentIndex;this._identityChangesHead=this._identityChangesTail=this._removalsHead=this._removalsTail=this._movesHead=this._movesTail=null}};
g._mismatch=function(a,b,c,d){if(a===null)var e=this._itTail;else e=a._prev,this._remove(a);a=this._unlinkedRecords===null?null:this._unlinkedRecords.get(c,null);a!==null?(Object.is(a.item,b)||this._addIdentityChange(a,b),this._reinsertAfter(a,e,d)):(a=this._linkedRecords===null?null:this._linkedRecords.get(c,d),a!==null?(Object.is(a.item,b)||this._addIdentityChange(a,b),this._moveAfter(a,e,d)):a=this._addAfter(new m1b(b,c),e,d));return a};
g._verifyReinsertion=function(a,b,c,d){b=this._unlinkedRecords===null?null:this._unlinkedRecords.get(c,null);b!==null?a=this._reinsertAfter(b,a._prev,d):a.currentIndex!=d&&(a.currentIndex=d,this._addToMoves(a,d));return a};
g._truncate=function(a){for(;a!==null;){var b=a._next;this._addToRemovals(this._unlink(a));a=b}this._unlinkedRecords!==null&&this._unlinkedRecords.clear();this._additionsTail!==null&&(this._additionsTail._nextAdded=null);this._movesTail!==null&&(this._movesTail._nextMoved=null);this._itTail!==null&&(this._itTail._next=null);this._removalsTail!==null&&(this._removalsTail._nextRemoved=null);this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)};
g._reinsertAfter=function(a,b,c){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(a);var d=a._prevRemoved,e=a._nextRemoved;d===null?this._removalsHead=e:d._nextRemoved=e;e===null?this._removalsTail=d:e._prevRemoved=d;this._insertAfter(a,b,c);this._addToMoves(a,c);return a};g._moveAfter=function(a,b,c){this._unlink(a);this._insertAfter(a,b,c);this._addToMoves(a,c);return a};
g._addAfter=function(a,b,c){this._insertAfter(a,b,c);this._additionsTail=this._additionsTail===null?this._additionsHead=a:this._additionsTail._nextAdded=a;return a};g._insertAfter=function(a,b,c){var d=b===null?this._itHead:b._next;a._next=d;a._prev=b;d===null?this._itTail=a:d._prev=a;b===null?this._itHead=a:b._next=a;this._linkedRecords===null&&(this._linkedRecords=new sw);this._linkedRecords.put(a);a.currentIndex=c;return a};g._remove=function(a){return this._addToRemovals(this._unlink(a))};
g._unlink=function(a){this._linkedRecords!==null&&this._linkedRecords.remove(a);var b=a._prev,c=a._next;b===null?this._itHead=c:b._next=c;c===null?this._itTail=b:c._prev=b;return a};g._addToMoves=function(a,b){if(a.previousIndex===b)return a;this._movesTail=this._movesTail===null?this._movesHead=a:this._movesTail._nextMoved=a;return a};
g._addToRemovals=function(a){this._unlinkedRecords===null&&(this._unlinkedRecords=new sw);this._unlinkedRecords.put(a);a.currentIndex=null;a._nextRemoved=null;this._removalsTail===null?(this._removalsTail=this._removalsHead=a,a._prevRemoved=null):(a._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=a);return a};
g._addIdentityChange=function(a,b){a.item=b;this._identityChangesTail=this._identityChangesTail===null?this._identityChangesHead=a:this._identityChangesTail._nextIdentityChange=a;return a};ea.Object.defineProperties(i1b.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}}});
var m1b=function(a,b){this.item=a;this.trackById=b;this._nextIdentityChange=this._nextMoved=this._nextAdded=this._nextRemoved=this._prevRemoved=this._nextDup=this._prevDup=this._next=this._prev=this._nextPrevious=this.previousIndex=this.currentIndex=null},n1b=function(){this._tail=this._head=null};n1b.prototype.add=function(a){this._head===null?(this._head=this._tail=a,a._nextDup=null,a._prevDup=null):(this._tail._nextDup=a,a._prevDup=this._tail,a._nextDup=null,this._tail=a)};
n1b.prototype.get=function(a,b){var c;for(c=this._head;c!==null;c=c._nextDup)if((b===null||b<=c.currentIndex)&&Object.is(c.trackById,a))return c;return null};n1b.prototype.remove=function(a){var b=a._prevDup;a=a._nextDup;b===null?this._head=a:b._nextDup=a;a===null?this._tail=b:a._prevDup=b;return this._head===null};var sw=function(){this.map=new Map};sw.prototype.put=function(a){var b=a.trackById,c=this.map.get(b);c||(c=new n1b,this.map.set(b,c));c.add(a)};
sw.prototype.get=function(a,b){var c=this.map.get(a);return c?c.get(a,b):null};sw.prototype.remove=function(a){var b=a.trackById;this.map.get(b).remove(a)&&this.map.delete(b);return a};sw.prototype.clear=function(){this.map.clear()};ea.Object.defineProperties(sw.prototype,{isEmpty:{configurable:!0,enumerable:!0,get:function(){return this.map.size===0}}});var o1b=function(){};o1b.prototype.supports=function(a){return a instanceof Map||Lka(a)};o1b.prototype.create=function(){return new p1b};var p1b=function(){this._records=new Map;this._removalsTail=this._removalsHead=this._additionsTail=this._additionsHead=this._changesTail=this._changesHead=this._previousMapHead=this._appendAfter=this._mapHead=null};g=p1b.prototype;g.forEachItem=function(a){var b;for(b=this._mapHead;b!==null;b=b._next)a(b)};
g.diff=function(a){if(!a)a=new Map;else if(!(a instanceof Map||Lka(a)))throw new $c(900,!1);return this.check(a)?this:null};g.onDestroy=function(){};
g.check=function(a){var b=this;this._reset();var c=this._mapHead;this._appendAfter=null;this._forEach(a,function(d,e){c&&c.key===e?(b._maybeAddToChanges(c,d),b._appendAfter=c,c=c._next):(d=b._getOrCreateRecordForKey(e,d),c=b._insertBeforeOrAppend(c,d))});if(c)for(c._prev&&(c._prev._next=null),a=this._removalsHead=c;a!==null;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=
null;this._changesTail&&(this._changesTail._nextChanged=null);this._additionsTail&&(this._additionsTail._nextAdded=null);return this.isDirty};g._insertBeforeOrAppend=function(a,b){if(a){var c=a._prev;b._next=a;b._prev=c;a._prev=b;c&&(c._next=b);a===this._mapHead&&(this._mapHead=b);return this._appendAfter=a}this._appendAfter?(this._appendAfter._next=b,b._prev=this._appendAfter):this._mapHead=b;this._appendAfter=b;return null};
g._getOrCreateRecordForKey=function(a,b){if(this._records.has(a)){a=this._records.get(a);this._maybeAddToChanges(a,b);b=a._prev;var c=a._next;b&&(b._next=c);c&&(c._prev=b);a._next=null;a._prev=null;return a}c=new q1b(a);this._records.set(a,c);c.currentValue=b;this._addToAdditions(c);return c};
g._reset=function(){if(this.isDirty){var a;for(a=this._previousMapHead=this._mapHead;a!==null;a=a._next)a._nextPrevious=a._next;for(a=this._changesHead;a!==null;a=a._nextChanged)a.previousValue=a.currentValue;for(a=this._additionsHead;a!=null;a=a._nextAdded)a.previousValue=a.currentValue;this._removalsHead=this._additionsHead=this._additionsTail=this._changesHead=this._changesTail=null}};
g._maybeAddToChanges=function(a,b){Object.is(b,a.currentValue)||(a.previousValue=a.currentValue,a.currentValue=b,this._addToChanges(a))};g._addToAdditions=function(a){this._additionsHead===null?this._additionsHead=this._additionsTail=a:this._additionsTail=this._additionsTail._nextAdded=a};g._addToChanges=function(a){this._changesHead===null?this._changesHead=this._changesTail=a:this._changesTail=this._changesTail._nextChanged=a};
g._forEach=function(a,b){a instanceof Map?a.forEach(b):Object.keys(a).forEach(function(c){return b(a[c],c)})};ea.Object.defineProperties(p1b.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}}});var q1b=function(a){this.key=a;this._nextChanged=this._nextRemoved=this._nextAdded=this._prev=this._next=this._nextPrevious=this.currentValue=this.previousValue=null};var tw=function(a){this.factories=a};tw.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(b!=null)return b;throw new $c(901,!1);};tw.\u0275prov=n({token:tw,providedIn:"root",factory:function(){return new tw([new h1b])}});var uw=function(a){this.factories=a};uw.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(b)return b;throw new $c(901,!1);};uw.\u0275prov=n({token:uw,providedIn:"root",factory:function(){return new uw([new o1b])}});var vw=function(){var a=this;this.appRef=r(nh);this.taskService=r(jw);this.ngZone=r(hh);this.zonelessEnabled=r(V_b);var b;this.disableScheduling=(b=r(wma,{optional:!0}))!=null?b:!1;this.zoneIsDefined=typeof Zone!=="undefined"&&!!Zone.root.run;this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];this.subscriptions=new me;var c;this.angularZoneId=this.zoneIsDefined?(c=this.ngZone._inner)==null?void 0:c.get("isAngularZone_ID"):null;var d;this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&
((d=r(xma,{optional:!0}))!=null?d:!1);this.cancelScheduledCallback=null;this.runningTick=this.useMicrotaskScheduler=!1;this.pendingRenderTaskId=null;this.subscriptions.add(this.appRef.afterTick.subscribe(function(){a.runningTick||a.cleanup()}));this.subscriptions.add(this.ngZone.onUnstable.subscribe(function(){a.runningTick||a.cleanup()}));this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof lw||!this.zoneIsDefined))};
vw.prototype.notify=function(a){var b=this;if(this.zonelessEnabled||a!==5){var c=!1;switch(a){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 8:this.appRef.deferredDirtyFlags|=8;break;case 6:this.appRef.dirtyFlags|=2;c=!0;break;case 13:this.appRef.dirtyFlags|=16;break;case 12:c=!0;break;default:this.appRef.dirtyFlags|=8}if(!(this.disableScheduling&&!c||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&
this.zoneIsDefined&&Zone.current.get("isAngularZone_ID"+this.angularZoneId))){var d=this.useMicrotaskScheduler?hia:gia;this.pendingRenderTaskId=this.taskService.add();this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(function(){return d(function(){return b.tick()})}):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(function(){return d(function(){return b.tick()})})}}};
vw.prototype.tick=function(){var a=this;if(!this.runningTick&&!this.appRef.destroyed)if(this.appRef.dirtyFlags===0)this.cleanup();else{!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);var b=this.taskService.add();try{this.ngZone.run(function(){a.runningTick=!0;a.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(c){throw this.taskService.remove(b),c;}finally{this.cleanup()}this.useMicrotaskScheduler=!0;hia(function(){a.useMicrotaskScheduler=!1;a.taskService.remove(b)})}};
vw.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe();this.cleanup()};vw.prototype.cleanup=function(){this.runningTick=!1;var a;(a=this.cancelScheduledCallback)==null||a.call(this);this.cancelScheduledCallback=null;this.pendingRenderTaskId!==null&&(a=this.pendingRenderTaskId,this.pendingRenderTaskId=null,this.taskService.remove(a))};vw.\u0275fac=function(a){return new (a||vw)};vw.\u0275prov=n({token:vw,factory:vw.\u0275fac,providedIn:"root"});var ih=function(){this.zone=r(hh);this.changeDetectionScheduler=r(vh);this.applicationRef=r(nh)};ih.prototype.initialize=function(){var a=this;this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:function(){a.changeDetectionScheduler.runningTick||a.zone.run(function(){a.applicationRef.tick()})}}))};ih.prototype.ngOnDestroy=function(){var a;(a=this._onMicrotaskEmptySubscription)==null||a.unsubscribe()};
ih.\u0275fac=function(a){return new (a||ih)};ih.\u0275prov=n({token:ih,factory:ih.\u0275fac,providedIn:"root"});new Bd("",{factory:function(){return!1}});var kh=function(){this.subscription=new me;this.initialized=!1;this.zone=r(hh);this.pendingTasks=r(jw)};
kh.prototype.initialize=function(){var a=this;if(!this.initialized){this.initialized=!0;var b=null;this.zone.isStable||this.zone.hasPendingMacrotasks||this.zone.hasPendingMicrotasks||(b=this.pendingTasks.add());this.zone.runOutsideAngular(function(){a.subscription.add(a.zone.onStable.subscribe(function(){w0b();queueMicrotask(function(){b===null||a.zone.hasPendingMacrotasks||a.zone.hasPendingMicrotasks||(a.pendingTasks.remove(b),b=null)})}))});this.subscription.add(this.zone.onUnstable.subscribe(function(){if(!v0b())throw new $c(909,
!1);b!=null||(b=a.pendingTasks.add())}))}};kh.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()};kh.\u0275fac=function(a){return new (a||kh)};kh.\u0275prov=n({token:kh,factory:kh.\u0275fac,providedIn:"root"});var mh=new Bd("",{providedIn:"root",factory:function(){return r(mh,12)||(typeof xYb!=="undefined"?"en-US":typeof $localize!=="undefined"&&$localize.locale||"en-US")}});new Bd("",{providedIn:"root",factory:function(){return"USD"}});new Bd("");new Bd("");var zma=new Bd("");var ww=function(){};ww.\u0275fac=function(a){return new (a||ww)};ww.\u0275prov=n({token:ww,factory:ww.\u0275fac,providedIn:"root"});new Bd("");var ph=function(a){this._injector=a;this._modules=[];this._destroyListeners=[];this._destroyed=!1},r1b=function(a,b,c){var d=c==null?void 0:c.scheduleInRootZone;b=Sja(b.moduleType,a.injector,[yma({ngZoneFactory:function(){var e=c==null?void 0:c.ngZone,f=Object.assign({},vma({eventCoalescing:c==null?void 0:c.ngZoneEventCoalescing,runCoalescing:c==null?void 0:c.ngZoneRunCoalescing}),{scheduleInRootZone:d});e=e===void 0?"zone.js":e;return e==="noop"?new lw:e==="zone.js"?new hh(f):e},ignoreChangesOutsideZone:c==
null?void 0:c.ignoreChangesOutsideZone}),{provide:vh,useExisting:vw}]);return Cma({moduleRef:b,allPlatformModules:a._modules})},t1b=function(){var a=s1b(),b=xw;var c=c===void 0?[]:c;var d=vka({},c);Promise.resolve(new CCa(b)).then(function(e){return r1b(a,e,d)})};ph.prototype.onDestroy=function(a){this._destroyListeners.push(a)};
ph.prototype.destroy=function(){if(this._destroyed)throw new $c(404,!1);this._modules.slice().forEach(function(b){return b.destroy()});this._destroyListeners.forEach(function(b){return b()});var a=this._injector.get(zma,null);a&&(a.forEach(function(b){return b()}),a.clear());this._destroyed=!0};ea.Object.defineProperties(ph.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._injector}},destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});
ph.\u0275fac=function(a){return new (a||ph)(md(Sf))};ph.\u0275prov=n({token:ph,factory:ph.\u0275fac,providedIn:"platform"});var oh=null,Ema=new Bd("");/*

 Copyright 2024 Google, Inc
 SPDX-License-Identifier: MIT
*/
Symbol.for("propagationStopped");new Bd("",{providedIn:"root",factory:function(){return{}}});var u1b=Symbol("Ya"),v1b=new Set;
Object.assign({},sfa,{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:u1b,cleanup:null,consumerMarkedDirty:function(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn:function(a){this.sequence.lastPhase=this.phase;if(!this.dirty)return this.signal;this.dirty=!1;if(this.value!==u1b&&!ifa(this))return this.signal;try{for(var b,c=k((b=this.cleanup)!=null?
b:v1b),d=c.next();!d.done;d=c.next()){var e=d.value;e()}}finally{var f;(f=this.cleanup)==null||f.clear()}b=[];a!==void 0&&b.push(a);b.push(this.registerCleanupFn);a=ed(this);try{var h=this.userFn.apply(null,b)}finally{mfa(this,a)}this.value!==u1b&&this.equal(this.value,h)||(this.value=h,this.version++);return this.signal}});var Kma=function(a,b){this.view=a;this.node=b};Kma.__NG_ELEMENT_ID__=Lma;var Oma=function(a){this[fd]=a};Oma.prototype.destroy=function(){this[fd].destroy()};new Bd("",{providedIn:"root",factory:function(){return r(uh)}});
var w1b=Object.assign({},Tv,{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:$e,run:function(){var a=this;this.dirty=!1;if(!this.hasRun||ifa(this)){this.hasRun=!0;var b,c=function(h){var l;return((l=(b=a).cleanupFns)!=null?l:b.cleanupFns=[]).push(h)},d=ed(this),e=yga(!1);try{this.maybeCleanup(),this.fn(c)}catch(h){var f;(f=this.injector.get(sf,null,{optional:!0}))==null||f.handleError(h)}finally{yga(e),mfa(this,d)}}},maybeCleanup:function(){for(var a;(a=
this.cleanupFns)==null?0:a.length;)this.cleanupFns.pop()()}}),Rma=Object.assign({},w1b,{consumerMarkedDirty:function(){this.scheduler.schedule(this);this.notifier.notify(13)},destroy:function(){nfa(this);this.onDestroyFn();this.maybeCleanup()}}),Qma=Object.assign({},w1b,{consumerMarkedDirty:function(){this.view[2]|=8192;Nd(this.view)},destroy:function(){nfa(this);this.onDestroyFn();this.maybeCleanup();var a;(a=this.view[23])==null||a.delete(this)}});var x1b=Hma(null,"core",[]);new Bd("@ngrx/store Internal Root Guard");new Bd("@ngrx/store Internal Initial State");new Bd("@ngrx/store Initial State");new Bd("@ngrx/store Reducer Factory");new Bd("@ngrx/store Internal Reducer Factory Provider");new Bd("@ngrx/store Initial Reducers");new Bd("@ngrx/store Internal Initial Reducers");new Bd("@ngrx/store Store Features");new Bd("@ngrx/store Internal Store Reducers");new Bd("@ngrx/store Internal Feature Reducers");new Bd("@ngrx/store Internal Feature Configs");new Bd("@ngrx/store Internal Store Features");
new Bd("@ngrx/store Internal Feature Reducers Token");new Bd("@ngrx/store Feature Reducers");new Bd("@ngrx/store User Provided Meta Reducers");new Bd("@ngrx/store Meta Reducers");new Bd("@ngrx/store Internal Resolved Meta Reducers");new Bd("@ngrx/store User Runtime Checks Config");new Bd("@ngrx/store Internal User Runtime Checks Config");new Bd("@ngrx/store Internal Runtime Checks");new Bd("@ngrx/store Check if Action types are unique");new Bd("@ngrx/store Root Store Provider");new Bd("@ngrx/store Feature State Provider");Object.values({RDL:"rdl",DAPPER:"dapper",SHERLOG:"sherlog",THIRD_EYE:"error_insights"});
var Hna=Object.values({ENTITY:"entity",BORG_USER:"borg_user",BORG_JOB:"borg_job",BORG_CELL:"cell",BORG_TASK_INDEX:"task_index",BORG_TASK_ATTEMPT_UID:"task_attempt_uid",START_TIME:"start_time",END_TIME:"end_time",RPC_SERVER_SERVICE_NAME:"rpc_server_service_name",RPC_CLIENT_SERVICE_NAME:"rpc_client_service_name",LPC_SERVICE_NAME:"lpc_service_name",RPC_SERVER_METHOD_NAME:"rpc_server_method_name",RPC_CLIENT_METHOD_NAME:"rpc_client_method_name",LPC_METHOD_NAME:"lpc_method_name",STATUS_CODE:"status_code",
SEVERITY:"severity",MIN_LATENCY:"min_latency",MAX_LATENCY:"max_latency",TEXT_PAYLOAD:"text_payload",CALLSITE:"site_path",HAS_TRACED_SAMPLE:"has_traced_sample",SNIPPET:"snippet",LOG_NAME:"log_name",PROCESS_NAME:"process_name",THREAD_ID:"thread_id",TRACE_ID:"trace_id",SPAN_ID:"span_id",JOB_UID:"job_uid",LOCAL_PROCESS_ID:"local_process_id"}),aaa={EQUALS:"=",NOT_EQUALS:"!=",REGEX_MATCH:"=~",NOT_REGEX_MATCH:"!~"},Fna="entity borg_user borg_job cell rpc_server_service_name rpc_client_service_name lpc_service_name rpc_server_method_name rpc_client_method_name lpc_method_name status_code text_payload site_path snippet log_name process_name thread_id trace_id span_id job_uid local_process_id".split(" "),
Ena="start_time end_time min_latency max_latency severity status_code task_index task_attempt_uid".split(" "),Gna=["has_traced_sample"];(function(a,b){if(typeof b==="function")return eaa(a,function(){return Object.assign({},b.apply(null,w(zd.apply(0,arguments))),{type:a})});switch(b?b._as:"empty"){case "empty":return eaa(a,function(){return{type:a}});case "props":return eaa(a,function(c){return Object.assign({},c,{type:a})});default:throw Error("Za");}})("NoopAction");var y1b=function(a,b){this.lo=a>>>0;this.hi=b>>>0},A1b=function(a){if(!a)return z1b||(z1b=new y1b(0,0));if(!/^\d+$/.test(a))return null;xca(a);return new y1b(rb,sb)},z1b,B1b=function(a,b){this.lo=a>>>0;this.hi=b>>>0},D1b=function(a){if(!a)return C1b||(C1b=new B1b(0,0));if(!/^-?\d+$/.test(a))return null;xca(a);return new B1b(rb,sb)},C1b;var yw=function(){this.buffer_=[]};yw.prototype.length=function(){return this.buffer_.length};yw.prototype.end=function(){var a=this.buffer_;this.buffer_=[];return a};yw.prototype.writeSplitVarint64=function(a,b){for(;b>0||a>127;)this.buffer_.push(a&127|128),a=(a>>>7|b<<25)>>>0,b>>>=7;this.buffer_.push(a)};yw.prototype.writeSplitFixed64=function(a,b){this.writeUint32(a);this.writeUint32(b)};
var E1b=function(a,b){for(;b>127;)a.buffer_.push(b&127|128),b>>>=7;a.buffer_.push(b)},F1b=function(a,b){if(b>=0)E1b(a,b);else{for(var c=0;c<9;c++)a.buffer_.push(b&127|128),b>>=7;a.buffer_.push(1)}};g=yw.prototype;g.writeUint32=function(a){this.buffer_.push(a>>>0&255);this.buffer_.push(a>>>8&255);this.buffer_.push(a>>>16&255);this.buffer_.push(a>>>24&255)};g.writeUint64=function(a){sca(a);this.writeUint32(rb);this.writeUint32(sb)};
g.writeInt32=function(a){this.buffer_.push(a>>>0&255);this.buffer_.push(a>>>8&255);this.buffer_.push(a>>>16&255);this.buffer_.push(a>>>24&255)};g.writeInt64=function(a){tb(a);this.writeSplitFixed64(rb,sb)};g.writeBool=function(a){this.buffer_.push(a?1:0)};g.writeEnum=function(a){F1b(this,a)};var G1b=function(){this.blocks_=[];this.totalLength_=0;this.encoder_=new yw},Ch=function(a,b){b.length!==0&&(a.blocks_.push(b),a.totalLength_+=b.length)},H1b=function(a){Ch(a,a.encoder_.end());for(var b=new Uint8Array(a.totalLength_),c=a.blocks_,d=c.length,e=0,f=0;f<d;f++){var h=c[f];b.set(h,e);e+=h.length}a.blocks_=[b];return b},Bh=function(a,b,c){E1b(a.encoder_,b*8+c)};g=G1b.prototype;g.writeInt32=function(a,b){b!=null&&b!=null&&(Bh(this,a,0),F1b(this.encoder_,b))};
g.writeInt64=function(a,b){if(b!=null){switch(typeof b){case "string":D1b(b)}if(b!=null)switch(Bh(this,a,0),typeof b){case "number":a=this.encoder_;tb(b);a.writeSplitVarint64(rb,sb);break;case "bigint":b=BigInt.asUintN(64,b);b=new B1b(Number(b&BigInt(4294967295)),Number(b>>BigInt(32)));this.encoder_.writeSplitVarint64(b.lo,b.hi);break;default:b=D1b(b),this.encoder_.writeSplitVarint64(b.lo,b.hi)}}};g.writeUint32=function(){};g.writeUint64=function(){};
g.writeBool=function(a,b){b!=null&&(Bh(this,a,0),this.encoder_.writeBool(b))};g.writeEnum=function(a,b){b!=null&&(b=parseInt(b,10),Bh(this,a,0),F1b(this.encoder_,b))};g.writeSplitFixed64=function(a,b){Bh(this,a,1);this.encoder_.writeSplitFixed64(b)};g.writeSplitVarint64=function(a,b){Bh(this,a,0);this.encoder_.writeSplitVarint64(b)};var Vma=zh(),I1b=zh(),J1b=zh();var Ah=function(a,b,c){this.$$binaryReaderFn=a;this.$$binaryWriterFn=b;a=FYb(Vma);this.$$isMsg=!!a&&c===a||!1},Zma=Wma(function(a,b,c,d,e){if(a.nextWireType_!==2)return!1;XZb(a,$Zb(b,d,c),e);return!0}),ana=Wma(function(a,b,c,d,e){if(a.nextWireType_!==2)return!1;XZb(a,$Zb(b,d,c,!0),e);return!0}),mna=Symbol(),dna=Symbol(),gna=Symbol(),qna=Symbol(),Xma,Yma,lna=0;var K1b=Eh(function(a,b,c){if(a.nextWireType_!==0)return!1;a=a.decoder_;var d=0,e=0,f=0,h=a.bytes_,l=a.cursor_;do{var q=h[l++];d|=(q&127)<<f;f+=7}while(f<32&&q&128);f>32&&(e|=(q&127)>>4);for(f=3;f<32&&q&128;f+=7)q=h[l++],e|=(q&127)<<f;TZb(a,l);if(q<128)a=uca(d>>>0,e>>>0);else throw Error("fa");Fh(b,c,a);return!0},function(a,b,c){a.writeInt64(c,Qca(b))},zh()),zw=Eh(function(a,b,c){if(a.nextWireType_!==0)return!1;Fh(b,c,xv(a.decoder_));return!0},function(a,b,c){a.writeInt32(c,Hb(b))},J1b),L1b;
L1b=new Ah(function(a,b,c){if(a.nextWireType_!==0&&a.nextWireType_!==2)return!1;var d=b[ab],e=d&2,f=pc(b,d,c,!1);Array.isArray(f)||(f=eea);var h=!!(d&32),l=Za(f);l===0&&h&&!e?(l|=33,f[ab]=l):l&1||(l|=1,f[ab]=l);if(e)l&2||cb(f),Object.freeze(f);else if(2&l||2048&l)f=Ya(f),e=1,h&&(e|=32),f[ab]=e,ic(b,d,c,f);b=f;if(a.nextWireType_==2)for(c=xv(a.decoder_)>>>0,c=a.decoder_.getCursor()+c;a.decoder_.getCursor()<c;)b.push(xv(a.decoder_));else b.push(xv(a.decoder_));return!0},function(a,b,c){if(Array.isArray(b)){var d=
Za(b);if(!(d&4)){for(var e=0,f=0;e<b.length;e++){var h=Hb(b[e]);h!=null&&(b[f++]=h)}f<e&&(b.length=f);b[ab]=(d|5)&-12289;d&2&&Object.freeze(b)}}else b=void 0;if(b!=null)for(d=0;d<b.length;d++)e=a,f=c,h=b[d],h!=null&&(Bh(e,f,0),F1b(e.encoder_,h))},J1b);
var M1b=Eh(function(a,b,c){if(a.nextWireType_!==1)return!1;var d=a.decoder_;a=UZb(d);d=UZb(d);Fh(b,c,ub(a,d));return!0},function(a,b,c){b=Rca(b);if(b!=null){switch(typeof b){case "string":A1b(b)}Bh(a,c,1);switch(typeof b){case "number":a.encoder_.writeUint64(b);break;case "bigint":c=BigInt.asUintN(64,b);c=new y1b(Number(c&BigInt(4294967295)),Number(c>>BigInt(32)));a.encoder_.writeSplitFixed64(c.lo,c.hi);break;default:c=A1b(b),a.encoder_.writeSplitFixed64(c.lo,c.hi)}}},zh()),N1b=Eh(function(a,b,c){if(a.nextWireType_!==
5)return!1;Fh(b,c,UZb(a.decoder_));return!0},function(a,b,c){b=Gca(b);b!=null&&(Bh(a,c,5),a.encoder_.writeUint32(b))},zh()),Aw=Eh(function(a,b,c){if(a.nextWireType_!==0)return!1;Fh(b,c,VZb(a.decoder_));return!0},function(a,b,c){a.writeBool(c,Cca(b))},zh()),O1b=Eh(function(a,b,c){if(a.nextWireType_!==2)return!1;Fh(b,c,YZb(a));return!0},function(a,b,c){b=Tca(b);b!=null&&(b=oba(b,!1),Bh(a,c,2),E1b(a.encoder_,b.length),Ch(a,a.encoder_.end()),Ch(a,b))},I1b),P1b=Eh(function(a,b,c){if(a.nextWireType_!==
0)return!1;Fh(b,c,xv(a.decoder_));return!0},function(a,b,c){a.writeEnum(c,Hb(b))},zh());var Bw=function(a,b){this.fieldIndex=a;this.ctor=b;this.isRepeated=0;this.getExtensionFn=W;this.setExtensionFn=X;this.defaultValue=void 0};var wj=function(a){this.internalArray_=m(a)};Y(wj,V);g=wj.prototype;g.getSeconds_asLegacyNumberOrString=function(){return Vj(this,1)};g.getSeconds_asString=function(){return Oo(this,1)};g.setSeconds=function(a){return pl(this,1,a)};g.getNanos=function(){return Zi(this,2)};g.setNanos=function(a){return uj(this,2,a)};g.toDate=function(){var a=Number(this.getSeconds_asString()),b=this.getNanos();return new Date(a*1E3+b/1E6)};
g.fromMillis=function(a){Number.isFinite(a)||(a=0);return this.setSeconds(Math.floor(a/1E3)).setNanos((a%1E3+1E3)%1E3*1E6)};var Q1b={ERAS:["BC","AD"],ERANAMES:["Before Christ","Anno Domini"],NARROWMONTHS:"JFMAMJJASOND".split(""),STANDALONENARROWMONTHS:"JFMAMJJASOND".split(""),MONTHS:"January February March April May June July August September October November December".split(" "),STANDALONEMONTHS:"January February March April May June July August September October November December".split(" "),SHORTMONTHS:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),STANDALONESHORTMONTHS:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),
WEEKDAYS:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),STANDALONEWEEKDAYS:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),SHORTWEEKDAYS:"Sun Mon Tue Wed Thu Fri Sat".split(" "),STANDALONESHORTWEEKDAYS:"Sun Mon Tue Wed Thu Fri Sat".split(" "),NARROWWEEKDAYS:"SMTWTFS".split(""),STANDALONENARROWWEEKDAYS:"SMTWTFS".split(""),SHORTQUARTERS:["Q1","Q2","Q3","Q4"],QUARTERS:["1st quarter","2nd quarter","3rd quarter","4th quarter"],AMPMS:["AM","PM"],DATEFORMATS:["EEEE, MMMM d, y",
"MMMM d, y","MMM d, y","M/d/yy"],TIMEFORMATS:["h:mm:ss\u202fa zzzz","h:mm:ss\u202fa z","h:mm:ss\u202fa","h:mm\u202fa"],DATETIMEFORMATS:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],FIRSTDAYOFWEEK:6,WEEKENDRANGE:[5,6],FIRSTWEEKCUTOFFDAY:5},Cw=Q1b;Cw=Q1b;var R1b=RegExp("^((?:[-+]\\d*)?\\d{4})(?:(?:-?(\\d{2})(?:-?(\\d{2}))?)|(?:-?(\\d{3}))|(?:-?W(\\d{2})(?:-?([1-7]))?))?$"),S1b=/^(\d{2})(?::?(\d{2})(?::?(\d{2})(\.\d+)?)?)?$/,T1b=/Z|(?:([-+])(\d{2})(?::?(\d{2}))?)$/,U1b=function(a,b){switch(b){case 1:return a%4!=0||a%100==0&&a%400!=0?28:29;case 5:case 8:case 10:case 3:return 30}return 31},V1b=function(a,b,c,d,e){a=new Date(a,b,c);d=d!==void 0?d:3;e=e||0;b=((a.getDay()+6)%7-e+7)%7;return a.valueOf()+((d-e+7)%7-b)*864E5},Dw=function(a,b,c,d,e,f){typeof a===
"string"?(this.years=a=="y"?b:0,this.months=a=="m"?b:0,this.days=a=="d"?b:0,this.hours=a=="h"?b:0,this.minutes=a=="n"?b:0,this.seconds=a=="s"?b:0):(this.years=a||0,this.months=b||0,this.days=c||0,this.hours=d||0,this.minutes=e||0,this.seconds=f||0)};g=Dw.prototype;
g.toIsoString=function(a){var b=Math.min(this.years,this.months,this.days,this.hours,this.minutes,this.seconds),c=Math.max(this.years,this.months,this.days,this.hours,this.minutes,this.seconds);if(b<0&&c>0)return null;if(!a&&b==0&&c==0)return"PT0S";c=[];b<0&&c.push("-");c.push("P");(this.years||a)&&c.push(Math.abs(this.years)+"Y");(this.months||a)&&c.push(Math.abs(this.months)+"M");(this.days||a)&&c.push(Math.abs(this.days)+"D");if(this.hours||this.minutes||this.seconds||a)c.push("T"),(this.hours||
a)&&c.push(Math.abs(this.hours)+"H"),(this.minutes||a)&&c.push(Math.abs(this.minutes)+"M"),(this.seconds||a)&&c.push(Math.abs(this.seconds)+"S");return c.join("")};g.equals=function(a){return a.years==this.years&&a.months==this.months&&a.days==this.days&&a.hours==this.hours&&a.minutes==this.minutes&&a.seconds==this.seconds};g.clone=function(){return new Dw(this.years,this.months,this.days,this.hours,this.minutes,this.seconds)};
g.isZero=function(){return this.years==0&&this.months==0&&this.days==0&&this.hours==0&&this.minutes==0&&this.seconds==0};g.add=function(a){this.years+=a.years;this.months+=a.months;this.days+=a.days;this.hours+=a.hours;this.minutes+=a.minutes;this.seconds+=a.seconds};
var Di=function(a,b,c){typeof a==="number"?(this.date=W1b(a,b||0,c||1),X1b(this,c||1)):In(a)?(this.date=W1b(a.getFullYear(),a.getMonth(),a.getDate()),X1b(this,a.getDate())):(this.date=new Date(Date.now()),a=this.date.getDate(),this.date.setHours(0),this.date.setMinutes(0),this.date.setSeconds(0),this.date.setMilliseconds(0),X1b(this,a))},W1b=function(a,b,c){b=new Date(a,b,c);a>=0&&a<100&&b.setFullYear(b.getFullYear()-1900);return b};g=Di.prototype;g.firstDayOfWeek_=Cw.FIRSTDAYOFWEEK;
g.firstWeekCutOffDay_=Cw.FIRSTWEEKCUTOFFDAY;g.clone=function(){var a=new Di(this.date);a.firstDayOfWeek_=this.firstDayOfWeek_;a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};g.getFullYear=function(){return this.date.getFullYear()};g.getYear=function(){return this.getFullYear()};g.getMonth=function(){return this.date.getMonth()};g.getDate=function(){return this.date.getDate()};g.getTime=function(){return this.date.getTime()};g.getDay=function(){return this.date.getDay()};
g.getUTCFullYear=function(){return this.date.getUTCFullYear()};g.getUTCMonth=function(){return this.date.getUTCMonth()};g.getUTCDate=function(){return this.date.getUTCDate()};g.getUTCDay=function(){return this.date.getDay()};g.getUTCHours=function(){return this.date.getUTCHours()};g.getUTCMinutes=function(){return this.date.getUTCMinutes()};g.getFirstDayOfWeek=function(){return this.firstDayOfWeek_};var Y1b=function(a){return U1b(a.getFullYear(),a.getMonth())};g=Di.prototype;g.getTimezoneOffset=function(){return this.date.getTimezoneOffset()};
g.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};g.setFullYear=function(a){this.date.setFullYear(a)};g.setYear=function(a){this.setFullYear(a)};g.setMonth=function(a){this.date.setMonth(a)};g.setDate=function(a){this.date.setDate(a)};g.setTime=function(a){this.date.setTime(a)};g.setUTCFullYear=function(a){this.date.setUTCFullYear(a)};g.setUTCMonth=function(a){this.date.setUTCMonth(a)};g.setUTCDate=function(a){this.date.setUTCDate(a)};
g.add=function(a){if(a.years||a.months){var b=this.getMonth()+a.months+a.years*12,c=this.getYear()+Math.floor(b/12);b%=12;b<0&&(b+=12);var d=Math.min(U1b(c,b),this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.days&&(c=this.getYear(),b=c>=0&&c<=99?-1900:0,c=new Date(c,this.getMonth(),this.getDate(),12),a=new Date(c.getTime()+a.days*864E5),this.setDate(1),this.setFullYear(a.getFullYear()+b),this.setMonth(a.getMonth()),this.setDate(a.getDate()),X1b(this,a.getDate()))};
g.toIsoString=function(a){var b=this.getFullYear(),c=b<0?"-":b>=1E4?"+":"";return[c+Pv(Math.abs(b),c?6:4),Pv(this.getMonth()+1,2),Pv(this.getDate(),2)].join(a?"-":"")};g.equals=function(a){return!(!a||this.getYear()!=a.getYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};g.toString=function(){return this.toIsoString()};var X1b=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))};Di.prototype.valueOf=function(){return this.date.valueOf()};
var Uk=function(a,b,c,d,e,f,h){this.date=typeof a==="number"?new Date(a,b||0,c||1,d||0,e||0,f||0,h||0):new Date(a&&a.getTime?a.getTime():Date.now())};qv(Uk,Di);g=Uk.prototype;g.getHours=function(){return this.date.getHours()};g.getMinutes=function(){return this.date.getMinutes()};g.getSeconds=function(){return this.date.getSeconds()};g.getMilliseconds=function(){return this.date.getMilliseconds()};g.getUTCDay=function(){return this.date.getUTCDay()};g.getUTCHours=function(){return this.date.getUTCHours()};
g.getUTCMinutes=function(){return this.date.getUTCMinutes()};g.getUTCSeconds=function(){return this.date.getUTCSeconds()};g.getUTCMilliseconds=function(){return this.date.getUTCMilliseconds()};g.setHours=function(a){this.date.setHours(a)};g.setMinutes=function(a){this.date.setMinutes(a)};g.setSeconds=function(a){this.date.setSeconds(a)};g.setMilliseconds=function(a){this.date.setMilliseconds(a)};g.setUTCHours=function(a){this.date.setUTCHours(a)};g.setUTCMinutes=function(a){this.date.setUTCMinutes(a)};
g.setUTCSeconds=function(a){this.date.setUTCSeconds(a)};g.setUTCMilliseconds=function(a){this.date.setUTCMilliseconds(a)};g.add=function(a){Di.prototype.add.call(this,a);a.hours&&this.setUTCHours(this.date.getUTCHours()+a.hours);a.minutes&&this.setUTCMinutes(this.date.getUTCMinutes()+a.minutes);a.seconds&&this.setUTCSeconds(this.date.getUTCSeconds()+a.seconds)};
g.toIsoString=function(a){var b=Di.prototype.toIsoString.call(this,a);return a?b+"T"+Pv(this.getHours(),2)+":"+Pv(this.getMinutes(),2)+":"+Pv(this.getSeconds(),2):b+"T"+Pv(this.getHours(),2)+Pv(this.getMinutes(),2)+Pv(this.getSeconds(),2)};g.equals=function(a){return this.getTime()==a.getTime()};g.toString=function(){return this.toIsoString()};g.clone=function(){var a=new Uk(this.date),b=this.getFirstDayOfWeek();a.firstDayOfWeek_=b;a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};var Z1b=/\s+/,$1b=[],Ew=function(a,b){this._ngEl=a;this._renderer=b;this.initialClasses=$1b;this.stateMap=new Map};Ew.prototype.ngDoCheck=function(){for(var a=k(this.initialClasses),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);a=this.rawClass;if(Array.isArray(a)||a instanceof Set)for(a=k(a),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);else if(a!=null){b=k(Object.keys(a));for(var c=b.next();!c.done;c=b.next())c=c.value,this._updateState(c,!!a[c])}this._applyStateDiff()};
Ew.prototype._updateState=function(a,b){var c=this.stateMap.get(a);c!==void 0?(c.enabled!==b&&(c.changed=!0,c.enabled=b),c.touched=!0):this.stateMap.set(a,{enabled:b,changed:!0,touched:!0})};Ew.prototype._applyStateDiff=function(){for(var a=k(this.stateMap),b=a.next();!b.done;b=a.next()){var c=b.value;b=c[0];c=c[1];c.changed?(this._toggleClass(b,c.enabled),c.changed=!1):c.touched||(c.enabled&&this._toggleClass(b,!1),this.stateMap.delete(b));c.touched=!1}};
Ew.prototype._toggleClass=function(a,b){var c=this;a=a.trim();a.length>0&&a.split(Z1b).forEach(function(d){b?c._renderer.addClass(c._ngEl.nativeElement,d):c._renderer.removeClass(c._ngEl.nativeElement,d)})};ea.Object.defineProperties(Ew.prototype,{klass:{configurable:!0,enumerable:!0,set:function(a){this.initialClasses=a!=null?a.trim().split(Z1b):$1b}},ngClass:{configurable:!0,enumerable:!0,set:function(a){this.rawClass=typeof a==="string"?a.trim().split(Z1b):a}}});
Ew.\u0275fac=function(a){return new (a||Ew)(af(ge),af($v))};Ew.\u0275dir=ud({type:Ew,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});var a2b=function(a,b,c,d){this.$implicit=a;this.ngForOf=b;this.index=c;this.count=d};ea.Object.defineProperties(a2b.prototype,{first:{configurable:!0,enumerable:!0,get:function(){return this.index===0}},last:{configurable:!0,enumerable:!0,get:function(){return this.index===this.count-1}},even:{configurable:!0,enumerable:!0,get:function(){return this.index%2===0}},odd:{configurable:!0,enumerable:!0,get:function(){return!this.even}}});
var Fw=function(a,b,c){this._viewContainer=a;this._template=b;this._differs=c;this._ngForOf=null;this._ngForOfDirty=!0;this._differ=null};Fw.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var a=this._ngForOf;!this._differ&&a&&(this._differ=this._differs.find(a).create(this.ngForTrackBy))}this._differ&&(a=this._differ.diff(this._ngForOf))&&this._applyChanges(a)};
Fw.prototype._applyChanges=function(a){var b=this,c=this._viewContainer;k1b(a,function(h,l,q){h.previousIndex==null?c.createEmbeddedView(b._template,new a2b(h.item,b._ngForOf,-1,-1),q===null?void 0:q):q==null?c.remove(l===null?void 0:l):l!==null&&(l=c.get(l),c.move(l,q),l.context.$implicit=h.item)});for(var d=0,e=c.length;d<e;d++){var f=c.get(d).context;f.index=d;f.count=e;f.ngForOf=this._ngForOf}l1b(a,function(h){c.get(h.currentIndex).context.$implicit=h.item})};
ea.Object.defineProperties(Fw.prototype,{ngForOf:{configurable:!0,enumerable:!0,set:function(a){this._ngForOf=a;this._ngForOfDirty=!0}},ngForTrackBy:{configurable:!0,enumerable:!0,set:function(a){this._trackByFn=a},get:function(){return this._trackByFn}},ngForTemplate:{configurable:!0,enumerable:!0,set:function(a){a&&(this._template=a)}}});Fw.\u0275fac=function(a){return new (a||Fw)(af(Kg),af(Jg),af(tw))};
Fw.\u0275dir=ud({type:Fw,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});var Gw=function(a,b){this._viewContainer=a;this._context=new b2b;this._elseViewRef=this._thenViewRef=this._elseTemplateRef=null;this._thenTemplateRef=b};
Gw.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))};
ea.Object.defineProperties(Gw.prototype,{ngIf:{configurable:!0,enumerable:!0,set:function(a){this._context.$implicit=this._context.ngIf=a;this._updateView()}},ngIfThen:{configurable:!0,enumerable:!0,set:function(a){Lna("ngIfThen",a);this._thenTemplateRef=a;this._thenViewRef=null;this._updateView()}},ngIfElse:{configurable:!0,enumerable:!0,set:function(a){Lna("ngIfElse",a);this._elseTemplateRef=a;this._elseViewRef=null;this._updateView()}}});Gw.\u0275fac=function(a){return new (a||Gw)(af(Kg),af(Jg))};
Gw.\u0275dir=ud({type:Gw,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});var b2b=function(){this.ngIf=this.$implicit=null};var Hw=function(a){this._viewContainerRef=a;this.ngTemplateOutletInjector=this.ngTemplateOutlet=this.ngTemplateOutletContext=this._viewRef=null};Hw.prototype.ngOnChanges=function(a){if(this._shouldRecreateView(a))if(a=this._viewContainerRef,this._viewRef&&a.remove(a.indexOf(this._viewRef)),this.ngTemplateOutlet){var b=this._createContextForwardProxy(),c;this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,b,{injector:(c=this.ngTemplateOutletInjector)!=null?c:void 0})}else this._viewRef=null};
Hw.prototype._shouldRecreateView=function(a){return!!a.ngTemplateOutlet||!!a.ngTemplateOutletInjector};Hw.prototype._createContextForwardProxy=function(){var a=this;return new Proxy({},{set:function(b,c,d){return a.ngTemplateOutletContext?Reflect.set(a.ngTemplateOutletContext,c,d):!1},get:function(b,c,d){if(a.ngTemplateOutletContext)return Reflect.get(a.ngTemplateOutletContext,c,d)}})};Hw.\u0275fac=function(a){return new (a||Hw)(af(Kg))};
Hw.\u0275dir=ud({type:Hw,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Hd]});var c2b=function(){};c2b.prototype.createSubscription=function(a,b){return xh(function(){return a.subscribe({next:b,error:function(c){throw c;}})})};c2b.prototype.dispose=function(a){xh(function(){return a.unsubscribe()})};var d2b=function(){};d2b.prototype.createSubscription=function(a,b){return a.then(b,function(c){throw c;})};d2b.prototype.dispose=function(){};
var e2b=new d2b,f2b=new c2b,Iw=function(a){this._latestValue=null;this.markForCheckOnValueUpdate=!0;this._strategy=this._obj=this._subscription=null;this._ref=a};g=Iw.prototype;g.ngOnDestroy=function(){this._subscription&&this._dispose();this._ref=null};g.transform=function(a){if(!this._obj){if(a)try{this.markForCheckOnValueUpdate=!1,this._subscribe(a)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return a!==this._obj?(this._dispose(),this.transform(a)):this._latestValue};
g._subscribe=function(a){var b=this;this._obj=a;this._strategy=this._selectStrategy(a);this._subscription=this._strategy.createSubscription(a,function(c){return b._updateLatestValue(a,c)})};g._selectStrategy=function(a){if(uf(a))return e2b;if(Vja(a))return f2b;throw Mh();};g._dispose=function(){this._strategy.dispose(this._subscription);this._obj=this._subscription=this._latestValue=null};
g._updateLatestValue=function(a,b){if(a===this._obj&&(this._latestValue=b,this.markForCheckOnValueUpdate)){var c;(c=this._ref)==null||c.markForCheck()}};Iw.\u0275fac=function(a){return new (a||Iw)(af(rw,16))};Iw.\u0275pipe=vd({name:"async",type:Iw,pure:!1,standalone:!0});var Jw=function(){};Jw.prototype.transform=function(a){if(a==null)return null;if(typeof a!=="string")throw Mh();return a.toLowerCase()};Jw.\u0275fac=function(a){return new (a||Jw)};Jw.\u0275pipe=vd({name:"lowercase",type:Jw,pure:!0,standalone:!0});
var g2b=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,Kw=
function(){};Kw.prototype.transform=function(a){if(a==null)return null;if(typeof a!=="string")throw Mh();return a.replace(g2b,function(b){return b[0].toUpperCase()+b.slice(1).toLowerCase()})};Kw.\u0275fac=function(a){return new (a||Kw)};Kw.\u0275pipe=vd({name:"titlecase",type:Kw,pure:!0,standalone:!0});var koa=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Qh={},Yna=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,aoa={};var h2b=new Bd(""),i2b=new Bd(""),Lw=function(a,b,c){this.locale=a;this.defaultTimezone=b;this.defaultOptions=c};Lw.prototype.transform=function(a,b,c,d){if(a==null||a===""||a!==a)return null;try{var e,f,h=(f=b!=null?b:(e=this.defaultOptions)==null?void 0:e.dateFormat)!=null?f:"mediumDate",l,q,v,y=(v=(q=c!=null?c:(l=this.defaultOptions)==null?void 0:l.timezone)!=null?q:this.defaultTimezone)!=null?v:void 0;return eoa(a,h,d||this.locale,y)}catch(E){throw Mh();}};
Lw.\u0275fac=function(a){return new (a||Lw)(af(mh,16),af(h2b,24),af(i2b,24))};Lw.\u0275pipe=vd({name:"date",type:Lw,pure:!0,standalone:!0});var Mw=function(){};Mw.prototype.transform=function(a){return JSON.stringify(a,null,2)};Mw.\u0275fac=function(a){return new (a||Mw)};Mw.\u0275pipe=vd({name:"json",type:Mw,pure:!1,standalone:!0});var Nw=function(a){this.differs=a;this.keyValues=[];this.compareFn=moa};Nw.prototype.transform=function(a,b){var c=this;b=b===void 0?moa:b;if(!a||!(a instanceof Map)&&typeof a!=="object")return null;this.differ!=null||(this.differ=this.differs.find(a).create());a=this.differ.diff(a);var d=b!==this.compareFn;a&&(this.keyValues=[],a.forEachItem(function(e){c.keyValues.push({key:e.key,value:e.currentValue})}));if(a||d)this.keyValues.sort(b),this.compareFn=b;return this.keyValues};
Nw.\u0275fac=function(a){return new (a||Nw)(af(uw,16))};Nw.\u0275pipe=vd({name:"keyvalue",type:Nw,pure:!1,standalone:!0});var poa=/^(\d+)?\.((\d+)(-(\d+))?)?$/;var Ow=function(a){this._locale=a};
Ow.prototype.transform=function(a,b,c){if(a==null||a===""||a!==a)return null;c||(c=this._locale);try{if(typeof a!=="string"||isNaN(Number(a)-parseFloat(a))){if(typeof a!=="number")throw Error("ub`"+a);var d=a}else d=Number(a);a=d;var e=Ag(c)[14][0],f=Lh(c,5);f=f===void 0?"-":f;d={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0};var h=e.split(";"),l=h[0],q=h[1],v=l.indexOf(".")!==-1?l.split("."):[l.substring(0,l.lastIndexOf("0")+1),l.substring(l.lastIndexOf("0")+
1)],y=v[0],E=v[1]||"";d.posPre=y.substring(0,y.indexOf("#"));for(e=0;e<E.length;e++){var H=E.charAt(e);H==="0"?d.minFrac=d.maxFrac=e+1:H==="#"?d.maxFrac=e+1:d.posSuf+=H}var O=y.split(",");d.gSize=O[1]?O[1].length:0;d.lgSize=O[2]||O[1]?(O[2]||O[1]).length:0;if(q){var N=l.length-d.posPre.length-d.posSuf.length,T=q.indexOf("#");d.negPre=q.substring(0,T).replace(/'/g,"");d.negSuf=q.slice(T+N).replace(/'/g,"")}else d.negPre=f+d.posPre,d.negSuf=d.posSuf;return soa(a,d,c,b)}catch(da){throw Mh();}};
Ow.\u0275fac=function(a){return new (a||Ow)(af(mh,16))};Ow.\u0275pipe=vd({name:"number",type:Ow,pure:!0,standalone:!0});var Pw=function(){};Pw.prototype.transform=function(a,b,c){if(a==null)return null;if(!this.supports(a))throw Mh();return a.slice(b,c)};Pw.prototype.supports=function(a){return typeof a==="string"||Array.isArray(a)};Pw.\u0275fac=function(a){return new (a||Pw)};Pw.\u0275pipe=vd({name:"slice",type:Pw,pure:!1,standalone:!0});var Qw=function(){};Qw.\u0275fac=function(a){return new (a||Qw)};Qw.\u0275mod=u({type:Qw});Qw.\u0275inj=p({});var j2b=function(a){return a.src};new Bd("",{providedIn:"root",factory:function(){return j2b}});var ei=new Bd("");new Bd("");new Bd("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:function(){return new Set}});var k2b=null,l2b=function(){};var Rw=function(){};Rw.prototype.historyGo=function(){throw Error("qa");};Rw.\u0275fac=function(a){return new (a||Rw)};Rw.\u0275prov=n({token:Rw,factory:function(){return r(Sw)},providedIn:"platform"});var m2b=new Bd(""),Sw=function(){this._doc=r(ei);this._location=window.location;this._history=window.history};Y(Sw,Rw);Sw.prototype.onPopState=function(a){var b=n2b(this._doc,"window");b.addEventListener("popstate",a,!1);return function(){return b.removeEventListener("popstate",a)}};
var o2b=function(a,b){var c=n2b(a._doc,"window");c.addEventListener("hashchange",b,!1);return function(){return c.removeEventListener("hashchange",b)}};g=Sw.prototype;g.pushState=function(a,b,c){this._history.pushState(a,b,c)};g.replaceState=function(a,b,c){this._history.replaceState(a,b,c)};g.forward=function(){this._history.forward()};g.back=function(){this._history.back()};g.historyGo=function(a){this._history.go(a===void 0?0:a)};g.getState=function(){return this._history.state};
ea.Object.defineProperties(Sw.prototype,{href:{configurable:!0,enumerable:!0,get:function(){return this._location.href}},protocol:{configurable:!0,enumerable:!0,get:function(){return this._location.protocol}},hostname:{configurable:!0,enumerable:!0,get:function(){return this._location.hostname}},port:{configurable:!0,enumerable:!0,get:function(){return this._location.port}},pathname:{configurable:!0,enumerable:!0,get:function(){return this._location.pathname},set:function(a){this._location.pathname=
a}},search:{configurable:!0,enumerable:!0,get:function(){return this._location.search}},hash:{configurable:!0,enumerable:!0,get:function(){return this._location.hash}}});Sw.\u0275fac=function(a){return new (a||Sw)};Sw.\u0275prov=n({token:Sw,factory:function(){return new Sw},providedIn:"platform"});var Tw=function(){};Tw.prototype.historyGo=function(){throw Error("qa");};Tw.\u0275fac=function(a){return new (a||Tw)};Tw.\u0275prov=n({token:Tw,factory:function(){return r(Uw)},providedIn:"root"});var p2b=new Bd(""),Uw=function(a,b){this._platformLocation=a;this._removeListenerFns=[];var c,d,e;this._baseHref=(e=(d=b!=null?b:k2b.getBaseHref())!=null?d:(c=r(ei).location)==null?void 0:c.origin)!=null?e:""};Y(Uw,Tw);g=Uw.prototype;g.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};
g.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),o2b(this._platformLocation,a))};g.getBaseHref=function(){return this._baseHref};g.prepareExternalUrl=function(a){return toa(this._baseHref,a)};g.path=function(a){var b=this._platformLocation.pathname+Sh(this._platformLocation.search),c=this._platformLocation.hash;return c&&(a===void 0?0:a)?b+c:b};g.pushState=function(a,b,c,d){this._platformLocation.pushState(a,b,this.prepareExternalUrl(c+Sh(d)))};
g.replaceState=function(a,b,c,d){this._platformLocation.replaceState(a,b,this.prepareExternalUrl(c+Sh(d)))};g.forward=function(){this._platformLocation.forward()};g.back=function(){this._platformLocation.back()};g.getState=function(){return this._platformLocation.getState()};g.historyGo=function(a){var b,c;(c=(b=this._platformLocation).historyGo)==null||c.call(b,a===void 0?0:a)};Uw.\u0275fac=function(a){return new (a||Uw)(md(Rw),md(p2b,8))};Uw.\u0275prov=n({token:Uw,factory:Uw.\u0275fac,providedIn:"root"});var Vw=function(a,b){this._platformLocation=a;this._baseHref="";this._removeListenerFns=[];b!=null&&(this._baseHref=b)};Y(Vw,Tw);g=Vw.prototype;g.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};g.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),o2b(this._platformLocation,a))};g.getBaseHref=function(){return this._baseHref};
g.path=function(){var a,b=(a=this._platformLocation.hash)!=null?a:"#";return b.length>0?b.substring(1):b};g.prepareExternalUrl=function(a){a=toa(this._baseHref,a);return a.length>0?"#"+a:a};g.pushState=function(a,b,c,d){c=this.prepareExternalUrl(c+Sh(d));c.length==0&&(c=this._platformLocation.pathname);this._platformLocation.pushState(a,b,c)};
g.replaceState=function(a,b,c,d){c=this.prepareExternalUrl(c+Sh(d));c.length==0&&(c=this._platformLocation.pathname);this._platformLocation.replaceState(a,b,c)};g.forward=function(){this._platformLocation.forward()};g.back=function(){this._platformLocation.back()};g.getState=function(){return this._platformLocation.getState()};g.historyGo=function(a){var b,c;(c=(b=this._platformLocation).historyGo)==null||c.call(b,a===void 0?0:a)};Vw.\u0275fac=function(a){return new (a||Vw)(md(Rw),md(p2b,8))};
Vw.\u0275prov=n({token:Vw,factory:Vw.\u0275fac});var Ww=function(a){var b=this;this._subject=new Jf;this._urlChangeListeners=[];this._urlChangeSubscription=null;this._locationStrategy=a;a=this._locationStrategy.getBaseHref();this._basePath=voa(uoa(a.replace(/\/index.html$/,"")));this._locationStrategy.onPopState(function(c){b._subject.next({url:b.path(!0),pop:!0,state:c.state,type:c.type})})};g=Ww.prototype;g.ngOnDestroy=function(){var a;(a=this._urlChangeSubscription)==null||a.unsubscribe();this._urlChangeListeners=[]};
g.path=function(a){return this.normalize(this._locationStrategy.path(a===void 0?!1:a))};g.getState=function(){return this._locationStrategy.getState()};g.normalize=function(a){var b=this._basePath;a=a.replace(/\/index.html$/,"");b&&a.startsWith(b)?(b=a.substring(b.length),b=b===""||["/",";","?","#"].includes(b[0])?b:a):b=a;return uoa(b)};g.prepareExternalUrl=function(a){a&&a[0]!=="/"&&(a="/"+a);return this._locationStrategy.prepareExternalUrl(a)};
g.go=function(a,b,c){b=b===void 0?"":b;c=c===void 0?null:c;this._locationStrategy.pushState(c,"",a,b);this._notifyUrlChangeListeners(this.prepareExternalUrl(a+Sh(b)),c)};g.replaceState=function(a,b,c){b=b===void 0?"":b;c=c===void 0?null:c;this._locationStrategy.replaceState(c,"",a,b);this._notifyUrlChangeListeners(this.prepareExternalUrl(a+Sh(b)),c)};g.forward=function(){this._locationStrategy.forward()};g.back=function(){this._locationStrategy.back()};
g.historyGo=function(a){var b,c;(c=(b=this._locationStrategy).historyGo)==null||c.call(b,a===void 0?0:a)};g._notifyUrlChangeListeners=function(a,b){a=a===void 0?"":a;this._urlChangeListeners.forEach(function(c){return c(a,b)})};g.subscribe=function(a,b,c){return this._subject.subscribe({next:a,error:b!=null?b:void 0,complete:c!=null?c:void 0})};Ww.\u0275fac=function(a){return new (a||Ww)(md(Tw))};Ww.\u0275prov=n({token:Ww,factory:function(){return new Ww(md(Tw))},providedIn:"root"});var q2b=function(){};q2b.\u0275prov=n({token:q2b,providedIn:"root",factory:function(){return r(Tf)==="browser"?new r2b:new s2b}});var r2b=function(){var a=r(ei),b=window;this.document=a;this.window=b;this.offset=function(){return[0,0]}};g=r2b.prototype;g.setOffset=function(a){this.offset=Array.isArray(a)?function(){return a}:a};g.getScrollPosition=function(){return[this.window.scrollX,this.window.scrollY]};g.scrollToPosition=function(a){this.window.scrollTo(a[0],a[1])};
g.scrollToAnchor=function(a){a:{var b=this.document,c=b.getElementById(a)||b.getElementsByName(a)[0];if(c)a=c;else{if(typeof b.createTreeWalker==="function"&&b.body&&typeof b.body.attachShadow==="function")for(b=b.createTreeWalker(b.body,NodeFilter.SHOW_ELEMENT),c=b.currentNode;c;){if(c=c.shadowRoot)if(c=c.getElementById(a)||c.querySelector('[name="'+a+'"]')){a=c;break a}c=b.nextNode()}a=null}}if(a){c=a.getBoundingClientRect();b=c.left+this.window.pageXOffset;c=c.top+this.window.pageYOffset;var d=
this.offset();this.window.scrollTo(b-d[0],c-d[1]);a.focus()}};g.setHistoryScrollRestoration=function(a){this.window.history.scrollRestoration=a};var s2b=function(){};g=s2b.prototype;g.setOffset=function(){};g.getScrollPosition=function(){return[0,0]};g.scrollToPosition=function(){};g.scrollToAnchor=function(){};g.setHistoryScrollRestoration=function(){};var t2b=function(){};var woa,xoa="color button checkbox date datetime-local email file hidden image month number password radio range reset search submit tel text time url week".split(" ");var Th;var Boa,Vh;var Doa;var u2b;try{u2b=typeof Intl!=="undefined"&&Intl.v8BreakIterator}catch(a){u2b=!1}
var Xw=function(){this.EDGE=(this.isBrowser=(this._platformId=r(Tf))?this._platformId==="browser":typeof document==="object"&&!!document)&&/(edge)/i.test(navigator.userAgent);this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);this.BLINK=this.isBrowser&&!(!window.chrome&&!u2b)&&typeof CSS!=="undefined"&&!this.EDGE&&!this.TRIDENT;this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&
!("MSStream"in window);this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT};Xw.\u0275fac=function(a){return new (a||Xw)};Xw.\u0275prov=n({token:Xw,factory:Xw.\u0275fac,providedIn:"root"});var v2b=new WeakMap,Yw=function(){this._injector=r(Sf);this._environmentInjector=r(Uv)};Yw.prototype.load=function(a){var b=this._appRef=this._appRef||this._injector.get(nh),c=v2b.get(b);c||(c={loaders:new Set,refs:[]},v2b.set(b,c),b.onDestroy(function(){var d;(d=v2b.get(b))==null||d.refs.forEach(function(e){return e.destroy()});v2b.delete(b)}));c.loaders.has(a)||(c.loaders.add(a),c.refs.push(Sma(a,{environmentInjector:this._environmentInjector})))};Yw.\u0275fac=function(a){return new (a||Yw)};
Yw.\u0275prov=n({token:Yw,factory:Yw.\u0275fac,providedIn:"root"});var w2b=new Bd("cdk-input-modality-detector-options"),x2b={ignoreKeys:[18,17,224,91,16]},Zw=Uh({passive:!0,capture:!0}),$w=function(){var a=this;this._platform=r(Xw);this._mostRecentTarget=null;this._modality=new bo(null);this._lastTouchMs=0;this._onKeydown=function(e){var f,h;((f=a._options)==null?0:(h=f.ignoreKeys)==null?0:h.some(function(l){return l===e.keyCode}))||(a._modality.next("keyboard"),a._mostRecentTarget=Xh(e))};this._onMousedown=function(e){Date.now()-a._lastTouchMs<650||(a._modality.next(Goa(e)?
"keyboard":"mouse"),a._mostRecentTarget=Xh(e))};this._onTouchstart=function(e){Hoa(e)?a._modality.next("keyboard"):(a._lastTouchMs=Date.now(),a._modality.next("touch"),a._mostRecentTarget=Xh(e))};var b=r(hh),c=r(ei),d=r(w2b,{optional:!0});this._options=Object.assign({},x2b,d);this.modalityDetected=this._modality.pipe(Lf(1));this.modalityDetected.pipe(Ef());this._platform.isBrowser&&b.runOutsideAngular(function(){c.addEventListener("keydown",a._onKeydown,Zw);c.addEventListener("mousedown",a._onMousedown,
Zw);c.addEventListener("touchstart",a._onTouchstart,Zw)})};$w.prototype.ngOnDestroy=function(){this._modality.complete();this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Zw),document.removeEventListener("mousedown",this._onMousedown,Zw),document.removeEventListener("touchstart",this._onTouchstart,Zw))};ea.Object.defineProperties($w.prototype,{mostRecentModality:{configurable:!0,enumerable:!0,get:function(){return this._modality.value}}});
$w.\u0275fac=function(a){return new (a||$w)};$w.\u0275prov=n({token:$w,factory:$w.\u0275fac,providedIn:"root"});var y2b=new Bd("cdk-focus-monitor-default-options"),z2b=Uh({passive:!0,capture:!0}),ax=function(){var a=this;this._ngZone=r(hh);this._platform=r(Xw);this._inputModalityDetector=r($w);this._origin=null;this._originFromTouchInteraction=this._windowFocused=!1;this._elementInfo=new Map;this._monitoredElementCount=0;this._rootNodeFocusListenerCount=new Map;this._windowFocusListener=function(){a._windowFocused=!0;a._windowFocusTimeoutId=window.setTimeout(function(){return a._windowFocused=!1})};this._document=
r(ei,{optional:!0});this._stopInputModalityDetector=new Jf;this._rootNodeFocusAndBlurListener=function(c){for(var d=Xh(c);d;d=d.parentElement)c.type==="focus"?a._onFocus(c,d):a._onBlur(c,d)};var b;this._detectionMode=((b=r(y2b,{optional:!0}))==null?void 0:b.detectionMode)||0};
ax.prototype.monitor=function(a,b){b=b===void 0?!1:b;a=bi(a);if(!this._platform.isBrowser||a.nodeType!==1)return Fe();var c=Eoa(a)||this._getDocument(),d=this._elementInfo.get(a);if(d)return b&&(d.checkChildren=!0),d.subject;b={checkChildren:b,subject:new Jf,rootNode:c};this._elementInfo.set(a,b);this._registerGlobalListeners(b);return b.subject};
ax.prototype.stopMonitoring=function(a){a=bi(a);var b=this._elementInfo.get(a);b&&(b.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(b))};var bx=function(a,b,c,d){b=bi(b);b===a._getDocument().activeElement?a._getClosestElementsInfo(b).forEach(function(e){var f=k(e);e=f.next().value;f=f.next().value;return a._originChanged(e,c,f)}):(a._setOrigin(c),typeof b.focus==="function"&&b.focus(d))};g=ax.prototype;
g.ngOnDestroy=function(){var a=this;this._elementInfo.forEach(function(b,c){return a.stopMonitoring(c)})};g._getDocument=function(){return this._document||document};g._getWindow=function(){return this._getDocument().defaultView||window};
g._getFocusOrigin=function(a){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(a)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:a&&this._isLastInteractionFromInputLabel(a)?"mouse":"program"};g._shouldBeAttributedToTouch=function(a){return this._detectionMode===1||!(a==null||!a.contains(this._inputModalityDetector._mostRecentTarget))};
g._setClasses=function(a,b){a.classList.toggle("cdk-focused",!!b);a.classList.toggle("cdk-touch-focused",b==="touch");a.classList.toggle("cdk-keyboard-focused",b==="keyboard");a.classList.toggle("cdk-mouse-focused",b==="mouse");a.classList.toggle("cdk-program-focused",b==="program")};
g._setOrigin=function(a,b){var c=this;b=b===void 0?!1:b;this._ngZone.runOutsideAngular(function(){c._origin=a;c._originFromTouchInteraction=a==="touch"&&b;c._detectionMode===0&&(clearTimeout(c._originTimeoutId),c._originTimeoutId=setTimeout(function(){return c._origin=null},c._originFromTouchInteraction?650:1))})};g._onFocus=function(a,b){var c=this._elementInfo.get(b);a=Xh(a);c&&(c.checkChildren||b===a)&&this._originChanged(b,this._getFocusOrigin(a),c)};
g._onBlur=function(a,b){var c=this._elementInfo.get(b);!c||c.checkChildren&&a.relatedTarget instanceof Node&&b.contains(a.relatedTarget)||(this._setClasses(b),this._emitOrigin(c,null))};g._emitOrigin=function(a,b){a.subject.observers.length&&this._ngZone.run(function(){return a.subject.next(b)})};
g._registerGlobalListeners=function(a){var b=this;if(this._platform.isBrowser){var c=a.rootNode;(a=this._rootNodeFocusListenerCount.get(c)||0)||this._ngZone.runOutsideAngular(function(){c.addEventListener("focus",b._rootNodeFocusAndBlurListener,z2b);c.addEventListener("blur",b._rootNodeFocusAndBlurListener,z2b)});this._rootNodeFocusListenerCount.set(c,a+1);++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(function(){b._getWindow().addEventListener("focus",b._windowFocusListener)}),
this._inputModalityDetector.modalityDetected.pipe(Of(this._stopInputModalityDetector)).subscribe(function(d){b._setOrigin(d,!0)}))}};
g._removeGlobalListeners=function(a){a=a.rootNode;if(this._rootNodeFocusListenerCount.has(a)){var b=this._rootNodeFocusListenerCount.get(a);b>1?this._rootNodeFocusListenerCount.set(a,b-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,z2b),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,z2b),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),
clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))};g._originChanged=function(a,b,c){this._setClasses(a,b);this._emitOrigin(c,b);this._lastFocusOrigin=b};g._getClosestElementsInfo=function(a){var b=[];this._elementInfo.forEach(function(c,d){(d===a||c.checkChildren&&d.contains(a))&&b.push([d,c])});return b};
g._isLastInteractionFromInputLabel=function(a){var b=this._inputModalityDetector,c=b._mostRecentTarget;if(b.mostRecentModality!=="mouse"||!c||c===a||a.nodeName!=="INPUT"&&a.nodeName!=="TEXTAREA"||a.disabled)return!1;if(a=a.labels)for(b=0;b<a.length;b++)if(a[b].contains(c))return!0;return!1};ax.\u0275fac=function(a){return new (a||ax)};ax.\u0275prov=n({token:ax,factory:ax.\u0275fac,providedIn:"root"});
var cx=function(){this._elementRef=r(ge);this._focusMonitor=r(ax);this._focusOrigin=null;this.cdkFocusChange=new kw};cx.prototype.ngAfterViewInit=function(){var a=this,b=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(b,b.nodeType===1&&b.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(c){a._focusOrigin=c;a.cdkFocusChange.emit(c)})};cx.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._monitorSubscription&&this._monitorSubscription.unsubscribe()};
ea.Object.defineProperties(cx.prototype,{focusOrigin:{configurable:!0,enumerable:!0,get:function(){return this._focusOrigin}}});cx.\u0275fac=function(a){return new (a||cx)};cx.\u0275dir=ud({type:cx,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0});var dx=function(){this._platform=r(Xw)};dx.prototype.isDisabled=function(a){return a.hasAttribute("disabled")};dx.prototype.isVisible=function(a){return!!(a.offsetWidth||a.offsetHeight||typeof a.getClientRects==="function"&&a.getClientRects().length)&&getComputedStyle(a).visibility==="visible"};
var A2b=function(a,b){if(!a._platform.isBrowser)return!1;try{var c=(b.ownerDocument&&b.ownerDocument.defaultView||window).frameElement}catch(h){c=null}if(c&&(Joa(c)===-1||!a.isVisible(c)))return!1;c=b.nodeName.toLowerCase();var d=Joa(b);if(b.hasAttribute("contenteditable"))a=d!==-1;else{var e;if(!(e=c==="iframe"||c==="object")&&(e=a._platform.WEBKIT&&a._platform.IOS)){e=b.nodeName.toLowerCase();var f=e==="input"&&b.type;e=!(f==="text"||f==="password"||e==="select"||e==="textarea")}a=e?!1:c==="audio"?
b.hasAttribute("controls")?d!==-1:!1:c==="video"?d===-1?!1:d!==null?!0:a._platform.FIREFOX||b.hasAttribute("controls"):b.tabIndex>=0}return a};
dx.prototype.isFocusable=function(a,b){if(a.nodeName.toLowerCase()=="input"&&a.type=="hidden")var c=!1;else c=a.nodeName.toLowerCase(),c=c==="input"||c==="select"||c==="button"||c==="textarea"||a.nodeName.toLowerCase()=="a"&&a.hasAttribute("href")||a.hasAttribute("contenteditable")||Ioa(a);return c&&!this.isDisabled(a)&&((b==null?void 0:b.ignoreVisibility)||this.isVisible(a))};dx.\u0275fac=function(a){return new (a||dx)};dx.\u0275prov=n({token:dx,factory:dx.\u0275fac,providedIn:"root"});var hx=function(a,b,c,d,e,f){var h=this;this._element=a;this._checker=b;this._ngZone=c;this._document=d;this._injector=f;this._hasAttached=!1;this.startAnchorListener=function(){return ex(h)};this.endAnchorListener=function(){return fx(h)};this._enabled=!0;(e===void 0?0:e)||gx(this)};
hx.prototype.destroy=function(){var a=this._startAnchor,b=this._endAnchor;a&&(a.removeEventListener("focus",this.startAnchorListener),a.remove());b&&(b.removeEventListener("focus",this.endAnchorListener),b.remove());this._startAnchor=this._endAnchor=null;this._hasAttached=!1};
var gx=function(a){a._hasAttached||(a._ngZone.runOutsideAngular(function(){a._startAnchor||(a._startAnchor=a._createAnchor(),a._startAnchor.addEventListener("focus",a.startAnchorListener));a._endAnchor||(a._endAnchor=a._createAnchor(),a._endAnchor.addEventListener("focus",a.endAnchorListener))}),a._element.parentNode&&(a._element.parentNode.insertBefore(a._startAnchor,a._element),a._element.parentNode.insertBefore(a._endAnchor,a._element.nextSibling),a._hasAttached=!0))},B2b=function(a){return new Promise(function(b){a._executeOnStable(function(){return b(a.focusInitialElement())})})};
hx.prototype._getRegionBoundary=function(a){var b=this._element.querySelectorAll("[cdk-focus-region-"+a+"], [cdkFocusRegion"+(a+"], [cdk-focus-")+(a+"]"));return a=="start"?b.length?b[0]:this._getFirstTabbableElement(this._element):b.length?b[b.length-1]:this._getLastTabbableElement(this._element)};
hx.prototype.focusInitialElement=function(){var a=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(a){if(!this._checker.isFocusable(a))return a=this._getFirstTabbableElement(a),a==null||a.focus(void 0),!!a;a.focus(void 0);return!0}return fx(this)};var fx=function(a){(a=a._getRegionBoundary("start"))&&a.focus(void 0);return!!a},ex=function(a){(a=a._getRegionBoundary("end"))&&a.focus(void 0);return!!a};g=hx.prototype;g.hasAttached=function(){return this._hasAttached};
g._getFirstTabbableElement=function(a){if(this._checker.isFocusable(a)&&A2b(this._checker,a))return a;a=a.children;for(var b=0;b<a.length;b++){var c=a[b].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(a[b]):null;if(c)return c}return null};g._getLastTabbableElement=function(a){if(this._checker.isFocusable(a)&&A2b(this._checker,a))return a;a=a.children;for(var b=a.length-1;b>=0;b--){var c=a[b].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(a[b]):null;if(c)return c}return null};
g._createAnchor=function(){var a=this._document.createElement("div");this._toggleAnchorTabIndex(this._enabled,a);a.classList.add("cdk-visually-hidden");a.classList.add("cdk-focus-trap-anchor");a.setAttribute("aria-hidden","true");return a};g._toggleAnchorTabIndex=function(a,b){a?b.setAttribute("tabindex","0"):b.removeAttribute("tabindex")};var C2b=function(a,b){a._startAnchor&&a._endAnchor&&(a._toggleAnchorTabIndex(b,a._startAnchor),a._toggleAnchorTabIndex(b,a._endAnchor))};
hx.prototype._executeOnStable=function(a){this._injector?Uf(a,{injector:this._injector}):setTimeout(a)};ea.Object.defineProperties(hx.prototype,{enabled:{configurable:!0,enumerable:!0,get:function(){return this._enabled},set:function(a){this._enabled=a;this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(a,this._startAnchor),this._toggleAnchorTabIndex(a,this._endAnchor))}}});var ix=function(){this._checker=r(dx);this._ngZone=r(hh);this._document=r(ei);this._injector=r(Sf)};
ix.prototype.create=function(a,b){return new hx(a,this._checker,this._ngZone,this._document,b===void 0?!1:b,this._injector)};ix.\u0275fac=function(a){return new (a||ix)};ix.\u0275prov=n({token:ix,factory:ix.\u0275fac,providedIn:"root"});var jx=function(){this._elementRef=r(ge);this._focusTrapFactory=r(ix);this._previouslyFocusedElement=null;r(Xw).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))};g=jx.prototype;
g.ngOnDestroy=function(){var a;(a=this.focusTrap)==null||a.destroy();this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)};g.ngAfterContentInit=function(){var a;(a=this.focusTrap)==null||gx(a);this.autoCapture&&this._captureFocus()};g.ngDoCheck=function(){this.focusTrap&&!this.focusTrap.hasAttached()&&gx(this.focusTrap)};
g.ngOnChanges=function(a){a=a.autoCapture;var b;a&&!a.firstChange&&this.autoCapture&&((b=this.focusTrap)==null?0:b.hasAttached())&&this._captureFocus()};g._captureFocus=function(){this._previouslyFocusedElement=Wh();var a;(a=this.focusTrap)==null||B2b(a)};ea.Object.defineProperties(jx.prototype,{enabled:{configurable:!0,enumerable:!0,get:function(){var a;return((a=this.focusTrap)==null?void 0:a.enabled)||!1},set:function(a){this.focusTrap&&(this.focusTrap.enabled=a)}}});
jx.\u0275fac=function(a){return new (a||jx)};jx.\u0275dir=ud({type:jx,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",rh],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",rh]},exportAs:["cdkTrapFocus"],standalone:!0,features:[dg,Hd]});var D2b=new Set,kx,lx=function(){this._platform=r(Xw);this._nonce=r(X_b,{optional:!0});this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Koa};lx.prototype.matchMedia=function(a){if(this._platform.WEBKIT||this._platform.BLINK){var b=this._nonce;if(!D2b.has(a))try{kx||(kx=document.createElement("style"),b&&kx.setAttribute("nonce",b),kx.setAttribute("type","text/css"),document.head.appendChild(kx)),kx.sheet&&(kx.sheet.insertRule("@media "+a+" {body{ }}",0),D2b.add(a))}catch(c){console.error(c)}}return this._matchMedia(a)};
lx.\u0275fac=function(a){return new (a||lx)};lx.\u0275prov=n({token:lx,factory:lx.\u0275fac,providedIn:"root"});var mx=function(){this._mediaMatcher=r(lx);this._zone=r(hh);this._queries=new Map;this._destroySubject=new Jf};mx.prototype.ngOnDestroy=function(){this._destroySubject.next();this._destroySubject.complete()};
mx.prototype.observe=function(a){var b=this;a=Loa(Zh(a)).map(function(c){return b._registerQuery(c).observable});a=Me(a);a=Qe(a.pipe(Cf()),a.pipe(Lf(1),Af(0)));return a.pipe(B(function(c){var d={matches:!1,breakpoints:{}};c.forEach(function(e){var f=e.matches;e=e.query;d.matches=d.matches||f;d.breakpoints[e]=f});return d}))};
mx.prototype._registerQuery=function(a){var b=this;if(this._queries.has(a))return this._queries.get(a);var c=this._mediaMatcher.matchMedia(a),d={observable:(new re(function(e){var f=function(h){return b._zone.run(function(){return e.next(h)})};c.addListener(f);return function(){c.removeListener(f)}})).pipe(Mf(c),B(function(e){return{query:a,matches:e.matches}}),Of(this._destroySubject)),mql:c};this._queries.set(a,d);return d};mx.\u0275fac=function(a){return new (a||mx)};
mx.\u0275prov=n({token:mx,factory:mx.\u0275fac,providedIn:"root"});var nx=function(){var a=this;this._platform=r(Xw);this._document=r(ei);this._breakpointSubscription=r(mx).observe("(forced-colors: active)").subscribe(function(){a._hasCheckedHighContrastMode&&(a._hasCheckedHighContrastMode=!1,a._applyBodyHighContrastModeCssClasses())})},E2b=function(a){if(!a._platform.isBrowser)return 0;var b=a._document.createElement("div");b.style.backgroundColor="rgb(1,2,3)";b.style.position="absolute";a._document.body.appendChild(b);a=(a=a._document.defaultView||window)&&a.getComputedStyle?
a.getComputedStyle(b):null;a=(a&&a.backgroundColor||"").replace(/ /g,"");b.remove();switch(a){case "rgb(0,0,0)":case "rgb(45,50,54)":case "rgb(32,32,32)":return 2;case "rgb(255,255,255)":case "rgb(255,250,239)":return 1}return 0};nx.prototype.ngOnDestroy=function(){this._breakpointSubscription.unsubscribe()};
nx.prototype._applyBodyHighContrastModeCssClasses=function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var a=this._document.body.classList;a.remove("cdk-high-contrast-active","cdk-high-contrast-black-on-white","cdk-high-contrast-white-on-black");this._hasCheckedHighContrastMode=!0;var b=E2b(this);b===1?a.add("cdk-high-contrast-active","cdk-high-contrast-black-on-white"):b===2&&a.add("cdk-high-contrast-active","cdk-high-contrast-white-on-black")}};
nx.\u0275fac=function(a){return new (a||nx)};nx.\u0275prov=n({token:nx,factory:nx.\u0275fac,providedIn:"root"});var F2b=new Bd("liveAnnouncerElement",{providedIn:"root",factory:Moa}),G2b=new Bd("LIVE_ANNOUNCER_DEFAULT_OPTIONS");var ox=function(){};ox.prototype.create=function(a){return typeof MutationObserver==="undefined"?null:new MutationObserver(a)};ox.\u0275fac=function(a){return new (a||ox)};ox.\u0275prov=n({token:ox,factory:ox.\u0275fac,providedIn:"root"});var px=function(){this._mutationObserverFactory=r(ox);this._observedElements=new Map;this._ngZone=r(hh)};g=px.prototype;g.ngOnDestroy=function(){var a=this;this._observedElements.forEach(function(b,c){return a._cleanupObserver(c)})};
g.observe=function(a){var b=this,c=bi(a);return new re(function(d){var e=b._observeElement(c).pipe(B(function(f){return f.filter(function(h){return!Noa(h)})}),Ye(function(f){return!!f.length})).subscribe(function(f){b._ngZone.run(function(){d.next(f)})});return function(){e.unsubscribe();b._unobserveElement(c)}})};
g._observeElement=function(a){var b=this;return this._ngZone.runOutsideAngular(function(){if(b._observedElements.has(a))b._observedElements.get(a).count++;else{var c=new Jf,d=b._mutationObserverFactory.create(function(e){return c.next(e)});d&&d.observe(a,{characterData:!0,childList:!0,subtree:!0});b._observedElements.set(a,{observer:d,stream:c,count:1})}return b._observedElements.get(a).stream})};
g._unobserveElement=function(a){this._observedElements.has(a)&&(this._observedElements.get(a).count--,this._observedElements.get(a).count||this._cleanupObserver(a))};g._cleanupObserver=function(a){if(this._observedElements.has(a)){var b=this._observedElements.get(a),c=b.observer;b=b.stream;c&&c.disconnect();b.complete();this._observedElements.delete(a)}};px.\u0275fac=function(a){return new (a||px)};px.\u0275prov=n({token:px,factory:px.\u0275fac,providedIn:"root"});
var qx=function(){this._contentObserver=r(px);this._elementRef=r(ge);this.event=new kw;this._disabled=!1;this._currentSubscription=null};qx.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()};qx.prototype.ngOnDestroy=function(){this._unsubscribe()};qx.prototype._subscribe=function(){this._unsubscribe();var a=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?a.pipe(Af(this.debounce)):a).subscribe(this.event)};
qx.prototype._unsubscribe=function(){var a;(a=this._currentSubscription)==null||a.unsubscribe()};ea.Object.defineProperties(qx.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=a)?this._unsubscribe():this._subscribe()}},debounce:{configurable:!0,enumerable:!0,get:function(){return this._debounce},set:function(a){this._debounce=ci(a);this._subscribe()}}});qx.\u0275fac=function(a){return new (a||qx)};
qx.\u0275dir=ud({type:qx,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",rh],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[dg]});var rx=function(){};rx.\u0275fac=function(a){return new (a||rx)};rx.\u0275mod=u({type:rx});rx.\u0275inj=p({providers:[ox]});var H2b=0,sx=function(){this._ngZone=r(hh);this._defaultOptions=r(G2b,{optional:!0});this._document=r(ei);this._liveElement=r(F2b,{optional:!0})||this._createLiveElement()};g=sx.prototype;
g.announce=function(a){var b=zd.apply(1,arguments),c=this,d=this._defaultOptions;if(b.length===1&&typeof b[0]==="number")var e=b[0];else{b=k(b);var f=b.next().value;e=b.next().value}this.clear();clearTimeout(this._previousTimeout);f||(f=d&&d.politeness?d.politeness:"polite");e==null&&d&&(e=d.duration);this._liveElement.setAttribute("aria-live",f);this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id);return this._ngZone.runOutsideAngular(function(){c._currentPromise||(c._currentPromise=
new Promise(function(h){return c._currentResolve=h}));clearTimeout(c._previousTimeout);c._previousTimeout=setTimeout(function(){c._liveElement.textContent=a;typeof e==="number"&&(c._previousTimeout=setTimeout(function(){return c.clear()},e));var h;(h=c._currentResolve)==null||h.call(c);c._currentPromise=c._currentResolve=void 0},100);return c._currentPromise})};g.clear=function(){this._liveElement&&(this._liveElement.textContent="")};
g.ngOnDestroy=function(){clearTimeout(this._previousTimeout);var a;(a=this._liveElement)==null||a.remove();this._liveElement=null;var b;(b=this._currentResolve)==null||b.call(this);this._currentPromise=this._currentResolve=void 0};
g._createLiveElement=function(){for(var a=this._document.getElementsByClassName("cdk-live-announcer-element"),b=this._document.createElement("div"),c=0;c<a.length;c++)a[c].remove();b.classList.add("cdk-live-announcer-element");b.classList.add("cdk-visually-hidden");b.setAttribute("aria-atomic","true");b.setAttribute("aria-live","polite");b.id="cdk-live-announcer-"+H2b++;this._document.body.appendChild(b);return b};
g._exposeAnnouncerToModals=function(a){for(var b=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]'),c=0;c<b.length;c++){var d=b[c],e=d.getAttribute("aria-owns");e?e.indexOf(a)===-1&&d.setAttribute("aria-owns",e+" "+a):d.setAttribute("aria-owns",a)}};sx.\u0275fac=function(a){return new (a||sx)};sx.\u0275prov=n({token:sx,factory:sx.\u0275fac,providedIn:"root"});var tx=function(){r(nx)._applyBodyHighContrastModeCssClasses()};tx.\u0275fac=function(a){return new (a||tx)};tx.\u0275mod=u({type:tx});tx.\u0275inj=p({imports:[rx]});var Roa=0,ux=function(){this._platform=r(Xw);this._document=r(ei);this._messageRegistry=new Map;this._messagesContainer=null;this._id=""+Roa++;this._id=r(W_b)+"-"+Roa++},vx=function(a,b,c,d){if(a._canBeDescribed(b,c)){var e=Qoa(c,d);typeof c!=="string"?(Soa(c,a._id),a._messageRegistry.set(e,{messageElement:c,referenceCount:0})):a._messageRegistry.has(e)||a._createMessageElement(c,d);a._isElementDescribedByMessage(b,e)||a._addMessageReference(b,e)}},wx=function(a,b,c,d){if(c&&a._isElementNode(b)){d=
Qoa(c,d);a._isElementDescribedByMessage(b,d)&&a._removeMessageReference(b,d);typeof c==="string"&&(b=a._messageRegistry.get(d))&&b.referenceCount===0&&a._deleteMessageElement(d);var e;((e=a._messagesContainer)==null?void 0:e.childNodes.length)===0&&(a._messagesContainer.remove(),a._messagesContainer=null)}};g=ux.prototype;
g.ngOnDestroy=function(){for(var a=this._document.querySelectorAll('[cdk-describedby-host="'+this._id+'"]'),b=0;b<a.length;b++)this._removeCdkDescribedByReferenceIds(a[b]),a[b].removeAttribute("cdk-describedby-host");var c;(c=this._messagesContainer)==null||c.remove();this._messagesContainer=null;this._messageRegistry.clear()};
g._createMessageElement=function(a,b){var c=this._document.createElement("div");Soa(c,this._id);c.textContent=a;b&&c.setAttribute("role",b);this._createMessagesContainer();this._messagesContainer.appendChild(c);this._messageRegistry.set(Qoa(a,b),{messageElement:c,referenceCount:0})};g._deleteMessageElement=function(a){var b,c;(b=this._messageRegistry.get(a))==null||(c=b.messageElement)==null||c.remove();this._messageRegistry.delete(a)};
g._createMessagesContainer=function(){if(!this._messagesContainer){for(var a=this._document.querySelectorAll('.cdk-describedby-message-container[platform="server"]'),b=0;b<a.length;b++)a[b].remove();a=this._document.createElement("div");a.style.visibility="hidden";a.classList.add("cdk-describedby-message-container");a.classList.add("cdk-visually-hidden");this._platform.isBrowser||a.setAttribute("platform","server");this._document.body.appendChild(a);this._messagesContainer=a}};
g._removeCdkDescribedByReferenceIds=function(a){var b=Ooa(a,"aria-describedby").filter(function(c){return c.indexOf("cdk-describedby-message")!=0});a.setAttribute("aria-describedby",b.join(" "))};g._addMessageReference=function(a,b){b=this._messageRegistry.get(b);Poa(a,"aria-describedby",b.messageElement.id);a.setAttribute("cdk-describedby-host",this._id);b.referenceCount++};
g._removeMessageReference=function(a,b){b=this._messageRegistry.get(b);b.referenceCount--;di(a,"aria-describedby",b.messageElement.id);a.removeAttribute("cdk-describedby-host")};g._isElementDescribedByMessage=function(a,b){a=Ooa(a,"aria-describedby");b=(b=this._messageRegistry.get(b))&&b.messageElement.id;return!!b&&a.indexOf(b)!=-1};
g._canBeDescribed=function(a,b){if(!this._isElementNode(a))return!1;if(b&&typeof b==="object")return!0;b=b==null?"":b.trim();a=a.getAttribute("aria-label");return b?!a||a.trim()!==b:!1};g._isElementNode=function(a){return a.nodeType===this._document.ELEMENT_NODE};ux.\u0275fac=function(a){return new (a||ux)};ux.\u0275prov=n({token:ux,factory:ux.\u0275fac,providedIn:"root"});var xx=function(a,b,c,d,e,f,h,l){hx.call(this,a,b,c,d,h.defer,l);this._focusTrapManager=e;this._inertStrategy=f;this._focusTrapManager.register(this)};Y(xx,hx);xx.prototype.destroy=function(){this._focusTrapManager.deregister(this);hx.prototype.destroy.call(this)};xx.prototype._enable=function(){I2b(this._inertStrategy,this);C2b(this,!0)};xx.prototype._disable=function(){var a=this._inertStrategy;a._listener&&(this._document.removeEventListener("focus",a._listener,!0),a._listener=null);C2b(this,!1)};
ea.Object.defineProperties(xx.prototype,{enabled:{configurable:!0,enumerable:!0,get:function(){return this._enabled},set:function(a){(this._enabled=a)?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}}});var J2b=function(){this._listener=null},I2b=function(a,b){a._listener&&b._document.removeEventListener("focus",a._listener,!0);a._listener=function(c){return a._trapFocus(b,c)};b._ngZone.runOutsideAngular(function(){b._document.addEventListener("focus",a._listener,!0)})};J2b.prototype._trapFocus=function(a,b){b=b.target;var c=a._element,d;!b||c.contains(b)||((d=b.closest)==null?0:d.call(b,"div.cdk-overlay-pane"))||setTimeout(function(){a.enabled&&!c.contains(a._document.activeElement)&&fx(a)})};var K2b=new Bd("FOCUS_TRAP_INERT_STRATEGY");var yx=function(){this._focusTrapStack=[]};yx.prototype.register=function(a){var b=this._focusTrapStack=this._focusTrapStack.filter(function(c){return c!==a});b.length&&b[b.length-1]._disable();b.push(a);a._enable()};yx.prototype.deregister=function(a){a._disable();var b=this._focusTrapStack;a=b.indexOf(a);a!==-1&&(b.splice(a,1),b.length&&b[b.length-1]._enable())};yx.\u0275fac=function(a){return new (a||yx)};yx.\u0275prov=n({token:yx,factory:yx.\u0275fac,providedIn:"root"});var zx=function(){this._checker=r(dx);this._ngZone=r(hh);this._focusTrapManager=r(yx);this._document=r(ei);this._injector=r(Sf);this._inertStrategy=r(K2b,{optional:!0})||new J2b};zx.prototype.create=function(a,b){b=b===void 0?{defer:!1}:b;var c;typeof b==="boolean"?c={defer:b}:c=b;return new xx(a,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,c,this._injector)};zx.\u0275fac=function(a){return new (a||zx)};zx.\u0275prov=n({token:zx,factory:zx.\u0275fac,providedIn:"root"});var L2b=function(a,b){this._letterKeyStream=new Jf;this._items=[];this._selectedItemIndex=-1;this._pressedLetters=[];this.selectedItem=this._selectedItem=new Jf;var c=typeof(b==null?void 0:b.debounceInterval)==="number"?b.debounceInterval:200;if(b==null?0:b.skipPredicate)this._skipPredicateFn=b.skipPredicate;this.setItems(a);this._setupKeyHandler(c)};g=L2b.prototype;g.destroy=function(){this._pressedLetters=[];this._letterKeyStream.complete();this._selectedItem.complete()};
g.setItems=function(a){this._items=a};g.handleKey=function(a){var b=a.keyCode;a.key&&a.key.length===1?this._letterKeyStream.next(a.key.toLocaleUpperCase()):(b>=65&&b<=90||b>=48&&b<=57)&&this._letterKeyStream.next(String.fromCharCode(b))};g.isTyping=function(){return this._pressedLetters.length>0};g.reset=function(){this._pressedLetters=[]};
g._setupKeyHandler=function(a){var b=this;this._letterKeyStream.pipe(Pf(function(c){return b._pressedLetters.push(c)}),Af(a),Ye(function(){return b._pressedLetters.length>0}),B(function(){return b._pressedLetters.join("").toLocaleUpperCase()})).subscribe(function(c){for(var d=1;d<b._items.length+1;d++){var e=b._items[(b._selectedItemIndex+d)%b._items.length],f=void 0,h=void 0,l=void 0,q=void 0;if(((h=(f=b)._skipPredicateFn)==null||!h.call(f,e))&&((q=(l=e).getLabel)==null?void 0:q.call(l).toLocaleUpperCase().trim().indexOf(c))===
0){b._selectedItem.next(e);break}}b._pressedLetters=[]})};var Ax=function(a,b){var c=this;this._items=a;this._activeItemIndex=-1;this._activeItem=null;this._wrap=!1;this._typeaheadSubscription=me.EMPTY;this._vertical=!0;this._allowedModifierKeys=[];this._homeAndEnd=!1;this._pageUpAndDown={enabled:!1,delta:10};this._skipPredicateFn=function(d){return d.disabled};this.tabOut=new Jf;this.change=new Jf;a instanceof Lg?this._itemChangesSubscription=a.changes.subscribe(function(d){return c._itemsChanged(d.toArray())}):vf(a)&&(this._effectRef=Pma(function(){return c._itemsChanged(a())},
{injector:b}))};Ax.prototype.skipPredicate=function(a){this._skipPredicateFn=a;return this};
var Bx=function(a){a._wrap=!0;return a},Cx=function(a,b){a._vertical=b===void 0?!0:b;return a},Dx=function(a,b){a._horizontal=b;return a},M2b=function(a){a._allowedModifierKeys=["shiftKey"];return a},N2b=function(a,b){b=b===void 0?200:b;a._typeaheadSubscription.unsubscribe();var c=a._getItemsArray();a._typeahead=new L2b(c,{debounceInterval:typeof b==="number"?b:void 0,skipPredicate:function(d){return a._skipPredicateFn(d)}});a._typeaheadSubscription=a._typeahead.selectedItem.subscribe(function(d){a.setActiveItem(d)});
return a},Ex=function(a){a._homeAndEnd=!0;return a},O2b=function(a){a._pageUpAndDown={enabled:!0,delta:10};return a};Ax.prototype.setActiveItem=function(a){var b=this._activeItem;Fx(this,a);this._activeItem!==b&&this.change.next(this._activeItemIndex)};
Ax.prototype.onKeydown=function(a){var b=this,c=a.keyCode,d=["altKey","ctrlKey","metaKey","shiftKey"].every(function(h){return!a[h]||b._allowedModifierKeys.indexOf(h)>-1});switch(c){case 9:this.tabOut.next();return;case 40:if(this._vertical&&d){this.setNextItemActive();break}else return;case 38:if(this._vertical&&d){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&d){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&
d){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&d){this._setActiveItemByIndex(0,1);break}else return;case 35:if(this._homeAndEnd&&d){P2b(this);break}else return;case 33:if(this._pageUpAndDown.enabled&&d){c=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(c>0?c:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&d){c=this._activeItemIndex+this._pageUpAndDown.delta;d=this._getItemsArray().length;
this._setActiveItemByIndex(c<d?c:d-1,-1);break}else return;default:if(d||Yh(a,"shiftKey")){var e;(e=this._typeahead)==null||e.handleKey(a)}return}var f;(f=this._typeahead)==null||f.reset();a.preventDefault()};Ax.prototype.isTyping=function(){return!!this._typeahead&&this._typeahead.isTyping()};var P2b=function(a){a._setActiveItemByIndex(a._getItemsArray().length-1,-1)};Ax.prototype.setNextItemActive=function(){this._activeItemIndex<0?this._setActiveItemByIndex(0,1):this._setActiveItemByDelta(1)};
Ax.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?P2b(this):this._setActiveItemByDelta(-1)};var Fx=function(a,b){var c=a._getItemsArray();b=typeof b==="number"?b:c.indexOf(b);c=c[b];a._activeItem=c==null?null:c;a._activeItemIndex=b;(a=a._typeahead)!=null&&(a._selectedItemIndex=b)};g=Ax.prototype;
g.destroy=function(){this._typeaheadSubscription.unsubscribe();var a;(a=this._itemChangesSubscription)==null||a.unsubscribe();var b;(b=this._effectRef)==null||b.destroy();var c;(c=this._typeahead)==null||c.destroy();this.tabOut.complete();this.change.complete()};g._setActiveItemByDelta=function(a){this._wrap?this._setActiveInWrapMode(a):this._setActiveInDefaultMode(a)};
g._setActiveInWrapMode=function(a){for(var b=this._getItemsArray(),c=1;c<=b.length;c++){var d=(this._activeItemIndex+a*c+b.length)%b.length;if(!this._skipPredicateFn(b[d])){this.setActiveItem(d);break}}};g._setActiveInDefaultMode=function(a){this._setActiveItemByIndex(this._activeItemIndex+a,a)};g._setActiveItemByIndex=function(a,b){var c=this._getItemsArray();if(c[a]){for(;this._skipPredicateFn(c[a]);)if(a+=b,!c[a])return;this.setActiveItem(a)}};
g._getItemsArray=function(){return vf(this._items)?this._items():this._items instanceof Lg?this._items.toArray():this._items};g._itemsChanged=function(a){var b;(b=this._typeahead)==null||b.setItems(a);this._activeItem&&(a=a.indexOf(this._activeItem),a>-1&&a!==this._activeItemIndex&&(this._activeItemIndex=a,(b=this._typeahead)!=null&&(b._selectedItemIndex=a)))};
ea.Object.defineProperties(Ax.prototype,{activeItemIndex:{configurable:!0,enumerable:!0,get:function(){return this._activeItemIndex}},activeItem:{configurable:!0,enumerable:!0,get:function(){return this._activeItem}}});var Gx=function(){Ax.apply(this,arguments)};Y(Gx,Ax);Gx.prototype.setActiveItem=function(a){this.activeItem&&this.activeItem.setInactiveStyles();Ax.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.setActiveStyles()};var Hx=function(){Ax.apply(this,arguments);this._origin="program"};Y(Hx,Ax);var Q2b=function(a,b){a._origin=b;return a};Hx.prototype.setActiveItem=function(a){Ax.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.focus(this._origin)};var R2b=function(a,b){var c=this;this._activeItemIndex=-1;this._activeItem=null;this._shouldActivationFollowFocus=!1;this._horizontalOrientation="ltr";this._skipPredicateFn=function(){return!1};this._trackByFn=function(d){return d};this._items=[];this._typeaheadSubscription=me.EMPTY;this._hasInitialFocused=!1;this.change=new Jf;a instanceof Lg?(this._items=a.toArray(),a.changes.subscribe(function(d){c._items=d.toArray();var e;(e=c._typeahead)==null||e.setItems(c._items);c._updateActiveItemIndex(c._items);
c._initializeFocus()})):fia(a)?a.subscribe(function(d){c._items=d;var e;(e=c._typeahead)==null||e.setItems(d);c._updateActiveItemIndex(d);c._initializeFocus()}):(this._items=a,this._initializeFocus());typeof b.shouldActivationFollowFocus==="boolean"&&(this._shouldActivationFollowFocus=b.shouldActivationFollowFocus);b.horizontalOrientation&&(this._horizontalOrientation=b.horizontalOrientation);b.skipPredicate&&(this._skipPredicateFn=b.skipPredicate);b.trackBy&&(this._trackByFn=b.trackBy);typeof b.typeAheadDebounceInterval!==
"undefined"&&this._setTypeAhead(b.typeAheadDebounceInterval)};g=R2b.prototype;
g._initializeFocus=function(){if(!this._hasInitialFocused&&this._items.length!==0){for(var a=0,b=0;b<this._items.length;b++)if(!this._skipPredicateFn(this._items[b])&&!this._isItemDisabled(this._items[b])){a=b;break}b=this._items[a];if(b.makeFocusable){var c;(c=this._activeItem)==null||c.unfocus();this._activeItemIndex=a;this._activeItem=b;(c=this._typeahead)!=null&&(c._selectedItemIndex=a);b.makeFocusable()}else Ix(this,a);this._hasInitialFocused=!0}};
g.destroy=function(){this._typeaheadSubscription.unsubscribe();var a;(a=this._typeahead)==null||a.destroy();this.change.complete()};
g.onKeydown=function(a){switch(a.key){case "Tab":return;case "ArrowDown":this._focusNextItem();break;case "ArrowUp":this._focusPreviousItem();break;case "ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case "ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case "Home":this._focusFirstItem();break;case "End":this._focusLastItem();break;case "Enter":case " ":this._activateCurrentItem();
break;default:if(a.key==="*")this._expandAllItemsAtCurrentItemLevel();else{var b;(b=this._typeahead)==null||b.handleKey(a);return}}var c;(c=this._typeahead)==null||c.reset();a.preventDefault()};g._focusFirstItem=function(){Ix(this,this._findNextAvailableItemIndex(-1))};g._focusLastItem=function(){Ix(this,this._findPreviousAvailableItemIndex(this._items.length))};g._focusNextItem=function(){Ix(this,this._findNextAvailableItemIndex(this._activeItemIndex))};g._focusPreviousItem=function(){Ix(this,this._findPreviousAvailableItemIndex(this._activeItemIndex))};
var Ix=function(a,b){var c=c===void 0?{}:c;c.emitChangeEvent!=null||(c.emitChangeEvent=!0);var d=typeof b==="number"?b:a._items.findIndex(function(l){return a._trackByFn(l)===a._trackByFn(b)});if(!(d<0||d>=a._items.length)){var e=a._items[d];if(a._activeItem===null||a._trackByFn(e)!==a._trackByFn(a._activeItem)){var f=a._activeItem;a._activeItem=e!=null?e:null;a._activeItemIndex=d;(e=a._typeahead)!=null&&(e._selectedItemIndex=d);var h;(h=a._activeItem)==null||h.focus();f==null||f.unfocus();c.emitChangeEvent&&
a.change.next(a._activeItem);a._shouldActivationFollowFocus&&a._activateCurrentItem()}}};g=R2b.prototype;g._updateActiveItemIndex=function(a){var b=this,c=this._activeItem;if(c&&(a=a.findIndex(function(e){return b._trackByFn(e)===b._trackByFn(c)}),a>-1&&a!==this._activeItemIndex)){this._activeItemIndex=a;var d;(d=this._typeahead)!=null&&(d._selectedItemIndex=a)}};
g._setTypeAhead=function(a){var b=this;this._typeahead=new L2b(this._items,{debounceInterval:typeof a==="number"?a:void 0,skipPredicate:function(c){return b._skipPredicateFn(c)}});this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(function(c){Ix(b,c)})};g._findNextAvailableItemIndex=function(a){for(var b=a+1;b<this._items.length;b++)if(!this._skipPredicateFn(this._items[b]))return b;return a};
g._findPreviousAvailableItemIndex=function(a){for(var b=a-1;b>=0;b--)if(!this._skipPredicateFn(this._items[b]))return b;return a};g._collapseCurrentItem=function(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{var a=this._activeItem.getParent();a&&!this._skipPredicateFn(a)&&Ix(this,a)}};
g._expandCurrentItem=function(){var a=this;this._activeItem&&(this._isCurrentItemExpanded()?Toa(this._activeItem.getChildren()).pipe(Cf()).subscribe(function(b){(b=b.find(function(c){return!a._skipPredicateFn(c)}))&&Ix(a,b)}):this._activeItem.expand())};g._isCurrentItemExpanded=function(){return this._activeItem?typeof this._activeItem.isExpanded==="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1};
g._isItemDisabled=function(a){var b;return typeof a.isDisabled==="boolean"?a.isDisabled:(b=a.isDisabled)==null?void 0:b.call(a)};g._expandAllItemsAtCurrentItemLevel=function(){if(this._activeItem){var a=this._activeItem.getParent();(a?Toa(a.getChildren()):Fe(this._items.filter(function(b){return b.getParent()===null}))).pipe(Cf()).subscribe(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())c.value.expand()})}};g._activateCurrentItem=function(){var a;(a=this._activeItem)==null||a.activate()};
new Bd("tree-key-manager",{providedIn:"root",factory:function(){return function(a,b){return new R2b(a,b)}}});var S2b=new Bd("cdk-dir-doc",{providedIn:"root",factory:Uoa});var T2b=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,Jx=function(){this.value="ltr";this.change=new kw;var a=r(S2b,{optional:!0});if(a){var b=a.documentElement?a.documentElement.dir:null;b=(a.body?a.body.dir:null)||b||"ltr";b=(b==null?void 0:b.toLowerCase())||"";var c;this.value=b==="auto"&&typeof navigator!=="undefined"&&((c=navigator)==null?0:c.language)?T2b.test(navigator.language)?"rtl":"ltr":b==="rtl"?"rtl":"ltr"}};
Jx.prototype.ngOnDestroy=function(){this.change.complete()};Jx.\u0275fac=function(a){return new (a||Jx)};Jx.\u0275prov=n({token:Jx,factory:Jx.\u0275fac,providedIn:"root"});var Kx=function(){};Kx.\u0275fac=function(a){return new (a||Kx)};Kx.\u0275mod=u({type:Kx});Kx.\u0275inj=p({});var Lx=function(){this._attachedOverlays=[];this._document=r(ei)};Lx.prototype.ngOnDestroy=function(){this.detach()};Lx.prototype.add=function(a){this.remove(a);this._attachedOverlays.push(a)};Lx.prototype.remove=function(a){a=this._attachedOverlays.indexOf(a);a>-1&&this._attachedOverlays.splice(a,1);this._attachedOverlays.length===0&&this.detach()};Lx.\u0275fac=function(a){return new (a||Lx)};Lx.\u0275prov=n({token:Lx,factory:Lx.\u0275fac,providedIn:"root"});var Mx=function(){Lx.apply(this,arguments);var a=this;this._ngZone=r(hh,{optional:!0});this._keydownListener=function(b){for(var c=a._attachedOverlays,d={},e=c.length-1;e>-1;d={keydownEvents:void 0},e--)if(c[e]._keydownEvents.observers.length>0){d.keydownEvents=c[e]._keydownEvents;a._ngZone?a._ngZone.run(function(f){return function(){return f.keydownEvents.next(b)}}(d)):d.keydownEvents.next(b);break}}};Y(Mx,Lx);
Mx.prototype.add=function(a){var b=this;Lx.prototype.add.call(this,a);this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(function(){return b._document.body.addEventListener("keydown",b._keydownListener)}):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)};Mx.prototype.detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)};
Mx.\u0275fac=function(){var a;return function(b){return(a||(a=de(Mx)))(b||Mx)}}();Mx.\u0275prov=n({token:Mx,factory:Mx.\u0275fac,providedIn:"root"});var Nx=function(){Lx.apply(this,arguments);var a=this;this._platform=r(Xw);this._ngZone=r(hh,{optional:!0});this._cursorStyleIsSet=!1;this._pointerDownListener=function(b){a._pointerDownEventTarget=Xh(b)};this._clickListener=function(b){var c=Xh(b),d=b.type==="click"&&a._pointerDownEventTarget?a._pointerDownEventTarget:c;a._pointerDownEventTarget=null;for(var e=a._attachedOverlays.slice(),f={},h=e.length-1;h>-1;f={outsidePointerEvents:void 0},h--){var l=e[h];if(!(l._outsidePointerEvents.observers.length<
1)&&l.hasAttached()){if(Voa(l.overlayElement,c)||Voa(l.overlayElement,d))break;f.outsidePointerEvents=l._outsidePointerEvents;a._ngZone?a._ngZone.run(function(q){return function(){return q.outsidePointerEvents.next(b)}}(f)):f.outsidePointerEvents.next(b)}}}};Y(Nx,Lx);
Nx.prototype.add=function(a){var b=this;Lx.prototype.add.call(this,a);if(!this._isAttached){var c=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(function(){return b._addEventListeners(c)}):this._addEventListeners(c);this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=c.style.cursor,c.style.cursor="pointer",this._cursorStyleIsSet=!0);this._isAttached=!0}};
Nx.prototype.detach=function(){if(this._isAttached){var a=this._document.body;a.removeEventListener("pointerdown",this._pointerDownListener,!0);a.removeEventListener("click",this._clickListener,!0);a.removeEventListener("auxclick",this._clickListener,!0);a.removeEventListener("contextmenu",this._clickListener,!0);this._platform.IOS&&this._cursorStyleIsSet&&(a.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1);this._isAttached=!1}};
Nx.prototype._addEventListeners=function(a){a.addEventListener("pointerdown",this._pointerDownListener,!0);a.addEventListener("click",this._clickListener,!0);a.addEventListener("auxclick",this._clickListener,!0);a.addEventListener("contextmenu",this._clickListener,!0)};Nx.\u0275fac=function(){var a;return function(b){return(a||(a=de(Nx)))(b||Nx)}}();Nx.\u0275prov=n({token:Nx,factory:Nx.\u0275fac,providedIn:"root"});var Ox=function(){};Ox.\u0275fac=function(a){return new (a||Ox)};
Ox.\u0275cmp=t({type:Ox,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],standalone:!0,features:[$g],decls:0,vars:0,template:function(){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}\n"],encapsulation:2,
changeDetection:0});var Px=function(){this._platform=r(Xw);this._document=r(ei);this._styleLoader=r(Yw)};Px.prototype.ngOnDestroy=function(){var a;(a=this._containerElement)==null||a.remove()};var U2b=function(a){a._loadStyles();a._containerElement||a._createContainer();return a._containerElement};
Px.prototype._createContainer=function(){if(this._platform.isBrowser||Foa())for(var a=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),b=0;b<a.length;b++)a[b].remove();a=this._document.createElement("div");a.classList.add("cdk-overlay-container");Foa()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server");this._document.body.appendChild(a);this._containerElement=a};
Px.prototype._loadStyles=function(){this._styleLoader.load(Ox)};Px.\u0275fac=function(a){return new (a||Px)};Px.\u0275prov=n({token:Px,factory:Px.\u0275fac,providedIn:"root"});var V2b=Aoa(),Qx=function(a,b){this._viewportRuler=a;this._previousHTMLStyles={top:"",left:""};this._isEnabled=!1;this._document=b};Qx.prototype.attach=function(){};
Qx.prototype.enable=function(){if(this._canBeEnabled()){var a=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition();this._previousHTMLStyles.left=a.style.left||"";this._previousHTMLStyles.top=a.style.top||"";a.style.left=ai(-this._previousScrollPosition.left);a.style.top=ai(-this._previousScrollPosition.top);a.classList.add("cdk-global-scrollblock");this._isEnabled=!0}};
Qx.prototype.disable=function(){if(this._isEnabled){var a=this._document.documentElement,b=a.style,c=this._document.body.style,d=b.scrollBehavior||"",e=c.scrollBehavior||"";this._isEnabled=!1;b.left=this._previousHTMLStyles.left;b.top=this._previousHTMLStyles.top;a.classList.remove("cdk-global-scrollblock");V2b&&(b.scrollBehavior=c.scrollBehavior="auto");window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top);V2b&&(b.scrollBehavior=d,c.scrollBehavior=e)}};
Qx.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var a=this._document.body,b=this._viewportRuler.getViewportSize();return a.scrollHeight>b.height||a.scrollWidth>b.width};var Rx=function(a,b,c,d){var e=this;this._scrollDispatcher=a;this._ngZone=b;this._viewportRuler=c;this._config=d;this._scrollSubscription=null;this._detach=function(){e.disable();e._overlayRef.hasAttached()&&e._ngZone.run(function(){return e._overlayRef.detach()})}};Rx.prototype.attach=function(a){this._overlayRef=a};
Rx.prototype.enable=function(){var a=this;if(!this._scrollSubscription){var b=this._scrollDispatcher.scrolled(0).pipe(Ye(function(c){return!c||!a._overlayRef.overlayElement.contains(c.elementRef.nativeElement)}));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=b.subscribe(function(){var c=a._viewportRuler.getViewportScrollPosition().top;Math.abs(c-a._initialScrollPosition)>a._config.threshold?
a._detach():a._overlayRef.updatePosition()})):this._scrollSubscription=b.subscribe(this._detach)}};Rx.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};Rx.prototype.detach=function(){this.disable();this._overlayRef=null};var Sx=function(){};Sx.prototype.enable=function(){};Sx.prototype.disable=function(){};Sx.prototype.attach=function(){};var Tx=function(a,b,c,d){this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this._config=d;this._scrollSubscription=null};Tx.prototype.attach=function(a){this._overlayRef=a};
Tx.prototype.enable=function(){var a=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){a._overlayRef.updatePosition();if(a._config&&a._config.autoClose){var b=a._overlayRef.overlayElement.getBoundingClientRect(),c=a._viewportRuler.getViewportSize(),d=c.width;c=c.height;Woa(b,[{width:d,height:c,bottom:c,right:d,top:0,left:0}])&&(a.disable(),a._ngZone.run(function(){return a._overlayRef.detach()}))}}))};
Tx.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};Tx.prototype.detach=function(){this.disable();this._overlayRef=null};new Bd("VIRTUAL_SCROLL_STRATEGY");var Ux=function(){this._ngZone=r(hh);this._platform=r(Xw);this._document=r(ei,{optional:!0});this._scrolled=new Jf;this._globalSubscription=null;this._scrolledCount=0;this.scrollContainers=new Map};Ux.prototype.register=function(a){var b=this;this.scrollContainers.has(a)||this.scrollContainers.set(a,a._elementScrolled.subscribe(function(){return b._scrolled.next(a)}))};Ux.prototype.deregister=function(a){var b=this.scrollContainers.get(a);b&&(b.unsubscribe(),this.scrollContainers.delete(a))};
Ux.prototype.scrolled=function(a){var b=this;a=a===void 0?20:a;return this._platform.isBrowser?new re(function(c){b._globalSubscription||b._addGlobalListener();var d=a>0?b._scrolled.pipe(wf(a)).subscribe(c):b._scrolled.subscribe(c);b._scrolledCount++;return function(){d.unsubscribe();b._scrolledCount--;b._scrolledCount||b._removeGlobalListener()}}):Fe()};
Ux.prototype.ngOnDestroy=function(){var a=this;this._removeGlobalListener();this.scrollContainers.forEach(function(b,c){return a.deregister(c)});this._scrolled.complete()};var W2b=function(a,b){var c=[];a.scrollContainers.forEach(function(d,e){a._scrollableContainsElement(e,b)&&c.push(e)});return c};Ux.prototype._getWindow=function(){return this._document.defaultView||window};
Ux.prototype._scrollableContainsElement=function(a,b){b=bi(b);a=a.elementRef.nativeElement;do if(b==a)return!0;while(b=b.parentElement);return!1};Ux.prototype._addGlobalListener=function(){var a=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return Te(a._getWindow().document,"scroll").subscribe(function(){return a._scrolled.next()})})};Ux.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)};
Ux.\u0275fac=function(a){return new (a||Ux)};Ux.\u0275prov=n({token:Ux,factory:Ux.\u0275fac,providedIn:"root"});var Vx=function(){var a=this;this.elementRef=r(ge);this.scrollDispatcher=r(Ux);this.ngZone=r(hh);this.dir=r(Jx,{optional:!0});this._destroyed=new Jf;this._elementScrolled=new re(function(b){return a.ngZone.runOutsideAngular(function(){return Te(a.elementRef.nativeElement,"scroll").pipe(Of(a._destroyed)).subscribe(b)})})};Vx.prototype.ngOnInit=function(){this.scrollDispatcher.register(this)};Vx.prototype.ngOnDestroy=function(){this.scrollDispatcher.deregister(this);this._destroyed.next();this._destroyed.complete()};
Vx.prototype.scrollTo=function(a){var b=this.elementRef.nativeElement,c=this.dir&&this.dir.value=="rtl";a.left==null&&(a.left=c?a.end:a.start);a.right==null&&(a.right=c?a.start:a.end);a.bottom!=null&&(a.top=b.scrollHeight-b.clientHeight-a.bottom);c&&Coa()!=0?(a.left!=null&&(a.right=b.scrollWidth-b.clientWidth-a.left),Coa()==2?a.left=a.right:Coa()==1&&(a.left=a.right?-a.right:a.right)):a.right!=null&&(a.left=b.scrollWidth-b.clientWidth-a.right);this._applyScrollToOptions(a)};
Vx.prototype._applyScrollToOptions=function(a){var b=this.elementRef.nativeElement;Aoa()?b.scrollTo(a):(a.top!=null&&(b.scrollTop=a.top),a.left!=null&&(b.scrollLeft=a.left))};Vx.\u0275fac=function(a){return new (a||Vx)};Vx.\u0275dir=ud({type:Vx,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});var X2b=new Bd("_ViewRepeater");var Y2b=function(){};Y2b.prototype.applyChanges=function(a,b,c,d,e){k1b(a,function(f,h,l){if(f.previousIndex==null){var q=c(f,h,l);q=b.createEmbeddedView(q.templateRef,q.context,q.index);h=1}else l==null?(b.remove(h),h=3):(q=b.get(h),b.move(q,l),h=2);if(e){var v;e({context:(v=q)==null?void 0:v.context,operation:h,record:f})}})};Y2b.prototype.detach=function(){};var Z2b=function(){this._viewCache=[]};g=Z2b.prototype;g.applyChanges=function(a,b,c,d,e){var f=this;k1b(a,function(h,l,q){var v;if(h.previousIndex==null)var y=(v=f._insertView(function(){return c(h,l,q)},q,b,d(h)))?1:0;else q==null?(f._detachAndCacheView(l,b),y=3):(v=f._moveView(l,q,b,d(h)),y=2);if(e){var E;e({context:(E=v)==null?void 0:E.context,operation:y,record:h})}})};g.detach=function(){for(var a=k(this._viewCache),b=a.next();!b.done;b=a.next())b.value.destroy();this._viewCache=[]};
g._insertView=function(a,b,c,d){if(b=this._insertViewFromCache(b,c))b.context.$implicit=d;else return a=a(),c.createEmbeddedView(a.templateRef,a.context,a.index)};g._detachAndCacheView=function(a,b){a=b.detach(a);this._maybeCacheView(a,b)};g._moveView=function(a,b,c,d){a=c.get(a);c.move(a,b);a.context.$implicit=d;return a};g._maybeCacheView=function(a,b){if(this._viewCache.length<20)this._viewCache.push(a);else{var c=b.indexOf(a);c===-1?a.destroy():b.remove(c)}};
g._insertViewFromCache=function(a,b){var c=this._viewCache.pop();c&&b.insert(c,a);return c||null};var Wx=function(a,b,c,d){var e=this;a=a===void 0?!1:a;c=c===void 0?!0:c;this._multiple=a;this._emitChanges=c;this.compareWith=d;this._selection=new Set;this._deselectedToEmit=[];this._selectedToEmit=[];this.changed=new Jf;b&&b.length&&(a?b.forEach(function(f){return e._markSelected(f)}):this._markSelected(b[0]),this._selectedToEmit.length=0)};g=Wx.prototype;
g.select=function(){var a=this;zd.apply(0,arguments).forEach(function(c){return a._markSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};g.deselect=function(){var a=this;zd.apply(0,arguments).forEach(function(c){return a._unmarkSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};g.toggle=function(a){return this.isSelected(a)?this.deselect(a):this.select(a)};
g.clear=function(a){a=a===void 0?!0:a;this._unmarkAll();var b=this._hasQueuedChanges();a&&this._emitChangeEvent();return b};g.isSelected=function(a){return this._selection.has(this._getConcreteValue(a))};g.isEmpty=function(){return this._selection.size===0};g.hasValue=function(){return!this.isEmpty()};g.sort=function(a){this._multiple&&this.selected&&this._selected.sort(a)};
g._emitChangeEvent=function(){this._selected=null;if(this._selectedToEmit.length||this._deselectedToEmit.length)this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[]};g._markSelected=function(a){a=this._getConcreteValue(a);this.isSelected(a)||(this._multiple||this._unmarkAll(),this.isSelected(a)||this._selection.add(a),this._emitChanges&&this._selectedToEmit.push(a))};
g._unmarkSelected=function(a){a=this._getConcreteValue(a);this.isSelected(a)&&(this._selection.delete(a),this._emitChanges&&this._deselectedToEmit.push(a))};g._unmarkAll=function(){var a=this;this.isEmpty()||this._selection.forEach(function(b){return a._unmarkSelected(b)})};g._verifyValueAssignment=function(){};g._hasQueuedChanges=function(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)};
g._getConcreteValue=function(a,b){if(this.compareWith){var c;b=(c=b)!=null?c:this._selection;b=k(b);for(c=b.next();!c.done;c=b.next())if(c=c.value,this.compareWith(a,c))return c}return a};ea.Object.defineProperties(Wx.prototype,{selected:{configurable:!0,enumerable:!0,get:function(){this._selected||(this._selected=Array.from(this._selection.values()));return this._selected}}});var Xx=function(){this._listeners=[]};Xx.prototype.notify=function(a,b){for(var c=k(this._listeners),d=c.next();!d.done;d=c.next())d=d.value,d(a,b)};Xx.prototype.listen=function(a){var b=this;this._listeners.push(a);return function(){b._listeners=b._listeners.filter(function(c){return a!==c})}};Xx.prototype.ngOnDestroy=function(){this._listeners=[]};Xx.\u0275fac=function(a){return new (a||Xx)};Xx.\u0275prov=n({token:Xx,factory:Xx.\u0275fac,providedIn:"root"});var Yx=function(){var a=this;this._platform=r(Xw);this._change=new Jf;this._changeListener=function(b){a._change.next(b)};this._document=r(ei,{optional:!0});r(hh).runOutsideAngular(function(){if(a._platform.isBrowser){var b=a._getWindow();b.addEventListener("resize",a._changeListener);b.addEventListener("orientationchange",a._changeListener)}a.change().subscribe(function(){return a._viewportSize=null})})};g=Yx.prototype;
g.ngOnDestroy=function(){if(this._platform.isBrowser){var a=this._getWindow();a.removeEventListener("resize",this._changeListener);a.removeEventListener("orientationchange",this._changeListener)}this._change.complete()};g.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var a={width:this._viewportSize.width,height:this._viewportSize.height};this._platform.isBrowser||(this._viewportSize=null);return a};
g.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var a=this._document,b=this._getWindow(),c=a.documentElement,d=c.getBoundingClientRect();return{top:-d.top||a.body.scrollTop||b.scrollY||c.scrollTop||0,left:-d.left||a.body.scrollLeft||b.scrollX||c.scrollLeft||0}};g.change=function(a){a=a===void 0?20:a;return a>0?this._change.pipe(wf(a)):this._change};g._getWindow=function(){return this._document.defaultView||window};
g._updateViewportSize=function(){var a=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:a.innerWidth,height:a.innerHeight}:{width:0,height:0}};Yx.\u0275fac=function(a){return new (a||Yx)};Yx.\u0275prov=n({token:Yx,factory:Yx.\u0275fac,providedIn:"root"});new Bd("VIRTUAL_SCROLLABLE");var Zx=function(){};Zx.\u0275fac=function(a){return new (a||Zx)};Zx.\u0275mod=u({type:Zx});Zx.\u0275inj=p({});var ay=function(){};ay.\u0275fac=function(a){return new (a||ay)};ay.\u0275mod=u({type:ay});ay.\u0275inj=p({imports:[Kx,Zx,Kx,Zx]});var by=function(){var a=this;this._scrollDispatcher=r(Ux);this._viewportRuler=r(Yx);this._ngZone=r(hh);this._document=r(ei);this.noop=function(){return new Sx};this.close=function(b){return new Rx(a._scrollDispatcher,a._ngZone,a._viewportRuler,b)};this.block=function(){return new Qx(a._viewportRuler,a._document)};this.reposition=function(b){return new Tx(a._scrollDispatcher,a._viewportRuler,a._ngZone,b)}};by.\u0275fac=function(a){return new (a||by)};
by.\u0275prov=n({token:by,factory:by.\u0275fac,providedIn:"root"});var cy=function(a){this.scrollStrategy=new Sx;this.panelClass="";this.hasBackdrop=!1;this.backdropClass="cdk-overlay-dark-backdrop";this.disposeOnNavigation=!1;if(a){var b=Object.keys(a);b=k(b);for(var c=b.next();!c.done;c=b.next())c=c.value,a[c]!==void 0&&(this[c]=a[c])}};var dy=function(a,b,c,d,e,f,h,l,q,v,y){var E=this;v=v===void 0?!1:v;this._portalOutlet=a;this._host=b;this._pane=c;this._config=d;this._ngZone=e;this._keyboardDispatcher=f;this._document=h;this._location=l;this._outsideClickDispatcher=q;this._animationsDisabled=v;this._injector=y;this._backdropElement=null;this._backdropClick=new Jf;this._attachments=new Jf;this._detachments=new Jf;this._locationChanges=me.EMPTY;this._backdropClickHandler=function(H){return E._backdropClick.next(H)};this._backdropTransitionendHandler=
function(H){E._disposeBackdrop(H.target)};this._keydownEvents=new Jf;this._outsidePointerEvents=new Jf;this._renders=new Jf;d.scrollStrategy&&(this._scrollStrategy=d.scrollStrategy,this._scrollStrategy.attach(this));this._positionStrategy=d.positionStrategy;this._afterRenderRef=xh(function(){return Aka(function(){E._renders.next()},{injector:E._injector})})};g=dy.prototype;
g.attach=function(a){var b=this;!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);a=this._portalOutlet.attach(a);this._positionStrategy&&this._positionStrategy.attach(this);this._updateStackingOrder();this._updateElementSize();this._updateElementDirection();this._scrollStrategy&&this._scrollStrategy.enable();var c;(c=this._afterNextRenderRef)==null||c.destroy();this._afterNextRenderRef=Uf(function(){b.hasAttached()&&b.updatePosition()},{injector:this._injector});
this._togglePointerEvents(!0);this._config.hasBackdrop&&this._attachBackdrop();this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0);this._attachments.next();this._keyboardDispatcher.add(this);this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(function(){return b.dispose()}));this._outsideClickDispatcher.add(this);if(typeof(a==null?void 0:a.onDestroy)==="function")a.onDestroy(function(){b.hasAttached()&&b._ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){return b.detach()})})});
return a};g.detach=function(){if(this.hasAttached()){$2b(this);this._togglePointerEvents(!1);this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach();this._scrollStrategy&&this._scrollStrategy.disable();var a=this._portalOutlet.detach();this._detachments.next();this._keyboardDispatcher.remove(this);this._detachContentWhenEmpty();this._locationChanges.unsubscribe();this._outsideClickDispatcher.remove(this);return a}};
g.dispose=function(){var a=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose();this._disposeScrollStrategy();this._disposeBackdrop(this._backdropElement);this._locationChanges.unsubscribe();this._keyboardDispatcher.remove(this);this._portalOutlet.dispose();this._attachments.complete();this._backdropClick.complete();this._keydownEvents.complete();this._outsidePointerEvents.complete();this._outsideClickDispatcher.remove(this);var b;(b=this._host)==null||b.remove();var c;(c=this._afterNextRenderRef)==
null||c.destroy();this._previousHostParent=this._pane=this._host=null;a&&this._detachments.next();this._detachments.complete();this._afterRenderRef.destroy();this._renders.complete()};g.hasAttached=function(){return this._portalOutlet.hasAttached()};g.backdropClick=function(){return this._backdropClick};g.attachments=function(){return this._attachments};g.keydownEvents=function(){return this._keydownEvents};g.outsidePointerEvents=function(){return this._outsidePointerEvents};g.getConfig=function(){return this._config};
g.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()};g.updateSize=function(a){this._config=Object.assign({},this._config,a);this._updateElementSize()};g.setDirection=function(a){this._config=Object.assign({},this._config,{direction:a});this._updateElementDirection()};g.addPanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!0)};g.removePanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!1)};
var a3b=function(a){return(a=a._config.direction)?typeof a==="string"?a:a.value:"ltr"};g=dy.prototype;g._updateElementDirection=function(){this._host.setAttribute("dir",a3b(this))};g._updateElementSize=function(){if(this._pane){var a=this._pane.style;a.width=ai(this._config.width);a.height=ai(this._config.height);a.minWidth=ai(this._config.minWidth);a.minHeight=ai(this._config.minHeight);a.maxWidth=ai(this._config.maxWidth);a.maxHeight=ai(this._config.maxHeight)}};
g._togglePointerEvents=function(a){this._pane.style.pointerEvents=a?"":"none"};
g._attachBackdrop=function(){var a=this;this._backdropElement=this._document.createElement("div");this._backdropElement.classList.add("cdk-overlay-backdrop");this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation");this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0);this._host.parentElement.insertBefore(this._backdropElement,this._host);this._backdropElement.addEventListener("click",this._backdropClickHandler);
this._animationsDisabled||typeof requestAnimationFrame==="undefined"?this._backdropElement.classList.add("cdk-overlay-backdrop-showing"):this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){a._backdropElement&&a._backdropElement.classList.add("cdk-overlay-backdrop-showing")})})};g._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)};
var $2b=function(a){var b=a._backdropElement;b&&(a._animationsDisabled?a._disposeBackdrop(b):(b.classList.remove("cdk-overlay-backdrop-showing"),a._ngZone.runOutsideAngular(function(){b.addEventListener("transitionend",a._backdropTransitionendHandler)}),b.style.pointerEvents="none",a._backdropTimeout=a._ngZone.runOutsideAngular(function(){return setTimeout(function(){a._disposeBackdrop(b)},500)})))};
dy.prototype._toggleClasses=function(a,b,c){b=Zh(b||[]).filter(function(d){return!!d});b.length&&(c?a.classList.add.apply(a.classList,w(b)):a.classList.remove.apply(a.classList,w(b)))};
dy.prototype._detachContentWhenEmpty=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._renders.pipe(Of(Xe(a._attachments,a._detachments))).subscribe(function(){a._pane&&a._host&&a._pane.children.length!==0||(a._pane&&a._config.panelClass&&a._toggleClasses(a._pane,a._config.panelClass,!1),a._host&&a._host.parentElement&&(a._previousHostParent=a._host.parentElement,a._host.remove()),b.unsubscribe())})})};
dy.prototype._disposeScrollStrategy=function(){var a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())};dy.prototype._disposeBackdrop=function(a){a&&(a.removeEventListener("click",this._backdropClickHandler),a.removeEventListener("transitionend",this._backdropTransitionendHandler),a.remove(),this._backdropElement===a&&(this._backdropElement=null));this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)};
ea.Object.defineProperties(dy.prototype,{overlayElement:{configurable:!0,enumerable:!0,get:function(){return this._pane}},hostElement:{configurable:!0,enumerable:!0,get:function(){return this._host}}});var b3b=function(a,b){this.connectionPair=a;this.scrollableViewProperties=b};var Zoa=/([A-Za-z%]+)$/,ey=function(a,b,c,d,e){this._viewportRuler=b;this._document=c;this._platform=d;this._overlayContainer=e;this._lastBoundingBoxSize={width:0,height:0};this._isPushed=!1;this._canPush=!0;this._growAfterOpen=!1;this._hasFlexibleDimensions=!0;this._positionLocked=!1;this._viewportMargin=0;this._scrollables=[];this._preferredPositions=[];this._positionChanges=new Jf;this._resizeSubscription=me.EMPTY;this._offsetY=this._offsetX=0;this._appliedPanelClasses=[];this.positionChanges=
this._positionChanges;this.setOrigin(a)};ey.prototype.attach=function(a){var b=this;a.hostElement.classList.add("cdk-overlay-connected-position-bounding-box");this._overlayRef=a;this._boundingBox=a.hostElement;this._pane=a.overlayElement;this._isDisposed=!1;this._isInitialRender=!0;this._lastPosition=null;this._resizeSubscription.unsubscribe();this._resizeSubscription=this._viewportRuler.change().subscribe(function(){b._isInitialRender=!0;b.apply()})};
ey.prototype.apply=function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)c3b(this);else{this._clearPanelClasses();this._resetOverlayElementStyles();this._resetBoundingBoxStyles();this._viewportRect=this._getNarrowedViewportRect();this._originRect=this._getOriginRect();this._overlayRect=this._pane.getBoundingClientRect();this._containerRect=U2b(this._overlayContainer).getBoundingClientRect();for(var a=this._originRect,b=this._overlayRect,
c=this._viewportRect,d=this._containerRect,e=[],f,h=k(this._preferredPositions),l=h.next();!l.done;l=h.next()){l=l.value;var q=this._getOriginPoint(a,d,l),v=this._getOverlayPoint(q,b,l),y=this._getOverlayFit(v,b,c,l);if(y.isCompletelyWithinViewport){this._isPushed=!1;this._applyPosition(l,q);return}if(this._canFitWithFlexibleDimensions(y,v,c))e.push({position:l,origin:q,overlayRect:b,boundingBoxRect:this._calculateBoundingBoxRect(q,l)});else if(!f||f.overlayFit.visibleArea<y.visibleArea)f={overlayFit:y,
overlayPoint:v,originPoint:q,position:l,overlayRect:b}}if(e.length){a=null;b=-1;e=k(e);for(c=e.next();!c.done;c=e.next())c=c.value,d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1),d>b&&(b=d,a=c);this._isPushed=!1;this._applyPosition(a.position,a.origin)}else this._canPush&&(this._isPushed=!0),this._applyPosition(f.position,f.originPoint)}};ey.prototype.detach=function(){this._clearPanelClasses();this._previousPushAmount=this._lastPosition=null;this._resizeSubscription.unsubscribe()};
ey.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&fi(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)};
var c3b=function(a){if(!a._isDisposed&&a._platform.isBrowser){var b=a._lastPosition;b?(a._originRect=a._getOriginRect(),a._overlayRect=a._pane.getBoundingClientRect(),a._viewportRect=a._getNarrowedViewportRect(),a._containerRect=U2b(a._overlayContainer).getBoundingClientRect(),a._applyPosition(b,a._getOriginPoint(a._originRect,a._containerRect,b))):a.apply()}},d3b=function(a,b){a._scrollables=b;return a},fy=function(a,b){a._preferredPositions=b;b.indexOf(a._lastPosition)===-1&&(a._lastPosition=null);
return a},gy=function(a,b){a._viewportMargin=b;return a},hy=function(a,b){a._hasFlexibleDimensions=b===void 0?!0:b;return a},e3b=function(a,b){a._growAfterOpen=b===void 0?!0:b;return a},f3b=function(a,b){a._canPush=b===void 0?!0:b;return a},g3b=function(a,b){a._positionLocked=b===void 0?!0:b;return a};ey.prototype.setOrigin=function(a){this._origin=a;return this};var h3b=function(a,b){a._transformOriginSelector=b;return a};g=ey.prototype;
g._getOriginPoint=function(a,b,c){if(c.originX=="center")var d=a.left+a.width/2;else{d=this._isRtl()?a.right:a.left;var e=this._isRtl()?a.left:a.right;d=c.originX=="start"?d:e}b.left<0&&(d-=b.left);a=c.originY=="center"?a.top+a.height/2:c.originY=="top"?a.top:a.bottom;b.top<0&&(a-=b.top);return{x:d,y:a}};
g._getOverlayPoint=function(a,b,c){return{x:a.x+(c.overlayX=="center"?-b.width/2:c.overlayX==="start"?this._isRtl()?-b.width:0:this._isRtl()?0:-b.width),y:a.y+(c.overlayY=="center"?-b.height/2:c.overlayY=="top"?0:-b.height)}};
g._getOverlayFit=function(a,b,c,d){b=apa(b);var e=a.x;a=a.y;var f=this._getOffset(d,"x");d=this._getOffset(d,"y");f&&(e+=f);d&&(a+=d);d=-a;a=a+b.height-c.height;c=this._subtractOverflows(b.width,-e,e+b.width-c.width);e=this._subtractOverflows(b.height,d,a);d=c*e;return{visibleArea:d,isCompletelyWithinViewport:b.width*b.height===d,fitsInViewportVertically:e===b.height,fitsInViewportHorizontally:c==b.width}};
g._canFitWithFlexibleDimensions=function(a,b,c){if(this._hasFlexibleDimensions){var d=c.bottom-b.y;c=c.right-b.x;b=$oa(this._overlayRef.getConfig().minHeight);var e=$oa(this._overlayRef.getConfig().minWidth);c=a.fitsInViewportHorizontally||e!=null&&e<=c;return(a.fitsInViewportVertically||b!=null&&b<=d)&&c}return!1};
g._pushOverlayOnScreen=function(a,b,c){if(this._previousPushAmount&&this._positionLocked)return{x:a.x+this._previousPushAmount.x,y:a.y+this._previousPushAmount.y};b=apa(b);var d=this._viewportRect,e=Math.max(a.x+b.width-d.width,0),f=Math.max(a.y+b.height-d.height,0),h=Math.max(d.top-c.top-a.y,0),l=Math.max(d.left-c.left-a.x,0);e=b.width<=d.width?l||-e:a.x<this._viewportMargin?d.left-c.left-a.x:0;c=b.height<=d.height?h||-f:a.y<this._viewportMargin?d.top-c.top-a.y:0;this._previousPushAmount={x:e,y:c};
return{x:a.x+e,y:a.y+c}};
g._applyPosition=function(a,b){this._setTransformOrigin(a);this._setOverlayElementStyles(b,a);this._setBoundingBoxStyles(b,a);a.panelClass&&this._addPanelClasses(a.panelClass);if(this._positionChanges.observers.length){b=this._getScrollVisibility();var c;if(c=a===this._lastPosition&&this._lastScrollVisibility)c=this._lastScrollVisibility,c=c===b?!0:c.isOriginClipped===b.isOriginClipped&&c.isOriginOutsideView===b.isOriginOutsideView&&c.isOverlayClipped===b.isOverlayClipped&&c.isOverlayOutsideView===
b.isOverlayOutsideView;c||this._positionChanges.next(new b3b(a,b));this._lastScrollVisibility=b}this._lastPosition=a;this._isInitialRender=!1};g._setTransformOrigin=function(a){if(this._transformOriginSelector){var b=this._boundingBox.querySelectorAll(this._transformOriginSelector),c=a.overlayY;a=a.overlayX==="center"?"center":this._isRtl()?a.overlayX==="start"?"right":"left":a.overlayX==="start"?"left":"right";for(var d=0;d<b.length;d++)b[d].style.transformOrigin=a+" "+c}};
g._calculateBoundingBoxRect=function(a,b){var c=this._viewportRect,d=this._isRtl();if(b.overlayY==="top"){var e=a.y;var f=c.height-e+this._viewportMargin}else if(b.overlayY==="bottom"){var h=c.height-a.y+this._viewportMargin*2;f=c.height-h+this._viewportMargin}else{e=Math.min(c.bottom-a.y+c.top,a.y);var l=this._lastBoundingBoxSize.height;f=e*2;e=a.y-e;f>l&&!this._isInitialRender&&!this._growAfterOpen&&(e=a.y-l/2)}l=b.overlayX==="start"&&!d||b.overlayX==="end"&&d;if(b.overlayX==="end"&&!d||b.overlayX===
"start"&&d){var q=c.width-a.x+this._viewportMargin*2;b=a.x-this._viewportMargin}else if(l){var v=a.x;b=c.right-a.x}else v=Math.min(c.right-a.x+c.left,a.x),c=this._lastBoundingBoxSize.width,b=v*2,v=a.x-v,b>c&&!this._isInitialRender&&!this._growAfterOpen&&(v=a.x-c/2);return{top:e,left:v,bottom:h,right:q,width:b,height:f}};
g._setBoundingBoxStyles=function(a,b){a=this._calculateBoundingBoxRect(a,b);this._isInitialRender||this._growAfterOpen||(a.height=Math.min(a.height,this._lastBoundingBoxSize.height),a.width=Math.min(a.width,this._lastBoundingBoxSize.width));var c={};if(this._hasExactPosition())c.top=c.left="0",c.bottom=c.right=c.maxHeight=c.maxWidth="",c.width=c.height="100%";else{var d=this._overlayRef.getConfig().maxHeight,e=this._overlayRef.getConfig().maxWidth;c.height=ai(a.height);c.top=ai(a.top);c.bottom=ai(a.bottom);
c.width=ai(a.width);c.left=ai(a.left);c.right=ai(a.right);c.alignItems=b.overlayX==="center"?"center":b.overlayX==="end"?"flex-end":"flex-start";c.justifyContent=b.overlayY==="center"?"center":b.overlayY==="bottom"?"flex-end":"flex-start";d&&(c.maxHeight=ai(d));e&&(c.maxWidth=ai(e))}this._lastBoundingBoxSize=a;fi(this._boundingBox.style,c)};g._resetBoundingBoxStyles=function(){fi(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})};
g._resetOverlayElementStyles=function(){fi(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})};
g._setOverlayElementStyles=function(a,b){var c={},d=this._hasExactPosition(),e=this._hasFlexibleDimensions,f=this._overlayRef.getConfig();if(d){var h=this._viewportRuler.getViewportScrollPosition();fi(c,this._getExactOverlayY(b,a,h));fi(c,this._getExactOverlayX(b,a,h))}else c.position="static";a="";h=this._getOffset(b,"x");b=this._getOffset(b,"y");h&&(a+="translateX("+h+"px) ");b&&(a+="translateY("+b+"px)");c.transform=a.trim();f.maxHeight&&(d?c.maxHeight=ai(f.maxHeight):e&&(c.maxHeight=""));f.maxWidth&&
(d?c.maxWidth=ai(f.maxWidth):e&&(c.maxWidth=""));fi(this._pane.style,c)};g._getExactOverlayY=function(a,b,c){var d={top:"",bottom:""};b=this._getOverlayPoint(b,this._overlayRect,a);this._isPushed&&(b=this._pushOverlayOnScreen(b,this._overlayRect,c));a.overlayY==="bottom"?d.bottom=this._document.documentElement.clientHeight-(b.y+this._overlayRect.height)+"px":d.top=ai(b.y);return d};
g._getExactOverlayX=function(a,b,c){var d={left:"",right:""};b=this._getOverlayPoint(b,this._overlayRect,a);this._isPushed&&(b=this._pushOverlayOnScreen(b,this._overlayRect,c));(this._isRtl()?a.overlayX==="end"?"left":"right":a.overlayX==="end"?"right":"left")==="right"?d.right=this._document.documentElement.clientWidth-(b.x+this._overlayRect.width)+"px":d.left=ai(b.x);return d};
g._getScrollVisibility=function(){var a=this._getOriginRect(),b=this._pane.getBoundingClientRect(),c=this._scrollables.map(function(d){return d.elementRef.nativeElement.getBoundingClientRect()});return{isOriginClipped:Xoa(a,c),isOriginOutsideView:Woa(a,c),isOverlayClipped:Xoa(b,c),isOverlayOutsideView:Woa(b,c)}};g._subtractOverflows=function(a){return zd.apply(1,arguments).reduce(function(b,c){return b-Math.max(c,0)},a)};
g._getNarrowedViewportRect=function(){var a=this._document.documentElement.clientWidth,b=this._document.documentElement.clientHeight,c=this._viewportRuler.getViewportScrollPosition();return{top:c.top+this._viewportMargin,left:c.left+this._viewportMargin,right:c.left+a-this._viewportMargin,bottom:c.top+b-this._viewportMargin,width:a-2*this._viewportMargin,height:b-2*this._viewportMargin}};g._isRtl=function(){return a3b(this._overlayRef)==="rtl"};
g._hasExactPosition=function(){return!this._hasFlexibleDimensions||this._isPushed};g._getOffset=function(a,b){return b==="x"?a.offsetX==null?this._offsetX:a.offsetX:a.offsetY==null?this._offsetY:a.offsetY};g._validatePositions=function(){};g._addPanelClasses=function(a){var b=this;this._pane&&Zh(a).forEach(function(c){c!==""&&b._appliedPanelClasses.indexOf(c)===-1&&(b._appliedPanelClasses.push(c),b._pane.classList.add(c))})};
g._clearPanelClasses=function(){var a=this;this._pane&&(this._appliedPanelClasses.forEach(function(b){a._pane.classList.remove(b)}),this._appliedPanelClasses=[])};g._getOriginRect=function(){var a=this._origin;if(a instanceof ge)return a.nativeElement.getBoundingClientRect();if(a instanceof Element)return a.getBoundingClientRect();var b=a.width||0,c=a.height||0;return{top:a.y,bottom:a.y+c,left:a.x,right:a.x+b,height:c,width:b}};
ea.Object.defineProperties(ey.prototype,{positions:{configurable:!0,enumerable:!0,get:function(){return this._preferredPositions}}});var i3b=function(){this._cssPosition="static";this._height=this._width=this._xOffset=this._xPosition=this._alignItems=this._bottomOffset=this._topOffset="";this._isDisposed=!1};g=i3b.prototype;g.attach=function(a){var b=a.getConfig();this._overlayRef=a;this._width&&!b.width&&a.updateSize({width:this._width});this._height&&!b.height&&a.updateSize({height:this._height});a.hostElement.classList.add("cdk-global-overlay-wrapper");this._isDisposed=!1};
g.top=function(a){this._bottomOffset="";this._topOffset=a===void 0?"":a;this._alignItems="flex-start";return this};g.left=function(a){this._xOffset=a===void 0?"":a;this._xPosition="left";return this};g.bottom=function(a){this._topOffset="";this._bottomOffset=a===void 0?"":a;this._alignItems="flex-end";return this};g.right=function(a){this._xOffset=a===void 0?"":a;this._xPosition="right";return this};g.start=function(a){this._xOffset=a===void 0?"":a;this._xPosition="start";return this};
g.end=function(a){this._xOffset=a===void 0?"":a;this._xPosition="end";return this};g.width=function(a){a=a===void 0?"":a;this._overlayRef?this._overlayRef.updateSize({width:a}):this._width=a;return this};g.height=function(a){a=a===void 0?"":a;this._overlayRef?this._overlayRef.updateSize({height:a}):this._height=a;return this};var iy=function(a){a.left("");a._xPosition="center";return a},j3b=function(a){a.top("");a._alignItems="center";return a};
i3b.prototype.apply=function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var a=this._overlayRef.overlayElement.style,b=this._overlayRef.hostElement.style,c=this._overlayRef.getConfig(),d=c.width,e=c.height,f=c.maxWidth;c=c.maxHeight;d=(d==="100%"||d==="100vw")&&(!f||f==="100%"||f==="100vw");e=(e==="100%"||e==="100vh")&&(!c||c==="100%"||c==="100vh");f=this._xPosition;c=this._xOffset;var h=this._overlayRef.getConfig().direction==="rtl",l="",q="",v="";if(d)v="flex-start";else if(f==="center")v=
"center",h?q=c:l=c;else if(h)if(f==="left"||f==="end")v="flex-end",l=c;else{if(f==="right"||f==="start")v="flex-start",q=c}else if(f==="left"||f==="start")v="flex-start",l=c;else if(f==="right"||f==="end")v="flex-end",q=c;a.position=this._cssPosition;a.marginLeft=d?"0":l;a.marginTop=e?"0":this._topOffset;a.marginBottom=this._bottomOffset;a.marginRight=d?"0":q;b.justifyContent=v;b.alignItems=e?"flex-start":this._alignItems}};
i3b.prototype.dispose=function(){if(!this._isDisposed&&this._overlayRef){var a=this._overlayRef.overlayElement.style,b=this._overlayRef.hostElement,c=b.style;b.classList.remove("cdk-global-overlay-wrapper");c.justifyContent=c.alignItems=a.marginTop=a.marginBottom=a.marginLeft=a.marginRight=a.position="";this._overlayRef=null;this._isDisposed=!0}};var jy=function(){this._viewportRuler=r(Yx);this._document=r(ei);this._platform=r(Xw);this._overlayContainer=r(Px)};jy.prototype.global=function(){return new i3b};var ky=function(a,b){return new ey(b,a._viewportRuler,a._document,a._platform,a._overlayContainer)};jy.\u0275fac=function(a){return new (a||jy)};jy.\u0275prov=n({token:jy,factory:jy.\u0275fac,providedIn:"root"});var ly=function(){};ly.prototype.attach=function(a){this._attachedHost=a;return a.attach(this)};ly.prototype.detach=function(){var a=this._attachedHost;a!=null&&(this._attachedHost=null,a.detach())};ea.Object.defineProperties(ly.prototype,{isAttached:{configurable:!0,enumerable:!0,get:function(){return this._attachedHost!=null}}});var my=function(a,b,c,d,e){this.component=a;this.viewContainerRef=b;this.injector=c;this.projectableNodes=e};Y(my,ly);
var ny=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.context=c;this.injector=d};Y(ny,ly);ny.prototype.attach=function(a,b){this.context=b=b===void 0?this.context:b;return ly.prototype.attach.call(this,a)};ny.prototype.detach=function(){this.context=void 0;return ly.prototype.detach.call(this)};ea.Object.defineProperties(ny.prototype,{origin:{configurable:!0,enumerable:!0,get:function(){return this.templateRef.elementRef}}});var oy=function(){this._isDisposed=!1};g=oy.prototype;
g.hasAttached=function(){return!!this._attachedPortal};g.attach=function(a){if(a instanceof my)return this._attachedPortal=a,this.attachComponentPortal(a);if(a instanceof ny)return this._attachedPortal=a,this.attachTemplatePortal(a)};g.detach=function(){this._attachedPortal&&(this._attachedPortal=this._attachedPortal._attachedHost=null);this._invokeDisposeFn()};g.dispose=function(){this.hasAttached()&&this.detach();this._invokeDisposeFn();this._isDisposed=!0};
g.setDisposeFn=function(a){this._disposeFn=a};g._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)};var py=function(a,b,c,d,e){this._isDisposed=!1;this.outletElement=a;this._appRef=c;this._defaultInjector=d;this._document=e};Y(py,oy);
py.prototype.attachComponentPortal=function(a){var b=this;if(a.viewContainerRef){var c=a.injector||a.viewContainerRef.injector,d=c.get(Yv,null,{optional:!0})||void 0;var e=a.viewContainerRef.createComponent(a.component,{index:a.viewContainerRef.length,injector:c,ngModuleRef:d,projectableNodes:a.projectableNodes||void 0});this.setDisposeFn(function(){return e.destroy()})}else e=Sma(a.component,{elementInjector:a.injector||this._defaultInjector||T_b,environmentInjector:this._appRef.injector,projectableNodes:a.projectableNodes||
void 0}),$0b(this._appRef,e.hostView),this.setDisposeFn(function(){b._appRef.viewCount>0&&b._appRef.detachView(e.hostView);e.destroy()});this.outletElement.appendChild(this._getComponentRootNode(e));this._attachedPortal=a;return e};
py.prototype.attachTemplatePortal=function(a){var b=this,c=a.viewContainerRef,d=c.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});d.rootNodes.forEach(function(e){return b.outletElement.appendChild(e)});d.detectChanges();this.setDisposeFn(function(){var e=c.indexOf(d);e!==-1&&c.remove(e)});this._attachedPortal=a;return d};py.prototype.dispose=function(){oy.prototype.dispose.call(this);this.outletElement.remove()};py.prototype._getComponentRootNode=function(a){return a.hostView.rootNodes[0]};var qy=function(){var a=r(Jg),b=r(Kg);ny.call(this,a,b)};Y(qy,ny);qy.\u0275fac=function(a){return new (a||qy)};qy.\u0275dir=ud({type:qy,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[cg]});var ry=function(){this._isDisposed=!1;this._moduleRef=r(Yv,{optional:!0});this._document=r(ei);this._viewContainerRef=r(Kg);this._isInitialized=!1;this.attached=new kw};Y(ry,oy);g=ry.prototype;g.ngOnInit=function(){this._isInitialized=!0};
g.ngOnDestroy=function(){oy.prototype.dispose.call(this);this._attachedRef=this._attachedPortal=null};
g.attachComponentPortal=function(a){a._attachedHost=this;var b=a.viewContainerRef!=null?a.viewContainerRef:this._viewContainerRef,c=b.createComponent(a.component,{index:b.length,injector:a.injector||b.injector,projectableNodes:a.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});b!==this._viewContainerRef&&this._getRootNode().appendChild(c.hostView.rootNodes[0]);oy.prototype.setDisposeFn.call(this,function(){return c.destroy()});this._attachedPortal=a;this._attachedRef=c;this.attached.emit(c);
return c};g.attachTemplatePortal=function(a){var b=this;a._attachedHost=this;var c=this._viewContainerRef.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});oy.prototype.setDisposeFn.call(this,function(){return b._viewContainerRef.clear()});this._attachedPortal=a;this._attachedRef=c;this.attached.emit(c);return c};g._getRootNode=function(){var a=this._viewContainerRef.element.nativeElement;return a.nodeType===a.ELEMENT_NODE?a:a.parentNode};
ea.Object.defineProperties(ry.prototype,{portal:{configurable:!0,enumerable:!0,get:function(){return this._attachedPortal},set:function(a){if(!this.hasAttached()||a||this._isInitialized)this.hasAttached()&&oy.prototype.detach.call(this),a&&oy.prototype.attach.call(this,a),this._attachedPortal=a||null}}});ry.\u0275fac=function(a){return new (a||ry)};
ry.\u0275dir=ud({type:ry,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[cg]});var sy=function(){};sy.\u0275fac=function(a){return new (a||sy)};sy.\u0275mod=u({type:sy});sy.\u0275inj=p({});var k3b=0,ty=function(){this.scrollStrategies=r(by);this._overlayContainer=r(Px);this._positionBuilder=r(jy);this._keyboardDispatcher=r(Mx);this._injector=r(Sf);this._ngZone=r(hh);this._document=r(ei);this._directionality=r(Jx);this._location=r(Ww);this._outsideClickDispatcher=r(Nx);this._animationsModuleType=r(Zv,{optional:!0});this._styleLoader=r(Yw)};g=ty.prototype;
g.create=function(a){this._styleLoader.load(Ox);var b=this._createHostElement(),c=this._createPaneElement(b),d=this._createPortalOutlet(c);a=new cy(a);a.direction=a.direction||this._directionality.value;return new dy(d,b,c,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Uv))};g.position=function(){return this._positionBuilder};
g._createPaneElement=function(a){var b=this._document.createElement("div");b.id="cdk-overlay-"+k3b++;b.classList.add("cdk-overlay-pane");a.appendChild(b);return b};g._createHostElement=function(){var a=this._document.createElement("div");U2b(this._overlayContainer).appendChild(a);return a};g._createPortalOutlet=function(a){this._appRef||(this._appRef=this._injector.get(nh));return new py(a,null,this._appRef,this._injector,this._document)};ty.\u0275fac=function(a){return new (a||ty)};
ty.\u0275prov=n({token:ty,factory:ty.\u0275fac,providedIn:"root"});var l3b=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],m3b=new Bd("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:function(){var a=r(ty);return function(){return a.scrollStrategies.reposition()}}}),vy=function(){this.elementRef=r(ge)};
vy.\u0275fac=function(a){return new (a||vy)};vy.\u0275dir=ud({type:vy,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});
var wy=function(){this._overlay=r(ty);this._dir=r(Jx,{optional:!0});this._positionSubscription=this._detachSubscription=this._attachSubscription=this._backdropSubscription=me.EMPTY;this._scrollStrategyFactory=r(m3b);this._disposeOnNavigation=!1;this._ngZone=r(hh);this.viewportMargin=0;this.push=this.growAfterOpen=this.flexibleDimensions=this.lockPosition=this.hasBackdrop=this.disableClose=this.open=!1;this.backdropClick=new kw;this.positionChange=new kw;this.attach=new kw;this.detach=new kw;this.overlayKeydown=
new kw;this.overlayOutsideClick=new kw;var a=r(Jg),b=r(Kg);this._templatePortal=new ny(a,b);this.scrollStrategy=this._scrollStrategyFactory()};g=wy.prototype;g.ngOnDestroy=function(){this._attachSubscription.unsubscribe();this._detachSubscription.unsubscribe();this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe();this._overlayRef&&this._overlayRef.dispose()};
g.ngOnChanges=function(a){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),a.origin&&this.open&&this._position.apply());a.open&&(this.open?this._attachOverlay():this._detachOverlay())};
g._createOverlay=function(){var a=this;this.positions&&this.positions.length||(this.positions=l3b);var b=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=b.attachments().subscribe(function(){return a.attach.emit()});this._detachSubscription=b._detachments.subscribe(function(){return a.detach.emit()});b.keydownEvents().subscribe(function(c){a.overlayKeydown.next(c);c.keyCode!==27||a.disableClose||Yh(c)||(c.preventDefault(),a._detachOverlay())});this._overlayRef.outsidePointerEvents().subscribe(function(c){var d=
a._getOriginElement(),e=Xh(c);d&&(d===e||d.contains(e))||a.overlayOutsideClick.next(c)})};
g._buildConfig=function(){var a=this._position=this.positionStrategy||this._createPositionStrategy();a=new cy({direction:this._dir||"ltr",positionStrategy:a,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});if(this.width||this.width===0)a.width=this.width;if(this.height||this.height===0)a.height=this.height;if(this.minWidth||this.minWidth===0)a.minWidth=this.minWidth;if(this.minHeight||this.minHeight===0)a.minHeight=this.minHeight;this.backdropClass&&
(a.backdropClass=this.backdropClass);this.panelClass&&(a.panelClass=this.panelClass);return a};
g._updatePositionStrategy=function(a){var b=this,c=this.positions.map(function(d){return{originX:d.originX,originY:d.originY,overlayX:d.overlayX,overlayY:d.overlayY,offsetX:d.offsetX||b.offsetX,offsetY:d.offsetY||b.offsetY,panelClass:d.panelClass||void 0}});return h3b(g3b(gy(e3b(f3b(hy(fy(a.setOrigin(this._getOrigin()),c),this.flexibleDimensions),this.push),this.growAfterOpen),this.viewportMargin),this.lockPosition),this.transformOriginSelector)};
g._createPositionStrategy=function(){var a=ky(this._overlay.position(),this._getOrigin());this._updatePositionStrategy(a);return a};g._getOrigin=function(){return this.origin instanceof vy?this.origin.elementRef:this.origin};g._getOriginElement=function(){return this.origin instanceof vy?this.origin.elementRef.nativeElement:this.origin instanceof ge?this.origin.nativeElement:typeof Element!=="undefined"&&this.origin instanceof Element?this.origin:null};
g._attachOverlay=function(){var a=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay();this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal);this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(b){a.backdropClick.emit(b)}):this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe();this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(qka(function(){return a.positionChange.observers.length>
0})).subscribe(function(b){a._ngZone.run(function(){return a.positionChange.emit(b)});a.positionChange.observers.length===0&&a._positionSubscription.unsubscribe()}))};g._detachOverlay=function(){this._overlayRef&&this._overlayRef.detach();this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe()};
ea.Object.defineProperties(wy.prototype,{offsetX:{configurable:!0,enumerable:!0,get:function(){return this._offsetX},set:function(a){this._offsetX=a;this._position&&this._updatePositionStrategy(this._position)}},offsetY:{configurable:!0,enumerable:!0,get:function(){return this._offsetY},set:function(a){this._offsetY=a;this._position&&this._updatePositionStrategy(this._position)}},disposeOnNavigation:{configurable:!0,enumerable:!0,get:function(){return this._disposeOnNavigation},set:function(a){this._disposeOnNavigation=
a}},overlayRef:{configurable:!0,enumerable:!0,get:function(){return this._overlayRef}},dir:{configurable:!0,enumerable:!0,get:function(){return this._dir?this._dir.value:"ltr"}}});wy.\u0275fac=function(a){return new (a||wy)};
wy.\u0275dir=ud({type:wy,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight",
"height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],
transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",rh],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",rh],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",rh],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",rh],push:[2,"cdkConnectedOverlayPush","push",rh],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",
rh]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[dg,Hd]});var n3b={provide:m3b,deps:[ty],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};var xy=function(){};xy.\u0275fac=function(a){return new (a||xy)};xy.\u0275mod=u({type:xy});xy.\u0275inj=p({providers:[ty,n3b],imports:[Kx,sy,ay,ay]});new Bd("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});var yy=function(){r(nx)._applyBodyHighContrastModeCssClasses()};yy.\u0275fac=function(a){return new (a||yy)};yy.\u0275mod=u({type:yy});yy.\u0275inj=p({imports:[Kx,Kx]});var o3b=function(a,b,c,d,e){this._defaultMatcher=a;this.ngControl=b;this._parentFormGroup=c;this._parentForm=d;this._stateChanges=e;this.errorState=!1};o3b.prototype.updateErrorState=function(){var a=this.errorState,b=this._parentFormGroup||this._parentForm,c=this.ngControl?this.ngControl.control:null,d,e,f=(e=(d=this.matcher||this._defaultMatcher)==null?void 0:d.isErrorState(c,b))!=null?e:!1;f!==a&&(this.errorState=f,this._stateChanges.next())};new Bd("MAT_DATE_LOCALE",{providedIn:"root",factory:bpa});var zy=function(){this.localeChanges=this._localeChanges=new Jf};zy.prototype.setTime=function(){throw Error("vb");};zy.prototype.getHours=function(){throw Error("vb");};zy.prototype.getMinutes=function(){throw Error("vb");};zy.prototype.getSeconds=function(){throw Error("vb");};var Ay=function(a,b){return b instanceof Uk&&a.isValid(b)?b:null},By=function(a,b){return b==null||b instanceof Uk&&a.isValid(b)?b:a.invalid()};
zy.prototype.setLocale=function(a){this.locale=a;this._localeChanges.next()};var Cy=function(a,b,c){return a.getYear(b)-a.getYear(c)||a.getMonth(b)-a.getMonth(c)||a.getDate(b)-a.getDate(c)};zy.prototype.sameDate=function(a,b){if(a&&b){var c=this.isValid(a),d=this.isValid(b);return c&&d?!Cy(this,a,b):c==d}return a==b};var p3b=function(a,b,c,d){return c&&Cy(a,b,c)<0?c:d&&Cy(a,b,d)>0?d:b};var Dy=new Bd("mat-date-formats");var Ey=function(){};Ey.prototype.isErrorState=function(a,b){return!!(a&&a.invalid&&(a.touched||b&&b.submitted))};Ey.\u0275fac=function(a){return new (a||Ey)};Ey.\u0275prov=n({token:Ey,factory:Ey.\u0275fac,providedIn:"root"});var Fy=function(){};Fy.\u0275fac=function(a){return new (a||Fy)};
Fy.\u0275cmp=t({type:Fy,selectors:[["structural-styles"]],standalone:!0,features:[$g],decls:0,vars:0,template:function(){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}\n'],encapsulation:2,
changeDetection:0});var Gy=function(){};Gy.\u0275fac=function(a){return new (a||Gy)};
Gy.\u0275cmp=t({type:Gy,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(a,b){a&2&&ng("mdc-form-field--align-end",b.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[$g],attrs:["mat-internal-form-field",""],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Dg(),Eg(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}\n"],encapsulation:2,
changeDetection:0});var q3b=new Bd("MAT_OPTION_PARENT_COMPONENT");var r3b=new Bd("MatOptgroup");var s3b=Uh({passive:!0,capture:!0}),u3b=function(a,b,c,d){var e=t3b,f=e._events.get(b);f?(a=f.get(c))?a.add(d):f.set(c,new Set([d])):(e._events.set(b,new Map([[c,new Set([d])]])),a.runOutsideAngular(function(){document.addEventListener(b,e._delegateEventHandler,s3b)}))};var v3b=function(a,b,c,d){d=d===void 0?!1:d;this._renderer=a;this.element=b;this.config=c;this._animationForciblyDisabledThroughCss=d;this.state=3};var w3b={enterDuration:225,exitDuration:150},x3b=Uh({passive:!0,capture:!0}),y3b=["mousedown","touchstart"],z3b=["mouseup","mouseleave","touchend","touchcancel"],Hy=function(){};Hy.\u0275fac=function(a){return new (a||Hy)};
Hy.\u0275cmp=t({type:Hy,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],standalone:!0,features:[$g],decls:0,vars:0,template:function(){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-app-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}\n"],encapsulation:2,
changeDetection:0});
var Iy=function(a,b,c,d,e){this._target=a;this._ngZone=b;this._platform=d;this._isPointerDown=!1;this._activeRipples=new Map;this._pointerUpEventsRegistered=!1;d.isBrowser&&(this._containerElement=bi(c));e&&e.get(Yw).load(Hy)},A3b=function(a,b,c,d){d=d===void 0?{}:d;var e=a._containerRect=a._containerRect||a._containerElement.getBoundingClientRect(),f=Object.assign({},w3b,d.animation);d.centered&&(b=e.left+e.width/2,c=e.top+e.height/2);var h=d.radius||cpa(b,c,e);b-=e.left;c-=e.top;var l=f.enterDuration,
q=document.createElement("div");q.classList.add("mat-ripple-element");q.style.left=b-h+"px";q.style.top=c-h+"px";q.style.height=h*2+"px";q.style.width=h*2+"px";d.color!=null&&(q.style.backgroundColor=d.color);q.style.transitionDuration=l+"ms";a._containerElement.appendChild(q);h=window.getComputedStyle(q);c=h.transitionDuration;e=h.transitionProperty==="none"||c==="0s"||c==="0s, 0s"||e.width===0&&e.height===0;var v=new v3b(a,q,d,e);q.style.transform="scale3d(1, 1, 1)";v.state=0;d.persistent||(a._mostRecentTransientRipple=
v);var y=null;e||!l&&!f.exitDuration||a._ngZone.runOutsideAngular(function(){var E=function(){y&&(y.fallbackTimer=null);clearTimeout(O);a._finishRippleTransition(v)},H=function(){return a._destroyRipple(v)},O=setTimeout(H,l+100);q.addEventListener("transitionend",E);q.addEventListener("transitioncancel",H);y={onTransitionEnd:E,onTransitionCancel:H,fallbackTimer:O}});a._activeRipples.set(v,y);!e&&l||a._finishRippleTransition(v);return v},B3b=function(a,b){if(b.state!==2&&b.state!==3){var c=b.element,
d=Object.assign({},w3b,b.config.animation);c.style.transitionDuration=d.exitDuration+"ms";c.style.opacity="0";b.state=2;!b._animationForciblyDisabledThroughCss&&d.exitDuration||a._finishRippleTransition(b)}};Iy.prototype.fadeOutAllNonPersistent=function(){this._getActiveRipples().forEach(function(a){a.config.persistent||B3b(a._renderer,a)})};
var C3b=function(a,b){var c=bi(b);a._platform.isBrowser&&c&&c!==a._triggerElement&&(a._removeTriggerEvents(),a._triggerElement=c,y3b.forEach(function(d){u3b(a._ngZone,d,c,a)}))};g=Iy.prototype;
g.handleEvent=function(a){var b=this;a.type==="mousedown"?this._onMousedown(a):a.type==="touchstart"?this._onTouchStart(a):this._onPointerUp();this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(function(){z3b.forEach(function(c){b._triggerElement.addEventListener(c,b,x3b)})}),this._pointerUpEventsRegistered=!0)};g._finishRippleTransition=function(a){a.state===0?this._startFadeOutTransition(a):a.state===2&&this._destroyRipple(a)};
g._startFadeOutTransition=function(a){var b=a===this._mostRecentTransientRipple,c=a.config.persistent;a.state=1;c||b&&this._isPointerDown||B3b(a._renderer,a)};
g._destroyRipple=function(a){var b,c=(b=this._activeRipples.get(a))!=null?b:null;this._activeRipples.delete(a);this._activeRipples.size||(this._containerRect=null);a===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null);a.state=3;c!==null&&(a.element.removeEventListener("transitionend",c.onTransitionEnd),a.element.removeEventListener("transitioncancel",c.onTransitionCancel),c.fallbackTimer!==null&&clearTimeout(c.fallbackTimer));a.element.remove()};
g._onMousedown=function(a){var b=Goa(a),c=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||b||c||(this._isPointerDown=!0,A3b(this,a.clientX,a.clientY,this._target.rippleConfig))};g._onTouchStart=function(a){if(!this._target.rippleDisabled&&!Hoa(a)&&(this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0,a=a.changedTouches))for(var b=0;b<a.length;b++)A3b(this,a[b].clientX,a[b].clientY,this._target.rippleConfig)};
g._onPointerUp=function(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(function(a){var b=a.state===1||a.config.terminateOnPointerUp&&a.state===0;!a.config.persistent&&b&&B3b(a._renderer,a)}))};g._getActiveRipples=function(){return Array.from(this._activeRipples.keys())};
g._removeTriggerEvents=function(){var a=this,b=this._triggerElement;b&&(y3b.forEach(function(c){var d=t3b,e=d._events.get(c);if(e){var f=e.get(b);f&&(f.delete(a),f.size===0&&e.delete(b),e.size===0&&(d._events.delete(c),document.removeEventListener(c,d._delegateEventHandler,s3b)))}}),this._pointerUpEventsRegistered&&(z3b.forEach(function(c){return b.removeEventListener(c,a,x3b)}),this._pointerUpEventsRegistered=!1))};
var t3b=new function(){var a=this;this._events=new Map;this._delegateEventHandler=function(b){var c=Xh(b);if(c){var d;(d=a._events.get(b.type))==null||d.forEach(function(e,f){(f===c||f.contains(c))&&e.forEach(function(h){return h.handleEvent(b)})})}}};var Jy=new Bd("mat-ripple-global-options"),Ky=function(){this._elementRef=r(ge);this._animationMode=r(Zv,{optional:!0});this.radius=0;this._isInitialized=this._disabled=!1;var a=r(hh),b=r(Xw),c=r(Jy,{optional:!0}),d=r(Sf);this._globalOptions=c||{};this._rippleRenderer=new Iy(this,a,this._elementRef,b,d)};g=Ky.prototype;g.ngOnInit=function(){this._isInitialized=!0;this._setupTriggerEventsIfEnabled()};g.ngOnDestroy=function(){this._rippleRenderer._removeTriggerEvents()};g.fadeOutAllNonPersistent=function(){this._rippleRenderer.fadeOutAllNonPersistent()};
g._setupTriggerEventsIfEnabled=function(){!this.disabled&&this._isInitialized&&C3b(this._rippleRenderer,this.trigger)};g.launch=function(a,b,c){return typeof a==="number"?A3b(this._rippleRenderer,a,b===void 0?0:b,Object.assign({},this.rippleConfig,c)):A3b(this._rippleRenderer,0,0,Object.assign({},this.rippleConfig,a))};
ea.Object.defineProperties(Ky.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){a&&this.fadeOutAllNonPersistent();this._disabled=a;this._setupTriggerEventsIfEnabled()}},trigger:{configurable:!0,enumerable:!0,get:function(){return this._trigger||this._elementRef.nativeElement},set:function(a){this._trigger=a;this._setupTriggerEventsIfEnabled()}},rippleConfig:{configurable:!0,enumerable:!0,get:function(){return{centered:this.centered,radius:this.radius,
color:this.color,animation:Object.assign({},this._globalOptions.animation,this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{},this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disabled||!!this._globalOptions.disabled}}});Ky.\u0275fac=function(a){return new (a||Ky)};
Ky.\u0275dir=ud({type:Ky,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(a,b){a&2&&ng("mat-ripple-unbounded",b.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],
standalone:!0});var Ly=function(){this._animationMode=r(Zv,{optional:!0});this.state="unchecked";this.disabled=!1;this.appearance="full"};Ly.\u0275fac=function(a){return new (a||Ly)};
Ly.\u0275cmp=t({type:Ly,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(a,b){a&2&&ng("mat-pseudo-checkbox-indeterminate",b.state==="indeterminate")("mat-pseudo-checkbox-checked",b.state==="checked")("mat-pseudo-checkbox-disabled",b.disabled)("mat-pseudo-checkbox-minimal",b.appearance==="minimal")("mat-pseudo-checkbox-full",b.appearance==="full")("_mat-animation-noopable",b._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",
appearance:"appearance"},standalone:!0,features:[$g],decls:0,vars:0,template:function(){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-app-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-app-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}\n'],
encapsulation:2,changeDetection:0});var D3b=["text"],E3b=[[["mat-icon"]],"*"],F3b=0,G3b=function(a,b){this.source=a;this.isUserInput=b===void 0?!1:b},My=function(){this._element=r(ge);this._changeDetectorRef=r(rw);this._parent=r(q3b,{optional:!0});this.group=r(r3b,{optional:!0});this._disabled=this._active=this._selected=this._signalDisableRipple=!1;this._mostRecentViewValue="";this.id="mat-option-"+F3b++;this.onSelectionChange=new kw;this._stateChanges=new Jf;r(Yw).load(Fy);this._signalDisableRipple=!!this._parent&&vf(this._parent.disableRipple)};
g=My.prototype;g.select=function(a){a=a===void 0?!0:a;this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),a&&this._emitSelectionChangeEvent())};g.deselect=function(a){a=a===void 0?!0:a;this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),a&&this._emitSelectionChangeEvent())};g.focus=function(a,b){var c=this._getHostElement();typeof c.focus==="function"&&c.focus(b)};g.setActiveStyles=function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())};
g.setInactiveStyles=function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())};g.getLabel=function(){return this.viewValue};g._handleKeydown=function(a){a.keyCode!==13&&a.keyCode!==32||Yh(a)||(this._selectViaInteraction(),a.preventDefault())};g._selectViaInteraction=function(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))};g._getTabIndex=function(){return this.disabled?"-1":"0"};
g._getHostElement=function(){return this._element.nativeElement};g.ngAfterViewChecked=function(){if(this._selected){var a=this.viewValue;a!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=a)}};g.ngOnDestroy=function(){this._stateChanges.complete()};g._emitSelectionChangeEvent=function(a){this.onSelectionChange.emit(new G3b(this,a===void 0?!1:a))};
ea.Object.defineProperties(My.prototype,{multiple:{configurable:!0,enumerable:!0,get:function(){return this._parent&&this._parent.multiple}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected}},disabled:{configurable:!0,enumerable:!0,get:function(){return this.group&&this.group.disabled||this._disabled},set:function(a){this._disabled=a}},disableRipple:{configurable:!0,enumerable:!0,get:function(){var a;return this._signalDisableRipple?this._parent.disableRipple():!((a=this._parent)==
null||!a.disableRipple)}},hideSingleSelectionIndicator:{configurable:!0,enumerable:!0,get:function(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}},active:{configurable:!0,enumerable:!0,get:function(){return this._active}},viewValue:{configurable:!0,enumerable:!0,get:function(){var a;return(((a=this._text)==null?void 0:a.nativeElement.textContent)||"").trim()}}});My.\u0275fac=function(a){return new (a||My)};
My.\u0275cmp=t({type:My,selectors:[["mat-option"]],viewQuery:function(a,b){a&1&&Mg(D3b,7);if(a&2){var c;Qg(c=Rg())&&(b._text=c.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(a,b){a&1&&M("click",function(){return b._selectViaInteraction()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(yg("id",b.id),eg("aria-selected",b.selected)("aria-disabled",b.disabled.toString()),ng("mdc-list-item--selected",b.selected)("mat-mdc-option-multiple",
b.multiple)("mat-mdc-option-active",b.active)("mdc-list-item--disabled",b.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",rh]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[dg,$g],ngContentSelectors:["mat-icon","*"],decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",
1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(a,b){a&1&&(Dg(E3b),D(0,dpa,1,2,"mat-pseudo-checkbox",1),Eg(1),I(2,"span",2,0),Eg(4,1),J(),D(5,epa,1,1,"mat-pseudo-checkbox",3)(6,fpa,2,1,"span",4),K(7,"div",5));a&2&&(G(b.multiple?0:-1),C(5),G(b.multiple||!b.selected||b.hideSingleSelectionIndicator?-1:5),C(),G(b.group&&b.group._inert?
6:-1),C(),F("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disabled||b.disableRipple))},dependencies:[Ly,Ky],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-app-on-surface) calc(var(--mat-app-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-app-on-surface) calc(var(--mat-app-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var Ny=function(){};Ny.\u0275fac=function(a){return new (a||Ny)};Ny.\u0275mod=u({type:Ny});Ny.\u0275inj=p({imports:[yy,yy]});var Oy=function(){};Oy.\u0275fac=function(a){return new (a||Oy)};Oy.\u0275mod=u({type:Oy});Oy.\u0275inj=p({imports:[yy]});var Py=function(){};Py.\u0275fac=function(a){return new (a||Py)};Py.\u0275mod=u({type:Py});Py.\u0275inj=p({imports:[Ny,yy,Oy,My]});var H3b={capture:!0},I3b=["focus","mousedown","mouseenter","touchstart"],Qy=function(){var a=this;this._document=r(ei,{optional:!0});this._animationMode=r(Zv,{optional:!0});this._globalRippleOptions=r(Jy,{optional:!0});this._platform=r(Xw);this._ngZone=r(hh);this._injector=r(Sf);this._hosts=new Map;this._onInteraction=function(b){b=Xh(b);if(b instanceof HTMLElement){var c,d;(b=b.closest('[mat-ripple-loader-uninitialized="'+((d=(c=a._globalRippleOptions)==null?void 0:c.namespace)!=null?d:"")+'"]'))&&
a._createRipple(b)}};this._ngZone.runOutsideAngular(function(){for(var b=k(I3b),c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;(d=a._document)==null||d.addEventListener(c,a._onInteraction,H3b)}})};Qy.prototype.ngOnDestroy=function(){var a=this._hosts.keys();a=k(a);for(var b=a.next();!b.done;b=a.next())J3b(this,b.value);a=k(I3b);for(b=a.next();!b.done;b=a.next()){b=b.value;var c=void 0;(c=this._document)==null||c.removeEventListener(b,this._onInteraction,H3b)}};
var K3b=function(a,b,c){var d,e;b.setAttribute("mat-ripple-loader-uninitialized",(e=(d=a._globalRippleOptions)==null?void 0:d.namespace)!=null?e:"");!c.className&&b.hasAttribute("mat-ripple-loader-class-name")||b.setAttribute("mat-ripple-loader-class-name",c.className||"");c.centered&&b.setAttribute("mat-ripple-loader-centered","");c.disabled&&b.setAttribute("mat-ripple-loader-disabled","")};
Qy.prototype.setDisabled=function(a,b){var c=this._hosts.get(a);c?(c.target.rippleDisabled=b,b||c.hasSetUpEvents||(c.hasSetUpEvents=!0,C3b(c.renderer,a))):b?a.setAttribute("mat-ripple-loader-disabled",""):a.removeAttribute("mat-ripple-loader-disabled")};
Qy.prototype._createRipple=function(a){if(this._document&&!this._hosts.has(a)){var b;(b=a.querySelector(".mat-ripple"))==null||b.remove();b=this._document.createElement("span");b.classList.add("mat-ripple",a.getAttribute("mat-ripple-loader-class-name"));a.append(b);var c=this._animationMode==="NoopAnimations",d=this._globalRippleOptions,e,f,h=c?0:(f=d==null?void 0:(e=d.animation)==null?void 0:e.enterDuration)!=null?f:w3b.enterDuration,l,q;e=c?0:(q=d==null?void 0:(l=d.animation)==null?void 0:l.exitDuration)!=
null?q:w3b.exitDuration;l={rippleDisabled:c||(d==null?void 0:d.disabled)||a.hasAttribute("mat-ripple-loader-disabled"),rippleConfig:{centered:a.hasAttribute("mat-ripple-loader-centered"),terminateOnPointerUp:d==null?void 0:d.terminateOnPointerUp,animation:{enterDuration:h,exitDuration:e}}};b=new Iy(l,this._ngZone,b,this._platform,this._injector);(q=!l.rippleDisabled)&&C3b(b,a);this._hosts.set(a,{target:l,renderer:b,hasSetUpEvents:q});a.removeAttribute("mat-ripple-loader-uninitialized")}};
var J3b=function(a,b){var c=a._hosts.get(b);c&&(c.renderer._removeTriggerEvents(),a._hosts.delete(b))};Qy.\u0275fac=function(a){return new (a||Qy)};Qy.\u0275prov=n({token:Qy,factory:Qy.\u0275fac,providedIn:"root"});var mpa=function(a,b){return b.id},L3b=0,M3b=function(a,b,c,d,e,f,h){e=e===void 0?{}:e;this.value=a;this.displayValue=b;this.ariaLabel=c;this.enabled=d;this.cssClasses=e;this.compareValue=f===void 0?a:f;this.rawValue=h;this.id=L3b++},N3b=1,O3b=Uh({passive:!1,capture:!0}),Ry=Uh({passive:!0,capture:!0}),P3b=Uh({passive:!0}),Sy=function(){var a=this;this._elementRef=r(ge);this._ngZone=r(hh);this._platform=r(Xw);this._focusActiveCellAfterViewChecked=!1;this.numCols=7;this.activeCell=0;this.isRange=!1;
this.cellAspectRatio=1;this.previewEnd=this.previewStart=null;this.selectedValueChange=new kw;this.previewChange=new kw;this.activeDateChange=new kw;this.dragStarted=new kw;this.dragEnded=new kw;this._didDragSinceMouseDown=!1;this._injector=r(Sf);this._trackRow=function(b){return b};this._enterHandler=function(b){if(a._skipNextFocus&&b.type==="focus")a._skipNextFocus=!1;else if(b.target&&a.isRange){var c=a._getCellFromElement(b.target);c&&a._ngZone.run(function(){return a.previewChange.emit({value:c.enabled?
c:null,event:b})})}};this._touchmoveHandler=function(b){if(a.isRange){var c=tpa(b),d=c?a._getCellFromElement(c):null;c!==b.target&&(a._didDragSinceMouseDown=!0);ppa(b.target)&&b.preventDefault();a._ngZone.run(function(){return a.previewChange.emit({value:(d==null?0:d.enabled)?d:null,event:b})})}};this._leaveHandler=function(b){a.previewEnd!==null&&a.isRange&&(b.type!=="blur"&&(a._didDragSinceMouseDown=!0),!b.target||!a._getCellFromElement(b.target)||b.relatedTarget&&a._getCellFromElement(b.relatedTarget)||
a._ngZone.run(function(){return a.previewChange.emit({value:null,event:b})}))};this._mousedownHandler=function(b){if(a.isRange){a._didDragSinceMouseDown=!1;var c=b.target&&a._getCellFromElement(b.target);c&&a._isInRange(c.compareValue)&&a._ngZone.run(function(){a.dragStarted.emit({value:c.rawValue,event:b})})}};this._mouseupHandler=function(b){if(a.isRange){var c=ppa(b.target);c?c.closest(".mat-calendar-body")===a._elementRef.nativeElement&&a._ngZone.run(function(){var d=a._getCellFromElement(c),
e;a.dragEnded.emit({value:(e=d==null?void 0:d.rawValue)!=null?e:null,event:b})}):a._ngZone.run(function(){a.dragEnded.emit({value:null,event:b})})}};this._touchendHandler=function(b){(b=tpa(b))&&a._mouseupHandler({target:b})};this._id="mat-calendar-body-"+N3b++;this._startDateLabelId=this._id+"-start-date";this._endDateLabelId=this._id+"-end-date";r(Yw).load(Fy);this._ngZone.runOutsideAngular(function(){var b=a._elementRef.nativeElement;b.addEventListener("touchmove",a._touchmoveHandler,O3b);b.addEventListener("mouseenter",
a._enterHandler,Ry);b.addEventListener("focus",a._enterHandler,Ry);b.addEventListener("mouseleave",a._leaveHandler,Ry);b.addEventListener("blur",a._leaveHandler,Ry);b.addEventListener("mousedown",a._mousedownHandler,P3b);b.addEventListener("touchstart",a._mousedownHandler,P3b);a._platform.isBrowser&&(window.addEventListener("mouseup",a._mouseupHandler),window.addEventListener("touchend",a._touchendHandler))})};g=Sy.prototype;
g.ngAfterViewChecked=function(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)};g._cellClicked=function(a,b){this._didDragSinceMouseDown||a.enabled&&this.selectedValueChange.emit({value:a.value,event:b})};g._emitActiveDateChange=function(a,b){a.enabled&&this.activeDateChange.emit({value:a.value,event:b})};g._isSelected=function(a){return this.startValue===a||this.endValue===a};
g.ngOnChanges=function(a){var b=a.numCols,c=this.rows,d=this.numCols;if(a.rows||b)this._firstRowOffset=c&&c.length&&c[0].length?d-c[0].length:0;if(a.cellAspectRatio||b||!this._cellPadding)this._cellPadding=50*this.cellAspectRatio/d+"%";if(b||!this._cellWidth)this._cellWidth=100/d+"%"};
g.ngOnDestroy=function(){var a=this._elementRef.nativeElement;a.removeEventListener("touchmove",this._touchmoveHandler,O3b);a.removeEventListener("mouseenter",this._enterHandler,Ry);a.removeEventListener("focus",this._enterHandler,Ry);a.removeEventListener("mouseleave",this._leaveHandler,Ry);a.removeEventListener("blur",this._leaveHandler,Ry);a.removeEventListener("mousedown",this._mousedownHandler,P3b);a.removeEventListener("touchstart",this._mousedownHandler,P3b);this._platform.isBrowser&&(window.removeEventListener("mouseup",
this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))};g._isActiveCell=function(a,b){b=a*this.numCols+b;a&&(b-=this._firstRowOffset);return b==this.activeCell};g._focusActiveCell=function(a){var b=this;a=a===void 0?!0:a;Uf(function(){setTimeout(function(){var c=b._elementRef.nativeElement.querySelector(".mat-calendar-body-active");c&&(a||(b._skipNextFocus=!0),c.focus())})},{injector:this._injector})};
g._scheduleFocusActiveCellAfterViewChecked=function(){this._focusActiveCellAfterViewChecked=!0};g._isRangeStart=function(a){return qpa(a,this.startValue,this.endValue)};g._isRangeEnd=function(a){return rpa(a,this.startValue,this.endValue)};g._isInRange=function(a){return spa(a,this.startValue,this.endValue,this.isRange)};g._isComparisonStart=function(a){return qpa(a,this.comparisonStart,this.comparisonEnd)};
g._isComparisonBridgeStart=function(a,b,c){if(!this._isComparisonStart(a)||this._isRangeStart(a)||!this._isInRange(a))return!1;a=this.rows[b][c-1];a||(a=(b=this.rows[b-1])&&b[b.length-1]);return a&&!this._isRangeEnd(a.compareValue)};g._isComparisonBridgeEnd=function(a,b,c){if(!this._isComparisonEnd(a)||this._isRangeEnd(a)||!this._isInRange(a))return!1;a=this.rows[b][c+1];a||(a=(b=this.rows[b+1])&&b[0]);return a&&!this._isRangeStart(a.compareValue)};
g._isComparisonEnd=function(a){return rpa(a,this.comparisonStart,this.comparisonEnd)};g._isInComparisonRange=function(a){return spa(a,this.comparisonStart,this.comparisonEnd,this.isRange)};g._isComparisonIdentical=function(a){return this.comparisonStart===this.comparisonEnd&&a===this.comparisonStart};g._isPreviewStart=function(a){return qpa(a,this.previewStart,this.previewEnd)};g._isPreviewEnd=function(a){return rpa(a,this.previewStart,this.previewEnd)};
g._isInPreview=function(a){return spa(a,this.previewStart,this.previewEnd,this.isRange)};g._getDescribedby=function(a){return this.isRange?this.startValue===a&&this.endValue===a?this._startDateLabelId+" "+this._endDateLabelId:this.startValue===a?this._startDateLabelId:this.endValue===a?this._endDateLabelId:null:null};g._getCellFromElement=function(a){var b=ppa(a);return b&&(a=b.getAttribute("data-mat-row"),b=b.getAttribute("data-mat-col"),a&&b)?this.rows[parseInt(a)][parseInt(b)]:null};
Sy.\u0275fac=function(a){return new (a||Sy)};
Sy.\u0275cmp=t({type:Sy,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",
endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],standalone:!0,features:[Hd,$g],attrs:["mat-calendar-body",""],decls:7,vars:5,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role",
"gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(a,b){a&1&&(D(0,jpa,3,6,"tr",0),tg(1,npa,4,1,"tr",1,ipa,!0),I(3,"span",2),Q(4),J(),I(5,"span",2),Q(6),J());a&2&&(G(b._firstRowOffset<b.labelMinRequiredCells?
0:-1),C(),ug(b.rows),C(2),F("id",b._startDateLabelId),C(),R(" ",b.startDateAccessibleName,"\n"),C(),F("id",b._endDateLabelId),C(),R(" ",b.endDateAccessibleName,"\n"))},dependencies:[Ew],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color, var(--mat-app-primary))}.mat-calendar-body-label{height:0;line-height:0;text-align:start;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size, var(--mat-app-title-small-size));font-weight:var(--mat-datepicker-calendar-body-label-text-weight, var(--mat-app-title-small-weight));color:var(--mat-datepicker-calendar-body-label-text-color, var(--mat-app-on-surface))}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-app-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-app-body-medium-size));-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color, var(--mat-app-primary))}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-calendar-body-disabled{opacity:.5}}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color, var(--mat-app-on-surface));border-color:var(--mat-datepicker-calendar-date-outline-color, transparent)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}@media(forced-colors: active){.mat-calendar-body-cell-content{border:none}}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color, color-mix(in srgb, var(--mat-app-on-surface) calc(var(--mat-app-focus-state-layer-opacity) * 100%), transparent))}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color, color-mix(in srgb, var(--mat-app-on-surface) calc(var(--mat-app-hover-state-layer-opacity) * 100%), transparent))}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-app-primary));color:var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-app-on-primary))}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color, var(--mat-app-primary))}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-app-primary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-app-tertiary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-app-tertiary-container))}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-app-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-app-tertiary-container)) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-app-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-app-tertiary-container)) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--mat-app-secondary-container))}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--mat-app-secondary))}@media(forced-colors: active){.mat-datepicker-popup:not(:empty),.mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-selected{background:none}.mat-calendar-body-in-range::before,.mat-calendar-body-comparison-bridge-start::before,.mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}}\n'],
encapsulation:2,changeDetection:0});var Q3b=new Bd("MAT_BUTTON_CONFIG"),R3b=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},
{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Ty=function(){this._elementRef=r(ge);this._platform=r(Xw);this._ngZone=r(hh);this._animationMode=r(Zv,{optional:!0});this._focusMonitor=r(ax);this._rippleLoader=r(Qy);this._disabled=this._disableRipple=this._isFab=!1;r(Yw).load(Fy);var a=r(Q3b,{optional:!0}),b=this._elementRef.nativeElement,c=b.classList,d;this.disabledInteractive=
(d=a==null?void 0:a.disabledInteractive)!=null?d:!1;var e;this.color=(e=a==null?void 0:a.color)!=null?e:null;var f;(f=this._rippleLoader)==null||K3b(f,b,{className:"mat-mdc-button-ripple"});a=k(R3b);for(d=a.next();!d.done;d=a.next())d=d.value,e=d.mdcClasses,b.hasAttribute(d.attribute)&&c.add.apply(c,w(e))};g=Ty.prototype;g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};
g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);var a;(a=this._rippleLoader)==null||J3b(a,this._elementRef.nativeElement)};g.focus=function(a,b){(a=a===void 0?"program":a)?bx(this._focusMonitor,this._elementRef.nativeElement,a,b):this._elementRef.nativeElement.focus(b)};g._getAriaDisabled=function(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null};
g._getDisabledAttribute=function(){return this.disabledInteractive||!this.disabled?null:!0};g._updateRippleDisabled=function(){var a;(a=this._rippleLoader)==null||a.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)};
ea.Object.defineProperties(Ty.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=a;this._updateRippleDisabled()}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=a;this._updateRippleDisabled()}}});Ty.\u0275fac=function(a){return new (a||Ty)};
Ty.\u0275dir=ud({type:Ty,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",rh],disabled:[2,"disabled","disabled",rh],ariaDisabled:[2,"aria-disabled","ariaDisabled",rh],disabledInteractive:[2,"disabledInteractive","disabledInteractive",rh]},features:[dg]});var Uy=function(){Ty.apply(this,arguments);var a=this;this._haltDisabledEvents=function(b){a.disabled&&(b.preventDefault(),b.stopImmediatePropagation())}};Y(Uy,Ty);
Uy.prototype.ngOnInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("click",a._haltDisabledEvents)})};Uy.prototype.ngOnDestroy=function(){Ty.prototype.ngOnDestroy.call(this);this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)};Uy.prototype._getAriaDisabled=function(){return this.ariaDisabled==null?this.disabled:this.ariaDisabled};
Uy.\u0275fac=function(){var a;return function(b){return(a||(a=de(Uy)))(b||Uy)}}();Uy.\u0275dir=ud({type:Uy,inputs:{tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?void 0:sh(a)}]},features:[dg,cg]});var S3b=["mat-button",""],T3b=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],U3b=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],
V3b=function(){return'.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color, color-mix(in srgb, var(--mat-app-primary) calc(var(--mat-app-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color, color-mix(in srgb, var(--mat-app-on-primary) calc(var(--mat-app-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-disabled-container-color, color-mix(in srgb, var(--mat-app-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color, color-mix(in srgb, var(--mat-app-primary) calc(var(--mat-app-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-disabled-container-color, color-mix(in srgb, var(--mat-app-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color, color-mix(in srgb, var(--mat-app-primary) calc(var(--mat-app-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-disabled-outline-color, color-mix(in srgb, var(--mat-app-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}\n'},
W3b=function(){return"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}\n"},Vy=function(){Ty.apply(this,arguments)};Y(Vy,Ty);Vy.\u0275dir=Ty.\u0275dir;Vy.\u0275fac=function(){var a;return function(b){return(a||(a=de(Vy)))(b||Vy)}}();
Vy.\u0275cmp=t({type:Vy,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(a,b){a&2&&(eg("disabled",b._getDisabledAttribute())("aria-disabled",b._getAriaDisabled()),og(b.color?"mat-"+b.color:""),ng("mat-mdc-button-disabled",b.disabled)("mat-mdc-button-disabled-interactive",b.disabledInteractive)("_mat-animation-noopable",b._animationMode==="NoopAnimations")("mat-unthemed",!b.color)("mat-mdc-button-base",
!0))},exportAs:["matButton"],standalone:!0,features:[cg,$g],attrs:S3b,ngContentSelectors:U3b,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a,b){a&1&&(Dg(T3b),K(0,"span",0),Eg(1),I(2,"span",1),Eg(3,1),J(),Eg(4,2),K(5,"span",2)(6,"span",3));a&2&&ng("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},styles:[V3b(),W3b()],encapsulation:2,changeDetection:0});
var Wy=function(){Uy.apply(this,arguments)};Y(Wy,Uy);Wy.\u0275dir=Uy.\u0275dir;Wy.\u0275fac=function(){var a;return function(b){return(a||(a=de(Wy)))(b||Wy)}}();
Wy.\u0275cmp=t({type:Wy,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(a,b){a&2&&(eg("disabled",b._getDisabledAttribute())("tabindex",b.disabled&&!b.disabledInteractive?-1:b.tabIndex)("aria-disabled",b._getDisabledAttribute()),og(b.color?"mat-"+b.color:""),ng("mat-mdc-button-disabled",b.disabled)("mat-mdc-button-disabled-interactive",b.disabledInteractive)("_mat-animation-noopable",b._animationMode===
"NoopAnimations")("mat-unthemed",!b.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[cg,$g],attrs:S3b,ngContentSelectors:U3b,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a,b){a&1&&(Dg(T3b),K(0,"span",0),Eg(1),I(2,"span",1),Eg(3,1),J(),Eg(4,2),K(5,"span",2)(6,"span",3));a&2&&ng("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},
styles:[V3b(),W3b()],encapsulation:2,changeDetection:0});var X3b=new Bd("mat-mdc-fab-default-options",{providedIn:"root",factory:upa});var Y3b=["mat-icon-button",""],Z3b=["*"],$3b=function(){return'.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-app-on-surface-variant) calc(var(--mat-app-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\n'},
a4b=function(){return"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-icon-button.mat-mdc-icon-button{outline:solid 1px}}\n"},Xy=function(){Ty.call(this);K3b(this._rippleLoader,this._elementRef.nativeElement,{centered:!0})};Y(Xy,Ty);Xy.\u0275dir=Ty.\u0275dir;Xy.\u0275fac=function(a){return new (a||Xy)};
Xy.\u0275cmp=t({type:Xy,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(a,b){a&2&&(eg("disabled",b._getDisabledAttribute())("aria-disabled",b._getAriaDisabled()),og(b.color?"mat-"+b.color:""),ng("mat-mdc-button-disabled",b.disabled)("mat-mdc-button-disabled-interactive",b.disabledInteractive)("_mat-animation-noopable",b._animationMode==="NoopAnimations")("mat-unthemed",!b.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[cg,$g],attrs:Y3b,
ngContentSelectors:Z3b,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a){a&1&&(Dg(),K(0,"span",0),Eg(1),K(2,"span",1)(3,"span",2))},styles:[$3b(),a4b()],encapsulation:2,changeDetection:0});var Yy=function(){Uy.apply(this,arguments)};Y(Yy,Uy);Yy.\u0275dir=Uy.\u0275dir;Yy.\u0275fac=function(){var a;return function(b){return(a||(a=de(Yy)))(b||Yy)}}();
Yy.\u0275cmp=t({type:Yy,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(a,b){a&2&&(eg("disabled",b._getDisabledAttribute())("tabindex",b.disabled&&!b.disabledInteractive?-1:b.tabIndex)("aria-disabled",b._getDisabledAttribute()),og(b.color?"mat-"+b.color:""),ng("mat-mdc-button-disabled",b.disabled)("mat-mdc-button-disabled-interactive",b.disabledInteractive)("_mat-animation-noopable",b._animationMode==="NoopAnimations")("mat-unthemed",!b.color)("mat-mdc-button-base",!0))},
exportAs:["matButton","matAnchor"],standalone:!0,features:[cg,$g],attrs:Y3b,ngContentSelectors:Z3b,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a){a&1&&(Dg(),K(0,"span",0),Eg(1),K(2,"span",1)(3,"span",2))},styles:[$3b(),a4b()],encapsulation:2,changeDetection:0});var Zy=function(){};Zy.\u0275fac=function(a){return new (a||Zy)};Zy.\u0275mod=u({type:Zy});Zy.\u0275inj=p({imports:[yy,Ny,yy]});var $y=function(a,b){this.selection=a;this._adapter=b;this.selectionChanged=this._selectionChanged=new Jf;this.selection=a};$y.prototype.updateSelection=function(a,b){var c=this.selection;this.selection=a;this._selectionChanged.next({selection:a,source:b,oldValue:c})};$y.prototype.ngOnDestroy=function(){this._selectionChanged.complete()};$y.prototype._isValidDateInstance=function(a){return a instanceof Uk&&this._adapter.isValid(a)};$y.\u0275fac=function(){qia()};$y.\u0275prov=n({token:$y,factory:$y.\u0275fac});
var az=function(a){$y.call(this,null,a)};Y(az,$y);az.prototype.add=function(a){$y.prototype.updateSelection.call(this,a,this)};az.prototype.isValid=function(){return this.selection!=null&&this._isValidDateInstance(this.selection)};az.prototype.isComplete=function(){return this.selection!=null};az.prototype.clone=function(){var a=new az(this._adapter);a.updateSelection(this.selection,this);return a};az.\u0275fac=function(a){return new (a||az)(md(zy))};az.\u0275prov=n({token:az,factory:az.\u0275fac});
var b4b={provide:$y,deps:[[new Wv,new Xv,$y],zy],useFactory:function(a,b){return a||new az(b)}};new Wv;new Xv;var bz=function(){this.changes=new Jf;this.openCalendarLabel="Open calendar";this.closeCalendarLabel="Close calendar"};bz.prototype.formatYearRange=function(a,b){return a+" \u2013 "+b};bz.prototype.formatYearRangeLabel=function(a,b){return a+" to "+b};bz.\u0275fac=function(a){return new (a||bz)};bz.\u0275prov=n({token:bz,factory:bz.\u0275fac,providedIn:"root"});var c4b=new Bd("MAT_DATE_RANGE_SELECTION_STRATEGY");new Wv;new Xv;var d4b=function(a,b){return b.id},e4b=0,cz=function(){this._changeDetectorRef=r(rw);this._dateFormats=r(Dy,{optional:!0});this._dateAdapter=r(zy,{optional:!0});this._dir=r(Jx,{optional:!0});this._rangeStrategy=r(c4b,{optional:!0});this._rerenderSubscription=me.EMPTY;this.activeDrag=null;this.selectedChange=new kw;this._userSelection=new kw;this.dragStarted=new kw;this.dragEnded=new kw;this.activeDateChange=new kw;this._activeDate=new Uk};g=cz.prototype;
g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Mf(null)).subscribe(function(){return a._init()})};g.ngOnChanges=function(a){var b=a.comparisonStart||a.comparisonEnd;b&&!b.firstChange&&this._setRanges(this.selected);a.activeDrag&&!this.activeDrag&&this._clearPreview()};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
g._dateSelected=function(a){var b=a.value,c=this._getDateFromDayOfMonth(b),d;(d=this._getDateInCurrentMonth(this._selected))===b&&d===b||this.selectedChange.emit(c);this._userSelection.emit({value:c,event:a.event});this._clearPreview();this._changeDetectorRef.markForCheck()};g._updateActiveDate=function(a){var b=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(a.value);Cy(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this._activeDate)};
g._handleCalendarBodyKeydown=function(a){var b=this._activeDate,c=this._isRtl();switch(a.keyCode){case 37:this.activeDate=dz(this._activeDate,c?1:-1);break;case 39:this.activeDate=dz(this._activeDate,c?-1:1);break;case 38:this.activeDate=dz(this._activeDate,-7);break;case 40:this.activeDate=dz(this._activeDate,7);break;case 36:this.activeDate=dz(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=dz(this._activeDate,Y1b(this._activeDate)-this._dateAdapter.getDate(this._activeDate));
break;case 33:this.activeDate=a.altKey?ez(this._activeDate,-1):fz(this._activeDate,-1);break;case 34:this.activeDate=a.altKey?ez(this._activeDate,1):fz(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0;this._canSelect(this._activeDate)&&a.preventDefault();return;case 27:this._previewEnd==null||Yh(a)||(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:a}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:a})),a.preventDefault(),
a.stopPropagation());return;default:return}Cy(this._dateAdapter,b,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked());a.preventDefault()};g._handleCalendarBodyKeyup=function(a){if(a.keyCode===32||a.keyCode===13)this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:a}),this._selectionKeyPressed=!1};
g._init=function(){this._setRanges(this.selected);this._todayDate=this._getCellCompareValue(new Uk);this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.locale.SHORTMONTHS[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();this._firstWeekOffset=(7+gz(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1).getDay()-this._dateAdapter.getFirstDayOfWeek())%
7;this._initWeekdays();this._createWeekCells();this._changeDetectorRef.markForCheck()};g._focusActiveCell=function(a){this._matCalendarBody._focusActiveCell(a)};g._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
g._previewChanged=function(a){var b=a.event;a=a.value;if(this._rangeStrategy){a=a?a.rawValue:null;var c=this._rangeStrategy.createPreview(a,this.selected,b);this._previewStart=this._getCellCompareValue(c.start);this._previewEnd=this._getCellCompareValue(c.end);if(this.activeDrag&&a){var d,e;if(c=(e=(d=this._rangeStrategy).createDrag)==null?void 0:e.call(d,this.activeDrag.value,this.selected,a,b))this._previewStart=this._getCellCompareValue(c.start),this._previewEnd=this._getCellCompareValue(c.end)}this._changeDetectorRef.detectChanges()}};
g._dragEnded=function(a){if(this.activeDrag)if(a.value){var b,c,d=(b=this._rangeStrategy)==null?void 0:(c=b.createDrag)==null?void 0:c.call(b,this.activeDrag.value,this.selected,a.value,a.event);this.dragEnded.emit({value:d!=null?d:null,event:a.event})}else this.dragEnded.emit({value:null,event:a.event})};g._getDateFromDayOfMonth=function(a){return gz(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),a)};
g._initWeekdays=function(){var a=this._dateAdapter.getFirstDayOfWeek(),b=f4b(this._dateAdapter,"narrow"),c=f4b(this._dateAdapter,"long").map(function(d,e){return{long:d,narrow:b[e],id:e4b++}});this._weekdays=c.slice(a).concat(c.slice(0,a))};
g._createWeekCells=function(){var a=Y1b(this.activeDate),b=g4b;this._weeks=[[]];for(var c=0,d=this._firstWeekOffset;c<a;c++,d++){d==7&&(this._weeks.push([]),d=0);var e=gz(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),c+1),f=this._shouldEnableDate(e),h=this._dateAdapter.format(e,this._dateFormats.display.dateA11yLabel),l=this.dateClass?this.dateClass(e,"month"):void 0;this._weeks[this._weeks.length-1].push(new M3b(c+1,b[c],h,f,l,this._getCellCompareValue(e),
e))}};g._shouldEnableDate=function(a){return!!a&&(!this.minDate||Cy(this._dateAdapter,a,this.minDate)>=0)&&(!this.maxDate||Cy(this._dateAdapter,a,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(a))};g._getDateInCurrentMonth=function(a){return a&&this._hasSameMonthAndYear(a,this.activeDate)?this._dateAdapter.getDate(a):null};g._hasSameMonthAndYear=function(a,b){return!(!a||!b||this._dateAdapter.getMonth(a)!=this._dateAdapter.getMonth(b)||this._dateAdapter.getYear(a)!=this._dateAdapter.getYear(b))};
g._getCellCompareValue=function(a){if(a){var b=this._dateAdapter.getYear(a),c=this._dateAdapter.getMonth(a);return(new Date(b,c,this._dateAdapter.getDate(a))).getTime()}return null};g._isRtl=function(){return this._dir&&this._dir.value==="rtl"};g._setRanges=function(a){this._rangeStart=this._rangeEnd=this._getCellCompareValue(a);this._isRange=!1;this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart);this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)};
g._canSelect=function(a){return!this.dateFilter||this.dateFilter(a)};g._clearPreview=function(){this._previewStart=this._previewEnd=null};
ea.Object.defineProperties(cz.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Ay(this._dateAdapter,By(this._dateAdapter,a))||new Uk;this._activeDate=p3b(this._dateAdapter,a,this.minDate,this.maxDate);this._hasSameMonthAndYear(b,this._activeDate)||this._init()}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._selected=Ay(this._dateAdapter,By(this._dateAdapter,a));
this._setRanges(this._selected)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Ay(this._dateAdapter,By(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Ay(this._dateAdapter,By(this._dateAdapter,a))}}});cz.\u0275fac=function(a){return new (a||cz)};
cz.\u0275cmp=t({type:cz,selectors:[["mat-month-view"]],viewQuery:function(a,b){a&1&&Mg(Sy,5);if(a&2){var c;Qg(c=Rg())&&(b._matCalendarBody=c.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",
_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],standalone:!0,features:[Hd,$g],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows",
"todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(a,b){a&1&&(I(0,"table",0)(1,"thead",1)(2,"tr"),tg(3,vpa,5,2,"th",2,d4b),J(),I(5,"tr",3),K(6,"th",4),J()(),I(7,"tbody",5),M("selectedValueChange",function(c){return b._dateSelected(c)})("activeDateChange",function(c){return b._updateActiveDate(c)})("previewChange",
function(c){return b._previewChanged(c)})("dragStarted",function(c){return b.dragStarted.emit(c)})("dragEnded",function(c){return b._dragEnded(c)})("keyup",function(c){return b._handleCalendarBodyKeyup(c)})("keydown",function(c){return b._handleCalendarBodyKeydown(c)}),J()());a&2&&(C(3),ug(b._weekdays),C(4),F("label",b._monthLabel)("rows",b._weeks)("todayValue",b._todayDate)("startValue",b._rangeStart)("endValue",b._rangeEnd)("comparisonStart",b._comparisonRangeStart)("comparisonEnd",b._comparisonRangeEnd)("previewStart",
b._previewStart)("previewEnd",b._previewEnd)("isRange",b._isRange)("labelMinRequiredCells",3)("activeCell",b._dateAdapter.getDate(b.activeDate)-1)("startDateAccessibleName",b.startDateAccessibleName)("endDateAccessibleName",b.endDateAccessibleName))},dependencies:[Sy],encapsulation:2,changeDetection:0});var hz=function(){this._changeDetectorRef=r(rw);this._dateAdapter=r(zy,{optional:!0});this._dir=r(Jx,{optional:!0});this._rerenderSubscription=me.EMPTY;this.selectedChange=new kw;this.yearSelected=new kw;this.activeDateChange=new kw;this._activeDate=new Uk};g=hz.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Mf(null)).subscribe(function(){return a._init()})};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
g._init=function(){var a=this;this._todayYear=this._dateAdapter.getYear(new Uk);var b=this._dateAdapter.getYear(this._activeDate)-gi(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var c=0,d=[];c<24;c++)d.push(b+c),d.length==4&&(this._years.push(d.map(function(e){return a._createCellForYear(e)})),d=[]);this._changeDetectorRef.markForCheck()};g._yearSelected=function(a){var b=a.value;a=gz(b,0,1);b=this._getDateFromYear(b);this.yearSelected.emit(a);this.selectedChange.emit(b)};
g._updateActiveDate=function(a){var b=this._activeDate;this.activeDate=this._getDateFromYear(a.value);Cy(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate)};
g._handleCalendarBodyKeydown=function(a){var b=this._activeDate,c=this._isRtl();switch(a.keyCode){case 37:this.activeDate=ez(this._activeDate,c?1:-1);break;case 39:this.activeDate=ez(this._activeDate,c?-1:1);break;case 38:this.activeDate=ez(this._activeDate,-4);break;case 40:this.activeDate=ez(this._activeDate,4);break;case 36:this.activeDate=ez(this._activeDate,-gi(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=ez(this._activeDate,24-gi(this._dateAdapter,
this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=ez(this._activeDate,a.altKey?-240:-24);break;case 34:this.activeDate=ez(this._activeDate,a.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}Cy(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate);this._focusActiveCellAfterViewChecked();a.preventDefault()};
g._handleCalendarBodyKeyup=function(a){if(a.keyCode===32||a.keyCode===13)this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:a}),this._selectionKeyPressed=!1};g._getActiveCell=function(){return gi(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)};g._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()};g._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
g._getDateFromYear=function(a){var b=this._dateAdapter.getMonth(this.activeDate);var c=gz(a,b,1);c=Y1b(c);return gz(a,b,Math.min(this._dateAdapter.getDate(this.activeDate),c))};g._createCellForYear=function(a){var b=gz(a,0,1),c=""+b.getFullYear();b=this.dateClass?this.dateClass(b,"multi-year"):void 0;return new M3b(a,c,c,this._shouldEnableYear(a),b)};
g._shouldEnableYear=function(a){if(a===void 0||a===null||this.maxDate&&a>this._dateAdapter.getYear(this.maxDate)||this.minDate&&a<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(var b=gz(a,0,1);this._dateAdapter.getYear(b)==a;b=dz(b,1))if(this.dateFilter(b))return!0;return!1};g._isRtl=function(){return this._dir&&this._dir.value==="rtl"};g._setSelectedYear=function(a){this._selectedYear=null;a&&(this._selectedYear=this._dateAdapter.getYear(a))};
ea.Object.defineProperties(hz.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Ay(this._dateAdapter,By(this._dateAdapter,a))||new Uk;this._activeDate=p3b(this._dateAdapter,a,this.minDate,this.maxDate);xpa(this._dateAdapter,b,this._activeDate,this.minDate,this.maxDate)||this._init()}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._selected=Ay(this._dateAdapter,By(this._dateAdapter,
a));this._setSelectedYear(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Ay(this._dateAdapter,By(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Ay(this._dateAdapter,By(this._dateAdapter,a))}}});hz.\u0275fac=function(a){return new (a||hz)};
hz.\u0275cmp=t({type:hz,selectors:[["mat-multi-year-view"]],viewQuery:function(a,b){a&1&&Mg(Sy,5);if(a&2){var c;Qg(c=Rg())&&(b._matCalendarBody=c.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],standalone:!0,features:[$g],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],
["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function(a,b){a&1&&(I(0,"table",0)(1,"thead",1)(2,"tr"),K(3,"th",2),J()(),I(4,"tbody",3),M("selectedValueChange",function(c){return b._yearSelected(c)})("activeDateChange",function(c){return b._updateActiveDate(c)})("keyup",
function(c){return b._handleCalendarBodyKeyup(c)})("keydown",function(c){return b._handleCalendarBodyKeydown(c)}),J()());a&2&&(C(4),F("rows",b._years)("todayValue",b._todayYear)("startValue",b._selectedYear)("endValue",b._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",b._getActiveCell()))},dependencies:[Sy],encapsulation:2,changeDetection:0});var iz=function(){this._changeDetectorRef=r(rw);this._dateFormats=r(Dy,{optional:!0});this._dateAdapter=r(zy,{optional:!0});this._dir=r(Jx,{optional:!0});this._rerenderSubscription=me.EMPTY;this.selectedChange=new kw;this.monthSelected=new kw;this.activeDateChange=new kw;this._activeDate=new Uk};g=iz.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Mf(null)).subscribe(function(){return a._init()})};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
g._monthSelected=function(a){a=a.value;var b=gz(this._dateAdapter.getYear(this.activeDate),a,1);this.monthSelected.emit(b);a=this._getDateFromMonth(a);this.selectedChange.emit(a)};g._updateActiveDate=function(a){var b=this._activeDate;this.activeDate=this._getDateFromMonth(a.value);Cy(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate)};
g._handleCalendarBodyKeydown=function(a){var b=this._activeDate,c=this._isRtl();switch(a.keyCode){case 37:this.activeDate=fz(this._activeDate,c?1:-1);break;case 39:this.activeDate=fz(this._activeDate,c?-1:1);break;case 38:this.activeDate=fz(this._activeDate,-4);break;case 40:this.activeDate=fz(this._activeDate,4);break;case 36:this.activeDate=fz(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=fz(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));
break;case 33:this.activeDate=ez(this._activeDate,a.altKey?-10:-1);break;case 34:this.activeDate=ez(this._activeDate,a.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}Cy(this._dateAdapter,b,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked());a.preventDefault()};
g._handleCalendarBodyKeyup=function(a){if(a.keyCode===32||a.keyCode===13)this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:a}),this._selectionKeyPressed=!1};
g._init=function(){var a=this;this._setSelectedMonth(this.selected);this._todayMonth=this._getMonthInCurrentYear(new Uk);this._yearLabel=""+this.activeDate.getFullYear();var b=this._dateAdapter.locale.SHORTMONTHS;this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(function(c){return c.map(function(d){return a._createCellForMonth(d,b[d])})});this._changeDetectorRef.markForCheck()};g._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()};g._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
g._getMonthInCurrentYear=function(a){return a&&this._dateAdapter.getYear(a)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(a):null};g._getDateFromMonth=function(a){var b=gz(this._dateAdapter.getYear(this.activeDate),a,1);b=Y1b(b);return gz(this._dateAdapter.getYear(this.activeDate),a,Math.min(this._dateAdapter.getDate(this.activeDate),b))};
g._createCellForMonth=function(a,b){var c=gz(this._dateAdapter.getYear(this.activeDate),a,1),d=this._dateAdapter.format(c,this._dateFormats.display.monthYearA11yLabel);c=this.dateClass?this.dateClass(c,"year"):void 0;return new M3b(a,b.toLocaleUpperCase(),d,this._shouldEnableMonth(a),c)};
g._shouldEnableMonth=function(a){var b=this._dateAdapter.getYear(this.activeDate);if(a===void 0||a===null||this._isYearAndMonthAfterMaxDate(b,a)||this._isYearAndMonthBeforeMinDate(b,a))return!1;if(!this.dateFilter)return!0;for(b=gz(b,a,1);this._dateAdapter.getMonth(b)==a;b=dz(b,1))if(this.dateFilter(b))return!0;return!1};g._isYearAndMonthAfterMaxDate=function(a,b){if(this.maxDate){var c=this._dateAdapter.getYear(this.maxDate),d=this._dateAdapter.getMonth(this.maxDate);return a>c||a===c&&b>d}return!1};
g._isYearAndMonthBeforeMinDate=function(a,b){if(this.minDate){var c=this._dateAdapter.getYear(this.minDate),d=this._dateAdapter.getMonth(this.minDate);return a<c||a===c&&b<d}return!1};g._isRtl=function(){return this._dir&&this._dir.value==="rtl"};g._setSelectedMonth=function(a){this._selectedMonth=this._getMonthInCurrentYear(a)};
ea.Object.defineProperties(iz.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Ay(this._dateAdapter,By(this._dateAdapter,a))||new Uk;this._activeDate=p3b(this._dateAdapter,a,this.minDate,this.maxDate);this._dateAdapter.getYear(b)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._selected=Ay(this._dateAdapter,
By(this._dateAdapter,a));this._setSelectedMonth(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Ay(this._dateAdapter,By(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Ay(this._dateAdapter,By(this._dateAdapter,a))}}});iz.\u0275fac=function(a){return new (a||iz)};
iz.\u0275cmp=t({type:iz,selectors:[["mat-year-view"]],viewQuery:function(a,b){a&1&&Mg(Sy,5);if(a&2){var c;Qg(c=Rg())&&(b._matCalendarBody=c.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],standalone:!0,features:[$g],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],
["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function(a,b){a&1&&(I(0,"table",0)(1,"thead",1)(2,"tr"),K(3,"th",2),J()(),I(4,"tbody",3),M("selectedValueChange",function(c){return b._monthSelected(c)})("activeDateChange",function(c){return b._updateActiveDate(c)})("keyup",
function(c){return b._handleCalendarBodyKeyup(c)})("keydown",function(c){return b._handleCalendarBodyKeydown(c)}),J()());a&2&&(C(4),F("label",b._yearLabel)("rows",b._months)("todayValue",b._todayMonth)("startValue",b._selectedMonth)("endValue",b._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",b._dateAdapter.getMonth(b.activeDate)))},dependencies:[Sy],encapsulation:2,changeDetection:0});var h4b=1,kz=function(){this._intl=r(bz);this.calendar=r(jz);this._dateAdapter=r(zy,{optional:!0});this._dateFormats=r(Dy,{optional:!0});this._id="mat-calendar-header-"+h4b++;this._periodButtonLabelId=this._id+"-period-label";var a=r(rw);this.calendar.stateChanges.subscribe(function(){return a.markForCheck()})};
kz.prototype._isSameView=function(a,b){return this.calendar.currentView=="month"?this._dateAdapter.getYear(a)==this._dateAdapter.getYear(b)&&this._dateAdapter.getMonth(a)==this._dateAdapter.getMonth(b):this.calendar.currentView=="year"?this._dateAdapter.getYear(a)==this._dateAdapter.getYear(b):xpa(this._dateAdapter,a,b,this.calendar.minDate,this.calendar.maxDate)};
kz.prototype._formatMinAndMaxYearLabels=function(){var a=this._dateAdapter.getYear(this.calendar.activeDate)-gi(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),b=a+24-1;a=""+gz(a,0,1).getFullYear();b=""+gz(b,0,1).getFullYear();return[a,b]};
ea.Object.defineProperties(kz.prototype,{periodButtonText:{configurable:!0,enumerable:!0,get:function(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?""+this.calendar.activeDate.getFullYear():this._intl.formatYearRange.apply(this._intl,w(this._formatMinAndMaxYearLabels()))}},periodButtonDescription:{configurable:!0,enumerable:!0,get:function(){return this.calendar.currentView==
"month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?""+this.calendar.activeDate.getFullYear():this._intl.formatYearRangeLabel.apply(this._intl,w(this._formatMinAndMaxYearLabels()))}},periodButtonLabel:{configurable:!0,enumerable:!0,get:function(){return this.calendar.currentView=="month"?"Choose month and year":"Choose date"}},prevButtonLabel:{configurable:!0,enumerable:!0,get:function(){return{month:"Previous month",
year:"Previous year","multi-year":"Previous 24 years"}[this.calendar.currentView]}},nextButtonLabel:{configurable:!0,enumerable:!0,get:function(){return{month:"Next month",year:"Next year","multi-year":"Next 24 years"}[this.calendar.currentView]}}});kz.\u0275fac=function(a){return new (a||kz)};
kz.\u0275cmp=t({type:kz,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],standalone:!0,features:[$g],ngContentSelectors:["*"],decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["mat-button","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],
["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"click","disabled"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"click","disabled"]],template:function(a,b){a&1&&(Dg(),I(0,"div",0)(1,"div",1)(2,"span",2),Q(3),J(),I(4,"button",3),M("click",function(){b.calendar.currentView=b.calendar.currentView=="month"?"multi-year":"month"}),I(5,"span",4),Q(6),J(),Wd(),I(7,"svg",5),K(8,"polygon",6),J()(),Pd.currentNamespace=null,K(9,"div",7),Eg(10),I(11,"button",8),
M("click",function(){b.calendar.activeDate=b.calendar.currentView=="month"?fz(b.calendar.activeDate,-1):ez(b.calendar.activeDate,b.calendar.currentView=="year"?-1:-24)}),J(),I(12,"button",9),M("click",function(){b.calendar.activeDate=b.calendar.currentView=="month"?fz(b.calendar.activeDate,1):ez(b.calendar.activeDate,b.calendar.currentView=="year"?1:24)}),J()()());a&2&&(C(2),F("id",b._periodButtonLabelId),C(),Tg(b.periodButtonDescription),C(),eg("aria-label",b.periodButtonLabel)("aria-describedby",
b._periodButtonLabelId),C(2),Tg(b.periodButtonText),C(),ng("mat-calendar-invert",b.calendar.currentView!=="month"),C(4),F("disabled",!(b.calendar.minDate?!b.calendar.minDate||!b._isSameView(b.calendar.activeDate,b.calendar.minDate):1)),eg("aria-label",b.prevButtonLabel),C(),F("disabled",!(!b.calendar.maxDate||!b._isSameView(b.calendar.activeDate,b.calendar.maxDate))),eg("aria-label",b.nextButtonLabel))},dependencies:[Vy,Xy],encapsulation:2,changeDetection:0});
var jz=function(){var a=this;this._dateAdapter=r(zy,{optional:!0});this._dateFormats=r(Dy,{optional:!0});this._changeDetectorRef=r(rw);this._moveFocusOnNextTick=!1;this.startView="month";this.selectedChange=new kw;this.yearSelected=new kw;this.monthSelected=new kw;this.viewChanged=new kw(!0);this._userSelection=new kw;this._userDragDrop=new kw;this._activeDrag=null;this.stateChanges=new Jf;this._intlChanges=r(bz).changes.subscribe(function(){a._changeDetectorRef.markForCheck();a.stateChanges.next()})};
g=jz.prototype;g.ngAfterContentInit=function(){this._calendarHeaderPortal=new my(this.headerComponent||kz);this.activeDate=this.startAt||new Uk;this._currentView=this.startView};g.ngAfterViewChecked=function(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this._getCurrentViewComponent()._focusActiveCell(!1))};g.ngOnDestroy=function(){this._intlChanges.unsubscribe();this.stateChanges.complete()};
g.ngOnChanges=function(a){var b=a.minDate&&!this._dateAdapter.sameDate(a.minDate.previousValue,a.minDate.currentValue)?a.minDate:void 0,c=a.maxDate&&!this._dateAdapter.sameDate(a.maxDate.previousValue,a.maxDate.currentValue)?a.maxDate:void 0;(a=b||c||a.dateFilter)&&!a.firstChange&&(a=this._getCurrentViewComponent())&&(this._moveFocusOnNextTick=!0,this._changeDetectorRef.detectChanges(),a._init());this.stateChanges.next()};
g._dateSelected=function(a){var b=a.value;b&&!this._dateAdapter.sameDate(b,this.selected)&&this.selectedChange.emit(b);this._userSelection.emit(a)};g._yearSelectedInMultiYearView=function(a){this.yearSelected.emit(a)};g._monthSelectedInYearView=function(a){this.monthSelected.emit(a)};g._goToDateInView=function(a,b){this.activeDate=a;this.currentView=b};g._dragStarted=function(a){this._activeDrag=a};g._dragEnded=function(a){this._activeDrag&&(a.value&&this._userDragDrop.emit(a),this._activeDrag=null)};
g._getCurrentViewComponent=function(){return this.monthView||this.yearView||this.multiYearView};
ea.Object.defineProperties(jz.prototype,{startAt:{configurable:!0,enumerable:!0,get:function(){return this._startAt},set:function(a){this._startAt=Ay(this._dateAdapter,By(this._dateAdapter,a))}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._selected=Ay(this._dateAdapter,By(this._dateAdapter,a))}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Ay(this._dateAdapter,By(this._dateAdapter,a))}},
maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Ay(this._dateAdapter,By(this._dateAdapter,a))}},activeDate:{configurable:!0,enumerable:!0,get:function(){return this._clampedActiveDate},set:function(a){this._clampedActiveDate=p3b(this._dateAdapter,a,this.minDate,this.maxDate);this.stateChanges.next();this._changeDetectorRef.markForCheck()}},currentView:{configurable:!0,enumerable:!0,get:function(){return this._currentView},set:function(a){var b=
this._currentView!==a?a:null;this._currentView=a;this._moveFocusOnNextTick=!0;this._changeDetectorRef.markForCheck();b&&this.viewChanged.emit(b)}}});jz.\u0275fac=function(a){return new (a||jz)};
jz.\u0275cmp=t({type:jz,selectors:[["mat-calendar"]],viewQuery:function(a,b){a&1&&(Mg(cz,5),Mg(iz,5),Mg(hz,5));if(a&2){var c;Qg(c=Rg())&&(b.monthView=c.first);Qg(c=Rg())&&(b.yearView=c.first);Qg(c=Rg())&&(b.multiYearView=c.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",
startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],standalone:!0,features:[Yg([b4b]),Hd,$g],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter",
"maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate",
"selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(a,b){a&1&&(D(0,ypa,0,0,"ng-template",0),I(1,"div",1),D(2,zpa,1,11,"mat-month-view",2)(3,Apa,1,6,"mat-year-view",3)(4,Bpa,1,6,"mat-multi-year-view",3),J());if(a&2){var c;F("cdkPortalOutlet",b._calendarHeaderPortal);C(2);G((c=b.currentView)==="month"?2:c==="year"?3:c==="multi-year"?4:-1)}},dependencies:[ry,
cx,cz,iz,hz],styles:['.mat-calendar{display:block;line-height:normal;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-app-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-app-body-medium-size))}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size, var(--mat-app-title-small-size));font-weight:var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-app-title-small-weight));--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color, var(--mat-app-on-surface-variant))}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-app-on-surface-variant))}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}@media(forced-colors: active){.mat-calendar-arrow{fill:CanvasText}}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-app-on-surface-variant))}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color, var(--mat-app-on-surface-variant));font-size:var(--mat-datepicker-calendar-header-text-size, var(--mat-app-title-small-size));font-weight:var(--mat-datepicker-calendar-header-text-weight, var(--mat-app-title-small-weight))}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color, transparent)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var lz=function(a,b){this._renderer=a;this._elementRef=b;this.onChange=function(){};this.onTouched=function(){}};lz.prototype.setProperty=function(a,b){this._renderer.setProperty(this._elementRef.nativeElement,a,b)};lz.prototype.registerOnTouched=function(a){this.onTouched=a};lz.prototype.registerOnChange=function(a){this.onChange=a};lz.prototype.setDisabledState=function(a){this.setProperty("disabled",a)};lz.\u0275fac=function(a){return new (a||lz)(af($v),af(ge))};lz.\u0275dir=ud({type:lz});
var li=function(){lz.apply(this,arguments)};Y(li,lz);li.\u0275fac=function(){var a;return function(b){return(a||(a=de(li)))(b||li)}}();li.\u0275dir=ud({type:li,features:[cg]});var mz=new Bd("");var i4b={provide:mz,useExisting:id(function(){return ki}),multi:!0},j4b=new Bd(""),ki=function(a,b,c){lz.call(this,a,b);this._compositionMode=c;this._composing=!1;this._compositionMode==null&&(this._compositionMode=!/android (\d+)/.test((k2b?window.navigator.userAgent:"").toLowerCase()))};Y(ki,lz);ki.prototype.writeValue=function(a){this.setProperty("value",a==null?"":a)};ki.prototype._handleInput=function(a){if(!this._compositionMode||this._compositionMode&&!this._composing)this.onChange(a)};
ki.prototype._compositionStart=function(){this._composing=!0};ki.prototype._compositionEnd=function(a){this._composing=!1;this._compositionMode&&this.onChange(a)};ki.\u0275fac=function(a){return new (a||ki)(af($v),af(ge),af(j4b,8))};
ki.\u0275dir=ud({type:ki,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(a,b){a&1&&M("input",function(c){return b._handleInput(c.target.value)})("blur",function(){return b.onTouched()})("compositionstart",function(){return b._compositionStart()})("compositionend",
function(c){return b._compositionEnd(c.target.value)})},features:[Yg([i4b]),cg]});var nz=new Bd(""),oz=new Bd(""),pz=function(a){return Epa(a)};var qz=function(){this._rawValidators=[];this._rawAsyncValidators=[];this._onDestroyCallbacks=[]};g=qz.prototype;g._setValidators=function(a){this._rawValidators=a||[];this._composedValidatorFn=Opa(this._rawValidators)};g._setAsyncValidators=function(a){this._rawAsyncValidators=a||[];this._composedAsyncValidatorFn=Qpa(this._rawAsyncValidators)};g._registerOnDestroy=function(a){this._onDestroyCallbacks.push(a)};
g._invokeOnDestroyCallbacks=function(){this._onDestroyCallbacks.forEach(function(a){return a()});this._onDestroyCallbacks=[]};g.reset=function(a){this.control&&this.control.reset(a)};g.hasError=function(a,b){return this.control?this.control.hasError(a,b):!1};g.getError=function(a,b){return this.control?this.control.getError(a,b):null};
ea.Object.defineProperties(qz.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.value:null}},valid:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.valid:null}},invalid:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.invalid:null}},pending:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.pending:null}},disabled:{configurable:!0,enumerable:!0,get:function(){return this.control?
this.control.disabled:null}},enabled:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.enabled:null}},errors:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.errors:null}},pristine:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.pristine:null}},dirty:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.dirty:null}},touched:{configurable:!0,enumerable:!0,get:function(){return this.control?
this.control.touched:null}},status:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.status:null}},untouched:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.untouched:null}},statusChanges:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.statusChanges:null}},valueChanges:{configurable:!0,enumerable:!0,get:function(){return this.control?this.control.valueChanges:null}},path:{configurable:!0,enumerable:!0,get:function(){return null}},
validator:{configurable:!0,enumerable:!0,get:function(){return this._composedValidatorFn||null}},asyncValidator:{configurable:!0,enumerable:!0,get:function(){return this._composedAsyncValidatorFn||null}}});var rz=function(){qz.apply(this,arguments);this.valueAccessor=this.name=this._parent=null};Y(rz,qz);var sz=function(){qz.apply(this,arguments)};Y(sz,qz);ea.Object.defineProperties(sz.prototype,{formDirective:{configurable:!0,enumerable:!0,get:function(){return null}},path:{configurable:!0,enumerable:!0,get:function(){return null}}});var k4b=function(a){this._cd=a};
ea.Object.defineProperties(k4b.prototype,{isTouched:{configurable:!0,enumerable:!0,get:function(){var a,b,c;(a=this._cd)==null||(b=a.control)==null||(c=b._touched)==null||c.call(b);var d,e;return!!((d=this._cd)==null?0:(e=d.control)==null?0:e.touched)}},isUntouched:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!((a=this._cd)==null?0:(b=a.control)==null?0:b.untouched)}},isPristine:{configurable:!0,enumerable:!0,get:function(){var a,b,c;(a=this._cd)==null||(b=a.control)==null||(c=b._pristine)==
null||c.call(b);var d,e;return!!((d=this._cd)==null?0:(e=d.control)==null?0:e.pristine)}},isDirty:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!((a=this._cd)==null?0:(b=a.control)==null?0:b.dirty)}},isValid:{configurable:!0,enumerable:!0,get:function(){var a,b,c;(a=this._cd)==null||(b=a.control)==null||(c=b._status)==null||c.call(b);var d,e;return!!((d=this._cd)==null?0:(e=d.control)==null?0:e.valid)}},isInvalid:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!((a=this._cd)==
null?0:(b=a.control)==null?0:b.invalid)}},isPending:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!((a=this._cd)==null?0:(b=a.control)==null?0:b.pending)}},isSubmitted:{configurable:!0,enumerable:!0,get:function(){var a,b;(a=this._cd)==null||(b=a._submitted)==null||b.call(a);var c;return!((c=this._cd)==null||!c.submitted)}}});
Object.assign({},{"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},{"[class.ng-submitted]":"isSubmitted"});var tz=function(a){this._cd=a};Y(tz,k4b);tz.\u0275fac=function(a){return new (a||tz)(af(rz,2))};
tz.\u0275dir=ud({type:tz,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(a,b){a&2&&ng("ng-untouched",b.isUntouched)("ng-touched",b.isTouched)("ng-pristine",b.isPristine)("ng-dirty",b.isDirty)("ng-valid",b.isValid)("ng-invalid",b.isInvalid)("ng-pending",b.isPending)},features:[cg]});var uz=function(a){this._cd=a};Y(uz,k4b);uz.\u0275fac=function(a){return new (a||uz)(af(sz,10))};
uz.\u0275dir=ud({type:uz,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(a,b){a&2&&ng("ng-untouched",b.isUntouched)("ng-touched",b.isTouched)("ng-pristine",b.isPristine)("ng-dirty",b.isDirty)("ng-valid",b.isValid)("ng-invalid",b.isInvalid)("ng-pending",b.isPending)("ng-submitted",b.isSubmitted)},features:[cg]});var vz=new Bd("CallSetDisabledState",{providedIn:"root",factory:function(){return"whenDisabledForLegacyCode"}});var wz=function(){},l4b=function(a,b){this.value=a;this.source=b};Y(l4b,wz);var m4b=function(a,b){this.pristine=a;this.source=b};Y(m4b,wz);var n4b=function(a,b){this.touched=a;this.source=b};Y(n4b,wz);var o4b=function(a,b){this.status=a;this.source=b};Y(o4b,wz);var p4b=function(a){this.source=a};Y(p4b,wz);var q4b=function(a){this.source=a};Y(q4b,wz);
var xz=function(a,b){var c=this;this._pendingDirty=!1;this._hasOwnPendingAsyncValidator=null;this._pendingTouched=!1;this._onCollectionChange=function(){};this._parent=null;this._status=th(function(){return c.statusReactive()});this.statusReactive=Sg();this._pristine=th(function(){return c.pristineReactive()});this.pristineReactive=Sg(!0);this._touched=th(function(){return c.touchedReactive()});this.touchedReactive=Sg(!1);this._events=new Jf;this.events=Pu(this._events);this._onDisabledChange=[];
this._assignValidators(a);this._assignAsyncValidators(b)},aqa=function(a,b){a._assignValidators(b)},bqa=function(a,b){a._assignAsyncValidators(b)},r4b=function(a){a=a._rawValidators;return Array.isArray(a)?a.includes(pz):a===pz},dqa=function(a,b){b=b===void 0?{}:b;var c=a.touched===!1;a.touched=!0;var d,e=(d=b.sourceControl)!=null?d:a;a._parent&&!b.onlySelf&&dqa(a._parent,Object.assign({},b,{sourceControl:e}));c&&b.emitEvent!==!1&&a._events.next(new n4b(!0,e))},s4b=function(a,b){b=b===void 0?{}:b;
var c=a.touched===!0;a.touched=!1;a._pendingTouched=!1;var d,e=(d=b.sourceControl)!=null?d:a;a._forEachChild(function(f){s4b(f,{onlySelf:!0,emitEvent:b.emitEvent,sourceControl:e})});a._parent&&!b.onlySelf&&a._parent._updateTouched(b,e);c&&b.emitEvent!==!1&&a._events.next(new n4b(!1,e))},eqa=function(a,b){b=b===void 0?{}:b;var c=a.pristine===!0;a.pristine=!1;var d,e=(d=b.sourceControl)!=null?d:a;a._parent&&!b.onlySelf&&eqa(a._parent,Object.assign({},b,{sourceControl:e}));c&&b.emitEvent!==!1&&a._events.next(new m4b(!1,
e))},t4b=function(a,b){b=b===void 0?{}:b;var c=a.pristine===!1;a.pristine=!0;a._pendingDirty=!1;var d,e=(d=b.sourceControl)!=null?d:a;a._forEachChild(function(f){t4b(f,{onlySelf:!0,emitEvent:b.emitEvent})});a._parent&&!b.onlySelf&&a._parent._updatePristine(b,e);c&&b.emitEvent!==!1&&a._events.next(new m4b(!0,e))};g=xz.prototype;
g.disable=function(a){a=a===void 0?{}:a;var b=this._parentMarkedDirty(a.onlySelf);this.status="DISABLED";this.errors=null;this._forEachChild(function(e){e.disable(Object.assign({},a,{onlySelf:!0}))});this._updateValue();var c,d=(c=a.sourceControl)!=null?c:this;a.emitEvent!==!1&&(this._events.next(new l4b(this.value,d)),this._events.next(new o4b(this.status,d)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status));this._updateAncestors(Object.assign({},a,{skipPristineCheck:b}),this);
this._onDisabledChange.forEach(function(e){return e(!0)})};g.enable=function(a){a=a===void 0?{}:a;var b=this._parentMarkedDirty(a.onlySelf);this.status="VALID";this._forEachChild(function(c){c.enable(Object.assign({},a,{onlySelf:!0}))});ji(this,{onlySelf:!0,emitEvent:a.emitEvent});this._updateAncestors(Object.assign({},a,{skipPristineCheck:b}),this);this._onDisabledChange.forEach(function(c){return c(!1)})};
g._updateAncestors=function(a,b){this._parent&&!a.onlySelf&&(ji(this._parent,a),a.skipPristineCheck||this._parent._updatePristine({},b),this._parent._updateTouched({},b))};g.setParent=function(a){this._parent=a};g.getRawValue=function(){return this.value};
var ji=function(a,b){b=b===void 0?{}:b;a._setInitialStatus();a._updateValue();if(a.enabled){var c=a._cancelExistingSubscription();a.errors=a._runValidator();a.status=a._calculateStatus();a.status!=="VALID"&&a.status!=="PENDING"||a._runAsyncValidator(c,b.emitEvent)}var d;c=(d=b.sourceControl)!=null?d:a;b.emitEvent!==!1&&(a._events.next(new l4b(a.value,c)),a._events.next(new o4b(a.status,c)),a.valueChanges.emit(a.value),a.statusChanges.emit(a.status));a._parent&&!b.onlySelf&&ji(a._parent,Object.assign({},
b,{sourceControl:c}))};g=xz.prototype;g._updateTreeValidity=function(a){a=a===void 0?{emitEvent:!0}:a;this._forEachChild(function(b){return b._updateTreeValidity(a)});ji(this,{onlySelf:!0,emitEvent:a.emitEvent})};g._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"};g._runValidator=function(){return this.validator?this.validator(this):null};
g._runAsyncValidator=function(a,b){var c=this;this.asyncValidator&&(this.status="PENDING",this._hasOwnPendingAsyncValidator={emitEvent:b!==!1},this._asyncValidationSubscription=Jpa(this.asyncValidator(this)).subscribe(function(d){c._hasOwnPendingAsyncValidator=null;c.setErrors(d,{emitEvent:b,shouldHaveEmitted:a})}))};
g._cancelExistingSubscription=function(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();var a,b,c=(b=(a=this._hasOwnPendingAsyncValidator)==null?void 0:a.emitEvent)!=null?b:!1;this._hasOwnPendingAsyncValidator=null;return c}return!1};g.setErrors=function(a,b){b=b===void 0?{}:b;this.errors=a;this._updateControlsErrors(b.emitEvent!==!1,this,b.shouldHaveEmitted)};
g.get=function(a){if(a==null)return null;Array.isArray(a)||(a=a.split("."));return a.length===0?null:a.reduce(function(b,c){return b&&b._find(c)},this)};g.getError=function(a,b){return(b=b?this.get(b):this)&&b.errors?b.errors[a]:null};g.hasError=function(a,b){return!!this.getError(a,b)};
g._updateControlsErrors=function(a,b,c){this.status=this._calculateStatus();a&&this.statusChanges.emit(this.status);(a||c)&&this._events.next(new o4b(this.status,b));this._parent&&this._parent._updateControlsErrors(a,b,c)};g._initObservables=function(){this.valueChanges=new kw;this.statusChanges=new kw};
g._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"};g._anyControlsHaveStatus=function(a){return this._anyControls(function(b){return b.status===a})};g._anyControlsDirty=function(){return this._anyControls(function(a){return a.dirty})};g._anyControlsTouched=function(){return this._anyControls(function(a){return a.touched})};
g._updatePristine=function(a,b){var c=!this._anyControlsDirty(),d=this.pristine!==c;this.pristine=c;this._parent&&!a.onlySelf&&this._parent._updatePristine(a,b);d&&this._events.next(new m4b(this.pristine,b))};g._updateTouched=function(a,b){a=a===void 0?{}:a;this.touched=this._anyControlsTouched();this._events.next(new n4b(this.touched,b));this._parent&&!a.onlySelf&&this._parent._updateTouched(a,b)};g._registerOnCollectionChange=function(a){this._onCollectionChange=a};
g._setUpdateStrategy=function(a){mi(a)&&a.updateOn!=null&&(this._updateOn=a.updateOn)};g._parentMarkedDirty=function(a){var b=this._parent&&this._parent.dirty;return!a&&!!b&&!this._parent._anyControlsDirty()};g._find=function(){return null};g._assignValidators=function(a){a=this._rawValidators=Array.isArray(a)?a.slice():a;this._composedValidatorFn=Array.isArray(a)?Opa(a):a||null};
g._assignAsyncValidators=function(a){a=this._rawAsyncValidators=Array.isArray(a)?a.slice():a;this._composedAsyncValidatorFn=Array.isArray(a)?Qpa(a):a||null};
ea.Object.defineProperties(xz.prototype,{validator:{configurable:!0,enumerable:!0,get:function(){return this._composedValidatorFn},set:function(a){this._rawValidators=this._composedValidatorFn=a}},asyncValidator:{configurable:!0,enumerable:!0,get:function(){return this._composedAsyncValidatorFn},set:function(a){this._rawAsyncValidators=this._composedAsyncValidatorFn=a}},parent:{configurable:!0,enumerable:!0,get:function(){return this._parent}},status:{configurable:!0,enumerable:!0,get:function(){return xh(this.statusReactive)},
set:function(a){var b=this;xh(function(){return b.statusReactive.set(a)})}},valid:{configurable:!0,enumerable:!0,get:function(){return this.status==="VALID"}},invalid:{configurable:!0,enumerable:!0,get:function(){return this.status==="INVALID"}},pending:{configurable:!0,enumerable:!0,get:function(){return this.status=="PENDING"}},disabled:{configurable:!0,enumerable:!0,get:function(){return this.status==="DISABLED"}},enabled:{configurable:!0,enumerable:!0,get:function(){return this.status!=="DISABLED"}},
pristine:{configurable:!0,enumerable:!0,get:function(){return xh(this.pristineReactive)},set:function(a){var b=this;xh(function(){return b.pristineReactive.set(a)})}},dirty:{configurable:!0,enumerable:!0,get:function(){return!this.pristine}},touched:{configurable:!0,enumerable:!0,get:function(){return xh(this.touchedReactive)},set:function(a){var b=this;xh(function(){return b.touchedReactive.set(a)})}},untouched:{configurable:!0,enumerable:!0,get:function(){return!this.touched}},updateOn:{configurable:!0,
enumerable:!0,get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},root:{configurable:!0,enumerable:!0,get:function(){for(var a=this;a._parent;)a=a._parent;return a}}});var yz=function(a,b,c){xz.call(this,(mi(b)?b.validators:b)||null,(mi(b)?b.asyncValidators:c)||null);this.controls=a;this._initObservables();this._setUpdateStrategy(b);this._setUpControls();ji(this,{onlySelf:!0,emitEvent:!!this.asyncValidator})};Y(yz,xz);var u4b=function(a,b,c){if(a.controls[b])return a.controls[b];a.controls[b]=c;c.setParent(a);c._registerOnCollectionChange(a._onCollectionChange);return c};g=yz.prototype;
g.addControl=function(a){var b=b===void 0?{}:b;u4b(this,a);ji(this,{emitEvent:b.emitEvent});this._onCollectionChange()};g.removeControl=function(a){var b=b===void 0?{}:b;this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){});delete this.controls[a];ji(this,{emitEvent:b.emitEvent});this._onCollectionChange()};g.contains=function(a){return this.controls.hasOwnProperty(a)&&this.controls[a].enabled};
g.setValue=function(a,b){var c=this;b=b===void 0?{}:b;iqa(this,a);Object.keys(a).forEach(function(d){var e=c.controls;if(!Object.keys(e).length)throw new $c(1E3,"");if(!e[d])throw new $c(1001,"");c.controls[d].setValue(a[d],{onlySelf:!0,emitEvent:b.emitEvent})});ji(this,b)};g.reset=function(a,b){a=a===void 0?{}:a;b=b===void 0?{}:b;this._forEachChild(function(c,d){c.reset(a?a[d]:null,{onlySelf:!0,emitEvent:b.emitEvent})});this._updatePristine(b,this);this._updateTouched(b,this);ji(this,b)};
g.getRawValue=function(){return this._reduceChildren({},function(a,b,c){a[c]=b.getRawValue();return a})};g._syncPendingControls=function(){var a=this._reduceChildren(!1,function(b,c){return c._syncPendingControls()?!0:b});a&&ji(this,{onlySelf:!0});return a};g._forEachChild=function(a){var b=this;Object.keys(this.controls).forEach(function(c){var d=b.controls[c];d&&a(d,c)})};g._setUpControls=function(){var a=this;this._forEachChild(function(b){b.setParent(a);b._registerOnCollectionChange(a._onCollectionChange)})};
g._updateValue=function(){this.value=this._reduceValue()};g._anyControls=function(a){for(var b=k(Object.entries(this.controls)),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;if(this.contains(c)&&a(d))return!0}return!1};g._reduceValue=function(){var a=this;return this._reduceChildren({},function(b,c,d){if(c.enabled||a.disabled)b[d]=c.value;return b})};g._reduceChildren=function(a,b){var c=a;this._forEachChild(function(d,e){c=b(c,d,e)});return c};
g._allControlsDisabled=function(){for(var a=k(Object.keys(this.controls)),b=a.next();!b.done;b=a.next())if(this.controls[b.value].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled};g._find=function(a){return this.controls.hasOwnProperty(a)?this.controls[a]:null};var v4b={provide:sz,useExisting:id(function(){return zz})},w4b=Promise.resolve(),zz=function(a,b,c){sz.call(this);var d=this;this.callSetDisabledState=c;this._submitted=th(function(){return d.submittedReactive()});this.submittedReactive=Sg(!1);this._directives=new Set;this.ngSubmit=new kw;this.form=new yz({},Opa(a),Qpa(b))};Y(zz,sz);g=zz.prototype;g.ngAfterViewInit=function(){this._setUpdateStrategy()};
g.addControl=function(a){var b=this;w4b.then(function(){var c=b._findContainer(a.path);a.control=u4b(c,a.name,a.control);ii(a.control,a,b.callSetDisabledState);ji(a.control,{emitEvent:!1});b._directives.add(a)})};g.removeControl=function(a){var b=this;w4b.then(function(){var c=b._findContainer(a.path);c&&c.removeControl(a.name);b._directives.delete(a)})};g.updateModel=function(a,b){var c=this;w4b.then(function(){c.form.get(a.path).setValue(b)})};g.setValue=function(a){this.control.setValue(a)};
g.onSubmit=function(a){this.submittedReactive.set(!0);gqa(this.form,this._directives);this.ngSubmit.emit(a);var b;return(a==null?void 0:(b=a.target)==null?void 0:b.method)==="dialog"};g.onReset=function(){this.resetForm()};g.resetForm=function(a){this.form.reset(a);this.submittedReactive.set(!1)};g._setUpdateStrategy=function(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)};g._findContainer=function(a){a.pop();return a.length?this.form.get(a):this.form};
ea.Object.defineProperties(zz.prototype,{submitted:{configurable:!0,enumerable:!0,get:function(){return xh(this.submittedReactive)}},formDirective:{configurable:!0,enumerable:!0,get:function(){return this}},control:{configurable:!0,enumerable:!0,get:function(){return this.form}},path:{configurable:!0,enumerable:!0,get:function(){return[]}},controls:{configurable:!0,enumerable:!0,get:function(){return this.form.controls}}});zz.\u0275fac=function(a){return new (a||zz)(af(nz,10),af(oz,10),af(vz,8))};
zz.\u0275dir=ud({type:zz,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(a,b){a&1&&M("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Yg([v4b]),cg]});var Az=function(a,b,c){a=a===void 0?null:a;xz.call(this,(mi(b)?b.validators:b)||null,(mi(b)?b.asyncValidators:c)||null);this.defaultValue=null;this._onChange=[];this._pendingChange=!1;this._applyFormState(a);this._setUpdateStrategy(b);this._initObservables();ji(this,{onlySelf:!0,emitEvent:!!this.asyncValidator});mi(b)&&(b.nonNullable||b.initialValueIsDefault)&&(jqa(a)?this.defaultValue=a.value:this.defaultValue=a)};Y(Az,xz);g=Az.prototype;
g.setValue=function(a,b){var c=this;b=b===void 0?{}:b;this.value=this._pendingValue=a;this._onChange.length&&b.emitModelToViewChange!==!1&&this._onChange.forEach(function(d){return d(c.value,b.emitViewToModelChange!==!1)});ji(this,b)};g.reset=function(a,b){a=a===void 0?this.defaultValue:a;b=b===void 0?{}:b;this._applyFormState(a);t4b(this,b);s4b(this,b);this.setValue(this.value,b);this._pendingChange=!1};g._updateValue=function(){};g._anyControls=function(){return!1};g._allControlsDisabled=function(){return this.disabled};
g.registerOnChange=function(a){this._onChange.push(a)};g._unregisterOnChange=function(a){var b=this._onChange;a=b.indexOf(a);a>-1&&b.splice(a,1)};g._unregisterOnDisabledChange=function(a){var b=this._onDisabledChange;a=b.indexOf(a);a>-1&&b.splice(a,1)};g._forEachChild=function(){};
g._syncPendingControls=function(){return this.updateOn==="submit"&&(this._pendingDirty&&eqa(this),this._pendingTouched&&dqa(this),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1};g._applyFormState=function(a){jqa(a)?(this.value=this._pendingValue=a.value,a.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=a};var x4b={provide:rz,useExisting:id(function(){return Bz})},y4b=Promise.resolve(),Bz=function(a,b,c,d,e,f){rz.call(this);this._changeDetectorRef=e;this.callSetDisabledState=f;this.control=new Az;this._registered=!1;this.name="";this.update=new kw;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=hqa(d)};Y(Bz,rz);g=Bz.prototype;
g.ngOnChanges=function(a){this._checkForErrors();if(!this._registered||"name"in a){if(this._registered&&(this._checkName(),this.formDirective)){var b=a.name.previousValue;this.formDirective.removeControl({name:b,path:this._getPath(b)})}this._setUpControl()}"isDisabled"in a&&this._updateDisabled(a);fqa(a,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)};g.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)};
g.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};g._setUpControl=function(){this._setUpdateStrategy();this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this);this._registered=!0};g._setUpdateStrategy=function(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)};g._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)};
g._setUpStandalone=function(){ii(this.control,this,this.callSetDisabledState);ji(this.control,{emitEvent:!1})};g._checkForErrors=function(){this._checkName()};g._checkParentType=function(){};g._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name)};g._updateValue=function(a){var b=this;y4b.then(function(){b.control.setValue(a,{emitViewToModelChange:!1});var c;(c=b._changeDetectorRef)==null||c.markForCheck()})};
g._updateDisabled=function(a){var b=this;a=a.isDisabled.currentValue;var c=a!==0&&rh(a);y4b.then(function(){c&&!b.control.disabled?b.control.disable():!c&&b.control.disabled&&b.control.enable();var d;(d=b._changeDetectorRef)==null||d.markForCheck()})};g._getPath=function(a){return this._parent?Spa(a,this._parent):[a]};
ea.Object.defineProperties(Bz.prototype,{path:{configurable:!0,enumerable:!0,get:function(){return this._getPath(this.name)}},formDirective:{configurable:!0,enumerable:!0,get:function(){return this._parent?this._parent.formDirective:null}}});Bz.\u0275fac=function(a){return new (a||Bz)(af(sz,9),af(nz,10),af(oz,10),af(mz,10),af(rw,8),af(vz,8))};
Bz.\u0275dir=ud({type:Bz,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"],features:[Yg([x4b]),cg,Hd]});var Cz=function(){};Cz.\u0275fac=function(a){return new (a||Cz)};Cz.\u0275dir=ud({type:Cz,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});var z4b={provide:mz,useExisting:id(function(){return Dz}),multi:!0},Dz=function(){li.apply(this,arguments)};Y(Dz,li);Dz.prototype.writeValue=function(a){this.setProperty("value",a==null?"":a)};Dz.prototype.registerOnChange=function(a){this.onChange=function(b){a(b==""?null:parseFloat(b))}};Dz.\u0275fac=function(){var a;return function(b){return(a||(a=de(Dz)))(b||Dz)}}();
Dz.\u0275dir=ud({type:Dz,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(a,b){a&1&&M("input",function(c){return b.onChange(c.target.value)})("blur",function(){return b.onTouched()})},features:[Yg([z4b]),cg]});var A4b={provide:mz,useExisting:id(function(){return Ez}),multi:!0},Fz=function(){this._accessors=[]};Fz.prototype.add=function(a,b){this._accessors.push([a,b])};Fz.prototype.remove=function(a){for(var b=this._accessors.length-1;b>=0;--b)if(this._accessors[b][1]===a){this._accessors.splice(b,1);break}};Fz.prototype.select=function(a){var b=this;this._accessors.forEach(function(c){b._isSameGroup(c,a)&&c[1]!==a&&c[1].writeValue(a.value)})};
Fz.prototype._isSameGroup=function(a,b){return a[0].control?a[0]._parent===b._control._parent&&a[1].name===b.name:!1};Fz.\u0275fac=function(a){return new (a||Fz)};Fz.\u0275prov=n({token:Fz,factory:Fz.\u0275fac,providedIn:"root"});var Ez=function(a,b,c,d){li.call(this,a,b);this._registry=c;this._injector=d;this.setDisabledStateFired=!1;this.onChange=function(){};var e;this.callSetDisabledState=(e=r(vz,{optional:!0}))!=null?e:"whenDisabledForLegacyCode"};Y(Ez,li);g=Ez.prototype;
g.ngOnInit=function(){this._control=this._injector.get(rz);this._checkName();this._registry.add(this._control,this)};g.ngOnDestroy=function(){this._registry.remove(this)};g.writeValue=function(a){this._state=a===this.value;this.setProperty("checked",this._state)};g.registerOnChange=function(a){var b=this;this._fn=a;this.onChange=function(){a(b.value);b._registry.select(b)}};
g.setDisabledState=function(a){(this.setDisabledStateFired||a||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",a);this.setDisabledStateFired=!0};g._checkName=function(){!this.name&&this.formControlName&&(this.name=this.formControlName)};Ez.\u0275fac=function(a){return new (a||Ez)(af($v),af(ge),af(Fz),af(Sf))};
Ez.\u0275dir=ud({type:Ez,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(a,b){a&1&&M("change",function(){return b.onChange()})("blur",function(){return b.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Yg([A4b]),cg]});var B4b=new Bd(""),C4b={provide:rz,useExisting:id(function(){return Gz})},Gz=function(a,b,c,d,e){rz.call(this);this._ngModelWarningConfig=d;this.callSetDisabledState=e;this.update=new kw;this._ngModelWarningSent=!1;this._setValidators(a);this._setAsyncValidators(b);this.valueAccessor=hqa(c)};Y(Gz,rz);
Gz.prototype.ngOnChanges=function(a){if(this._isControlChanged(a)){var b=a.form.previousValue;b&&Zpa(b,this);ii(this.form,this,this.callSetDisabledState);ji(this.form,{emitEvent:!1})}fqa(a,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)};Gz.prototype.ngOnDestroy=function(){this.form&&Zpa(this.form,this)};Gz.prototype.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};Gz.prototype._isControlChanged=function(a){return a.hasOwnProperty("form")};
ea.Object.defineProperties(Gz.prototype,{isDisabled:{configurable:!0,enumerable:!0,set:function(){}},path:{configurable:!0,enumerable:!0,get:function(){return[]}},control:{configurable:!0,enumerable:!0,get:function(){return this.form}}});Gz.\u0275fac=function(a){return new (a||Gz)(af(nz,10),af(oz,10),af(mz,10),af(B4b,8),af(vz,8))};
Gz.\u0275dir=ud({type:Gz,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Yg([C4b]),cg,Hd]});var D4b={provide:sz,useExisting:id(function(){return Hz})},Hz=function(a,b,c){sz.call(this);var d=this;this.callSetDisabledState=c;this._submitted=th(function(){return d._submittedReactive()});this._submittedReactive=Sg(!1);this._onCollectionChange=function(){return d._updateDomValue()};this.directives=[];this.form=null;this.ngSubmit=new kw;this._setValidators(a);this._setAsyncValidators(b)};Y(Hz,sz);g=Hz.prototype;
g.ngOnChanges=function(a){a.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)};g.ngOnDestroy=function(){this.form&&(Ypa(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))};g.addControl=function(a){var b=this.form.get(a.path);ii(b,a,this.callSetDisabledState);ji(b,{emitEvent:!1});this.directives.push(a);return b};
g.removeControl=function(a){Zpa(a.control||null,a);var b=this.directives;a=b.indexOf(a);a>-1&&b.splice(a,1)};g.updateModel=function(a,b){this.form.get(a.path).setValue(b)};g.onSubmit=function(a){this._submittedReactive.set(!0);gqa(this.form,this.directives);this.ngSubmit.emit(a);this.form._events.next(new p4b(this.control));var b;return(a==null?void 0:(b=a.target)==null?void 0:b.method)==="dialog"};g.onReset=function(){this.resetForm()};
g.resetForm=function(a){this.form.reset(a);this._submittedReactive.set(!1);this.form._events.next(new q4b(this.form))};g._updateDomValue=function(){var a=this;this.directives.forEach(function(b){var c=b.control,d=a.form.get(b.path);c!==d&&(Zpa(c||null,b),d instanceof Az&&(ii(d,b,a.callSetDisabledState),b.control=d))});this.form._updateTreeValidity({emitEvent:!1})};g._setUpFormContainer=function(a){var b=this.form.get(a.path);Tpa(b,a);ji(b,{emitEvent:!1})};
g._cleanUpFormContainer=function(a){if(this.form){var b=this.form.get(a.path);b&&Ypa(b,a)&&ji(b,{emitEvent:!1})}};g._updateRegistrations=function(){this.form._registerOnCollectionChange(this._onCollectionChange);this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})};g._updateValidators=function(){Tpa(this.form,this);this._oldForm&&Ypa(this._oldForm,this)};g._checkFormPresent=function(){};
ea.Object.defineProperties(Hz.prototype,{submitted:{configurable:!0,enumerable:!0,get:function(){return xh(this._submittedReactive)},set:function(a){this._submittedReactive.set(a)}},formDirective:{configurable:!0,enumerable:!0,get:function(){return this}},control:{configurable:!0,enumerable:!0,get:function(){return this.form}},path:{configurable:!0,enumerable:!0,get:function(){return[]}}});Hz.\u0275fac=function(a){return new (a||Hz)(af(nz,10),af(oz,10),af(vz,8))};
Hz.\u0275dir=ud({type:Hz,selectors:[["","formGroup",""]],hostBindings:function(a,b){a&1&&M("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Yg([D4b]),cg,Hd]});var E4b={provide:rz,useExisting:id(function(){return Iz})},Iz=function(a,b,c,d,e){rz.call(this);this._ngModelWarningConfig=e;this._added=!1;this.name=null;this.update=new kw;this._ngModelWarningSent=!1;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=hqa(d)};Y(Iz,rz);g=Iz.prototype;g.ngOnChanges=function(a){this._added||this._setUpControl();fqa(a,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))};
g.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)};g.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};g._checkParentType=function(){};g._setUpControl=function(){this.control=this.formDirective.addControl(this);this._added=!0};
ea.Object.defineProperties(Iz.prototype,{isDisabled:{configurable:!0,enumerable:!0,set:function(){}},path:{configurable:!0,enumerable:!0,get:function(){return Spa(this.name==null?this.name:this.name.toString(),this._parent)}},formDirective:{configurable:!0,enumerable:!0,get:function(){return this._parent?this._parent.formDirective:null}}});Iz.\u0275fac=function(a){return new (a||Iz)(af(sz,13),af(nz,10),af(oz,10),af(mz,10),af(B4b,8))};
Iz.\u0275dir=ud({type:Iz,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[Yg([E4b]),cg,Hd]});var Jz=function(){this._validator=Gpa};Jz.prototype.ngOnChanges=function(a){this.inputName in a&&(a=this.normalizeInput(a[this.inputName].currentValue),this._validator=(this._enabled=this.enabled(a))?this.createValidator(a):Gpa,this._onChange&&this._onChange())};Jz.prototype.validate=function(a){return this._validator(a)};Jz.prototype.registerOnValidatorChange=function(a){this._onChange=a};Jz.prototype.enabled=function(a){return a!=null};Jz.\u0275fac=function(a){return new (a||Jz)};
Jz.\u0275dir=ud({type:Jz,features:[Hd]});var F4b={provide:nz,useExisting:id(function(){return Kz}),multi:!0},Kz=function(){Jz.apply(this,arguments);this.inputName="max";this.normalizeInput=function(a){return typeof a==="number"?a:parseFloat(a)};this.createValidator=function(a){return Dpa(a)}};Y(Kz,Jz);Kz.\u0275fac=function(){var a;return function(b){return(a||(a=de(Kz)))(b||Kz)}}();
Kz.\u0275dir=ud({type:Kz,selectors:["input type number max  formControlName ".split(" "),"input type number max  formControl ".split(" "),"input type number max  ngModel ".split(" ")],hostVars:1,hostBindings:function(a,b){a&2&&eg("max",b._enabled?b.max:null)},inputs:{max:"max"},features:[Yg([F4b]),cg]});
var G4b={provide:nz,useExisting:id(function(){return Lz}),multi:!0},Lz=function(){Jz.apply(this,arguments);this.inputName="min";this.normalizeInput=function(a){return typeof a==="number"?a:parseFloat(a)};this.createValidator=function(a){return Cpa(a)}};Y(Lz,Jz);Lz.\u0275fac=function(){var a;return function(b){return(a||(a=de(Lz)))(b||Lz)}}();
Lz.\u0275dir=ud({type:Lz,selectors:["input type number min  formControlName ".split(" "),"input type number min  formControl ".split(" "),"input type number min  ngModel ".split(" ")],hostVars:1,hostBindings:function(a,b){a&2&&eg("min",b._enabled?b.min:null)},inputs:{min:"min"},features:[Yg([G4b]),cg]});var H4b={provide:nz,useExisting:id(function(){return Mz}),multi:!0},Mz=function(){Jz.apply(this,arguments);this.inputName="required";this.normalizeInput=rh;this.createValidator=function(){return Epa}};
Y(Mz,Jz);Mz.prototype.enabled=function(a){return a};Mz.\u0275fac=function(){var a;return function(b){return(a||(a=de(Mz)))(b||Mz)}}();Mz.\u0275dir=ud({type:Mz,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(a,b){a&2&&eg("required",b._enabled?"":null)},inputs:{required:"required"},features:[Yg([H4b]),cg]});
var I4b={provide:nz,useExisting:id(function(){return Nz}),multi:!0},Nz=function(){Jz.apply(this,arguments);this.inputName="maxlength";this.normalizeInput=function(a){return typeof a==="number"?a:parseInt(a,10)};this.createValidator=function(a){return Fpa(a)}};Y(Nz,Jz);Nz.\u0275fac=function(){var a;return function(b){return(a||(a=de(Nz)))(b||Nz)}}();
Nz.\u0275dir=ud({type:Nz,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&eg("maxlength",b._enabled?b.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Yg([I4b]),cg]});var J4b={provide:nz,useExisting:id(function(){return Oz}),multi:!0},Oz=function(){Jz.apply(this,arguments);this.inputName="pattern";this.normalizeInput=function(a){return a};this.createValidator=function(a){return Hpa(a)}};
Y(Oz,Jz);Oz.\u0275fac=function(){var a;return function(b){return(a||(a=de(Oz)))(b||Oz)}}();Oz.\u0275dir=ud({type:Oz,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&eg("pattern",b._enabled?b.pattern:null)},inputs:{pattern:"pattern"},features:[Yg([J4b]),cg]});var Pz=function(){};Pz.\u0275fac=function(a){return new (a||Pz)};Pz.\u0275mod=u({type:Pz});Pz.\u0275inj=p({});var Qz=function(){};Qz.\u0275fac=function(a){return new (a||Qz)};Qz.\u0275mod=u({type:Qz});Qz.\u0275inj=p({imports:[Pz]});var Rz=function(){};Rz.\u0275fac=function(a){return new (a||Rz)};Rz.\u0275mod=u({type:Rz});Rz.\u0275inj=p({imports:[Pz]});new Bd("MAT_DATE_RANGE_INPUT_PARENT");var K4b=0,L4b=new Bd("MatError"),Sz=function(){this.id="mat-mdc-error-"+K4b++;r(new Vv("aria-live"),{optional:!0})||r(ge).nativeElement.setAttribute("aria-live","polite")};Sz.\u0275fac=function(a){return new (a||Sz)};Sz.\u0275dir=ud({type:Sz,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(a,b){a&2&&yg("id",b.id)},inputs:{id:"id"},standalone:!0,features:[Yg([{provide:L4b,useExisting:Sz}])]});var M4b=0,Tz=function(){this.align="start";this.id="mat-mdc-hint-"+M4b++};Tz.\u0275fac=function(a){return new (a||Tz)};Tz.\u0275dir=ud({type:Tz,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(a,b){a&2&&(yg("id",b.id),eg("align",null),ng("mat-mdc-form-field-hint-end",b.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});var Uz=function(){};Uz.\u0275fac=function(a){return new (a||Uz)};Uz.\u0275dir=ud({type:Uz,selectors:[["mat-label"]],standalone:!0});var N4b=new Bd("MatPrefix");var O4b=new Bd("MatSuffix");var Np=function(a,b){this._onDoneFns=[];this._onStartFns=[];this._onDestroyFns=[];this._originalOnDoneFns=[];this._originalOnStartFns=[];this._finished=this._destroyed=this._started=!1;this._position=0;this.parentPlayer=null;this.totalTime=(a===void 0?0:a)+(b===void 0?0:b)};g=Np.prototype;g._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};g.onStart=function(a){this._originalOnStartFns.push(a);this._onStartFns.push(a)};
g.onDone=function(a){this._originalOnDoneFns.push(a);this._onDoneFns.push(a)};g.onDestroy=function(a){this._onDestroyFns.push(a)};g.hasStarted=function(){return this._started};g.init=function(){};g.play=function(){this.hasStarted()||(this._onStart(),P4b(this));this._started=!0};var P4b=function(a){queueMicrotask(function(){return a._onFinish()})};g=Np.prototype;g._onStart=function(){this._onStartFns.forEach(function(a){return a()});this._onStartFns=[]};g.pause=function(){};g.restart=function(){};
g.finish=function(){this._onFinish()};g.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(a){return a()}),this._onDestroyFns=[])};g.reset=function(){this._finished=this._started=!1;this._onStartFns=this._originalOnStartFns;this._onDoneFns=this._originalOnDoneFns};g.setPosition=function(a){this._position=this.totalTime?a*this.totalTime:1};
g.getPosition=function(){return this.totalTime?this._position/this.totalTime:1};g.triggerCallback=function(a){a=a=="start"?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};var dIa=function(a){var b=this;this._onDoneFns=[];this._onStartFns=[];this._destroyed=this._started=this._finished=!1;this._onDestroyFns=[];this.parentPlayer=null;this.totalTime=0;this.players=a;var c=0,d=0,e=0,f=this.players.length;f==0?queueMicrotask(function(){return b._onFinish()}):this.players.forEach(function(h){h.onDone(function(){++c==f&&b._onFinish()});h.onDestroy(function(){++d==f&&b._onDestroy()});h.onStart(function(){++e==f&&b._onStart()})});this.totalTime=this.players.reduce(function(h,
l){return Math.max(h,l.totalTime)},0)};g=dIa.prototype;g._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};g.init=function(){this.players.forEach(function(a){return a.init()})};g.onStart=function(a){this._onStartFns.push(a)};g._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(a){return a()}),this._onStartFns=[])};g.onDone=function(a){this._onDoneFns.push(a)};g.onDestroy=function(a){this._onDestroyFns.push(a)};
g.hasStarted=function(){return this._started};g.play=function(){this.parentPlayer||this.init();this._onStart();this.players.forEach(function(a){return a.play()})};g.pause=function(){this.players.forEach(function(a){return a.pause()})};g.restart=function(){this.players.forEach(function(a){return a.restart()})};g.finish=function(){this._onFinish();this.players.forEach(function(a){return a.finish()})};g.destroy=function(){this._onDestroy()};
g._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(a){return a.destroy()}),this._onDestroyFns.forEach(function(a){return a()}),this._onDestroyFns=[])};g.reset=function(){this.players.forEach(function(a){return a.reset()});this._started=this._finished=this._destroyed=!1};g.setPosition=function(a){var b=a*this.totalTime;this.players.forEach(function(c){c.setPosition(c.totalTime?Math.min(1,b/c.totalTime):1)})};
g.getPosition=function(){var a=this.players.reduce(function(b,c){return b===null||c.totalTime>b.totalTime?c:b},null);return a!=null?a.getPosition():0};g.beforeDestroy=function(){this.players.forEach(function(a){a.beforeDestroy&&a.beforeDestroy()})};g.triggerCallback=function(a){a=a=="start"?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};var Q4b=ni("transitionMessages",[qi("enter",pi({opacity:1,transform:"translateY(0%)"})),si("void => enter",[pi({opacity:0,transform:"translateY(-5px)"}),oi("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var Vz=function(){};Vz.\u0275fac=function(a){return new (a||Vz)};Vz.\u0275dir=ud({type:Vz});var R4b=function(a){var b=this;this._box=a;this._destroyed=new Jf;this._resizeSubject=new Jf;this._elementObservables=new Map;typeof ResizeObserver!=="undefined"&&(this._resizeObserver=new ResizeObserver(function(c){return b._resizeSubject.next(c)}))};
R4b.prototype.observe=function(a){var b=this;this._elementObservables.has(a)||this._elementObservables.set(a,(new re(function(c){var d=b._resizeSubject.subscribe(c),e;(e=b._resizeObserver)==null||e.observe(a,{box:b._box});return function(){var f;(f=b._resizeObserver)==null||f.unobserve(a);d.unsubscribe();b._elementObservables.delete(a)}})).pipe(Ye(function(c){return c.some(function(d){return d.target===a})}),Kf({bufferSize:1,refCount:!0}),Of(this._destroyed)));return this._elementObservables.get(a)};
R4b.prototype.destroy=function(){this._destroyed.next();this._destroyed.complete();this._resizeSubject.complete();this._elementObservables.clear()};var Wz=function(){this._observers=new Map;this._ngZone=r(hh)};Wz.prototype.ngOnDestroy=function(){for(var a=k(this._observers),b=a.next();!b.done;b=a.next())b=k(b.value),b.next(),b.next().value.destroy();this._observers.clear()};
Wz.prototype.observe=function(a,b){b=(b==null?void 0:b.box)||"content-box";this._observers.has(b)||this._observers.set(b,new R4b(b));return this._observers.get(b).observe(a)};Wz.\u0275fac=function(a){return new (a||Wz)};Wz.\u0275prov=n({token:Wz,factory:Wz.\u0275fac,providedIn:"root"});var S4b=new Bd("FloatingLabelParent"),Xz=function(){this._elementRef=r(ge);this._monitorResize=this._floating=!1;this._resizeObserver=r(Wz);this._ngZone=r(hh);this._parent=r(S4b);this._resizeSubscription=new me};Xz.prototype.ngOnDestroy=function(){this._resizeSubscription.unsubscribe()};
Xz.prototype.getWidth=function(){var a=this._elementRef.nativeElement;if(a.offsetParent!==null)a=a.scrollWidth;else{a=a.cloneNode(!0);a.style.setProperty("position","absolute");a.style.setProperty("transform","translate(-9999px, -9999px)");document.documentElement.appendChild(a);var b=a.scrollWidth;a.remove();a=b}return a};Xz.prototype._handleResize=function(){var a=this;setTimeout(function(){return a._parent._handleLabelResized()})};
Xz.prototype._subscribeToResize=function(){var a=this;this._resizeSubscription.unsubscribe();this._ngZone.runOutsideAngular(function(){a._resizeSubscription=a._resizeObserver.observe(a._elementRef.nativeElement,{box:"border-box"}).subscribe(function(){return a._handleResize()})})};
ea.Object.defineProperties(Xz.prototype,{floating:{configurable:!0,enumerable:!0,get:function(){return this._floating},set:function(a){this._floating=a;this.monitorResize&&this._handleResize()}},monitorResize:{configurable:!0,enumerable:!0,get:function(){return this._monitorResize},set:function(a){(this._monitorResize=a)?this._subscribeToResize():this._resizeSubscription.unsubscribe()}},element:{configurable:!0,enumerable:!0,get:function(){return this._elementRef.nativeElement}}});
Xz.\u0275fac=function(a){return new (a||Xz)};Xz.\u0275dir=ud({type:Xz,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(a,b){a&2&&ng("mdc-floating-label--float-above",b.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});var Yz=function(){var a=this;this._elementRef=r(ge);this._handleTransitionEnd=function(b){var c=a._elementRef.nativeElement.classList,d=c.contains("mdc-line-ripple--deactivating");b.propertyName==="opacity"&&d&&c.remove("mdc-line-ripple--active","mdc-line-ripple--deactivating")};r(hh).runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("transitionend",a._handleTransitionEnd)})};
Yz.prototype.activate=function(){var a=this._elementRef.nativeElement.classList;a.remove("mdc-line-ripple--deactivating");a.add("mdc-line-ripple--active")};Yz.prototype.deactivate=function(){this._elementRef.nativeElement.classList.add("mdc-line-ripple--deactivating")};Yz.prototype.ngOnDestroy=function(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)};Yz.\u0275fac=function(a){return new (a||Yz)};
Yz.\u0275dir=ud({type:Yz,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});var T4b=["notch"],Zz=function(){this._elementRef=r(ge);this._ngZone=r(hh);this.open=!1};Zz.prototype.ngAfterViewInit=function(){var a=this._elementRef.nativeElement.querySelector(".mdc-floating-label");a?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame==="function"&&(a.style.transitionDuration="0s",this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return a.style.transitionDuration=""})}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")};
Zz.prototype._setNotchWidth=function(a){this._notch.nativeElement.style.width=this.open&&a?"calc("+a+"px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)":""};Zz.\u0275fac=function(a){return new (a||Zz)};
Zz.\u0275cmp=t({type:Zz,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(a,b){a&1&&Mg(T4b,5);if(a&2){var c;Qg(c=Rg())&&(b._notch=c.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(a,b){a&2&&ng("mdc-notched-outline--notched",b.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[$g],attrs:["matFormFieldNotchedOutline",""],ngContentSelectors:["*"],decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],
[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(a){a&1&&(Dg(),K(0,"div",1),I(1,"div",2,0),Eg(3),J(),K(4,"div",3))},encapsulation:2,changeDetection:0});var U4b=["textField"],V4b=["iconPrefixContainer"],W4b=["textPrefixContainer"],X4b=["iconSuffixContainer"],Y4b=["textSuffixContainer"],Z4b=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],$4b=new Bd("MatFormField"),a5b=new Bd("MAT_FORM_FIELD_DEFAULT_OPTIONS"),b5b=0,$z=function(){var a=this;
this._elementRef=r(ge);this._changeDetectorRef=r(rw);this._dir=r(Jx);this._platform=r(Xw);this._defaults=r(a5b,{optional:!0});this._animationMode=r(Zv,{optional:!0});this._labelChild=sma();this._hideRequiredMarker=!1;this.color="primary";this._appearance="fill";this._subscriptSizing=null;this._hintLabel="";this._hasTextSuffix=this._hasIconSuffix=this._hasTextPrefix=this._hasIconPrefix=!1;this._labelId="mat-mdc-form-field-label-"+b5b++;this._hintLabelId="mat-mdc-hint-"+b5b++;this._subscriptAnimationState=
"";this._destroyed=new Jf;this._isFocused=null;this._needsOutlineLabelOffsetUpdate=!1;this._previousControl=null;this._injector=r(Sf);this.getLabelId=th(function(){return a._hasFloatingLabel()?a._labelId:null});this._hasFloatingLabel=th(function(){return!!a._labelChild()});var b=this._defaults;b&&(b.appearance&&(this.appearance=b.appearance),this._hideRequiredMarker=!(b==null||!b.hideRequiredMarker),b.color&&(this.color=b.color))};
$z.prototype.ngAfterViewInit=function(){this._updateFocusState();this._subscriptAnimationState="enter";this._changeDetectorRef.detectChanges()};$z.prototype.ngAfterContentInit=function(){this._initializeSubscript();this._initializePrefixAndSuffix();this._initializeOutlineLabelOffsetSubscriptions()};$z.prototype.ngAfterContentChecked=function(){this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)};
$z.prototype.ngOnDestroy=function(){var a;(a=this._stateChanges)==null||a.unsubscribe();var b;(b=this._valueChanges)==null||b.unsubscribe();this._destroyed.next();this._destroyed.complete()};var c5b=function(a){return a._textField||a._elementRef};g=$z.prototype;g._animateAndLockLabel=function(){this._hasFloatingLabel()&&(this.floatLabel="always")};
g._initializeControl=function(a){var b=this,c=this._control;a&&this._elementRef.nativeElement.classList.remove("mat-mdc-form-field-type-"+a.controlType);c.controlType&&this._elementRef.nativeElement.classList.add("mat-mdc-form-field-type-"+c.controlType);var d;(d=this._stateChanges)==null||d.unsubscribe();this._stateChanges=c.stateChanges.subscribe(function(){b._updateFocusState();b._syncDescribedByIds();b._changeDetectorRef.markForCheck()});var e;(e=this._valueChanges)==null||e.unsubscribe();c.ngControl&&
c.ngControl.valueChanges&&(this._valueChanges=c.ngControl.valueChanges.pipe(Of(this._destroyed)).subscribe(function(){return b._changeDetectorRef.markForCheck()}))};g._checkPrefixAndSuffixTypes=function(){this._hasIconPrefix=!!this._prefixChildren.find(function(a){return!a._isText});this._hasTextPrefix=!!this._prefixChildren.find(function(a){return a._isText});this._hasIconSuffix=!!this._suffixChildren.find(function(a){return!a._isText});this._hasTextSuffix=!!this._suffixChildren.find(function(a){return a._isText})};
g._initializePrefixAndSuffix=function(){var a=this;this._checkPrefixAndSuffixTypes();Xe(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){a._checkPrefixAndSuffixTypes();a._changeDetectorRef.markForCheck()})};g._initializeSubscript=function(){var a=this;this._hintChildren.changes.subscribe(function(){a._processHints();a._changeDetectorRef.markForCheck()});this._errorChildren.changes.subscribe(function(){a._syncDescribedByIds();a._changeDetectorRef.markForCheck()});this._syncDescribedByIds()};
g._assertFormFieldControl=function(){};g._updateFocusState=function(){if(this._control.focused&&!this._isFocused){this._isFocused=!0;var a;(a=this._lineRipple)==null||a.activate()}else if(!this._control.focused&&(this._isFocused||this._isFocused===null)){this._isFocused=!1;var b;(b=this._lineRipple)==null||b.deactivate()}var c;(c=this._textField)==null||c.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)};
g._initializeOutlineLabelOffsetSubscriptions=function(){var a=this;this._prefixChildren.changes.subscribe(function(){return a._needsOutlineLabelOffsetUpdate=!0});Aka(function(){a._needsOutlineLabelOffsetUpdate&&(a._needsOutlineLabelOffsetUpdate=!1,a._updateOutlineLabelOffset())},{injector:this._injector});this._dir.change.pipe(Of(this._destroyed)).subscribe(function(){return a._needsOutlineLabelOffsetUpdate=!0})};g._shouldAlwaysFloat=function(){return this.floatLabel==="always"};
g._hasOutline=function(){return this.appearance==="outline"};g._forceDisplayInfixLabel=function(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()};g._shouldLabelFloat=function(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1};g._shouldForward=function(a){var b=this._control?this._control.ngControl:null;return b&&b[a]};
g._getDisplayedMessages=function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"};g._handleLabelResized=function(){this._refreshOutlineNotchWidth()};g._refreshOutlineNotchWidth=function(){if(this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()){var a;(a=this._notchedOutline)==null||a._setNotchWidth(this._floatingLabel.getWidth())}else{var b;(b=this._notchedOutline)==null||b._setNotchWidth(0)}};g._processHints=function(){this._syncDescribedByIds()};
g._validateHints=function(){};
g._syncDescribedByIds=function(){if(this._control){var a=[];this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy==="string"&&a.push.apply(a,w(this._control.userAriaDescribedBy.split(" ")));if(this._getDisplayedMessages()==="hint"){var b=this._hintChildren?this._hintChildren.find(function(d){return d.align==="start"}):null,c=this._hintChildren?this._hintChildren.find(function(d){return d.align==="end"}):null;b?a.push(b.id):this._hintLabel&&a.push(this._hintLabelId);c&&a.push(c.id)}else this._errorChildren&&
a.push.apply(a,w(this._errorChildren.map(function(d){return d.id})));this._control.setDescribedByIds(a)}};
g._updateOutlineLabelOffset=function(){if(this._hasOutline()&&this._floatingLabel){var a=this._floatingLabel.element;if(this._iconPrefixContainer||this._textPrefixContainer)if(this._isAttachedToDom()){var b,c=(b=this._iconPrefixContainer)==null?void 0:b.nativeElement,d;b=(d=this._textPrefixContainer)==null?void 0:d.nativeElement;var e;d=(e=this._iconSuffixContainer)==null?void 0:e.nativeElement;var f;e=(f=this._textSuffixContainer)==null?void 0:f.nativeElement;var h;c=(h=c==null?void 0:c.getBoundingClientRect().width)!=
null?h:0;var l;h=(l=b==null?void 0:b.getBoundingClientRect().width)!=null?l:0;var q;l=(q=d==null?void 0:d.getBoundingClientRect().width)!=null?q:0;var v;q=(v=e==null?void 0:e.getBoundingClientRect().width)!=null?v:0;a.style.transform="var(\n        --mat-mdc-form-field-label-transform,\n        translateY(-50%) translateX(calc("+((this._dir.value==="rtl"?"-1":"1")+" * ("+(c+h+"px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n    )"));this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",
"calc(100% - "+(c+h+l+q)+"px)")}else this._needsOutlineLabelOffsetUpdate=!0;else a.style.transform=""}};g._isAttachedToDom=function(){var a=this._elementRef.nativeElement;if(a.getRootNode){var b=a.getRootNode();return b&&b!==a}return document.documentElement.contains(a)};
ea.Object.defineProperties($z.prototype,{hideRequiredMarker:{configurable:!0,enumerable:!0,get:function(){return this._hideRequiredMarker},set:function(a){this._hideRequiredMarker=$h(a)}},floatLabel:{configurable:!0,enumerable:!0,get:function(){var a;return this._floatLabel||((a=this._defaults)==null?void 0:a.floatLabel)||"auto"},set:function(a){a!==this._floatLabel&&(this._floatLabel=a,this._changeDetectorRef.markForCheck())}},appearance:{configurable:!0,enumerable:!0,get:function(){return this._appearance},
set:function(a){var b=this._appearance,c;this._appearance=a||((c=this._defaults)==null?void 0:c.appearance)||"fill";this._appearance==="outline"&&this._appearance!==b&&(this._needsOutlineLabelOffsetUpdate=!0)}},subscriptSizing:{configurable:!0,enumerable:!0,get:function(){var a;return this._subscriptSizing||((a=this._defaults)==null?void 0:a.subscriptSizing)||"fixed"},set:function(a){var b;this._subscriptSizing=a||((b=this._defaults)==null?void 0:b.subscriptSizing)||"fixed"}},hintLabel:{configurable:!0,
enumerable:!0,get:function(){return this._hintLabel},set:function(a){this._hintLabel=a;this._processHints()}},_control:{configurable:!0,enumerable:!0,get:function(){return this._explicitFormFieldControl||this._formFieldControl},set:function(a){this._explicitFormFieldControl=a}}});$z.\u0275fac=function(a){return new (a||$z)};
$z.\u0275cmp=t({type:$z,selectors:[["mat-form-field"]],contentQueries:function(a,b,c){a&1&&($la(b._labelChild,Ng(c,Uz,5)),Ng(c,Vz,5),Ng(c,N4b,5),Ng(c,O4b,5),Ng(c,L4b,5),Ng(c,Tz,5));if(a&2){Pd.currentQueryIndex+=1;var d;Qg(d=Rg())&&(b._formFieldControl=d.first);Qg(d=Rg())&&(b._prefixChildren=d);Qg(d=Rg())&&(b._suffixChildren=d);Qg(d=Rg())&&(b._errorChildren=d);Qg(d=Rg())&&(b._hintChildren=d)}},viewQuery:function(a,b){a&1&&(Mg(U4b,5),Mg(V4b,5),Mg(W4b,5),Mg(X4b,5),Mg(Y4b,5),Mg(Xz,5),Mg(Zz,5),Mg(Yz,5));
if(a&2){var c;Qg(c=Rg())&&(b._textField=c.first);Qg(c=Rg())&&(b._iconPrefixContainer=c.first);Qg(c=Rg())&&(b._textPrefixContainer=c.first);Qg(c=Rg())&&(b._iconSuffixContainer=c.first);Qg(c=Rg())&&(b._textSuffixContainer=c.first);Qg(c=Rg())&&(b._floatingLabel=c.first);Qg(c=Rg())&&(b._notchedOutline=c.first);Qg(c=Rg())&&(b._lineRipple=c.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(a,b){a&2&&ng("mat-mdc-form-field-label-always-float",b._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",
b._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",b._hasIconSuffix)("mat-form-field-invalid",b._control.errorState)("mat-form-field-disabled",b._control.disabled)("mat-form-field-autofilled",b._control.autofilled)("mat-form-field-no-animations",b._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",b.appearance=="fill")("mat-form-field-appearance-outline",b.appearance=="outline")("mat-form-field-hide-placeholder",b._hasFloatingLabel()&&!b._shouldLabelFloat())("mat-focused",b._control.focused)("mat-primary",
b.color!=="accent"&&b.color!=="warn")("mat-accent",b.color==="accent")("mat-warn",b.color==="warn")("ng-untouched",b._shouldForward("untouched"))("ng-touched",b._shouldForward("touched"))("ng-pristine",b._shouldForward("pristine"))("ng-dirty",b._shouldForward("dirty"))("ng-valid",b._shouldForward("valid"))("ng-invalid",b._shouldForward("invalid"))("ng-pending",b._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",
subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[Yg([{provide:$4b,useExisting:$z},{provide:S4b,useExisting:$z}]),$g],ngContentSelectors:"*;mat-label;[matPrefix], [matIconPrefix];[matTextPrefix];[matTextSuffix];[matSuffix], [matIconSuffix];mat-error, [matError];mat-hint:not([align='end']);mat-hint[align='end']".split(";"),decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",
""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper",
"mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(a,b){if(a&1){var c=x();Dg(Z4b);D(0,oqa,1,1,"ng-template",null,0,fh);I(2,"div",6,1);M("click",function(){z(c);return A(b._control.onContainerClick())});D(4,pqa,1,0,"div",
7);I(5,"div",8);D(6,sqa,2,2,"div",9)(7,tqa,3,0,"div",10)(8,uqa,3,0,"div",11);I(9,"div",12);D(10,wqa,1,1,null,13);Eg(11);J();D(12,xqa,3,0,"div",14)(13,yqa,3,0,"div",15);J();D(14,zqa,1,0,"div",16);J();I(15,"div",17);D(16,Aqa,2,1,"div",18)(17,Cqa,5,2,"div",19);J()}if(a&2){var d;C(2);ng("mdc-text-field--filled",!b._hasOutline())("mdc-text-field--outlined",b._hasOutline())("mdc-text-field--no-label",!b._hasFloatingLabel())("mdc-text-field--disabled",b._control.disabled)("mdc-text-field--invalid",b._control.errorState);
C(2);G(b._hasOutline()||b._control.disabled?-1:4);C(2);G(b._hasOutline()?6:-1);C();G(b._hasIconPrefix?7:-1);C();G(b._hasTextPrefix?8:-1);C(2);G(!b._hasOutline()||b._forceDisplayInfixLabel()?10:-1);C(2);G(b._hasTextSuffix?12:-1);C();G(b._hasIconSuffix?13:-1);C();G(b._hasOutline()?-1:14);C();ng("mat-mdc-form-field-subscript-dynamic-size",b.subscriptSizing==="dynamic");C();G((d=b._getDisplayedMessages())==="error"?16:d==="hint"?17:-1)}},dependencies:[Xz,Zz,Hw,Yz,Tz],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-app-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color, color-mix(in srgb, var(--mat-app-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-app-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-app-outline));border-width:var(--mdc-outlined-text-field-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-app-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-app-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color, color-mix(in srgb, var(--mat-app-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-app-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-app-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-app-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-app-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-app-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-app-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-app-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-app-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-app-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-app-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-app-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-app-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-app-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-app-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-app-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-app-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-app-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-app-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-app-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}\n'],
encapsulation:2,data:{animation:[Q4b]},changeDetection:0});var aA=function(){};aA.\u0275fac=function(a){return new (a||aA)};aA.\u0275mod=u({type:aA});aA.\u0275inj=p({imports:[yy,Qw,rx,$z,yy]});var d5b=ni("transformPanel",[si("void => enter-dropdown",oi("120ms cubic-bezier(0, 0, 0.2, 1)",ri([pi({opacity:0,transform:"scale(1, 0.8)"}),pi({opacity:1,transform:"scale(1, 1)"})]))),si("void => enter-dialog",oi("150ms cubic-bezier(0, 0, 0.2, 1)",ri([pi({opacity:0,transform:"scale(0.7)"}),pi({transform:"none",opacity:1})]))),si("* => void",oi("100ms linear",pi({opacity:0})))]),e5b=ni("fadeInCalendar",[qi("void",pi({opacity:0})),qi("enter",pi({opacity:1})),si("void => *",oi("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))]);var f5b={provide:new Bd("mat-datepicker-scroll-strategy",{providedIn:"root",factory:function(){var a=r(ty);return function(){return a.scrollStrategies.reposition()}}}),deps:[ty],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},bA=function(){this._elementRef=r(ge);this._changeDetectorRef=r(rw);this._globalModel=r($y);this._dateAdapter=r(zy);this._rangeSelectionStrategy=r(c4b,{optional:!0});this._subscriptions=new me;this._animationDone=new Jf;this._isAnimating=!1;
this._actionsPortal=null;this._closeButtonText=r(bz).closeCalendarLabel};g=bA.prototype;g.ngOnInit=function(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"};g.ngAfterViewInit=function(){var a=this;this._subscriptions.add(this.datepicker.stateChanges.subscribe(function(){a._changeDetectorRef.markForCheck()}));this._calendar._getCurrentViewComponent()._focusActiveCell(!1)};g.ngOnDestroy=function(){this._subscriptions.unsubscribe();this._animationDone.complete()};
g._handleUserSelection=function(a){var b=this._model.selection;a=a.value;!a||this._dateAdapter.sameDate(a,b)||this._model.add(a);this._model&&!this._model.isComplete()||this._actionsPortal||this.datepicker.close()};g._handleUserDragDrop=function(a){this._model.updateSelection(a.value,this)};g._startExitAnimation=function(){this._animationState="void";this._changeDetectorRef.markForCheck()};g._handleAnimationEvent=function(a){(this._isAnimating=a.phaseName==="start")||this._animationDone.next()};
g._getSelected=function(){return this._model.selection};g._applyPendingSelection=function(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)};g._assignActions=function(a,b){this._model=a?this._globalModel.clone():this._globalModel;this._actionsPortal=a;b&&this._changeDetectorRef.detectChanges()};bA.\u0275fac=function(a){return new (a||bA)};
bA.\u0275cmp=t({type:bA,selectors:[["mat-datepicker-content"]],viewQuery:function(a,b){a&1&&Mg(jz,5);if(a&2){var c;Qg(c=Rg())&&(b._calendar=c.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function(a,b){a&1&&Cg("@transformPanel.start",function(c){return b._handleAnimationEvent(c)})("@transformPanel.done",function(c){return b._handleAnimationEvent(c)});a&2&&(zg("@transformPanel",b._animationState),og(b.color?"mat-"+b.color:""),ng("mat-datepicker-content-touch",b.datepicker.touchUi))},
inputs:{color:"color"},exportAs:["matDatepickerContent"],standalone:!0,features:[$g],decls:5,vars:27,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button",
"",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"mat-calendar",1),M("yearSelected",function(d){return b.datepicker._selectYear(d)})("monthSelected",function(d){return b.datepicker._selectMonth(d)})("viewChanged",function(d){return b.datepicker._viewChanged(d)})("_userSelection",function(d){return b._handleUserSelection(d)})("_userDragDrop",function(d){return b._handleUserDragDrop(d)}),J(),D(2,Dqa,0,0,"ng-template",2),I(3,"button",3),
M("focus",function(){return b._closeButtonFocused=!0})("blur",function(){return b._closeButtonFocused=!1})("click",function(){return b.datepicker.close()}),Q(4),J()());if(a&2){var c;ng("mat-datepicker-content-container-with-custom-header",b.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",b._actionsPortal);eg("aria-modal",!0)("aria-labelledby",(c=b._dialogLabelId)!==null&&c!==void 0?c:void 0);C();og(b.datepicker.panelClass);F("id",b.datepicker.id)("startAt",b.datepicker.startAt)("startView",
b.datepicker.startView)("minDate",b.datepicker._getMinDate())("maxDate",b.datepicker._getMaxDate())("dateFilter",b.datepicker._getDateFilter())("headerComponent",b.datepicker.calendarHeaderComponent)("selected",b._model.selection)("dateClass",b.datepicker.dateClass)("comparisonStart",b.comparisonStart)("comparisonEnd",b.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",b.startDateAccessibleName)("endDateAccessibleName",b.endDateAccessibleName);C();F("cdkPortalOutlet",b._actionsPortal);
C();ng("cdk-visually-hidden",!b._closeButtonFocused);F("color",b.color||"primary");C();Tg(b._closeButtonText)}},dependencies:[jx,jz,ry,Vy],styles:[".mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color, var(--mat-app-surface-container-high));color:var(--mat-datepicker-calendar-container-text-color, var(--mat-app-on-surface));box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-shape, var(--mat-app-corner-large))}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-touch-shape, var(--mat-app-corner-extra-large));position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],
encapsulation:2,data:{animation:[d5b,e5b]},changeDetection:0});var g5b=new Bd("MAT_INPUT_VALUE_ACCESSOR");var cA=function(){};cA.\u0275fac=function(a){return new (a||cA)};
cA.\u0275cmp=t({type:cA,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],standalone:!0,features:[$g],decls:0,vars:0,template:function(){},styles:["textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}\n"],encapsulation:2,
changeDetection:0});var h5b=Uh({passive:!0}),dA=function(){this._platform=r(Xw);this._ngZone=r(hh);this._styleLoader=r(Yw);this._monitoredElements=new Map};
dA.prototype.monitor=function(a){var b=this;if(!this._platform.isBrowser)return We;this._styleLoader.load(cA);var c=bi(a);if(a=this._monitoredElements.get(c))return a.subject;var d=new Jf,e=function(f){f.animationName!=="cdk-text-field-autofill-start"||c.classList.contains("cdk-text-field-autofilled")?f.animationName==="cdk-text-field-autofill-end"&&c.classList.contains("cdk-text-field-autofilled")&&(c.classList.remove("cdk-text-field-autofilled"),b._ngZone.run(function(){return d.next({target:f.target,
isAutofilled:!1})})):(c.classList.add("cdk-text-field-autofilled"),b._ngZone.run(function(){return d.next({target:f.target,isAutofilled:!0})}))};this._ngZone.runOutsideAngular(function(){c.addEventListener("animationstart",e,h5b);c.classList.add("cdk-text-field-autofill-monitored")});this._monitoredElements.set(c,{subject:d,unlisten:function(){c.removeEventListener("animationstart",e,h5b)}});return d};
dA.prototype.stopMonitoring=function(a){a=bi(a);var b=this._monitoredElements.get(a);b&&(b.unlisten(),b.subject.complete(),a.classList.remove("cdk-text-field-autofill-monitored"),a.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(a))};dA.prototype.ngOnDestroy=function(){var a=this;this._monitoredElements.forEach(function(b,c){return a.stopMonitoring(c)})};dA.\u0275fac=function(a){return new (a||dA)};dA.\u0275prov=n({token:dA,factory:dA.\u0275fac,providedIn:"root"});var eA=function(){var a=this;this._elementRef=r(ge);this._platform=r(Xw);this._ngZone=r(hh);this._destroyed=new Jf;this._enabled=!0;this._previousMinRows=-1;this._document=r(ei,{optional:!0});this._isViewInited=!1;this._handleFocusEvent=function(b){a._hasFocus=b.type==="focus"};r(Yw).load(cA);this._textareaElement=this._elementRef.nativeElement};g=eA.prototype;
g._setMinHeight=function(){var a=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;a&&(this._textareaElement.style.minHeight=a)};g._setMaxHeight=function(){var a=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;a&&(this._textareaElement.style.maxHeight=a)};
g.ngAfterViewInit=function(){var a=this;this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,fA(this),this._ngZone.runOutsideAngular(function(){Te(a._getWindow(),"resize").pipe(wf(16),Of(a._destroyed)).subscribe(function(){return fA(a,!0)});a._textareaElement.addEventListener("focus",a._handleFocusEvent);a._textareaElement.addEventListener("blur",a._handleFocusEvent)}),this._isViewInited=!0,fA(this,!0))};
g.ngOnDestroy=function(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent);this._textareaElement.removeEventListener("blur",this._handleFocusEvent);this._destroyed.next();this._destroyed.complete()};
g._cacheTextareaLineHeight=function(){if(!this._cachedLineHeight){var a=this._textareaElement.cloneNode(!1);a.rows=1;a.style.position="absolute";a.style.visibility="hidden";a.style.border="none";a.style.padding="0";a.style.height="";a.style.minHeight="";a.style.maxHeight="";a.style.overflow="hidden";this._textareaElement.parentNode.appendChild(a);this._cachedLineHeight=a.clientHeight;a.remove();this._setMinHeight();this._setMaxHeight()}};
g._measureScrollHeight=function(){var a=this._textareaElement,b=a.style.marginBottom||"",c=this._platform.FIREFOX,d=c&&this._hasFocus;c=c?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";d&&(a.style.marginBottom=a.clientHeight+"px");a.classList.add(c);var e=a.scrollHeight-4;a.classList.remove(c);d&&(a.style.marginBottom=b);return e};
g._cacheTextareaPlaceholderHeight=function(){if(this._isViewInited&&this._cachedPlaceholderHeight==void 0)if(this.placeholder){var a=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder;this._cachedPlaceholderHeight=this._measureScrollHeight();this._textareaElement.value=a}else this._cachedPlaceholderHeight=0};g.ngDoCheck=function(){this._platform.isBrowser&&fA(this)};
var fA=function(a,b){b=b===void 0?!1:b;if(a._enabled&&(a._cacheTextareaLineHeight(),a._cacheTextareaPlaceholderHeight(),a._cachedLineHeight)){var c=a._elementRef.nativeElement,d=c.value;if(b||a._minRows!==a._previousMinRows||d!==a._previousValue)b=a._measureScrollHeight(),c.style.height=Math.max(b,a._cachedPlaceholderHeight||0)+"px",a._ngZone.runOutsideAngular(function(){typeof requestAnimationFrame!=="undefined"?requestAnimationFrame(function(){return a._scrollToCaretPosition(c)}):setTimeout(function(){return a._scrollToCaretPosition(c)})}),
a._previousValue=d,a._previousMinRows=a._minRows}};g=eA.prototype;g.reset=function(){this._initialHeight!==void 0&&(this._textareaElement.style.height=this._initialHeight)};g._noopInputHandler=function(){};g._getDocument=function(){return this._document||document};g._getWindow=function(){return this._getDocument().defaultView||window};g._scrollToCaretPosition=function(a){var b=a.selectionStart,c=a.selectionEnd;!this._destroyed.isStopped&&this._hasFocus&&a.setSelectionRange(b,c)};
ea.Object.defineProperties(eA.prototype,{minRows:{configurable:!0,enumerable:!0,get:function(){return this._minRows},set:function(a){this._minRows=ci(a);this._setMinHeight()}},maxRows:{configurable:!0,enumerable:!0,get:function(){return this._maxRows},set:function(a){this._maxRows=ci(a);this._setMaxHeight()}},enabled:{configurable:!0,enumerable:!0,get:function(){return this._enabled},set:function(a){this._enabled!==a&&((this._enabled=a)?fA(this,!0):this.reset())}},placeholder:{configurable:!0,enumerable:!0,
get:function(){return this._textareaElement.placeholder},set:function(a){this._cachedPlaceholderHeight=void 0;a?this._textareaElement.setAttribute("placeholder",a):this._textareaElement.removeAttribute("placeholder");this._cacheTextareaPlaceholderHeight()}}});eA.\u0275fac=function(a){return new (a||eA)};
eA.\u0275dir=ud({type:eA,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(a){a&1&&M("input",function(){})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",rh],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"],standalone:!0,features:[dg]});var gA=function(){};gA.\u0275fac=function(a){return new (a||gA)};gA.\u0275mod=u({type:gA});gA.\u0275inj=p({});var i5b="button checkbox file hidden image radio range reset submit".split(" "),j5b=0,k5b=new Bd("MAT_INPUT_CONFIG"),hA=function(){var a=this;this._elementRef=r(ge);this._platform=r(Xw);this.ngControl=r(rz,{optional:!0,self:!0});this._autofillMonitor=r(dA);this._ngZone=r(hh);this._formField=r($4b,{optional:!0});this._uid="mat-input-"+j5b++;this._webkitBlinkWheelListenerAttached=!1;this._config=r(k5b,{optional:!0});this.focused=!1;this.stateChanges=new Jf;this.controlType="mat-input";this._disabled=
this.autofilled=!1;this._type="text";this._readonly=!1;this._neverEmptyInputTypes="date datetime datetime-local month time week".split(" ").filter(function(q){return yoa().has(q)});this._iOSKeyupListener=function(q){q=q.target;q.value||q.selectionStart!==0||q.selectionEnd!==0||(q.setSelectionRange(1,1),q.setSelectionRange(0,0))};this._webkitBlinkWheelListener=function(){};var b=r(zz,{optional:!0}),c=r(Hz,{optional:!0}),d=r(Ey),e=r(g5b,{optional:!0,self:!0}),f=this._elementRef.nativeElement,h=f.nodeName.toLowerCase();
e?vf(e.value)?this._signalBasedValueAccessor=e:this._inputValueAccessor=e:this._inputValueAccessor=f;this._previousNativeValue=this.value;this.id=this.id;this._platform.IOS&&this._ngZone.runOutsideAngular(function(){f.addEventListener("keyup",a._iOSKeyupListener)});this._errorStateTracker=new o3b(d,this.ngControl,c,b,this.stateChanges);this._isServer=!this._platform.isBrowser;this._isNativeSelect=h==="select";this._isTextarea=h==="textarea";this._isInFormField=!!this._formField;var l;this.disabledInteractive=
((l=this._config)==null?void 0:l.disabledInteractive)||!1;this._isNativeSelect&&(this.controlType=f.multiple?"mat-native-select-multiple":"mat-native-select");this._signalBasedValueAccessor&&Pma(function(){a._signalBasedValueAccessor.value();a.stateChanges.next()})};g=hA.prototype;g.ngAfterViewInit=function(){var a=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(b){a.autofilled=b.isAutofilled;a.stateChanges.next()})};g.ngOnChanges=function(){this.stateChanges.next()};
g.ngOnDestroy=function(){this.stateChanges.complete();this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement);this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener);this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)};
g.ngDoCheck=function(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next()));this._dirtyCheckNativeValue();this._dirtyCheckPlaceholder()};g.focus=function(a){this._elementRef.nativeElement.focus(a)};g.updateErrorState=function(){this._errorStateTracker.updateErrorState()};
g._focusChanged=function(a){if(a!==this.focused){if(!this._isNativeSelect&&a&&this.disabled&&this.disabledInteractive){var b=this._elementRef.nativeElement;b.type==="number"?(b.type="text",b.setSelectionRange(0,0),b.type="number"):b.setSelectionRange(0,0)}this.focused=a;this.stateChanges.next()}};g._onInput=function(){};g._dirtyCheckNativeValue=function(){var a=this._elementRef.nativeElement.value;this._previousNativeValue!==a&&(this._previousNativeValue=a,this.stateChanges.next())};
g._dirtyCheckPlaceholder=function(){var a=this._getPlaceholder();if(a!==this._previousPlaceholder){var b=this._elementRef.nativeElement;(this._previousPlaceholder=a)?b.setAttribute("placeholder",a):b.removeAttribute("placeholder")}};g._getPlaceholder=function(){return this.placeholder||null};g._validateType=function(){i5b.indexOf(this._type)};g._isNeverEmpty=function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1};
g._isBadInput=function(){var a=this._elementRef.nativeElement.validity;return a&&a.badInput};g.setDescribedByIds=function(a){a.length?this._elementRef.nativeElement.setAttribute("aria-describedby",a.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")};g.onContainerClick=function(){this.focused||this.focus()};g._isInlineSelect=function(){var a=this._elementRef.nativeElement;return this._isNativeSelect&&(a.multiple||a.size>1)};
g._ensureWheelDefaultBehavior=function(){var a=this;this._webkitBlinkWheelListenerAttached||this._type!=="number"||!this._platform.BLINK&&!this._platform.WEBKIT||(this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("wheel",a._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0);this._webkitBlinkWheelListenerAttached&&this._type!=="number"&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=
!0)};g._getReadonlyAttribute=function(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null};
ea.Object.defineProperties(hA.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=$h(a);this.focused&&(this.focused=!1,this.stateChanges.next())}},id:{configurable:!0,enumerable:!0,get:function(){return this._id},set:function(a){this._id=a||this._uid}},required:{configurable:!0,enumerable:!0,get:function(){var a,b,c,d;return(d=(c=this._required)!=null?c:(a=this.ngControl)==null?void 0:(b=a.control)==null?void 0:r4b(b))!=null?d:!1},
set:function(a){this._required=$h(a)}},type:{configurable:!0,enumerable:!0,get:function(){return this._type},set:function(a){this._type=a||"text";this._validateType();!this._isTextarea&&yoa().has(this._type)&&(this._elementRef.nativeElement.type=this._type);this._ensureWheelDefaultBehavior()}},errorStateMatcher:{configurable:!0,enumerable:!0,get:function(){return this._errorStateTracker.matcher},set:function(a){this._errorStateTracker.matcher=a}},value:{configurable:!0,enumerable:!0,get:function(){return this._signalBasedValueAccessor?
this._signalBasedValueAccessor.value():this._inputValueAccessor.value},set:function(a){a!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(a):this._inputValueAccessor.value=a,this.stateChanges.next())}},readonly:{configurable:!0,enumerable:!0,get:function(){return this._readonly},set:function(a){this._readonly=$h(a)}},errorState:{configurable:!0,enumerable:!0,get:function(){return this._errorStateTracker.errorState},set:function(a){this._errorStateTracker.errorState=
a}},empty:{configurable:!0,enumerable:!0,get:function(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}},shouldLabelFloat:{configurable:!0,enumerable:!0,get:function(){if(this._isNativeSelect){var a=this._elementRef.nativeElement,b=a.options[0];return this.focused||a.multiple||!this.empty||!!(a.selectedIndex>-1&&b&&b.label)}return this.focused&&!this.disabled||!this.empty}}});hA.\u0275fac=function(a){return new (a||hA)};
hA.\u0275dir=ud({type:hA,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(a,b){a&1&&M("focus",function(){return b._focusChanged(!0)})("blur",function(){return b._focusChanged(!1)})("input",function(){});a&2&&(yg("id",b.id)("disabled",b.disabled&&!b.disabledInteractive)("required",b.required),eg("name",b.name||null)("readonly",
b._getReadonlyAttribute())("aria-disabled",b.disabled&&b.disabledInteractive?"true":null)("aria-invalid",b.empty&&b.required?null:b.errorState)("aria-required",b.required)("id",b.id),ng("mat-input-server",b._isServer)("mat-mdc-form-field-textarea-control",b._isInFormField&&b._isTextarea)("mat-mdc-form-field-input-control",b._isInFormField)("mat-mdc-input-disabled-interactive",b.disabledInteractive)("mdc-text-field__input",b._isInFormField)("mat-mdc-native-select-inline",b._isInlineSelect()))},inputs:{disabled:"disabled",
id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",rh]},exportAs:["matInput"],standalone:!0,features:[Yg([{provide:Vz,useExisting:hA}]),dg,Hd]});var iA=function(){};iA.\u0275fac=function(a){return new (a||iA)};iA.\u0275mod=u({type:iA});iA.\u0275inj=p({imports:[yy,aA,aA,gA,yy]});var l5b=["button"],m5b=[[["","matDatepickerToggleIcon",""]]],jA=function(){};jA.\u0275fac=function(a){return new (a||jA)};jA.\u0275dir=ud({type:jA,selectors:[["","matDatepickerToggleIcon",""]],standalone:!0});var kA=function(){this._intl=r(bz);this._changeDetectorRef=r(rw);this._stateChanges=me.EMPTY;var a=r(new Vv("tabindex"),{optional:!0});this.tabIndex=(a=Number(a))||a===0?a:null};g=kA.prototype;g.ngOnChanges=function(a){a.datepicker&&this._watchStateChanges()};g.ngOnDestroy=function(){this._stateChanges.unsubscribe()};
g.ngAfterContentInit=function(){this._watchStateChanges()};g._open=function(a){this.datepicker&&!this.disabled&&(this.datepicker.open(),a.stopPropagation())};
g._watchStateChanges=function(){var a=this,b=this.datepicker?this.datepicker.stateChanges:Fe(),c=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:Fe(),d=this.datepicker?Xe(this.datepicker.openedStream,this.datepicker.closedStream):Fe();this._stateChanges.unsubscribe();this._stateChanges=Xe(this._intl.changes,b,c,d).subscribe(function(){return a._changeDetectorRef.markForCheck()})};
ea.Object.defineProperties(kA.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled},set:function(a){this._disabled=a}}});kA.\u0275fac=function(a){return new (a||kA)};
kA.\u0275cmp=t({type:kA,selectors:[["mat-datepicker-toggle"]],contentQueries:function(a,b,c){a&1&&Ng(c,jA,5);if(a&2){var d;Qg(d=Rg())&&(b._customIcon=d.first)}},viewQuery:function(a,b){a&1&&Mg(l5b,5);if(a&2){var c;Qg(c=Rg())&&(b._button=c.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(a,b){a&1&&M("click",function(c){return b._open(c)});a&2&&(eg("tabindex",null)("data-mat-calendar",b.datepicker?b.datepicker.id:null),ng("mat-datepicker-toggle-active",b.datepicker&&b.datepicker.opened)("mat-accent",
b.datepicker&&b.datepicker.color==="accent")("mat-warn",b.datepicker&&b.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",rh],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],standalone:!0,features:[dg,Hd,$g],ngContentSelectors:["[matDatepickerToggleIcon]"],decls:4,vars:6,consts:[["button",""],["mat-icon-button","","type","button",3,"disabled","disableRipple"],["viewBox",
"0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(a,b){a&1&&(Dg(m5b),I(0,"button",1,0),D(2,Eqa,2,0,":svg:svg",2),Eg(3),J());a&2&&(F("disabled",b.disabled)("disableRipple",b.disableRipple),eg("aria-haspopup",b.datepicker?"dialog":null)("aria-label",
b.ariaLabel||b._intl.openCalendarLabel)("tabindex",b.disabled?-1:b.tabIndex),C(2),G(b._customIcon?-1:2))},dependencies:[Xy],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color, var(--mat-app-on-surface-variant))}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-app-on-surface-variant))}@media(forced-colors: active){.mat-datepicker-toggle-default-icon{color:CanvasText}}\n"],encapsulation:2,changeDetection:0});var lA=function(){};lA.\u0275fac=function(a){return new (a||lA)};lA.\u0275mod=u({type:lA});lA.\u0275inj=p({providers:[bz,f5b],imports:[Qw,Zy,xy,tx,sy,yy,bA,kA,kz,Zx]});var Fqa=/^[a-z][a-z\d-]*$/i,Gqa="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" "),Jqa="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "),Kqa=["action","formaction","href"];var Lqa=new Map([["zwieback_id:","zwieback"],["android_id:","android"],["anonymous_id:","anonymous"]]);var mA=function(a){this.internalArray_=m(a)};Y(mA,V);mA.prototype.getId=function(){return Gh(this,1)};mA.prototype.setId=function(a){return cj(this,1,a)};mA.prototype.getSourceId=function(){return Kj(this,2,0)};mA.prototype.setSourceId=function(a){return ej(this,2,a)};var yj=function(a){this.internalArray_=m(a)};Y(yj,V);g=yj.prototype;g.getSeconds_asLegacyNumberOrString=function(){return Vj(this,1)};g.getSeconds_asString=function(){return Oo(this,1)};g.setSeconds=function(a){return pl(this,1,a)};g.getNanos=function(){return Zi(this,2)};g.setNanos=function(a){return uj(this,2,a)};g.fromMillis=function(a){if(!Number.isFinite(a))throw Error();var b=Math.trunc(a);a=(a-b+b%1E3)*1E6;return this.setSeconds(Math.trunc(b/1E3)).setNanos(Math.trunc(a))};var nA=function(a){this.internalArray_=m(a)};Y(nA,V);g=nA.prototype;g.getUrl=function(){return Gh(this,1)};g.setUrl=function(a){return cj(this,1,a)};g.getHeight=function(){return Zi(this,2)};g.setHeight=function(a){return uj(this,2,a)};g.getWidth=function(){return Zi(this,3)};g.setWidth=function(a){return uj(this,3,a)};var oA=function(a){this.internalArray_=m(a)};Y(oA,V);oA.prototype.getDuration=function(){return W(this,yj,2)};var n5b=function(a){this.internalArray_=m(a)};Y(n5b,V);var pA=function(a){this.internalArray_=m(a)};Y(pA,V);g=pA.prototype;g.getEmailList=function(){return Vi(this,1,Wi())};g.setEmailList=function(a){return dj(this,1,a)};g.addEmail=function(a){return yc(this,1,Qb,a,void 0,Vi)};g.removeEmail=function(a){return yc(this,1,Qb,void 0,a,Vi,void 0,1,!1,!0)};g.getEmail=function(a){return Jv(this,1,a)};g.setEmail=function(a){return Nv(this,1,a)};g.getGroupId=function(a){return Jv(this,2,a)};g.setGroupId=function(a){Nv(this,2,a)};var o5b=function(a){this.internalArray_=m(a)};Y(o5b,V);var p5b=function(a){this.internalArray_=m(a)};Y(p5b,V);p5b.prototype.getDownloadUrl=function(){return Gh(this,5)};var q5b=function(a){this.internalArray_=m(a)};Y(q5b,V);var r5b=function(a){this.internalArray_=m(a)};Y(r5b,V);r5b.prototype.getPhotoId=function(){return Gh(this,1)};var s5b=function(a){this.internalArray_=m(a)};Y(s5b,V);var t5b=function(a){this.internalArray_=m(a)};Y(t5b,V);var qA=function(a){this.internalArray_=m(a)};Y(qA,V);var rA=[2,4,5,6,7];var u5b=function(a){this.internalArray_=m(a)};Y(u5b,V);var yn=function(a){this.internalArray_=m(a)};Y(yn,V);yn.prototype.getTypeName=function(){return Gh(this,1).split("/").pop()};yn.prototype.getValue=function(){var a=Mj(this,2);if(Array.isArray(a)||a instanceof V)throw Error("$a");return Yp(this,2)};yn.prototype.setValue=function(a){if(a==null)a=this;else if(Array.isArray(a))a=Zp(this,2,gc(a,Pda,void 0,void 0,!1));else if(typeof a==="string"||a instanceof gb||Wa(a))a=sl(this,2,a);else throw Error("ka`"+a);return a};var sA=function(a){this.internalArray_=m(a)};Y(sA,V);g=sA.prototype;g.getId=function(){return W(this,mA,1)};g.setId=function(a){return X(this,mA,1,a)};g.getName=function(){return Gh(this,2)};g.setName=function(a){return cj(this,2,a)};g.getDescription=function(){return Gh(this,3)};g.setDescription=function(a){return cj(this,3,a)};g.setParentId=function(a){return cj(this,4,a)};g.getType=function(){return Kj(this,6,0)};g.setType=function(a){return ej(this,6,a)};
g.getMimeType=function(){return Gh(this,7)};g.setMimeType=function(a){cj(this,7,a)};g.getUrl=function(){return Gh(this,8)};g.setUrl=function(a){return cj(this,8,a)};g.getIconUrl=function(){return Gh(this,11)};g.setIconUrl=function(a){return cj(this,11,a)};var tA=function(a){return nj(a,nA,10,Wi())};g=sA.prototype;g.getLastModifiedTimestamp=function(){return W(this,wj,12)};g.getVideoMetadata=function(){return W(this,oA,34)};g.hasVideoMetadata=function(){return Oj(this,oA,34)};
g.setOwnedByMe=function(a){return Hl(this,39,a)};g.getOwner=function(){return Jv(this,40)};g.setOwner=function(a){return Nv(this,40,a)};g.getStarred=function(){return Fj(this,44)};var uA=function(a){this.internalArray_=m(a)};Y(uA,V);g=uA.prototype;g.getShared=function(){return Fj(this,1)};g.setShared=function(a){Hl(this,1,a)};g.getVideoMetadata=function(){return W(this,oA,3)};g.hasVideoMetadata=function(){return Oj(this,oA,3)};g.getDownloadUrl=function(){return Gh(this,10)};var vA=function(a){this.internalArray_=m(a)};Y(vA,V);vA.prototype.getLabel=function(){return Gh(this,2)};vA.prototype.setLabel=function(a){return cj(this,2,a)};var v5b=function(a){this.internalArray_=m(a)};Y(v5b,V);g=v5b.prototype;g.getStatus=function(){return Kj(this,1,0)};g.setStatus=function(a){return ej(this,1,a)};g.getItemList=function(a){return nj(this,sA,2,Wi(a))};g.addItem=function(a,b){return Bv(this,2,sA,a,b)};g.setItem=function(a,b){return yv(this,2,sA,a,b)};g.removeItem=function(a){return Cv(this,2,sA,a)};g.getItemCount=function(){return ZZb(this,sA,2)};g.getErrorCode=function(){return Kj(this,4,0)};
g.getInternalOnlyV1ViewInfo=function(){return W(this,vA,7)};var wA=function(a){this.internalArray_=m(a)};Y(wA,V);g=wA.prototype;g.getSourceId=function(){return Kj(this,1,0)};g.setSourceId=function(a){return ej(this,1,a)};g.getName=function(){return Gh(this,8)};g.setName=function(a){return cj(this,8,a)};g.getInternalOnlyV1ViewInfo=function(){return W(this,vA,18)};var w5b=function(a){this.internalArray_=m(a)};Y(w5b,V);g=w5b.prototype;g.getCommand=function(){return Kj(this,1,0)};g.setCommand=function(a){return ej(this,1,a)};g.getSource=function(){return W(this,wA,2)};g.setSource=function(a){return X(this,wA,2,a)};g.hasSource=function(){return Oj(this,wA,2)};g.setVisible=function(a){return Hl(this,5,a)};g.getItemList=function(a){return nj(this,sA,7,Wi(a))};g.addItem=function(a,b){return Bv(this,7,sA,a,b)};g.setItem=function(a,b){return yv(this,7,sA,a,b)};
g.removeItem=function(a){return Cv(this,7,sA,a)};g.getItemCount=function(){return ZZb(this,sA,7)};g.getQuery=function(){return Gh(this,8)};g.setQuery=function(a){return cj(this,8,a)};g.clearQuery=function(){Zp(this,8)};g.getAppId=function(){return Gh(this,9)};g.setAppId=function(a){cj(this,9,a)};var x5b=function(a){this.internalArray_=m(a)};Y(x5b,V);g=x5b.prototype;g.getCommand=function(){return Kj(this,1,0)};g.setCommand=function(a){return ej(this,1,a)};g.getItemList=function(a){return nj(this,sA,4,Wi(a))};g.addItem=function(a,b){return Bv(this,4,sA,a,b)};g.setItem=function(a,b){return yv(this,4,sA,a,b)};g.removeItem=function(a){return Cv(this,4,sA,a)};g.getItemCount=function(){return ZZb(this,sA,4)};var y5b=Ih(x5b);var z5b=function(a){this.internalArray_=m(a)};Y(z5b,V);var A5b=[0,K1b,N1b,-1];var xA=function(a){this.internalArray_=m(a)};Y(xA,V);xA.prototype.setBase=function(a){return X(this,z5b,1,a)};var yA=function(a){this.internalArray_=m(a)};Y(yA,V);var yza=function(a){this.internalArray_=m(a)};Y(yza,V);yza.prototype.getValue_asLegacyNumberOrString=function(){return Vj(this,1)};yza.prototype.setValue=function(a){return pl(this,1,a)};var tj=function(a){this.internalArray_=m(a)};Y(tj,V);g=tj.prototype;g.getYear=function(){return Zi(this,1)};g.setYear=function(a){return uj(this,1,a)};g.getMonth=function(){return Zi(this,2)};g.setMonth=function(a){return uj(this,2,a)};g.getDay=function(){return Zi(this,3)};var Vm=function(a){this.internalArray_=m(a)};Y(Vm,V);var Wm=function(a,b){yc(a,1,Qb,b,void 0,Vi)};var xza=function(a){this.internalArray_=m(a)};Y(xza,V);xza.prototype.getValue=function(){return Zi(this,1)};xza.prototype.setValue=function(a){return uj(this,1,a)};var Aza=function(a){this.internalArray_=m(a)};Y(Aza,V);Aza.prototype.getValue=function(){return Fj(this,1)};Aza.prototype.setValue=function(a){return Hl(this,1,a)};var Ro=function(a){this.internalArray_=m(a)};Y(Ro,V);g=Ro.prototype;g.getHours=function(){return Zi(this,1)};g.setHours=function(a){return uj(this,1,a)};g.getMinutes=function(){return Zi(this,2)};g.setMinutes=function(a){return uj(this,2,a)};g.getSeconds=function(){return Zi(this,3)};g.setSeconds=function(a){return uj(this,3,a)};g.getNanos=function(){return Zi(this,4)};g.setNanos=function(a){return uj(this,4,a)};var Usa=function(a){this.internalArray_=m(a)};Y(Usa,V);var zza=function(a){this.internalArray_=m(a)};Y(zza,V);zza.prototype.getValue=function(){return Gh(this,1)};zza.prototype.setValue=function(a){return cj(this,1,a)};var zA=function(a){this.internalArray_=m(a)};Y(zA,V);g=zA.prototype;g.getCode=function(){return Zi(this,1)};g.setCode=function(a){return ek(this,1,a)};g.getCodeOrUndefined=function(){return Kv(this,1)};g.getMessage=function(){return Gh(this,3)};g.setMessage=function(a){return gk(this,3,a)};var B5b=[0,A5b,K1b];var AA=function(a){this.internalArray_=m(a)};Y(AA,V);AA.prototype.setVeIndex=function(a){ek(this,1,a)};var C5b=function(a,b){ek(a,2,b)};AA.prototype.setElementIndex=function(a){ek(this,5,a)};AA.prototype.getResultIndex=function(){return Zi(this,6,-1)};AA.prototype.setResultIndex=function(a){ek(this,6,a)};var D5b=[0,zw,-1,2,zw,-4,Aw,zw,M1b,B5b,zw,[0,L1b,zw]];var BA=function(a){this.internalArray_=m(a)};Y(BA,V);BA.prototype.setVed=function(a){return kl(this,5,E5b,a)};var F5b=[1,3,4],E5b=[2,5];var CA=function(a){this.internalArray_=m(a,233)};Y(CA,V);CA.prototype.setUiType=function(a){return ek(this,1,a)};CA.prototype.setElementIndex=function(a){ek(this,3,a)};var G5b=function(a,b){wc(a,4,b,Gb)};CA.prototype.getResultIndex=function(){return Zi(this,7)};CA.prototype.setResultIndex=function(a){ek(this,7,a)};CA.prototype.setVisible=function(a){return hk(this,6,a)};var H5b=function(a){this.streamzService=a;this.metricName="/client_streamz/buganizer/load_time";a.addNewEventMetric(this.metricName,xi("action"),xi("frontend_access_mode"),xi("environment_type"))};H5b.prototype.record=function(a,b,c,d){this.streamzService.record(this.metricName,a,b,c,d)};H5b.prototype.getMetric=function(){return this.streamzService.getMetric(this.metricName)};
var I5b=function(a){this.streamzService=a;this.metricName="/client_streamz/buganizer/user_action_counts";a.addNewCounter(this.metricName,xi("action"),xi("frontend_access_mode"),xi("environment_type"))};I5b.prototype.increment=function(a,b,c){this.streamzService.incrementCounter(this.metricName,a,b,c)};I5b.prototype.getMetric=function(){return this.streamzService.getMetric(this.metricName)};
var J5b=function(a){this.streamzService=a;this.metricName="/client_streamz/buganizer/user_latency";a.addNewEventMetric(this.metricName,xi("action"),xi("frontend_access_mode"),xi("environment_type"))};J5b.prototype.record=function(a,b,c,d){this.streamzService.record(this.metricName,a,b,c,d)};J5b.prototype.getMetric=function(){return this.streamzService.getMetric(this.metricName)};var K5b=function(a){this.streamzService=a;this.metricName="/client_streamz/one_developer_workflow/events/usage";a.addNewCounter(this.metricName,xi("name"),xi("source"),{fieldType:1,fieldName:"state"})};K5b.prototype.increment=function(a,b,c){this.streamzService.incrementCounter(this.metricName,a,b,c)};K5b.prototype.getMetric=function(){return this.streamzService.getMetric(this.metricName)};
var L5b=function(a){this.streamzService=a;this.metricName="/client_streamz/one_developer_workflow/events/performance";a.addNewEventMetric(this.metricName,xi("source"),xi("name"))};L5b.prototype.record=function(a,b,c){this.streamzService.record(this.metricName,a,b,c)};L5b.prototype.getMetric=function(){return this.streamzService.getMetric(this.metricName)};
var M5b=function(a){this.streamzService=a;this.metricName="/client_streamz/one_developer_workflow/rpc/request_count";a.addNewCounter(this.metricName,xi("source"),xi("method_id"))};M5b.prototype.increment=function(a,b){this.streamzService.incrementCounter(this.metricName,a,b)};M5b.prototype.getMetric=function(){return this.streamzService.getMetric(this.metricName)};
var N5b=function(a){this.streamzService=a;this.metricName="/client_streamz/one_developer_workflow/rpc/error_count";a.addNewCounter(this.metricName,xi("source"),xi("method_id"),{fieldType:2,fieldName:"code"})};N5b.prototype.increment=function(a,b,c){this.streamzService.incrementCounter(this.metricName,a,b,c)};N5b.prototype.getMetric=function(){return this.streamzService.getMetric(this.metricName)};var DA=function(a){this.internalArray_=m(a)};Y(DA,V);DA.prototype.getResourcePath=function(){return Gh(this,2)};DA.prototype.setResourcePath=function(a){return cj(this,2,a)};var Qr=function(a,b){this.x=a!==void 0?a:0;this.y=b!==void 0?b:0};Qr.prototype.clone=function(){return new Qr(this.x,this.y)};Qr.prototype.equals=function(a){return a instanceof Qr&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};var Z7a=function(a,b){return new Qr(a.x-b.x,a.y-b.y)};g=Qr.prototype;g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};g.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
g.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};g.translate=function(a,b){a instanceof Qr?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),typeof b==="number"&&(this.y+=b));return this};g.scale=function(a,b){this.x*=a;this.y*=typeof b==="number"?b:a;return this};var EA=function(a,b){this.width=a;this.height=b},b8a=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};g=EA.prototype;g.clone=function(){return new EA(this.width,this.height)};g.aspectRatio=function(){return this.width/this.height};g.isEmpty=function(){return!(this.width*this.height)};g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};g.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
g.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};g.scale=function(a,b){this.width*=a;this.height*=typeof b==="number"?b:a;return this};var Q5b=function(a,b){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=a===O5b&&b||"";this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=P5b};Q5b.prototype.toString=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_};var P5b={},O5b={};var Bp=function(a){return a?new FA(GA(a)):KYb||(KYb=new FA)},HA=function(a,b){return typeof b==="string"?a.getElementById(b):b},IA=function(a,b){return(b||document).getElementsByTagName(String(a))},JA=function(a,b,c,d){a=d||a;b=b&&b!="*"?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,h;h=a[f];f++)b==h.nodeName&&(d[e++]=h);d.length=e;return d}return a}a=
a.getElementsByTagName(b||"*");if(c){d={};for(f=e=0;h=a[f];f++)b=h.className,typeof b.split=="function"&&Oa(b.split(/\s+/),c)&&(d[e++]=h);d.length=e;return d}return a},S5b=function(a,b){Cc(b,function(c,d){d=="style"?a.style.cssText=c:d=="class"?a.className=c:d=="for"?a.htmlFor=c:R5b.hasOwnProperty(d)?a.setAttribute(R5b[d],c):d.lastIndexOf("aria-",0)==0||d.lastIndexOf("data-",0)==0?a.setAttribute(d,c):a[d]=c})},R5b={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",
height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},KA=function(a){a=(a||window).document;a=a.compatMode=="CSS1Compat"?a.documentElement:a.body;return new EA(a.clientWidth,a.clientHeight)},MA=function(a){var b=LA(a);a=a.defaultView;return new Qr(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)},LA=function(a){return a.scrollingElement?a.scrollingElement:tv||a.compatMode!="CSS1Compat"?a.body||a.documentElement:
a.documentElement},NA=function(a){return a?a.defaultView:window},U5b=function(a,b,c){return T5b(document,arguments)},T5b=function(a,b){var c=b[1],d=or(a,String(b[0]));c&&(typeof c==="string"?d.className=c:Array.isArray(c)?d.className=c.join(" "):S5b(d,c));b.length>2&&V5b(a,d,b,2);return d},V5b=function(a,b,c,d){function e(h){h&&b.appendChild(typeof h==="string"?a.createTextNode(h):h)}for(;d<c.length;d++){var f=c[d];!Va(f)||In(f)&&f.nodeType>0?e(f):Ma(f&&typeof f.length=="number"&&typeof f.item=="function"?
Ua(f):f,e)}},or=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)},W5b=function(a,b){V5b(GA(a),a,arguments,1)},OA=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},PA=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},QA=function(a){return In(a)&&a.nodeType==1},X$a=function(a){return a.parentElement||null},tXa=function(a,b){if(!a||!b)return!1;if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!=
"undefined")return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a},GA=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},X5b=function(a){return a.contentDocument||a.contentWindow.document},RA=function(a,b){if("textContent"in a)a.textContent=b;else if(a.nodeType==3)a.data=String(b);else if(a.firstChild&&a.firstChild.nodeType==3){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else OA(a),a.appendChild(GA(a).createTextNode(String(b)))},
Y5b={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Z5b={IMG:" ",BR:"\n"},$5b=function(a){a=a.tabIndex;return typeof a==="number"&&a>=0&&a<32768},b6b=function(a){var b=[];a6b(a,b,!0);a=b.join("");a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");a=a.replace(/ +/g," ");a!=" "&&(a=a.replace(/^\s*/,""));return a},a6b=function(a,b,c){if(!(a.nodeName in Y5b))if(a.nodeType==3)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in Z5b)b.push(Z5b[a.nodeName]);
else for(a=a.firstChild;a;)a6b(a,b,c),a=a.nextSibling},x7a=function(){var a=NA();return a.devicePixelRatio!==void 0?a.devicePixelRatio:a.matchMedia?c6b(3)||c6b(2)||c6b(1.5)||c6b(1)||.75:1},c6b=function(a){return NA().matchMedia("(min-resolution: "+a+"dppx),(min--moz-device-pixel-ratio: "+a+"),(min-resolution: "+a*96+"dpi)").matches?a:0},FA=function(a){this.document_=a||ya.document||document};g=FA.prototype;g.getDomHelper=Bp;g.getElement=function(a){return HA(this.document_,a)};g.$=FA.prototype.getElement;
g.getElementsByTagName=function(a,b){return(b||this.document_).getElementsByTagName(String(a))};g.getElementsByTagNameAndClass=function(a,b,c){return JA(this.document_,a,b,c)};g.$$=FA.prototype.getElementsByTagNameAndClass;g.setProperties=S5b;g.getViewportSize=function(a){return KA(a||this.getWindow())};g.createDom=function(a,b,c){return T5b(this.document_,arguments)};g.createElement=function(a){return or(this.document_,a)};g.createTextNode=function(a){return this.document_.createTextNode(String(a))};
g.getWindow=function(){return this.document_.defaultView};g.appendChild=function(a,b){a.appendChild(b)};g.append=W5b;g.canHaveChildren=function(a){if(a.nodeType!=1)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};
g.removeChildren=OA;g.removeNode=PA;g.getChildren=function(a){return a.children!=void 0?a.children:Array.prototype.filter.call(a.childNodes,function(b){return b.nodeType==1})};g.getParentElement=X$a;g.contains=tXa;g.isFocusable=function(a){var b;a.tagName=="A"&&a.hasAttribute("href")||a.tagName=="INPUT"||a.tagName=="TEXTAREA"||a.tagName=="SELECT"||a.tagName=="BUTTON"?b=!a.disabled&&(!a.hasAttribute("tabindex")||$5b(a)):b=a.hasAttribute("tabindex")&&$5b(a);return b};var d6b=function(a,b){this.limit_=100;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};d6b.prototype.get=function(){if(this.occupants_>0){this.occupants_--;var a=this.head_;this.head_=a.next;a.next=null}else a=this.create_();return a};d6b.prototype.put=function(a){this.reset_(a);this.occupants_<this.limit_&&(this.occupants_++,a.next=this.head_,this.head_=a)};var e6b=[],f6b=[],g6b=!1,h6b=function(a){e6b[e6b.length]=a;if(g6b)for(var b=0;b<f6b.length;b++)a(ov(f6b[b].wrap,f6b[b]))};h6b(function(){});var i6b=function(){this.workTail_=this.workHead_=null};i6b.prototype.add=function(a,b){var c=Oqa.get();c.set(a,b);this.workTail_?this.workTail_.next=c:this.workHead_=c;this.workTail_=c};i6b.prototype.remove=function(){var a=null;this.workHead_&&(a=this.workHead_,this.workHead_=this.workHead_.next,this.workHead_||(this.workTail_=null),a.next=null);return a};var Oqa=new d6b(function(){return new j6b},function(a){return a.reset()}),j6b=function(){this.next=this.scope=this.fn=null};
j6b.prototype.set=function(a,b){this.fn=a;this.scope=b;this.next=null};j6b.prototype.reset=function(){this.next=this.scope=this.fn=null};var k6b,Pqa=!1,Nqa=new i6b,SA=function(a,b){k6b||l6b();Pqa||(k6b(),Pqa=!0);Nqa.add(a,b)},l6b=function(){var a=ya.Promise.resolve(void 0);k6b=function(){a.then(Qqa)}};var TA=function(a){return function(){return a}},UA=function(){},m6b=function(a){return a},rHa=function(){var a=qHa;return function(){return!a.apply(this,arguments)}},n6b=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}},VA=function(a,b){var c=0;return function(d){ya.clearTimeout(c);var e=arguments;c=ya.setTimeout(function(){a.apply(void 0,e)},b)}},o6b=function(a,b){var c=0,d=!1,e=[],f=function(){c=0;d&&(d=!1,h())},h=function(){c=ya.setTimeout(f,b);var l=e;e=[];a.apply(void 0,l)};
return function(l){e=arguments;c?d=!0:h()}};var p6b=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var XA=function(a){this.state_=0;this.result_=void 0;this.callbackEntriesTail_=this.callbackEntries_=this.parent_=null;this.hadUnhandledRejection_=this.executing_=!1;if(a!=UA)try{var b=this;a.call(void 0,function(c){WA(b,2,c)},function(c){WA(b,3,c)})}catch(c){WA(this,3,c)}},q6b=function(){this.next=this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};q6b.prototype.reset=function(){this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};
var r6b=new d6b(function(){return new q6b},function(a){a.reset()}),s6b=function(a,b,c){var d=r6b.get();d.onFulfilled=a;d.onRejected=b;d.context=c;return d},YA=function(a){if(a instanceof XA)return a;var b=new XA(UA);WA(b,2,a);return b},t6b=function(a){return new XA(function(b,c){c(a)})},v6b=function(a,b,c){u6b(a,b,c,null)||SA(pv(b,a))},w6b=function(a){return new XA(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],v6b(e,b,c)})},x6b=function(a){return new XA(function(b,c){var d=
a.length,e=[];if(d)for(var f=function(v,y){d--;e[v]=y;d==0&&b(e)},h=function(v){c(v)},l=0,q;l<a.length;l++)q=a[l],v6b(q,pv(f,l),h);else b(e)})},y6b=function(a){return new XA(function(b,c){var d=a.length,e=[];if(d)for(var f=function(v){b(v)},h=function(v,y){d--;e[v]=y;d==0&&c(e)},l=0,q;l<a.length;l++)q=a[l],v6b(q,f,pv(h,l));else b(void 0)})},A6b=function(){var a,b,c=new XA(function(d,e){a=d;b=e});return new z6b(c,a,b)};
XA.prototype.then=function(a,b,c){return B6b(this,typeof a==="function"?a:null,typeof b==="function"?b:null,c)};XA.prototype.$goog_Thenable=!0;var D6b=function(a,b){b=s6b(b,b);b.always=!0;C6b(a,b);return a};XA.prototype.thenCatch=function(a,b){return B6b(this,null,a,b)};XA.prototype.catch=XA.prototype.thenCatch;XA.prototype.cancel=function(a){if(this.state_==0){var b=new ZA(a);SA(function(){E6b(this,b)},this)}};
var E6b=function(a,b){if(a.state_==0)if(a.parent_){var c=a.parent_;if(c.callbackEntries_){for(var d=0,e=null,f=null,h=c.callbackEntries_;h&&(h.always||(d++,h.child==a&&(e=h),!(e&&d>1)));h=h.next)e||(f=h);e&&(c.state_==0&&d==1?E6b(c,b):(f?(d=f,d.next==c.callbackEntriesTail_&&(c.callbackEntriesTail_=d),d.next=d.next.next):F6b(c),G6b(c,e,3,b)))}a.parent_=null}else WA(a,3,b)},C6b=function(a,b){a.callbackEntries_||a.state_!=2&&a.state_!=3||H6b(a);a.callbackEntriesTail_?a.callbackEntriesTail_.next=b:a.callbackEntries_=
b;a.callbackEntriesTail_=b},B6b=function(a,b,c,d){var e=s6b(null,null,null);e.child=new XA(function(f,h){e.onFulfilled=b?function(l){try{var q=b.call(d,l);f(q)}catch(v){h(v)}}:f;e.onRejected=c?function(l){try{var q=c.call(d,l);q===void 0&&l instanceof ZA?h(l):f(q)}catch(v){h(v)}}:h});e.child.parent_=a;C6b(a,e);return e.child};XA.prototype.unblockAndFulfill_=function(a){this.state_=0;WA(this,2,a)};XA.prototype.unblockAndReject_=function(a){this.state_=0;WA(this,3,a)};
var WA=function(a,b,c){a.state_==0&&(a===c&&(b=3,c=new TypeError("wb")),a.state_=1,u6b(c,a.unblockAndFulfill_,a.unblockAndReject_,a)||(a.result_=c,a.state_=b,a.parent_=null,H6b(a),b!=3||c instanceof ZA||I6b(a,c)))},u6b=function(a,b,c,d){if(a instanceof XA)return C6b(a,s6b(b||UA,c||null,d)),!0;if(p6b(a))return a.then(b,c,d),!0;if(In(a))try{var e=a.then;if(typeof e==="function")return J6b(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1},J6b=function(a,b,c,d,e){var f=!1,h=function(q){f||(f=!0,
c.call(e,q))},l=function(q){f||(f=!0,d.call(e,q))};try{b.call(a,h,l)}catch(q){l(q)}},H6b=function(a){a.executing_||(a.executing_=!0,SA(a.executeCallbacks_,a))},F6b=function(a){var b=null;a.callbackEntries_&&(b=a.callbackEntries_,a.callbackEntries_=b.next,b.next=null);a.callbackEntries_||(a.callbackEntriesTail_=null);return b};XA.prototype.executeCallbacks_=function(){for(var a;a=F6b(this);)G6b(this,a,this.state_,this.result_);this.executing_=!1};
var G6b=function(a,b,c,d){if(c==3&&b.onRejected&&!b.always)for(;a&&a.hadUnhandledRejection_;a=a.parent_)a.hadUnhandledRejection_=!1;if(b.child)b.child.parent_=null,K6b(b,c,d);else try{b.always?b.onFulfilled.call(b.context):K6b(b,c,d)}catch(e){L6b.call(null,e)}r6b.put(b)},K6b=function(a,b,c){b==2?a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)},I6b=function(a,b){a.hadUnhandledRejection_=!0;SA(function(){a.hadUnhandledRejection_&&L6b.call(null,b)})},L6b=za,ZA=function(a){wa.call(this,
a);this.reportErrorToServer=!1};qv(ZA,wa);ZA.prototype.name="cancel";var z6b=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};var M6b=function(a){this.servicePromise_=a;a.then(ov(function(){},this),function(){},this)},N6b=function(a,b,c){return a.servicePromise_.then(function(d){var e=d[b];if(!e)throw Error("xb`"+b);return e.apply(d,c)})},P6b=function(a,b,c){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];e=O6b(a,b).then(function(f){return f.apply(null,d)});return new M6b(e)},Q6b={},O6b=function(a,b){var c=Q6b[b];if(c)return c;c=(c=sp(b))?YA(c):(new XA(function(d,e){var f=(new FA(document)).createElement("SCRIPT");
f.async=!0;Wc(f,Ic(a instanceof Q5b&&a.constructor===Q5b&&a.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===P5b?a.stringConstValueWithSecurityContract__googStringSecurityPrivate_:"type_error:Const"));f.onload=f.onreadystatechange=function(){f.readyState&&f.readyState!="loaded"&&f.readyState!="complete"||d()};f.onerror=function(h){e(Error("yb`"+b+"`"+a,{cause:h}))};(document.head||document.getElementsByTagName("head")[0]).appendChild(f)})).then(function(){var d=sp(b);if(!d)throw Error("zb`"+
b+"`"+a);return d});return Q6b[b]=c};var R6b={GOOGLE:"https://www.google.com",SUPPORT:"https://support.google.com",PLAY:"https://play.google.com"},T6b=function(){var a=this;this.rsaForList=[];this.rsaForPromises=[];this.initialize=Rqa(function(){return ve(function(b){if(b.nextAddress==1)return typeof document==="undefined"||document.requestStorageAccessFor===void 0||navigator.permissions===void 0||navigator.permissions.query===void 0||location.hostname.match(".+\\.google\\.com$")?b.return(Promise.resolve()):xe(b,S6b(a),2);a.rsaForList.length>
0&&document.addEventListener("click",a.requestAccessForHelpPanel);Ce(b)})});this.requestAccessForHelpPanel=function(){if(!(a.rsaForPromises.length>0)){for(var b=k(a.rsaForList),c=b.next();!c.done;c=b.next()){c=c.value;try{a.rsaForPromises.push(document.requestStorageAccessFor(c))}catch(d){}}Promise.all(a.rsaForPromises).then(function(){}).catch(function(){}).finally(function(){a.reset()})}}};T6b.prototype.reset=function(){document.removeEventListener("click",this.requestAccessForHelpPanel)};
var S6b=function(a){var b,c,d,e;return ve(function(f){switch(f.nextAddress){case 1:b=k(Object.values(R6b)),c=b.next();case 2:if(c.done){f.jumpTo(0);break}d=c.value;we(f,5);return xe(f,navigator.permissions.query({name:"top-level-storage-access",requestedOrigin:d}),7);case 7:e=f.yieldResult;e.state!=="granted"&&a.rsaForList.push(d);jv(f,3);break;case 5:Be(f);f.jumpTo(0);break;case 3:c=b.next(),f.jumpTo(2)}})};(new T6b).initialize();var U6b=function(a){this.loader_=a};U6b.prototype.startFeedback=function(a){N6b(this.loader_,"startFeedback",arguments)};U6b.prototype.requestSurvey=function(a){N6b(this.loader_,"requestSurvey",arguments).thenCatch(function(){},this)};U6b.prototype.presentSurvey=function(a){N6b(this.loader_,"presentSurvey",arguments).thenCatch(function(){},this)};var V6b=new Q5b(O5b,"https://www.gstatic.com/feedback/js/help/prod/service/lazy.min.js");O6b(V6b,"help.service.Lazy.create").thenCatch(function(){});var Ru=function(a){this.internalArray_=m(a)};Y(Ru,V);Ru.prototype.getRevisionNumber=function(){return Zi(this,4)};Ru.prototype.setRevisionNumber=function(a){return ek(this,4,a)};var $A=function(a){this.internalArray_=m(a)};Y($A,V);$A.prototype.getRevisionNumber=function(){return Zi(this,2,-1)};$A.prototype.setRevisionNumber=function(a){return ek(this,2,a)};var W6b=function(a){this.internalArray_=m(a)};Y(W6b,V);g=W6b.prototype;g.getChangeNumber_asLegacyNumberOrString=function(){return Vj(this,1,-1)};g.setChangeNumber=function(a){return nk(this,1,a)};g.getWorkspaceId=function(){return W(this,$A,2)};g.getRevisionNumber=function(){return Zi(this,3,-1)};g.setRevisionNumber=function(a){return ek(this,3,a)};var X6b=function(a){this.internalArray_=m(a)};Y(X6b,V);g=X6b.prototype;g.getPort=function(){return Gh(this,1)};g.setPort=function(a){return gk(this,1,a)};g.hasPort=function(){return Hj(this,1)};g.getUser=function(){return Gh(this,2)};g.setUser=function(a){return gk(this,2,a)};g.hasUser=function(){return Hj(this,2)};g.getWorkspaceId=function(){return W(this,$A,3)};var Y6b=function(a){this.internalArray_=m(a)};Y(Y6b,V);g=Y6b.prototype;g.getKey=function(){return Gh(this,1)};g.getValue=function(){return Gh(this,2)};g.getValue_legacyNullable=function(){return uk(this,2)};g.setValue=function(a){return gk(this,2,a)};g.hasValue=function(){return Hj(this,2)};var aB=function(a){this.internalArray_=m(a)};Y(aB,V);aB.prototype.getText=function(){return Gh(this,1)};aB.prototype.setText=function(a){return gk(this,1,a)};aB.prototype.getTagsList=function(a){return nj(this,Y6b,2,Wi(a))};var Z6b=function(a){this.internalArray_=m(a)};Y(Z6b,V);var DJb=function(a){this.internalArray_=m(a)};Y(DJb,V);g=DJb.prototype;g.getReadonlySourceFileId=function(){return ur(this,Ru,1)};g.setSourceFileId=function(a){return X(this,Ru,1,a)};g.getOperation=function(){return Kj(this,2,0)};g.setOperation=function(a){hk(this,2,a)};g.getType=function(){return W(this,Z6b,3)};g.setType=function(a){return X(this,Z6b,3,a)};g.hasType=function(){return Oj(this,Z6b,3)};g.setSize=function(a){return nk(this,5,a)};g.getChangeId=function(){return W(this,W6b,11)};var Su=function(a){this.internalArray_=m(a)};Y(Su,V);Su.prototype.getContent=function(){return Yp(this,2)};Su.prototype.setContent=function(a){return Zp(this,2,kb(a,!1,!0,!1))};Su.prototype.hasContent=function(){return Dt(this,2)!=null};var $6b=function(a){this.internalArray_=m(a)};Y($6b,V);g=$6b.prototype;g.setBase=function(a){return X(this,X6b,1,a)};g.getDescription=function(){return W(this,aB,2)};g.setDescription=function(a){return X(this,aB,2,a)};g.hasDescription=function(){return Oj(this,aB,2)};g.setMode=function(a){return hk(this,6,a)};var bB=function(a){this.internalArray_=m(a,500)};Y(bB,V);g=bB.prototype;g.getStatus=function(){return W(this,zA,1002)};g.setStatus=function(a){return X(this,zA,1002,a)};g.hasStatus=function(){return Oj(this,zA,1002)};g.getChangeId=function(){return W(this,W6b,1)};g.getWorkspaceId=function(){return W(this,$A,2)};g.getToken=function(){return Gh(this,3)};g.setToken=function(a){return gk(this,3,a)};var a7b=function(a){this.internalArray_=m(a)};Y(a7b,V);a7b.prototype.setBase=function(a){return X(this,X6b,1,a)};var yJb=function(){var a=new a7b;return hk(a,2,0)},xJb=function(a,b){return $l(a,3,b)};var b7b=function(a){this.internalArray_=m(a,500)};Y(b7b,V);g=b7b.prototype;g.getStatus=function(){return W(this,zA,1002)};g.setStatus=function(a){return X(this,zA,1002,a)};g.hasStatus=function(){return Oj(this,zA,1002)};g.getReadonlySourceFileId=function(){return ur(this,Ru,2)};g.setSourceFileId=function(a){return X(this,Ru,2,a)};g.getContent=function(){return Yp(this,3)};g.setContent=function(a){return Zp(this,3,kb(a,!1,!0,!1))};g.hasContent=function(){return Dt(this,3)!=null};var c7b={ACCESS_LEVEL_UNSPECIFIED:"ACCESS_LEVEL_UNSPECIFIED",INTERNAL:"INTERNAL",EXTERNAL_PARTNER:"EXTERNAL_PARTNER",EXTERNAL_PUBLIC:"EXTERNAL_PUBLIC"},Iua={0:"ACCESS_LEVEL_UNSPECIFIED",1:"INTERNAL",2:"EXTERNAL_PARTNER",3:"EXTERNAL_PUBLIC"},Kua={ACCESS_LEVEL_UNSPECIFIED:0,INTERNAL:1,EXTERNAL_PARTNER:2,EXTERNAL_PUBLIC:3},Gya={ACTION_TYPE_UNSPECIFIED:0,ADD:1,REMOVE:2},nEa={0:"CATEGORY_UNSPECIFIED",1:"OWNER",2:"COLLABORATOR",3:"FOLLOWING"},rEa={0:"CHANGELIST_SIGNAL_UNSPECIFIED",1:"THREAD_MENTIONS_ME",
2:"IDLE_FOR_HOURS",3:"AUTHOR_GOING_OOO",4:"NEEDS_ATTENTION",5:"NUDGED",6:"READY_TO_SUBMIT",7:"CHANGELIST_MANUAL_SIGNAL"},Ira={COMMENT_FORMATTING_MODE_UNSPECIFIED:"COMMENT_FORMATTING_MODE_UNSPECIFIED",PLAIN_FORMATTING_MODE:"PLAIN_FORMATTING_MODE",MARKDOWN_FORMATTING_MODE:"MARKDOWN_FORMATTING_MODE",LITERAL_FORMATTING_MODE:"LITERAL_FORMATTING_MODE"},fsa={0:"COMMENT_FORMATTING_MODE_UNSPECIFIED",1:"PLAIN_FORMATTING_MODE",2:"MARKDOWN_FORMATTING_MODE",3:"LITERAL_FORMATTING_MODE"},mk={COMMENT_FORMATTING_MODE_UNSPECIFIED:0,
PLAIN_FORMATTING_MODE:1,MARKDOWN_FORMATTING_MODE:2,LITERAL_FORMATTING_MODE:3},JYa={0:"CONFIDENCE_LEVEL_UNSPECIFIED",1:"VERY_HIGH",2:"HIGH",3:"MEDIUM",4:"LOW"},d7b={CONFIDENCE_LEVEL_UNSPECIFIED:0,VERY_HIGH:1,HIGH:2,MEDIUM:3,LOW:4},e7b={DAY_TYPE_UNSPECIFIED:"DAY_TYPE_UNSPECIFIED",CALENDAR:"CALENDAR",BUSINESS:"BUSINESS"},Uva={0:"DAY_TYPE_UNSPECIFIED",1:"CALENDAR",2:"BUSINESS"},Wva={DAY_TYPE_UNSPECIFIED:0,CALENDAR:1,BUSINESS:2},kwa={0:"DELETION_REASON_UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",3:"RESTRICTED",
4:"RETENTION",5:"ACCOUNT_CAPABILITIES"},rwa={DELETION_REASON_UNSPECIFIED:0,USER_REQUEST:1,ABUSE:2,RESTRICTED:3,RETENTION:4,ACCOUNT_CAPABILITIES:5},f7b={COMFORTABLE:"COMFORTABLE",COZY:"COZY",COMPACT:"COMPACT"},Wra={1:"COMFORTABLE",2:"COZY",3:"COMPACT"},nsa={COMFORTABLE:1,COZY:2,COMPACT:3},MEa={0:"NO_DETAILED_TYPE",1:"UNRESTRICTED_GOOGLER",2:"TVC",3:"EXTERNAL",4:"PUBLIC",5:"ISSUE_CREATION_ONLY"},lEa={0:"DRIVE_FILE_TYPE_UNSPECIFIED",1:"DOCUMENT",2:"SPREADSHEET",3:"PRESENTATION"},oEa={0:"DRIVE_SIGNAL_UNSPECIFIED",
1:"TAGGED_IN_COMMENT",2:"REQUIRES_APPROVAL",3:"COMMENTS_REQUIRE_ATTENTION",4:"DRIVE_MANUAL_SIGNAL",5:"DRIVE_SNOOZE_EXPIRED"},ova={0:"EDIT_SIGNIFICANCE_UNSPECIFIED",1:"SILENT",2:"MINOR",3:"MAJOR",4:"BULK",5:"CLOSING"},sva={EDIT_SIGNIFICANCE_UNSPECIFIED:0,SILENT:1,MINOR:2,MAJOR:3,BULK:4,CLOSING:5},Jj={0:"UNKNOWN_PRIORITY",4:"CLOSURE_ONLY",1:"MINIMAL",2:"IMPORTANT",3:"ALL"},ik={UNKNOWN_PRIORITY:0,CLOSURE_ONLY:4,MINIMAL:1,IMPORTANT:2,ALL:3},Vra={0:"DEFAULT",1:"ASSIGNMENT",2:"RESPONSE",3:"CLOSURE"},msa=
{DEFAULT:0,ASSIGNMENT:1,RESPONSE:2,CLOSURE:3},Xya={QUERY_UNSPECIFIED:0,QUERY_TRIAGE_PHASE:1,QUERY_CLUSTER:2},$ya={SORT_UNSPECIFIED:0,SORT_TRIAGE_PHASE:1},aAb={0:"ISSUE_LABEL_FIELD_UNSPECIFIED",1:"ID",2:"BLOCKING_ID",3:"BLOCKED_BY_ID",4:"CANONICAL_ID",5:"PARENT_ID",6:"INCOMING_DEPENDENCY_ID",7:"LINKED_ID",8:"HOTLIST_ID",9:"SAVED_SEARCH_ID",10:"COMPONENT_ID",11:"TEAM_ID",12:"REPORTER",13:"ASSIGNEE",14:"CC",15:"VERIFIER",16:"MODIFIER",17:"LAST_MODIFIER",18:"COMMENTER",19:"LAST_COMMENTER",20:"PRIORITY",
21:"SEVERITY",22:"TYPE",23:"STATUS",24:"DELETION_REASON",25:"TITLE",26:"COMMENT",27:"ATTACHMENT",28:"CL",29:"POSTMORTEM",30:"FOUND_IN",31:"TARGETED_TO",32:"VERIFIED_IN",33:"CREATED",34:"MODIFIED",35:"RESOLVED",36:"VERIFIED",37:"DELETION_TIME",38:"IN_PROD",39:"STAR",40:"MUTE",41:"IS_DELETED",42:"CUSTOM_FIELD",43:"DUPLICATE_COUNT",44:"VOTE_COUNT",45:"COMMENT_COUNT",46:"CC_COUNT",47:"ARCHIVED",48:"MIN_SLO_TARGET",49:"EFFORT_LABEL",50:"EFFORT_VALUE",51:"MENTION",52:"VOTE",53:"EFFORT_TOTAL_OPEN",54:"EFFORT_TOTAL_COMPLETE",
55:"COLLABORATOR",56:"COLLABORATOR_COUNT",57:"TRACKER_ID",58:"ACCESS_LEVEL",59:"DESCENDANT_COUNT",60:"OPEN_DESCENDANT_COUNT",61:"ONE_DAY_VIEW_COUNT",62:"SEVEN_DAY_VIEW_COUNT",63:"THIRTY_DAY_VIEW_COUNT",64:"STAFFING_USER",65:"STAFFING_USER_COUNT",66:"STAFFING_PLACEHOLDER",67:"STAFFING_PLACEHOLDER_COUNT"},Kxa={0:"FIELD_ORDERING_UNSPECIFIED",1:"INHERITED",2:"CUSTOMIZED"},g7b={FIELD_ORDERING_UNSPECIFIED:0,INHERITED:1,CUSTOMIZED:2},h7b={FIELD_STATE_UNSPECIFIED:"FIELD_STATE_UNSPECIFIED",INHERIT:"INHERIT",
DISABLED:"DISABLED",ENABLED:"ENABLED"},xxa={0:"FIELD_STATE_UNSPECIFIED",1:"INHERIT",2:"DISABLED",3:"ENABLED"},i7b={FIELD_STATE_UNSPECIFIED:0,INHERIT:1,DISABLED:2,ENABLED:3},j7b={UNSPECIFIED_FORMATTING_AUDIENCE:0,INTERNAL:1,EXTERNAL:2},cB={UNSPECIFIED_FORMATTING_MODE:"UNSPECIFIED_FORMATTING_MODE",PLAIN:"PLAIN",MARKDOWN:"MARKDOWN",LITERAL:"LITERAL"},Sxa={0:"UNSPECIFIED_FORMATTING_MODE",1:"PLAIN",2:"MARKDOWN",3:"LITERAL"},yEa={0:"GERRIT_CHANGE_SIGNAL_UNSPECIFIED",1:"GERRIT_CHANGE_NEEDS_ATTENTION",2:"GERRIT_CHANGE_READY_TO_SUBMIT",
3:"GERRIT_MANUAL_SIGNAL",4:"GERRIT_SNOOZE_EXPIRED"},esa={1:"ISSUE_ID",2:"COMPONENT_PATH",3:"TYPE",4:"STATUS",5:"PRIORITY",6:"SEVERITY",7:"REPORTER",8:"ASSIGNEE",9:"VERIFIER",10:"CC",43:"COLLABORATOR",11:"CHANGELIST",32:"POSTMORTEM",12:"BLOCKING_ISSUE_ID",13:"BLOCKED_BY_ISSUE_ID",14:"CREATED_TIME",15:"MODIFIED_TIME",16:"RESOLVED_TIME",17:"VERIFIED_TIME",38:"DELETION_TIME",18:"TITLE",19:"FOUND_IN_VERSION",20:"TARGETED_TO_VERSION",21:"VERIFIED_IN_VERSION",22:"IN_PROD",23:"CANONICAL_ISSUE_ID",24:"CUSTOM_FIELD",
25:"POSITION",26:"VOTE_COUNT",27:"DUPLICATE_COUNT",28:"CC_COUNT",44:"COLLABORATOR_COUNT",29:"MODIFIED_BY",30:"LAST_MODIFIER",31:"ARCHIVED",33:"MIN_SLO",35:"ASSIGNMENT_SLO",36:"RESPONSE_SLO",37:"CLOSURE_SLO",39:"TEAM",40:"ESTIMATE",41:"ESTIMATE_TOTAL_OPEN",42:"ESTIMATE_TOTAL_COMPLETE",45:"ACCESS_LEVEL",46:"DESCENDANT_COUNT",47:"OPEN_DESCENDANT_COUNT",48:"ONE_DAY_VIEW_COUNT",49:"SEVEN_DAY_VIEW_COUNT",50:"THIRTY_DAY_VIEW_COUNT"},wsa={ISSUE_ID:1,COMPONENT_PATH:2,TYPE:3,STATUS:4,PRIORITY:5,SEVERITY:6,
REPORTER:7,ASSIGNEE:8,VERIFIER:9,CC:10,COLLABORATOR:43,CHANGELIST:11,POSTMORTEM:32,BLOCKING_ISSUE_ID:12,BLOCKED_BY_ISSUE_ID:13,CREATED_TIME:14,MODIFIED_TIME:15,RESOLVED_TIME:16,VERIFIED_TIME:17,DELETION_TIME:38,TITLE:18,FOUND_IN_VERSION:19,TARGETED_TO_VERSION:20,VERIFIED_IN_VERSION:21,IN_PROD:22,CANONICAL_ISSUE_ID:23,CUSTOM_FIELD:24,POSITION:25,VOTE_COUNT:26,DUPLICATE_COUNT:27,CC_COUNT:28,COLLABORATOR_COUNT:44,MODIFIED_BY:29,LAST_MODIFIER:30,ARCHIVED:31,MIN_SLO:33,ASSIGNMENT_SLO:35,RESPONSE_SLO:36,
CLOSURE_SLO:37,TEAM:39,ESTIMATE:40,ESTIMATE_TOTAL_OPEN:41,ESTIMATE_TOTAL_COMPLETE:42,ACCESS_LEVEL:45,DESCENDANT_COUNT:46,OPEN_DESCENDANT_COUNT:47,ONE_DAY_VIEW_COUNT:48,SEVEN_DAY_VIEW_COUNT:49,THIRTY_DAY_VIEW_COUNT:50},dB={ISSUE_RELATIONSHIP_TYPE_UNSPECIFIED:0,CHILD:1,DEPENDENCY:2,LINKED:3},wEa={0:"ISSUE_SIGNAL_UNSPECIFIED",1:"NEAR_SLO",2:"COMMENT_MENTIONS_ME",8:"MENTIONED_NEEDS_RESPONSE",3:"BLOCKERS_CLOSED",4:"NEWLY_BLOCKING",5:"NEEDS_REPORTER_INPUT",6:"REPLIED_TO_MENTION",7:"NEWLY_ASSIGNED_TO_ME",
9:"ISSUE_MANUALLY_SIGNALED",10:"ISSUE_SNOOZE_EXPIRED"},k7b={ISSUE_SUMMARY_FEEDBACK_TYPE_UNSPECIFIED:0,THUMBS_UP:1,THUMBS_DOWN:2,COPY:3,FEEDBACK:4},vza={0:"ISSUE_SUMMARY_TYPE_UNSPECIFIED",1:"COMMENTS_SHORT",2:"COMMENTS_LONG"},l7b={ISSUE_SUMMARY_TYPE_UNSPECIFIED:0,COMMENTS_SHORT:1,COMMENTS_LONG:2},$zb={0:"NODE_JOIN_TYPE_UNSPECIFIED",1:"AND",2:"OR",3:"ERR",4:"NIL"},m7b={UNKNOWN_SUBSCRIPTION:"UNKNOWN_SUBSCRIPTION",UNSUBSCRIBED:"UNSUBSCRIBED",SUBSCRIBED_CLOSURE_ONLY:"SUBSCRIBED_CLOSURE_ONLY",SUBSCRIBED_MAJOR_UPDATES:"SUBSCRIBED_MAJOR_UPDATES",
SUBSCRIBED_ALL_UPDATES:"SUBSCRIBED_ALL_UPDATES"},Awa={0:"UNKNOWN_SUBSCRIPTION",1:"UNSUBSCRIBED",2:"SUBSCRIBED_CLOSURE_ONLY",3:"SUBSCRIBED_MAJOR_UPDATES",4:"SUBSCRIBED_ALL_UPDATES"},Lya={UNKNOWN_SUBSCRIPTION:0,UNSUBSCRIBED:1,SUBSCRIBED_CLOSURE_ONLY:2,SUBSCRIBED_MAJOR_UPDATES:3,SUBSCRIBED_ALL_UPDATES:4},sya={0:"UNSPECIFIED",1:"ADD",2:"REMOVE"},bAb={0:"OPERATOR_UNSPECIFIED",1:"EQ",2:"GT",3:"LT",4:"GE",5:"LE"},CPb={0:"UNKNOWN_PERMISSION",1:"OPEN_TO_JOIN"},LEa={0:"PRINCIPAL_TYPE_UNSPECIFIED",1:"NON_GAIA",
2:"USER",3:"GROUP",4:"ALIAS"},n7b={PRIORITY_UNSPECIFIED:"PRIORITY_UNSPECIFIED",P0:"P0",P1:"P1",P2:"P2",P3:"P3",P4:"P4"},hm={0:"PRIORITY_UNSPECIFIED",1:"P0",2:"P1",3:"P2",4:"P3",5:"P4"},owa={PRIORITY_UNSPECIFIED:0,P0:1,P1:2,P2:3,P3:4,P4:5},isa={0:"UNKNOWN_KEY",1:"ASSIGNED_TO_ME",2:"OPEN",3:"FIXED",4:"BROAD_IN_PROGRESS",5:"NEWLY_FILED",6:"RECENTLY_ACTIVE",7:"HIGH_PRIORITY",8:"TRENDING",9:"PROGRESS"},ssa={UNKNOWN_KEY:0,ASSIGNED_TO_ME:1,OPEN:2,FIXED:3,BROAD_IN_PROGRESS:4,NEWLY_FILED:5,RECENTLY_ACTIVE:6,
HIGH_PRIORITY:7,TRENDING:8,PROGRESS:9},o7b={REACTION_TYPE_UNSPECIFIED:"REACTION_TYPE_UNSPECIFIED",UPVOTE:"UPVOTE"},p7b={REACTION_TYPE_UNSPECIFIED:0,UPVOTE:1},q7b={UNSPECIFIED:0,USER_REQUEST:1,ABUSE:2,RESTRICTED:3,RETENTION:4,ACCOUNT_CAPABILITIES:5},MYa={REJECTION_REASON_UNSPECIFIED:0,REVERSED:1,SIMILAR:2,NOT_SIMILAR:3,OTHER:4},dza={UNSPECIFIED_RELATION:0,AND:1,OR:2},r7b={RESTRICTION_SEVERITY_UNSPECIFIED:"RESTRICTION_SEVERITY_UNSPECIFIED",NONE_DETECTED:"NONE_DETECTED",RESTRICTED:"RESTRICTED",RESTRICTED_PLUS:"RESTRICTED_PLUS"},
s7b={RETENTION_UNSPECIFIED:"RETENTION_UNSPECIFIED",COMPONENT_DEFAULT:"COMPONENT_DEFAULT",INDEFINITE:"INDEFINITE"},lwa={0:"RETENTION_UNSPECIFIED",1:"COMPONENT_DEFAULT",2:"INDEFINITE"},t7b={UNSPECIFIED_RETENTION:"UNSPECIFIED_RETENTION",BUGANIZER_DEFAULT:"BUGANIZER_DEFAULT",CUSTOM_PERIOD:"CUSTOM_PERIOD",INDEFINITE_RETENTION:"INDEFINITE_RETENTION"},Xua={0:"UNSPECIFIED_RETENTION",1:"BUGANIZER_DEFAULT",2:"CUSTOM_PERIOD",3:"INDEFINITE_RETENTION"},Zua={UNSPECIFIED_RETENTION:0,BUGANIZER_DEFAULT:1,CUSTOM_PERIOD:2,
INDEFINITE_RETENTION:3},u7b={SEVERITY_UNSPECIFIED:"SEVERITY_UNSPECIFIED",S0:"S0",S1:"S1",S2:"S2",S3:"S3",S4:"S4"},iwa={0:"SEVERITY_UNSPECIFIED",1:"S0",2:"S1",3:"S2",4:"S3",5:"S4"},pwa={SEVERITY_UNSPECIFIED:0,S0:1,S1:2,S2:3,S3:4,S4:5},Vzb={0:"SIMPLE_VALUE_TYPE_UNSPECIFIED",1:"TEXT",2:"QUOTED_TEXT",3:"YEAR",4:"MONTH",5:"DAY",6:"HOUR",7:"MINUTE",8:"SECOND",9:"RELATIVE_YEAR",10:"RELATIVE_MONTH",15:"RELATIVE_WEEK",11:"RELATIVE_DAY",16:"TODAY"},BPb={0:"UNKNOWN",1:"NORMAL",2:"LARGE",3:"HUGE",4:"ENORMOUS"},
hwa={0:"SLO_SNOOZE_TYPE_UNSPECIFIED",1:"STARTS_ON",2:"ASSIGNMENT_ETA",3:"RESPONSE_ETA",4:"CLOSURE_ETA"},swa={SLO_SNOOZE_TYPE_UNSPECIFIED:0,STARTS_ON:1,ASSIGNMENT_ETA:2,RESPONSE_ETA:3,CLOSURE_ETA:4},Jxa={0:"SLO_SOURCE_UNSPECIFIED",1:"USER",2:"BUGSCOPE"},Yva={SLO_SOURCE_UNSPECIFIED:0,USER:1,BUGSCOPE:2},hva={0:"STANDARD_FIELD_UNSPECIFIED",1:"REPORTER",2:"ASSIGNEE",3:"VERIFIER",4:"CC",5:"TYPE",6:"STATUS",7:"PRIORITY",8:"SEVERITY",9:"CHANGELISTS",10:"PENDING_CHANGELISTS",11:"POSTMORTEMS",12:"FOUND_IN",
13:"TARGETED_TO",14:"VERIFIED_IN",15:"IN_PRODUCTION",16:"SLO_STATUS",17:"TEAM",18:"COLLABORATORS"},jva={STANDARD_FIELD_UNSPECIFIED:0,REPORTER:1,ASSIGNEE:2,VERIFIER:3,CC:4,TYPE:5,STATUS:6,PRIORITY:7,SEVERITY:8,CHANGELISTS:9,PENDING_CHANGELISTS:10,POSTMORTEMS:11,FOUND_IN:12,TARGETED_TO:13,VERIFIED_IN:14,IN_PRODUCTION:15,SLO_STATUS:16,TEAM:17,COLLABORATORS:18},ata={STATE_UNSPECIFIED:"STATE_UNSPECIFIED",PENDING:"PENDING",MERGED:"MERGED"},uwa={0:"STATE_UNSPECIFIED",1:"PENDING",2:"MERGED"},vwa={STATE_UNSPECIFIED:0,
PENDING:1,MERGED:2},v7b={STATUS_UNSPECIFIED:"STATUS_UNSPECIFIED",NEW:"NEW",ASSIGNED:"ASSIGNED",ACCEPTED:"ACCEPTED",FIXED:"FIXED",VERIFIED:"VERIFIED",NOT_REPRODUCIBLE:"NOT_REPRODUCIBLE",INTENDED_BEHAVIOR:"INTENDED_BEHAVIOR",OBSOLETE:"OBSOLETE",INFEASIBLE:"INFEASIBLE",DUPLICATE:"DUPLICATE"},gm={0:"STATUS_UNSPECIFIED",1:"NEW",2:"ASSIGNED",3:"ACCEPTED",4:"FIXED",5:"VERIFIED",6:"NOT_REPRODUCIBLE",7:"INTENDED_BEHAVIOR",8:"OBSOLETE",9:"INFEASIBLE",10:"DUPLICATE"},nwa={STATUS_UNSPECIFIED:0,NEW:1,ASSIGNED:2,
ACCEPTED:3,FIXED:4,VERIFIED:5,NOT_REPRODUCIBLE:6,INTENDED_BEHAVIOR:7,OBSOLETE:8,INFEASIBLE:9,DUPLICATE:10},w7b={TASK_RESOURCE_TYPE_UNSPECIFIED:"TASK_RESOURCE_TYPE_UNSPECIFIED",CHANGELIST:"CHANGELIST",DRIVE:"DRIVE",ISSUE:"ISSUE",LAUNCH:"LAUNCH",GERRIT:"GERRIT"},gsa={0:"UNKNOWN_SOURCE",1:"WTDM",2:"NON_WTDM",3:"CRITIQUE",4:"DRIVE",5:"BUGANIZER",6:"ARIANE",7:"GERRIT"},ysa={UNKNOWN_SOURCE:0,WTDM:1,NON_WTDM:2,CRITIQUE:3,DRIVE:4,BUGANIZER:5,ARIANE:6,GERRIT:7},Dra={0:"THEME_UNSPECIFIED",1:"GOOGLE",2:"OPEN_SOURCE"},
x7b={UNSPECIFIED:"UNSPECIFIED",NEW:"NEW",CONFIRMED:"CONFIRMED",IN_PROGRESS:"IN_PROGRESS",FIXED:"FIXED",WONT_FIX:"WONT_FIX"},eya={0:"UNSPECIFIED",1:"NEW",2:"CONFIRMED",3:"IN_PROGRESS",4:"FIXED",5:"WONT_FIX"},hya={UNSPECIFIED:0,NEW:1,CONFIRMED:2,IN_PROGRESS:3,FIXED:4,WONT_FIX:5},fya={0:"TRIAGE_SUBPHASE_UNSPECIFIED",1:"NEEDS_INFO",2:"PENDING_TRIAGE",3:"REPORTER_RESPONDED",4:"PENDING_OWNER",5:"EXPECTED",6:"PLANNED",7:"COMMITTED",8:"REOPENED"},iya={TRIAGE_SUBPHASE_UNSPECIFIED:0,NEEDS_INFO:1,PENDING_TRIAGE:2,
REPORTER_RESPONDED:3,PENDING_OWNER:4,EXPECTED:5,PLANNED:6,COMMITTED:7,REOPENED:8},fAb={0:"QUERY_BUILDER_RESPONSE_TYPE_UNSPECIFIED",1:"AND",2:"OR"},nva={0:"TYPE_UNSPECIFIED",1:"TEXT",2:"DATE",3:"ENUM",4:"NUMERIC",5:"REPEATED_TEXT",6:"REPEATED_DATE",7:"REPEATED_ENUM",8:"REPEATED_NUMERIC"},rva={TYPE_UNSPECIFIED:0,TEXT:1,DATE:2,ENUM:3,NUMERIC:4,REPEATED_TEXT:5,REPEATED_DATE:6,REPEATED_ENUM:7,REPEATED_NUMERIC:8},y7b={TYPE_UNSPECIFIED:"TYPE_UNSPECIFIED",BUG:"BUG",FEATURE_REQUEST:"FEATURE_REQUEST",CUSTOMER_ISSUE:"CUSTOMER_ISSUE",
INTERNAL_CLEANUP:"INTERNAL_CLEANUP",PROCESS:"PROCESS",VULNERABILITY:"VULNERABILITY",PRIVACY_ISSUE:"PRIVACY_ISSUE",PORTFOLIO:"PORTFOLIO",PROGRAM:"PROGRAM",PROJECT:"PROJECT",FEATURE:"FEATURE",MILESTONE:"MILESTONE",EPIC:"EPIC",STORY:"STORY",TASK:"TASK"},vya={TYPE_UNSPECIFIED:0,BUG:1,FEATURE_REQUEST:2,CUSTOMER_ISSUE:3,INTERNAL_CLEANUP:4,PROCESS:5,VULNERABILITY:6,PRIVACY_ISSUE:7,PORTFOLIO:8,PROGRAM:9,PROJECT:10,FEATURE:11,MILESTONE:12,EPIC:13,STORY:14,TASK:15},IYa={0:"TYPE_UNSPECIFIED",1:"ISSUE_DEDUPLICATION",
2:"HOTLIST"},z7b={TYPE_UNSPECIFIED:0,ISSUE_DEDUPLICATION:1,HOTLIST:2},LYa={TYPE_UNSPECIFIED:0,VIEWED:1,ACCEPTED:2,REJECTED:3},A7b={USER_ACTIVITY_TYPE_UNDEFINED:0,VIEW:1,RELOAD:2,EDIT:3,MARK_AS_READ_OR_UNREAD:4},xra={0:"UNSPECIFIED",1:"ACTIVE",2:"DELETED",3:"UNAVAILABLE"},Xzb={0:"VALUE_TYPE_UNSPECIFIED",1:"NOT",2:"OR",3:"AND",4:"RANGE",5:"SIMPLE"},B7b={VIEW_UNSPECIFIED:0,BASIC:1,FULL:2};var Mva=function(a){this.internalArray_=m(a)};Y(Mva,V);var Nva=[1,2];var tl=function(a){this.internalArray_=m(a)};Y(tl,V);tl.prototype.getStatus=function(){return Kj(this,1,0)};tl.prototype.setStatus=function(a){return ej(this,1,a)};tl.prototype.getReason=function(){return Kj(this,2,0)};tl.prototype.setReason=function(a){return ej(this,2,a)};var jm=function(a){this.internalArray_=m(a)};Y(jm,V);var am=function(a){this.internalArray_=m(a)};Y(am,V);g=am.prototype;g.getStartTime=function(){return W(this,wj,1)};g.setStartTime=function(a){X(this,wj,1,a)};g.getEndTime=function(){return W(this,wj,2)};g.setEndTime=function(a){X(this,wj,2,a)};g.getObjective=function(){return W(this,yj,4)};g.setObjective=function(a){return X(this,yj,4,a)};g.getBusinessDays=function(){return Zi(this,5)};g.setBusinessDays=function(a){return uj(this,5,a)};g.getDayType=function(){return Kj(this,6,0)};
g.setDayType=function(a){return ej(this,6,a)};var jn=function(a){this.internalArray_=m(a)};Y(jn,V);var ln=function(a){this.internalArray_=m(a)};Y(ln,V);ln.prototype.getSourceIssueIdsList_asLegacyNumberOrString=function(){return lj(this,1,Wi())};ln.prototype.setSourceIssueIdsList=function(a){return pk(this,1,a)};var lm=function(a){this.internalArray_=m(a)};Y(lm,V);var nl=function(a){this.internalArray_=m(a)};Y(nl,V);nl.prototype.getAccessLevel=function(){return Kj(this,1,0)};nl.prototype.setAccessLevel=function(a){return ej(this,1,a)};var eva=function(a){this.internalArray_=m(a)};Y(eva,V);var Mua=function(a){this.internalArray_=m(a)};Y(Mua,V);Mua.prototype.getSeverity=function(){return Kj(this,1,0)};Mua.prototype.setSeverity=function(a){return ej(this,1,a)};var C7b=function(a){this.internalArray_=m(a)};Y(C7b,V);var kn=function(a){this.internalArray_=m(a)};Y(kn,V);kn.prototype.getRetentionPeriod=function(){return W(this,yj,1)};var rl=function(a){this.internalArray_=m(a)};Y(rl,V);g=rl.prototype;g.getAttachmentId_asLegacyNumberOrString=function(){return Vj(this,1)};g.setAttachmentId=function(a){return pl(this,1,a)};g.getFilename=function(){return Gh(this,4)};g.setFilename=function(a){cj(this,4,a)};g.getEntityStatus=function(){return W(this,tl,6)};g.setEntityStatus=function(a){return X(this,tl,6,a)};g.getEtag=function(){return Yp(this,7)};g.setEtag=function(a){sl(this,7,a)};
g.getContentVerdict=function(){return W(this,C7b,10)};g.getRestrictedRetentionState=function(){return W(this,kn,11)};g.getRestrictedRetention=function(){return Kj(this,12,0)};g.setRestrictedRetention=function(a){return ej(this,12,a)};var Dl=function(a){this.internalArray_=m(a)};Y(Dl,V);Dl.prototype.getValuesList=function(a){return nj(this,tj,1,Wi(a))};Dl.prototype.setValuesList=function(a){return $l(this,1,a)};Dl.prototype.setValues=function(a,b){yv(this,1,tj,a,b)};var Cl=function(a){this.internalArray_=m(a)};Y(Cl,V);Cl.prototype.getValuesList=function(a){return c_b(this,1,Wi(a))};Cl.prototype.setValuesList=function(a){return wc(this,1,a,zca)};Cl.prototype.getValues=function(a){var b=c_b(this,1,3,void 0,!0);nb(b,a);return b[a]};Cl.prototype.setValues=function(a,b){yc(this,1,zca,b,a,c_b,void 0,1)};var Bl=function(a){this.internalArray_=m(a)};Y(Bl,V);Bl.prototype.getValuesList=function(a){return Vi(this,1,Wi(a))};Bl.prototype.setValuesList=function(a){return dj(this,1,a)};Bl.prototype.getValues=function(a){return Jv(this,1,a)};Bl.prototype.setValues=function(a,b){Nv(this,1,a,b)};var tk=function(a){this.internalArray_=m(a)};Y(tk,V);var El=function(a){this.internalArray_=m(a)};Y(El,V);g=El.prototype;g.getValueCase=function(){return fl(this,yl)};g.getCustomFieldId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getCustomFieldId_asString=function(){return Oo(this,1)};g.setCustomFieldId=function(a){return pl(this,1,a)};g.getDateValue=function(){return Al(this,tj,3,yl)};g.getDisplayString=function(){return Gh(this,10)};var yl=[2,3,4,5,6,7,8,9];var Gl=function(a){this.internalArray_=m(a)};Y(Gl,V);g=Gl.prototype;g.getCustomFieldId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getCustomFieldId_asString=function(){return Oo(this,1)};g.setCustomFieldId=function(a){return pl(this,1,a)};g.getComponentId_asLegacyNumberOrString=function(){return Vj(this,2)};g.getComponentId_asString=function(){return Oo(this,2)};g.setComponentId=function(a){return pl(this,2,a)};g.getType=function(){return Kj(this,3,0)};
g.setType=function(a){return ej(this,3,a)};g.getName=function(){return Gh(this,5)};g.setName=function(a){return cj(this,5,a)};g.getDescription=function(){return Gh(this,6)};g.setDescription=function(a){return cj(this,6,a)};g.getEnumValues=function(a){return Jv(this,8,a)};g.setFieldSignificance=function(a){return ej(this,9,a)};g.getShared=function(){return Fj(this,11)};g.setShared=function(a){Hl(this,11,a)};var wl=function(a){this.internalArray_=m(a)};Y(wl,V);wl.prototype.getCustomFieldId_asLegacyNumberOrString=function(){return Vj(this,ul(this,vl,1))};wl.prototype.getCustomFieldId_asString=function(){return Oo(this,ul(this,vl,1))};wl.prototype.setCustomFieldId=function(a){return xl(this,1,vl,Lb(a))};wl.prototype.hasCustomFieldId=function(){return Ev(this,ul(this,vl,1))!=null};var vl=[1,2];var bj=function(a){this.internalArray_=m(a)};Y(bj,V);bj.prototype.getEmailAddress=function(){return Gh(this,1)};bj.prototype.getUserGaiaStatus=function(){return Kj(this,3,0)};var Tl=function(a){this.internalArray_=m(a)};Y(Tl,V);Tl.prototype.setCount=function(a){return pl(this,2,a)};Tl.prototype.getType=function(){return Kj(this,4,0)};Tl.prototype.setType=function(a){return ej(this,4,a)};var Ll=function(a){this.internalArray_=m(a)};Y(Ll,V);var Rl=function(a){this.internalArray_=m(a)};Y(Rl,V);Rl.prototype.getContent=function(){return W(this,tk,1)};Rl.prototype.setContent=function(a){return X(this,tk,1,a)};Rl.prototype.hasContent=function(){return Oj(this,tk,1)};var Ql=function(a){this.internalArray_=m(a)};Y(Ql,V);Ql.prototype.getContent=function(){return W(this,tk,1)};Ql.prototype.setContent=function(a){return X(this,tk,1,a)};Ql.prototype.hasContent=function(){return Oj(this,tk,1)};var Pl=function(a){this.internalArray_=m(a)};Y(Pl,V);Pl.prototype.getContent=function(){return W(this,tk,2)};Pl.prototype.setContent=function(a){return X(this,tk,2,a)};Pl.prototype.hasContent=function(){return Oj(this,tk,2)};var Eva=function(a){this.internalArray_=m(a)};Y(Eva,V);var em=function(a){this.internalArray_=m(a)};Y(em,V);em.prototype.getKindCase=function(){return fl(this,Ol)};var Ol=[1,2,3];var eB=function(a){this.internalArray_=m(a)};Y(eB,V);eB.prototype.getState=function(){return Kj(this,2,0)};eB.prototype.setState=function(a){return ej(this,2,a)};var Zm=function(a){this.internalArray_=m(a)};Y(Zm,V);g=Zm.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,6)};g.getIssueId_asString=function(){return Oo(this,6)};g.setIssueId=function(a){return pl(this,6,a)};g.getCommentNumber=function(){return Zi(this,7)};g.setCommentNumber=function(a){return uj(this,7,a)};g.getComment=function(){return Gh(this,1)};g.setComment=function(a){return cj(this,1,a)};g.getFormattedComment=function(){return W(this,em,16)};
g.hasFormattedComment=function(){return Oj(this,em,16)};g.getMentionsList=function(a){return nj(this,eB,14,Wi(a))};g.getFormattingMode=function(){return Kj(this,9,0)};g.setFormattingMode=function(a){return ej(this,9,a)};g.getAttachmentsList=function(){return nj(this,rl,2,Wi())};g.setAttachmentsList=function(a){return $l(this,2,a)};g.addAllAttachments=function(a){Dv(this,2,rl,a)};g.getModifiedTime=function(){return W(this,wj,4)};g.setModifiedTime=function(a){return X(this,wj,4,a)};
g.getEntityStatus=function(){return W(this,tl,5)};g.setEntityStatus=function(a){return X(this,tl,5,a)};g.getVersion=function(){return Zi(this,8)};g.setVersion=function(a){return uj(this,8,a)};g.getContentVerdict=function(){return W(this,C7b,10)};g.getRestrictedRetentionState=function(){return W(this,kn,11)};g.getRestrictedRetention=function(){return Kj(this,12,0)};g.setRestrictedRetention=function(a){return ej(this,12,a)};g.getEtag=function(){return Yp(this,15)};g.setEtag=function(a){sl(this,15,a)};var km=function(a){this.internalArray_=m(a)};Y(km,V);km.prototype.getChangeNumber_asLegacyNumberOrString=function(){return Vj(this,3)};km.prototype.setChangeNumber=function(a){return pl(this,3,a)};km.prototype.getState=function(){return Kj(this,4,0)};km.prototype.setState=function(a){return ej(this,4,a)};var ml=function(a){this.internalArray_=m(a)};Y(ml,V);ml.prototype.getAccessLevel=function(){return Kj(this,1,0)};ml.prototype.setAccessLevel=function(a){return ej(this,1,a)};var Xl=function(a){this.internalArray_=m(a)};Y(Xl,V);Xl.prototype.getRole=function(){return Kj(this,1,0)};Xl.prototype.setRole=function(a){return ej(this,1,a)};Xl.prototype.getCount=function(){return zl(this,2)};Xl.prototype.setCount=function(a){return Wl(this,2,a)};var Vl=function(a){this.internalArray_=m(a)};Y(Vl,V);Vl.prototype.getUser=function(){return W(this,bj,1)};Vl.prototype.setUser=function(a){return X(this,bj,1,a)};Vl.prototype.hasUser=function(){return Oj(this,bj,1)};var Ul=function(a){this.internalArray_=m(a)};Y(Ul,V);Ul.prototype.getUser=function(){return Al(this,Vl,1,Yl)};Ul.prototype.setUser=function(a){return Fl(this,1,Yl,a)};Ul.prototype.hasUser=function(){return Nl(this,Vl,1,Yl)};Ul.prototype.getPlaceholder=function(){return Al(this,Xl,2,Yl)};var Yl=[1,2];var Zl=function(a){this.internalArray_=m(a)};Y(Zl,V);Zl.prototype.setPlannedAllocations=function(a){yv(this,1,Ul,a)};var im=function(a){this.internalArray_=m(a)};Y(im,V);g=im.prototype;g.getComponentId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getComponentId_asString=function(){return Oo(this,1)};g.setComponentId=function(a){return pl(this,1,a)};g.getType=function(){return Kj(this,2,0)};g.setType=function(a){return ej(this,2,a)};g.getStatus=function(){return Kj(this,3,0)};g.setStatus=function(a){return ej(this,3,a)};g.getPriority=function(){return Kj(this,4,0)};
g.setPriority=function(a){return ej(this,4,a)};g.getSeverity=function(){return Kj(this,5,0)};g.setSeverity=function(a){return ej(this,5,a)};g.getTitle=function(){return Gh(this,6)};g.setTitle=function(a){return cj(this,6,a)};g.getReporter=function(){return W(this,bj,7)};g.setReporter=function(a){X(this,bj,7,a)};g.getAssignee=function(){return W(this,bj,8)};g.setAssignee=function(a){return X(this,bj,8,a)};g.clearAssignee=function(){return Zp(this,8)};g.getVerifier=function(){return W(this,bj,9)};
g.setVerifier=function(a){X(this,bj,9,a)};g.clearVerifier=function(){return Zp(this,9)};g.getCcsList=function(){return nj(this,bj,10,Wi())};g.setCcsList=function(a){$l(this,10,a)};g.addAllCcs=function(a){Dv(this,10,bj,a)};g.setCcs=function(a,b){return yv(this,10,bj,a,b)};g.getCollaboratorsList=function(){return nj(this,bj,31,Wi())};g.setCollaboratorsList=function(a){$l(this,31,a)};g.addAllCollaborators=function(a){Dv(this,31,bj,a)};g.setCollaborators=function(a,b){return yv(this,31,bj,a,b)};
g.getStaffing=function(){return W(this,Zl,36)};g.setStaffing=function(a){X(this,Zl,36,a)};g.getCanonicalIssueId_asLegacyNumberOrString=function(){return Vj(this,11)};g.setCanonicalIssueId=function(a){pl(this,11,a)};g.getBlockedByIssueIdsList_asLegacyNumberOrString=function(){return lj(this,12,Wi())};g.setBlockedByIssueIdsList=function(a){pk(this,12,a)};g.addAllBlockedByIssueIds=function(a){Mv(this,12,a)};g.getBlockingIssueIdsList_asLegacyNumberOrString=function(){return lj(this,13,Wi())};
g.setBlockingIssueIdsList=function(a){pk(this,13,a)};g.addAllBlockingIssueIds=function(a){Mv(this,13,a)};g.getHotlistIdsList_asLegacyNumberOrString=function(a){return lj(this,14,Wi(a))};g.getHotlistIdsList_asString=function(){return ak(this,14)};g.setHotlistIdsList=function(a){pk(this,14,a)};g.addHotlistIds=function(a,b){return yc(this,14,Kb,a,b,lj)};g.addAllHotlistIds=function(a){Mv(this,14,a)};g.removeHotlistIds=function(a){return f_b(this,14,a)};
g.getCustomFieldsList=function(){return nj(this,El,15,Wi())};g.setCustomFieldsList=function(a){return $l(this,15,a)};g.addCustomFields=function(a){Bv(this,15,El,a)};g.getCodeChangesList=function(a){return Vi(this,16,Wi(a))};g.setCodeChangesList=function(a){dj(this,16,a)};g.addAllCodeChanges=function(a){Xm(this,16,a)};g.setCodeChanges=function(a,b){return Nv(this,16,a,b)};g.getGerritChangesList=function(){return nj(this,km,35,Wi())};g.setGerritChangesList=function(a){$l(this,35,a)};
g.addAllGerritChanges=function(a){Dv(this,35,km,a)};g.getInProd=function(){return Fj(this,20)};g.setInProd=function(a){Hl(this,20,a)};g.getIsArchived=function(){return Fj(this,21)};g.setIsArchived=function(a){return Hl(this,21,a)};g.getDuplicateIssueIdsList_asLegacyNumberOrString=function(){return lj(this,22,Wi())};g.setDuplicateIssueIdsList=function(a){pk(this,22,a)};g.getIsDeleted=function(){return Fj(this,23)};g.setIsDeleted=function(a){Hl(this,23,a)};
g.setDeletionReason=function(a){ej(this,24,a)};g.getEntityStatus=function(){return W(this,tl,25)};g.setEntityStatus=function(a){return X(this,tl,25,a)};g.getSloSnoozeUntil=function(){return W(this,wj,26)};g.setSloSnoozeUntil=function(a){X(this,wj,26,a)};g.getSloEndTime=function(){return W(this,wj,34)};g.setSloEndTime=function(a){X(this,wj,34,a)};g.hasSloEndTime=function(){return Oj(this,wj,34)};g.setSloSnoozeType=function(a){ej(this,30,a)};g.getRetention=function(){return Kj(this,28,0)};
g.setRetention=function(a){return ej(this,28,a)};g.getEffort=function(){return W(this,jm,29)};g.setEffort=function(a){X(this,jm,29,a)};g.hasEffort=function(){return Oj(this,jm,29)};g.getAccessLimit=function(){return W(this,ml,32)};g.setAccessLimit=function(a){return X(this,ml,32,a)};var hn=function(a){this.internalArray_=m(a)};Y(hn,V);hn.prototype.setNotificationSubscription=function(a){return ej(this,4,a)};var ywa=function(a){this.internalArray_=m(a)};Y(ywa,V);var xwa=function(a){this.internalArray_=m(a)};Y(xwa,V);g=xwa.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return nk(this,1,a)};g.getCommentNumber=function(){return Zi(this,2)};g.setCommentNumber=function(a){return ek(this,2,a)};var Bwa=function(a){this.internalArray_=m(a)};Y(Bwa,V);var wwa=[1,2];var fm=function(a){this.internalArray_=m(a)};Y(fm,V);g=fm.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getFormattingMode=function(){return Kj(this,4,0)};g.setFormattingMode=function(a){return ej(this,4,a)};g.getAuthor=function(){return W(this,bj,5)};g.setAuthor=function(a){X(this,bj,5,a)};g.hasAuthor=function(){return Oj(this,bj,5)};
g.getUpdateTime=function(){return W(this,wj,6)};g.setUpdateTime=function(a){X(this,wj,6,a)};g.hasUpdateTime=function(){return Oj(this,wj,6)};g.getVersion=function(){return Zi(this,7)};g.setVersion=function(a){return uj(this,7,a)};g.getEntityStatus=function(){return W(this,tl,8)};g.setEntityStatus=function(a){return X(this,tl,8,a)};var gn=function(a){this.internalArray_=m(a)};Y(gn,V);g=gn.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,2)};g.getIssueId_asString=function(){return Oo(this,2)};g.setIssueId=function(a){return pl(this,2,a)};g.getIssueState=function(){return W(this,im,3)};g.setIssueState=function(a){return X(this,im,3,a)};g.getIssueComment=function(){return W(this,Zm,4)};g.setIssueComment=function(a){X(this,Zm,4,a)};g.hasIssueComment=function(){return Oj(this,Zm,4)};
g.getAttachmentsList=function(){return nj(this,rl,18,Wi())};g.setAttachmentsList=function(a){return $l(this,18,a)};g.addAllAttachments=function(a){Dv(this,18,rl,a)};g.getDescription=function(){return W(this,Zm,44)};g.setDescription=function(a){return X(this,Zm,44,a)};g.hasDescription=function(){return Oj(this,Zm,44)};g.getStatusUpdate=function(){return W(this,fm,43)};g.setStatusUpdate=function(a){X(this,fm,43,a)};g.hasStatusUpdate=function(){return Oj(this,fm,43)};
g.getCreatedTime=function(){return W(this,wj,5)};g.setCreatedTime=function(a){return X(this,wj,5,a)};g.getModifiedTime=function(){return W(this,wj,6)};g.setModifiedTime=function(a){return X(this,wj,6,a)};g.getMajorModifiedTime=function(){return W(this,wj,35)};g.setMajorModifiedTime=function(a){return X(this,wj,35,a)};g.getResolvedTime=function(){return W(this,wj,7)};g.setResolvedTime=function(a){return X(this,wj,7,a)};g.getVerifiedTime=function(){return W(this,wj,8)};
g.setVerifiedTime=function(a){return X(this,wj,8,a)};g.getUserData=function(){return W(this,hn,9)};g.setUserData=function(a){X(this,hn,9,a)};g.getParentIssueIdsList_asLegacyNumberOrString=function(){return lj(this,37,Wi())};g.setParentIssueIdsList=function(a){return pk(this,37,a)};g.getAccessLimit=function(){return W(this,nl,11)};g.setAccessLimit=function(a){return X(this,nl,11,a)};g.getVersion=function(){return Zi(this,12)};g.setVersion=function(a){return uj(this,12,a)};
g.getEtag=function(){return Yp(this,13)};g.setEtag=function(a){sl(this,13,a)};g.getCustomFieldsList=function(){return nj(this,Gl,15,Wi())};g.setCustomFieldsList=function(a){return $l(this,15,a)};g.addCustomFields=function(a){Bv(this,15,Gl,a)};g.getSloStatus=function(){return W(this,jn,16)};g.setSloStatus=function(a){X(this,jn,16,a)};g.hasSloStatus=function(){return Oj(this,jn,16)};g.getSloId_asLegacyNumberOrString=function(){return Vj(this,17)};g.setSloId=function(a){return pl(this,17,a)};
g.getTeamId_asLegacyNumberOrString=function(){return Vj(this,33)};g.setTeamId=function(a){return pl(this,33,a)};g.getRetentionState=function(){return W(this,kn,29)};g.setRetentionState=function(a){X(this,kn,29,a)};g.getAncestorsMap=function(){return tc(this,38,ln,Tb)};g.getIsArchived=function(){return Fj(this,40)};g.setIsArchived=function(a){return Hl(this,40,a)};g.getTrackerId_asLegacyNumberOrString=function(){return Vj(this,42)};g.getTrackerId_asString=function(){return Oo(this,42)};
g.setTrackerId=function(a){return pl(this,42,a)};var fB=function(a){this.internalArray_=m(a)};Y(fB,V);fB.prototype.getCode=function(){return Kj(this,1,0)};fB.prototype.setCode=function(a){return hk(this,1,a)};fB.prototype.getCodeOrUndefined=function(){return Qt(this,1)};var ut=function(a){this.internalArray_=m(a,1)};Y(ut,V);var gB=function(a){this.internalArray_=m(a)};Y(gB,V);g=gB.prototype;g.getLoggingId=function(){return Gh(this,1,"")};g.setLoggingId=function(a){gk(this,1,a)};g.getValue=function(){return zl(this,2,0)};g.setValue=function(a){return Zp(this,2,yb(a))};g.hasValue=function(){return zv(this,2)!=null};var jt=function(a){this.internalArray_=m(a)};Y(jt,V);jt.prototype.getEncryptionSupport=function(){return Kj(this,1,0)};jt.prototype.getCertificateStatus=function(){return Kj(this,2,0)};var hB=function(a){this.internalArray_=m(a)};Y(hB,V);g=hB.prototype;g.getDisplayName=function(){return Gh(this,1,"")};g.setDisplayName=function(a){return gk(this,1,a)};g.getGivenName=function(){return Gh(this,2,"")};g.setGivenName=function(a){return gk(this,2,a)};g.hasGivenName=function(){return Hj(this,2)};g.getFamilyName=function(){return Gh(this,3,"")};g.setFamilyName=function(a){return gk(this,3,a)};g.hasFamilyName=function(){return Hj(this,3)};g.getSourceType=function(){return Kj(this,4,0)};
g.setSourceType=function(a){return hk(this,4,a)};var iB=function(a){this.internalArray_=m(a)};Y(iB,V);g=iB.prototype;g.getUrl=function(){return Gh(this,1,"")};g.setUrl=function(a){return gk(this,1,a)};g.hasUrl=function(){return Hj(this,1)};g.getType=function(){return Kj(this,2,0)};g.setType=function(a){return hk(this,2,a)};g.hasType=function(){return Ij(this,2)};g.getSourceType=function(){return Kj(this,3,0)};g.setSourceType=function(a){return hk(this,3,a)};g.getGlyph=function(){return Gh(this,4,"")};g.setGlyph=function(a){return gk(this,4,a)};var kt=function(a){this.internalArray_=m(a)};Y(kt,V);kt.prototype.getReachabilityStatus=function(){return Kj(this,1,0)};kt.prototype.getClientData=function(){return Gh(this,2,"")};kt.prototype.hasClientData=function(){return Hj(this,2)};var jB=function(a){this.internalArray_=m(a)};Y(jB,V);jB.prototype.getAltText=function(){return Gh(this,1,"")};jB.prototype.setAltText=function(a){return gk(this,1,a)};jB.prototype.getIconUrl=function(){return Gh(this,2,"")};jB.prototype.setIconUrl=function(a){return gk(this,2,a)};var kB=function(a){this.internalArray_=m(a)};Y(kB,V);g=kB.prototype;g.getTargetType=function(){return Kj(this,1,18)};g.getValue=function(){return Gh(this,2,"")};g.setValue=function(a){return gk(this,2,a)};g.hasValue=function(){return Hj(this,2)};g.getName=function(){return W(this,hB,3)};g.setName=function(a){return X(this,hB,3,a)};g.hasName=function(){return Oj(this,hB,3)};g.getPhoto=function(){return W(this,iB,4)};g.setPhoto=function(a){X(this,iB,4,a)};g.hasPhoto=function(){return Oj(this,iB,4)};
g.getProfileId=function(){return Jv(this,5)};g.setProfileId=function(a){return Nv(this,5,a)};g.getContactId=function(){return Jv(this,6)};g.setContactId=function(a){return Nv(this,6,a)};g.getIsMe=function(){return Fj(this,7,!1)};g.setIsMe=function(a){return dk(this,7,a)};g.getAffinity=function(){return W(this,gB,8)};g.hasAffinity=function(){return Oj(this,gB,8)};g.getEmailSecurityInfo=function(){return W(this,jt,9)};g.setEmailSecurityInfo=function(a){X(this,jt,9,a)};
g.getOrgState=function(){return Kj(this,10,0)};g.setOrgState=function(a){hk(this,10,a)};g.getDataSource=function(){return Kj(this,11,0)};g.setDataSource=function(a){return hk(this,11,a)};g.hasDataSource=function(){return Ij(this,11)};g.getDescription=function(){return Gh(this,12,"")};g.setDescription=function(a){return gk(this,12,a)};g.hasDescription=function(){return Hj(this,12)};g.getTagList=function(){return nj(this,jB,14,Wi())};g.setTagList=function(a){$l(this,14,a)};
g.addTag=function(a){Bv(this,14,jB,a)};g.getExtendedData=function(){return W(this,ut,15)};g.setExtendedData=function(a){X(this,ut,15,a)};g.hasExtendedData=function(){return Oj(this,ut,15)};g.getCanonicalValue=function(){return Gh(this,16,"")};g.setCanonicalValue=function(a){return gk(this,16,a)};g.hasCanonicalValue=function(){return Hj(this,16)};g.getReachabilityInfo=function(){return W(this,kt,17)};g.setReachabilityInfo=function(a){X(this,kt,17,a)};var lB=function(a){this.internalArray_=m(a)};Y(lB,V);g=lB.prototype;g.getResultType=function(){return Kj(this,1,7)};g.setResultType=function(a){return hk(this,1,a)};g.getTargetList=function(){return nj(this,kB,2,Wi())};g.setTarget=function(a,b){return yv(this,2,kB,a,b)};g.getTargetCount=function(){return ZZb(this,kB,2)};g.getMemberList=function(){return nj(this,lB,3,Wi())};g.getTotalMemberCount=function(){return Zi(this,4)};g.getIsBoosted=function(){return Fj(this,5)};
g.setIsBoosted=function(a){dk(this,5,a)};g.getAffinity=function(){return W(this,gB,6)};g.hasAffinity=function(){return Oj(this,gB,6)};g.getExtendedData=function(){return W(this,ut,7)};g.setExtendedData=function(a){X(this,ut,7,a)};g.hasExtendedData=function(){return Oj(this,ut,7)};var mB=function(a){this.internalArray_=m(a)};Y(mB,V);var D7b=function(a,b){$l(a,1,b)};mB.prototype.getMetadata=function(){return W(this,fB,2)};mB.prototype.getMutableMetadata=function(){return Av(this,fB,2)};mB.prototype.setMetadata=function(a){X(this,fB,2,a)};var Xqa=Object.prototype.hasOwnProperty;var E7b={SINGLE_VALUE:"SINGLE_VALUE",COLLECTION:"COLLECTION",USER_COLLECTION:"USER_COLLECTION",LINKED_COLLECTION:"LINKED_COLLECTION",CUSTOM_FIELD:"CUSTOM_FIELD",STATUS_UPDATE:"STATUS_UPDATE"},IPb=new Set([{alias:"googlers_unrestricted"},{alias:"google_domain"}].map(function(a){return"ALIAS:"+a.alias})),F7b={AGGREGATION_TYPE_UNSPECIFIED:"AGGREGATION_TYPE_UNSPECIFIED",SUM:"SUM",MAX:"MAX"};var G7b=["NEW","CONFIRMED","IN_PROGRESS","FIXED","WONT_FIX"],nB={},H7b=(nB.UNSPECIFIED=[],nB.NEW=["PENDING_TRIAGE","REPORTER_RESPONDED","NEEDS_INFO"],nB.CONFIRMED=["PENDING_OWNER"],nB.IN_PROGRESS=["EXPECTED","PLANNED","COMMITTED"],nB.FIXED=["REOPENED"],nB.WONT_FIX=["REOPENED"],nB),oB={},I7b=(oB.TRIAGE_SUBPHASE_UNSPECIFIED="Unspecified",oB.NEEDS_INFO="Needs more info",oB.PENDING_TRIAGE="Pending triage",oB.PENDING_OWNER="Pending owner",oB.REPORTER_RESPONDED="Reporter responded",oB.EXPECTED="Expected",
oB.PLANNED="Planned",oB.COMMITTED="Committed",oB.REOPENED="Reopened",oB),pB={},J7b=(pB.TRIAGE_SUBPHASE_UNSPECIFIED="unspecified",pB.NEEDS_INFO="needs-info",pB.PENDING_TRIAGE="pending-triage",pB.PENDING_OWNER="pending-owner",pB.REPORTER_RESPONDED="reporter-responded",pB.EXPECTED="expected",pB.PLANNED="planned",pB.COMMITTED="committed",pB.REOPENED="reopened",pB),K7b=pra(qra(J7b)),qB={},Wt=(qB.UNSPECIFIED="unspecified",qB.NEW="new",qB.CONFIRMED="confirmed",qB.IN_PROGRESS="in-progress",qB.FIXED="fixed",
qB.WONT_FIX="wont-fix",qB),L7b=pra(qra(Wt)),M7b=new Map([["NEW","New"],["CONFIRMED","Confirmed"],["IN_PROGRESS","In progress"],["FIXED","Fixed"],["WONT_FIX","Won't fix"]]),rB={},N7b=(rB.NEW="status:new modified:7d",rB.CONFIRMED="status:assigned modified:7d",rB.IN_PROGRESS="status:accepted modified:30d",rB.FIXED="status:fixed|verified modified:30d",rB.WONT_FIX="status:infeasible|not_reproducible|obsolete|duplicate modified:30d",rB),sB="active-indicator priority title alerts relativeModifiedTime id".split(" "),
tB={},O7b=(tB.UNSPECIFIED=sB,tB.NEW="active-indicator priority title alerts componentName triager relativeModifiedTime id".split(" "),tB.CONFIRMED=sB,tB.IN_PROGRESS=sB,tB.FIXED=sB,tB.WONT_FIX=sB,tB);var P7b=new Set([1049953,209989]);var Uza=new Map([[1,"Bug"],[3,"Customer Issue"],[13,"Epic"],[11,"Feature"],[2,"Feature Request"],[4,"Internal Cleanup"],[12,"Milestone"],[7,"Privacy Issue"],[5,"Process"],[9,"Program"],[10,"Project"],[14,"Story"],[15,"Task"],[0,"Unspecified"],[6,"Vulnerability"]]),En=new Map([[1,"New"],[2,"Assigned"],[3,"In Progress (Accepted)"],[4,"Fixed"],[5,"Fixed (Verified)"],[6,"Won't fix (Not reproducible)"],[7,"Won't fix (Intended behavior)"],[8,"Won't fix (Obsolete)"],[9,"Won't fix (Infeasible)"],[10,"Duplicate"],
[0,""]]),uB=new Map([[1,"New"],[2,"Assigned"],[3,"In Progress"],[4,"Fixed"],[5,"Verified"],[6,"Can't Repro"],[7,"WAI"],[8,"Obsolete"],[9,"Infeasible"],[10,"Duplicate"],[0,""]]),vB=new Map([[1,"High"],[2,"Medium"],[3,"Low"],[4,"Zero"],[0,"--"]]),wB=new Map([[1,"SWE"],[2,"SRE"],[3,"PM"],[4,"T/PgM"],[5,"UX"],[0,"--"]]);var xB={},Q7b=(xB.STATUS_UNSPECIFIED=uB.get(0),xB.NEW=uB.get(1),xB.ASSIGNED=uB.get(2),xB.ACCEPTED=uB.get(3),xB.FIXED=uB.get(4),xB.VERIFIED=uB.get(5),xB.DUPLICATE=uB.get(10),xB.INFEASIBLE=uB.get(9),xB.NOT_REPRODUCIBLE=uB.get(6),xB.OBSOLETE=uB.get(8),xB.INTENDED_BEHAVIOR=uB.get(7),xB),R7b={New:1,Assigned:2,"In Progress (Accepted)":3,Fixed:4,Verified:5},yB={},Wta=(yB.STATUS_UNSPECIFIED=0,yB.NEW=10,yB.ASSIGNED=20,yB.ACCEPTED=30,yB.FIXED=40,yB.VERIFIED=50,yB.DUPLICATE=60,yB.INFEASIBLE=70,yB.NOT_REPRODUCIBLE=
80,yB.OBSOLETE=90,yB.INTENDED_BEHAVIOR=100,yB),zB={},S7b=(zB.ASSIGNED=!0,zB.ACCEPTED=!0,zB.FIXED=!0,zB.VERIFIED=!0,zB.DUPLICATE=!0,zB.INFEASIBLE=!0,zB.NOT_REPRODUCIBLE=!0,zB.OBSOLETE=!0,zB.INTENDED_BEHAVIOR=!0,zB),AB={},Pi=(AB.STATUS_UNSPECIFIED=En.get(0),AB.NEW=En.get(1),AB.ASSIGNED=En.get(2),AB.ACCEPTED=En.get(3),AB.FIXED=En.get(4),AB.VERIFIED=En.get(5),AB.DUPLICATE=En.get(10),AB.INFEASIBLE=En.get(9),AB.NOT_REPRODUCIBLE=En.get(6),AB.OBSOLETE=En.get(8),AB.INTENDED_BEHAVIOR=En.get(7),AB),BB={},T7b=
(BB.P0="P0",BB.P1="P1",BB.P2="P2",BB.P3="P3",BB.P4="P4",BB.PRIORITY_UNSPECIFIED="--",BB),CB={},fua=(CB.P0=0,CB.P1=10,CB.P2=20,CB.P3=30,CB.P4=40,CB.PRIORITY_UNSPECIFIED=99,CB),DB={},U7b=(DB.S0="S0",DB.S1="S1",DB.S2="S2",DB.S3="S3",DB.S4="S4",DB.SEVERITY_UNSPECIFIED="--",DB),EB={},V7b=(EB.STATUS_UNSPECIFIED="issue-status-wont-fix",EB.NEW="issue-status-new",EB.ASSIGNED="issue-status-assigned",EB.ACCEPTED="issue-status-accepted",EB.FIXED="issue-status-fixed",EB.VERIFIED="issue-status-verified",EB.DUPLICATE=
"issue-status-duplicate",EB.INFEASIBLE="issue-status-wont-fix",EB.NOT_REPRODUCIBLE="issue-status-wont-fix",EB.OBSOLETE="issue-status-wont-fix",EB.INTENDED_BEHAVIOR="issue-status-wont-fix",EB),FB={},mta=(FB.INVOLVEMENT_UNSPECIFIED=vB.get(0),FB.HIGH=vB.get(1),FB.MEDIUM=vB.get(2),FB.LOW=vB.get(3),FB.ZERO=vB.get(4),FB),GB={},Ok=(GB.JOB_ROLE_UNSPECIFIED=wB.get(0),GB.SWE=wB.get(1),GB.SRE=wB.get(2),GB.PM=wB.get(3),GB.TPGM=wB.get(4),GB.UX=wB.get(5),GB);var HB={},$k=(HB.NEW=Qi("NEW",!0,"FORBIDDEN",10),HB.ASSIGNED=Qi("ASSIGNED",!0,"REQUIRED",20),HB.ACCEPTED=Qi("ACCEPTED",!0,"REQUIRED",30),HB.FIXED=Qi("FIXED",!1,"REQUIRED",40),HB.VERIFIED=Qi("VERIFIED",!1,"REQUIRED",50),HB.DUPLICATE=Qi("DUPLICATE",!1,"ALLOWED",60),HB.INFEASIBLE=Qi("INFEASIBLE",!1,"ALLOWED",70),HB.NOT_REPRODUCIBLE=Qi("NOT_REPRODUCIBLE",!1,"ALLOWED",80),HB.OBSOLETE=Qi("OBSOLETE",!1,"ALLOWED",90),HB.INTENDED_BEHAVIOR=Qi("INTENDED_BEHAVIOR",!1,"ALLOWED",100),HB),W7b=[$k.NEW,$k.ASSIGNED,
$k.ACCEPTED,$k.FIXED,$k.VERIFIED,$k.NOT_REPRODUCIBLE,$k.INTENDED_BEHAVIOR,$k.OBSOLETE,$k.INFEASIBLE,$k.DUPLICATE],X7b=W7b.map(function(a){return{value:a.status,displayText:a.displayValue}}),Y7b=new Set(Object.values(Dc($k,function(a){return a.assigneeRequirement==="REQUIRED"})));var Z7b=function(){},aj=function(a){if(typeof a=="number"){var b=new Z7b;b.standardOffset_=a;var c=a;if(c==0)c="Etc/GMT";else{var d=["Etc/GMT",c<0?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);c%=60;c!=0&&d.push(":",Pv(c,2));c=d.join("")}b.timeZoneId_=c;c=a;c==0?c="UTC":(d=["UTC",c<0?"+":"-"],c=Math.abs(c),d.push(Math.floor(c/60)%100),c%=60,c!=0&&d.push(":",c),c=d.join(""));a=$7b(a);b.tzNames_=[c,c];b.tzNamesExt_={STD_LONG_NAME_GMT:a,STD_GENERIC_LOCATION:a};b.transitions_=[];return b}b=new Z7b;
b.timeZoneId_=a.id;b.standardOffset_=-a.std_offset;b.tzNames_=a.names;b.tzNamesExt_=a.names_ext;b.transitions_=a.transitions;return b},$7b=function(a){var b=["GMT"];b.push(a<=0?"+":"-");a=Math.abs(a);b.push(Pv(Math.floor(a/60)%100,2),":",Pv(a%60,2));return b.join("")},a8b=function(a,b){b=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5;for(var c=0;c<a.transitions_.length&&b>=a.transitions_[c];)c+=2;return c==0?0:a.transitions_[c-1]},b8b=function(a,
b){a=a.standardOffset_-a8b(a,b);return a===-1440?0:a};var mj=function(a){this.internalArray_=m(a)};Y(mj,V);mj.prototype.getLogoUrl=function(){return Gh(this,1)};mj.prototype.getTheme=function(){return Kj(this,2,0)};mj.prototype.setTheme=function(a){return ej(this,2,a)};var IB=function(a){this.internalArray_=m(a)};Y(IB,V);g=IB.prototype;g.getTrackerId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getTrackerId_asString=function(){return Oo(this,1)};g.setTrackerId=function(a){return pl(this,1,a)};g.getComponentId_asLegacyNumberOrString=function(){return Vj(this,2)};g.getComponentId_asString=function(){return Oo(this,2)};g.setComponentId=function(a){return pl(this,2,a)};g.getName=function(){return Gh(this,3)};g.setName=function(a){return cj(this,3,a)};
g.getInternalBaseUrl=function(){return Gh(this,8)};g.getExternalBaseUrl=function(){return Gh(this,9)};g.getEtag=function(){return Yp(this,7)};g.setEtag=function(a){sl(this,7,a)};var Ik=function(a){this.internalArray_=m(a,0,Ik.messageId)};Y(Ik,V);Ik.prototype.getIt=function(){return W(this,IB,9)};Ik.prototype.setIt=function(a){return X(this,IB,9,a)};Ik.messageId="b.Tracker";var JB={showFullHistory:void 0,useCodefont:void 0,resultsPerPage:50,displayColumns:void 0,sortColumns:void 0,notificationPreferences:{reportedPriority:"IMPORTANT",assignedPriority:"ALL",verifiedPriority:"IMPORTANT",ccdPriority:"IMPORTANT",collaboratorPriority:"IMPORTANT",starredPriority:"IMPORTANT",excludeChangesByMe:!0,unsubscribeFromAll:!1,enableV2Prefs:!1},listViewPreferences:{showHotlists:!1,wrapTitles:!1,wrapComponents:!1,showStatusIcons:!1,rtlComponentPath:!1},layoutPreferences:{leftSidebarWidth:220,
expandIssueSlo:!1},dateTimePreferences:{calendarFormat:"MMM d, yyyy",timeFormat:"hh:mma",timeZone:"",sloEtaViewAs:"DEFAULT"},themePreferences:{density:"COMFORTABLE"},homepagePreferences:{resourceType:void 0,resourceId:void 0},keyboardPreferences:{enableAllHotkeys:!0},textDisplayPreferences:{},bugScreensaverPreferences:{announcementDismissed:!1,enableBugScreensaver:!1},g3nPreferences:{},teamWarningPreferences:{componentTeamWarnings:[]},dismissalTimestamps:{},showRecentEventsFirst:!1,commentFilterPreferences:{commentFilter:void 0},
showInlineImages:!0,missionControlPreferences:{}};var Sj=function(a){this.internalArray_=m(a)};Y(Sj,V);var Xj=function(a){this.internalArray_=m(a)};Y(Xj,V);var Rj=function(a){this.internalArray_=m(a)};Y(Rj,V);Rj.prototype.getLastPublishMode=function(){return Kj(this,1,0)};Rj.prototype.setLastPublishMode=function(a){hk(this,1,a)};Rj.prototype.getCommentDisplayOverride=function(){return Kj(this,2,0)};Rj.prototype.setCommentDisplayOverride=function(a){hk(this,2,a)};var rk=function(a){this.internalArray_=m(a)};Y(rk,V);g=rk.prototype;g.getType=function(){return Kj(this,1,1)};g.setType=function(a){return hk(this,1,a)};g.hasType=function(){return Ij(this,1)};g.getCustomFieldId_asLegacyNumberOrString=function(){return Vj(this,2)};g.getCustomFieldId_asString=function(){return Oo(this,2)};g.setCustomFieldId=function(a){return nk(this,2,a)};g.hasCustomFieldId=function(){return Uj(this,2)};var kk=function(a){this.internalArray_=m(a)};Y(kk,V);kk.prototype.getTimeZone=function(){return Gh(this,5)};kk.prototype.setTimeZone=function(a){return gk(this,5,a)};kk.prototype.hasTimeZone=function(){return Hj(this,5)};var qk=function(a){this.internalArray_=m(a)};Y(qk,V);qk.prototype.getColumnList=function(){return nj(this,rk,1,Wi())};qk.prototype.setColumnList=function(a){return $l(this,1,a)};qk.prototype.setColumn=function(a){return yv(this,1,rk,a)};var lsa=function(a){this.internalArray_=m(a)};Y(lsa,V);var Ura=function(a){this.internalArray_=m(a)};Y(Ura,V);var sk=function(a){this.internalArray_=m(a)};Y(sk,V);sk.prototype.getColumn=function(){return W(this,rk,1)};sk.prototype.setColumn=function(a){return X(this,rk,1,a)};var fk=function(a){this.internalArray_=m(a)};Y(fk,V);fk.prototype.getColumnList=function(){return nj(this,sk,1,Wi())};fk.prototype.setColumnList=function(a){return $l(this,1,a)};fk.prototype.setColumn=function(a){return yv(this,1,sk,a)};var Lj=function(a){this.internalArray_=m(a)};Y(Lj,V);Lj.prototype.getDensity=function(){return Kj(this,1,1)};Lj.prototype.setDensity=function(a){return hk(this,1,a)};var Tj=function(a){this.internalArray_=m(a)};Y(Tj,V);var osa=function(a){this.internalArray_=m(a)};Y(osa,V);var Yra=function(a){this.internalArray_=m(a)};Y(Yra,V);var Yj=function(a){this.internalArray_=m(a)};Y(Yj,V);Yj.prototype.getCollapsedMap=function(){return sc(this,2,Sb)};Yj.prototype.getMyTasksSources=function(){return d_b(this,8)};var Tra=function(a){this.internalArray_=m(a)};Y(Tra,V);var Zj=function(a){this.internalArray_=m(a)};Y(Zj,V);var Wj=function(a){this.internalArray_=m(a)};Y(Wj,V);Wj.prototype.getComponentId_asLegacyNumberOrString=function(){return Vj(this,1)};Wj.prototype.getComponentId_asString=function(){return Oo(this,1)};Wj.prototype.setComponentId=function(a){return nk(this,1,a)};Wj.prototype.hasComponentId=function(){return Uj(this,1)};var Zra=function(a){this.internalArray_=m(a)};Y(Zra,V);var xsa=function(a,b){$l(a,1,b)};var Pj=function(a){this.internalArray_=m(a)};Y(Pj,V);Pj.prototype.getLastPublishMode=function(){return Kj(this,1,0)};Pj.prototype.setLastPublishMode=function(a){hk(this,1,a)};Pj.prototype.getCommentDisplayOverride=function(){return Kj(this,2,0)};Pj.prototype.setCommentDisplayOverride=function(a){hk(this,2,a)};var ck=function(a){this.internalArray_=m(a,500)};Y(ck,V);g=ck.prototype;g.getDisplayColumns=function(){return W(this,qk,4)};g.setDisplayColumns=function(a){X(this,qk,4,a)};g.getSortColumns=function(){return W(this,fk,6)};g.getLayoutPreferences=function(){return W(this,lsa,10)};g.getDateTimePreferences=function(){return W(this,kk,11)};g.getHomepagePreferences=function(){return W(this,osa,13)};g.getCollapsedMap=function(){return sc(this,27,Sb)};g.getShowInlineImages=function(){return Fj(this,29)};var xk=function(a){this.internalArray_=m(a)};Y(xk,V);g=xk.prototype;g.getAppName=function(){return Gh(this,2)};g.getDocumentationBaseUrl=function(){return Gh(this,3)};g.getEnvironmentType=function(){return Gh(this,5)};g.getOnePickUrl=function(){return Gh(this,7)};g.getOnePickSecretToken=function(){return Gh(this,12)};g.getCommentNumberLimit=function(){return Zi(this,8)};g.getCreateComponentRedirectDelay=function(){return zl(this,9)};g.getInternalBaseUrl=function(){return Gh(this,24)};
g.getExternalBaseUrl=function(){return Gh(this,25)};var zk=function(a){this.internalArray_=m(a)};Y(zk,V);g=zk.prototype;g.getEmail=function(){return Gh(this,1)};g.setEmail=function(a){return gk(this,1,a)};g.hasEmail=function(){return Hj(this,1)};g.getSessionIdentifier=function(){return Gh(this,3)};g.getUserTypeLabel=function(){return Gh(this,5)};var Gk=function(a){this.internalArray_=m(a,0,Gk.messageId)};Y(Gk,V);Gk.prototype.getId=function(){return Gh(this,1)};Gk.prototype.setId=function(a){return gk(this,1,a)};Gk.messageId="b.TimeZoneData";var Hk=function(a){this.internalArray_=m(a,0,Hk.messageId)};Y(Hk,V);g=Hk.prototype;g.getMessage=function(){return Gh(this,1)};g.setMessage=function(a){return gk(this,1,a)};g.getMessageId=function(){return Gh(this,2)};g.getTagsList=function(a){return Vi(this,4,Wi(a))};g.getTags=function(a){return Jv(this,4,a)};Hk.messageId="b.Announcement";var yk=function(a){this.internalArray_=m(a)};Y(yk,V);yk.prototype.getAnnouncement=function(){return W(this,Hk,2)};var Bsa=function(a){this.internalArray_=m(a)};Y(Bsa,V);g=Bsa.prototype;g.getUser=function(){return W(this,zk,1)};g.setUser=function(a){return X(this,zk,1,a)};g.hasUser=function(){return Oj(this,zk,1)};g.getConfig=function(){return W(this,xk,2)};g.setConfig=function(a){X(this,xk,2,a)};g.getXsrfToken=function(){return Gh(this,3)};g.getCspNonce=function(){return Gh(this,8)};g.getFrontendAccessMode=function(){return Gh(this,4)};g.getMustAcknowledgeTerms=function(){return Fj(this,5)};
g.getShowNewFeaturesDialog=function(){return Fj(this,6)};g.getUserPreferences=function(){return W(this,ck,7)};g.getAppBaseHref=function(){return Gh(this,10)};g.getTracker=function(){return W(this,Ik,11)};g.getPassiveLoginIframeUrl=function(){return W(this,Usa,12)};var Csa=window,wk;var Esa=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var c8b={clear:function(){},getItem:function(){return null},removeItem:function(){},setItem:function(){},length:0,key:function(){return null}},Ck=c8b;try{Ck=window.localStorage||c8b}catch(a){}
var d8b=function(a){return function(){var b=Ck.getItem(a);if(b!=null)return b=Number(b),isNaN(b)?void 0:b}},Lsa=function(a){return function(){var b=Ck.getItem(a);if(b!=null)return String(b)}},e8b=function(a){return function(b){b==null?Ck.removeItem(a):Ck.setItem(a,String(b))}},f8b=function(a){return function(b){b==null?Ck.removeItem(a):Ck.setItem(a,b)}},g8b=function(a){return function(){var b=Dk(a)();Ek(a)(!b);return!b}},Msa=function(a){return function(){var b=Ck.getItem(a);if(b!=null)try{return JSON.parse(b)}catch(c){console.warn("JSON.parse("+
a+")"),console.warn(c)}}},Fk=function(a){return function(b){b==null?Ck.removeItem(a):Ck.setItem(a,JSON.stringify(b))}};var Tsa=Bk(function(){var a=Osa(),b,c=(b=Dsa().getConfig())==null?void 0:sc(b,4,Sb);if(a&&c){b=k(a.overrides);for(var d=b.next();!d.done;d=b.next())d=d.value,c.set(d.flagName,d.value);console.warn("Active flag overrides:");console.table(a.overrides);Ksa()}});var Ssa;var Xsa=new RegExp(/^(?:https?:\/\/)?([\w-]+)-review\./.source+/(?:googlesource|git\.corp\.google)\.com/.source+/\/c\/([\w-\/]+)\/\+\/(\d{1,20})/.source+/(?:[^\d].*)?$/.source);var dta=new Set(["blockedById","blockingId","duplicateId","parentIssueIds","childIssueIds"]);var qta=RegExp("^[^\\.\\s]{2}\\.{3}@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$","i"),pta=RegExp("^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$","i"),uta=["@twosync.google.com","@twosync-src.google.com","@twosync-loas.google.com"];var Kta=new WeakMap;var cua=Jk().user.email,mua=new WeakMap,oua=new WeakMap;var KB=function(a){a=a===void 0?[]:a;this.internalValue$=new bo(new Set);this.value$=Pu(this.internalValue$).pipe(B(function(b){return new Set(b)}),Ef(yi),Kf({refCount:!0,bufferSize:1}));this.reset(a)};g=KB.prototype;g.reset=function(a){this.value.clear();a=k(a);for(var b=a.next();!b.done;b=a.next())this.value.add(b.value);this.internalValue$.next(this.value)};
g.add=function(){for(var a=k(zd.apply(0,arguments)),b=a.next();!b.done;b=a.next())this.value.add(b.value);this.internalValue$.next(this.value);return this};g.clear=function(){this.value.clear();this.internalValue$.next(this.value)};g.delete=function(a){a=this.value.delete(a);this.internalValue$.next(this.value);return a};g.has=function(a){return this.value.has(a)};var Iq=function(a,b){return a.internalValue$.pipe(B(function(c){return c.has(b)}),Ef())};KB.prototype[Symbol.iterator]=function(){return this.value.values()};
KB.prototype.toString=function(){return"[ReactiveSet](["+[].concat(w(this.value.values())).join(", ")+"])"};KB.prototype.indexOf=function(a){return[].concat(w(this.value.values())).indexOf(a)};
ea.Object.defineProperties(KB.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.internalValue$.value}},size:{configurable:!0,enumerable:!0,get:function(){return this.value.size}},size$:{configurable:!0,enumerable:!0,get:function(){return this.internalValue$.pipe(B(function(a){return a.size}),Ef())}}});var h8b=new KB,i8b=h8b.value$.pipe(Bf(),Af(0,Zo));var j8b={ACTIVE:0,DISMISSED:1,SNOOZED:2,0:"ACTIVE",1:"DISMISSED",2:"SNOOZED"};var k8b=Jk().user.email,l8b={key:"USER_RESPONDED",displayAs:"User responded",emoji:"\u21a9\ufe0f",tooltip:"Reporter responded with more info",check:tua,chipColor:"blue"},LB={key:"OUT_OF_SLO",displayAs:"Out of SLO",emoji:"\u2757\ufe0f",tooltip:"Out of SLO",check:function(a){return Hta(a.snapshot[0].sloEndTime)&&(!a.snapshot[0].sloStartTime||Hta(a.snapshot[0].sloStartTime))},chipColor:"red"},m8b={key:"INACTIVE_1Y",displayAs:"\ud83d\udc0c Inactive",emoji:"\ud83d\udc0c",check:function(a){return Date.now()-
a.aggregatedData.modifiedTimeMicros/1E3>315576E5},tooltip:"Issues that have not been modified in 1 year"},n8b={key:"PAST_DEADLINE",displayAs:"Past deadline",emoji:"\u231b\ufe0f",check:function(a){var b,c;a=Fta((b=a.snapshot[0].customField)==null?void 0:(c=b.find(function(d){return P7b.has(d.customFieldId)}))==null?void 0:c.dateValue);return!!a&&a<new Date},tooltip:"End date custom field is in the past.",chipColor:"red"},o8b={key:"REOPENED",displayAs:"Reopened",emoji:"\u26a0\ufe0f",check:function(a){var b,
c;return al(a)&&(((b=a.experimentalFields)==null?void 0:b.triage.phase)==="FIXED"||((c=a.experimentalFields)==null?void 0:c.triage.phase)==="WONT_FIX")},tooltip:"Issues that were triaged as closed by the team, but someone else reopened.",chipColor:"blue"},p8b={key:"MY_ISSUES",displayAs:"My issues",emoji:"\ud83c\udf1f",check:function(a){var b;return al(a)&&(((b=a.experimentalFields)==null?void 0:b.triage.triagerEmail)===k8b||Nta(a)===k8b)},tooltip:"Issues for which you are triager, or assigned to you."},
q8b={key:"TRENDING",displayAs:"Trending",emoji:"\ud83d\udd25",check:function(a){return!!h8b.has(a.issueId)},queryFragment:'(no server query available for "is trending")',tooltip:"Unusually high view activity",chipColor:"purple"},r8b=new Map([["NEW",[p8b]],["CONFIRMED",[q8b,m8b]],["IN_PROGRESS",[LB,n8b]],["FIXED",[]],["WONT_FIX",[]]]),tib=new Map([["NEW",[l8b,LB]],["CONFIRMED",[q8b,LB,m8b]],["IN_PROGRESS",[LB,n8b]],["FIXED",[o8b]],["WONT_FIX",[o8b]]]),s8b={MY_ISSUES:p8b,INACTIVE_1Y:m8b,INACTIVE_2W:{key:"INACTIVE_2W",
displayAs:"Inactive",emoji:"\ud83d\udc0c",check:function(a){return Date.now()-a.aggregatedData.modifiedTimeMicros/1E3>12096E5},tooltip:"Not modified in 2 weeks"},NEEDS_MORE_INFO:{key:"NEEDS_MORE_INFO",displayAs:"Needs more info",emoji:"\u2139\ufe0f",check:function(a){var b;return!((b=a.experimentalFields)==null||!b.triage.needsInfo)&&!tua(a)},tooltip:"Waiting for more information from the reporter.",chipColor:"green"},OUT_OF_SLO:LB,PAST_DEADLINE:n8b,REOPENED:o8b,TRENDING:q8b,USER_RESPONDED:l8b};var an=function(a){this.internalArray_=m(a)};Y(an,V);g=an.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getIssueAccessLimit=function(){return W(this,ml,2)};g.setIssueAccessLimit=function(a){X(this,ml,2,a)};g.setAddedCollaboratorsList=function(a){$l(this,3,a)};g.setRemovedCollaboratorsList=function(a){$l(this,4,a)};var jl=function(a){this.internalArray_=m(a)};Y(jl,V);g=jl.prototype;g.getUser=function(){return Al(this,bj,1,gl)};g.setUser=function(a){return Fl(this,1,gl,a)};g.hasUser=function(){return Nl(this,bj,1,gl)};g.getGroup=function(){return Al(this,bj,2,gl)};g.setGroup=function(a){Fl(this,2,gl,a)};var gl=[1,2,3];var MB=function(a){this.internalArray_=m(a)};Y(MB,V);g=MB.prototype;g.getAppendersList=function(){return nj(this,jl,6,Wi())};g.setAppendersList=function(a){return $l(this,6,a)};g.getReadersList=function(){return nj(this,jl,8,Wi())};g.setReadersList=function(a){return $l(this,8,a)};g.setImplicitAccess=function(a){return ej(this,10,a)};var NB=function(a){this.internalArray_=m(a)};Y(NB,V);g=NB.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getIssueAccessLimit=function(){return W(this,ml,2)};g.setIssueAccessLimit=function(a){X(this,ml,2,a)};g.setAddedCollaboratorsList=function(a){$l(this,3,a)};g.setRemovedCollaboratorsList=function(a){$l(this,4,a)};var ol=function(a){this.internalArray_=m(a)};Y(ol,V);ol.prototype.getResourcePath=function(){return Gh(this,2)};ol.prototype.setResourcePath=function(a){return cj(this,2,a)};ol.prototype.getRestrictionSeverity=function(){return Kj(this,3,0)};var ql=function(a){this.internalArray_=m(a)};Y(ql,V);var Kl=function(a){this.internalArray_=m(a)};Y(Kl,V);Kl.prototype.getLabel=function(){return Gh(this,1)};Kl.prototype.setLabel=function(a){return cj(this,1,a)};Kl.prototype.getValue=function(){return zl(this,2)};Kl.prototype.setValue=function(a){return Wl(this,2,a)};var Jl=function(a){this.internalArray_=m(a)};Y(Jl,V);var zva=function(a,b){return $l(a,1,b)};Jl.prototype.setOptions=function(a){yv(this,1,Kl,a)};var xva=function(a){this.internalArray_=m(a)};Y(xva,V);var wva=function(a,b){return Wl(a,1,b)};var Il=function(a){this.internalArray_=m(a)};Y(Il,V);g=Il.prototype;g.getInherit=function(){return Fj(this,1)};g.setInherit=function(a){return Hl(this,1,a)};g.getId_asLegacyNumberOrString=function(){return Vj(this,2)};g.getId_asString=function(){return Oo(this,2)};g.setId=function(a){return pl(this,2,a)};g.getName=function(){return Gh(this,3)};g.setName=function(a){return cj(this,3,a)};var vva=function(a,b){Fl(a,4,Jm,b)},yva=function(a,b){Fl(a,5,Jm,b)};
Il.prototype.getCustomFieldId_asLegacyNumberOrString=function(){return Vj(this,100)};Il.prototype.getCustomFieldId_asString=function(){return Oo(this,100)};Il.prototype.setCustomFieldId=function(a){return pl(this,100,a)};var Jm=[4,5];var bm=function(a){this.internalArray_=m(a)};Y(bm,V);g=bm.prototype;g.getInherit=function(){return Fj(this,1)};g.setInherit=function(a){return Hl(this,1,a)};g.getSource=function(){return Kj(this,2,0)};g.setSource=function(a){return ej(this,2,a)};g.getId_asLegacyNumberOrString=function(){return Vj(this,3)};g.getId_asString=function(){return Oo(this,3)};g.setId=function(a){return pl(this,3,a)};g.getSourceTeamId_asLegacyNumberOrString=function(){return Vj(this,5)};
g.setSourceTeamId=function(a){return pl(this,5,a)};g.getComment=function(){return Gh(this,4)};g.setComment=function(a){return cj(this,4,a)};var dm=function(a){this.internalArray_=m(a)};Y(dm,V);g=dm.prototype;g.getMetric=function(){return Kj(this,1,0)};g.getMatcher=function(){return Gh(this,2)};g.setMatcher=function(a){return cj(this,2,a)};g.getDayType=function(){return Kj(this,4,0)};g.setDayType=function(a){return ej(this,4,a)};g.getObjective=function(){return W(this,yj,3)};g.setObjective=function(a){return X(this,yj,3,a)};g.getBusinessDays=function(){return Zi(this,5)};g.setBusinessDays=function(a){return uj(this,5,a)};var Vo=function(a){this.internalArray_=m(a)};Y(Vo,V);g=Vo.prototype;g.getSloId_asLegacyNumberOrString=function(){return Vj(this,1)};g.setSloId=function(a){return pl(this,1,a)};g.setParentId=function(a){return pl(this,2,a)};g.getName=function(){return Gh(this,3)};g.setName=function(a){return cj(this,3,a)};g.getDescription=function(){return Gh(this,4)};g.setDescription=function(a){return cj(this,4,a)};g.addRules=function(a,b){return Bv(this,5,dm,a,b)};g.removeRules=function(a){return Cv(this,5,dm,a)};
g.getIsArchived=function(){return Fj(this,7)};g.setIsArchived=function(a){return Hl(this,7,a)};var pn=function(a){this.internalArray_=m(a)};Y(pn,V);pn.prototype.getTemplateId_asLegacyNumberOrString=function(){return Vj(this,2)};pn.prototype.setTemplateId=function(a){return pl(this,2,a)};var on=function(a){this.internalArray_=m(a)};Y(on,V);g=on.prototype;g.getIssue=function(){return W(this,gn,1)};g.setIssue=function(a){return X(this,gn,1,a)};g.setSignificanceOverride=function(a){return ej(this,4,a)};g.getContentJudgement=function(){return W(this,ol,5)};g.setContentJudgement=function(a){return X(this,ol,5,a)};var OB=function(){},PB=function(){};var QB=function(a){this.internalArray_=m(a)};Y(QB,V);g=QB.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.setPageSize=function(a){return uj(this,2,a)};g.setPageToken=function(a){return cj(this,3,a)};var RB=function(a){this.internalArray_=m(a,0,RB.messageId)};Y(RB,V);RB.prototype.getIt=function(){return W(this,QB,4)};RB.prototype.setIt=function(a){return X(this,QB,4,a)};RB.messageId="b.AggregateIssueDescendantsRequest";var t8b=function(a){this.internalArray_=m(a)};Y(t8b,V);g=t8b.prototype;g.getPriority=function(){return Kj(this,1,0)};g.setPriority=function(a){return ej(this,1,a)};g.getIssueIdsList_asLegacyNumberOrString=function(){return lj(this,2,Wi())};g.getIssueIdsList_asString=function(){return ak(this,2)};g.setIssueIdsList=function(a){return pk(this,2,a)};var u8b=function(a){this.internalArray_=m(a)};Y(u8b,V);g=u8b.prototype;g.getStatus=function(){return Kj(this,1,0)};g.setStatus=function(a){return ej(this,1,a)};g.getIssueIdsList_asLegacyNumberOrString=function(){return lj(this,2,Wi())};g.getIssueIdsList_asString=function(){return ak(this,2)};g.setIssueIdsList=function(a){return pk(this,2,a)};var v8b=function(a){this.internalArray_=m(a)};Y(v8b,V);g=v8b.prototype;g.getIssueIdsList_asLegacyNumberOrString=function(){return lj(this,3,Wi())};g.getIssueIdsList_asString=function(){return ak(this,3)};g.setIssueIdsList=function(a){return pk(this,3,a)};g.getCollaboratorsList=function(){return nj(this,bj,8,Wi())};g.setCollaboratorsList=function(a){$l(this,8,a)};g.addAllCollaborators=function(a){Dv(this,8,bj,a)};g.setCollaborators=function(a,b){return yv(this,8,bj,a,b)};
g.getCodeChangesList=function(a){return Vi(this,9,Wi(a))};g.setCodeChangesList=function(a){dj(this,9,a)};g.addAllCodeChanges=function(a){Xm(this,9,a)};g.setCodeChanges=function(a,b){return Nv(this,9,a,b)};g.getGerritChangesList=function(){return nj(this,km,13,Wi())};g.setGerritChangesList=function(a){$l(this,13,a)};g.addAllGerritChanges=function(a){Dv(this,13,km,a)};g.getBlockedByIssueIdsList_asLegacyNumberOrString=function(){return lj(this,10,Wi())};
g.setBlockedByIssueIdsList=function(a){pk(this,10,a)};g.addAllBlockedByIssueIds=function(a){Mv(this,10,a)};g.getBlockingIssueIdsList_asLegacyNumberOrString=function(){return lj(this,11,Wi())};g.setBlockingIssueIdsList=function(a){pk(this,11,a)};g.addAllBlockingIssueIds=function(a){Mv(this,11,a)};var w8b=function(a){this.internalArray_=m(a)};Y(w8b,V);w8b.prototype.getNextPageToken=function(){return Gh(this,4)};var SB=function(a){this.internalArray_=m(a,0,SB.messageId)};Y(SB,V);SB.prototype.getIt=function(){return W(this,w8b,3)};SB.prototype.setIt=function(a){return X(this,w8b,3,a)};SB.messageId="b.AggregateIssueDescendantsResponse";var TB=function(){this.executor=r(OB)};
TB.prototype.get=function(a){var b=(new RB).setIt((new QB).setIssueId(a));return this.executor.post({url:"action/issues/aggregateIssueDescendants",body:b,responseConstructor:SB}).pipe(B(function(c){var d=Zi(c.getIt(),2),e=Zi(c.getIt(),3),f=W(c.getIt(),v8b,1);if(f){var h,l,q,v,y,E,H,O,N,T;c={_rootId:a,issueIds:f.getIssueIdsList_asLegacyNumberOrString().map(ij).filter(kj),aggregatedStatus:(y=nj(f,u8b,4,Wi()).map(Cwa).filter(kj))!=null?y:[],aggregatedPriority:(E=nj(f,t8b,12,Wi()).map(Dwa).filter(kj))!=
null?E:[],reporters:(H=(h=nj(f,bj,5,Wi()))==null?void 0:h.map(gj))!=null?H:[],assignees:(O=(l=nj(f,bj,6,Wi()))==null?void 0:l.map(gj))!=null?O:[],verifiers:(N=(q=nj(f,bj,7,Wi()))==null?void 0:q.map(gj))!=null?N:[],collaborators:(T=(v=f.getCollaboratorsList())==null?void 0:v.map(gj))!=null?T:[],changelists:f.getCodeChangesList(Xi),gerritChanges:f.getGerritChangesList().map(jwa),blockedByIssueIds:f.getBlockedByIssueIdsList_asLegacyNumberOrString().map(ij).filter(kj),blockingIssueIds:f.getBlockingIssueIdsList_asLegacyNumberOrString().map(ij).filter(kj),
descendantCount:d,openDescendantCount:e}}else c=void 0;return c}))};TB.\u0275fac=function(a){return new (a||TB)};TB.\u0275prov=n({token:TB,factory:TB.\u0275fac,providedIn:"root"});var x8b=function(a){this.isEqual=a===void 0?function(){return!1}:a;this.values$=new If(1);this.distinctValues$=new If(1);this.lastValue=void 0;this.empty=!0};x8b.prototype.next=function(a){this.values$.next(a);!this.empty&&this.isEqual(a,this.lastValue)||this.distinctValues$.next(a);this.lastValue=a;this.empty=!1};var UB=function(a,b){this.data=a;this.cfg=b;this.lastValidated=Date.now()};UB.prototype.isFresh=function(){return Date.now()-this.lastValidated<this.cfg.freshUntil};UB.prototype.isAncient=function(){return Date.now()-this.lastValidated>this.cfg.ancientAfter};UB.prototype.getStatus=function(){return this.isFresh()?"fresh":this.isAncient()?"ancient":"uncertain"};UB.prototype.toString=function(){var a=String(this.data);return Math.ceil((Date.now()-this.lastValidated)/1E3)+"s old -- "+a};
var y8b=function(a){this.cfg=a;this.cache=new Map},z8b=function(a,b){a=VB(a,b);return a==null?Infinity:a},VB=function(a,b){var c;return(c=a.get(b,!0))==null?void 0:Date.now()-c.lastValidated};y8b.prototype.isFresh=function(a){return z8b(this,a)<this.cfg.freshUntil};var A8b=function(a,b){return z8b(a,b)<=a.cfg.ancientAfter};g=y8b.prototype;g.isAncient=function(){var a=VB(this);return a?a>this.cfg.ancientAfter:!1};g.getStatus=function(a){a=this.get(a,!0);if(a!=null)return a.getStatus()};
g.has=function(a,b){return!!this.get(a,b===void 0?!1:b)};g.get=function(a,b){b=b===void 0?!1:b;var c=this.cache.get(a);if(c!=null)return Date.now()-c.lastValidated>this.cfg.ancientAfter&&!b&&this.cache.delete(a),this.cache.get(a)};g.getData=function(a,b){var c;return(c=this.get(a,b===void 0?!1:b))==null?void 0:c.data};g.set=function(a,b){this.cache.set(a,new UB(b,this.cfg))};g.touch=function(a){var b=this.cache.get(a);b&&this.cache.set(a,new UB(b.data,this.cfg))};
g.validate=function(a,b,c,d){d=d===void 0?!1:d;if(!this.has(a,d))return!1;a=this.getData(a,d);return c(a,b)};g.debug=function(){return Object.assign({},this.cfg,{count:this.cache.size,keys:this.cache.keys()})};g.toString=function(){return Array.from(this.cache,function(a){a=k(a);var b=a.next().value;a=a.next().value;b=String(b).slice(-16);var c=a.toString();return a.getStatus()+"  "+b+": "+c}).join("\n")};var WB={trustMemory:!0},B8b=function(){},ara=["startIndex","totalSize","curPageToken","nextPageToken","prevPageToken"],C8b=function(a){this.ids=[];Object.assign(this,a)};Y(C8b,B8b);C8b.prototype.toString=function(){return JSON.stringify(Object.assign({},this,{ids:"["+this.ids.join(",")+"]"}))};
var D8b={freshUntil:1E4,ancientAfter:792E5},YB=function(a){var b=this;a=a===void 0?{}:a;this.error$=new Jf;this.watchOneError=function(c){if(c==null)return Fe();typeof c==="number"&&(c=String(c));return b.error$.pipe(Ye(function(d){return d.idOrKey===c}))};this.memoryWasSet$=new Jf;this.collectiveMemoryWasSet$=new Jf;this.idKey="id";this.idForRecord=function(c){var d=c[b.idKey];if(typeof d==="string")return d;if(typeof d==="number")return String(d);c=JSON.stringify(c).slice(0,128);if(d==null)throw Error("Wb`"+
b.idKey+"`"+c);throw Error("Xb`"+c);};this.valsById=new Map;this.collectionsById=new Map;this.setsByLabel=new Map;this.inFlightGets$=new bo(Object.freeze({}));this.inFlightSaves$=new bo(Object.freeze({}));this.getting$=this.inFlightGets$.pipe(B(Fwa));this.saving$=this.inFlightSaves$.pipe(B(Fwa));this.thinking$=Me(this.getting$,this.saving$).pipe(B(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c||d}),Ef());this.gotOne=function(c){return function(d,e){e=e===void 0?{}:e;e=e.doNotTrack?
Ewa:XB({label:c,value:VB(b.memory,c)},b.recordType);b.memory.validate(c,d,b.isEqual)?(e("one-isSame"),b.memory.touch(c)):(e("one-isChanged"),b.memoryWasSet$.next(),b.memory.set(c,d));(e=b.valsById.get(c))?e.next(d):E8b&&qj(b.recordType+"::gotOne("+c+") !isEqual. Nobody's listening")}};this.gotSet=function(c){return function(d){for(var e=k(d),f=e.next();!f.done;f=e.next()){f=f.value;var h=b.idForRecord(f);b.gotOne(h)(f,{doNotTrack:!0})}(e=F8b(b,c))?e.next(d):sj("gotSet("+c+"), but no channel is set up")}};
this.gotAll=function(c){return function(d){for(var e=XB({label:c,value:VB(b.collectiveMemory,c)},b.recordType),f=k(d.results),h=f.next();!h.done;h=f.next()){h=h.value;var l=b.idForRecord(h);b.gotOne(l)(h,{doNotTrack:!0})}f=b.normalize(d);b.collectiveMemory.validate(c,f,$qa);b.collectiveMemory.set(c,f);b.collectiveMemoryWasSet$.next();e("all-isChanged");(e=b.collectionsById.get(c))?(d=G8b(b,f,d.results),e.next(d)):Jra(c+" gotAll but don't have a behaviorSubject set up to broadcast on. Strange...",
d)}};this.dereferenceOne=function(c){return function(d){var e=c.find(function(f){return b.idForRecord(f)===d});e==null&&sj("Fridge<"+b.recordType+"> Couldn't find a record for id "+d+". (among "+c.length+" records)");return e}};this.debug=function(){return{recordType:b.recordType,isThinking:b.isThinking(),inFlightGets:Object.entries(b.inFlightGets()).map(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c+": "+d}).join(", "),inFlightSaves:Object.entries(b.inFlightSaves()).map(function(c){var d=
k(c);c=d.next().value;d=d.next().value;return c+": "+d}).join(", "),records:b.memory.debug(),lists:b.collectiveMemory.debug()}};this.implementsFn=function(){return function(){try{b.doSave()}catch(d){var c=d;if((c.message===void 0?"":c.message).match("Default no-op for Fridge"))return!1}return!0}};this.canSave=this.implementsFn();this.isThinking=function(c){return b.isSaving(c)||b.isGetting(c)};this.isSaving=function(c){return c==null?Fwa(b.inFlightSaves()):!!b.inFlightSaves()[c]};this.isSaving$=function(c){return b.inFlightSaves$.pipe(B(function(d){return!!d[c]}),
Ef())};this.isGetting=function(c){return c==null?Fwa(b.inFlightGets()):!!b.inFlightGets()[c]};this.save=function(c){var d=b.idForRecord(c);if(d==null)throw Error("Yb");c=b.doSave(c).pipe(Df(0,Zo),lka(),Hha());b.setIsSaving(d);b.subscriptions.add(c.subscribe(b.gotOne(d),b.gotErr(d,b.inFlightSaves$),H8b(d,b.inFlightSaves$)));return c};this.setIsSaving=function(c){var d={};Gwa(b.inFlightSaves$,(d[c]=!0,d))};this.clearIsSaving=function(c){Hwa(b.inFlightSaves$,c)};this.setIsGetting=function(c){var d={};
Gwa(b.inFlightGets$,(d[c]=!0,d))};this.clearIsGetting=function(c){Hwa(b.inFlightGets$,c)};this.peekAllRecords=function(){return Array.from(b.memory.cache.entries()).map(function(c){c=k(c);c.next();return c.next().value.data}).filter(kj)};this.poke.bind(this);this.subscriptions=new me;this.memory=new y8b(Object.assign({},D8b,a));this.collectiveMemory=new y8b(Object.assign({},D8b,a))};g=YB.prototype;g.fetchOne=function(){throw Error("Zb");};g.fetchAll=function(){throw Error("$b");};
g.fetchSet=function(){throw Error("ac");};g.doSave=function(){throw Error("bc");};g.copy=function(){throw Error("cc");};g.isEqual=function(a,b){return $qa(a,b,100)};g.inFlightGets=function(){return this.inFlightGets$.getValue()};g.inFlightSaves=function(){return this.inFlightSaves$.getValue()};
var J8b=function(a,b,c){c=c===void 0?{}:c;var d=c.trustMemory;var e=c.trustUncertainMemory;c=XB({label:b,value:VB(a.memory,b)},a.recordType);d=d&&a.memory.isFresh(b);e=e&&A8b(a.memory,b);if(d||e)return c("one-trustMemory"),c=a.memory.getData(b),Nwa(c);if(a.inFlightGets()[b])return c("one-inFlight"),c=I8b(a,b),Mwa(c.values$).then(Nwa);c("one-fetch");try{var f=a.fetchOne(b).pipe(Cf(),Df(0,Zo))}catch(h){f=Ge(function(){return h})}a.setIsGetting(b);return new Promise(function(h,l){a.subscriptions.add(f.subscribe(function(q){a.gotOne(b)(q);
h(q)},function(q){a.gotErr(b,a.inFlightGets$)(q);l(q)},H8b(b,a.inFlightGets$)))})},M8b=function(a,b,c){c=(c===void 0?{}:c).trustMemory;var d="["+[].concat(w(b)).sort().join("-")+"]",e=XB({label:d},a.recordType);if(c&&K8b(a,b))L8b(a,b),e("set-trustMemory");else if(a.inFlightGets()[d])e("set-inFlight");else if(b.every(function(l){return a.inFlightGets()[l]}))Promise.all(b.map(function(l){l=I8b(a,l);return Mwa(l.values$)})).then(function(l){return l.filter(kj)}).then(a.gotSet(b));else{e("set-fetch");
try{var f=a.fetchSet(b).pipe(Cf(),Df(0,Zo))}catch(l){f=Ge(function(){return l})}c={};c=(c[d]=!0,c);e=k(b);for(var h=e.next();!h.done;h=e.next())c[h.value]=!0;Gwa(a.inFlightGets$,c);a.subscriptions.add(f.subscribe(a.gotSet(b),function(l){Iwa(a.inFlightGets$,b);a.gotErr(d,a.inFlightGets$)(l)},function(){Iwa(a.inFlightGets$,[d].concat(w(b)))}))}},K8b=function(a,b){return b.every(function(c){return a.memory.isFresh(c)})},L8b=function(a,b){var c=N8b(a,b).filter(kj);F8b(a,b).next(c)};
YB.prototype.getAll=function(a,b){b=(b===void 0?{}:b).trustMemory;var c=Jwa(a),d=XB({label:c,value:VB(this.collectiveMemory,c)},this.recordType);if(b&&this.collectiveMemory.isFresh(c)){d("all-trustMemory");a=this.collectiveMemory.getData(c);var e=O8b(this,a);e.results.length!==a.ids.length&&sj("Fridge<"+this.recordType+"> getAll thinks the collectiveMemory cache is fresh, but only found "+e.results.length+"/"+a.ids.length+" things in the normalized record cache");return Promise.resolve(e)}if(this.inFlightGets()[c])return d("all-inFlight"),
a=P8b(this,a),Mwa(a.values$);d("all-fetch");try{e=this.fetchAll(a).pipe(Cf(),Df(0,Zo))}catch(f){e=Ge(function(){return f})}this.setIsGetting(c);this.subscriptions.add(e.subscribe(this.gotAll(c),this.gotErr(c,this.inFlightGets$),H8b(c,this.inFlightGets$)));a=P8b(this,a);return Mwa(a.values$)};YB.prototype.gotErr=function(a,b){var c=this;return function(d){d=Object.assign({},{idOrKey:a},d);Kra(a+" gotErr()",d);Hwa(b,a);JSON.stringify(d,null,2);c.error$.next(d)}};
var H8b=function(a,b){return function(){Hwa(b,a)}};YB.prototype.normalize=function(a){var b=a.results.map(this.idForRecord);return new C8b(Object.assign({},Lwa(a),{ids:b}))};
var G8b=function(a,b,c){a=b.ids.map(a.dereferenceOne(c)).filter(Boolean);return Object.assign({},Lwa(b),{results:a})},O8b=function(a,b){var c=N8b(a,b.ids).filter(kj);return G8b(a,b,c)},N8b=function(a,b){return b.map(function(c){return a.memory.getData(c)})},P8b=function(a,b){b=Jwa(b);return Kwa(a.collectionsById,b,new x8b)},F8b=function(a,b){b="["+[].concat(w(b)).sort().join("-")+"]";return Kwa(a.setsByLabel,b,new x8b)},I8b=function(a,b){var c=new x8b(a.isEqual),d=a.memory.getData(b);d!=null&&c.next(d);
return Kwa(a.valsById,b,c)};g=YB.prototype;g.watch=function(a,b){b=b===void 0?WB:b;typeof b==="number"&&(b=WB);if(a==null)return Fe();typeof a==="number"&&(a=String(a));var c=I8b(this,a);J8b(this,a,b).catch(function(){});return Pu(c.distinctValues$)};g.watchSet=function(a,b){b=b===void 0?WB:b;typeof b==="number"&&(b=WB);if(a.length===0)return Fe([]);a=a.map(function(d){return typeof d==="number"?String(d):d});var c=F8b(this,a);M8b(this,a,b);return Pu(c.values$)};
g.watchMany=function(a,b){b=b===void 0?WB:b;a=Object.assign({},this.defaultQuery,a);var c=P8b(this,a);this.getAll(a,b);return Pu(c.values$)};g.peek=function(a){if(a!=null)return this.memory.getData(String(a),!0)};g.poke=function(a,b){return a==null?Owa():J8b(this,String(a),b)};var Q8b=function(a,b){return b==null?Promise.resolve({results:[]}):a.getAll(Object.assign({},a.defaultQuery,b),void 0)},R8b=function(a,b){return["string","number"].includes(typeof b)?a.memory.getStatus(String(b)):a.collectiveMemory.getStatus(Jwa(b))};
YB.prototype.announce=function(a,b){b=b===void 0?{}:b;if(a!=null){var c=this.idForRecord(a);if(c==null)throw Error("dc");this.gotOne(c)(a,Object.assign({},{doNotTrack:!0},b))}};YB.prototype.invalidate=function(a){a==null?(this.memory.cache.clear(),this.collectiveMemory.cache.clear()):["string","number"].includes(typeof a)?this.memory.cache.delete(String(a)):this.collectiveMemory.cache.delete(Jwa(a))};
YB.prototype.manualUpdate=function(a,b,c){c=c===void 0?{}:c;if(c.evenWhenInFlight!==void 0&&c.evenWhenInFlight||!this.inFlightGets()[a])if(a=this.copy(this.memory.getData(String(a))))b(a),this.announce(a)};YB.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()};
var XB=function(a,b){for(var c=k(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,a[d]==null&&delete a[d];return function(e){var f=a;f=f===void 0?{}:f;E8b&&qj("Fridge<"+b+">::trackEvent('"+e+"')",f)}},ZB=function(){YB.apply(this,arguments);this.defaultQuery={}};Y(ZB,YB);var E8b=!1;var $B=function(){ZB.call(this);this.api=r(TB);this.recordType="AggregatedIssueMetadata";this.idKey="_rootId";this.isEqual=yi};Y($B,ZB);$B.prototype.fetchOne=function(a){return this.api.get(a)};$B.\u0275fac=function(a){return new (a||$B)};$B.\u0275prov=n({token:$B,factory:$B.\u0275fac,providedIn:"root"});var aC={},Pwa=(aC[1]="issue_id",aC[3]="type",aC[4]="status",aC[5]="priority",aC[6]="severity",aC[18]="title",aC[15]="modified_time",aC[14]="created_time",aC[17]="verified_time",aC[16]="resolved_time",aC[38]="deletion_time",aC[13]="blocked_by_issue_ids",aC[12]="blocking_issue_ids",aC[26]="vote_count",aC[28]="cc_count",aC[44]="collaborators_count",aC[2]="component_path",aC[27]="duplicate_count",aC[10]="ccs",aC[43]="collaborators",aC[11]="code_changes",aC[32]="postmortems",aC[8]="assignee",aC[9]="verifier",
aC[7]="reporter",aC[19]="found_in_versions",aC[20]="targeted_to_versions",aC[21]="verified_in_versions",aC[22]="in_prod",aC[30]="last_modifier",aC[25]="position",aC[24]="custom_field",aC[29]="modified_by",aC[31]="archived",aC[23]="canonical_issue_id",aC[33]="min_slo",aC[35]="assignment_slo",aC[36]="response_slo",aC[37]="closure_slo",aC[39]="team",aC[40]="estimate",aC[41]="estimate_total_open",aC[42]="estimate_total_complete",aC[45]="access_level",aC[46]="descendant_count",aC[47]="open_descendant_count",
aC[48]="one_day_view_count",aC[49]="seven_day_view_count",aC[50]="thirty_day_view_count",aC),bC={},Rwa=(bC.issue_id=1,bC.type=3,bC.status=4,bC.priority=5,bC.severity=6,bC.title=18,bC.modified_time=15,bC.created_time=14,bC.verified_time=17,bC.resolved_time=16,bC.deletion_time=38,bC.blocked_by_issue_ids=13,bC.blocking_issue_ids=12,bC.vote_count=26,bC.cc_count=28,bC.collaborators_count=44,bC.component_path=2,bC.duplicate_count=27,bC.ccs=10,bC.collaborators=43,bC.code_changes=11,bC.postmortems=32,bC.assignee=
8,bC.verifier=9,bC.reporter=7,bC.found_in_versions=19,bC.targeted_to_versions=20,bC.verified_in_versions=21,bC.in_prod=22,bC.last_modifier=30,bC.position=25,bC.custom_field=24,bC.modified_by=29,bC.archived=31,bC.canonical_issue_id=23,bC.min_slo=33,bC.assignment_slo=35,bC.response_slo=36,bC.closure_slo=37,bC.team=39,bC.estimate=40,bC.estimate_total_open=41,bC.estimate_total_complete=42,bC.access_level=45,bC.descendant_count=46,bC.open_descendant_count=47,bC.one_day_view_count=48,bC.seven_day_view_count=
49,bC.thirty_day_view_count=50,bC);var pm=function(a){this.internalArray_=m(a)};Y(pm,V);pm.prototype.getDisplayColumns=function(){return Jv(this,1)};pm.prototype.setDisplayColumns=function(a){Nv(this,1,a)};var om=function(a){this.internalArray_=m(a)};Y(om,V);g=om.prototype;g.getHotlistId_asLegacyNumberOrString=function(){return Vj(this,1)};g.setHotlistId=function(a){return pl(this,1,a)};g.getName=function(){return Gh(this,2)};g.setName=function(a){return cj(this,2,a)};g.getDescription=function(){return Gh(this,3)};g.setDescription=function(a){return cj(this,3,a)};g.getArchived=function(){return Fj(this,4)};g.setArchived=function(a){return Hl(this,4,a)};
g.getDefaultOrderBy=function(){return Gh(this,5)};g.setDefaultOrderBy=function(a){return cj(this,5,a)};g.getDisplayPreferences=function(){return W(this,pm,6)};g.setDisplayPreferences=function(a){return X(this,pm,6,a)};g.getCreatedTime=function(){return W(this,wj,7)};g.setCreatedTime=function(a){return X(this,wj,7,a)};g.getModifiedTime=function(){return W(this,wj,8)};g.setModifiedTime=function(a){return X(this,wj,8,a)};g.getOwnersList=function(){return nj(this,bj,9,Wi())};
g.setOwnersList=function(a){return $l(this,9,a)};g.getEtag=function(){return Yp(this,10)};g.setEtag=function(a){sl(this,10,a)};var rm=function(a){this.internalArray_=m(a)};Y(rm,V);g=rm.prototype;g.getSavedSearchId_asLegacyNumberOrString=function(){return Vj(this,1)};g.setSavedSearchId=function(a){return pl(this,1,a)};g.getName=function(){return Gh(this,2)};g.setName=function(a){return cj(this,2,a)};g.getDescription=function(){return Gh(this,3)};g.setDescription=function(a){return cj(this,3,a)};g.getQuery=function(){return Gh(this,4)};g.setQuery=function(a){return cj(this,4,a)};g.clearQuery=function(){Zp(this,4)};
g.getDefaultOrderBy=function(){return Gh(this,5)};g.setDefaultOrderBy=function(a){return cj(this,5,a)};g.getDisplayPreferences=function(){return W(this,pm,6)};g.setDisplayPreferences=function(a){return X(this,pm,6,a)};g.getOwnersList=function(){return nj(this,bj,7,Wi())};g.setOwnersList=function(a){return $l(this,7,a)};var tm=function(a){this.internalArray_=m(a)};Y(tm,V);g=tm.prototype;g.getHotlistId_asLegacyNumberOrString=function(){return Vj(this,1)};g.setHotlistId=function(a){return pl(this,1,a)};g.getHotlist=function(){return W(this,om,2)};g.setHotlist=function(a){return X(this,om,2,a)};g.hasHotlist=function(){return Oj(this,om,2)};var vm=function(a){this.internalArray_=m(a)};Y(vm,V);g=vm.prototype;g.getSavedSearchId_asLegacyNumberOrString=function(){return Vj(this,1)};g.setSavedSearchId=function(a){return pl(this,1,a)};g.getSavedSearch=function(){return W(this,rm,2)};g.setSavedSearch=function(a){return X(this,rm,2,a)};g.hasSavedSearch=function(){return Oj(this,rm,2)};var wm=function(a){this.internalArray_=m(a)};Y(wm,V);wm.prototype.getBookmarkGroupId_asLegacyNumberOrString=function(){return Vj(this,1)};wm.prototype.setBookmarkGroupId=function(a){return pl(this,1,a)};wm.prototype.getBookmarkGroup=function(){return W(this,xm,2)};wm.prototype.setBookmarkGroup=function(a){return X(this,xm,2,a)};var um=function(a){this.internalArray_=m(a)};Y(um,V);g=um.prototype;g.getHotlist=function(){return Al(this,tm,1,sm)};g.setHotlist=function(a){return Fl(this,1,sm,a)};
g.hasHotlist=function(){return Nl(this,tm,1,sm)};g.getSavedSearch=function(){return Al(this,vm,2,sm)};g.setSavedSearch=function(a){return Fl(this,2,sm,a)};g.hasSavedSearch=function(){return Nl(this,vm,2,sm)};g.getBookmarkGroup=function(){return Al(this,wm,3,sm)};g.setBookmarkGroup=function(a){return Fl(this,3,sm,a)};var xm=function(a){this.internalArray_=m(a)};Y(xm,V);g=xm.prototype;g.getBookmarkGroupId_asLegacyNumberOrString=function(){return Vj(this,1)};
g.setBookmarkGroupId=function(a){return pl(this,1,a)};g.getName=function(){return Gh(this,2)};g.setName=function(a){return cj(this,2,a)};g.getDescription=function(){return Gh(this,3)};g.setDescription=function(a){return cj(this,3,a)};g.getArchived=function(){return Fj(this,4)};g.setArchived=function(a){return Hl(this,4,a)};g.addItems=function(a,b){return Bv(this,5,um,a,b)};g.setItems=function(a){yv(this,5,um,a)};g.removeItems=function(a){return Cv(this,5,um,a)};
g.getOwnersList=function(){return nj(this,bj,6,Wi())};g.setOwnersList=function(a){return $l(this,6,a)};var sm=[1,2,3];var cC=function(a){this.internalArray_=m(a,0,cC.messageId)};Y(cC,V);cC.prototype.getIt=function(){return W(this,xm,10)};cC.prototype.setIt=function(a){return X(this,xm,10,a)};cC.messageId="b.BookmarkGroup";var S8b={ISSUE_ID:"issueId",ATTACHMENT_ID:"attachmentId",COMPONENT_ID:"componentId",GROUP_ID:"groupId",HOTLIST_ID:"hotlistId",SAVED_SEARCH_ID:"savedSearchId",SLO_ID:"sloId",TEAM_ID:"teamId",SETTINGS_TAB:"settingsTab"},tq={home:{routeDeclarationPath:"home",makeHref:function(){return"/home"}},viewDashboard:{routeDeclarationPath:"dashboard/:groupId",makeHref:function(a){return"/dashboard/"+a}},triageSettings:{routeDeclarationPath:"triage",makeHref:function(){return"/triage"}},viewTriageDashboard:{routeDeclarationPath:"triage/:teamId/dashboard",
makeHref:function(a){return"/triage/"+a+"/dashboard"}},viewTriage:{routeDeclarationPath:"triage/:teamId/:phase/:subphase",makeHref:function(a,b,c){return"/triage/"+a+"/"+(b===void 0?"new":b)+"/"+(c===void 0?"all":c)}},createSlo:{routeDeclarationPath:"slos/new",makeHref:function(){return"/slos/new"}},viewSlo:{routeDeclarationPath:"slos/:sloId",makeHref:function(a){return"/slos/"+a}},editSlo:{routeDeclarationPath:"slos/:sloId/edit",makeHref:function(a){return"/slos/"+a+"/edit"}},listSlos:{routeDeclarationPath:"slos",
makeHref:function(){return"/slos"}},listHotlists:{routeDeclarationPath:"hotlists",makeHref:function(){return"/hotlists"}},createHotlist:{routeDeclarationPath:"hotlists/new",makeHref:function(){return"/hotlists/new"}},viewHotlist:{routeDeclarationPath:"hotlists/:hotlistId",makeHref:function(a){return"/hotlists/"+a}},editHotlist:{routeDeclarationPath:"hotlists/:hotlistId/edit",makeHref:function(a){return"/hotlists/"+a+"/edit"}},viewIssue:{routeDeclarationPath:"issues/:issueId",makeHref:function(a){return"/issues/"+
a}},listIssues:{routeDeclarationPath:"issues",makeHref:function(a){return a==null?"/issues":"/issues?"+oxa(a)}},listIssuesRecent:{routeDeclarationPath:"recent",makeHref:function(){return"/recent"}},createIssue:{routeDeclarationPath:"issues/new",makeHref:function(a){return a==null?"/issues/new":"/issues/new?"+oxa(a)}},createIssueChromeWizard:{routeDeclarationPath:"issues/wizard",makeHref:function(){return"/issues/wizard"}},issueDependencies:{makeHref:function(a){return"/issues/"+a+"/dependencies"}},
createComponent:{routeDeclarationPath:"components/new",makeHref:function(a){return a==null?"/components/new":"/components/new?"+oxa({parentId:a})}},editComponent:{routeDeclarationPath:"components/:componentId/edit",makeHref:function(a){return"/components/"+a+"/edit"}},editComponentAccess:{routeDeclarationPath:"components/:componentId/edit#access",makeHref:function(a){return"/components/"+a+"/edit#access"}},editComponentFields:{routeDeclarationPath:"components/:componentId/edit#customFields",makeHref:function(a){return"/components/"+
a+"/edit#customFields"}},editComponentTemplates:{routeDeclarationPath:"components/:componentId/edit#templates",makeHref:function(a){return"/components/"+a+"/edit#templates"}},listComponentsGlobal:{routeDeclarationPath:"components/all",makeHref:function(){return"/components/all"}},listComponents:{routeDeclarationPath:"components",makeHref:function(){return"/components"}},editTeam:{routeDeclarationPath:"teams/:teamId/edit",makeHref:function(a,b){return"/teams/"+a+"/edit#"+b}},createBookmarkGroup:{routeDeclarationPath:"bookmark-groups/new",
makeHref:function(){return"/bookmark-groups/new"}},viewBookmarkGroup:{routeDeclarationPath:"bookmark-groups/:groupId",makeHref:function(a){return"/bookmark-groups/"+a}},editBookmarkGroup:{routeDeclarationPath:"bookmark-groups/:groupId/edit",makeHref:function(a){return"/bookmark-groups/"+a+"/edit"}},viewSavedSearch:{routeDeclarationPath:"savedsearches/:savedSearchId",makeHref:function(a){return"/savedsearches/"+a}},editSavedSearch:{routeDeclarationPath:"savedsearches/:savedSearchId/edit",makeHref:function(a){return"/savedsearches/"+
a+"/edit"}},settings:{routeDeclarationPath:"settings",makeHref:function(){return"/settings"}},settingsTab:{routeDeclarationPath:"settings/:settingsTab?",makeHref:function(a){return"/settings/"+a}},viewAttachment:{routeDeclarationPath:"viewattachment/:issueId/:attachmentId",makeHref:function(a,b,c){return"/viewattachment/"+a+"/"+b+"?"+oxa({mimeType:c})}}};var T8b=function(a){this.internalArray_=m(a,0,T8b.messageId)};Y(T8b,V);T8b.messageId="b.BookmarkGroupListResponse";var dC=function(){this.executor=r(PB)};dC.prototype.get=function(a){return this.executor.get({url:"action/bookmark_groups/"+a,responseConstructor:cC}).then(jxa)};dC.prototype.query=function(a){return this.executor.get({url:"action/bookmark_groups",options:{params:{q:a}},responseConstructor:T8b}).then(kxa)};dC.prototype.create=function(a){a=(new cC).setIt((new xm).setName(a.name).setDescription(a.description));return this.executor.post({url:"action/bookmark_groups",body:a,responseConstructor:cC}).then(jxa)};
dC.prototype.update=function(a){var b=(new cC).setIt(fxa(a));return this.executor.post({url:"action/bookmark_groups/"+a.bookmarkGroupId,body:b,responseConstructor:cC}).then(jxa)};dC.\u0275fac=function(a){return new (a||dC)};dC.\u0275prov=n({token:dC,factory:dC.\u0275fac,providedIn:"root"});var eC=function(){ZB.call(this,{freshUntil:3E5});this.bookmarkGroupApi=r(dC);this.recordType="bookmarkGroup";this.idKey="bookmarkGroupId"};Y(eC,ZB);eC.prototype.fetchOne=function(a){var b=this;return Re(function(){return b.bookmarkGroupApi.get(a)})};eC.prototype.fetchSet=function(a){var b=this;return Me(a.map(function(c){return b.fetchOne(c)}))};eC.\u0275fac=function(a){return new (a||eC)};eC.\u0275prov=n({token:eC,factory:eC.\u0275fac,providedIn:"root"});var fC=function(a){this.internalArray_=m(a,0,fC.messageId)};Y(fC,V);g=fC.prototype;g.getAuthor=function(){return Gh(this,1)};g.setAuthor=function(a){gk(this,1,a)};g.hasAuthor=function(){return Hj(this,1)};g.getDescription=function(){return Gh(this,2)};g.setDescription=function(a){return gk(this,2,a)};g.hasDescription=function(){return Hj(this,2)};g.getPending=function(){return Fj(this,3)};g.getTimestamp_asLegacyNumberOrString=function(){return Vj(this,4)};
g.setTimestamp=function(a){return nk(this,4,a)};g.hasTimestamp=function(){return Uj(this,4)};fC.messageId="b.ChangelistDetailsResponse";var gC=function(a){this.internalArray_=m(a)};Y(gC,V);gC.prototype.getIssueIdsList_asLegacyNumberOrString=function(){return a_b(this,1)};gC.prototype.getIssueIdsList_asString=function(){return ak(this,1)};gC.prototype.setIssueIdsList=function(a){return wc(this,1,a,Kb)};var hC=function(a){this.internalArray_=m(a,0,hC.messageId)};Y(hC,V);g=hC.prototype;g.getQuery=function(){return W(this,gC,1)};g.setQuery=function(a){return X(this,gC,1,a)};g.clearQuery=function(){Zp(this,1)};g.hasQuery=function(){return Oj(this,gC,1)};g.getNextPageToken=function(){return Gh(this,2)};hC.messageId="b.ListChangelistsRequest";var qxa=function(a){this.internalArray_=m(a)};Y(qxa,V);g=qxa.prototype;g.getAuthor=function(){return Gh(this,1)};g.setAuthor=function(a){gk(this,1,a)};g.hasAuthor=function(){return Hj(this,1)};g.getChangelistNumber=function(){return Zi(this,2)};g.getPending=function(){return Fj(this,3)};g.getTimestamp=function(){return W(this,wj,4)};g.setTimestamp=function(a){return X(this,wj,4,a)};g.hasTimestamp=function(){return Oj(this,wj,4)};
g.getIssueIdsList_asLegacyNumberOrString=function(){return a_b(this,5)};g.getIssueIdsList_asString=function(){return ak(this,5)};g.setIssueIdsList=function(a){return wc(this,5,a,Kb)};var iC=function(a){this.internalArray_=m(a,0,iC.messageId)};Y(iC,V);iC.prototype.getNextPageToken=function(){return Gh(this,2)};iC.messageId="b.ListChangelistsResponse";var U8b=function(a){this.internalArray_=m(a,0,U8b.messageId)};Y(U8b,V);U8b.messageId="b.PendingChangelistsResponse";var jC=function(){this.executor=r(OB)};jC.prototype.getPendingChangelistsForIssue=function(a){return this.executor.get({url:"action/issues/"+a+"/pending_changelists",responseConstructor:U8b}).pipe(B(pxa))};jC.prototype.getChangelistDetails=function(a){return this.executor.get({url:"/action/changelists/"+a,responseConstructor:fC}).pipe(B(txa))};
var V8b=function(a,b){var c=new hC,d=c.setQuery;b=(new gC).setIssueIdsList(b);b=hk(b,2,2);c=d.call(c,b);return a.executor.post({url:"action/changelists/list",body:c,responseConstructor:iC}).pipe(B(sxa))};jC.\u0275fac=function(a){return new (a||jC)};jC.\u0275prov=n({token:jC,factory:jC.\u0275fac,providedIn:"root"});var kC=function(){this.changelistResources=r(jC)};kC.prototype.getPendingChangelistsForIssue=function(a){return Je(this.changelistResources.getPendingChangelistsForIssue(a))};
kC.prototype.getChangelistDetails=function(a){return Je(this.changelistResources.getChangelistDetails(a))};kC.\u0275fac=function(a){return new (a||kC)};kC.\u0275prov=n({token:kC,factory:kC.\u0275fac,providedIn:"root"});var lC=function(){YB.call(this);this.api=r(jC);this.defaultQuery={};this.recordType="Changelist";this.idKey="changelistNumber"};Y(lC,YB);lC.prototype.fetchAll=function(a){if(a=a.pendingForIssues)return a.length===0?Fe({results:[]}):V8b(this.api,a).pipe(B(function(b){var c;return{results:(c=b.changelists)!=null?c:[]}}));throw Error("jc");};lC.\u0275fac=function(a){return new (a||lC)};lC.\u0275prov=n({token:lC,factory:lC.\u0275fac,providedIn:"root"});var mC=function(a){this.internalArray_=m(a,0,mC.messageId)};Y(mC,V);mC.prototype.getIt=function(){return W(this,nl,2)};mC.prototype.setIt=function(a){return X(this,nl,2,a)};mC.messageId="b.AccessLimit";var nC=function(a){this.internalArray_=m(a,0,nC.messageId)};Y(nC,V);nC.prototype.getIt=function(){return W(this,MB,13)};nC.prototype.setIt=function(a){return X(this,MB,13,a)};nC.messageId="b.AccessPolicy";var W8b=function(a){this.internalArray_=m(a,0,W8b.messageId)};Y(W8b,V);W8b.messageId="b.CheckPermissionResponse";var oC=function(){this.executor=r(OB)};g=oC.prototype;g.get=function(a,b){a=Am(Bm(a,b));return this.executor.get({url:"action/access_policies/"+a,responseConstructor:nC}).pipe(B(wxa))};
g.update=function(a,b,c){a=Am(Bm(a,b));var d;b=new nC;var e=b.setIt;c=Object.assign({},c,{implicitAccess:(d=c.implicitAccess)!=null?d:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null});var f,h,l,q,v,y;d=new MB;var E=((f=c.admins)!=null?f:[]).map(ll);f=$l(d,2,E).setAppendersList(((h=c.appenders)!=null?h:[]).map(ll));h=((l=c.editors)!=null?l:[]).map(ll);l=$l(f,4,h).setReadersList(((q=c.readers)!=null?q:[]).map(ll));q=((v=c.restrictedReaders)!=null?v:[]).map(ll);
v=$l(l,11,q);q=((y=c.restrictedPlusReaders)!=null?y:[]).map(ll);y=$l(v,12,q);if(c.implicitAccess){v=y.setImplicitAccess;a:switch(c.implicitAccess){case "IMPLICIT_ACCESS_UNSPECIFIED":c=0;break a;case "ALLOW":c=1;break a;case "DENY":c=2;break a;default:throw Error("Ib");}v.call(y,c)}b=e.call(b,y);return this.executor.post({url:"action/access_policies/"+a,body:b,responseConstructor:nC}).pipe(B(wxa))};
g.checkPermission=function(a,b,c,d){a=Am(a.join(","));b=Am(b);c=Am(Bm(c,d));return this.executor.get({url:"action/check_permission/"+a+"/"+b+"/"+c,responseConstructor:W8b}).pipe(B(vxa))};g.setAccessLimit=function(a,b,c){a=Am(Bm(a,b));c=(new mC).setIt(Lua(c));return this.executor.post({url:"action/access_limits/"+a,body:c,responseConstructor:mC}).pipe(B(uxa))};g.checkComponentImplicitAccessEnabled=function(a){return this.get("COMPONENT",a).pipe(B(function(b){return b.implicitAccess==="ALLOW"}))};
oC.\u0275fac=function(a){return new (a||oC)};oC.\u0275prov=n({token:oC,factory:oC.\u0275fac,providedIn:"root"});var pC=function(){this.observableApi=r(oC)};g=pC.prototype;g.get=function(a,b){return Je(this.observableApi.get(a,b))};g.update=function(a,b,c){return Je(this.observableApi.update(a,b,c))};g.checkPermission=function(a,b,c,d){return Je(this.observableApi.checkPermission(a,b,c,d))};g.setAccessLimit=function(a,b,c){return Je(this.observableApi.setAccessLimit(a,b,c))};
g.checkComponentImplicitAccessEnabled=function(a){return Je(this.observableApi.checkComponentImplicitAccessEnabled(a))};pC.\u0275fac=function(a){return new (a||pC)};pC.\u0275prov=n({token:pC,factory:pC.\u0275fac,providedIn:"root"});var qC=function(){ZB.call(this);this.accessPolicyApi=r(oC);this.recordType="componentAccessPolicy";this.isEqual=yi};Y(qC,ZB);qC.prototype.fetchOne=function(a){return this.accessPolicyApi.get("COMPONENT",a).pipe(B(function(b){return Object.assign({},{id:a},b)}),xf(function(){return Fe(void 0)}))};qC.prototype.doSave=function(a){var b=a.id;return this.accessPolicyApi.update("COMPONENT",b,a).pipe(B(function(c){return Object.assign({},{id:b},c)}))};qC.\u0275fac=function(a){return new (a||qC)};
qC.\u0275prov=n({token:qC,factory:qC.\u0275fac,providedIn:"root"});var rC=function(){};rC.prototype.adapt=function(a){var b,c=new X8b(a.call.bind(a),a.split.bind(a),(b=a.bufferTimeMs)!=null?b:500,a.maxBatchSize||100);return c.get.bind(c)};rC.\u0275fac=function(a){return new (a||rC)};rC.\u0275prov=n({token:rC,factory:rC.\u0275fac,providedIn:"root"});
var X8b=function(a,b,c,d){var e=this;this.batchCall=a;this.batchSplit=b;this.bufferTimeMs=c;this.maxBatchSize=d;this.inputSubject=new Jf;this.inputs$=this.inputSubject.pipe(Xja(this.inputSubject.pipe(wf(this.bufferTimeMs,Zo))));this.removeDuplicates=B(function(f){return[].concat(w(new Set(f)))});this.limitInputSize=B(function(f){for(var h=k(f.slice(e.maxBatchSize)),l=h.next();!l.done;l=h.next())e.inputSubject.next(l.value);return new Set(f.slice(0,e.maxBatchSize))});this.makeBatchCalls=qe(Oe(function(f){try{return e.batchCall(f).pipe(Cf(),
B(function(h){return{inputs:f,batchResponse:h,error:void 0}}),xf(function(h){return Fe({inputs:f,batchResponse:void 0,error:h})}))}catch(h){return Fe({inputs:f,batchResponse:void 0,error:h})}}),oka());this.batchResults$=this.inputs$.pipe(this.removeDuplicates,this.limitInputSize,this.makeBatchCalls)};
X8b.prototype.get=function(a){var b=this;return new re(function(c){c=b.batchResults$.pipe(Ye(function(d){return d.inputs.has(a)}),Cf(),B(function(d){if(!d.error&&d.batchResponse)return b.batchSplit(a,d.batchResponse);throw d.error;})).subscribe(c);b.inputSubject.next(a);return c})};var Hm=function(a){this.internalArray_=m(a)};Y(Hm,V);Hm.prototype.setFieldId=function(a){return X(this,wl,1,a)};var Fm=function(a){this.internalArray_=m(a)};Y(Fm,V);g=Fm.prototype;g.getInherit=function(){return Fj(this,1)};g.setInherit=function(a){return Hl(this,1,a)};g.getId_asLegacyNumberOrString=function(){return Vj(this,2)};g.getId_asString=function(){return Oo(this,2)};g.setId=function(a){return pl(this,2,a)};var Dm=function(a){this.internalArray_=m(a)};Y(Dm,V);g=Dm.prototype;g.getInherit=function(){return Fj(this,1)};g.setInherit=function(a){return Hl(this,1,a)};g.getId_asLegacyNumberOrString=function(){return Vj(this,2)};g.getId_asString=function(){return Oo(this,2)};g.setId=function(a){return pl(this,2,a)};g.getSourceTeamId_asLegacyNumberOrString=function(){return Vj(this,4)};g.setSourceTeamId=function(a){return pl(this,4,a)};g.getComment=function(){return Gh(this,3)};
g.setComment=function(a){return cj(this,3,a)};var Cm=function(a){this.internalArray_=m(a)};Y(Cm,V);g=Cm.prototype;g.getVersion=function(){return Zi(this,1)};g.setVersion=function(a){return uj(this,1,a)};g.getSlo=function(){return W(this,Dm,2)};g.setSlo=function(a){X(this,Dm,2,a)};g.hasSlo=function(){return Oj(this,Dm,2)};var Em=function(a){this.internalArray_=m(a)};Y(Em,V);Em.prototype.getUser=function(){return W(this,bj,1)};Em.prototype.setUser=function(a){return X(this,bj,1,a)};Em.prototype.hasUser=function(){return Oj(this,bj,1)};var sC=function(a){this.internalArray_=m(a)};Y(sC,V);g=sC.prototype;g.getId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getId_asString=function(){return Oo(this,1)};g.setId=function(a){return pl(this,1,a)};g.getPathIdsList_asLegacyNumberOrString=function(){return lj(this,2,Wi())};g.getPathIdsList_asString=function(){return ak(this,2)};g.setPathIdsList=function(a){return pk(this,2,a)};g.getName=function(){return Gh(this,3)};g.setName=function(a){return cj(this,3,a)};
g.getPathNamesList=function(a){return Vi(this,4,Wi(a))};g.setPathNamesList=function(a){return dj(this,4,a)};g.getMembersList=function(){return nj(this,Em,6,Wi())};g.setMembersList=function(a){return $l(this,6,a)};g.getDescription=function(){return Gh(this,8)};g.setDescription=function(a){return cj(this,8,a)};g.getDeleted=function(){return Fj(this,9)};var Gm=function(a){this.internalArray_=m(a)};Y(Gm,V);Gm.prototype.getTeamId_asLegacyNumberOrString=function(){return Vj(this,1)};Gm.prototype.setTeamId=function(a){return pl(this,1,a)};Gm.prototype.getScore=function(){return zl(this,2)};Gm.prototype.setScore=function(a){return Wl(this,2,a)};var Im=function(a){this.internalArray_=m(a)};Y(Im,V);Im.prototype.getComponentPathNames=function(a){return Jv(this,2,a)};var Lm=function(a){this.internalArray_=m(a)};Y(Lm,V);g=Lm.prototype;g.getComponentId_asLegacyNumberOrString=function(){return Vj(this,2)};g.getComponentId_asString=function(){return Oo(this,2)};g.setComponentId=function(a){return pl(this,2,a)};g.getName=function(){return Gh(this,4)};g.setName=function(a){return cj(this,4,a)};g.getDescription=function(){return Gh(this,5)};g.setDescription=function(a){return cj(this,5,a)};g.getIsArchived=function(){return Fj(this,8)};
g.setIsArchived=function(a){return Hl(this,8,a)};g.getAccessLimit=function(){return W(this,nl,9)};g.setAccessLimit=function(a){return X(this,nl,9,a)};g.setCommentEditState=function(a){return ej(this,10,a)};g.getSlo=function(){return W(this,bm,13)};g.setSlo=function(a){X(this,bm,13,a)};g.hasSlo=function(){return Oj(this,bm,13)};g.getTeam=function(){return W(this,Fm,16)};g.setTeam=function(a){X(this,Fm,16,a)};g.hasTeam=function(){return Oj(this,Fm,16)};g.getEffortSpec=function(){return W(this,Il,18)};
g.getTeamSuggestionsList=function(){return nj(this,Gm,19,Wi())};g.setTeamSuggestionsList=function(a){$l(this,19,a)};g.getTrackerId_asLegacyNumberOrString=function(){return Vj(this,20)};g.getTrackerId_asString=function(){return Oo(this,20)};g.setTrackerId=function(a){return pl(this,20,a)};var Om=function(a){this.internalArray_=m(a)};Y(Om,V);g=Om.prototype;g.getComponentId_asLegacyNumberOrString=function(){return Vj(this,2)};g.getComponentId_asString=function(){return Oo(this,2)};g.setComponentId=function(a){return pl(this,2,a)};g.getTemplateId_asLegacyNumberOrString=function(){return Vj(this,3)};g.setTemplateId=function(a){return pl(this,3,a)};g.getName=function(){return Gh(this,4)};g.setName=function(a){return cj(this,4,a)};g.getDescription=function(){return Gh(this,5)};
g.setDescription=function(a){return cj(this,5,a)};g.getIssueState=function(){return W(this,im,6)};g.setIssueState=function(a){return X(this,im,6,a)};g.getComment=function(){return Gh(this,7)};g.setComment=function(a){return cj(this,7,a)};g.getFormattingMode=function(){return Kj(this,8,0)};g.setFormattingMode=function(a){return ej(this,8,a)};var Mm=function(a){this.internalArray_=m(a,0,Mm.messageId)};Y(Mm,V);Mm.prototype.getIt=function(){return W(this,Lm,28)};Mm.prototype.setIt=function(a){return X(this,Lm,28,a)};Mm.messageId="b.Component";var Nm=function(a){this.internalArray_=m(a)};Y(Nm,V);Nm.prototype.getIt=function(){return W(this,Om,7)};Nm.prototype.setIt=function(a){return X(this,Om,7,a)};var Y8b=function(a){this.internalArray_=m(a,0,Y8b.messageId)};Y(Y8b,V);Y8b.messageId="b.UpdateComponentSloRequest";var Z8b=function(a){this.internalArray_=m(a,0,Z8b.messageId)};Y(Z8b,V);Z8b.messageId="b.UpdateComponentTeamRequest";var dv=function(){this.session=Jk()};g=dv.prototype;g.getAppBaseHref=function(){return this.session.appBaseHref};g.userRequiresCaptcha=function(){return this.session.userRequiresCaptcha};g.getFrontendAccessMode=function(){return this.session.frontendAccessMode||"INTERNAL"};g.isExternalSession=function(){return this.getFrontendAccessMode()!=="INTERNAL"};g.isInternalSession=function(){return this.getFrontendAccessMode()==="INTERNAL"};
var tC=function(a){return a.getFrontendAccessMode()==="PARTNER"},uC=function(a){return a.getFrontendAccessMode()==="PUBLIC"};dv.prototype.isNonPublicSession=function(){return this.getFrontendAccessMode()!=="PUBLIC"};var $8b=function(a){var b=a.getUserEmail().split("@")[1];return b?a.session.config.trustedEmailDomainsAllowlist.includes("@"+b):!1},lu=function(a,b){return!!a.session.config.enabledFlags.get(b)};dv.prototype.isAnonymous=function(){return this.session.user.anonymous};
dv.prototype.getUserEmail=function(){return this.session.user.email||""};dv.prototype.getSessionIdentifier=function(){return this.session.user.sessionIdentifier||"0"};dv.prototype.getTracker=function(){var a;return(a=this.session.tracker)!=null?a:void 0};var vq=function(a){return!!a.session.tracker};g=dv.prototype;g.getPassiveLoginIframeUrl=function(){return this.session.passiveLoginIframeUrl};g.getMustAcknowledgeTerms=function(){return this.session.mustAcknowledgeTerms};
g.getShowNewFeaturesDialog=function(){return this.session.showNewFeaturesDialog};g.getEnvironmentType=function(){return this.session.config.environmentType||"QA"};g.getAppBaseUrl=function(a){return(a===void 0?0:a)||!this.isInternalSession()?Kk(this.session)?"https://issuetracker.google.com/":"https://issuetracker-qa.corp.google.com/":Kk(this.session)?"http://b/":"http://b-qa/"};g.getOnePickUrl=function(){return this.session.config.onePickUrl};g.getAppName=function(){return this.session.config.appName};
g.getCommentNumberLimit=function(){return this.session.config.commentNumberLimit};g.getCreateComponentRedirectDelay=function(){return this.session.config.createComponentRedirectDelay};g.getDocumentationBaseUrl=function(){return this.session.config.documentationBaseUrl};g.getInternalBaseUrl=function(){return this.session.config.internalBaseUrl};g.getExternalBaseUrl=function(){return this.session.config.externalBaseUrl};g.getUserPreferences=function(){return this.session.userPreferences};
g.getXsrfToken=function(){return this.session.xsrfToken};g.getOnePickSecretToken=function(){return this.session.config.onePickSecretToken};g.getCspNonce=function(){return this.session.cspNonce};g.getAnnouncement=function(){return this.session.preload.announcement};g.getUserTypeLabel=function(){return this.session.user.userTypeLabel||"UNKNOWN"};dv.\u0275fac=function(a){return new (a||dv)};dv.\u0275prov=n({token:dv,factory:dv.\u0275fac,providedIn:"root"});var vC=function(a){this.internalArray_=m(a,0,vC.messageId)};Y(vC,V);vC.prototype.setComponent=function(a){return X(this,Mm,1,a)};vC.messageId="b.CreateComponentResponse";var wC=function(a){this.internalArray_=m(a,0,wC.messageId)};Y(wC,V);wC.prototype.setComponent=function(a){return yv(this,1,Mm,a)};wC.messageId="b.ListComponentsResponse";var Xxa=function(a){this.internalArray_=m(a)};Y(Xxa,V);Xxa.prototype.getComponentPath=function(){return Gh(this,1)};var a9b=function(a){this.internalArray_=m(a,0,a9b.messageId)};Y(a9b,V);a9b.messageId="b.SubcomponentsResponse";var xC=function(){this.executor=r(OB);this.activeSession=r(dv)};g=xC.prototype;g.get=function(a){return this.query({id:[a]}).pipe(B(function(b){return b.length?b[0]:null}))};g.getChildren=function(a,b){a={parentId:String(a)};if(b===void 0?0:b)a.includearchived=!0;return this.query(a)};g.getDescendants=function(a){return this.executor.get({url:"action/components/"+a+"/descendants",responseConstructor:a9b}).pipe(B(Yxa))};
g.fetchComponent=function(a){return this.executor.get({url:"action/components/"+a,responseConstructor:Mm}).pipe(B(Km))};g.query=function(a){var b={};a.id&&(b.id=a.id.map(String));a.parentId&&(b.parentId=String(a.parentId));a.query&&(b.query=a.query);a.includearchived&&(b.includearchived="true");var c;(a=(c=this.activeSession.getTracker())==null?void 0:c.trackerId)&&(b.currentTrackerId=a);return this.executor.get({url:"action/components",options:{params:b},responseConstructor:wC}).pipe(B(Vxa))};
g.create=function(a){a=Pxa(a);return this.executor.post({url:"action/components",body:a,responseConstructor:vC}).pipe(B(function(b){return Km(W(b,Mm,1))}))};
g.update=function(a){var b=a.componentId,c=new Mm,d=c.setIt,e=(new Lm).setComponentId(a.componentId);e=pl(e,3,a.parentComponentId).setName(a.name).setDescription(a.description).setIsArchived(a.archived);if(a.componentPathInfo){var f=a.componentPathInfo,h=new Im;f.componentPathId&&pk(h,1,f.componentPathId);if(f.componentPathName){var l=f.componentPathName.map(String);dj(h,2,l)}f.allCustomField&&(f=f.allCustomField.map(tva),$l(h,5,f));X(e,Im,7,h)}a.accessLimit&&e.setAccessLimit(Lua(a.accessLimit));
a.commentEditState&&e.setCommentEditState(a.commentEditState==="ENABLED"?1:2);pl(e,6,String(a.defaultTemplateId));a.slo&&e.setSlo(Zva(a.slo));pl(e,14,a.bugscopeSloId);a.retentionSettings&&(h=$ua(a.retentionSettings),X(e,ql,15,h));a.fieldOrdering&&ej(e,17,g7b[a.fieldOrdering]);a.effortSpec&&(h=Ava(a.effortSpec),X(e,Il,18,h));a.team&&e.setTeam(Dxa(a.team));var q;e.setTeamSuggestionsList(((q=a.teamSuggestions)!=null?q:[]).map(Fxa));a.spamProtection!=="SPAM_PROTECTION_UNSPECIFIED"&&ej(e,21,Ixa(a.spamProtection));
a=d.call(c,e);return this.executor.post({url:"action/components/"+b,body:a,responseConstructor:Mm}).pipe(B(Km))};g.move=function(a,b){return this.executor.post({url:"action/components/"+a+"/move",body:null,options:{params:{parentId:String(b)}},responseConstructor:Mm}).pipe(B(Km))};g.updateSlo=function(a,b){var c=new Y8b;b=Zva(b);c=X(c,bm,2,b);return this.executor.post({url:"action/components/"+a+"/updateSlo",body:c,responseConstructor:Mm}).pipe(B(Km))};
g.updateTeam=function(a,b){var c=new Z8b;b=Dxa(Object.assign({},b));c=X(c,Fm,2,b);return this.executor.post({url:"action/components/"+a+"/updateTeam",body:c,responseConstructor:Mm}).pipe(B(Km))};xC.\u0275fac=function(a){return new (a||xC)};xC.\u0275prov=n({token:xC,factory:xC.\u0275fac,providedIn:"root"});var yC=function(){this.observableApi=r(xC)};g=yC.prototype;g.get=function(a){return Je(this.observableApi.get(a))};
g.getChildren=function(a,b){return Je(this.observableApi.getChildren(a,b===void 0?!1:b))};g.getDescendants=function(a){return Je(this.observableApi.getDescendants(a))};g.fetchComponent=function(a){return Je(this.observableApi.fetchComponent(a))};g.query=function(a){return Je(this.observableApi.query(a))};g.create=function(a){return Je(this.observableApi.create(a))};g.update=function(a){return Je(this.observableApi.update(a))};g.move=function(a,b){return Je(this.observableApi.move(a,b))};
g.updateSlo=function(a,b){return Je(this.observableApi.updateSlo(a,b))};g.updateTeam=function(a,b){return Je(this.observableApi.updateTeam(a,b))};yC.\u0275fac=function(a){return new (a||yC)};yC.\u0275prov=n({token:yC,factory:yC.\u0275fac,providedIn:"root"});var AC=function(){ZB.call(this,{freshUntil:12E4,ancientAfter:6048E5});this.batchedComponentApi=r(zC);this.recordType="component";this.idKey="componentId"};Y(AC,ZB);AC.prototype.fetchOne=function(a){return a==="0"?Fe(void 0):this.batchedComponentApi.get(a).pipe(xf(function(){return Fe(void 0)}))};AC.prototype.fetchSet=function(a){var b=this;return Me(a.map(function(c){return b.fetchOne(c)})).pipe(B(function(c){return c.filter(kj)}))};AC.\u0275fac=function(a){return new (a||AC)};
AC.\u0275prov=n({token:AC,factory:AC.\u0275fac,providedIn:"root"});var zC=function(){var a=this;this.observableComponentApi=r(xC);this.batchApiAdapter=r(rC);this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,call:function(b){return a.call(b)},split:function(b,c){return a.splitBatch(b,c)}})};
zC.prototype.call=function(a){return a.size===1?this.observableComponentApi.fetchComponent([].concat(w(a))[0]).pipe(B(function(b){return new Map(b?[[b.componentId,b]]:[])})):this.observableComponentApi.query({id:[].concat(w(a))}).pipe(B(function(b){return new Map(b.map(function(c){return[c.componentId,c]}))}))};zC.prototype.splitBatch=function(a,b){return b.get(Number(a))};zC.\u0275fac=function(a){return new (a||zC)};zC.\u0275prov=n({token:zC,factory:zC.\u0275fac,providedIn:"root"});var b9b=function(a){this.internalArray_=m(a,0,b9b.messageId)};Y(b9b,V);b9b.messageId="b.ListTemplatesResponse";var BC=function(a){this.internalArray_=m(a,0,BC.messageId)};Y(BC,V);BC.messageId="b.TemplateResponse";var CC=function(){this.executor=r(OB)};g=CC.prototype;g.get=function(a,b){return this.executor.get({url:"action/components/"+a+"/templates/"+b,responseConstructor:BC}).pipe(B(Zxa))};g.query=function(a){return this.executor.get({url:"action/components/"+a+"/templates",responseConstructor:b9b}).pipe(B($xa))};g.create=function(a,b){b=Uxa(b);return this.executor.post({url:"action/components/"+a+"/templates",responseConstructor:BC,body:b}).pipe(B(Zxa))};
g.update=function(a,b,c){c=Uxa(c);return this.executor.post({url:"action/components/"+a+"/templates/"+b,responseConstructor:BC,body:c}).pipe(B(Zxa))};g.delete=function(a,b){return this.executor.delete({url:"action/components/"+a+"/templates/"+b,responseConstructor:null})};CC.\u0275fac=function(a){return new (a||CC)};CC.\u0275prov=n({token:CC,factory:CC.\u0275fac,providedIn:"root"});var DC=function(){this.observableApi=r(CC)};g=DC.prototype;g.get=function(a,b){return Je(this.observableApi.get(a,b))};
g.query=function(a){return Je(this.observableApi.query(a))};g.create=function(a,b){return Je(this.observableApi.create(a,b))};g.update=function(a,b,c){return Je(this.observableApi.update(a,b,c))};g.delete=function(a,b){return Je(this.observableApi.delete(a,b))};DC.\u0275fac=function(a){return new (a||DC)};DC.\u0275prov=n({token:DC,factory:DC.\u0275fac,providedIn:"root"});var bya=function(a){this.internalArray_=m(a)};Y(bya,V);bya.prototype.getIt=function(){return W(this,Gl,14)};bya.prototype.setIt=function(a){return X(this,Gl,14,a)};var fn=function(a){this.internalArray_=m(a)};Y(fn,V);fn.prototype.getIt=function(){return W(this,El,13)};fn.prototype.setIt=function(a){return X(this,El,13,a)};var Qm=function(a){this.internalArray_=m(a)};Y(Qm,V);Qm.prototype.setNeedsInfo=function(a){return dk(this,2,a)};var Rm=function(a){this.internalArray_=m(a,0,Rm.messageId)};Y(Rm,V);g=Rm.prototype;g.getId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getId_asString=function(){return Oo(this,1)};g.setId=function(a){return nk(this,1,a)};g.getTriage=function(){return W(this,Qm,2)};g.setTriage=function(a){return X(this,Qm,2,a)};Rm.messageId="b.IssueExperiments";var rya=function(a){this.internalArray_=m(a)};Y(rya,V);g=rya.prototype;g.getPhasesList=function(){return bk(this,1,Wi())};g.getSubphasesList=function(){return bk(this,2,Wi())};g.getValue=function(){return W(this,El,3)};g.setValue=function(a){return X(this,El,3,a)};g.hasValue=function(){return Oj(this,El,3)};var Sm=function(a){this.internalArray_=m(a)};Y(Sm,V);Sm.prototype.getCustomFieldId_asLegacyNumberOrString=function(){return Vj(this,1)};Sm.prototype.getCustomFieldId_asString=function(){return Oo(this,1)};Sm.prototype.setCustomFieldId=function(a){return nk(this,1,a)};Sm.prototype.hasCustomFieldId=function(){return Uj(this,1)};var qya=function(a){this.internalArray_=m(a)};Y(qya,V);g=qya.prototype;g.getHotlistIdsList_asLegacyNumberOrString=function(a){return lj(this,1,Wi(a))};g.getHotlistIdsList_asString=function(){return ak(this,1)};g.setHotlistIdsList=function(a){pk(this,1,a)};g.addHotlistIds=function(a,b){return yc(this,1,Kb,a,b,lj)};g.addAllHotlistIds=function(a){Mv(this,1,a)};g.removeHotlistIds=function(a){return f_b(this,1,a)};g.getOperation=function(){return Kj(this,2,0)};g.setOperation=function(a){hk(this,2,a)};
g.getPhasesList=function(){return bk(this,3,Wi())};g.getSubphasesList=function(){return bk(this,4,Wi())};var kya=function(a){this.internalArray_=m(a)};Y(kya,V);var nya=[1,2];var EC=function(a){this.internalArray_=m(a)};Y(EC,V);EC.prototype.getScope=function(){return Gh(this,1)};EC.prototype.setScope=function(a){return gk(this,1,a)};EC.prototype.setConfig=function(a){yv(this,3,kya,a)};var FC=function(a){this.internalArray_=m(a,0,FC.messageId)};Y(FC,V);g=FC.prototype;g.getId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getId_asString=function(){return Oo(this,1)};g.setId=function(a){return nk(this,1,a)};g.getTriage=function(){return W(this,EC,2)};g.setTriage=function(a){return X(this,EC,2,a)};FC.messageId="b.TeamExperiments";var Eza=new Set([].concat(w(Object.values({ACCESS_LIMIT:"access_limit",ASSIGNEE:"assignee",BLOCKED_BY_ISSUE_IDS:"blocked_by_issue_ids",BLOCKING_ISSUE_IDS:"blocking_issue_ids",CANONICAL_ISSUE_ID:"canonical_issue_id",CCS:"ccs",COLLABORATORS:"collaborators",CHILD_ISSUE_IDS:"child_issue_ids",CODE_CHANGES:"code_changes",GERRIT_CHANGES:"gerrit_changes",COMPONENT_ID:"component_id",CUSTOM_FIELDS:"custom_fields",DELETION_REASON:"deletion_reason",DUPLICATE_ISSUE_IDS:"duplicate_issue_ids",EFFORT:"effort",ENTITY_STATUS:"entity_status",
FOUND_IN_VERSIONS:"found_in_versions",HOTLIST_IDS:"hotlist_ids",IN_PROD:"in_prod",IS_ARCHIVED:"is_archived",IS_DELETED:"is_deleted",PARENT_ISSUE_IDS:"parent_issue_ids",STAFFING:"staffing",STAFFING_PLANNED_ALLOCATIONS:"staffing.planned_allocations",POSTMORTEMS:"postmortems",PRIORITY:"priority",RETENTION:"retention",REPORTER:"reporter",SEVERITY:"severity",SLO_SNOOZE_UNTIL:"slo_snooze_until",SLO_END_TIME:"slo_end_time",SLO_SNOOZE_TYPE:"slo_snooze_type",STATUS:"status",TARGETED_TO_VERSIONS:"targeted_to_versions",
TITLE:"title",TYPE:"type",VERIFIER:"verifier",VERIFIED_IN_VERSIONS:"verified_in_versions"}))));var Ym=function(a){this.internalArray_=m(a)};Y(Ym,V);g=Ym.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getAddMask=function(){return W(this,Vm,2)};g.setAddMask=function(a){return X(this,Vm,2,a)};g.getAdd=function(){return W(this,im,3)};g.setAdd=function(a){return X(this,im,3,a)};g.getRemoveMask=function(){return W(this,Vm,4)};
g.setRemoveMask=function(a){return X(this,Vm,4,a)};g.getRemove=function(){return W(this,im,5)};g.setRemove=function(a){return X(this,im,5,a)};g.getIssueComment=function(){return W(this,Zm,6)};g.setIssueComment=function(a){X(this,Zm,6,a)};g.hasIssueComment=function(){return Oj(this,Zm,6)};g.setSignificanceOverride=function(a){return ej(this,7,a)};var un=function(a){this.internalArray_=m(a)};Y(un,V);un.prototype.getQuery=function(){return Gh(this,1)};un.prototype.setQuery=function(a){return cj(this,1,a)};un.prototype.clearQuery=function(){Zp(this,1)};var GC=function(a){this.internalArray_=m(a)};Y(GC,V);GC.prototype.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};GC.prototype.getIssueId_asString=function(){return Oo(this,1)};GC.prototype.setIssueId=function(a){return pl(this,1,a)};var en=function(a){this.internalArray_=m(a)};Y(en,V);g=en.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getComponentId_asLegacyNumberOrString=function(){return Vj(this,2)};g.getComponentId_asString=function(){return Oo(this,2)};g.setComponentId=function(a){return pl(this,2,a)};var sn=function(a){this.internalArray_=m(a)};Y(sn,V);sn.prototype.getRelation=function(){return Kj(this,1,0)};sn.prototype.setRelation=function(a){return ej(this,1,a)};var cza=function(a,b){return Hl(a,2,b)};var qm=function(a){this.internalArray_=m(a)};Y(qm,V);g=qm.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getPosition=function(){return Zi(this,2)};g.setPosition=function(a){return uj(this,2,a)};g.getIssue=function(){return W(this,gn,3)};g.setIssue=function(a){return X(this,gn,3,a)};var HC=function(a){this.internalArray_=m(a)};Y(HC,V);g=HC.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getReason=function(){return Kj(this,2,0)};g.setReason=function(a){return ej(this,2,a)};g.setSignificanceOverride=function(a){return ej(this,3,a)};var qn=function(a){this.internalArray_=m(a)};Y(qn,V);g=qn.prototype;g.getQuery=function(){return Gh(this,1)};g.setQuery=function(a){return cj(this,1,a)};g.clearQuery=function(){Zp(this,1)};g.setOrderBy=function(a){return cj(this,2,a)};g.setPageSize=function(a){return uj(this,3,a)};g.setPageToken=function(a){return cj(this,4,a)};g.setView=function(a){return ej(this,5,a)};g.setIssueDescriptionView=function(a){return ej(this,6,a)};var dn=function(a){this.internalArray_=m(a)};Y(dn,V);g=dn.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getComponentId_asLegacyNumberOrString=function(){return Vj(this,2)};g.getComponentId_asString=function(){return Oo(this,2)};g.setComponentId=function(a){return pl(this,2,a)};g.setSignificanceOverride=function(a){return ej(this,3,a)};var cn=function(a){this.internalArray_=m(a)};Y(cn,V);cn.prototype.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};cn.prototype.getIssueId_asString=function(){return Oo(this,1)};cn.prototype.setIssueId=function(a){return pl(this,1,a)};var IC=function(a){this.internalArray_=m(a)};Y(IC,V);IC.prototype.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};IC.prototype.getIssueId_asString=function(){return Oo(this,1)};IC.prototype.setIssueId=function(a){return pl(this,1,a)};IC.prototype.setSignificanceOverride=function(a){return ej(this,2,a)};var nn=function(a){this.internalArray_=m(a)};Y(nn,V);g=nn.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getRetention=function(){return Kj(this,2,0)};g.setRetention=function(a){return ej(this,2,a)};g.setSignificanceOverride=function(a){return ej(this,3,a)};var JC=function(a){this.internalArray_=m(a,0,JC.messageId)};Y(JC,V);JC.prototype.getIt=function(){return W(this,HC,3)};JC.prototype.setIt=function(a){return X(this,HC,3,a)};JC.messageId="b.DeleteIssueRequest";var Zya=function(a){this.internalArray_=m(a)};Y(Zya,V);var Fya=function(a){this.internalArray_=m(a)};Y(Fya,V);g=Fya.prototype;g.getFieldName=function(){return Gh(this,1)};g.setFieldName=function(a){gk(this,1,a)};g.getValue=function(){return Gh(this,2)};g.setValue=function(a){return gk(this,2,a)};g.hasValue=function(){return Hj(this,2)};g.getCustomFieldValue=function(){return W(this,fn,5)};g.setCustomFieldValue=function(a){return X(this,fn,5,a)};g.clearCustomFieldValue=function(){return Zp(this,5)};var $m=function(a){this.internalArray_=m(a,0,$m.messageId)};Y($m,V);$m.prototype.getIt=function(){return W(this,an,5)};$m.prototype.setIt=function(a){return X(this,an,5,a)};$m.messageId="b.GetRetainedAccessPrincipalsRequest";var mn=function(a){this.internalArray_=m(a,0,mn.messageId)};Y(mn,V);mn.prototype.getIt=function(){return W(this,qm,4)};mn.prototype.setIt=function(a){return X(this,qm,4,a)};mn.messageId="b.HotlistIssue";var xn=function(a){this.internalArray_=m(a)};Y(xn,V);xn.prototype.getIt=function(){return W(this,gn,23)};xn.prototype.setIt=function(a){return X(this,gn,23,a)};var Rya=function(a){this.internalArray_=m(a)};Y(Rya,V);Rya.prototype.getIt=function(){return W(this,on,6)};Rya.prototype.setIt=function(a){return X(this,on,6,a)};var Iya=function(a){this.internalArray_=m(a)};Y(Iya,V);Iya.prototype.getIt=function(){return W(this,Ym,7)};Iya.prototype.setIt=function(a){return X(this,Ym,7,a)};var rn=function(a){this.internalArray_=m(a)};Y(rn,V);rn.prototype.setTrackerIdsList=function(a){return wc(this,6,a,Kb)};rn.prototype.getIt=function(){return W(this,qn,7)};rn.prototype.setIt=function(a){return X(this,qn,7,a)};var Wya=function(a){this.internalArray_=m(a)};Y(Wya,V);var Vya=function(a,b){return X(a,rn,1,b)},Yya=function(a,b){$l(a,3,b)},aza=function(a,b){X(a,Rm,4,b)},bza=function(a,b){X(a,sn,5,b)};var Cya=function(a){this.internalArray_=m(a)};Y(Cya,V);Cya.prototype.getIt=function(){return W(this,en,4)};Cya.prototype.setIt=function(a){return X(this,en,4,a)};var tn=function(a){this.internalArray_=m(a,0,tn.messageId)};Y(tn,V);tn.prototype.getIt=function(){return W(this,un,4)};tn.prototype.setIt=function(a){return X(this,un,4,a)};tn.messageId="b.ListRecentEventsForIssuesRequest";var KC=function(a){this.internalArray_=m(a,0,KC.messageId)};Y(KC,V);KC.prototype.getIt=function(){return W(this,GC,3)};KC.prototype.setIt=function(a){return X(this,GC,3,a)};KC.messageId="b.MarkAsVulnerabilityRequest";var Aya=function(a){this.internalArray_=m(a)};Y(Aya,V);Aya.prototype.getIt=function(){return W(this,dn,4)};Aya.prototype.setIt=function(a){return X(this,dn,4,a)};var LC=function(a){this.internalArray_=m(a,0,LC.messageId)};Y(LC,V);LC.prototype.getIt=function(){return W(this,fm,9)};LC.prototype.setIt=function(a){return X(this,fm,9,a)};LC.messageId="b.StatusUpdate";var bn=function(a){this.internalArray_=m(a,0,bn.messageId)};Y(bn,V);bn.prototype.getIt=function(){return W(this,cn,3)};bn.prototype.setIt=function(a){return X(this,cn,3,a)};bn.messageId="b.UnCcUserActionRequest";var MC=function(a){this.internalArray_=m(a,0,MC.messageId)};Y(MC,V);MC.prototype.getIt=function(){return W(this,IC,2)};MC.prototype.setIt=function(a){return X(this,IC,2,a)};MC.messageId="b.UndeleteIssueRequest";var NC=function(a){this.internalArray_=m(a,0,NC.messageId)};Y(NC,V);NC.prototype.getIt=function(){return W(this,NB,5)};NC.prototype.setIt=function(a){return X(this,NB,5,a)};NC.messageId="b.UpdateIssueAccessLimitRequest";var Kya=function(a){this.internalArray_=m(a)};Y(Kya,V);Kya.prototype.setSignificanceOverride=function(a){return hk(this,4,a)};var Pya=function(a){this.internalArray_=m(a)};Y(Pya,V);Pya.prototype.getIt=function(){return W(this,nn,5)};Pya.prototype.setIt=function(a){return X(this,nn,5,a)};var wn=function(a){this.internalArray_=m(a)};Y(wn,V);wn.prototype.getIssueIdsList_asLegacyNumberOrString=function(){return a_b(this,2)};wn.prototype.getIssueIdsList_asString=function(){return ak(this,2)};wn.prototype.setIssueIdsList=function(a){return wc(this,2,a,Kb)};var c9b=function(a){this.internalArray_=m(a)};Y(c9b,V);c9b.prototype.setSignificanceOverride=function(a){return gk(this,3,a)};var d9b=function(a){this.internalArray_=m(a)};Y(d9b,V);g=d9b.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getSummaryType=function(){return Kj(this,2,0)};g.setSummaryType=function(a){return ej(this,2,a)};g.getModelVersion=function(){return Zi(this,3)};g.setModelVersion=function(a){return uj(this,3,a)};g.getIssueVersion=function(){return Zi(this,7)};
g.setIssueVersion=function(a){return uj(this,7,a)};g.setFeedbackType=function(a){return ej(this,5,a)};var Iza=function(a){this.internalArray_=m(a)};Y(Iza,V);var Gza=function(a){this.internalArray_=m(a)};Y(Gza,V);var OC=function(a){this.internalArray_=m(a)};Y(OC,V);OC.prototype.getField=function(){return Gh(this,1)};OC.prototype.clearField=function(){return Zp(this,1)};var Fza=[3,4];var PC=function(a){this.patternParts_=[];this.dateTimeSymbols_=Cw;typeof a=="number"?this.applyStandardPattern_(a):this.applyPattern_(a)},e9b=[/^'(?:[^']|'')*('|$)/,/^(?:G+|y+|Y+|M+|k+|S+|E+|a+|b+|B+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^'GyYMkSEabBhKHcLQdmsvVwzZ]+/],QC=function(a){return a.getHours?a.getHours():0};
PC.prototype.applyPattern_=function(a){for(f9b&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c<e9b.length;++c){var d=a.match(e9b[c]);if(d){var e=d[0];a=a.substring(e.length);c==0&&(e=="''"?e="'":(e=e.substring(1,d[1]=="'"?e.length-1:e.length),e=e.replace(/''/g,"'")));this.patternParts_.push({text:e,type:c});break}}if(b===a)throw Error("nc`"+a);}};
PC.prototype.format=function(a,b){if(!a)throw Error("oc");var c=b?(a.getTimezoneOffset()-b8b(b,a))*6E4:0,d=c?new Date(a.getTime()+c):a,e=d;b&&d.getTimezoneOffset()!=a.getTimezoneOffset()&&(d=new Date(d.getTime()+(d.getTimezoneOffset()-a.getTimezoneOffset())*6E4),e=new Date(a.getTime()+(c+(c>0?-864E5:864E5))));c=[];for(var f=0;f<this.patternParts_.length;++f){var h=this.patternParts_[f].text;1==this.patternParts_[f].type?c.push(g9b(this,h,a,d,e,b)):c.push(h)}return c.join("")};
PC.prototype.applyStandardPattern_=function(a){if(a<4)var b=this.dateTimeSymbols_.DATEFORMATS[a];else if(a<8)b=this.dateTimeSymbols_.TIMEFORMATS[a-4];else if(a<12)b=this.dateTimeSymbols_.DATETIMEFORMATS[a-8],b=b.replace("{1}",this.dateTimeSymbols_.DATEFORMATS[a-8]),b=b.replace("{0}",this.dateTimeSymbols_.TIMEFORMATS[a-8]);else if(a===12)b=this.dateTimeSymbols_.DATEFORMATS[0].replace(/[^EMd]*yy*[^EMd]*/,"");else if(a===13)b=this.dateTimeSymbols_.DATEFORMATS[2].replace(/[^EMd]*yy*[^EMd]*/,"");else{this.applyStandardPattern_(10);
return}this.applyPattern_(b)};
var RC=function(a,b){return h9b(b,a.dateTimeSymbols_)},f9b=!1,h9b=function(a,b){a=String(a);b=b||Cw;if(b.ZERODIGIT===void 0)return a;for(var c=[],d=0;d<a.length;d++){var e=a.charCodeAt(d);c.push(48<=e&&e<=57?String.fromCharCode(b.ZERODIGIT+e-48):a.charAt(d))}return c.join("")},SC=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("pc");},i9b=function(a,b){SC(b);b=QC(b);return a.dateTimeSymbols_.AMPMS[b>=12&&b<24?1:0]},g9b=function(a,b,c,d,e,f){var h=b.length;switch(b.charAt(0)){case "G":return c=
d.getFullYear()>0?1:0,h>=4?a.dateTimeSymbols_.ERANAMES[c]:a.dateTimeSymbols_.ERAS[c];case "y":return c=d.getFullYear(),c<0&&(c=-c),h==2&&(c%=100),RC(a,Pv(c,h));case "Y":return c=d.getFullYear(),e=d.getMonth(),c=V1b(c,e,d.getDate(),a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),c=(new Date(c)).getFullYear(),c<0&&(c=-c),h==2&&(c%=100),RC(a,Pv(c,h));case "M":a:switch(c=d.getMonth(),h){case 5:h=a.dateTimeSymbols_.NARROWMONTHS[c];break a;case 4:h=a.dateTimeSymbols_.MONTHS[c];
break a;case 3:h=a.dateTimeSymbols_.SHORTMONTHS[c];break a;default:h=RC(a,Pv(c+1,h))}return h;case "k":return SC(e),c=QC(e)||24,RC(a,Pv(c,h));case "S":return RC(a,(e.getMilliseconds()/1E3).toFixed(Math.min(3,h)).slice(2)+(h>3?Pv(0,h-3):""));case "E":return c=d.getDay(),h>=4?a.dateTimeSymbols_.WEEKDAYS[c]:a.dateTimeSymbols_.SHORTWEEKDAYS[c];case "a":return i9b(a,e);case "b":return i9b(a,e);case "B":return i9b(a,e);case "h":return SC(e),c=QC(e)%12||12,RC(a,Pv(c,h));case "K":return SC(e),c=QC(e)%12,
RC(a,Pv(c,h));case "H":return SC(e),c=QC(e),RC(a,Pv(c,h));case "c":a:switch(c=d.getDay(),h){case 5:h=a.dateTimeSymbols_.STANDALONENARROWWEEKDAYS[c];break a;case 4:h=a.dateTimeSymbols_.STANDALONEWEEKDAYS[c];break a;case 3:h=a.dateTimeSymbols_.STANDALONESHORTWEEKDAYS[c];break a;default:h=RC(a,Pv(c,1))}return h;case "L":a:switch(c=d.getMonth(),h){case 5:h=a.dateTimeSymbols_.STANDALONENARROWMONTHS[c];break a;case 4:h=a.dateTimeSymbols_.STANDALONEMONTHS[c];break a;case 3:h=a.dateTimeSymbols_.STANDALONESHORTMONTHS[c];
break a;default:h=RC(a,Pv(c+1,h))}return h;case "Q":return c=Math.floor(d.getMonth()/3),h<4?a.dateTimeSymbols_.SHORTQUARTERS[c]:a.dateTimeSymbols_.QUARTERS[c];case "d":return RC(a,Pv(d.getDate(),h));case "m":return SC(e),RC(a,Pv(e.getMinutes?e.getMinutes():0,h));case "s":return SC(e),RC(a,Pv(e.getSeconds(),h));case "v":return(f||aj(c.getTimezoneOffset())).timeZoneId_;case "V":return a=f||aj(c.getTimezoneOffset()),h<=2?a.timeZoneId_:a8b(a,c)>0?a.tzNamesExt_.DST_GENERIC_LOCATION!==void 0?a.tzNamesExt_.DST_GENERIC_LOCATION:
a.tzNamesExt_.DST_GENERIC_LOCATION:a.tzNamesExt_.STD_GENERIC_LOCATION!==void 0?a.tzNamesExt_.STD_GENERIC_LOCATION:a.tzNamesExt_.STD_GENERIC_LOCATION;case "w":return c=e.getFullYear(),d=e.getMonth(),c=V1b(c,d,e.getDate(),a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),RC(a,Pv(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,h));case "z":return a=f||aj(c.getTimezoneOffset()),h<4?a.tzNames_[a8b(a,c)>0?2:0]:a.tzNames_[a8b(a,c)>0?3:1];
case "Z":return d=f||aj(c.getTimezoneOffset()),h<4?(h=-b8b(d,c),a=[h<0?"-":"+"],h=Math.abs(h),a.push(Pv(Math.floor(h/60)%100,2),Pv(h%60,2)),h=a.join("")):h=RC(a,$7b(b8b(d,c))),h;default:return""}};var Nza=new PC("M/d/yyyy");var fAa=function(){this.updates=[];this.hasInitialUpdate=!1;this.summary=[]},gAa=function(a,b){a.updates.push(b);a.hasInitialUpdate=a.hasInitialUpdate||b.version===0;a.author=a.author||b.author;a.statusUpdate=b.statusUpdate||a.statusUpdate;var c;a.firstUpdateVersion=(c=a.firstUpdateVersion)!=null?c:b.version;b.comment&&(a.comment=b.comment,a.commentTimestamp=b.timestamp);return a},Wza=function(a,b){a.summary.push.apply(a.summary,w(b))},cAa=function(a){var b=j9b(a,a.updates.flatMap(Rza)),c=k9b(a,b),
d=c.preDiffs,e=c.postDiffs;c=a.updates.flatMap(function(l){return l.attachments});var f;d={attachments:c,preDiffs:d,postDiffs:e,modifiedDate:Sk(a.commentTimestamp||((f=a.updates[0])==null?void 0:f.timestamp)),userPerformingAction:Dn(a.author),userPerformingActionUser:a.author,version:a.firstUpdateVersion,isMajorEvent:!!a.comment||!!c.length||a.hasInitialUpdate||b.some(function(l){return l.important}),statusUpdate:a.statusUpdate,taggedSummary:a.summary,issueId:a.updates[0].issueId};if(a.comment){d.commentContentVerdict=
a.comment.commentContentVerdict;var h;d.commentDeletionStatus=(h=a.comment.entityStatus)==null?void 0:h.status;d.commentEtag=a.comment.etag;d.commentLastModifiedAtDate=a.comment.lastModified?Math.round(Sk(vj(zj(a.comment.lastModified)))):void 0;d.commentNumber=a.comment.commentNumber;d.commentReactions=a.comment.commentReactions;d.commentRedacted=a.comment.redacted;d.commentRetention=a.comment.piiRetention;d.commentRetentionState=a.comment.piiRetentionState;d.commentVersion=a.comment.version;d.formattedComment=
a.comment.formattedComment;d.formattingMode=a.comment.formattingMode;d.lastCommentEditorUser=a.comment.lastEditorUser;d.unlinkifiedComment=a.comment.unlinkifiedComment}return d},k9b=function(a,b){if(!a.comment)return{preDiffs:b,postDiffs:[]};var c=b.filter(function(d){return d.timestamp<Sk(a.commentTimestamp)});b=b.filter(function(d){return d.timestamp>=Sk(a.commentTimestamp)});return{preDiffs:c,postDiffs:b}},j9b=function(a,b){return a.hasInitialUpdate?b.filter(function(c){return c.name==="isArchived"&&
c.newValue==="false"||c.name==="inProd"&&c.newValue==="false"?!1:!0}):b};var $za=Bj(function(a){return a.modifiedDate},Cj),eAa=Bj(function(a){return a.version},Cj);var l9b=Symbol("qc"),m9b=Symbol("rc"),TC=Symbol("sc"),UC=function(){};UC.prototype.schedule=function(a,b){b=b===void 0?0:b;var c=Ak(),d=c.promise;b=setTimeout(function(){try{var e=a()}catch(f){c.reject(f);d[TC]=!0;return}c.resolve(e);d[TC]=!0},b);d[l9b]=b;d[m9b]=c.reject;d[TC]=!1;return c.promise};UC.prototype.cancel=function(a){var b=a[l9b];if(b==null||a[TC])return!1;clearTimeout(b);var c;(c=a[m9b])==null||c.call(a,Error("tc"));return a[TC]=!0};UC.\u0275fac=function(a){return new (a||UC)};
UC.\u0275prov=n({token:UC,factory:UC.\u0275fac,providedIn:"root"});var VC=function(){this.timeout=r(UC)};VC.prototype.adapt=function(a){return new n9b(this.timeout,a)};VC.\u0275fac=function(a){return new (a||VC)};VC.\u0275prov=n({token:VC,factory:VC.\u0275fac,providedIn:"root"});var n9b=function(a,b){this.timeout=a;this.bulkGet=b;this.batchedInputs=[[]];this.batchedDeferreds=[[]];this.isBatchScheduled=!1};
n9b.prototype.get=function(a){var b=Ak(),c=this.batchedInputs[this.batchedInputs.length-1],d=this.batchedDeferreds[this.batchedDeferreds.length-1];c.length<100?(c.push(a),d.push(b)):(this.batchedInputs.push([a]),this.batchedDeferreds.push([b]));this.isBatchScheduled||o9b(this);return b.promise};
var o9b=function(a){a.isBatchScheduled=!0;a.timeout.schedule(function(){for(var b={},c=0;c<a.batchedInputs.length;b={batchedDeferred:void 0},c++){var d=a.batchedInputs[c];b.batchedDeferred=a.batchedDeferreds[c];a.bulkGet(d).then(function(e){return function(f){for(var h=0;h<e.batchedDeferred.length;h++)e.batchedDeferred[h].resolve(f[h])}}(b),function(e){return function(f){for(var h=k(e.batchedDeferred),l=h.next();!l.done;l=h.next())l.value.reject(f)}}(b))}a.batchedInputs=[[]];a.batchedDeferreds=[[]];
a.isBatchScheduled=!1})};var Hn=function(a){this.internalArray_=m(a,0,Hn.messageId)};Y(Hn,V);Hn.prototype.getResource=function(){return Gh(this,1)};Hn.prototype.setResource=function(a){return gk(this,1,a)};Hn.prototype.getRelation=function(){return Kj(this,2,0)};Hn.prototype.setRelation=function(a){return hk(this,2,a)};Hn.messageId="b.ResourceRelation";var p9b=function(a){this.internalArray_=m(a,0,p9b.messageId)};Y(p9b,V);p9b.messageId="b.UserAccessBatchResponse";var WC=function(){this.resourceNamePattern=RegExp("^((components|issues|hotlists|savedSearches|bookmarkGroups|templates|slos|teams)\\/\\d+|components\\/\\d+\\/slo|components\\/\\d+\\/issueDefaults|teams\\/\\d+\\/slo|issues\\/\\d+\\/(attachments|comments)\\/\\d+)$")};WC.prototype.validate=function(a){return this.resourceNamePattern.test(a)};WC.\u0275fac=function(a){return new (a||WC)};WC.\u0275prov=n({token:WC,factory:WC.\u0275fac,providedIn:"root"});
var YC=function(){var a=this;this.rawUserAccess=r(XC);this.resourceNameValidator=r(WC);this.accesses={};this.accessGetter=r(VC).adapt(function(b){return q9b(a,b)})},q9b=function(a,b){return r9b(a,b).then(function(c){return iAa(b,c)})},$C=function(a,b,c){return a.resourceNameValidator.validate(c)?ZC(a,b,c):Promise.reject(Error("uc`"+c))},s9b=function(a,b){return a.resourceNameValidator.validate(b)?Promise.all([ZC(a,"admin",b),ZC(a,"writer",b),ZC(a,"appender",b),ZC(a,"reader",b)]).then(function(c){var d=
k(c);c=d.next().value;var e=d.next().value;var f=d.next().value;d=d.next().value;return{admin:c,writer:e,appender:f,reader:d}}):Promise.reject(Error("uc`"+b))},r9b=function(a,b){var c=[],d=[];b=k(b);for(var e=b.next();!e.done;e=b.next())e=e.value,c.push(e.relation),d.push(e.resourceName);return Je(a.rawUserAccess.executor.get({url:"action/user_access",options:{params:{relations:c.join(","),resourceNames:d.join(",")}},responseConstructor:p9b}).pipe(B(hAa)))},ZC=function(a,b,c){var d=b+"/"+c,e=a.accesses[d];
if(e)return e;b=a.accessGetter.get({relation:b,resourceName:c}).then(function(f){return f==null?!1:f});a.accesses[d]=b;b.then(function(){delete a.accesses[d]});return b};YC.\u0275fac=function(a){return new (a||YC)};YC.\u0275prov=n({token:YC,factory:YC.\u0275fac,providedIn:"root"});var XC=function(){this.executor=r(OB)};XC.\u0275fac=function(a){return new (a||XC)};XC.\u0275prov=n({token:XC,factory:XC.\u0275fac,providedIn:"root"});var aD=function(a){this.internalArray_=m(a)};Y(aD,V);g=aD.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getSummaryType=function(){return Kj(this,2,0)};g.setSummaryType=function(a){return ej(this,2,a)};var t9b=function(a){this.internalArray_=m(a)};Y(t9b,V);g=t9b.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getSummaryType=function(){return Kj(this,2,0)};g.setSummaryType=function(a){return ej(this,2,a)};var bD=function(a){this.internalArray_=m(a)};Y(bD,V);bD.prototype.setFeedback=function(a){return X(this,d9b,1,a)};var cD=function(a){this.internalArray_=m(a)};Y(cD,V);cD.prototype.setMaxResults=function(a){return uj(this,1,a)};cD.prototype.setView=function(a){return ej(this,2,a)};cD.prototype.setIssueDescriptionView=function(a){return ej(this,3,a)};var dD=function(a){this.internalArray_=m(a)};Y(dD,V);g=dD.prototype;g.getIssueIdsList_asLegacyNumberOrString=function(){return lj(this,1,Wi())};g.getIssueIdsList_asString=function(){return ak(this,1)};g.setIssueIdsList=function(a){return pk(this,1,a)};g.setView=function(a){return ej(this,2,a)};g.setIssueDescriptionView=function(a){return ej(this,3,a)};var u9b=function(a){this.internalArray_=m(a)};Y(u9b,V);g=u9b.prototype;g.getComponentId_asLegacyNumberOrString=function(){return Vj(this,5)};g.getComponentId_asString=function(){return Oo(this,5)};g.setComponentId=function(a){return pl(this,5,a)};g.getTitle=function(){return Gh(this,6)};g.setTitle=function(a){return cj(this,6,a)};g.getComment=function(){return Gh(this,7)};g.setComment=function(a){return cj(this,7,a)};g.getAttachmentsList=function(){return nj(this,rl,8,Wi())};
g.setAttachmentsList=function(a){return $l(this,8,a)};g.addAllAttachments=function(a){Dv(this,8,rl,a)};g.setSignificanceOverride=function(a){return ej(this,2,a)};g.getTemplateId_asLegacyNumberOrString=function(){return Vj(this,4)};g.setTemplateId=function(a){return pl(this,4,a)};var v9b=function(a){this.internalArray_=m(a)};Y(v9b,V);g=v9b.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.setView=function(a){return ej(this,2,a)};g.setIssueDescriptionView=function(a){return ej(this,3,a)};var w9b=function(a){this.internalArray_=m(a)};Y(w9b,V);g=w9b.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.setTargetIdsList=function(a){return pk(this,2,a)};g.setSignificanceOverride=function(a){return ej(this,3,a)};var x9b=function(a){this.internalArray_=m(a)};Y(x9b,V);g=x9b.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.setTargetIdsList=function(a){return pk(this,2,a)};g.setSignificanceOverride=function(a){return ej(this,3,a)};var y9b=function(a){this.internalArray_=m(a)};Y(y9b,V);g=y9b.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.setTargetId=function(a){return pl(this,2,a)};g.setSignificanceOverride=function(a){return ej(this,3,a)};var z9b=function(a){this.internalArray_=m(a)};Y(z9b,V);g=z9b.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.setTargetIdsList=function(a){return pk(this,2,a)};g.setSignificanceOverride=function(a){return ej(this,3,a)};var A9b=function(a){this.internalArray_=m(a)};Y(A9b,V);g=A9b.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.setTargetIdsList=function(a){return pk(this,2,a)};g.setSignificanceOverride=function(a){return ej(this,3,a)};var B9b=function(a){this.internalArray_=m(a)};Y(B9b,V);g=B9b.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.setTargetId=function(a){return pl(this,2,a)};g.setSignificanceOverride=function(a){return ej(this,3,a)};var eD=function(a){this.internalArray_=m(a,0,eD.messageId)};Y(eD,V);eD.prototype.getIt=function(){return W(this,dD,3)};eD.prototype.setIt=function(a){return X(this,dD,3,a)};eD.messageId="b.BatchGetIssuesRequest";var C9b=function(a){this.internalArray_=m(a)};Y(C9b,V);C9b.prototype.getIssuesList=function(){return nj(this,gn,1,Wi())};var fD=function(a){this.internalArray_=m(a,0,fD.messageId)};Y(fD,V);fD.prototype.getIt=function(){return W(this,C9b,2)};fD.prototype.setIt=function(a){return X(this,C9b,2,a)};fD.messageId="b.BatchGetIssuesResponse";var mza=function(a){this.internalArray_=m(a)};Y(mza,V);g=mza.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Hv(this,1)};g.getIssueId_asString=function(){return Nj(this,1)};g.setIssueId=function(a){return lk(this,1,a)};g.getMessage=function(){return Gh(this,2)};g.setMessage=function(a){return gk(this,2,a)};var gD=function(a){this.internalArray_=m(a,0,gD.messageId)};Y(gD,V);gD.prototype.setErrors=function(a,b){yv(this,2,mza,a,b)};gD.messageId="b.BulkEditResponse";var hD=function(a){this.internalArray_=m(a,0,hD.messageId)};Y(hD,V);hD.prototype.getIt=function(){return W(this,aD,1)};hD.prototype.setIt=function(a){return X(this,aD,1,a)};hD.messageId="b.GenerateIssueSummaryRequest";var iD=function(a){this.internalArray_=m(a)};Y(iD,V);g=iD.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getSummaryType=function(){return Kj(this,2,0)};g.setSummaryType=function(a){return ej(this,2,a)};g.getModelVersion=function(){return Zi(this,3)};g.setModelVersion=function(a){return uj(this,3,a)};g.getIssueVersion=function(){return Zi(this,7)};
g.setIssueVersion=function(a){return uj(this,7,a)};g.getVersion=function(){return Zi(this,4)};g.setVersion=function(a){return uj(this,4,a)};g.getSummary=function(){return Gh(this,5)};var jD=function(a){this.internalArray_=m(a,0,jD.messageId)};Y(jD,V);jD.prototype.getIt=function(){return W(this,iD,1)};jD.prototype.setIt=function(a){return X(this,iD,1,a)};jD.messageId="b.GenerateIssueSummaryResponse";var kD=function(a){this.internalArray_=m(a,0,kD.messageId)};Y(kD,V);kD.prototype.getIt=function(){return W(this,iD,4)};kD.prototype.setIt=function(a){return X(this,iD,4,a)};kD.messageId="b.GetIssueSummaryResponse";var lD=function(a){this.internalArray_=m(a)};Y(lD,V);lD.prototype.getReadersList=function(){return nj(this,jl,1,Wi())};lD.prototype.setReadersList=function(a){return $l(this,1,a)};lD.prototype.getAppendersList=function(){return nj(this,jl,2,Wi())};lD.prototype.setAppendersList=function(a){return $l(this,2,a)};var mD=function(a){this.internalArray_=m(a,0,mD.messageId)};Y(mD,V);mD.prototype.getIt=function(){return W(this,lD,4)};mD.prototype.setIt=function(a){return X(this,lD,4,a)};mD.messageId="b.GetRetainedAccessPrincipalsResponse";var nD=function(a){this.internalArray_=m(a,0,nD.messageId)};Y(nD,V);nD.prototype.getIssueId_asLegacyNumberOrString=function(){return Hv(this,1)};nD.prototype.getIssueId_asString=function(){return Nj(this,1)};nD.prototype.setIssueId=function(a){return lk(this,1,a)};nD.messageId="b.IssueCreateResponse";var Eo=function(a){this.internalArray_=m(a,0,Eo.messageId)};Y(Eo,V);Eo.prototype.getIssue=function(){return W(this,xn,1)};Eo.prototype.setIssue=function(a){return X(this,xn,1,a)};Eo.messageId="b.IssueFetchResponse";var D9b=function(a){this.internalArray_=m(a)};Y(D9b,V);g=D9b.prototype;g.getIssuesList=function(){return nj(this,gn,1,Wi())};g.getNextPageToken=function(){return Gh(this,2)};g.getTotalSize=function(){return Zi(this,3)};g.getTotalSizeAccurate=function(){return Fj(this,4)};g.getMaySkipResults=function(){return Fj(this,5)};var oD=function(a){this.internalArray_=m(a,0,oD.messageId)};Y(oD,V);oD.prototype.getIt=function(){return W(this,D9b,6)};oD.prototype.setIt=function(a){return X(this,D9b,6,a)};oD.messageId="b.IssueSearchResponse";var E9b=function(a){this.internalArray_=m(a)};Y(E9b,V);g=E9b.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,10)};g.getIssueId_asString=function(){return Oo(this,10)};g.setIssueId=function(a){return pl(this,10,a)};g.getAuthor=function(){return W(this,bj,1)};g.setAuthor=function(a){X(this,bj,1,a)};g.hasAuthor=function(){return Oj(this,bj,1)};g.getTimestamp=function(){return W(this,wj,2)};g.setTimestamp=function(a){return X(this,wj,2,a)};
g.hasTimestamp=function(){return Oj(this,wj,2)};g.getIssueComment=function(){return W(this,Zm,3)};g.setIssueComment=function(a){X(this,Zm,3,a)};g.hasIssueComment=function(){return Oj(this,Zm,3)};g.getCommentNumber=function(){return Zi(this,4)};g.setCommentNumber=function(a){return uj(this,4,a)};g.getAttachmentsList=function(){return nj(this,rl,8,Wi())};g.setAttachmentsList=function(a){return $l(this,8,a)};g.addAllAttachments=function(a){Dv(this,8,rl,a)};
g.getStatusUpdate=function(){return W(this,fm,9)};g.setStatusUpdate=function(a){X(this,fm,9,a)};g.hasStatusUpdate=function(){return Oj(this,fm,9)};g.getFieldUpdatesList=function(){return nj(this,OC,6,Wi())};g.getVersion=function(){return Zi(this,7)};g.setVersion=function(a){return uj(this,7,a)};var pD=function(a){this.internalArray_=m(a,0,pD.messageId)};Y(pD,V);pD.messageId="b.ListIssueEventsResponse";var qD=function(a){this.internalArray_=m(a,0,qD.messageId)};Y(qD,V);qD.prototype.getIt=function(){return W(this,cD,1)};qD.prototype.setIt=function(a){return X(this,cD,1,a)};qD.messageId="b.ListRecentIssuesRequest";var F9b=function(a){this.internalArray_=m(a)};Y(F9b,V);F9b.prototype.getIssuesList=function(){return nj(this,gn,1,Wi())};var rD=function(a){this.internalArray_=m(a,0,rD.messageId)};Y(rD,V);rD.prototype.getIt=function(){return W(this,F9b,2)};rD.prototype.setIt=function(a){return X(this,F9b,2,a)};rD.messageId="b.ListRecentIssuesResponse";var Nya=function(a){this.internalArray_=m(a)};Y(Nya,V);g=Nya.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Hv(this,1)};g.getIssueId_asString=function(){return Nj(this,1)};g.setIssueId=function(a){return lk(this,1,a)};g.getStatus=function(){return Kj(this,2,0)};g.setStatus=function(a){return hk(this,2,a)};g.hasStatus=function(){return Ij(this,2)};g.getTitle=function(){return Gh(this,3)};g.setTitle=function(a){return gk(this,3,a)};g.getVersion=function(){return Zi(this,4)};
g.setVersion=function(a){return ek(this,4,a)};g.getVersionOrUndefined=function(){return Kv(this,4)};g.getIsArchived=function(){return Fj(this,5)};g.setIsArchived=function(a){return dk(this,5,a)};var G9b=function(a){this.internalArray_=m(a,0,G9b.messageId)};Y(G9b,V);G9b.messageId="b.RelatedIssuesResponse";var sD=function(a){this.internalArray_=m(a,0,sD.messageId)};Y(sD,V);sD.prototype.getIt=function(){return W(this,bD,1)};sD.prototype.setIt=function(a){return X(this,bD,1,a)};sD.messageId="b.SubmitIssueSummaryFeedbackRequest";var tD=function(){this.executor=r(OB);this.userAccess=r(YC);this.activeSession=r(dv)};g=tD.prototype;
g.createIssue=function(a){var b=this;return Re(function(){return $C(b.userAccess,"writer","components/"+a.snapshot.componentId+"/issueDefaults")}).pipe(Nf(function(c){if(c){var d=Sya(a);var e={};a.recaptchaToken&&(e["G-Recaptcha-Response-Token"]=a.recaptchaToken);d=b.executor.post({url:"action/issues",body:d,options:{headers:e},responseConstructor:nD}).pipe(B(Tya))}else{c=(new u9b).setComponentId(a.snapshot.componentId).setTitle(a.snapshot.title).setComment(a.snapshot.comment);var f=Sl(a.snapshot.formattingMode);
c=ej(c,9,f).setAttachmentsList((e=(d=a.attachments)==null?void 0:d.map(fva))!=null?e:[]).setTemplateId(a.templateId);d={};a.recaptchaToken&&(d["G-Recaptcha-Response-Token"]=a.recaptchaToken);d=b.executor.post({url:"action/issues/template",body:c,options:{headers:d},responseConstructor:nD}).pipe(B(Tya))}return d}))};
g.createIssueWithWizard=function(a){var b=Sya(a),c={};a.recaptchaToken&&(c["G-Recaptcha-Response-Token"]=a.recaptchaToken);return this.executor.post({url:"action/issues/wizard",body:b,options:{headers:c},responseConstructor:nD}).pipe(B(Tya))};g.getIssueFull=function(a){var b={},c,d=(c=this.activeSession.getTracker())==null?void 0:c.trackerId;d&&(b.currentTrackerId=d);return this.executor.get({url:"action/issues/"+a,options:{params:b},responseConstructor:Eo}).pipe(B(function(e){return vn(e)}))};
g.getIssueBasic=function(a){var b={},c,d=(c=this.activeSession.getTracker())==null?void 0:c.trackerId;d&&(b.currentTrackerId=d);c=(new v9b).setIssueId(a).setView(1).setIssueDescriptionView(1);return this.executor.post({url:"action/issues/"+a+"/getIssue",options:{params:b},body:c,responseConstructor:Eo}).pipe(B(function(e){return vn(e)}))};
g.batchGetIssuesFull=function(a){a=(new eD).setIt((new dD).setIssueIdsList(a.map(hj).filter(kj)).setView(2).setIssueDescriptionView(2));return this.executor.post({url:"action/issues/batch",body:a,responseConstructor:fD}).pipe(B(function(b){return b.getIt().getIssuesList().map(mm)}))};g.batchGetIssues=function(a){a=(new eD).setIt((new dD).setIssueIdsList(a.map(hj).filter(kj)).setView(1).setIssueDescriptionView(1));return this.executor.post({url:"action/issues/batch",body:a,responseConstructor:fD}).pipe(B(function(b){return b.getIt().getIssuesList().map(mm)}))};
g.updateIssue=function(a,b){b=Jya(b);return this.executor.post({url:"action/issues/"+a,body:b,responseConstructor:Eo}).pipe(B(function(c){return vn(c)}))};g.moveIssueExternal=function(a,b){b=Dya(b);return this.executor.post({url:"action/issues/"+a+"/external_move",body:b,responseConstructor:Eo}).pipe(B(function(c){return vn(c)}))};g.moveIssue=function(a,b){b=Bya(b);return this.executor.post({url:"action/issues/"+a+"/move",body:b,responseConstructor:Eo}).pipe(B(function(c){return vn(c)}))};
g.unCcUser=function(a){var b=zya(a);return this.executor.post({url:"action/issues/"+a+"/unccuser",body:b,responseConstructor:Eo}).pipe(B(function(c){return vn(c)}))};g.updateAccessLimit=function(a,b,c,d){var e=new NC,f=e.setIt,h=(new NB).setIssueId(a);b&&(b=Gua(b),h.setIssueAccessLimit(b));c&&h.setAddedCollaboratorsList(c.map(fj));d&&h.setRemovedCollaboratorsList(d.map(fj));c=f.call(e,h);return this.executor.post({url:"action/issues/"+a+"/accessLimit",body:c,responseConstructor:null})};
g.getRetainedAccessPrincipals=function(a,b,c,d){b=yya(a,b,c,d);return this.executor.post({url:"action/issues/"+a+"/retainedAccessPrincipals",body:b,responseConstructor:mD}).pipe(B(function(e){e=e.getIt();return{readers:e.getReadersList().map(il),appenders:e.getAppendersList().map(il),writers:nj(e,jl,3,Wi()).map(il)}}))};
g.markAsVulnerability=function(a,b){var c=(new GC).setIssueId(Number(a));b&&(b=b.map(fj),$l(c,2,b));c=(new KC).setIt(c);return this.executor.post({url:"action/issues/"+a+"/markAsVulnerability",body:c,responseConstructor:null})};
g.relateIssue=function(a,b){if(b.relation==="BLOCKING"&&b.actionType==="ADD")return this.addBlocking(a,b.targetIds);if(b.relation==="BLOCKING"&&b.actionType==="REMOVE")return this.removeBlocking(a,b.targetIds);if(b.relation==="BLOCKED_BY"&&b.actionType==="ADD")return this.addBlockedBy(a,b.targetIds);if(b.relation==="BLOCKED_BY"&&b.actionType==="REMOVE")return this.removeBlockedBy(a,b.targetIds);if(b.relation==="DUPLICATE"&&b.actionType==="ADD")return H9b(this,a,b.targetIds[0]);if(b.relation==="DUPLICATE"&&
b.actionType==="REMOVE")return I9b(this,a);throw Error("vc");};g.addBlocking=function(a,b){b=(new x9b).setIssueId(Number(a)).setTargetIdsList(b.map(hj).filter(kj));return this.executor.post({url:"action/issues/"+a+"/add_blocking",body:b,responseConstructor:Eo}).pipe(B(function(c){return vn(c)}))};g.removeBlocking=function(a,b){b=(new A9b).setIssueId(Number(a)).setTargetIdsList(b.map(hj).filter(kj));return this.executor.post({url:"action/issues/"+a+"/remove_blocking",body:b,responseConstructor:Eo}).pipe(B(function(c){return vn(c)}))};
g.addBlockedBy=function(a,b){b=(new w9b).setIssueId(Number(a)).setTargetIdsList(b.map(hj).filter(kj));return this.executor.post({url:"action/issues/"+a+"/add_blocked_by",body:b,responseConstructor:Eo}).pipe(B(function(c){return vn(c)}))};g.removeBlockedBy=function(a,b){b=(new z9b).setIssueId(Number(a)).setTargetIdsList(b.map(hj).filter(kj));return this.executor.post({url:"action/issues/"+a+"/remove_blocked_by",body:b,responseConstructor:Eo}).pipe(B(function(c){return vn(c)}))};
var H9b=function(a,b,c){c=(new y9b).setIssueId(Number(b)).setTargetId(Number(c));return a.executor.post({url:"action/issues/"+b+"/mark_as_duplicate",body:c,responseConstructor:Eo}).pipe(B(function(d){return vn(d)}))},I9b=function(a,b){var c=(new B9b).setIssueId(Number(b));return a.executor.post({url:"action/issues/"+b+"/unmark_as_duplicate",body:c,responseConstructor:Eo}).pipe(B(function(d){return vn(d)}))};
tD.prototype.updateIssueHotlists=function(a,b){b=Mya(b);return this.executor.post({url:"action/issues/"+a+"/hotlists",body:b,responseConstructor:Eo}).pipe(B(function(c){return vn(c)}))};tD.prototype.updateIssueRetention=function(a,b){b=Qya(b);return this.executor.post({url:"action/issues/"+a+"/update_retention",body:b,responseConstructor:Eo}).pipe(B(function(c){return vn(c)}))};
tD.prototype.listIssues=function(a,b){b=b===void 0?{}:b;a=Uya(a,b);return this.executor.post({url:"action/issues/list",body:a,responseConstructor:oD}).pipe(B(uza))};var J9b=function(a,b,c,d){c=c===void 0?{}:c;d=d===void 0?{}:d;b=eza(b,c,d);return a.executor.post({url:"action/issues/list_with_experiments",body:b,responseConstructor:oD}).pipe(B(uza))},K9b=function(a,b){var c=new cD;b&&c.setMaxResults(b);b=(new qD).setIt(c);return a.executor.post({url:"action/issues/recent",body:b,responseConstructor:rD}).pipe(B(function(d){return d.getIt().getIssuesList().map(function(e){return mm(e)})}))};
tD.prototype.issueBulkEdit=function(a,b){var c={};b&&(c["G-Recaptcha-Response-Token"]=b);b=new c9b;var d=a.bulkEditOps.map(kza);$l(b,4,d);a.significanceOverride&&b.setSignificanceOverride(a.significanceOverride);return this.executor.post({url:"action/issues/bulk_edit",body:b,responseConstructor:gD,options:{headers:c}}).pipe(B(nza))};
tD.prototype.getRelatedIssues=function(a){var b={};a.q&&(b.q=a.q);a.s&&(b.s=a.s);a.count&&(b.count=String(a.count));a.p&&(b.p=String(a.p));a.trackerId&&(b.trackerId=a.trackerId);var c="action/related";a.resourceType&&(c+="/"+a.resourceType,a.resourceId&&(c+="/"+a.resourceId));return this.executor.get({url:c,options:{params:b},responseConstructor:G9b}).pipe(B(Oya))};
var M9b=function(a,b){var c,d;return a.executor.get({url:"action/issues/"+b+"/events",options:{params:{currentTrackerId:(d=(c=a.activeSession.getTracker())==null?void 0:c.trackerId)!=null?d:""}},responseConstructor:pD}).pipe(B(function(e){return L9b(e,!1)}))},N9b=function(a,b){b=gza(b);return a.executor.post({url:"action/issues/list/events",body:b,responseConstructor:pD}).pipe(B(function(c){return L9b(c,!0)}))};
tD.prototype.getIssueSummary=function(a,b){b=(new t9b).setIssueId(Number(a)).setSummaryType(l7b[b]);return this.executor.post({url:"action/issues/"+a+"/getSummary",body:b,responseConstructor:kD}).pipe(B(function(c){return wza(c.getIt())}))};tD.prototype.generateIssueSummary=function(a,b){b=(new aD).setIssueId(a).setSummaryType(l7b[b]);b=(new hD).setIt(b);return this.executor.post({url:"action/issues/"+a+"/generateSummary",body:b,responseConstructor:jD}).pipe(B(function(c){return wza(c.getIt())}))};
var L9b=function(a,b){a=nj(a,E9b,2,Wi()).map(Dza);return b?aAa(a):Zza(a)};tD.\u0275fac=function(a){return new (a||tD)};tD.\u0275prov=n({token:tD,factory:tD.\u0275fac,providedIn:"root"});var uD=function(){this.observableApi=r(tD)};g=uD.prototype;g.createIssue=function(a){return Je(this.observableApi.createIssue(a))};g.createIssueWithWizard=function(a){return Je(this.observableApi.createIssueWithWizard(a))};g.getIssueFull=function(a){return Je(this.observableApi.getIssueFull(a))};g.getIssueBasic=function(a){return Je(this.observableApi.getIssueBasic(a))};
g.batchGetIssuesFull=function(a){return Je(this.observableApi.batchGetIssuesFull(a))};g.batchGetIssues=function(a){return Je(this.observableApi.batchGetIssues(a))};g.updateIssue=function(a,b){return Je(this.observableApi.updateIssue(a,b))};g.moveIssueExternal=function(a,b){return Je(this.observableApi.moveIssueExternal(a,b))};g.moveIssue=function(a,b){return Je(this.observableApi.moveIssue(a,b))};g.unCcUser=function(a){return Je(this.observableApi.unCcUser(a))};
g.updateAccessLimit=function(a,b,c,d){return Je(this.observableApi.updateAccessLimit(a,b,c,d))};g.getRetainedAccessPrincipals=function(a,b,c,d){return Je(this.observableApi.getRetainedAccessPrincipals(a,b,c,d))};g.markAsVulnerability=function(a,b){return Je(this.observableApi.markAsVulnerability(a,b))};g.relateIssue=function(a,b){return Je(this.observableApi.relateIssue(a,b))};g.updateIssueHotlists=function(a,b){return Je(this.observableApi.updateIssueHotlists(a,b))};
g.updateIssueRetention=function(a,b){return Je(this.observableApi.updateIssueRetention(a,b))};g.listIssues=function(a,b){b=b===void 0?{}:b;return Je(this.observableApi.listIssues(a,b))};g.issueBulkEdit=function(a,b){return Je(this.observableApi.issueBulkEdit(a,b))};g.getRelatedIssues=function(a){return Je(this.observableApi.getRelatedIssues(a))};uD.\u0275fac=function(a){return new (a||uD)};uD.\u0275prov=n({token:uD,factory:uD.\u0275fac,providedIn:"root"});var O9b=new Bd("GMAT_BUTTON_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var vD=function(a,b){this.elementRef=a;this.options=b};vD.prototype.ngOnInit=function(){this.elementRef.nativeElement.querySelector(".mat-icon, .material-icons")&&this.elementRef.nativeElement.classList.add("gmat-mdc-button-with-prefix")};vD.\u0275fac=function(a){return new (a||vD)(af(ge),af(O9b))};
vD.\u0275dir=ud({type:vD,selectors:[["button","mat-button",""],["a","mat-button",""],["button","mat-raised-button",""],["a","mat-raised-button",""],["button","mat-flat-button",""],["a","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-stroked-button",""],["button","mat-icon-button",""],["a","mat-icon-button",""],[""]],hostVars:2,hostBindings:function(a,b){a&2&&ng("gmat-mdc-button",!b.options.disableGmatStyle)}});var P9b=function(){};Y(P9b,l2b);var wD=function(){};Y(wD,P9b);var Q9b=function(a,b,c){a.addEventListener(b,c);return function(){a.removeEventListener(b,c)}};wD.prototype.dispatchEvent=function(a,b){a.dispatchEvent(b)};wD.prototype.remove=function(a){a.remove()};wD.prototype.createElement=function(a,b){b=b||document;return b.createElement(a)};var n2b=function(a,b){return b==="window"?window:b==="document"?a:b==="body"?a.body:null};
wD.prototype.getBaseHref=function(){var a=(R9b=R9b||document.querySelector("base"))?R9b.getAttribute("href"):null;return a==null?null:(new URL(a,document.baseURI)).pathname};var R9b=null;var S9b=function(){},W0b=function(a){kf.getAngularTestability=function(b,c){b=a.findTestabilityInTree(b,c===void 0?!0:c);if(b==null)throw new $c(5103,!1);return b};kf.getAllAngularTestabilities=function(){return Array.from(a._applications.values())};kf.getAllAngularRootElements=function(){return Array.from(a._applications.keys())};kf.frameworkStabilizers||(kf.frameworkStabilizers=[]);kf.frameworkStabilizers.push(function(b){var c=kf.getAllAngularTestabilities(),d=c.length,e=function(){d--;d==0&&b()};
c.forEach(function(f){f.whenStable(e)})})};S9b.prototype.findTestabilityInTree=function(a,b,c){if(b==null)return null;var d=a._applications.get(b)||null;if(d!=null)a=d;else{var e;c?e=b instanceof DocumentFragment?this.findTestabilityInTree(a,b.host,!0):this.findTestabilityInTree(a,b.parentElement,!0):e=null;a=e}return a};var xD=function(){};xD.prototype.build=function(){return new XMLHttpRequest};xD.\u0275fac=function(a){return new (a||xD)};xD.\u0275prov=n({token:xD,factory:xD.\u0275fac});var T9b=new Bd(""),yD=function(a,b){var c=this;this._zone=b;this._eventNameToPlugin=new Map;a.forEach(function(d){d.manager=c});this._plugins=a.slice().reverse()};yD.prototype.addEventListener=function(a,b,c){return this._findPluginFor(b).addEventListener(a,b,c)};yD.prototype._findPluginFor=function(a){var b=this._eventNameToPlugin.get(a);if(b)return b;b=this._plugins.find(function(c){return c.supports(a)});if(!b)throw new $c(5101,!1);this._eventNameToPlugin.set(a,b);return b};
yD.\u0275fac=function(a){return new (a||yD)(md(T9b),md(hh))};yD.\u0275prov=n({token:yD,factory:yD.\u0275fac});var U9b=function(a){this._doc=a};var zD=function(a,b,c,d){d=d===void 0?{}:d;this.doc=a;this.appId=b;this.nonce=c;this.inline=new Map;this.external=new Map;this.hosts=new Set;this.isServer=d==="server";c=this.inline;var e;if(d=(e=a.head)==null?void 0:e.querySelectorAll('style[ng-app-id="'+b+'"]'))for(b=k(d),e=b.next();!e.done;e=b.next())e=e.value,e.textContent&&(e.removeAttribute("ng-app-id"),c.set(e.textContent,{usage:0,elements:[e]}));this.hosts.add(a.head)},W9b=function(a,b,c){b=k(b);for(var d=b.next();!d.done;d=b.next())V9b(a,
d.value,a.inline,kAa);c==null||c.forEach(function(e){return V9b(a,e,a.external,lAa)})},Y9b=function(a,b,c){b=k(b);for(var d=b.next();!d.done;d=b.next())X9b(d.value,a.inline);c==null||c.forEach(function(e){return X9b(e,a.external)})},V9b=function(a,b,c,d){var e=c.get(b);e?e.usage++:c.set(b,{usage:1,elements:[].concat(w(a.hosts)).map(function(f){return a.addElement(f,d(b,a.doc))})})},X9b=function(a,b){var c=b.get(a);c&&(c.usage--,c.usage<=0&&(jAa(c.elements),b.delete(a)))};
zD.prototype.ngOnDestroy=function(){for(var a=k([].concat(w(this.inline),w(this.external))),b=a.next();!b.done;b=a.next())b=k(b.value),b.next(),b=b.next().value.elements,jAa(b);this.hosts.clear()};zD.prototype.addElement=function(a,b){this.nonce&&b.setAttribute("nonce",this.nonce);this.isServer&&b.setAttribute("ng-app-id",this.appId);return a.appendChild(b)};zD.\u0275fac=function(a){return new (a||zD)(md(ei),md(W_b),md(X_b,8),md(Tf))};zD.\u0275prov=n({token:zD,factory:zD.\u0275fac});var Z9b={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},mAa=/%COMP%/g,$9b=new Bd("",{providedIn:"root",factory:function(){return!0}}),BD=function(a,b,c,d,e,f,h,l){this.eventManager=a;this.sharedStylesHost=b;this.appId=c;this.removeStylesOnCompDestroy=d;this.doc=e;this.ngZone=h;this.nonce=l===void 0?null:l;this.rendererByCompId=
new Map;this.platformIsServer=f==="server";this.defaultRenderer=new AD(a,e,h,this.platformIsServer)};
BD.prototype.createRenderer=function(a,b){if(!a||!b)return this.defaultRenderer;this.platformIsServer&&b.encapsulation===3&&(b=Object.assign({},b,{encapsulation:0}));a:{var c=this.rendererByCompId,d=c.get(b.id);if(!d){d=this.doc;var e=this.ngZone,f=this.eventManager,h=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,q=this.platformIsServer;switch(b.encapsulation){case 0:d=new a$b(f,h,b,this.appId,l,d,e,q);break;case 3:b=new b$b(f,h,a,b,d,e,this.nonce,q);break a;default:d=new CD(f,h,b,l,d,e,
q)}c.set(b.id,d)}b=d}b instanceof a$b?(W9b(b.sharedStylesHost,b.styles,b.styleUrls),b.setAttribute(a,b.hostAttr,"")):b instanceof CD&&W9b(b.sharedStylesHost,b.styles,b.styleUrls);return b};BD.prototype.ngOnDestroy=function(){this.rendererByCompId.clear()};BD.\u0275fac=function(a){return new (a||BD)(md(yD),md(zD),md(W_b),md($9b),md(ei),md(Tf),md(hh),md(X_b))};BD.\u0275prov=n({token:BD,factory:BD.\u0275fac});
var AD=function(a,b,c,d){this.eventManager=a;this.doc=b;this.ngZone=c;this.platformIsServer=d;this.data=Object.create(null);this.destroyNode=null};g=AD.prototype;g.destroy=function(){};g.createElement=function(a,b){return b?this.doc.createElementNS(Z9b[b]||b,a):this.doc.createElement(a)};g.createComment=function(a){return this.doc.createComment(a)};g.createText=function(a){return this.doc.createTextNode(a)};g.appendChild=function(a,b){(a.tagName==="TEMPLATE"&&a.content!==void 0?a.content:a).appendChild(b)};
g.insertBefore=function(a,b,c){a&&(a.tagName==="TEMPLATE"&&a.content!==void 0?a.content:a).insertBefore(b,c)};g.removeChild=function(a,b){b.remove()};g.selectRootElement=function(a,b){a=typeof a==="string"?this.doc.querySelector(a):a;if(!a)throw new $c(-5104,!1);b||(a.textContent="");return a};g.parentNode=function(a){return a.parentNode};g.nextSibling=function(a){return a.nextSibling};
g.setAttribute=function(a,b,c,d){d?(b=d+":"+b,(d=Z9b[d])?a.setAttributeNS(d,b,c):a.setAttribute(b,c)):a.setAttribute(b,c)};g.removeAttribute=function(a,b,c){if(c){var d=Z9b[c];d?a.removeAttributeNS(d,b):a.removeAttribute(c+":"+b)}else a.removeAttribute(b)};g.addClass=function(a,b){a.classList.add(b)};g.removeClass=function(a,b){a.classList.remove(b)};g.setStyle=function(a,b,c,d){d&3?a.style.setProperty(b,c,d&1?"important":""):a.style[b]=c};
g.removeStyle=function(a,b,c){c&2?a.style.removeProperty(b):a.style[b]=""};g.setProperty=function(a,b,c){a!=null&&(a[b]=c)};g.setValue=function(a,b){a.nodeValue=b};g.listen=function(a,b,c){if(typeof a==="string"&&(a=n2b(this.doc,a),!a))throw Error("wc`"+a+"`"+b);return this.eventManager.addEventListener(a,b,c$b(this,c))};
var c$b=function(a,b){return function(c){if(c==="__ngUnwrap__")return b;(a.platformIsServer?a.ngZone.runGuarded(function(){return b(c)}):b(c))===!1&&c.preventDefault()}},b$b=function(a,b,c,d,e,f,h,l){AD.call(this,a,e,f,l);this.sharedStylesHost=b;this.hostEl=c;this.shadowRoot=c.attachShadow({mode:"open"});a=this.sharedStylesHost;b=this.shadowRoot;a.hosts.add(b);c=k(a.inline);for(e=c.next();!e.done;e=c.next())e=k(e.value),f=e.next().value,e.next().value.elements.push(a.addElement(b,kAa(f,a.doc)));c=
k(a.external);for(e=c.next();!e.done;e=c.next())e=k(e.value),f=e.next().value,e.next().value.elements.push(a.addElement(b,lAa(f,a.doc)));d=nAa(d.id,d.styles);d=k(d);for(a=d.next();!a.done;a=d.next())a=a.value,b=document.createElement("style"),h&&b.setAttribute("nonce",h),b.textContent=a,this.shadowRoot.appendChild(b)};Y(b$b,AD);var d$b=function(a,b){return b===a.hostEl?a.shadowRoot:b};g=b$b.prototype;g.appendChild=function(a,b){return AD.prototype.appendChild.call(this,d$b(this,a),b)};
g.insertBefore=function(a,b,c){return AD.prototype.insertBefore.call(this,d$b(this,a),b,c)};g.removeChild=function(a,b){return AD.prototype.removeChild.call(this,null,b)};g.parentNode=function(a){return d$b(this,AD.prototype.parentNode.call(this,d$b(this,a)))};g.destroy=function(){this.sharedStylesHost.hosts.delete(this.shadowRoot)};
var CD=function(a,b,c,d,e,f,h,l){AD.call(this,a,e,f,h);this.sharedStylesHost=b;this.removeStylesOnCompDestroy=d;this.styles=l?nAa(l,c.styles):c.styles;var q;this.styleUrls=(q=c.getExternalStyles)==null?void 0:q.call(c,l)};Y(CD,AD);CD.prototype.destroy=function(){this.removeStylesOnCompDestroy&&Y9b(this.sharedStylesHost,this.styles,this.styleUrls)};
var a$b=function(a,b,c,d,e,f,h,l){d=d+"-"+c.id;CD.call(this,a,b,c,e,f,h,l,d);this.contentAttr="_ngcontent-%COMP%".replace(mAa,d);this.hostAttr="_nghost-%COMP%".replace(mAa,d)};Y(a$b,CD);a$b.prototype.createElement=function(a,b){a=CD.prototype.createElement.call(this,a,b);CD.prototype.setAttribute.call(this,a,this.contentAttr,"");return a};var DD=function(a){this._doc=a};Y(DD,U9b);DD.prototype.supports=function(){return!0};DD.prototype.addEventListener=function(a,b,c){var d=this;a.addEventListener(b,c,!1);return function(){return d.removeEventListener(a,b,c)}};DD.prototype.removeEventListener=function(a,b,c){return a.removeEventListener(b,c)};DD.\u0275fac=function(a){return new (a||DD)(md(ei))};DD.\u0275prov=n({token:DD,factory:DD.\u0275fac});var e$b=["alt","control","meta","shift"],f$b={"\b":"Backspace","\t":"Tab","\u007f":"Delete","\u001b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},g$b={alt:function(a){return a.altKey},control:function(a){return a.ctrlKey},meta:function(a){return a.metaKey},shift:function(a){return a.shiftKey}},ED=function(a){this._doc=a};Y(ED,U9b);ED.prototype.supports=function(a){return h$b(a)!=null};
ED.prototype.addEventListener=function(a,b,c){var d=h$b(b),e=i$b(d.fullKey,c,this.manager._zone);return this.manager._zone.runOutsideAngular(function(){return Q9b(a,d.domEventName,e)})};
var h$b=function(a){var b=a.toLowerCase().split(".");a=b.shift();if(b.length===0||a!=="keydown"&&a!=="keyup")return null;var c=j$b(b.pop()),d="",e=b.indexOf("code");e>-1&&(b.splice(e,1),d="code.");e$b.forEach(function(f){var h=b.indexOf(f);h>-1&&(b.splice(h,1),d+=f+".")});d+=c;if(b.length!=0||c.length===0)return null;a={domEventName:a};a.fullKey=d;return a},k$b=function(a,b){var c=f$b[a.key]||a.key,d="";b.indexOf("code.")>-1&&(c=a.code,d="code.");if(c==null||!c)return!1;c=c.toLowerCase();c===" "?
c="space":c==="."&&(c="dot");e$b.forEach(function(e){e!==c&&(0,g$b[e])(a)&&(d+=e+".")});d+=c;return d===b},i$b=function(a,b,c){return function(d){k$b(d,a)&&c.runGuarded(function(){return b(d)})}},j$b=function(a){return a==="esc"?"escape":a};ED.\u0275fac=function(a){return new (a||ED)(md(ei))};ED.\u0275prov=n({token:ED,factory:ED.\u0275fac});var s1b=Hma(x1b,"browser",[{provide:Tf,useValue:"browser"},{provide:Jma,useValue:function(){var a=new wD;k2b!=null||(k2b=a)},multi:!0},{provide:ei,useFactory:function(){return cha=document},deps:[]}]),l$b=new Bd(""),m$b=[{provide:U0b,useClass:S9b,deps:[]},{provide:T0b,useClass:ow,deps:[hh,pw,U0b]},{provide:ow,useClass:ow,deps:[hh,pw,U0b]}],n$b=[{provide:Ima,useValue:"root"},{provide:sf,useFactory:function(){return new sf},deps:[]},{provide:T9b,useClass:DD,multi:!0,deps:[ei,hh,Tf]},{provide:T9b,useClass:ED,
multi:!0,deps:[ei]},BD,zD,yD,{provide:a0b,useExisting:BD},{provide:t2b,useClass:xD,deps:[]},[]],FD=function(){};FD.\u0275fac=function(a){return new (a||FD)(md(l$b,12))};FD.\u0275mod=u({type:FD});FD.\u0275inj=p({providers:[].concat(w(n$b),w(m$b)),imports:[Qw,qw]});var GD=function(a){this._doc=a};GD.prototype.getTitle=function(){return this._doc.title};GD.prototype.setTitle=function(a){this._doc.title=a||""};GD.\u0275fac=function(a){return new (a||GD)(md(ei))};GD.\u0275prov=n({token:GD,factory:GD.\u0275fac,providedIn:"root"});new Bd("HammerGestureConfig");new Bd("HammerLoader");var o$b=function(){},p$b=function(){};var HD=function(a){var b=this;this.normalizedNames=new Map;this.lazyUpdate=null;a?typeof a==="string"?this.lazyInit=function(){b.headers=new Map;a.split("\n").forEach(function(c){var d=c.indexOf(":");d>0&&q$b(b,c.slice(0,d),c.slice(d+1).trim())})}:typeof Headers!=="undefined"&&a instanceof Headers?(this.headers=new Map,a.forEach(function(c,d){q$b(b,d,c)})):this.lazyInit=function(){b.headers=new Map;Object.entries(a).forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;r$b(b,c,d)})}:this.headers=
new Map};g=HD.prototype;g.has=function(a){this.init();return this.headers.has(a.toLowerCase())};g.get=function(a){this.init();return(a=this.headers.get(a.toLowerCase()))&&a.length>0?a[0]:null};g.keys=function(){this.init();return Array.from(this.normalizedNames.values())};g.getAll=function(a){this.init();return this.headers.get(a.toLowerCase())||null};g.append=function(a,b){return this.clone({name:a,value:b,op:"a"})};g.set=function(a,b){return this.clone({name:a,value:b,op:"s"})};
g.delete=function(a,b){return this.clone({name:a,value:b,op:"d"})};var s$b=function(a,b,c){a.normalizedNames.has(c)||a.normalizedNames.set(c,b)};HD.prototype.init=function(){var a=this;this.lazyInit&&(this.lazyInit instanceof HD?t$b(this,this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(b){return u$b(a,b)}),this.lazyUpdate=null))};
var t$b=function(a,b){b.init();Array.from(b.headers.keys()).forEach(function(c){a.headers.set(c,b.headers.get(c));a.normalizedNames.set(c,b.normalizedNames.get(c))})};HD.prototype.clone=function(a){var b=new HD;b.lazyInit=this.lazyInit&&this.lazyInit instanceof HD?this.lazyInit:this;b.lazyUpdate=(this.lazyUpdate||[]).concat([a]);return b};
var u$b=function(a,b){var c=b.name.toLowerCase();switch(b.op){case "a":case "s":var d=b.value;typeof d==="string"&&(d=[d]);if(d.length===0)break;s$b(a,b.name,c);b=(b.op==="a"?a.headers.get(c):void 0)||[];b.push.apply(b,w(d));a.headers.set(c,b);break;case "d":var e=b.value;if(e){if(d=a.headers.get(c))d=d.filter(function(f){return e.indexOf(f)===-1}),d.length===0?(a.headers.delete(c),a.normalizedNames.delete(c)):a.headers.set(c,d)}else a.headers.delete(c),a.normalizedNames.delete(c)}},q$b=function(a,
b,c){var d=b.toLowerCase();s$b(a,b,d);a.headers.has(d)?a.headers.get(d).push(c):a.headers.set(d,[c])},r$b=function(a,b,c){c=(Array.isArray(c)?c:[c]).map(function(e){return e.toString()});var d=b.toLowerCase();a.headers.set(d,c);s$b(a,b,d)};HD.prototype.forEach=function(a){var b=this;this.init();Array.from(this.normalizedNames.keys()).forEach(function(c){return a(b.normalizedNames.get(c),b.headers.get(c))})};var v$b=function(){},pAa=/%(\d[a-f0-9])/gi,qAa={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"},ID=function(a){var b=this;a=a===void 0?{}:a;this.cloneFrom=this.updates=null;this.encoder=a.encoder||new v$b;if(a.fromString){if(a.fromObject)throw Error("xc");this.map=oAa(a.fromString)}else a.fromObject?(this.map=new Map,Object.keys(a.fromObject).forEach(function(c){var d=a.fromObject[c];d=Array.isArray(d)?d.map(sAa):[""+d];b.map.set(c,d)})):this.map=null};g=ID.prototype;
g.has=function(a){this.init();return this.map.has(a)};g.get=function(a){this.init();return(a=this.map.get(a))?a[0]:null};g.getAll=function(a){this.init();return this.map.get(a)||null};g.keys=function(){this.init();return Array.from(this.map.keys())};g.append=function(a,b){return this.clone({param:a,value:b,op:"a"})};g.set=function(a,b){return this.clone({param:a,value:b,op:"s"})};g.delete=function(a,b){return this.clone({param:a,value:b,op:"d"})};
g.toString=function(){var a=this;this.init();return this.keys().map(function(b){var c=rAa(b);return a.map.get(b).map(function(d){return c+"="+rAa(d)}).join("&")}).filter(function(b){return b!==""}).join("&")};g.clone=function(a){var b=new ID({encoder:this.encoder});b.cloneFrom=this.cloneFrom||this;b.updates=(this.updates||[]).concat(a);return b};
g.init=function(){var a=this;this.map===null&&(this.map=new Map);this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(b){return a.map.set(b,a.cloneFrom.map.get(b))}),this.updates.forEach(function(b){switch(b.op){case "a":case "s":var c=(b.op==="a"?a.map.get(b.param):void 0)||[];c.push(""+b.value);a.map.set(b.param,c);break;case "d":if(b.value!==void 0){c=a.map.get(b.param)||[];var d=c.indexOf(""+b.value);d!==-1&&c.splice(d,1);c.length>0?a.map.set(b.param,c):a.map.delete(b.param)}else a.map.delete(b.param)}}),
this.cloneFrom=this.updates=null)};var w$b=function(){this.map=new Map};g=w$b.prototype;g.set=function(a,b){this.map.set(a,b);return this};g.get=function(a){this.map.has(a)||this.map.set(a,a.defaultValue());return this.map.get(a)};g.delete=function(a){this.map.delete(a);return this};g.has=function(a){return this.map.has(a)};g.keys=function(){return this.map.keys()};var JD=function(a,b,c,d){this.url=b;this.body=null;this.withCredentials=this.reportProgress=!1;this.responseType="json";this.method=a.toUpperCase();a:switch(this.method){case "DELETE":case "GET":case "HEAD":case "OPTIONS":case "JSONP":a=!1;break a;default:a=!0}if(a||d)this.body=c!==void 0?c:null,c=d;c&&(this.reportProgress=!!c.reportProgress,this.withCredentials=!!c.withCredentials,c.responseType&&(this.responseType=c.responseType),c.headers&&(this.headers=c.headers),c.context&&(this.context=c.context),
c.params&&(this.params=c.params),this.transferCache=c.transferCache);this.headers!=null||(this.headers=new HD);this.context!=null||(this.context=new w$b);this.params?(c=this.params.toString(),c.length===0?this.urlWithParams=b:(d=b.indexOf("?"),this.urlWithParams=b+(d===-1?"?":d<b.length-1?"&":"")+c)):(this.params=new ID,this.urlWithParams=b)},x$b=function(a){return a.body===null?null:typeof a.body==="string"||tAa(a.body)||uAa(a.body)||vAa(a.body)||typeof URLSearchParams!=="undefined"&&a.body instanceof
URLSearchParams?a.body:a.body instanceof ID?a.body.toString():typeof a.body==="object"||typeof a.body==="boolean"||Array.isArray(a.body)?JSON.stringify(a.body):a.body.toString()},y$b=function(a){return a.body===null||vAa(a.body)?null:uAa(a.body)?a.body.type||null:tAa(a.body)?null:typeof a.body==="string"?"text/plain":a.body instanceof ID?"application/x-www-form-urlencoded;charset=UTF-8":typeof a.body==="object"||typeof a.body==="number"||typeof a.body==="boolean"?"application/json":null};
JD.prototype.clone=function(a){a=a===void 0?{}:a;var b=a.method||this.method,c=a.url||this.url,d=a.responseType||this.responseType,e,f=(e=a.transferCache)!=null?e:this.transferCache;e=a.body!==void 0?a.body:this.body;var h,l=(h=a.withCredentials)!=null?h:this.withCredentials,q;h=(q=a.reportProgress)!=null?q:this.reportProgress;q=a.headers||this.headers;var v=a.params||this.params,y,E=(y=a.context)!=null?y:this.context;a.setHeaders!==void 0&&(q=Object.keys(a.setHeaders).reduce(function(H,O){return H.set(O,
a.setHeaders[O])},q));a.setParams&&(v=Object.keys(a.setParams).reduce(function(H,O){return H.set(O,a.setParams[O])},v));return new JD(b,c,e,{params:v,headers:q,context:E,reportProgress:h,responseType:d,withCredentials:l,transferCache:f})};var KD=function(a,b,c){b=b===void 0?200:b;c=c===void 0?"OK":c;this.headers=a.headers||new HD;this.status=a.status!==void 0?a.status:b;this.statusText=a.statusText||c;this.url=a.url||null;this.ok=this.status>=200&&this.status<300},LD=function(a){a=a===void 0?{}:a;KD.call(this,a);this.type=2};Y(LD,KD);
LD.prototype.clone=function(a){a=a===void 0?{}:a;return new LD({headers:a.headers||this.headers,status:a.status!==void 0?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})};var MD=function(a){a=a===void 0?{}:a;KD.call(this,a);this.type=4;this.body=a.body!==void 0?a.body:null};Y(MD,KD);
MD.prototype.clone=function(a){a=a===void 0?{}:a;return new MD({body:a.body!==void 0?a.body:this.body,headers:a.headers||this.headers,status:a.status!==void 0?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})};
var ND=function(a){KD.call(this,a,0,"Unknown Error");this.name="HttpErrorResponse";this.ok=!1;this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(a.url||"(unknown url)"):"Http failure response for "+(a.url||"(unknown url)")+": "+a.status+" "+a.statusText;this.error=a.error||null};Y(ND,KD);var OD=function(a){this.handler=a};g=OD.prototype;
g.request=function(a,b,c){var d=this;c=c===void 0?{}:c;if(a instanceof JD)b=a;else{var e=void 0;e=c.headers instanceof HD?c.headers:new HD(c.headers);var f=void 0;c.params&&(f=c.params instanceof ID?c.params:new ID({fromObject:c.params}));b=new JD(a,b,c.body!==void 0?c.body:null,{headers:e,context:c.context,params:f,reportProgress:c.reportProgress,responseType:c.responseType||"json",withCredentials:c.withCredentials,transferCache:c.transferCache})}e=Fe(b).pipe(zf(function(h){return d.handler.handle(h)}));
if(a instanceof JD||c.observe==="events")return e;a=e.pipe(Ye(function(h){return h instanceof MD}));switch(c.observe||"body"){case "body":switch(b.responseType){case "arraybuffer":return a.pipe(B(function(h){if(h.body!==null&&!(h.body instanceof ArrayBuffer))throw Error("yc");return h.body}));case "blob":return a.pipe(B(function(h){if(h.body!==null&&!(h.body instanceof Blob))throw Error("zc");return h.body}));case "text":return a.pipe(B(function(h){if(h.body!==null&&typeof h.body!=="string")throw Error("Ac");
return h.body}));default:return a.pipe(B(function(h){return h.body}))}case "response":return a;default:throw Error("Bc`"+c.observe);}};g.delete=function(a,b){b=b===void 0?{}:b;return this.request("DELETE",a,b)};g.get=function(a,b){b=b===void 0?{}:b;return this.request("GET",a,b)};g.head=function(a,b){b=b===void 0?{}:b;return this.request("HEAD",a,b)};g.options=function(a,b){b=b===void 0?{}:b;return this.request("OPTIONS",a,b)};
g.patch=function(a,b,c){c=c===void 0?{}:c;return this.request("PATCH",a,wAa(c,b))};g.post=function(a,b,c){c=c===void 0?{}:c;return this.request("POST",a,wAa(c,b))};g.put=function(a,b,c){c=c===void 0?{}:c;return this.request("PUT",a,wAa(c,b))};OD.\u0275fac=function(a){return new (a||OD)(md(o$b))};OD.\u0275prov=n({token:OD,factory:OD.\u0275fac});var z$b=/^\)\]\}',?\n/,PD=function(){var a,b;this.fetchImpl=(b=(a=r(A$b,{optional:!0}))==null?void 0:a.fetch)!=null?b:function(){return globalThis.fetch.apply(globalThis,w(zd.apply(0,arguments)))};this.ngZone=r(hh)};PD.prototype.handle=function(a){var b=this;return new re(function(c){var d=new AbortController;B$b(b,a,d.signal,c).then(yAa,function(e){return c.error(new ND({error:e}))});return function(){return d.abort()}})};
var B$b=function(a,b,c,d){var e,f,h,l,q,v,y,E,H,O,N,T,da,ja,na,Ia,Pa,Na,bb,ma,Da,Ea,zb;return ve(function(qb){switch(qb.nextAddress){case 1:return e=C$b(b),we(qb,2),h=a.ngZone.runOutsideAngular(function(){return a.fetchImpl(b.urlWithParams,Object.assign({},{signal:c},e))}),h.then(yAa,yAa),d.next({type:0}),xe(qb,h,4);case 4:f=qb.yieldResult;jv(qb,3);break;case 2:return l=Be(qb),d.error(new ND({error:l,status:(q=l.status)!=null?q:0,statusText:l.statusText,url:b.urlWithParams,headers:l.headers})),qb.return();
case 3:v=new HD(f.headers);y=f.statusText;H=(E=xAa(f))!=null?E:b.urlWithParams;O=f.status;N=null;b.reportProgress&&d.next(new LD({headers:v,status:O,statusText:y,url:H}));if(!f.body){qb.jumpTo(5);break}T=f.headers.get("content-length");da=[];ja=f.body.getReader();na=0;Na=typeof Zone!=="undefined"&&Zone.current;return xe(qb,a.ngZone.runOutsideAngular(function(){var dc,fc,qc,Zb,Ae,eb;return ve(function(Cb){if(Cb.nextAddress==1)return xe(Cb,ja.read(),5);dc=Cb.yieldResult;fc=dc.done;qc=dc.value;if(fc)return Cb.jumpTo(0);
da.push(qc);na+=qc.length;b.reportProgress&&(Ae=Zb=void 0,Pa=b.responseType==="text"?((Zb=Pa)!=null?Zb:"")+((Ae=Ia)!=null?Ae:Ia=new TextDecoder).decode(qc,{stream:!0}):void 0,eb=function(){return d.next({type:3,total:T?+T:void 0,loaded:na,partialText:Pa})},Na?Na.run(eb):eb());return Cb.jumpTo(1)})}),6);case 6:bb=D$b(da,na);try{Da=(ma=f.headers.get("Content-Type"))!=null?ma:"",N=E$b(b,bb,Da)}catch(dc){return d.error(new ND({error:dc,headers:new HD(f.headers),status:f.status,statusText:f.statusText,
url:(Ea=xAa(f))!=null?Ea:b.urlWithParams})),qb.return()}case 5:O===0&&(O=N?200:0),(zb=O>=200&&O<300)?(d.next(new MD({body:N,headers:v,status:O,statusText:y,url:H})),d.complete()):d.error(new ND({error:N,headers:v,status:O,statusText:y,url:H})),Ce(qb)}})},E$b=function(a,b,c){switch(a.responseType){case "json":return a=(new TextDecoder).decode(b).replace(z$b,""),a===""?null:JSON.parse(a);case "text":return(new TextDecoder).decode(b);case "blob":return new Blob([b],{type:c});case "arraybuffer":return b.buffer}},
C$b=function(a){var b={},c=a.withCredentials?"include":void 0;a.headers.forEach(function(e,f){return b[e]=f.join(",")});a.headers.has("Accept")||(b.Accept="application/json, text/plain, */*");if(!a.headers.has("Content-Type")){var d=y$b(a);d!==null&&(b["Content-Type"]=d)}return{body:x$b(a),method:a.method,headers:b,credentials:c}},D$b=function(a,b){b=new Uint8Array(b);var c=0;a=k(a);for(var d=a.next();!d.done;d=a.next())d=d.value,b.set(d,c),c+=d.length;return b};
PD.\u0275fac=function(a){return new (a||PD)};PD.\u0275prov=n({token:PD,factory:PD.\u0275fac});var A$b=function(){};var QD=new Bd(""),F$b=new Bd(""),G$b=new Bd(""),H$b=new Bd("",{providedIn:"root",factory:function(){return!0}}),RD=function(a,b){this.backend=a;this.injector=b;this.chain=null;this.pendingTasks=r(jw);this.contributeToStability=r(H$b)};Y(RD,o$b);
RD.prototype.handle=function(a){var b=this;this.chain===null&&(this.chain=Array.from(new Set([].concat(w(this.injector.get(F$b)),w(this.injector.get(G$b,[]))))).reduceRight(function(d,e){return BAa(d,e,b.injector)},zAa));if(this.contributeToStability){var c=this.pendingTasks.add();return this.chain(a,function(d){return b.backend.handle(d)}).pipe(Ff(function(){return b.pendingTasks.remove(c)}))}return this.chain(a,function(d){return b.backend.handle(d)})};
RD.\u0275fac=function(a){return new (a||RD)(md(p$b),md(Uv))};RD.\u0275prov=n({token:RD,factory:RD.\u0275fac});var I$b=/^\)\]\}',?\n/,SD=function(a){this.xhrFactory=a};
SD.prototype.handle=function(a){if(a.method==="JSONP")throw new $c(-2800,!1);var b=this.xhrFactory;return(b.\u0275loadImpl?ue(b.\u0275loadImpl()):Fe(null)).pipe(Nf(function(){return new re(function(c){var d=b.build();d.open(a.method,a.urlWithParams);a.withCredentials&&(d.withCredentials=!0);a.headers.forEach(function(O,N){return d.setRequestHeader(O,N.join(","))});a.headers.has("Accept")||d.setRequestHeader("Accept","application/json, text/plain, */*");if(!a.headers.has("Content-Type")){var e=y$b(a);
e!==null&&d.setRequestHeader("Content-Type",e)}a.responseType&&(e=a.responseType.toLowerCase(),d.responseType=e!=="json"?e:"text");var f=x$b(a),h=null,l=function(){if(h!==null)return h;var O=d.statusText||"OK",N=new HD(d.getAllResponseHeaders()),T=("responseURL"in d&&d.responseURL?d.responseURL:/^X-Request-URL:/m.test(d.getAllResponseHeaders())?d.getResponseHeader("X-Request-URL"):null)||a.url;return h=new LD({headers:N,status:d.status,statusText:O,url:T})},q=function(){var O=l(),N=O.headers,T=O.status,
da=O.statusText;O=O.url;var ja=null;T!==204&&(ja=typeof d.response==="undefined"?d.responseText:d.response);T===0&&(T=ja?200:0);var na=T>=200&&T<300;if(a.responseType==="json"&&typeof ja==="string"){var Ia=ja;ja=ja.replace(I$b,"");try{ja=ja!==""?JSON.parse(ja):null}catch(Pa){ja=Ia,na&&(na=!1,ja={error:Pa,text:ja})}}na?(c.next(new MD({body:ja,headers:N,status:T,statusText:da,url:O||void 0})),c.complete()):c.error(new ND({error:ja,headers:N,status:T,statusText:da,url:O||void 0}))},v=function(O){var N=
l().url;O=new ND({error:O,status:d.status||0,statusText:d.statusText||"Unknown Error",url:N||void 0});c.error(O)},y=!1,E=function(O){y||(c.next(l()),y=!0);var N={type:3,loaded:O.loaded};O.lengthComputable&&(N.total=O.total);a.responseType==="text"&&d.responseText&&(N.partialText=d.responseText);c.next(N)},H=function(O){var N={type:1,loaded:O.loaded};O.lengthComputable&&(N.total=O.total);c.next(N)};d.addEventListener("load",q);d.addEventListener("error",v);d.addEventListener("timeout",v);d.addEventListener("abort",
v);a.reportProgress&&(d.addEventListener("progress",E),f!==null&&d.upload&&d.upload.addEventListener("progress",H));d.send(f);c.next({type:0});return function(){d.removeEventListener("error",v);d.removeEventListener("abort",v);d.removeEventListener("load",q);d.removeEventListener("timeout",v);a.reportProgress&&(d.removeEventListener("progress",E),f!==null&&d.upload&&d.upload.removeEventListener("progress",H));d.readyState!==d.DONE&&d.abort()}})}))};SD.\u0275fac=function(a){return new (a||SD)(md(t2b))};
SD.\u0275prov=n({token:SD,factory:SD.\u0275fac});var CAa=new Bd(""),J$b=new Bd("",{providedIn:"root",factory:function(){return"XSRF-TOKEN"}}),EAa=new Bd("",{providedIn:"root",factory:function(){return"X-XSRF-TOKEN"}}),DAa=function(){},TD=function(a,b,c){this.doc=a;this.platform=b;this.cookieName=c;this.lastCookieString="";this.lastToken=null};
TD.prototype.getToken=function(){if(this.platform==="server")return null;var a=this.doc.cookie||"";if(a!==this.lastCookieString){a:{var b=this.cookieName;b=encodeURIComponent(b);for(var c=k(a.split(";")),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.indexOf("=");e=k(e==-1?[d,""]:[d.slice(0,e),d.slice(e+1)]);d=e.next().value;e=e.next().value;if(d.trim()===b){b=decodeURIComponent(e);break a}}b=null}this.lastToken=b;this.lastCookieString=a}return this.lastToken};
TD.\u0275fac=function(a){return new (a||TD)(md(ei),md(Tf),md(J$b))};TD.\u0275prov=n({token:TD,factory:TD.\u0275fac});var K$b=new Bd("");var UD=function(){};UD.\u0275fac=function(a){return new (a||UD)};UD.\u0275mod=u({type:UD});
UD.\u0275inj=p({providers:[function(){for(var a=[OD,SD,RD,{provide:o$b,useExisting:RD},{provide:p$b,useFactory:function(){var d;return(d=r(PD,{optional:!0}))!=null?d:r(SD)}},{provide:F$b,useValue:FAa,multi:!0},{provide:CAa,useValue:!0},{provide:DAa,useClass:TD}],b=k(zd.apply(0,arguments)),c=b.next();!c.done;c=b.next())a.push.apply(a,w(c.value.\u0275providers));return{"\u0275providers":a}}({"\u0275kind":1,"\u0275providers":[{provide:K$b,useFactory:function(){var a=null;return function(b,c){if(a===
null){var d;a=((d=r(QD,{optional:!0}))!=null?d:[]).reduceRight(AAa,zAa)}var e=r(jw);if(r(H$b)){var f=e.add();return a(b,c).pipe(Ff(function(){return e.remove(f)}))}return a(b,c)}}},{provide:F$b,useExisting:K$b,multi:!0}]})]});new Bd("");new Bd("");var VD=function(){};VD.\u0275fac=function(a){return new (a||VD)};VD.\u0275prov=n({token:VD,factory:function(a){var b=null;return b=a?new (a||VD):md(WD)},providedIn:"root"});var WD=function(a){this._doc=a};Y(WD,VD);
WD.prototype.sanitize=function(a,b){if(b==null)return null;switch(a){case 0:return b;case 1:return hf(b,"HTML")?gf(b):Wia(this._doc,String(b)).toString();case 2:return hf(b,"Style")?gf(b):b;case 3:if(hf(b,"Script"))return gf(b);throw new $c(5200,!1);case 4:return hf(b,"URL")?gf(b):Jia(String(b));case 5:if(hf(b,"ResourceURL"))return gf(b);throw new $c(5201,!1);default:throw new $c(5202,!1);}};WD.prototype.bypassSecurityTrustHtml=function(a){return new A0b(a)};WD.prototype.bypassSecurityTrustUrl=function(a){return new B0b(a)};
WD.prototype.bypassSecurityTrustResourceUrl=function(a){return new C0b(a)};WD.\u0275fac=function(a){return new (a||WD)(md(ei))};WD.\u0275prov=n({token:WD,factory:WD.\u0275fac,providedIn:"root"});var XD=function(a){this.decorated=new WD(a)};Y(XD,VD);XD.prototype.sanitize=function(a,b){if(b==null)return null;if(b instanceof Hc||b instanceof Kc||b instanceof Qc){if(L$b(b,a))return this.decorated.sanitize(a,M$b(this,b));throw Error("Cc`"+L0b[a]+"`"+b);}return this.decorated.sanitize(a,b)};XD.prototype.bypassSecurityTrustHtml=function(){throw Error("Dc");};XD.prototype.bypassSecurityTrustUrl=function(){throw Error("Dc");};
XD.prototype.bypassSecurityTrustResourceUrl=function(){throw Error("Dc");};var M$b=function(a,b){if(b!=null){if(b instanceof Qc)return a.decorated.bypassSecurityTrustHtml(String(b));if(b instanceof Kc)return a.decorated.bypassSecurityTrustUrl(Mc(b));if(b instanceof Hc)return a.decorated.bypassSecurityTrustResourceUrl(String(b))}return null},L$b=function(a,b){switch(b){case 1:return a instanceof Qc;case 4:return a instanceof Kc||a instanceof Hc;case 5:return a instanceof Hc;case 3:return!1;default:return!1}};
XD.\u0275fac=function(a){return new (a||XD)(md(ei))};XD.\u0275prov=n({token:XD,factory:XD.\u0275fac});var N$b=[{provide:M0b,useExisting:VD},{provide:VD,useClass:XD}],YD=function(){};YD.\u0275fac=function(a){return new (a||YD)};YD.\u0275mod=u({type:YD});YD.\u0275inj=p({providers:N$b,imports:[FD]});var GAa;var O$b=function(a,b){this.url=a;this.svgText=null;this.options=b},ZD=function(a,b,c,d){this._httpClient=a;this._sanitizer=b;this._errorHandler=d;this._svgIconConfigs=new Map;this._iconSetConfigs=new Map;this._cachedIconsByUrl=new Map;this._inProgressUrlFetches=new Map;this._fontCssClassesByAlias=new Map;this._resolvers=[];this._defaultFontSetClass=["material-icons","mat-ligature-font"];this._document=c},P$b=function(a,b){return a._fontCssClassesByAlias.get(b)||b},Q$b=function(a,b,c){c=c===void 0?
"":c;var d=c+":"+b,e=a._svgIconConfigs.get(d);return e?a._getSvgFromConfig(e):(e=a._getIconConfigFromResolvers(c,b))?(a._svgIconConfigs.set(d,e),a._getSvgFromConfig(e)):(c=a._iconSetConfigs.get(c))?a._getSvgFromIconSetConfigs(b,c):Ge(Error("Ec`"+d))};g=ZD.prototype;g.ngOnDestroy=function(){this._resolvers=[];this._svgIconConfigs.clear();this._iconSetConfigs.clear();this._cachedIconsByUrl.clear()};g._getSvgFromConfig=function(a){return a.svgText?Fe(this._svgElementFromConfig(a).cloneNode(!0)):this._loadSvgIconFromConfig(a).pipe(B(function(b){return b.cloneNode(!0)}))};
g._getSvgFromIconSetConfigs=function(a,b){var c=this,d=this._extractIconWithNameFromAnySet(a,b);if(d)return Fe(d);d=b.filter(function(e){return!e.svgText}).map(function(e){return c._loadSvgIconSetFromConfig(e).pipe(xf(function(f){f="Loading icon set URL: "+c._sanitizer.sanitize(5,e.url)+" failed: "+f.message;c._errorHandler.handleError(Error(f));return Fe(null)}))});return Se(d).pipe(B(function(){var e=c._extractIconWithNameFromAnySet(a,b);if(!e)throw Error("Ec`"+a);return e}))};
g._extractIconWithNameFromAnySet=function(a,b){for(var c=b.length-1;c>=0;c--){var d=b[c];if(d.svgText&&d.svgText.toString().indexOf(a)>-1){var e=this._svgElementFromConfig(d);if(d=this._extractSvgIconFromSet(e,a,d.options))return d}}return null};g._loadSvgIconFromConfig=function(a){var b=this;return this._fetchIcon(a).pipe(Pf(function(c){return a.svgText=c}),B(function(){return b._svgElementFromConfig(a)}))};
g._loadSvgIconSetFromConfig=function(a){return a.svgText?Fe(null):this._fetchIcon(a).pipe(Pf(function(b){return a.svgText=b}))};
g._extractSvgIconFromSet=function(a,b,c){a=a.querySelector('[id="'+b+'"]');if(!a)return null;a=a.cloneNode(!0);a.removeAttribute("id");if(a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,c);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),c);b=this._svgElementFromString(IAa("<svg></svg>"));b.appendChild(a);return this._setSvgAttributes(b,c)};
g._svgElementFromString=function(a){var b=this._document.createElement("DIV");b.innerHTML=a;a=b.querySelector("svg");if(!a)throw Error("Hc");return a};g._toSvgElement=function(a){for(var b=this._svgElementFromString(IAa("<svg></svg>")),c=a.attributes,d=0;d<c.length;d++){var e=c[d],f=e.name;e=e.value;f!=="id"&&b.setAttribute(f,e)}for(c=0;c<a.childNodes.length;c++)a.childNodes[c].nodeType===this._document.ELEMENT_NODE&&b.appendChild(a.childNodes[c].cloneNode(!0));return b};
g._setSvgAttributes=function(a,b){a.setAttribute("fit","");a.setAttribute("height","100%");a.setAttribute("width","100%");a.setAttribute("preserveAspectRatio","xMidYMid meet");a.setAttribute("focusable","false");b&&b.viewBox&&a.setAttribute("viewBox",b.viewBox);return a};
g._fetchIcon=function(a){var b=this,c=a.url,d,e;a=(e=(d=a.options)==null?void 0:d.withCredentials)!=null?e:!1;if(!this._httpClient)throw Error("Fc");if(c==null)throw Error("Ic`"+c);var f=this._sanitizer.sanitize(5,c);if(!f)throw Error("Gc`"+c);if(c=this._inProgressUrlFetches.get(f))return c;c=this._httpClient.get(f,{responseType:"text",withCredentials:a}).pipe(B(function(h){return IAa(h)}),Ff(function(){return b._inProgressUrlFetches.delete(f)}),oka());this._inProgressUrlFetches.set(f,c);return c};
g._addSvgIconConfig=function(a,b,c){this._svgIconConfigs.set(a+":"+b,c);return this};g._addSvgIconSetConfig=function(a,b){var c=this._iconSetConfigs.get(a);c?c.push(b):this._iconSetConfigs.set(a,[b]);return this};g._svgElementFromConfig=function(a){if(!a.svgElement){var b=this._svgElementFromString(a.svgText);this._setSvgAttributes(b,a.options);a.svgElement=b}return a.svgElement};
g._getIconConfigFromResolvers=function(a,b){for(var c=0;c<this._resolvers.length;c++){var d=this._resolvers[c](b,a);if(d)return d.url&&d.options?new O$b(d.url,d.options):new O$b(d)}};ZD.\u0275fac=function(a){return new (a||ZD)(md(OD,8),md(VD),md(ei,8),md(sf))};ZD.\u0275prov=n({token:ZD,factory:ZD.\u0275fac,providedIn:"root"});new Wv;new Xv;new Wv;new Wv;var R$b=new Bd("MAT_ICON_DEFAULT_OPTIONS"),S$b=new Bd("mat-icon-location",{providedIn:"root",factory:JAa}),T$b="clip-path color-profile src cursor fill filter marker marker-start marker-mid marker-end mask stroke".split(" "),U$b=T$b.map(function(a){return"["+a+"]"}).join(", "),V$b=/^url\(['"]?#(.*?)['"]?\)$/,$D=function(){this._elementRef=r(ge);this._iconRegistry=r(ZD);this._location=r(S$b);this._errorHandler=r(sf);this.inline=!1;this._previousFontSetClass=[];this._currentIconFetch=me.EMPTY;var a=
r(new Vv("aria-hidden"),{optional:!0}),b=r(R$b,{optional:!0});b&&(b.color&&(this.color=this._defaultColor=b.color),b.fontSet&&(this.fontSet=b.fontSet));a||this._elementRef.nativeElement.setAttribute("aria-hidden","true")};g=$D.prototype;g._splitIconName=function(a){if(!a)return["",""];var b=a.split(":");switch(b.length){case 1:return["",b[0]];case 2:return b;default:throw Error("Jc`"+a);}};g.ngOnInit=function(){this._updateFontIconClasses()};
g.ngAfterViewChecked=function(){var a=this._elementsWithExternalReferences;a&&a.size&&(a=this._location.getPathname(),a!==this._previousPath&&(this._previousPath=a,this._prependPathToReferences(a)))};g.ngOnDestroy=function(){this._currentIconFetch.unsubscribe();this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()};g._usingFontIcon=function(){return!this.svgIcon};
g._setSvgElement=function(a){this._clearSvgElement();var b=this._location.getPathname();this._previousPath=b;this._cacheChildrenWithExternalReferences(a);this._prependPathToReferences(b);this._elementRef.nativeElement.appendChild(a)};g._clearSvgElement=function(){var a=this._elementRef.nativeElement,b=a.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();b--;){var c=a.childNodes[b];c.nodeType===1&&c.nodeName.toLowerCase()!=="svg"||c.remove()}};
g._updateFontIconClasses=function(){if(this._usingFontIcon()){var a=this._elementRef.nativeElement,b=(this.fontSet?P$b(this._iconRegistry,this.fontSet).split(/ +/):this._iconRegistry._defaultFontSetClass).filter(function(c){return c.length>0});this._previousFontSetClass.forEach(function(c){return a.classList.remove(c)});b.forEach(function(c){return a.classList.add(c)});this._previousFontSetClass=b;this.fontIcon===this._previousFontIconClass||b.includes("mat-ligature-font")||(this._previousFontIconClass&&
a.classList.remove(this._previousFontIconClass),this.fontIcon&&a.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}};g._cleanupFontValue=function(a){return typeof a==="string"?a.trim().split(" ")[0]:a};g._prependPathToReferences=function(a){var b=this._elementsWithExternalReferences;b&&b.forEach(function(c,d){c.forEach(function(e){d.setAttribute(e.name,"url('"+a+"#"+e.value+"')")})})};
g._cacheChildrenWithExternalReferences=function(a){var b=a.querySelectorAll(U$b),c=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(a={i$jscomp$636:0};a.i$jscomp$636<b.length;a={i$jscomp$636:a.i$jscomp$636},a.i$jscomp$636++)T$b.forEach(function(d){return function(e){var f=b[d.i$jscomp$636],h=f.getAttribute(e);if(h=h?h.match(V$b):null){var l=c.get(f);l||(l=[],c.set(f,l));l.push({name:e,value:h[1]})}}}(a))};
g._updateSvgIcon=function(a){var b=this;this._svgName=this._svgNamespace=null;this._currentIconFetch.unsubscribe();if(a){a=k(this._splitIconName(a));var c=a.next().value,d=a.next().value;c&&(this._svgNamespace=c);d&&(this._svgName=d);this._currentIconFetch=Q$b(this._iconRegistry,d,c).pipe(Cf()).subscribe(function(e){return b._setSvgElement(e)},function(e){b._errorHandler.handleError(Error("Kc`"+c+"`"+d+"`"+e.message))})}};
ea.Object.defineProperties($D.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color||this._defaultColor},set:function(a){this._color=a}},svgIcon:{configurable:!0,enumerable:!0,get:function(){return this._svgIcon},set:function(a){a!==this._svgIcon&&(a?this._updateSvgIcon(a):this._svgIcon&&this._clearSvgElement(),this._svgIcon=a)}},fontSet:{configurable:!0,enumerable:!0,get:function(){return this._fontSet},set:function(a){a=this._cleanupFontValue(a);a!==this._fontSet&&(this._fontSet=
a,this._updateFontIconClasses())}},fontIcon:{configurable:!0,enumerable:!0,get:function(){return this._fontIcon},set:function(a){a=this._cleanupFontValue(a);a!==this._fontIcon&&(this._fontIcon=a,this._updateFontIconClasses())}}});$D.\u0275fac=function(a){return new (a||$D)};
$D.\u0275cmp=t({type:$D,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(a,b){a&2&&(eg("data-mat-icon-type",b._usingFontIcon()?"font":"svg")("data-mat-icon-name",b._svgName||b.fontIcon)("data-mat-icon-namespace",b._svgNamespace||b.fontSet)("fontIcon",b._usingFontIcon()?b.fontIcon:null),og(b.color?"mat-"+b.color:""),ng("mat-icon-inline",b.inline)("mat-icon-no-color",b.color!=="primary"&&b.color!=="accent"&&b.color!=="warn"))},inputs:{color:"color",
inline:[2,"inline","inline",rh],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[dg,$g],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Dg(),Eg(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],
encapsulation:2,changeDetection:0});var aE=new Bd("MatSnackBarData"),W$b=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var X$b=function(){};X$b.\u0275fac=function(a){return new (a||X$b)};X$b.\u0275dir=ud({type:X$b,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0});var Y$b=function(){};Y$b.\u0275fac=function(a){return new (a||Y$b)};Y$b.\u0275dir=ud({type:Y$b,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0});var Z$b=function(){};Z$b.\u0275fac=function(a){return new (a||Z$b)};
Z$b.\u0275dir=ud({type:Z$b,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0});var bE=function(a,b){var c=this;this._overlayRef=b;this._afterDismissed=new Jf;this._afterOpened=new Jf;this._onAction=new Jf;this._dismissedByAction=!1;this.containerInstance=a;a._onExit.subscribe(function(){return c._finishDismiss()})};g=bE.prototype;g.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit();clearTimeout(this._durationTimeoutId)};
g.dismissWithAction=function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss());clearTimeout(this._durationTimeoutId)};g._dismissAfter=function(a){var b=this;this._durationTimeoutId=setTimeout(function(){return b.dismiss()},Math.min(a,2147483647))};g._open=function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())};
g._finishDismiss=function(){this._overlayRef.dispose();this._onAction.closed||this._onAction.complete();this._afterDismissed.next({dismissedByAction:this._dismissedByAction});this._afterDismissed.complete();this._dismissedByAction=!1};g.afterDismissed=function(){return this._afterDismissed};g.afterOpened=function(){return this.containerInstance._onEnter};g.onAction=function(){return this._onAction};var cE=function(){this.snackBarRef=r(bE);this.data=r(aE)};cE.prototype.action=function(){this.snackBarRef.dismissWithAction()};ea.Object.defineProperties(cE.prototype,{hasAction:{configurable:!0,enumerable:!0,get:function(){return!!this.data.action}}});cE.\u0275fac=function(a){return new (a||cE)};
cE.\u0275cmp=t({type:cE,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[$g],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(a,b){a&1&&(I(0,"div",0),Q(1),J(),D(2,KAa,3,1,"div",1));a&2&&(C(),R(" ",b.data.message,"\n"),C(),G(b.hasAction?2:-1))},dependencies:[Vy,X$b,Y$b,Z$b],styles:[".mat-mdc-simple-snack-bar{display:flex}\n"],encapsulation:2,
changeDetection:0});var $$b=ni("state",[qi("void, hidden",pi({transform:"scale(0.8)",opacity:0})),qi("visible",pi({transform:"scale(1)",opacity:1})),si("* => visible",oi("150ms cubic-bezier(0, 0, 0.2, 1)")),si("* => void, * => hidden",oi("75ms cubic-bezier(0.4, 0.0, 1, 1)",pi({opacity:0})))]);var aac=["label"],bac=0,dE=function(){this._isDisposed=!1;this._ngZone=r(hh);this._elementRef=r(ge);this._changeDetectorRef=r(rw);this._platform=r(Xw);this.snackBarConfig=r(W$b);this._document=r(ei);this._trackedModals=new Set;this._announceDelay=150;this._destroyed=!1;this._onAnnounce=new Jf;this._onExit=new Jf;this._onEnter=new Jf;this._animationState="void";this._liveElementId="mat-snack-bar-container-live-"+bac++;var a=this.snackBarConfig;this._live=a.politeness!=="assertive"||a.announcementMessage?
a.politeness==="off"?"off":"polite":"assertive";this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))};Y(dE,oy);g=dE.prototype;g.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._afterPortalAttached();return a};g.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._afterPortalAttached();return a};
g.onAnimationEnd=function(a){var b=a.fromState;a=a.toState;(a==="void"&&b!=="void"||a==="hidden")&&this._completeExit();if(a==="visible"){var c=this._onEnter;this._ngZone.run(function(){c.next();c.complete()})}};g.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())};
g.exit=function(){var a=this;this._ngZone.run(function(){a._animationState="hidden";a._changeDetectorRef.markForCheck();a._elementRef.nativeElement.setAttribute("mat-exit","");clearTimeout(a._announceTimeoutId)})};g.ngOnDestroy=function(){this._destroyed=!0;this._clearFromModals();this._completeExit()};g._completeExit=function(){var a=this;queueMicrotask(function(){a._onExit.next();a._onExit.complete()})};
g._afterPortalAttached=function(){var a=this._elementRef.nativeElement,b=this.snackBarConfig.panelClass;b&&(Array.isArray(b)?b.forEach(function(c){return a.classList.add(c)}):a.classList.add(b));this._exposeToModals();b=this._label.nativeElement;b.classList.toggle("mdc-snackbar__label",!b.querySelector(".mdc-snackbar__label"))};
g._exposeToModals=function(){for(var a=this._liveElementId,b=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]'),c=0;c<b.length;c++){var d=b[c],e=d.getAttribute("aria-owns");this._trackedModals.add(d);e?e.indexOf(a)===-1&&d.setAttribute("aria-owns",e+" "+a):d.setAttribute("aria-owns",a)}};
g._clearFromModals=function(){var a=this;this._trackedModals.forEach(function(b){var c=b.getAttribute("aria-owns");c&&(c=c.replace(a._liveElementId,"").trim(),c.length>0?b.setAttribute("aria-owns",c):b.removeAttribute("aria-owns"))});this._trackedModals.clear()};g._assertNotAttached=function(){};
g._screenReaderAnnounce=function(){var a=this;this._announceTimeoutId||this._ngZone.runOutsideAngular(function(){a._announceTimeoutId=setTimeout(function(){var b=a._elementRef.nativeElement.querySelector("[aria-hidden]"),c=a._elementRef.nativeElement.querySelector("[aria-live]");if(b&&c){var d=null;a._platform.isBrowser&&document.activeElement instanceof HTMLElement&&b.contains(document.activeElement)&&(d=document.activeElement);b.removeAttribute("aria-hidden");c.appendChild(b);var e;(e=d)==null||
e.focus();a._onAnnounce.next();a._onAnnounce.complete()}},a._announceDelay)})};dE.\u0275fac=function(a){return new (a||dE)};
dE.\u0275cmp=t({type:dE,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,b){a&1&&(Mg(ry,7),Mg(aac,7));if(a&2){var c;Qg(c=Rg())&&(b._portalOutlet=c.first);Qg(c=Rg())&&(b._label=c.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:1,hostBindings:function(a,b){a&1&&Cg("@state.done",function(c){return b.onAnimationEnd(c)});a&2&&zg("@state",b._animationState)},standalone:!0,features:[cg,$g],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],
[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,b){a&1&&(I(0,"div",1)(1,"div",2,0)(3,"div",3),D(4,LAa,0,0,"ng-template",4),J(),K(5,"div"),J()());a&2&&(C(5),eg("aria-live",b._live)("role",b._role)("id",b._liveElementId))},dependencies:[ry],styles:[".mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-app-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-app-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-app-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-app-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-app-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-app-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color, var(--mat-app-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}\n"],
encapsulation:2,data:{animation:[$$b]}});/*

 Copyright Google LLC All Rights Reserved.

 Use of this source code is governed by an MIT-style license that can be
 found in the LICENSE file at https://angular.dev/license
 @type {{XSmall: string, Small: string, Medium: string, Large: string, XLarge: string, Handset: string, Tablet: string, Web: string, HandsetPortrait: string, TabletPortrait: string, WebPortrait: string, HandsetLandscape: string, TabletLandscape: string, WebLandscape: string}}
*/
var cac=new Bd("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new W$b}}),eE=function(){this._overlay=r(ty);this._live=r(sx);this._injector=r(Sf);this._breakpointObserver=r(mx);this._parentSnackBar=r(eE,{optional:!0,skipSelf:!0});this._defaultConfig=r(cac);this._snackBarRefAtThisLevel=null;this.simpleSnackBarComponent=cE;this.snackBarContainerComponent=dE;this.handsetCssClass="mat-mdc-snack-bar-handset"};g=eE.prototype;
g.openFromComponent=function(a,b){return this._attach(a,b)};g.open=function(a,b,c){b=b===void 0?"":b;var d=Object.assign({},this._defaultConfig,c);d.data={message:a,action:b};d.announcementMessage===a&&(d.announcementMessage=void 0);return this.openFromComponent(this.simpleSnackBarComponent,d)};g.dismiss=function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()};g.ngOnDestroy=function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()};
g._attachSnackBarContainer=function(a,b){var c=qh({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:W$b,useValue:b}]});a=a.attach(new my(this.snackBarContainerComponent,b.viewContainerRef,c));a.instance.snackBarConfig=b;return a.instance};
g._attach=function(a,b){var c=this,d=Object.assign({},new W$b,this._defaultConfig,b),e=this._createOverlay(d);b=this._attachSnackBarContainer(e,d);var f=new bE(b,e);if(a instanceof Jg)f.instance=b.attachTemplatePortal(new ny(a,null,{$implicit:d.data,snackBarRef:f}));else{var h=this._createInjector(d,f);a=b.attachComponentPortal(new my(a,void 0,h));f.instance=a.instance}this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(Of(e._detachments)).subscribe(function(l){e.overlayElement.classList.toggle(c.handsetCssClass,
l.matches)});d.announcementMessage&&b._onAnnounce.subscribe(function(){c._live.announce(d.announcementMessage,d.politeness)});this._animateSnackBar(f,d);return this._openedSnackBarRef=f};
g._animateSnackBar=function(a,b){var c=this;a.afterDismissed().subscribe(function(){c._openedSnackBarRef==a&&(c._openedSnackBarRef=null);b.announcementMessage&&c._live.clear()});this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){a.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):a.containerInstance.enter();b.duration&&b.duration>0&&a.afterOpened().subscribe(function(){return a._dismissAfter(b.duration)})};
g._createOverlay=function(a){var b=new cy;b.direction=a.direction;var c=this._overlay.position().global(),d=a.direction==="rtl";d=a.horizontalPosition==="left"||a.horizontalPosition==="start"&&!d||a.horizontalPosition==="end"&&d;var e=!d&&a.horizontalPosition!=="center";d?c.left("0"):e?c.right("0"):iy(c);a.verticalPosition==="top"?c.top("0"):c.bottom("0");b.positionStrategy=c;return this._overlay.create(b)};
g._createInjector=function(a,b){return qh({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:bE,useValue:b},{provide:aE,useValue:a.data}]})};ea.Object.defineProperties(eE.prototype,{_openedSnackBarRef:{configurable:!0,enumerable:!0,get:function(){var a=this._parentSnackBar;return a?a._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(a){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=a:this._snackBarRefAtThisLevel=a}}});
eE.\u0275fac=function(a){return new (a||eE)};eE.\u0275prov=n({token:eE,factory:eE.\u0275fac,providedIn:"root"});var fE=function(){};fE.\u0275fac=function(a){return new (a||fE)};fE.\u0275mod=u({type:fE});fE.\u0275inj=p({providers:[eE],imports:[xy,sy,Zy,yy,cE,yy]});var gE=function(){this.snackBar=r(eE)};gE.prototype.open=function(a){var b=a.message;var c=a.dismissLabel;var d=a.actionLabel;var e=a.duration;a=a.snackbarType;c={dismissLabel:c,actionLabel:d,snackbarType:a};typeof b==="string"?c.message=b:c.htmlMessage=b;switch(a){case "ERROR":b="error";break;default:b=void 0}b={data:c,panelClass:b};e&&(b.duration=e);return this.snackBar.openFromComponent(dac,b)};gE.\u0275fac=function(a){return new (a||gE)};gE.\u0275prov=n({token:gE,factory:gE.\u0275fac,providedIn:"root"});
var dac=function(){this.data=r(aE);this.snackBarRef=r(bE)};dac.\u0275fac=function(a){return new (a||dac)};
dac.\u0275cmp=t({type:dac,selectors:[["ng-component"]],decls:7,vars:3,consts:[[1,"snackbar-content"],[1,"message",3,"innerHtml"],[1,"message"],[1,"actions"],["mat-button",""],["mat-icon-button","","aria-label","Dismiss"],["mat-button","",3,"click"],["mat-icon-button","","aria-label","Dismiss",3,"click"],["svgIcon","close"]],template:function(a,b){a&1&&(I(0,"div",0),D(1,MAa,1,1,"span",1)(2,NAa,2,1,"span",2),I(3,"div",3),D(4,OAa,2,1,"button",4)(5,PAa,2,1,"button",4)(6,QAa,2,0,"button",5),J()());a&2&&
(C(),G(b.data.htmlMessage?1:2),C(3),G(b.data.actionLabel?4:-1),C(),G(b.data.dismissLabel?5:6))},dependencies:[$D,vD,Vy,Xy],styles:[".snackbar-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;word-break:break-word}button[_ngcontent-%COMP%]:not(.mat-mdc-icon-button){height:24px;line-height:24px;padding:0 10px}.mat-mdc-icon-button[_ngcontent-%COMP%]{line-height:24px}.actions[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;margin-left:5px;align-items:center}/*# sourceMappingURL=snackbar_content.css.map */"]});var hE=function(){this.snackbar=r(gE)};hE.prototype.dismiss=function(){this.lastSnackbar&&this.lastSnackbar.dismiss()};var du=function(a,b,c){a.open({message:b,duration:c===void 0?1E4:c})},eac=function(a,b,c){a.open({message:b,duration:c===void 0?1E4:c})};hE.prototype.showWarning=function(a,b){this.open({message:a,duration:b===void 0?0:b,snackbarType:"ERROR"})};hE.prototype.open=function(a){return this.lastSnackbar=a=this.snackbar.open(a)};hE.\u0275fac=function(a){return new (a||hE)};
hE.\u0275prov=n({token:hE,factory:hE.\u0275fac,providedIn:"root"});var fac=function(a){var b=Error.call(this,a);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.data={message:a};Object.setPrototypeOf(this,this.constructor.prototype)};Y(fac,Error);var iE=function(){};g=iE.prototype;g.debug=function(){qj.apply(null,w(zd.apply(0,arguments)))};g.error=function(){Kra.apply(null,w(zd.apply(0,arguments)))};g.info=function(){rj.apply(null,w(zd.apply(0,arguments)))};g.log=function(){Jra.apply(null,w(zd.apply(0,arguments)))};g.warn=function(){sj.apply(null,w(zd.apply(0,arguments)))};iE.\u0275fac=function(a){return new (a||iE)};iE.\u0275prov=n({token:iE,factory:iE.\u0275fac,providedIn:"root"});var jE=function(){this.butterBar=r(hE);this.activeSession=r(dv);this.$log=r(iE);this.timeout=r(UC)};
jE.prototype.errorHandler=function(a,b){var c=this;this.timeout.schedule(function(){var d=b.status===403?"Access denied for: "+c.activeSession.getUserEmail():b.status===429?"Request throttled for: "+c.activeSession.getUserEmail()+". Please wait a few seconds and try again.":Kn(b)?Kn(b):b.status===404?"Invalid ID.":b.status===401?"No authorization found. Please refresh the page.":"Unknown HTTP error "+b.status+". Please copy your data and refresh the page.";c.$log.error(d,b);c.butterBar.showWarning(d)})};
var kE=function(a,b){a.$log.warn(b);a.butterBar.showWarning(b)},lE=function(a,b){if(Jn(b))a.errorHandler(null,b);else throw b;};jE.\u0275fac=function(a){return new (a||jE)};jE.\u0275prov=n({token:jE,factory:jE.\u0275fac,providedIn:"root"});var mE=function(){this.issueApi=r(uD);this.templatesApi=r(DC);this.errorHandler=r(jE);this.userAccess=r(YC)},hac=function(a,b){b=a.issueApi.getIssueFull(b).then(function(c){var d=Object,e=d.assign,f=La(c.snapshot),h,l=(h=c.description)==null?void 0:h.unlinkifiedComment;f.comment=l?l.trim():"";f.status="NEW";f.changelist=null;f.gerritChanges=null;f.duplicateIssueId=null;f.duplicateOfIssueId=null;return e.call(d,{},{snapshot:f},{trackerId:c.trackerId})}).then(function(c){return gac(a,c)});b.catch(function(c){a.errorHandler.errorHandler(null,
c)});return b},gac=function(a,b){var c=b.snapshot.hotlistId;if(!c)return b;var d=c.map(function(e){return $C(a.userAccess,"appender","hotlists/"+e)});return Promise.all(d).then(function(e){b.snapshot.hotlistId=c.filter(function(f,h){return e[h]});return b})};mE.\u0275fac=function(a){return new (a||mE)};mE.\u0275prov=n({token:mE,factory:mE.\u0275fac,providedIn:"root"});var nE=function(){this.bookmarkGroupModified=new Jf;this.commentSubmitted=new Jf;this.commentRendered=new Jf;this.componentModified=new Jf;this.contactChipsRevertChanges=new Jf;this.customFieldsModified=new Jf;this.dashboardPanels={moveDown:new Jf,moveUp:new Jf,moveToTop:new Jf,moveToBottom:new Jf,remove:new Jf};this.favoritesModified=new Jf;this.hotlistCreated=new Jf;this.onClickAppMenuIcon=new Jf;this.openEditField=new Jf;this.sidebarWidthChanged=new Jf;this.hotlistChanged=new Jf;this.savedSearchModified=
new Jf;this.sidebarUpdated=new Jf;this.topBarEvents={browseComponents:new Jf,manageHotlists:new Jf,manageSlos:new Jf,setDensity:new Jf,openSettings:new Jf};this.templateModified=new Jf;this.issueViewed=new Jf;this.issueEdited=new Jf;this.focusCommentBox=new Jf;this.scrollToCommentBox=new Jf;this.recaptchaSubmitted=new Jf;this.missionControlTaskCount=new bo(void 0);this.openHelpMeFixSidebar=new Jf;this.closeHelpMeFixSidebar=new Jf;this.didShowIssueHovercard=new Jf};
nE.\u0275fac=function(a){return new (a||nE)};nE.\u0275prov=n({token:nE,factory:nE.\u0275fac,providedIn:"root"});var Yn=Symbol("Lc"),oE=function(a){this.params=a||{}};oE.prototype.has=function(a){return Object.prototype.hasOwnProperty.call(this.params,a)};oE.prototype.get=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a[0]:a):null};oE.prototype.getAll=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a:[a]):[]};ea.Object.defineProperties(oE.prototype,{keys:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.params)}}});var VAa={exact:$Aa,subset:cBa},WAa={exact:YAa,subset:aBa,ignored:function(){return!0}},Qn=function(a,b,c){a=a===void 0?new Pn([],{}):a;b=b===void 0?{}:b;this.root=a;this.queryParams=b;this.fragment=c===void 0?null:c};Qn.prototype.toString=function(){return iac.serialize(this)};ea.Object.defineProperties(Qn.prototype,{queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap!=null||(this._queryParamMap=new oE(this.queryParams));return this._queryParamMap}}});
var Pn=function(a,b){var c=this;this.segments=a;this.children=b;this.parent=null;Object.values(b).forEach(function(d){return d.parent=c})};Pn.prototype.hasChildren=function(){return this.numberOfChildren>0};Pn.prototype.toString=function(){return hBa(this)};ea.Object.defineProperties(Pn.prototype,{numberOfChildren:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.children).length}}});var Un=function(a,b){this.path=a;this.parameters=b};
Un.prototype.toString=function(){return fBa(this.path)+gBa(this.parameters)};var pE=function(){};pE.\u0275fac=function(a){return new (a||pE)};pE.\u0275prov=n({token:pE,factory:function(){return new jac},providedIn:"root"});var jac=function(){};jac.prototype.parse=function(a){a=new kac(a);qE(a,"/");var b=a.remaining===""||a.remaining.startsWith("?")||a.remaining.startsWith("#")?new Pn([],{}):new Pn([],lac(a));return new Qn(b,a.parseQueryParams(),qE(a,"#")?decodeURIComponent(a.remaining):null)};
jac.prototype.serialize=function(a){var b="/"+On(a.root,!0),c=kBa(a.queryParams);a=typeof a.fragment==="string"?"#"+encodeURI(a.fragment):"";return b+c+a};var iac=new jac,lBa=/^[^\/()?;#]+/,mac=/^[^\/()?;=#]+/,nac=/^[^=?&#]+/,oac=/^[^&#]+/,kac=function(a){this.remaining=this.url=a};
kac.prototype.parseQueryParams=function(){var a={};if(qE(this,"?")){do{var b,c=this.remaining.match(nac);if(b=c?c[0]:""){this.capture(b);c="";if(qE(this,"=")){var d;if(d=(d=this.remaining.match(oac))?d[0]:"")c=d,this.capture(c)}b=decodeURIComponent(b.replace(/\+/g,"%20"));c=decodeURIComponent(c.replace(/\+/g,"%20"));a.hasOwnProperty(b)?(d=a[b],Array.isArray(d)||(d=[d],a[b]=d),d.push(c)):a[b]=c}}while(qE(this,"&"))}return a};
var lac=function(a){if(a.remaining==="")return{};qE(a,"/");var b=[];for(a.remaining.startsWith("(")||b.push(pac(a));a.remaining.startsWith("/")&&!a.remaining.startsWith("//")&&!a.remaining.startsWith("/(");)a.capture("/"),b.push(pac(a));var c={};a.remaining.startsWith("/(")&&(a.capture("/"),c=qac(a,!0));var d={};a.remaining.startsWith("(")&&(d=qac(a,!1));if(b.length>0||Object.keys(c).length>0)d.primary=new Pn(b,c);return d},pac=function(a){var b=mBa(a.remaining);if(b===""&&a.remaining.startsWith(";"))throw new $c(4009,
!1);a.capture(b);b=decodeURIComponent(b);for(var c={};qE(a,";");){var d,e=a;if(d=(d=e.remaining.match(mac))?d[0]:""){e.capture(d);var f="";if(qE(e,"=")){var h=mBa(e.remaining);h&&(f=h,e.capture(f))}c[decodeURIComponent(d)]=decodeURIComponent(f)}}return new Un(b,c)},qac=function(a,b){var c={};for(a.capture("(");!qE(a,")")&&a.remaining.length>0;){var d=mBa(a.remaining),e=a.remaining[d.length];if(e!=="/"&&e!==")"&&e!==";")throw new $c(4010,!1);e=void 0;d.indexOf(":")>-1?(e=d.slice(0,d.indexOf(":")),
a.capture(e),a.capture(":")):b&&(e="primary");d=lac(a);c[e]=Object.keys(d).length===1?d.primary:new Pn([],d);qE(a,"//")}return c},qE=function(a,b){return a.remaining.startsWith(b)?(a.remaining=a.remaining.substring(b.length),!0):!1};kac.prototype.capture=function(a){if(!qE(this,a))throw new $c(4011,!1);};var xBa=function(a,b,c){this.isAbsolute=a;this.numberOfDoubleDots=b;this.commands=c;if(a&&c.length>0&&tBa(c[0]))throw new $c(4003,!1);if((a=c.find(Tn))&&a!==(c.length>0?c[c.length-1]:null))throw new $c(4004,!1);},sBa=function(a,b,c){this.segmentGroup=a;this.processChildren=b;this.index=c};var rE=function(a,b){this.id=a;this.url=b},Do=function(a,b,c,d){c=c===void 0?"imperative":c;d=d===void 0?null:d;rE.call(this,a,b);this.type=0;this.navigationTrigger=c;this.restoredState=d};Y(Do,rE);Do.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"};var jo=function(a,b,c){rE.call(this,a,b);this.urlAfterRedirects=c;this.type=1};Y(jo,rE);
jo.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"};var ko=function(a,b,c,d){rE.call(this,a,b);this.reason=c;this.code=d;this.type=2};Y(ko,rE);ko.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"};var mo=function(a,b,c,d){rE.call(this,a,b);this.reason=c;this.code=d;this.type=16};Y(mo,rE);
var lo=function(a,b,c,d){rE.call(this,a,b);this.error=c;this.target=d;this.type=3};Y(lo,rE);lo.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"};var rac=function(a,b,c,d){rE.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=4};Y(rac,rE);rac.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var sac=function(a,b,c,d){rE.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=7};Y(sac,rE);sac.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var tac=function(a,b,c,d,e){rE.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.shouldActivate=e;this.type=8};Y(tac,rE);
tac.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"};var uac=function(a,b,c,d){rE.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=5};Y(uac,rE);uac.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var vac=function(a,b,c,d){rE.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=6};Y(vac,rE);vac.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var wac=function(a){this.route=a;this.type=9};wac.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"};var xac=function(a){this.route=a;this.type=10};
xac.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"};var aCa=function(a){this.snapshot=a;this.type=11};aCa.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var yac=function(a){this.snapshot=a;this.type=12};yac.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};
var bCa=function(a){this.snapshot=a;this.type=13};bCa.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var zac=function(a){this.snapshot=a;this.type=14};zac.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var Aac=function(a,b){this.position=a;this.anchor=b;this.type=15};
Aac.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"};var Bac=function(){},Cac=function(a,b){this.url=a;this.navigationBehaviorOptions=b};var Dac=function(a){this.rootInjector=a;this.route=this.outlet=null;this.children=new sE(this.rootInjector);this.attachRef=null};ea.Object.defineProperties(Dac.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){var a,b;return(b=Wn((a=this.route)==null?void 0:a.snapshot))!=null?b:this.rootInjector},set:function(){}}});
var sE=function(a){this.rootInjector=a;this.contexts=new Map},Eac=function(a,b){if(a=a.getContext(b))a.outlet=null,a.attachRef=null},Fac=function(a,b){var c=a.getContext(b);c||(c=new Dac(a.rootInjector),a.contexts.set(b,c));return c};sE.prototype.getContext=function(a){return this.contexts.get(a)||null};sE.\u0275fac=function(a){return new (a||sE)(md(Uv))};sE.\u0275prov=n({token:sE,factory:sE.\u0275fac,providedIn:"root"});var tE=function(a){this._root=a};tE.prototype.parent=function(a){a=this.pathFromRoot(a);return a.length>1?a[a.length-2]:null};tE.prototype.children=function(a){return(a=EBa(a,this._root))?a.children.map(function(b){return b.value}):[]};tE.prototype.firstChild=function(a){return(a=EBa(a,this._root))&&a.children.length>0?a.children[0].value:null};tE.prototype.pathFromRoot=function(a){return FBa(a,this._root).map(function(b){return b.value})};
ea.Object.defineProperties(tE.prototype,{root:{configurable:!0,enumerable:!0,get:function(){return this._root.value}}});var $n=function(a,b){this.value=a;this.children=b};$n.prototype.toString=function(){return"TreeNode("+this.value+")"};var Gac=function(a,b){this._root=a;this.snapshot=b;HBa(this,a)};Y(Gac,tE);Gac.prototype.toString=function(){return this.snapshot.toString()};
var ao=function(a,b,c,d,e,f,h,l){this.urlSubject=a;this.paramsSubject=b;this.queryParamsSubject=c;this.fragmentSubject=d;this.dataSubject=e;this.outlet=f;this.component=h;this._futureSnapshot=l;var q,v;this.title=(v=(q=this.dataSubject)==null?void 0:q.pipe(B(function(y){return y[Yn]})))!=null?v:Fe(void 0);this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e};ao.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"};
ea.Object.defineProperties(ao.prototype,{routeConfig:{configurable:!0,enumerable:!0,get:function(){return this._futureSnapshot.routeConfig}},root:{configurable:!0,enumerable:!0,get:function(){return this._routerState.root}},parent:{configurable:!0,enumerable:!0,get:function(){return this._routerState.parent(this)}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this._routerState.firstChild(this)}},children:{configurable:!0,enumerable:!0,get:function(){return this._routerState.children(this)}},
pathFromRoot:{configurable:!0,enumerable:!0,get:function(){return this._routerState.pathFromRoot(this)}},paramMap:{configurable:!0,enumerable:!0,get:function(){this._paramMap!=null||(this._paramMap=this.params.pipe(B(function(a){return new oE(a)})));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap!=null||(this._queryParamMap=this.queryParams.pipe(B(function(a){return new oE(a)})));return this._queryParamMap}}});
var uE=function(a,b,c,d,e,f,h,l,q){this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e;this.outlet=f;this.component=h;this.routeConfig=l;this._resolve=q};uE.prototype.toString=function(){return"Route(url:'"+this.url.map(function(a){return a.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"};
ea.Object.defineProperties(uE.prototype,{title:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this.data)==null?void 0:a[Yn]}},root:{configurable:!0,enumerable:!0,get:function(){return this._routerState.root}},parent:{configurable:!0,enumerable:!0,get:function(){return this._routerState.parent(this)}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this._routerState.firstChild(this)}},children:{configurable:!0,enumerable:!0,get:function(){return this._routerState.children(this)}},
pathFromRoot:{configurable:!0,enumerable:!0,get:function(){return this._routerState.pathFromRoot(this)}},paramMap:{configurable:!0,enumerable:!0,get:function(){this._paramMap!=null||(this._paramMap=new oE(this.params));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap!=null||(this._queryParamMap=new oE(this.queryParams));return this._queryParamMap}}});var Hac=function(a,b){this._root=b;this.url=a;HBa(this,b)};Y(Hac,tE);Hac.prototype.toString=function(){return IBa(this._root)};var Iac=new Bd(""),vE=function(){this._activatedRoute=this.activated=null;this.name="primary";this.activateEvents=new kw;this.deactivateEvents=new kw;this.attachEvents=new kw;this.detachEvents=new kw;this.routerOutletData=rma();this.parentContexts=r(sE);this.location=r(Kg);this.changeDetector=r(rw);this.inputBinder=r(Jac,{optional:!0})};vE.prototype.ngOnChanges=function(a){if(a.name){a=a.name;var b=a.previousValue;a.firstChange||(Kac(this,b)&&(this.deactivate(),Eac(this.parentContexts,b)),Lac(this))}};
vE.prototype.ngOnDestroy=function(){Kac(this,this.name)&&Eac(this.parentContexts,this.name);var a;(a=this.inputBinder)==null||Mac(a,this)};var Kac=function(a,b){var c;return((c=a.parentContexts.getContext(b))==null?void 0:c.outlet)===a};vE.prototype.ngOnInit=function(){Lac(this)};
var Lac=function(a){var b=a.parentContexts,c=a.name,d=Fac(b,c);d.outlet=a;b.contexts.set(c,d);!a.activated&&(b=a.parentContexts.getContext(a.name),b==null?0:b.route)&&(b.attachRef?a.attach(b.attachRef,b.route):Nac(a,b.route,b.injector))};vE.prototype.detach=function(){if(!this.activated)throw new $c(4012,!1);this.location.detach();var a=this.activated;this._activatedRoute=this.activated=null;this.detachEvents.emit(a.instance);return a};
vE.prototype.attach=function(a,b){this.activated=a;this._activatedRoute=b;this.location.insert(a.hostView);(b=this.inputBinder)!=null&&(Mac(b,this),Oac(b,this));this.attachEvents.emit(a.instance)};vE.prototype.deactivate=function(){if(this.activated){var a=this.component;this.activated.destroy();this._activatedRoute=this.activated=null;this.deactivateEvents.emit(a)}};
var Nac=function(a,b,c){if(a.isActivated)throw new $c(4013,!1);a._activatedRoute=b;var d=a.location,e=b.snapshot.component,f=Fac(a.parentContexts,a.name).children;a.activated=d.createComponent(e,{index:d.length,injector:new Pac(b,f,d.injector,a.routerOutletData),environmentInjector:c});a.changeDetector.markForCheck();(b=a.inputBinder)!=null&&(Mac(b,a),Oac(b,a));a.activateEvents.emit(a.activated.instance)};
ea.Object.defineProperties(vE.prototype,{activatedComponentRef:{configurable:!0,enumerable:!0,get:function(){return this.activated}},isActivated:{configurable:!0,enumerable:!0,get:function(){return!!this.activated}},component:{configurable:!0,enumerable:!0,get:function(){if(!this.activated)throw new $c(4012,!1);return this.activated.instance}},activatedRoute:{configurable:!0,enumerable:!0,get:function(){if(!this.activated)throw new $c(4012,!1);return this._activatedRoute}}});
vE.\u0275fac=function(a){return new (a||vE)};vE.\u0275dir=ud({type:vE,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Hd]});var Pac=function(a,b,c,d){this.route=a;this.childContexts=b;this.parent=c;this.outletData=d};
Pac.prototype.__ngOutletInjector=function(a){return new Pac(this.route,this.childContexts,a,this.outletData)};Pac.prototype.get=function(a,b){return a===ao?this.route:a===sE?this.childContexts:a===Iac?this.outletData:this.parent.get(a,b)};
var Jac=new Bd(""),wE=function(){this.outletDataSubscriptions=new Map},Mac=function(a,b){var c;(c=a.outletDataSubscriptions.get(b))==null||c.unsubscribe();a.outletDataSubscriptions.delete(b)},Oac=function(a,b){var c=b.activatedRoute,d=Me([c.queryParams,c.params,c.data]).pipe(Nf(function(e,f){var h=k(e);e=h.next().value;var l=h.next().value;h=h.next().value;h=Object.assign({},e,l,h);return f===0?Fe(h):Promise.resolve(h)})).subscribe(function(e){if(b.isActivated&&b.activatedComponentRef&&b.activatedRoute===
c&&c.component!==null){var f=Tma(c.component);if(f){f=k(f.inputs);for(var h=f.next();!h.done;h=f.next())h=h.value.templateName,b.activatedComponentRef.setInput(h,e[h])}else Mac(a,b)}else Mac(a,b)});a.outletDataSubscriptions.set(b,d)};wE.\u0275fac=function(a){return new (a||wE)};wE.\u0275prov=n({token:wE,factory:wE.\u0275fac});var Zn=function(){};Zn.\u0275fac=function(a){return new (a||Zn)};Zn.\u0275cmp=t({type:Zn,selectors:[["ng-component"]],standalone:!0,features:[$g],decls:1,vars:0,template:function(a){a&1&&K(0,"router-outlet")},dependencies:[vE],encapsulation:2});var Rac=function(a,b,c,d){return B(function(e){(new Qac(b,e.targetRouterState,e.currentRouterState,c,d)).activate(a);return e})},Qac=function(a,b,c,d,e){this.routeReuseStrategy=a;this.futureState=b;this.currState=c;this.forwardEvent=d;this.inputBindingEnabled=e};Qac.prototype.activate=function(a){var b=this.futureState._root,c=this.currState?this.currState._root:null;Sac(this,b,c,a);JBa(this.futureState.root);Tac(this,b,c,a)};
var Sac=function(a,b,c,d){var e=Xn(c);b.children.forEach(function(f){var h=f.value.outlet,l=e[h],q=f.value,v=l?l.value:null;q===v?q.component?(q=d.getContext(q.outlet))&&Sac(a,f,l,q.children):Sac(a,f,l,d):v&&Uac(a,l,d);delete e[h]});Object.values(e).forEach(function(f){Uac(a,f,d)})},Uac=function(a,b,c){var d=c.getContext(b.value.outlet);c=d&&b.value.component?d.children:c;b=Xn(b);b=k(Object.values(b));for(var e=b.next();!e.done;e=b.next())Uac(a,e.value,c);d&&(d.outlet&&(d.outlet.deactivate(),d.children.contexts=
new Map),d.attachRef=null,d.route=null)},Tac=function(a,b,c,d){var e=Xn(c);b.children.forEach(function(f){var h=e[f.value.outlet],l=f.value,q=h?h.value:null;JBa(l);l===q?l.component?(l=Fac(d,l.outlet),Tac(a,f,h,l.children)):Tac(a,f,h,d):l.component?(h=Fac(d,l.outlet),h.attachRef=null,h.route=l,h.outlet&&Nac(h.outlet,l,h.injector),Tac(a,f,null,h.children)):Tac(a,f,null,d);a.forwardEvent(new zac(f.value.snapshot))});b.children.length&&a.forwardEvent(new yac(b.value.snapshot))};var SBa=Symbol("Nc");var UBa=function(a){this.path=a;this.route=this.path[this.path.length-1]},VBa=function(a,b){this.component=a;this.route=b};var hCa=function(a){this.segmentGroup=a||null},Vac=function(a){var b=Error.call(this);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.urlTree=a};Y(Vac,Error);
var Wac=function(a,b){this.urlSerializer=a;this.urlTree=b},Xac=function(a){var b=[];for(a=a.root;;){b=b.concat(a.segments);if(a.numberOfChildren===0)return Fe(b);if(a.numberOfChildren>1||!a.children.primary)return Ge(new $c(4E3,!1));a=a.children.primary}},Zac=function(a,b,c,d,e,f){if(typeof c!=="string"){var h=c,l=e.queryParams,q=e.fragment,v=e.routeConfig,y=e.url,E=e.outlet,H=e.params,O=e.data,N=e.title;c=Ed(f,function(){return h({params:H,data:O,queryParams:l,fragment:q,routeConfig:v,url:y,outlet:E,
title:N})});if(c instanceof Qn)throw new Vac(c);}a=Yac(a,c,a.urlSerializer.parse(c),b,d);if(c[0]==="/")throw new Vac(a);return a},Yac=function(a,b,c,d,e){b=$ac(a,b,c.root,d,e);return new Qn(b,abc(c.queryParams,a.urlTree.queryParams),c.fragment)},abc=function(a,b){var c={};Object.entries(a).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;c[d]=typeof e==="string"&&e[0]===":"?b[e.substring(1)]:e});return c},$ac=function(a,b,c,d,e){var f=bbc(c.segments,d,e),h={};Object.entries(c.children).forEach(function(l){var q=
k(l);l=q.next().value;q=q.next().value;h[l]=$ac(a,b,q,d,e)});return new Pn(f,h)},bbc=function(a,b,c){return a.map(function(d){if(d.path[0]===":"){if(d=c[d.path.substring(1)],!d)throw new $c(4001,!1);}else a:for(var e=0,f=k(b),h=f.next();!h.done;h=f.next()){h=h.value;if(h.path===d.path){b.splice(e);d=h;break a}e++}return d})};var jCa={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};var cbc=function(){},sCa=function(a,b,c,d,e,f,h){this.injector=a;this.configLoader=b;this.rootComponentType=c;this.config=d;this.urlTree=e;this.paramsInheritanceStrategy=f;this.urlSerializer=h;this.applyRedirects=new Wac(this.urlSerializer,this.urlTree);this.absoluteRedirectCount=0;this.allowRedirects=!0};
sCa.prototype.recognize=function(){var a=this,b=oCa(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(b).pipe(B(function(c){var d=c.children;c=c.rootSnapshot;d=new Hac("",new $n(c,d));var e=a.urlTree.queryParams,f=a.urlTree.fragment;e=e===void 0?null:e;f=f===void 0?null:f;c=pBa(c);c=vBa(c,[],e,f);c.queryParams=a.urlTree.queryParams;d.url=a.urlSerializer.serialize(c);return{state:d,tree:c}}))};
sCa.prototype.match=function(a){var b=this,c=new uE([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),"primary",this.rootComponentType,null,{});return dbc(this,this.injector,this.config,a,"primary",c).pipe(B(function(d){return{children:d,rootSnapshot:c}}),xf(function(d){if(d instanceof Vac)return b.urlTree=d.urlTree,b.match(d.urlTree.root);if(d instanceof hCa)throw new $c(4002,"'"+d.segmentGroup+"'");throw d;}))};
var dbc=function(a,b,c,d,e,f){return d.segments.length===0&&d.hasChildren()?a.processChildren(b,c,d,f):ebc(a,b,c,d,d.segments,e,!0,f).pipe(B(function(h){return h instanceof $n?[h]:[]}))};
sCa.prototype.processChildren=function(a,b,c,d){for(var e=this,f=[],h=k(Object.keys(c.children)),l=h.next();!l.done;l=h.next())l=l.value,l==="primary"?f.unshift(l):f.push(l);return ue(f).pipe(zf(function(q){var v=c.children[q],y=DBa(b,q);return dbc(e,a,y,v,q,d)}),nka(function(q,v){q.push.apply(q,w(v));return q}),cka(null),jka(),Oe(function(q){if(q===null)return io(c);q=rCa(q);pCa(q);return Fe(q)}))};
var ebc=function(a,b,c,d,e,f,h,l){return ue(c).pipe(zf(function(q){var v;return fbc(a,(v=q._injector)!=null?v:b,c,q,d,e,f,h,l).pipe(xf(function(y){if(y instanceof hCa)return Fe(null);throw y;}))}),Gf(function(q){return!!q}),xf(function(q){if(WBa(q))return e.length!==0||d.children[f]?io(d):Fe(new cbc);throw q;}))},fbc=function(a,b,c,d,e,f,h,l,q){return Vn(d)===h||h!=="primary"&&nCa(e,f,d)?d.redirectTo===void 0?gbc(a,b,e,d,f,h,q):a.allowRedirects&&l?hbc(a,b,e,c,d,f,h,q):io(e):io(e)},hbc=function(a,
b,c,d,e,f,h,l){var q=iCa(c,e,f),v=q.parameters,y=q.consumedSegments,E=q.positionalParamSegments,H=q.remainingSegments;if(!q.matched)return io(c);typeof e.redirectTo==="string"&&e.redirectTo[0]==="/"&&(a.absoluteRedirectCount++,a.absoluteRedirectCount>31&&(a.allowRedirects=!1));var O,N;f=new uE(f,v,Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,e.data||{},Vn(e),(N=(O=e.component)!=null?O:e._loadedComponent)!=null?N:null,e,e.resolve||{});O=GBa(f,l,a.paramsInheritanceStrategy);
f.params=Object.freeze(O.params);f.data=Object.freeze(O.data);e=Zac(a.applyRedirects,y,e.redirectTo,E,f,b);return Xac(e).pipe(Oe(function(T){return ebc(a,b,d,c,T.concat(H),h,!1,l)}))},gbc=function(a,b,c,d,e,f,h){var l=kCa(c,d,e,b);d.path==="**"&&(c.children={});return l.pipe(Nf(function(q){if(!q.matched)return io(c);var v;b=(v=d._injector)!=null?v:b;return ibc(a,b,d,e).pipe(Nf(function(y){y=y.routes;var E,H=(E=d._loadedInjector)!=null?E:b;E=q.consumedSegments;var O=q.remainingSegments,N,T,da=new uE(E,
q.parameters,Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,d.data||{},Vn(d),(T=(N=d.component)!=null?N:d._loadedComponent)!=null?T:null,d,d.resolve||{});N=GBa(da,h,a.paramsInheritanceStrategy);da.params=Object.freeze(N.params);da.data=Object.freeze(N.data);T=oCa(c,E,O,y);N=T.segmentGroup;T=T.slicedSegments;return T.length===0&&N.hasChildren()?a.processChildren(H,y,N,da).pipe(B(function(ja){return new $n(da,ja)})):y.length===0&&T.length===0?Fe(new $n(da,[])):ebc(a,H,y,N,
T,Vn(d)===f?"primary":f,!0,da).pipe(B(function(ja){return new $n(da,ja instanceof $n?[ja]:[])}))}))}))},ibc=function(a,b,c,d){return c.children?Fe({routes:c.children,injector:b}):c.loadChildren?c._loadedRoutes!==void 0?Fe({routes:c._loadedRoutes,injector:c._loadedInjector}):fCa(b,c,d).pipe(Oe(function(e){return e?a.configLoader.loadChildren(b,c).pipe(Pf(function(f){c._loadedRoutes=f.routes;c._loadedInjector=f.injector})):Ge(PBa(3))})):Fe({routes:[],injector:b})};var xE=function(){},jbc=function(a){for(a=a.root;a!==void 0;){var b=void 0;var c=(b=a.data[Yn])!=null?b:c;a=a.children.find(function(d){return d.outlet==="primary"})}return c};xE.\u0275fac=function(a){return new (a||xE)};xE.\u0275prov=n({token:xE,factory:function(){return r(yE)},providedIn:"root"});var yE=function(a){this.title=a};Y(yE,xE);yE.\u0275fac=function(a){return new (a||yE)(md(GD))};yE.\u0275prov=n({token:yE,factory:yE.\u0275fac,providedIn:"root"});var kbc=new Bd("",{providedIn:"root",factory:function(){return{}}});var DCa=new Bd(""),zE=function(){this.componentLoaders=new WeakMap;this.childrenLoaders=new WeakMap;r(ww)};
zE.prototype.loadComponent=function(a){var b=this;if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return Fe(a._loadedComponent);if(this.onLoadStartListener)this.onLoadStartListener(a);var c=Mn(a.loadComponent()).pipe(B(ACa),Pf(function(d){if(b.onLoadEndListener)b.onLoadEndListener(a);a._loadedComponent=d}),Ff(function(){b.componentLoaders.delete(a)}));c=(new Hf(c,function(){return new Jf})).pipe(Hha());this.componentLoaders.set(a,c);return c};
zE.prototype.loadChildren=function(a,b){var c=this;if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return Fe({routes:b._loadedRoutes,injector:b._loadedInjector});if(this.onLoadStartListener)this.onLoadStartListener(b);a=ECa(b,a,this.onLoadEndListener).pipe(Ff(function(){c.childrenLoaders.delete(b)}));a=(new Hf(a,function(){return new Jf})).pipe(Hha());this.childrenLoaders.set(b,a);return a};zE.\u0275fac=function(a){return new (a||zE)};
zE.\u0275prov=n({token:zE,factory:zE.\u0275fac,providedIn:"root"});var AE=function(){};AE.\u0275fac=function(a){return new (a||AE)};AE.\u0275prov=n({token:AE,factory:function(){return r(BE)},providedIn:"root"});var BE=function(){};BE.prototype.extract=function(a){return a};BE.prototype.merge=function(a){return a};BE.\u0275fac=function(a){return new (a||BE)};BE.\u0275prov=n({token:BE,factory:BE.\u0275fac,providedIn:"root"});var lbc=new Bd(""),FCa=new Bd("");var mbc=new Bd(""),CE=function(){var a=this;this.lastSuccessfulNavigation=this.currentTransition=this.currentNavigation=null;this.events=new Jf;this.transitionAbortSubject=new Jf;this.configLoader=r(zE);this.environmentInjector=r(Uv);this.urlSerializer=r(pE);this.rootContexts=r(sE);this.location=r(Ww);this.inputBindingEnabled=r(Jac,{optional:!0})!==null;this.titleStrategy=r(xE);this.options=r(kbc,{optional:!0})||{};this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";
this.urlHandlingStrategy=r(AE);this.createViewTransition=r(lbc,{optional:!0});this.navigationErrorHandler=r(mbc,{optional:!0});this.navigationId=0;this.afterPreactivation=function(){return Fe(void 0)};this.rootComponentType=null;this.configLoader.onLoadEndListener=function(b){return a.events.next(new xac(b))};this.configLoader.onLoadStartListener=function(b){return a.events.next(new wac(b))}};CE.prototype.complete=function(){var a;(a=this.transitions)==null||a.complete()};
var nbc=function(a,b){var c=++a.navigationId,d;(d=a.transitions)==null||d.next(Object.assign({},a.transitions.value,b,{id:c}))},rbc=function(a,b,c,d){a.transitions=new bo({id:0,currentUrlTree:c,currentRawUrl:c,extractedUrl:a.urlHandlingStrategy.extract(c),urlAfterRedirects:a.urlHandlingStrategy.extract(c),rawUrl:c,extras:{},resolve:function(){},reject:function(){},promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:d.snapshot,targetSnapshot:null,currentRouterState:d,
targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null});return a.transitions.pipe(Ye(function(e){return e.id!==0}),B(function(e){return Object.assign({},e,{extractedUrl:a.urlHandlingStrategy.extract(e.rawUrl)})}),Nf(function(e){var f=!1,h=!1;return Fe(e).pipe(Nf(function(l){if(a.navigationId>e.id)return obc(a,e,1),We;a.currentTransition=e;a.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl===
"string"?a.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:a.lastSuccessfulNavigation?Object.assign({},a.lastSuccessfulNavigation,{previousNavigation:null}):null};var q=!b.navigated||pbc(a)||qbc(a),v,y=(v=l.extras.onSameUrlNavigation)!=null?v:b.onSameUrlNavigation;return q||y==="reload"?Fe(l).pipe(Nf(function(E){var H,O=(H=a.transitions)==null?void 0:H.getValue();a.events.next(new Do(E.id,a.urlSerializer.serialize(E.extractedUrl),E.source,
E.restoredState));var N;return O!==((N=a.transitions)==null?void 0:N.getValue())?We:Promise.resolve(E)}),tCa(a.environmentInjector,a.configLoader,a.rootComponentType,b.config,a.urlSerializer,a.paramsInheritanceStrategy),Pf(function(E){e.targetSnapshot=E.targetSnapshot;e.urlAfterRedirects=E.urlAfterRedirects;a.currentNavigation=Object.assign({},a.currentNavigation,{finalUrl:E.urlAfterRedirects});E=new rac(E.id,a.urlSerializer.serialize(E.extractedUrl),a.urlSerializer.serialize(E.urlAfterRedirects),
E.targetSnapshot);a.events.next(E)})):(a.events.next(new mo(l.id,a.urlSerializer.serialize(l.rawUrl),"",0)),l.resolve(!1),We)}),Pf(function(l){l=new sac(l.id,a.urlSerializer.serialize(l.extractedUrl),a.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);a.events.next(l)}),B(function(l){var q=Object,v=q.assign;var y=l.currentSnapshot;var E=l.targetSnapshot._root;y=fo(E,y?y._root:null,a.rootContexts,[E.value]);return a.currentTransition=e=v.call(q,{},l,{guards:y})}),ZBa(a.environmentInjector,
function(l){return a.events.next(l)}),Pf(function(l){if((e.guardsResult=l.guardsResult)&&typeof l.guardsResult!=="boolean")throw QBa(l.guardsResult);l=new tac(l.id,a.urlSerializer.serialize(l.extractedUrl),a.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);a.events.next(l)}),Ye(function(l){return l.guardsResult?!0:(obc(a,l,3),!1)}),zCa(function(l){if(l.guards.canActivateChecks.length)return Fe(l).pipe(Pf(function(q){q=new uac(q.id,a.urlSerializer.serialize(q.extractedUrl),
a.urlSerializer.serialize(q.urlAfterRedirects),q.targetSnapshot);a.events.next(q)}),Nf(function(q){var v=!1;return Fe(q).pipe(wCa(a.paramsInheritanceStrategy,a.environmentInjector),Pf({next:function(){return v=!0},complete:function(){v||obc(a,q,2)}}))}),Pf(function(q){q=new vac(q.id,a.urlSerializer.serialize(q.extractedUrl),a.urlSerializer.serialize(q.urlAfterRedirects),q.targetSnapshot);a.events.next(q)}))}),zCa(function(l){var q=function(v){var y=[],E;((E=v.routeConfig)==null?0:E.loadComponent)&&
!v.routeConfig._loadedComponent&&y.push(a.configLoader.loadComponent(v.routeConfig).pipe(Pf(function(O){v.component=O}),B(function(){})));E=k(v.children);for(var H=E.next();!H.done;H=E.next())y.push.apply(y,w(q(H.value)));return y};return Me(q(l.targetSnapshot.root)).pipe(cka(null),Cf())}),zCa(function(){return a.afterPreactivation()}),Nf(function(){var l=e,q=l.currentSnapshot;l=l.targetSnapshot;var v,y=(v=a.createViewTransition)==null?void 0:v.call(a,a.environmentInjector,q.root,l.root);return y?
ue(y).pipe(B(function(){return e})):Fe(e)}),B(function(l){var q=l.targetSnapshot;var v=l.currentRouterState;v=OBa(b.routeReuseStrategy,q._root,v?v._root:void 0);q=new Gac(v,q);a.currentTransition=e=Object.assign({},l,{targetRouterState:q});a.currentNavigation.targetRouterState=q;return e}),Pf(function(){a.events.next(new Bac)}),Rac(a.rootContexts,b.routeReuseStrategy,function(l){return a.events.next(l)},a.inputBindingEnabled),Cf(),Pf({next:function(l){f=!0;a.lastSuccessfulNavigation=a.currentNavigation;
a.events.next(new jo(l.id,a.urlSerializer.serialize(l.extractedUrl),a.urlSerializer.serialize(l.urlAfterRedirects)));var q;if((q=a.titleStrategy)!=null){var v=jbc(l.targetRouterState.snapshot);v!==void 0&&q.title.setTitle(v)}l.resolve(!0)},complete:function(){f=!0}}),Of(a.transitionAbortSubject.pipe(Pf(function(l){throw l;}))),Ff(function(){f||h||obc(a,e,1);var l;((l=a.currentTransition)==null?void 0:l.id)===e.id&&(a.currentNavigation=null,a.currentTransition=null)}),xf(function(l){h=!0;if(RBa(l))a.events.next(new ko(e.id,
a.urlSerializer.serialize(e.extractedUrl),l.message,l.cancellationCode)),RBa(l)&&Rn(l.url)?a.events.next(new Cac(l.url,l.navigationBehaviorOptions)):e.resolve(!1);else{var q,v=new lo(e.id,a.urlSerializer.serialize(e.extractedUrl),l,(q=e.targetSnapshot)!=null?q:void 0);try{throw Ed(a.environmentInjector,function(){var y;return(y=a.navigationErrorHandler)==null?void 0:y.call(a,v)}),a.events.next(v),l;}catch(y){a.options.resolveNavigationPromiseOnError?e.resolve(!1):e.reject(y)}}return We}))}))},obc=
function(a,b,c){c=new ko(b.id,a.urlSerializer.serialize(b.extractedUrl),"",c);a.events.next(c);b.resolve(!1)},pbc=function(a){var b,c;return((b=a.currentTransition)==null?void 0:b.extractedUrl.toString())!==((c=a.currentTransition)==null?void 0:c.currentUrlTree.toString())},qbc=function(a){var b=a.urlHandlingStrategy.extract(a.urlSerializer.parse(a.location.path(!0))),c,d,e,f=(e=(c=a.currentNavigation)==null?void 0:c.targetBrowserUrl)!=null?e:(d=a.currentNavigation)==null?void 0:d.extractedUrl,h;
return b.toString()!==(f==null?void 0:f.toString())&&!((h=a.currentNavigation)==null?0:h.extras.skipLocationChange)};ea.Object.defineProperties(CE.prototype,{hasRequestedNavigation:{configurable:!0,enumerable:!0,get:function(){return this.navigationId!==0}}});CE.\u0275fac=function(a){return new (a||CE)};CE.\u0275prov=n({token:CE,factory:CE.\u0275fac,providedIn:"root"});var DE=function(){};DE.\u0275fac=function(a){return new (a||DE)};DE.\u0275prov=n({token:DE,factory:function(){return r(EE)},providedIn:"root"});var sbc=function(){};sbc.prototype.store=function(){};sbc.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig};var EE=function(){};Y(EE,sbc);EE.\u0275fac=function(){var a;return function(b){return(a||(a=de(EE)))(b||EE)}}();EE.\u0275prov=n({token:EE,factory:EE.\u0275fac,providedIn:"root"});var FE=function(){};FE.\u0275fac=function(a){return new (a||FE)};FE.\u0275prov=n({token:FE,factory:function(){return r(GE)},providedIn:"root"});
var GE=function(){this.location=r(Ww);this.urlSerializer=r(pE);this.options=r(kbc,{optional:!0})||{};this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";this.urlHandlingStrategy=r(AE);this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";this.rawUrlTree=this.currentUrlTree=new Qn;this.currentPageId=0;this.lastSuccessfulId=-1;var a=new Hac("",new $n(new uE([],{},{},"",{},"primary",null,null,{}),[])),b=new ao(new bo([new Un("",{})]),new bo({}),new bo({}),
new bo(""),new bo({}),"primary",null,a.root);b.snapshot=a.root;this.routerState=new Gac(new $n(b,[]),a);this.stateMemento=tbc(this)};Y(GE,FE);GE.prototype.restoredState=function(){return this.location.getState()};
var tbc=function(a){return{rawUrlTree:a.rawUrlTree,currentUrlTree:a.currentUrlTree,routerState:a.routerState}},ubc=function(a,b){return a.location.subscribe(function(c){c.type==="popstate"&&b(c.url,c.state)})},wbc=function(a,b,c){b=b instanceof Qn?a.urlSerializer.serialize(b):b;var d=a.location;var e=e===void 0?"":e;d.path()==d.normalize(b+Sh(e))||c.extras.replaceUrl?(c=Object.assign({},c.extras.state,vbc(a,c.id,a.browserPageId)),a.location.replaceState(b,"",c)):(c=Object.assign({},c.extras.state,
vbc(a,c.id,a.browserPageId+1)),a.location.go(b,"",c))},ybc=function(a,b,c){c=c===void 0?!1:c;a.canceledNavigationResolution==="computed"?(c=a.currentPageId-a.browserPageId,c!==0?a.location.historyGo(c):a.currentUrlTree===b.finalUrl&&c===0&&(a.resetState(b),xbc(a))):a.canceledNavigationResolution==="replace"&&(c&&a.resetState(b),xbc(a))};
GE.prototype.resetState=function(a){this.routerState=this.stateMemento.routerState;this.currentUrlTree=this.stateMemento.currentUrlTree;var b;this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,(b=a.finalUrl)!=null?b:this.rawUrlTree)};var xbc=function(a){a.location.replaceState(a.urlSerializer.serialize(a.rawUrlTree),"",vbc(a,a.lastSuccessfulId,a.currentPageId))},vbc=function(a,b,c){return a.canceledNavigationResolution==="computed"?{navigationId:b,"\u0275routerPageId":c}:{navigationId:b}};
ea.Object.defineProperties(GE.prototype,{browserPageId:{configurable:!0,enumerable:!0,get:function(){if(this.canceledNavigationResolution!=="computed")return this.currentPageId;var a,b;return(b=(a=this.restoredState())==null?void 0:a.\u0275routerPageId)!=null?b:this.currentPageId}}});GE.\u0275fac=function(){var a;return function(b){return(a||(a=de(GE)))(b||GE)}}();GE.\u0275prov=n({token:GE,factory:GE.\u0275fac,providedIn:"root"});var zbc={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Abc={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},HE=function(){var a=this;this.disposed=!1;this.console=r(nw);this.stateManager=r(FE);this.options=r(kbc,{optional:!0})||{};this.pendingTasks=r(jw);this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";this.navigationTransitions=r(CE);this.urlSerializer=r(pE);this.location=r(Ww);this.urlHandlingStrategy=r(AE);this._events=
new Jf;this.navigated=!1;this.routeReuseStrategy=r(DE);this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";var b,c;this.config=(c=(b=r(DCa,{optional:!0}))==null?void 0:b.flat())!=null?c:[];r(Jac,{optional:!0});this.eventsSubscription=new me;this.config=this.config.map(LBa);this.navigated=!1;rbc(this.navigationTransitions,this,this.currentUrlTree,this.routerState).subscribe({error:function(d){a.console.warn(d)}});Bbc(this)},Bbc=function(a){var b=a.navigationTransitions.events.subscribe(function(c){try{var d=
a.navigationTransitions.currentTransition,e=a.navigationTransitions.currentNavigation;if(d!==null&&e!==null){var f=a.stateManager;if(c instanceof Do)f.stateMemento=tbc(f);else if(c instanceof mo)f.rawUrlTree=e.initialUrl;else if(c instanceof rac){if(f.urlUpdateStrategy==="eager"&&!e.extras.skipLocationChange){var h=f.urlHandlingStrategy.merge(e.finalUrl,e.initialUrl),l;wbc(f,(l=e.targetBrowserUrl)!=null?l:h,e)}}else if(c instanceof Bac){if(f.currentUrlTree=e.finalUrl,f.rawUrlTree=f.urlHandlingStrategy.merge(e.finalUrl,
e.initialUrl),f.routerState=e.targetRouterState,f.urlUpdateStrategy==="deferred"&&!e.extras.skipLocationChange){var q;wbc(f,(q=e.targetBrowserUrl)!=null?q:f.rawUrlTree,e)}}else c instanceof ko&&(c.code===3||c.code===2)?ybc(f,e):c instanceof lo?ybc(f,e,!0):c instanceof jo&&(f.lastSuccessfulId=c.id,f.currentPageId=f.browserPageId);if(c instanceof ko&&c.code!==0&&c.code!==1)a.navigated=!0;else if(c instanceof jo)a.navigated=!0;else if(c instanceof Cac){var v=c.navigationBehaviorOptions,y=a.urlHandlingStrategy.merge(c.url,
d.currentRawUrl),E=Object.assign({},{browserUrl:d.extras.browserUrl,info:d.extras.info,skipLocationChange:d.extras.skipLocationChange,replaceUrl:d.extras.replaceUrl||a.urlUpdateStrategy==="eager"||d.source!=="imperative"},v);Cbc(a,y,"imperative",null,E,{resolve:d.resolve,reject:d.reject,promise:d.promise})}}c instanceof Bac||c instanceof Cac||a._events.next(c)}catch(H){a.navigationTransitions.transitionAbortSubject.next(H)}});a.eventsSubscription.add(b)};
HE.prototype.initialNavigation=function(){Dbc(this);this.navigationTransitions.hasRequestedNavigation||Ebc(this,this.location.path(!0),"imperative",this.stateManager.restoredState())};
var Dbc=function(a){a.nonRouterCurrentEntryChangeSubscription!=null||(a.nonRouterCurrentEntryChangeSubscription=ubc(a.stateManager,function(b,c){setTimeout(function(){Ebc(a,b,"popstate",c)},0)}))},Ebc=function(a,b,c,d){var e={replaceUrl:!0},f=(d==null?0:d.navigationId)?d:null;d&&(d=Object.assign({},d),delete d.navigationId,delete d.\u0275routerPageId,Object.keys(d).length!==0&&(e.state=d));b=a.parseUrl(b);Cbc(a,b,c,f,e)};HE.prototype.ngOnDestroy=function(){this.dispose()};
HE.prototype.dispose=function(){this.navigationTransitions.complete();this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0);this.disposed=!0;this.eventsSubscription.unsubscribe()};
var IE=function(a,b,c){var d=c=c===void 0?{}:c;c=d.relativeTo;var e=d.queryParams,f=d.fragment;f=d.preserveFragment?a.currentUrlTree.fragment:f;var h;switch((h=d.queryParamsHandling)!=null?h:a.options.defaultQueryParamsHandling){case "merge":h=Object.assign({},a.currentUrlTree.queryParams,e);break;case "preserve":h=a.currentUrlTree.queryParams;break;default:h=e||null}h!==null&&(h=Fbc(h));try{var l=pBa(c?c.snapshot:a.routerState.snapshot.root)}catch(q){if(typeof b[0]!=="string"||b[0][0]!=="/")b=[];
l=a.currentUrlTree.root}return vBa(l,b,h,f!=null?f:null)},Vt=function(a,b,c){c=c===void 0?{skipLocationChange:!1}:c;b=Rn(b)?b:a.parseUrl(b);b=a.urlHandlingStrategy.merge(b,a.rawUrlTree);return Cbc(a,b,"imperative",null,c)};HE.prototype.navigate=function(a,b){b=b===void 0?{skipLocationChange:!1}:b;for(var c=0;c<a.length;c++)if(a[c]==null)throw new $c(4008,!1);return Vt(this,IE(this,a,b),b)};HE.prototype.parseUrl=function(a){try{return this.urlSerializer.parse(a)}catch(b){return this.urlSerializer.parse("/")}};
HE.prototype.isActive=function(a,b){var c;b===!0?c=Object.assign({},zbc):b===!1?c=Object.assign({},Abc):c=b;if(Rn(a))return XAa(this.currentUrlTree,a,c);a=this.parseUrl(a);return XAa(this.currentUrlTree,a,c)};
var Fbc=function(a){return Object.entries(a).reduce(function(b,c){var d=k(c);c=d.next().value;d=d.next().value;d!==null&&d!==void 0&&(b[c]=d);return b},{})},Cbc=function(a,b,c,d,e,f){if(a.disposed)return Promise.resolve(!1);if(f){var h=f.resolve;var l=f.reject;f=f.promise}else f=new Promise(function(v,y){h=v;l=y});var q=a.pendingTasks.add();ICa(a,function(){queueMicrotask(function(){return a.pendingTasks.remove(q)})});nbc(a.navigationTransitions,{source:c,restoredState:d,currentUrlTree:a.currentUrlTree,
currentRawUrl:a.currentUrlTree,rawUrl:b,extras:e,resolve:h,reject:l,promise:f,currentSnapshot:a.routerState.snapshot,currentRouterState:a.routerState});return f.catch(function(v){return Promise.reject(v)})};
ea.Object.defineProperties(HE.prototype,{currentUrlTree:{configurable:!0,enumerable:!0,get:function(){return this.stateManager.currentUrlTree}},rawUrlTree:{configurable:!0,enumerable:!0,get:function(){return this.stateManager.rawUrlTree}},events:{configurable:!0,enumerable:!0,get:function(){return this._events}},routerState:{configurable:!0,enumerable:!0,get:function(){return this.stateManager.routerState}},url:{configurable:!0,enumerable:!0,get:function(){return this.urlSerializer.serialize(this.currentUrlTree)}},
lastSuccessfulNavigation:{configurable:!0,enumerable:!0,get:function(){return this.navigationTransitions.lastSuccessfulNavigation}}});HE.\u0275fac=function(a){return new (a||HE)};HE.\u0275prov=n({token:HE,factory:HE.\u0275fac,providedIn:"root"});var JE=function(a,b,c,d,e,f){var h=this;this.router=a;this.route=b;this.tabIndexAttribute=c;this.renderer=d;this.el=e;this.locationStrategy=f;this.href=null;this.onChanges=new Jf;this.replaceUrl=this.skipLocationChange=this.preserveFragment=!1;this.routerLinkInput=null;var l;b=(l=e.nativeElement.tagName)==null?void 0:l.toLowerCase();(this.isAnchorElement=b==="a"||b==="area")?this.subscription=a.events.subscribe(function(q){q instanceof jo&&Gbc(h)}):Hbc(this,"0")},Hbc=function(a,b){a.tabIndexAttribute!=
null||a.isAnchorElement||Ibc(a,"tabindex",b)};JE.prototype.ngOnChanges=function(){this.isAnchorElement&&Gbc(this);this.onChanges.next(this)};JE.prototype.onClick=function(a,b,c,d,e){var f=this.urlTree;if(f===null||this.isAnchorElement&&(a!==0||b||c||d||e||typeof this.target==="string"&&this.target!="_self"))return!0;Vt(this.router,f,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info});return!this.isAnchorElement};
JE.prototype.ngOnDestroy=function(){var a;(a=this.subscription)==null||a.unsubscribe()};var Gbc=function(a){var b=a.urlTree,c;a.href=b!==null&&a.locationStrategy?(c=a.locationStrategy)==null?void 0:c.prepareExternalUrl(a.router.urlSerializer.serialize(b)):null;a.href===null?b=null:(b=a.el.nativeElement.tagName.toLowerCase(),b=(b==="base"||b==="link"?cja:of)(a.href));Ibc(a,"href",b)},Ibc=function(a,b,c){var d=a.renderer;a=a.el.nativeElement;c!==null?d.setAttribute(a,b,c):d.removeAttribute(a,b)};
ea.Object.defineProperties(JE.prototype,{routerLink:{configurable:!0,enumerable:!0,set:function(a){a==null?(this.routerLinkInput=null,Hbc(this,null)):(Rn(a)?this.routerLinkInput=a:this.routerLinkInput=Array.isArray(a)?a:[a],Hbc(this,"0"))}},urlTree:{configurable:!0,enumerable:!0,get:function(){return this.routerLinkInput===null?null:Rn(this.routerLinkInput)?this.routerLinkInput:IE(this.router,this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,
fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}});JE.\u0275fac=function(a){return new (a||JE)(af(HE),af(ao),Zd("tabindex"),af($v),af(ge),af(Tw))};
JE.\u0275dir=ud({type:JE,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(c){return b.onClick(c.button,c.ctrlKey,c.shiftKey,c.altKey,c.metaKey)});a&2&&eg("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",rh],skipLocationChange:[2,"skipLocationChange","skipLocationChange",
rh],replaceUrl:[2,"replaceUrl","replaceUrl",rh],routerLink:"routerLink"},standalone:!0,features:[dg,Hd]});var KE=function(a,b,c,d,e){var f=this;this.router=a;this.element=b;this.renderer=c;this.cdr=d;this.link=e;this.classes=[];this._isActive=!1;this.routerLinkActiveOptions={exact:!1};this.isActiveChange=new kw;this.routerEventsSubscription=a.events.subscribe(function(h){h instanceof jo&&f.update()})};KE.prototype.ngAfterContentInit=function(){var a=this;Fe(this.links.changes,Fe(null)).pipe(Pe()).subscribe(function(){a.update();Jbc(a)})};
var Jbc=function(a){var b;(b=a.linkInputChangesSubscription)==null||b.unsubscribe();b=[].concat(w(a.links.toArray()),[a.link]).filter(function(c){return!!c}).map(function(c){return c.onChanges});a.linkInputChangesSubscription=ue(b).pipe(Pe()).subscribe(function(c){a._isActive!==Kbc(a,a.router)(c)&&a.update()})};KE.prototype.ngOnChanges=function(){this.update()};KE.prototype.ngOnDestroy=function(){this.routerEventsSubscription.unsubscribe();var a;(a=this.linkInputChangesSubscription)==null||a.unsubscribe()};
KE.prototype.update=function(){var a=this;this.links&&this.router.navigated&&queueMicrotask(function(){var b=Lbc(a);a.classes.forEach(function(c){b?a.renderer.addClass(a.element.nativeElement,c):a.renderer.removeClass(a.element.nativeElement,c)});b&&a.ariaCurrentWhenActive!==void 0?a.renderer.setAttribute(a.element.nativeElement,"aria-current",a.ariaCurrentWhenActive.toString()):a.renderer.removeAttribute(a.element.nativeElement,"aria-current");a._isActive!==b&&(a._isActive=b,a.cdr.markForCheck(),
a.isActiveChange.emit(b))})};var Kbc=function(a,b){var c=a.routerLinkActiveOptions.paths?a.routerLinkActiveOptions:a.routerLinkActiveOptions.exact||!1;return function(d){return(d=d.urlTree)?b.isActive(d,c):!1}},Lbc=function(a){var b=Kbc(a,a.router);return a.link&&b(a.link)||a.links.some(b)};
ea.Object.defineProperties(KE.prototype,{isActive:{configurable:!0,enumerable:!0,get:function(){return this._isActive}},routerLinkActive:{configurable:!0,enumerable:!0,set:function(a){this.classes=(Array.isArray(a)?a:a.split(" ")).filter(function(b){return!!b})}}});KE.\u0275fac=function(a){return new (a||KE)(af(HE),af(ge),af($v),af(rw),af(JE,8))};
KE.\u0275dir=ud({type:KE,selectors:[["","routerLinkActive",""]],contentQueries:function(a,b,c){a&1&&Ng(c,JE,5);if(a&2){var d;Qg(d=Rg())&&(b.links=d)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Hd]});var Mbc=function(){},LE=function(a,b,c,d,e){this.router=a;this.injector=c;this.preloadingStrategy=d;this.loader=e},Nbc=function(a){a.subscription=a.router.events.pipe(Ye(function(b){return b instanceof jo}),zf(function(){return a.preload()})).subscribe(function(){})};LE.prototype.preload=function(){return Obc(this,this.injector,this.router.config)};LE.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()};
var Obc=function(a,b,c){var d=[];c=k(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;e.providers&&!e._injector&&(e._injector=Uja(e.providers,b,"Route: "+e.path));var f=void 0,h=(f=e._injector)!=null?f:b,l=void 0;f=(l=e._loadedInjector)!=null?l:h;(e.loadChildren&&!e._loadedRoutes&&e.canLoad===void 0||e.loadComponent&&!e._loadedComponent)&&d.push(Pbc(a,h,e));if(e.children||e._loadedRoutes)h=void 0,d.push(Obc(a,f,(h=e.children)!=null?h:e._loadedRoutes))}return ue(d).pipe(Pe())},Pbc=function(a,b,
c){return a.preloadingStrategy.preload(c,function(){var d=(c.loadChildren&&c.canLoad===void 0?a.loader.loadChildren(b,c):Fe(null)).pipe(Oe(function(f){if(f===null)return Fe(void 0);c._loadedRoutes=f.routes;c._loadedInjector=f.injector;var h;return Obc(a,(h=f.injector)!=null?h:b,f.routes)}));if(c.loadComponent&&!c._loadedComponent){var e=a.loader.loadComponent(c);return ue([d,e]).pipe(Pe())}return d})};LE.\u0275fac=function(a){return new (a||LE)(md(HE),md(ww),md(Uv),md(Mbc),md(zE))};
LE.\u0275prov=n({token:LE,factory:LE.\u0275fac,providedIn:"root"});var Qbc=new Bd(""),ME=function(a,b,c,d,e){e=e===void 0?{}:e;this.urlSerializer=a;this.transitions=b;this.viewportScroller=c;this.zone=d;this.options=e;this.lastId=0;this.lastSource="imperative";this.restoredId=0;this.store={};var f;(f=e).scrollPositionRestoration||(f.scrollPositionRestoration="disabled");var h;(h=e).anchorScrolling||(h.anchorScrolling="disabled")};
ME.prototype.init=function(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual");this.routerEventsSubscription=Rbc(this);this.scrollEventsSubscription=Sbc(this)};
var Rbc=function(a){return a.transitions.events.subscribe(function(b){b instanceof Do?(a.store[a.lastId]=a.viewportScroller.getScrollPosition(),a.lastSource=b.navigationTrigger,a.restoredId=b.restoredState?b.restoredState.navigationId:0):b instanceof jo?(a.lastId=b.id,Tbc(a,a.urlSerializer.parse(b.urlAfterRedirects).fragment)):b instanceof mo&&b.code===0&&(a.lastSource=void 0,a.restoredId=0,Tbc(a,a.urlSerializer.parse(b.url).fragment))})},Sbc=function(a){return a.transitions.events.subscribe(function(b){b instanceof
Aac&&(b.position?a.options.scrollPositionRestoration==="top"?a.viewportScroller.scrollToPosition([0,0]):a.options.scrollPositionRestoration==="enabled"&&a.viewportScroller.scrollToPosition(b.position):b.anchor&&a.options.anchorScrolling==="enabled"?a.viewportScroller.scrollToAnchor(b.anchor):a.options.scrollPositionRestoration!=="disabled"&&a.viewportScroller.scrollToPosition([0,0]))})},Tbc=function(a,b){a.zone.runOutsideAngular(function(){setTimeout(function(){a.zone.run(function(){a.transitions.events.next(new Aac(a.lastSource===
"popstate"?a.store[a.restoredId]:null,b))})},0)})};ME.prototype.ngOnDestroy=function(){var a;(a=this.routerEventsSubscription)==null||a.unsubscribe();var b;(b=this.scrollEventsSubscription)==null||b.unsubscribe()};ME.\u0275fac=function(){qia()};ME.\u0275prov=n({token:ME,factory:ME.\u0275fac});new Bd("",{providedIn:"root",factory:function(){return!1}});var Ubc=new Bd("",{factory:function(){return new Jf}}),Vbc=new Bd("",{providedIn:"root",factory:function(){return 1}}),Wbc=new Bd("");var Xbc=new Bd("ROUTER_FORROOT_GUARD"),Ybc=[Ww,{provide:pE,useClass:jac},HE,sE,{provide:ao,useFactory:function(a){return a.routerState.root},deps:[HE]},zE,[]],NE=function(){};NE.\u0275fac=function(a){return new (a||NE)(md(Xbc,8))};NE.\u0275mod=u({type:NE});NE.\u0275inj=p({});var Zbc=new Bd("");var OE=function(){JE.apply(this,arguments)};Y(OE,JE);ea.Object.defineProperties(OE.prototype,{routerLinkObj:{configurable:!0,enumerable:!0,set:function(a){this.queryParams=a.queryParams;this.routerLink=a.path;this.fragment=a.fragment}}});OE.\u0275fac=function(){var a;return function(b){return(a||(a=de(OE)))(b||OE)}}();OE.\u0275dir=ud({type:OE,selectors:[["a","routerLinkObj",""],["area","routerLinkObj",""]],inputs:{routerLinkObj:"routerLinkObj"},features:[cg]});var PE=function(){};
PE.\u0275fac=function(a){return new (a||PE)};PE.\u0275mod=u({type:PE});PE.\u0275inj=p({imports:[NE]});var QE=function(){};QE.\u0275fac=function(a){return new (a||QE)};QE.\u0275mod=u({type:QE});QE.\u0275inj=p({imports:[yy,yy]});var RE=function(){};RE.\u0275fac=function(a){return new (a||RE)};RE.\u0275mod=u({type:RE});RE.\u0275inj=p({imports:[Qw,QE,NE,PE]});var SE=function(){ZB.call(this,{freshUntil:3E5,ancientAfter:6048E5});var a=this;this.template=r(mE);this.appEvents=r(nE);this.recordType="componentTemplates";this.idKey="componentId";this.defaultTemplate$=function(b){return a.watch(b).pipe(Ye(kj),B(function(c){return c.templates}),B(function(c){var d;return(d=c.find(function(e){return e.default}))!=null?d:c[0]}))};this.appEvents.templateModified.pipe(Ye(function(b){return!!b&&b!=="0"})).subscribe(function(b){a.poke(b)})};Y(SE,ZB);
SE.prototype.fetchOne=function(a){return ue(this.template.templatesApi.query(Number(a)).then(function(b){return{componentId:a,templates:b}}))};SE.\u0275fac=function(a){return new (a||SE)};SE.\u0275prov=n({token:SE,factory:SE.\u0275fac,providedIn:"root"});var $bc=function(a,b){this.childIterator_=a[ya.Symbol.iterator]();this.mapFn_=b};$bc.prototype[Symbol.iterator]=function(){return this};$bc.prototype.next=function(){var a=this.childIterator_.next();return{value:a.done?void 0:this.mapFn_.call(void 0,a.value),done:a.done}};var acc=function(a,b){return new $bc(a,b)};var TE=function(){};TE.prototype.next=function(){return bcc};var bcc={done:!0,value:void 0};TE.prototype.__iterator__=function(){return this};var ccc=function(a){if(a instanceof UE||a instanceof VE||a instanceof WE)return a;if(typeof a.next=="function")return new UE(function(){return a});if(typeof a[Symbol.iterator]=="function")return new UE(function(){return a[Symbol.iterator]()});if(typeof a.__iterator__=="function")return new UE(function(){return a.__iterator__()});throw Error("Oc");},UE=function(a){this.func_=a};UE.prototype.__iterator__=function(){return new VE(this.func_())};UE.prototype[Symbol.iterator]=function(){return new WE(this.func_())};
UE.prototype.toEs6=function(){return new WE(this.func_())};var VE=function(a){this.iter_=a};Y(VE,TE);VE.prototype.next=function(){return this.iter_.next()};VE.prototype[Symbol.iterator]=function(){return new WE(this.iter_)};VE.prototype.toEs6=function(){return new WE(this.iter_)};var WE=function(a){UE.call(this,function(){return a});this.iter_=a};Y(WE,UE);WE.prototype.next=function(){return this.iter_.next()};var XE=function(a,b){this.map_={};this.keys_=[];this.version_=this.size=0;var c=arguments.length;if(c>1){if(c%2)throw Error("pa");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};g=XE.prototype;g.getCount=function(){return this.size};g.getValues=function(){dcc(this);for(var a=[],b=0;b<this.keys_.length;b++)a.push(this.map_[this.keys_[b]]);return a};g.getKeys=function(){dcc(this);return this.keys_.concat()};g.containsKey=function(a){return this.has(a)};
g.has=function(a){return YE(this.map_,a)};g.containsValue=function(a){for(var b=0;b<this.keys_.length;b++){var c=this.keys_[b];if(YE(this.map_,c)&&this.map_[c]==a)return!0}return!1};g.equals=function(a){if(this===a)return!0;if(this.size!=a.getCount())return!1;var b=ecc;dcc(this);for(var c,d=0;c=this.keys_[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var ecc=function(a,b){return a===b};XE.prototype.isEmpty=function(){return this.size==0};
XE.prototype.clear=function(){this.map_={};this.keys_.length=0;this.setSizeInternal_(0);this.version_=0};XE.prototype.remove=function(a){return this.delete(a)};XE.prototype.delete=function(a){return YE(this.map_,a)?(delete this.map_[a],this.setSizeInternal_(this.size-1),this.version_++,this.keys_.length>2*this.size&&dcc(this),!0):!1};
var dcc=function(a){if(a.size!=a.keys_.length){for(var b=0,c=0;b<a.keys_.length;){var d=a.keys_[b];YE(a.map_,d)&&(a.keys_[c++]=d);b++}a.keys_.length=c}if(a.size!=a.keys_.length){var e={};for(c=b=0;b<a.keys_.length;)d=a.keys_[b],YE(e,d)||(a.keys_[c++]=d,e[d]=1),b++;a.keys_.length=c}};g=XE.prototype;g.get=function(a,b){return YE(this.map_,a)?this.map_[a]:b};g.set=function(a,b){YE(this.map_,a)||(this.setSizeInternal_(this.size+1),this.keys_.push(a),this.version_++);this.map_[a]=b};
g.addAll=function(a){if(a instanceof XE)for(var b=a.getKeys(),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};g.forEach=function(a,b){for(var c=this.getKeys(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};g.clone=function(){return new XE(this)};g.keys=function(){return ccc(this.__iterator__(!0)).toEs6()};g.values=function(){return ccc(this.__iterator__(!1)).toEs6()};g.entries=function(){var a=this;return acc(this.keys(),function(b){return[b,a.get(b)]})};
g.__iterator__=function(a){dcc(this);var b=0,c=this.version_,d=this,e=new TE;e.next=function(){if(c!=d.version_)throw Error("Pc");if(b>=d.keys_.length)return bcc;var f=d.keys_[b++];return{value:a?f:d.map_[f],done:!1}};return e};g.setSizeInternal_=function(a){this.size=a};var YE=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var ZE=function(a,b,c){this.maxCount_=a||null;this.cache_=!!b;this.evictionCallback_=c;this.map_=new XE;this.head_=new fcc("");this.head_.next=this.head_.prev=this.head_},hcc=function(a,b){(b=a.map_.get(b))&&a.cache_&&(b.remove(),gcc(a,b));return b};ZE.prototype.get=function(a,b){return(a=hcc(this,a))?a.value:b};var icc=function(a,b){return(a=a.map_.get(b))?a.value:void 0};g=ZE.prototype;g.set=function(a,b){var c=hcc(this,a);c?c.value=b:(c=new fcc(a,b),this.map_.set(a,c),gcc(this,c))};g.peek=function(){return this.head_.next.value};
g.shift=function(){return jcc(this,this.head_.next)};g.pop=function(){return jcc(this,this.head_.prev)};g.remove=function(a){return(a=this.map_.get(a))?(this.removeNode(a),!0):!1};g.removeNode=function(a){a.remove();this.map_.remove(a.key)};g.getCount=function(){return this.map_.getCount()};g.isEmpty=function(){return this.map_.isEmpty()};g.getKeys=function(){return this.map(function(a,b){return b})};g.getValues=function(){return this.map(function(a){return a})};
g.contains=function(a){return this.some(function(b){return b==a})};g.containsKey=function(a){return this.map_.containsKey(a)};g.clear=function(){kcc(this,0)};g.forEach=function(a,b){for(var c=this.head_.next;c!=this.head_;c=c.next)a.call(b,c.value,c.key,this)};g.map=function(a,b){for(var c=[],d=this.head_.next;d!=this.head_;d=d.next)c.push(a.call(b,d.value,d.key,this));return c};g.some=function(a,b){for(var c=this.head_.next;c!=this.head_;c=c.next)if(a.call(b,c.value,c.key,this))return!0;return!1};
g.every=function(a,b){for(var c=this.head_.next;c!=this.head_;c=c.next)if(!a.call(b,c.value,c.key,this))return!1;return!0};
var gcc=function(a,b){a.cache_?(b.next=a.head_.next,b.prev=a.head_,a.head_.next=b,b.next.prev=b):(b.prev=a.head_.prev,b.next=a.head_,a.head_.prev=b,b.prev.next=b);a.maxCount_!=null&&kcc(a,a.maxCount_)},kcc=function(a,b){for(;a.getCount()>b;){var c=a.cache_?a.head_.prev:a.head_.next;a.removeNode(c);a.evictionCallback_&&a.evictionCallback_(c.key,c.value)}},jcc=function(a,b){a.head_!=b&&a.removeNode(b);return b.value},fcc=function(a,b){this.key=a;this.value=b};
fcc.prototype.remove=function(){this.prev.next=this.next;this.next.prev=this.prev;delete this.prev;delete this.next};var $E=function(){this.caches=new Map};$E.prototype.create=function(a,b){if(this.caches.has(a))throw Error("Qc`"+a);b=new lcc(b==null?void 0:b.capacity);this.caches.set(a,b);return b};$E.prototype.get=function(a){return this.caches.get(a)};$E.\u0275fac=function(a){return new (a||$E)};$E.\u0275prov=n({token:$E,factory:$E.\u0275fac,providedIn:"root"});var lcc=function(a){this.lruCache=new ZE(a,!0)};lcc.prototype.get=function(a){return this.lruCache.get(a)};
lcc.prototype.put=function(a,b){b!==void 0&&this.lruCache.set(a,b);return b};lcc.prototype.remove=function(a){this.lruCache.remove(a)};lcc.prototype.removeAll=function(){this.lruCache.clear()};var oo=function(a){this.internalArray_=m(a,0,oo.messageId)};Y(oo,V);oo.prototype.getIt=function(){return W(this,om,18)};oo.prototype.setIt=function(a){return X(this,om,18,a)};oo.messageId="b.Hotlist";var mcc=RegExp("action/issues/([0-9]+)/"),ncc=new Bd("ETAG_URL_TRANSFORMERS"),occ=["POST","PUT","DELETE"],bF=function(){this.etagStore=r(aF)};bF.prototype.intercept=function(a,b){if(occ.includes(a.method)){var c=this.etagStore.getEtag(a);c&&a.headers&&(a=a.clone({headers:a.headers.set("If-Match",c)}))}mcc.exec(a.url);return pcc(this,a,b)};var pcc=function(a,b,c){return c.handle(b).pipe(Pf(function(d){d instanceof MD&&(d=d.headers,d.has("etag")&&a.etagStore.setEtag(b,d.get("etag")))}))};
bF.\u0275fac=function(a){return new (a||bF)};bF.\u0275prov=n({token:bF,factory:bF.\u0275fac,providedIn:"root"});var aF=function(){this.transformers=r(ncc,{optional:!0});this.etagStore={}};aF.prototype.setEtag=function(a,b){b!=null&&(a=qcc(this,a.url),this.etagStore[a]=b)};aF.prototype.getEtag=function(a){a=qcc(this,a.url);return this.etagStore[a]};var qcc=function(a,b){var c;a=k((c=a.transformers)!=null?c:[]);for(c=a.next();!c.done;c=a.next())if(c=c.value,(c=c(b))&&c!==b)return c;return b};
aF.\u0275fac=function(a){return new (a||aF)};aF.\u0275prov=n({token:aF,factory:aF.\u0275fac,providedIn:"root"});var rcc={provide:QD,useClass:bF,multi:!0};var scc=function(a){this.internalArray_=m(a)};Y(scc,V);g=scc.prototype;g.getHotlistId_asLegacyNumberOrString=function(){return Vj(this,1)};g.setHotlistId=function(a){return pl(this,1,a)};g.setOrderBy=function(a){return cj(this,2,a)};g.setPageSize=function(a){return uj(this,3,a)};g.setPageToken=function(a){return cj(this,4,a)};g.getFilter=function(){return Gh(this,5)};g.setFilter=function(a){return cj(this,5,a)};g.setView=function(a){return ej(this,6,a)};
g.setIssueDescriptionView=function(a){return ej(this,7,a)};g.getQuery=function(){return Gh(this,8)};g.setQuery=function(a){return cj(this,8,a)};g.clearQuery=function(){Zp(this,8)};var tcc=function(a){this.internalArray_=m(a)};Y(tcc,V);g=tcc.prototype;g.getHotlistId_asLegacyNumberOrString=function(){return Vj(this,1)};g.setHotlistId=function(a){return pl(this,1,a)};g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,2)};g.getIssueId_asString=function(){return Oo(this,2)};g.setIssueId=function(a){return pl(this,2,a)};var cF=function(a){this.internalArray_=m(a,0,cF.messageId)};Y(cF,V);cF.prototype.getIt=function(){return W(this,scc,1)};cF.prototype.setIt=function(a){return X(this,scc,1,a)};cF.messageId="b.ListHotlistEntriesRequest";var dF=function(a){this.internalArray_=m(a)};Y(dF,V);dF.prototype.getNextPageToken=function(){return Gh(this,2)};dF.prototype.getTotalSize=function(){return Zi(this,3)};dF.prototype.getTotalSizeAccurate=function(){return Fj(this,4)};dF.prototype.getMaySkipResults=function(){return Fj(this,5)};var eF=function(a){this.internalArray_=m(a,0,eF.messageId)};Y(eF,V);eF.prototype.getIt=function(){return W(this,dF,1)};eF.prototype.setIt=function(a){return X(this,dF,1,a)};eF.messageId="b.ListHotlistEntriesResponse";var fF=function(a){this.internalArray_=m(a,0,fF.messageId)};Y(fF,V);fF.prototype.removeHotlists=function(a){return Cv(this,1,oo,a)};fF.messageId="b.ListHotlistsResponse";var hF=function(){this.hotlistApi=r(gF);var a=r($E);this.hotlistCache=a.get("hotlists-second-level-cache")||a.create("hotlists-second-level-cache",{capacity:1E3})};g=hF.prototype;g.get=function(a){var b=this.hotlistCache.get(String(a))||this.hotlistApi.get(a);return this.hotlistCache.put(String(a),b)};g.repositionHotlistIssue=function(a,b,c){return this.hotlistApi.repositionHotlistIssue(a,b,c)};g.createHotlist=function(a,b){return this.hotlistApi.createHotlist(a,b)};g.queryHotlists=function(a){return this.hotlistApi.queryHotlists(a)};
g.archiveHotlist=function(a,b){return this.hotlistApi.archiveHotlist(a,b)};g.updateMetadata=function(a,b){return this.hotlistApi.updateMetadata(a,b)};g.getPagedHotlistContent=function(a,b,c,d,e){return this.hotlistApi.getPagedHotlistContent(a,b,c,d,e)};hF.\u0275fac=function(a){return new (a||hF)};hF.\u0275prov=n({token:hF,factory:hF.\u0275fac,providedIn:"root"});var iF=function(){this.executor=r(OB);this.etagStore=r(aF);this.bufferTimeMs=50};
iF.prototype.call=function(a){a=Array.from(a).map(String);return a.length===0?Fe(new Map):a.length===1?this.executor.get({url:"action/hotlists/"+a[0],responseConstructor:oo}).pipe(B(po),B(function(b){var c=new Map;c.set(String(b.hotlistId),b);return c})):this.executor.get({url:"action/hotlists",responseConstructor:fF,options:{params:{id:a}}}).pipe(B(function(b){var c=new Map;b=k(nj(b,oo,1,Wi()).map(po));for(var d=b.next();!d.done;d=b.next())d=d.value,c.set(String(d.hotlistId),d);return c}))};
iF.prototype.split=function(a,b){if(b=b.get(a)){var c=b.etag;if(c){var d=this.etagStore;c!=null&&(a=qcc(d,"action/hotlists/"+a),d.etagStore[a]=c)}}return b};iF.\u0275fac=function(a){return new (a||iF)};iF.\u0275prov=n({token:iF,factory:iF.\u0275fac,providedIn:"root"});var jF=function(){this.executor=r(OB);this.batchApiConfig=r(iF);this.batchApiAdapter=r(rC);this.adaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig)};g=jF.prototype;
g.get=function(a){var b=this;return this.adaptedGet(String(a)).pipe(Nf(function(c){return c?Fe(c):b.executor.get({url:"action/hotlists/"+a,responseConstructor:oo}).pipe(B(po))}))};g.bulkLoad=function(a){var b=this;return a.length===0?Fe([]):Se(a.map(function(c){return b.adaptedGet(String(c))})).pipe(B(function(c){return c.filter(kj)}))};
g.repositionHotlistIssue=function(a,b,c){var d=(new tcc).setHotlistId(Number(a)).setIssueId(b);b=(new qm).setIssueId(Number(b)).setPosition(c);d=X(d,qm,3,b);return this.executor.put({url:"action/hotlists/"+a+"/entry",body:d,responseConstructor:null})};g.createHotlist=function(a,b){a=(new om).setName(a);b&&a.setDescription(b);return this.executor.post({url:"action/hotlists",body:(new oo).setIt(a),responseConstructor:oo}).pipe(B(po))};
g.queryHotlists=function(a){return this.executor.get({url:"action/hotlists",responseConstructor:fF,options:{params:{q:a}}}).pipe(B(function(b){var c;return((c=nj(b,oo,1,Wi()))!=null?c:[]).map(po)}))};g.archiveHotlist=function(a,b){return this.executor.post({url:"action/hotlists/"+a+"/archive",body:JCa(b),responseConstructor:oo}).pipe(B(po))};
g.updateMetadata=function(a,b){var c={};b.etag&&(c["If-Match"]=String(b.etag));return this.executor.post({url:"action/hotlists/"+a,body:JCa(b),options:{headers:c},responseConstructor:oo}).pipe(B(po))};
g.getPagedHotlistContent=function(a,b,c,d,e){var f={};e&&(f.trackerIds=e);d=d.map(function(h){return{field:{type:h.fieldId.type,customFieldId:h.fieldId.customFieldId,customFieldName:h.fieldId.customFieldName},direction:h.direction}});b=(new scc).setHotlistId(a).setOrderBy(Wwa(d)).setPageSize(c).setPageToken("start_index:"+c*(b-1));return this.executor.post({url:"action/hotlists/"+a+"/entries",options:{params:Object.assign({},f)},body:(new cF).setIt(b),responseConstructor:eF}).pipe(B(function(h){return axa(h.getIt())}))};
jF.\u0275fac=function(a){return new (a||jF)};jF.\u0275prov=n({token:jF,factory:jF.\u0275fac,providedIn:"root"});var gF=function(){this.observableApi=r(jF)};g=gF.prototype;g.get=function(a){return Je(this.observableApi.get(a))};g.bulkLoad=function(a){return Je(this.observableApi.bulkLoad(a))};g.repositionHotlistIssue=function(a,b,c){return Je(this.observableApi.repositionHotlistIssue(a,b,c))};g.createHotlist=function(a,b){return Je(this.observableApi.createHotlist(a,b))};g.queryHotlists=function(a){return Je(this.observableApi.queryHotlists(a))};
g.archiveHotlist=function(a,b){return Je(this.observableApi.archiveHotlist(a,b))};g.updateMetadata=function(a,b){return Je(this.observableApi.updateMetadata(a,b))};g.getPagedHotlistContent=function(a,b,c,d,e){return Je(this.observableApi.getPagedHotlistContent(a,b,c,d,e))};gF.\u0275fac=function(a){return new (a||gF)};gF.\u0275prov=n({token:gF,factory:gF.\u0275fac,providedIn:"root"});var qo=function(a){this.internalArray_=m(a)};Y(qo,V);qo.prototype.getIt=function(){return W(this,um,6)};qo.prototype.setIt=function(a){return X(this,um,6,a)};var ucc=function(a){this.internalArray_=m(a,0,ucc.messageId)};Y(ucc,V);ucc.messageId="b.Favorite";var vcc=function(a){this.internalArray_=m(a,0,vcc.messageId)};Y(vcc,V);vcc.messageId="b.UserRecentComponentResponse";var kF=function(){this.executor=r(OB)};g=kF.prototype;g.getUserBookmarks=function(){return this.executor.post({url:"action/getUserBookmarks",body:null,responseConstructor:cC}).pipe(B(function(a){return ixa(a.getIt())}))};g.getRecentComponents=function(){return this.executor.get({url:"action/current_user/recent_components",responseConstructor:vcc}).pipe(B(Qxa))};g.getUserBookmark=function(a,b){return this.executor.get({url:"action/favorites/"+a+"/"+b,responseConstructor:ucc}).pipe(B(KCa))};
g.addUserBookmark=function(a){a=(new qo).setIt(hxa(a));return this.executor.post({url:"action/favorites",body:a,responseConstructor:ucc}).pipe(B(KCa))};g.removeUserBookmark=function(a){return this.executor.post({url:"action/removeUserBookmark",body:hxa(a),responseConstructor:null})};
var wcc=function(a,b,c){var d={};d.id=String(b);c.voted!==null&&(d.vote=String(!!c.voted));c.starred!==null&&(d.star=String(!!c.starred));c.notificationSubscription!==null&&(d.subscription=c.notificationSubscription);return a.executor.post({url:"action/current_user/issue_data",body:null,options:{params:d},responseConstructor:null})};kF.\u0275fac=function(a){return new (a||kF)};kF.\u0275prov=n({token:kF,factory:kF.\u0275fac,providedIn:"root"});var lF=function(){this.observableApi=r(kF)};g=lF.prototype;
g.getUserBookmarks=function(){return Je(this.observableApi.getUserBookmarks())};g.getRecentComponents=function(){return Je(this.observableApi.getRecentComponents())};g.getUserBookmark=function(a,b){return Je(this.observableApi.getUserBookmark(a,b))};g.addUserBookmark=function(a){return Je(this.observableApi.addUserBookmark(a))};g.removeUserBookmark=function(a){return Je(this.observableApi.removeUserBookmark(a))};lF.\u0275fac=function(a){return new (a||lF)};
lF.\u0275prov=n({token:lF,factory:lF.\u0275fac,providedIn:"root"});var mF=function(){ZB.call(this,{freshUntil:3E5});this.observableHotlistResources=r(jF);this.recordType="hotlist";this.idKey="hotlistId"};Y(mF,ZB);mF.prototype.fetchOne=function(a){return this.observableHotlistResources.get(a).pipe(xf(function(b){return b.status===403?Fe(void 0):Ge(function(){return b})}))};mF.prototype.fetchSet=function(a){return this.observableHotlistResources.bulkLoad(a).pipe(B(function(b){return(b!=null?b:[]).filter(kj)}))};
mF.prototype.doSave=function(a){return this.observableHotlistResources.updateMetadata(a.hotlistId,a)};mF.\u0275fac=function(a){return new (a||mF)};mF.\u0275prov=n({token:mF,factory:mF.\u0275fac,providedIn:"root"});var ro=function(a){this.internalArray_=m(a)};Y(ro,V);ro.prototype.getIt=function(){return W(this,rm,12)};ro.prototype.setIt=function(a){return X(this,rm,12,a)};var xcc=function(a){this.internalArray_=m(a,0,xcc.messageId)};Y(xcc,V);xcc.prototype.setSearch=function(a,b){yv(this,1,ro,a,b)};xcc.messageId="b.BatchGetSearchesResponse";var nF=function(a){this.internalArray_=m(a,0,nF.messageId)};Y(nF,V);nF.prototype.getSearch=function(){return W(this,ro,1)};nF.prototype.setSearch=function(a){X(this,ro,1,a)};nF.messageId="b.SearchResponse";var oF=function(){this.jspbExecutor=r(OB)};g=oF.prototype;g.get=function(a){return this.jspbExecutor.get({url:"action/saved_searches/"+a,responseConstructor:nF}).pipe(B(MCa))};g.batchGet=function(a){if(a.length>500)throw Error("Rc");return this.jspbExecutor.get({url:"action/saved_searches?"+a.map(function(b){return"id="+b}).join("&"),responseConstructor:xcc}).pipe(B(NCa))};
g.create=function(a,b){a=(new ro).setIt((new rm).setName(a).setQuery(b));return this.jspbExecutor.post({url:"action/saved_searches",body:a,responseConstructor:nF}).pipe(B(MCa))};g.update=function(a,b){b=(new ro).setIt(cxa(b));return this.jspbExecutor.post({url:"action/saved_searches/"+a,body:b,responseConstructor:nF}).pipe(B(MCa))};g.delete=function(a){return this.jspbExecutor.delete({url:"action/saved_searches/"+a,responseConstructor:null})};oF.\u0275fac=function(a){return new (a||oF)};
oF.\u0275prov=n({token:oF,factory:oF.\u0275fac,providedIn:"root"});var pF=function(){this.observableResources=r(oF)};g=pF.prototype;g.get=function(a){return Je(this.observableResources.get(a))};g.batchGet=function(a){return Je(this.observableResources.batchGet(a))};g.create=function(a,b){return Je(this.observableResources.create(a,b))};g.update=function(a,b){return Je(this.observableResources.update(a,b))};g.delete=function(a){return Je(this.observableResources.delete(a))};
pF.\u0275fac=function(a){return new (a||pF)};pF.\u0275prov=n({token:pF,factory:pF.\u0275fac,providedIn:"root"});var qF=function(){ZB.call(this);this.savedSearchApi=r(oF);this.recordType="savedSearch";this.idKey="searchId"};Y(qF,ZB);qF.prototype.fetchOne=function(a){return this.savedSearchApi.get(a)};qF.prototype.fetchSet=function(a){return this.savedSearchApi.batchGet(a)};qF.\u0275fac=function(a){return new (a||qF)};qF.\u0275prov=n({token:qF,factory:qF.\u0275fac,providedIn:"root"});var rF=function(){ZB.call(this,{freshUntil:3E5});var a=this;this.userApi=r(kF);this.hotlistApi=r(jF);this.bookmarkGroupApi=r(dC);this.appEvents=r(nE);this.hotlistFridge=r(mF);this.savedSearchFridge=r(qF);this.bookmarkGroupFridge=r(eC);this.activeSession=r(dv);this.recordType="user-bookmark";this.idKey="id";this.isEqual=yi;this.pokeAll=function(){a.poke("current-user-bookmark-id",void 0)};Xe(this.appEvents.hotlistChanged,this.appEvents.hotlistCreated,this.appEvents.bookmarkGroupModified,this.appEvents.savedSearchModified,
this.appEvents.favoritesModified).subscribe(function(){a.poke("current-user-bookmark-id")})};Y(rF,ZB);var ycc=function(a){var b=a.activeSession.getUserEmail();return b?a.hotlistApi.queryHotlists("include_archived:true owner:"+b):Fe([])},zcc=function(a){var b=a.activeSession.getUserEmail();return b?Re(function(){return a.bookmarkGroupApi.query("include_archived:true owner:"+b)}):Fe([])};
rF.prototype.fetchOne=function(){var a=this;return Se([this.userApi.getUserBookmarks(),ycc(this),zcc(this)]).pipe(Pf(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;c=k(c);for(var e=c.next();!e.done;e=c.next())a.bookmarkGroupFridge.announce(e.value);c=k(b.bookmarkGroups);for(e=c.next();!e.done;e=c.next())a.bookmarkGroupFridge.announce(e.value);d=k(d);for(c=d.next();!c.done;c=d.next())a.hotlistFridge.announce(c.value);d=k(b.hotlists);for(c=d.next();!c.done;c=d.next())a.hotlistFridge.announce(c.value);
b=k(b.savedSearches);for(d=b.next();!d.done;d=b.next())a.savedSearchFridge.announce(d.value)}),B(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;d=UCa([].concat(w(b.hotlists),w(d)),[].concat(w(b.bookmarkGroups),w(c)),b.savedSearches);return VCa(d,b)}))};
var Acc=function(a){return a.watch("current-user-bookmark-id",void 0).pipe(Ye(kj))},sF=function(a){return Acc(a).pipe(B(function(b){var c,d=(c=b==null?void 0:b.hotlists)!=null?c:[],e;b=(e=b==null?void 0:b.bookmarkGroups.flatMap(function(f){return f.sublinks}).filter(kj).filter(function(f){return f.resourceType==="HOTLIST"}))!=null?e:[];return[].concat(w(b),w(d))}),B(function(b){return Qk(b,function(c){return c.id})}),B(function(b){return SCa(b)}),B(function(b){return b.map(function(c){return c.id})}),
Nf(function(b){return a.hotlistFridge.watchSet(b)}))},Bcc=function(a){return Acc(a).pipe(B(function(b){var c;return(c=b==null?void 0:b.savedSearches.map(function(d){return hj(d.id)}))!=null?c:[]}),B(function(b){return b.filter(kj)}),Nf(function(b){return a.savedSearchFridge.watchSet(b)}))};rF.\u0275fac=function(a){return new (a||rF)};rF.\u0275prov=n({token:rF,factory:rF.\u0275fac,providedIn:"root"});
var SCa=Bj(function(a){return a.name},Dj,"ASCENDING"),RCa=Bj(function(a){return a.name},Dj,"ASCENDING"),TCa=Bj(function(a){return a.name},Dj,"ASCENDING");var tF=function(a){this.internalArray_=m(a,0,tF.messageId)};Y(tF,V);tF.prototype.getIt=function(){return W(this,Gl,2)};tF.prototype.setIt=function(a){return X(this,Gl,2,a)};tF.messageId="b.CustomFieldResponse";var Ccc=function(a){this.internalArray_=m(a)};Y(Ccc,V);g=Ccc.prototype;g.getCustomFieldsList=function(){return nj(this,Gl,1,Wi())};g.setCustomFieldsList=function(a){return $l(this,1,a)};g.addCustomFields=function(a){Bv(this,1,Gl,a)};g.getNextPageToken=function(){return Gh(this,2)};g.getTotalSize=function(){return Zi(this,3)};var uF=function(a){this.internalArray_=m(a,0,uF.messageId)};Y(uF,V);uF.prototype.getIt=function(){return W(this,Ccc,4)};uF.prototype.setIt=function(a){return X(this,Ccc,4,a)};uF.messageId="b.ListCustomFieldsResponse";var vF=function(){this.executor=r(OB)};g=vF.prototype;g.get=function(a){return this.executor.get({url:"action/custom_fields/"+Number(a),responseConstructor:tF}).pipe(B(aya))};g.getResource=function(a){return this.executor.get({url:"action/custom_fields/"+a,responseConstructor:tF}).pipe(B(aya))};g.create=function(a,b){b=cya(b);return this.executor.post({url:"action/custom_fields",options:{params:{componentId:String(a)}},body:b,responseConstructor:tF}).pipe(B(aya))};
g.update=function(a,b,c){b=Number(b);c=cya(c);return this.executor.post({url:"action/custom_fields/"+b,options:{params:{componentId:String(a)}},body:c,responseConstructor:tF}).pipe(B(aya))};g.delete=function(a,b){return this.executor.delete({url:"action/custom_fields/"+Number(b),options:{params:{componentId:String(a)}},responseConstructor:null})};
g.query=function(a){return this.executor.get({url:"action/custom_fields",options:{params:{query:a.query,trackerIds:a.trackerIds,pageSize:a.pageSize||0,pageToken:a.pageToken||""}},responseConstructor:uF}).pipe(B(dya))};vF.\u0275fac=function(a){return new (a||vF)};vF.\u0275prov=n({token:vF,factory:vF.\u0275fac,providedIn:"root"});var wF=function(){this.observableApi=r(vF)};g=wF.prototype;g.get=function(a){return Je(this.observableApi.get(a))};g.getResource=function(a){return Je(this.observableApi.getResource(a))};
g.create=function(a,b){return Je(this.observableApi.create(a,b))};g.update=function(a,b,c){return Je(this.observableApi.update(a,b,c))};g.delete=function(a,b){return Je(this.observableApi.delete(a,b))};g.query=function(a){return Je(this.observableApi.query(a))};wF.\u0275fac=function(a){return new (a||wF)};wF.\u0275prov=n({token:wF,factory:wF.\u0275fac,providedIn:"root"});var xF=function(){ZB.call(this,{freshUntil:18E5,ancientAfter:2592E6});this.api=r(vF);this.recordType="customFieldResource";this.idKey="customFieldId"};Y(xF,ZB);xF.prototype.fetchOne=function(a){return this.api.getResource(a).pipe(xf(function(b){console.error("error fetching custom field "+a,b);return Fe(void 0)}))};xF.\u0275fac=function(a){return new (a||xF)};xF.\u0275prov=n({token:xF,factory:xF.\u0275fac,providedIn:"root"});var yF=function(){ZB.call(this);this.observableIssueResources=r(tD);this.recordType="eventsForIssue"};Y(yF,ZB);yF.prototype.isEqual=function(a,b){return(a==null?void 0:a.id)!==(b==null?void 0:b.id)?!1:Rta(a==null?void 0:a.events,b==null?void 0:b.events)};yF.prototype.copy=function(a){return a&&zi(a)};yF.prototype.fetchOne=function(a){return M9b(this.observableIssueResources,a).pipe(B(function(b){return{id:a,events:b}}))};yF.prototype.fetchSet=function(a){var b=this;return Me(a.map(function(c){return b.fetchOne(c)})).pipe(B(function(c){return c.filter(kj)}))};
yF.\u0275fac=function(a){return new (a||yF)};yF.\u0275prov=n({token:yF,factory:yF.\u0275fac,providedIn:"root"});var Dcc=function(a){this.internalArray_=m(a)};Y(Dcc,V);g=Dcc.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getCommentNumbers=function(){return Iv(this,2)};g.setView=function(a){return ej(this,3,a)};var zF=function(a){this.internalArray_=m(a,0,zF.messageId)};Y(zF,V);zF.prototype.getIt=function(){return W(this,Dcc,4)};zF.prototype.setIt=function(a){return X(this,Dcc,4,a)};zF.messageId="b.BatchGetIssueCommentsRequest";var Ecc=function(a){this.internalArray_=m(a)};Y(Ecc,V);Ecc.prototype.getIssueCommentsList=function(){return nj(this,Zm,1,Wi())};var AF=function(a){this.internalArray_=m(a,0,AF.messageId)};Y(AF,V);AF.prototype.getIt=function(){return W(this,Ecc,2)};AF.prototype.setIt=function(a){return X(this,Ecc,2,a)};AF.messageId="b.BatchGetIssueCommentsResponse";var BF=function(){this.jspbExecutor=r(OB);this.activeSession=r(dv)};BF.prototype.batchGet=function(a,b){var c=new zF,d=c.setIt;a=(new Dcc).setIssueId(Number(a));b=wc(a,2,b,Gb);c=d.call(c,b.setView(2));var e;(d=(e=this.activeSession.getTracker())==null?void 0:e.trackerId)&&lk(c,3,d);return this.jspbExecutor.post({url:"action/comments/batch",responseConstructor:AF,body:c}).pipe(B(oza))};BF.\u0275fac=function(a){return new (a||BF)};BF.\u0275prov=n({token:BF,factory:BF.\u0275fac,providedIn:"root"});var CF=function(){ZB.call(this);var a=this;this.issueCommentsBatchApi=r(BF);this.batchApiAdapter=r(rC);this.recordType="formattedCommentsForIssue";this.idForRecord=function(b){return b.id.issueId+"-"+b.id.commentId};this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,maxBatchSize:500,call:function(b){return a.call(b)},split:function(b,c){return a.splitBatch(b,c)}})};Y(CF,ZB);
CF.prototype.fetchSet=function(a){var b=this,c=a[0].split("-")[0];return Me(a.map(function(d){return b.get(d)})).pipe(B(function(d){var e=[];d=k(d);for(var f=d.next();!f.done;f=d.next())if(f=f.value){var h=void 0,l={issueId:c,commentId:(h=f.commentNumber)!=null?h:0};e.push({id:l,formattedComment:f})}return e}))};
CF.prototype.call=function(a){var b="",c=[];a=k(a);for(var d=a.next();!d.done;d=a.next()){var e=k(d.value.split("-"));d=e.next().value;e=e.next().value;b!==""&&b===d?c.push(Number(e)):b===""&&(b=d,c.push(Number(e)))}return this.issueCommentsBatchApi.batchGet(b,c).pipe(B(function(f){var h=b,l=new Map;f=k(f);for(var q=f.next();!q.done;q=f.next()){q=q.value;var v=void 0,y=Number(h)+"-"+((v=q.commentNumber)!=null?v:0);l.set(y,q)}return l}))};CF.prototype.splitBatch=function(a,b){return b.get(a)};
CF.\u0275fac=function(a){return new (a||CF)};CF.\u0275prov=n({token:CF,factory:CF.\u0275fac,providedIn:"root"});var DF=function(){ZB.call(this);this.accessPolicyApi=r(oC);this.recordType="hotlistAccessPolicy";this.isEqual=yi};Y(DF,ZB);DF.prototype.fetchOne=function(a){return this.accessPolicyApi.get("HOTLIST",a).pipe(B(function(b){return Object.assign({},{id:a},b)}))};DF.prototype.doSave=function(a){var b=a.id;return this.accessPolicyApi.update("HOTLIST",b,a).pipe(B(function(c){return Object.assign({},{id:b},c)}))};DF.\u0275fac=function(a){return new (a||DF)};
DF.\u0275prov=n({token:DF,factory:DF.\u0275fac,providedIn:"root"});var Fcc=function(a){this.internalArray_=m(a)};Y(Fcc,V);Fcc.prototype.getIssueIdsList_asLegacyNumberOrString=function(){return lj(this,1,Wi())};Fcc.prototype.getIssueIdsList_asString=function(){return ak(this,1)};Fcc.prototype.setIssueIdsList=function(a){return pk(this,1,a)};var EF=function(a){this.internalArray_=m(a)};Y(EF,V);EF.prototype.getIssueIdsList_asLegacyNumberOrString=function(){return lj(this,1,Wi())};EF.prototype.getIssueIdsList_asString=function(){return ak(this,1)};EF.prototype.setIssueIdsList=function(a){return pk(this,1,a)};var Gcc=function(a){this.internalArray_=m(a)};Y(Gcc,V);Gcc.prototype.setExperiments=function(a){return yv(this,1,Rm,a)};var FF=function(a){this.internalArray_=m(a,0,FF.messageId)};Y(FF,V);FF.prototype.getIt=function(){return W(this,Gcc,1)};FF.prototype.setIt=function(a){return X(this,Gcc,1,a)};FF.messageId="b.BatchGetIssueExperimentsResponse";var Hcc=function(a){this.internalArray_=m(a)};Y(Hcc,V);g=Hcc.prototype;g.getComponentId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getComponentId_asString=function(){return Oo(this,1)};g.setComponentId=function(a){return pl(this,1,a)};g.getType=function(){return Kj(this,2,0)};g.setType=function(a){return ej(this,2,a)};g.getPriority=function(){return Kj(this,3,0)};g.setPriority=function(a){return ej(this,3,a)};g.getSeverity=function(){return Kj(this,4,0)};
g.setSeverity=function(a){return ej(this,4,a)};g.getStatus=function(){return Kj(this,5,0)};g.setStatus=function(a){return ej(this,5,a)};g.getReporter=function(){return W(this,bj,6)};g.setReporter=function(a){X(this,bj,6,a)};g.getAssignee=function(){return W(this,bj,7)};g.setAssignee=function(a){return X(this,bj,7,a)};g.clearAssignee=function(){return Zp(this,7)};g.getVerifier=function(){return W(this,bj,8)};g.setVerifier=function(a){X(this,bj,8,a)};g.clearVerifier=function(){return Zp(this,8)};
g.getCcsList=function(){return nj(this,bj,9,Wi())};g.setCcsList=function(a){$l(this,9,a)};g.addAllCcs=function(a){Dv(this,9,bj,a)};g.setCcs=function(a,b){return yv(this,9,bj,a,b)};g.getCollaboratorsList=function(){return nj(this,bj,23,Wi())};g.setCollaboratorsList=function(a){$l(this,23,a)};g.addAllCollaborators=function(a){Dv(this,23,bj,a)};g.setCollaborators=function(a,b){return yv(this,23,bj,a,b)};g.getStaffing=function(){return W(this,Zl,27)};g.setStaffing=function(a){X(this,Zl,27,a)};
g.getHotlistIdsList_asLegacyNumberOrString=function(a){return lj(this,10,Wi(a))};g.getHotlistIdsList_asString=function(){return ak(this,10)};g.setHotlistIdsList=function(a){pk(this,10,a)};g.addHotlistIds=function(a,b){return yc(this,10,Kb,a,b,lj)};g.addAllHotlistIds=function(a){Mv(this,10,a)};g.removeHotlistIds=function(a){return f_b(this,10,a)};g.getBlockedByIssueIdsList_asLegacyNumberOrString=function(){return lj(this,11,Wi())};g.setBlockedByIssueIdsList=function(a){pk(this,11,a)};
g.addAllBlockedByIssueIds=function(a){Mv(this,11,a)};g.getBlockingIssueIdsList_asLegacyNumberOrString=function(){return lj(this,12,Wi())};g.setBlockingIssueIdsList=function(a){pk(this,12,a)};g.addAllBlockingIssueIds=function(a){Mv(this,12,a)};g.getCanonicalIssueId_asLegacyNumberOrString=function(){return Vj(this,13)};g.setCanonicalIssueId=function(a){pl(this,13,a)};g.getDuplicateIssueIdsList_asLegacyNumberOrString=function(){return lj(this,14,Wi())};
g.setDuplicateIssueIdsList=function(a){pk(this,14,a)};g.getInProd=function(){return Fj(this,15)};g.setInProd=function(a){Hl(this,15,a)};g.getSloSnoozeUntil=function(){return W(this,wj,16)};g.setSloSnoozeUntil=function(a){X(this,wj,16,a)};g.getSloEndTime=function(){return W(this,wj,25)};g.setSloEndTime=function(a){X(this,wj,25,a)};g.hasSloEndTime=function(){return Oj(this,wj,25)};g.getRetention=function(){return Kj(this,17,0)};g.setRetention=function(a){return ej(this,17,a)};
g.getEntityStatus=function(){return W(this,tl,18)};g.setEntityStatus=function(a){return X(this,tl,18,a)};g.getIsArchived=function(){return Fj(this,19)};g.setIsArchived=function(a){return Hl(this,19,a)};g.getEffort=function(){return W(this,jm,24)};g.setEffort=function(a){X(this,jm,24,a)};g.hasEffort=function(){return Oj(this,jm,24)};g.getAccessLimit=function(){return W(this,ml,26)};g.setAccessLimit=function(a){return X(this,ml,26,a)};var Icc=function(a){this.internalArray_=m(a)};Y(Icc,V);g=Icc.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getIssueState=function(){return W(this,Hcc,2)};g.setIssueState=function(a){return X(this,Hcc,2,a)};g.getVersion=function(){return Zi(this,3)};g.setVersion=function(a){return uj(this,3,a)};g.getEtag=function(){return Yp(this,16)};g.setEtag=function(a){sl(this,16,a)};
g.getCreatedTime=function(){return W(this,wj,4)};g.setCreatedTime=function(a){return X(this,wj,4,a)};g.getModifiedTime=function(){return W(this,wj,5)};g.setModifiedTime=function(a){return X(this,wj,5,a)};g.getMajorModifiedTime=function(){return W(this,wj,14)};g.setMajorModifiedTime=function(a){return X(this,wj,14,a)};g.getResolvedTime=function(){return W(this,wj,6)};g.setResolvedTime=function(a){return X(this,wj,6,a)};g.getVerifiedTime=function(){return W(this,wj,7)};
g.setVerifiedTime=function(a){return X(this,wj,7,a)};g.getSloId_asLegacyNumberOrString=function(){return Vj(this,9)};g.setSloId=function(a){return pl(this,9,a)};g.getSloStatus=function(){return W(this,jn,10)};g.setSloStatus=function(a){X(this,jn,10,a)};g.hasSloStatus=function(){return Oj(this,jn,10)};g.getTeamId_asLegacyNumberOrString=function(){return Vj(this,13)};g.setTeamId=function(a){return pl(this,13,a)};g.getRetentionState=function(){return W(this,kn,11)};
g.setRetentionState=function(a){X(this,kn,11,a)};g.getAccessLimit=function(){return W(this,nl,12)};g.setAccessLimit=function(a){return X(this,nl,12,a)};g.getParentIssueIdsList_asLegacyNumberOrString=function(){return lj(this,17,Wi())};g.setParentIssueIdsList=function(a){return pk(this,17,a)};g.getAncestorsMap=function(){return tc(this,19,ln,Tb)};g.getIsArchived=function(){return Fj(this,18)};g.setIsArchived=function(a){return Hl(this,18,a)};var GF=function(a){this.internalArray_=m(a,0,GF.messageId)};Y(GF,V);GF.prototype.getIt=function(){return W(this,Icc,14)};GF.prototype.setIt=function(a){return X(this,Icc,14,a)};GF.messageId="b.IssueMetadata";var Jcc=function(a){this.internalArray_=m(a)};Y(Jcc,V);Jcc.prototype.getIt=function(){return W(this,EF,4)};Jcc.prototype.setIt=function(a){return X(this,EF,4,a)};var Kcc=function(a){this.internalArray_=m(a)};Y(Kcc,V);var HF=function(a){this.internalArray_=m(a,0,HF.messageId)};Y(HF,V);HF.prototype.getIt=function(){return W(this,Kcc,2)};HF.prototype.setIt=function(a){return X(this,Kcc,2,a)};HF.messageId="b.UpdateIssueReadTimestampResponse";var IF=function(){this.executor=r(PB)};IF.prototype.delete=function(a,b){b=(new JC).setIt((new HC).setIssueId(Number(a)).setReason(q7b[Vua(b)]));return this.executor.post({url:"action/issues/"+a+"/delete",body:b,responseConstructor:null})};IF.prototype.undelete=function(a){var b=(new MC).setIt((new IC).setIssueId(Number(a)));return this.executor.post({url:"action/issues/"+a+"/undelete",body:b,responseConstructor:null})};
IF.prototype.getMetadata=function(a){return this.executor.get({url:"action/issues/"+a+"/metadata",responseConstructor:GF}).then(qza)};IF.prototype.markRead=function(a,b,c){b=b===void 0?!0:b;c=c===void 0?"USER_ACTIVITY_TYPE_UNDEFINED":c;var d=new Jcc,e=d.setIt;a=(new EF).setIssueIdsList(a.map(Number));b=Hl(a,2,b);c=ej(b,3,A7b[c]);d=e.call(d,c);return this.executor.post({url:"action/issues/read_timestamp",body:d,responseConstructor:HF}).then(pza)};
var Lcc=function(a,b){return a.executor.get({url:"action/issues/"+b+"/experiments",responseConstructor:Rm}).then(gya).then(function(c){return Object.assign({},c,{id:b})})},Mcc=function(a,b){var c=(new Fcc).setIssueIdsList(b.map(Number));return a.executor.post({url:"action/issues/batch_experiments",body:c,responseConstructor:FF}).then(function(d){d=d.getIt();return nj(d,Rm,1,Wi()).map(gya)}).then(function(d){var e=Mi(d,function(f){return f.id});return b.map(function(f){var h;return(h=e.get(f))!=null?
h:so(f)})})};IF.\u0275fac=function(a){return new (a||IF)};IF.\u0275prov=n({token:IF,factory:IF.\u0275fac,providedIn:"root"});var KF=function(){ZB.call(this,{freshUntil:6E4});this.activeSession=r(dv);this.batchApiAdapter=r(rC);this.batchApiConfig=r(JF);this.issueService=r(IF);this.recordType="issue-experimental-fields";this.idForRecord=function(a){return a.id};this.isEqual=yi;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig)};Y(KF,ZB);KF.prototype.fetchOne=function(a){var b=this;return lu(this.activeSession,"enableTeamScope")?Re(function(){return b.batchAdaptedGet(a)}):Fe(void 0)};
KF.prototype.fetchSet=function(a){var b=this;return Me(a.map(function(c){return b.fetchOne(c)})).pipe(B(function(c){return c.filter(kj)}))};KF.prototype.copy=function(a){return a&&zi(a)};
var LF=function(a,b,c){var d,e,f,h;return ve(function(l){if(l.nextAddress==1)return a.manualUpdate(b,function(q){c(q!=null?q:so(b))}),xe(l,Je(a.batchAdaptedGet(b)),2);if(l.nextAddress!=3)return d=l.yieldResult,f=(e=a.copy(d))!=null?e:so(b),c(f),xe(l,a.issueService.executor.post({url:"action/issues/"+f.id+"/experiments",body:jya(f),responseConstructor:Rm}).then(gya),3);h=l.yieldResult;a.announce(h);return l.return(h)})};KF.\u0275fac=function(a){return new (a||KF)};
KF.\u0275prov=n({token:KF,factory:KF.\u0275fac,providedIn:"root"});var JF=function(){this.issueService=r(IF);this.maxBatchSize=100;this.bufferTimeMs=0};JF.prototype.call=function(a){var b=this;return Re(function(){return Mcc(b.issueService,[].concat(w(a)))}).pipe(B(function(c){return Mi(c,function(d){return d.id})}))};JF.prototype.split=function(a,b){var c;return(c=b.get(a))!=null?c:so(a)};JF.\u0275fac=function(a){return new (a||JF)};JF.\u0275prov=n({token:JF,factory:JF.\u0275fac,providedIn:"root"});var MF=function(){this.refreshRequest=new Jf};MF.prototype.getObservable=function(){return this.refreshRequest};var Ncc=function(a,b){return a.getObservable().pipe(Mf(void 0)).pipe(Nf(function(){return b}))};MF.\u0275fac=function(a){return new (a||MF)};MF.\u0275prov=n({token:MF,factory:MF.\u0275fac,providedIn:"root"});var OF=function(){ZB.call(this);var a=this;this.batchApiAdapter=r(rC);this.refreshMonitor=r(MF);this.issueBatchConfig=r(NF);this.issueApi=r(tD);this.issueExperimentalFieldsFridge=r(KF);this.recordType="issue-basic";this.idForRecord=function(b){return String(b.issueId)};this.isEqual=yi;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.issueBatchConfig);this.refreshMonitor.getObservable().subscribe(function(){a.invalidate()})};Y(OF,ZB);g=OF.prototype;g.fetchOne=function(a){return this.batchAdaptedGet(a)};
g.fetchSet=function(a){var b=this;return Me(a.map(function(c){return b.fetchOne(c)})).pipe(B(function(c){return c.filter(kj)}))};
g.fetchAll=function(a){var b=a.custom;var c=a.filter;var d=a.pageSize;a={s:a.sort,count:d};if(b==="viewed")return K9b(this.issueApi,d).pipe(B(function(e){return{results:e}}),xf(function(e){rj("issueFullFridge -> listRecentIssues() API error",e);return Fe({results:[]})}));if(b==="byExperimentalPhase"&&c)return c=k(c.split("____b-internal____")),b=c.next().value,c=c.next().value,d=so("0"),d.triage.phase=c,J9b(this.issueApi,b,a,{queryType:"QUERY_TRIAGE_PHASE",experimentalFields:d,concatenator:{relation:"AND"}}).pipe(B(function(e){return{results:e.issues,
totalSize:e.numTotalResults}}));if(c)return this.issueApi.listIssues(c,a).pipe(B(function(e){return{results:e.issues,totalSize:e.numTotalResults}}));throw Error("Uc");};g.copy=function(a){return a&&zi(a)};g.watch=function(a,b){return Me([ZB.prototype.watch.call(this,a,b),this.issueExperimentalFieldsFridge.watch(a)]).pipe(B(function(c){var d=k(c);c=d.next().value;d=d.next().value;return WCa([c],[d])[0]}))};
g.watchSet=function(a,b){return Me([ZB.prototype.watchSet.call(this,a,b),this.issueExperimentalFieldsFridge.watchSet(a)]).pipe(B(function(c){var d=k(c);c=d.next().value;d=d.next().value;return WCa(c,d)}))};g.watchMany=function(a,b){var c=this;return ZB.prototype.watchMany.call(this,a,b).pipe(Nf(function(d){return c.issueExperimentalFieldsFridge.watchSet(d.results.map(c.idForRecord)).pipe(B(function(e){return WCa(d.results,e)}),B(function(e){return Object.assign({},d,{results:e})}))}))};
OF.\u0275fac=function(a){return new (a||OF)};OF.\u0275prov=n({token:OF,factory:OF.\u0275fac,providedIn:"root"});var NF=function(){this.issueApi=r(tD);this.maxBatchSize=100;this.bufferTimeMs=0};NF.prototype.call=function(a){var b=this;if(a.size===1){var c=[].concat(w(a))[0];return this.issueApi.getIssueBasic(c).pipe(B(function(d){return new Map([[c,d]])}))}return Re(function(){return b.issueApi.batchGetIssues([].concat(w(a)))}).pipe(B(function(d){return Mi(d,function(e){return e.issueId})}))};
NF.prototype.split=function(a,b){return b.get(a)};NF.\u0275fac=function(a){return new (a||NF)};NF.\u0275prov=n({token:NF,factory:NF.\u0275fac,providedIn:"root"});var XCa=window,mDa=function(){return{count:0,duration:0,transferSize:0,cacheHits:0,cacheHitRate:0}},Occ=function(a){if(to())try{window.performance.mark(a)}catch(b){console.warn("route_performance",b)}};var oDa=Dk("debug-logging")(),uo=window,Pcc,lDa=!1;var pDa=d8b("last-visit"),qDa=d8b("last-visit-count"),sDa=e8b("last-visit"),rDa=e8b("last-visit-count");Date.now==null&&(Date.now=function(){return(new Date).getTime()});var Qcc=function(a){this.internalArray_=m(a)};Y(Qcc,V);Qcc.prototype.getValueCase=function(){return fl(this,Rcc)};var Rcc=[1,2,3];var Scc=function(a){this.internalArray_=m(a)};Y(Scc,V);Scc.prototype.getValueCase=function(){return fl(this,Tcc)};var Tcc=[1,2,3];var Ucc=function(a){this.internalArray_=m(a)};Y(Ucc,V);var Vcc=function(a){this.internalArray_=m(a)};Y(Vcc,V);Vcc.prototype.getFieldName=function(){return Jv(this,3)};Vcc.prototype.setFieldName=function(a){Nv(this,3,a)};var Wcc=function(a){this.internalArray_=m(a)};Y(Wcc,V);var Xcc=function(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";a.indexOf("blob:")===0&&(a=a.substring(5));a=a.split("#")[0].split("?")[0];a=a.toLowerCase();a.indexOf("//")==0&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");c!=-1&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("Vc`"+a);if(c!=="http"&&c!=="https"&&c!=="chrome-extension"&&c!=="moz-extension"&&
c!=="file"&&c!=="android-app"&&c!=="chrome-search"&&c!=="chrome-untrusted"&&c!=="chrome"&&c!=="app"&&c!=="devtools")throw Error("Wc`"+c);a="";var d=b.indexOf(":");if(d!=-1){var e=b.substring(d+1);b=b.substring(0,d);if(c==="http"&&e!=="80"||c==="https"&&e!=="443")a=":"+e}return c+"://"+b+a};var Zcc=function(a,b,c){var d=String(ya.location.href);return d&&a&&b?[b,Ycc(Xcc(d),a,c||null)].join(" "):null},Ycc=function(a,b,c){var d=[],e=[];if((Array.isArray(c)?2:1)==1)return e=[b,a],Ma(d,function(l){e.push(l)}),$cc(e.join(" "));var f=[],h=[];Ma(c,function(l){h.push(l.key);f.push(l.value)});c=Math.floor((new Date).getTime()/1E3);e=f.length==0?[c,b,a]:[f.join(":"),c,b,a];Ma(d,function(l){e.push(l)});a=$cc(e.join(" "));a=[c,a];h.length==0||a.push(h.join(""));return a.join("_")},$cc=function(a){var b=
uDa();b.update(a);return b.digestString().toLowerCase()};var adc={};var bdc=function(){this.document_=document||{cookie:""}};g=bdc.prototype;g.isEnabled=function(){if(!ya.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{maxAge:60});if(this.get("TESTCOOKIESENABLED")!=="1")return!1;this.remove("TESTCOOKIESENABLED");return!0};
g.set=function(a,b,c){var d=!1;if(typeof c==="object"){var e=c.sameSite;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var l=c.maxAge}if(/[;=\s]/.test(a))throw Error("Xc`"+a);if(/[;\r\n]/.test(b))throw Error("Yc`"+b);l===void 0&&(l=-1);c=f?";domain="+f:"";h=h?";path="+h:"";d=d?";secure":"";l=l<0?"":l==0?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+l*1E3)).toUTCString();this.document_.cookie=a+"="+b+c+h+l+d+(e!=null?";samesite="+e:"")};
g.get=function(a,b){for(var c=a+"=",d=(this.document_.cookie||"").split(";"),e=0,f;e<d.length;e++){f=Ii(d[e]);if(f.lastIndexOf(c,0)==0)return f.slice(c.length);if(f==a)return""}return b};g.remove=function(a,b,c){var d=this.containsKey(a);this.set(a,"",{maxAge:0,path:b,domain:c});return d};g.getKeys=function(){return cdc(this).keys};g.getValues=function(){return cdc(this).values};g.isEmpty=function(){return!this.document_.cookie};
g.getCount=function(){return this.document_.cookie?(this.document_.cookie||"").split(";").length:0};g.containsKey=function(a){return this.get(a)!==void 0};g.containsValue=function(a){for(var b=cdc(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};g.clear=function(){for(var a=cdc(this).keys,b=a.length-1;b>=0;b--)this.remove(a[b])};
var cdc=function(a){a=(a.document_.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=Ii(a[f]),d=e.indexOf("="),d==-1?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};var ddc=function(a){return!!adc.FPA_SAMESITE_PHASE2_MOD||!(a===void 0||!a)},edc=function(a,b,c,d){(a=ya[a])||typeof document==="undefined"||(a=(new bdc).get(b));return a?Zcc(a,c,d):null},OGa=function(a,b){b=b===void 0?!1:b;var c=Xcc(String(ya.location.href)),d=[];var e=b;e=e===void 0?!1:e;var f=ya.__SAPISID||ya.__APISID||ya.__3PSAPISID||ya.__OVERRIDE_SID;ddc(e)&&(f=f||ya.__1PSAPISID);if(f)e=!0;else{if(typeof document!=="undefined"){var h=new bdc;f=h.get("SAPISID")||h.get("APISID")||h.get("__Secure-3PAPISID");
ddc(e)&&(f=f||h.get("__Secure-1PAPISID"))}e=!!f}e&&(e=(c=c.indexOf("https:")==0||c.indexOf("chrome-extension:")==0||c.indexOf("chrome-untrusted://new-tab-page")==0||c.indexOf("moz-extension:")==0)?ya.__SAPISID:ya.__APISID,e||typeof document==="undefined"||(e=new bdc,e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID")),(e=e?Zcc(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e),c&&ddc(b)&&((b=edc("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=edc("__3PSAPISID","__Secure-3PAPISID",
"SAPISID3PHASH",a))&&d.push(a)));return d.length==0?null:d.join(" ")};var PF=function(){this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_};PF.prototype.disposed_=!1;PF.prototype.isDisposed=function(){return this.disposed_};PF.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())};PF.prototype[Symbol.dispose]=function(){this.dispose()};var hr=function(a,b){b=pv(zo,b);a.disposed_?b():(a.onDisposeCallbacks_||(a.onDisposeCallbacks_=[]),a.onDisposeCallbacks_.push(b))};PF.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};var fdc=function(a){this.internalArray_=m(a)};Y(fdc,V);var QF=function(a,b){this.intervalMs=a;this.callback=b;this.enabled=!1;this.nowFn=function(){return Date.now()};this.lastTimeMs=this.nowFn()};QF.prototype.setInterval=function(a){this.intervalMs=a;this.timer&&this.enabled?(this.stop(),this.start()):this.timer&&this.stop()};QF.prototype.start=function(){var a=this;this.enabled=!0;this.timer||(this.timer=setTimeout(function(){a.tick()},this.intervalMs),this.lastTimeMs=this.nowFn())};
QF.prototype.stop=function(){this.enabled=!1;this.timer&&(clearTimeout(this.timer),this.timer=void 0)};QF.prototype.tick=function(){var a=this;if(this.enabled){var b=Math.max(this.nowFn()-this.lastTimeMs,0);b<this.intervalMs*.8?this.timer=setTimeout(function(){a.tick()},this.intervalMs-b):(this.timer&&(clearTimeout(this.timer),this.timer=void 0),this.callback(),this.enabled&&(this.stop(),this.start()))}else this.timer=void 0};var gdc=function(a){this.internalArray_=m(a)};Y(gdc,V);var hdc=function(a){this.internalArray_=m(a)};Y(hdc,V);var idc=function(){if(!ya.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};ya.addEventListener("test",c,b);ya.removeEventListener("test",c,b)}catch(d){}return a}();var jdc=function(a){this.currBaseValue_=this.currValue_=this.initialValue_=a};jdc.prototype.reset=function(){this.currBaseValue_=this.currValue_=this.initialValue_};jdc.prototype.getValue=function(){return this.currValue_};var RF=function(a){this.internalArray_=m(a)};Y(RF,V);g=RF.prototype;g.getTransmissionType=function(){return Kj(this,1,0)};g.setTransmissionType=function(a){hk(this,1,a)};g.setRetryCount=function(a){ek(this,3,a)};g.setPersistedLogRecoveredCount=function(a){ek(this,4,a)};g.setPersistedLogExpiredCount=function(a){ek(this,5,a)};var Ao=function(a){this.internalArray_=m(a)};Y(Ao,V);Ao.prototype.getVersion=function(){return Gh(this,2)};Ao.prototype.setVersion=function(a){return gk(this,2,a)};Ao.prototype.getVersionOrUndefined=function(){return Pm(this,2)};var SF=function(a){this.internalArray_=m(a)};Y(SF,V);var yDa=function(a,b){$l(a,1,b)};SF.prototype.setPlatform=function(a){gk(this,3,a)};SF.prototype.setModel=function(a){return gk(this,6,a)};var TF=function(a){this.internalArray_=m(a)};Y(TF,V);TF.prototype.getLocale=function(){return Gh(this,5)};TF.prototype.setLocale=function(a){return gk(this,5,a)};TF.prototype.setBuildLabel=function(a){gk(this,7,a)};TF.prototype.getMutableFlushInfo=function(){return Av(this,RF,10)};var wDa=["platform","platformVersion","architecture","model","uaFullVersion"],zDa=new SF,xDa=null;var UF=function(a){this.internalArray_=m(a)};Y(UF,V);UF.prototype.getMutableJsClientInfo=function(){return Av(this,TF,11)};var kdc=function(a){this.internalArray_=m(a)};Y(kdc,V);g=kdc.prototype;g.getKey=function(){return Gh(this,1)};g.getValue=function(){return Gh(this,2)};g.getValue_legacyNullable=function(){return uk(this,2)};g.setValue=function(a){return gk(this,2,a)};g.hasValue=function(){return Hj(this,2)};var VF=function(a){this.internalArray_=m(a,4)};Y(VF,V);var WF=function(a){this.internalArray_=m(a,35)};Y(WF,V);g=WF.prototype;g.getTag=function(){return Gh(this,2)};g.getComponentId=function(){return Gh(this,26)};g.setComponentId=function(a){return gk(this,26,a)};g.hasComponentId=function(){return Hj(this,26)};g.addValue=function(){return Bv(this,3,kdc)};g.setValue=function(a,b){return yv(this,3,kdc,a,b)};var ldc=function(a,b){return gk(a,8,b)};WF.prototype.getExperimentIds=function(){return W(this,fdc,16)};
WF.prototype.setExperimentIds=function(a){X(this,fdc,16,a)};WF.prototype.clearExperimentIds=function(){return Zp(this,16)};var mdc=function(a,b){gk(a,24,b)};WF.prototype.getComplianceData=function(){return W(this,VF,33)};WF.prototype.setComplianceData=function(a){X(this,VF,33,a)};var ndc=function(a){this.internalArray_=m(a,19)};Y(ndc,V);g=ndc.prototype;g.getClientInfo=function(){return W(this,UF,1)};g.getMutableClientInfo=function(){return Av(this,UF,1)};g.setClientInfo=function(a){X(this,UF,1,a)};g.getLogSource=function(){return Kj(this,2,-1)};g.setLogSource=function(a){return hk(this,2,a)};g.getComplianceData=function(){return W(this,VF,18)};g.setComplianceData=function(a){X(this,VF,18,a)};var XF=function(a){this.internalArray_=m(a)};Y(XF,V);XF.prototype.getId=function(a){return Jv(this,1,a)};XF.prototype.setId=function(a){return Nv(this,1,a)};var odc=function(a){this.internalArray_=m(a,8)};Y(odc,V);odc.prototype.getExperiments=function(){return W(this,XF,2)};odc.prototype.setExperiments=function(a){return X(this,XF,2,a)};odc.prototype.hasExperiments=function(){return Oj(this,XF,2)};var pdc=Ih(odc);var qdc=function(a){this.internalArray_=m(a)};Y(qdc,V);var rdc=new Bw(175237375,qdc);var ZF=function(a){PF.call(this);var b=this;this.componentId="";this.pendingEvents=[];this.lastFailedAuth="";this.pageId=null;this.useGetRequestForFinalFlush=this.useSendBeaconForFinalFlush=this.clientSideLogOnlyForDevelopment=!1;this.noFlushUntilMs=this.startWaitingMs=-1;this.useConsistentTimezoneOffset=this.clientSpecifiedFlushInterval=!1;this.compressor=this.experimentIds=null;this.persistedLogExpiredCount=this.persistedLogRecoveredCount=this.numRetriesSinceLastSuccessfulFlush=this.numLogsDroppedSinceLastFlush=
0;this.sequencePosition=1;this.timeoutMillis=0;this.sendBeaconApiEnabled=!1;this.logSource=a.logSource;this.getAuthHeaderValue=a.getAuthHeaderValue||function(){};this.logRequestBuilder=new YF(a.logSource,a.isServiceWorkerScope);this.network=a.network;this.productID=a.productID||null;this.bufferSize=1E3;this.clearcutUrl=a.urlOverride||null;this.sessionIndex=a.sessionIndex||null;this.disableAutomaticFlush=a.disableAutomaticFlush||!1;this.logger=null;this.withCredentials=!a.disableWithCredentials;this.isServiceWorkerScope=
a.isServiceWorkerScope||!1;this.isSendBeaconSupported=!this.isServiceWorkerScope&&!!NA()&&!!NA().navigator&&NA().navigator.sendBeacon!==void 0;this.isBrowserSupported=typeof URLSearchParams!=="undefined"&&!!(new URL(sdc())).searchParams&&!!(new URL(sdc())).searchParams.set;var c=hk(new UF,1,1);this.logRequestBuilder.setClientInfo(c);this.flushBackoff=new jdc(1E4);a=tdc(this,a.backgroundJobDeferrer);this.flushTimer=new QF(this.flushBackoff.getValue(),a);this.backupTimer=new QF(6E5,a);this.disableAutomaticFlush||
this.backupTimer.start();this.isServiceWorkerScope||(document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"&&b.finalFlush()}),document.addEventListener("pagehide",this.finalFlush.bind(this)))};Y(ZF,PF);var tdc=function(a,b){return a.isBrowserSupported?b?function(){b().then(function(){a.flush()})}:function(){a.flush()}:function(){}};ZF.prototype.disposeInternal=function(){this.finalFlush();this.flushTimer.stop();this.backupTimer.stop();PF.prototype.disposeInternal.call(this)};
ZF.prototype.setClearcutUrl=function(a){this.clearcutUrl=a};ZF.prototype.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};ZF.prototype.getClearcutUrl=function(){this.clearcutUrl||(this.clearcutUrl=sdc());try{return(new URL(this.clearcutUrl)).toString()}catch(a){return(new URL(this.clearcutUrl,NA().location.origin)).toString()}};var $F=function(a,b){a.isBrowserSupported&&(b instanceof WF?a.log(b):(b=ldc(new WF,b.serialize()),a.log(b)))};g=ZF.prototype;
g.setClearcutClientInfo=function(a){this.logRequestBuilder.setClientInfo(a)};g.setComponentId=function(a){this.componentId=a};g.setProductID=function(a){this.productID=a};g.setPageId=function(a){this.pageId=a};g.setOpaqueExperimentIds=function(a){this.experimentIds||(this.experimentIds=new fdc);var b=this.experimentIds;a=[].concat(w(a));wc(b,2,a,oea)};
g.setClearExperimentIds=function(a){if(a){this.experimentIds||(this.experimentIds=new fdc);var b=this.experimentIds;a=a.serialize();gk(b,4,a)}else this.experimentIds&&Zp(this.experimentIds,4)};g.setClientSideLogOnlyForDevelopment=function(a){this.clientSideLogOnlyForDevelopment=a};g.setCompressor=function(a){this.compressor=a};g.setBuildLabel=function(a){this.logRequestBuilder.setBuildLabel(a)};g.setFlushIntervalMs=function(a){this.clientSpecifiedFlushInterval=!0;udc(this,a)};
var udc=function(a,b){a.flushBackoff=new jdc(b<1?1:b);a.flushTimer.setInterval(a.flushBackoff.getValue())};
ZF.prototype.log=function(a){if(this.isBrowserSupported){a=a.clone();var b=this.sequencePosition++;a=nk(a,21,b);this.componentId&&a.setComponentId(this.componentId);if(Pb(Mj(a,1))==null){var c=Date.now();b=a;c=Number.isFinite(c)?c.toString():"0";lk(b,1,c)}Uj(a,15)||nk(a,15,(new Date).getTimezoneOffset()*(this.useConsistentTimezoneOffset?-60:60));this.experimentIds&&a.setExperimentIds(this.experimentIds.clone());b=this.pendingEvents.length-this.bufferSize+1;b>0&&(this.pendingEvents.splice(0,b),this.numLogsDroppedSinceLastFlush+=
b);this.pendingEvents.push(a);this.maybeStartFlushTimer()}};ZF.prototype.maybeStartFlushTimer=function(){this.disableAutomaticFlush||this.flushTimer.enabled||this.flushTimer.start()};
ZF.prototype.flush=function(a,b){var c=this;if(this.pendingEvents.length===0)a&&a();else if(this.sendBeaconApiEnabled&&this.isSendBeaconSupported)this.logRequestBuilder.setTransmissionType(3),vdc(this);else{var d=Date.now();if(this.noFlushUntilMs>d&&this.startWaitingMs<d)b&&b("throttled");else{this.network&&(typeof this.network.getTransmissionType==="function"?this.logRequestBuilder.setTransmissionType(this.network.getTransmissionType()):this.logRequestBuilder.setTransmissionType(0));var e=this.logRequestBuilder.build(this.pendingEvents,
this.numLogsDroppedSinceLastFlush,this.numRetriesSinceLastSuccessfulFlush,this.productID,this.persistedLogRecoveredCount,this.persistedLogExpiredCount);d={};var f=this.getAuthHeaderValue();f&&(d.Authorization=f);var h=new URL(this.getClearcutUrl());this.sessionIndex&&(d["X-Goog-AuthUser"]=this.sessionIndex,h.searchParams.set("authuser",this.sessionIndex));this.pageId&&(Object.defineProperty(d,"X-Goog-PageId",{value:this.pageId}),h.searchParams.set("pageId",this.pageId));if(f&&this.lastFailedAuth===
f)b&&b("stale-auth-token");else if(this.pendingEvents=[],this.flushTimer.enabled&&this.flushTimer.stop(),this.numLogsDroppedSinceLastFlush=0,this.clientSideLogOnlyForDevelopment)a&&a();else{var l=e.serialize(),q;this.compressor&&this.compressor.getHiddenPropertyName_()&&(q=this.compressor.compress(l));var v={url:h.toString(),body:l,bodyType:1,requestHeaders:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis},y=function(O){c.flushBackoff.reset();c.flushTimer.setInterval(c.flushBackoff.getValue());
if(O){var N=null;try{var T=JSON.stringify(JSON.parse(O.replace(")]}'\n","")));N=pdc(T)}catch(da){}N&&(O=Number(Hv(N,1,"-1")),O>0&&(c.startWaitingMs=Date.now(),c.noFlushUntilMs=c.startWaitingMs+O),N=g_b(N,rdc))&&(N=Zi(N,1,-1),N!==-1&&(c.clientSpecifiedFlushInterval||udc(c,N)))}a&&a();c.numRetriesSinceLastSuccessfulFlush=0},E=function(O,N){var T=nj(e,WF,3,Wi());var da=Zcb(e,14),ja=c.flushBackoff;ja.currBaseValue_=Math.min(3E5,ja.currBaseValue_*2);ja.currValue_=Math.min(3E5,ja.currBaseValue_+Math.round((Math.random()-
.5)*.2*ja.currBaseValue_));c.flushTimer.setInterval(c.flushBackoff.getValue());O===401&&f&&(c.lastFailedAuth=f);da&&(c.numLogsDroppedSinceLastFlush+=da);N===void 0&&(N=500<=O&&O<600||O===401||O===0);N&&(c.pendingEvents=T.concat(c.pendingEvents),c.maybeStartFlushTimer());b&&b("net-send-failed",O);++c.numRetriesSinceLastSuccessfulFlush},H=function(){c.network&&c.network.send(v,y,E)};q?q.then(function(O){v.requestHeaders["Content-Encoding"]="gzip";v.requestHeaders["Content-Type"]="application/binary";
v.body=O;v.bodyType=2;H()},function(){H()}):H()}}}};ZF.prototype.finalFlush=function(){this.clientSideLogOnlyForDevelopment||(wdc(this.logRequestBuilder,!0),this.useSendBeaconForFinalFlush&&(this.logRequestBuilder.setTransmissionType(3),vdc(this)),this.useGetRequestForFinalFlush&&(this.logRequestBuilder.setTransmissionType(2),xdc(this)),this.flush(),wdc(this.logRequestBuilder,!1))};
var vdc=function(a){ydc(a,32,10,function(b,c){b=new URL(b);b.searchParams.set("format","json");var d=!1;try{d=NA().navigator.sendBeacon(b.toString(),c.serialize())}catch(e){}d||(a.isSendBeaconSupported=!1);return d})},xdc=function(a){ydc(a,6,5,function(b,c){b=new URL(b);b.searchParams.set("format","base64json");var d=b.searchParams,e=d.set;c=c.serialize();for(var f=[],h=0,l=0;l<c.length;l++){var q=c.charCodeAt(l);q>255&&(f[h++]=q&255,q>>=8);f[h++]=q}c=DZb(f,3);e.call(d,"p",c);b=b.toString();if(b.length>
15360)return!1;(new Image).src=b;return!0})},ydc=function(a,b,c,d){if(a.pendingEvents.length!==0){var e=new URL(a.getClearcutUrl());e.searchParams.delete("format");var f=a.getAuthHeaderValue();f&&e.searchParams.set("auth",f);e.searchParams.set("authuser",a.sessionIndex||"0");for(f=0;f<c&&a.pendingEvents.length;++f){var h=a.pendingEvents.slice(0,b),l=a.logRequestBuilder.build(h,a.numLogsDroppedSinceLastFlush,a.numRetriesSinceLastSuccessfulFlush,a.productID,a.persistedLogRecoveredCount,a.persistedLogExpiredCount);
if(!d(e.toString(),l)){++a.numRetriesSinceLastSuccessfulFlush;break}a.numLogsDroppedSinceLastFlush=0;a.numRetriesSinceLastSuccessfulFlush=0;a.persistedLogRecoveredCount=0;a.persistedLogExpiredCount=0;a.pendingEvents=a.pendingEvents.slice(h.length)}a.flushTimer.enabled&&a.flushTimer.stop()}},sdc=function(){return"https://play.google.com/log?format=json&hasfast=true"},YF=function(a,b){this.isServiceWorkerScope=b=b===void 0?!1:b;this.uach=this.locale=null;this.logRequest=new ndc;Number.isInteger(a)&&
this.logRequest.setLogSource(a);b||(this.locale=document.documentElement.getAttribute("lang"));this.setClientInfo(new UF)};YF.prototype.setLogSource=function(a){this.logRequest.setLogSource(a);return this};YF.prototype.setClientInfo=function(a){this.logRequest.setClientInfo(a);Kj(a,1,0)||hk(a,1,1);this.isServiceWorkerScope||(a=this.getMutableJsClientInfo(),a.getLocale()||a.setLocale(this.locale));this.uach&&(a=this.getMutableJsClientInfo(),W(a,SF,9)||X(a,SF,9,this.uach))};
YF.prototype.setBuildLabel=function(a){this.getMutableJsClientInfo().setBuildLabel(a)};YF.prototype.setTransmissionType=function(a){Oj(this.getMutableClientInfo(),TF,11)&&this.getMutableFlushInfo().setTransmissionType(a)};var wdc=function(a,b){Oj(a.getMutableClientInfo(),TF,11)&&(a=a.getMutableFlushInfo(),dk(a,2,b))};YF.prototype.setRetryCount=function(a){Oj(this.getMutableClientInfo(),TF,11)&&this.getMutableFlushInfo().setRetryCount(a)};
YF.prototype.setPersistedLogRecoveredCount=function(a){Oj(this.getMutableClientInfo(),TF,11)&&this.getMutableFlushInfo().setPersistedLogRecoveredCount(a)};YF.prototype.setPersistedLogExpiredCount=function(a){Oj(this.getMutableClientInfo(),TF,11)&&this.getMutableFlushInfo().setPersistedLogExpiredCount(a)};YF.prototype.getMutableClientInfo=function(){return this.logRequest.getClientInfo()};
var zdc=function(a){var b=b===void 0?wDa:b;var c=a.isServiceWorkerScope?void 0:NA();c?ADa(c,b).then(function(d){a.uach=d;d=a.getMutableJsClientInfo();X(d,SF,9,a.uach);return!0}).catch(function(){return!1}):Promise.resolve(!1)};YF.prototype.getMutableJsClientInfo=function(){var a=this.getMutableClientInfo(),b=W(a,TF,11);b||(b=new TF,X(a,TF,11,b));return b};YF.prototype.getMutableFlushInfo=function(){var a=this.getMutableJsClientInfo(),b=W(a,RF,10);b||(b=new RF,dk(b,2,!1),X(a,RF,10,b));return b};
YF.prototype.getComplianceData=function(a){var b=new gdc;a=ek(b,13,a);b=new hdc;a=X(b,gdc,2,a);b=new VF;a=X(b,hdc,1,a);return hk(a,2,9)};YF.prototype.build=function(a,b,c,d,e,f){b=b===void 0?0:b;e=e===void 0?0:e;f=f===void 0?0:f;this.setRetryCount(c===void 0?0:c);this.setPersistedLogRecoveredCount(e);this.setPersistedLogExpiredCount(f);c=this.logRequest.clone();e=Date.now().toString();c=lk(c,4,e);a=$l(c,3,a.slice());d&&a.setComplianceData(this.getComplianceData(d));b&&nk(a,14,b);return a};var Adc=function(){this.abortSupported=typeof AbortController!=="undefined"};
Adc.prototype.send=function(a,b,c){var d=this,e,f,h,l,q,v,y,E,H,O;return ve(function(N){switch(N.nextAddress){case 1:return f=(e=d.abortSupported?new AbortController:void 0)?setTimeout(function(){e.abort()},a.timeoutMillis):void 0,we(N,2,3),h=Object.assign({},{method:a.requestType,headers:Object.assign({},a.requestHeaders)},a.body&&{body:a.body},a.withCredentials&&{credentials:"include"},{signal:a.timeoutMillis&&e?e.signal:null}),xe(N,fetch(a.url,h),5);case 5:l=N.yieldResult;if(l.status!==200){(q=
c)==null||q(l.status);N.jumpTo(3);break}if((v=b)==null){N.jumpTo(7);break}return xe(N,l.text(),8);case 8:v(N.yieldResult);case 7:case 3:ye(N);clearTimeout(f);ze(N,0);break;case 2:y=Be(N);switch((E=y)==null?void 0:E.name){case "AbortError":(H=c)==null||H(408);break;default:(O=c)==null||O(400)}N.jumpTo(3)}})};Adc.prototype.getTransmissionType=function(){return 4};var xp=function(a,b){PF.call(this);this.logSource=a;this.sessionIndex=b;this.destinationUrl="https://play.google.com/log?format=json&hasfast=true";this.buildLabel=null;this.serviceWorkerScopeEnabled=!1;this.network=this.compressor=null;this.componentId="";this.clearcutClientInfo=this.opaqueExperimentIds=this.clearExperimentIds=this.productID=null;this.getRequestForFinalFlush=this.sendBeaconForFinalFlush=!1;this.flushIntervalMs=null;this.sendBeaconApiEnabled=!1;this.useConsistentTimezoneOffset=void 0;
this.pageId=null};Y(xp,PF);g=xp.prototype;g.setBuildLabel=function(a){this.buildLabel=a};g.setCompressor=function(a){this.compressor=a};g.setComponentId=function(a){this.componentId=a;return this};g.setProductID=function(a){this.productID=a};g.setClearExperimentIds=function(a){this.clearExperimentIds=a};g.setOpaqueExperimentIds=function(a){this.opaqueExperimentIds=a};var YGa=function(a,b){a.getAuthHeaderValue=b};g=xp.prototype;g.setClearcutClientInfo=function(a){this.clearcutClientInfo=a};
g.useSendBeaconForFinalFlush=function(){this.sendBeaconForFinalFlush=!0;return this};g.useGetRequestForFinalFlush=function(){this.getRequestForFinalFlush=!0;return this};g.setFlushIntervalMs=function(a){this.flushIntervalMs=Math.max(a,1E3)};g.disableWithCredentials=function(){this.withCredentialsDisabled=!0;return this};g.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};g.setPageId=function(a){this.pageId=a};
g.build=function(){this.network||(this.network=new Adc);var a=new ZF({logSource:this.logSource,getAuthHeaderValue:this.getAuthHeaderValue?this.getAuthHeaderValue:OGa,sessionIndex:this.sessionIndex,urlOverride:this.destinationUrl,isServiceWorkerScope:this.serviceWorkerScopeEnabled,disableAutomaticFlush:!1,disableWithCredentials:this.withCredentialsDisabled,backgroundJobDeferrer:this.backgroundJobDeferrer,network:this.network});hr(this,a);this.clearcutClientInfo&&a.setClearcutClientInfo(this.clearcutClientInfo);
this.buildLabel&&a.setBuildLabel(this.buildLabel);this.compressor&&a.setCompressor(this.compressor);this.componentId&&a.setComponentId(this.componentId);this.productID&&a.setProductID(this.productID);this.pageId&&a.setPageId(this.pageId);this.clearExperimentIds&&a.setClearExperimentIds(this.clearExperimentIds);this.opaqueExperimentIds&&a.setOpaqueExperimentIds(this.opaqueExperimentIds);this.sendBeaconForFinalFlush&&(a.useSendBeaconForFinalFlush=this.sendBeaconForFinalFlush&&a.isSendBeaconSupported);
this.getRequestForFinalFlush&&(a.useGetRequestForFinalFlush=this.getRequestForFinalFlush);this.flushIntervalMs&&a.setFlushIntervalMs(this.flushIntervalMs);this.sendBeaconApiEnabled&&(a.sendBeaconApiEnabled=a.isSendBeaconSupported);zdc(a.logRequestBuilder);this.useConsistentTimezoneOffset&&a.setUseConsistentTimezoneOffset(!0);this.network.setLogSource&&this.network.setLogSource(this.logSource);this.network.setTransportReferenceAndAttemptFlush&&this.network.setTransportReferenceAndAttemptFlush(a);return a};var aG=function(a,b,c,d,e,f,h){a=a===void 0?-1:a;b=b===void 0?"":b;c=c===void 0?"":c;d=d===void 0?!1:d;e=e===void 0?"":e;PF.call(this);this.logSource=a;this.componentId=b;f?c=f:(a=(new xp(a,"0")).setComponentId(b),hr(this,a),c!==""&&(a.destinationUrl=c),d&&(a.serviceWorkerScopeEnabled=!0),e&&a.setBuildLabel(e),h&&(a.network=h),c=a.build());this.transport=c};Y(aG,PF);aG.prototype.getLogSource=function(){return this.logSource};aG.prototype.getComponentId=function(){return this.componentId};
aG.prototype.flush=function(a){a=a||[];if(a.length){for(var b=new Wcc,c=[],d=0;d<a.length;d++){var e=a[d],f=new Vcc;f=gk(f,1,e.metricName);var h=Bdc(e);f=dj(f,3,h);h=[];var l=[];for(var q=k(e.cellMap.keys()),v=q.next();!v.done;v=q.next())l.push(v.value.split(","));for(q=0;q<l.length;q++){v=l[q];var y=e.cellType;for(var E=e.getCells(v)||[],H=[],O=0;O<E.length;O++){var N=E[O],T=N&&N.cellValue;N=new Scc;switch(y){case 3:T=Number(T);Number.isFinite(T)&&xl(N,1,Tcc,Lb(T));break;case 2:xl(N,2,Tcc,yb(Number(T)))}H.push(N)}y=
H;for(E=0;E<y.length;E++){H=y[E];O=new Ucc;H=X(O,Scc,2,H);O=v;N=[];T=Cdc(e);for(var da=0;da<T.length;da++){var ja=T[da],na=O[da],Ia=new Qcc;switch(ja){case 3:kl(Ia,1,Rcc,String(na));break;case 2:ja=Number(na);Number.isFinite(ja)&&xl(Ia,2,Rcc,ja==null?ja:Gb(ja));break;case 1:xl(Ia,3,Rcc,Db(na==="true"))}N.push(Ia)}$l(H,1,N);h.push(H)}}$l(f,4,h);c.push(f);e.clear()}$l(b,1,c);$F(this.transport,b);this.transport.flush()}};var Ddc=function(a){this.cellValue=a};var Edc=function(a,b,c){this.metricName=a;this.cellType=b;this.fields=c||[];this.cellMap=new Map},Cdc=function(a){return a.fields.map(function(b){return b.fieldType})},Bdc=function(a){return a.fields.map(function(b){return b.fieldName})};g=Edc.prototype;g.addCell=function(a){var b=zd.apply(1,arguments),c=this.getCells(b);c?c.push(new Ddc(a)):this.setCell(a,b)};g.setCell=function(a){var b=this.getKey(zd.apply(1,arguments));this.cellMap.set(b,[new Ddc(a)])};
g.getCells=function(){var a=this.getKey(zd.apply(0,arguments));return this.cellMap.has(a)?this.cellMap.get(a):void 0};g.getCell=function(){var a=this.getCells(zd.apply(0,arguments));return a&&a.length?a[0]:void 0};g.clear=function(){this.cellMap.clear()};g.getKey=function(){var a=zd.apply(0,arguments);return a?a.join(","):"key"};var Fdc=function(a,b){Edc.call(this,a,3,b)};Y(Fdc,Edc);Fdc.prototype.incrementCounter=function(){this.incrementCounterBy(1,zd.apply(0,arguments))};Fdc.prototype.incrementCounterBy=function(a){var b=zd.apply(1,arguments),c=0,d=this.getCell(b);d&&(c=d.cellValue);this.setCell(c+a,b)};var Gdc=function(a,b){Edc.call(this,a,2,b)};Y(Gdc,Edc);Gdc.prototype.record=function(a){this.addCell(a,zd.apply(1,arguments))};var bG=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};bG.prototype.stopPropagation=function(){this.propagationStopped_=!0};bG.prototype.preventDefault=function(){this.defaultPrevented=!0};var cG=function(a,b){bG.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.platformModifierKey=!1;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.event_=null;a&&this.init(a,b)};qv(cG,bG);
cG.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;b=a.relatedTarget;b||(c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement));this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=tv||a.offsetX!==void 0?a.offsetX:a.layerX,this.offsetY=
tv||a.offsetY!==void 0?a.offsetY:a.layerY,this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==void 0?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.platformModifierKey=as?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType=
a.pointerType;this.state=a.state;this.timeStamp=a.timeStamp;this.event_=a;a.defaultPrevented&&cG.superClass_.preventDefault.call(this)};cG.prototype.stopPropagation=function(){cG.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};cG.prototype.preventDefault=function(){cG.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var Hdc="closure_listenable_"+(Math.random()*1E6|0),dG=function(a){return!(!a||!a[Hdc])};var Idc=0;var Jdc=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.handler=e;this.key=++Idc;this.removed=this.callOnce=!1},Kdc=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};var eG=function(a){this.src=a;this.listeners={};this.typeCount_=0};eG.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.typeCount_++);var h=Ldc(a,b,d,e);h>-1?(b=a[h],c||(b.callOnce=!1)):(b=new Jdc(b,this.src,f,!!d,e),b.callOnce=c,a.push(b));return b};
eG.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=Ldc(e,b,c,d);return b>-1?(Kdc(e[b]),Ra(e,b),e.length==0&&(delete this.listeners[a],this.typeCount_--),!0):!1};var Mdc=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=Sa(a.listeners[c],b);d&&(Kdc(b),a.listeners[c].length==0&&(delete a.listeners[c],a.typeCount_--));return d};
eG.prototype.removeAll=function(){var a=0,b;for(b in this.listeners){for(var c=this.listeners[b],d=0;d<c.length;d++)++a,Kdc(c[d]);delete this.listeners[b];this.typeCount_--}};eG.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=Ldc(a,b,c,d));return e>-1?a[e]:null};
eG.prototype.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return tea(this.listeners,function(f){for(var h=0;h<f.length;++h)if(!(c&&f[h].type!=d||e&&f[h].capture!=b))return!0;return!1})};var Ldc=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.removed&&f.listener==b&&f.capture==!!c&&f.handler==d)return e}return-1};var Ndc="closure_lm_"+(Math.random()*1E6|0),Odc={},Pdc=0,zp=function(a,b,c,d,e){if(d&&d.once)return fG(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)zp(a,b[f],c,d,e);return null}c=Qdc(c);return dG(a)?a.listen(b,c,In(d)?!!d.capture:!!d,e):Rdc(a,b,c,!1,d,e)},Rdc=function(a,b,c,d,e,f){if(!b)throw Error("$c");var h=In(e)?!!e.capture:!!e,l=Sdc(a);l||(a[Ndc]=l=new eG(a));c=l.add(b,c,d,h,f);if(c.proxy)return c;d=Tdc();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)idc||(e=h),e===void 0&&
(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Udc(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("ad");Pdc++;return c},Tdc=function(){var a=Vdc,b=function(c){return a.call(b.src,b.listener,c)};return b},fG=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)fG(a,b[f],c,d,e);return null}c=Qdc(c);return dG(a)?a.listenOnce(b,c,In(d)?!!d.capture:!!d,e):Rdc(a,b,c,!0,d,e)},gG=function(a,b,c,d,e){if(Array.isArray(b))for(var f=
0;f<b.length;f++)gG(a,b[f],c,d,e);else d=In(d)?!!d.capture:!!d,c=Qdc(c),dG(a)?a.unlisten(b,c,d,e):a&&(a=Sdc(a))&&(b=a.getListener(b,c,d,e))&&hG(b)},hG=function(a){if(typeof a==="number"||!a||a.removed)return!1;var b=a.src;if(dG(b))return b.unlistenByKey(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Udc(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Pdc--;(c=Sdc(b))?(Mdc(c,a),c.typeCount_==0&&(c.src=null,b[Ndc]=null)):Kdc(a);
return!0},Udc=function(a){return a in Odc?Odc[a]:Odc[a]="on"+a},Vdc=function(a,b){if(a.removed)a=!0;else{b=new cG(b,this);var c=a.listener,d=a.handler||a.src;a.callOnce&&hG(a);a=c.call(d,b)}return a},Sdc=function(a){a=a[Ndc];return a instanceof eG?a:null},Wdc="__closure_events_fn_"+(Math.random()*1E9>>>0),Qdc=function(a){if(typeof a==="function")return a;a[Wdc]||(a[Wdc]=function(b){return a.handleEvent(b)});return a[Wdc]};h6b(function(a){Vdc=a(Vdc)});var yp=function(){PF.call(this);this.eventTargetListeners_=new eG(this);this.actualEventTarget_=this;this.parentEventTarget_=null};qv(yp,PF);yp.prototype[Hdc]=!0;g=yp.prototype;g.getParentEventTarget=function(){return this.parentEventTarget_};g.setParentEventTarget=function(a){this.parentEventTarget_=a};g.addEventListener=function(a,b,c,d){zp(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){gG(this,a,b,c,d)};
g.dispatchEvent=function(a){var b,c=this.getParentEventTarget();if(c)for(b=[];c;c=c.getParentEventTarget())b.push(c);c=this.actualEventTarget_;var d=a.type||a;if(typeof a==="string")a=new bG(a,c);else if(a instanceof bG)a.target=a.target||c;else{var e=a;a=new bG(d,c);Cea(a,e)}e=!0;if(b)for(var f=b.length-1;!a.propagationStopped_&&f>=0;f--){var h=a.currentTarget=b[f];e=h.fireListeners(d,!0,a)&&e}a.propagationStopped_||(h=a.currentTarget=c,e=h.fireListeners(d,!0,a)&&e,a.propagationStopped_||(e=h.fireListeners(d,
!1,a)&&e));if(b)for(f=0;!a.propagationStopped_&&f<b.length;f++)h=a.currentTarget=b[f],e=h.fireListeners(d,!1,a)&&e;return e};g.disposeInternal=function(){yp.superClass_.disposeInternal.call(this);this.removeAllListeners();this.parentEventTarget_=null};g.listen=function(a,b,c,d){return this.eventTargetListeners_.add(String(a),b,!1,c,d)};g.listenOnce=function(a,b,c,d){return this.eventTargetListeners_.add(String(a),b,!0,c,d)};
g.unlisten=function(a,b,c,d){return this.eventTargetListeners_.remove(String(a),b,c,d)};g.unlistenByKey=function(a){return Mdc(this.eventTargetListeners_,a)};g.removeAllListeners=function(){this.eventTargetListeners_&&this.eventTargetListeners_.removeAll()};
g.fireListeners=function(a,b,c){a=this.eventTargetListeners_.listeners[String(a)];if(!a)return!0;a=a.concat();for(var d=!0,e=0;e<a.length;++e){var f=a[e];if(f&&!f.removed&&f.capture==b){var h=f.listener,l=f.handler||f.src;f.callOnce&&this.unlistenByKey(f);d=h.call(l,c)!==!1&&d}}return d&&!c.defaultPrevented};g.getListener=function(a,b,c,d){return this.eventTargetListeners_.getListener(String(a),b,c,d)};
g.hasListener=function(a,b){return this.eventTargetListeners_.hasListener(a!==void 0?String(a):void 0,b)};var iG=function(a,b){yp.call(this);this.interval_=a||1;this.timerObject_=b||ya;this.boundTick_=ov(this.tick_,this);this.last_=Date.now()};qv(iG,yp);g=iG.prototype;g.enabled=!1;g.timer_=null;g.setInterval=function(a){this.interval_=a;this.timer_&&this.enabled?(this.stop(),this.start()):this.timer_&&this.stop()};
g.tick_=function(){if(this.enabled){var a=Date.now()-this.last_;a>0&&a<this.interval_*.8?this.timer_=this.timerObject_.setTimeout(this.boundTick_,this.interval_-a):(this.timer_&&(this.timerObject_.clearTimeout(this.timer_),this.timer_=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};g.start=function(){this.enabled=!0;this.timer_||(this.timer_=this.timerObject_.setTimeout(this.boundTick_,this.interval_),this.last_=Date.now())};
g.stop=function(){this.enabled=!1;this.timer_&&(this.timerObject_.clearTimeout(this.timer_),this.timer_=null)};g.disposeInternal=function(){iG.superClass_.disposeInternal.call(this);this.stop();delete this.timerObject_};
var Nq=function(a,b,c){if(typeof a==="function")c&&(a=ov(a,c));else if(a&&typeof a.handleEvent=="function")a=ov(a.handleEvent,a);else throw Error("bd");return Number(b)>2147483647?-1:ya.setTimeout(a,b||0)},Oq=function(a){ya.clearTimeout(a)},Xdc=function(a,b){var c=null;return(new XA(function(d,e){c=Nq(function(){d(b)},a);c==-1&&e(Error("cd"))})).thenCatch(function(d){Oq(c);throw d;})};var Ydc=function(a){PF.call(this);this.streamzLogger=a;this.invocationCount=0;this.metricMap=new Map;this.disabledMetrics=new Set;this.flushInterval=3E4;this.flushTimer=new iG(this.flushInterval);this.flushTimer.listen("tick",this.snapshotAndFlush,!1,this);hr(this,this.flushTimer)};Y(Ydc,PF);var Zdc=function(a){a.maybeStartFlushTimer();a.invocationCount++;a.invocationCount>=100&&a.snapshotAndFlush()};g=Ydc.prototype;
g.snapshotAndFlush=function(){var a=this.metricMap.values();a=[].concat(w(a)).filter(function(b){return b.cellMap.size});a.length&&this.streamzLogger.flush(a,!1);$dc(a);this.invocationCount=0;this.flushTimer.enabled&&this.flushTimer.stop()};g.addNewCounter=function(a){var b=zd.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new Fdc(a,b))};g.addNewEventMetric=function(a){var b=zd.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new Gdc(a,b))};
g.getMetric=function(a){return this.disabledMetrics.has(a)?void 0:this.metricMap.get(a)};g.incrementCounter=function(a){this.incrementCounterBy(a,1,zd.apply(1,arguments))};g.incrementCounterBy=function(a,b){var c=zd.apply(2,arguments),d=this.getMetric(a);d&&d instanceof Fdc&&(d.incrementCounterBy(b,c),Zdc(this))};g.record=function(a,b){var c=zd.apply(2,arguments),d=this.getMetric(a);d&&d instanceof Gdc&&(d.record(b,c),Zdc(this))};g.maybeStartFlushTimer=function(){this.flushTimer.enabled||this.flushTimer.start()};
var $dc=function(a){for(var b=0;b<a.length;b++)a[b].clear()};var jG=function(){var a=new xp(852,"0");a.setComponentId("");a.useSendBeaconForFinalFlush();a.useGetRequestForFinalFlush();a.sendBeaconApiEnabled=!0;a=new aG(852,void 0,void 0,void 0,void 0,a.build());a=this.service=new Ydc(a);a.flushInterval=3E3;a.flushTimer.setInterval(3E3)};jG.\u0275fac=function(a){return new (a||jG)};jG.\u0275prov=n({token:jG,factory:jG.\u0275fac,providedIn:"root"});var aec=Dk("debug-logging")(),kG=function(){this.activeSession=r(dv);this.streamz=r(jG);this.pageLoadTime=new H5b(this.streamz.service);this.userLatency=new J5b(this.streamz.service);this.userActionCounter=new I5b(this.streamz.service);this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType()};
kG.prototype.timePageLoad=function(a,b){this.pageLoadTime.record(a,b,this.frontendAccessMode,this.environmentType);aec&&console.log("Clearcut stub",{action:b,duration:a})};var lG=function(a,b,c){a.userLatency.record(b,c,a.frontendAccessMode,a.environmentType);aec&&console.log("Clearcut stub",{action:c,duration:b})},bec=function(a,b){a.userActionCounter.increment(b,a.frontendAccessMode,a.environmentType);aec&&console.log("Clearcut stub",{action:b})};kG.\u0275fac=function(a){return new (a||kG)};
kG.\u0275prov=n({token:kG,factory:kG.\u0275fac,providedIn:"root"});var cec=Fk("journey-log"),dec=Msa("journey-log"),mG={},eec=(mG.ssue__edit="edit",mG.ssue__addComment="comment",mG["ssue__light-ixn"]="ixn",mG.ssue__copyIssueId="ixn",mG["global-search__.*__.*text"]="ilp-search",mG["global-search__.*__filters"]="ilp-filter",mG),nG={startEvents:["ilp-search"],successEvents:["edit","ixn","comment"],abortEvents:["ilp-filter","idle"],successMarker:"SUCCESS-search",count:["nav"]},oG=function(){this.clearcut=r(kG)},fec=function(a,b){var c=c===void 0?Date.now():c;var d,e=
(d=dec())!=null?d:[];e.push([b,c]);e.length>100&&(e=e.slice(-100));cec(e);if(nG.successEvents.includes(b)){b=e;c=nG.abortEvents;d=nG.successEvents;e=nG.startEvents;for(var f=nG.successMarker,h,l=b.length-1;l>=0;l--){var q=k(b[l]),v=q.next().value;q=q.next().value;if(c.includes(v))break;if(f===v)break;if(d.includes(v)){if(h&&y)break;var y=q}else y&&e.includes(v)&&(h=q)}y=h&&y?[h,y]:void 0;y&&(y=k(y),h=y.next().value,y=y.next().value-h,lG(a.clearcut,y,BDa("journey","global-search-text")),vo("journey",
"global-search-text","duration",y),fec(a,nG.successMarker))}};oG.\u0275fac=function(a){return new (a||oG)};oG.\u0275prov=n({token:oG,factory:oG.\u0275fac,providedIn:"root"});var pG=function(){var a=this;this.clearcut=r(kG);this.onMeasurement=function(b){b.getEntries().forEach(a.sendToClearcut)};this.sendToClearcut=function(b){var c=b.name;c&&c.startsWith("GTM-")||(b=Math.round(b.duration),c!=null&&(isNaN(b)||a.clearcut.timePageLoad&&a.clearcut.timePageLoad(b,c)))}},gec=function(a){to()&&(a.observer!=null&&a.observer.disconnect(),a.observer=new XCa.PerformanceObserver(a.onMeasurement),a.observer.observe({entryTypes:["measure"]}))};
pG.\u0275fac=function(a){return new (a||pG)};pG.\u0275prov=n({token:pG,factory:pG.\u0275fac,providedIn:"root"});var Bo={},hec={logInfo:function(){console.log(DDa());console.log("\nDuplicate Requests:");console.table(CDa())},getCounts:function(){return Bo},getDupes:CDa,getAggregates:DDa};var iec={attributes:!1,childList:!0,subtree:!0},qG=function(){var a=this;this.ngZone=r(hh);this.router=r(HE);this.activatedRoute=r(ao);this.dom$=new Jf;this.cdr$=this.ngZone.onStable;this.xhr$=new Jf;this.render$=Xe(this.dom$,this.cdr$);this.renderSettled$=this.render$.pipe(Af(200));this.navigatedTo$=this.router.events.pipe(Ye(Co),B(function(){return EDa(a.activatedRoute.snapshot)}));this.navigatedTo$.pipe(Nf(function(b){return a.renderSettled$.pipe(Cf(),B(function(){return b}))}),Kf(1));this.domObserver=
new MutationObserver(function(){return void a.dom$.next()})},jec=function(a){a.domObserver.disconnect();a.domObserver.observe(document.body,iec)};qG.prototype.intercept=function(a,b){var c=a.method+" "+a.urlWithParams;Bo[c]=~~Bo[c]+1;this.xhr$.next(c);return b.handle(a)};qG.\u0275fac=function(a){return new (a||qG)};qG.\u0275prov=n({token:qG,factory:qG.\u0275fac,providedIn:"root"});var kec={provide:QD,useExisting:qG,multi:!0};var rG=function(){kw.apply(this,arguments)};Y(rG,kw);rG.create=kw.create;rG.prototype.emit=function(a){kw.prototype.emit.call(this,a)};var Z=function(){this.destroyed$=new If(1);this.subscriptions=new me};Z.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};Z.\u0275fac=function(a){return new (a||Z)};Z.\u0275dir=ud({type:Z});var sG=function(){this.cdr=r(rw);this.zone=r(hh);this.destroyed=!1};sG.prototype.ngOnDestroy=function(){this.destroyed=!0};sG.prototype.detectChanges=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.detectChanges()})};sG.prototype.markForCheck=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.markForCheck()})};sG.\u0275fac=function(a){return new (a||sG)};sG.\u0275prov=n({token:sG,factory:sG.\u0275fac});var tG=function(){Z.call(this);var a=this;this.ngZone=r(hh);this.activeSubject$=new bo(!1);this.active$=this.activeSubject$.pipe(Ef(),Of(this.destroyed$),GDa(this.ngZone));this.onUserEvent=o6b(function(){a.activeSubject$.next(!0);lec(a)},200);this.onVisibilityChange=function(){document.visibilityState==="hidden"?(a.activeSubject$.next(!1),clearTimeout(a.activeTimeoutId)):(a.activeSubject$.next(!0),lec(a))}};Y(tG,Z);tG.\u0275dir=Z.\u0275dir;
tG.prototype.install=function(){var a=this;if(document.visibilityState==="visible")this.onUserEvent();this.ngZone.runOutsideAngular(function(){window.addEventListener("click",a.onUserEvent);window.addEventListener("keydown",a.onUserEvent);window.addEventListener("mousemove",a.onUserEvent);window.addEventListener("wheel",a.onUserEvent);window.addEventListener("touchstart",a.onUserEvent);window.addEventListener("focus",a.onUserEvent)});document.addEventListener("visibilitychange",this.onVisibilityChange)};
tG.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);clearTimeout(this.activeTimeoutId);window.removeEventListener("click",this.onUserEvent);window.removeEventListener("keydown",this.onUserEvent);window.removeEventListener("mousemove",this.onUserEvent);window.removeEventListener("wheel",this.onUserEvent);window.removeEventListener("touchstart",this.onUserEvent);window.removeEventListener("focus",this.onUserEvent);document.removeEventListener("visibilitychange",this.onVisibilityChange)};
var lec=function(a){clearTimeout(a.activeTimeoutId);a.activeTimeoutId=setTimeout(function(){a.activeSubject$.next(!1)},1E4)};tG.\u0275fac=function(a){return new (a||tG)};tG.\u0275prov=n({token:tG,factory:tG.\u0275fac,providedIn:"root"});var mec=[jo,lo,ko],vG=function(){Z.call(this);var a=this;this.router=r(HE);this.activatedRoute=r(ao);this.routeChangeStart=new Jf;this.routeChangeSuccess=new Jf;this.locationChangeStart=new Jf;this.locationChangeSuccess=new Jf;this.routeUpdate=new Jf;this.viewContentLoaded=new Jf;this.navigationEnd$=this.router.events.pipe(Ye(Co));this.navigationOver$=this.router.events.pipe(Ye(function(c){return mec.some(function(d){return c instanceof d})}));uG(this,bCa).subscribe(function(c){a.routeChangeStart.next({params:Object.assign({},
c.snapshot.queryParams,c.snapshot.params)})});var b=uG(this,zac);Xe(this.navigationOver$.pipe(Bf(gw)),this.routeChangeStart.pipe(Bf(b))).pipe(Nf(pe),Of(this.destroyed$),Ye(function(c){return c.snapshot.routeConfig.isRootRoute}),B(function(c){return{params:Object.assign({},c.snapshot.queryParams,c.snapshot.params)}})).subscribe(function(c){a.routeChangeSuccess.next(c)});uG(this,Do).pipe(B(function(c){return c.url}),Ef()).subscribe(function(){a.locationChangeStart.next()});uG(this,jo).pipe(B(function(c){return c.url}),
Ef()).subscribe(function(){a.locationChangeSuccess.next()});b=this.activatedRoute.queryParams.pipe(Qf(uG(this,rac)));Xe(this.routeChangeStart.pipe(Bf(gw)),this.navigationOver$.pipe(Bf(b))).pipe(Nf(pe),Of(this.destroyed$)).subscribe(function(c){c=k(c);c.next();c=c.next().value;a.routeUpdate.next({params:c.state.root.params})});uG(this,jo).subscribe(function(){a.viewContentLoaded.next()})};Y(vG,Z);vG.\u0275dir=Z.\u0275dir;
var uG=function(a,b){return a.router.events.pipe(Ye(function(c){return c instanceof b}),B(function(c){return c}),Of(a.destroyed$))};vG.\u0275fac=function(a){return new (a||vG)};vG.\u0275prov=n({token:vG,factory:vG.\u0275fac,providedIn:"root"});var nec=Dk("onedev-darkmode"),oec=Dk("hasClickedCommentSortBtn"),wG=function(){var a=r(vG),b=r(dv),c=r(ao);Z.call(this);var d=this;this.journeyTracker=r(oG);this.preapply=function(){return function(y){return function(E,H){d.trackEvent("editIssue",y,E,H)}}};tDa();xo("dimension13",b.getUserTypeLabel());var e=b.getUserPreferences();xo("dimension7",nec()?"dark":"default");var f;xo("dimension3",(f=e.themePreferences)==null?void 0:f.density);xo("dimension6",lu(b,"readUnreadOptOut"));xo("dimension9",oec());
b=e.showFullHistory?"fh":"comments";var h;if((h=e.commentFilterPreferences)==null?0:h.commentFilter){var l;b=(l=e.commentFilterPreferences)==null?void 0:l.commentFilter}wo("dimension2",b);wo("dimension5",e.showRecentEventsFirst?"newestFirst":"oldestFirst");var q,v;e=((v=(q=e.missionControlPreferences)==null?void 0:q.workAreaUrls)!=null?v:[]).length;wo("dimension12",e>0);this.subscriptions.add(a.viewContentLoaded.pipe(Mf(void 0)).subscribe(function(){var y=EDa(c.snapshot);nDa("page_location",y);iDa("page_view",
{page_path:y})}))};Y(wG,Z);wG.\u0275dir=Z.\u0275dir;wG.prototype.trackEvent=function(a,b,c,d){vo(a,b,c,typeof d==="boolean"?d?1:0:d);d=this.journeyTracker;a=BDa(a,b,c);b=k(Object.entries(eec));for(c=b.next();!c.done;c=b.next()){var e=k(c.value);c=e.next().value;e=e.next().value;if(a.match(new RegExp(c))){fec(d,e);break}}};
var pec=function(a,b,c){iDa("timing",Object.assign({},{timing_category:"userAction",timing_var:a,timing_value:b},c!==void 0?{timing_label:c}:{}))},qec=function(a,b){a.trackEvent("editIssue","updateStatus",b)};wG.\u0275fac=function(a){return new (a||wG)};wG.\u0275prov=n({token:wG,factory:wG.\u0275fac,providedIn:"root"});var IDa=function(a){this.internalArray_=m(a)};Y(IDa,V);var rec=!1;var yG=function(){ZB.call(this);var a=this;this.batchApiAdapter=r(rC);this.issueApi=r(tD);this.userResources=r(kF);this.refreshMonitor=r(MF);this.issueService=r(IF);this.activeSession=r(dv);this.hotlistFridge=r(mF);this.analytics=r(wG);this.issueExperimentalFieldsFridge=r(KF);this.issueFullBatchConfig=r(xG);this.issueFridge=r(OF);this.recordType="issue-full";this.idForRecord=function(c){return String(c.issueId)};this.isEqual=yi;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.issueFullBatchConfig);
if(rec)var b=void 0;else rec=!0,b=KDa();b&&this.announce(b);this.refreshMonitor.getObservable().subscribe(function(){a.invalidate()})};Y(yG,ZB);g=yG.prototype;g.announce=function(a,b){ZB.prototype.announce.call(this,LDa(a));this.issueFridge.announce(qua(a),b)};
g.fetchOne=function(a){var b=this;this.issueFridge.setIsGetting(a);return this.batchAdaptedGet(a).pipe(Pf(function(c){b.issueFridge.clearIsGetting(a);b.issueFridge.announce(qua(c))}),B(function(c){return LDa(c)}),xf(function(c){b.issueFridge.clearIsGetting(a);return Ge(function(){return c})}))};g.fetchSet=function(a){var b=this;return Me(a.map(function(c){return b.fetchOne(c).pipe(xf(function(){return Fe(void 0)}))})).pipe(B(function(c){return c.filter(kj)}))};
g.watch=function(a,b){return Me([ZB.prototype.watch.call(this,a,b),this.issueFridge.watch(a,b)]).pipe(B(function(c){var d=k(c);c=d.next().value;d=d.next().value;return rua(d,c)}))};g.watchSet=function(a){return Me([ZB.prototype.watchSet.call(this,a),this.issueFridge.watchSet(a)]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;var d=Mi(c,function(e){return e.issueId});return b.map(function(e){return rua(d.get(e.issueId),e)})}),B(function(b){return b.filter(kj)}))};
g.peek=function(a){var b=ZB.prototype.peek.call(this,a);a=this.issueFridge.peek(a);return rua(a,b)};g.poke=function(a,b){var c=this;return ve(function(d){return d.nextAddress==1?xe(d,Promise.race([ZB.prototype.poke.call(c,a,b),c.issueFridge.poke(a,b)]),2):d.return(c.peek(a))})};g.manualUpdate=function(a,b){if(a=(a=this.peek(a))&&zi(a))b(a),this.announce(a)};g.copy=function(a){return a&&zi(a)};
var sec=function(a,b,c){a.analytics.trackEvent("issue","light-ixn","star");var d={starred:c,voted:null,notificationSubscription:null};uC(a.activeSession)&&(d.voted=c);return wcc(a.userResources,b,d).pipe(Pf(function(){a.manualUpdate(b,function(e){e.userData&&(e.userData.starred=c,uC(a.activeSession)&&(e.userData.voted=c))})}))},tec=function(a,b,c){a.analytics.trackEvent("issue","light-ixn","vote",c);return wcc(a.userResources,b,{voted:c,starred:null,notificationSubscription:null}).pipe(Pf(function(){a.manualUpdate(b,
function(d){d.userData&&(d.userData.voted=c)})}))};yG.prototype.setNotificationSubscription=function(a,b){var c=this,d;return ve(function(e){if(e.nextAddress==1)return c.analytics.trackEvent("issue","light-ixn","notifs",Number(b)),d={voted:null,starred:null,notificationSubscription:b},xe(e,Je(wcc(c.userResources,a,d)),2);c.manualUpdate(a,function(f){f.userData&&(f.userData.notificationSubscription=b)});Ce(e)})};
var uec=function(a,b,c){a.analytics.trackEvent("issue","edit","title");var d={issueId:b,actions:[{fieldName:"title",value:c}]};a.manualUpdate(b,function(e){e.snapshot[0].title=c});return a.issueApi.updateIssue(b,d).pipe(Pf(function(e){e&&a.announce(e)}))};yG.prototype.removeHotlists=function(a,b){return vec(this,a,[],b)};
var vec=function(a,b,c,d){var e,f,h,l,q,v;return ve(function(y){if(y.nextAddress==1){a.analytics.trackEvent("issue","edit","hotlists");e={removeHotlistIds:d,addHotlistIds:c,hotlistIssue:{issueId:b}};f=k([].concat(w(c),w(d)));for(h=f.next();!h.done;h=f.next())l=h.value,a.hotlistFridge.setIsSaving(l);we(y,2);return xe(y,Je(a.issueApi.updateIssueHotlists(b,e)).finally(function(){for(var E=k([].concat(w(c),w(d))),H=E.next();!H.done;H=E.next())a.hotlistFridge.clearIsSaving(H.value)}),4)}if(y.nextAddress!=
2)return(q=y.yieldResult)&&a.announce(q),y.return(q);v=Be(y);a.poke(b);throw v;})},wec=function(a,b,c){return zG(a,"ADD","DUPLICATE",c,[b]).then(function(){c!=null&&qec(a.analytics,"DUPLICATE");return a.poke(b)})};g=yG.prototype;g.removeDuplicate=function(a,b){var c=this;return zG(this,"REMOVE","DUPLICATE",b,[a]).then(function(){return c.poke(a)})};g.addBlocking=function(a,b){return zG(this,"ADD","BLOCKING",a,b)};g.removeBlocking=function(a,b){return zG(this,"REMOVE","BLOCKING",a,b)};
g.addBlockedBy=function(a,b){return zG(this,"ADD","BLOCKED_BY",a,b)};g.removeBlockedBy=function(a,b){return zG(this,"REMOVE","BLOCKED_BY",a,b)};
var zG=function(a,b,c,d,e){if(e.length===0||d==null)return Promise.resolve(void 0);a.analytics.trackEvent("issue","edit","relation",Number(c));b={relation:c,issueId:d,targetIds:e,actionType:b};xec(a,b);var f=[d].concat(w(e));e=k(f);for(c=e.next();!c.done;c=e.next())a.setIsSaving(c.value);return Je(a.issueApi.relateIssue(d,b)).then(function(h){h&&a.announce(h)}).catch(function(h){a.poke(d);throw h;}).finally(function(){for(var h=k(f),l=h.next();!l.done;l=h.next())a.clearIsSaving(l.value)})},AG=function(a,
b,c){c=c===void 0?{}:c;var d=c.markRead===void 0?!0:c.markRead;var e=c.eagerUpdate===void 0?!0:c.eagerUpdate;var f=c.userActivityType===void 0?"USER_ACTIVITY_TYPE_UNDEFINED":c.userActivityType;var h,l,q,v;return ve(function(y){if(y.nextAddress==1)return a.activeSession.isAnonymous()?y.return():xe(y,a.issueService.markRead(b,d,f),2);h=y.yieldResult;if(e)for(l=k(b),q=l.next();!q.done;q=l.next())v=q.value,a.manualUpdate(String(v),function(E){E.userData&&(E.userData.lastViewedTimeMicros=h.readTimestamp)});
return y.return(h.readTimestamp?Math.round(h.readTimestamp/1E3):void 0)})},xec=function(a,b){a.manualUpdate(b.issueId,function(c){switch(b.relation){case "BLOCKED_BY":if(b.actionType==="ADD"){var d;c.snapshot[0].blockedByIssueId=[].concat(w((d=c.snapshot[0].blockedByIssueId)!=null?d:[]),w(b.targetIds.map(String)))}else if(b.actionType==="REMOVE"){var e,f;c.snapshot[0].blockedByIssueId=(f=(e=c.snapshot[0].blockedByIssueId)==null?void 0:e.filter(function(h){return!b.targetIds.includes(String(h))}))!=
null?f:[]}}})};yG.\u0275fac=function(a){return new (a||yG)};yG.\u0275prov=n({token:yG,factory:yG.\u0275fac,providedIn:"root"});var xG=function(){this.issueApi=r(tD);this.maxBatchSize=100;this.bufferTimeMs=0};xG.prototype.call=function(a){var b=this;if(a.size===1){var c=[].concat(w(a))[0];return this.issueApi.getIssueFull(c).pipe(B(function(d){return new Map([[c,d]])}))}return Re(function(){return b.issueApi.batchGetIssuesFull([].concat(w(a)))}).pipe(B(function(d){return Mi(d,function(e){return e.issueId})}))};
xG.prototype.split=function(a,b){return b.get(a)};xG.\u0275fac=function(a){return new (a||xG)};xG.\u0275prov=n({token:xG,factory:xG.\u0275fac,providedIn:"root"});var Fo=function(a){this.internalArray_=m(a)};Y(Fo,V);var yec=function(a){this.internalArray_=m(a)};Y(yec,V);g=yec.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.setRelationshipType=function(a){return ej(this,2,a)};g.getIssueRelationship=function(){return W(this,Fo,3)};g.setIssueRelationship=function(a){return X(this,Fo,3,a)};g.setSignificanceOverride=function(a){return ej(this,4,a)};var zec=function(a){this.internalArray_=m(a)};Y(zec,V);g=zec.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.setRelationshipType=function(a){return ej(this,2,a)};g.setRequestsList=function(a){return $l(this,3,a)};g.addAndReturnRequests=function(){return zc(this,3,yec)};g.setSignificanceOverride=function(a){return ej(this,4,a)};var Aec=function(a){this.internalArray_=m(a)};Y(Aec,V);g=Aec.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.setRelationshipType=function(a){return ej(this,2,a)};g.setSignificanceOverride=function(a){return ej(this,4,a)};var Bec=function(a){this.internalArray_=m(a)};Y(Bec,V);g=Bec.prototype;g.setRelationshipType=function(a){return ej(this,1,a)};g.getSourceIssueIdsList_asLegacyNumberOrString=function(){return lj(this,2,Wi())};g.setSourceIssueIdsList=function(a){return pk(this,2,a)};g.getQuery=function(){return Gh(this,3)};g.setQuery=function(a){return cj(this,3,a)};g.clearQuery=function(){Zp(this,3)};var BG=function(a){this.internalArray_=m(a)};Y(BG,V);var Cec=function(a,b){return pk(a,1,b)};BG.prototype.setRelationshipType=function(a){return ej(this,2,a)};var Dec=function(a,b){return uj(a,3,b)},Eec=function(a,b){return uj(a,4,b)};BG.prototype.getQuery=function(){return Gh(this,5)};BG.prototype.setQuery=function(a){return cj(this,5,a)};BG.prototype.clearQuery=function(){Zp(this,5)};var CG=function(a){this.internalArray_=m(a,0,CG.messageId)};Y(CG,V);CG.prototype.getIt=function(){return W(this,zec,5)};CG.prototype.setIt=function(a){return X(this,zec,5,a)};CG.messageId="b.BatchCreateIssueRelationshipsRequest";var Fec=function(a){this.internalArray_=m(a,0,Fec.messageId)};Y(Fec,V);Fec.prototype.getIssueRelationshipsList=function(){return nj(this,Fo,1,Wi())};Fec.messageId="b.BatchCreateIssueRelationshipsResponse";var DG=function(a){this.internalArray_=m(a,0,DG.messageId)};Y(DG,V);DG.prototype.getIt=function(){return W(this,Aec,5)};DG.prototype.setIt=function(a){return X(this,Aec,5,a)};DG.messageId="b.BatchDeleteIssueRelationshipsRequest";var EG=function(a){this.internalArray_=m(a,0,EG.messageId)};Y(EG,V);EG.prototype.getIt=function(){return W(this,Bec,4)};EG.prototype.setIt=function(a){return X(this,Bec,4,a)};EG.messageId="b.BatchGetIssueRelationshipsRequest";var Gec=function(a){this.internalArray_=m(a)};Y(Gec,V);Gec.prototype.getIssueRelationshipsList=function(){return nj(this,Fo,1,Wi())};Gec.prototype.getTotalSize=function(){return Zi(this,2)};var Hec=function(a){this.internalArray_=m(a,0,Hec.messageId)};Y(Hec,V);Hec.messageId="b.BatchGetIssueRelationshipsResponse";var FG=function(a){this.internalArray_=m(a,0,FG.messageId)};Y(FG,V);FG.prototype.getIssueRelationship=function(){return W(this,Fo,1)};FG.prototype.setIssueRelationship=function(a){return X(this,Fo,1,a)};FG.messageId="b.CreateIssueRelationshipResponse";var GG=function(a){this.internalArray_=m(a,0,GG.messageId)};Y(GG,V);GG.prototype.getIt=function(){return W(this,BG,6)};GG.prototype.setIt=function(a){return X(this,BG,6,a)};GG.messageId="b.GetIssueDescendantsRequest";var Iec=function(a){this.internalArray_=m(a,0,Iec.messageId)};Y(Iec,V);Iec.messageId="b.GetIssueDescendantsResponse";var Jec=function(a){this.internalArray_=m(a,0,Jec.messageId)};Y(Jec,V);Jec.prototype.getIssueRelationshipsList=function(){return nj(this,Fo,1,Wi())};Jec.messageId="b.ListIssueRelationshipsResponse";var HG=function(a){this.internalArray_=m(a,0,HG.messageId)};Y(HG,V);HG.prototype.getIssueRelationship=function(){return W(this,Fo,1)};HG.prototype.setIssueRelationship=function(a){return X(this,Fo,1,a)};HG.messageId="b.UpdateIssueRelationshipResponse";var IG=function(){this.executor=r(OB)};g=IG.prototype;g.list=function(a,b){return this.executor.get({url:"action/issues/"+a+"/relationships?relationshipType="+dB[b],responseConstructor:Jec}).pipe(B(function(c){return c.getIssueRelationshipsList().map(Go)}))};g.create=function(a,b,c){b=dB[b];c=MDa(c);return this.executor.post({url:"action/issues/"+a+"/relationships?relationshipType="+b,body:c,responseConstructor:FG}).pipe(B(function(d){return Go(d.getIssueRelationship())}))};
g.update=function(a,b,c){b=dB[b];var d=MDa(c);return this.executor.put({url:"action/issues/"+a+"/relationships/"+c.targetIssueId+"?relationshipType="+b,body:d,responseConstructor:HG}).pipe(B(function(e){return Go(e.getIssueRelationship())}))};g.delete=function(a,b,c){return this.executor.delete({url:"action/issues/"+a+"/relationships/"+c+"?relationshipType="+dB[b],responseConstructor:null})};
g.batchGet=function(a,b){b=dB[b];a=(new EG).setIt((new Bec).setSourceIssueIdsList(a).setRelationshipType(b).setQuery(this.getQuery(void 0)));return this.executor.post({url:"action/issues/batch_relationships",body:a,responseConstructor:Hec}).pipe(B(function(c){return nj(c,Gec,1,Wi()).map(NDa)}))};
var Kec=function(a,b,c){var d=dB.CHILD;c=c.map(function(e){e=MDa(e);return(new yec).setIssueRelationship(e)});b=(new CG).setIt((new zec).setIssueId(b).setRelationshipType(d).setSignificanceOverride(c.length>1?4:0).setRequestsList(c));return a.executor.post({url:"action/issues/relationships_batchCreate",body:b,responseConstructor:Fec}).pipe(B(function(e){return e.getIssueRelationshipsList().map(Go)}))},Lec=function(a,b,c){var d=dB.CHILD,e=new DG,f=e.setIt;b=(new Aec).setIssueId(b).setRelationshipType(d);
c=pk(b,3,c);e=f.call(e,c);return a.executor.post({url:"action/issues/relationships_batchDelete",body:e,responseConstructor:null})};
IG.prototype.getDescendants=function(a){var b=a.issueIds;var c=a.relationshipType;var d=a.includeArchived;var e=a.depthLimit;a=a.prefixSizeLimit;c=dB[c];b=(new GG).setIt(Eec(Dec(Cec(new BG,b).setRelationshipType(c).setQuery(this.getQuery(d)),e),a));return this.executor.post({url:"action/issues/descendants",body:b,responseConstructor:Iec}).pipe(B(function(f){var h=new Map;f=k(tc(f,1,Gec,Tb).entries());for(var l=f.next();!l.done;l=f.next()){var q=k(l.value);l=q.next().value;q=q.next().value;h.set(String(l),
NDa(q))}return h}))};IG.prototype.getQuery=function(a){return a?"include_archived:true":"include_archived:false"};IG.\u0275fac=function(a){return new (a||IG)};IG.\u0275prov=n({token:IG,factory:IG.\u0275fac,providedIn:"root"});var JG={},Mec=(JG.BUG="BUG",JG.FEATURE_REQUEST="FEATURE_REQUEST",JG.CUSTOMER_ISSUE="CUSTOMER_ISSUE",JG.INTERNAL_CLEANUP="INTERNAL_CLEANUP",JG.PROCESS="PROCESS",JG.VULNERABILITY="VULNERABILITY",JG.PRIVACY_ISSUE="PRIVACY_ISSUE",JG.EPIC="STORY",JG.STORY="TASK",JG.TASK="TASK",JG.PROJECT="TASK",JG.FEATURE="TASK",JG.MILESTONE="TASK",JG.PROGRAM="PROJECT",JG);var KG=function(){YB.call(this,{freshUntil:6E4,ancientAfter:792E5});var a=this;this.issueRelationshipService=r(IG);this.issueFullFridge=r(yG);this.refreshMonitor=r(MF);this.recordType="issueRelationships";this.idForRecord=function(b){return b.issueId};this.isEqual=yi;this.activeMoveOperation$=new bo(new Set);this.defaultQuery={type:"descendants",depth:1};this.assignParentToIssues=Gsa(function(b,c){return Nec(a,b,c)});this.assignParentToOneIssue=function(b,c){return Nec(a,String(b),[{issueId:c}])};
this.moveChildrenInAPI=Fsa(function(b){return a.moveChildrenInAPISequentially(b)});this.moveChildrenInAPISequentially=Gsa(function(b){var c,d,e,f,h,l,q,v,y,E,H,O,N,T,da,ja,na,Ia,Pa,Na,bb,ma,Da,Ea,zb,qb;return ve(function(dc){switch(dc.nextAddress){case 1:d=TDa(b);if(d.length===0)return dc.return();e=d.map(function(fc){return fc.issues.map(function(qc){return qc.parentId})}).flat();f=d.map(function(fc){return fc.newParentId});h=Rk([].concat(w(e),w(f)));l=k(h);for(q=l.next();!q.done;q=l.next())v=q.value,
a.setIsSaving(v);we(dc,2);y=k(d);E=y.next();case 4:if(E.done){jv(dc,3);break}H=E.value;O=k(H.newRelations);N=O.next();T={};case 7:if(N.done){E=y.next();dc.jumpTo(4);break}T.newRelation=N.value;da=H.issues.find(function(fc){return function(qc){return qc.issueId===fc.newRelation.targetIssueId}}(T)).parentId;return H.newParentId===da?xe(dc,Je(a.issueRelationshipService.update(H.newParentId,"CHILD",{afterIssueId:T.newRelation.afterIssueId,targetIssueId:T.newRelation.targetIssueId})),8):xe(dc,Je(a.issueRelationshipService.create(H.newParentId,
"CHILD",{afterIssueId:T.newRelation.afterIssueId,targetIssueId:T.newRelation.targetIssueId})).catch(function(fc){var qc,Zb;if(!(fc==null?0:(qc=fc.error)==null?0:(Zb=qc.details)==null?0:Zb.includes("ALREADY_EXISTS")))throw fc;}),12);case 12:return xe(dc,Je(a.issueRelationshipService.delete(da,"CHILD",T.newRelation.targetIssueId)),8);case 8:T={newRelation:void 0};N=O.next();dc.jumpTo(7);break;case 2:c=ja=Be(dc);case 3:na=a.activeMoveOperation$.value;Ia=k(b.map(function(fc){return fc.eventTimestamps}).flat());
for(Pa=Ia.next();!Pa.done;Pa=Ia.next())Na=Pa.value,na.delete(Na);a.activeMoveOperation$.next(na);bb=k(h);for(ma=bb.next();!ma.done;ma=bb.next())Da=ma.value,a.clearIsSaving(Da);Promise.all(h.map(function(fc){return a.poke(fc)}));Ea=k(d);for(zb=Ea.next();!zb.done;zb=Ea.next())qb=zb.value,c&&qb.done.reject(c),qb.done.resolve();Ce(dc)}})});this.refreshMonitor.getObservable().subscribe(function(){a.invalidate()})};Y(KG,YB);
KG.prototype.fetchOne=function(a){var b=this;return Oec(this,function(){return b.issueRelationshipService.list(a,"CHILD").pipe(B(function(c){return{issueId:a,relatedChildren:c,totalChildCount:c.length}}),xf(function(c){return Jn(c)&&c.status===403?Fe(void 0):Ge(function(){return c})}))})};
KG.prototype.fetchAll=function(a){var b=this;switch(a.type){case "descendants":var c,d=[].concat(w((c=a.ids)!=null?c:[]));return d.length===0?Fe({results:[]}):Oec(this,function(){return b.issueRelationshipService.getDescendants({issueIds:d,relationshipType:"CHILD",includeArchived:!!a.includeArchived,depthLimit:a.depth,prefixSizeLimit:500}).pipe(B(ODa),B(function(e){return{results:e}}))});default:xb(a.type)}};KG.prototype.copy=function(a){return a&&zi(a)};
var Oec=function(a,b){var c=function(){return a.activeMoveOperation$.pipe(Ye(function(d){return d.size===0}),Nf(function(){return b()}),Nf(function(d){return a.activeMoveOperation$.value.size===0?Fe(d):c()}),Cf())};return c()},Pec=function(a,b){return a.watch(b).pipe(Nf(function(c){return c&&c.totalChildCount===c.relatedChildren.length?Fe(c):a.watch(b,{trustMemory:!1})}))},Qec=function(a,b,c){return a.watchMany({type:"descendants",ids:new Set([b]),depth:c===void 0?100:c})},Rec=function(a,b,c){return Q8b(a,
{type:"descendants",ids:new Set([b]),depth:c===void 0?100:c})};
KG.prototype.unlinkFromParent=function(a,b,c){c=c===void 0?!1:c;var d=this,e;return ve(function(f){switch(f.nextAddress){case 1:d.issueFullFridge.manualUpdate(b,function(h){--h.childIssueCount});d.issueFullFridge.manualUpdate(a,function(h){h.parentIssueIds=h.parentIssueIds.filter(function(l){return l!==b})});d.manualUpdate(b,function(h){var l=h.relatedChildren;h.relatedChildren=SDa(l,a);h.totalChildCount-=l.length-h.relatedChildren.length});if(c)return f.return();we(f,2);return xe(f,Je(d.issueRelationshipService.delete(b,
"CHILD",a)),4);case 4:jv(f,0);break;case 2:return e=Be(f),xe(f,Promise.all([d.poke(b),d.issueFullFridge.poke(b),d.issueFullFridge.poke(a)]),5);case 5:throw e;}})};
var Nec=function(a,b,c){var d,e,f,h,l,q,v,y,E;return ve(function(H){switch(H.nextAddress){case 1:d=[];e=[];f=[];if(c.length===0)return H.return({added:d,notAdded:e});h=Sec(a,b);l=c.map(function(O,N){var T=O.afterIssueId==="-1"?h:O.afterIssueId;return{targetIssueId:O.issueId,afterIssueId:N?c[N-1].issueId:T}});Tec(a,b,l);q=k(l);v=q.next();case 2:if(v.done){H.jumpTo(4);break}y=v.value;we(H,5);return xe(H,Je(a.issueRelationshipService.create(b,"CHILD",{targetIssueId:y.targetIssueId,afterIssueId:y.afterIssueId})),
7);case 7:d.push(y.targetIssueId);jv(H,3);break;case 5:E=Be(H);if(!Jn(E))throw E;f.push(E);e.push(y.targetIssueId);case 3:v=q.next();H.jumpTo(2);break;case 4:return Promise.all([a.poke(b),a.issueFullFridge.poke(b)]),H.return(Object.assign({},{added:d,notAdded:e},f.length?{errors:f}:{}))}})},Tec=function(a,b,c){var d=0;a.manualUpdate(b,function(e){var f=RDa(e.relatedChildren,c);d=f.length-e.relatedChildren.length;e.relatedChildren=f;e.totalChildCount+=d},{evenWhenInFlight:!0});a.issueFullFridge.manualUpdate(b,
function(e){e.childIssueCount+=d},{evenWhenInFlight:!0})},Uec=function(a,b,c){var d,e,f,h,l,q,v,y,E,H,O,N;return ve(function(T){if(T.nextAddress==1)return d=[],e=[],f=[],c.length===0?T.return({added:d,notAdded:e}):xe(T,Promise.allSettled(c.map(function(da){return Je(a.issueRelationshipService.create(da,"CHILD",{targetIssueId:b,afterIssueId:Sec(a,da)}))})),2);h=T.yieldResult;l=k(h.entries());for(q=l.next();!q.done;q=l.next())v=q.value,y=k(v),E=y.next().value,H=y.next().value,O=E,N=H,N.status==="fulfilled"&&
d.push(c[O]),N.status==="rejected"&&(e.push(c[O]),f.push(N.reason));Promise.all(c.map(function(da){return a.poke(da)}));return T.return({added:d,notAdded:e,errors:f})})},Vec=function(a,b,c){var d=b.parentId,e=Date.now();a.activeMoveOperation$.next(a.activeMoveOperation$.value.add(e));for(var f=k(c),h=f.next(),l={};!h.done;l={issue$jscomp$68:void 0},h=f.next())l.issue$jscomp$68=h.value,a.manualUpdate(l.issue$jscomp$68.parentId,function(ja){return function(na){na.relatedChildren=SDa(na.relatedChildren,
ja.issue$jscomp$68.issueId);--na.totalChildCount}}(l));var q=void 0,v;if((v=b.position)==null?0:v.issueId){var y;if(((y=b.position)==null?void 0:y.position)==="after")q=b.position.issueId;else{var E;if(((E=b.position)==null?void 0:E.position)==="before"){var H,O;f=(O=(H=a.memory.getData(d))==null?void 0:H.relatedChildren)!=null?O:[];H=k(f.entries());for(O=H.next();!O.done;O=H.next())if(h=k(O.value),O=h.next().value,h=h.next().value,h.targetIssueId===b.position.issueId){b=void 0;q=(b=f[O-1])==null?
void 0:b.targetIssueId;break}}}}var N=c.map(function(ja,na){return{targetIssueId:ja.issueId,afterIssueId:na?c[na-1].issueId:q}});R8b(a,d)!==void 0?a.manualUpdate(d,function(ja){ja.relatedChildren=RDa(ja.relatedChildren,N);ja.totalChildCount+=N.length},{evenWhenInFlight:!0}):a.announce({issueId:d,relatedChildren:RDa([],N),totalChildCount:N.length});b=new Esa;var T,da;a.moveChildrenInAPI({newParentId:d,newRelations:N,issues:c,eventTimestamps:[e],newParentChildrenSnapshot:(da=(T=a.memory.getData(d))==
null?void 0:T.relatedChildren)!=null?da:[],done:b});return b.promise},Sec=function(a,b){var c;a=(c=a.memory.getData(b))==null?void 0:c.relatedChildren;var d;return a==null?void 0:(d=a[(a==null?NaN:a.length)-1])==null?void 0:d.targetIssueId};KG.\u0275fac=function(a){return new (a||KG)};KG.\u0275prov=n({token:KG,factory:KG.\u0275fac,providedIn:"root"});var Wec=function(a){this.internalArray_=m(a)};Y(Wec,V);var LG=function(a){this.internalArray_=m(a)};Y(LG,V);LG.prototype.getTrackerId_asLegacyNumberOrString=function(){return Vj(this,2)};LG.prototype.getTrackerId_asString=function(){return Oo(this,2)};LG.prototype.setTrackerId=function(a){return nk(this,2,a)};var pEa=new Set("READY_TO_SUBMIT NEEDS_ATTENTION THREAD_MENTIONS_ME CHANGELIST_MANUAL_SIGNAL TAGGED_IN_COMMENT REQUIRES_APPROVAL DRIVE_MANUAL_SIGNAL DRIVE_SNOOZE_EXPIRED GERRIT_CHANGE_NEEDS_ATTENTION GERRIT_CHANGE_READY_TO_SUBMIT GERRIT_MANUAL_SIGNAL GERRIT_SNOOZE_EXPIRED ISSUE_SIGNAL_UNSPECIFIED NEAR_SLO COMMENT_MENTIONS_ME MENTIONED_NEEDS_RESPONSE BLOCKERS_CLOSED NEWLY_BLOCKING NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_ASSIGNED_TO_ME ISSUE_MANUALLY_SIGNALED ISSUE_SNOOZE_EXPIRED".split(" "));var EEa=function(a){this.internalArray_=m(a)};Y(EEa,V);g=EEa.prototype;g.getWorkspaceId_asLegacyNumberOrString=function(){return Vj(this,2)};g.getWorkspaceId_asString=function(){return Oo(this,2)};g.getType=function(){return Kj(this,3,0)};g.setType=function(a){return ej(this,3,a)};g.getName=function(){return Gh(this,4)};g.setName=function(a){return cj(this,4,a)};g.getHotlistId_asLegacyNumberOrString=function(){return Vj(this,7)};g.setHotlistId=function(a){return pl(this,7,a)};
g.getStatus=function(){return Kj(this,8,0)};g.setStatus=function(a){return ej(this,8,a)};g.getTagsList=function(a){return bk(this,9,Wi(a))};g.getTags=function(a){return d_b(this,9,a)};g.setVelocity=function(a){return Wl(this,11,a)};g.getStartTime=function(){return W(this,wj,12)};g.setStartTime=function(a){X(this,wj,12,a)};g.getEndTime=function(){return W(this,wj,13)};g.setEndTime=function(a){X(this,wj,13,a)};g.getEtag=function(){return Gh(this,18)};g.setEtag=function(a){cj(this,18,a)};var Xec=function(a){this.internalArray_=m(a)};Y(Xec,V);var Yec=function(a){this.internalArray_=m(a)};Y(Yec,V);var Zec=function(a){this.internalArray_=m(a)};Y(Zec,V);var $ec=function(a){var b=new Zec;return $l(b,1,a)};var afc=function(a){this.internalArray_=m(a,0,afc.messageId)};Y(afc,V);afc.prototype.setTaskIdsList=function(a){return dj(this,1,a)};afc.messageId="mc.BatchUpdateTasksDismissStateRequest";var bfc=function(a){this.internalArray_=m(a,0,bfc.messageId)};Y(bfc,V);bfc.prototype.setTaskIdsList=function(a){return dj(this,1,a)};bfc.messageId="mc.BatchUpdateTasksManualSignalStateRequest";var cfc=function(a){this.internalArray_=m(a,0,cfc.messageId)};Y(cfc,V);cfc.prototype.setTaskIdsList=function(a){return dj(this,1,a)};cfc.messageId="mc.BatchUpdateTaskSnoozeStateRequest";var dfc=function(a){this.internalArray_=m(a)};Y(dfc,V);dfc.prototype.getCommentId=function(){return Gh(this,2)};dfc.prototype.setCommentId=function(a){return cj(this,2,a)};var efc=function(a){this.internalArray_=m(a)};Y(efc,V);efc.prototype.setTaskResourceTypesList=function(a){return ok(this,1,a)};efc.prototype.setMaxTaskAgeDays=function(a){return uj(this,2,a)};efc.prototype.setIssueFilters=function(a){return X(this,LG,3,a)};var MG=function(a){this.internalArray_=m(a)};Y(MG,V);MG.prototype.setTaskResourceTypesList=function(a){return ok(this,1,a)};MG.prototype.setMaxTaskAgeDays=function(a){return uj(this,2,a)};MG.prototype.setIssueFilters=function(a){return X(this,LG,4,a)};var NG=function(a){this.internalArray_=m(a)};Y(NG,V);NG.prototype.getCommentId=function(){return Gh(this,1)};NG.prototype.setCommentId=function(a){return cj(this,1,a)};NG.prototype.getContent=function(){return Gh(this,3)};NG.prototype.setContent=function(a){return cj(this,3,a)};var OG=function(a){this.internalArray_=m(a,0,OG.messageId)};Y(OG,V);OG.prototype.getResponse=function(){return W(this,NG,1)};OG.prototype.getReadonlyResponse=function(){return ur(this,NG,1)};OG.prototype.getMutableResponse=function(){return Av(this,NG,1)};OG.prototype.setResponse=function(a){return X(this,NG,1,a)};OG.messageId="b.LatestDriveMentionResponse";var jEa=function(a){this.internalArray_=m(a)};Y(jEa,V);var mEa=function(a){this.internalArray_=m(a)};Y(mEa,V);g=mEa.prototype;g.getPriority=function(){return Kj(this,1,0)};g.setPriority=function(a){return ej(this,1,a)};g.getAccessLevel=function(){return Kj(this,2,0)};g.setAccessLevel=function(a){return ej(this,2,a)};g.getHotlistIdsList_asLegacyNumberOrString=function(a){return lj(this,3,Wi(a))};g.getHotlistIdsList_asString=function(){return ak(this,3)};g.setHotlistIdsList=function(a){pk(this,3,a)};
g.addHotlistIds=function(a,b){return yc(this,3,Kb,a,b,lj)};g.addAllHotlistIds=function(a){Mv(this,3,a)};g.removeHotlistIds=function(a){return f_b(this,3,a)};var hEa=function(a){this.internalArray_=m(a)};Y(hEa,V);var Ho=function(a){this.internalArray_=m(a)};Y(Ho,V);Ho.prototype.getTitle=function(){return Gh(this,3)};Ho.prototype.setTitle=function(a){return cj(this,3,a)};Ho.prototype.getLastModifiedTimestamp=function(){return W(this,wj,5)};var kEa=[8,9,10,11,12];var ffc=function(a){this.internalArray_=m(a)};Y(ffc,V);var gfc=function(a){this.internalArray_=m(a,0,gfc.messageId)};Y(gfc,V);gfc.prototype.getResponsesList=function(){return nj(this,ffc,1,Wi())};gfc.messageId="b.TasksMyTasksResponse";var hfc=function(a){this.internalArray_=m(a)};Y(hfc,V);hfc.prototype.getCommentNumber=function(){return Iv(this,1)};hfc.prototype.setCommentNumber=function(a){return Lv(this,1,a)};var Mo=function(a){this.internalArray_=m(a)};Y(Mo,V);Mo.prototype.getDataCase=function(){return fl(this,ifc)};Mo.prototype.getSignal=function(){return Kj(this,1,0)};Mo.prototype.getCommentNumbers=function(){return Al(this,hfc,2,ifc)};var ifc=[2];var tEa=function(a){this.internalArray_=m(a)};Y(tEa,V);tEa.prototype.getComeBackTimestamp=function(){return W(this,wj,1)};var vEa=function(a){this.internalArray_=m(a)};Y(vEa,V);vEa.prototype.getComeBackTimestamp=function(){return W(this,wj,2)};var sEa=function(a){this.internalArray_=m(a)};Y(sEa,V);sEa.prototype.hasFutureAvailability=function(){return Nl(this,vEa,1,uEa)};var uEa=[1,2];var Lo=function(a){this.internalArray_=m(a)};Y(Lo,V);Lo.prototype.getDataCase=function(){return fl(this,jfc)};Lo.prototype.getSignal=function(){return Kj(this,1,0)};var jfc=[2,3];var Io=function(a){this.internalArray_=m(a)};Y(Io,V);Io.prototype.getDataCase=function(){return fl(this,qEa)};Io.prototype.getSignal=function(){return Kj(this,1,0)};Io.prototype.getCommentId=function(){return hl(this,2,qEa)};Io.prototype.setCommentId=function(a){return kl(this,2,qEa,a)};var qEa=[2];var xEa=function(a){this.internalArray_=m(a)};Y(xEa,V);xEa.prototype.getSignal=function(){return Kj(this,1,0)};var dEa=function(a){this.internalArray_=m(a)};Y(dEa,V);g=dEa.prototype;g.getTimestamp=function(){return W(this,wj,1)};g.setTimestamp=function(a){return X(this,wj,1,a)};g.hasTimestamp=function(){return Oj(this,wj,1)};g.getUrl=function(){return W(this,yA,2)};g.setUrl=function(a){return X(this,yA,2,a)};g.hasUrl=function(){return Oj(this,yA,2)};var Jo=[3,4,5,6,7];var $Da=function(a){this.internalArray_=m(a)};Y($Da,V);$Da.prototype.hasTask=function(){return Oj(this,Ho,1)};var kfc=function(a){this.internalArray_=m(a)};Y(kfc,V);var lfc=function(a){this.internalArray_=m(a,0,lfc.messageId)};Y(lfc,V);lfc.prototype.getResponsesList=function(){return nj(this,kfc,1,Wi())};lfc.messageId="b.TasksNeedsAttentionResponse";var mfc=function(a){this.internalArray_=m(a)};Y(mfc,V);var PG=function(a){this.internalArray_=m(a)};Y(PG,V);PG.prototype.getValue=function(){return Zi(this,1)};PG.prototype.setValue=function(a){return ek(this,1,a)};PG.prototype.hasValue=function(){return Gj(this,1)};var QG=function(a){this.internalArray_=m(a)};Y(QG,V);QG.prototype.getUrl=function(){return W(this,yA,2)};QG.prototype.setUrl=function(a){return X(this,yA,2,a)};QG.prototype.hasUrl=function(){return Oj(this,yA,2)};var WDa=function(a){this.internalArray_=m(a)};Y(WDa,V);g=WDa.prototype;g.getId=function(){return Gh(this,1)};g.setId=function(a){return gk(this,1,a)};g.getTitle=function(){return Gh(this,2)};g.setTitle=function(a){return gk(this,2,a)};g.getUrl=function(){return W(this,yA,3)};g.setUrl=function(a){return X(this,yA,3,a)};g.hasUrl=function(){return Oj(this,yA,3)};g.getDescription=function(){return Gh(this,4)};g.setDescription=function(a){return gk(this,4,a)};
g.hasDescription=function(){return Hj(this,4)};g.getPriority=function(){return W(this,Wec,5)};g.setPriority=function(a){return X(this,Wec,5,a)};g.getScore=function(){return W(this,PG,6)};g.setScore=function(a){return X(this,PG,6,a)};g.getConfidence=function(){return W(this,mfc,10)};var nfc=function(a){this.internalArray_=m(a)};Y(nfc,V);g=nfc.prototype;g.getId=function(){return Gh(this,1)};g.setId=function(a){return gk(this,1,a)};g.getTitle=function(){return Gh(this,2)};g.setTitle=function(a){return gk(this,2,a)};g.getUrl=function(){return W(this,yA,3)};g.setUrl=function(a){return X(this,yA,3,a)};g.hasUrl=function(){return Oj(this,yA,3)};g.getDescription=function(){return Gh(this,4)};g.setDescription=function(a){return gk(this,4,a)};
g.hasDescription=function(){return Hj(this,4)};g.getPriority=function(){return W(this,Wec,5)};g.setPriority=function(a){return X(this,Wec,5,a)};g.getScore=function(){return W(this,PG,6)};g.setScore=function(a){return X(this,PG,6,a)};var YDa=function(a){this.internalArray_=m(a)};Y(YDa,V);g=YDa.prototype;g.getUri=function(){return W(this,DA,1)};g.setUri=function(a){return X(this,DA,1,a)};g.getUrl=function(){return W(this,yA,2)};g.setUrl=function(a){return X(this,yA,2,a)};g.hasUrl=function(){return Oj(this,yA,2)};g.getLabel=function(){return Gh(this,3)};g.setLabel=function(a){return gk(this,3,a)};g.hasLabel=function(){return Hj(this,3)};var UDa=function(a){this.internalArray_=m(a)};Y(UDa,V);g=UDa.prototype;g.getUri=function(){return W(this,DA,2)};g.setUri=function(a){return X(this,DA,2,a)};g.getObjective=function(){return W(this,nfc,1)};g.setObjective=function(a){return X(this,nfc,1,a)};g.getTeam=function(){return W(this,QG,3)};g.setTeam=function(a){X(this,QG,3,a)};g.hasTeam=function(){return Oj(this,QG,3)};var ofc=function(a){this.internalArray_=m(a)};Y(ofc,V);var RG=function(a){this.internalArray_=m(a,0,RG.messageId)};Y(RG,V);RG.prototype.getResponse=function(){return W(this,ofc,1)};RG.prototype.getReadonlyResponse=function(){return ur(this,ofc,1)};RG.prototype.getMutableResponse=function(){return Av(this,ofc,1)};RG.prototype.setResponse=function(a){return X(this,ofc,1,a)};RG.messageId="b.TeamObjectivesResponse";var IEa=function(a){this.internalArray_=m(a)};Y(IEa,V);IEa.prototype.getOkrIds=function(a){return Jv(this,1,a)};var Po=function(a){this.internalArray_=m(a)};Y(Po,V);Po.prototype.getId=function(){return Gh(this,1)};Po.prototype.setId=function(a){return cj(this,1,a)};var DEa=function(a){this.internalArray_=m(a)};Y(DEa,V);var pfc=function(a){this.internalArray_=m(a)};Y(pfc,V);pfc.prototype.getEmail=function(){return Gh(this,1)};pfc.prototype.setEmail=function(a){return cj(this,1,a)};var To=function(a){this.internalArray_=m(a)};Y(To,V);To.prototype.getId=function(){return Gh(this,1)};To.prototype.setId=function(a){return cj(this,1,a)};To.prototype.getVersion=function(){return Gh(this,2)};To.prototype.setVersion=function(a){return cj(this,2,a)};var No=function(a){this.internalArray_=m(a)};Y(No,V);g=No.prototype;g.getWorkspaceId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getWorkspaceId_asString=function(){return Oo(this,1)};g.getName=function(){return Gh(this,2)};g.setName=function(a){return cj(this,2,a)};g.getTimeZone=function(){return W(this,To,8)};g.setTimeZone=function(a){return X(this,To,8,a)};g.hasTimeZone=function(){return Oj(this,To,8)};g.getMembersList=function(){return nj(this,pfc,9,Wi())};
g.setMembersList=function(a){return $l(this,9,a)};g.getUpdateTime=function(){return W(this,wj,12)};g.setUpdateTime=function(a){X(this,wj,12,a)};g.hasUpdateTime=function(){return Oj(this,wj,12)};g.getBookmarkGroupId_asLegacyNumberOrString=function(){return Vj(this,14)};g.setBookmarkGroupId=function(a){return pl(this,14,a)};g.setTeamId=function(a){return cj(this,20,a)};var qfc=Ih(No);var rfc=function(a){this.internalArray_=m(a)};Y(rfc,V);var HEa=function(a){this.internalArray_=m(a)};Y(HEa,V);g=HEa.prototype;g.getData=function(){return W(this,rfc,2)};g.setData=function(a){return X(this,rfc,2,a)};g.clearData=function(){return Zp(this,2)};g.getFilter=function(){return W(this,Xec,3)};g.setFilter=function(a){return X(this,Xec,3,a)};var sfc=function(a){this.internalArray_=m(a)};Y(sfc,V);var SG=function(a){this.internalArray_=m(a,0,SG.messageId)};Y(SG,V);SG.prototype.getResponse=function(){return W(this,sfc,1)};SG.prototype.getReadonlyResponse=function(){return ur(this,sfc,1)};SG.prototype.getMutableResponse=function(){return Av(this,sfc,1)};SG.prototype.setResponse=function(a){return X(this,sfc,1,a)};SG.messageId="b.WorkItemsResponse";var tfc=[1,2],TG=function(){this.executor=r(OB);this.activeSession=r(dv)},ufc=function(a,b,c){c=c===void 0?!0:c;b=(new afc).setTaskIdsList(b);c=Hl(b,2,c);return a.executor.post({url:"action/tasks/dismiss",body:c,responseConstructor:null})},vfc=function(a,b,c){c=c===void 0?!0:c;b=(new bfc).setTaskIdsList(b);c=Hl(b,2,c);return a.executor.post({url:"action/tasks/manual_signal",body:c,responseConstructor:null})},wfc=function(a,b,c){b=(new cfc).setTaskIdsList(b);if(c!==void 0){var d=ej(b,2,2);c=xj(c);
X(d,wj,3,c)}else ej(b,2,0);return a.executor.post({url:"action/tasks/snooze",body:b,responseConstructor:null})},xfc=function(a,b,c,d){if(lu(a.activeSession,"enableMissionControlInTrackers")){var e,f=(e=a.activeSession.getTracker())==null?void 0:e.trackerId;e=(new LG).setTrackerId(f);b=(new MG).setTaskResourceTypesList(b.map(zEa));c=ej(b,3,AEa(d)).setMaxTaskAgeDays(c).setIssueFilters(e)}else b=(new MG).setTaskResourceTypesList(b.map(zEa)),c=ej(b,3,AEa(d)).setMaxTaskAgeDays(c);return a.executor.post({url:"action/tasks/needs_attention",
responseConstructor:lfc,body:c}).pipe(B(bEa))},yfc=function(a,b,c,d){var e=new LG;d=ej(e,1,BEa(d));if(lu(a.activeSession,"enableMissionControlInTrackers")){var f;e=(f=a.activeSession.getTracker())==null?void 0:f.trackerId;d.setTrackerId(e)}b=(new efc).setTaskResourceTypesList(b.map(zEa)).setMaxTaskAgeDays(c).setIssueFilters(d);return a.executor.post({url:"action/tasks/my_tasks",responseConstructor:gfc,body:b}).pipe(B(fEa))},zfc=function(a,b,c){var d=new dfc;b=cj(d,1,b).setCommentId(c);return a.executor.post({url:"action/tasks/latest_drive_mention",
responseConstructor:OG,body:b}).pipe(B(CEa))},Afc=function(a,b){if(!b.length)return Fe([]);var c=new Yec;b=dj(c,1,b);c=new Xec;c=ok(c,1,tfc);b=X(b,Xec,2,c);return a.executor.post({url:"action/work_items/batch_get_work_items",responseConstructor:SG,body:b}).pipe(B(JEa))},Bfc=function(a,b){if(!b.length)return Fe([]);b=b.map(function(c){return(new DA).setResourcePath(c)});b=$ec(b);return a.executor.post({url:"action/okrs/batch_get_okrs",body:b,responseConstructor:RG}).pipe(B(ZDa))};
TG.\u0275fac=function(a){return new (a||TG)};TG.\u0275prov=n({token:TG,factory:TG.\u0275fac,providedIn:"root"});var Cfc={sources:["CHANGELIST","DRIVE","ISSUE"],maxTaskAgeDays:30,issueFilter:"ISSUE_TYPE_GROUPS_UNSPECIFIED"},UG=function(){YB.call(this);this.api=r(TG);this.recordType="myTasks";this.idForRecord=function(a){return a.taskId};this.defaultQuery=Cfc};Y(UG,YB);UG.prototype.fetchAll=function(a){return a.sources.length===0?Fe({results:[]}):yfc(this.api,a.sources,a.maxTaskAgeDays,a.issueFilter).pipe(B(function(b){b=b===void 0?[]:b;return{results:b}}))};UG.\u0275fac=function(a){return new (a||UG)};
UG.\u0275prov=n({token:UG,factory:UG.\u0275fac,providedIn:"root"});var Dfc={sources:["CHANGELIST","DRIVE","ISSUE"],signalFilter:0,maxTaskAgeDays:30},VG=function(){YB.call(this);this.api=r(TG);this.recordType="needsAttentionTask";this.idForRecord=function(a){return a.task.taskId};this.defaultQuery=Dfc};Y(VG,YB);VG.prototype.fetchAll=function(a){return a.sources.length===0?Fe({results:[]}):xfc(this.api,a.sources,a.maxTaskAgeDays,a.signalFilter).pipe(B(function(b){b=b===void 0?[]:b;return{results:b}}))};VG.\u0275fac=function(a){return new (a||VG)};
VG.\u0275prov=n({token:VG,factory:VG.\u0275fac,providedIn:"root"});var WG=function(){ZB.call(this);this.userAccess=r(YC);this.recordType="permissions"};Y(WG,ZB);WG.prototype.fetchOne=function(a){return this.fetchSet([a]).pipe(B(function(b){return k(b).next().value}))};WG.prototype.fetchSet=function(a){var b=this;return Me(a.map(function(c){return Re(function(){return s9b(b.userAccess,c).then(function(d){return Object.assign({},d,{id:c})})})}))};WG.\u0275fac=function(a){return new (a||WG)};WG.\u0275prov=n({token:WG,factory:WG.\u0275fac,providedIn:"root"});var KEa=function(a){this.internalArray_=m(a)};Y(KEa,V);var Efc=function(a){this.internalArray_=m(a,0,Efc.messageId)};Y(Efc,V);Efc.messageId="b.PrincipalTypeInfoBatchResponse";var YG=function(){this.principalResources=r(XG);this.bulkApiAdapter=r(VC);this.principalTypeGetter=this.bulkApiAdapter.adapt(Ffc(this,!1));this.principalTypeWithDetailGetter=this.bulkApiAdapter.adapt(Ffc(this,!0))},Ffc=function(a,b){return function(c){return Gfc(a.principalResources,c,b).then(function(d){return OEa(c,d)})}};YG.prototype.get=function(a){return ZG(this,a,!1)};
var ZG=function(a,b,c){return(c?a.principalTypeWithDetailGetter.get(b):a.principalTypeGetter.get(b)).then(function(d){return d!=null?d:PEa()})};YG.\u0275fac=function(a){return new (a||YG)};YG.\u0275prov=n({token:YG,factory:YG.\u0275fac,providedIn:"root"});
var XG=function(){this.executor=r(PB)},Gfc=function(a,b,c){if(b.length===0)return Promise.resolve({});var d={};d.email=Rk(b);c&&(d.includeDetailedUserType="true");return a.executor.get({url:"action/principal_types",options:{params:d},responseConstructor:Efc}).then(NEa).then(function(e){for(var f={},h=k(b),l=h.next();!l.done;l=h.next()){l=l.value;var q=void 0;f[l]=(q=e[l])!=null?q:PEa()}return f})};XG.\u0275fac=function(a){return new (a||XG)};XG.\u0275prov=n({token:XG,factory:XG.\u0275fac,providedIn:"root"});var $G=function(){ZB.call(this,{freshUntil:36E5,ancientAfter:864E5});this.principalTypesApi=r(YG);this.recordType="principalTypes";this.idForRecord=function(a){return a.email}};Y($G,ZB);$G.prototype.fetchOne=function(a){var b=this;return Re(function(){return b.principalTypesApi.get(a)}).pipe(B(function(c){return Object.assign({},{email:a},c)}),xf(function(){return Fe(void 0)}))};$G.prototype.fetchSet=function(a){var b=this;return Me(a.map(function(c){return b.fetchOne(c)})).pipe(B(function(c){return c.filter(kj)}))};
$G.\u0275fac=function(a){return new (a||$G)};$G.\u0275prov=n({token:$G,factory:$G.\u0275fac,providedIn:"root"});var aH=function(){ZB.call(this);this.api=r(tD);this.recordType="recentEventsForIssues";this.idForRecord=function(a){return a.id.query+"-"+a.id.pageSize}};Y(aH,ZB);aH.prototype.isEqual=function(a,b){return(a==null?void 0:a.id.query)!==(b==null?void 0:b.id.query)||(a==null?void 0:a.id.pageSize)!==(b==null?void 0:b.id.pageSize)?!1:Rta(a==null?void 0:a.events,b==null?void 0:b.events)};
aH.prototype.fetchOne=function(a){var b=k(a.split("___")),c=b.next().value;b=b.next().value;hj(b)||console.error("RecentEventsForIssuesFridge failed to parse maximumSize from query, using default. input: '"+a+"'");var d,e=(d=hj(b))!=null?d:50;return N9b(this.api,{query:c,maximumSize:e,minimumSignificance:"MAJOR"}).pipe(B(function(f){return{id:{query:c,pageSize:e},events:f}}))};aH.\u0275fac=function(a){return new (a||aH)};aH.\u0275prov=n({token:aH,factory:aH.\u0275fac,providedIn:"root"});var Hfc=["ASSIGNMENT","RESPONSE","CLOSURE"],Ifc=new Map([["ASSIGNMENT","Assignment"],["RESPONSE","Response"],["CLOSURE","Closure"]]),Jfc=new Map([["name","Name"],["description","Description"],["parentId","Parent ID"],["elements","SLO rules"]]),Tyb=new Map([["DAY_TYPE_UNSPECIFIED","Calendar"],["CALENDAR","Calendar"],["BUSINESS","Business"]]);var So=function(a){this.internalArray_=m(a)};Y(So,V);g=So.prototype;g.getId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getId_asString=function(){return Oo(this,1)};g.setId=function(a){return nk(this,1,a)};g.setFrequency=function(a){return ej(this,3,a)};g.getTimeZone=function(){return W(this,To,5)};g.setTimeZone=function(a){return X(this,To,5,a)};g.hasTimeZone=function(){return Oj(this,To,5)};g.setDaysRemaining=function(a){return Wl(this,7,a)};var bH=function(a){this.internalArray_=m(a)};Y(bH,V);bH.prototype.getTeamId_asLegacyNumberOrString=function(){return Vj(this,1)};bH.prototype.setTeamId=function(a){return pl(this,1,a)};bH.prototype.getEffectiveSloEditPolicy=function(){return Kj(this,3,0)};var Uo=function(a){this.internalArray_=m(a,0,Uo.messageId)};Y(Uo,V);Uo.prototype.getIt=function(){return W(this,Vo,10)};Uo.prototype.setIt=function(a){return X(this,Vo,10,a)};Uo.messageId="b.SloState";var Kfc=function(a){this.internalArray_=m(a)};Y(Kfc,V);Kfc.prototype.getQuery=function(){return Gh(this,1)};Kfc.prototype.setQuery=function(a){return cj(this,1,a)};Kfc.prototype.clearQuery=function(){Zp(this,1)};var Qo=function(a){this.internalArray_=m(a)};Y(Qo,V);Qo.prototype.getComponentId_asLegacyNumberOrString=function(){return Vj(this,1)};Qo.prototype.getComponentId_asString=function(){return Oo(this,1)};Qo.prototype.setComponentId=function(a){return pl(this,1,a)};Qo.prototype.getEffectiveSloEditPolicy=function(){return Kj(this,2,0)};var Lfc=function(a){this.internalArray_=m(a,0,Lfc.messageId)};Y(Lfc,V);Lfc.messageId="b.GetComponentSloEditPolicyResponse";var Mfc=function(a){this.internalArray_=m(a,0,Mfc.messageId)};Y(Mfc,V);Mfc.prototype.getTeamSloEditPolicy=function(){return W(this,bH,1)};Mfc.messageId="b.GetTeamSloEditPolicyResponse";var Nfc=function(a){this.internalArray_=m(a)};Y(Nfc,V);var cH=function(a){this.internalArray_=m(a,0,cH.messageId)};Y(cH,V);cH.prototype.getIt=function(){return W(this,Nfc,1)};cH.prototype.setIt=function(a){return X(this,Nfc,1,a)};cH.messageId="b.ListSlosResponse";var Ofc=function(a){this.internalArray_=m(a,0,Ofc.messageId)};Y(Ofc,V);Ofc.prototype.getTeamSloEditPolicy=function(){return W(this,bH,1)};Ofc.messageId="b.UpdateTeamSloEditPolicyResponse";var dH=function(){this.activeSession=r(dv);this.executor=r(OB)};g=dH.prototype;g.get=function(a){return this.executor.get({url:"action/slos/"+a,responseConstructor:Uo}).pipe(B(VEa))};g.getOwnedSlos=function(){return this.search("owner:"+this.activeSession.getUserEmail()+" include_archived:true")};g.search=function(a){a=(new Kfc).setQuery(a);return this.executor.post({url:"action/listSlos",body:a,responseConstructor:cH}).pipe(B(function(b){b=b.getIt();b=nj(b,Vo,1,Wi());return(b!=null?b:[]).map($va)}))};
g.create=function(a){a=WEa(a);return this.executor.post({url:"action/slos",body:a,responseConstructor:Uo}).pipe(B(VEa))};g.update=function(a){var b=a.sloId;a=WEa(a);return this.executor.post({url:"action/slos/"+b,body:a,responseConstructor:Uo}).pipe(B(VEa))};dH.\u0275fac=function(a){return new (a||dH)};dH.\u0275prov=n({token:dH,factory:dH.\u0275fac,providedIn:"root"});
var eH=function(){this.observableSlosService=r(dH);var a=r($E),b;this.slosCache=(b=a.get("slos-second-level-cache"))!=null?b:a.create("slos-second-level-cache",{capacity:25})};g=eH.prototype;g.get=function(a){var b=this.slosCache.get(a);return b!==void 0?b:this.slosCache.put(String(a),Je(this.observableSlosService.get(a)))};g.getOwnedSlos=function(){return Je(this.observableSlosService.getOwnedSlos())};g.search=function(a){return Je(this.observableSlosService.search(a))};g.create=function(a){return Je(this.observableSlosService.create(a))};
g.update=function(a){return Je(this.observableSlosService.update(a))};eH.\u0275fac=function(a){return new (a||eH)};eH.\u0275prov=n({token:eH,factory:eH.\u0275fac,providedIn:"root"});var fH=function(){ZB.call(this);this.observableSlosService=r(dH);this.recordType="slo";this.idForRecord=function(a){return a.sloId}};Y(fH,ZB);g=fH.prototype;g.fetchOne=function(a){return this.observableSlosService.get(a)};g.getOwnedSlos=function(){return this.observableSlosService.getOwnedSlos()};g.search=function(a){return this.observableSlosService.search(a)};g.create=function(a){return this.observableSlosService.create(a)};g.update=function(a){return this.observableSlosService.update(a)};
fH.\u0275fac=function(a){return new (a||fH)};fH.\u0275prov=n({token:fH,factory:fH.\u0275fac,providedIn:"root"});var Pfc=function(a,b){this.rawGet=a;this.cacheSize=b;this.lruCache=new ZE(this.cacheSize,!0,function(c,d){d.subscription.unsubscribe()})};Pfc.prototype.get=function(a){var b=this;return new re(function(c){var d=b.lruCache.get(a);d||(d=Qfc(b,a));return d.obs$.subscribe(c)})};
var Qfc=function(a,b){var c=a.rawGet(b).pipe(Kf({refCount:!0,bufferSize:1})),d=c.subscribe({error:function(){var e=a.lruCache.get(b);e&&(a.lruCache.remove(b),e.subscription.unsubscribe())}});c=new Rfc(c,d);a.lruCache.set(b,c);return c},Rfc=function(a,b){this.obs$=a;this.subscription=b};var gH=function(a){this.internalArray_=m(a,0,gH.messageId)};Y(gH,V);gH.prototype.getIt=function(){return W(this,sC,14)};gH.prototype.setIt=function(a){return X(this,sC,14,a)};gH.messageId="b.TeamState";var Sfc=function(a){this.internalArray_=m(a)};Y(Sfc,V);g=Sfc.prototype;g.getPathIdsList_asLegacyNumberOrString=function(){return a_b(this,1)};g.getPathIdsList_asString=function(){return ak(this,1)};g.setPathIdsList=function(a){return wc(this,1,a,Kb)};g.getPathNamesList=function(a){return Vi(this,2,Wi(a))};g.setPathNamesList=function(a){return dj(this,2,a)};g.getId_asLegacyNumberOrString=function(){return Hv(this,3)};g.getId_asString=function(){return Nj(this,3)};
g.setId=function(a){return lk(this,3,a)};g.getName=function(){return Gh(this,4)};g.setName=function(a){return gk(this,4,a)};g.hasName=function(){return Hj(this,4)};g.getNameOrUndefined=function(){return Pm(this,4)};g.getDescription=function(){return Gh(this,5)};g.setDescription=function(a){return gk(this,5,a)};g.hasDescription=function(){return Hj(this,5)};var Tfc=function(a){this.internalArray_=m(a)};Y(Tfc,V);g=Tfc.prototype;g.getId_asLegacyNumberOrString=function(){return Hv(this,1)};g.getId_asString=function(){return Nj(this,1)};g.setId=function(a){return lk(this,1,a)};g.getName=function(){return Gh(this,2)};g.setName=function(a){return gk(this,2,a)};g.hasName=function(){return Hj(this,2)};g.getNameOrUndefined=function(){return Pm(this,2)};g.getDescription=function(){return Gh(this,3)};g.setDescription=function(a){return gk(this,3,a)};
g.hasDescription=function(){return Hj(this,3)};var Ufc=function(a){this.internalArray_=m(a)};Y(Ufc,V);Ufc.prototype.setTeamIdsList=function(a){return pk(this,1,a)};Ufc.prototype.setView=function(a){return ej(this,2,a)};var Vfc=function(a){this.internalArray_=m(a,0,Vfc.messageId)};Y(Vfc,V);Vfc.prototype.setTeamIdsList=function(a){return wc(this,1,a,Kb)};Vfc.messageId="b.BatchChildTeamsRequest";var Wfc=function(a){this.internalArray_=m(a)};Y(Wfc,V);var Xfc=function(a){this.internalArray_=m(a,0,Xfc.messageId)};Y(Xfc,V);Xfc.messageId="b.BatchChildTeamsResponse";var Yfc=function(a){this.internalArray_=m(a)};Y(Yfc,V);var hH=function(a){this.internalArray_=m(a,0,hH.messageId)};Y(hH,V);hH.prototype.getIt=function(){return W(this,Yfc,2)};hH.prototype.setIt=function(a){return X(this,Yfc,2,a)};hH.messageId="b.BatchGetTeamsResponse";var iH=function(a){this.internalArray_=m(a,0,iH.messageId)};Y(iH,V);iH.prototype.getTeamSuggestionsList=function(){return nj(this,Sfc,1,Wi())};iH.prototype.setTeamSuggestionsList=function(a){$l(this,1,a)};iH.messageId="b.TeamSuggestionResult";var jH=function(a){this.internalArray_=m(a,0,jH.messageId)};Y(jH,V);jH.prototype.getIt=function(){return W(this,Dm,3)};jH.prototype.setIt=function(a){return X(this,Dm,3,a)};jH.messageId="b.UpdateTeamSloRequest";var lH=function(){var a=this;this.executor=r(OB);this.teamsBatchApiConfig=r(kH);this.batchApiAdapter=r(rC);this.batchAdaptedGet=this.batchApiAdapter.adapt(this.teamsBatchApiConfig);this.memoizingTeamStateMap=new Pfc(function(b){return a.batchAdaptedGet(b)},100)};lH.prototype.get=function(a){return this.executor.get({url:"action/teams/"+a,responseConstructor:gH}).pipe(B(YEa))};lH.prototype.getTeam=function(a){return this.memoizingTeamStateMap.get(a)};
var mH=function(a,b){return a.getTeam(b).pipe(B(function(c){return c!=null?c:$Ea(b)}),xf(function(){return Fe($Ea(b))}))},Zfc=function(a,b){b=b.filter(function(c){return c!=="0"}).map(function(c){return a.getTeam(c)});return Se(b).pipe(B(function(c){var d=new Map;c=k(c);for(var e=c.next();!e.done;e=c.next())(e=e.value)&&d.set(e.teamId,e);return d}))};
lH.prototype.getChildTeams=function(a){a=(new Vfc).setTeamIdsList(a);return this.executor.post({url:"action/child_teams",body:a,responseConstructor:Xfc}).pipe(B(function(b){b=[].concat(w(tc(b,1,Wfc,Vb).entries()));return new Map(b.map(function(c){var d=k(c);c=d.next().value;d=d.next().value;d=nj(d,Tfc,1,Wi());return[c,d.map(XEa)]}))}))};
var nH=function(a,b){return a.executor.get({url:"action/suggest_teams",options:{params:{query:b}},responseConstructor:iH}).pipe(B(function(c){return c.getTeamSuggestionsList().map(ZEa)}))},$fc=function(a,b){return a.executor.get({url:"action/teams/"+b+"/experiments",responseConstructor:FC}).pipe(B(mya))},agc=function(a,b,c){return b==="0"?Fe(!1):a.memoizingTeamStateMap.get(b).pipe(B(function(d){return(d==null?void 0:d.members.find(function(e){return e&&Ui(e.user)===c}))!==void 0}))},bgc=function(a,
b){b=(new Ufc).setTeamIdsList([].concat(w(b))).setView(2);return a.executor.post({url:"action/batchGetTeams",responseConstructor:hH,body:b}).pipe(B(function(c){return nj(c.getIt(),sC,1,Wi())}),B(function(c){return new Map(c.map(function(d){var e,f;return[String(d.getId_asLegacyNumberOrString()),(f=(e=W(d,Cm,7))==null?void 0:Vj(e,3))!=null?f:0]}))}))};
lH.prototype.updateTeam=function(a){var b=new gH,c=new sC,d,e,f=c.setId(Number(a.teamId)).setName(a.name).setDescription(a.description).setPathNamesList(a.pathNames).setPathIdsList((d=a.pathIds)==null?void 0:d.map(hj).filter(kj));d=dj(f,5,a.collapsedPathNames).setMembersList((e=a.members)==null?void 0:e.map(Bxa));Hl(d,9,a.deleted);e=new Cm;e.setVersion(a.version).setSlo(Cxa(a.slo));a.sloLead&&(d=fj(a.sloLead),X(e,bj,4,d));a.defaultSloLead&&(d=fj(a.defaultSloLead),X(e,bj,5,d));X(c,Cm,7,e);b.setIt(c);
return this.executor.post({url:"action/teams/"+a.teamId,body:b,responseConstructor:gH}).pipe(B(YEa))};lH.\u0275fac=function(a){return new (a||lH)};lH.\u0275prov=n({token:lH,factory:lH.\u0275fac,providedIn:"root"});var kH=function(){this.executor=r(OB)};
kH.prototype.call=function(a){a=(new Ufc).setTeamIdsList([].concat(w(a))).setView(1);return this.executor.post({url:"action/batchGetTeams",responseConstructor:hH,body:a}).pipe(B(function(b){return nj(b.getIt(),sC,1,Wi()).map(Axa)}),B(function(b){return Mi(b,function(c){return c.teamId})}),xf(function(){return Fe(new Map)}))};kH.prototype.split=function(a,b){return b.get(a)};kH.\u0275fac=function(a){return new (a||kH)};kH.\u0275prov=n({token:kH,factory:kH.\u0275fac,providedIn:"root"});var oH=function(){YB.call(this);this.teamsApi=r(lH);this.defaultQuery={};this.recordType="TeamDigest";this.idForRecord=function(a){var b;return(b=a.teamId)!=null?b:"NO_ID"}};Y(oH,YB);oH.prototype.fetchAll=function(a){if(a.myTeams)return nH(this.teamsApi,"").pipe(B(function(b){b=b===void 0?[]:b;return{results:b}}));throw Error("id");};oH.\u0275fac=function(a){return new (a||oH)};oH.\u0275prov=n({token:oH,factory:oH.\u0275fac,providedIn:"root"});var pH=function(){ZB.call(this,{freshUntil:6E4});this.activeSession=r(dv);this.teamsApi=r(lH);this.recordType="team-experimental-fields";this.idForRecord=function(a){return a.id};this.isEqual=yi};Y(pH,ZB);pH.prototype.fetchOne=function(a){var b=this;return lu(this.activeSession,"enableTeamScope")?Re(function(){return $fc(b.teamsApi,a).pipe(xf(function(){return Fe(void 0)}))}):Fe(void 0)};pH.prototype.fetchSet=function(a){var b=this;return Me(a.map(function(c){return b.watch(c)})).pipe(B(function(c){return c.filter(kj)}))};
pH.prototype.copy=function(a){return a&&zi(a)};pH.\u0275fac=function(a){return new (a||pH)};pH.\u0275prov=n({token:pH,factory:pH.\u0275fac,providedIn:"root"});var qH=function(){ZB.call(this);this.teamsApi=r(lH);this.recordType="team";this.idForRecord=function(a){return a.teamId}};Y(qH,ZB);qH.prototype.fetchOne=function(a){return a==="0"?Fe(void 0):this.teamsApi.getTeam(a).pipe(xf(function(){return Fe(void 0)}))};qH.prototype.fetchSet=function(a){var b=this;return Me(a.map(function(c){return b.fetchOne(c)})).pipe(B(function(c){return c.filter(kj)}))};qH.\u0275fac=function(a){return new (a||qH)};qH.\u0275prov=n({token:qH,factory:qH.\u0275fac,providedIn:"root"});var cgc=function(a){this.internalArray_=m(a)};Y(cgc,V);cgc.prototype.setTrackerIdsList=function(a){return pk(this,1,a)};var dgc=function(a){this.internalArray_=m(a)};Y(dgc,V);dgc.prototype.getTrackersList=function(){return nj(this,IB,1,Wi())};var rH=function(a){this.internalArray_=m(a,0,rH.messageId)};Y(rH,V);rH.prototype.getIt=function(){return W(this,dgc,9)};rH.prototype.setIt=function(a){return X(this,dgc,9,a)};rH.messageId="b.BatchGetTrackersResponse";var sH=function(a){this.internalArray_=m(a)};Y(sH,V);sH.prototype.getTrackersList=function(){return nj(this,IB,1,Wi())};sH.prototype.getNextPageToken=function(){return Gh(this,2)};sH.prototype.getTotalSize=function(){return Zi(this,3)};var tH=function(a){this.internalArray_=m(a,0,tH.messageId)};Y(tH,V);tH.prototype.getIt=function(){return W(this,sH,4)};tH.prototype.setIt=function(a){return X(this,sH,4,a)};tH.messageId="b.ListTrackersResponse";var uH=function(){this.jspbExecutor=r(OB)};uH.prototype.get=function(a){return this.jspbExecutor.get({url:"action/trackers/"+a,responseConstructor:Ik}).pipe(B(Fra))};uH.prototype.batchGet=function(a){a=(new cgc).setTrackerIdsList(a);return this.jspbExecutor.post({url:"action/trackers/batch",responseConstructor:rH,body:a}).pipe(B(Gra))};
uH.prototype.query=function(a,b,c){return this.jspbExecutor.get({url:"action/trackers",responseConstructor:tH,options:{params:{query:a,pageSize:String(b),pageToken:c===void 0?"":c}}}).pipe(B(Hra))};uH.\u0275fac=function(a){return new (a||uH)};uH.\u0275prov=n({token:uH,factory:uH.\u0275fac,providedIn:"root"});var vH=function(){ZB.call(this,{freshUntil:36E5,ancientAfter:2592E5});this.trackerApi=r(uH);this.activeSession=r(dv);this.recordType="tracker";this.idKey="trackerId";var a=this.activeSession.getTracker();a&&this.announce(a)};Y(vH,ZB);vH.prototype.fetchOne=function(a){return this.trackerApi.get(a)};vH.prototype.fetchSet=function(a){return this.trackerApi.batchGet(a)};
vH.prototype.fetchAll=function(a){var b,c;return this.trackerApi.query((b=a.filter)!=null?b:"",(c=a.pageSize)!=null?c:0,a.pageToken).pipe(B(function(d){var e;return{results:(e=d==null?void 0:d.trackers)!=null?e:[]}}))};vH.\u0275fac=function(a){return new (a||vH)};vH.\u0275prov=n({token:vH,factory:vH.\u0275fac,providedIn:"root"});var wH=function(){this.executor=r(OB)},egc=function(a,b){return a.executor.post({url:"action/current_user/preferences",responseConstructor:ck,body:usa(b)}).pipe(B(function(c){return dsa(c)}))};wH.\u0275fac=function(a){return new (a||wH)};wH.\u0275prov=n({token:wH,factory:wH.\u0275fac,providedIn:"root"});var yH=function(){var a=this;this.userPreferencesManagerBase=r(xH);this.destroyed$=new If(1);this.preferencesSubject$=this.userPreferencesManagerBase.preferences$;this.preferences$=this.preferencesSubject$.pipe(B(zi));this.textDisplayPreferences$=this.preferences$.pipe(B(function(b){return b.textDisplayPreferences||{}}));this.textDisplayPreferencesSubject$=Wo(this.textDisplayPreferences$.pipe(Of(this.destroyed$)),{});this.lastPublishMode$=this.textDisplayPreferences$.pipe(B(function(b){return b.lastPublishMode}),
Ef());this.lastPublishModeProto$=this.lastPublishMode$.pipe(B(oj));this.themePreferences$=this.preferences$.pipe(B(function(b){var c;return(c=b.themePreferences)!=null?c:zi(JB.themePreferences)}),Yo());this.listViewPreferences$=this.preferences$.pipe(B(function(b){var c;return(c=b.listViewPreferences)!=null?c:zi(JB.listViewPreferences)}),Yo());this.layoutPreferences$=this.preferences$.pipe(B(function(b){return a.getLayoutPreferences(b)}),Yo());this.dateTimePreferences$=this.preferences$.pipe(B(function(b){var c;
return(c=b.dateTimePreferences)!=null?c:zi(JB.dateTimePreferences)}),Yo());this.homepagePreferences$=this.preferences$.pipe(B(function(b){return a.getHomepagePreferences(b)}),Yo());this.keyboardPrefs$=this.preferences$.pipe(B(function(b){var c;return(c=b.keyboardPreferences)!=null?c:zi(JB.keyboardPreferences)}),Yo());this.displayColumnsPreferences$=this.preferences$.pipe(B(function(b){var c,d;return(d=(c=b.displayColumns)==null?void 0:c.column)!=null?d:[]}),Yo());this.sortColumnsPreferences$=this.preferences$.pipe(B(function(b){var c,
d;return(d=(c=b.sortColumns)==null?void 0:c.column)!=null?d:[]}),Yo());this.bugScreensaverPreferences$=this.preferences$.pipe(B(function(b){var c;return(c=b.bugScreensaverPreferences)!=null?c:zi(JB.bugScreensaverPreferences)}),Yo());this.bugScreensaverSubject$=Wo(this.bugScreensaverPreferences$.pipe(Of(this.destroyed$)),JB.bugScreensaverPreferences);this.g3nPreferences$=this.preferences$.pipe(B(function(b){var c;return(c=b.g3nPreferences)!=null?c:zi(JB.g3nPreferences)}),Yo());Wo(this.g3nPreferences$.pipe(Of(this.destroyed$)),
JB.g3nPreferences);this.teamWarningPreferences$=this.preferences$.pipe(B(function(b){var c;return(c=b.teamWarningPreferences)!=null?c:zi(JB.teamWarningPreferences)}),Yo());this.teamWarningPreferencesSubject$=Wo(this.teamWarningPreferences$.pipe(Of(this.destroyed$)),JB.teamWarningPreferences);this.commentFilterPreferences$=this.preferences$.pipe(B(function(b){var c;return(c=b.commentFilterPreferences)!=null?c:zi(JB.commentFilterPreferences)}),Yo());Wo(this.commentFilterPreferences$.pipe(Of(this.destroyed$)),
JB.commentFilterPreferences);this.codeFont$=this.preferences$.pipe(B(function(b){return!!b.useCodefont}),Ef());this.autoCcOnComment$=this.preferences$.pipe(B(function(b){var c;return(c=b.autoCcOnComment)!=null?c:!1}),Ef());this.showFullHistory$=this.preferences$.pipe(B(function(b){return!!b.showFullHistory}),Ef());this.resultsPerPage$=this.preferences$.pipe(B(function(b){var c;return(c=b.resultsPerPage)!=null?c:JB.resultsPerPage}),Ef());this.showRecentEventsFirst$=this.preferences$.pipe(B(function(b){return!!b.showRecentEventsFirst}),
Ef());this.showInlineImages$=this.preferences$.pipe(B(function(b){var c;return(c=b.showInlineImages)!=null?c:JB.showInlineImages}),Ef())};yH.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};yH.prototype.save=function(a){return this.userPreferencesManagerBase.save(a)};var fgc=function(a,b){b=Object.assign({},a.getLayoutPreferences(a.preferencesSubject$.value),b);return a.save({layoutPreferences:b}).pipe(B(a.getLayoutPreferences))},ggc=function(a,b){return a.save({homepagePreferences:b}).pipe(B(a.getHomepagePreferences))};
yH.prototype.getDateTimePreferences=function(){var a;return(a=(void 0).dateTimePreferences)!=null?a:zi(JB.dateTimePreferences)};var hgc=function(a,b){b=Object.assign({},a.preferencesSubject$.value.collapsed,b);return a.save({collapsed:b})},igc=function(a,b){var c;return(c=a.preferencesSubject$.value.collapsed)==null?void 0:c[b]};yH.prototype.saveResultsPerPage=function(a){return this.save({resultsPerPage:a}).pipe(B(function(b){var c;return(c=b.resultsPerPage)!=null?c:JB.resultsPerPage}))};
var jgc=function(a,b){return a.save({displayColumns:{column:b}}).pipe(B(function(c){var d,e;return(e=(d=c.displayColumns)==null?void 0:d.column)!=null?e:[]}))};yH.prototype.saveSortColumns=function(a){return this.save({sortColumns:{column:a}}).pipe(B(function(b){var c,d;return(d=(c=b.sortColumns)==null?void 0:c.column)!=null?d:[]}))};var kgc=function(a,b){return a.save({teamWarningPreferences:b}).pipe(B(function(c){var d;return(d=c.teamWarningPreferences)!=null?d:zi(JB.teamWarningPreferences)}))};
yH.prototype.getLayoutPreferences=function(a){var b;return(b=a.layoutPreferences)!=null?b:zi(JB.layoutPreferences)};yH.prototype.getHomepagePreferences=function(a){var b;return(b=a.homepagePreferences)!=null?b:zi(JB.homepagePreferences)};var zH=function(a){return zi(a.preferencesSubject$.getValue())};yH.\u0275fac=function(a){return new (a||yH)};yH.\u0275prov=n({token:yH,factory:yH.\u0275fac,providedIn:"root"});
var xH=function(){this.activeSession=r(dv);this.userPreferencesResources=r(wH);this.preferences$=new bo(zi(JB));var a=this.preferences$.value,b=this.activeSession.getUserPreferences();b&&(a=Object.assign({},a,b),lgc(a));this.preferences$.next(a)};xH.prototype.save=function(a){var b=this;return this.activeSession.isAnonymous()?Fe(mgc(this,a)):egc(this.userPreferencesResources,a).pipe(B(function(){return mgc(b,a)}))};
var mgc=function(a,b){var c=zi(a.preferences$.value);c=Object.assign({},c,b);lgc(c);a.preferences$.next(c);return c},lgc=function(a){a.dateTimePreferences&&(a.dateTimePreferences.calendarFormat||(a.dateTimePreferences.calendarFormat=JB.dateTimePreferences.calendarFormat),a.dateTimePreferences.timeFormat||(a.dateTimePreferences.timeFormat=JB.dateTimePreferences.timeFormat),a.dateTimePreferences.sloEtaViewAs||(a.dateTimePreferences.sloEtaViewAs=JB.dateTimePreferences.sloEtaViewAs));!a.notificationPreferences||
a.notificationPreferences.collaboratorPriority&&a.notificationPreferences.collaboratorPriority!=="UNKNOWN_PRIORITY"||(a.notificationPreferences.collaboratorPriority=JB.notificationPreferences.collaboratorPriority)};xH.\u0275fac=function(a){return new (a||xH)};xH.\u0275prov=n({token:xH,factory:xH.\u0275fac,providedIn:"root"});var AH=function(){var a=this;this.teamFridge=r(qH);this.userPrefsManager=r(yH);this.destroyed$=new If(1);this.scopePrefs$=this.userPrefsManager.preferences$.pipe(B(function(b){var c;return(c=b==null?void 0:b.scopePreferences)!=null?c:{starredTeams:[]}}));this.starredTeamIds$=Wo(this.scopePrefs$.pipe(B(function(b){return b.starredTeams}),Of(this.destroyed$)),[]);this.starredTeams$=this.starredTeamIds$.pipe(B(function(b){return b.map(function(c){var d=a.teamFridge.watch(c);return{teamId:c,name$:d.pipe(B(function(e){return(e==
null?void 0:e.name)||c})),team$:d}})}))};AH.prototype.save=function(a){var b=this;return ve(function(c){return xe(c,Je(b.userPrefsManager.save({scopePreferences:{starredTeams:a}})),0)})};AH.prototype.toggle=function(a){return this.starredTeamIds.includes(a)?this.save(this.starredTeamIds.filter(function(b){return b!==a})):this.save([].concat(w(this.starredTeamIds),[a]))};ea.Object.defineProperties(AH.prototype,{starredTeamIds:{configurable:!0,enumerable:!0,get:function(){return this.starredTeamIds$.value}}});
AH.\u0275fac=function(a){return new (a||AH)};AH.\u0275prov=n({token:AH,factory:AH.\u0275fac,providedIn:"root"});var BH=function(){Z.apply(this,arguments);var a=this;this.issueFridge=r(OF);this.teamFridge=r(qH);this.recentIssues$=Re(function(){return a.issueFridge.watchMany({filter:"modified:60d (modifier:me | assignee:me)",pageSize:500})});this.recentTeamIds$=this.recentIssues$.pipe(B(function(b){return b.results}),B(function(b){return b.map(function(c){var d;return(d=c.aggregatedData)==null?void 0:d.teamId}).filter(kj).map(String)}));this.mostActiveTeamIds$=this.recentTeamIds$.pipe(B(function(b){return Bta(b,
function(c){return c})}),B(function(b){return b.filter(function(c){return c.length>=2})}),B(function(b){return b.sort(function(c,d){return d.length-c.length})}),B(function(b){return b.map(function(c){return c[0]})}));this.mostActiveTeams$=this.mostActiveTeamIds$.pipe(Nf(function(b){return a.teamFridge.watchSet(b).pipe(B(function(c){var d=Mi(c,function(e){return e.teamId});return b.map(function(e){return{teamId:e,team:d.get(e)}})}))}))};Y(BH,Z);BH.\u0275dir=Z.\u0275dir;
BH.\u0275fac=function(){var a;return function(b){return(a||(a=de(BH)))(b||BH)}}();BH.\u0275prov=n({token:BH,factory:BH.\u0275fac,providedIn:"root"});var Hq={displayAs:"Open",queryAtom:"status:open",tooltip:'Issues that match "status:open"'};var ogc=function(a,b,c,d,e){var f=this;this.teamId=a;this.teamFridge=b;this.issueFullFridge=c;this.issueFridge=d;this.teamExperimentalFieldsFridge=e;this.isLoading$=new bo(!1);this.setLoading=function(){f.isLoading$.next(!0)};this.setNotLoading=function(){f.isLoading$.next(!1)};this.team$=Re(function(){return Fe(f.teamId)}).pipe(Pf(this.setLoading),Nf(function(h){return f.teamFridge.watch(h)}),Pf(this.setNotLoading),Kf({refCount:!0,bufferSize:1}));this.teamName$=this.team$.pipe(B(function(h){return(h==
null?void 0:h.name)||f.teamId}));this.teamExperiments$=Re(function(){return Fe(f.teamId)}).pipe(Pf(this.setLoading),Nf(function(h){return f.teamExperimentalFieldsFridge.watch(h)}),Pf(this.setNotLoading),Kf({refCount:!0,bufferSize:1}));this.byPhase=new Map(G7b.map(function(h){return[h,ngc(f,h)]}));this.allIssues$=Me([].concat(w(this.byPhase.values())).map(function(h){return h.issues$})).pipe(B(function(h){return h.flat()}),B(function(h){return Qk(h,function(l){return l.issueId})}),Kf({refCount:!0,
bufferSize:1}))};ogc.prototype.phase=function(a){return this.byPhase.get(a)};
var ngc=function(a,b){var c=a.teamExperiments$.pipe(B(function(l){var q;return(l==null?void 0:(q=l.triage.scope)==null?void 0:q.trim())||"teamid:"+a.teamId+"+"}),B(function(l){l=ap(l,"modified:365d");l=ap(l,"-status:duplicate");switch(b){case "NEW":case "CONFIRMED":case "IN_PROGRESS":l=ap(l,"status:open")}return[l,b].join("____b-internal____")}),Ef()),d=c.pipe(B(dFa),Pf(a.setLoading),Nf(function(l){return a.issueFridge.watchMany(l)}),Pf(a.setNotLoading),Kf({refCount:!0,bufferSize:1})),e=d.pipe(B(function(l){return l.results}),
B(function(l){return l.map(function(q){return q.issueId})}),Ef(yi)).pipe(Nf(function(l){return l.length?Me(l.map(function(q){return a.issueFridge.watch(q)})):Fe([])}));d=d.pipe(B(function(l){var q;return(q=l.totalSize)!=null?q:0}));e=e.pipe(B(function(l){return eFa(l,b)}),Kf({refCount:!0,bufferSize:1}));var f=Me([e,i8b]).pipe(B(function(l){l=k(l).next().value;return Eua(l,tib.get(b))}),B(function(l){return l.length}),B(function(l){return l===0?"":l>=250?"250+":""+l})),h;return{phase:b,displayName:(h=
M7b.get(b))!=null?h:"",query$:c,issues$:e,attentionCount$:f,totalCount$:d}};
ogc.prototype.reload=function(){var a=this,b;return ve(function(c){if(c.nextAddress==1)return a.setLoading(),xe(c,Promise.all(Rk([].concat(w(a.byPhase.values())).map(function(d){return Xo(d.query$)}).filter(kj)).map(function(d){return Q8b(a.issueFridge,dFa(d))})),2);if(c.nextAddress!=3)return b=c.yieldResult,xe(c,Promise.all(Rk(b.flatMap(function(d){return d.results}).map(function(d){return d.issueId})).map(function(d){return a.issueFullFridge.poke(d)})),3);a.setNotLoading();Ce(c)})};
var CH=function(){this.teamFridge=r(qH);this.issueFullFridge=r(yG);this.issueFridge=r(OF);this.teamExperimentalFieldsFridge=r(pH);this.cache=new Map};CH.prototype.get=function(a){var b;this.cache.set(a,(b=this.cache.get(a))!=null?b:this.create(a));return this.cache.get(a)};CH.prototype.create=function(a){return new ogc(a,this.teamFridge,this.issueFullFridge,this.issueFridge,this.teamExperimentalFieldsFridge)};CH.\u0275fac=function(a){return new (a||CH)};
CH.\u0275prov=n({token:CH,factory:CH.\u0275fac,providedIn:"root"});var DH=function(){this.triageDataFactory=r(CH);this.isSidebarOpen$=new bo(!1);this.currentIssueId$=new bo(void 0)};DH.prototype.openSidebar=function(){this.isSidebarOpen$.next(!0)};DH.prototype.closeSidebar=function(){this.isSidebarOpen$.next(!1)};DH.prototype.setIssueId=function(a){this.currentIssueId$.next(a)};DH.\u0275fac=function(a){return new (a||DH)};DH.\u0275prov=n({token:DH,factory:DH.\u0275fac,providedIn:"root"});var EH=function(){ty.apply(this,arguments);this.gmatPanelClasses=[]};Y(EH,ty);var pgc=function(a,b){a.gmatPanelClasses.includes(b)||a.gmatPanelClasses.push(b)};EH.prototype.create=function(a){return ty.prototype.create.call(this,Object.assign({},a,{panelClass:(a==null?0:a.panelClass)?Zh(a.panelClass).concat(this.gmatPanelClasses):this.gmatPanelClasses}))};EH.\u0275fac=function(){var a;return function(b){return(a||(a=de(EH)))(b||EH)}}();EH.\u0275prov=n({token:EH,factory:EH.\u0275fac});var qgc=new Bd("GMAT_TOOLTIP_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var FH=function(a,b){a.disableGmatStyle||pgc(b,"gmat-mdc-tooltip")};FH.\u0275fac=function(a){return new (a||FH)(af(qgc),af(ty))};FH.\u0275dir=ud({type:FH,selectors:[["","matTooltip",""]],standalone:!0,features:[Yg([{provide:ty,useClass:EH}])]});var rgc=["tooltip"],sgc=new Bd("mat-tooltip-scroll-strategy",{providedIn:"root",factory:function(){var a=r(ty);return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}}),tgc={provide:sgc,deps:[ty],useFactory:function(a){return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}},ugc=new Bd("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),vgc=Uh({passive:!0}),HH=function(){var a=this;
this._overlay=r(ty);this._elementRef=r(ge);this._scrollDispatcher=r(Ux);this._viewContainerRef=r(Kg);this._ngZone=r(hh);this._platform=r(Xw);this._ariaDescriber=r(ux);this._focusMonitor=r(ax);this._dir=r(Jx);this._injector=r(Sf);this._defaultOptions=r(ugc,{optional:!0});this._position="below";this._disabled=this._positionAtOrigin=!1;this._scrollStrategy=r(sgc);this._pointerExitEventsInitialized=this._viewInitialized=!1;this._tooltipComponent=GH;this._viewportMargin=8;this._cssClassPrefix="mat-mdc";
this.touchGestures="auto";this._message="";this._passiveListeners=[];this._document=r(ei);this._touchstartTimeout=null;this._destroyed=new Jf;var b=this._defaultOptions;b&&(this._showDelay=b.showDelay,this._hideDelay=b.hideDelay,b.position&&(this.position=b.position),b.positionAtOrigin&&(this.positionAtOrigin=b.positionAtOrigin),b.touchGestures&&(this.touchGestures=b.touchGestures),b.tooltipClass&&(this.tooltipClass=b.tooltipClass));this._dir.change.pipe(Of(this._destroyed)).subscribe(function(){a._overlayRef&&
a._updatePosition(a._overlayRef)});this._viewportMargin=8};g=HH.prototype;g.ngAfterViewInit=function(){var a=this;this._viewInitialized=!0;this._setupPointerEnterEventsIfNeeded();this._focusMonitor.monitor(this._elementRef).pipe(Of(this._destroyed)).subscribe(function(b){b?b==="keyboard"&&a._ngZone.run(function(){return a.show()}):a._ngZone.run(function(){return a.hide(0)})})};
g.ngOnDestroy=function(){var a=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null);this._passiveListeners.forEach(function(b){var c=k(b);b=c.next().value;c=c.next().value;a.removeEventListener(b,c,vgc)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();wx(this._ariaDescriber,a,this.message,"tooltip");this._focusMonitor.stopMonitoring(a)};
g.show=function(a,b){var c=this;a=a===void 0?this.showDelay:a;if(this.disabled||!this.message||this._isTooltipVisible()){var d;(d=this._tooltipInstance)==null||d._cancelPendingAnimations()}else b=this._createOverlay(b),this._detach(),this._portal=this._portal||new my(this._tooltipComponent,this._viewContainerRef),b=this._tooltipInstance=b.attach(this._portal).instance,b._triggerElement=this._elementRef.nativeElement,b._mouseLeaveHideDelay=this._hideDelay,b.afterHidden().pipe(Of(this._destroyed)).subscribe(function(){return c._detach()}),
this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),b.show(a)};g.hide=function(a){a=a===void 0?this.hideDelay:a;var b=this._tooltipInstance;b&&(b.isVisible()?b.hide(a):(b._cancelPendingAnimations(),this._detach()))};g.toggle=function(a){this._isTooltipVisible()?this.hide():this.show(void 0,a)};g._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()};
g._createOverlay=function(a){var b=this;if(this._overlayRef){var c=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!a)&&c._origin instanceof ge)return this._overlayRef;this._detach()}c=W2b(this._scrollDispatcher,this._elementRef);a=d3b(gy(hy(h3b(ky(this._overlay.position(),this.positionAtOrigin?a||this._elementRef:this._elementRef),"."+this._cssClassPrefix+"-tooltip"),!1),this._viewportMargin),c);a.positionChanges.pipe(Of(this._destroyed)).subscribe(function(e){b._updateCurrentPositionClass(e.connectionPair);
b._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&b._tooltipInstance.isVisible()&&b._ngZone.run(function(){return b.hide(0)})});this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:a,panelClass:this._cssClassPrefix+"-tooltip-panel",scrollStrategy:this._scrollStrategy()});this._updatePosition(this._overlayRef);this._overlayRef._detachments.pipe(Of(this._destroyed)).subscribe(function(){return b._detach()});this._overlayRef.outsidePointerEvents().pipe(Of(this._destroyed)).subscribe(function(){var e;
return(e=b._tooltipInstance)==null?void 0:e._handleBodyInteraction()});this._overlayRef.keydownEvents().pipe(Of(this._destroyed)).subscribe(function(e){b._isTooltipVisible()&&e.keyCode===27&&!Yh(e)&&(e.preventDefault(),e.stopPropagation(),b._ngZone.run(function(){return b.hide(0)}))});var d;((d=this._defaultOptions)==null?0:d.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(this._cssClassPrefix+"-tooltip-panel-non-interactive");return this._overlayRef};
g._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach();this._tooltipInstance=null};g._updatePosition=function(a){a=a.getConfig().positionStrategy;var b=this._getOrigin(),c=this._getOverlayPosition();fy(a,[this._addOffset(Object.assign({},b.main,c.main)),this._addOffset(Object.assign({},b.fallback,c.fallback))])};
g._addOffset=function(a){var b=!this._dir||this._dir.value=="ltr";a.originY==="top"?a.offsetY=-8:a.originY==="bottom"?a.offsetY=8:a.originX==="start"?a.offsetX=b?-8:8:a.originX==="end"&&(a.offsetX=b?8:-8);return a};
g._getOrigin=function(){var a=!this._dir||this._dir.value=="ltr",b=this.position;if(b=="above"||b=="below")var c={originX:"center",originY:b=="above"?"top":"bottom"};else if(b=="before"||b=="left"&&a||b=="right"&&!a)c={originX:"start",originY:"center"};else if(b=="after"||b=="right"&&a||b=="left"&&!a)c={originX:"end",originY:"center"};a=this._invertPosition(c.originX,c.originY);return{main:c,fallback:{originX:a.x,originY:a.y}}};
g._getOverlayPosition=function(){var a=!this._dir||this._dir.value=="ltr",b=this.position;if(b=="above")var c={overlayX:"center",overlayY:"bottom"};else if(b=="below")c={overlayX:"center",overlayY:"top"};else if(b=="before"||b=="left"&&a||b=="right"&&!a)c={overlayX:"end",overlayY:"center"};else if(b=="after"||b=="right"&&a||b=="left"&&!a)c={overlayX:"start",overlayY:"center"};a=this._invertPosition(c.overlayX,c.overlayY);return{main:c,fallback:{overlayX:a.x,overlayY:a.y}}};
g._updateTooltipMessage=function(){var a=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),Uf(function(){a._tooltipInstance&&a._overlayRef.updatePosition()},{injector:this._injector}))};g._setTooltipClass=function(a){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=a,this._tooltipInstance._markForCheck())};
g._invertPosition=function(a,b){this.position==="above"||this.position==="below"?b==="top"?b="bottom":b==="bottom"&&(b="top"):a==="end"?a="start":a==="start"&&(a="end");return{x:a,y:b}};
g._updateCurrentPositionClass=function(a){var b=a.overlayY,c=a.originX;a=a.originY;b=b==="center"?this._dir&&this._dir.value==="rtl"?c==="end"?"left":"right":c==="start"?"left":"right":b==="bottom"&&a==="top"?"above":"below";if(b!==this._currentPosition){if(c=this._overlayRef)a=this._cssClassPrefix+"-tooltip-panel-",c.removePanelClass(a+this._currentPosition),c.addPanelClass(a+b);this._currentPosition=b}};
g._setupPointerEnterEventsIfNeeded=function(){var a=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(b){a._setupPointerExitEventsIfNeeded();var c=void 0;b.x!==void 0&&b.y!==void 0&&(c=b);a.show(void 0,c)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(b){var c,d=(b=(c=b.targetTouches)==null?void 0:
c[0])?{x:b.clientX,y:b.clientY}:void 0;a._setupPointerExitEventsIfNeeded();a._touchstartTimeout&&clearTimeout(a._touchstartTimeout);var e,f;a._touchstartTimeout=setTimeout(function(){a._touchstartTimeout=null;a.show(void 0,d)},(f=(e=a._defaultOptions)==null?void 0:e.touchLongPressShowDelay)!=null?f:500)}])),this._addListeners(this._passiveListeners))};
g._setupPointerExitEventsIfNeeded=function(){var a=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var b=[];if(this._platformSupportsMouseEvents())b.push(["mouseleave",function(d){d=d.relatedTarget;var e;d&&((e=a._overlayRef)==null?0:e.overlayElement.contains(d))||a.hide()}],["wheel",function(d){return a._wheelListener(d)}]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();var c=function(){a._touchstartTimeout&&clearTimeout(a._touchstartTimeout);
var d;a.hide((d=a._defaultOptions)==null?void 0:d.touchendHideDelay)};b.push(["touchend",c],["touchcancel",c])}this._addListeners(b);this._passiveListeners.push.apply(this._passiveListeners,w(b))}};g._addListeners=function(a){var b=this;a.forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;b._elementRef.nativeElement.addEventListener(c,d,vgc)})};g._platformSupportsMouseEvents=function(){return!this._platform.IOS&&!this._platform.ANDROID};
g._wheelListener=function(a){if(this._isTooltipVisible()){a=this._document.elementFromPoint(a.clientX,a.clientY);var b=this._elementRef.nativeElement;a===b||b.contains(a)||this.hide()}};
g._disableNativeGesturesIfNecessary=function(){var a=this.touchGestures;if(a!=="off"){var b=this._elementRef.nativeElement,c=b.style;if(a==="on"||b.nodeName!=="INPUT"&&b.nodeName!=="TEXTAREA")c.userSelect=c.msUserSelect=c.webkitUserSelect=c.MozUserSelect="none";a!=="on"&&b.draggable||(c.webkitUserDrag="none");c.touchAction="none";c.webkitTapHighlightColor="transparent"}};
g._syncAriaDescription=function(a){var b=this;this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,wx(this._ariaDescriber,this._elementRef.nativeElement,a,"tooltip"),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){b._ariaDescriptionPending=!1;b.message&&!b.disabled&&vx(b._ariaDescriber,b._elementRef.nativeElement,b.message,"tooltip")})}))};
ea.Object.defineProperties(HH.prototype,{position:{configurable:!0,enumerable:!0,get:function(){return this._position},set:function(a){if(a!==this._position&&(this._position=a,this._overlayRef)){this._updatePosition(this._overlayRef);var b;(b=this._tooltipInstance)==null||b.show(0);this._overlayRef.updatePosition()}}},positionAtOrigin:{configurable:!0,enumerable:!0,get:function(){return this._positionAtOrigin},set:function(a){this._positionAtOrigin=$h(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){a=$h(a);this._disabled!==a&&((this._disabled=a)?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=ci(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=ci(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=
this._hideDelay)}},message:{configurable:!0,enumerable:!0,get:function(){return this._message},set:function(a){var b=this._message;this._message=a!=null?String(a).trim():"";!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage());this._syncAriaDescription(b)}},tooltipClass:{configurable:!0,enumerable:!0,get:function(){return this._tooltipClass},set:function(a){this._tooltipClass=a;this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}}});
HH.\u0275fac=function(a){return new (a||HH)};
HH.\u0275dir=ud({type:HH,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&ng("mat-mdc-tooltip-disabled",b.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],
message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});var GH=function(){this._changeDetectorRef=r(rw);this._elementRef=r(ge);this._isVisible=this._closeOnInteraction=this._isMultiline=!1;this._onHide=new Jf;this._showAnimation="mat-mdc-tooltip-show";this._hideAnimation="mat-mdc-tooltip-hide";this._animationsDisabled=r(Zv,{optional:!0})==="NoopAnimations"};g=GH.prototype;
g.show=function(a){var b=this;this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId);this._showTimeoutId=setTimeout(function(){b._toggleVisibility(!0);b._showTimeoutId=void 0},a)};g.hide=function(a){var b=this;this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId);this._hideTimeoutId=setTimeout(function(){b._toggleVisibility(!1);b._hideTimeoutId=void 0},a)};g.afterHidden=function(){return this._onHide};g.isVisible=function(){return this._isVisible};
g.ngOnDestroy=function(){this._cancelPendingAnimations();this._onHide.complete();this._triggerElement=null};g._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)};g._markForCheck=function(){this._changeDetectorRef.markForCheck()};g._handleMouseLeave=function(a){(a=a.relatedTarget)&&this._triggerElement.contains(a)||(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))};g._onShow=function(){this._isMultiline=this._isTooltipMultiline();this._markForCheck()};
g._isTooltipMultiline=function(){var a=this._elementRef.nativeElement.getBoundingClientRect();return a.height>24&&a.width>=200};g._handleAnimationEnd=function(a){a=a.animationName;a!==this._showAnimation&&a!==this._hideAnimation||this._finalizeAnimation(a===this._showAnimation)};g._cancelPendingAnimations=function(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId);this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId);this._showTimeoutId=this._hideTimeoutId=void 0};
g._finalizeAnimation=function(a){a?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()};
g._toggleVisibility=function(a){var b=this._tooltip.nativeElement,c=this._showAnimation,d=this._hideAnimation;b.classList.remove(a?d:c);b.classList.add(a?c:d);this._isVisible!==a&&(this._isVisible=a,this._changeDetectorRef.markForCheck());a&&!this._animationsDisabled&&typeof getComputedStyle==="function"&&(c=getComputedStyle(b),c.getPropertyValue("animation-duration")==="0s"||c.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0);a&&this._onShow();this._animationsDisabled&&
(b.classList.add("_mat-animation-noopable"),this._finalizeAnimation(a))};GH.\u0275fac=function(a){return new (a||GH)};
GH.\u0275cmp=t({type:GH,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&Mg(rgc,7);if(a&2){var c;Qg(c=Rg())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(a,b){a&1&&M("mouseleave",function(c){return b._handleMouseLeave(c)})},standalone:!0,features:[$g],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(a,b){if(a&1){var c=x();I(0,
"div",1,0);M("animationend",function(d){z(c);return A(b._handleAnimationEnd(d))});I(2,"div",2);Q(3);J()()}a&2&&(ng("mdc-tooltip--multiline",b._isMultiline),F("ngClass",b.tooltipClass),C(3),Tg(b.message))},dependencies:[Ew],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-app-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-app-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-app-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-app-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-app-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-app-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-app-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}\n'],
encapsulation:2,changeDetection:0});var wgc=["button"],IH=function(){this.color="primary";this.format="hairline";this.disabled=!1;this.size="medium";this.onAction=new rG};IH.prototype.onClick=function(a){this.onAction.emit(a)};IH.prototype.focus=function(){this.nativeButton.focus()};IH.\u0275fac=function(a){return new (a||IH)};
IH.\u0275cmp=t({type:IH,selectors:[["b-button"]],viewQuery:function(a,b){a&1&&Mg(wgc,5);if(a&2){var c;Qg(c=Rg())&&(b.nativeButton=c.first)}},inputs:{color:"color",format:"format",disabled:"disabled",size:"size",bAriaLabel:"bAriaLabel",bAriaExpanded:"bAriaExpanded",tooltip:"tooltip"},outputs:{onAction:"onAction"},ngContentSelectors:["*"],decls:7,vars:1,consts:[["buttonContent",""],["button",""],["type","button","mat-stroked-button","",3,"color","disabled","ngClass","matTooltip"],["type","button","mat-button",
"",3,"color","disabled","ngClass","matTooltip"],["type","button","mat-flat-button","",3,"color","disabled","ngClass","matTooltip"],["type","button","mat-icon-button","",3,"color","disabled","ngClass","matTooltip"],["type","button","mat-stroked-button","",3,"click","color","disabled","ngClass","matTooltip"],[4,"ngTemplateOutlet"],["type","button","mat-button","",3,"click","color","disabled","ngClass","matTooltip"],["type","button","mat-flat-button","",3,"click","color","disabled","ngClass","matTooltip"],
["type","button","mat-icon-button","",3,"click","color","disabled","ngClass","matTooltip"]],template:function(a,b){a&1&&(Dg(),D(0,fFa,1,0,"ng-template",null,0,fh)(2,hFa,3,7,"button",2)(3,jFa,3,7,"button",3)(4,lFa,3,7,"button",4)(5,nFa,3,7,"button",5)(6,pFa,3,7,"button",2));if(a&2){var c;C(2);G((c=b.format)==="hairline"?2:c==="flat"?3:c==="fill"?4:c==="icon"?5:6)}},dependencies:[vD,Vy,Xy,FH,HH,Ew,Hw],encapsulation:2,changeDetection:0});var JH=function(){};JH.\u0275fac=function(a){return new (a||JH)};JH.\u0275mod=u({type:JH});JH.\u0275inj=p({providers:[{provide:X3b,useValue:{color:"primary"}}],imports:[Zy]});var KH=function(){};KH.\u0275fac=function(a){return new (a||KH)};KH.\u0275mod=u({type:KH});KH.\u0275inj=p({providers:[tgc],imports:[tx,Qw,xy,yy,yy,Zx]});var LH=function(){};LH.\u0275fac=function(a){return new (a||LH)};LH.\u0275mod=u({type:LH});LH.\u0275inj=p({imports:[KH]});var MH=function(){};MH.\u0275fac=function(a){return new (a||MH)};MH.\u0275mod=u({type:MH});MH.\u0275inj=p({imports:[JH,LH,RE]});var xgc=new Bd("GMAT_SLIDE_TOGGLE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var NH=function(a){this.options=a};NH.\u0275fac=function(a){return new (a||NH)(af(xgc))};NH.\u0275dir=ud({type:NH,selectors:[["mat-slide-toggle"]],hostVars:2,hostBindings:function(a,b){a&2&&ng("gmat-mdc-slide-toggle",!b.options.disableGmatStyle)}});var ygc=new Bd("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1}}});var zgc=["switch"],Agc={provide:mz,useExisting:id(function(){return OH}),multi:!0},Bgc=function(a,b){this.source=a;this.checked=b},Cgc=0,OH=function(){this._elementRef=r(ge);this._focusMonitor=r(ax);this._changeDetectorRef=r(rw);this.defaults=r(ygc);this._onChange=function(){};this._onTouched=function(){};this._validatorOnChange=function(){};this._checked=!1;this.name=null;this.labelPosition="after";this.ariaLabelledby=this.ariaLabel=null;this.disableRipple=this.disabled=!1;this.tabIndex=0;this.change=
new kw;this.toggleChange=new kw;r(Yw).load(Fy);var a=r(new Vv("tabindex"),{optional:!0}),b=this.defaults,c=r(Zv,{optional:!0});this.tabIndex=a==null?0:parseInt(a)||0;this.color=b.color||"accent";this._noopAnimations=c==="NoopAnimations";this.id=this._uniqueId="mat-mdc-slide-toggle-"+ ++Cgc;var d;this.hideIcon=(d=b.hideIcon)!=null?d:!1;var e;this.disabledInteractive=(e=b.disabledInteractive)!=null?e:!1;this._labelId=this._uniqueId+"-label"};g=OH.prototype;
g._createChangeEvent=function(a){return new Bgc(this,a)};g.focus=function(){this._switchElement.nativeElement.focus()};g.ngAfterContentInit=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b==="keyboard"||b==="program"?(a._focused=!0,a._changeDetectorRef.markForCheck()):b||Promise.resolve().then(function(){a._focused=!1;a._onTouched();a._changeDetectorRef.markForCheck()})})};g.ngOnChanges=function(a){a.required&&this._validatorOnChange()};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};
g.writeValue=function(a){this.checked=!!a};g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};g.validate=function(a){return this.required&&a.value!==!0?{required:!0}:null};g.registerOnValidatorChange=function(a){this._validatorOnChange=a};g.setDisabledState=function(a){this.disabled=a;this._changeDetectorRef.markForCheck()};g.toggle=function(){this.checked=!this.checked;this._onChange(this.checked)};
g._emitChangeEvent=function(){this._onChange(this.checked);this.change.emit(this._createChangeEvent(this.checked))};g._handleClick=function(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new Bgc(this,this.checked))))};g._getAriaLabelledBy=function(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId};
ea.Object.defineProperties(OH.prototype,{buttonId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-button"}},checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){this._checked=a;this._changeDetectorRef.markForCheck()}},inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-input"}}});OH.\u0275fac=function(a){return new (a||OH)};
OH.\u0275cmp=t({type:OH,selectors:[["mat-slide-toggle"]],viewQuery:function(a,b){a&1&&Mg(zgc,5);if(a&2){var c;Qg(c=Rg())&&(b._switchElement=c.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(a,b){a&2&&(yg("id",b.id),eg("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),og(b.color?"mat-"+b.color:""),ng("mat-mdc-slide-toggle-focused",b._focused)("mat-mdc-slide-toggle-checked",b.checked)("_mat-animation-noopable",b._noopAnimations))},inputs:{name:"name",
id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",rh],color:"color",disabled:[2,"disabled","disabled",rh],disableRipple:[2,"disableRipple","disableRipple",rh],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:sh(a)}],checked:[2,"checked","checked",rh],hideIcon:[2,"hideIcon","hideIcon",rh],disabledInteractive:[2,"disabledInteractive",
"disabledInteractive",rh]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[Yg([Agc,{provide:nz,useExisting:OH,multi:!0}]),dg,Hd,$g],ngContentSelectors:["*"],decls:13,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],
[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(a,
b){if(a&1){var c=x();Dg();I(0,"div",1)(1,"button",2,0);M("click",function(){z(c);return A(b._handleClick())});K(3,"span",3);I(4,"span",4)(5,"span",5)(6,"span",6);K(7,"span",7);J();I(8,"span",8);K(9,"span",9);J();D(10,qFa,5,0,"span",10);J()()();I(11,"label",11);M("click",function(d){z(c);return A(d.stopPropagation())});Eg(12);J()()}a&2&&(a=L(2),F("labelPosition",b.labelPosition),C(),ng("mdc-switch--selected",b.checked)("mdc-switch--unselected",!b.checked)("mdc-switch--checked",b.checked)("mdc-switch--disabled",
b.disabled)("mat-mdc-slide-toggle-disabled-interactive",b.disabledInteractive),F("tabIndex",b.disabled&&!b.disabledInteractive?-1:b.tabIndex)("disabled",b.disabled&&!b.disabledInteractive),eg("id",b.buttonId)("name",b.name)("aria-label",b.ariaLabel)("aria-labelledby",b._getAriaLabelledBy())("aria-describedby",b.ariaDescribedby)("aria-required",b.required||null)("aria-checked",b.checked)("aria-disabled",b.disabled&&b.disabledInteractive?"true":null),C(8),F("matRippleTrigger",a)("matRippleDisabled",
b.disableRipple||b.disabled)("matRippleCentered",!0),C(),G(b.hideIcon?-1:10),C(),F("for",b.buttonId),eg("id",b._labelId))},dependencies:[Ky,Gy],styles:['.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;width:var(--mdc-switch-track-width, 52px)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mdc-switch-track-height, 32px);border-radius:var(--mdc-switch-track-shape, var(--mat-app-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-switch-track-outline-width, 2px);border-color:var(--mat-switch-track-outline-color, var(--mat-app-outline))}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-switch-selected-track-outline-width, 2px);border-color:var(--mat-switch-selected-track-outline-color, transparent)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-switch-disabled-unselected-track-outline-width, 2px);border-color:var(--mat-switch-disabled-unselected-track-outline-color, var(--mat-app-on-surface))}@media(forced-colors: active){.mdc-switch__track{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mdc-switch-unselected-track-color, var(--mat-app-surface-variant))}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity, 0);transition:var(--mat-switch-hidden-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity, 1);transition:var(--mat-switch-visible-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, var(--mat-app-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, var(--mat-app-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, var(--mat-app-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, var(--mat-app-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mdc-switch-selected-track-color, var(--mat-app-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity, 1);transition:var(--mat-switch-visible-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity, 0);transition:var(--mat-switch-hidden-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, var(--mat-app-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, var(--mat-app-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, var(--mat-app-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, var(--mat-app-on-surface))}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mdc-switch-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mdc-switch-handle-width);height:var(--mdc-switch-handle-height);border-radius:var(--mdc-switch-handle-shape, var(--mat-app-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size, 16px);height:var(--mat-switch-unselected-handle-size, 16px);margin:var(--mat-switch-unselected-handle-horizontal-margin, 0 8px)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin, 0 4px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size, 24px);height:var(--mat-switch-selected-handle-size, 24px);margin:var(--mat-switch-selected-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size, 24px);height:var(--mat-switch-with-icon-handle-size, 24px)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size, 28px);height:var(--mat-switch-pressed-handle-size, 28px)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin, 0 22px)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin, 0 2px)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity, 1)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity, 0.38)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media(forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mat-app-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, var(--mat-app-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, var(--mat-app-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, var(--mat-app-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, var(--mat-app-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, var(--mat-app-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, var(--mat-app-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, var(--mat-app-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, var(--mat-app-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, var(--mat-app-on-surface))}.mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mdc-switch-state-layer-size, 40px);height:var(--mdc-switch-state-layer-size, 40px)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-pressed-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-selected-hover-state-layer-color, var(--mat-app-primary))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-selected-focus-state-layer-color, var(--mat-app-primary))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-selected-pressed-state-layer-color, var(--mat-app-primary));opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 16px);height:var(--mdc-switch-unselected-icon-size, 16px);fill:var(--mdc-switch-unselected-icon-color, var(--mat-app-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mat-app-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 16px);height:var(--mdc-switch-selected-icon-size, 16px);fill:var(--mdc-switch-selected-icon-color, var(--mat-app-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mat-app-on-surface))}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{-webkit-user-select:none;user-select:none;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-switch-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-switch-label-text-font, var(--mat-app-body-medium-font));line-height:var(--mat-switch-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-switch-label-text-size, var(--mat-app-body-medium-size));letter-spacing:var(--mat-switch-label-text-tracking, var(--mat-app-body-medium-tracking));font-weight:var(--mat-switch-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}\n'],
encapsulation:2,changeDetection:0});var PH=function(){};PH.\u0275fac=function(a){return new (a||PH)};PH.\u0275mod=u({type:PH});PH.\u0275inj=p({imports:[OH,yy,yy]});var QH=function(){};QH.\u0275fac=function(a){return new (a||QH)};QH.\u0275mod=u({type:QH});QH.\u0275inj=p({providers:[{provide:ygc,useValue:{color:"primary"}}],imports:[PH]});var Dgc=0,RH=function(){this.id="b-slide-toggle-"+ ++Dgc;this.ariaLabel=this.label="";this.labelPosition="before";this.model=!1;this.tooltip=void 0;this.disabled=!1;this.modelChange=new rG};RH.\u0275fac=function(a){return new (a||RH)};
RH.\u0275cmp=t({type:RH,selectors:[["b-slide-toggle"]],hostAttrs:[1,"vertical-centered"],inputs:{id:"id",label:"label",ariaLabel:[0,"aria-label","ariaLabel"],labelPosition:"labelPosition",model:"model",tooltip:"tooltip",disabled:"disabled"},outputs:{modelChange:"modelChange"},decls:2,vars:7,consts:[[3,"change","id","disabled","checked","aria-label","matTooltip","labelPosition"]],template:function(a,b){a&1&&(I(0,"mat-slide-toggle",0),M("change",function(d){b.model=d.checked;b.modelChange.emit(d.checked)}),
Q(1),J());if(a&2){var c;F("id",b.id)("disabled",b.disabled)("checked",b.model)("aria-label",b.ariaLabel||b.label)("matTooltip",(c=b.tooltip)!==null&&c!==void 0?c:"")("labelPosition",b.label?b.labelPosition:"after");C();Tg(b.label)}},dependencies:[NH,OH,FH,HH],styles:["mat-slide-toggle[_ngcontent-%COMP%] { vertical-align: middle; }"],changeDetection:0});var SH=function(){};SH.\u0275fac=function(a){return new (a||SH)};SH.\u0275mod=u({type:SH});SH.\u0275inj=p({imports:[QH,LH]});/*

 Copyright 2016 Craig Campbell

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.

 Mousetrap is a simple keyboard shortcut library for Javascript with
 no external dependencies

 @version 1.6.0
 @url craig.is/killing/mice
*/
(function(a,b,c){function d(N,T,da){N.addEventListener?N.addEventListener(T,da,!1):N.attachEvent("on"+T,da)}function e(N){if("keypress"==N.type){var T=String.fromCharCode(N.which);N.shiftKey||(T=T.toLowerCase());return T}return v[N.which]?v[N.which]:y[N.which]?y[N.which]:String.fromCharCode(N.which).toLowerCase()}function f(N){return"shift"==N||"ctrl"==N||"alt"==N||"meta"==N}function h(N,T){var da,ja=[];"+"===N?N=["+"]:(N=N.replace(/\+{2}/g,"+plus"),N=N.split("+"));for(da=0;da<N.length;++da){var na=
N[da];H[na]&&(na=H[na]);T&&"keypress"!=T&&E[na]&&(na=E[na],ja.push("shift"));f(na)&&ja.push(na)}N=na;da=T;if(!da){if(!O){O={};for(var Ia in v)95<Ia&&112>Ia||v.hasOwnProperty(Ia)&&(O[v[Ia]]=Ia)}da=O[N]?"keydown":"keypress"}"keypress"==da&&ja.length&&(da="keydown");return{key:na,modifiers:ja,action:da}}function l(N,T){return null===N||N===b?!1:N===T?!0:l(N.parentNode,T)}function q(N){function T(qb){qb=qb||{};var dc=!1,fc;for(fc in bb)qb[fc]?dc=!0:bb[fc]=0;dc||(zb=!1)}function da(qb,dc,fc,qc,Zb,Ae){var eb,
Cb,Qa=[],Ub=fc.type;if(!Na._callbacks[qb])return[];"keyup"==Ub&&f(qb)&&(dc=[qb]);for(eb=0;eb<Na._callbacks[qb].length;++eb)if(Cb=Na._callbacks[qb][eb],(qc||!Cb.seq||bb[Cb.seq]==Cb.level)&&Ub==Cb.action){var kc;(kc="keypress"==Ub&&!fc.metaKey&&!fc.ctrlKey)||(kc=Cb.modifiers,kc=dc.sort().join(",")===kc.sort().join(","));kc&&(kc=qc&&Cb.seq==qc&&Cb.level==Ae,(!qc&&Cb.combo==Zb||kc)&&Na._callbacks[qb].splice(eb,1),Qa.push(Cb))}return Qa}function ja(qb,dc,fc,qc){Na.stopCallback(dc,dc.target||dc.srcElement,
fc,qc)||!1!==qb(dc,fc)||(dc.preventDefault?dc.preventDefault():dc.returnValue=!1,dc.stopPropagation?dc.stopPropagation():dc.cancelBubble=!0)}function na(qb){"number"!==typeof qb.which&&(qb.which=qb.keyCode);var dc=e(qb);if(dc)if("keyup"==qb.type&&Da===dc)Da=!1;else{var fc=Na,qc=fc.handleKey,Zb=[];qb.shiftKey&&Zb.push("shift");qb.altKey&&Zb.push("alt");qb.ctrlKey&&Zb.push("ctrl");qb.metaKey&&Zb.push("meta");qc.call(fc,dc,Zb,qb)}}function Ia(qb,dc,fc,qc){function Zb(Qa){return function(){zb=Qa;++bb[qb];
clearTimeout(ma);ma=setTimeout(T,1E3)}}function Ae(Qa){ja(fc,Qa,qb);"keyup"!==qc&&(Da=e(Qa));setTimeout(T,10)}for(var eb=bb[qb]=0;eb<dc.length;++eb){var Cb=eb+1===dc.length?Ae:Zb(qc||h(dc[eb+1]).action);Pa(dc[eb],Cb,qc,qb,eb)}}function Pa(qb,dc,fc,qc,Zb){Na._directMap[qb+":"+fc]=dc;qb=qb.replace(/\s+/g," ");var Ae=qb.split(" ");1<Ae.length?Ia(qb,Ae,dc,fc):(fc=h(qb,fc),Na._callbacks[fc.key]=Na._callbacks[fc.key]||[],da(fc.key,fc.modifiers,{type:fc.action},qc,qb,Zb),Na._callbacks[fc.key][qc?"unshift":
"push"]({callback:dc,modifiers:fc.modifiers,action:fc.action,seq:qc,level:Zb,combo:qb}))}var Na=this;N=N||b;if(!(Na instanceof q))return new q(N);Na.target=N;Na._callbacks={};Na._directMap={};var bb={},ma,Da=!1,Ea=!1,zb=!1;Na._handleKey=function(qb,dc,fc){var qc=da(qb,dc,fc),Zb;dc={};var Ae=0,eb=!1;for(Zb=0;Zb<qc.length;++Zb)qc[Zb].seq&&(Ae=Math.max(Ae,qc[Zb].level));for(Zb=0;Zb<qc.length;++Zb)qc[Zb].seq?qc[Zb].level==Ae&&(eb=!0,dc[qc[Zb].seq]=1,ja(qc[Zb].callback,fc,qc[Zb].combo,qc[Zb].seq)):eb||
ja(qc[Zb].callback,fc,qc[Zb].combo);qc="keypress"==fc.type&&Ea;fc.type!=zb||f(qb)||qc||T(dc);Ea=eb&&"keydown"==fc.type};Na._bindMultiple=function(qb,dc,fc){for(var qc=0;qc<qb.length;++qc)Pa(qb[qc],dc,fc)};d(N,"keypress",na);d(N,"keydown",na);d(N,"keyup",na)}if(a){var v={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},
y={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},E={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},H={option:"alt",command:"meta","return":"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},O;for(c=1;20>c;++c)v[111+c]="f"+c;for(c=0;9>=c;++c)v[c+96]=c;q.prototype.bind=
function(N,T,da){N=N instanceof Array?N:[N];this._bindMultiple.call(this,N,T,da);return this};q.prototype.unbind=function(N,T){return this.bind.call(this,N,function(){},T)};q.prototype.trigger=function(N,T){if(this._directMap[N+":"+T])this._directMap[N+":"+T]({},N);return this};q.prototype.reset=function(){this._callbacks={};this._directMap={};return this};q.prototype.stopCallback=function(N,T){return-1<(" "+T.className+" ").indexOf(" mousetrap ")||l(T,this.target)?!1:"INPUT"==T.tagName||"SELECT"==
T.tagName||"TEXTAREA"==T.tagName||T.isContentEditable};q.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)};q.addKeycodes=function(N){for(var T in N)N.hasOwnProperty(T)&&(v[T]=N[T]);O=null};q.init=function(){var N=q(b),T;for(T in N)"_"!==T.charAt(0)&&(q[T]=function(da){return function(){return N[da].apply(N,arguments)}}(T))};q.init();a.Mousetrap=q;"undefined"!==typeof module&&module.exports&&(module.exports=q);"function"===typeof define&&define.amd&&define(function(){return q})}})("undefined"!==
typeof window?window:null,"undefined"!==typeof window?document:null);var bp=function(a,b){this.char=a;this.modifiers=b};/*

 The MIT License (MIT)

 Copyright (c) 2016 Nick Richardson

 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:

 The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.

 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.
*/
var Egc=function(a,b,c,d,e,f){this.combo=a;this.callback=b;this.allowIn=c;this.description=d;this.action=e;this.persistent=f;this.combo=Array.isArray(a)?a:[a];this.allowIn=c||[];this.description=d||""};
ea.Object.defineProperties(Egc.prototype,{formatted:{configurable:!0,enumerable:!0,get:function(){if(!this._formatted){for(var a=this.combo[0].split(/[\s]/),b=0;b<a.length;b++){for(var c=b,d={command:"\u2318",shift:"\u21e7",left:"\u2190",right:"\u2192",up:"\u2191",down:"\u2193","return":"\u23ce",backspace:"\u232b"},e=a[b].split("+"),f=0;f<e.length;f++)e[f]==="mod"&&(window.navigator&&window.navigator.platform.indexOf("Mac")>=0?e[f]="command":e[f]="ctrl"),e[f]=d[e[f]]||e[f];a[c]=e.join(" + ")}this._formatted=
a}return this._formatted}}});var Fgc=new Bd("HotkeyOptions");var TH=function(a){this.options=a;this.hotkeys=[];this.pausedHotkeys=[];this.cheatSheetToggle=new Jf;this.preventIn=["INPUT","SELECT","TEXTAREA"];Mousetrap.prototype.stopCallback=function(b,c){return(" "+c.className+" ").indexOf(" mousetrap ")>-1?!1:c.contentEditable&&c.contentEditable==="true"};this.mousetrap=new Mousetrap;this.options.disableCheatSheet||this.add(new Egc(this.options.cheatSheetHotkey||"?",function(){this.cheatSheetToggle.next()}.bind(this),[],this.options.cheatSheetDescription||
"Show / hide this help menu"));this.options.cheatSheetCloseEsc&&this.add(new Egc("esc",function(){this.cheatSheetToggle.next(!1)}.bind(this),["HOTKEYS-CHEATSHEET"],this.options.cheatSheetCloseEscDescription||"Hide this help menu"))};g=TH.prototype;
g.add=function(a,b){var c=this;if(Array.isArray(a)){for(var d=[],e=k(a),f=e.next();!f.done;f=e.next())d.push(this.add(f.value,b));return d}this.remove(a);this.hotkeys.push(a);this.mousetrap.bind(a.combo,function(h,l){var q=!0;if(h){var v=h.target,y=v.nodeName.toUpperCase();(" "+v.className+" ").indexOf(" mousetrap ")>-1?q=!0:c.preventIn.indexOf(y)>-1&&a.allowIn.map(function(E){return E.toUpperCase()}).indexOf(y)===-1&&(q=!1)}if(q)return a.callback.apply(c,[h,l])},b);return a};
g.remove=function(a){var b=[];if(!a){a=k(this.hotkeys);for(var c=a.next();!c.done;c=a.next())b.push(this.remove(c.value));return b}if(Array.isArray(a)){a=k(a);for(c=a.next();!c.done;c=a.next())b.push(this.remove(c.value));return b}b=this.hotkeys.indexOf(a);return b>-1?(this.hotkeys.splice(b,1),this.mousetrap.unbind(a.combo),a):null};
g.get=function(a){if(!a)return this.hotkeys;if(Array.isArray(a)){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())b.push(this.get(c.value));return b}for(b=0;b<this.hotkeys.length;b++)if(this.hotkeys[b].combo.indexOf(a)>-1)return this.hotkeys[b];return null};g.pause=function(a){if(!a)return this.pause(this.hotkeys);if(Array.isArray(a)){var b=[];a=k(a.slice());for(var c=a.next();!c.done;c=a.next())b.push(this.pause(c.value));return b}this.remove(a);this.pausedHotkeys.push(a);return a};
g.unpause=function(a){if(!a)return this.unpause(this.pausedHotkeys);if(Array.isArray(a)){var b=[];a=k(a.slice());for(var c=a.next();!c.done;c=a.next())b.push(this.unpause(c.value));return b}b=this.pausedHotkeys.indexOf(a);return b>-1?(this.add(a),this.pausedHotkeys.splice(b,1)):null};g.reset=function(){this.mousetrap.reset()};TH.\u0275fac=function(a){return new (a||TH)(md(Fgc))};TH.\u0275prov=n({token:TH,factory:TH.\u0275fac});var UH=function(){};UH.\u0275fac=function(a){return new (a||UH)};UH.\u0275mod=u({type:UH});UH.\u0275inj=p({imports:[Qw]});var Ggc;var Hgc="combobox grid group listbox menu menubar radiogroup row rowgroup tablist textbox toolbar tree treegrid".split(" "),VH=function(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")},WH=function(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;c===""||c==void 0?(Ggc||(c={},Ggc=(c.atomic=!1,c.autocomplete="none",c.dropeffect="none",c.haspopup=!1,c.live="off",c.multiline=!1,c.multiselectable=!1,c.orientation="vertical",c.readonly=!1,c.relevant="additions text",c.required=!1,c.sort=
"none",c.busy=!1,c.disabled=!1,c.hidden=!1,c.invalid="false",c)),c=Ggc,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)},Igc=function(a,b){a=a.getAttribute("aria-"+b);return a==null||a==void 0?"":String(a)},XH=function(a,b){var c="";b&&(c=b.id);WH(a,"activedescendant",c)},Jgc=function(a,b){WH(a,"label",b)};var YH=function(){var a=r(vG),b=r(yH);Z.call(this);var c=this;this.rawHotkeysService=r(TH);this.ngZone=r(hh);this.enabled=!0;this.paused=!1;this.hotkeyGroups=new Map;this.stopCallback=function(d,e){if(!c.enabled||c.paused)e=!0;else if((" "+e.className+" ").indexOf(" mousetrap ")>-1||e.classList.contains("has-hotkey"))e=!1;else{if(d=e.getAttribute)d=e.getAttribute("role")||null,d=Oa(Hgc,d);e=d||e.contentEditable==="true"||e.tagName==="INPUT"&&e.type==="text"||e.tagName==="SELECT"||e.tagName==="TEXTAREA"||
Kgc(e)?!0:!1}return e};b.keyboardPrefs$.pipe(Of(this.destroyed$)).subscribe(function(d){d&&(c.enabled=!!d.enableAllHotkeys)});a.routeChangeStart.pipe(Of(this.destroyed$)).subscribe(function(){c.unpause()});this.rawHotkeysService.mousetrap.stopCallback=this.stopCallback;this.destroyed$.subscribe(function(){Lgc(c)})};Y(YH,Z);YH.\u0275dir=Z.\u0275dir;YH.prototype.isEnabled=function(){return this.enabled};YH.prototype.isPaused=function(){return this.paused};
var ZH=function(a,b){var c=b.title;var d=b.hotkeys;var e;b=(e=a.hotkeyGroups.get(c))!=null?e:[];a.hotkeyGroups.set(c,[].concat(w(b),w(d)));Mgc(a);return function(){var f=new Set(d.map(function(q){return q.onPress})),h,l=((h=a.hotkeyGroups.get(c))!=null?h:[]).filter(function(q){return!f.has(q.onPress)});l.length?a.hotkeyGroups.set(c,l):a.hotkeyGroups.delete(c);Mgc(a)}},Lgc=function(a){var b=[].concat(w(a.rawHotkeysService.hotkeys));b=k(b);for(var c=b.next();!c.done;c=b.next())a.rawHotkeysService.remove(c.value);
a.rawHotkeysService.reset()},Mgc=function(a){Lgc(a);for(var b=k(a.hotkeyGroups.values()),c=b.next();!c.done;c=b.next()){c=Ngc(a,c.value);c=k(c);for(var d=c.next(),e={};!d.done;e={binding$jscomp$1:void 0},d=c.next())e.binding$jscomp$1=d.value,d=new Egc(vFa(e.binding$jscomp$1.key),function(f){return function(h){a.ngZone.run(function(){f.binding$jscomp$1.command()});h.stopPropagation();return!1}}(e),e.binding$jscomp$1.allowIn),a.rawHotkeysService.add(d)}},Kgc=function(a){return[].concat(w(document.getElementsByClassName("cdk-overlay-pane"))).filter(function(b){return b.style.position===
"static"}).some(function(b){return b.contains(a)})},Ngc=function(a,b){var c=[];b=k(b);for(var d=b.next(),e={};!d.done;e={hotkeySpec:void 0},d=b.next()){e.hotkeySpec=d.value;d=k(e.hotkeySpec.keys.entries());for(var f=d.next(),h={};!f.done;h={index$jscomp$4359:void 0},f=d.next()){var l=k(f.value);f=l.next().value;l=l.next().value;h.index$jscomp$4359=f;c.push(new Ogc(l,function(q,v){return function(){a.ngZone.run(function(){q.hotkeySpec.onPress(v.index$jscomp$4359)})}}(e,h),e.hotkeySpec.allowIn))}}Lba(c,
function(q,v){return q.strokeLength>v.strokeLength?-1:q.strokeLength<v.strokeLength?1:0});return c};YH.prototype.pause=function(){this.paused=!0};YH.prototype.unpause=function(){this.paused=!1};var Pgc=function(a){return[].concat(w(a.hotkeyGroups.entries())).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;return{title:b,hotkeys:Qk(c,wFa)}})};YH.\u0275fac=function(a){return new (a||YH)};YH.\u0275prov=n({token:YH,factory:YH.\u0275fac,providedIn:"root"});
var Ogc=function(a,b,c){c=c===void 0?[]:c;this.key=a;this.command=b;this.allowIn=c;a instanceof Array&&(this.strokeLength=a.length);this.strokeLength=1};var $H=function(){Z.apply(this,arguments);this.hotkeys=r(YH);this.tooltip=r(HH,{optional:!0});this.hotkeyEnabled=!0;this.onHotkey=new rG};Y($H,Z);$H.prototype.ngOnChanges=function(a){if("matTooltip"in a&&this.tooltip&&this.hotkeyEnabled&&this.hotkey){var b;a=(b=this.hotkey.displayAs)!=null?b:this.hotkey.keys.join("+");this.tooltip.message=this.matTooltip+" (Shortcut: "+a+")"}};
$H.prototype.ngOnInit=function(){var a=this;this.hotkey&&this.hotkeyEnabled&&this.subscriptions.add(ZH(this.hotkeys,{title:this.hotkey.category,hotkeys:[Object.assign({},this.hotkey,{onPress:function(b){a.onHotkey.next(b)}})]}))};$H.\u0275fac=function(){var a;return function(b){return(a||(a=de($H)))(b||$H)}}();
$H.\u0275dir=ud({type:$H,selectors:[["","hotkey",""]],hostVars:2,hostBindings:function(a,b){a&2&&ng("has-hotkey",b.hotkey)},inputs:{hotkey:"hotkey",hotkeyEnabled:"hotkeyEnabled",matTooltip:"matTooltip"},outputs:{onHotkey:"onHotkey"},features:[cg,Hd]});var Qgc={category:"Edit Issue Page",keys:[cp("r")],displayAs:"Shift+r",description:"Refresh"},Rgc={category:"Issue List",keys:["u",cp("r")],displayAs:"u / Shift+r",description:"Refresh search results"},ep={ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE:{category:"Edit Issue Page",keys:[cp("a")],displayAs:"Shift+a",description:"Assign issue to the default assignee for this component"},CHANGE_ASSIGNEE:{category:"Edit Issue Page",keys:["a"],displayAs:"a",description:"Change assignee"},CHANGE_ISSUE_PRIORITY_TO_P0:{category:"Issue Priority Picker",
keys:["0"],displayAs:"p - 0",description:"Mark issue as priority P0"},CHANGE_ISSUE_PRIORITY_TO_P1:{category:"Issue Priority Picker",keys:["1"],displayAs:"p - 1",description:"Mark issue as priority P1"},CHANGE_ISSUE_PRIORITY_TO_P2:{category:"Issue Priority Picker",keys:["2"],displayAs:"p - 2",description:"Mark issue as priority P2"},CHANGE_ISSUE_PRIORITY_TO_P3:{category:"Issue Priority Picker",keys:["3"],displayAs:"p - 3",description:"Mark issue as priority P3"},CHANGE_ISSUE_PRIORITY_TO_P4:{category:"Issue Priority Picker",
keys:["4"],displayAs:"p - 4",description:"Mark issue as priority P4"},CHANGE_ISSUE_STATUS_TO_ACCEPTED:{category:"Issue Status Picker",keys:["p"],displayAs:"t - p",description:'Change issue status to "In progress (Accepted)"'},CHANGE_ISSUE_STATUS_TO_ASSIGNED:{category:"Issue Status Picker",keys:["a"],displayAs:"t - a",description:'Change issue status to "Assigned"'},CHANGE_ISSUE_STATUS_TO_DUPLICATE:{category:"Issue Status Picker",keys:["d"],displayAs:"t - d",description:'Change issue status to "Duplicate"'},
CHANGE_ISSUE_STATUS_TO_FIXED:{category:"Issue Status Picker",keys:["f"],displayAs:"t - f",description:'Change issue status "Fixed"'},CHANGE_ISSUE_STATUS_TO_INFEASIBLE:{category:"Issue Status Picker",keys:["i"],displayAs:"t - i",description:'Change issue status to "Won\'t fix (Infeasible)"'},CHANGE_ISSUE_STATUS_TO_INTENDED_BEHAVIOR:{category:"Issue Status Picker",keys:["w"],displayAs:"t - w",description:'Change issue status to "Won\'t fix (Intended behavior)"'},CHANGE_ISSUE_STATUS_TO_NEW:{category:"Issue Status Picker",
keys:["n"],displayAs:"t - n",description:'Change issue status to "New"'},CHANGE_ISSUE_STATUS_TO_NOT_REPRODUCIBLE:{category:"Issue Status Picker",keys:["r"],displayAs:"t - r",description:'Change issue status to "Won\'t fix (Not reproducible)"'},CHANGE_ISSUE_STATUS_TO_OBSOLETE:{category:"Issue Status Picker",keys:["o"],displayAs:"t - o",description:'Change issue status to "Won\'t fix (Obsolete)"'},CHANGE_ISSUE_STATUS_TO_VERIFIED:{category:"Issue Status Picker",keys:["v"],displayAs:"t - v",description:'Change issue status to "Fixed (Verified)"'},
COPY_ISSUE_EMAIL_ADDRESS:{category:"Issue Id Picker",keys:["e"],displayAs:"i - e",description:"Copy issue email address",allowIn:["input"]},COPY_ISSUE_ID:{category:"Issue Id Picker",keys:["d"],displayAs:"i - d",description:"Copy issue ID",allowIn:["input"]},COPY_ISSUE_SHORTLINK:{category:"Issue Id Picker",keys:["l"],displayAs:"i - l",description:"Copy issue shortlink",allowIn:["input"]},COPY_ISSUE_TITLE:{category:"Issue Id Picker",keys:["t"],displayAs:"i - t",description:"Copy issue url and title",
allowIn:["input"]},COPY_ISSUE_TODO:{category:"Issue Id Picker",keys:["o"],displayAs:"i - o",description:"Copy issue TODO comment",allowIn:["input"]},COPY_ISSUE_URL:{category:"Issue Id Picker",keys:["u"],displayAs:"i - u",description:"Copy issue url",allowIn:["input"]},FOCUS_COMMENT_BOX:{category:"Edit Issue Page",keys:["r"],displayAs:"r",description:"Focus the comment box"},GO_TO_NEXT_ISSUE:{category:"Edit Issue Page",keys:["j"],displayAs:"j",description:"Move to the next issue"},GO_TO_PREVIOUS_ISSUE:{category:"Edit Issue Page",
keys:["k"],displayAs:"k",description:"Move to the previous issue"},GO_UP_TO_LIST:{category:"Edit Issue Page",keys:["u"],displayAs:"u",description:"Up to issue list"},HIGHLIGHT_ISSUE_ID:{category:"Edit Issue Page",keys:["i","l"],displayAs:"i, l",description:"Highlight issue ID"},OPEN_HOTLIST_PICKER:{category:"Edit Issue Page",keys:["h"],displayAs:"h",description:"Edit hotlists"},OPEN_ISSUE_ACCESS_LIMITS_DIALOG:{category:"Edit Issue Page",keys:["m"],displayAs:"m",description:"Manage issue access limits"},
OPEN_ISSUE_PRIORITY_MENU:{category:"Edit Issue Page",keys:["p"],displayAs:"p <n>",description:"Mark issue as priority [0-4]"},OPEN_ISSUE_STATUS_MENU:{category:"Edit Issue Page",keys:["t"],displayAs:"t",description:"Opens the menu to change the issue status"},REFRESH_ISSUE:Qgc,REFRESH_ISSUE_LIST:Rgc,TOGGLE_MARK_AS_DUPLICATE:{category:"Edit Issue Page",keys:["d"],displayAs:"d",description:"Mark/unmark issue as duplicate"},TOGGLE_STAR:{category:"Edit Issue Page",keys:["s"],displayAs:"s",description:"Star/Unstar this issue"}};var aI=function(){};aI.\u0275fac=function(a){return new (a||aI)};aI.\u0275mod=u({type:aI});aI.\u0275inj=p({});var bI=function(){Z.call(this);this.templateRef=r(Jg);this.viewContainer=r(Kg);this.cdr=r(rw);this.viewContainer.createEmbeddedView(this.templateRef)};Y(bI,Z);ea.Object.defineProperties(bI.prototype,{refreshable:{configurable:!0,enumerable:!0,set:function(a){var b=this;a.pipe(Of(this.destroyed$)).subscribe(function(){b.viewContainer.clear();b.viewContainer.createEmbeddedView(b.templateRef);b.cdr.detectChanges()})}}});bI.\u0275fac=function(a){return new (a||bI)};
bI.\u0275dir=ud({type:bI,selectors:[["","refreshable",""]],inputs:{refreshable:"refreshable"},features:[cg]});var Sgc=function(){};var gp=function(){this.Serializable$values={}},fp=function(a,b){return a.Serializable$values.hasOwnProperty(b)?a.Serializable$values[b]:null},cI=function(a,b){return a.Serializable$values[b]!=null};var Tgc=function(a){if(a.getCount&&typeof a.getCount=="function")a=a.getCount();else if(Va(a)||typeof a==="string")a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},dI=function(a){if(a.getValues&&typeof a.getValues=="function")return a.getValues();if(typeof Map!=="undefined"&&a instanceof Map||typeof Set!=="undefined"&&a instanceof Set)return Array.from(a.values());if(typeof a==="string")return a.split("");if(Va(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return uea(a)},Ugc=
function(a){if(a.getKeys&&typeof a.getKeys=="function")return a.getKeys();if(!a.getValues||typeof a.getValues!="function"){if(typeof Map!=="undefined"&&a instanceof Map)return Array.from(a.keys());if(!(typeof Set!=="undefined"&&a instanceof Set)){if(Va(a)||typeof a==="string"){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}b=[];c=0;for(var d in a)b[c++]=d;return b}}},Vgc=function(a,b,c){if(a.forEach&&typeof a.forEach=="function")a.forEach(b,c);else if(Va(a)||typeof a==="string")Array.prototype.forEach.call(a,
b,c);else for(var d=Ugc(a),e=dI(a),f=e.length,h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)},Wgc=function(a,b,c){if(typeof a.every=="function")return a.every(b,c);if(Va(a)||typeof a==="string")return Array.prototype.every.call(a,b,c);for(var d=Ugc(a),e=dI(a),f=e.length,h=0;h<f;h++)if(!b.call(c,e[h],d&&d[h],a))return!1;return!0};var Xgc=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Ygc=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(d>=0){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}},Zgc=function(a,b){if(!b)return a;var c=a.indexOf("#");c<0&&(c=a.length);var d=a.indexOf("?");if(d<0||d>c){d=c;var e=""}else e=a.substring(d+
1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]},$gc=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)$gc(a,String(b[d]),c);else b!=null&&c.push(a+(b===""?"":"="+encodeURIComponent(String(b))))},ahc=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)$gc(a[b],a[b+1],c);return c.join("&")},bhc=function(a){var b=[],c;for(c in a)$gc(c,a[c],b);return b.join("&")},gRa=function(a,b){var c=arguments.length==2?ahc(arguments[1],0):ahc(arguments,
1);return Zgc(a,c)},iRa=function(a,b){b=bhc(b);return Zgc(a,b)},chc=function(a,b,c){c=c!=null?"="+encodeURIComponent(String(c)):"";return Zgc(a,b+c)},dhc=/#|$/,ehc=function(a,b){var c=a.search(dhc);a:{var d=0;for(var e=b.length;(d=a.indexOf(b,d))>=0&&d<c;){var f=a.charCodeAt(d-1);if(f==38||f==63)if(f=a.charCodeAt(d+e),!f||f==61||f==38||f==35)break a;d+=e+1}d=-1}if(d<0)return null;e=a.indexOf("&",d);if(e<0||e>c)e=c;d+=b.length+1;return decodeURIComponent(a.slice(d,e!==-1?e:0).replace(/\+/g," "))};var Dp=function(a,b){this.domain_=this.userInfo_=this.scheme_="";this.port_=null;this.fragment_=this.path_="";this.ignoreCase_=!1;var c;a instanceof Dp?(this.ignoreCase_=b!==void 0?b:a.ignoreCase_,eI(this,a.scheme_),this.setUserInfo(a.getUserInfo()),fI(this,a.getDomain()),this.setPort(a.getPort()),this.setPath(a.getPath()),fhc(this,a.queryData_.clone()),ghc(this,a.fragment_)):a&&(c=String(a).match(Xgc))?(this.ignoreCase_=!!b,eI(this,c[1]||"",!0),this.setUserInfo(c[2]||"",!0),fI(this,c[3]||"",!0),
this.setPort(c[4]),this.setPath(c[5]||"",!0),fhc(this,c[6]||"",!0),ghc(this,c[7]||"",!0)):(this.ignoreCase_=!!b,this.queryData_=new gI(null,this.ignoreCase_))};
Dp.prototype.toString=function(){var a=[],b=this.scheme_;b&&a.push(hhc(b,ihc,!0),":");var c=this.getDomain();if(c||b=="file")a.push("//"),(b=this.getUserInfo())&&a.push(hhc(b,ihc,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.getPort(),c!=null&&a.push(":",String(c));if(c=this.getPath())this.domain_&&c.charAt(0)!="/"&&a.push("/"),a.push(hhc(c,c.charAt(0)=="/"?jhc:khc,!0));(c=this.queryData_.toString())&&a.push("?",c);(c=this.fragment_)&&a.push("#",hhc(c,
lhc));return a.join("")};
Dp.prototype.resolve=function(a){var b=this.clone(),c=!!a.scheme_;c?eI(b,a.scheme_):c=a.hasUserInfo();c?b.setUserInfo(a.getUserInfo()):c=!!a.domain_;c?fI(b,a.getDomain()):c=a.hasPort();var d=a.getPath();if(c)b.setPort(a.getPort());else if(c=a.hasPath()){if(d.charAt(0)!="/")if(this.domain_&&!this.hasPath())d="/"+d;else{var e=b.getPath().lastIndexOf("/");e!=-1&&(d=b.getPath().slice(0,e+1)+d)}e=d;if(e==".."||e==".")d="";else if(Fa(e,"./")||Fa(e,"/.")){d=e.lastIndexOf("/",0)==0;e=e.split("/");for(var f=
[],h=0;h<e.length;){var l=e[h++];l=="."?d&&h==e.length&&f.push(""):l==".."?((f.length>1||f.length==1&&f[0]!="")&&f.pop(),d&&h==e.length&&f.push("")):(f.push(l),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=a.hasQuery();c?fhc(b,a.queryData_.clone()):c=!!a.fragment_;c&&ghc(b,a.fragment_);return b};Dp.prototype.clone=function(){return new Dp(this)};var eI=function(a,b,c){a.scheme_=c?hI(b,!0):b;a.scheme_&&(a.scheme_=a.scheme_.replace(/:$/,""));return a};Dp.prototype.getUserInfo=function(){return this.userInfo_};
Dp.prototype.setUserInfo=function(a,b){this.userInfo_=b?hI(a):a;return this};Dp.prototype.hasUserInfo=function(){return!!this.userInfo_};Dp.prototype.getDomain=function(){return this.domain_};var fI=function(a,b,c){a.domain_=c?hI(b,!0):b;return a};g=Dp.prototype;g.getPort=function(){return this.port_};g.setPort=function(a){if(a){a=Number(a);if(isNaN(a)||a<0)throw Error("md`"+a);this.port_=a}else this.port_=null;return this};g.hasPort=function(){return this.port_!=null};g.getPath=function(){return this.path_};
g.setPath=function(a,b){this.path_=b?hI(a,!0):a;return this};g.hasPath=function(){return!!this.path_};g.hasQuery=function(){return this.queryData_.toString()!==""};var fhc=function(a,b,c){b instanceof gI?(a.queryData_=b,a.queryData_.setIgnoreCase(a.ignoreCase_)):(c||(b=hhc(b,mhc)),a.queryData_=new gI(b,a.ignoreCase_));return a};Dp.prototype.setQuery=function(a){return fhc(this,a)};Dp.prototype.getQuery=function(){return this.queryData_.toString()};
var iI=function(a,b,c){a.queryData_.set(b,c);return a},jI=function(a,b){return a.queryData_.get(b)},ghc=function(a,b,c){a.fragment_=c?hI(b):b;return a},nhc=function(a){iI(a,"zx",Qv());return a};Dp.prototype.removeParameter=function(a){this.queryData_.remove(a);return this};Dp.prototype.isReadOnly=function(){return!1};Dp.prototype.setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)};
var kI=function(a,b){return a instanceof Dp?a.clone():new Dp(a,b)},ohc=function(a,b,c,d,e){var f=new Dp(null);a&&eI(f,a);b&&f.setUserInfo(b);c&&fI(f,c);d&&f.setPort(d);e&&f.setPath(e);return f},hI=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},hhc=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,phc),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},phc=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},
ihc=/[#\/\?@]/g,khc=/[#\?:]/g,jhc=/[#\?]/g,mhc=/[#\?@]/g,lhc=/#/g,gI=function(a,b){this.count_=this.keyMap_=null;this.encodedQuery_=a||null;this.ignoreCase_=!!b},lI=function(a){a.keyMap_||(a.keyMap_=new Map,a.count_=0,a.encodedQuery_&&Ygc(a.encodedQuery_,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};g=gI.prototype;g.getCount=function(){lI(this);return this.count_};
g.add=function(a,b){lI(this);this.encodedQuery_=null;a=mI(this,a);var c=this.keyMap_.get(a);c||this.keyMap_.set(a,c=[]);c.push(b);this.count_+=1;return this};g.remove=function(a){lI(this);a=mI(this,a);return this.keyMap_.has(a)?(this.encodedQuery_=null,this.count_-=this.keyMap_.get(a).length,this.keyMap_.delete(a)):!1};g.clear=function(){this.keyMap_=this.encodedQuery_=null;this.count_=0};g.isEmpty=function(){lI(this);return this.count_==0};g.containsKey=function(a){lI(this);a=mI(this,a);return this.keyMap_.has(a)};
g.containsValue=function(a){var b=this.getValues();return Oa(b,a)};g.forEach=function(a,b){lI(this);this.keyMap_.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};g.getKeys=function(){lI(this);for(var a=Array.from(this.keyMap_.values()),b=Array.from(this.keyMap_.keys()),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
g.getValues=function(a){lI(this);var b=[];if(typeof a==="string")this.containsKey(a)&&(b=b.concat(this.keyMap_.get(mI(this,a))));else{a=Array.from(this.keyMap_.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};g.set=function(a,b){lI(this);this.encodedQuery_=null;a=mI(this,a);this.containsKey(a)&&(this.count_-=this.keyMap_.get(a).length);this.keyMap_.set(a,[b]);this.count_+=1;return this};g.get=function(a,b){if(!a)return b;a=this.getValues(a);return a.length>0?String(a[0]):b};
g.setValues=function(a,b){this.remove(a);b.length>0&&(this.encodedQuery_=null,this.keyMap_.set(mI(this,a),Ua(b)),this.count_+=b.length)};g.toString=function(){if(this.encodedQuery_)return this.encodedQuery_;if(!this.keyMap_)return"";for(var a=[],b=Array.from(this.keyMap_.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.getValues(d);for(var f=0;f<d.length;f++){var h=e;d[f]!==""&&(h+="="+encodeURIComponent(String(d[f])));a.push(h)}}return this.encodedQuery_=a.join("&")};
g.clone=function(){var a=new gI;a.encodedQuery_=this.encodedQuery_;this.keyMap_&&(a.keyMap_=new Map(this.keyMap_),a.count_=this.count_);return a};var mI=function(a,b){b=String(b);a.ignoreCase_&&(b=b.toLowerCase());return b};gI.prototype.setIgnoreCase=function(a){a&&!this.ignoreCase_&&(lI(this),this.encodedQuery_=null,this.keyMap_.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.ignoreCase_=a};
gI.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Vgc(arguments[b],function(c,d){this.add(d,c)},this)};var qhc=function(a){var b="";Cc(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n"});return b},rhc=function(a,b,c){if(Ec(c))return a;c=qhc(c);if(typeof a==="string")return chc(a,encodeURIComponent(String(b)),c);iI(a,b,c);return a};var shc=function(){};var thc=function(a,b){this.requestService=a;this.hookFactory=b===void 0?null:b};Y(thc,shc);
var uhc=function(a,b,c){var d=zFa(a.hookFactory,b);return d==null?c:We.pipe(Pf({complete:function(){d.onBeforeSend()}}),$ja(c.pipe(Pf(function(e){d.onSuccess(e)},function(e){d.onError(e)}))))},vhc=function(a,b){var c=b.responseCtor||void 0,d=a.requestService,e=d.send,f=b.body instanceof gp?EFa(b.body,BFa,CFa,DFa):b.body;return uhc(a,b,e.call(d,{path:b.path,httpMethod:b.httpMethod,methodId:b.methodId,body:f,queryParams:b.queryParams,streamingType:b.streamingType&&b.streamingType},c))};var whc=function(){};whc.prototype.send=function(a,b){MFa(a);return this.makeRequest(a).pipe(B(function(c){return b?IFa(b,c):c}))};var xhc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.dayOfWeek=a.dayOfWeek==null?null:a.dayOfWeek;this.Serializable$values.periodStartMinutes=a.periodStartMinutes==null?null:a.periodStartMinutes;this.Serializable$values.periodEndMinutes=a.periodEndMinutes==null?null:a.periodEndMinutes};Y(xhc,gp);xhc.prototype.getPartialClassMetadata=function(){return{keys:["dayOfWeek","periodEndMinutes","periodStartMinutes"]}};
ea.Object.defineProperties(xhc.prototype,{dayOfWeek:{configurable:!0,enumerable:!0,get:function(){return cI(this,"dayOfWeek")?fp(this,"dayOfWeek"):0},set:function(a){this.Serializable$values.dayOfWeek=a}},periodEndMinutes:{configurable:!0,enumerable:!0,get:function(){return cI(this,"periodEndMinutes")?fp(this,"periodEndMinutes"):0},set:function(a){this.Serializable$values.periodEndMinutes=a}},periodStartMinutes:{configurable:!0,enumerable:!0,get:function(){return cI(this,"periodStartMinutes")?fp(this,
"periodStartMinutes"):0},set:function(a){this.Serializable$values.periodStartMinutes=a}}});var yhc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.userIds=a.userIds==null?null:a.userIds;this.Serializable$values.debugOptions=a.debugOptions==null?null:a.debugOptions};Y(yhc,gp);yhc.prototype.getPartialClassMetadata=function(){return{arrays:{userIds:nI},keys:["debugOptions","userIds"],objects:{debugOptions:zhc}}};
ea.Object.defineProperties(yhc.prototype,{debugOptions:{configurable:!0,enumerable:!0,get:function(){return cI(this,"debugOptions")?fp(this,"debugOptions"):this.debugOptions=new zhc},set:function(a){this.Serializable$values.debugOptions=a}},userIds:{configurable:!0,enumerable:!0,get:function(){return cI(this,"userIds")?fp(this,"userIds"):this.userIds=[]},set:function(a){this.Serializable$values.userIds=a}}});
var Ahc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.results=a.results==null?null:a.results};Y(Ahc,gp);Ahc.prototype.getPartialClassMetadata=function(){return{arrays:{results:Bhc},keys:["results"]}};
ea.Object.defineProperties(Ahc.prototype,{hasResults:{configurable:!0,enumerable:!0,get:function(){return fp(this,"results")!==null}},results:{configurable:!0,enumerable:!0,get:function(){return cI(this,"results")?fp(this,"results"):this.results=[]},set:function(a){this.Serializable$values.results=a}}});
var Chc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.eventSummary=a.eventSummary==null?null:a.eventSummary;this.Serializable$values.occupiedUntil=a.occupiedUntil==null?null:a.occupiedUntil;this.Serializable$values.nextAvailable=a.nextAvailable==null?null:a.nextAvailable;this.Serializable$values.committedUntil=a.committedUntil==null?null:a.committedUntil};Y(Chc,gp);
Chc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","nextAvailable","occupiedUntil"]}};
ea.Object.defineProperties(Chc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return cI(this,"committedUntil")?fp(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return cI(this,"eventSummary")?fp(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return cI(this,"nextAvailable")?fp(this,
"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return cI(this,"occupiedUntil")?fp(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});
var Dhc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.location=a.location==null?null:a.location;this.Serializable$values.geoCoordinates=a.geoCoordinates==null?null:a.geoCoordinates;this.Serializable$values.label=a.label==null?null:a.label};Y(Dhc,gp);Dhc.prototype.getPartialClassMetadata=function(){return{keys:["geoCoordinates","label","location"],objects:{geoCoordinates:Ehc}}};
ea.Object.defineProperties(Dhc.prototype,{geoCoordinates:{configurable:!0,enumerable:!0,get:function(){return cI(this,"geoCoordinates")?fp(this,"geoCoordinates"):this.geoCoordinates=new Ehc},set:function(a){this.Serializable$values.geoCoordinates=a}},label:{configurable:!0,enumerable:!0,get:function(){return cI(this,"label")?fp(this,"label"):""},set:function(a){this.Serializable$values.label=a}},location:{configurable:!0,enumerable:!0,get:function(){return cI(this,"location")?fp(this,"location"):
""},set:function(a){this.Serializable$values.location=a}}});var Fhc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.occupiedUntil=a.occupiedUntil==null?null:a.occupiedUntil;this.Serializable$values.committedUntil=a.committedUntil==null?null:a.committedUntil;this.Serializable$values.nextAvailable=a.nextAvailable==null?null:a.nextAvailable};Y(Fhc,gp);Fhc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","nextAvailable","occupiedUntil"]}};
ea.Object.defineProperties(Fhc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return cI(this,"committedUntil")?fp(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return cI(this,"nextAvailable")?fp(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return cI(this,"occupiedUntil")?fp(this,
"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var Ghc=function(){this.Serializable$values={}};Y(Ghc,gp);Ghc.prototype.getPartialClassMetadata=function(){return{keys:[]}};
var Hhc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.eventSummary=a.eventSummary==null?null:a.eventSummary;this.Serializable$values.inMeetingsUntil=a.inMeetingsUntil==null?null:a.inMeetingsUntil;this.Serializable$values.occupiedUntil=a.occupiedUntil==null?null:a.occupiedUntil;this.Serializable$values.committedUntil=a.committedUntil==null?null:a.committedUntil;this.Serializable$values.nextAvailable=a.nextAvailable==null?null:a.nextAvailable};Y(Hhc,gp);
Hhc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","inMeetingsUntil","nextAvailable","occupiedUntil"]}};
ea.Object.defineProperties(Hhc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return cI(this,"committedUntil")?fp(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return cI(this,"eventSummary")?fp(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},inMeetingsUntil:{configurable:!0,enumerable:!0,get:function(){return cI(this,"inMeetingsUntil")?fp(this,
"inMeetingsUntil"):""},set:function(a){this.Serializable$values.inMeetingsUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return cI(this,"nextAvailable")?fp(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return cI(this,"occupiedUntil")?fp(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var Ihc=function(){this.Serializable$values={}};Y(Ihc,gp);
Ihc.prototype.getPartialClassMetadata=function(){return{keys:[]}};var Ehc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.latitude=a.latitude==null?null:a.latitude;this.Serializable$values.longitude=a.longitude==null?null:a.longitude};Y(Ehc,gp);Ehc.prototype.getPartialClassMetadata=function(){return{keys:["latitude","longitude"]}};
ea.Object.defineProperties(Ehc.prototype,{latitude:{configurable:!0,enumerable:!0,get:function(){return cI(this,"latitude")?fp(this,"latitude"):0},set:function(a){this.Serializable$values.latitude=a}},longitude:{configurable:!0,enumerable:!0,get:function(){return cI(this,"longitude")?fp(this,"longitude"):0},set:function(a){this.Serializable$values.longitude=a}}});var Jhc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.timeZone=a.timeZone==null?null:a.timeZone};
Y(Jhc,gp);Jhc.prototype.getPartialClassMetadata=function(){return{keys:["timeZone"]}};ea.Object.defineProperties(Jhc.prototype,{timeZone:{configurable:!0,enumerable:!0,get:function(){return cI(this,"timeZone")?fp(this,"timeZone"):""},set:function(a){this.Serializable$values.timeZone=a}}});
var Khc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.experimentalBuildingId=a.experimentalBuildingId==null?null:a.experimentalBuildingId;this.Serializable$values.experimentalDeskId=a.experimentalDeskId==null?null:a.experimentalDeskId;this.Serializable$values.experimentalFloorId=a.experimentalFloorId==null?null:a.experimentalFloorId;this.Serializable$values.label=a.label==null?null:a.label};Y(Khc,gp);
Khc.prototype.getPartialClassMetadata=function(){return{keys:["experimentalBuildingId","experimentalDeskId","experimentalFloorId","label"]}};
ea.Object.defineProperties(Khc.prototype,{experimentalBuildingId:{configurable:!0,enumerable:!0,get:function(){return cI(this,"experimentalBuildingId")?fp(this,"experimentalBuildingId"):""},set:function(a){this.Serializable$values.experimentalBuildingId=a}},experimentalDeskId:{configurable:!0,enumerable:!0,get:function(){return cI(this,"experimentalDeskId")?fp(this,"experimentalDeskId"):""},set:function(a){this.Serializable$values.experimentalDeskId=a}},experimentalFloorId:{configurable:!0,enumerable:!0,
get:function(){return cI(this,"experimentalFloorId")?fp(this,"experimentalFloorId"):""},set:function(a){this.Serializable$values.experimentalFloorId=a}},label:{configurable:!0,enumerable:!0,get:function(){return cI(this,"label")?fp(this,"label"):""},set:function(a){this.Serializable$values.label=a}}});
var Lhc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=a.comeBackTime==null?null:a.comeBackTime;this.Serializable$values.eventSummary=a.eventSummary==null?null:a.eventSummary;this.Serializable$values.committedUntil=a.committedUntil==null?null:a.committedUntil};Y(Lhc,gp);Lhc.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime","committedUntil","eventSummary"]}};
ea.Object.defineProperties(Lhc.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return cI(this,"comeBackTime")?fp(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}},committedUntil:{configurable:!0,enumerable:!0,get:function(){return cI(this,"committedUntil")?fp(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return cI(this,"eventSummary")?fp(this,"eventSummary"):
""},set:function(a){this.Serializable$values.eventSummary=a}}});var Mhc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=a.comeBackTime==null?null:a.comeBackTime};Y(Mhc,gp);Mhc.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime"]}};
ea.Object.defineProperties(Mhc.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return cI(this,"comeBackTime")?fp(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}}});var Nhc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.code=a.code==null?null:a.code;this.Serializable$values.message=a.message==null?null:a.message;this.Serializable$values.details=a.details==null?null:a.details};Y(Nhc,gp);
Nhc.prototype.getPartialClassMetadata=function(){return{keys:["code","details","message"],objectMaps:{details:{ctor:null,isPropertyArray:!0,isSerializable:!1,isValueArray:!1}}}};
ea.Object.defineProperties(Nhc.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return cI(this,"code")?fp(this,"code"):0},set:function(a){this.Serializable$values.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return cI(this,"details")?fp(this,"details"):this.details=[]},set:function(a){this.Serializable$values.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return cI(this,"message")?fp(this,"message"):""},set:function(a){this.Serializable$values.message=
a}}});var oI=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.startTime=a.startTime==null?null:a.startTime;this.Serializable$values.endTime=a.endTime==null?null:a.endTime};Y(oI,gp);oI.prototype.getPartialClassMetadata=function(){return{keys:["endTime","startTime"]}};
ea.Object.defineProperties(oI.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return cI(this,"endTime")?fp(this,"endTime"):""},set:function(a){this.Serializable$values.endTime=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return cI(this,"startTime")?fp(this,"startTime"):""},set:function(a){this.Serializable$values.startTime=a}}});
var Ohc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.overrideCurrentTime=a.overrideCurrentTime==null?null:a.overrideCurrentTime;this.Serializable$values.computationDuration=a.computationDuration==null?null:a.computationDuration};Y(Ohc,gp);Ohc.prototype.getPartialClassMetadata=function(){return{keys:["computationDuration","overrideCurrentTime"]}};
ea.Object.defineProperties(Ohc.prototype,{computationDuration:{configurable:!0,enumerable:!0,get:function(){return cI(this,"computationDuration")?fp(this,"computationDuration"):""},set:function(a){this.Serializable$values.computationDuration=a}},overrideCurrentTime:{configurable:!0,enumerable:!0,get:function(){return cI(this,"overrideCurrentTime")?fp(this,"overrideCurrentTime"):""},set:function(a){this.Serializable$values.overrideCurrentTime=a}}});
var Phc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.nextCommitmentTime=a.nextCommitmentTime==null?null:a.nextCommitmentTime;this.Serializable$values.nextCommitmentStatus=a.nextCommitmentStatus==null?null:a.nextCommitmentStatus};Y(Phc,gp);Phc.prototype.getPartialClassMetadata=function(){return{keys:["nextCommitmentStatus","nextCommitmentTime"],objects:{nextCommitmentStatus:pI}}};
ea.Object.defineProperties(Phc.prototype,{nextCommitmentStatus:{configurable:!0,enumerable:!0,get:function(){return cI(this,"nextCommitmentStatus")?fp(this,"nextCommitmentStatus"):this.nextCommitmentStatus=new pI},set:function(a){this.Serializable$values.nextCommitmentStatus=a}},nextCommitmentTime:{configurable:!0,enumerable:!0,get:function(){return cI(this,"nextCommitmentTime")?fp(this,"nextCommitmentTime"):""},set:function(a){this.Serializable$values.nextCommitmentTime=a}}});
var Qhc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=a.timeRange==null?null:a.timeRange};Y(Qhc,gp);Qhc.prototype.getPartialClassMetadata=function(){return{keys:["timeRange"],objects:{timeRange:oI}}};ea.Object.defineProperties(Qhc.prototype,{timeRange:{configurable:!0,enumerable:!0,get:function(){return cI(this,"timeRange")?fp(this,"timeRange"):this.timeRange=new oI},set:function(a){this.Serializable$values.timeRange=a}}});
var Rhc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.availabilities=a.availabilities==null?null:a.availabilities;this.Serializable$values.workingHours=a.workingHours==null?null:a.workingHours;this.Serializable$values.nextPollTime=a.nextPollTime==null?null:a.nextPollTime};Y(Rhc,gp);Rhc.prototype.getPartialClassMetadata=function(){return{arrays:{availabilities:Shc},keys:["availabilities","nextPollTime","workingHours"],objects:{workingHours:Thc}}};
ea.Object.defineProperties(Rhc.prototype,{availabilities:{configurable:!0,enumerable:!0,get:function(){return cI(this,"availabilities")?fp(this,"availabilities"):this.availabilities=[]},set:function(a){this.Serializable$values.availabilities=a}},nextPollTime:{configurable:!0,enumerable:!0,get:function(){return cI(this,"nextPollTime")?fp(this,"nextPollTime"):""},set:function(a){this.Serializable$values.nextPollTime=a}},workingHours:{configurable:!0,enumerable:!0,get:function(){return cI(this,"workingHours")?
fp(this,"workingHours"):this.workingHours=new Thc},set:function(a){this.Serializable$values.workingHours=a}}});var zhc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.forceEnableUserStatusCache=a.forceEnableUserStatusCache==null?null:a.forceEnableUserStatusCache;this.Serializable$values.timeSettings=a.timeSettings==null?null:a.timeSettings};Y(zhc,gp);zhc.prototype.getPartialClassMetadata=function(){return{keys:["forceEnableUserStatusCache","timeSettings"],objects:{timeSettings:Ohc}}};
ea.Object.defineProperties(zhc.prototype,{forceEnableUserStatusCache:{configurable:!0,enumerable:!0,get:function(){return cI(this,"forceEnableUserStatusCache")?fp(this,"forceEnableUserStatusCache"):!1},set:function(a){this.Serializable$values.forceEnableUserStatusCache=a}},timeSettings:{configurable:!0,enumerable:!0,get:function(){return cI(this,"timeSettings")?fp(this,"timeSettings"):this.timeSettings=new Ohc},set:function(a){this.Serializable$values.timeSettings=a}}});
var Bhc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.userId=a.userId==null?null:a.userId;this.Serializable$values.status=a.status==null?null:a.status;this.Serializable$values.userAvailabilities=a.userAvailabilities==null?null:a.userAvailabilities};Y(Bhc,gp);Bhc.prototype.getPartialClassMetadata=function(){return{keys:["status","userAvailabilities","userId"],objects:{status:Nhc,userAvailabilities:Rhc,userId:nI}}};
ea.Object.defineProperties(Bhc.prototype,{hasStatus:{configurable:!0,enumerable:!0,get:function(){return fp(this,"status")!==null}},status:{configurable:!0,enumerable:!0,get:function(){return cI(this,"status")?fp(this,"status"):this.status=new Nhc},set:function(a){this.Serializable$values.status=a}},hasUserAvailabilities:{configurable:!0,enumerable:!0,get:function(){return fp(this,"userAvailabilities")!==null}},userAvailabilities:{configurable:!0,enumerable:!0,get:function(){return cI(this,"userAvailabilities")?
fp(this,"userAvailabilities"):this.userAvailabilities=new Rhc},set:function(a){this.Serializable$values.userAvailabilities=a}},hasUserId:{configurable:!0,enumerable:!0,get:function(){return fp(this,"userId")!==null}},userId:{configurable:!0,enumerable:!0,get:function(){return cI(this,"userId")?fp(this,"userId"):this.userId=new nI},set:function(a){this.Serializable$values.userId=a}}});
var Shc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=a.timeRange==null?null:a.timeRange;this.Serializable$values.status=a.status==null?null:a.status;this.Serializable$values.contexts=a.contexts==null?null:a.contexts};Y(Shc,gp);Shc.prototype.getPartialClassMetadata=function(){return{keys:["contexts","status","timeRange"],objects:{contexts:Uhc,status:pI,timeRange:oI}}};
ea.Object.defineProperties(Shc.prototype,{hasContexts:{configurable:!0,enumerable:!0,get:function(){return fp(this,"contexts")!==null}},contexts:{configurable:!0,enumerable:!0,get:function(){return cI(this,"contexts")?fp(this,"contexts"):this.contexts=new Uhc},set:function(a){this.Serializable$values.contexts=a}},hasStatus:{configurable:!0,enumerable:!0,get:function(){return fp(this,"status")!==null}},status:{configurable:!0,enumerable:!0,get:function(){return cI(this,"status")?fp(this,"status"):
this.status=new pI},set:function(a){this.Serializable$values.status=a}},timeRange:{configurable:!0,enumerable:!0,get:function(){return cI(this,"timeRange")?fp(this,"timeRange"):this.timeRange=new oI},set:function(a){this.Serializable$values.timeRange=a}}});
var Uhc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.workingElsewhere=a.workingElsewhere==null?null:a.workingElsewhere;this.Serializable$values.upcomingOoo=a.upcomingOoo==null?null:a.upcomingOoo;this.Serializable$values.localTime=a.localTime==null?null:a.localTime;this.Serializable$values.upcomingCommitmentContext=a.upcomingCommitmentContext==null?null:a.upcomingCommitmentContext};Y(Uhc,gp);
Uhc.prototype.getPartialClassMetadata=function(){return{keys:["localTime","upcomingCommitmentContext","upcomingOoo","workingElsewhere"],objects:{localTime:Jhc,upcomingCommitmentContext:Phc,upcomingOoo:Qhc,workingElsewhere:Vhc}}};
ea.Object.defineProperties(Uhc.prototype,{hasLocalTime:{configurable:!0,enumerable:!0,get:function(){return fp(this,"localTime")!==null}},localTime:{configurable:!0,enumerable:!0,get:function(){return cI(this,"localTime")?fp(this,"localTime"):this.localTime=new Jhc},set:function(a){this.Serializable$values.localTime=a}},upcomingCommitmentContext:{configurable:!0,enumerable:!0,get:function(){return cI(this,"upcomingCommitmentContext")?fp(this,"upcomingCommitmentContext"):this.upcomingCommitmentContext=
new Phc},set:function(a){this.Serializable$values.upcomingCommitmentContext=a}},upcomingOoo:{configurable:!0,enumerable:!0,get:function(){return cI(this,"upcomingOoo")?fp(this,"upcomingOoo"):this.upcomingOoo=new Qhc},set:function(a){this.Serializable$values.upcomingOoo=a}},workingElsewhere:{configurable:!0,enumerable:!0,get:function(){return cI(this,"workingElsewhere")?fp(this,"workingElsewhere"):this.workingElsewhere=new Vhc},set:function(a){this.Serializable$values.workingElsewhere=a}}});
var nI=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.obfuscatedGaiaId=a.obfuscatedGaiaId==null?null:a.obfuscatedGaiaId;this.Serializable$values.email=a.email==null?null:a.email};Y(nI,gp);nI.prototype.getPartialClassMetadata=function(){return{keys:["email","obfuscatedGaiaId"]}};
ea.Object.defineProperties(nI.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return cI(this,"email")?fp(this,"email"):""},set:function(a){this.Serializable$values.email=a}},obfuscatedGaiaId:{configurable:!0,enumerable:!0,get:function(){return cI(this,"obfuscatedGaiaId")?fp(this,"obfuscatedGaiaId"):""},set:function(a){this.Serializable$values.obfuscatedGaiaId=a}}});
var Whc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.homeLocation=a.homeLocation==null?null:a.homeLocation;this.Serializable$values.customLocation=a.customLocation==null?null:a.customLocation;this.Serializable$values.officeLocation=a.officeLocation==null?null:a.officeLocation};Y(Whc,gp);Whc.prototype.getPartialClassMetadata=function(){return{keys:["customLocation","homeLocation","officeLocation"],objects:{customLocation:Dhc,homeLocation:Ghc,officeLocation:Khc}}};
ea.Object.defineProperties(Whc.prototype,{customLocation:{configurable:!0,enumerable:!0,get:function(){return cI(this,"customLocation")?fp(this,"customLocation"):this.customLocation=new Dhc},set:function(a){this.Serializable$values.customLocation=a}},homeLocation:{configurable:!0,enumerable:!0,get:function(){return cI(this,"homeLocation")?fp(this,"homeLocation"):this.homeLocation=new Ghc},set:function(a){this.Serializable$values.homeLocation=a}},officeLocation:{configurable:!0,enumerable:!0,get:function(){return cI(this,
"officeLocation")?fp(this,"officeLocation"):this.officeLocation=new Khc},set:function(a){this.Serializable$values.officeLocation=a}}});
var pI=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.inactive=a.inactive==null?null:a.inactive;this.Serializable$values.doNotDisturb=a.doNotDisturb==null?null:a.doNotDisturb;this.Serializable$values.outsideWorkingHours=a.outsideWorkingHours==null?null:a.outsideWorkingHours;this.Serializable$values.outOfOffice=a.outOfOffice==null?null:a.outOfOffice;this.Serializable$values.inMeeting=a.inMeeting==null?null:a.inMeeting;this.Serializable$values.calendarBusy=a.calendarBusy==
null?null:a.calendarBusy};Y(pI,gp);pI.prototype.getPartialClassMetadata=function(){return{keys:"calendarBusy doNotDisturb inMeeting inactive outOfOffice outsideWorkingHours".split(" "),objects:{calendarBusy:Chc,doNotDisturb:Fhc,inMeeting:Hhc,inactive:Ihc,outOfOffice:Lhc,outsideWorkingHours:Mhc}}};
ea.Object.defineProperties(pI.prototype,{calendarBusy:{configurable:!0,enumerable:!0,get:function(){return cI(this,"calendarBusy")?fp(this,"calendarBusy"):this.calendarBusy=new Chc},set:function(a){this.Serializable$values.calendarBusy=a}},doNotDisturb:{configurable:!0,enumerable:!0,get:function(){return cI(this,"doNotDisturb")?fp(this,"doNotDisturb"):this.doNotDisturb=new Fhc},set:function(a){this.Serializable$values.doNotDisturb=a}},inMeeting:{configurable:!0,enumerable:!0,get:function(){return cI(this,
"inMeeting")?fp(this,"inMeeting"):this.inMeeting=new Hhc},set:function(a){this.Serializable$values.inMeeting=a}},inactive:{configurable:!0,enumerable:!0,get:function(){return cI(this,"inactive")?fp(this,"inactive"):this.inactive=new Ihc},set:function(a){this.Serializable$values.inactive=a}},hasOutOfOffice:{configurable:!0,enumerable:!0,get:function(){return fp(this,"outOfOffice")!==null}},outOfOffice:{configurable:!0,enumerable:!0,get:function(){return cI(this,"outOfOffice")?fp(this,"outOfOffice"):
this.outOfOffice=new Lhc},set:function(a){this.Serializable$values.outOfOffice=a}},outsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return cI(this,"outsideWorkingHours")?fp(this,"outsideWorkingHours"):this.outsideWorkingHours=new Mhc},set:function(a){this.Serializable$values.outsideWorkingHours=a}}});var Vhc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.location=a.location==null?null:a.location};Y(Vhc,gp);
Vhc.prototype.getPartialClassMetadata=function(){return{keys:["location"],objects:{location:Whc}}};ea.Object.defineProperties(Vhc.prototype,{location:{configurable:!0,enumerable:!0,get:function(){return cI(this,"location")?fp(this,"location"):this.location=new Whc},set:function(a){this.Serializable$values.location=a}}});var Thc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.availableTime=a.availableTime==null?null:a.availableTime};Y(Thc,gp);
Thc.prototype.getPartialClassMetadata=function(){return{arrays:{availableTime:xhc},keys:["availableTime"]}};ea.Object.defineProperties(Thc.prototype,{availableTime:{configurable:!0,enumerable:!0,get:function(){return cI(this,"availableTime")?fp(this,"availableTime"):this.availableTime=[]},set:function(a){this.Serializable$values.availableTime=a}}});var Xhc=new Bd("API_VERSION"),Yhc=new Bd("REQUEST_SERVICE for waldo_service_api"),qI=function(){};qI.\u0275fac=function(a){return new (a||qI)};
qI.\u0275mod=u({type:qI});qI.\u0275inj=p({});var Zhc={$Xgafv:"$.xgafv",access_token:"access_token",alt:"alt",callback:"callback",fields:"fields",key:"key",oauth_token:"oauth_token",prettyPrint:"prettyPrint",quotaUser:"quotaUser",uploadType:"uploadType",upload_protocol:"upload_protocol"},rI=function(a,b,c){this.gapiVersion=a;this.gapiVersion=a==null?"v1alpha":a;this.$apiClient=new thc(b,c)};rI.\u0275fac=function(a){return new (a||rI)(md(Xhc,8),md(Yhc),md(Sgc,8))};rI.\u0275prov=n({token:rI,factory:rI.\u0275fac});
var $hc=function(){};$hc.\u0275fac=function(a){return new (a||$hc)};$hc.\u0275prov=n({token:$hc,factory:function(a){return rI.\u0275fac(a)},providedIn:qI});var sI=function(a){var b=this;this.apiStub=a;this.result=new Jf;this.destroyed=new If(1);this.trigger=new Jf;this.batchedTrigger=this.trigger.pipe(Xja(this.trigger.pipe(wf(200))));this.responseHandler=function(c){if(c.hasResults){c=k(c.results);for(var d=c.next();!d.done;d=c.next()){var e=d.value;d="";e.hasUserId&&e.userId.email&&(d=e.userId.email);if(d)if(e.hasUserAvailabilities){e=e.userAvailabilities.availabilities[0];if(e.hasStatus&&e.status.hasOutOfOffice){var f=e.status.outOfOffice;if(f.comeBackTime){var h=
f=new Date(f.comeBackTime),l=new Date;f=l.getFullYear()===h.getFullYear()&&l.getMonth()===h.getMonth()&&l.getDate()===h.getDate()?"at "+f.toLocaleString("en-Us",{hour:"numeric",minute:"2-digit",hour12:!0}):"on "+(f.getFullYear()!==(new Date).getFullYear()?f.toLocaleString("en-Us",{weekday:"short",month:"short",day:"numeric",year:"numeric"}):f.toLocaleString("en-Us",{weekday:"short",month:"short",day:"numeric"}));f=" - back "+f}else f="";f="Out of Office"+f}else f="";b.result.next({emailAddress:d,
availability:f,timezone:e.hasContexts&&e.contexts.hasLocalTime?e.contexts.localTime.timeZone:""})}else b.result.next({emailAddress:d,availability:"",timezone:""})}}};this.batchedTrigger.pipe(Of(this.destroyed)).subscribe(function(c){c=[].concat(w(new Set(c)));aic(b,c.slice(0,100));c=k(c.slice(100));for(var d=c.next();!d.done;d=c.next())b.trigger.next(d.value)})},aic=function(a,b){var c,d;ve(function(e){for(var f=new yhc,h=[],l=k(b),q=l.next();!q.done;q=l.next()){q=q.value;var v=new nI;v.email=q;h.push(v)}f.userIds=
h;c=f;f=a.apiStub;var y=y===void 0?{}:y;var E=E===void 0?{}:E;d=vhc(f.$apiClient,{body:c,httpMethod:"POST",methodId:"waldo_service_api_from_stubby_sandbox.useravailabilities.batchget",path:"/"+f.gapiVersion+"/useravailabilities:batchget",queryParams:NFa(y,Zhc,E),responseCtor:Ahc});d.pipe(Of(a.destroyed)).subscribe(a.responseHandler);Ce(e)})},bic=function(a,b){if(!b)return Fe({emailAddress:b,availability:"",timezone:""});a.trigger.next(b);return a.result.pipe(Ye(function(c){return c.emailAddress===
b}))},cic=function(a,b){return bic(a,b).pipe(B(function(c){return c.availability}))};sI.prototype.ngOnDestroy=function(){this.destroyed.next()};sI.\u0275fac=function(a){return new (a||sI)(md($hc))};sI.\u0275prov=n({token:sI,factory:sI.\u0275fac});var tI=function(a){var b=this;this.waldoAvailabilityService=a;this.user="";this.userSubject=new If(1);this.availability=this.userSubject.pipe(Nf(function(c){return cic(b.waldoAvailabilityService,c)}))};tI.prototype.ngOnChanges=function(){this.userSubject.next(this.user)};tI.\u0275fac=function(a){return new (a||tI)(af(sI))};
tI.\u0275cmp=t({type:tI,selectors:[["waldo-availability-chip"]],inputs:{user:"user"},features:[Hd],decls:2,vars:3,consts:[["class","chip__container",4,"ngIf"],[1,"chip__container"],["preserveAspectRatio","xMidYMid meet","width","100%","height","100%","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","viewBox","0 0 24 24","aria-hidden","true",1,"chip__icon"],["d","M9.31 17l2.44-2.44L14.19 17l1.06-1.06-2.44-2.44 2.44-2.44L14.19 10l-2.44 2.44L9.31 10l-1.06 1.06 2.44 2.44-2.44 2.44L9.31 17zM19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11z"],
["aria-hidden","true",1,"chip__text"]],template:function(a,b){a&1&&(D(0,OFa,6,3,"div",0),S(1,"async"));a&2&&F("ngIf",U(1,1,b.availability))},dependencies:[Gw,Iw],styles:["[_nghost-%COMP%]{display:inline-block;height:18px;vertical-align:middle}[_nghost-%COMP%]:empty{display:none}[coinonly][_nghost-%COMP%]   .chip__container[_ngcontent-%COMP%], [collapsed][_nghost-%COMP%]:not(:hover)   .chip__container[_ngcontent-%COMP%]{background:#f1f3f4;padding:0 1px}[coinonly][_nghost-%COMP%]   .chip__icon[_ngcontent-%COMP%], [collapsed][_nghost-%COMP%]:not(:hover)   .chip__icon[_ngcontent-%COMP%]{fill:#5f6368}[coinonly][_nghost-%COMP%]   .chip__text[_ngcontent-%COMP%], [collapsed][_nghost-%COMP%]:not(:hover)   .chip__text[_ngcontent-%COMP%]{display:none}.chip__container[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;background:#fef7e0;border:1px solid transparent;border-radius:20px;-moz-box-sizing:border-box;box-sizing:border-box;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:18px;padding:0 6px;white-space:nowrap;width:100%}.chip__icon[_ngcontent-%COMP%]{fill:#b06000;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:14px;width:14px}.chip__text[_ngcontent-%COMP%]{color:#202124;font-family:Google Sans Display,Roboto,Arial,sans-serif;font-size:12px;letter-spacing:.025em;line-height:16px;margin:0 0 0 6px;overflow:hidden;text-overflow:ellipsis}"],
changeDetection:0});var uI=function(){this.refreshMonitor=r(MF);this.user="";this.coinonly=null};uI.\u0275fac=function(a){return new (a||uI)};uI.\u0275cmp=t({type:uI,selectors:[["b-availability-chip"]],inputs:{user:"user",coinonly:"coinonly"},decls:1,vars:1,consts:[[3,"refreshable"],[3,"user"]],template:function(a,b){a&1&&D(0,PFa,1,2,"ng-template",0);a&2&&F("refreshable",b.refreshMonitor.getObservable())},dependencies:[tI,bI],styles:["waldo-availability-chip[_ngcontent-%COMP%] { margin-left: 5px; }"],changeDetection:0});var dic=new Bd("GMAT_MENU_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var vI=function(a,b){this.options=a;a.disableGmatStyle||pgc(b,"gmat-mdc-menu")};vI.\u0275fac=function(a){return new (a||vI)(af(dic),af(ty))};vI.\u0275dir=ud({type:vI,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],features:[Yg([{provide:ty,useClass:EH}])]});var eic=new Bd("MAT_MENU_PANEL");var fic=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],wI=function(){this._elementRef=r(ge);this._document=r(ei);this._focusMonitor=r(ax);this._parentMenu=r(eic,{optional:!0});this._changeDetectorRef=r(rw);this.role="menuitem";this.disableRipple=this.disabled=!1;this._hovered=new Jf;this._focused=new Jf;this._triggersSubmenu=this._highlighted=!1;r(Yw).load(Fy);var a,b;(a=this._parentMenu)==null||(b=a.addItem)==null||b.call(a,this)};g=wI.prototype;
g.focus=function(a,b){this._focusMonitor&&a?bx(this._focusMonitor,this._getHostElement(),a,b):this._getHostElement().focus(b);this._focused.next(this)};g.ngAfterViewInit=function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)};g.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef);this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this);this._hovered.complete();this._focused.complete()};
g._getTabIndex=function(){return this.disabled?"-1":"0"};g._getHostElement=function(){return this._elementRef.nativeElement};g._checkDisabled=function(a){this.disabled&&(a.preventDefault(),a.stopPropagation())};g._handleMouseEnter=function(){this._hovered.next(this)};g.getLabel=function(){for(var a=this._elementRef.nativeElement.cloneNode(!0),b=a.querySelectorAll("mat-icon, .material-icons"),c=0;c<b.length;c++)b[c].remove();var d;return((d=a.textContent)==null?void 0:d.trim())||""};
g._setHighlighted=function(a){this._highlighted=a;this._changeDetectorRef.markForCheck()};g._setTriggersSubmenu=function(a){this._triggersSubmenu=a;this._changeDetectorRef.markForCheck()};g._hasFocus=function(){return this._document&&this._document.activeElement===this._getHostElement()};wI.\u0275fac=function(a){return new (a||wI)};
wI.\u0275cmp=t({type:wI,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-focus-indicator"],hostVars:8,hostBindings:function(a,b){a&1&&M("click",function(c){return b._checkDisabled(c)})("mouseenter",function(){return b._handleMouseEnter()});a&2&&(eg("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled)("disabled",b.disabled||null),ng("mat-mdc-menu-item-highlighted",b._highlighted)("mat-mdc-menu-item-submenu-trigger",b._triggersSubmenu))},inputs:{role:"role",
disabled:[2,"disabled","disabled",rh],disableRipple:[2,"disableRipple","disableRipple",rh]},exportAs:["matMenuItem"],standalone:!0,features:[dg,$g],attrs:["mat-menu-item",""],ngContentSelectors:["mat-icon, [matMenuItemIcon]","*"],decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(a,
b){a&1&&(Dg(fic),Eg(0),I(1,"span",0),Eg(2,1),J(),K(3,"div",1),D(4,QFa,2,0,":svg:svg",2));a&2&&(C(3),F("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),C(),G(b._triggersSubmenu?4:-1))},dependencies:[Ky],encapsulation:2,changeDetection:0});var gic=ni("transformMenu",[qi("void",pi({opacity:0,transform:"scale(0.8)"})),si("void => enter",oi("120ms cubic-bezier(0, 0, 0.2, 1)",pi({opacity:1,transform:"scale(1)"}))),si("* => void",oi("100ms 25ms linear",pi({opacity:0})))]),hic=ni("fadeInItems",[qi("showing",pi({opacity:1})),si("void => *",[pi({opacity:0}),oi("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var iic=new Bd("MatMenuContent"),xI=function(){this._template=r(Jg);this._appRef=r(nh);this._injector=r(Sf);this._viewContainerRef=r(Kg);this._document=r(ei);this._changeDetectorRef=r(rw);this._attached=new Jf};
xI.prototype.attach=function(a){a=a===void 0?{}:a;this._portal||(this._portal=new ny(this._template,this._viewContainerRef));this.detach();this._outlet||(this._outlet=new py(this._document.createElement("div"),null,this._appRef,this._injector));var b=this._template.elementRef.nativeElement;b.parentNode.insertBefore(this._outlet.outletElement,b);this._changeDetectorRef.markForCheck();this._portal.attach(this._outlet,a);this._attached.next()};
xI.prototype.detach=function(){this._portal.isAttached&&this._portal.detach()};xI.prototype.ngOnDestroy=function(){this._outlet&&this._outlet.dispose()};xI.\u0275fac=function(a){return new (a||xI)};xI.\u0275dir=ud({type:xI,selectors:[["ng-template","matMenuContent",""]],standalone:!0,features:[Yg([{provide:iic,useExisting:xI}])]});var jic=0,kic=new Bd("mat-menu-default-options",{providedIn:"root",factory:SFa}),yI=function(){this._elementRef=r(ge);this._changeDetectorRef=r(rw);this._elevationPrefix="mat-elevation-z";this._baseElevation=null;this._directDescendantItems=new Lg;this._classList={};this._panelAnimationState="void";this._animationDone=new Jf;this.close=this.closed=new kw;this.panelId="mat-menu-panel-"+jic++;this._injector=r(Sf);var a=r(kic);this.overlayPanelClass=a.overlayPanelClass||"";this._xPosition=a.xPosition;
this._yPosition=a.yPosition;this.backdropClass=a.backdropClass;this.overlapTrigger=a.overlapTrigger;this.hasBackdrop=a.hasBackdrop};g=yI.prototype;g.ngOnInit=function(){this.setPositionClasses()};
g.ngAfterContentInit=function(){var a=this;this._updateDirectDescendants();this._keyManager=Ex(N2b(Bx(new Hx(this._directDescendantItems))));this._keyManager.tabOut.subscribe(function(){return a.closed.emit("tab")});this._directDescendantItems.changes.pipe(Mf(this._directDescendantItems),Nf(function(b){return Xe.apply(null,w(b.map(function(c){return c._focused})))})).subscribe(function(b){return Fx(a._keyManager,b)});this._directDescendantItems.changes.subscribe(function(b){var c=a._keyManager,d;
a._panelAnimationState==="enter"&&((d=c.activeItem)==null?0:d._hasFocus())&&(b=b.toArray(),d=Math.max(0,Math.min(b.length-1,c.activeItemIndex||0)),b[d]&&!b[d].disabled?c.setActiveItem(d):c.setNextItemActive())})};g.ngOnDestroy=function(){var a;(a=this._keyManager)==null||a.destroy();this._directDescendantItems.destroy();this.closed.complete();var b;(b=this._firstItemFocusRef)==null||b.destroy()};
g._hovered=function(){return this._directDescendantItems.changes.pipe(Mf(this._directDescendantItems),Nf(function(a){return Xe.apply(null,w(a.map(function(b){return b._hovered})))}))};g.addItem=function(){};g.removeItem=function(){};
g._handleKeydown=function(a){var b=a.keyCode,c=this._keyManager;switch(b){case 27:Yh(a)||(a.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:b!==38&&b!==40||Q2b(c,"keyboard");c.onKeydown(a);return}a.stopPropagation()};
var lic=function(a,b){b=b===void 0?"program":b;var c;(c=a._firstItemFocusRef)==null||c.destroy();a._firstItemFocusRef=Uf(function(){var d=null;a._directDescendantItems.length&&(d=a._directDescendantItems.first._getHostElement().closest('[role="menu"]'));if(!d||!d.contains(document.activeElement)){var e=a._keyManager;Q2b(e,b)._setActiveItemByIndex(0,1);!e.activeItem&&d&&d.focus()}},{injector:a._injector})};g=yI.prototype;
g.setElevation=function(a){if(this._baseElevation===null){var b,c=((b=typeof getComputedStyle==="function"?getComputedStyle(this._elementRef.nativeElement):null)==null?void 0:b.getPropertyValue("--mat-menu-base-elevation-level"))||"8";this._baseElevation=parseInt(c)}a="mat-elevation-z"+Math.min(this._baseElevation+a,24);b=Object.keys(this._classList).find(function(d){return d.startsWith("mat-elevation-z")});b&&b!==this._previousElevation||(b=Object.assign({},this._classList),this._previousElevation&&
(b[this._previousElevation]=!1),b[a]=!0,this._previousElevation=a,this._classList=b)};g.setPositionClasses=function(a,b){a=a===void 0?this.xPosition:a;b=b===void 0?this.yPosition:b;var c={};this._classList=Object.assign({},this._classList,(c["mat-menu-before"]=a==="before",c["mat-menu-after"]=a==="after",c["mat-menu-above"]=b==="above",c["mat-menu-below"]=b==="below",c));this._changeDetectorRef.markForCheck()};g._startAnimation=function(){this._panelAnimationState="enter"};
g._resetAnimation=function(){this._panelAnimationState="void"};g._onAnimationDone=function(a){this._animationDone.next(a);this._isAnimating=!1};g._onAnimationStart=function(a){this._isAnimating=!0;a.toState==="enter"&&this._keyManager.activeItemIndex===0&&(a.element.scrollTop=0)};g._updateDirectDescendants=function(){var a=this;this._allItems.changes.pipe(Mf(this._allItems)).subscribe(function(b){a._directDescendantItems.reset(b.filter(function(c){return c._parentMenu===a}));Pg(a._directDescendantItems)})};
ea.Object.defineProperties(yI.prototype,{xPosition:{configurable:!0,enumerable:!0,get:function(){return this._xPosition},set:function(a){this._xPosition=a;this.setPositionClasses()}},yPosition:{configurable:!0,enumerable:!0,get:function(){return this._yPosition},set:function(a){this._yPosition=a;this.setPositionClasses()}},panelClass:{configurable:!0,enumerable:!0,set:function(a){var b=this._previousPanelClass,c=Object.assign({},this._classList);b&&b.length&&b.split(" ").forEach(function(d){c[d]=
!1});(this._previousPanelClass=a)&&a.length&&(a.split(" ").forEach(function(d){c[d]=!0}),this._elementRef.nativeElement.className="");this._classList=c}},classList:{configurable:!0,enumerable:!0,get:function(){return this.panelClass},set:function(a){this.panelClass=a}}});yI.\u0275fac=function(a){return new (a||yI)};
yI.\u0275cmp=t({type:yI,selectors:[["mat-menu"]],contentQueries:function(a,b,c){a&1&&(Ng(c,iic,5),Ng(c,wI,5),Ng(c,wI,4));if(a&2){var d;Qg(d=Rg())&&(b.lazyContent=d.first);Qg(d=Rg())&&(b._allItems=d);Qg(d=Rg())&&(b.items=d)}},viewQuery:function(a,b){a&1&&Mg(Jg,5);if(a&2){var c;Qg(c=Rg())&&(b.templateRef=c.first)}},hostVars:3,hostBindings:function(a){a&2&&eg("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],
ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",rh],hasBackdrop:[2,"hasBackdrop","hasBackdrop",function(a){return a==null?null:rh(a)}],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[Yg([{provide:eic,useExisting:yI}]),dg,$g],ngContentSelectors:["*"],
decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(a){a&1&&(Dg(),D(0,RFa,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape, var(--mat-app-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-app-surface-container));will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.mat-mdc-menu-panel.ng-animating:has(.mat-mdc-menu-content:empty){display:none}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-app-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-app-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-app-on-surface) calc(var(--mat-app-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-app-on-surface) calc(var(--mat-app-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: active){.mat-mdc-menu-submenu-icon{fill:CanvasText}}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],
encapsulation:2,data:{animation:[gic,hic]},changeDetection:0});var mic=new Bd("mat-menu-scroll-strategy",{providedIn:"root",factory:function(){var a=r(ty);return function(){return a.scrollStrategies.reposition()}}}),nic={provide:mic,deps:[ty],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},oic=Uh({passive:!0}),zI=function(){var a=this;this._overlay=r(ty);this._element=r(ge);this._viewContainerRef=r(Kg);this._menuItemInstance=r(wI,{optional:!0,self:!0});this._dir=r(Jx,{optional:!0});this._focusMonitor=r(ax);this._ngZone=r(hh);
this._scrollStrategy=r(mic);this._changeDetectorRef=r(rw);this._overlayRef=null;this._menuOpen=!1;this._menuCloseSubscription=this._hoverSubscription=this._closingActionsSubscription=me.EMPTY;this._handleTouchStart=function(c){Hoa(c)||(a._openedBy="touch")};this._openedBy=void 0;this.restoreFocus=!0;this.onMenuOpen=this.menuOpened=new kw;this.onMenuClose=this.menuClosed=new kw;var b=r(eic,{optional:!0});this._parentMaterialMenu=b instanceof yI?b:void 0;this._element.nativeElement.addEventListener("touchstart",
this._handleTouchStart,oic)};zI.prototype.ngAfterContentInit=function(){this._handleHover()};zI.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null);this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,oic);this._menuCloseSubscription.unsubscribe();this._closingActionsSubscription.unsubscribe();this._hoverSubscription.unsubscribe()};var AI=function(a){return!!(a._menuItemInstance&&a._parentMaterialMenu&&a.menu)};g=zI.prototype;
g.openMenu=function(){var a=this,b=this.menu;if(!this._menuOpen&&b){var c=this._createOverlay(b),d=c.getConfig(),e=d.positionStrategy;this._setPosition(b,e);d.hasBackdrop=b.hasBackdrop==null?!AI(this):b.hasBackdrop;c.attach(this._getPortal(b));b.lazyContent&&b.lazyContent.attach(this.menuData);this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return a.closeMenu()});this._initMenu(b);b instanceof yI&&(b._startAnimation(),b._directDescendantItems.changes.pipe(Of(b.close)).subscribe(function(){c3b(g3b(e,
!1));g3b(e,!0)}))}};g.closeMenu=function(){var a;(a=this.menu)==null||a.close.emit()};g.focus=function(a,b){this._focusMonitor&&a?bx(this._focusMonitor,this._element,a,b):this._element.nativeElement.focus(b)};g.updatePosition=function(){var a;(a=this._overlayRef)==null||a.updatePosition()};
g._destroyMenu=function(a){var b=this;if(this._overlayRef&&this.menuOpen){var c=this.menu;this._closingActionsSubscription.unsubscribe();this._overlayRef.detach();!this.restoreFocus||a!=="keydown"&&this._openedBy&&AI(this)||this.focus(this._openedBy);this._openedBy=void 0;if(c instanceof yI)c._resetAnimation(),c.lazyContent?c._animationDone.pipe(Ye(function(e){return e.toState==="void"}),Cf(),Of(c.lazyContent._attached)).subscribe({next:function(){return c.lazyContent.detach()},complete:function(){return b._setIsMenuOpen(!1)}}):
this._setIsMenuOpen(!1);else{this._setIsMenuOpen(!1);var d;c==null||(d=c.lazyContent)==null||d.detach()}}};g._initMenu=function(a){a.parentMenu=AI(this)?this._parentMaterialMenu:void 0;a.direction=this.dir;this._setMenuElevation(a);lic(a,this._openedBy||"program");this._setIsMenuOpen(!0)};g._setMenuElevation=function(a){if(a.setElevation){for(var b=0,c=a.parentMenu;c;)b++,c=c.parentMenu;a.setElevation(b)}};
g._setIsMenuOpen=function(a){a!==this._menuOpen&&((this._menuOpen=a)?this.menuOpened.emit():this.menuClosed.emit(),AI(this)&&this._menuItemInstance._setHighlighted(a),this._changeDetectorRef.markForCheck())};g._createOverlay=function(a){if(!this._overlayRef){var b=this._getOverlayConfig(a);this._subscribeToPositions(a,b.positionStrategy);this._overlayRef=this._overlay.create(b);this._overlayRef.keydownEvents().subscribe()}return this._overlayRef};
g._getOverlayConfig=function(a){return new cy({positionStrategy:h3b(e3b(g3b(ky(this._overlay.position(),this._element))),".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:a.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:a.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr"})};
g._subscribeToPositions=function(a,b){var c=this;a.setPositionClasses&&b.positionChanges.subscribe(function(d){c._ngZone.run(function(){a.setPositionClasses(d.connectionPair.overlayX==="start"?"after":"before",d.connectionPair.overlayY==="top"?"below":"above")})})};
g._setPosition=function(a,b){var c=k(a.xPosition==="before"?["end","start"]:["start","end"]),d=c.next().value;c=c.next().value;var e=k(a.yPosition==="above"?["bottom","top"]:["top","bottom"]),f=e.next().value;e=e.next().value;var h=k([f,e]),l=h.next().value;h=h.next().value;var q=k([d,c]),v=q.next().value;q=q.next().value;var y=0;AI(this)?(q=d=a.xPosition==="before"?"start":"end",c=v=d==="end"?"start":"end",this._parentMaterialMenu&&(this._parentInnerPadding==null&&(this._parentInnerPadding=(a=this._parentMaterialMenu.items.first)?
a._getHostElement().offsetTop:0),y=f==="bottom"?this._parentInnerPadding:-this._parentInnerPadding)):a.overlapTrigger||(l=f==="top"?"bottom":"top",h=e==="top"?"bottom":"top");fy(b,[{originX:d,originY:l,overlayX:v,overlayY:f,offsetY:y},{originX:c,originY:l,overlayX:q,overlayY:f,offsetY:y},{originX:d,originY:h,overlayX:v,overlayY:e,offsetY:-y},{originX:c,originY:h,overlayX:q,overlayY:e,offsetY:-y}])};
g._menuClosingActions=function(){var a=this,b=this._overlayRef.backdropClick(),c=this._overlayRef._detachments,d=this._parentMaterialMenu?this._parentMaterialMenu.closed:Fe(),e=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Ye(function(f){return f!==a._menuItemInstance}),Ye(function(){return a._menuOpen})):Fe();return Xe(b,d,e,c)};g._handleMousedown=function(a){Goa(a)||(this._openedBy=a.button===0?"mouse":void 0,AI(this)&&a.preventDefault())};
g._handleKeydown=function(a){a=a.keyCode;if(a===13||a===32)this._openedBy="keyboard";AI(this)&&(a===39&&this.dir==="ltr"||a===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())};g._handleClick=function(a){AI(this)?(a.stopPropagation(),this.openMenu()):this._menuOpen?this.closeMenu():this.openMenu()};
g._handleHover=function(){var a=this;AI(this)&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Ye(function(b){return b===a._menuItemInstance&&!b.disabled}),Df(0,Zo)).subscribe(function(){a._openedBy="mouse";a.menu instanceof yI&&a.menu._isAnimating?a.menu._animationDone.pipe(Cf(),Df(0,Zo),Of(a._parentMaterialMenu._hovered())).subscribe(function(){return a.openMenu()}):a.openMenu()}))};
g._getPortal=function(a){this._portal&&this._portal.templateRef===a.templateRef||(this._portal=new ny(a.templateRef,this._viewContainerRef));return this._portal};
ea.Object.defineProperties(zI.prototype,{_deprecatedMatMenuTriggerFor:{configurable:!0,enumerable:!0,get:function(){return this.menu},set:function(a){this.menu=a}},menu:{configurable:!0,enumerable:!0,get:function(){return this._menu},set:function(a){var b=this;if(a!==this._menu){this._menu=a;this._menuCloseSubscription.unsubscribe();a&&(this._menuCloseSubscription=a.close.subscribe(function(d){b._destroyMenu(d);d!=="click"&&d!=="tab"||!b._parentMaterialMenu||b._parentMaterialMenu.closed.emit(d)}));
var c;(c=this._menuItemInstance)==null||c._setTriggersSubmenu(AI(this))}}},menuOpen:{configurable:!0,enumerable:!0,get:function(){return this._menuOpen}},dir:{configurable:!0,enumerable:!0,get:function(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}}});zI.\u0275fac=function(a){return new (a||zI)};
zI.\u0275dir=ud({type:zI,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(a,b){a&1&&M("click",function(c){return b._handleClick(c)})("mousedown",function(c){return b._handleMousedown(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&eg("aria-haspopup",b.menu?"menu":null)("aria-expanded",b.menuOpen)("aria-controls",b.menuOpen?b.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for",
"_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0});var BI=function(){this.segments=[];this.clickMain=new rG;this.clickSegment=new rG};BI.prototype.ngOnInit=function(){};ea.Object.defineProperties(BI.prototype,{showMoreButton:{configurable:!0,enumerable:!0,get:function(){return this.segments.length>0}}});BI.\u0275fac=function(a){return new (a||BI)};
BI.\u0275cmp=t({type:BI,selectors:[["b-fab-segmented"]],inputs:{label:"label",icon:"icon",segments:"segments",href:"href"},outputs:{clickMain:"clickMain",clickSegment:"clickSegment"},decls:5,vars:6,consts:[["createMenu","matMenu"],[1,"shrink-wrap"],["mat-button","","role","button",1,"main","button-xl",3,"click"],[1,"icon-xl",3,"svgIcon"],["mat-button","","aria-label","More options",1,"more","button-xl","square-left",3,"matMenuTriggerFor"],["svgIcon","arrow-dropdown"],["mat-menu-item","",3,"href"],
["mat-menu-item","",3,"click","href"]],template:function(a,b){a&1&&(I(0,"span",1)(1,"a",2),M("click",function(){return b.clickMain.emit(b.label)}),K(2,"mat-icon",3),Q(3),J(),D(4,UFa,6,1),J());a&2&&(C(),ng("square-right",b.showMoreButton),eg("href",b.href||void 0,of),C(),F("svgIcon",b.icon),C(),R(" ",b.label," "),C(),G(b.showMoreButton?4:-1))},dependencies:[$D,vD,Wy,Vy,vI,yI,wI,zI],styles:["a.gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not([disabled]){vertical-align:middle;color:#202124;color:var(--text-default);font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500}.shrink-wrap[_ngcontent-%COMP%]{display:inline-block;border-radius:24px;white-space:nowrap;-webkit-transition:box-shadow .2s ease-in-out;transition:box-shadow .2s ease-in-out;background-color:#fff;background-color:var(--fab-button-bg);box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15)}.shrink-wrap[_ngcontent-%COMP%]:hover{box-shadow:0 1px 3px 0 rgba(0,0,0,.3),0 4px 8px 3px rgba(0,0,0,.15)}.mat-mdc-button[_ngcontent-%COMP%]{border-radius:24px}.mat-mdc-button[_ngcontent-%COMP%]   mat-icon.icon-xl[_ngcontent-%COMP%]{--mat-text-button-icon-spacing:4px;height:36px;width:36px}.main[_ngcontent-%COMP%]{padding-left:10px;padding-right:24px}.main.square-right[_ngcontent-%COMP%]{padding-right:8px}.gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mat-text-button-state-layer-color:var(--base-fg)}.gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]:focus, .gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]:hover{color:#202124;color:var(--text-default);--mdc-text-button-hover-label-text-color:var(--text-default);--mdc-text-button-focus-label-text-color:var(--text-default)}.gmat-mdc-button.mat-mdc-button.more[_ngcontent-%COMP%]{padding-right:10px;padding-left:4px;min-width:0;color:#80868b;color:var(--gfx-muted)}.gmat-mdc-button.mat-mdc-button.more[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{line-height:24px;height:24px;width:24px;--mat-text-button-icon-spacing:0px}.more[_ngcontent-%COMP%]{-webkit-transition:border .2s ease-in-out;transition:border .2s ease-in-out;border-left:1px solid transparent}.shrink-wrap[_ngcontent-%COMP%]:hover   .more[_ngcontent-%COMP%]{border-left:1px solid;border-left-color:#dadce0;border-left-color:var(--divider)}\n/*# sourceMappingURL=fab_segmented.css.map */"]});var pic=function(a,b){return b.value},CI=function(){this.choices=[];this.value="";this.valueChange=new rG};CI.prototype.onClickButton=function(a){this.value=a;this.valueChange.next(a)};CI.\u0275fac=function(a){return new (a||CI)};
CI.\u0275cmp=t({type:CI,selectors:[["button-toggle"]],inputs:{choices:"choices",value:"value"},outputs:{valueChange:"valueChange"},decls:2,vars:0,consts:[["mat-button","","color","primary","role","radio",1,"medium",3,"disableRipple","matTooltip"],["mat-button","","color","primary","role","radio",1,"medium",3,"click","disableRipple","matTooltip"],[1,"icon-s",3,"svgIcon"]],template:function(a,b){a&1&&tg(0,WFa,3,5,"button",0,pic);a&2&&ug(b.choices)},dependencies:[$D,vD,Vy,FH,HH],styles:["[_nghost-%COMP%]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;border-radius:4px;box-shadow:inset 0 0 0 1px #dadce0;box-shadow:inset 0 0 0 1px var(--divider)}button[_ngcontent-%COMP%]   .icon-s[_ngcontent-%COMP%]{margin-top:-6px}.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button[_ngcontent-%COMP%]{min-width:24px}.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button[aria-checked=true][_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--text-inverse)}.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button[_ngcontent-%COMP%]{border-radius:0;padding:0 8px;box-shadow:1px 0 0 0 #dadce0;box-shadow:1px 0 0 0 var(--divider)}.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button[_ngcontent-%COMP%]:first-of-type{border-top-left-radius:4px;border-bottom-left-radius:4px;padding-left:12px}.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button[_ngcontent-%COMP%]:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px;padding-right:12px}.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button[_ngcontent-%COMP%]:last-of-type, .gmat-mdc-button.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button[aria-checked=true][_ngcontent-%COMP%]{box-shadow:none}\n/*# sourceMappingURL=button_toggle.css.map */"]});var DI=function(){};DI.\u0275fac=function(a){return new (a||DI)};DI.\u0275mod=u({type:DI});DI.\u0275inj=p({providers:[nic],imports:[Qw,Ny,yy,xy,Zx,yy]});var EI=function(){};EI.\u0275fac=function(a){return new (a||EI)};EI.\u0275mod=u({type:EI});EI.\u0275inj=p({providers:[{provide:ty,useClass:EH}],imports:[DI]});var qic=[BI,CI],FI=function(){};FI.\u0275fac=function(a){return new (a||FI)};FI.\u0275mod=u({type:FI});FI.\u0275inj=p({imports:[RE,JH,EI,LH]});var GI=function(){};GI.prototype.onPressBack=function(){var a;(a=window.history)==null||a.back()};GI.\u0275fac=function(a){return new (a||GI)};
GI.\u0275cmp=t({type:GI,selectors:[["empty-toolbar"]],decls:3,vars:0,consts:[[1,"button-bar","flex-kids-x","align-items-center","border-bottom","padded-s"],["mat-icon-button","","color","primary","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward"]],template:function(a,b){a&1&&(I(0,"section",0)(1,"button",1),M("click",function(){return b.onPressBack()}),K(2,"mat-icon",2),J()())},dependencies:[$D,vD,Xy,FH,HH],styles:[".button-bar[_ngcontent-%COMP%] {\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var HI=function(){};HI.\u0275fac=function(a){return new (a||HI)};HI.\u0275cmp=t({type:HI,selectors:[["b-glue"]],ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"no-wrapping"]],template:function(a){a&1&&(Dg(),I(0,"span",0),Eg(1),J())},styles:['.no-wrapping[_ngcontent-%COMP%] {\n  white-space: nowrap;\n}\n\n.no-wrapping[_ngcontent-%COMP%]::after {\n  content: "\\002060"\n}'],changeDetection:0});var II=function(){var a=this;this.cdr=r(sG,{self:!0});this.events=r(nE);this.ngZone=r(hh);this.lastOpenPosition=this.width=220;this.hideToggleBtnOnOpen=this.disableToggleBtn=!1;this.direction="ltr";this.maxWidth=700;this.widthChanged=new rG;this.widthAtDragStart=this.width;this.startDragging=function(b){a.dragStart=b;a.widthAtDragStart=a.width};this.minSnapWidth=185;this.onMousemove=function(b){a.isDragging&&(a.setWidth(a.widthAtDragStart+(b.pageX-(a.dragStart||0))*(a.isLTR?1:-1)),a.cdr.detectChanges())};
this.onMouseup=function(){a.dragStart=void 0;a.cdr.detectChanges()};this.broadcastWidthChange=VA(function(b){a.widthChanged.emit(b);a.events.sidebarWidthChanged.next(b)},400);this.trackKeyboardResizing=VA(function(){vo("sidebar","resizeKeyboard")},2E3)};II.prototype.ngOnInit=function(){var a=this;this.ngZone.runOutsideAngular(function(){document.addEventListener("mousemove",a.onMousemove)});document.addEventListener("mouseup",this.onMouseup,!0)};
II.prototype.ngOnDestroy=function(){document.removeEventListener("mousemove",this.onMousemove);document.removeEventListener("mouseup",this.onMouseup,!0)};var ric=function(a,b){var c=a.width+b;c<a.minSnapWidth&&(c=b<0?0:a.minSnapWidth);a.setWidth(c);a.trackKeyboardResizing()};II.prototype.toggle=function(){this.setWidth(this.isClosed?this.lastOpenPosition:0)};
II.prototype.setWidth=function(a){var b=this.minSnapWidth,c=this.maxWidth;a=a<90?28:a<b?b:Math.min(a,c===void 0?700:c);a>=this.minSnapWidth&&(this.lastOpenPosition=a);this.width=a;this.broadcastWidthChange(a)};
ea.Object.defineProperties(II.prototype,{minWidth:{configurable:!0,enumerable:!0,get:function(){return this.minSnapWidth},set:function(a){a=Number(a);Number.isNaN(a)?this.minSnapWidth=185:this.minSnapWidth=a}},size:{configurable:!0,enumerable:!0,get:function(){return this.width},set:function(a){var b=Number(a);a==="open"?b=this.lastOpenPosition:Number.isNaN(b)&&(b=220);this.setWidth(b)}},isLTR:{configurable:!0,enumerable:!0,get:function(){return this.direction==="ltr"}},isClosed:{configurable:!0,
enumerable:!0,get:function(){return this.width<this.minSnapWidth}},toggleButtonLabel:{configurable:!0,enumerable:!0,get:function(){return this.isClosed?"Open Navigation":"Close Navigation"}},isDragging:{configurable:!0,enumerable:!0,get:function(){return this.dragStart!=null}}});II.\u0275fac=function(a){return new (a||II)};
II.\u0275cmp=t({type:II,selectors:[["b-resizable-sidebar"]],hostVars:2,hostBindings:function(a,b){a&2&&og(b.direction)},inputs:{minWidth:"minWidth",disableToggleBtn:"disableToggleBtn",hideToggleBtnOnOpen:"hideToggleBtnOnOpen",direction:"direction",size:"size",maxWidth:"maxWidth"},outputs:{widthChanged:"widthChanged"},features:[Yg([sG])],ngContentSelectors:["*"],decls:5,vars:12,consts:[["cdkScrollable","",1,"inner",3,"ngClass"],[1,"content"],["tabindex","0","role","slider","aria-label","Resize side navigation bar",
"aria-orientation","horizontal",1,"resizeHandle",3,"mousedown","keyup.arrowleft","keyup.arrowright","keyup.space","keyup.enter","dblclick"],["mat-icon-button","","matTooltipPosition","right",1,"toggleButton","xs",3,"ngClass","isClosed","matTooltip"],["mat-icon-button","","matTooltipPosition","right",1,"toggleButton","xs",3,"click","ngClass","matTooltip"],[3,"svgIcon"]],template:function(a,b){a&1&&(Dg(),I(0,"div",0)(1,"div",1),Eg(2),J(),I(3,"div",2),M("mousedown",function(c){return b.startDragging(c.pageX)})("keyup.arrowleft",
function(){return ric(b,-10)})("keyup.arrowright",function(){return ric(b,10)})("keyup.space",function(){return b.toggle()})("keyup.enter",function(){return b.toggle()})("dblclick",function(){return b.toggle()}),J()(),D(4,XFa,2,6,"button",3));a&2&&(mg("width",b.width+"px"),ng("isDragging",b.isDragging)("isClosed",b.isClosed),F("ngClass",b.direction),C(),mg("width",b.lastOpenPosition+"px"),C(2),eg("aria-valuenow",b.width)("aria-valuetext",b.width+" pixels"),C(),G(b.disableToggleBtn||b.hideToggleBtnOnOpen&&
!b.isClosed?-1:4))},dependencies:[Ew,$D,vD,Xy,FH,HH,Vx],styles:['[_nghost-%COMP%]{position:relative}.inner[_ngcontent-%COMP%]{height:100%;overflow-y:auto;overflow-x:hidden;transition:width .2s cubic-bezier(0.165, 0.84, 0.44, 1);display:flex;flex-direction:column}.inner.ltr[_ngcontent-%COMP%]{border-right:1px solid;border-color:#dadce0;border-color:var(--divider)}.inner.rtl[_ngcontent-%COMP%]{border-left:1px solid;border-color:#dadce0;border-color:var(--divider)}.inner.isDragging[_ngcontent-%COMP%]{transition:none}.content[_ngcontent-%COMP%]{position:relative;flex:1;opacity:1;transition:opacity .1s ease-in-out;transition-delay:.1s}.isClosed[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{display:none;opacity:0;transition-delay:0s}.isDragging[_ngcontent-%COMP%]{user-select:none}.resizeHandle[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;width:8px;cursor:col-resize}.ltr[_ngcontent-%COMP%]   .resizeHandle[_ngcontent-%COMP%]{right:0}.rtl[_ngcontent-%COMP%]   .resizeHandle[_ngcontent-%COMP%]{left:0}.toggleButton[_ngcontent-%COMP%]{position:absolute;bottom:0;top:0;margin:auto}.toggleButton.ltr[_ngcontent-%COMP%]{right:2px}.toggleButton.rtl[_ngcontent-%COMP%]{left:2px}.toggleButton.isClosed[_ngcontent-%COMP%]{z-index:2}.toggleButton.isClosed.ltr[_ngcontent-%COMP%]{right:6px}.toggleButton.isClosed.rtl[_ngcontent-%COMP%]{left:6px}.toggleButton[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{transition:transform .2s ease-in-out}.toggleButton.isClosed[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{transform:rotateZ(180deg)}.resizeHandle[_ngcontent-%COMP%]:hover, .resizeHandle[_ngcontent-%COMP%]:focus, .isDragging[_ngcontent-%COMP%]   .resizeHandle[_ngcontent-%COMP%]{background:url("https://www.gstatic.com/buganizer/img/v0/grippy_large.png") no-repeat 1px 50%;background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}/*# sourceMappingURL=resizable_sidebar.css.map */'],
changeDetection:0});var sic=new Bd("intersectionObserverFactory",{factory:function(){return function(a,b){return new IntersectionObserver(a,b)}}}),tic=new Bd("isScrolledOnScreen",{factory:function(){return{fully:YFa,partially:ZFa}}}),JI=function(){this.intersectionObserverBuilder=r(sic);this.isScrolledOnScreen=r(tic)};JI.prototype.getObservable=function(a,b){b=b===void 0?!1:b;return window.IntersectionObserver!=null?$Fa(a,this.intersectionObserverBuilder,this.isScrolledOnScreen,b):aGa(a,this.isScrolledOnScreen,b)};
JI.\u0275fac=function(a){return new (a||JI)};JI.\u0275prov=n({token:JI,factory:JI.\u0275fac,providedIn:"root"});var KI=function(a){this.internalArray_=m(a,0,KI.messageId)};Y(KI,V);KI.prototype.getUrl=function(){return Gh(this,1)};KI.prototype.setUrl=function(a){return gk(this,1,a)};KI.prototype.hasUrl=function(){return Hj(this,1)};KI.messageId="b.ImageRedirectRequest";var LI=function(a){this.internalArray_=m(a,0,LI.messageId)};Y(LI,V);LI.prototype.getUrl=function(){return Gh(this,1)};LI.prototype.setUrl=function(a){return gk(this,1,a)};LI.prototype.hasUrl=function(){return Hj(this,1)};LI.messageId="b.ImageRedirectResponse";var MI=function(){this.executor=r(OB)},uic=function(a,b){var c=new KI;c.setUrl(b);return a.executor.post({url:"action/imageRedirect",body:c,responseConstructor:LI}).pipe(B(function(d){return d.getUrl()}))};MI.\u0275fac=function(a){return new (a||MI)};MI.\u0275prov=n({token:MI,factory:MI.\u0275fac,providedIn:"root"});var bGa=RegExp("^https?:\\/\\/((?:screenshot.googleplex.com|screenshot.corp.google.com|3p-screenshot.corp.google.com|screen.corp.google.com|screenshot|screen)\\/([\\w-]+)(?:\\.png)?$)"),eGa=RegExp("^(https?:\\/\\/)(www\\.)?(go|goto|goto\\.google\\.com)\\/([A-Za-z0-9-]+$)");var mGa={"\u2705":"good","\u26a0\ufe0f":"warn","\u26a0":"warn","\u26d4":"bad","\u274c":"bad","\ud83d\uded1":"bad","\ud83d\udeab":"bad"};var NI=function(){var a=this;this.imageRedirector=r(MI);this.src$=new bo("");this.showImage$=new bo(!1);this.error$=new bo(!1);this.srcTruncated$=this.src$.pipe(B(function(b){var c=b;c=c===void 0?"":c;var d=d===void 0?48:d;b=[].concat(w(c));if(b.length<=d)d=c;else{var e=Math.floor(d/2);c=b.slice(0,e-1).join("");d=b.slice(-(e-(d%2!==0?1:2))).join("");String.prototype.trimEnd!=null&&String.prototype.trimStart!=null&&(c=c.trimEnd(),d=d.trimStart());d=c+"..."+d}return d}));this.srcRedirected$=Me([this.src$,
this.showImage$]).pipe(Ye(function(b){b=k(b);b.next();return b.next().value}),Nf(function(b){var c=k(b).next().value;return(b=gGa(c,!0))?Fe(b):uic(a.imageRedirector,c).pipe(xf(function(){a.error$.next(!0);return c}))}))};NI.prototype.trigger=function(a){a.preventDefault();a.stopPropagation();this.showImage$.next(!0)};
ea.Object.defineProperties(NI.prototype,{showByDefault:{configurable:!0,enumerable:!0,set:function(a){this.showImage$.next(a)}},src:{configurable:!0,enumerable:!0,set:function(a){this.src$.next(a);this.error$.next(!1)},get:function(){return this.src$.value}}});NI.\u0275fac=function(a){return new (a||NI)};
NI.\u0275cmp=t({type:NI,selectors:[["b-secure-image-widget"]],inputs:{showByDefault:"showByDefault",src:"src",alt:"alt"},decls:3,vars:3,consts:[["svgIcon","broken-image",1,"icon-l",3,"matTooltip"],[3,"src"],["tabindex","0",1,"normal-link",3,"href","title"],["tabindex","0",1,"normal-link",3,"click","keydown.enter","href","title"],["svgIcon","image",1,"icon-s"]],template:function(a,b){a&1&&(D(0,sGa,3,3),S(1,"async"),D(2,tGa,2,4,"mat-icon",0));a&2&&G(U(1,1,b.error$)===!1?0:2)},dependencies:[$D,FH,HH,
HI,Iw],styles:["a[_ngcontent-%COMP%]{word-break:break-all;margin:0 2px}a[_ngcontent-%COMP%]:hover{text-decoration:underline}mat-icon[_ngcontent-%COMP%]{vertical-align:middle;line-height:18px;margin-top:-3px;margin-right:1px}img[_ngcontent-%COMP%]{max-width:100%}/*# sourceMappingURL=secure_image.css.map */"],changeDetection:0});var OI=function(){};OI.prototype.onClick=function(a,b){vic(b)&&a.preventDefault()};var vic=function(a){if(window.getSelection){var b=window.getSelection();if(b&&!b.isCollapsed&&a.contains(b.focusNode))return!0}return!1};OI.\u0275fac=function(a){return new (a||OI)};OI.\u0275dir=ud({type:OI,selectors:[["","selectionPreventsClick",""]],hostBindings:function(a,b){a&1&&M("click",function(c){return b.onClick(c,c.target)})}});var wic={HIDE:"HIDE",COLLAPSE:"COLLAPSE",SHOW:"SHOW"},PI=function(){var a=this;this.activeSession=r(dv);this.userPreferencesManager=r(yH);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.DisplayMode=wic;this.src$=new bo("");this.isMarkdownImage$=new bo(!1);this.displayMode$=Me([this.src$,this.userPreferencesManager.showInlineImages$,this.isMarkdownImage$]).pipe(B(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;return b&&a.activeSession.isInternalSession()?
!d&&c?"COLLAPSE":d?"SHOW":"HIDE":"HIDE"}),Mf("HIDE"))};ea.Object.defineProperties(PI.prototype,{src:{configurable:!0,enumerable:!0,set:function(a){this.src$.next(a)},get:function(){return this.src$.value}},isMarkdownImage:{configurable:!0,enumerable:!0,set:function(a){this.isMarkdownImage$.next(a)},get:function(){return this.isMarkdownImage$.value}}});PI.\u0275fac=function(a){return new (a||PI)};
PI.\u0275cmp=t({type:PI,selectors:[["b-snipit-image"]],inputs:{src:"src",isMarkdownImage:"isMarkdownImage",alt:"alt"},decls:2,vars:3,consts:[[3,"src","alt","showByDefault"],["target","_blank",3,"href","rel"],[1,"thumbnail",3,"src","alt","showByDefault"]],template:function(a,b){a&1&&(D(0,wGa,3,3),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.src$))?0:-1,c)}},dependencies:[NI,Iw],styles:["[_nghost-%COMP%]   b-secure-image-widget.thumbnail[_ngcontent-%COMP%]{display:inline-block;margin-top:8px;margin-bottom:8px;max-width:70%}[_nghost-%COMP%]     b-secure-image-widget.thumbnail img{border:2px solid;border-color:#e8eaed;border-color:var(--c200);border-radius:8px;min-width:18px;min-height:18px;max-width:100%;max-height:350px}/*# sourceMappingURL=snipit_image.css.map */"],
changeDetection:0});w(qic);var QI=function(){};QI.\u0275fac=function(a){return new (a||QI)};QI.\u0275mod=u({type:QI});QI.\u0275inj=p({imports:[RE,JH,LH,Zx,FI]});/*

 Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: MIT
*/
var RI=function(a,b){this.sequence_=[];this.onCancelFunction_=a;this.defaultScope_=b||null;this.hadError_=this.fired_=!1;this.result_=void 0;this.silentlyCanceled_=this.blocking_=this.blocked_=!1;this.unhandledErrorId_=0;this.parent_=null;this.branches_=0};
RI.prototype.cancel=function(a){if(this.fired_)this.result_ instanceof RI&&this.result_.cancel();else{if(this.parent_){var b=this.parent_;delete this.parent_;a?b.cancel(a):(b.branches_--,b.branches_<=0&&b.cancel())}this.onCancelFunction_?this.onCancelFunction_.call(this.defaultScope_,this):this.silentlyCanceled_=!0;this.fired_||(a=new xic(this),yic(this),SI(this,!1,a))}};RI.prototype.continue_=function(a,b){this.blocked_=!1;SI(this,a,b)};
var SI=function(a,b,c){a.fired_=!0;a.result_=c;a.hadError_=!b;zic(a)},yic=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new Aic(a);a.silentlyCanceled_=!1}};RI.prototype.callback=function(a){yic(this);SI(this,!0,a)};RI.prototype.addCallback=function(a,b){return Bic(this,a,null,b)};var Bic=function(a,b,c,d){a.sequence_.push([b,c,d]);a.fired_&&zic(a);return a};
RI.prototype.then=function(a,b,c){var d,e,f=new XA(function(h,l){e=h;d=l});Bic(this,e,function(h){h instanceof xic?f.cancel():d(h);return Cic},this);return f.then(a,b,c)};RI.prototype.$goog_Thenable=!0;RI.prototype.isError=function(a){return a instanceof Error};
var Dic=function(a){return cZb(a.sequence_,function(b){return typeof b[1]==="function"})},Cic={},zic=function(a){if(a.unhandledErrorId_&&a.fired_&&Dic(a)){var b=a.unhandledErrorId_,c=Eic[b];c&&(ya.clearTimeout(c.id_),delete Eic[b]);a.unhandledErrorId_=0}a.parent_&&(a.parent_.branches_--,delete a.parent_);b=a.result_;for(var d=c=!1;a.sequence_.length&&!a.blocked_;){var e=a.sequence_.shift(),f=e[0],h=e[1];e=e[2];if(f=a.hadError_?h:f)try{var l=f.call(e||a.defaultScope_,b);l===Cic&&(l=void 0);l!==void 0&&
(a.hadError_=a.hadError_&&(l==b||a.isError(l)),a.result_=b=l);if(p6b(b)||typeof ya.Promise==="function"&&b instanceof ya.Promise)d=!0,a.blocked_=!0}catch(q){b=q,a.hadError_=!0,Dic(a)||(c=!0)}}a.result_=b;d&&(l=ov(a.continue_,a,!0),d=ov(a.continue_,a,!1),b instanceof RI?(Bic(b,l,d),b.blocking_=!0):b.then(l,d));c&&(b=new Fic(b),Eic[b.id_]=b,a.unhandledErrorId_=b.id_)},Aic=function(){wa.call(this)};qv(Aic,wa);Aic.prototype.message="Deferred has already fired";Aic.prototype.name="AlreadyCalledError";
var xic=function(){wa.call(this)};qv(xic,wa);xic.prototype.message="Deferred was canceled";xic.prototype.name="CanceledError";var Fic=function(a){this.id_=ya.setTimeout(ov(this.throwError,this),0);this.error_=a};Fic.prototype.throwError=function(){delete Eic[this.id_];throw this.error_;};var Eic={};var BGa=function(a,b){var c=b||{};b=c.document||document;var d=Jc(a).toString(),e=(new FA(b)).createElement("SCRIPT"),f={script_:e,timeout_:void 0},h=new RI(Gic,f),l=null,q=c.timeout!=null?c.timeout:5E3;q>0&&(l=window.setTimeout(function(){Hic(e,!0);var v=new Iic(1,"Timeout reached for loading script "+d);yic(h);SI(h,!1,v)},q),f.timeout_=l);e.onload=e.onreadystatechange=function(){e.readyState&&e.readyState!="loaded"&&e.readyState!="complete"||(Hic(e,c.cleanupWhenDone||!1,l),h.callback(null))};e.onerror=
function(){Hic(e,!0,l);var v=new Iic(0,"Error while loading script "+d);yic(h);SI(h,!1,v)};f=c.attributes||{};Cea(f,{type:"text/javascript",charset:"UTF-8"});S5b(e,f);Wc(e,a);Jic(b).appendChild(e);return h},Jic=function(a){var b=IA("HEAD",a);return b&&b.length!==0?b[0]:a.documentElement},Gic=function(){if(this&&this.script_){var a=this.script_;a&&a.tagName=="SCRIPT"&&Hic(a,!0,this.timeout_)}},Hic=function(a,b,c){c!=null&&ya.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=
function(){};b&&window.setTimeout(function(){PA(a)},0)},Iic=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);wa.call(this,c);this.code=a};qv(Iic,wa);var CGa=fv(["https://apis.google.com/js/api.js"]),xGa=null,EGa=new WeakMap;var TI=function(a,b,c,d){c=c===void 0?{}:c;d=d===void 0?{}:d;var e=this;this.gapiUrl=a;this.gapiKey=b;this.gapiConfigUpdates=c;this.gapiAuthParams=d;this.gapi=Re(function(){return zGa().then(function(f){f=f||window.gapi;e.setGapiConfig(f);return GGa(f,{apiKey:e.gapiKey,clientId:e.gapiAuthParams.clientId,scope:e.gapiAuthParams.scope}).then(function(){return f})})})};Y(TI,whc);
TI.prototype.makeRequest=function(a){var b=this;return this.gapi.pipe(Oe(function(c){var d=Fe(void 0);b.gapiAuthParams.minAuthTokenTimeRemaining!==void 0&&(d=ue(FGa(c,b.gapiAuthParams.minAuthTokenTimeRemaining)));return d.pipe(Oe(function(){b.setGapiConfig(c);return b.parseResponse(c.client.request({path:b.gapiUrl+a.path,method:a.httpMethod,body:a.body,params:a.queryParams,headers:a.headers}))}))}))};
TI.prototype.parseResponse=function(a){return new re(function(b){a.then(function(c){c.result===!1&&c.body!=null?b.next({data:c.body}):b.next(c.result);b.complete()},function(c){b.error(c.result)})})};TI.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&DGa(a,b,this.gapiConfigUpdates[b])};var Kic=function(a,b,c,d,e){d=d===void 0?{}:d;e=e===void 0?{}:e;TI.call(this,a,c,d,e);this.waldoApiKey=b};Y(Kic,TI);Kic.prototype.makeRequest=function(a){var b=TI.prototype.makeRequest,c=b.call;(a.queryParams||(a.queryParams={})).key=this.waldoApiKey;return c.call(b,this,a)};var Lic=function(a){this.proxiedService=a};Y(Lic,whc);Lic.prototype.makeRequest=function(a){var b=this;return Re(function(){return b.proxiedService.makeRequest(a)})};var Mic=new Bd("environment"),Nic={"client/cors":!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0},UI=function(){};UI.\u0275fac=function(a){return new (a||UI)};UI.\u0275mod=u({type:UI});UI.\u0275inj=p({imports:[Qw,qI]});var VI=function(){};VI.\u0275fac=function(a){return new (a||VI)};VI.\u0275mod=u({type:VI});VI.\u0275inj=p({imports:[UI,RE,QI]});var Oic=new RegExp("ALIAS:("+Object.values({GOOGLERS_UNRESTRICTED:"googlers_unrestricted",GOOGLE_DOMAIN:"google_domain",PUBLIC_NON_GOOGLE:"public_non_google",PUBLIC:"public"}).join("|")+")");var Pic=function(a){this.allowExecution=a;this.queue=[]};Pic.prototype.addTask=function(a){this.queue.push(a);Qic(this)};var Qic=function(a){if(a.queue.length!==0)if(a.allowExecution()){var b=k(a.queue),c=b.next().value;a.queue=nm(b);c();Qic(a)}else setTimeout(function(){Qic(a)},0)};var WI=function(){var a=this;this.location=r(Ww);this.platformLocation=r(Rw);this.activatedRoute=r(ao);this.router=r(HE);this.scheduler=new Pic(function(){return!a.router.navigationTransitions.currentNavigation})};WI.prototype.hash=function(a,b){typeof a!=="undefined"&&Ric(this,a!=null?a:"",b);var c;return(c=this.activatedRoute.snapshot.fragment)!=null?c:""};var Ric=function(a,b,c){b=b===void 0?"":b;c=c===void 0?!1:c;a.addTask(function(){a.router.navigate([],{fragment:b,replaceUrl:c})})};
WI.prototype.path=function(a,b){typeof a!=="undefined"&&this.setPath(a,b);return this.getPath()};var Sic=function(a,b){a.path(b,!0)};g=WI.prototype;g.getPath=function(){var a=k(this.location.path().split("?")).next().value;return k(a.split("#")).next().value};g.setPath=function(a,b){var c=this;a=a===void 0?"":a;b=b===void 0?!1:b;this.addTask(function(){c.router.navigate([a],{replaceUrl:b,queryParamsHandling:"preserve"})});return this};
g.search=function(a,b,c){typeof a!=="undefined"&&this.setSearch(a,b,c);return this.getSearch()};g.getSearch=function(){return HGa(this.activatedRoute.snapshot.queryParamMap)};g.setSearch=function(a,b,c){var d=this;c=c===void 0?!1:c;this.addTask(function(){var e={};d.router.navigate([],{relativeTo:d.activatedRoute,queryParams:(e[a]=b,e),queryParamsHandling:"merge",replaceUrl:c})})};g.replaceUrl=function(a){return this.setUrl(a,!0)};
g.setUrl=function(a,b){var c=this;b=b===void 0?!1:b;return new Promise(function(d,e){c.addTask(function(){Vt(c.router,a,{replaceUrl:b}).then(d).catch(e)})})};g.getUrl=function(){return this.location.path(!0)};g.addTask=function(a){this.scheduler.addTask(a)};WI.\u0275fac=function(a){return new (a||WI)};WI.\u0275prov=n({token:WI,factory:WI.\u0275fac,providedIn:"root"});var XI=function(){this.activeSession=r(dv);this.createIframe=n6b(function(){var a=document.createElement("iframe");a.id="first_party_auth_helper";a.setAttribute("aria-hidden","true");a.setAttribute("style","width:1px;height:1px;position:absolute;top:-100px;display:none;");document.body.appendChild(a);return a})},Tic=function(a){var b,c;ve(function(d){if(d.nextAddress==1){if(a.activeSession.isAnonymous()||!a.activeSession.getPassiveLoginIframeUrl())return d.return();we(d,2);b=a.createIframe();return xe(d,
new Promise(function(e,f){var h=function(){try{var q,v,y;if((q=b.contentWindow)==null?0:(v=q.location)==null?0:(y=v.href)==null?0:y.includes("/action/yes"))b.removeEventListener("load",h),clearTimeout(l),e()}catch(E){}},l=setTimeout(function(){b.removeEventListener("load",h);f(Error("sd"))},5E3);b.addEventListener("load",h);Oea(b,a.activeSession.getPassiveLoginIframeUrl())}),4)}if(d.nextAddress!=2)return jv(d,0);c=Be(d);console.log("first party auth passive login "+c);Ce(d)})};
XI.\u0275fac=function(a){return new (a||XI)};XI.\u0275prov=n({token:XI,factory:XI.\u0275fac,providedIn:"root"});var YI=function(a){this.internalArray_=m(a)};Y(YI,V);YI.prototype.getSocialApplication=function(){return Kj(this,3,0)};YI.prototype.getSocialApplicationOrUndefined=function(){return Qt(this,3)};YI.prototype.getAffinityType=function(){return Gh(this,12,"CONTACT_STORE_DEFAULT_AFFINITY")};YI.prototype.setAffinityType=function(a){return gk(this,12,a)};var ZI=function(a){this.internalArray_=m(a)};Y(ZI,V);ZI.prototype.getExperimentIdsList=function(a){return $i(this,4,Wi(a))};ZI.prototype.setExperimentIdsList=function(a){return wc(this,4,a,Gb)};ZI.prototype.getExperimentIds=function(){return Iv(this,4)};ZI.prototype.setExperimentIds=function(a){Lv(this,4,a)};var Uic=function(a){this.internalArray_=m(a)};Y(Uic,V);g=Uic.prototype;g.getClientInfo=function(){return W(this,YI,1)};g.getMutableClientInfo=function(){return Av(this,YI,1)};g.setClientInfo=function(a){X(this,YI,1,a)};g.getExperiments=function(){return W(this,ZI,2)};g.setExperiments=function(a){return X(this,ZI,2,a)};g.hasExperiments=function(){return Oj(this,ZI,2)};var Vic=xna(Uic);var Wic;var Xic=function(a){this.internalArray_=m(a)};Y(Xic,V);g=Xic.prototype;g.getDelegatorId=function(){return Gh(this,2)};g.getEnvType=function(){return Kj(this,5,0)};g.getEnvType_legacyNullable=function(){return Bt(this,5)};g.setEnvType=function(a){hk(this,5,a)};g.getCacheSize=function(){return Zi(this,7)};g.setCacheSize=function(a){ek(this,7,a)};g.hasCacheSize=function(){return Gj(this,7)};var LGa=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/u\/(\d)\//,JGa=/([#].*?&|[#])authuser=([^&#]*)\b/,KGa=/([?][^#]*?&|[?])authuser=([^&#]*)\b/;var $I=function(){this.config_=bc(Wic||(Wic=Vic('[["AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc","ANVavNLWozk6oXyP9qguyx4QAuef5j_qQw4Y3Rw",740,"MINIMAL_DOMAIN","BUGANIZER",null,null,null,null,true,true],[]]')));this.userInfo_=new Xic;this.onAuthError_=this.gapiClientThenable_=null};$I.prototype.getClientInfo=function(){return this.config_.getClientInfo()};$I.prototype.getExperiments=function(){return this.config_.getExperiments()};$I.prototype.getUserInfo=function(){return this.userInfo_};
var Yic=function(a){a.gapiClientThenable_||(a.gapiClientThenable_=RGa(10,5E3).then(function(b){return b.client}));return a.gapiClientThenable_};$I.prototype.getAuthErrorHandler=function(){return this.onAuthError_};$I.prototype.setAuthErrorHandler=function(a){this.onAuthError_=a};var Zic=function(){};var $ic=[];$ic.push=function(){throw Error("ud");};var aJ={cancel:function(){},isPending:function(){return!1}};var ajc=function(a){this.response_=a||function(){};this.timer_=Nq(this.onTimer_,0,this);this.addressBookId_=""};g=ajc.prototype;g.setResponse=function(a){this.response_=a};g.setAddressBookId=function(a){this.addressBookId_=a};g.getAddressBookId=function(){return this.addressBookId_};g.cancel=function(){Oq(this.timer_);this.timer_=null};g.isPending=function(){return!!this.timer_};g.onTimer_=function(){this.timer_=null;this.response_()};g.setQuery=function(a){this.query_=a};g.getQuery=function(){return this.query_};var bjc=new Map([["personal",2],["domain",4],["pcab",3]]);var tp=function(a){this.internalArray_=m(a)};Y(tp,V);g=tp.prototype;g.getEventType=function(){return Kj(this,1,0)};g.setEventType=function(a){return hk(this,1,a)};g.getApiType=function(){return Kj(this,2,0)};g.setApiType=function(a){return hk(this,2,a)};g.getCacheStatus=function(){return Kj(this,3,0)};g.setCacheStatus=function(a){return hk(this,3,a)};g.getAddressBook=function(){return Kj(this,4,0)};g.setAddressBook=function(a){return hk(this,4,a)};g.getRpcType=function(){return Kj(this,5,0)};
g.setRpcType=function(a){return hk(this,5,a)};g.getLookupType=function(){return Kj(this,6,0)};g.setLookupType=function(a){return hk(this,6,a)};g.getToken=function(){return Gh(this,7,"")};g.setToken=function(a){return gk(this,7,a)};var bJ=function(a){this.internalArray_=m(a)};Y(bJ,V);g=bJ.prototype;g.setDevice=function(a){return hk(this,1,a)};g.getApplication=function(){return Kj(this,2,0)};g.setApplication=function(a){return hk(this,2,a)};g.getApplicationOrUndefined=function(){return Qt(this,2)};g.setPlatform=function(a){hk(this,3,a)};var cJ=function(a){this.internalArray_=m(a)};Y(cJ,V);g=cJ.prototype;g.setEventSource=function(a){hk(this,2,a)};g.getEventSourceOrUndefined=function(){return Qt(this,2)};g.setEventSourceId=function(a){ek(this,15,a)};g.getEventSourceIdOrUndefined=function(){return Kv(this,15)};g.getSocialClient=function(){return W(this,bJ,3)};g.setSocialClient=function(a){return X(this,bJ,3,a)};g.setVersionName=function(a){return gk(this,5,a)};g.setBaselineCl=function(a){return nk(this,7,a)};
g.hasBaselineCl=function(){return Uj(this,7)};g.setClientAgent=function(a){return hk(this,9,a)};g.getClientAgentOrUndefined=function(){return Qt(this,9)};g.getPeoplekitEntryPoint=function(){return Bt(this,11)};g.setPeoplekitEntryPoint=function(a){return hk(this,11,a)};g.getPeoplekitEntryPointOrUndefined=function(){return Qt(this,11)};g.setEnvironment=function(a){return hk(this,13,a)};g.getEnvironmentOrUndefined=function(){return Qt(this,13)};g.setSharekitEntryPoint=function(a){hk(this,14,a)};
g.getSharekitEntryPointOrUndefined=function(){return Qt(this,14)};var cjc=function(a){this.internalArray_=m(a)};Y(cjc,V);g=cjc.prototype;g.getApiType=function(){return Kj(this,1,0)};g.setApiType=function(a){return hk(this,1,a)};g.getItemCount=function(){return Zi(this,2)};g.setItemCount=function(a){return ek(this,2,a)};g.hasItemCount=function(){return Gj(this,2)};var djc=function(a){this.internalArray_=m(a)};Y(djc,V);g=djc.prototype;g.getApiType=function(){return Kj(this,1,0)};g.setApiType=function(a){return hk(this,1,a)};g.getItemCount=function(){return Zi(this,2)};g.setItemCount=function(a){return ek(this,2,a)};g.hasItemCount=function(){return Gj(this,2)};g.getStatus=function(){return Kj(this,4,2)};g.setStatus=function(a){return hk(this,4,a)};g.hasStatus=function(){return Ij(this,4)};g.setTotalUsec=function(a){return nk(this,5,a)};
g.setBlockedUsec=function(a){return nk(this,6,a)};g.setNetworkUsec=function(a){nk(this,7,a)};g.getCacheStatus=function(){return Kj(this,8,0)};g.setCacheStatus=function(a){return hk(this,8,a)};g.getAddressBook=function(){return Kj(this,9,0)};g.setAddressBook=function(a){return hk(this,9,a)};var dJ=function(a){this.internalArray_=m(a)};Y(dJ,V);dJ.prototype.getStatus=function(){return Kj(this,1,2)};dJ.prototype.setStatus=function(a){return hk(this,1,a)};dJ.prototype.hasStatus=function(){return Ij(this,1)};dJ.prototype.setTotalUsec=function(a){return nk(this,2,a)};var eJ=function(a){this.internalArray_=m(a)};Y(eJ,V);eJ.prototype.getRpcType=function(){return Kj(this,1,0)};eJ.prototype.setRpcType=function(a){return hk(this,1,a)};eJ.prototype.getLookupType=function(){return Kj(this,2,0)};eJ.prototype.setLookupType=function(a){return hk(this,2,a)};var ejc=function(a){this.internalArray_=m(a)};Y(ejc,V);g=ejc.prototype;g.getRpcType=function(){return Kj(this,1,0)};g.setRpcType=function(a){return hk(this,1,a)};g.getLookupType=function(){return Kj(this,2,0)};g.setLookupType=function(a){return hk(this,2,a)};g.getStatus=function(){return Kj(this,3,2)};g.setStatus=function(a){return hk(this,3,a)};g.hasStatus=function(){return Ij(this,3)};g.setTotalUsec=function(a){return nk(this,4,a)};g.setBlockedUsec=function(a){return nk(this,5,a)};
g.setNetworkUsec=function(a){nk(this,6,a)};var fJ=function(a){this.internalArray_=m(a)};Y(fJ,V);g=fJ.prototype;g.getEnvType=function(){return Kj(this,1,0)};g.getEnvType_legacyNullable=function(){return Bt(this,1)};g.setEnvType=function(a){hk(this,1,a)};g.getCacheSize=function(){return Zi(this,2)};g.setCacheSize=function(a){ek(this,2,a)};g.hasCacheSize=function(){return Gj(this,2)};var gJ=function(a){this.internalArray_=m(a)};Y(gJ,V);g=gJ.prototype;g.getClientInterface=function(){return W(this,cJ,1)};g.setClientInterface=function(a){return X(this,cJ,1,a)};g.getSource=function(){return Kj(this,2,0)};g.setSource=function(a){return hk(this,2,a)};g.hasSource=function(){return Ij(this,2)};g.getSourceOrUndefined=function(){return Qt(this,2)};g.getEventType=function(){return Kj(this,3,0)};g.getEventType_legacyNullable=function(){return Bt(this,3)};
g.setEventType=function(a){return hk(this,3,a)};g.setRpcRequest=function(a){return Fl(this,5,fjc,a)};g.setRpcResponse=function(a){return Fl(this,6,fjc,a)};g.setApiCall=function(a){return Fl(this,7,fjc,a)};g.setApiResult=function(a){return Fl(this,8,fjc,a)};g.getUserInfo=function(){return W(this,fJ,9)};g.setUserInfo=function(a){return X(this,fJ,9,a)};g.hasUserInfo=function(){return Oj(this,fJ,9)};var fjc=[4,5,6,7,8];var gjc=new Map([[200,0],[400,3],[401,16],[403,7],[404,5],[409,10],[416,11],[429,8],[499,1],[-1,1],[504,4],[501,12],[503,14]]),hjc=new Map([[0,0],[1,11],[2,1],[3,3],[4,10],[5,8],[6,7],[7,2],[16,2],[8,6],[9,7],[10,11],[11,9],[12,5],[13,9],[14,4],[15,6]]),ijc=new Map([[0,0],[11,1],[1,2],[3,3],[10,4],[8,5],[2,16],[6,8],[7,9],[5,12],[9,13],[4,14]]),jjc=function(a){return hjc.has(a)?hjc.get(a):1},kjc=function(a){return ijc.has(a)?ijc.get(a):2};var ljc=function(a){this.request_=a;this.errorCode_=0},mjc=function(a,b){b=new ljc(b);b.errorCode_=a;b.errorMessage_="A server error has occurred.";return b};g=ljc.prototype;g.hasChanges=function(){return this.mutateResponse_&&this.mutateResponse_.getOperation()?this.mutateResponse_.getOperation().hasChanges():!1};g.getError=function(){return this.errorCode_};g.getErrorCode=function(){return this.errorCode_};g.getQuery=function(){return this.request_.getQuery()};g.getConfiguration=function(){return this.queryResponse_.getConfiguration()};
g.getUserData=function(){return this.queryResponse_?this.queryResponse_.getUserData():null};var hJ=function(a){this.map_=new XE;this.size=0;a&&this.addAll(a)},njc=function(a){var b=typeof a;return b=="object"&&a||b=="function"?"o"+vp(a):b.charAt(0)+a};g=hJ.prototype;g.getCount=function(){return this.map_.size};g.add=function(a){this.map_.set(njc(a),a);this.setSizeInternal_(this.map_.size)};g.addAll=function(a){a=dI(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c]);this.setSizeInternal_(this.map_.size)};g.removeAll=function(){for(var a=dI(),b=a.length,c=0;c<b;c++)this.remove(a[c]);this.setSizeInternal_(this.map_.size)};
g.delete=function(a){a=this.map_.remove(njc(a));this.setSizeInternal_(this.map_.size);return a};g.remove=function(a){return this.delete(a)};g.clear=function(){this.map_.clear();this.setSizeInternal_(0)};g.isEmpty=function(){return this.map_.size===0};g.has=function(a){return this.map_.containsKey(njc(a))};g.contains=function(a){return this.map_.containsKey(njc(a))};g.intersection=function(a){var b=new hJ;a=dI(a);for(var c=0;c<a.length;c++){var d=a[c];this.contains(d)&&b.add(d)}return b};
g.getValues=function(){return this.map_.getValues()};g.values=function(){return this.map_.values()};g.clone=function(){return new hJ(this)};g.equals=function(a){return this.getCount()==Tgc(a)&&ojc(this,a)};
var ojc=function(a,b){var c=Tgc(b);if(a.getCount()>c)return!1;!(b instanceof hJ)&&c>5&&(b=new hJ(b));return Wgc(a,function(d){var e=b;if(e.contains&&typeof e.contains=="function")d=e.contains(d);else if(e.containsValue&&typeof e.containsValue=="function")d=e.containsValue(d);else if(Va(e)||typeof e==="string")d=Oa(e,d);else a:{for(var f in e)if(e[f]==d){d=!0;break a}d=!1}return d})};hJ.prototype.__iterator__=function(){return this.map_.__iterator__(!1)};hJ.prototype[Symbol.iterator]=function(){return this.values()};
hJ.prototype.setSizeInternal_=function(a){this.size=a};var iJ=function(a,b,c){this.fields_=a;this.name_=b;this.contains_=new hJ(c);this.extraFields_=[]};iJ.prototype.toString=function(){var a=this.name_?"g"+this.name_:this.fields_.join(",");this.name_&&this.extraFields_.length&&(a+=","+this.extraFields_.join(","));return a};var pjc=function(a){a.fieldSet_||(a.fieldSet_=new hJ(a.fields_));return a.fieldSet_};
iJ.prototype.contains=function(a){if(this.contains_.contains(a))return!0;this.doesntContain_||(this.doesntContain_=new hJ);if(this.doesntContain_.has(a))return!1;var b=pjc(this),c=pjc(a);if(Wgc(c,b.contains,b))return this.contains_.add(a),!0;this.doesntContain_.add(a);return!1};var qjc=new iJ(["6","12"],"1"),rjc=new iJ("2 1f 1c 12 16 13 14 1d 22 1b 20".split(" "),"4",[qjc]);new iJ("6 12 16 17 18 1a".split(" "),"3",[qjc]);
new iJ("2 4 2a 5 6 9 b 1c d e f 11 12 29 13 14 15 1d 22 16 17 19 28 1e 1b".split(" "),"2",[qjc,rjc]);new iJ([]);var sjc=function(a){try{return ya.JSON.parse(a)}catch(b){}a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("vd`"+a);},tjc=function(){this.replacer_=void 0};
tjc.prototype.serialize=function(a){var b=[];ujc(this,a,b);return b.join("")};
var ujc=function(a,b,c){if(b==null)c.push("null");else{if(typeof b=="object"){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],ujc(a,a.replacer_?a.replacer_.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],typeof e!="function"&&(c.push(f),vjc(d,c),c.push(":"),ujc(a,a.replacer_?a.replacer_.call(b,
d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":vjc(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("wd`"+typeof b);}}},wjc={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},xjc=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,vjc=function(a,b){b.push('"',a.replace(xjc,
function(c){var d=wjc[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),wjc[c]=d);return d}),'"')};var yjc={token:"",addressBookId:"personal",matchType:1,includeContacts:!0,includeGroups:!0,isAutoCompleteMode:!0,delayMillis:5E3,maxMatches:-1,maxTries:10,name:"Load All Contacts"};var zjc=function(a,b,c){PF.call(this);this.scheduler=a;this.runFunction_=b;this.group=c||a.createGroup()};Y(zjc,PF);g=zjc.prototype;g.getGroup=function(){return this.group};g.setGroup=function(a){this.group=a};g.isSuccess=function(){return this.getState().isSuccess()};g.setSuccess=function(a){this.getState().setSuccess(a)};g.getMaxNumRetries=function(){this.getState().getMaxNumRetries()};g.setMaxNumRetries=function(a){this.getState().setMaxNumRetries(a)};g.reset=function(){this.getState().reset()};
g.getNumTriesLeft=function(){return this.getState().getNumTriesLeft()};g.setRunState=function(a){this.getState().setRunState(a)};g.setRunTime=function(a){this.getState().setRunTime(a)};g.setRunTimerId=function(a){this.getState().setRunTimerId(a)};g.incNumSuccesses=function(){this.getState().incNumSuccesses()};g.incNumFailures=function(){this.getState().incNumFailures()};g.incNumExecutions=function(){this.getState().incNumExecutions()};g.decNumTriesLeft=function(){this.getState().decNumTriesLeft()};
g.isPending=function(){return this.getState().isPending()};g.cancel=function(){this.scheduler.cancel(this.getState())};g.getState=function(){return this.scheduler.getState(this.group)};g.run=function(){this.incNumExecutions();this.runFunction_(this)};g.isDone=function(a){return this.scheduler.isDone(this,a)};var Ajc=function(a){PF.call(this);this.scheduler=a;this.maxNumRetries_=0;this.reset()};Y(Ajc,PF);g=Ajc.prototype;g.reset=function(){this.numTriesLeft=this.maxNumRetries_;this.success=!1;this.runState=1;this.runTimerId=this.runTime=-1};g.isSuccess=function(){return this.success};g.setSuccess=function(a){this.success=a};g.getMaxNumRetries=function(){return this.maxNumRetries_};g.setRunState=function(a){this.runState=a};g.setRunTime=function(a){this.runTime=a};
g.setRunTimerId=function(a){this.runTimerId=a};g.setMaxNumRetries=function(a){this.maxNumRetries_=a};g.getNumTriesLeft=function(){return this.numTriesLeft};g.decNumTriesLeft=function(){--this.numTriesLeft};g.incNumSuccesses=function(){};g.incNumFailures=function(){};g.incNumExecutions=function(){};g.isPending=function(){return!(this.runState==4||this.runState==5)};g.disposeInternal=function(){PF.prototype.disposeInternal.call(this);this.scheduler=null};var Bjc=function(){PF.call(this);this.states={};this.currentGroup=1};Y(Bjc,PF);Bjc.prototype.schedule=function(a,b,c,d){b=b||0;var e=Date.now()+b,f=this.states[a.getGroup()];f||(f=new Ajc(this),this.states[a.getGroup()]=f);f.setMaxNumRetries(Math.max(c||1,f.getMaxNumRetries()));switch(f.runState){case 1:case 5:f.reset();Cjc(a,b,e);break;case 6:Cjc(a,b,e);break;case 4:d&&(f.reset(),Cjc(a,b,e));break;case 2:e<f.runTime?(this.cancel(f),f.reset(),Cjc(a,b,e)):f.numTriesLeft=f.maxNumRetries_}};
var Cjc=function(a,b,c){b==0?(a.setRunState(3),a.run()):(a.setRunState(2),a.setRunTime(c),a.setRunTimerId(Nq(a.run,b,a)))};g=Bjc.prototype;g.getState=function(a){return this.states[a]};g.createGroup=function(){return""+this.currentGroup++};g.disposeInternal=function(){PF.prototype.disposeInternal.call(this);for(var a in this.states){var b=this.states[a];this.cancel(b);zo(b)}this.states={}};g.cancel=function(a){a.runState==2&&Oq(a.runTimerId)};
g.isDone=function(a,b){b?a.incNumSuccesses():a.incNumFailures();a.setSuccess(b);a.decNumTriesLeft();if(!b&&a.getNumTriesLeft()>0)return a.setRunState(6),this.schedule(a,Math.max(100,Math.round(Math.random()*45E3))),!1;a.setRunState(b?4:5);return!0};var Djc={SOMETHING_CHANGED:"a",ERROR:"b"},Ejc=function(a,b){bG.call(this,a&&a[0].getError()?"b":"a");this.responses_=a;this.source_=b||"d"};Y(Ejc,bG);Ejc.prototype.getChanges=function(){if(!this.changes_){if(!this.responses_)return null;var a=[];Ma(this.responses_,function(b){b=b.getOperation().getChanges();a&&b?a=a.concat(b):a=null});this.changes_=a}return this.changes_};Ejc.prototype.getSource=function(){return this.source_};var Fjc=function(a,b){this.fn_=a;this.handler_=b};Fjc.prototype.execute=function(a){this.fn_&&(this.fn_.call(this.handler_||null,a),this.fn_=this.handler_=null)};Fjc.prototype.abort=function(){this.handler_=this.fn_=null};h6b(function(a){Fjc.prototype.execute=a(Fjc.prototype.execute)});var jJ=function(a){this.serviceId_=a};jJ.prototype.toString=function(){return this.serviceId_};var Gjc={toString:function(a){var b=[],c=0;a-=-2147483648;b[c++]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(a%52);for(a=Math.floor(a/52);a>0;)b[c++]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".charAt(a%62),a=Math.floor(a/62);return b.join("")}};var Jjc=function(a){a=Hjc(a);for(var b=2654435769,c=2654435769,d=314159265,e=a.length,f=e,h=0,l=function(){b-=c;b-=d;b^=d>>>13;c-=d;c-=b;c^=b<<8;d-=b;d-=c;d^=c>>>13;b-=c;b-=d;b^=d>>>12;c-=d;c-=b;c^=b<<16;d-=b;d-=c;d^=c>>>5;b-=c;b-=d;b^=d>>>3;c-=d;c-=b;c^=b<<10;d-=b;d-=c;d^=c>>>15};f>=12;f-=12,h+=12)b+=Ijc(a,h),c+=Ijc(a,h+4),d+=Ijc(a,h+8),l();d+=e;switch(f){case 11:d+=a[h+10]<<24;case 10:d+=a[h+9]<<16;case 9:d+=a[h+8]<<8;case 8:c+=a[h+7]<<24;case 7:c+=a[h+6]<<16;case 6:c+=a[h+5]<<8;case 5:c+=a[h+4];
case 4:b+=a[h+3]<<24;case 3:b+=a[h+2]<<16;case 2:b+=a[h+1]<<8;case 1:b+=a[h]}l();return Gjc.toString(d)},Kjc=function(a){return a},Hjc=function(a){for(var b=[],c=0;c<a.length;c++)b.push(a.charCodeAt(c));return b},Ijc=function(a,b){return a[b]+(a[b+1]<<8)+(a[b+2]<<16)+(a[b+3]<<24)};new jJ("z72MOc");new jJ("IW8Usd");new jJ("jbDgG");new jJ("hdXIif");new jJ("DFElXb");new jJ("ZtVrH");new jJ("rJmJrc");new jJ("fJuxOc");new jJ("JccZRe");new jJ("vk3Wc");new jJ("IykvEf");new jJ("NGntwf");new jJ("FENZqe");new jJ("ofuapc");new jJ("BWETze");new jJ("ZmXAm");new jJ("n73qwf");new jJ("zZa4xc");new jJ("WwG67d");new jJ("pVbxBc");new jJ("yu4DA");new jJ("Bgf0ib");new jJ("MpJwZc");new jJ("UUJqVe");new jJ("ABma3e");new jJ("GHAeAc");new jJ("Wt6vjf");new jJ("AzG0ke");new jJ("WSziFf");new jJ("byfTOb");new jJ("d0RAGb");new jJ("TuDsZ");new jJ("o1bZcd");new jJ("b8xKu");new jJ("LEikZe");new jJ("lsjVmc");new jJ("klpyYe");new jJ("OPbIxb");new jJ("pg9hFd");new jJ("IaqD3e");new jJ("Xpw1of");new jJ("v5BQle");new jJ("tdUkaf");new jJ("UBSgGf");new jJ("amY3Td");new jJ("gSshPb");new jJ("J5K1Ad");new jJ("mITR5c");new jJ("tLnxq");var Ljc=function(){PF.call(this);this.eventTarget_=new yp;this.updateCacheEventTarget_=new yp;this.mutationIdMap_=new ZE};Y(Ljc,PF);Ljc.prototype.dispatchEvent=function(a){this.updateCacheEventTarget_.dispatchEvent(a);this.eventTarget_.dispatchEvent(a)};Ljc.prototype.getEventTarget=function(){return this.eventTarget_};
Ljc.prototype.disposeInternal=function(){PF.prototype.disposeInternal.call(this);this.eventTarget_.dispose();this.eventTarget_=null;this.updateCacheEventTarget_.dispose();this.updateCacheEventTarget_=null};var Lr=function(a){PF.call(this);this.handler_=a;this.keys_={}};qv(Lr,PF);var Mjc=[];Lr.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(Mjc[0]=b.toString()),b=Mjc);for(var e=0;e<b.length;e++){var f=zp(a,b[e],c||this.handleEvent,d||!1,this.handler_||this);if(!f)break;this.keys_[f.key]=f}return this};Lr.prototype.listenOnce=function(a,b,c,d){return Njc(this,a,b,c,d)};
var Njc=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)Njc(a,b,c[h],d,e,f);else{b=fG(b,c,d||a.handleEvent,e,f||a.handler_||a);if(!b)return a;a.keys_[b.key]=b}return a};
Lr.prototype.unlisten=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.unlisten(a,b[f],c,d,e);else c=c||this.handleEvent,d=In(d)?!!d.capture:!!d,e=e||this.handler_||this,c=Qdc(c),d=!!d,b=dG(a)?a.getListener(b,c,d,e):a?(a=Sdc(a))?a.getListener(b,c,d,e):null:null,b&&(hG(b),delete this.keys_[b.key]);return this};Lr.prototype.removeAll=function(){Cc(this.keys_,function(a,b){this.keys_.hasOwnProperty(b)&&hG(a)},this);this.keys_={}};
Lr.prototype.disposeInternal=function(){Lr.superClass_.disposeInternal.call(this);this.removeAll()};Lr.prototype.handleEvent=function(){throw Error("yd");};var Nt=function(a){this.internalArray_=m(a)};Y(Nt,V);var Mt=function(a,b){return gk(a,1,b)};g=Nt.prototype;g.getLogSource=function(){return Kj(this,2,-1)};g.setLogSource=function(a){return hk(this,2,a)};g.getApplication=function(){return Kj(this,3,0)};g.setApplication=function(a){return hk(this,3,a)};g.getApplicationOrUndefined=function(){return Qt(this,3)};g.getVersion=function(){return Gh(this,4)};g.setVersion=function(a){return gk(this,4,a)};g.getVersionOrUndefined=function(){return Pm(this,4)};
g.setBaselineCl=function(a){return ek(this,5,a)};g.hasBaselineCl=function(){return Gj(this,5)};g.getEnableClearcut=function(){return Fj(this,6)};g.setEnableClearcut=function(a){return dk(this,6,a)};var edb=function(a,b){return wc(a,7,b,Gb)};g=Nt.prototype;g.setClientAgent=function(a){return hk(this,8,a)};g.getClientAgentOrUndefined=function(){return Qt(this,8)};g.setEventSource=function(a){hk(this,9,a)};g.getEventSourceOrUndefined=function(){return Qt(this,9)};
g.setEventSourceId=function(a){ek(this,14,a)};g.getEventSourceIdOrUndefined=function(){return Kv(this,14)};g.getClearcutUrl=function(){return Gh(this,10)};g.setClearcutUrl=function(a){gk(this,10,a)};g.setEnvironment=function(a){return hk(this,11,a)};g.getEnvironmentOrUndefined=function(){return Qt(this,11)};g.getPeoplekitEntryPoint=function(){return Kj(this,12,0)};g.setPeoplekitEntryPoint=function(a){return hk(this,12,a)};g.getPeoplekitEntryPointOrUndefined=function(){return Qt(this,12)};
g.setSharekitEntryPoint=function(a){hk(this,13,a)};g.getSharekitEntryPointOrUndefined=function(){return Qt(this,13)};var Ojc=window&&window.performance&&window.performance.now&&window.performance.timing&&window.performance.timing.navigationStart?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return Date.now()};var Pjc=function(a){this.start_=a;this.end_=NaN};Pjc.prototype.duration=function(){return this.end_-this.start_};Pjc.prototype.stop=function(a){this.end_=a;return this.duration()};var kJ=function(a){var b=b===void 0?Ojc:b;this.source_=a;this.nowFn_=b;this.durations_=new Map;this.lastLabel_="_"};kJ.prototype.source=function(){return this.source_};var Qjc=function(a,b){b&&(a.lastLabel_=b);return a.lastLabel_};
kJ.prototype.duration=function(a){a=Qjc(this,a===void 0?"":a);return this.durations_.has(a)?this.durations_.get(a).duration():NaN};var lJ=function(a,b){return VGa(a.duration(b===void 0?"":b))};kJ.prototype.toString=function(a,b){b=b===void 0?1:b;return this.duration(a===void 0?"":a).toFixed(b)};kJ.prototype.start=function(a){a=a===void 0?"":a;var b=this.nowFn_();a=Qjc(this,a);this.durations_.set(a,new Pjc(b));return this};
kJ.prototype.stop=function(a){a=a===void 0?"":a;var b=this.nowFn_();a=Qjc(this,a);this.durations_.has(a)&&this.durations_.get(a).stop(b);return this};kJ.prototype.clear=function(){this.durations_.clear();return this};var Rjc=function(a){this.internalArray_=m(a)};Y(Rjc,V);var Kt=function(a){this.internalArray_=m(a)};Y(Kt,V);g=Kt.prototype;g.setQueryId=function(a){return nk(this,1,a)};g.setSelectionId=function(a){return nk(this,2,a)};g.getInstanceId=function(){return uk(this,4)};g.setInstanceId=function(a){return gk(this,4,a)};g.clearInstanceId=function(){Zp(this,4)};g.hasInstanceId=function(){return Hj(this,4)};g.getInstanceIdOrUndefined=function(){return Pm(this,4)};g.getAffinityVersion=function(){return Gv(this,5)};g.setAffinityVersion=function(a){ek(this,5,a)};
g.getAffinityVersionOrUndefined=function(){return Kv(this,5)};var Sjc=function(a){this.internalArray_=m(a)};Y(Sjc,V);g=Sjc.prototype;g.getQueryLength=function(){return Gv(this,1)};g.setQueryLength=function(a){return ek(this,1,a)};g.hasQueryLength=function(){return Gj(this,1)};g.getQuery=function(){return uk(this,2)};g.setQuery=function(a){return gk(this,2,a)};g.clearQuery=function(){Zp(this,2)};g.hasQuery=function(){return Hj(this,2)};var Tjc=function(a){this.internalArray_=m(a)};Y(Tjc,V);Tjc.prototype.setLatencyUsec=function(a){ek(this,1,a)};var mJ=function(a){this.internalArray_=m(a)};Y(mJ,V);g=mJ.prototype;g.getColumn=function(){return Gv(this,2)};g.setColumn=function(a){return ek(this,2,a)};g.getType=function(){return Bt(this,3)};g.setType=function(a){return hk(this,3,a)};g.hasType=function(){return Ij(this,3)};var nJ=function(a){this.internalArray_=m(a)};Y(nJ,V);nJ.prototype.getExistingSelectionsCount=function(){return Gv(this,1)};nJ.prototype.setExistingSelectionsCount=function(a){ek(this,1,a)};nJ.prototype.getPosition=function(){return W(this,mJ,2)};nJ.prototype.setPosition=function(a){return X(this,mJ,2,a)};var oJ=function(a){this.internalArray_=m(a)};Y(oJ,V);g=oJ.prototype;g.getType=function(){return Bt(this,5)};g.setType=function(a){return hk(this,5,a)};g.hasType=function(){return Ij(this,5)};g.getEmail=function(){return uk(this,1)};g.getEmail_legacyNullable=function(){return uk(this,1)};g.setEmail=function(a){return gk(this,1,a)};g.hasEmail=function(){return Hj(this,1)};g.getPhone=function(){return uk(this,2)};g.getPhone_legacyNullable=function(){return uk(this,2)};
g.setPhone=function(a){return gk(this,2,a)};g.hasPhone=function(){return Hj(this,2)};g.getObfuscatedGaiaId=function(){return uk(this,3)};g.getObfuscatedGaiaId_legacyNullable=function(){return uk(this,3)};g.setObfuscatedGaiaId=function(a){return gk(this,3,a)};g.setContactId=function(a){return nk(this,4,a)};g.getGroupId=function(){return uk(this,6)};g.setGroupId=function(a){gk(this,6,a)};g.hasGroupId=function(){return Hj(this,6)};var pJ=function(a){this.internalArray_=m(a)};Y(pJ,V);pJ.prototype.getName=function(){return uk(this,1)};pJ.prototype.setName=function(a){return gk(this,1,a)};pJ.prototype.hasName=function(){return Hj(this,1)};pJ.prototype.getNameOrUndefined=function(){return Pm(this,1)};var qJ=function(a){this.internalArray_=m(a)};Y(qJ,V);g=qJ.prototype;g.getPosition=function(){return W(this,mJ,1)};g.setPosition=function(a){return X(this,mJ,1,a)};g.getProvenance=function(){return d_b(this,3)};g.setProvenance=function(a){return yc(this,3,Fb,void 0,a,bk,void 0,1)};g.getIsBoosted=function(){return tt(this,6)};g.setIsBoosted=function(a){dk(this,6,a)};g.getIsPlaceholder=function(){return tt(this,7)};g.setIsPlaceholder=function(a){dk(this,7,a)};g.getIsSelf=function(){return tt(this,11)};
g.setQueryId=function(a){return nk(this,15,a)};g.setSelectionId=function(a){return nk(this,16,a)};var Ujc=function(a){this.internalArray_=m(a)};Y(Ujc,V);g=Ujc.prototype;g.getLoggingId=function(){return uk(this,1)};g.setLoggingId=function(a){gk(this,1,a)};g.getMetadata=function(){return W(this,qJ,3)};g.getMutableMetadata=function(){return Av(this,qJ,3)};g.setMetadata=function(a){X(this,qJ,3,a)};var rJ=function(a){this.internalArray_=m(a)};Y(rJ,V);rJ.prototype.getAffinityVersion=function(){return Gv(this,2)};rJ.prototype.setAffinityVersion=function(a){ek(this,2,a)};rJ.prototype.getAffinityVersionOrUndefined=function(){return Kv(this,2)};var Vjc=function(a){this.internalArray_=m(a)};Y(Vjc,V);g=Vjc.prototype;g.getEventType=function(){return Bt(this,1)};g.getEventType_legacyNullable=function(){return Bt(this,1)};g.setEventType=function(a){return hk(this,1,a)};g.getMetadata=function(){return W(this,rJ,4)};g.getMutableMetadata=function(){return Av(this,rJ,4)};g.setMetadata=function(a){X(this,rJ,4,a)};g.getClientInterface=function(){return W(this,cJ,5)};g.setClientInterface=function(a){return X(this,cJ,5,a)};var Wjc=new Map([[1,4],[2,2],[3,1],[4,7]]),Xjc=function(a,b){b=b===void 0?0:b;this.clientConfig_=a;this.transportType_=b;switch(b){case 1:b="ppl.store.peopleapi";var c=Fj(a.getExperiments(),1,!0);break;case 2:b="ppl.store.ppl.store.ozcontactstore";c=Fj(a.getExperiments(),2,!0);break;default:b="ppl.store",c=!1}var d=Wjc.get(a.getUserInfo().getEnvType_legacyNullable())||0;b=Mt(new Nt,b).setLogSource(932).setApplication(a.getClientInfo().getSocialApplicationOrUndefined()).setEnvironment(d).setVersion("1013").setBaselineCl(336195648).setClientAgent(3).setEnableClearcut(c);
a=a.getExperiments().getExperimentIdsList();a=yc(b,7,Gb,a,void 0,$i,void 0,void 0,!0);this.logContext_=yc(a,7,Gb,20090307,void 0,$i)};g=Xjc.prototype;g.getLogContext=function(){return this.logContext_};
g.createCountMetric=function(a,b){b=b.source();var c=Yjc(this);switch(b.getEventType()){case 2:case 3:return(new gJ).setClientInterface(a).setUserInfo(c).setSource(2).setEventType(2).setRpcRequest((new eJ).setRpcType(b.getRpcType()).setLookupType(b.getLookupType()));case 4:case 5:return(new gJ).setClientInterface(a).setUserInfo(c).setEventType(4).setApiCall((new cjc).setApiType(b.getApiType()));default:return null}};
g.createStatusMetric=function(a,b,c){var d=b.source(),e=Yjc(this);switch(d.getEventType()){case 1:d=(new gJ).setClientInterface(a).setUserInfo(e).setSource(1).setEventType(1);a=this.transportType_;e=(new dJ).setStatus(c);if(c==0||c==4)c=e.setTotalUsec(lJ(b,"total")),b=lJ(b,"blocked"),b=nk(c,3,b),hk(b,5,a);return Fl(d,4,fjc,e);case 2:case 3:return a=(new gJ).setClientInterface(a).setUserInfo(e).setSource(2).setEventType(3),e=a.setRpcResponse,d=(new ejc).setRpcType(d.getRpcType()).setLookupType(d.getLookupType()).setStatus(c),
c!=0&&c!=4||d.setTotalUsec(lJ(b,"total")).setBlockedUsec(lJ(b,"blocked")).setNetworkUsec(lJ(b,"network")),e.call(a,d);case 4:case 5:a=(new gJ).setClientInterface(a).setUserInfo(e).setEventType(5);e=a.setApiResult;var f=new djc;f.setApiType(d.getApiType()).setCacheStatus(d.getCacheStatus()).setAddressBook(d.getAddressBook()).setStatus(c);c!==0&&c!==4||f.setTotalUsec(lJ(b,"total"));return e.call(a,f);default:return null}};g.createErrorMetric=function(){return null};g.createLatencyMetric=function(){return null};
var Yjc=function(a){a=a.clientConfig_.getUserInfo();var b=new fJ;var c=!!a.getDelegatorId();b=dk(b,4,c);a.hasCacheSize()&&b.setCacheSize(a.getCacheSize());b.setEnvType(Kj(a,6,0)||0);return b};var ZGa=function(a){this.internalArray_=m(a)};Y(ZGa,V);var Xs=function(a,b){this.name_=b||"";this.address=a||""},Zjc=/"/g,$jc=/\\"/g,akc=/\\/g,bkc=/\\\\/g,ckc=RegExp("^[+a-zA-Z0-9_.!#$%&'*\\/=?^`{|}~-]+@([a-zA-Z0-9-]+\\.)+[a-zA-Z0-9]{2,63}$"),dkc=new RegExp("["+uea({LRE:"\u202a",RLE:"\u202b",PDF:"\u202c",LRM:"\u200e",RLM:"\u200f"}).join("")+"]","g");Xs.prototype.getName=function(){return this.name_};Xs.prototype.getAddress=function(){return this.address};Xs.prototype.setName=function(a){this.name_=a};Xs.prototype.toString=function(){return ekc(this,'()<>@:\\".[],;')};
var ekc=function(a,b){var c=a.getName();c=c.replace(Zjc,"");a:{for(var d=c,e=0;e<b.length;e++)if(Fa(d,b[e])){b=!0;break a}b=!1}b&&(c='"'+c.replace(akc,"\\\\")+'"');return c==""?a.address:a.address==""?c:c+" <"+a.address+">"};Xs.prototype.isValid=function(){return ckc.test(this.address)};
var Qs=function(a){var b=fkc;a=a.replace(dkc,"");for(var c="",d="",e=0;e<a.length;){var f=a;var h=e,l=f.charAt(h),q='"<(['.indexOf(l);if(q==-1||gkc(f,h))f=l;else{q='">)]'.charAt(q);for(var v=f.indexOf(q,h+1);v>=0&&gkc(f,v);)v=f.indexOf(q,v+1);f=v>=0?f.substring(h,v+1):l}f.charAt(0)=="<"&&f.indexOf(">")!=-1?(d=f.indexOf(">"),d=f.substring(1,d)):d==""&&(c+=f);e+=f.length}d==""&&c.indexOf("@")!=-1&&(d=c,c="");c=r_b(c);c=s_b(c,"'");c=s_b(c,'"');c=c.replace($jc,'"');c=c.replace(bkc,"\\");d=r_b(d);return new b(d,
c)},gkc=function(a,b){if(a.charAt(b)!='"')return!1;var c=0;for(--b;b>=0&&a.charAt(b)=="\\";b--)c++;return c%2!=0};var fkc=function(a,b){Xs.call(this,a,b)};qv(fkc,Xs);var hkc=RegExp("^((?!\\s)[+a-zA-Z0-9_.!#$%&'*\\/=?^`{|}~\u0080-\uffffFF-])+@((?!\\s)[a-zA-Z0-9\u0080-\u3001\u3003-\uff0d\uff0f-\uff60\uff62-\uffffFF-]+[\\.\\uFF0E\\u3002\\uFF61])+(?!\\s)[a-zA-Z0-9\u0080-\u3001\u3003-\uff0d\uff0f-\uff60\uff62-\uffffFF-]{2,63}$");fkc.prototype.isValid=function(){return ikc(this.address)};var ikc=function(a){return a==null?!1:hkc.test(a)};fkc.prototype.toString=function(){return ekc(this,'()<>@:\\".[],;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a')};var jkc=/[^a-z0-9]+/ig,kkc=[9,11,10,12,13,14,15,16,19],lkc=[9,19,11],mkc=[1,6],nkc=[2,7],okc=[3,8],pkc=[1,2,6,7,8,9,11,10,12,13,14,15,16,18,19],zbb=[3,4,5,17,20],pt=function(a,b,c){this.type_=a;this.normalizedValue_=up(b);this.originalValue_=up(c===void 0?b:c)};pt.prototype.getType=function(){return this.type_};pt.prototype.getValue=function(){return this.normalizedValue_};pt.prototype.getOriginalValue=function(){return this.originalValue_};
var et=function(a){return kkc.includes(a.getType())},qkc=function(a){return lkc.includes(a.getType())},ft=function(a,b){switch(a){case 1:return mt(b);case 6:return new pt(6,up(b).toLowerCase(),b);case 2:return nt(b);case 7:return Kbb(b);case 3:return wbb(b);case 8:return new pt(8,up(b).toLowerCase(),b);case 5:return new pt(5,up(b).toLowerCase(),b);case 4:return xbb(b);case 9:return rkc(b);case 12:return new pt(12,up(b),b);case 13:return new pt(13,up(b),b);case 14:return new pt(14,up(b),b);case 15:return new pt(15,
up(b),b);case 16:return new pt(16,up(b),b);case 10:return new pt(10,up(b),b);case 11:return new pt(11,up(b),b);case 18:return ybb(b);case 19:return new pt(19,up(b),b);case 20:return new pt(20,up(b),b);case 17:return skc;default:return new pt(0,b)}},mt=function(a){return new pt(1,up(a).toLowerCase(),a)},nt=function(a){var b=up(a).toLowerCase().replace(jkc,"");return new pt(2,b,a)},wbb=function(a){var b=up(a).toLowerCase();return b==="me"?skc:new pt(3,b,a)},xbb=function(a){return new pt(4,up(a).toLowerCase(),
a)},Kbb=function(a){var b=up(a).toLowerCase().replace(jkc,"");return new pt(7,b,a)},rkc=function(a){return new pt(9,up(a).toLowerCase(),a)},ybb=function(a){return new pt(18,up(a),a)},Vs=function(a){var b=a.indexOf(":");return ft(b>0?parseInt(a.substring(0,b),10):0,a.substring(b+1))};pt.prototype.toString=function(){return this.type_+":"+this.normalizedValue_};pt.prototype.serialize=function(){return this.type_+":"+this.originalValue_};
pt.prototype.equals=function(a){return a?this===a?!0:this.type_===a.type_&&this.normalizedValue_===a.normalizedValue_:!1};var tkc=function(a){switch(a.getType()){case 1:case 6:return ikc(a.originalValue_);case 2:case 7:return a=a.originalValue_.replace(jkc,""),a.length>=3&&a[0]>="0"&&a[0]<="9";case 3:case 8:return!!up(a.originalValue_);default:return!0}},rt=ft(0,""),skc=new pt(17,"me");var ukc=function(a,b){this.apiEnv_=a;this.experimentsConfig_=b};var vkc=function(a){this.profileId_=a};vkc.prototype.getProfileId=function(){return this.profileId_};var wkc=Object.freeze({preferOauth:!1}),sJ=Object.freeze({userProfileId:"",apiEnv:4,userEmail:"",clearcut:wkc});var xkc=function(){return Ba&&Ca?!Ca.mobile&&(Ga("iPad")||Ga("Android")||Ga("Silk")):Ga("iPad")||Ga("Android")&&!Ga("Mobile")||Ga("Silk")};var XGa=new WeakMap,WGa=function(a,b){a=[a];for(var c=b.length-1;c>=0;--c)a.push(typeof b[c],b[c]);return a.join("\v")};var ykc=function(a,b){this.clearcut_=a;this.logContextFactory_=b;this.device_=zba()||Ga("iPod")?4:Ga("iPad")?5:yba()?xkc()?3:2:(Ba&&Ca?Ca.mobile:!xkc()&&(Ga("iPod")||Ga("iPhone")||Ga("Android")||Ga("IEMobile")))||xkc()?0:1},Akc=function(a){var b=a.getLogContext(),c=null;if(b.getEnableClearcut()){var d,e;c=b.getLogSource();var f=MGa();var h=$i(b,7,Wi(Xi));c=zkc(c,f,h,(e=(d=sJ.clearcut)==null?void 0:d.preferOauth)!=null?e:!1,b.getClearcutUrl())}return new ykc(c,a)},Bkc=function(a){var b=a.logContextFactory_.getLogContext(),
c=new bJ;c.setApplication(b.getApplicationOrUndefined());c.setDevice(a.device_);a=new cJ;a.setSocialClient(c);a.setVersionName(b.getVersionOrUndefined());a.setClientAgent(b.getClientAgentOrUndefined());a.setEventSource(b.getEventSourceOrUndefined());a.setEventSourceId(b.getEventSourceIdOrUndefined());a.setEnvironment(b.getEnvironmentOrUndefined());a.setPeoplekitEntryPoint(b.getPeoplekitEntryPointOrUndefined());a.setSharekitEntryPoint(b.getSharekitEntryPointOrUndefined());b.hasBaselineCl()&&(b=Math.round(Zi(b,
5)),isFinite(b)&&a.setBaselineCl(b));return a},Ckc=function(a,b){var c=new WF;ldc(c,b.serialize());a.clearcut_&&$F(a.clearcut_,c)},zkc=wp($Ga);var Dkc=function(a,b){this.clearcut_=a;this.logEventFactory_=b};Dkc.prototype.logError=function(a){var b=Bkc(this.clearcut_);(a=this.logEventFactory_.createErrorMetric(b,a))&&Ckc(this.clearcut_,a)};var Ekc=new Map([[200,0],[400,3],[401,16],[403,7],[404,5],[409,10],[416,11],[429,8],[499,1],[-1,1],[504,4],[501,12],[503,14]]);var Fkc=function(){this.logContext_=Mt(new Nt,"ppl.store")};g=Fkc.prototype;g.getLogContext=function(){return this.logContext_};g.createCountMetric=function(){return null};g.createStatusMetric=function(){return null};g.createErrorMetric=function(){return null};g.createLatencyMetric=function(){return null};var Gkc=function(a){this.clearcut_=a},Fs=function(a){a=new Dkc(Akc(a),a);return new Gkc(a)};g=Gkc.prototype;g.start=function(a,b){a.start(b);return this};g.stop=function(a,b){a.stop(b);return this};
g.count=function(a,b){var c=this.clearcut_;b=b===void 0?1:b;var d=Bkc(c.clearcut_);(a=c.logEventFactory_.createCountMetric(d,a,b))&&Ckc(c.clearcut_,a);return this};g.status=function(a,b){var c=this.clearcut_,d=Bkc(c.clearcut_);(a=c.logEventFactory_.createStatusMetric(d,a,b))&&Ckc(c.clearcut_,a);return this};g.latency=function(a){var b=this.clearcut_,c=Bkc(b.clearcut_);(a=b.logEventFactory_.createLatencyMetric(c,a))&&Ckc(b.clearcut_,a);return this};g.error=function(a){this.clearcut_.logError(a);return this};
g.logError=function(){};g.logInfo=function(){return this};var tJ=function(a,b){this.addressBookMap_={};this.addressBooks=[];this.ownedAddressBooks_=[];this.scheduler_=new Bjc;this.eventHandler_=new Lr(this);this.ownsContactNotificationService_=!a;this.queryFilters_=[];this.contactNotificationService_=a||new Ljc;(a=b)||(a=Fs(new Fkc));this.metrics=a;this.queryFilters_.push(this.contactNotificationService_)};qv(tJ,PF);g=tJ.prototype;
g.addAddressBook=function(a,b){this.addressBooks.push(a);b&&this.ownedAddressBooks_.push(a);this.addressBookMap_[a.getId()]=a;this.eventHandler_.listen(a,uea(Djc),ov(this.forwardEvent_,this))};g.forwardEvent_=function(a){this.contactNotificationService_.dispatchEvent(a)};g.getEventTarget=function(){return this.contactNotificationService_.getEventTarget()};g.invalidate=function(){this.contactNotificationService_.dispatchEvent(new Ejc(null,"c"))};
g.loadContactRows=function(a,b){var c=this,d=(new tp).setEventType(4).setApiType(2),e=new kJ(d);this.metrics.count(e);this.metrics.start(e,"total");return Hkc(this,a,function(f){return f.loadContactRows},function(f,h,l,q,v){Ikc(function(y,E,H,O){var N=E===aJ||E instanceof ajc?2:1;e.source().setCacheStatus(N);e.source().setAddressBook(H?bjc.get(H)||1:1);c.metrics.stop(e,"total");c.metrics.status(e,kjc(v||0));b&&b(y,E,H,O,v)},f,h,l,q)})};
var Hkc=function(a,b,c,d){var e=new Jkc(d,a.metrics),f;if(b.addressBookId){var h=a.addressBookMap_[b.addressBookId];b.delayMillis>0||b.maxTries>1?f=Kkc(a,h,c(h),b,d):f=c(h).call(h,b,d);f&&e.add(f)}else for(var l=0;l<a.addressBooks.length;l++)h=a.addressBooks[l],b.delayMillis>0||b.maxTries>1?f=Kkc(a,h,c(h),b,d):f=c(h).call(h,b,d),f&&e.add(f);return e};
tJ.prototype.execute=function(a){var b=this,c=(new tp).setEventType(4).setApiType(1),d=new kJ(c);this.metrics.count(d);this.metrics.start(d,"total");Lkc(this,a);a.addSuccessOrFailureCallback(function(e){var f=e?kjc(e.getErrorCode()):2;e=(e=e?e.request_:null)?e.getAddressBookId():"";d.source().setCacheStatus(e?1:2);d.source().setAddressBook(e?e?bjc.get(e)||1:1:0);b.metrics.stop(d,"total");b.metrics.status(d,f)});return this.cache_&&(c=a.executeFromCache(this.cache_,function(e){return Mkc(b,e,d)}))?
c:Mkc(this,a,d)};
var Lkc=function(a,b){Ma(a.queryFilters_,function(){});b.isMutate()&&(b=b.getOperation())&&(b=b.getQueryAfterMutate())&&Lkc(a,b)},Mkc=function(a,b,c){if(b.isMutate()){var d=b.getOperation();d&&(d=d.getMutationId())&&a.contactNotificationService_.mutationIdMap_.set(d,Date.now())}if(d=b.getAddressBookId())if(d=a.addressBookMap_[d])return d.execute(b);c=new Jkc(void 0,a.metrics,c);c.setQuery(b);for(var e=0;e<a.addressBooks.length;e++)d=a.addressBooks[e],d.execute&&c.add(d.execute(b));return c},Kkc=function(a,
b,c,d,e){var f=a.scheduler_;b=ov(a.runScheduledQuery_,a,b,c,d,e);f=new zjc(f,b,d.name);a.scheduler_.schedule(f,d.delayMillis,d.maxTries,d.force);return new Nkc(f)};tJ.prototype.runScheduledQuery_=function(a,b,c,d,e){e.request=b.call(a,c,function(f,h,l,q,v){e.isDone(!v)&&d&&d(f,h,l,q,v)})};
var Ikc=function(a,b,c,d,e){a&&(b&&(e.filter&&(b=e.filter(b,e.token)),Okc(b)),a(b||[],c,d,e))},Okc=function(a){if(a.length>0)for(var b=a[0].getPriority(),c=1;c<a.length;c++){var d=a[c],e=d.getPriority();e<b&&(d.flags|=1,b=e)}};
tJ.prototype.disposeInternal=function(){tJ.superClass_.disposeInternal.call(this);zo(this.scheduler_);this.scheduler_=null;Ma(this.ownedAddressBooks_,zo);this.ownedAddressBooks_=this.addressBookMap_=this.addressBooks=null;zo(this.eventHandler_);this.eventHandler_=null;Ma(this.queryFilters_,function(a){a!=this.contactNotificationService_&&zo(a)},this);this.queryFilters_=null;this.ownsContactNotificationService_&&(zo(this.contactNotificationService_),this.contactNotificationService_=null)};
var Pkc=function(a){var b=new Xjc(a,0);Mt(b.getLogContext(),"ppl.store");b.getLogContext().setEnableClearcut(Fj(a.getExperiments(),3,!0));return Fs(b)},Jkc=function(a,b,c){this.requests_=[];this.handler=a;this.metrics_=b;this.state_=c;this.addressBookId_=""};g=Jkc.prototype;g.setAddressBookId=function(a){this.addressBookId_=a};g.getAddressBookId=function(){return this.addressBookId_};g.add=function(a){this.requests_.push(a)};g.isEmpty=function(){return this.requests_.length==0};
g.cancel=function(){this.isPending()&&this.metrics_&&this.state_&&this.metrics_.status(this.state_,1);for(var a=0;a<this.requests_.length;a++)this.requests_[a].cancel()};g.isPending=function(){for(var a=0;a<this.requests_.length;a++)if(this.requests_[a].isPending())return!0;return!1};g.getQuery=function(){return this.query_};g.setQuery=function(a){this.query_=a};var Nkc=function(a){this.op=a;this.request=null};Nkc.prototype.cancel=function(){this.op.cancel();this.request&&this.request.cancel()};
Nkc.prototype.isPending=function(){return this.op.isPending()||this.op.request&&this.op.request.isPending()};var Qkc=function(a,b){this.text=a;this.specialRowHandler=b};qv(Qkc,Zic);g=Qkc.prototype;g.getName=function(){return null};g.getEmail=function(){return null};g.getType=function(){return"sr"};g.getPriority=function(){return 0};g.getLoggingId=function(){return"sr"};var Rkc=function(a,b){tJ.call(this,a,b)};Y(Rkc,tJ);Rkc.prototype.addAddressBook=function(a,b){this.addressBooks.length==1&&(this.combiner_=new Skc(this.metrics),this.combiner_.addAddressBook(this.addressBooks[0]));tJ.prototype.addAddressBook.call(this,a,b);this.combiner_&&this.combiner_.addAddressBook(a)};Rkc.prototype.loadContactRows=function(a,b){return this.combiner_&&a.isAutoCompleteMode&&!a.addressBookId?this.combiner_.loadContactRows(a,b):tJ.prototype.loadContactRows.call(this,a,b)};
var Skc=function(a){this.addrBooks_=[];this.rowSets_=null;this.metrics_=a};Skc.prototype.addAddressBook=function(a){this.addrBooks_.push(new Tkc(this,this.addrBooks_.length,a))};Skc.prototype.loadContactRows=function(a,b){a=new Ukc(a,this.metrics_,b);Vkc(this,a);return a};
var Vkc=function(a,b,c,d){a.rowSets_=[];for(var e=0;e<a.addrBooks_.length&&!(e==c?a.rowSets_[e]=d:a.addrBooks_[e].loadContactRows(b),e==0&&a.rowSets_[e]&&a.rowSets_[e].length>=b.query.maxMatches);e++);c=b.query;d=a.rowSets_;var f=[];e=!1;for(var h,l=0;l<d.length&&f.length<c.maxMatches;l++)if(d[l]){h=f.length;e=!0;var q=d[l],v=c.maxMatches,y=f.length;if(y==0)f=q.length>v?q.slice(0,v):q;else for(var E=0;E<q.length;E++){for(var H=null,O=0;O<y&&!(H=Wkc(f[O],q[E]));O++);if(H)H===q[E]&&(f[O]=H);else if(f.length==
y?f=f.concat(q[E]):f.push(q[E]),f.length==v)break}h>0&&f.length>h&&(f[h].flags|=1)}e?(Okc(f),c=f):c=null;c&&b.handler&&a.addrBooks_[0]&&a.addrBooks_[0].madeCallback_&&b.handler(c,b,null,b.query);a.rowSets_=null},Wkc=function(a,b){if(a.specialRowHandler||b.specialRowHandler)return null;if(a.text==b.text)return a;if(a.getEmail()==b.getEmail()&&a.getType()==b.getType()){if(!b.getName())return a;if(!a.getName())return b}return null},Xkc=function(a,b,c,d){a.rowSets_?a.rowSets_[c]=d:Vkc(a,b,c,d)};
Skc.prototype.handleSpecialRow=function(){};var Tkc=function(a,b,c){this.combiner_=a;this.id_=b;this.addrBook_=c;this.lastAsyncLatency_=0;this.isSynchronous_=!1};
Tkc.prototype.loadContactRows=function(a){var b=this,c=a.storedResults_[this.id_];if(!c){this.isSynchronous_=!0;this.madeCallback_=!1;var d=Date.now(),e=this.addrBook_.loadContactRows(a.query,function(f,h,l,q,v){b.matchListener_(a,d,f,v)});a.addRequest(this.id_,e);this.isSynchronous_=!1;this.madeCallback_||a.query.isAutoCompleteMode&&this.lastAsyncLatency_>300&&(c=[Ykc(this)])}c&&Xkc(this.combiner_,a,this.id_,c)};
var Ykc=function(a){var b=a.addrBook_.title_;return new Qkc(b?"Searching for matches from "+b:"Searching for more matches.",a.combiner_.handleSpecialRow)};
Tkc.prototype.matchListener_=function(a,b,c,d){d=d===void 0?0:d;this.madeCallback_=!0;this.isSynchronous_||(this.lastAsyncLatency_=Date.now()-b);a.query.filter&&c&&(c=a.query.filter(c,a.query.token));b=this.id_;var e=this.addrBook_.getId();a.storedResults_[b]=c;a.storedErrorCodes_[b]=d;a.addressBooksToReport_[b]=e;Xkc(this.combiner_,a,this.id_,c)};Tkc.prototype.dispose=function(){this.combiner_=this.matcher_=null};
var Ukc=function(a,b,c){var d=this;this.query=a;this.activeRequests_={};this.storedResults_={};this.addressBooksToReport_=[];this.storedErrorCodes_=[];var e=new kJ((new tp).setEventType(4).setApiType(2));b.count(e);b.start(e,"total");this.handler=function(f,h,l,q){d.addressBooksToReport_.forEach(function(v,y){var E=d.activeRequests_[y];E=E===aJ||E instanceof ajc?2:1;e.source().setCacheStatus(E);e.source().setAddressBook(v?bjc.get(v)||1:1);b.stop(e,"total");b.status(e,kjc(d.storedErrorCodes_[y]))});
d.addressBooksToReport_=[];c&&c(f,h,l,q)}};Ukc.prototype.cancel=function(){for(var a in this.activeRequests_)this.activeRequests_[a].cancel();this.activeRequests_={}};Ukc.prototype.isPending=function(){for(var a in this.activeRequests_)if(this.activeRequests_[a].isPending())return!0;return!1};Ukc.prototype.addRequest=function(a,b){this.activeRequests_[a]=b};var Zkc={198:"AE",230:"ae",306:"IJ",307:"ij",338:"AE",339:"ae"},ct=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);if(e<192||e>382)e=null;else{var f=Zkc[e];f?e=f:(f="AAAAAA*CEEEEIIIIDNOOOOOx0UUUUYpBaaaaaa*ceeeeiiiionooooo^ouuuuypyAaAaAaCcCcCcCcDdDdEeEeEeEeEeGgGgGgGgHhHhIiIiIiIiIi**JjKkkLlLlLLLlllNnNnNnnNnOoOoOo**RrRrRrSsSsSsSsTtTtttUuUuUuUuUuUuWwYyYZzZzZz"[e-192],e=f=="^"?null:f)}e&&(c!=d&&b.push(a.substr(c,d-c)),c=d+1,b.push(e))}return b.length>0?(b.push(a.substr(c)),b.join("")):
a};var uJ=function(a,b,c,d,e,f){yp.call(this);this.cacheMaxSize_=e||0;this.rowMatchingFunction_=f||$kc;this.cache_=new ZE(this.cacheMaxSize_,!0);this.cacheSize_=a||0;this.cacheMinExpiryAge_=b||0;this.cacheMaxExpiryAge_=c||0;this.cacheByType_=!!d};qv(uJ,yp);uJ.prototype.disposeInternal=function(){uJ.superClass_.disposeInternal.call(this);this.cache_=null};uJ.prototype.clear=function(){this.cache_.clear()};
var $kc=function(a){var b=cq(ct(a.token));return function(c){var d=new RegExp("(^|\\W+)"+b,"i");(d=ct(String(c[1])).match(d)!=null)||(d=c[0],d=c[2].match(new RegExp("^"+b,"i"))!=null&&String(d)!="cl");return d}},alc=function(a,b){var c="^"+a.token.toLowerCase();b&&(a.includeContacts||(c="nc"+c),a.includeGroups||(c="ng"+c),a.includePhoneContacts||(c="np"+c),a.isContactAutoComplete||(c="na"+c));a.includeProfileAddresses&&(c="pa"+c);return c},blc=function(a,b,c){a.cache_.set(alc(b,a.cacheByType_),c);
if(a.cacheSize_&&(b=a.cache_.getCount(),b>a.cacheSize_)){c=Date.now()-a.cacheMinExpiryAge_;do{if(a.cache_.head_.prev.value.created>=c)break;a.cache_.pop()}while(--b>a.cacheSize_)}},clc=function(a,b,c){c=c?a.cache_.get(b):icc(a.cache_,b);return a.isStale(c)?(a.cache_.remove(b),null):c},dlc=function(a,b,c){c=b.length-c.length;for(var d=b.length;d>=c;d--){var e=clc(a,b,!1);if(e)return e;b=b.substr(0,d-1)}return null},elc=function(a,b){if(b.isContactAutoComplete)return null;var c=alc(b,a.cacheByType_),
d=dlc(a,c,b.token);return d?d:a.cacheByType_&&c.lastIndexOf("^",0)!=0?(c=alc(b,!1),dlc(a,c,b.token)):null};uJ.prototype.isStale=function(a){return!!a&&!!this.cacheMaxExpiryAge_&&a.created+this.cacheMaxExpiryAge_<Date.now()};uJ.prototype.invalidateCache=function(a){for(var b=this.cache_.getKeys(),c=0;c<b.length;c++){var d=b[c],e={token:icc(this.cache_,d).token};this.rowMatchingFunction_(e)(a)&&this.cache_.remove(d)}};
var flc=function(a,b,c){this.token=a;this.matches_=b;this.partialResult_=!!c;this.count=1;this.created=Date.now()};flc.prototype.getMatches=function(a){a&&this.count++;return this.matches_};flc.prototype.isComplete=function(a){return!this.partialResult_||a>=0&&a<=this.matches_.length};qv(Ap,yp);g=Ap.prototype;g.configure=function(a,b){this.title_=b;this.initialized_||(this.initialized_=!0)};g.getId=function(){return this.id_};
g.loadContactRows=function(a,b){if(this.initialized_){var c=this.cache_;if(iu(a.token)&&!c.allowEmptyQueries_)var d=$ic;else{d=a.maxMatches;var e=clc(c,alc(a,c.cacheByType_),!0);(d=e&&d&&!e.isComplete(d)?null:e)?d=d.getMatches():(d=elc(c,a))&&d.getMatches().length==0?(blc(c,a,new flc(a.token,$ic)),d=$ic):d&&!d.partialResult_&&c.clientFilteringOk_?(d=d.getMatches(),d=aZb(d,c.rowMatchingFunction_(a),c),blc(c,a,new flc(a.token,d))):d=null}d&&a.maxMatches>=0&&d.length>a.maxMatches&&(d=d.slice(0,a.maxMatches));
return(c=d)?(b&&b(c,aJ,this.getId(),a),aJ):this.transport_.loadContactRows(a,this.getId(),ov(this.cacheContactRowsAndInvokeHandler_,this,b))}b&&b($ic,aJ,this.getId(),a,4);return aJ};g.cacheContactRowsAndInvokeHandler_=function(a,b,c,d,e,f){f||blc(this.cache_,e,new flc(e.token,b,e.maxMatches!=-1&&b.length>=e.maxMatches));a&&(b&&e.maxMatches>=0&&b.length>e.maxMatches&&(b=b.slice(0,e.maxMatches)),a(b,c,d,e,f))};g.onContactsChange_=function(){this.cache_.clear()};
g.disposeInternal=function(){Ap.superClass_.disposeInternal.call(this);this.cache_.dispose();this.cache_=null;glc(this.transport_,this.id_);this.transport_=null};var ilc=function(a,b,c){uJ.call(this,100,18E5,432E5,!0,0,c||hlc);this.clientFilteringOk_=a;this.allowEmptyQueries_=b};Y(ilc,uJ);var hlc=function(a){return function(b){var c=b.getType(),d;if(d=jlc(a,c)){d=new RegExp("(^|\\W+)"+cq(ct(a.token)),"i");var e=ct(b.getName()||"");(d=d.test(e))||(d=a.token,d=((b=b.getEmail())?(new RegExp("^"+cq(ct(d)),"i")).test(b):!1)&&c!="cl")}return d}},jlc=function(a,b){switch(b){case "ct":return a.includeContacts;case "cl":case "li":return a.includeGroups;case "pt":return a.includePhoneContacts}return!1};var llc=function(a,b,c){this.includeDomainGroups_=!!c;b=b||new ilc(!0,!1,klc);Ap.call(this,a,b,"domain")};qv(llc,Ap);llc.prototype.loadContactRows=function(a,b){a.includeGroups&&!this.includeDomainGroups_&&(a=Gc(a),a.includeGroups=!1);return llc.superClass_.loadContactRows.call(this,a,b)};
var klc=function(a){for(var b=r_b(a.token).toLowerCase().split(/\s+/),c=[],d=[],e=0;e<b.length;e++){var f=cq(b[e]),h=new RegExp("^"+f,"i");c.push(new RegExp("(^|\\W+)"+f,"i"));d.push(h)}return function(l){if(jlc(a,l.getType())){for(var q=0;q<c.length;q++)if(!l.getName().match(c[q])&&!l.getEmail().match(d[q]))return!1;return!0}return!1}};llc.prototype.execute=function(a){a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};var mlc=function(a,b){this.personId=a;this.contactId=b.CONTACT||"";this.syntheticId=b.DOMAIN_CONTACT||"";this.profileId=b.PROFILE||b.DOMAIN_PROFILE||"";this.loggingId=""},olc=function(a){if(!a)return nlc;var b=bHa(sp("metadata.identityInfo.sourceIds",a)),c=sp("metadata.contactId",a);c&&c[0]?b.CONTACT=c[0]:b.CONTACT&&(c=parseInt(b.CONTACT,16),isFinite(c)&&(b.CONTACT=String(c)));return new mlc(a.personId||"",b)},nlc=new mlc("",{});var plc=function(a,b){this.isLocal_=a;this.edgeIndex_=b};plc.prototype.toString=function(){return""};var vJ=function(a,b){this.metadata_=a||{};this.edgeCollection_=b};vJ.prototype.toString=function(){return""};var rlc=function(a){return qlc(a).some(function(b){return!b.isLocal_})};vJ.prototype.getSource=function(a){return qlc(this)[a]};vJ.prototype.hasSource=function(){return void 0<qlc(this).length};var qlc=function(a){return a.edgeCollection_?a.edgeCollection_.getSources(a.metadata_.encodedContainerId,a.metadata_.containerType):[]};vJ.prototype.getCause=function(a){return slc(this)[a]};
var slc=function(a){return a.edgeCollection_?tlc(a.edgeCollection_,a.metadata_.edgeKeyInfo):[]};vJ.prototype.getContainerType=function(){return this.metadata_.containerType};var ulc=new vJ({},null);var vlc=function(a,b){this.email_=a;this.edgeCollection_=b;this.metadata_=null};g=vlc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new vJ(this.email_.metadata,this.edgeCollection_):ulc);return this.metadata_};g.hasMetaData=function(){return"metadata"in this.email_};g.getValue=function(){return this.email_.value||""};g.hasValue=function(){return!!this.getValue()};
g.getPrimary=function(){var a=this.email_.metadata;return!(!a||!a.primary)};g.getDisplayName=function(){return""};var wlc=new vlc({},null);var xlc=function(a,b){this.emails_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.emails_.push(new vlc(c.value,b))};g=xlc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.emails_[a]||wlc};g.getFieldLength=function(){return this.emails_.length};var ylc=new xlc([],null);var zlc=function(a,b){this.name_=a||{};this.edgeCollection_=b;this.metadata_=null};g=zlc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=new vJ(this.name_.metadata,this.edgeCollection_));return this.metadata_};g.hasMetaData=function(){return!!this.getMetaData()};g.getValue=function(){return this.name_.displayName||this.name_.formattedName||this.name_.formattedValue||this.name_.value||""};g.hasValue=function(){return!!this.getValue()};
g.getFamilyName=function(){return this.name_.familyName||""};g.hasFamilyName=function(){return!!this.getFamilyName()};g.getGivenName=function(){return this.name_.givenName||""};g.hasGivenName=function(){return!!this.getGivenName()};var Alc=new zlc({},null);var Blc=function(a){this.field_=a};g=Blc.prototype;g.toString=function(){return""};g.getField=function(){return this.field_};g.getMetaData=function(){return this.field_.getMetaData()};g.hasMetaData=function(){return this.field_.hasMetaData()};g.getValue=function(){return this.field_.getValue()};g.hasValue=function(){return this.field_.hasValue()};g.getFamilyName=function(){return this.field_.getFamilyName()};g.hasFamilyName=function(){return this.field_.hasFamilyName()};g.getGivenName=function(){return this.field_.getGivenName()};
g.hasGivenName=function(){return this.field_.hasGivenName()};var Clc=new Blc(Alc);var Dlc=["CONTACT","PROFILE","DOMAIN_PROFILE"],Elc=function(a,b){this.names_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.names_.push(new zlc(c.value,b))};g=Elc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.names_[a]||Alc};g.getFieldLength=function(){return this.names_.length};var Flc=new Elc([],null);var Glc=function(a,b){this.phone_=a;this.edgeCollection_=b;this.metadata_=null};g=Glc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new vJ(this.phone_.metadata,this.edgeCollection_):ulc);return this.metadata_};g.hasMetaData=function(){return"metadata"in this.phone_};g.getValue=function(){return this.phone_.value||""};g.hasValue=function(){return!!this.getValue()};
g.getPrimary=function(){var a=this.phone_.metadata;return!(!a||!a.primary)};var Hlc=new Glc({},null);var Ilc=function(a,b){this.phones_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.phones_.push(new Glc(c.value,b))};g=Ilc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.phones_[a]||Hlc};g.getFieldLength=function(){return this.phones_.length};var Jlc=new Ilc([],null);var Klc=function(a,b){this.photo_=a;this.edgeCollection_=b;this.metadata_=null};g=Klc.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new vJ(this.photo_.metadata,this.edgeCollection_):ulc);return this.metadata_};g.hasMetaData=function(){return"metadata"in this.photo_};g.getUrl=function(){return this.photo_.url||""};g.hasUrl=function(){return!!this.getUrl()};var Llc=new Klc({},null);var Mlc=function(a,b){this.photos_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.isMonogram||c.isDefault||this.photos_.push(new Klc(c,b))};g=Mlc.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.photos_[a]||Llc};g.getFieldLength=function(){return this.photos_.length};var Nlc=new Mlc([],null);var wJ=function(a,b,c,d,e){this.person_=a;this.googleGroup_=b;this.contactLabel_=c;this.edgeCollection_=d;this.email_=this.name_=this.nameRepeated_=this.text_=null;this.emailIndex_=e===void 0?0:e;this.photo_=this.phone_=null};
wJ.prototype.toString=function(){if(this.text_==null){if(this.contactLabel_){var a=this.contactLabel_.extendedData&&this.contactLabel_.extendedData.contactPreferences?this.contactLabel_.extendedData.contactPreferences.length:0;a=a==1?"(1 contact)":"("+a+" contacts)";a=this.getName().getValue()+" "+a}else a=this.person_||this.googleGroup_?cHa(this.getName().getValue(),this.getEmail().getField(this.emailIndex_).getValue()):"";this.text_=a}return this.text_};wJ.prototype.hasName=function(){return!!this.getName()};
wJ.prototype.getName=function(){if(!this.name_){a:{var a=hHa(this);if(a.names_.length){for(var b=k(Dlc),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=k(a.names_),e=d.next();!e.done;e=d.next())if(e=e.value,e.getMetaData().getContainerType()===c){a=new Blc(e);break a}}a=new Blc(a.names_[0])}else a=Clc}this.name_=a}return this.name_};
var hHa=function(a){if(!a.nameRepeated_){var b;a.person_?b=a.person_.name:a.googleGroup_?b=a.googleGroup_.names:a.contactLabel_&&(b=[a.contactLabel_.name]);a.nameRepeated_=b?new Elc(b,a.edgeCollection_):Flc}return a.nameRepeated_};g=wJ.prototype;g.hasEmail=function(){return!!this.getEmail().getField(0).getValue()};
g.getEmail=function(){if(!this.email_){var a=null;this.person_?a=this.person_.email:this.googleGroup_?a=this.googleGroup_.emails:this.contactLabel_&&(a=[{value:dHa(this.contactLabel_)}]);this.email_=a?new xlc(a,this.edgeCollection_):ylc}return this.email_};g.hasPhone=function(){return!!this.getPhone().getField(0).getValue()};g.getPhone=function(){if(!this.phone_){var a;this.person_?a=this.person_.phone:this.googleGroup_&&(a=this.googleGroup_.phones);this.phone_=a?new Ilc(a,this.edgeCollection_):Jlc}return this.phone_};
g.hasPhoto=function(){return!!this.getPhoto().getField(0).getUrl()};g.getPhoto=function(){if(!this.photo_){var a;this.person_&&(a=this.person_.photo);this.photo_=a?new Mlc(a,this.edgeCollection_):Nlc}return this.photo_};g.getAddress=function(){return null};g.getStatus=function(){return null};g.hasStatus=function(){return!!this.getStatus()};g.hasAttribute=function(a){return!!this.getAttribute(a)};g.getAttribute=function(){return null};g.getDisplayName=function(){return null};g.getRelation=function(){return null};
var cHa=function(a,b){return a?b&&a!=b?'"'+a.replace(/[\\"]/g,"\\$&")+'" <'+b+">":a:b||""},Olc=new wJ(null,null,null,null);var Plc=function(){this.keyToIndex_=new Map},Qlc=function(a,b,c){return c.map(function(d){return a.get(b,d)}).filter(function(d){return d!=null})};Plc.prototype.get=function(a,b){b==="DOMAIN_PROFILE"&&(b="PROFILE");return this.contains(a,b)?this.keyToIndex_.get(a+"="+b):null};Plc.prototype.set=function(a,b,c){b==="DOMAIN_PROFILE"&&(b="PROFILE");this.keyToIndex_.set(a+"="+b,c)};Plc.prototype.contains=function(a,b){b==="DOMAIN_PROFILE"&&(b="PROFILE");return this.keyToIndex_.has(a+"="+b)};var fHa=function(a){this.evergreenProfile_=a?new wJ(a,null,null,null):Olc};fHa.prototype.toString=function(){return""};var Rlc=new fHa(null);var Slc=new plc(!0,null),xJ=function(a){this.edgeIndexResolver_=new Plc;this.sourcesCache_=new Map;this.encodedContainerIds_=[];this.readonlyOutgoingEdges_=gHa(a,this.edgeIndexResolver_,this.encodedContainerIds_)};xJ.prototype.get=function(a){return this.readonlyOutgoingEdges_[a]||Rlc};var tlc=function(a,b){return b?b.map(function(c){return a.edgeIndexResolver_.get(c.containerId,c.containerType)}).filter(function(c){return c!=null}):[]};xJ.prototype.getSize=function(){return this.readonlyOutgoingEdges_.length};
xJ.prototype.getSources=function(a,b){if(!a||!b)return[];if(b==="CONTACT")return[Slc];var c=a+"="+b;this.sourcesCache_.has(c)||this.sourcesCache_.set(c,Qlc(this.edgeIndexResolver_,a,[b]).map(function(d){return new plc(!1,d)}));return this.sourcesCache_.get(c)};var Tlc=new xJ(null);var Ulc=function(a,b,c){a=a===void 0?null:a;b=b===void 0?0:b;c=c===void 0?!1:c;this.person_=a&&a.person||null;this.googleGroup_=a&&a.googleGroup||null;this.contactLabel_=a&&a.contactGroup||null;this.edgeCollection_=new xJ(this.person_);this.emailIndex_=b;this.profile_=new wJ(this.person_,this.googleGroup_,this.contactLabel_,this.edgeCollection_,this.emailIndex_);this.photoUrl_=this.phone_=this.name_=this.allIds_=null;this.text=c?this.getName()||"":this.profile_.toString()};Y(Ulc,Zic);g=Ulc.prototype;
g.toString=function(){return this.getType()==="cl"?this.getEmail()||"":this.text};g.getAllIds_=function(){if(!this.allIds_){if(this.person_)var a=olc(this.person_);else if(this.googleGroup_)if(a=this.googleGroup_){var b=bHa(a.sourceIds);a=new mlc(a.personId||"",b)}else a=nlc;else this.contactLabel_?(a=this.contactLabel_)?(b={},b.CONTACT=sp("id.id",a)||"",a=new mlc("",b)):a=nlc:a=nlc;this.allIds_=a}return this.allIds_};g.getId=function(){return this.getAllIds_().contactId};
g.getName=function(){this.name_===null&&(this.name_=iHa(this.profile_,function(a){return!!a&&!rlc(a)}),this.name_===null&&(this.name_=Vlc(this,iHa)));return this.name_};g.getEmail=function(){return this.profile_.getEmail().getField(this.emailIndex_).getValue()};g.getType=function(){var a=this.profile_;return a.contactLabel_?"cl":a.googleGroup_?"li":!a.hasEmail()&&a.hasPhone()?"pt":"ct"};g.getPriority=function(){return 0};
g.getPhotoUrl=function(){this.photoUrl_===null&&(this.photoUrl_=jHa(this.profile_,function(a){return!!a&&!rlc(a)}),this.photoUrl_===null&&(this.photoUrl_=Vlc(this,jHa)));return this.photoUrl_};g.getEncryptionSupport=function(){var a=1,b=Wlc(this);if(b){(b=b.extendedData)&&b.smtpServerSupportsTls&&(a=2);b=0;var c=Wlc(this);if(c&&(c=c.certificate)){c=k(c);for(var d=c.next();!d.done;d=c.next())if(d=sp("status.statusCode",d.value),d===1){b=1;break}else d&&(b=d)}b===1&&(a=a===2?3:4)}return a};
g.getLoggingId=function(){return this.getAllIds_().loggingId};
var Wlc=function(a){var b=sp("email",a.person_)||sp("emails",a.googleGroup_);return b?b[a.emailIndex_]||null:null},Vlc=function(a,b){for(var c=a.profile_.getEmail().getField(a.emailIndex_).getMetaData(),d=0;d<slc(c).length;d++){var e=c.getCause(d);e=a.edgeCollection_.get(e).evergreenProfile_;e=b(e);if(e!==null)return e}for(d=0;d<qlc(c).length;d++)if(e=c.getSource(d),e.edgeIndex_!==null&&(e=a.edgeCollection_.get(e.edgeIndex_||0).evergreenProfile_,e=b(e),e!==null))return e;return""},Xlc=function(a,
b,c){c=c===void 0?!1:c;if(b===void 0?0:b)return a.map(function(q){return new Ulc(q,void 0,!0)});b=new Set;var d=[];a=k(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=sp("person.email",e)||sp("googleGroup.emails",e)||[];if(c||f&&f.length)for(var h=0;h<f.length;h++){var l=(sp("value",f[h])||"").trim().toLowerCase();if(c){if(b.has(l))continue;b.add(l)}d.push(new Ulc(e,h))}else d.push(new Ulc(e))}return d};var Ylc=function(a,b,c,d,e,f,h,l,q,v,y,E,H,O,N,T){N=N===void 0?new ZI:N;T=T===void 0?!1:T;this.metrics=a;this.peopleRoot=b;this.gapiApiKey=c;this.clientId=d;this.clientName=e;this.clientVersion=f||"contact_store_336195648";this.affinityType=h;this.delegatorId=l;this.timeoutMs=q;this.onAuthError=v?v:function(){};this.autocompletePageSize=y;this.rankedTargetsPageSize=E;this.peopleContainerMask=H.split(/[\s,]+/).filter(function(da){return!!da});this.peopleFieldMask=O;this.experiments=N;this.includeOnlyNames=
T};Ylc.prototype.setTimeout=function(a){var b=this.timeoutMs;a>0&&(this.timeoutMs=a);return b};var Zlc=function(a,b){b=Error.call(this,b===void 0?"":b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a};Y(Zlc,Error);var yJ=function(a,b,c){this.config=a;this.onAuthError_=a.onAuthError;this.timeoutMs_=a.timeoutMs;this.metrics_=a.metrics;this.metric_=new kJ(b);this.handler_=c;this.promise_=this.query_=null;this.state_=0;this.addressBookId_="";this.metrics_.start(this.metric_,"total");this.metrics_.start(this.metric_,"blocked")};g=yJ.prototype;g.setAddressBookId=function(a){this.addressBookId_=a};g.getAddressBookId=function(){return this.addressBookId_};g.isPending=function(){return this.state_==1};g.getQuery=function(){return this.query_};
g.setQuery=function(a){this.query_=a};g.cancel=function(){switch(this.state_){case 1:this.promise_.cancel();break;case 0:this.state_=2,this.promise_=t6b(new ZA),$lc(this,null,11)}};
g.send=function(a){var b=this;if(this.state_!==0)return this.promise_;this.metrics_.count(this.metric_);this.metrics_.stop(this.metric_,"blocked");this.metrics_.start(this.metric_,"network");this.state_=1;var c=this.buildRequest();if(c&&c.path){var d=this.config.gapiApiKey||"";d&&!NGa()&&(c.params=c.params||{},c.params.key=d);c.headers=PGa(d);c.root=this.config.peopleRoot;c.authType="auto";a=a.request(c)}else a=Promise.resolve({result:{}});return this.promise_=D6b(w6b([a,Xdc(this.timeoutMs_,"TIMEOUT")]),
function(){b.state_=2;b.metrics_.stop(b.metric_,"network")}).then(function(e){return b.onResponse_(e)},function(e){return b.onError_(e)})};g.onResponse_=function(a){if(a==="TIMEOUT")this.onError_(a);else{var b=a&&a.result;if(!b||"error"in b)this.onError_(a);else{try{var c=this.processResponse(b)}catch(d){this.onError_(d);return}try{$lc(this,c,0)}finally{this.metrics_.stop(this.metric_,"total"),this.metrics_.status(this.metric_,0)}}}};
g.onError_=function(a){var b=!1,c=2,d=1;try{if(a==="TIMEOUT")c=4,d=10;else if(a instanceof ZA)c=1,d=11;else if(a instanceof Zlc)c=a.code,d=jjc(c);else if(a&&typeof a==="object"){var e=sp("result.error.code",a)||a.status,f=e;f=Number(f);c=gjc.has(f)?gjc.get(f):f>=200&&f<300?0:f>=400&&f<500?9:f>=500&&f<600?13:2;d=jjc(c);b=e==401||e==403;c===2&&this.metrics_.logError("Bad status code (HTTP="+e+")",a)}else c=2,d=1}finally{this.metrics_.status(this.metric_,c),$lc(this,null,d,b)}};
var $lc=function(a,b,c,d){if(d===void 0?0:d)try{a.onAuthError_()}catch(e){throw a.metrics_.logError("AuthError handler: "+e,e),e;}try{a.handler_(b||[],c)}catch(e){throw a.metrics_.logError("Client handler: "+e,e),e;}};var amc=function(a,b,c){var d=(new tp).setEventType(2).setRpcType(1).setToken(b);yJ.call(this,a,d,c);this.clientId_=a.clientId;this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.token_=b;this.pageSize_=a.autocompletePageSize};Y(amc,yJ);
amc.prototype.buildRequest=function(){var a={query:this.token_,client:this.clientId_,"clientVersion.clientAgent":"CONTACT_STORE","clientVersion.clientType":this.clientName_,"clientVersion.clientVersion":this.clientVersion_,pageSize:this.pageSize_};this.delegatorId_&&(a["authDelegationContext.delegationType"]="GMAIL",a["authDelegationContext.obfuscatedOwnerId"]=this.delegatorId_);return{method:"GET",path:"v2/people/autocomplete",params:a}};
amc.prototype.processResponse=function(a){var b=a.status;if(b){if(b.personalResultsNotReady)throw new Zlc(14,"PersonalResultsNotReady");if(b.requestThrottled)throw new Zlc(8,"RequestThrottled");if(b.containsPartialResults)throw new Zlc(8,"ContainsPartialResults");}return Xlc(a.results||[],this.config.includeOnlyNames)};var bmc=function(a,b){this.person_=a;this.allIds_=null;this.edgeCollection_=b;this.profile_=this.person_?new wJ(this.person_,null,null,this.edgeCollection_):Olc};g=bmc.prototype;g.toString=function(){return""};g.getAllIds_=function(){this.allIds_||(this.allIds_=olc(this.person_));return this.allIds_};g.getId=function(){return this.getAllIds_().contactId||this.getAllIds_().profileId||this.getAllIds_().syntheticId};g.hasAttribute=function(a){return!!this.getAttribute(a)};g.getAttribute=function(){return null};
g.getAffinity=function(){return null};g.hasAffinity=function(){return!!this.getAffinity()};g.getDeleted=function(){return!1};var cmc=new bmc(null,Tlc);var dmc=function(a){a=a===void 0?null:a;this.edgeCollection_=new xJ(a);this.contact_=a?new bmc(a,this.edgeCollection_):cmc};g=dmc.prototype;g.toString=function(){return""};g.getId=function(){return this.contact_.getId()};g.getAttribute=function(a){return this.contact_.getAttribute(a)};g.hasAttribute=function(a){return this.contact_.hasAttribute(a)};g.getAffinity=function(){return this.contact_.getAffinity()};g.hasAffinity=function(){return this.contact_.hasAffinity()};g.getDeleted=function(){return this.contact_.getDeleted()};var emc=function(a,b,c){yJ.call(this,a,(new tp).setEventType(2).setRpcType(3).setLookupType(4),c);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.personIds_=b.filter(function(d){return!!d});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};Y(emc,yJ);
emc.prototype.buildRequest=function(){if(!this.personIds_.length)return{};var a={personId:this.personIds_,context:{clientVersion:{clientAgent:"CONTACT_STORE",clientType:this.clientName_,clientVersion:this.clientVersion_}},mergedPersonSourceOptions:{includedProfileStates:"CORE_ID",personModelParams:{personModel:"CONTACT_CENTRIC"}},requestMask:{imageUrlType:"FIFE_URL",includeContainer:this.peopleContainerMask_,includeField:this.peopleFieldMask_}};this.delegatorId_&&(a.context.authDelegationContext=
{delegationType:"GMAIL",obfuscatedOwnerId:this.delegatorId_});return{method:"POST",path:"v2/people:batchGet",body:a}};emc.prototype.processResponse=function(a){return(a.personResponse||[]).filter(function(b){return b.status=="SUCCESS"}).map(function(b){return new dmc(b.person)})};var zJ=function(a,b,c,d){yJ.call(this,a,UGa(b),d);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.lookupType_=fmc(b);this.knownIds_=c.filter(function(e){return!!e});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};Y(zJ,yJ);
zJ.prototype.buildRequest=function(){if(!this.knownIds_.length||!this.lookupType_)return{};var a={"context.clientVersion.clientAgent":"CONTACT_STORE","context.clientVersion.clientType":this.clientName_,"context.clientVersion.clientVersion":this.clientVersion_,id:this.knownIds_,"mergedPersonSourceOptions.includedProfileStates":"CORE_ID","mergedPersonSourceOptions.personModelParams.personModel":"CONTACT_CENTRIC","profileLookupOptions.emailLookupOption":"INCLUDE_EMAIL_LOOKUP_KEY","requestMask.includeContainer":this.peopleContainerMask_,
"requestMask.includeField":this.peopleFieldMask_,"requestMask.imageUrlType":"FIFE_URL",type:this.lookupType_};this.delegatorId_&&(a["context.authDelegationContext.delegationType"]="GMAIL",a["context.authDelegationContext.obfuscatedOwnerId"]=this.delegatorId_);return{method:"GET",path:"v2/people/lookup",params:a}};
zJ.prototype.processResponse=function(a){var b=a.matches,c=a.people,d=[];b&&c&&b.forEach(function(e){e=k(e.personId);for(var f=e.next();!f.done;f=e.next())(f=c[f.value])&&d.push(new dmc(f))});return d};var fmc=function(a){switch(a){case 1:return"EMAIL";case 2:return"PHONE";case 3:return"CONTACT";case 5:return"SYNTHETIC";default:return""}};var gmc=function(a,b){yJ.call(this,a,(new tp).setEventType(2).setRpcType(9),b);this.affinityType_=a.affinityType;this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.pageSize_=a.rankedTargetsPageSize;this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask;this.peopleExtensionNames_=[];Fj(a.experiments,6,!0)&&this.peopleExtensionNames_.push("FILTER_TO_PRIMARY")};Y(gmc,yJ);
gmc.prototype.buildRequest=function(){var a={"affinity.type":this.affinityType_,"context.clientVersion.clientAgent":"CONTACT_STORE","context.clientVersion.clientType":this.clientName_,"context.clientVersion.clientVersion":this.clientVersion_,"pagingOptions.pageSize":this.pageSize_,"requestMask.includeContainer":this.peopleContainerMask_,"requestMask.includeField":this.peopleFieldMask_,"mergedPersonSourceOptions.includedProfileStates":"CORE_ID","mergedPersonSourceOptions.personModelParams.personModel":"CONTACT_CENTRIC"};
this.peopleExtensionNames_.length&&(a["extensionSet.extensionNames"]=this.peopleExtensionNames_);return{method:"GET",path:"v2/people/rankedTargets",params:a}};gmc.prototype.processResponse=function(a){return Xlc(a.rankedTarget||[],this.config.includeOnlyNames,!0)};g=kHa.prototype;g.getQuery=function(){return this.query_};g.setQuery=function(a){this.query_=a};g.getError=function(){return this.error_};g.setError=function(a){this.error_=a};g.getConfiguration=function(){return this.config_};g.setConfiguration=function(a){this.config_=a};g.getUserData=function(){return this.userData_};g.setUserData=function(a){this.userData_=a};var hmc=new Map([[1,4],[2,2],[3,1],[4,7]]),kmc=function(a,b){PF.call(this);var c=this;this.config_=a;this.queuedRequests_=new Map;this.gapiClient_=null;this.gapiFailed_=!1;this.metrics_=a.metrics;this.gapiMetric_=new kJ((new tp).setEventType(1));this.metrics_.start(this.gapiMetric_,"total");this.metrics_.start(this.gapiMetric_,"blocked");b.then(function(d){c.metrics_.stop(c.gapiMetric_,"blocked");d?imc(c,d):jmc(c,5)},function(d){c.metrics_.logError("gapi.client failed to load: "+d,d);jmc(c,5)})};
Y(kmc,PF);var imc=function(a,b){b&&b.request?(TGa(),a.metrics_.stop(a.gapiMetric_,"total"),a.metrics_.status(a.gapiMetric_,0),a.gapiClient_=b,a.queuedRequests_.forEach(function(c,d){return c.forEach(function(e){return lmc(a,d,e)})})):jmc(a,9)};kmc.prototype.disposeInternal=function(){for(var a=k(this.queuedRequests_.keys()),b=a.next();!b.done;b=a.next())glc(this,b.value)};
var jmc=function(a,b){a.metrics_.status(a.gapiMetric_,b);a.gapiFailed_=!0;a.disposeInternal()},glc=function(a,b){b=b||"";a.queuedRequests_.has(b)&&(mmc(a.queuedRequests_.get(b)),a.queuedRequests_.delete(b))},nmc=function(a,b,c){a.gapiFailed_?c.cancel():(aHa(a,b).push(c),lmc(a,b,c))},lmc=function(a,b,c){a.gapiClient_&&D6b(c.send(a.gapiClient_),function(){var d=b;d=d||"";if(a.queuedRequests_.has(d)){d=a.queuedRequests_.get(d);var e=d.indexOf(c);e>=0&&d.splice(e,1)}})},aHa=function(a,b){b=b||"";if(a.queuedRequests_.has(b))return a.queuedRequests_.get(b);
var c=[];a.queuedRequests_.set(b,c);return c},mmc=function(a){a&&a.length&&(a.forEach(function(b){return b.cancel()}),a.length=0)};kmc.prototype.loadContactRows=function(a,b,c){var d=a&&a.token||"",e=function(h,l){return c(h,f,b,a,l)},f=d?new amc(this.config_,d,e):new gmc(this.config_,e);nmc(this,b,f);return f};
kmc.prototype.execute=function(a){if(a.isMutate())return this.metrics_.status(new kJ((new tp).setEventType(2).setRpcType(4)),12),omc(a);var b=a.getQueryParameters&&a.getQueryParameters()||{},c=b.addressBookId,d=function(y,E){if(E)a.setResponse(mjc(E,h));else{y=a.setResponse;E=new kHa(b);var H=new ljc(h);H.queryResponse_=E;H.errorCode_=E.getError();y.call(a,H)}},e=this.config_.setTimeout(pmc(a));try{var f=b.emailAddresses||[];if(f.length)var h=new zJ(this.config_,1,f,d);else{var l=b.contactIds||[];
if(l.length)h=new zJ(this.config_,3,l,d);else{var q=b.profileIds||[];if(q.length)h=new emc(this.config_,q,d);else{var v=b.syntheticIds||[];if(v.length)h=new zJ(this.config_,5,v,d);else return this.metrics_.status(new kJ((new tp).setEventType(2)),12),omc(a)}}}}finally{this.config_.setTimeout(e)}h.setQuery(a);nmc(this,c,h);return h};var omc=function(a){var b=new ajc(function(){return a.setResponse(mjc(5,b))});b.setQuery(a);return b};var qmc=function(a,b,c,d){Ap.call(this,a,b,c,d)};Y(qmc,Ap);qmc.prototype.execute=function(a){a.isMutate()&&a.addSuccessCallback(ov(this.handleExecuteResponse_,this,a));a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};qmc.prototype.handleExecuteResponse_=function(a,b){if(b.hasChanges()){var c=b.mutateResponse_;if(a.getNotifyOnChange()||c&&c.getError())a=new Ejc([b.mutateResponse_],"c"),this.dispatchEvent(a)}};var rmc=function(a,b,c){b=b||new ilc(!0,!0);Ap.call(this,a,b,"personal",c)};Y(rmc,qmc);rmc.prototype.configure=function(a,b){qmc.prototype.configure.call(this,a,b)};var smc=function(){throw Error("zd");};var tmc={},umc={},vmc={},wmc={},xmc={},AJ=function(){throw Error("Bd");};AJ.prototype.contentDir=null;AJ.prototype.getContent=function(){return this.content};AJ.prototype.toString=function(){return this.content};AJ.prototype.toSafeHtml=function(){if(this.contentKind!==tmc)throw Error("Cd");return Rc(this.toString())};var ymc=function(){AJ.call(this)};qv(ymc,AJ);ymc.prototype.contentKind=tmc;var zmc=function(){AJ.call(this)};qv(zmc,AJ);zmc.prototype.contentKind=umc;zmc.prototype.contentDir=1;var Amc=function(a){if(a!=null)switch(a.contentDir){case 1:return 1;case -1:return-1;case 0:return 0}return null},Rs=function(a){return BJ(a,tmc)?a:a instanceof Qc?hs(Tc(a).toString()):hs(String(String(a)).replace(Bmc,Cmc),Amc(a))},hs=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c,d){c=new b(String(c));d!==void 0&&(c.contentDir=d);return c}}(ymc),Dmc=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c){return new b(String(c))}}(zmc),
CJ=function(a){return a instanceof AJ?!!a.getContent():!!a},DJ=function(a){return BJ(a,tmc)?a:hs(Emc(a,Fmc),Amc(a))},Gmc=RegExp("^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\\b"),Emc=function(a,b){if(!b)return nHa(String(a),function(){return""}).replace(Hmc,"&lt;");a=String(a).replace(/\[/g,"&#91;");var c=[],d=[];a=nHa(a,function(f,h){if(h&&(h=h.toLowerCase(),b.hasOwnProperty(h)&&b[h])){var l=c.length,q="</",v="";if(f.charAt(1)!=="/"){q="<";for(var y;y=
Imc.exec(f);)if(y[1]&&y[1].toLowerCase()==="dir"){if(f=y[2]){if(f.charAt(0)==="'"||f.charAt(0)==='"')f=f.substr(1,f.length-2);f=f.toLowerCase();if(f==="ltr"||f==="rtl"||f==="auto")v=' dir="'+f+'"'}break}Imc.lastIndex=0}c[l]=q+h+">";d[l]=v;return"["+l+"]"}return""});a=String(a).replace(Jmc,Cmc);var e=Kmc(c);a=a.replace(/\[(\d+)\]/g,function(f,h){return d[h]&&c[h]?c[h].substr(0,c[h].length-1)+d[h]+">":c[h]});return a+e},lHa=RegExp.prototype.hasOwnProperty("sticky"),mHa=new RegExp((lHa?"":"^")+"(?:!|/?([a-zA-Z][a-zA-Z0-9:-]*))",
lHa?"gy":"g"),Lmc=function(a,b){a=a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>");return b?a.replace(/{/g," \\{").replace(/}/g," \\}").replace(/\/\*/g,"/ *").replace(/\\$/,"\\ "):a},Kmc=function(a){for(var b=[],c=0,d=a.length;c<d;++c){var e=a[c];e.charAt(1)=="/"?(e=b.lastIndexOf(e),e<0?a[c]="":(a[c]=b.slice(e).reverse().join(""),b.length=e)):e=="<li>"&&b.lastIndexOf("</ol>")<0&&b.lastIndexOf("</ul>")<0?a[c]="":Gmc.test(e)||b.push("</"+e.substring(1))}return b.reverse().join("")},is=function(a){return BJ(a,
tmc)?String(Emc(a.getContent())).replace(Jmc,Cmc):String(a).replace(Bmc,Cmc)},Mmc=function(a){BJ(a,wmc)&&(a=a.getContent());return(a&&!a.startsWith(" ")?" ":"")+a},Ss=function(a){BJ(a,umc)||BJ(a,vmc)?a=EJ(a):Lc(a)?a=EJ(Mc(a)):a instanceof Hc?a=EJ(Jc(a).toString()):(a=String(a),a=Nmc.test(a)?a.replace(Omc,Pmc):"about:invalid#zSoyz");return a},Rmc=function(a){BJ(a,umc)||BJ(a,vmc)?a=EJ(a):Lc(a)?a=EJ(Mc(a)):a instanceof Hc?a=EJ(Jc(a).toString()):(a=String(a),a=Qmc.test(a)?a.replace(Omc,Pmc):"about:invalid#zSoyz");
return a},FJ=function(a){return BJ(a,xmc)?Lmc(a.getContent(),!1):a==null?"":Lmc(String(a),!0)},BJ=function(a,b){return a!=null&&a.contentKind===b},Smc={"\x00":"&#0;","\t":"&#9;","\n":"&#10;","\v":"&#11;","\f":"&#12;","\r":"&#13;"," ":"&#32;",'"':"&quot;","&":"&amp;","'":"&#39;","-":"&#45;","/":"&#47;","<":"&lt;","=":"&#61;",">":"&gt;","`":"&#96;","\u0085":"&#133;","\u00a0":"&#160;","\u2028":"&#8232;","\u2029":"&#8233;"},Cmc=function(a){return Smc[a]},Tmc={"\x00":"%00","\u0001":"%01","\u0002":"%02",
"\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09","\n":"%0A","\v":"%0B","\f":"%0C","\r":"%0D","\u000e":"%0E","\u000f":"%0F","\u0010":"%10","\u0011":"%11","\u0012":"%12","\u0013":"%13","\u0014":"%14","\u0015":"%15","\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19","\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B",
"}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83","\uff04":"%EF%BC%84","\uff06":"%EF%BC%86","\uff07":"%EF%BC%87","\uff08":"%EF%BC%88","\uff09":"%EF%BC%89","\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB","\uff3d":"%EF%BC%BD"},Pmc=function(a){return Tmc[a]},
Bmc=/[\x00\x22\x26\x27\x3c\x3e]/g,Jmc=/[\x00\x22\x27\x3c\x3e]/g,Omc=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g,Nmc=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,Qmc=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+-]+;base64,[a-z0-9+\/]+=*$|^blob:/i,Umc=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,
EJ=function(a){return String(a).replace(Omc,Pmc)},Vmc=function(a){a=String(a);return Umc.test(a)?a:"zSoyz"},Hmc=/</g,Fmc={b:!0,br:!0,em:!0,i:!0,s:!0,strong:!0,sub:!0,sup:!0,u:!0},Imc=/([a-zA-Z][a-zA-Z0-9:\-]*)[\t\n\r\u0020]*=[\t\n\r\u0020]*("[^"]*"|'[^']*')/g;var oHa={};var IJ=function(a,b,c){yp.call(this);this.matcher_=a;this.selectionHandler_=c;this.renderer_=b;zp(b,["hilite","select","canceldismiss","dismiss"],this.handleEvent,!1,this);this.token_=null;this.rows_=[];this.hiliteId_=-1;this.firstRowId_=0;this.dismissTimer_=this.target_=null;this.inputToAnchorMap_={}};qv(IJ,yp);g=IJ.prototype;g.maxMatches_=10;g.getMatcher=function(){return this.matcher_};g.setMatcher=function(a){this.matcher_=a};g.getToken=function(){return this.token_};
g.handleEvent=function(a){var b=this.matcher_;if(a.target==this.renderer_)switch(a.type){case "hilite":this.hiliteId(a.row);break;case "select":var c=!1;if(typeof a.row==="number"){a=a.row;var d=this.rows_[Wmc(this,a)];c=!!d&&b.isRowDisabled&&b.isRowDisabled(d);d&&!c&&this.hiliteId_!=a&&this.hiliteId(a)}c||this.selectHilited();break;case "canceldismiss":Xmc(this);break;case "dismiss":Ymc(this)}};
g.setToken=function(a){this.token_!=a&&(this.token_=a,this.matcher_.requestMatchingRows(this.token_,this.maxMatches_,ov(this.matchListener_,this)),Xmc(this))};g.getTarget=function(){return this.target_};g.setTarget=function(a){this.target_=a};g.isOpen=function(){return this.renderer_.isVisible()};var Zmc=function(a){for(var b=a.firstRowId_+a.rows_.length-1,c=a.hiliteId_,d=0;d<a.rows_.length;d++){if(c>=a.firstRowId_&&c<b)c++;else if(c==-1)c=a.firstRowId_;else break;if(a.hiliteId(c))break}};
IJ.prototype.hiliteId=function(a){var b=Wmc(this,a),c=this.rows_[b];return c&&this.matcher_.isRowDisabled&&this.matcher_.isRowDisabled(c)?!1:(this.hiliteId_=a,this.renderer_.hiliteId(a),b!=-1)};
IJ.prototype.selectHilited=function(){var a=Wmc(this,this.hiliteId_);if(a!=-1){var b=this.rows_[a],c=this.selectionHandler_;if(c.activeElement_){var d=b.toString();if(c.multi_){var e=$mc(c,c.getValue(),c.getCursorPosition()),f=anc(c,c.getValue());c.separatorCheck_&&!c.separatorCheck_.test(d)&&(d=d.replace(/[\s\xa0]+$/,"")+c.defaultSeparator_);e==0||iu(f[e-1])||(d=" "+d);e==f.length-1&&(d+=" ");if(d!=f[e]){f[e]=d;d=c.activeElement_;d.value=f.join("");for(var h=0,l=0;l<=e;l++)h+=f[l].length;d.focus();
e=h;f=c.activeElement_;bnc(f)&&(f.selectionStart=e);f=c.activeElement_;bnc(f)&&(f.selectionEnd=e)}}else c.setValue(d);c.rowJustSelected_=!0}this.dismiss();this.dispatchEvent({type:"update",row:b,index:a});return!0}this.dismiss();this.dispatchEvent({type:"update",row:null,index:null});return!1};
IJ.prototype.dismiss=function(){this.hiliteId_=-1;this.token_=null;this.firstRowId_+=this.rows_.length;this.rows_=[];window.clearTimeout(this.dismissTimer_);this.dismissTimer_=null;this.renderer_.dismiss();this.dispatchEvent("suggestionsupdate");this.dispatchEvent("dismiss")};var Ymc=function(a){a.dismissTimer_||(a.dismissTimer_=window.setTimeout(ov(a.dismiss,a),100))};
IJ.prototype.immediatelyCancelDelayedDismiss_=function(){return this.dismissTimer_?(window.clearTimeout(this.dismissTimer_),this.dismissTimer_=null,!0):!1};var Xmc=function(a){a.immediatelyCancelDelayedDismiss_()||window.setTimeout(ov(a.immediatelyCancelDelayedDismiss_,a),10)};IJ.prototype.disposeInternal=function(){IJ.superClass_.disposeInternal.call(this);delete this.inputToAnchorMap_;this.renderer_.dispose();this.selectionHandler_.dispose();this.matcher_=null};
IJ.prototype.matchListener_=function(a,b,c){this.token_==a&&this.renderRows(b,c)};
IJ.prototype.renderRows=function(a,b){var c=Ab(b)=="object"&&b;b=(c?c.getPreserveHilited():b)?Wmc(this,this.hiliteId_):-1;this.firstRowId_+=this.rows_.length;this.rows_=a;for(var d=[],e=0;e<a.length;++e)d.push({id:this.firstRowId_+e,data:a[e]});a=null;this.target_&&(a=this.inputToAnchorMap_[vp(this.target_)]||this.target_);this.renderer_.anchorElement_=a;this.renderer_.renderRows(d,this.token_,this.target_);a=!0;c&&c.getAutoHilite()!==void 0&&(a=c.getAutoHilite());this.hiliteId_=-1;(a||b>=0)&&d.length!=
0&&this.token_&&(b>=0?this.hiliteId(this.firstRowId_+b):Zmc(this));this.dispatchEvent("suggestionsupdate")};var Wmc=function(a,b){b-=a.firstRowId_;return b<0||b>=a.rows_.length?-1:b};IJ.prototype.attachInputs=function(a){var b=this.selectionHandler_;b.attachInputs.apply(b,arguments)};IJ.prototype.detachInputs=function(a){var b=this.selectionHandler_;b.detachInputs.apply(b,arguments);Array.prototype.forEach.call(arguments,function(c){Fc(this.inputToAnchorMap_,vp(c))},this)};IJ.prototype.update=function(a){this.selectionHandler_.update(a)};var cnc=function(a,b){var c=0,d=0;bnc(a)&&(c=a.selectionStart,d=b?-1:a.selectionEnd);return[c,d]},bnc=function(a){try{return typeof a.selectionStart=="number"}catch(b){return!1}};var fnc=function(a,b,c,d,e,f){if(as&&e)return dnc(a);if(e&&!d)return!1;if(!sv){typeof b==="number"&&(b=enc(b));var h=b==17||b==18||as&&b==91;if((!c||as)&&h||as&&b==16&&(d||f))return!1}if(tv&&d&&c)switch(a){case 220:case 219:case 221:case 192:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:return!1}switch(a){case 13:return sv?f||e?!1:!(c&&d):!0;case 27:return!tv&&!sv}return sv&&(d||e||f)?!1:dnc(a)},dnc=function(a){if(a>=48&&a<=57||a>=96&&a<=106||a>=65&&a<=90||tv&&a==0)return!0;
switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:case 163:case 58:return!0;case 173:case 171:return sv;default:return!1}},enc=function(a){if(sv)a=gnc(a);else if(as&&tv)switch(a){case 93:a=91}return a},gnc=function(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};var hnc=function(a,b,c,d){cG.call(this,d);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c};qv(hnc,cG);var inc=function(a,b){yp.call(this);a&&this.attach(a,b)};qv(inc,yp);g=inc.prototype;g.element_=null;g.keyPressKey_=null;g.keyDownKey_=null;g.keyUpKey_=null;g.lastKey_=-1;g.keyCode_=-1;g.altKey_=!1;
var jnc={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},knc={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},lnc=as&&sv;g=inc.prototype;
g.handleKeyDown_=function(a){tv&&(this.lastKey_==17&&!a.ctrlKey||this.lastKey_==18&&!a.altKey||as&&this.lastKey_==91&&!a.metaKey)&&this.resetState();this.lastKey_==-1&&(a.ctrlKey&&a.keyCode!=17?this.lastKey_=17:a.altKey&&a.keyCode!=18?this.lastKey_=18:a.metaKey&&a.keyCode!=91&&(this.lastKey_=91));fnc(a.keyCode,this.lastKey_,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?(this.keyCode_=enc(a.keyCode),lnc&&(this.altKey_=a.altKey)):this.handleEvent(a)};g.resetState=function(){this.keyCode_=this.lastKey_=-1};
g.handleKeyup_=function(a){this.resetState();this.altKey_=a.altKey};
g.handleEvent=function(a){var b=a.event_,c=b.altKey;if(tv&&a.type=="keypress"){var d=this.keyCode_;var e=b.charCode>=0&&b.charCode<63232&&dnc(d)?b.charCode:0}else a.type=="keypress"?(lnc&&(c=this.altKey_),b.keyCode==b.charCode?b.keyCode<32?(d=b.keyCode,e=0):(d=this.keyCode_,e=b.charCode):(d=b.keyCode||this.keyCode_,e=b.charCode||0)):(d=b.keyCode||this.keyCode_,e=b.charCode||0),as&&e==63&&d==224&&(d=191);var f=d=enc(d);d?d>=63232&&d in jnc?f=jnc[d]:d==25&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in
knc&&(f=knc[b.keyIdentifier]);if(!sv||a.type!="keypress"||fnc(f,this.lastKey_,a.shiftKey,a.ctrlKey,c,a.metaKey))a=f==this.lastKey_,this.lastKey_=f,b=new hnc(f,e,a,b),b.altKey=c,this.dispatchEvent(b)};g.getElement=function(){return this.element_};
g.attach=function(a,b){this.keyUpKey_&&this.detach();this.element_=a;this.keyPressKey_=zp(this.element_,"keypress",this,b);this.keyDownKey_=zp(this.element_,"keydown",this.handleKeyDown_,b,this);this.keyUpKey_=zp(this.element_,"keyup",this.handleKeyup_,b,this)};g.detach=function(){this.keyPressKey_&&(hG(this.keyPressKey_),hG(this.keyDownKey_),hG(this.keyUpKey_),this.keyUpKey_=this.keyDownKey_=this.keyPressKey_=null);this.element_=null;this.keyCode_=this.lastKey_=-1};
g.disposeInternal=function(){inc.superClass_.disposeInternal.call(this);this.detach()};var JJ=function(a,b,c,d){PF.call(this);d=d||150;this.multi_=c!=null?c:!0;this.separators_=a||",;";this.defaultSeparator_=this.separators_.charAt(0);a=this.multi_?"[\\s"+this.separators_+"]+":"[\\s]+";this.trimmer_=new RegExp("^"+a+"|"+a+"$","g");this.separatorCheck_=new RegExp("\\s*["+this.separators_+"]$");this.literals_=b||"";this.preventDefaultOnTab_=this.multi_;this.timer_=d>0?new iG(d):null;this.eh_=new Lr(this);this.activateHandler_=new Lr(this);this.keyHandler_=new inc;this.lastKeyCode_=-1};
qv(JJ,PF);g=JJ.prototype;g.activeElement_=null;g.lastValue_="";g.waitingForIme_=!1;g.rowJustSelected_=!1;g.getValue=function(){return this.activeElement_.value};g.setValue=function(a){this.activeElement_.value=a};g.getCursorPosition=function(){return cnc(this.activeElement_,!0)[0]};
g.attachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];QA(c)&&(VH(c,"combobox"),WH(c,"autocomplete","list"));this.eh_.listen(c,"focus",this.handleFocus);this.eh_.listen(c,"blur",this.handleBlur);if(!this.activeElement_&&(this.activateHandler_.listen(c,"keydown",this.onKeyDownOnInactiveElement_),QA(c))){var d=GA(c);try{var e=d&&d.activeElement;var f=e&&e.nodeName?e:null}catch(h){f=null}f==c&&mnc(this,c)}}};
g.detachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];QA(c)&&(c.removeAttribute("role"),c.removeAttribute("aria-autocomplete"));c==this.activeElement_&&this.handleBlur();this.eh_.unlisten(c,"focus",this.handleFocus);this.eh_.unlisten(c,"blur",this.handleBlur);this.activeElement_||this.activateHandler_.unlisten(c,"keydown",this.onKeyDownOnInactiveElement_)}};
g.disposeInternal=function(){JJ.superClass_.disposeInternal.call(this);this.eh_.dispose();delete this.eh_;this.activateHandler_.dispose();this.keyHandler_.dispose();zo(this.timer_)};
var nnc=function(a,b){switch(b.keyCode){case 40:if(a.ac_.isOpen()){Zmc(a.ac_);b.preventDefault();return}if(!a.multi_){a.update(!0);b.preventDefault();return}break;case 38:if(a.ac_.isOpen()){a:{a=a.ac_;for(var c=a.hiliteId_,d=0;d<a.rows_.length;d++){if(c>a.firstRowId_)c--;else break;if(a.hiliteId(c))break a}}b.preventDefault();return}break;case 9:if(!a.ac_.isOpen()||b.shiftKey)a.ac_.dismiss();else if(a.update(),a.ac_.selectHilited()&&a.preventDefaultOnTab_){b.preventDefault();return}break;case 13:if(a.ac_.isOpen()){if(a.update(),
a.ac_.selectHilited()){b.preventDefault();b.stopPropagation();return}}else a.ac_.dismiss();break;case 27:if(a.ac_.isOpen()){a.ac_.dismiss();b.preventDefault();b.stopPropagation();return}break;case 229:if(!a.waitingForIme_){a.waitingForIme_||(a.eh_.listen(a.activeElement_,"keyup",a.onKeyUp_),a.eh_.listen(a.activeElement_,"keypress",a.onKeyPress_),a.waitingForIme_=!0);return}}(c=a.multi_&&b.charCode&&a.separators_.indexOf(String.fromCharCode(b.charCode))!=-1)&&a.update();c&&a.ac_.selectHilited()&&b.preventDefault()};
JJ.prototype.handleKeyUp=function(){return!1};JJ.prototype.handleFocus=function(a){mnc(this,a.target||null)};var mnc=function(a,b){a.activateHandler_.removeAll();a.ac_&&Xmc(a.ac_);b!=a.activeElement_&&(a.activeElement_=b,a.timer_&&(a.timer_.start(),a.eh_.listen(a.timer_,"tick",a.onTick_)),a.lastValue_=a.getValue(),a.keyHandler_.attach(a.activeElement_),a.eh_.listen(a.keyHandler_,"key",a.onKey_),a.eh_.listen(a.activeElement_,"mousedown",a.onMouseDown_))};g=JJ.prototype;
g.handleBlur=function(){this.activeElement_&&(this.eh_.unlisten(this.keyHandler_,"key",this.onKey_),this.keyHandler_.detach(),this.eh_.unlisten(this.activeElement_,"keyup",this.handleKeyUp),this.eh_.unlisten(this.activeElement_,"mousedown",this.onMouseDown_),this.waitingForIme_&&onc(this),this.activeElement_=null,this.timer_&&(this.timer_.stop(),this.eh_.unlisten(this.timer_,"tick",this.onTick_)),this.ac_&&Ymc(this.ac_))};g.onTick_=function(){this.update()};g.onKeyDownOnInactiveElement_=function(a){this.handleFocus(a)};
g.onKey_=function(a){this.lastKeyCode_=a.keyCode;this.ac_&&nnc(this,a)};g.onKeyPress_=function(){this.waitingForIme_&&this.lastKeyCode_!=229&&onc(this)};g.onKeyUp_=function(a){this.waitingForIme_&&(a.keyCode==13||a.keyCode==77&&a.ctrlKey)&&onc(this)};g.onMouseDown_=function(){};var onc=function(a){a.waitingForIme_&&(a.waitingForIme_=!1,a.eh_.unlisten(a.activeElement_,"keypress",a.onKeyPress_),a.eh_.unlisten(a.activeElement_,"keyup",a.onKeyUp_))};
JJ.prototype.update=function(a){if(this.activeElement_&&(a||this.getValue()!=this.lastValue_)){if(a||!this.rowJustSelected_){a=this.getCursorPosition();var b=this.getValue();a=anc(this,b)[$mc(this,b,a)];a=this.trimmer_?String(a).replace(this.trimmer_,""):a;this.ac_&&(this.ac_.setTarget(this.activeElement_),this.ac_.setToken(a,this.getValue()))}this.lastValue_=this.getValue()}this.rowJustSelected_=!1};
var $mc=function(a,b,c){a=anc(a,b);if(c==b.length)return a.length-1;for(var d=b=0,e=0;d<a.length&&e<=c;d++)e+=a[d].length,b=d;return b},anc=function(a,b){if(!a.multi_)return[b];b=String(b).split("");for(var c=[],d=[],e=0,f=!1;e<b.length;e++)a.literals_&&a.literals_.indexOf(b[e])!=-1?(f||(c.push(d.join("")),d.length=0),d.push(b[e]),f=!f):f||a.separators_.indexOf(b[e])==-1?d.push(b[e]):(d.push(b[e]),c.push(d.join("")),d.length=0);c.push(d.join(""));return c};var pnc=function(a){return typeof a.className=="string"?a.className:a.getAttribute&&a.getAttribute("class")||""},qnc=function(a){return a.classList?a.classList:pnc(a).match(/\S+/g)||[]},rnc=function(a,b){typeof a.className=="string"?a.className=b:a.setAttribute&&a.setAttribute("class",b)},snc=function(a,b){return a.classList?a.classList.contains(b):Oa(qnc(a),b)},tnc=function(a,b){if(a.classList)a.classList.add(b);else if(!snc(a,b)){var c=pnc(a);rnc(a,c+(c.length>0?" "+b:b))}},KJ=function(a,b){if(a.classList)Array.prototype.forEach.call(b,
function(e){tnc(a,e)});else{var c={};Array.prototype.forEach.call(qnc(a),function(e){c[e]=!0});Array.prototype.forEach.call(b,function(e){c[e]=!0});b="";for(var d in c)b+=b.length>0?" "+d:d;rnc(a,b)}},unc=function(a,b){a.classList?a.classList.remove(b):snc(a,b)&&rnc(a,Array.prototype.filter.call(qnc(a),function(c){return c!=b}).join(" "))},vnc=function(a,b){a.classList?Array.prototype.forEach.call(b,function(c){unc(a,c)}):rnc(a,Array.prototype.filter.call(qnc(a),function(c){return!Oa(b,c)}).join(" "))};var Lab=function(){return tv?"Webkit":sv?"Moz":ns?"ms":null},wnc=function(a,b){if(b&&a in b)return a;var c=Lab();return c?(c=c.toLowerCase(),a=c+Ji(a),b===void 0||a in b?a:null):null};var LJ=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};g=LJ.prototype;g.getWidth=function(){return this.right-this.left};g.getHeight=function(){return this.bottom-this.top};g.clone=function(){return new LJ(this.top,this.right,this.bottom,this.left)};g.contains=function(a){return this&&a?a instanceof LJ?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
g.expand=function(a,b,c,d){In(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
g.translate=function(a,b){a instanceof Qr?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,typeof b==="number"&&(this.top+=b,this.bottom+=b));return this};g.scale=function(a,b){b=typeof b==="number"?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var MJ=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};MJ.prototype.clone=function(){return new MJ(this.left,this.top,this.width,this.height)};var W7a=function(a){return new MJ(a.left,a.top,a.right-a.left,a.bottom-a.top)};
MJ.prototype.intersection=function(a){var b=Math.max(this.left,a.left),c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top);a=Math.min(this.top+this.height,a.top+a.height);if(d<=a)return this.left=b,this.top=d,this.width=c-b,this.height=a-d,!0}return!1};var xnc=function(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top);a=Math.min(a.top+a.height,b.top+b.height);if(e<=a)return new MJ(c,e,d-c,a-e)}return null};
g=MJ.prototype;g.contains=function(a){return a instanceof Qr?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};g.distance=function(a){var b=a.x<this.left?this.left-a.x:Math.max(a.x-(this.left+this.width),0);a=a.y<this.top?this.top-a.y:Math.max(a.y-(this.top+this.height),0);return Math.sqrt(b*b+a*a)};g.getSize=function(){return new EA(this.width,this.height)};
g.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};g.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};g.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
g.translate=function(a,b){a instanceof Qr?(this.left+=a.x,this.top+=a.y):(this.left+=a,typeof b==="number"&&(this.top+=b));return this};g.scale=function(a,b){b=typeof b==="number"?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var Jab={},NJ=function(a,b){var c=GA(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},ir=function(a,b){return NJ(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},Sr=function(a,b,c){if(b instanceof Qr){var d=b.x;b=b.y}else d=b,b=c;a.style.left=OJ(d,!1);a.style.top=OJ(b,!1)},ync=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},q9a=function(a){var b=
GA(a),c=ir(a,"position"),d=c=="fixed"||c=="absolute";for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(a.nodeType==11&&a.host&&(a=a.host),c=ir(a,"position"),d=d&&c=="static"&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c=="fixed"||c=="absolute"||c=="relative"))return a;return null},Pr=function(a){for(var b=new LJ(0,Infinity,Infinity,0),c=Bp(a),d=c.document_.body,e=c.document_.documentElement,f=LA(c.document_);a=q9a(a);)if((!tv||a.clientHeight!=0||a!=
d)&&a!=d&&a!=e&&ir(a,"overflow")!="visible"){var h=PJ(a),l=new Qr(a.clientLeft,a.clientTop);h.x+=l.x;h.y+=l.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,f);c=c.getViewportSize();b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return b.top>=0&&b.left>=0&&b.bottom>b.top&&b.right>b.left?b:null},r9a=
function(a,b){b=b||LA(document);var c=b||LA(document);var d=PJ(a),e=PJ(c),f=NJ(c,"borderLeftWidth");var h=NJ(c,"borderRightWidth");var l=NJ(c,"borderTopWidth"),q=NJ(c,"borderBottomWidth");h=new LJ(parseFloat(l),parseFloat(h),parseFloat(q),parseFloat(f));c==LA(document)?(f=d.x-c.scrollLeft,d=d.y-c.scrollTop):(f=d.x-e.x-h.left,d=d.y-e.y-h.top);a=znc(a);e=c.clientHeight-a.height;h=c.scrollLeft;l=c.scrollTop;h+=Math.min(f,Math.max(f-(c.clientWidth-a.width),0));l+=Math.min(d,Math.max(d-e,0));c=new Qr(h,
l);b.scrollLeft=c.x;b.scrollTop=c.y},PJ=function(a){var b=GA(a),c=new Qr(0,0);if(a==(b?GA(b):document).documentElement)return c;a=ync(a);b=MA(Bp(b).document_);c.x=a.left+b.x;c.y=a.top+b.y;return c},X7a=function(a,b,c){if(b.document_!=c.document_){b=b.document_.body;c=c.getWindow();var d=new Qr(0,0),e=NA(GA(b));if(eZb(e,"parent")){var f=b;do{if(e==c)var h=PJ(f);else h=ync(f),h=new Qr(h.left,h.top);d.x+=h.x;d.y+=h.y}while(e&&e!=c&&e!=e.parent&&(f=e.frameElement)&&(e=e.parent))}b=Z7a(d,PJ(b));a.left+=
b.x;a.top+=b.y}},Anc=function(a,b,c){if(b instanceof EA)c=b.height,b=b.width;else if(c==void 0)throw Error("Fd");a.style.width=OJ(b,!0);a.style.height=OJ(c,!0)},OJ=function(a,b){typeof a=="number"&&(a=(b?Math.round(a):a)+"px");return a},Rr=function(a){var b=znc;if(ir(a,"display")!="none")return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a},znc=function(a){var b=a.offsetWidth,
c=a.offsetHeight,d=tv&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=ync(a),new EA(a.right-a.left,a.bottom-a.top)):new EA(b,c)},Or=function(a){var b=PJ(a);a=Rr(a);return new MJ(b.x,b.y,a.width,a.height)},Bnc=function(a,b){a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=b===""?"":"alpha(opacity="+Number(b)*100+")")},QJ=function(a,b){a.style.display=b?"":"none"},Zs=function(a){return"rtl"==ir(a,"direction")},Cnc=sv?"MozUserSelect":tv||gZb?"WebkitUserSelect":
null,Dnc=function(a){var b=a.getElementsByTagName("*");if(Cnc&&(a.style&&(a.style[Cnc]="none"),b)){a=0;for(var c;c=b[a];a++)c.style&&(c.style[Cnc]="none")}},c8a=function(a,b){a=a.style;sv?a.MozBoxSizing="border-box":tv?a.WebkitBoxSizing="border-box":a.boxSizing="border-box";a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"},Enc=function(a){var b=NJ(a,"marginLeft"),c=NJ(a,"marginRight"),d=NJ(a,"marginTop");a=NJ(a,"marginBottom");return new LJ(parseFloat(d),parseFloat(c),parseFloat(a),
parseFloat(b))};var Fnc=function(){if(iZb){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(Aa()))?a[1]:"0"}return as?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(Aa()))?a[0].replace(/_/g,"."):"10"):kZb?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(Aa()))?a[1]:""):lZb||mZb||nZb?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(Aa()))?a[1].replace(/_/g,"."):""):""}();var RJ=function(a){return(a=a.exec(Aa()))?a[1]:""},Gnc=function(){if(vZb)return RJ(/Firefox\/([0-9.]+)/);if(ns||gZb||fZb)return uZb;if(zZb){if(Ka()||Aba()){var a=RJ(/CriOS\/([0-9.]+)/);if(a)return a}return RJ(/Chrome\/([0-9.]+)/)}if(AZb&&!Ka())return RJ(/Version\/([0-9.]+)/);if(wZb||xZb){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Aa()))return a[1]+"."+a[2]}else if(yZb)return(a=RJ(/Android\s+([0-9.]+)/))?a:RJ(/Version\/([0-9.]+)/);return""}();var V7a=function(a){if(a=a.offsetParent){var b=a.tagName=="HTML"||a.tagName=="BODY";if(!b||ir(a,"position")!="static"){var c=PJ(a);if(!b){b=Zs(a);var d;if(d=b){d=AZb&&UYb(Gnc,10)>=0;var e;if(e=oZb)e=UYb(Fnc,10)>=0;var f=zZb&&UYb(Gnc,85)>=0;d=sv||d||e||f}b=d?-a.scrollLeft:b&&ir(a,"overflowX")!="visible"?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft;c=Z7a(c,new Qr(b,a.scrollTop))}}}return c||new Qr},$7a=function(a,b,c,d,e,f){a=a.clone();b=b.clone();var h=0;if(d||c!=0)c&4?a.x-=b.width+(d?d.right:
0):c&2?a.x-=b.width/2:d&&(a.x+=d.left),c&1?a.y-=b.height+(d?d.bottom:0):d&&(a.y+=d.top);if(f){if(e){h=a;c=b;d=0;(f&65)==65&&(h.x<e.left||h.x>=e.right)&&(f&=-2);(f&132)==132&&(h.y<e.top||h.y>=e.bottom)&&(f&=-5);h.x<e.left&&f&1&&(h.x=e.left,d|=1);if(f&16){var l=h.x;h.x<e.left&&(h.x=e.left,d|=4);h.x+c.width>e.right&&(c.width=Math.min(e.right-h.x,l+c.width-e.left),c.width=Math.max(c.width,0),d|=4)}h.x+c.width>e.right&&f&1&&(h.x=Math.max(e.right-c.width,e.left),d|=1);f&2&&(d|=(h.x<e.left?16:0)|(h.x+c.width>
e.right?32:0));h.y<e.top&&f&4&&(h.y=e.top,d|=2);f&32&&(l=h.y,h.y<e.top&&(h.y=e.top,d|=8),h.y+c.height>e.bottom&&(c.height=Math.min(e.bottom-h.y,l+c.height-e.top),c.height=Math.max(c.height,0),d|=8));h.y+c.height>e.bottom&&f&4&&(h.y=Math.max(e.bottom-c.height,e.top),d|=2);f&8&&(d|=(h.y<e.top?64:0)|(h.y+c.height>e.bottom?128:0));e=d}else e=256;h=e}e=new MJ(0,0,0,0);e.left=a.x;e.top=a.y;e.width=b.width;e.height=b.height;return{rect:e,status:h}},Y7a=function(a,b){return(b&8&&Zs(a)?b^4:b)&-9};var bs=function(){};bs.instance_=void 0;bs.getInstance=function(){return bs.instance_?bs.instance_:bs.instance_=new bs};bs.prototype.nextId_=0;bs.prototype.idPrefix_="";bs.prototype.setIdPrefix=function(a){this.idPrefix_=a};var Ir=function(a){return a.idPrefix_+":"+(a.nextId_++).toString(36)};var SJ=function(a,b,c,d){yp.call(this);this.parent_=a||document.body;this.dom_=Bp(this.parent_);this.reposition_=!a;this.element_=null;this.token_="";this.rows_=[];this.rowDivs_=[];this.startRenderingRows_=this.hilitedRow_=-1;this.visible_=!1;this.className="ac-renderer";this.highlightedClassName="ac-highlighted";this.customRenderer_=b||null;this.useStandardHighlighting_=d!=null?d:!0;this.highlightAllTokens_=!1;this.rightAlign_=!!c};qv(SJ,yp);g=SJ.prototype;g.getElement=function(){return this.element_};
g.getAnchorElement=function(){return this.anchorElement_};g.renderRows=function(a,b,c){this.token_=b;this.rows_=a;this.hilitedRow_=-1;this.startRenderingRows_=Date.now();this.target_=c;this.rowDivs_=[];Hnc(this)};g.dismiss=function(){this.visible_&&(this.visible_=!1,Inc(this,!1),QJ(this.element_,!1))};g.show=function(){this.visible_||(this.visible_=!0,Inc(this,!0),QJ(this.element_,!0))};
var Inc=function(a,b){a.target_&&(WH(a.target_,"haspopup",b),WH(a.element_,"expanded",b),WH(a.target_,"expanded",b),b?WH(a.target_,"owns",a.element_.id):(a.target_.removeAttribute("aria-owns"),XH(a.target_,null)))};SJ.prototype.isVisible=function(){return this.visible_};
var Jnc=function(a,b){var c=b>=0&&b<a.rows_.length?a.rows_[b]:void 0,d=b>=0&&b<a.rowDivs_.length?a.rowDivs_[b]:void 0;a.dispatchEvent({type:"rowhilite",rowNode:d,row:c?c.data:null})&&(a.hilitedRow_>=0&&vnc(a.rowDivs_[a.hilitedRow_],["ac-active","active"]),a.hilitedRow_=b,d&&(KJ(d,["ac-active","active"]),a.target_&&XH(a.target_,d),r9a(d,a.element_)))};SJ.prototype.hiliteId=function(a){if(a==-1)Jnc(this,-1);else for(var b=0;b<this.rows_.length;b++)if(this.rows_[b].id==a){Jnc(this,b);break}};
var Knc=function(a){if(!a.element_){var b=a.dom_.createDom("DIV",{style:"display:none"});a.element_=b;KJ(b,Ii(a.className).split(" "));VH(b,"listbox");b.id=Ir(bs.getInstance());a.dom_.appendChild(a.parent_,b);zp(b,"click",a.handleClick_,!1,a);zp(b,"mousedown",a.handleMouseDown_,!1,a);zp(b,"mouseover",a.handleMouseOver_,!1,a)}},Hnc=function(a){Knc(a);a.widthProvider_&&(a.element_.style.minWidth=a.widthProvider_.clientWidth-0+"px");a.maxWidthProvider_&&(a.element_.style.maxWidth=a.maxWidthProvider_.clientWidth-
0+"px");a.rowDivs_.length=0;a.dom_.removeChildren(a.element_);a.customRenderer_&&a.customRenderer_.render?a.customRenderer_.render(a,a.element_,a.rows_,a.token_):a.rows_.forEach(function(b){var c=this.token_,d=this.dom_.createDom("DIV",{className:"ac-row",id:Ir(bs.getInstance())});VH(d,"option");this.customRenderer_&&this.customRenderer_.renderRow?this.customRenderer_.renderRow(b,c,d):RA(d,b.data.toString());c&&this.useStandardHighlighting_&&(this.wasHighlightedAtLeastOnce_=!1,Lnc(this,d,c));tnc(d,
"ac-row");this.rowDivs_.push(d);b=d;this.dom_.appendChild(this.element_,b)},a);a.rows_.length==0?a.dismiss():(a.show(),a.reposition(),Dnc(a.element_))};
SJ.prototype.reposition=function(){if(this.target_&&this.reposition_){var a=this.anchorElement_||this.target_;var b=this.rightAlign_?5:1;var c=this.element_,d=b^1,e=V7a(c),f=Or(a),h=Pr(a);h&&f.intersection(W7a(h));X7a(f,Bp(a),Bp(c));a=Y7a(a,b);b=f.left;a&4?b+=f.width:a&2&&(b+=f.width/2);a=new Qr(b,f.top+(a&1?f.height:0));a=Z7a(a,e);if(f=Pr(c))f.top-=e.y,f.right-=e.x,f.bottom-=e.y,f.left-=e.x;e=a.clone();a=Y7a(c,d);d=Rr(c);b=d.clone();e=$7a(e,b,a,null,f,65);e.status&496||(f=e.rect,Sr(c,new Qr(f.left,
f.top)),b=e.rect.getSize(),b8a(d,b)||c8a(c,b))}};SJ.prototype.getTarget=function(){return this.target_||null};SJ.prototype.disposeInternal=function(){this.element_&&(gG(this.element_,"click",this.handleClick_,!1,this),gG(this.element_,"mousedown",this.handleMouseDown_,!1,this),gG(this.element_,"mouseover",this.handleMouseOver_,!1,this),this.dom_.removeNode(this.element_),this.element_=null,this.visible_=!1);zo(this.animation_);this.parent_=null;SJ.superClass_.disposeInternal.call(this)};
var Lnc=function(a,b,c){if(a.highlightAllTokens_||!a.wasHighlightedAtLeastOnce_)if(b.nodeType==3){var d=null;Array.isArray(c)&&c.length>1&&!a.highlightAllTokens_&&(d=c.slice(1));c=Mnc(a,c);if(c.length!=0){var e=b.nodeValue,f=new RegExp("\\b(?:"+c+")","gi");c=[];for(var h=0,l=f.exec(e),q=0;l;)q++,c.push(e.substring(h,l.index)),c.push(e.substring(l.index,f.lastIndex)),h=f.lastIndex,l=f.exec(e);c.push(e.substring(h));if(c.length>1){d=a.highlightAllTokens_?q:1;for(e=0;e<d;e++)f=2*e,b.nodeValue=c[f],h=
a.dom_.createElement("B"),h.className=a.highlightedClassName,a.dom_.appendChild(h,a.dom_.createTextNode(c[f+1])),h=b.parentNode.insertBefore(h,b.nextSibling),b.parentNode.insertBefore(a.dom_.createTextNode(""),h.nextSibling),b=h.nextSibling;b.nodeValue=c.slice(d*2).join("");a.wasHighlightedAtLeastOnce_=!0}else d&&Lnc(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,Lnc(a,b,c),b=d},Mnc=function(a,b){var c="";if(!b)return c;Array.isArray(b)&&(b=b.filter(function(d){return!iu(hu(d))}));a.highlightAllTokens_?
Array.isArray(b)?c=b.map(cq).join("|"):(c=r_b(b),c=cq(c),c=c.replace(/ /g,"|")):Array.isArray(b)?c=b.length>0?cq(b[0]):"":/^\W/.test(b)||(c=cq(b));return c},Nnc=function(a,b){for(;b&&b!=a.element_&&!snc(b,"ac-row");)b=b.parentNode;return b?a.rowDivs_.indexOf(b):-1};SJ.prototype.handleClick_=function(a){var b=Nnc(this,a.target);b>=0&&this.dispatchEvent({type:"select",row:this.rows_[b].id});a.stopPropagation()};SJ.prototype.handleMouseDown_=function(a){a.stopPropagation();a.preventDefault()};
SJ.prototype.handleMouseOver_=function(a){a=Nnc(this,a.target);a>=0&&!(Date.now()-this.startRenderingRows_<300)&&this.dispatchEvent({type:"hilite",row:this.rows_[a].id})};var TJ=function(a,b,c,d,e,f,h,l,q,v){f=f||new JJ(",;",'"');h=new SJ(h||null,q||this,v);h.reposition_=!0;h.className=b;h.highlightAllTokens_=!0;IJ.call(this,this,h,f);this.inputHandler_=this.selectionHandler_;this.inputHandler_.ac_=this;this.contactStore_=a;this.addressBookId_=c;this.filter_=d||null;this.maxMatches_=e||15;this.ownsContactStore_=!!l};qv(TJ,IJ);
var Pnc=function(a,b,c,d,e,f,h){b=new TJ(null,b,void 0,f,c,d,e,void 0,void 0,h);kI(a);ov(Onc,null,b,!0);throw Error("Ad");},Qnc=function(a,b,c,d,e,f,h){b=new TJ(null,b,void 0,f,c,d,e,void 0,void 0,h);c=Onc;e=a.getClientInfo();d=(f=Fj(e,10)||Fj(a.getExperiments(),5,!0))?new Rkc(void 0,Pkc(a)):new tJ(void 0,Pkc(a));h=Fs(new Xjc(a,1));var l=a.getUserInfo().getEnvType()||1;var q=hmc.get(l)||4;q=QGa("people-pa",q===void 0?0:q);l=l===4?Gh(a.getClientInfo(),2)||"":Gh(a.getClientInfo(),1)||"";var v=Gh(a.getClientInfo(),
4),y=Gh(a.getClientInfo(),5),E=Gh(a.getClientInfo(),6)||"",H=a.getClientInfo().getAffinityType()||"",O=uk(a.getUserInfo(),2),N=a.getAuthErrorHandler(),T=Zi(a.getClientInfo(),8,3E4),da=Fj(a.getClientInfo(),17,!1);h=new Ylc(h,q,l,v,y,E,H,O,T,N,Zi(a.getClientInfo(),13,15),Zi(a.getClientInfo(),14,500),Gh(a.getClientInfo(),15,"CONTACT,PROFILE,DOMAIN_CONTACT,DOMAIN_PROFILE,AFFINITY"),Gh(a.getClientInfo(),16,"person.name,person.photo,person.email,person.phone,person.email.certificate,person.metadata"),a.getExperiments(),
da);a=new kmc(h,Yic(a));h=new rmc(a);h.configure(null,"Personal Contacts");d.addAddressBook(h,!0);f&&(a=new llc(a,null,!!Fj(e,11)),a.configure(null,"Domain Contacts"),d.addAddressBook(a,!0));c(b,!0,d);return b},Onc=function(a,b,c){b&&c.loadContactRows(yjc,function(){});Rnc(a,c)};TJ.prototype.disposeInternal=function(){this.inputHandler_.dispose();this.contactStore_&&this.ownsContactStore_&&zo(this.contactStore_);TJ.superClass_.disposeInternal.call(this)};
var Rnc=function(a,b){a.contactStore_=b;a.ownsContactStore_=!0;a.savedQuery_&&a.savedHandler_&&(a.currentRequest_=a.contactStore_.loadContactRows(a.savedQuery_,a.savedHandler_),a.savedQuery_=null,a.savedHandler_=null)};g=TJ.prototype;g.savedQuery_=null;g.savedHandler_=null;g.inputHandler_=null;g.includeGroups_=!0;g.isRowDisabled=function(a){return!!a.rowDisabled};
g.requestMatchingRows=function(a,b,c){a={token:a,maxMatches:b,includeContacts:!0,includeGroups:this.includeGroups_,matchType:1,matchFieldList:qjc,addressBookId:this.addressBookId_,filter:this.filter_,isAutoCompleteMode:!0,isContactAutoComplete:!!this.returnFullContacts,includeEvergreenData:!1};c=ov(this.handleAutoCompleteContacts_,this,c);if(a.token&&a.token!="")this.contactStore_?(this.currentRequest_&&(this.currentRequest_.cancel(),this.currentRequest_=null),this.currentRequest_=this.contactStore_.loadContactRows(a,
c)):(this.savedQuery_=a,this.savedHandler_=c);else{b=new ajc;var d=[];this.filter_&&(d=this.filter_(d,a.token));b.setResponse(pv(c,d,b,null,a))}};g.handleAutoCompleteContacts_=function(a,b,c,d,e){a(e.token,b)};g.renderRows=function(a,b){TJ.superClass_.renderRows.call(this,a,b)};g.dismiss=function(){TJ.superClass_.dismiss.call(this)};
g.renderRow=function(a,b,c){b=b={displayName:a.data.text,newSection:!!(a.data.flags&1)};a=b.displayName;b=b.newSection;(a=hs('<div class="'+is("goog-contacts-ui-autocomplete-name-nochat")+(CJ(b)?" "+is("goog-contacts-ui-autocomplete-new-section"):"")+'">'+Rs(a)+"</div>"))&&a.renderElement&&c?a.renderElement(c):(a=pHa(a),c.innerHTML=Tc(a))};g.selectHilited=function(){var a=Wmc(this,this.hiliteId_);return a!=-1&&(a=this.rows_[a],a.specialRowHandler)?(a.specialRowHandler(),!0):TJ.superClass_.selectHilited.call(this)};
g.fireSelectionEvent=function(a){this.dispatchEvent(new Snc(a))};var Snc=function(a){bG.call(this,"g");this.row=a};qv(Snc,bG);EYb("createAutoComplete",function(a,b,c,d,e,f,h,l,q,v){d&&(b=b+d+"/");b=smc(kI(b));f&&b.loadContactRows(yjc,function(){});c=new TJ(b,c,void 0,q,e,l,v,!0);c.attachInputs(HA(document,a));return c});var UJ=function(){this.eventHandler_=new Lr(this);UJ.prototype.addInput=UJ.prototype.addInput;UJ.prototype.removeInput=UJ.prototype.removeInput;UJ.prototype.setTarget=UJ.prototype.setTarget},Tnc=function(a,b){var c=new UJ;c.create(a,b);return c};g=UJ.prototype;
g.create=function(a,b){a=HA(document,a);this.acWidget_=b.contactStoreConfig?Qnc(b.contactStoreConfig,b.acCssName||"ac-renderer",b.maxMatches||15,b.inputHandler,a.ownerDocument.body,b.filter,b.rightAlign):Pnc(b.serverBase,b.acCssName||"ac-renderer",b.maxMatches||15,b.inputHandler,a.ownerDocument.body,b.filter,b.rightAlign);"groups"in b&&(this.acWidget_.includeGroups_=b.groups);var c=b.onComplete;typeof c==="function"&&this.eventHandler_.listen(this.acWidget_,"update",function(d){d.row&&c.call(ya,d.target.getTarget())});
this.addInput(a)};g.dispose=function(){vDa(this.acWidget_,this.eventHandler_)};g.setTarget=function(a){this.acWidget_.setTarget(a)};g.addInput=function(a){if(Array.isArray(a))for(var b=0;b<a.length;b++)this.acWidget_.inputHandler_.attachInputs(a[b]);else this.acWidget_.inputHandler_.attachInputs(a)};g.removeInput=function(a){if(Array.isArray(a))for(var b=0;b<a.length;b++)this.acWidget_.inputHandler_.detachInputs(a[b]);else this.acWidget_.inputHandler_.detachInputs(a)};g.acWidget_=null;
ya._EmailAc_create=Tnc;var Unc=function(a,b){return new Ep("/",a,void 0,void 0,void 0,void 0,b)};Ep.prototype.setLocale=function(){};var Vnc=function(a){this.params=a;this.pendingInputs=new Set;this.emailac=null};Vnc.prototype.setTarget=function(a){this.emailac&&this.emailac.setTarget(a)};
Ep.prototype.initAutocomplete=function(a){if(this.emailAcInitialized_)throw Error("Hd");this.emailAcInitialized_=!0;this.commonAcParams_=a||{};for(var b in this.acWrappers_)Wnc(this,this.acWrappers_[b]);this.focusedElement_&&(a=vp(this.focusedElement_),(a=this.inputToAcWrapper_[a])&&a.setTarget(this.focusedElement_));for(var c in this.acWrappers_)for(a=[].concat(w(this.acWrappers_[c].pendingInputs.values())),b=1;b<a.length;b++)gG(a[b],"focus",this.onTargetFocus_,!1,this)};
var Wnc=function(a,b){var c=b.params;c.serverBase=a.serverBase_;c.onComplete=ov(a.onCompleteCallback_,a);c.ua=a.useApiary_;c.acd=a.apiaryClientDeferred_;c.onAuthError=a.onAuthError_;c.tg=a.testGaia_;c.contactStoreConfig=a.contactStoreConfig_;for(var d in a.commonAcParams_)c[d]=a.commonAcParams_[d];a=[].concat(w(b.pendingInputs.values()));b.emailac=Tnc(a[0],c);for(c=1;c<a.length;c++)b.emailac.addInput(a[c]);b.pendingInputs.clear()};g=Ep.prototype;
g.attachAutocomplete=function(a,b,c){a=HA(document,a);var d=b||{};b=vp(a);this.onAcCompleteListeners_[b]=c;c="";for(var e in d)c+=e+"="+d[e]+";";e=this.acWrappers_[c];e||(e=new Vnc(d),this.acWrappers_[c]=e);d=e;c=a;d.emailac?d.emailac.addInput(c):d.pendingInputs.add(c);this.inputToAcWrapper_[b]=e;e.emailac||(this.emailAcInitialized_?Wnc(this,e):zp(a,"focus",this.onTargetFocus_,!1,this))};g.onTargetFocus_=function(a){this.focusedElement_=a.target;this.emailAcInitialized_||this.initAutocomplete()};
g.onCompleteCallback_=function(a){var b=this.onAcCompleteListeners_[vp(a)];b&&b(a)};g.detachAutocomplete=function(a){a=HA(document,a);gG(a,"focus",this.onTargetFocus_,!1,this);var b=vp(a);delete this.onAcCompleteListeners_[b];var c=this.inputToAcWrapper_[b];c&&(c.emailac?c.emailac.removeInput(a):c.pendingInputs.delete(a),delete this.inputToAcWrapper_[b])};g.attachAutocompleteTo=function(a,b){this.initAutocomplete(b);this.attachAutocomplete(a,b)};EYb("goog.NewContactTools",Ep);
EYb("goog.NewContactTools.create",Unc);Ep.prototype.setLocale=Ep.prototype.setLocale;Ep.prototype.attachAutocompleteTo=Ep.prototype.attachAutocompleteTo;Ep.prototype.initAutocomplete=Ep.prototype.initAutocomplete;Ep.prototype.attachAutocomplete=Ep.prototype.attachAutocomplete;Ep.prototype.detachAutocomplete=Ep.prototype.detachAutocomplete;var tHa=function(a){this.rows_=a||[]};tHa.prototype.requestMatchingRows=function(a,b,c){var d=this.rows_;var e=[];if(a!="")for(var f=new RegExp("(^|\\W+)"+cq(a),"i"),h=0;h<d.length&&e.length<b;h++){var l=d[h];String(l).match(f)&&e.push(l)}e.length==0&&(e=Xnc(a,b,d));c(a,e)};
var sHa=function(a,b,c){return Xnc(b,c,a.rows_)},Xnc=function(a,b,c){for(var d=[],e=0;e<c.length;e++){var f=c[e],h=a.toLowerCase(),l=String(f).toLowerCase(),q=0;if(l.indexOf(h)!=-1)q=parseInt((l.indexOf(h)/4).toString(),10);else for(var v=h.split(""),y=-1,E=10,H=0,O;O=v[H];H++)O=l.indexOf(O),O>y?(y=O-y-1,y>E-5&&(y=E-5),q+=y,y=O):(q+=E,E+=5);q<h.length*6&&d.push({str:f,score:q,index:e})}d.sort(function(N,T){var da=N.score-T.score;return da!=0?da:N.index-T.index});a=[];for(H=0;H<b&&H<d.length;H++)a.push(d[H].str);
return a};var WJ=function(){var a=this;this.activeSession=r(dv);this.firstPartyAuthHelper=r(XI);this.acReadyDeferred=Ak();this.contactTools=null;this.subscription=new me;var b=r(WI),c=r(VJ);window.gapi&&IGa().then(function(d){d.config.update("googleapis.config/auth/useFirstPartyAuth",!0);d.config.update("googleapis.config/auth/useFirstPartyAuthV2",!0);var e=a.activeSession.getEnvironmentType()==="QA";e&&d.config.update("googleapis.config/root-1p","https://content-googleapis-test.sandbox.google.com");var f=
"0",h=/\/u\/(\d+)\//.exec(b.platformLocation.href);h&&(f=h[1]);d.config.update("googleapis.config/sessionIndex",f);a.acReadyDeferred.resolve(void 0);a.contactTools=c.create(e,function(){Tic(a.firstPartyAuthHelper)});a.contactTools.initAutocomplete()})};WJ.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()};
WJ.prototype.attach=function(a,b,c){var d=this,e=function(h,l){return uHa(h,l,c)},f=new me;this.acReadyDeferred.promise.then(function(){d.contactTools&&(d.contactTools.attachAutocomplete(a,{ac2:!0,groups:!0,extendedInterface:!1,filter:e,cacheBusting:[c]},b),f.add(function(){var h;(h=d.contactTools)==null||h.detachAutocomplete(a)}))});return f};WJ.\u0275fac=function(a){return new (a||WJ)};WJ.\u0275prov=n({token:WJ,factory:WJ.\u0275fac,providedIn:"root"});var VJ=function(){};
VJ.prototype.create=function(a,b){var c=new $I,d=c.getUserInfo();hk(d,6,a?5:1);a=c.getExperiments();a=dk(a,5,!0);a=dk(a,1,!0);a=dk(a,3,!0);dk(a,2,!0);c.setAuthErrorHandler(b);return Unc("xapi",c)};VJ.\u0275fac=function(a){return new (a||VJ)};VJ.\u0275prov=n({token:VJ,factory:VJ.\u0275fac,providedIn:"root"});var XJ=function(){};XJ.prototype.transform=function(a){return Gp(a)};XJ.\u0275fac=function(a){return new (a||XJ)};XJ.\u0275pipe=vd({name:"appendDomain",type:XJ,pure:!0});var YJ=function(){Z.apply(this,arguments);this.element=r(ge);this.focusContacts=r(WJ);this.activeSession=r(dv);this.autocompleteActive=new rG;this.additionalContactsCallback=function(){return[]};this.$element=this.element.nativeElement};Y(YJ,Z);
YJ.prototype.ngOnInit=function(){var a=this;this.$element.setAttribute("autocomplete","contact-autocomplete-username");this.$element.setAttribute("spellcheck","off");this.$element.setAttribute("aria-autocomplete","list");this.$element.setAttribute("role","combobox");this.$element.setAttribute("name","ac-workaround-"+Qv());if(!this.activeSession.isAnonymous()){if(this.fieldType==="SINGLE")var b=function(){a.$element.value=Ync(Znc(a.$element.value));a.autocompleteActive.emit(!1);a.$element.dispatchEvent(new Event("change"));
a.$element.dispatchEvent(new Event("input"))};else if(this.fieldType==="MULTI")b=function(){for(var d="",e=[],f=a.$element,h=k(f.value.split(",")),l=h.next();!l.done;l=h.next())d+=l.value.trim(),d.match(/^[a-z0-9@\-\._\+]+$/i)?(e.push(Ync(d)),d=""):Oic.test(d)?(e.push(d),d=""):d.match(/(".+" )?<.+>/)&&(d=Ync(Znc(d)),e.push(d),d="");f.value=e.join(", ")+", ";a.autocompleteActive.emit(!1);a.$element.dispatchEvent(new Event("change"));a.$element.dispatchEvent(new Event("input"))};else throw Error("Id`"+
this.fieldType);var c=this.additionalContactsCallback();c=$nc(c);this.subscriptions.add(this.focusContacts.attach(this.$element,b,c))}};
var aoc=function(a){Ve(150).pipe(Of(a.destroyed$)).subscribe(function(){var b=document.querySelector(".ac-renderer"),c;b=!!b&&((c=window.getComputedStyle(b))==null?void 0:c.display)!=="none";a.autocompleteActive.emit(b)})},$nc=function(a){return a.map(function(b){return{text:b.text,getEmail:function(){return b.text},toString:function(){return b.id},getPriority:function(){}}})},Znc=function(a){return a.substr(Math.max(0,a.lastIndexOf("<"))).trim().replace(/[<>]/g,"")},Ync=function(a){a=a.trim();La(a)===
","&&(a=a.slice(0,-1));a=Gp(a);var b=a.split("@");return b.length===2?b[0]+"@"+b[1].toLowerCase():a};YJ.\u0275fac=function(){var a;return function(b){return(a||(a=de(YJ)))(b||YJ)}}();
YJ.\u0275dir=ud({type:YJ,selectors:[["","bContactAutocomplete",""]],hostBindings:function(a,b){a&1&&M("keydown",function(){return aoc(b)},!1,ie)("mousedown",function(){return aoc(b)})},inputs:{fieldType:[0,"bContactAutocomplete","fieldType"],additionalContactsCallback:"additionalContactsCallback"},outputs:{autocompleteActive:"autocompleteActive"},features:[cg]});var ZJ=function(){};ZJ.\u0275fac=function(a){return new (a||ZJ)};ZJ.\u0275mod=u({type:ZJ});ZJ.\u0275inj=p({imports:[RE]});var vHa;var $J=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new kw;this.clickHandler=function(c){if(c instanceof MouseEvent){var d=c.target;d&&(b.elementRef.nativeElement.contains(d)||b.clickOutside.emit(c))}}};$J.prototype.ngOnInit=function(){this.getRoot().addEventListener(this.eventType,this.clickHandler,!0)};$J.prototype.ngOnDestroy=function(){this.getRoot().removeEventListener(this.eventType,this.clickHandler,!0)};
$J.prototype.getRoot=function(){var a;return(a=wHa(this.elementRef.nativeElement))!=null?a:document};$J.\u0275fac=function(a){return new (a||$J)(af(ge))};$J.\u0275dir=ud({type:$J,selectors:[["","clickOutside",""]],inputs:{eventType:[0,"clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var aK=function(){};aK.\u0275fac=function(a){return new (a||aK)};aK.\u0275mod=u({type:aK});aK.\u0275inj=p({});var boc=Symbol("Jd"),coc=Symbol("Kd"),bK=function(a){this.viewContainerRef=a;this.className="onedev-hovercard";this.onHide=new kw;this[boc]=new If(1);this.wasTriggeredByKeyboard=!1;this.isOnHover$=new bo(!1);this.closeHovercard$=new Jf};bK.prototype.ngOnInit=function(){};var doc=function(a){var b=a[coc];return b?(b.loaded||(b.viewContainerRef.createEmbeddedView(b.templateRef),b.cdr.detectChanges(),b.loaded=!0),a[boc].pipe(Df(0))):Fe(void 0)};bK.\u0275fac=function(a){return new (a||bK)(af(Kg))};
bK.\u0275cmp=t({type:bK,selectors:[["onedev-hovercard"]],viewQuery:function(a,b){a&1&&Mg(Jg,7);if(a&2){var c;Qg(c=Rg())&&(b.templateRef=c.first)}},inputs:{className:"className"},outputs:{onHide:"onHide"},exportAs:["onedevHovercard"],ngContentSelectors:["*"],decls:1,vars:0,consts:[["cdkTrapFocus","",3,"clickOutside","mouseenter","mouseleave","cdkTrapFocusAutoCapture"]],template:function(a){a&1&&(Dg(),D(0,xHa,2,3,"ng-template"))},dependencies:[jx,$J],styles:[".onedev-hovercard{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15);border-radius:4px;overflow:hidden}"],
encapsulation:2});var cK=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.cdr=c;this.loaded=!1;d[coc]=this};cK.\u0275fac=function(a){return new (a||cK)(af(Jg),af(Kg),af(rw),af(bK))};cK.\u0275dir=ud({type:cK,selectors:[["","onedevHovercardLazyBody",""]]});var dK=function(a){this.hovercard=a;this.destroyed$=new If(1)};dK.prototype.ngOnDestroy=function(){this.destroyed$.next()};dK.prototype.ngOnInit=function(){this.isHovercardReady$.pipe(Of(this.destroyed$)).subscribe(this.hovercard[boc])};
dK.\u0275fac=function(a){return new (a||dK)(af(bK))};dK.\u0275dir=ud({type:dK,selectors:[["","onedevIsHovercardReady",""]],inputs:{isHovercardReady$:[0,"onedevIsHovercardReady","isHovercardReady$"]}});var eoc={originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:10},foc={originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-10},goc={originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-10},hoc=[{originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:10},eoc,goc,{originX:"end",originY:"bottom",overlayX:"start",overlayY:"top",offsetX:10,offsetY:10},{originX:"end",originY:"top",overlayX:"start",overlayY:"bottom",offsetX:10,
offsetY:-10}];var eK=function(){this.showDelay=600;this.hideDelay=400;this.position=hoc;this.triggerKey=[]},fK=function(a,b){var c=this;this.overlay=a;this.origin=b;this.waitFor$=void 0;this.enabled=!0;this.config=new eK;this.active=!1;this.hovercardShown$=new If(1);this.hide$=new Jf;this.hovercard$=new bo(null);this.isHovered$=new bo(!1);this.isKeyboardActivated$=new bo(!1);this.destroyed$=new If(1);this.onDocumentKeyDown=function(d){d.key==="Escape"&&(ioc(c),d.stopPropagation(),d.preventDefault())};joc(this);
this.handleClose()},joc=function(a){koc(a).pipe(Of(a.destroyed$)).subscribe(function(b){(a.active=b)?a.show():a.hide()})};fK.prototype.handleClose=function(){var a=this;this.hovercard$.pipe(Nf(function(b){return(b==null?void 0:b.closeHovercard$)||gw}),Of(this.destroyed$)).subscribe(function(){ioc(a)})};fK.prototype.dispose=function(){loc(this);var a;(a=this.overlayRef)==null||a.dispose();this.destroyed$.next();this.destroyed$.complete()};
fK.prototype.isExpanded=function(){return this.hovercard$.getValue()?this.active:void 0};fK.prototype.toggle=function(a){this.isHovered$.next(a)};var ioc=function(a){a.isKeyboardActivated$.next(!1);a.isHovered$.next(!1);var b;(b=a.hovercard$.getValue())==null||b.isOnHover$.next(!1)};
fK.prototype.show=function(){var a=this;this.enabled&&this.overlayRef&&!this.overlayRef.hasAttached()&&this.hovercard$.getValue()&&(this.hovercard$.getValue().wasTriggeredByKeyboard=this.isKeyboardActivated$.value,doc(this.hovercard$.getValue()).pipe(Cf(),Of(this.destroyed$)).subscribe(function(){a.overlayRef&&a.templatePortal&&a.overlayRef.attach(a.templatePortal);document.addEventListener("keydown",a.onDocumentKeyDown);a.hovercardShown$.next()}))};fK.prototype.hide=function(){loc(this);this.hide$.next()};
var loc=function(a){if(a.overlayRef&&a.overlayRef.hasAttached()){document.removeEventListener("keydown",a.onDocumentKeyDown);var b;(b=a.hovercard$.getValue())!=null&&b.onHide.emit();a.overlayRef.detach()}};fK.prototype.getPositionStrategy=function(){return fy(gy(hy(ky(this.overlay.position(),this.origin)),8),this.config.position)};
var koc=function(a){return Me([moc(a).pipe(Mf(!1)),a.isKeyboardActivated$]).pipe(Lf(1),B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b||c}),Nf(function(b){var c;return((c=a.waitFor$)==null?void 0:c.pipe(Bf(b)))||Fe(b)}))},moc=function(a){return a.hovercard$.pipe(Nf(function(b){return Me([a.isHovered$,(b==null?void 0:b.isOnHover$)||Fe(!1)]).pipe(B(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c||d}),bka(function(c){return c?Ve(a.config.showDelay):Ve(a.config.hideDelay)}),
Of(a.destroyed$))}))};var noc=new Bd("PRODUCTION_ALLOWLIST",{factory:function(){return"l2YMRd lfR6bb iQyyte LhFyIb aVezrf i1iYkd dVgi5c kMzkoe pglXEd AbcbBc Yc0Dnb cvLsDf UAiaPe NdZs2d elAd5d q7HsZb kbrYBc qX517e KmD3Se w0tcsb qrMtRe".split(" ")}}),ooc=new Bd("STREAMZ_PRODUCT_IDENTIFIER"),poc=new Bd("STREAMZ_ALLOWLIST_IDENTIFIER"),qoc=new Bd("one_developer_workflow.streamz_service",{providedIn:"root",factory:function(){return r(hh).runOutsideAngular(function(){var a=new aG(1503);a=new Ydc(a);a.flushInterval=1E4;a.flushTimer.setInterval(1E4);
return a})}}),gK=function(a,b,c,d,e){this.streamzService=a;this.zone=b;this.oneDeveloperWorkflowUsageMetrics=new K5b(this.streamzService);new L5b(this.streamzService);new M5b(this.streamzService);new N5b(this.streamzService);this.productIdentifier=d||window.location.hostname;this.productionAllowlist=c.map(Kjc);this.allowlistIdentifier=Jjc(e!=null?e:this.productIdentifier)},soc=function(a,b,c){a.zone.runOutsideAngular(function(){roc(a)&&a.oneDeveloperWorkflowUsageMetrics.increment(b,a.productIdentifier,
c)})},roc=function(a){return a.productionAllowlist.some(function(b){return a.allowlistIdentifier===b})};gK.\u0275fac=function(a){return new (a||gK)(md(qoc),md(hh),md(noc),md(ooc,8),md(poc,8))};gK.\u0275prov=n({token:gK,factory:gK.\u0275fac,providedIn:"root"});var toc=new Bd("onedevHovercardLoggingOn"),hK=function(a,b,c,d,e){var f=this;this.viewContainerRef=c;this.injector=e;this.config=new eK;this.onHovercardShown=new kw;this.destroyed$=new If(1);this.triggerControl=new fK(a,b);this.triggerControl.hovercardShown$.pipe(Qf(d||Fe(!1)),Of(this.destroyed$)).subscribe(function(h){h=k(h);h.next();h=h.next().value;f.onHovercardShown.emit();h&&(f.clientStreamzService||(f.clientStreamzService=f.injector.get(gK)),soc(f.clientStreamzService,"hovercardShown",!0))})};
g=hK.prototype;g.ngOnChanges=function(a){if(a.hovercard){var b;a=(b=a.hovercard)==null?void 0:b.currentValue;this.triggerControl.hovercard$.next(a);if(a){b=this.triggerControl;var c=this.viewContainerRef;b.config=this.config;b.overlayRef=b.overlay.create({positionStrategy:b.getPositionStrategy(),scrollStrategy:b.overlay.scrollStrategies.reposition()});b.templatePortal=new ny(a.templateRef,c);b.hovercard$.next(a)}}};g.ngOnDestroy=function(){this.triggerControl.dispose();this.destroyed$.next();this.destroyed$.complete()};
g.isExpanded=function(){return this.triggerControl.isExpanded()};g.onKeyDown=function(a){if(this.config.triggerKey.includes(a.key)){var b=this.triggerControl;a.stopPropagation();a.preventDefault();b.isKeyboardActivated$.next(!0)}};g.toggle=function(a){this.triggerControl.toggle(a)};g.hide=function(){this.triggerControl.hide()};ea.Object.defineProperties(hK.prototype,{enabled:{configurable:!0,enumerable:!0,set:function(a){this.triggerControl.enabled=a}}});
hK.\u0275fac=function(a){return new (a||hK)(af(ty),af(ge),af(Kg),af(toc,8),af(Sf))};
hK.\u0275dir=ud({type:hK,selectors:[["","onedevHovercardTrigger",""]],hostVars:2,hostBindings:function(a,b){a&1&&M("mouseenter",function(){return b.toggle(!0)})("mouseleave",function(){return b.toggle(!1)})("keydown.alt.arrowRight",function(c){var d=b.triggerControl;c.stopPropagation();c.preventDefault();d.isKeyboardActivated$.next(!0)})("keydown",function(c){return b.onKeyDown(c)});a&2&&eg("aria-haspopup",b.hovercard?"true":void 0)("aria-expanded",b.isExpanded())},inputs:{hovercard:[0,"onedevHovercardTrigger",
"hovercard"],enabled:[0,"onedevHovercardActive","enabled"],config:[0,"onedevHovercardConfig","config"]},outputs:{onHovercardShown:"onedevHovercardShown"},exportAs:["onedevHovercardTrigger"],features:[Hd]});var uoc=function(a){return["chip","gmat-caption",a]},iK=function(){this.variant="grey";this.isTall=!1};iK.\u0275fac=function(a){return new (a||iK)};
iK.\u0275cmp=t({type:iK,selectors:[["onedev-chip"]],hostVars:2,hostBindings:function(a,b){a&2&&ng("tall",b.isTall)},inputs:{variant:"variant",isTall:"isTall"},ngContentSelectors:["*"],decls:3,vars:3,consts:[[3,"ngClass"],[1,"centering"]],template:function(a,b){a&1&&(Dg(),I(0,"div",0)(1,"div",1),Eg(2),J()());a&2&&F("ngClass",bh(1,uoc,b.variant))},dependencies:[Ew],styles:["[_nghost-%COMP%]{--chip-grey-bg:var(--grey-100,#f1f3f4);--chip-blue-bg:var(--blue-50,#e8f0fe);--chip-red-bg:var(--red-50,#fce8e6);--chip-yellow-bg:var(--yellow-50,#fef7e0);--chip-green-bg:var(--green-50,#e6f4ea);--chip-orange-bg:var(--orange-50,#feefe3);--chip-pink-bg:var(--pink-50,#fde7f3);--chip-purple-bg:var(--purple-50,#f3e8fd);--chip-cyan-bg:var(--cyan-50,#e4f7fb);--chip-grey-icon:var(--grey-700,#5f6368);--chip-blue-icon:var(--blue-700,#1967d2);--chip-red-icon:var(--red-700,#c5221f);--chip-yellow-icon:#9b5400;--chip-green-icon:var(--green-800,#137333);--chip-orange-icon:#9b5400;--chip-pink-icon:var(--pink-800,#b80672);--chip-purple-icon:var(--purple-700,#8430ce);--chip-cyan-icon:var(--cyan-900,#007b83);--chip-text:var(--text-default,#202124)}.tall[_nghost-%COMP%]   .chip[_ngcontent-%COMP%]{border-radius:12px;height:24px;font-weight:500}.tall[_nghost-%COMP%]   .chip[_ngcontent-%COMP%]   .centering[_ngcontent-%COMP%]{height:16px;margin-right:4px}body.dark-mode[_nghost-%COMP%], body.dark-mode   [_nghost-%COMP%]{--chip-grey-bg:#505357;--chip-blue-bg:#314972;--chip-red-bg:#6c322f;--chip-yellow-bg:#725d1e;--chip-green-bg:#2c553a;--chip-orange-bg:#714625;--chip-pink-bg:#702f55;--chip-purple-bg:#523272;--chip-cyan-bg:#275e6b;--chip-grey-icon:var(--grey-200,#e8eaed);--chip-blue-icon:var(--blue-200,#aecbfa);--chip-red-icon:var(--red-200,#f6aea9);--chip-yellow-icon:var(--yellow-200,#fde293);--chip-green-icon:var(--green-200,#a8dab5);--chip-orange-icon:var(--orange-200,#fdc69c);--chip-pink-icon:var(--pink-200,#fba9d6);--chip-purple-icon:var(--purple-200,#d7aefb);--chip-cyan-icon:var(--cyan-200,#a1e4f2);--chip-text:var(--white,#fff)}.chip[_ngcontent-%COMP%]{background-color:var(--chip-grey-bg);border-radius:10px;color:var(--chip-text);display:inline-block;height:20px;padding:0 6px}.chip[_ngcontent-%COMP%]   .centering[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;line-height:12px;margin-bottom:4px;margin-top:4px}.chip.yellow[_ngcontent-%COMP%]{background-color:var(--chip-yellow-bg)}.chip.green[_ngcontent-%COMP%]{background-color:var(--chip-green-bg)}.chip.blue[_ngcontent-%COMP%]{background-color:var(--chip-blue-bg)}.chip.orange[_ngcontent-%COMP%]{background-color:var(--chip-orange-bg)}.chip.pink[_ngcontent-%COMP%]{background-color:var(--chip-pink-bg)}.chip.cyan[_ngcontent-%COMP%]{background-color:var(--chip-cyan-bg)}.chip.red[_ngcontent-%COMP%]{background-color:var(--chip-red-bg)}.chip.purple[_ngcontent-%COMP%]{background-color:var(--chip-purple-bg)}.chip.none[_ngcontent-%COMP%]{background-color:transparent;color:inherit}"],
changeDetection:0});var voc=function(a){this.chip=a};voc.\u0275fac=function(a){return new (a||voc)(af(iK))};voc.\u0275dir=ud({type:voc,selectors:[["","onedevChipIcon",""]],hostVars:10,hostBindings:function(a,b){a&2&&mg("color","var(--chip-"+b.chip.variant+"-icon")("font-size",b.chip.isTall?"16px":"12px")("height",b.chip.isTall?"16px":"12px")("margin","0 4px 0 0")("width",b.chip.isTall?"16px":"12px")}});var jK=function(){};jK.\u0275fac=function(a){return new (a||jK)};jK.\u0275mod=u({type:jK});jK.\u0275inj=p({imports:[Qw]});var woc=function(){};woc.\u0275fac=function(a){return new (a||woc)};woc.\u0275cmp=t({type:woc,selectors:[["","onedevDot",""]],hostVars:1,hostBindings:function(a){a&2&&eg("aria-hidden",!0)},attrs:["onedevDot",""],decls:1,vars:0,template:function(a){a&1&&Q(0,"\u00a0\u00b7\u00a0")},encapsulation:2});var kK=function(){};kK.\u0275fac=function(a){return new (a||kK)};kK.\u0275mod=u({type:kK});kK.\u0275inj=p({});var xoc=[[["","onedev-additional-content",""]],[["onedev-hovercard-action"]]],yoc=function(a){return{"with-avatar":a}},lK=function(){};lK.prototype.ngOnInit=function(){};lK.\u0275fac=function(a){return new (a||lK)};
lK.\u0275cmp=t({type:lK,selectors:[["onedev-person-hovercard-body"]],inputs:{person:"person",outOfOfficeDescription:"outOfOfficeDescription"},standalone:!0,features:[$g],ngContentSelectors:["[onedev-additional-content]","onedev-hovercard-action"],decls:14,vars:10,consts:[["role","dialog","aria-label","Person hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"contact-info",3,"ngClass"],["aria-hidden","true","class","avatar",3,"src","alt",4,"ngIf"],[1,"name","gmat-headline-4"],
["class","email gmat-body-3",4,"ngIf"],["class","chips gmat-caption",4,"ngIf"],[1,"content","gmat-body-3"],[4,"ngIf"],["aria-hidden","true",1,"avatar",3,"src","alt"],[1,"email","gmat-body-3"],[1,"chips","gmat-caption"],["variant","yellow"],["onedevChipIcon","","svgIcon","event_busy_24px"],["svgIcon","work_outline_24px"],[1,"detail"],[1,"dot-separated-list"],["onedevDot","",4,"ngIf"],["onedevDot",""],["svgIcon","location_pin_24px"],["svgIcon","link_24px"],["target","_blank","rel","noopener noreferrer",
3,"href"]],template:function(a,b){a&1&&(Dg(xoc),I(0,"div",0)(1,"div",1)(2,"div",2),D(3,yHa,1,2,"img",3),I(4,"div",4),Q(5),J(),D(6,zHa,2,1,"div",5),J(),D(7,AHa,4,1,"div",6),I(8,"div",7),D(9,EHa,7,3,"ng-container",8)(10,FHa,4,1,"ng-container",8)(11,GHa,19,4,"ng-container",8),Eg(12),J()(),Eg(13,1),J());a&2&&(C(2),F("ngClass",bh(8,yoc,b.person.imageUrl)),C(),F("ngIf",b.person.imageUrl),C(2),R(" ",b.person.name||b.person.email," "),C(),F("ngIf",b.person.name),C(),F("ngIf",b.outOfOfficeDescription),C(2),
F("ngIf",b.person.title||b.person.department),C(),F("ngIf",b.person.location),C(),F("ngIf",b.person.ldap))},dependencies:[jK,iK,voc,Qw,Ew,Gw,kK,woc,QE,$D],styles:[".onedev-hovercard-content{--onedev-card-background:var(--surface-default,#fff);--onedev-card-title-text:var(--text-default,#202124);--onedev-card-icon:var(--icon,#5f6368);--onedev-card-secondary-text:var(--text-secondary,#5f6368);--onedev-card-link-color:var(--primary-default,#1a73e8)}.onedev-hovercard-content{background-color:var(--onedev-card-background);width:356px}.onedev-hovercard-content .onedev-hovercard-body{padding:20px}.onedev-hovercard-content .onedev-hovercard-body a{color:var(--onedev-card-link-color)}.onedev-hovercard-content .onedev-hovercard-body .contact-info.with-avatar{display:grid;grid-template-columns:48px auto;-webkit-column-gap:20px;-moz-column-gap:20px;column-gap:20px}.onedev-hovercard-content .onedev-hovercard-body .contact-info.with-avatar .avatar{grid-row:1/span 2}.onedev-hovercard-content .onedev-hovercard-body .contact-info .name{grid-row:1;grid-column:2;line-clamp:2;overflow:hidden;text-overflow:ellipsis}.onedev-hovercard-content .onedev-hovercard-body .contact-info .email{grid-row:2;grid-column:2}.onedev-hovercard-content .onedev-hovercard-body .title{color:var(--onedev-card-title-text);margin:0 0 12px;max-height:48px;overflow:hidden}.onedev-hovercard-content .onedev-hovercard-body .chips{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-top:12px}.onedev-hovercard-content .onedev-hovercard-body mat-icon{color:var(--onedev-card-icon);font-size:18px;height:18px;width:18px}.onedev-hovercard-content .onedev-hovercard-body .content{display:grid;grid-template-columns:18px auto;grid-gap:12px 20px;margin:0;margin-top:12px}.onedev-hovercard-content .onedev-hovercard-body .content .detail{margin-top:2px}.onedev-hovercard-content .onedev-hovercard-body .content:empty{margin-top:0}.onedev-hovercard-content .onedev-hovercard-body .subcontent:not(:last-child){margin-bottom:8px}.onedev-hovercard-content .onedev-hovercard-body .label{color:var(--onedev-card-secondary-text);padding:0 8px 0 0}.onedev-hovercard-content .onedev-hovercard-body .dot-separated-list{display:inline;list-style-type:none;margin:0;padding:0}.onedev-hovercard-content .onedev-hovercard-body .dot-separated-list li{display:inline}.onedev-hovercard-content .avatar{border-radius:50%;object-fit:cover;height:48px;width:48px}"],
encapsulation:2,changeDetection:0});var zoc=new Bd("API_VERSION"),Aoc=new Bd("REQUEST_SERVICE for people-pa_api_client"),mK=function(){};mK.\u0275fac=function(a){return new (a||mK)};mK.\u0275mod=u({type:mK});mK.\u0275inj=p({});
var Boc={$Xgafv:"$.xgafv",abuseCheckParamsRfaChecks:"abuseCheckParams.rfaChecks",access_token:"access_token",affinityType:"affinityType",alt:"alt",authDelegationContextContactsEncryptedOwnerId:"authDelegationContext.contacts.encryptedOwnerId",authDelegationContextDelegationType:"authDelegationContext.delegationType",authDelegationContextGriffinObfuscatedOwnerId:"authDelegationContext.griffin.obfuscatedOwnerId",authDelegationContextMadisonMadisonGaiaId:"authDelegationContext.madison.madisonGaiaId",
authDelegationContextMadisonObfuscatedMadisonId:"authDelegationContext.madison.obfuscatedMadisonId",authDelegationContextObfuscatedOwnerId:"authDelegationContext.obfuscatedOwnerId",authDelegationContextUnicornObfuscatedOwnerId:"authDelegationContext.unicorn.obfuscatedOwnerId",blockDirection:"blockDirection",callback:"callback",canonicalPhone:"canonicalPhone",client:"client",clientId:"client.id",clientVersionClientAgent:"clientVersion.clientAgent",clientVersionClientType:"clientVersion.clientType",
clientVersionClientVersion:"clientVersion.clientVersion",clientVersionGmsCoreContextAppManagementContext:"clientVersion.gmsCoreContext.appManagementContext",clientVersionGmsCoreContextIsFirstParty:"clientVersion.gmsCoreContext.isFirstParty",clientVersionGmsCoreContextPackageName:"clientVersion.gmsCoreContext.packageName",clientVersionGmsCoreContextPackageSignature:"clientVersion.gmsCoreContext.packageSignature",consentOptionsStrategy:"consentOptions.strategy",consistencyOptionsConsistentReadOverrideType:"consistencyOptions.consistentReadOverrideType",
consistencyOptionsLevel:"consistencyOptions.level",consistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",consistencyOptionsLevelOptionsExactTimestamp:"consistencyOptions.levelOptions.exactTimestamp",consistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",contactId:"contactId",contactListType:"contactListType",contactLookupOptionsEmailLookupType:"contactLookupOptions.emailLookupType",
container:"container",containerId:"containerId",containerIds:"containerIds",contextAllowedRequesterState:"context.allowedRequesterState",contextAuthDelegationContextContactsEncryptedOwnerId:"context.authDelegationContext.contacts.encryptedOwnerId",contextAuthDelegationContextDelegationType:"context.authDelegationContext.delegationType",contextAuthDelegationContextGriffinObfuscatedOwnerId:"context.authDelegationContext.griffin.obfuscatedOwnerId",contextAuthDelegationContextMadisonMadisonGaiaId:"context.authDelegationContext.madison.madisonGaiaId",
contextAuthDelegationContextMadisonObfuscatedMadisonId:"context.authDelegationContext.madison.obfuscatedMadisonId",contextAuthDelegationContextObfuscatedOwnerId:"context.authDelegationContext.obfuscatedOwnerId",contextAuthDelegationContextUnicornObfuscatedOwnerId:"context.authDelegationContext.unicorn.obfuscatedOwnerId",contextClientType:"context.clientType",contextClientVersionClientAgent:"context.clientVersion.clientAgent",contextClientVersionClientType:"context.clientVersion.clientType",contextClientVersionClientVersion:"context.clientVersion.clientVersion",
contextClientVersionGmsCoreContextAppManagementContext:"context.clientVersion.gmsCoreContext.appManagementContext",contextClientVersionGmsCoreContextIsFirstParty:"context.clientVersion.gmsCoreContext.isFirstParty",contextClientVersionGmsCoreContextPackageName:"context.clientVersion.gmsCoreContext.packageName",contextClientVersionGmsCoreContextPackageSignature:"context.clientVersion.gmsCoreContext.packageSignature",contextConsistencyContextBase64EncodedZookie:"context.consistencyContext.base64EncodedZookie",
contextConsistencyContextDirectoryVersionToken:"context.consistencyContext.directoryVersionToken",contextConsistencyContextFbsRequireAllImportantWritesUpToTime:"context.consistencyContext.fbsRequireAllImportantWritesUpToTime",contextConsistencyContextFbsVersionInfo:"context.consistencyContext.fbsVersionInfo",contextConsistencyOptionsConsistentReadOverrideType:"context.consistencyOptions.consistentReadOverrideType",contextConsistencyOptionsLevel:"context.consistencyOptions.level",contextConsistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"context.consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",
contextConsistencyOptionsLevelOptionsExactTimestamp:"context.consistencyOptions.levelOptions.exactTimestamp",contextConsistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"context.consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",contextMigrationOptionsUseClusterBased:"context.migrationOptions.useClusterBased",contextMigrationOptionsUseLegacyRequestMaskBehavior:"context.migrationOptions.useLegacyRequestMaskBehavior",contextMigrationOptionsUseNewRequestMaskBehavior:"context.migrationOptions.useNewRequestMaskBehavior",
contextRequestGroupLoggingId:"context.requestGroupLoggingId",contextRightOfPublicityContext:"context.rightOfPublicityContext",coreIdParamsCheckIdentityAcl:"coreIdParams.checkIdentityAcl",coreIdParamsEnablePrivateAccountEmails:"coreIdParams.enablePrivateAccountEmails",coreIdParamsEnablePrivateNames:"coreIdParams.enablePrivateNames",coreIdParamsEnforceEdsConditionEnforceEdsType:"coreIdParams.enforceEdsCondition.enforceEdsType",coreIdParamsIdentityAclOptionsContextConfigName:"coreIdParams.identityAclOptions.context.configName",
coreIdParamsIdentityAclOptionsContextObjectId:"coreIdParams.identityAclOptions.context.objectId",coreIdParamsIdentityAclOptionsContextObjectPart:"coreIdParams.identityAclOptions.context.objectPart",coreIdParamsIdentityAclOptionsContextZookie:"coreIdParams.identityAclOptions.context.zookie",coreIdParamsIdentityAclOptionsGroupServiceContextGroupName:"coreIdParams.identityAclOptions.groupServiceContext.groupName",coreIdParamsIdentityAclOptionsGroupServiceContextOwnerGaiaId:"coreIdParams.identityAclOptions.groupServiceContext.ownerGaiaId",
coreIdParamsIdentityAclOptionsGroupServiceContextZookie:"coreIdParams.identityAclOptions.groupServiceContext.zookie",coreIdParamsIdentityAclOptionsMode:"coreIdParams.identityAclOptions.mode",coreIdParamsIgnoreAclConditionIgnoreAclConditionType:"coreIdParams.ignoreAclCondition.ignoreAclConditionType",coreIdParamsProfileAccessTokensInteractionTokens:"coreIdParams.profileAccessTokens.interactionTokens",coreIdParamsUseRealtimeNotificationExpandedAcls:"coreIdParams.useRealtimeNotificationExpandedAcls",
coreNameCoreProfileFirstName:"coreName.coreProfileFirstName",coreNameCoreProfileLastName:"coreName.coreProfileLastName",customLookupType:"customLookupType",dataFormatsAffinityFormatsScoreFormat:"dataFormats.affinityFormats.scoreFormat",dataFormatsProfilePhotoOptionsCorpHeaderPreference:"dataFormats.profilePhotoOptions.corpHeaderPreference",dataFormatsProfilePhotoOptionsPrivateUrlFormat:"dataFormats.profilePhotoOptions.privateUrlFormat",dataJoinParamsPhoneStalenessSpec:"dataJoinParams.phoneStalenessSpec",
dataJoinParamsProfileJoinType:"dataJoinParams.profileJoinType",dedupeOption:"dedupeOption",delayFullSync:"delayFullSync",delegatedGroupIdDelegatedGroupId:"delegatedGroupId.delegatedGroupId",deleteContacts:"deleteContacts",deleteTrashedContacts:"deleteTrashedContacts",deletionContextMutationContextAndroidDeviceInfoId:"deletionContext.mutationContext.androidDeviceInfo.id",deletionContextMutationContextHostAppInfoHostAppName:"deletionContext.mutationContext.hostAppInfo.hostAppName",deletionContextMutationContextSource:"deletionContext.mutationContext.source",
deletionContextMutationContextThirdPartyInfoClientName:"deletionContext.mutationContext.thirdPartyInfo.clientName",deletionContextMutationContextThirdPartyInfoProjectNumber:"deletionContext.mutationContext.thirdPartyInfo.projectNumber",deletionContextMutationContextTimestamp:"deletionContext.mutationContext.timestamp",deviceId:"deviceId",deviceIdentifierClientInstanceId:"deviceIdentifier.clientInstanceId",deviceIdentityDeviceId:"deviceIdentity.deviceId",extensionSetExtendedRequestDataPeopleBackendExtensionApplication:"extensionSet.extendedRequestData.peopleBackendExtension.application",
extensionSetExtensionNames:"extensionSet.extensionNames",fieldFilterField:"fieldFilter.field",fieldMask:"fieldMask",fieldValueFilterAdminAssistants:"fieldValueFilter.adminAssistants",fieldValueFilterDottedLineManagers:"fieldValueFilter.dottedLineManagers",fieldValueFilterExecAssistants:"fieldValueFilter.execAssistants",fieldValueFilterIndirectManagers:"fieldValueFilter.indirectManagers",fieldValueFilterIndirectManagersWithMaxNumHops:"fieldValueFilter.indirectManagersWithMaxNumHops",fieldValueFilterManagers:"fieldValueFilter.managers",
fieldValueFilterProfileExternalIdCustomTag:"fieldValueFilter.profileExternalId.customTag",fieldValueFilterProfileExternalIdStandardTag:"fieldValueFilter.profileExternalId.standardTag",fieldValueFilterProfileExternalIdValue:"fieldValueFilter.profileExternalId.value",fields:"fields",getPeopleRequestAbuseCheckParamsRfaChecks:"getPeopleRequest.abuseCheckParams.rfaChecks",getPeopleRequestContextAllowedRequesterState:"getPeopleRequest.context.allowedRequesterState",getPeopleRequestContextAuthDelegationContextContactsEncryptedOwnerId:"getPeopleRequest.context.authDelegationContext.contacts.encryptedOwnerId",
getPeopleRequestContextAuthDelegationContextDelegationType:"getPeopleRequest.context.authDelegationContext.delegationType",getPeopleRequestContextAuthDelegationContextGriffinObfuscatedOwnerId:"getPeopleRequest.context.authDelegationContext.griffin.obfuscatedOwnerId",getPeopleRequestContextAuthDelegationContextMadisonMadisonGaiaId:"getPeopleRequest.context.authDelegationContext.madison.madisonGaiaId",getPeopleRequestContextAuthDelegationContextMadisonObfuscatedMadisonId:"getPeopleRequest.context.authDelegationContext.madison.obfuscatedMadisonId",
getPeopleRequestContextAuthDelegationContextObfuscatedOwnerId:"getPeopleRequest.context.authDelegationContext.obfuscatedOwnerId",getPeopleRequestContextAuthDelegationContextUnicornObfuscatedOwnerId:"getPeopleRequest.context.authDelegationContext.unicorn.obfuscatedOwnerId",getPeopleRequestContextClientType:"getPeopleRequest.context.clientType",getPeopleRequestContextClientVersionClientAgent:"getPeopleRequest.context.clientVersion.clientAgent",getPeopleRequestContextClientVersionClientType:"getPeopleRequest.context.clientVersion.clientType",
getPeopleRequestContextClientVersionClientVersion:"getPeopleRequest.context.clientVersion.clientVersion",getPeopleRequestContextClientVersionGmsCoreContextAppManagementContext:"getPeopleRequest.context.clientVersion.gmsCoreContext.appManagementContext",getPeopleRequestContextClientVersionGmsCoreContextIsFirstParty:"getPeopleRequest.context.clientVersion.gmsCoreContext.isFirstParty",getPeopleRequestContextClientVersionGmsCoreContextPackageName:"getPeopleRequest.context.clientVersion.gmsCoreContext.packageName",
getPeopleRequestContextClientVersionGmsCoreContextPackageSignature:"getPeopleRequest.context.clientVersion.gmsCoreContext.packageSignature",getPeopleRequestContextConsistencyContextDirectoryVersionToken:"getPeopleRequest.context.consistencyContext.directoryVersionToken",getPeopleRequestContextConsistencyOptionsConsistentReadOverrideType:"getPeopleRequest.context.consistencyOptions.consistentReadOverrideType",getPeopleRequestContextConsistencyOptionsLevel:"getPeopleRequest.context.consistencyOptions.level",
getPeopleRequestContextConsistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"getPeopleRequest.context.consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",getPeopleRequestContextConsistencyOptionsLevelOptionsExactTimestamp:"getPeopleRequest.context.consistencyOptions.levelOptions.exactTimestamp",getPeopleRequestContextConsistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"getPeopleRequest.context.consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",
getPeopleRequestContextMigrationOptionsUseClusterBased:"getPeopleRequest.context.migrationOptions.useClusterBased",getPeopleRequestContextMigrationOptionsUseLegacyRequestMaskBehavior:"getPeopleRequest.context.migrationOptions.useLegacyRequestMaskBehavior",getPeopleRequestContextMigrationOptionsUseNewRequestMaskBehavior:"getPeopleRequest.context.migrationOptions.useNewRequestMaskBehavior",getPeopleRequestContextRequestGroupLoggingId:"getPeopleRequest.context.requestGroupLoggingId",getPeopleRequestContextRightOfPublicityContext:"getPeopleRequest.context.rightOfPublicityContext",
getPeopleRequestCoreIdParamsCheckIdentityAcl:"getPeopleRequest.coreIdParams.checkIdentityAcl",getPeopleRequestCoreIdParamsEnablePrivateAccountEmails:"getPeopleRequest.coreIdParams.enablePrivateAccountEmails",getPeopleRequestCoreIdParamsEnablePrivateNames:"getPeopleRequest.coreIdParams.enablePrivateNames",getPeopleRequestCoreIdParamsEnforceEdsConditionEnforceEdsType:"getPeopleRequest.coreIdParams.enforceEdsCondition.enforceEdsType",getPeopleRequestCoreIdParamsIdentityAclOptionsContextConfigName:"getPeopleRequest.coreIdParams.identityAclOptions.context.configName",
getPeopleRequestCoreIdParamsIdentityAclOptionsContextObjectId:"getPeopleRequest.coreIdParams.identityAclOptions.context.objectId",getPeopleRequestCoreIdParamsIdentityAclOptionsContextObjectPart:"getPeopleRequest.coreIdParams.identityAclOptions.context.objectPart",getPeopleRequestCoreIdParamsIdentityAclOptionsContextZookie:"getPeopleRequest.coreIdParams.identityAclOptions.context.zookie",getPeopleRequestCoreIdParamsIdentityAclOptionsGroupServiceContextGroupName:"getPeopleRequest.coreIdParams.identityAclOptions.groupServiceContext.groupName",
getPeopleRequestCoreIdParamsIdentityAclOptionsGroupServiceContextOwnerGaiaId:"getPeopleRequest.coreIdParams.identityAclOptions.groupServiceContext.ownerGaiaId",getPeopleRequestCoreIdParamsIdentityAclOptionsGroupServiceContextZookie:"getPeopleRequest.coreIdParams.identityAclOptions.groupServiceContext.zookie",getPeopleRequestCoreIdParamsIdentityAclOptionsMode:"getPeopleRequest.coreIdParams.identityAclOptions.mode",getPeopleRequestCoreIdParamsIgnoreAclConditionIgnoreAclConditionType:"getPeopleRequest.coreIdParams.ignoreAclCondition.ignoreAclConditionType",
getPeopleRequestCoreIdParamsProfileAccessTokensInteractionTokens:"getPeopleRequest.coreIdParams.profileAccessTokens.interactionTokens",getPeopleRequestCoreIdParamsUseRealtimeNotificationExpandedAcls:"getPeopleRequest.coreIdParams.useRealtimeNotificationExpandedAcls",getPeopleRequestDataFormatsAffinityFormatsScoreFormat:"getPeopleRequest.dataFormats.affinityFormats.scoreFormat",getPeopleRequestDataFormatsProfilePhotoOptionsCorpHeaderPreference:"getPeopleRequest.dataFormats.profilePhotoOptions.corpHeaderPreference",
getPeopleRequestDataFormatsProfilePhotoOptionsPrivateUrlFormat:"getPeopleRequest.dataFormats.profilePhotoOptions.privateUrlFormat",getPeopleRequestDedupeOption:"getPeopleRequest.dedupeOption",getPeopleRequestExtensionSetExtendedRequestDataPeopleBackendExtensionApplication:"getPeopleRequest.extensionSet.extendedRequestData.peopleBackendExtension.application",getPeopleRequestExtensionSetExtensionNames:"getPeopleRequest.extensionSet.extensionNames",getPeopleRequestIncludeFieldAcl:"getPeopleRequest.includeFieldAcl",
getPeopleRequestIncludedProfileStates:"getPeopleRequest.includedProfileStates",getPeopleRequestMergedPersonSourceOptionsCertificateParamsRequestCertificates:"getPeopleRequest.mergedPersonSourceOptions.certificateParams.requestCertificates",getPeopleRequestMergedPersonSourceOptionsDataJoinParamsPhoneStalenessSpec:"getPeopleRequest.mergedPersonSourceOptions.dataJoinParams.phoneStalenessSpec",getPeopleRequestMergedPersonSourceOptionsDataJoinParamsProfileJoinType:"getPeopleRequest.mergedPersonSourceOptions.dataJoinParams.profileJoinType",
getPeopleRequestMergedPersonSourceOptionsDeviceContactFilterDeviceIdentifierClientInstanceId:"getPeopleRequest.mergedPersonSourceOptions.deviceContactFilter.deviceIdentifier.clientInstanceId",getPeopleRequestMergedPersonSourceOptionsDeviceContactFilterFilterType:"getPeopleRequest.mergedPersonSourceOptions.deviceContactFilter.filterType",getPeopleRequestMergedPersonSourceOptionsIncludeAccountLocale:"getPeopleRequest.mergedPersonSourceOptions.includeAccountLocale",getPeopleRequestMergedPersonSourceOptionsIncludeAffinity:"getPeopleRequest.mergedPersonSourceOptions.includeAffinity",
getPeopleRequestMergedPersonSourceOptionsIncludedContactDeletionStates:"getPeopleRequest.mergedPersonSourceOptions.includedContactDeletionStates",getPeopleRequestMergedPersonSourceOptionsIncludedProfileStates:"getPeopleRequest.mergedPersonSourceOptions.includedProfileStates",getPeopleRequestMergedPersonSourceOptionsPersonModelParamsPersonModel:"getPeopleRequest.mergedPersonSourceOptions.personModelParams.personModel",getPeopleRequestMergedPersonSourceOptionsPlaceParamsRequestPhotoTypes:"getPeopleRequest.mergedPersonSourceOptions.placeParams.requestPhotoTypes",
getPeopleRequestMergedPersonSourceOptionsPlaceParamsRequestPlaces:"getPeopleRequest.mergedPersonSourceOptions.placeParams.requestPlaces",getPeopleRequestMergedPersonSourceOptionsReplaceIantWithGiant:"getPeopleRequest.mergedPersonSourceOptions.replaceIantWithGiant",getPeopleRequestPersonId:"getPeopleRequest.personId",getPeopleRequestRequestConfigContextConfigKey:"getPeopleRequest.requestConfigContext.configKey",getPeopleRequestRequestConfigContextVersion:"getPeopleRequest.requestConfigContext.version",
getPeopleRequestRequestMaskCustomRequestMask:"getPeopleRequest.requestMask.customRequestMask",getPeopleRequestRequestMaskImageUrlType:"getPeopleRequest.requestMask.imageUrlType",getPeopleRequestRequestMaskIncludeContainer:"getPeopleRequest.requestMask.includeContainer",getPeopleRequestRequestMaskIncludeField:"getPeopleRequest.requestMask.includeField",getPeopleRequestRequestMaskIncludePeopleInCommon:"getPeopleRequest.requestMask.includePeopleInCommon",getPeopleRequestRequestMaskPersonAttribute:"getPeopleRequest.requestMask.personAttribute",
getPeopleRequestRequestMaskPhotoOptionsPrivateUrlFormat:"getPeopleRequest.requestMask.photoOptions.privateUrlFormat",getPeopleRequestRequestMaskProductContactGroup:"getPeopleRequest.requestMask.productContactGroup",graphRestricts:"graphRestricts",groupExtensionSetExtensionNames:"groupExtensionSet.extensionNames",groupId:"groupId",id:"id",includeAllAvailableSources:"includeAllAvailableSources",includeAllReachablePeople:"includeAllReachablePeople",includeBlocks:"includeBlocks",includeContent:"includeContent",
includeFieldAcl:"includeFieldAcl",includeLinkedPeople:"includeLinkedPeople",includeOthers:"includeOthers",includedProfileStates:"includedProfileStates",invalidatePriorTokens:"invalidatePriorTokens",key:"key",listFilterParamsContainer:"listFilterParams.container",listFilterParamsExcludeUnreachablePeople:"listFilterParams.excludeUnreachablePeople",matchType:"matchType",maxContacts:"maxContacts",mergedPersonSourceOptionsCertificateParamsRequestCertificates:"mergedPersonSourceOptions.certificateParams.requestCertificates",
mergedPersonSourceOptionsDataJoinParamsPhoneStalenessSpec:"mergedPersonSourceOptions.dataJoinParams.phoneStalenessSpec",mergedPersonSourceOptionsDataJoinParamsProfileJoinType:"mergedPersonSourceOptions.dataJoinParams.profileJoinType",mergedPersonSourceOptionsDeviceContactFilterDeviceIdentifierClientInstanceId:"mergedPersonSourceOptions.deviceContactFilter.deviceIdentifier.clientInstanceId",mergedPersonSourceOptionsDeviceContactFilterFilterType:"mergedPersonSourceOptions.deviceContactFilter.filterType",
mergedPersonSourceOptionsIncludeAccountLocale:"mergedPersonSourceOptions.includeAccountLocale",mergedPersonSourceOptionsIncludeAffinity:"mergedPersonSourceOptions.includeAffinity",mergedPersonSourceOptionsIncludedContactDeletionStates:"mergedPersonSourceOptions.includedContactDeletionStates",mergedPersonSourceOptionsIncludedProfileStates:"mergedPersonSourceOptions.includedProfileStates",mergedPersonSourceOptionsPersonModelParamsPersonModel:"mergedPersonSourceOptions.personModelParams.personModel",
mergedPersonSourceOptionsPlaceParamsRequestPhotoTypes:"mergedPersonSourceOptions.placeParams.requestPhotoTypes",mergedPersonSourceOptionsPlaceParamsRequestPlaces:"mergedPersonSourceOptions.placeParams.requestPlaces",mergedPersonSourceOptionsReplaceIantWithGiant:"mergedPersonSourceOptions.replaceIantWithGiant",oauth_token:"oauth_token",objectTypesRestricts:"objectTypesRestricts",options:"options",orderBy:"orderBy",pageSize:"pageSize",pageToken:"pageToken",pagingOptionsPageSize:"pagingOptions.pageSize",
pagingOptionsPageToken:"pagingOptions.pageToken",peopleType:"peopleType",personAttribute:"personAttribute",personExpansion:"personExpansion",personId:"personId",phoneLookupQuotaOptionsQuotaBypassTokenOptions:"phoneLookupQuotaOptions.quotaBypassTokenOptions",phoneLookupQuotaOptionsQuotaBypassTokens:"phoneLookupQuotaOptions.quotaBypassTokens",phoneLookupQuotaOptionsQuotaLimitBehavior:"phoneLookupQuotaOptions.quotaLimitBehavior",phones:"phones",photoOptionsMaxHeight:"photoOptions.maxHeight",photoOptionsMaxWidth:"photoOptions.maxWidth",
placeParamsRequestPlaces:"placeParams.requestPlaces",postPhotoMutateReadOption:"postPhotoMutateReadOption",prefixQuery:"prefixQuery",prettyPrint:"prettyPrint",profileId:"profileId",profileLookupOptionsEmailLookupOption:"profileLookupOptions.emailLookupOption",profileLookupOptionsExcludeGaiaAccountTypes:"profileLookupOptions.excludeGaiaAccountTypes",profileLookupOptionsUseTrustedClientPhoneLookupQuota:"profileLookupOptions.useTrustedClientPhoneLookupQuota",query:"query",quotaFilterType:"quotaFilterType",
quotaUser:"quotaUser",requestConfigContextConfigKey:"requestConfigContext.configKey",requestConfigContextVersion:"requestConfigContext.version",requestMask:"requestMask",requestMaskCustomRequestMask:"requestMask.customRequestMask",requestMaskImageUrlType:"requestMask.imageUrlType",requestMaskIncludeContainer:"requestMask.includeContainer",requestMaskIncludeField:"requestMask.includeField",requestMaskIncludePeopleInCommon:"requestMask.includePeopleInCommon",requestMaskPersonAttribute:"requestMask.personAttribute",
requestMaskPhotoOptionsPrivateUrlFormat:"requestMask.photoOptions.privateUrlFormat",requestMaskProductContactGroup:"requestMask.productContactGroup",requestOptionsRequireConsistency:"requestOptions.requireConsistency",requestOptionsTreatRestrictsAsFilter:"requestOptions.treatRestrictsAsFilter",requireCompleteResults:"requireCompleteResults",returnedFieldAcl:"returnedFieldAcl",searchSettingsMinTotalItemsAccuracy:"searchSettings.minTotalItemsAccuracy",searchSettingsNumToScore:"searchSettings.numToScore",
searchSettingsScoringType:"searchSettings.scoringType",skipPostMutateGet:"skipPostMutateGet",sortOptionsSortField:"sortOptions.sortField",sortOptionsSortOrder:"sortOptions.sortOrder",source:"source",sources:"sources",squery:"squery",stFieldSpecExpressionsExpressionNames:"stFieldSpecExpressions.expressionNames",stFieldSpecExpressionsExpressions:"stFieldSpecExpressions.expressions",startIndex:"startIndex",stquery:"stquery",syncParametersFullSyncOption:"syncParameters.fullSyncOption",syncParametersSyncToken:"syncParameters.syncToken",
syncToken:"syncToken",type:"type",uploadType:"uploadType",upload_protocol:"upload_protocol",useBytes:"useBytes"},nK=function(a,b,c){this.gapiVersion=a;this.gapiVersion=a==null?"v2":a;this.$apiClient=new thc(b,c)};nK.prototype.list=function(a,b){a=a===void 0?{}:a;b=b===void 0?{}:b;return vhc(this.$apiClient,{body:null,httpMethod:"GET",methodId:"people_pa.people.lookup.list",path:"/"+this.gapiVersion+"/people/lookup",queryParams:NFa(a,Boc,b)})};
nK.\u0275fac=function(a){return new (a||nK)(md(zoc,8),md(Aoc),md(Sgc,8))};nK.\u0275prov=n({token:nK,factory:nK.\u0275fac,providedIn:"root"});var Coc=function(){};Coc.\u0275fac=function(a){return new (a||Coc)};Coc.\u0275prov=n({token:Coc,factory:function(a){return nK.\u0275fac(a)},providedIn:"root"});var oK=function(a,b,c){this.gapiVersion=a;this.gapiVersion=a==null?"v2":a;this.$apiClient=new thc(b,c)};oK.\u0275fac=function(a){return new (a||oK)(md(zoc,8),md(Aoc),md(Sgc,8))};
oK.\u0275prov=n({token:oK,factory:oK.\u0275fac,providedIn:"root"});var Doc=function(){};Doc.\u0275fac=function(a){return new (a||Doc)};Doc.\u0275prov=n({token:Doc,factory:function(a){return oK.\u0275fac(a)},providedIn:"root"});var HHa=/.*@google.com/,Eoc=new Bd("onedevPeopleServiceConfig"),Foc={},pK=function(){},Hoc=function(a,b){return Goc(a,[b]).pipe(B(function(c){return c[0]}))};pK.\u0275fac=function(a){return new (a||pK)};pK.\u0275prov=n({token:pK,factory:pK.\u0275fac});
var qK=function(a,b,c){var d=this;this.lookupApiClient=a;this.destroy$=new Jf;this.config=Foc;c&&c.pipe(Pf(function(e){window.gapi&&e.accessToken&&window.gapi.auth.setToken({access_token:e.accessToken})}),Of(this.destroy$)).subscribe({next:function(e){d.config=e}})};Y(qK,pK);
var Goc=function(a,b){return a.lookupApiClient.list({id:b,type:"EMAIL",matchType:"EXACT",requestMaskIncludeField:"person.email,person.name,person.photo,person.organization",requestMaskIncludeContainer:["PROFILE","DOMAIN_PROFILE","GOOGLE_GROUP"],sources:["PROFILE_SOURCE"],access_token:a.config.accessToken}).pipe(B(function(c){return LHa(b,c)}))};qK.prototype.ngOnDestroy=function(){this.destroy$.next()};qK.\u0275fac=function(a){return new (a||qK)(md(Coc),md(Doc),md(Eoc,8))};
qK.\u0275prov=n({token:qK,factory:qK.\u0275fac});var rK=function(){};rK.\u0275fac=function(a){return new (a||rK)};rK.\u0275mod=u({type:rK});rK.\u0275inj=p({providers:[qK,{provide:pK,useExisting:qK}],imports:[mK]});var Ioc=RegExp("^((http(s)?):)?\\/\\/((((lh[3-6](-tt|-d[a-g,y,z]|-testonly)?\\.((ggpht)|(googleusercontent)|(google)|(sandbox\\.google)))|(lh7\\-(eu|us|qw|rt)\\.((googleusercontent)|(google)))|((photos|testonly|work)\\.fife\\.usercontent\\.google)|([\\w\\-]+\\.fife\\.usercontent\\.google)|(([1-4]\\.bp\\.blogspot)|(bp[0-3]\\.blogger))|(ccp-lh\\.googleusercontent)|((((cp|ci|gp)[3-6])|(ap[1-2]))\\.(ggpht|googleusercontent))|(gm[1-4]\\.ggpht)|(play-(ti-)?lh\\.googleusercontent)|(gz0\\.googleusercontent)|(((yt[3-4])|(sp[1-3]))\\.(ggpht|googleusercontent)))\\.com)|(drive\\.google\\.com\\/drive\\-(usercontent|viewer))|(dp[3-6]\\.googleusercontent\\.cn)|(lh[3-6]\\.(googleadsserving\\.cn|xn--9kr7l\\.com))|((photos|drive|contribution)\\-image\\-(dev|qa)(-auth|-cookie)?\\.corp\\.google\\.com)|(photos\\-image\\-dev\\-dl\\-(auth|eu|us)\\.corp\\.google\\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\\.sandbox\\.google\\.com\\/image)|(image\\-(dev|qa)\\-lighthouse(-auth)?\\.sandbox\\.google\\.com(\\/image)?)|(drive\\-qa\\.corp\\.google\\.com\\/drive\\-(usercontent|viewer)))\\/",
"i"),Joc=/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,Koc=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,Loc=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i,Moc=function(a){return Ioc.test(a)||Joc.test(a)||Koc.test(a)||Loc.test(a)};var Noc=function(a){this.internalArray_=m(a)};Y(Noc,V);g=Noc.prototype;g.getSize=function(){return Gv(this,1)};g.setSize=function(a){return ek(this,1,a)};g.getWidth=function(){return Gv(this,12)};g.setWidth=function(a){return ek(this,12,a)};g.getHeight=function(){return Gv(this,13)};g.setHeight=function(a){return ek(this,13,a)};g.setStretch=function(a){return dk(this,33,a)};g.setCrop=function(a){return dk(this,2,a)};g.setCircleCrop=function(a){return dk(this,51,a)};
g.setImageCrop=function(a){return dk(this,32,a)};g.setSmartCrop=function(a){return dk(this,19,a)};g.setSmartCropNoClip=function(a){return dk(this,52,a)};g.setSmartCropUseFace=function(a){return dk(this,67,a)};g.setDetectFaces=function(a){dk(this,80,a)};g.setCenterCrop=function(a){return dk(this,20,a)};g.setPad=function(a){return dk(this,60,a)};g.setDownload=function(a){dk(this,3,a)};g.setHtml=function(a){dk(this,4,a)};g.setObjectId=function(a){Zp(this,7,a==null?a:Pca(a))};
g.setLooseFaceCrop=function(a){return dk(this,65,a)};g.setFaceCropVersion=function(a){ek(this,94,a)};g.setFrameId=function(a){Zp(this,29,a==null?a:Pca(a))};g.setTileX=function(a){ek(this,9,a)};g.setTileY=function(a){ek(this,10,a)};g.setTileZoom=function(a){ek(this,11,a)};g.setTileGeneration=function(a){dk(this,14,a)};g.setForceTileGeneration=function(a){dk(this,34,a)};g.setTilePyramidAsProto=function(a){dk(this,72,a)};g.setExpirationTime=function(a){ek(this,15,a)};
g.setExpirationTimeInMinutes=function(a){ek(this,107,a)};g.setImageFilter=function(a){return gk(this,16,a)};g.setKillAnimation=function(a){return dk(this,17,a)};g.setUnfiltered=function(a){dk(this,18,a)};g.setUnfilteredWithTransforms=function(a){dk(this,45,a)};g.setIncludeMetadata=function(a){dk(this,22,a)};g.setIncludePublicMetadata=function(a){dk(this,54,a)};g.setStripGoogleData=function(a){dk(this,82,a)};g.setPreserveGoogleData=function(a){dk(this,83,a)};
g.setStripMetadata=function(a){dk(this,93,a)};g.setStripGeoinfo=function(a){dk(this,95,a)};g.setEsPortraitApprovedOnly=function(a){return dk(this,21,a)};g.setBypassTakedown=function(a){dk(this,23,a)};g.getToken=function(){return uk(this,24)};g.setToken=function(a){return gk(this,24,a)};g.setVersionedToken=function(a){gk(this,36,a)};g.setSkipRefererCheck=function(a){dk(this,6,a)};g.setRotate=function(a){return ek(this,26,a)};g.setHorizontalFlip=function(a){dk(this,30,a)};
g.setVerticalFlip=function(a){dk(this,31,a)};g.getOverlay=function(){return tt(this,27)};g.setOverlay=function(a){return dk(this,27,a)};g.setQueryString=function(a){gk(this,28,a)};g.setRequestJpeg=function(a){return dk(this,57,a)};g.setRequestPng=function(a){return dk(this,58,a)};g.setRequestGif=function(a){dk(this,59,a)};g.setRequestAvif=function(a){dk(this,103,a)};g.setRequestWebp=function(a){return dk(this,35,a)};g.setRequestWebpUnlessMaybeTransparent=function(a){dk(this,41,a)};
g.setRequestAnimatedWebp=function(a){dk(this,64,a)};g.setNoWebp=function(a){dk(this,48,a)};g.setRequestH264=function(a){return dk(this,49,a)};g.setLossy=function(a){dk(this,97,a)};g.setNoOverlay=function(a){return dk(this,37,a)};g.setBorderSize=function(a){ek(this,38,a)};g.setBorderRadius=function(a){ek(this,86,a)};g.setBorderColor=function(a){ek(this,39,a)};g.getBackgroundColor=function(){return Gv(this,87)};g.setBackgroundColor=function(a){ek(this,87,a)};g.setPadColor=function(a){ek(this,88,a)};
g.setSubstitutionColor=function(a){ek(this,89,a)};g.setNoSilhouette=function(a){dk(this,40,a)};g.setFocusBlur=function(a){ek(this,42,a)};g.setFocalPlane=function(a){ek(this,43,a)};g.setQualityLevel=function(a){return ek(this,44,a)};g.setQualityBucket=function(a){return ek(this,62,a)};g.setNoUpscale=function(a){dk(this,46,a)};g.setPreserveAspectRatio=function(a){dk(this,61,a)};g.setForceTransformation=function(a){dk(this,50,a)};g.setNoDefaultImage=function(a){dk(this,53,a)};
g.setNoCorrectExifOrientation=function(a){dk(this,55,a)};g.setSelectFrameNumber=function(a){ek(this,56,a)};g.setVideoFormat=function(a){ek(this,63,a)};g.setVideoMultiFormat=function(a){gk(this,81,a)};g.setVideoManifest=function(a){dk(this,98,a)};g.setDownloadVideo=function(a){dk(this,90,a)};g.setVideoBegin=function(a){nk(this,68,a)};g.setVideoLength=function(a){nk(this,69,a)};g.setMatchVersion=function(a){dk(this,66,a)};g.setImageDigest=function(a){dk(this,70,a)};
g.setInternalClient=function(a){ek(this,71,a)};g.setMonogram=function(a){dk(this,73,a)};g.setForceMonogram=function(a){return dk(this,84,a)};g.setMonogramDogfood=function(a){dk(this,91,a)};g.setIgnoreLowResProfilePhoto=function(a){dk(this,96,a)};g.setAutoloop=function(a){dk(this,74,a)};g.setImageVersion=function(a){nk(this,75,a)};g.setPitchDegrees=function(a){Zp(this,76,yb(a))};g.setYawDegrees=function(a){Zp(this,77,yb(a))};g.setRollDegrees=function(a){Zp(this,78,yb(a))};
g.setFovDegrees=function(a){Zp(this,79,yb(a))};g.setBadge=function(a){ek(this,85,a)};g.setColorProfile=function(a){ek(this,92,a)};g.setDeepCrop=function(a){gk(this,99,a)};g.setRequestVideoFast=function(a){dk(this,100,a)};g.setVideoFormatFilters=function(a){gk(this,102,a)};g.setDummyCacheKeyModifier=function(a){dk(this,104,a)};g.setGainMap=function(a){dk(this,105,a)};g.setNoGainMap=function(a){dk(this,106,a)};g.setForceCookieRedirect=function(a){dk(this,108,a)};
g.setStoryboardLevel=function(a){ek(this,109,a)};g.setStoryboardMosaic=function(a){ek(this,110,a)};var sK=function(a){this.value_=void 0;this.childNodes_={};a&&this.setAll(a)};sK.prototype.set=function(a,b){Ooc(this,a,b,!1)};sK.prototype.add=function(a,b){Ooc(this,a,b,!0)};var Ooc=function(a,b,c,d){for(var e=0;e<b.length;e++){var f=b.charAt(e);a.childNodes_[f]||(a.childNodes_[f]=new sK);a=a.childNodes_[f]}if(d&&a.value_!==void 0)throw Error("Ld`"+b);a.value_=c};sK.prototype.setAll=function(a){var b=Ugc(a);a=dI(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};
var Poc=function(a,b){for(var c=0;c<b.length;c++)if(a=a.childNodes_[b.charAt(c)],!a)return;return a};sK.prototype.get=function(a){return(a=Poc(this,a))?a.value_:void 0};sK.prototype.getValues=function(){var a=[];Qoc(this,a);return a};var Qoc=function(a,b){a.value_!==void 0&&b.push(a.value_);for(var c in a.childNodes_)Qoc(a.childNodes_[c],b)};
sK.prototype.getKeys=function(a){var b=[];if(a){for(var c=this,d=0;d<a.length;d++){var e=a.charAt(d);if(!c.childNodes_[e])return[];c=c.childNodes_[e]}Roc(c,a,b)}else Roc(this,"",b);return b};var Roc=function(a,b,c){a.value_!==void 0&&c.push(b);for(var d in a.childNodes_)Roc(a.childNodes_[d],b+d,c)};g=sK.prototype;g.containsKey=function(a){return this.get(a)!==void 0};
g.containsValue=function(a){if(this.value_===a)return!0;for(var b in this.childNodes_)if(this.childNodes_[b].containsValue(a))return!0;return!1};g.clear=function(){this.childNodes_={};this.value_=void 0};g.remove=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a.charAt(d);if(!b.childNodes_[e])throw Error("Md`"+a);c.push([b,e]);b=b.childNodes_[e]}a=b.value_;for(delete b.value_;c.length>0;)if(e=c.pop(),b=e[0],e=e[1],b.childNodes_[e].isEmpty())delete b.childNodes_[e];else break;return a};
g.clone=function(){return new sK(this)};g.getCount=function(){return Tgc(this.getValues())};g.isEmpty=function(){return this.value_===void 0&&Ec(this.childNodes_)};var Uoc=function(){if(!Soc){var a=Soc=new sK,b;for(b in Toc)a.add(b,Toc[b])}},Soc,tK=function(a,b){this.types=a;this.setters=b},Toc={a:new tK([3,0],[function(a,b){a.setEsPortraitApprovedOnly(b)},function(a,b){a.setSelectFrameNumber(b)}]),al:new tK([3],[function(a,b){a.setAutoloop(b)}]),b:new tK([3,0],[function(a,b){a.setBypassTakedown(b)},function(a,b){a.setBorderSize(b)}]),ba:new tK([0],[function(a,b){a.setBadge(b)}]),bc:new tK([0],[function(a,b){a.setBackgroundColor(b)}]),br:new tK([0],[function(a,
b){a.setBorderRadius(b)}]),c:new tK([3,0],[function(a,b){a.setCrop(b)},function(a,b){a.setBorderColor(b)}]),cc:new tK([3],[function(a,b){a.setCircleCrop(b)}]),ci:new tK([3],[function(a,b){a.setImageCrop(b)}]),ckm:new tK([3],[function(a,b){a.setDummyCacheKeyModifier(b)}]),cp:new tK([0],[function(a,b){a.setColorProfile(b)}]),cr:new tK([3],[function(a,b){a.setForceCookieRedirect(b)}]),cv:new tK([0],[function(a,b){a.setFaceCropVersion(b)}]),d:new tK([3],[function(a,b){a.setDownload(b)}]),dc:new tK([5],
[function(a,b){a.setDeepCrop(b)}]),df:new tK([3],[function(a,b){a.setDetectFaces(b)}]),dv:new tK([3],[function(a,b){a.setDownloadVideo(b)}]),e:new tK([0],[function(a,b){a.setExpirationTime(b)}]),em:new tK([0],[function(a,b){a.setExpirationTimeInMinutes(b)}]),f:new tK([4],[function(a,b){a.setImageFilter(b)}]),fg:new tK([3],[function(a,b){a.setForceTileGeneration(b)}]),fh:new tK([3],[function(a,b){a.setHorizontalFlip(b)}]),fm:new tK([3],[function(a,b){a.setForceMonogram(b)}]),fo:new tK([2],[function(a,
b){a.setFovDegrees(b)}]),ft:new tK([3],[function(a,b){a.setForceTransformation(b)}]),fv:new tK([3],[function(a,b){a.setVerticalFlip(b)}]),g:new tK([3],[function(a,b){a.setTileGeneration(b)}]),gd:new tK([3],[function(a,b){a.setPreserveGoogleData(b)}]),gm:new tK([3],[function(a,b){a.setGainMap(b)}]),h:new tK([3,0],[function(a,b){a.setHtml(b)},function(a,b){a.setHeight(b)}]),i:new tK([3],[function(a,b){a.setIncludeMetadata(b)}]),ic:new tK([0],[function(a,b){a.setInternalClient(b)}]),id:new tK([3],[function(a,
b){a.setImageDigest(b)}]),il:new tK([3],[function(a,b){a.setIgnoreLowResProfilePhoto(b)}]),ip:new tK([3],[function(a,b){a.setIncludePublicMetadata(b)}]),iv:new tK([0],[function(a,b){a.setImageVersion(b)}]),j:new tK([1],[function(a,b){a.setFrameId(b)}]),k:new tK([3,0],[function(a,b){a.setKillAnimation(b)},function(a,b){a.setFocusBlur(b)}]),l:new tK([0],[function(a,b){a.setQualityLevel(b)}]),lf:new tK([3],[function(a,b){a.setLooseFaceCrop(b)}]),lo:new tK([3],[function(a,b){a.setLossy(b)}]),m:new tK([0],
[function(a,b){a.setVideoFormat(b)}]),md:new tK([3],[function(a,b){a.setMonogramDogfood(b)}]),mm:new tK([4],[function(a,b){a.setVideoMultiFormat(b)}]),mo:new tK([3],[function(a,b){a.setMonogram(b)}]),mv:new tK([3],[function(a,b){a.setMatchVersion(b)}]),n:new tK([3],[function(a,b){a.setCenterCrop(b)}]),nc:new tK([3],[function(a,b){a.setNoCorrectExifOrientation(b)}]),nd:new tK([3],[function(a,b){a.setNoDefaultImage(b)}]),ng:new tK([3],[function(a,b){a.setStripGeoinfo(b)}]),ngm:new tK([3],[function(a,
b){a.setNoGainMap(b)}]),no:new tK([3],[function(a,b){a.setNoOverlay(b)}]),ns:new tK([3],[function(a,b){a.setNoSilhouette(b)}]),nt0:new tK([4],[function(a,b){a.setVersionedToken(b)}]),nu:new tK([3],[function(a,b){a.setNoUpscale(b)}]),nw:new tK([3],[function(a,b){a.setNoWebp(b)}]),o:new tK([1,3],[function(a,b){a.setObjectId(b)},function(a,b){a.setOverlay(b)}]),p:new tK([3,0],[function(a,b){a.setSmartCrop(b)},function(a,b){a.setFocalPlane(b)}]),pa:new tK([3],[function(a,b){a.setPreserveAspectRatio(b)}]),
pc:new tK([0],[function(a,b){a.setPadColor(b)}]),pd:new tK([3],[function(a,b){a.setPad(b)}]),pf:new tK([3],[function(a,b){a.setSmartCropUseFace(b)}]),pg:new tK([3],[function(a,b){a.setTilePyramidAsProto(b)}]),pi:new tK([2],[function(a,b){a.setPitchDegrees(b)}]),pp:new tK([3],[function(a,b){a.setSmartCropNoClip(b)}]),q:new tK([4],[function(a,b){a.setQueryString(b)}]),r:new tK([3,0],[function(a,b){a.setSkipRefererCheck(b)},function(a,b){a.setRotate(b)}]),ra:new tK([3],[function(a,b){a.setRequestAvif(b)}]),
rf:new tK([3],[function(a,b){a.setRequestVideoFast(b)}]),rg:new tK([3],[function(a,b){a.setRequestGif(b)}]),rh:new tK([3],[function(a,b){a.setRequestH264(b)}]),rj:new tK([3],[function(a,b){a.setRequestJpeg(b)}]),ro:new tK([2],[function(a,b){a.setRollDegrees(b)}]),rp:new tK([3],[function(a,b){a.setRequestPng(b)}]),rw:new tK([3],[function(a,b){a.setRequestWebp(b)}]),rwa:new tK([3],[function(a,b){a.setRequestAnimatedWebp(b)}]),rwu:new tK([3],[function(a,b){a.setRequestWebpUnlessMaybeTransparent(b)}]),
s:new tK([3,0],[function(a,b){a.setStretch(b)},function(a,b){a.setSize(b)}]),sb:new tK([0],[function(a,b){a.setStoryboardMosaic(b)}]),sc:new tK([0],[function(a,b){a.setSubstitutionColor(b)}]),sg:new tK([3],[function(a,b){a.setStripGoogleData(b)}]),sl:new tK([0],[function(a,b){a.setStoryboardLevel(b)}]),sm:new tK([3],[function(a,b){a.setStripMetadata(b)}]),t:new tK([4],[function(a,b){a.setToken(b)}]),u:new tK([3],[function(a,b){a.setUnfiltered(b)}]),ut:new tK([3],[function(a,b){a.setUnfilteredWithTransforms(b)}]),
v:new tK([0],[function(a,b){a.setQualityBucket(b)}]),vb:new tK([0],[function(a,b){a.setVideoBegin(b)}]),vf:new tK([4],[function(a,b){a.setVideoFormatFilters(b)}]),vl:new tK([0],[function(a,b){a.setVideoLength(b)}]),vm:new tK([3],[function(a,b){a.setVideoManifest(b)}]),w:new tK([0],[function(a,b){a.setWidth(b)}]),x:new tK([0],[function(a,b){a.setTileX(b)}]),y:new tK([0],[function(a,b){a.setTileY(b)}]),ya:new tK([2],[function(a,b){a.setYawDegrees(b)}]),z:new tK([0],[function(a,b){a.setTileZoom(b)}])};
Uoc.prototype.parse=function(a){var b=new Noc,c=new Noc;if(a=="")a=!0;else{a=a.split("-");for(var d=!0,e=0;e<a.length;e++){var f=a[e];if(f.length==0)d=!1;else{var h=f,l=!1;var q=h;var v=h.charAt(0);v!=v.toLowerCase()&&(l=!0,q=h.charAt(0).toLowerCase()+h.substring(1));var y=Soc;for(v=1;v<=q.length;++v){var E=y,H=q.substring(0,v);if(H.length==0?E.isEmpty():!Poc(E,H))break}q=v==1?null:(q=y.get(q.substring(0,v-1)))?{option:h.substring(0,v-1),value:h.substring(v-1),signed:l,attributes:q}:null;if(q){h=
[];l=[];v=!1;for(y=0;y<q.attributes.types.length;y++){E=q.attributes.types[y];var O=q.value;H=e;if(q.signed&&E==1)for(var N=O.length;N<12&&H<a.length-1;)O+="-"+a[H+1],N=O.length,++H;else if(E==2)for(;H<a.length-1&&a[H+1].match(/^[\d\.]/);)O+="-"+a[H+1],++H;N=q.attributes.setters[y];O=Voc(this,E)(q.option,O,b,c,N);if(O===null){v=!0;e=H;break}else h.push(E),l.push(O)}if(!v)for(q=0;q<l.length;q++)y=h[q],O=l[q],Woc(this,y)(f,O);d=d&&v}else d=!1}}a=d}return new Xoc(b,c,a)};
var Yoc=function(a,b,c,d,e,f){e(c,b);a=a.charAt(0);f=f(a==a.toUpperCase());e(d,f)};g=Uoc.prototype;g.parseAndSetIntOption_=function(a,b,c,d,e){if(b=="")return 0;b=Ei(b);if(isNaN(b))return 1;Yoc(a,b,c,d,e,Number);return null};g.logIntParseError_=function(){};g.parseAndSetFloatOption_=function(a,b,c,d,e){if(b=="")return 0;b=cm(b);if(isNaN(b))return 1;Yoc(a,b,c,d,e,Number);return null};g.logFloatParseError_=function(){};
g.parseAndSetBoolOption_=function(a,b,c,d,e){if(b!="")return 2;Yoc(a,!0,c,d,e,Boolean);return null};g.logBoolParseError_=function(){};g.parseAndSetStringOption_=function(a,b,c,d,e){if(b=="")return 0;Yoc(a,b,c,d,e,function(f){return f?"1":""});return null};g.logStringParseError_=function(){};g.parseAndSetUint64Base64Option_=function(a,b,c,d,e){if(b=="")return 0;Yoc(a,b,c,d,e,function(f){return f?1:0});return null};
var Voc=function(a,b){switch(b){case 0:return ov(a.parseAndSetIntOption_,a);case 2:return ov(a.parseAndSetFloatOption_,a);case 3:return ov(a.parseAndSetBoolOption_,a);case 4:return ov(a.parseAndSetStringOption_,a);case 1:return ov(a.parseAndSetUint64Base64Option_,a);default:return function(){}}},Woc=function(a,b){switch(b){case 0:return ov(a.logIntParseError_,a);case 2:return ov(a.logFloatParseError_,a);case 3:return ov(a.logBoolParseError_,a);case 4:case 1:return ov(a.logStringParseError_,a);default:return function(){}}},
Xoc=function(a,b,c){this.valueProto_=a;this.signatureFlagProto_=b;this.valid_=c};Xoc.prototype.isValid=function(){return this.valid_};var Zoc=function(a,b){a!=null&&this.append.apply(this,arguments)};g=Zoc.prototype;g.buffer_="";g.set=function(a){this.buffer_=""+a};g.append=function(a,b,c){this.buffer_+=String(a);if(b!=null)for(var d=1;d<arguments.length;d++)this.buffer_+=arguments[d];return this};g.clear=function(){this.buffer_=""};g.toString=function(){return this.buffer_};var apc=function(a){this.parser_=null;this.components_=[];this.parsedOptions_=null;$oc(this,a)};apc.prototype.getParsedOptions=function(){return this.parsedOptions_};var bpc=function(a){a.parser_==null&&(a.parser_=new Uoc);return a.parser_},$oc=function(a,b){a.parsedOptions_=b?typeof b==="string"?bpc(a).parse(b):b:bpc(a).parse("")},uK=function(a,b){return a==b?!1:!0};g=apc.prototype;
g.setEsPortraitApprovedOnly=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,21),tt(b.signatureFlagProto_,21))&&c.setEsPortraitApprovedOnly(a);return this};g.setSelectFrameNumber=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,56),Gv(b.signatureFlagProto_,56))&&c.setSelectFrameNumber(a)};g.setAutoloop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,74),tt(b.signatureFlagProto_,74))&&c.setAutoloop(a)};
g.setBypassTakedown=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,Fj(c,23,!1),Fj(b.signatureFlagProto_,23,!1))&&c.setBypassTakedown(a)};g.setBorderSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,38),Gv(b.signatureFlagProto_,38))&&c.setBorderSize(a)};g.setBadge=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,85),Gv(b.signatureFlagProto_,85))&&c.setBadge(a)};
g.setBackgroundColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,c.getBackgroundColor(),b.signatureFlagProto_.getBackgroundColor())&&c.setBackgroundColor(a)};g.setBorderRadius=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,86),Gv(b.signatureFlagProto_,86))&&c.setBorderRadius(a)};g.setCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,Fj(c,2,!1),Fj(b.signatureFlagProto_,2,!1))&&c.setCrop(a);return this};
g.setBorderColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,39),Gv(b.signatureFlagProto_,39))&&c.setBorderColor(a)};g.setCircleCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,51),tt(b.signatureFlagProto_,51))&&c.setCircleCrop(a);return this};g.setImageCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,32),tt(b.signatureFlagProto_,32))&&c.setImageCrop(a);return this};
g.setDummyCacheKeyModifier=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,104),tt(b.signatureFlagProto_,104))&&c.setDummyCacheKeyModifier(a)};g.setColorProfile=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,92),Gv(b.signatureFlagProto_,92))&&c.setColorProfile(a)};g.setForceCookieRedirect=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,108),tt(b.signatureFlagProto_,108))&&c.setForceCookieRedirect(a)};
g.setFaceCropVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,94),Gv(b.signatureFlagProto_,94))&&c.setFaceCropVersion(a)};g.setDownload=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,Fj(c,3,!1),Fj(b.signatureFlagProto_,3,!1))&&c.setDownload(a)};g.setDeepCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,uk(c,99),uk(b.signatureFlagProto_,99))&&c.setDeepCrop(a)};
g.setDetectFaces=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,80),tt(b.signatureFlagProto_,80))&&c.setDetectFaces(a)};g.setDownloadVideo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,90),tt(b.signatureFlagProto_,90))&&c.setDownloadVideo(a)};g.setExpirationTime=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,15),Gv(b.signatureFlagProto_,15))&&c.setExpirationTime(a)};
g.setExpirationTimeInMinutes=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,107),Gv(b.signatureFlagProto_,107))&&c.setExpirationTimeInMinutes(a)};g.setImageFilter=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,uk(c,16),uk(b.signatureFlagProto_,16))&&c.setImageFilter(a);return this};g.setForceTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,Fj(c,34,!1),Fj(b.signatureFlagProto_,34,!1))&&c.setForceTileGeneration(a)};
g.setHorizontalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,30),tt(b.signatureFlagProto_,30))&&c.setHorizontalFlip(a)};g.setForceMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,84),tt(b.signatureFlagProto_,84))&&c.setForceMonogram(a);return this};g.setFovDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,zv(c,79),zv(b.signatureFlagProto_,79))&&c.setFovDegrees(a)};
g.setForceTransformation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,50),tt(b.signatureFlagProto_,50))&&c.setForceTransformation(a)};g.setVerticalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,31),tt(b.signatureFlagProto_,31))&&c.setVerticalFlip(a)};g.setTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,Fj(c,14,!1),Fj(b.signatureFlagProto_,14,!1))&&c.setTileGeneration(a)};
g.setPreserveGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,83),tt(b.signatureFlagProto_,83))&&c.setPreserveGoogleData(a)};g.setGainMap=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,105),tt(b.signatureFlagProto_,105))&&c.setGainMap(a)};g.setHtml=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,Fj(c,4,!1),Fj(b.signatureFlagProto_,4,!1))&&c.setHtml(a)};
g.setHeight=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,c.getHeight(),b.signatureFlagProto_.getHeight())&&c.setHeight(a);return this};g.setIncludeMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,22),tt(b.signatureFlagProto_,22))&&c.setIncludeMetadata(a)};g.setInternalClient=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,71),Gv(b.signatureFlagProto_,71))&&c.setInternalClient(a)};
g.setImageDigest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,70),tt(b.signatureFlagProto_,70))&&c.setImageDigest(a)};g.setIgnoreLowResProfilePhoto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,96),tt(b.signatureFlagProto_,96))&&c.setIgnoreLowResProfilePhoto(a)};g.setIncludePublicMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,54),tt(b.signatureFlagProto_,54))&&c.setIncludePublicMetadata(a)};
g.setImageVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Ev(c,75),Ev(b.signatureFlagProto_,75))&&c.setImageVersion(a)};g.setFrameId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,Fv(c,29),Fv(b.signatureFlagProto_,29))&&c.setFrameId(a)};g.setKillAnimation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,17),tt(b.signatureFlagProto_,17))&&c.setKillAnimation(a);return this};
g.setFocusBlur=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,42),Gv(b.signatureFlagProto_,42))&&c.setFocusBlur(a)};g.setQualityLevel=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,44),Gv(b.signatureFlagProto_,44))&&c.setQualityLevel(a);return this};g.setLooseFaceCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,65),tt(b.signatureFlagProto_,65))&&c.setLooseFaceCrop(a);return this};
g.setLossy=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,97),tt(b.signatureFlagProto_,97))&&c.setLossy(a)};g.setVideoFormat=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,63),Gv(b.signatureFlagProto_,63))&&c.setVideoFormat(a)};g.setMonogramDogfood=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,91),tt(b.signatureFlagProto_,91))&&c.setMonogramDogfood(a)};
g.setVideoMultiFormat=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,uk(c,81),uk(b.signatureFlagProto_,81))&&c.setVideoMultiFormat(a)};g.setMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,73),tt(b.signatureFlagProto_,73))&&c.setMonogram(a)};g.setMatchVersion=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,66),tt(b.signatureFlagProto_,66))&&c.setMatchVersion(a)};
g.setCenterCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,Fj(c,20,!1),Fj(b.signatureFlagProto_,20,!1))&&c.setCenterCrop(a);return this};g.setNoCorrectExifOrientation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,55),tt(b.signatureFlagProto_,55))&&c.setNoCorrectExifOrientation(a)};g.setNoDefaultImage=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,53),tt(b.signatureFlagProto_,53))&&c.setNoDefaultImage(a)};
g.setStripGeoinfo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,95),tt(b.signatureFlagProto_,95))&&c.setStripGeoinfo(a)};g.setNoGainMap=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,106),tt(b.signatureFlagProto_,106))&&c.setNoGainMap(a)};g.setNoOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,Fj(c,37,!1),Fj(b.signatureFlagProto_,37,!1))&&c.setNoOverlay(a);return this};
g.setNoSilhouette=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,40),tt(b.signatureFlagProto_,40))&&c.setNoSilhouette(a)};g.setVersionedToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,uk(c,36),uk(b.signatureFlagProto_,36))&&c.setVersionedToken(a)};g.setNoUpscale=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,46),tt(b.signatureFlagProto_,46))&&c.setNoUpscale(a)};
g.setNoWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,Fj(c,48,!1),Fj(b.signatureFlagProto_,48,!1))&&c.setNoWebp(a)};g.setObjectId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,Fv(c,7),Fv(b.signatureFlagProto_,7))&&c.setObjectId(a)};g.setOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,c.getOverlay(),b.signatureFlagProto_.getOverlay())&&c.setOverlay(a);return this};
g.setSmartCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,Fj(c,19,!1),Fj(b.signatureFlagProto_,19,!1))&&c.setSmartCrop(a);return this};g.setFocalPlane=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,43),Gv(b.signatureFlagProto_,43))&&c.setFocalPlane(a)};g.setPreserveAspectRatio=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,61),tt(b.signatureFlagProto_,61))&&c.setPreserveAspectRatio(a)};
g.setPadColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,88),Gv(b.signatureFlagProto_,88))&&c.setPadColor(a)};g.setPad=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,60),tt(b.signatureFlagProto_,60))&&c.setPad(a);return this};g.setSmartCropUseFace=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,Fj(c,67,!1),Fj(b.signatureFlagProto_,67,!1))&&c.setSmartCropUseFace(a);return this};
g.setTilePyramidAsProto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,Fj(c,72,!1),Fj(b.signatureFlagProto_,72,!1))&&c.setTilePyramidAsProto(a)};g.setPitchDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,zv(c,76),zv(b.signatureFlagProto_,76))&&c.setPitchDegrees(a)};g.setSmartCropNoClip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,Fj(c,52,!1),Fj(b.signatureFlagProto_,52,!1))&&c.setSmartCropNoClip(a);return this};
g.setQueryString=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,uk(c,28),uk(b.signatureFlagProto_,28))&&c.setQueryString(a)};g.setSkipRefererCheck=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,Fj(c,6,!1),Fj(b.signatureFlagProto_,6,!1))&&c.setSkipRefererCheck(a)};g.setRotate=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,26),Gv(b.signatureFlagProto_,26))&&c.setRotate(a);return this};
g.setRequestAvif=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,Fj(c,103,!1),Fj(b.signatureFlagProto_,103,!1))&&c.setRequestAvif(a)};g.setRequestVideoFast=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,100),tt(b.signatureFlagProto_,100))&&c.setRequestVideoFast(a)};g.setRequestGif=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,59),tt(b.signatureFlagProto_,59))&&c.setRequestGif(a)};
g.setRequestH264=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,Fj(c,49,!1),Fj(b.signatureFlagProto_,49,!1))&&c.setRequestH264(a);return this};g.setRequestJpeg=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,57),tt(b.signatureFlagProto_,57))&&c.setRequestJpeg(a);return this};g.setRollDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,zv(c,78),zv(b.signatureFlagProto_,78))&&c.setRollDegrees(a)};
g.setRequestPng=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,58),tt(b.signatureFlagProto_,58))&&c.setRequestPng(a);return this};g.setRequestWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,Fj(c,35,!1),Fj(b.signatureFlagProto_,35,!1))&&c.setRequestWebp(a);return this};g.setRequestAnimatedWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,Fj(c,64,!1),Fj(b.signatureFlagProto_,64,!1))&&c.setRequestAnimatedWebp(a)};
g.setRequestWebpUnlessMaybeTransparent=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,Fj(c,41,!1),Fj(b.signatureFlagProto_,41,!1))&&c.setRequestWebpUnlessMaybeTransparent(a)};g.setStretch=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,33),tt(b.signatureFlagProto_,33))&&c.setStretch(a);return this};g.setSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,c.getSize(),b.signatureFlagProto_.getSize())&&c.setSize(a);return this};
g.setStoryboardMosaic=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,110),Gv(b.signatureFlagProto_,110))&&c.setStoryboardMosaic(a)};g.setSubstitutionColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,89),Gv(b.signatureFlagProto_,89))&&c.setSubstitutionColor(a)};g.setStripGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,82),tt(b.signatureFlagProto_,82))&&c.setStripGoogleData(a)};
g.setStoryboardLevel=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,109),Gv(b.signatureFlagProto_,109))&&c.setStoryboardLevel(a)};g.setStripMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,93),tt(b.signatureFlagProto_,93))&&c.setStripMetadata(a)};g.setToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,c.getToken(),b.signatureFlagProto_.getToken())&&c.setToken(a);return this};
g.setUnfiltered=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,18),tt(b.signatureFlagProto_,18))&&c.setUnfiltered(a)};g.setUnfilteredWithTransforms=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,45),tt(b.signatureFlagProto_,45))&&c.setUnfilteredWithTransforms(a)};g.setQualityBucket=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,62),Gv(b.signatureFlagProto_,62))&&c.setQualityBucket(a);return this};
g.setVideoBegin=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Ev(c,68),Ev(b.signatureFlagProto_,68))&&c.setVideoBegin(a)};g.setVideoFormatFilters=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,uk(c,102),uk(b.signatureFlagProto_,102))&&c.setVideoFormatFilters(a)};g.setVideoLength=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Ev(c,69),Ev(b.signatureFlagProto_,69))&&c.setVideoLength(a)};
g.setVideoManifest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;uK(a,tt(c,98),tt(b.signatureFlagProto_,98))&&c.setVideoManifest(a)};g.setWidth=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,c.getWidth(),b.signatureFlagProto_.getWidth())&&c.setWidth(a);return this};g.setTileX=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,9),Gv(b.signatureFlagProto_,9))&&c.setTileX(a)};
g.setTileY=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,10),Gv(b.signatureFlagProto_,10))&&c.setTileY(a)};g.setYawDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,zv(c,77),zv(b.signatureFlagProto_,77))&&c.setYawDegrees(a)};g.setTileZoom=function(a){var b=this.parsedOptions_,c=b.valueProto_;uK(a,Gv(c,11),Gv(b.signatureFlagProto_,11))&&c.setTileZoom(a)};g.setOptions=function(a){$oc(this,a)};
g.build=function(){this.components_.length=0;var a=this.parsedOptions_,b=a.valueProto_;a=a.signatureFlagProto_;vK(this,"s",b.getSize(),a.getSize());vK(this,"w",b.getWidth(),a.getWidth());wK(this,"c",Fj(b,2,!1),Fj(a,2,!1));wK(this,"d",Fj(b,3,!1),Fj(a,3,!1));vK(this,"h",b.getHeight(),a.getHeight());wK(this,"s",tt(b,33),tt(a,33));wK(this,"h",Fj(b,4,!1),Fj(a,4,!1));wK(this,"p",Fj(b,19,!1),Fj(a,19,!1));wK(this,"pp",Fj(b,52,!1),Fj(a,52,!1));wK(this,"pf",Fj(b,67,!1),Fj(a,67,!1));wK(this,"n",Fj(b,20,!1),
Fj(a,20,!1));vK(this,"r",Gv(b,26),Gv(a,26));wK(this,"r",Fj(b,6,!1),Fj(a,6,!1));wK(this,"o",b.getOverlay(),a.getOverlay());var c=Fv(b,7);xK(this,"o",c,Fv(a,7));c=Fv(b,29);xK(this,"j",c,Fv(a,29));vK(this,"x",Gv(b,9),Gv(a,9));vK(this,"y",Gv(b,10),Gv(a,10));vK(this,"z",Gv(b,11),Gv(a,11));wK(this,"g",Fj(b,14,!1),Fj(a,14,!1));vK(this,"e",Gv(b,15),Gv(a,15));xK(this,"f",uk(b,16),uk(a,16));wK(this,"k",tt(b,17),tt(a,17));wK(this,"u",tt(b,18),!0);wK(this,"ut",tt(b,45),!0);wK(this,"i",tt(b,22),!0);wK(this,"a",
tt(b,21),tt(a,21));wK(this,"b",Fj(b,23,!1),Fj(a,23,!1));vK(this,"b",Gv(b,38),Gv(a,38));vK(this,"c",Gv(b,39),Gv(a,39),16,8);xK(this,"q",uk(b,28),uk(a,28));wK(this,"fh",tt(b,30),tt(a,30));wK(this,"fv",tt(b,31),tt(a,31));wK(this,"fg",Fj(b,34,!1),Fj(a,34,!1));wK(this,"ci",tt(b,32),tt(a,32));xK(this,"t",b.getToken(),a.getToken());xK(this,"nt0",uk(b,36),uk(a,36));wK(this,"rw",Fj(b,35,!1),Fj(a,35,!1));wK(this,"rwu",Fj(b,41,!1),Fj(a,41,!1));wK(this,"rwa",Fj(b,64,!1),Fj(a,64,!1));wK(this,"nw",Fj(b,48,!1),
Fj(a,48,!1));wK(this,"rh",Fj(b,49,!1),Fj(a,49,!1));wK(this,"no",Fj(b,37,!1),Fj(a,37,!1));wK(this,"ns",tt(b,40),tt(a,40));vK(this,"k",Gv(b,42),Gv(a,42));vK(this,"p",Gv(b,43),Gv(a,43));vK(this,"l",Gv(b,44),Gv(a,44));vK(this,"v",Gv(b,62),Gv(a,62));wK(this,"nu",tt(b,46),tt(a,46));wK(this,"ft",tt(b,50),tt(a,50));wK(this,"cc",tt(b,51),tt(a,51));wK(this,"nd",tt(b,53),tt(a,53));wK(this,"ip",tt(b,54),tt(a,54));wK(this,"nc",tt(b,55),tt(a,55));vK(this,"a",Gv(b,56),Gv(a,56));wK(this,"rj",tt(b,57),tt(a,57));wK(this,
"rp",tt(b,58),tt(a,58));wK(this,"rg",tt(b,59),tt(a,59));wK(this,"pd",tt(b,60),tt(a,60));wK(this,"pa",tt(b,61),tt(a,61));vK(this,"m",Gv(b,63),Gv(a,63));vK(this,"vb",Ev(b,68),Ev(a,68));vK(this,"vl",Ev(b,69),Ev(a,69));wK(this,"lf",tt(b,65),tt(a,65));wK(this,"mv",tt(b,66),tt(a,66));wK(this,"id",tt(b,70),tt(a,70));vK(this,"ic",Gv(b,71),!0);wK(this,"pg",Fj(b,72,!1),Fj(a,72,!1));wK(this,"mo",tt(b,73),tt(a,73));wK(this,"al",tt(b,74),tt(a,74));vK(this,"iv",Ev(b,75),Ev(a,75));vK(this,"pi",zv(b,76),zv(a,76));
vK(this,"ya",zv(b,77),zv(a,77));vK(this,"ro",zv(b,78),zv(a,78));vK(this,"fo",zv(b,79),zv(a,79));wK(this,"df",tt(b,80),tt(a,80));xK(this,"mm",uk(b,81),uk(a,81));wK(this,"sg",tt(b,82),tt(a,82));wK(this,"gd",tt(b,83),tt(a,83));wK(this,"fm",tt(b,84),tt(a,84));vK(this,"ba",Gv(b,85),Gv(a,85));vK(this,"br",Gv(b,86),Gv(a,86));vK(this,"bc",b.getBackgroundColor(),a.getBackgroundColor(),16,8);vK(this,"pc",Gv(b,88),Gv(a,88),16,8);vK(this,"sc",Gv(b,89),Gv(a,89),16,8);wK(this,"dv",tt(b,90),tt(a,90));wK(this,"md",
tt(b,91),tt(a,91));vK(this,"cp",Gv(b,92),Gv(a,92));wK(this,"sm",tt(b,93),tt(a,93));vK(this,"cv",Gv(b,94),Gv(a,94));wK(this,"ng",tt(b,95),tt(a,95));wK(this,"il",tt(b,96),tt(a,96));wK(this,"lo",tt(b,97),tt(a,97));wK(this,"vm",tt(b,98),tt(a,98));xK(this,"dc",uk(b,99),uk(a,99));wK(this,"rf",tt(b,100),tt(a,100));xK(this,"vf",uk(b,102),uk(a,102));wK(this,"ra",Fj(b,103,!1),Fj(a,103,!1));wK(this,"ckm",tt(b,104),tt(a,104));wK(this,"gm",tt(b,105),tt(a,105));wK(this,"ngm",tt(b,106),tt(a,106));vK(this,"em",Gv(b,
107),Gv(a,107));wK(this,"cr",tt(b,108),tt(a,108));vK(this,"sl",Gv(b,109),Gv(a,109));vK(this,"sb",Gv(b,110),Gv(a,110));return this.components_.join("-")};
var vK=function(a,b,c,d,e,f){if(c!=null){var h=e==void 0||e!=10&&e!=16?10:e;c=c.toString(h);e=new Zoc;e.append(h==16?"0x":"");h=e.append;f==void 0?f="":(f-=c.length,f=f<=0?"":"0".repeat(f));h.call(e,f);e.append(c);cpc(a,b,e.toString(),!!d)}},wK=function(a,b,c,d){c&&cpc(a,b,"",!!d)},xK=function(a,b,c,d){c&&cpc(a,b,c,!!d)},cpc=function(a,b,c,d){d&&(b=b.charAt(0).toUpperCase()+b.substring(1));a.components_.push(b+c)};var yK=function(a){apc.call(this,a)};qv(yK,apc);g=yK.prototype;g.setCrop=function(a){a&&zK(this);return yK.superClass_.setCrop.call(this,a)};g.setHeight=function(a){a=a==null||a<0?void 0:a;a!=null&&this.setSize();return yK.superClass_.setHeight.call(this,a)};g.setStretch=function(a){a&&zK(this);return yK.superClass_.setStretch.call(this,a)};g.setQualityLevel=function(a){return yK.superClass_.setQualityLevel.call(this,a)};
g.setImageFilter=function(a){a&&(a=a.replace(";",":"));return yK.superClass_.setImageFilter.call(this,a)};g.setImageCrop=function(a){a&&zK(this);return yK.superClass_.setImageCrop.call(this,a)};g.setCircleCrop=function(a){a&&zK(this);return yK.superClass_.setCircleCrop.call(this,a)};g.setSize=function(a){In(a)&&(a=Math.max(a.width,a.height));a=a==null||a<0?void 0:a;a!=null&&(this.setWidth(),this.setHeight());return yK.superClass_.setSize.call(this,a)};
g.setSmartCrop=function(a){a&&zK(this);return yK.superClass_.setSmartCrop.call(this,a)};g.setSmartCropNoClip=function(a){a&&zK(this);return yK.superClass_.setSmartCropNoClip.call(this,a)};g.setSmartCropUseFace=function(a){a&&zK(this);return yK.superClass_.setSmartCropUseFace.call(this,a)};g.setCenterCrop=function(a){a&&zK(this);return yK.superClass_.setCenterCrop.call(this,a)};g.setPad=function(a){a&&zK(this);return yK.superClass_.setPad.call(this,a)};
g.setWidth=function(a){a=a==null||a<0?void 0:a;a!=null&&this.setSize();return yK.superClass_.setWidth.call(this,a)};var zK=function(a){a.setCenterCrop();a.setCircleCrop();a.setCrop();a.setImageCrop();a.setPad();a.setSmartCrop();a.setSmartCropNoClip();a.setSmartCropUseFace()};
yK.prototype.build=function(){var a=this.getParsedOptions().valueProto_;tt(a,18)||tt(a,45)?a.getSize()||this.setSize(0):(a=this.getParsedOptions().valueProto_,a.getSize()||a.getWidth()||a.getHeight()||(this.setSize(),this.setHeight(),this.setWidth(),zK(this)));return yK.superClass_.build.call(this)};var dpc=/^[^\/]*\/\//,AK=function(a,b){b=b===void 0?!1:b;this.original_=a;this.originalPrefix_="";(a=this.original_.match(dpc))&&a[0]?(this.originalPrefix_=a[0],a=this.originalPrefix_.match(/\w+/)?this.original_:"http://"+this.original_.substring(this.originalPrefix_.length)):a="http://"+this.original_;this.uri_=kI(a,!0);this.isFreeformUrl_=b;this.valid_=!0;this.obfuscated_=!1},epc=function(a,b){a.pathPrefix_=a.pathPrefix_?a.pathPrefix_+("/"+b):b},BK=function(a){if(a.components_==void 0){var b=a.uri_.getPath().substring(1);
a.pathPrefix_=null;if(a.isFreeformUrl_){a.components_=[];if((b.match(/=/g)||[]).length>1)return a.valid_=!1,a.components_;var c=b.indexOf("=");c!=-1?(a.components_.push(b.substr(0,c)),a.components_.push(b.substr(c+1))):a.components_.push(b);return a.components_}a.components_=b.split("/");b=a.components_.length;b>2&&a.components_[0]=="u"&&(epc(a,a.components_[0]+"/"+a.components_[1]),a.components_.shift(),a.components_.shift(),b-=2);if(b==0||b==4||b>7)return a.valid_=!1,a.components_;if(b==2)epc(a,
a.components_[0]);else if(a.components_[0]=="image")epc(a,a.components_[0]);else if(b==7||b==3)return a.valid_=!1,a.components_;if(b<=3){a.obfuscated_=!0;b==3&&(epc(a,a.components_[1]),a.components_.shift(),--b);--b;c=a.components_[b];var d=c.indexOf("=");d!=-1&&(a.components_[b]=c.substr(0,d),a.components_.push(c.substr(d+1)))}}return a.components_};AK.prototype.isValid=function(){BK(this);return this.valid_};var fpc=function(a){BK(a);return a.obfuscated_},gpc=function(a){BK(a);return a.isFreeformUrl_};
AK.prototype.getDomain=function(){var a=this.uri_.getPort();return this.uri_.getDomain()+(a?":"+a:"")};AK.prototype.getQuery=function(){return this.uri_.queryData_.toString()};var CK=function(a){BK(a);a.pathPrefix_==void 0&&(a.pathPrefix_=null);return a.pathPrefix_};AK.prototype.hasOptions=function(){switch(BK(this).length){case 7:return!0;case 6:return CK(this)==null;case 5:return!1;case 3:return!0;case 2:return CK(this)==null;case 1:return!1;default:return!1}};
var DK=function(a,b){if(gpc(a))a:{switch(b){case 7:b=0;break;case 4:if(!a.hasOptions()){a=null;break a}b=1;break;default:a=null;break a}a=BK(a)[b]}else if(fpc(a))a:{var c=CK(a)!=null?1:0;switch(b){case 6:b=c;break;case 4:if(!a.hasOptions()){a=null;break a}b=1+c;break;default:a=null;break a}a=BK(a)[b]}else a:{c=CK(a)!=null?1:0;switch(b){case 0:b=c;break;case 1:b=1+c;break;case 2:b=2+c;break;case 3:b=3+c;break;case 4:if(!a.hasOptions()){a=null;break a}b=4+c;break;case 5:b=a.hasOptions()?1:0;b=4+c+b;
break;default:a=null;break a}a=BK(a)[b]}return a};AK.prototype.getObfuscatedGaiaId=function(){this.obfuscatedGaiaId_==void 0&&(this.obfuscatedGaiaId_=DK(this,0));return this.obfuscatedGaiaId_};AK.prototype.getPhotoId=function(){this.photoId_==void 0&&(this.photoId_=DK(this,1));return this.photoId_};AK.prototype.getOptions=function(){this.options_==void 0&&(this.options_=DK(this,4));return this.options_};AK.prototype.getFilename=function(){this.filename_==void 0&&(this.filename_=DK(this,5));return this.filename_};var hpc=function(){};hpc.prototype.parse=function(a,b){return new ipc(a,b===void 0?!1:b)};var ipc=function(a,b){AK.call(this,a,b===void 0?!1:b)};Y(ipc,AK);ipc.prototype.getParsedOptions=function(){if(this.parsedOptions_==void 0){var a=this.getOptions();a||(a="");this.parsedOptions_=(new Uoc).parse(a)}return this.parsedOptions_};var EK=function(a,b){b=b===void 0?!1:b;this.parsedImageUrl_=null;a instanceof ipc||(jpc==void 0&&(jpc=new hpc),a=jpc.parse(a.toString(),b));this.parsedImageUrl_=a;a=this.parsedImageUrl_.getParsedOptions();apc.call(this,a);this.protocolPrefix_=this.parsedImageUrl_.originalPrefix_;this.domain_=this.parsedImageUrl_.getDomain();this.query_=this.parsedImageUrl_.getQuery()},jpc;qv(EK,yK);EK.prototype.isValid=function(){return this.parsedImageUrl_.isValid()};
EK.prototype.build=function(){if(!this.parsedImageUrl_.isValid())return this.parsedImageUrl_.original_;var a=EK.superClass_.build.call(this),b=[];CK(this.parsedImageUrl_)!=null&&b.push(CK(this.parsedImageUrl_));var c=gpc(this.parsedImageUrl_);if(fpc(this.parsedImageUrl_)){var d=this.parsedImageUrl_;d.obfuscatedData_==void 0&&(d.obfuscatedData_=DK(d,6));b.push(d.obfuscatedData_+(a?"="+a:""))}else if(c){d=b.push;var e=this.parsedImageUrl_;e.freeformUrlPath_===void 0&&(e.freeformUrlPath_=DK(e,7));d.call(b,
e.freeformUrlPath_);a&&b.push(a)}else b.push(this.parsedImageUrl_.getObfuscatedGaiaId()),b.push(this.parsedImageUrl_.getPhotoId()),d=b.push,e=this.parsedImageUrl_,e.imageVersion_==void 0&&(e.imageVersion_=DK(e,2)),d.call(b,e.imageVersion_),d=b.push,e=this.parsedImageUrl_,e.signature_==void 0&&(e.signature_=DK(e,3)),d.call(b,e.signature_),a&&b.push(a),b.push(this.parsedImageUrl_.getFilename());a=kI(this.protocolPrefix_+this.domain_+"/"+(c?b.join("="):b.join("/"))+(this.query_?"?"+this.query_:"")).toString();
a.startsWith("%3a//")&&(a=a.replace("%3a//","://"));return a};var kpc=/\/\/lh[3-6]\./,lpc=function(a,b,c,d){if(!a||!Moc(String(a)))return String(a||"");a=String(a);d===void 0&&(d=1);b=Math.ceil((b||0)*d);c=Math.ceil((c||0)*d);d=b==c;a=a.replace(kpc,"//lh3.");return(new EK(a)).setSize(d?c:void 0).setWidth(d?void 0:b).setHeight(d?void 0:c).setCrop(!1).setKillAnimation(!1).setEsPortraitApprovedOnly(!1).setSmartCrop(!0).setCenterCrop().setOverlay(!1).setNoOverlay(!1).setRequestWebp().setQualityBucket().setImageFilter().setLooseFaceCrop().setForceMonogram().setRequestPng().setRequestJpeg().setRequestH264().setPad().build()};var mpc=[[["onedev-hovercard-action"]],[["","onedev-additional-content",""]]],FK=function(a,b){var c=this;this.peopleService=a;this.waldoService=b;this.enableWaldo=!1;this.providedEmail$=new If(1);this.person$=this.providedEmail$.pipe(Nf(function(d){return Hoc(c.peopleService,d)}),B(function(d){if(d){var e=Object,f=e.assign;if(d.imageUrl){var h=d.imageUrl;if(Moc(h)){var l=new EK(h);l.setSize(48);h=l.build()||h}}else h=d.imageUrl;d=f.call(e,{},d,{imageUrl:h})}return d}),Kf(1));this.outOfOfficeDescription$=
new If;this.init=new If(1);this.destroyed$=new If(1)};FK.prototype.ngOnInit=function(){var a=this;this.person$.pipe(Cf(),Of(this.destroyed$)).subscribe(function(){a.init.next()});this.enableWaldo&&npc(this)};var npc=function(a){a.waldoService&&a.person$.pipe(Nf(function(b){return b?cic(a.waldoService,b.email):Fe("")}),Of(a.destroyed$)).subscribe(function(b){a.outOfOfficeDescription$.next(b)})};
ea.Object.defineProperties(FK.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.emailInternal},set:function(a){this.emailInternal=a;this.providedEmail$.next(a)}}});FK.\u0275fac=function(a){return new (a||FK)(af(pK),af(sI,8))};
FK.\u0275cmp=t({type:FK,selectors:[["onedev-person-hovercard"]],inputs:{email:"email",enableWaldo:"enableWaldo"},outputs:{init:"init"},standalone:!0,features:[$g],ngContentSelectors:["onedev-hovercard-action","[onedev-additional-content]"],decls:2,vars:3,consts:[[3,"person","outOfOfficeDescription",4,"ngIf"],[3,"person","outOfOfficeDescription"]],template:function(a,b){a&1&&(Dg(mpc),D(0,MHa,4,4,"onedev-person-hovercard-body",0),S(1,"async"));a&2&&F("ngIf",U(1,1,b.person$))},dependencies:[Qw,Gw,Iw,
rK,lK,UI],encapsulation:2,changeDetection:0});var opc=[[["onedev-hovercard-action"],["",8,"actions"]]],GK=function(){};GK.prototype.ngOnInit=function(){};GK.\u0275fac=function(a){return new (a||GK)};
GK.\u0275cmp=t({type:GK,selectors:[["b-person-card"]],inputs:{email:"email"},ngContentSelectors:["onedev-hovercard-action, .actions"],decls:1,vars:0,consts:[["cardBody",""],[3,"email","enableWaldo","onedevIsHovercardReady",4,"onedevHovercardLazyBody"],[3,"email","enableWaldo","onedevIsHovercardReady"]],template:function(a){a&1&&(Dg(opc),D(0,NHa,3,3,"onedev-person-hovercard",1))},dependencies:[FK,cK,dK],styles:["onedev-hovercard-action[_ngcontent-%COMP%]   .label-enabled[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}onedev-hovercard-action[_ngcontent-%COMP%]   .label-disabled[_ngcontent-%COMP%]{color:rgba(0,0,0,.2)}[_nghost-%COMP%]     .onedev-hovercard-content .onedev-hovercard-body a:focus{outline-width:1px}"],
changeDetection:0});var HK=function(){this.isNonObfuscatedEmail=Pk};HK.\u0275fac=function(a){return new (a||HK)};
HK.\u0275cmp=t({type:HK,selectors:[["b-person-hovercard"]],inputs:{email:"email"},ngContentSelectors:["*"],decls:4,vars:1,consts:[["content",""],["card",""],["role","button","tabindex","0",1,"keep-focus-ring",3,"onedevHovercardTrigger","onedevHovercardActive"],[4,"ngTemplateOutlet"],[3,"email"]],template:function(a,b){a&1&&(Dg(),D(0,PHa,5,4)(1,RHa,1,1,"ng-container")(2,SHa,1,0,"ng-template",null,0,fh));a&2&&G(b.email&&b.isNonObfuscatedEmail(b.email)?0:1)},dependencies:[Hw,bK,hK,GK],encapsulation:2,
changeDetection:0});var ppc=function(){};var $Ha=RegExp("{{\\s*(.+?)\\s*}}","g"),aIa=/-+([a-z0-9])/g;var qpc=new Set("width height minWidth minHeight maxWidth maxHeight left top bottom right fontSize outlineWidth outlineOffset paddingTop paddingLeft paddingBottom paddingRight marginTop marginLeft marginBottom marginRight borderRadius borderWidth borderTopWidth borderLeftWidth borderRightWidth borderBottomWidth textIndent perspective".split(" ")),rpc=function(){};Y(rpc,ppc);
var eIa=function(a,b,c){var d="",e=b.toString().trim();qpc.has(a)&&b!==0&&b!=="0"&&(typeof b==="number"?d="px":(a=b.match(/^[+-]?[\d\.]+([a-z]*)$/))&&a[1].length==0&&c.push(new $c(3005,!1)));return e+d};var kIa=typeof document==="undefined"?null:document.documentElement;var spc=function(){};var qIa=new Set(["true","1"]),rIa=new Set(["false","0"]);var sIa=RegExp("s*:selfs*,?","g"),tpc=function(a){this._driver=a};g=tpc.prototype;g.build=function(a,b){b=new upc(b);this._resetContextStyleTimingState(b);return Mp(this,Kp(a),b)};g._resetContextStyleTimingState=function(a){a.currentQuerySelector="";a.collectedStyles=new Map;a.collectedStyles.set("",new Map);a.currentTime=0};
g.visitTrigger=function(a,b){var c=this,d=b.queryCount=0,e=b.depCount=0,f=[],h=[];a.name.charAt(0)=="@"&&b.errors.push(new $c(3006,!1));a.definitions.forEach(function(l){c._resetContextStyleTimingState(b);if(l.type==0){var q=l.name;q.toString().split(/\s*,\s*/).forEach(function(v){l.name=v;f.push(c.visitState(l,b))});l.name=q}else l.type==1?(q=c.visitTransition(l,b),d+=q.queryCount,e+=q.depCount,h.push(q)):b.errors.push(new $c(3007,!1))});return{type:7,name:a.name,states:f,transitions:h,queryCount:d,
depCount:e,options:null}};g.visitState=function(a,b){var c=this.visitStyle(a.styles,b),d=a.options&&a.options.params||null;if(c.containsDynamicStyles){var e=new Set,f=d||{};c.styles.forEach(function(h){h instanceof Map&&h.forEach(function(l){YHa(l).forEach(function(q){f.hasOwnProperty(q)||e.add(q)})})});e.size&&b.errors.push(THa([].concat(w(e.values()))))}return{type:0,name:a.name,style:c,options:d?{params:d}:null}};
g.visitTransition=function(a,b){b.queryCount=0;b.depCount=0;var c=Mp(this,Kp(a.animation),b);return{type:1,matchers:pIa(a.expr,b.errors),animation:c,queryCount:b.queryCount,depCount:b.depCount,options:Qp(a.options)}};g.visitSequence=function(a,b){var c=this;return{type:2,steps:a.steps.map(function(d){return Mp(c,d,b)}),options:Qp(a.options)}};
g.visitGroup=function(a,b){var c=this,d=b.currentTime,e=0,f=a.steps.map(function(h){b.currentTime=d;h=Mp(c,h,b);e=Math.max(e,b.currentTime);return h});b.currentTime=e;return{type:3,steps:f,options:Qp(a.options)}};
g.visitAnimate=function(a,b){var c=vIa(a.timings,b.errors);b.currentAnimateTimings=c;var d=a.styles?a.styles:pi({});if(d.type==5)a=this.visitKeyframes(d,b);else{d=a.styles;a=!1;d||(a=!0,d={},c.easing&&(d.easing=c.easing),d=pi(d));b.currentTime+=c.duration+c.delay;var e=this.visitStyle(d,b);e.isEmptyStep=a;a=e}b.currentAnimateTimings=null;return{type:4,timings:c,style:a,options:null}};g.visitStyle=function(a,b){a=this._makeStyleAst(a,b);this._validateStyleAst(a,b);return a};
g._makeStyleAst=function(a,b){for(var c=[],d=k(Array.isArray(a.styles)?a.styles:[a.styles]),e=d.next();!e.done;e=d.next())e=e.value,typeof e==="string"?e==="*"?c.push(e):b.errors.push(new $c(3002,!1)):c.push(new Map(Object.entries(e)));var f=!1,h=null;c.forEach(function(l){if(l instanceof Map&&(l.has("easing")&&(h=l.get("easing"),l.delete("easing")),!f)){l=k(l.values());for(var q=l.next();!q.done;q=l.next())if(q.value.toString().indexOf("{{")>=0){f=!0;break}}});return{type:6,styles:c,easing:h,offset:a.offset,
containsDynamicStyles:f,options:null}};g._validateStyleAst=function(a,b){var c=b.currentAnimateTimings,d=b.currentTime,e=b.currentTime;c&&e>0&&(e-=c.duration+c.delay);a.styles.forEach(function(f){typeof f!=="string"&&f.forEach(function(h,l){var q=b.collectedStyles.get(b.currentQuerySelector),v=q.get(l),y=!0;v&&(e!=d&&e>=v.startTime&&d<=v.endTime&&(b.errors.push(new $c(3010,!1)),y=!1),e=v.startTime);y&&q.set(l,{startTime:e,endTime:d});b.options&&ZHa(h,b.options,b.errors)})})};
g.visitKeyframes=function(a,b){var c=this,d={type:5,styles:[],options:null};if(!b.currentAnimateTimings)return b.errors.push(new $c(3011,!1)),d;var e=0,f=[],h=!1,l=!1,q=0,v=a.steps.map(function(T){T=c._makeStyleAst(T,b);var da=T.offset!=null?T.offset:uIa(T.styles),ja=0;da!=null&&(e++,ja=T.offset=da);l=l||ja<0||ja>1;h=h||ja<q;q=ja;f.push(ja);return T});l&&b.errors.push(new $c(3012,!1));h&&b.errors.push(new $c(3200,!1));a=a.steps.length;var y=0;e>0&&e<a?b.errors.push(new $c(3202,!1)):e==0&&(y=1/(a-
1));var E=a-1,H=b.currentTime,O=b.currentAnimateTimings,N=O.duration;v.forEach(function(T,da){da=y>0?da==E?1:y*da:f[da];var ja=da*N;b.currentTime=H+O.delay+ja;O.duration=ja;c._validateStyleAst(T,b);T.offset=da;d.styles.push(T)});return d};g.visitReference=function(a,b){return{type:8,animation:Mp(this,Kp(a.animation),b),options:Qp(a.options)}};g.visitAnimateChild=function(a,b){b.depCount++;return{type:9,options:Qp(a.options)}};
g.visitAnimateRef=function(a,b){return{type:10,animation:this.visitReference(a.animation,b),options:Qp(a.options)}};
g.visitQuery=function(a,b){var c=b.currentQuerySelector,d=a.options||{};b.queryCount++;b.currentQuery=a;var e=k(tIa(a.selector)),f=e.next().value;e=e.next().value;b.currentQuerySelector=c.length?c+" "+f:f;Pp(b.collectedStyles,b.currentQuerySelector,new Map);var h=Mp(this,Kp(a.animation),b);b.currentQuery=null;b.currentQuerySelector=c;return{type:11,selector:f,limit:d.limit||0,optional:!!d.optional,includeSelf:e,animation:h,originalSelector:a.selector,options:Qp(a.options)}};
g.visitStagger=function(a,b){b.currentQuery||b.errors.push(new $c(3013,!1));var c=a.timings==="full"?{duration:0,delay:0,easing:"full"}:VHa(a.timings,b.errors,!0);return{type:12,animation:Mp(this,Kp(a.animation),b),timings:c,options:null}};var upc=function(a){this.errors=a;this.depCount=this.queryCount=0;this.currentAnimateTimings=this.currentQuerySelector=this.currentQuery=this.currentTransition=null;this.currentTime=0;this.collectedStyles=new Map;this.options=null};var IK=function(){this._map=new Map};IK.prototype.get=function(a){return this._map.get(a)||[]};IK.prototype.append=function(a,b){var c=this._map.get(a);c||this._map.set(a,c=[]);c.push.apply(c,w(b))};IK.prototype.has=function(a){return this._map.has(a)};IK.prototype.clear=function(){this._map.clear()};var vpc=RegExp(":enter","g"),wpc=RegExp(":leave","g"),xIa=function(){};g=xIa.prototype;
g.buildKeyframes=function(a,b,c,d,e,f,h,l,q,v){v=v===void 0?[]:v;q=q||new IK;a=new xpc(a,b,q,d,e,v,[]);a.options=l;d=l.delay?Hp(l.delay):0;a.currentTimeline.delayNextStep(d);ypc(a.currentTimeline,[f],null,a.errors,l);Mp(this,c,a);c=a.timelines.filter(function(E){return E.containsAnimation()});if(c.length&&h.size){for(f=c.length-1;f>=0;f--)if(e=c[f],e.element===b){var y=e;break}y&&y._currentEmptyStepKeyframe===y._currentKeyframe&&ypc(y,[h],null,a.errors,l)}return c.length?c.map(function(E){return E.buildKeyframes()}):
[wIa(b,[],[],[],0,d,"",!1)]};g.visitTrigger=function(){};g.visitState=function(){};g.visitTransition=function(){};g.visitAnimateChild=function(a,b){var c=b.subInstructions.get(b.element);if(c){var d=JK(b,a.options),e=b.currentTimeline.currentTime;c=this._visitSubInstructions(c,d,d.options);e!=c&&KK(b,c)}b.previousNode=a};
g.visitAnimateRef=function(a,b){var c=JK(b,a.options);KK(c);this._applyAnimationRefDelays([a.options,a.animation.options],b,c);this.visitReference(a.animation,c);KK(b,c.currentTimeline.currentTime);b.previousNode=a};g._applyAnimationRefDelays=function(a,b,c){a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,f=(e=d)==null?void 0:e.delay;if(f){var h=e=void 0;d=typeof f==="number"?f:Hp(Lp(f,(h=(e=d)==null?void 0:e.params)!=null?h:{},b.errors));c.delayNextStep(d)}}};
g._visitSubInstructions=function(a,b,c){var d=b.currentTimeline.currentTime,e=c.duration!=null?Hp(c.duration):null,f=c.delay!=null?Hp(c.delay):null;e!==0&&a.forEach(function(h){var l={duration:e!=null?e:h.duration,delay:b.currentTimeline.currentTime+(f!=null?f:0)+h.delay,easing:""};h=new zpc(b._driver,h.element,h.keyframes,h.preStyleProps,h.postStyleProps,l,h.stretchStartingKeyframe);b.timelines.push(h);d=Math.max(d,l.duration+l.delay)});return d};
g.visitReference=function(a,b){Apc(b,a.options,!0);Mp(this,a.animation,b);b.previousNode=a};g.visitSequence=function(a,b){var c=this,d=b.subContextCount,e=b,f=a.options;f&&(f.params||f.delay)&&(e=JK(b,f),KK(e),f.delay!=null&&(e.previousNode.type==6&&(Bpc(e.currentTimeline),e.previousNode=Cpc),e.delayNextStep(Hp(f.delay))));a.steps.length&&(a.steps.forEach(function(h){return Mp(c,h,e)}),LK(e.currentTimeline),e.subContextCount>d&&KK(e));b.previousNode=a};
g.visitGroup=function(a,b){var c=this,d=[],e=b.currentTimeline.currentTime,f=a.options&&a.options.delay?Hp(a.options.delay):0;a.steps.forEach(function(h){var l=JK(b,a.options);f&&l.delayNextStep(f);Mp(c,h,l);e=Math.max(e,l.currentTimeline.currentTime);d.push(l.currentTimeline)});d.forEach(function(h){return Dpc(b.currentTimeline,h)});KK(b,e);b.previousNode=a};
g._visitTiming=function(a,b){return a.dynamic?(a=a.strValue,a=b.params?Lp(a,b.params,b.errors):a,VHa(a,b.errors)):{duration:a.duration,delay:a.delay,easing:a.easing}};
g.visitAnimate=function(a,b){var c=b.currentAnimateTimings=this._visitTiming(a.timings,b),d=b.currentTimeline;c.delay&&(Epc(b.currentTimeline,b.currentTimeline.duration+c.delay),Bpc(d));var e=a.style;e.type==5?this.visitKeyframes(e,b):(Epc(b.currentTimeline,b.currentTimeline.duration+c.duration),this.visitStyle(e,b),LK(d));b.currentAnimateTimings=null;b.previousNode=a};
g.visitStyle=function(a,b){var c=b.currentTimeline,d=b.currentAnimateTimings;!d&&c._currentKeyframe.size>0&&(c.duration+=1,c._loadKeyframe());d=d&&d.easing||a.easing;if(a.isEmptyStep){d&&c._previousKeyframe.set("easing",d);d=k(c._globalTimelineStyles);for(var e=d.next();!e.done;e=d.next()){var f=k(e.value);e=f.next().value;f=f.next().value;c._backFill.set(e,f||"*");c._currentKeyframe.set(e,"*")}c._currentEmptyStepKeyframe=c._currentKeyframe}else ypc(c,a.styles,d,b.errors,b.options);b.previousNode=
a};g.visitKeyframes=function(a,b){var c=b.currentAnimateTimings,d=b.currentTimeline.duration,e=c.duration,f=JK(b).currentTimeline;f.easing=c.easing;a.styles.forEach(function(h){Epc(f,(h.offset||0)*e);ypc(f,h.styles,h.easing,b.errors,b.options);LK(f)});Dpc(b.currentTimeline,f);KK(b,d+e);b.previousNode=a};
g.visitQuery=function(a,b){var c=this,d=b.currentTimeline.currentTime,e=a.options||{},f=e.delay?Hp(e.delay):0;f&&(b.previousNode.type===6||d==0&&b.currentTimeline._currentKeyframe.size>0)&&(Bpc(b.currentTimeline),b.previousNode=Cpc);var h=d;d=Fpc(b,a.selector,a.limit,a.includeSelf,e.optional?!0:!1,b.errors);b.currentQueryTotal=d.length;var l=null;d.forEach(function(q,v){b.currentQueryIndex=v;v=JK(b,a.options,q);f&&v.delayNextStep(f);q===b.element&&(l=v.currentTimeline);Mp(c,a.animation,v);LK(v.currentTimeline);
h=Math.max(h,v.currentTimeline.currentTime)});b.currentQueryIndex=0;b.currentQueryTotal=0;KK(b,h);l&&(Dpc(b.currentTimeline,l),Bpc(b.currentTimeline));b.previousNode=a};
g.visitStagger=function(a,b){var c=b.parentContext,d=b.currentTimeline,e=a.timings,f=Math.abs(e.duration),h=f*(b.currentQueryTotal-1);f*=b.currentQueryIndex;switch(e.duration<0?"reverse":e.easing){case "reverse":f=h-f;break;case "full":f=c.currentStaggerTime}e=b.currentTimeline;f&&e.delayNextStep(f);e=e.currentTime;Mp(this,a.animation,b);b.previousNode=a;c.currentStaggerTime=d.currentTime-e+(d.startTime-c.currentTimeline.startTime)};
var Cpc={},xpc=function(a,b,c,d,e,f,h,l){this._driver=a;this.element=b;this.subInstructions=c;this._enterClassName=d;this._leaveClassName=e;this.errors=f;this.timelines=h;this.currentAnimateTimings=this.parentContext=null;this.previousNode=Cpc;this.subContextCount=0;this.options={};this.currentStaggerTime=this.currentQueryTotal=this.currentQueryIndex=0;this.currentTimeline=l||new MK(this._driver,b,0);h.push(this.currentTimeline)},Apc=function(a,b,c){if(b){var d=a.options;b.duration!=null&&(d.duration=
Hp(b.duration));b.delay!=null&&(d.delay=Hp(b.delay));var e=b.params;if(e){var f=d.params;f||(f=a.options.params={});Object.keys(e).forEach(function(h){c&&f.hasOwnProperty(h)||(f[h]=Lp(e[h],f,a.errors))})}}};xpc.prototype._copyOptions=function(){var a={};if(this.options){var b=this.options.params;if(b){var c=a.params={};Object.keys(b).forEach(function(d){c[d]=b[d]})}}return a};
var JK=function(a,b,c){b=b===void 0?null:b;c=c||a.element;c=new xpc(a._driver,c,a.subInstructions,a._enterClassName,a._leaveClassName,a.errors,a.timelines,a.currentTimeline.fork(c,0));c.previousNode=a.previousNode;c.currentAnimateTimings=a.currentAnimateTimings;c.options=a._copyOptions();Apc(c,b);c.currentQueryIndex=a.currentQueryIndex;c.currentQueryTotal=a.currentQueryTotal;c.parentContext=a;a.subContextCount++;return c},KK=function(a,b){a.previousNode=Cpc;a.currentTimeline=a.currentTimeline.fork(a.element,
b);a.timelines.push(a.currentTimeline)};xpc.prototype.delayNextStep=function(a){a>0&&this.currentTimeline.delayNextStep(a)};var Fpc=function(a,b,c,d,e,f){var h=[];d&&h.push(a.element);b.length>0&&(b=b.replace(vpc,"."+a._enterClassName),b=b.replace(wpc,"."+a._leaveClassName),a=a._driver.query(a.element,b,c!=1),c!==0&&(a=c<0?a.slice(a.length+c,a.length):a.slice(0,c)),h.push.apply(h,w(a)));e||h.length!=0||f.push(new $c(3014,!1));return h};
ea.Object.defineProperties(xpc.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});
var MK=function(a,b,c,d){this._driver=a;this.element=b;this.startTime=c;this._elementTimelineStylesLookup=d;this.duration=0;this.easing=null;this._previousKeyframe=new Map;this._currentKeyframe=new Map;this._keyframes=new Map;this._styleSummary=new Map;this._localTimelineStyles=new Map;this._pendingStyles=new Map;this._backFill=new Map;this._currentEmptyStepKeyframe=null;this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map);this._globalTimelineStyles=this._elementTimelineStylesLookup.get(b);
this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(b,this._localTimelineStyles));this._loadKeyframe()};MK.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this._currentKeyframe.size>0;default:return!0}};MK.prototype.delayNextStep=function(a){var b=this._keyframes.size===1&&this._pendingStyles.size;this.duration||b?(Epc(this,this.currentTime+a),b&&Bpc(this)):this.startTime+=a};
MK.prototype.fork=function(a,b){LK(this);return new MK(this._driver,a,b||this.currentTime,this._elementTimelineStylesLookup)};MK.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe);this._currentKeyframe=this._keyframes.get(this.duration);this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))};var Epc=function(a,b){LK(a);a.duration=b;a._loadKeyframe()};
MK.prototype._updateStyle=function(a,b){this._localTimelineStyles.set(a,b);this._globalTimelineStyles.set(a,b);this._styleSummary.set(a,{time:this.currentTime,value:b})};
var ypc=function(a,b,c,d,e){c&&a._previousKeyframe.set("easing",c);c=e&&e.params||{};b=zIa(b,a._globalTimelineStyles);b=k(b);for(e=b.next();!e.done;e=b.next()){var f=k(e.value);e=f.next().value;f=f.next().value;f=Lp(f,c,d);a._pendingStyles.set(e,f);if(!a._localTimelineStyles.has(e)){var h=void 0;a._backFill.set(e,(h=a._globalTimelineStyles.get(e))!=null?h:"*")}a._updateStyle(e,f)}},LK=function(a){a._pendingStyles.size!=0&&(a._pendingStyles.forEach(function(b,c){a._currentKeyframe.set(c,b)}),a._pendingStyles.clear(),
a._localTimelineStyles.forEach(function(b,c){a._currentKeyframe.has(c)||a._currentKeyframe.set(c,b)}))},Bpc=function(a){for(var b=k(a._localTimelineStyles),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;a._pendingStyles.set(c,d);a._updateStyle(c,d)}},Dpc=function(a,b){b._styleSummary.forEach(function(c,d){var e=a._styleSummary.get(d);(!e||c.time>e.time)&&a._updateStyle(d,c.value)})};
MK.prototype.buildKeyframes=function(){var a=this;LK(this);var b=new Set,c=new Set,d=this._keyframes.size===1&&this.duration===0,e=[];this._keyframes.forEach(function(v,y){v=new Map([].concat(w(a._backFill),w(v)));v.forEach(function(E,H){E==="!"?b.add(H):E==="*"&&c.add(H)});d||v.set("offset",y/a.duration);e.push(v)});var f=[].concat(w(b.values())),h=[].concat(w(c.values()));if(d){var l=e[0],q=new Map(l);l.set("offset",0);q.set("offset",1);e=[l,q]}return wIa(this.element,e,f,h,this.duration,this.startTime,
this.easing,!1)};ea.Object.defineProperties(MK.prototype,{currentTime:{configurable:!0,enumerable:!0,get:function(){return this.startTime+this.duration}},properties:{configurable:!0,enumerable:!0,get:function(){var a=[],b;for(b in this._currentKeyframe)a.push(b);return a}}});var zpc=function(a,b,c,d,e,f,h){h=h===void 0?!1:h;MK.call(this,a,b,f.delay);this.keyframes=c;this.preStyleProps=d;this.postStyleProps=e;this._stretchStartingKeyframe=h;this.timings={duration:f.duration,delay:f.delay,easing:f.easing}};
Y(zpc,MK);zpc.prototype.containsAnimation=function(){return this.keyframes.length>1};
zpc.prototype.buildKeyframes=function(){var a=this.keyframes,b=this.timings,c=b.delay,d=b.duration,e=b.easing;if(this._stretchStartingKeyframe&&c){b=[];e=d+c;var f=c/e,h=new Map(a[0]);h.set("offset",0);b.push(h);h=new Map(a[0]);h.set("offset",Math.round(f*100)/100);b.push(h);f=a.length-1;for(h=1;h<=f;h++){var l=new Map(a[h]),q=l.get("offset");l.set("offset",Math.round((c+q*d)/e*100)/100);b.push(l)}d=e;c=0;e="";a=b}return wIa(this.element,a,this.preStyleProps,this.postStyleProps,d,c,e,!0)};var Gpc={},Rp=function(a,b,c){this._triggerName=a;this.ast=b;this._stateStyles=c};Rp.prototype.match=function(a,b,c,d){return BIa(this.ast.matchers,a,b,c,d)};Rp.prototype.buildStyles=function(a,b,c){var d=this._stateStyles.get("*");a!==void 0&&(d=this._stateStyles.get(a==null?void 0:a.toString())||d);return d?d.buildStyles(b,c):new Map};
Rp.prototype.build=function(a,b,c,d,e,f,h,l,q,v){var y=[],E=this.ast.options&&this.ast.options.params||Gpc;h=this.buildStyles(c,h&&h.params||Gpc,y);var H=l&&l.params||Gpc;l=this.buildStyles(d,H,y);var O=new Set,N=new Map,T=new Map,da=d==="void",ja;E={params:CIa(H,E),delay:(ja=this.ast.options)==null?void 0:ja.delay};a=v?[]:yIa(a,b,this.ast.animation,e,f,h,l,E,q,y);var na=0;a.forEach(function(Ia){na=Math.max(Ia.duration+Ia.delay,na)});if(y.length)return AIa(b,this._triggerName,c,d,da,h,l,[],[],N,T,
na,y);a.forEach(function(Ia){var Pa=Ia.element,Na=Pp(N,Pa,new Set);Ia.preStyleProps.forEach(function(ma){return Na.add(ma)});var bb=Pp(T,Pa,new Set);Ia.postStyleProps.forEach(function(ma){return bb.add(ma)});Pa!==b&&O.add(Pa)});return AIa(b,this._triggerName,c,d,da,h,l,a,[].concat(w(O.values())),N,T,na)};var Hpc=function(a,b){this.styles=a;this.defaultParams=b};
Hpc.prototype.buildStyles=function(a,b){var c=new Map,d=CIa(a,this.defaultParams);this.styles.styles.forEach(function(e){typeof e!=="string"&&e.forEach(function(f,h){f&&(f=Lp(f,d,b));var l=XHa(h);f=eIa(l,f,b);c.set(h,f)})});return c};var Ipc=function(a,b,c){var d=this;this.name=a;this.ast=b;this._normalizer=c;this.transitionFactories=[];this.states=new Map;b.states.forEach(function(e){d.states.set(e.name,new Hpc(e.style,e.options&&e.options.params||{}))});EIa(this.states,"true","1");EIa(this.states,"false","0");b.transitions.forEach(function(e){d.transitionFactories.push(new Rp(a,e,d.states))});this.fallbackTransition=DIa(a,this.states)},Jpc=function(a,b,c,d,e){return a.transitionFactories.find(function(f){return f.match(b,c,
d,e)})||null};var Kpc=new IK,Lpc=function(a,b,c){this.bodyNode=a;this._driver=b;this._normalizer=c;this._animations=new Map;this._playersById=new Map;this.players=[]};g=Lpc.prototype;g.register=function(a,b){var c=[];b=(new tpc(this._driver)).build(b,c,[]);if(c.length)throw new $c(3503,!1);this._animations.set(a,b)};g._buildPlayer=function(a,b,c){var d=a.element;b=fIa(a.keyframes,b,c);return this._driver.animate(d,b,a.duration,a.delay,a.easing,[],!0)};
g.create=function(a,b,c){var d=this;c=c===void 0?{}:c;var e=[],f=this._animations.get(a),h=new Map;f?(b=yIa(this._driver,b,f,"ng-enter","ng-leave",new Map,new Map,c,Kpc,e),b.forEach(function(l){var q=Pp(h,l.element,new Map);l.postStyleProps.forEach(function(v){return q.set(v,null)})})):(e.push(new $c(3300,!1)),b=[]);if(e.length)throw new $c(3504,!1);h.forEach(function(l,q){l.forEach(function(v,y){l.set(y,bIa(q,y))})});e=b.map(function(l){var q=h.get(l.element);return d._buildPlayer(l,new Map,q)});
e=Op(e);this._playersById.set(a,e);e.onDestroy(function(){return d.destroy(a)});this.players.push(e);return e};g.destroy=function(a){var b=this._getPlayer(a);b.destroy();this._playersById.delete(a);a=this.players.indexOf(b);a>=0&&this.players.splice(a,1)};g._getPlayer=function(a){a=this._playersById.get(a);if(!a)throw new $c(3301,!1);return a};g.listen=function(a,b,c,d){b=iIa(b,"","","");hIa(this._getPlayer(a),c,b,d);return function(){}};
g.command=function(a,b,c,d){if(c=="register")this.register(a,d[0]);else if(c=="create")this.create(a,b,d[0]||{});else switch(b=this._getPlayer(a),c){case "play":b.play();break;case "pause":b.pause();break;case "reset":b.reset();break;case "restart":b.restart();break;case "finish":b.finish();break;case "init":b.init();break;case "setPosition":b.setPosition(parseFloat(d[0]));break;case "destroy":this.destroy(a)}};var Mpc=[],Npc={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},HIa={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Opc=function(a,b){this.namespaceId=b===void 0?"":b;var c=(b=a&&a.hasOwnProperty("value"))?a.value:a;this.value=c!=null?c:null;b?(a=Object.assign({},a),this.options=(delete a.value,a)):this.options={};this.options.params||(this.options.params={})},Ppc=function(a,b){var c=b.params;if(c){var d=a.options.params;
Object.keys(c).forEach(function(e){d[e]==null&&(d[e]=c[e])})}};ea.Object.defineProperties(Opc.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});var Qpc=new Opc("void"),NK=function(a,b,c){this.id=a;this.hostElement=b;this._engine=c;this.players=[];this._triggers=new Map;this._queue=[];this._elementListeners=new Map;this._hostClassName="ng-tns-"+a;Sp(b,this._hostClassName)};g=NK.prototype;
g.listen=function(a,b,c,d){var e=this;if(!this._triggers.has(b))throw new $c(3302,!1);if(c==null||c.length==0)throw new $c(3303,!1);if(c!="start"&&c!="done")throw new $c(3400,!1);var f=Pp(this._elementListeners,a,[]),h={name:b,phase:c,callback:d};f.push(h);var l=Pp(this._engine.statesByElement,a,new Map);l.has(b)||(Sp(a,"ng-trigger"),Sp(a,"ng-trigger-"+b),l.set(b,Qpc));return function(){Rpc(e._engine,function(){var q=f.indexOf(h);q>=0&&f.splice(q,1);e._triggers.has(b)||l.delete(b)})}};
g.register=function(a,b){if(this._triggers.has(a))return!1;this._triggers.set(a,b);return!0};g._getTrigger=function(a){a=this._triggers.get(a);if(!a)throw new $c(3401,!1);return a};
g.trigger=function(a,b,c,d){var e=this;d=d===void 0?!0:d;var f=this._getTrigger(b),h=new Spc(this.id,b,a),l=this._engine.statesByElement.get(a);l||(Sp(a,"ng-trigger"),Sp(a,"ng-trigger-"+b),this._engine.statesByElement.set(a,l=new Map));var q=l.get(b),v=new Opc(c,this.id);c&&c.hasOwnProperty("value")||!q||Ppc(v,q.options);l.set(b,v);q||(q=Qpc);if(v.value!=="void"&&q.value===v.value){if(!NIa(q.params,v.params)){d=[];var y=f.fallbackTransition.buildStyles(q.value,q.params,d),E=f.fallbackTransition.buildStyles(v.value,
v.params,d);d.length?this._engine.reportError(d):Rpc(this._engine,function(){Jp(a,y);Ip(a,E)})}}else{c=Pp(this._engine.playersByElement,a,[]);c.forEach(function(O){O.namespaceId==e.id&&O.triggerName==b&&O.queued&&O.destroy()});l=Jpc(f,q.value,v.value,a,v.params);var H=!1;if(!l){if(!d)return;l=f.fallbackTransition;H=!0}this._engine.totalQueuedPlayers++;this._queue.push({element:a,triggerName:b,transition:l,fromState:q,toState:v,player:h,isFallbackTransition:H});H||(Sp(a,"ng-animate-queued"),h.onStart(function(){Tp(a,
"ng-animate-queued")}));h.onDone(function(){var O=e.players.indexOf(h);O>=0&&e.players.splice(O,1);if(O=e._engine.playersByElement.get(a)){var N=O.indexOf(h);N>=0&&O.splice(N,1)}});this.players.push(h);c.push(h);return h}};g.deregister=function(a){var b=this;this._triggers.delete(a);this._engine.statesByElement.forEach(function(c){return c.delete(a)});this._elementListeners.forEach(function(c,d){b._elementListeners.set(d,c.filter(function(e){return e.name!=a}))})};
var Tpc=function(a,b){a._engine.statesByElement.delete(b);a._elementListeners.delete(b);var c=a._engine.playersByElement.get(b);c&&(c.forEach(function(d){return d.destroy()}),a._engine.playersByElement.delete(b))};
NK.prototype._signalRemovalForInnerTriggers=function(a,b){var c=this,d=this._engine.driver.query(a,".ng-trigger",!0);d.forEach(function(e){if(!e.__ng_removed){var f=Upc(c._engine,e);f.size?f.forEach(function(h){return Vpc(h,e,b,!1,!0)}):Tpc(c,e)}});this._engine.afterFlushAnimationsDone(function(){return d.forEach(function(e){return Tpc(c,e)})})};
var Vpc=function(a,b,c,d,e){var f=a._engine.statesByElement.get(b),h=new Map;if(f){var l=[];f.forEach(function(q,v){h.set(v,q.value);a._triggers.has(v)&&(q=a.trigger(b,v,"void",e))&&l.push(q)});if(l.length){Wpc(a._engine,a.id,b,!0,c,h);if(d)Op(l).onDone(function(){return Up(a._engine,b)});return!0}}return!1},Xpc=function(a,b){var c=a._elementListeners.get(b),d=a._engine.statesByElement.get(b);if(c&&d){var e=new Set;c.forEach(function(f){f=f.name;if(!e.has(f)){e.add(f);var h=a._triggers.get(f).fallbackTransition,
l=d.get(f)||Qpc,q=new Opc("void"),v=new Spc(a.id,f,b);a._engine.totalQueuedPlayers++;a._queue.push({element:b,triggerName:f,transition:h,fromState:l,toState:q,player:v,isFallbackTransition:!0})}})}};
NK.prototype.removeNode=function(a,b){var c=this,d=this._engine;a.childElementCount&&this._signalRemovalForInnerTriggers(a,b);if(!Vpc(this,a,b,!0)){var e=!1;if(d.totalAnimations){var f=d.players.length?d.playersByQueriedElement.get(a):[];if(f&&f.length)e=!0;else for(f=a;f=f.parentNode;)if(d.statesByElement.get(f)){e=!0;break}}Xpc(this,a);e?Wpc(d,this.id,a,!1,b):(e=a.__ng_removed,e&&e!==Npc||(Rpc(d,function(){return Tpc(c,a)}),Ypc(d,a),d._onRemovalComplete(a,b)))}};
NK.prototype.insertNode=function(a){Sp(a,this._hostClassName)};
var Zpc=function(a,b){var c=[];a._queue.forEach(function(d){var e=d.player;if(!e.destroyed){var f=d.element,h=a._elementListeners.get(f);h&&h.forEach(function(l){if(l.name==d.triggerName){var q=iIa(f,d.triggerName,d.fromState.value,d.toState.value);q._data=b;hIa(d.player,l.phase,q,l.callback)}});e.markedForDestroy?Rpc(a._engine,function(){e.destroy()}):c.push(d)}});a._queue=[];return c.sort(function(d,e){var f=d.transition.ast.depCount,h=e.transition.ast.depCount;return f==0||h==0?f-h:mIa(d.element,
e.element)?1:-1})};NK.prototype.destroy=function(a){this.players.forEach(function(b){return b.destroy()});this._signalRemovalForInnerTriggers(this.hostElement,a)};
var OK=function(a,b,c){this.bodyNode=a;this.driver=b;this._normalizer=c;this.players=[];this.newHostElements=new Map;this.playersByElement=new Map;this.playersByQueriedElement=new Map;this.statesByElement=new Map;this.disabledNodes=new Set;this.totalQueuedPlayers=this.totalAnimations=0;this._namespaceLookup={};this._namespaceList=[];this._flushFns=[];this._whenQuietFns=[];this.namespacesByHostElement=new Map;this.collectedEnterElements=[];this.collectedLeaveElements=[];this.onRemovalComplete=function(){}};
g=OK.prototype;g._onRemovalComplete=function(a,b){this.onRemovalComplete(a,b)};g._balanceNamespaceList=function(a,b){var c=this._namespaceList,d=this.namespacesByHostElement;if(c.length-1>=0){for(var e=!1,f=this.driver.getParentElement(b);f;){var h=d.get(f);if(h){e=c.indexOf(h);c.splice(e+1,0,a);e=!0;break}f=this.driver.getParentElement(f)}e||c.unshift(a)}else c.push(a);d.set(b,a);return a};
g.register=function(a,b){var c=this._namespaceLookup[a];c||(c=new NK(a,b,this),this.bodyNode&&mIa(this.bodyNode,b)?this._balanceNamespaceList(c,b):(this.newHostElements.set(b,c),this.collectedEnterElements.push(b)),c=this._namespaceLookup[a]=c);return c};g.registerTrigger=function(a,b,c){(a=this._namespaceLookup[a])&&a.register(b,c)&&this.totalAnimations++};
g.destroy=function(a,b){var c=this;a&&(Rpc(this,function(){}),this.afterFlushAnimationsDone(function(){var d=c._fetchNamespace(a);c.namespacesByHostElement.delete(d.hostElement);var e=c._namespaceList.indexOf(d);e>=0&&c._namespaceList.splice(e,1);d.destroy(b);delete c._namespaceLookup[a]}))};g._fetchNamespace=function(a){return this._namespaceLookup[a]};
var Upc=function(a,b){var c=new Set;if(b=a.statesByElement.get(b)){b=k(b.values());for(var d=b.next();!d.done;d=b.next())d=d.value,d.namespaceId&&(d=a._fetchNamespace(d.namespaceId))&&c.add(d)}return c};OK.prototype.trigger=function(a,b,c,d){return FIa(b)&&(a=this._fetchNamespace(a))?(a.trigger(b,c,d),!0):!1};
OK.prototype.insertNode=function(a,b,c,d){if(FIa(b)){var e=b.__ng_removed;e&&e.setForRemoval&&(e.setForRemoval=!1,e.setForMove=!0,e=this.collectedLeaveElements.indexOf(b),e>=0&&this.collectedLeaveElements.splice(e,1));a&&(a=this._fetchNamespace(a))&&a.insertNode(b,c);d&&this.collectedEnterElements.push(b)}};var $pc=function(a,b,c){c?a.disabledNodes.has(b)||(a.disabledNodes.add(b),Sp(b,"ng-animate-disabled")):a.disabledNodes.has(b)&&(a.disabledNodes.delete(b),Tp(b,"ng-animate-disabled"))};
OK.prototype.removeNode=function(a,b,c){if(FIa(b)){var d=a?this._fetchNamespace(a):null;d?d.removeNode(b,c):Wpc(this,a,b,!1,c);(d=this.namespacesByHostElement.get(b))&&d.id!==a&&d.removeNode(b,c)}else this._onRemovalComplete(b,c)};var Wpc=function(a,b,c,d,e,f){a.collectedLeaveElements.push(c);c.__ng_removed={namespaceId:b,setForRemoval:e,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:f}};OK.prototype.listen=function(a,b,c,d,e){return FIa(b)?this._fetchNamespace(a).listen(b,c,d,e):function(){}};
OK.prototype._buildInstruction=function(a,b,c,d,e){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,c,d,a.fromState.options,a.toState.options,b,e)};
var Ypc=function(a,b){var c=a.driver.query(b,".ng-trigger",!0);c.forEach(function(d){return aqc(a,d)});a.playersByQueriedElement.size!=0&&(c=a.driver.query(b,".ng-animating",!0),c.forEach(function(d){return bqc(a,d)}))},aqc=function(a,b){(a=a.playersByElement.get(b))&&a.forEach(function(c){c.queued?c.markedForDestroy=!0:c.destroy()})},bqc=function(a,b){(a=a.playersByQueriedElement.get(b))&&a.forEach(function(c){return c.finish()})},Up=function(a,b){var c=b.__ng_removed;if(c&&c.setForRemoval){b.__ng_removed=
Npc;if(c.namespaceId){Ypc(a,b);var d=a._fetchNamespace(c.namespaceId);d&&Tpc(d,b)}a._onRemovalComplete(b,c.setForRemoval)}var e;((e=b.classList)==null?0:e.contains("ng-animate-disabled"))&&$pc(a,b,!1);a.driver.query(b,".ng-animate-disabled",!0).forEach(function(f){$pc(a,f,!1)})};
OK.prototype.flush=function(a){var b=this;a=a===void 0?-1:a;var c=[];this.newHostElements.size&&(this.newHostElements.forEach(function(f,h){return b._balanceNamespaceList(f,h)}),this.newHostElements.clear());if(this.totalAnimations&&this.collectedEnterElements.length)for(var d=0;d<this.collectedEnterElements.length;d++)Sp(this.collectedEnterElements[d],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){d=[];try{c=this._flushAnimations(d,
a)}finally{for(a=0;a<d.length;a++)d[a]()}}else for(a=0;a<this.collectedLeaveElements.length;a++)Up(this,this.collectedLeaveElements[a]);this.totalQueuedPlayers=0;this.collectedEnterElements.length=0;this.collectedLeaveElements.length=0;this._flushFns.forEach(function(f){return f()});this._flushFns=[];if(this._whenQuietFns.length){var e=this._whenQuietFns;this._whenQuietFns=[];if(c.length)Op(c).onDone(function(){e.forEach(function(f){return f()})});else e.forEach(function(f){return f()})}};
OK.prototype.reportError=function(){throw new $c(3402,!1);};
OK.prototype._flushAnimations=function(a,b){var c=this,d=new IK,e=[],f=new Map,h=[],l=new Map,q=new Map,v=new Map,y=new Set;this.disabledNodes.forEach(function(Qa){y.add(Qa);Qa=c.driver.query(Qa,".ng-animate-queued",!0);for(var Ub=0;Ub<Qa.length;Ub++)y.add(Qa[Ub])});var E=this.bodyNode,H=Array.from(this.statesByElement.keys()),O=JIa(H,this.collectedEnterElements),N=new Map,T=0;O.forEach(function(Qa,Ub){var kc="ng-enter"+T++;N.set(Ub,kc);Qa.forEach(function(cd){return Sp(cd,kc)})});for(var da=[],ja=
new Set,na=new Set,Ia=0;Ia<this.collectedLeaveElements.length;Ia++){var Pa=this.collectedLeaveElements[Ia],Na=Pa.__ng_removed;Na&&Na.setForRemoval&&(da.push(Pa),ja.add(Pa),Na.hasAnimation?this.driver.query(Pa,".ng-star-inserted",!0).forEach(function(Qa){return ja.add(Qa)}):na.add(Pa))}var bb=new Map,ma=JIa(H,Array.from(ja));ma.forEach(function(Qa,Ub){var kc="ng-leave"+T++;bb.set(Ub,kc);Qa.forEach(function(cd){return Sp(cd,kc)})});a.push(function(){O.forEach(function(Qa,Ub){var kc=N.get(Ub);Qa.forEach(function(cd){return Tp(cd,
kc)})});ma.forEach(function(Qa,Ub){var kc=bb.get(Ub);Qa.forEach(function(cd){return Tp(cd,kc)})});da.forEach(function(Qa){Up(c,Qa)})});var Da=[],Ea=[];for(a=this._namespaceList.length-1;a>=0;a--)Zpc(this._namespaceList[a],b).forEach(function(Qa){var Ub=Qa.player,kc=Qa.element;Da.push(Ub);if(c.collectedEnterElements.length){var cd=kc.__ng_removed;if(cd&&cd.setForMove){if(cd.previousTriggersValues&&cd.previousTriggersValues.has(Qa.triggerName)){cd=cd.previousTriggersValues.get(Qa.triggerName);var Bb=
c.statesByElement.get(Qa.element);if(Bb&&Bb.has(Qa.triggerName)){var uc=Bb.get(Qa.triggerName);uc.value=cd;Bb.set(Qa.triggerName,uc)}}Ub.destroy();return}}cd=!E||!mIa(E,kc);Bb=bb.get(kc);uc=N.get(kc);var vc=c._buildInstruction(Qa,d,uc,Bb,cd);if(vc.errors&&vc.errors.length)Ea.push(vc);else if(cd)Ub.onStart(function(){return Jp(kc,vc.fromStyles)}),Ub.onDestroy(function(){return Ip(kc,vc.toStyles)}),e.push(Ub);else if(Qa.isFallbackTransition)Ub.onStart(function(){return Jp(kc,vc.fromStyles)}),Ub.onDestroy(function(){return Ip(kc,
vc.toStyles)}),e.push(Ub);else{var Kd=[];vc.timelines.forEach(function(td){td.stretchStartingKeyframe=!0;c.disabledNodes.has(td.element)||Kd.push(td)});vc.timelines=Kd;d.append(kc,vc.timelines);h.push({instruction:vc,player:Ub,element:kc});vc.queriedElements.forEach(function(td){return Pp(l,td,[]).push(Ub)});vc.preStyleProps.forEach(function(td,jf){if(td.size){var wh=q.get(jf);wh||q.set(jf,wh=new Set);td.forEach(function(jh,Fp){return wh.add(Fp)})}});vc.postStyleProps.forEach(function(td,jf){var wh=
v.get(jf);wh||v.set(jf,wh=new Set);td.forEach(function(jh,Fp){return wh.add(Fp)})})}});if(Ea.length){var zb=[];Ea.forEach(function(){zb.push(new $c(3505,!1))});Da.forEach(function(Qa){return Qa.destroy()});this.reportError(zb)}var qb=new Map,dc=new Map;h.forEach(function(Qa){var Ub=Qa.element;d.has(Ub)&&(dc.set(Ub,Ub),c._beforeAnimationBuild(Qa.player.namespaceId,Qa.instruction,qb))});e.forEach(function(Qa){var Ub=Qa.element;c._getPreviousPlayers(Ub,!1,Qa.namespaceId,Qa.triggerName,null).forEach(function(kc){Pp(qb,
Ub,[]).push(kc);kc.destroy()})});var fc=da.filter(function(Qa){return OIa(Qa,q,v)}),qc=new Map;IIa(qc,na,v).forEach(function(Qa){OIa(Qa,q,v)&&fc.push(Qa)});var Zb=new Map;O.forEach(function(Qa){IIa(Zb,new Set(Qa),q)});fc.forEach(function(Qa){var Ub=qc.get(Qa),kc=Zb.get(Qa),cd,Bb;qc.set(Qa,new Map([].concat(w((cd=Ub==null?void 0:Ub.entries())!=null?cd:[]),w((Bb=kc==null?void 0:kc.entries())!=null?Bb:[]))))});var Ae=[],eb=[],Cb={};h.forEach(function(Qa){var Ub=Qa.element,kc=Qa.player,cd=Qa.instruction;
if(d.has(Ub))if(y.has(Ub))kc.onDestroy(function(){return Ip(Ub,cd.toStyles)}),kc.disabled=!0,kc.totalTime=cd.totalTime,e.push(kc);else{var Bb=Cb;if(dc.size>1){Qa=Ub;for(var uc=[];Qa=Qa.parentNode;){var vc=dc.get(Qa);if(vc){Bb=vc;break}uc.push(Qa)}uc.forEach(function(Kd){return dc.set(Kd,Bb)})}Qa=c._buildAnimation(kc.namespaceId,cd,qb,f,Zb,qc);cqc(kc,Qa);Bb===Cb?Ae.push(kc):((Qa=c.playersByElement.get(Bb))&&Qa.length&&(kc.parentPlayer=Op(Qa)),e.push(kc))}else Jp(Ub,cd.fromStyles),kc.onDestroy(function(){return Ip(Ub,
cd.toStyles)}),eb.push(kc),y.has(Ub)&&e.push(kc)});eb.forEach(function(Qa){var Ub=f.get(Qa.element);Ub&&Ub.length&&(Ub=Op(Ub),cqc(Qa,Ub))});e.forEach(function(Qa){Qa.parentPlayer?dqc(Qa,Qa.parentPlayer):Qa.destroy()});for(b=0;b<da.length;b++)if(na=da[b],a=na.__ng_removed,Tp(na,"ng-leave"),!a||!a.hasAnimation){a=[];if(l.size)for((H=l.get(na))&&H.length&&a.push.apply(a,w(H)),H=this.driver.query(na,".ng-animating",!0),Ia=0;Ia<H.length;Ia++)(Pa=l.get(H[Ia]))&&Pa.length&&a.push.apply(a,w(Pa));a=a.filter(function(Qa){return!Qa.destroyed});
a.length?KIa(this,na,a):Up(this,na)}da.length=0;Ae.forEach(function(Qa){c.players.push(Qa);Qa.onDone(function(){Qa.destroy();var Ub=c.players.indexOf(Qa);c.players.splice(Ub,1)});Qa.play()});return Ae};var Rpc=function(a,b){a._flushFns.push(b)};g=OK.prototype;g.afterFlushAnimationsDone=function(a){this._whenQuietFns.push(a)};
g._getPreviousPlayers=function(a,b,c,d,e){var f=[];if(b)(e=this.playersByQueriedElement.get(a))&&(f=e);else if(a=this.playersByElement.get(a)){var h=!e||e=="void";a.forEach(function(l){l.queued||(h||l.triggerName==d)&&f.push(l)})}if(c||d)f=f.filter(function(l){return c&&c!=l.namespaceId||d&&d!=l.triggerName?!1:!0});return f};
g._beforeAnimationBuild=function(a,b,c){var d=b.triggerName,e=b.element;a=b.isRemovalTransition?void 0:a;d=b.isRemovalTransition?void 0:d;for(var f=k(b.timelines),h=f.next(),l={};!h.done;l={players$jscomp$10:void 0},h=f.next()){h=h.value.element;var q=h!==e;l.players$jscomp$10=Pp(c,h,[]);this._getPreviousPlayers(h,q,a,d,b.toState).forEach(function(v){return function(y){var E=y._player;E.beforeDestroy&&E.beforeDestroy();y.destroy();v.players$jscomp$10.push(y)}}(l))}Jp(e,b.fromStyles)};
g._buildAnimation=function(a,b,c,d,e,f){var h=this,l=b.triggerName,q=b.element,v=[],y=new Set,E=new Set,H=b.timelines.map(function(N){var T=N.element;y.add(T);var da=T.__ng_removed;if(da&&da.removedBeforeQueried)return new Np(N.duration,N.delay);da=T!==q;var ja=MIa((c.get(T)||Mpc).map(function(Pa){return Pa._player})).filter(function(Pa){return Pa.element?Pa.element===T:!1}),na=e.get(T),Ia=f.get(T);na=fIa(N.keyframes,na,Ia);ja=h._buildPlayer(N,na,ja);N.subTimeline&&d&&E.add(T);da&&(N=new Spc(a,l,
T),cqc(N,ja),v.push(N));return ja});v.forEach(function(N){Pp(h.playersByQueriedElement,N.element,[]).push(N);N.onDone(function(){var T=h.playersByQueriedElement,da=N.element,ja=T.get(da);if(ja){if(ja.length){var na=ja.indexOf(N);ja.splice(na,1)}ja.length==0&&T.delete(da)}return ja})});y.forEach(function(N){return Sp(N,"ng-animating")});var O=Op(H);O.onDestroy(function(){y.forEach(function(N){return Tp(N,"ng-animating")});Ip(q,b.toStyles)});E.forEach(function(N){Pp(d,N,[]).push(O)});return O};
g._buildPlayer=function(a,b,c){return b.length>0?this.driver.animate(a.element,b,a.duration,a.delay,a.easing,c):new Np(a.duration,a.delay)};
var Spc=function(a,b,c){this.namespaceId=a;this.triggerName=b;this.element=c;this._player=new Np;this._containsRealPlayer=!1;this._queuedCallbacks=new Map;this.destroyed=!1;this.parentPlayer=null;this.disabled=this.markedForDestroy=!1;this.queued=!0;this.totalTime=0},cqc=function(a,b){a._containsRealPlayer||(a._player=b,a._queuedCallbacks.forEach(function(c,d){c.forEach(function(e){return hIa(b,d,void 0,e)})}),a._queuedCallbacks.clear(),a._containsRealPlayer=!0,a.totalTime=b.totalTime,a.queued=!1)},
dqc=function(a,b){var c=a._player;if(c.triggerCallback)b.onStart(function(){return c.triggerCallback("start")});b.onDone(function(){return a.finish()});b.onDestroy(function(){return a.destroy()})};g=Spc.prototype;g._queueEvent=function(a,b){Pp(this._queuedCallbacks,a,[]).push(b)};g.onDone=function(a){this.queued&&this._queueEvent("done",a);this._player.onDone(a)};g.onStart=function(a){this.queued&&this._queueEvent("start",a);this._player.onStart(a)};
g.onDestroy=function(a){this.queued&&this._queueEvent("destroy",a);this._player.onDestroy(a)};g.init=function(){this._player.init()};g.hasStarted=function(){return this.queued?!1:this._player.hasStarted()};g.play=function(){!this.queued&&this._player.play()};g.pause=function(){!this.queued&&this._player.pause()};g.restart=function(){!this.queued&&this._player.restart()};g.finish=function(){this._player.finish()};g.destroy=function(){this.destroyed=!0;this._player.destroy()};
g.reset=function(){!this.queued&&this._player.reset()};g.setPosition=function(a){this.queued||this._player.setPosition(a)};g.getPosition=function(){return this.queued?0:this._player.getPosition()};g.triggerCallback=function(a){var b=this._player;b.triggerCallback&&b.triggerCallback(a)};var PK=function(a,b,c){var d=this;this._driver=b;this._normalizer=c;this._triggerCache={};this.onRemovalComplete=function(){};this._transitionEngine=new OK(a.body,b,c);this._timelineEngine=new Lpc(a.body,b,c);this._transitionEngine.onRemovalComplete=function(e,f){return d.onRemovalComplete(e,f)}};g=PK.prototype;
g.registerTrigger=function(a,b,c,d,e){a=a+"-"+d;c=this._triggerCache[a];if(!c){c=[];e=(new tpc(this._driver)).build(e,c,[]);if(c.length)throw new $c(3404,!1);c=new Ipc(d,e,this._normalizer);this._triggerCache[a]=c}this._transitionEngine.registerTrigger(b,d,c)};g.register=function(a,b){this._transitionEngine.register(a,b)};g.destroy=function(a,b){this._transitionEngine.destroy(a,b)};g.disableAnimations=function(a,b){$pc(this._transitionEngine,a,b)};
g.process=function(a,b,c,d){c.charAt(0)=="@"?(c=k(jIa(c)),a=c.next().value,c=c.next().value,this._timelineEngine.command(a,b,c,d)):this._transitionEngine.trigger(a,b,c,d)};g.listen=function(a,b,c,d,e){return c.charAt(0)=="@"?(c=k(jIa(c)),a=c.next().value,c=c.next().value,this._timelineEngine.listen(a,b,c,e)):this._transitionEngine.listen(a,b,c,d,e)};g.flush=function(a){this._transitionEngine.flush(a===void 0?-1:a)};g.afterFlushAnimationsDone=function(a){this._transitionEngine.afterFlushAnimationsDone(a)};
ea.Object.defineProperties(PK.prototype,{players:{configurable:!0,enumerable:!0,get:function(){return[].concat(w(this._transitionEngine.players),w(this._timelineEngine.players))}}});var QIa=function(a,b,c){this._element=a;this._startStyles=b;this._endStyles=c;this._state=0;var d=eqc.get(a);d||eqc.set(a,d=new Map);this._initialStyles=d};QIa.prototype.start=function(){this._state<1&&(this._startStyles&&Ip(this._element,this._startStyles,this._initialStyles),this._state=1)};QIa.prototype.finish=function(){this.start();this._state<2&&(Ip(this._element,this._initialStyles),this._endStyles&&(Ip(this._element,this._endStyles),this._endStyles=null),this._state=1)};
QIa.prototype.destroy=function(){this.finish();this._state<3&&(eqc.delete(this._element),this._startStyles&&(Jp(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Jp(this._element,this._endStyles),this._endStyles=null),Ip(this._element,this._initialStyles),this._state=3)};var eqc=new WeakMap;var fqc=function(a,b,c,d){this.element=a;this.keyframes=b;this.options=c;this._specialStyles=d;this._onDoneFns=[];this._onStartFns=[];this._onDestroyFns=[];this._destroyed=this._started=this._finished=this._initialized=!1;this._originalOnDoneFns=[];this._originalOnStartFns=[];this.time=0;this.parentPlayer=null;this.currentSnapshot=new Map;this._duration=c.duration;this._delay=c.delay||0;this.time=this._duration+this._delay};g=fqc.prototype;
g._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};g.init=function(){this._buildPlayer();this._preparePlayerBeforeStart()};
g._buildPlayer=function(){var a=this;if(!this._initialized){this._initialized=!0;var b=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,b,this.options);this._finalKeyframe=b.length?b[b.length-1]:new Map;var c=function(){return a._onFinish()};this.domPlayer.addEventListener("finish",c);this.onDestroy(function(){a.domPlayer.removeEventListener("finish",c)})}};g._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()};
g._convertKeyframesToObject=function(a){var b=[];a.forEach(function(c){b.push(Object.fromEntries(c))});return b};g._triggerWebAnimation=function(a,b,c){return a.animate(this._convertKeyframesToObject(b),c)};g.onStart=function(a){this._originalOnStartFns.push(a);this._onStartFns.push(a)};g.onDone=function(a){this._originalOnDoneFns.push(a);this._onDoneFns.push(a)};g.onDestroy=function(a){this._onDestroyFns.push(a)};
g.play=function(){this._buildPlayer();this.hasStarted()||(this._onStartFns.forEach(function(a){return a()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start());this.domPlayer.play()};g.pause=function(){this.init();this.domPlayer.pause()};g.finish=function(){this.init();this._specialStyles&&this._specialStyles.finish();this._onFinish();this.domPlayer.finish()};
g.reset=function(){this._resetDomPlayerState();this._started=this._finished=this._destroyed=!1;this._onStartFns=this._originalOnStartFns;this._onDoneFns=this._originalOnDoneFns};g._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()};g.restart=function(){this.reset();this.play()};g.hasStarted=function(){return this._started};
g.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(a){return a()}),this._onDestroyFns=[])};g.setPosition=function(a){this.domPlayer===void 0&&this.init();this.domPlayer.currentTime=a*this.time};g.getPosition=function(){var a;return+((a=this.domPlayer.currentTime)!=null?a:0)/this.time};
g.beforeDestroy=function(){var a=this,b=new Map;this.hasStarted()&&this._finalKeyframe.forEach(function(c,d){d!=="offset"&&b.set(d,a._finished?c:bIa(a.element,d))});this.currentSnapshot=b};g.triggerCallback=function(a){a=a==="start"?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};ea.Object.defineProperties(fqc.prototype,{totalTime:{configurable:!0,enumerable:!0,get:function(){return this._delay+this._duration}}});var gqc=function(){};gqc.prototype.getParentElement=function(a){return lIa(a)};gqc.prototype.query=function(a,b,c){a=c?Array.from(a.querySelectorAll(b)):(a=a.querySelector(b))?[a]:[];return a};
gqc.prototype.animate=function(a,b,c,d,e,f){f=f===void 0?[]:f;var h={duration:c,delay:d,fill:d==0?"both":"forwards"};e&&(h.easing=e);var l=new Map;e=f.filter(function(v){return v instanceof fqc});c!==0&&d!==0||e.forEach(function(v){v.currentSnapshot.forEach(function(y,E){return l.set(E,y)})});var q=WHa(b).map(function(v){return new Map(v)});q=cIa(a,q,l);b=RIa(a,q);return new fqc(a,q,h,b)};var hqc=function(a,b,c,d){this.namespaceId=a;this.delegate=b;this.engine=c;this._onDestroy=d};g=hqc.prototype;g.destroyNode=function(a){var b,c;(c=(b=this.delegate).destroyNode)==null||c.call(b,a)};g.destroy=function(){var a=this;this.engine.destroy(this.namespaceId,this.delegate);this.engine.afterFlushAnimationsDone(function(){queueMicrotask(function(){a.delegate.destroy()})});var b;(b=this._onDestroy)==null||b.call(this)};g.createElement=function(a,b){return this.delegate.createElement(a,b)};
g.createComment=function(a){return this.delegate.createComment(a)};g.createText=function(a){return this.delegate.createText(a)};g.appendChild=function(a,b){this.delegate.appendChild(a,b);this.engine._transitionEngine.insertNode(this.namespaceId,b,a,!1)};g.insertBefore=function(a,b,c,d){d=d===void 0?!0:d;this.delegate.insertBefore(a,b,c);this.engine._transitionEngine.insertNode(this.namespaceId,b,a,d)};
g.removeChild=function(a,b){this.parentNode(b)&&this.engine._transitionEngine.removeNode(this.namespaceId,b,this.delegate)};g.selectRootElement=function(a,b){return this.delegate.selectRootElement(a,b)};g.parentNode=function(a){return this.delegate.parentNode(a)};g.nextSibling=function(a){return this.delegate.nextSibling(a)};g.setAttribute=function(a,b,c,d){this.delegate.setAttribute(a,b,c,d)};g.removeAttribute=function(a,b,c){this.delegate.removeAttribute(a,b,c)};
g.addClass=function(a,b){this.delegate.addClass(a,b)};g.removeClass=function(a,b){this.delegate.removeClass(a,b)};g.setStyle=function(a,b,c,d){this.delegate.setStyle(a,b,c,d)};g.removeStyle=function(a,b,c){this.delegate.removeStyle(a,b,c)};g.setProperty=function(a,b,c){b.charAt(0)=="@"&&b=="@.disabled"?this.disableAnimations(a,!!c):this.delegate.setProperty(a,b,c)};g.setValue=function(a,b){this.delegate.setValue(a,b)};g.listen=function(a,b,c){return this.delegate.listen(a,b,c)};
g.disableAnimations=function(a,b){this.engine.disableAnimations(a,b)};ea.Object.defineProperties(hqc.prototype,{data:{configurable:!0,enumerable:!0,get:function(){return this.delegate.data}}});var iqc=function(a,b,c,d,e){hqc.call(this,b,c,d,e);this.factory=a;this.namespaceId=b};Y(iqc,hqc);
iqc.prototype.setProperty=function(a,b,c){b.charAt(0)=="@"?b.charAt(1)=="."&&b=="@.disabled"?this.disableAnimations(a,c===void 0?!0:!!c):this.engine.process(this.namespaceId,a,b.slice(1),c):this.delegate.setProperty(a,b,c)};
iqc.prototype.listen=function(a,b,c){var d=this;if(b.charAt(0)=="@"){a=SIa(a);b=b.slice(1);var e="";b.charAt(0)!="@"&&(e=k(TIa(b)),b=e.next().value,e=e.next().value);return this.engine.listen(this.namespaceId,a,b,e,function(f){jqc(d.factory,f._data||-1,c,f)})}return this.delegate.listen(a,b,c)};var kqc=function(a,b,c){this.delegate=a;this.engine=b;this._zone=c;this._currentId=0;this._microtaskId=1;this._animationCallbacksBuffer=[];this._rendererCache=new Map;this._cdRecurDepth=0;b.onRemovalComplete=function(d,e){e==null||e.removeChild(null,d)}};
kqc.prototype.createRenderer=function(a,b){var c=this,d=this.delegate.createRenderer(a,b),e;if(!a||!(b==null?0:(e=b.data)==null?0:e.animation)){var f=this._rendererCache;b=f.get(d);b||(b=new hqc("",d,this.engine,function(){return f.delete(d)}),f.set(d,b));return b}var h=b.id,l=b.id+"-"+this._currentId;this._currentId++;this.engine.register(l,a);var q=function(v){Array.isArray(v)?v.forEach(q):c.engine.registerTrigger(h,l,a,v.name,v)};b.data.animation.forEach(q);return new iqc(this,l,d,this.engine)};
kqc.prototype.begin=function(){this._cdRecurDepth++;this.delegate.begin&&this.delegate.begin()};kqc.prototype._scheduleCountTask=function(){var a=this;queueMicrotask(function(){a._microtaskId++})};
var jqc=function(a,b,c,d){if(b>=0&&b<a._microtaskId)a._zone.run(function(){return c(d)});else{var e=a._animationCallbacksBuffer;e.length==0&&queueMicrotask(function(){a._zone.run(function(){e.forEach(function(f){var h=k(f);f=h.next().value;h=h.next().value;f(h)});a._animationCallbacksBuffer=[]})});e.push([c,d])}};
kqc.prototype.end=function(){var a=this;this._cdRecurDepth--;this._cdRecurDepth==0&&this._zone.runOutsideAngular(function(){a._scheduleCountTask();a.engine.flush(a._microtaskId)});this.delegate.end&&this.delegate.end()};var QK=function(a,b,c){PK.call(this,a,b,c)};Y(QK,PK);QK.prototype.ngOnDestroy=function(){this.flush()};QK.\u0275fac=function(a){return new (a||QK)(md(ei),md(spc),md(ppc))};QK.\u0275prov=n({token:QK,factory:QK.\u0275fac});var lqc=[{provide:ppc,useFactory:function(){return new rpc}},{provide:PK,useClass:QK},{provide:a0b,useFactory:function(a,b,c){return new kqc(a,b,c)},deps:[BD,PK,hh]}],mqc=[{provide:spc,useFactory:function(){return new gqc}},{provide:Zv,useValue:"BrowserAnimations"}].concat(w(lqc));
w(lqc);var RK=function(){};RK.\u0275fac=function(a){return new (a||RK)};RK.\u0275mod=u({type:RK});RK.\u0275inj=p({providers:mqc,imports:[YD]});WIa(function(){});Uh({passive:!0,capture:!0});Uh({passive:!0,capture:!0});var nqc="mat-button mat-flat-button mat-icon-button mat-raised-button mat-stroked-button mat-mini-fab mat-fab".split(" "),oqc=UIa(WIa(VIa(function(a){this._elementRef=a}))),SK=function(a,b,c){var d=oqc.call(this,a)||this;d._focusMonitor=b;d._animationMode=c;d.isRoundButton=d._hasHostAttributes("mat-fab","mat-mini-fab");d.isIconButton=d._hasHostAttributes("mat-icon-button");for(var e=k(nqc),f=e.next();!f.done;f=e.next())f=f.value,d._hasHostAttributes(f)&&d._getHostElement().classList.add(f);a.nativeElement.classList.add("mat-button-base");
d.isRoundButton&&(d.color="accent");return d};Y(SK,oqc);g=SK.prototype;g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};g.focus=function(a,b){a?bx(this._focusMonitor,this._getHostElement(),a,b):this._getHostElement().focus(b)};g._getHostElement=function(){return this._elementRef.nativeElement};g._isRippleDisabled=function(){return this.disableRipple||this.disabled};
g._hasHostAttributes=function(){var a=this;return zd.apply(0,arguments).some(function(b){return a._getHostElement().hasAttribute(b)})};SK.\u0275fac=function(a){return new (a||SK)(af(ge),af(ax),af(Zv,8))};
SK.\u0275cmp=t({type:SK,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(a,b){a&1&&Mg(Ky,5);if(a&2){var c;Qg(c=Rg())&&(b.ripple=c.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:6,hostBindings:function(a,b){a&2&&(eg("disabled",b.disabled||null)("mat-id-collision",null),ng("_mat-animation-noopable",b._animationMode===
"NoopAnimations")("mat-button-disabled",b.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[cg],attrs:["mat-button",""],ngContentSelectors:["*"],decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(a,b){a&1&&(Dg(),I(0,"span",0),Eg(1),J(),K(2,"span",1)(3,"span",2));a&2&&(C(2),ng("mat-button-ripple-round",
b.isRoundButton||b.isIconButton),F("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[Ky],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}@media(forced-colors: active){.mat-button,.mat-flat-button,.mat-raised-button,.mat-icon-button,.mat-fab,.mat-mini-fab{outline:solid 1px}}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}\n"],
encapsulation:2,changeDetection:0});var TK=function(){this.onAction=new kw;this.disabled=!1};TK.prototype.handleClick=function(){this.onAction.emit()};TK.\u0275fac=function(a){return new (a||TK)};
TK.\u0275cmp=t({type:TK,selectors:[["onedev-hovercard-action"]],inputs:{disabled:"disabled"},outputs:{onAction:"onAction"},ngContentSelectors:["*"],decls:2,vars:1,consts:[["mat-button","","color","primary",1,"onedev-hovercard-action",3,"click","disabled"]],template:function(a,b){a&1&&(Dg(),I(0,"button",0),M("click",function(){return b.handleClick()}),Eg(1),J());a&2&&F("disabled",b.disabled)},dependencies:[SK],styles:[".onedev-hovercard-action[_ngcontent-%COMP%]{--onedev-card-action-background:var(--surface-default,#fff);--onedev-card-action-border:var(--hairline,#dadce0)}button.onedev-hovercard-action[_ngcontent-%COMP%]{background-color:var(--onedev-card-action-background);border-radius:0;border:none;border-top:1px solid var(--onedev-card-action-border);font-size:14px;height:40px;-webkit-box-pack:left;-webkit-justify-content:left;-moz-box-pack:left;-ms-flex-pack:left;justify-content:left;padding:0 20px;text-align:left;width:100%}"]});var UK=function(){};UK.\u0275fac=function(a){return new (a||UK)};UK.\u0275mod=u({type:UK});UK.\u0275inj=p({imports:[Ny,yy,yy]});var VK=function(){};VK.\u0275fac=function(a){return new (a||VK)};VK.\u0275mod=u({type:VK});VK.\u0275inj=p({imports:[tx,aK,Qw,UK,xy]});var WK=function(){};WK.\u0275fac=function(a){return new (a||WK)};WK.\u0275mod=u({type:WK});WK.\u0275inj=p({imports:[RE,FK,VK]});var pqc=["spanElement"],XK=function(){this.modelValue="";this.maxWidth=0;this.disabled=!1;this.displayString=""};XK.prototype.ngOnChanges=function(a){if(a.modelValue||a.disabled)this.displayString=this.modelValue||""};XK.prototype.ngDoCheck=function(){this.spanElement&&!this.disabled&&this.spanElement.nativeElement.offsetWidth>this.maxWidth&&(this.displayString=this.displayString.substring(0,this.maxWidth/this.spanElement.nativeElement.offsetWidth*this.displayString.length-3)+"...")};
XK.prototype.getTooltip=function(){return this.displayString!==this.modelValue?this.modelValue:""};XK.\u0275fac=function(a){return new (a||XK)};
XK.\u0275cmp=t({type:XK,selectors:[["b-truncated-span"]],viewQuery:function(a,b){a&1&&Mg(pqc,5);if(a&2){var c;Qg(c=Rg())&&(b.spanElement=c.first)}},inputs:{modelValue:"modelValue",maxWidth:"maxWidth",disabled:"disabled"},features:[Hd],decls:2,vars:2,consts:[["spanElement",""],[3,"matTooltip","innerHtml"]],template:function(a,b){a&1&&K(0,"span",1,0);a&2&&F("matTooltip",b.getTooltip())("innerHtml",b.displayString,nf)},dependencies:[FH,HH],encapsulation:2});var YK=function(){};YK.\u0275fac=function(a){return new (a||YK)};YK.\u0275mod=u({type:YK});YK.\u0275inj=p({imports:[RE,LH]});var qqc=function(){this.issueId="";this.customFieldMap={};this.currentUserEmail="";this.user=this.originalModelData=null;this.componentId=0;this.severity=this.priority=this.type=null;this.title="";this.verifierUser=this.verifier=this.assigneeUser=this.assignee=this.reporterUser=this.reporter=null;this.cc=[];this.ccUsers=[];this.collaborators=[];this.collaboratorsUsers=[];this.hotlistId=this.verifiedInVersion=this.targetedToVersion=this.foundInVersion=this.postmortems=this.gerritChanges=this.changelist=
this.blockingIssueId=this.blockedByIssueId=this.duplicateOfIssueId=this.plannedAllocations=null;this.customField=[];this.duplicateIssueId=this.deletionReason=this.isDeleted=null;this.isArchived=this.inProd=!1;this.effortEstimate=this.sloSnoozeType=this.sloEndTime=this.sloStartTime=null;this.status="NEW"};
qqc.prototype.setData=function(a,b,c){this.issueId=b;a=zi(a);a.status=a.status||"NEW";a.blockingIssueId=a.blockingIssueId||[];a.componentId=a.componentId||0;a.changelist=a.changelist||[];a.gerritChanges=a.gerritChanges||[];a.postmortems=a.postmortems||[];a.blockedByIssueId=a.blockedByIssueId||[];a.foundInVersion=a.foundInVersion||[];a.hotlistId=a.hotlistId||[];a.targetedToVersion=a.targetedToVersion||[];a.verifiedInVersion=a.verifiedInVersion||[];a.customField=a.customField||[];a.deletionReason=a.deletionReason||
null;a.duplicateOfIssueId=a.duplicateOfIssueId||null;a.isDeleted=a.isDeleted||!1;this.originalModelData=zi(a);this.assignee=Ri(a.assigneeUser);this.assigneeUser=a.assigneeUser;this.blockedByIssueId=a.blockedByIssueId;this.blockingIssueId=a.blockingIssueId;this.cc=Ti(a.ccUsers)||[];this.ccUsers=a.ccUsers||[];this.collaborators=Ti(a.collaboratorsUsers)||[];this.collaboratorsUsers=a.collaboratorsUsers||[];this.plannedAllocations=a.plannedAllocations;this.changelist=a.changelist;this.gerritChanges=a.gerritChanges;
this.componentId=a.componentId||0;this.deletionReason=a.deletionReason;this.duplicateIssueId=a.duplicateIssueId;this.duplicateOfIssueId=a.duplicateOfIssueId;this.foundInVersion=a.foundInVersion;this.hotlistId=a.hotlistId;this.inProd=a.inProd;this.isArchived=a.isArchived;this.isDeleted=a.isDeleted;this.postmortems=a.postmortems;this.priority=a.priority;this.reporter=Ri(a.reporterUser);this.reporterUser=a.reporterUser;this.severity=a.severity;this.status=a.status||"NEW";this.targetedToVersion=a.targetedToVersion;
this.title=a.title;this.type=a.type;this.verifiedInVersion=a.verifiedInVersion;this.verifier=Ri(a.verifierUser);this.verifierUser=a.verifierUser;this.sloStartTime=a.sloStartTime;this.sloEndTime=a.sloEndTime;this.sloSnoozeType=a.sloSnoozeType;var d,e;this.effortEstimate=(e=(d=a.effort)==null?void 0:d.estimate)!=null?e:null;this.customField=[];a&&(this.customField=(a.customField||[]).filter(function(f){return f}).map(function(f){return new rqc(f)}));c=k(c);e=c.next();for(d={};!e.done;d={fieldResource:void 0},
e=c.next())d.fieldResource=e.value,e=d.fieldResource.allowedValue?d.fieldResource.allowedValue.map(function(f){return{value:f,displayText:f}}):null,(a=this.customField.find(function(f){return function(h){return h.customFieldId===f.fieldResource.customFieldId}}(d)))?(a.type=d.fieldResource.type,a.customFieldName=d.fieldResource.name,a.choices=e,this.customFieldMap[String(d.fieldResource.customFieldId)]=a):(a=new rqc({customFieldId:d.fieldResource.customFieldId}),a.type=d.fieldResource.type,a.customFieldName=
d.fieldResource.name,a.choices=e,this.customFieldMap[String(d.fieldResource.customFieldId)]=a)};
var vqc=function(a){for(var b=[],c=k(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next()){d=d.value;var e=sqc(a,d.customFieldId);if(!yi(e?Bn(e):null,Bn(d))){if(e=Cn(d))d.textValue="";b.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}}if(a.originalModelData){ZK(Ri(a.originalModelData.assigneeUser),a.assignee,"assignee",b);ZK(a.originalModelData.componentId,a.componentId,"componentId",b,!0);ZK(a.originalModelData.deletionReason,a.deletionReason,"deletionReason",
b);ZK(a.originalModelData.duplicateOfIssueId,a.duplicateOfIssueId,"duplicateOfIssueId",b);ZK(a.originalModelData.inProd,a.inProd,"inProd",b);ZK(a.originalModelData.isArchived,a.isArchived,"isArchived",b);ZK(a.originalModelData.isDeleted,a.isDeleted,"isDeleted",b);ZK(a.originalModelData.priority,a.priority,"priority",b);ZK(Ri(a.originalModelData.reporterUser),a.reporter,"reporter",b);ZK(a.originalModelData.severity,a.severity,"severity",b);ZK(a.originalModelData.status,a.status,"status",b);ZK(a.originalModelData.title,
a.title,"title",b);ZK(a.originalModelData.type,a.type,"type",b);ZK(Ri(a.originalModelData.verifierUser),a.verifier,"verifier",b);var f,h,l,q;ZK((l=(f=a.originalModelData.sloStartTime)==null?void 0:f.seconds)!=null?l:null,(q=(h=a.sloStartTime)==null?void 0:h.seconds)!=null?q:null,"sloStartTime",b);var v,y,E,H;ZK((E=(v=a.originalModelData.sloEndTime)==null?void 0:v.seconds)!=null?E:null,(H=(y=a.sloEndTime)==null?void 0:y.seconds)!=null?H:null,"sloEndTime",b);ZK(a.originalModelData.sloSnoozeType,a.sloSnoozeType,
"sloSnoozeType",b);var O,N;ZK((N=(O=a.originalModelData.effort)==null?void 0:O.estimate)!=null?N:null,a.effortEstimate,"effortEstimate",b);$K(Ti(a.originalModelData.ccUsers),a.cc,"ccs",b);$K(Ti(a.originalModelData.collaboratorsUsers),a.collaborators,"collaborators",b);tqc(a.originalModelData.plannedAllocations,a.plannedAllocations,b);$K(a.originalModelData.changelist,a.changelist,"changelists",b);uqc(a.originalModelData.gerritChanges,a.gerritChanges,b);$K(a.originalModelData.blockedByIssueId,a.blockedByIssueId,
"blockedByIssueId",b);$K(a.originalModelData.blockingIssueId,a.blockingIssueId,"blockingIssueId",b);$K(a.originalModelData.foundInVersion,a.foundInVersion,"foundInVersion",b);$K(a.originalModelData.targetedToVersion,a.targetedToVersion,"targetedToVersion",b);$K(a.originalModelData.verifiedInVersion,a.verifiedInVersion,"verifiedInVersion",b);$K(a.originalModelData.hotlistId,a.hotlistId,"hotlists",b)}return b.length?{issueId:a.issueId,actions:b}:null},ZK=function(a,b,c,d,e){a!==b&&(a={fieldName:c,value:b!=
null?String(b):void 0},e&&(a.ignoreOnIssueEditRequest=!0),d.push(a))},$K=function(a,b,c,d){var e=hra(b||[],new Set(a));a=hra(a||[],new Set(b));e.length&&d.push({fieldName:c,value:e.join(","),actionType:"ADD"});a.length&&d.push({fieldName:c,value:a.join(","),actionType:"REMOVE"})},uqc=function(a,b,c){var d=$sa(b!=null?b:[],a!=null?a:[]);a=$sa(a!=null?a:[],b!=null?b:[]).filter(function(e){return e.state!=="PENDING"});d.length&&c.push({fieldName:"gerritChanges",gerritChangeValue:d,actionType:"ADD"});
a.length&&c.push({fieldName:"gerritChanges",gerritChangeValue:a,actionType:"REMOVE"})},tqc=function(a,b,c){var d,e=XIa((d=b==null?void 0:b.plannedAllocations)!=null?d:[]),f,h=XIa((f=a==null?void 0:a.plannedAllocations)!=null?f:[]);a=[].concat(w(e.entries())).filter(function(l){var q=k(l);l=q.next().value;q=q.next().value;return!h.has(l)||!yi(h.get(l),q)}).map(function(l){l=k(l);l.next();return l.next().value});b=a.map(function(l){if(l.user){var q,v=(q=l.user.user)==null?void 0:q.emailAddress,y;l=
(y=l.allocation)==null?void 0:y.involvement;return""+v+(l?" ("+mta[l]+")":"")}return l.placeholder?"Placeholder: "+l.placeholder.count+" "+l.placeholder.role:""}).join(", ");d=[].concat(w(h.entries())).filter(function(l){l=k(l).next().value;return!e.has(l)}).map(function(l){l=k(l);l.next();return l.next().value});f=d.map(function(l){if(l.user){var q;return(q=l.user.user)==null?void 0:q.emailAddress}return l.placeholder?"Placeholder: "+l.placeholder.role:""}).join(", ");a.length&&c.push({fieldName:"staffing",
staffingValue:{plannedAllocations:a},actionType:"ADD",value:b});d.length&&c.push({fieldName:"staffing",staffingValue:{plannedAllocations:d},actionType:"REMOVE",value:f})};g=qqc.prototype;
g.setCustomField=function(a,b){a=String(a);if(this.customFieldMap[a]){var c=this.customFieldMap[a].type;if(c)switch(c){case "TYPE_UNSPECIFIED":break;case "TEXT":this.customFieldMap[a].textValue=b||"";break;case "DATE":this.customFieldMap[a].dateValue=b||void 0;break;case "ENUM":this.customFieldMap[a].enumValue=b||"";break;case "NUMERIC":this.customFieldMap[a].numericValue=b;break;case "REPEATED_TEXT":this.customFieldMap[a].repeatedTextValue={values:b};break;case "REPEATED_DATE":this.customFieldMap[a].repeatedDateValue=
{values:b};break;case "REPEATED_ENUM":this.customFieldMap[a].repeatedEnumValue={values:b};break;case "REPEATED_NUMERIC":this.customFieldMap[a].repeatedNumericValue={values:b};break;default:xb(c,"Unexpected custom field type: "+c)}}};g.setIsDeleted=function(a){this.isDeleted=a};g.setIsArchived=function(a){this.isArchived=a};g.setDeletionReason=function(a){this.deletionReason=a};g.setReporter=function(a){this.reporter=a};g.setType=function(a){this.type=a};g.setPriority=function(a){this.priority=a};
g.setSeverity=function(a){this.severity=a};g.setAssignee=function(a){this.assignee=a;a=$k[this.status];!this.assignee&&this.originalModelData&&Ri(this.originalModelData.assigneeUser)&&(a==null?void 0:a.assigneeRequirement)==="REQUIRED"?this.status="NEW":this.assignee&&this.status!=="FIXED"&&this.status!=="VERIFIED"&&(this.status="ASSIGNED")};
g.setVerifier=function(a){this.verifier=a;!this.verifier&&this.originalModelData&&Ri(this.originalModelData.verifierUser)&&this.originalModelData.status==="VERIFIED"&&(this.status="FIXED")};
g.setStatus=function(a){this.status=a;a=$k[this.status];(a==null?void 0:a.assigneeRequirement)==="FORBIDDEN"&&this.assigneeUser?this.assignee="":(a==null?void 0:a.assigneeRequirement)!=="REQUIRED"||this.assigneeUser||(this.assignee=this.currentUserEmail);this.status!=="VERIFIED"||this.verifier||(this.verifier=this.currentUserEmail)};g.setInProd=function(a){this.inProd=a};g.setCollaborators=function(a){this.collaborators=a};g.setPlannedAllocations=function(a){this.plannedAllocations=a};
g.setSloEndTime=function(a){this.sloEndTime=a};g.setSloSnoozeType=function(a){this.sloSnoozeType=a};g.setCodeChanges=function(a){var b=[],c=[];a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=Lk(d);e?b.push(e):c.push(d)}this.changelist=c!=null?c:[];this.gerritChanges=b!=null?b:[]};
var sqc=function(a,b){return a.originalModelData?(a=(a.originalModelData.customField||[]).find(function(c){return c.customFieldId===b}))?a:null:null},CZa=function(a,b){var c=[];b!==void 0&&!b&&a.changelist&&c.push.apply(c,w(a.changelist));a.gerritChanges&&c.push.apply(c,w(a.gerritChanges.filter(function(d){return d.state==="MERGED"}).map(function(d){return Wsa(d)})));return c},wqc=function(a){return a.gerritChanges?a.gerritChanges.filter(function(b){return b.state==="PENDING"}).map(function(b){return Wsa(b)}):
[]},rqc=function(a){this.choices=this.customFieldName=this.type=null;this.customFieldId=a.customFieldId;this.displayValues=a.displayValues;this.textValue=a.textValue;this.dateValue=a.dateValue;this.enumValue=a.enumValue;this.numericValue=a.numericValue;this.repeatedTextValue=a.repeatedTextValue;this.repeatedDateValue=a.repeatedDateValue;this.repeatedEnumValue=a.repeatedEnumValue;this.repeatedNumericValue=a.repeatedNumericValue};
rqc.prototype.isRepeated=function(){return this.type==null?!1:["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var xqc=new Map([["assignee",function(a,b){a.assigneeUser=Yi(b.assignee)}],["ccs",function(a,b){a.ccUsers=b.cc.map(Yi).filter(kj)}],["changelists",function(a,b){a.changelist=b.changelist}],["hotlists",function(a,b){a.hotlistId=b.hotlistId}],["reporter",function(a,b){a.reporterUser=Yi(b.reporter)}],["verifier",function(a,b){a.verifierUser=Yi(b.verifier)}],["componentId",function(a,b){a.componentId=b.componentId}],["deletionReason",function(a,b){a.deletionReason=b.deletionReason}],["duplicateOfIssueId",
function(a,b){a.duplicateOfIssueId=b.duplicateOfIssueId}],["inProd",function(a,b){a.inProd=b.inProd}],["isArchived",function(a,b){a.isArchived=b.isArchived}],["isDeleted",function(a,b){a.isDeleted=b.isDeleted}],["priority",function(a,b){a.priority=b.priority}],["severity",function(a,b){a.severity=b.severity}],["status",function(a,b){a.status=b.status}],["title",function(a,b){a.title=b.title}],["type",function(a,b){a.type=b.type}],["blockedByIssueId",function(a,b){a.blockedByIssueId=b.blockedByIssueId}],
["blockingIssueId",function(a,b){a.blockingIssueId=b.blockingIssueId}],["foundInVersion",function(a,b){a.foundInVersion=b.foundInVersion}],["targetedToVersion",function(a,b){a.targetedToVersion=b.targetedToVersion}],["verifiedInVersion",function(a,b){a.verifiedInVersion=b.verifiedInVersion}]]);var aL=new Bd("buganizerWindow",{factory:function(){return window}});var bL=function(){this.$window=r(aL)};bL.\u0275fac=function(a){return new (a||bL)};bL.\u0275prov=n({token:bL,factory:bL.\u0275fac,providedIn:"root"});var cL=function(){this.session=r(dv);this.baseDocumentationUrl=this.session.getDocumentationBaseUrl()},oq=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-control":a.baseDocumentationUrl+"/concepts/access-control"},yqc=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-control#hotlists":a.baseDocumentationUrl+"/concepts/access-control#hotlists"};
cL.prototype.getIssueAccessLimit=function(){return this.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-control.md?cl=head#issue_access_limits":this.baseDocumentationUrl+"/concepts/issues#issue_access_limits"};
var zqc=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/automation-access":oq(a)},kTa=function(a){if(!a.session.isExternalSession())return"http://go/buganizer-external-access"},Aqc=function(a){if(!a.session.isExternalSession())return"http://go/buganizer-public-access"},Bqc=function(a){if(a=Aqc(a))return a+"#recommended-access-settings"},Cqc=function(a){if(a=Aqc(a))return a+"#fully-public-component"},Dqc=function(a){return a.session.isExternalSession()?
a.baseDocumentationUrl+"#terms_of_service":"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/public-access#spam"},iGb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/guides/manage-component#enabling-comment-editing"},Zu=function(){return"http://go/buganizer-retention"};cL.prototype.getRestrictedAccessHelpLink=function(){return this.session.isExternalSession()?"https://developers.google.com/issue-tracker/concepts/restricted-content":"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/restricted-access"};
var yRb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/custom-fields"};cL.prototype.getDisablingFieldsHelpLink=function(){return yRb()+"#hiding-inherited-fields"};var Eqc=function(a){return a.session.isInternalSession()?"http://go/delete-comments-attachments":""};cL.\u0275fac=function(a){return new (a||cL)};cL.\u0275prov=n({token:cL,factory:cL.\u0275fac,providedIn:"root"});var dL=function(a,b,c){var d=this;this._ref=a;this._containerInstance=c;this._afterOpened=new Jf;this._beforeClosed=new Jf;this._state=0;this.disableClose=b.disableClose;this.id=a.id;a.addPanelClass("mat-mdc-dialog-panel");c._animationStateChanged.pipe(Ye(function(e){return e.state==="opened"}),Cf()).subscribe(function(){d._afterOpened.next();d._afterOpened.complete()});c._animationStateChanged.pipe(Ye(function(e){return e.state==="closed"}),Cf()).subscribe(function(){clearTimeout(d._closeFallbackTimeout);
d._finishDialogClose()});a.overlayRef._detachments.subscribe(function(){d._beforeClosed.next(d._result);d._beforeClosed.complete();d._finishDialogClose()});Xe(this.backdropClick(),this.keydownEvents().pipe(Ye(function(e){return e.keyCode===27&&!d.disableClose&&!Yh(e)}))).subscribe(function(e){d.disableClose||(e.preventDefault(),d._closeInteractionType=e.type==="keydown"?"keyboard":"mouse",d.close(void 0))})};
dL.prototype.close=function(a){var b=this;this._result=a;this._containerInstance._animationStateChanged.pipe(Ye(function(c){return c.state==="closing"}),Cf()).subscribe(function(c){b._beforeClosed.next(a);b._beforeClosed.complete();$2b(b._ref.overlayRef);b._closeFallbackTimeout=setTimeout(function(){return b._finishDialogClose()},c.totalTime+100)});this._state=1;this._containerInstance._startExitAnimation()};dL.prototype.afterOpened=function(){return this._afterOpened};var eL=function(a){return a._ref.closed};
g=dL.prototype;g.backdropClick=function(){return this._ref.backdropClick};g.keydownEvents=function(){return this._ref.keydownEvents};g.updatePosition=function(a){var b=this._ref.config.positionStrategy;a&&(a.left||a.right)?a.left?b.left(a.left):b.right(a.right):iy(b);a&&(a.top||a.bottom)?a.top?b.top(a.top):b.bottom(a.bottom):j3b(b);this._ref.updatePosition()};g.updateSize=function(a,b){this._ref.updateSize(a===void 0?"":a,b===void 0?"":b)};g.addPanelClass=function(a){this._ref.addPanelClass(a)};
g.removePanelClass=function(a){this._ref.removePanelClass(a)};g.getState=function(){return this._state};g._finishDialogClose=function(){this._state=2;this._ref.close(this._result,{focusOrigin:this._closeInteractionType});this.componentInstance=null};var Fqc=function(){this.role="dialog";this.panelClass="";this.hasBackdrop=!0;this.backdropClass="";this.disableClose=!1;this.height=this.width="";this.ariaLabel=this.ariaLabelledBy=this.ariaDescribedBy=this.data=null;this.ariaModal=!0;this.autoFocus="first-tabbable";this.closeOnOverlayDetachments=this.closeOnDestroy=this.closeOnNavigation=this.restoreFocus=!0};var fL=function(){this._isDisposed=!1;this._elementRef=r(ge);this._focusTrapFactory=r(ix);this._interactivityChecker=r(dx);this._ngZone=r(hh);this._overlayRef=r(dy);this._focusMonitor=r(ax);this._platform=r(Xw);this._document=r(ei,{optional:!0});this._closeInteractionType=this._elementFocusedBeforeDialogWasOpened=this._focusTrap=null;this._ariaLabelledByQueue=[];this._changeDetectorRef=r(rw);this._injector=r(Sf);this._isDestroyed=!1;this._config=r(Fqc,{optional:!0})||new Fqc;this._config.ariaLabelledBy&&
this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)};Y(fL,oy);g=fL.prototype;g._addAriaLabelledBy=function(a){this._ariaLabelledByQueue.push(a);this._changeDetectorRef.markForCheck()};g._removeAriaLabelledBy=function(a){a=this._ariaLabelledByQueue.indexOf(a);a>-1&&(this._ariaLabelledByQueue.splice(a,1),this._changeDetectorRef.markForCheck())};g._contentAttached=function(){this._initializeFocusTrap();this._handleBackdropClicks();this._captureInitialFocus()};g._captureInitialFocus=function(){this._trapFocus()};
g.ngOnDestroy=function(){this._isDestroyed=!0;this._restoreFocus()};g.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._contentAttached();return a};g.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._contentAttached();return a};g._recaptureFocus=function(){this._containsFocus()||this._trapFocus()};
g._forceFocus=function(a,b){this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(function(){var c=function(){a.removeEventListener("blur",c);a.removeEventListener("mousedown",c);a.removeAttribute("tabindex")};a.addEventListener("blur",c);a.addEventListener("mousedown",c)}));a.focus(b)};g._focusByCssSelector=function(a,b){(a=this._elementRef.nativeElement.querySelector(a))&&this._forceFocus(a,b)};
g._trapFocus=function(){var a=this;this._isDestroyed||Uf(function(){var b=a._elementRef.nativeElement;switch(a._config.autoFocus){case !1:case "dialog":a._containsFocus()||b.focus();break;case !0:case "first-tabbable":var c;((c=a._focusTrap)==null?0:c.focusInitialElement())||a._focusDialogContainer();break;case "first-heading":a._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:a._focusByCssSelector(a._config.autoFocus)}},{injector:this._injector})};
g._restoreFocus=function(){var a=this._config.restoreFocus,b=null;typeof a==="string"?b=this._document.querySelector(a):typeof a==="boolean"?b=a?this._elementFocusedBeforeDialogWasOpened:null:a&&(b=a);if(this._config.restoreFocus&&b&&typeof b.focus==="function"){a=Wh();var c=this._elementRef.nativeElement;if(!a||a===this._document.body||a===c||c.contains(a))this._focusMonitor?(bx(this._focusMonitor,b,this._closeInteractionType),this._closeInteractionType=null):b.focus()}this._focusTrap&&this._focusTrap.destroy()};
g._focusDialogContainer=function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()};g._containsFocus=function(){var a=this._elementRef.nativeElement,b=Wh();return a===b||a.contains(b)};g._initializeFocusTrap=function(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Wh()))};
g._handleBackdropClicks=function(){var a=this;this._overlayRef.backdropClick().subscribe(function(){a._config.disableClose&&a._recaptureFocus()})};fL.\u0275fac=function(a){return new (a||fL)};
fL.\u0275cmp=t({type:fL,selectors:[["cdk-dialog-container"]],viewQuery:function(a,b){a&1&&Mg(ry,7);if(a&2){var c;Qg(c=Rg())&&(b._portalOutlet=c.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(a,b){a&2&&eg("id",b._config.id||null)("role",b._config.role)("aria-modal",b._config.ariaModal)("aria-labelledby",b._config.ariaLabel?null:b._ariaLabelledByQueue[0])("aria-label",b._config.ariaLabel)("aria-describedby",b._config.ariaDescribedBy||null)},standalone:!0,
features:[cg,$g],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&D(0,YIa,0,0,"ng-template",0)},dependencies:[ry],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2});var Gqc=new Bd("DialogScrollStrategy",{providedIn:"root",factory:function(){var a=r(ty);return function(){return a.scrollStrategies.block()}}}),Hqc=new Bd("DialogData"),Iqc=new Bd("DefaultDialogConfig");var Jqc=function(a,b){var c=this;this.overlayRef=a;this.config=b;this.closed=new Jf;this.disableClose=b.disableClose;this.backdropClick=a.backdropClick();this.keydownEvents=a.keydownEvents();this.outsidePointerEvents=a.outsidePointerEvents();this.id=b.id;this.keydownEvents.subscribe(function(d){d.keyCode!==27||c.disableClose||Yh(d)||(d.preventDefault(),c.close(void 0,{focusOrigin:"keyboard"}))});this.backdropClick.subscribe(function(){c.disableClose||c.close(void 0,{focusOrigin:"mouse"})});this._detachSubscription=
a._detachments.subscribe(function(){b.closeOnOverlayDetachments!==!1&&c.close()})};g=Jqc.prototype;g.close=function(a,b){if(this.containerInstance){var c=this.closed;this.containerInstance._closeInteractionType=(b==null?void 0:b.focusOrigin)||"program";this._detachSubscription.unsubscribe();this.overlayRef.dispose();c.next(a);c.complete();this.componentInstance=this.containerInstance=null}};g.updatePosition=function(){this.overlayRef.updatePosition()};
g.updateSize=function(a,b){this.overlayRef.updateSize({width:a===void 0?"":a,height:b===void 0?"":b})};g.addPanelClass=function(a){this.overlayRef.addPanelClass(a)};g.removePanelClass=function(a){this.overlayRef.removePanelClass(a)};var Kqc=0,gL=function(){this._overlay=r(ty);this._injector=r(Sf);this._defaultOptions=r(Iqc,{optional:!0});this._parentDialog=r(gL,{optional:!0,skipSelf:!0});this._overlayContainer=r(Px);this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new Jf;this._afterOpenedAtThisLevel=new Jf;this._ariaHiddenElements=new Map;this._scrollStrategy=r(Gqc)};g=gL.prototype;
g.open=function(a,b){var c=this;b=Object.assign({},this._defaultOptions||new Fqc,b);b.id=b.id||"cdk-dialog-"+Kqc++;b.id&&this.getDialogById(b.id);var d=this._getOverlayConfig(b);d=this._overlay.create(d);var e=new Jqc(d,b);d=this._attachContainer(d,e,b);e.containerInstance=d;this._attachDialogContent(a,e,d,b);this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology();this.openDialogs.push(e);e.closed.subscribe(function(){return c._removeOpenDialog(e,!0)});this.afterOpened.next(e);
return e};g.closeAll=function(){ZIa(this.openDialogs,function(a){return a.close()})};g.getDialogById=function(a){this.openDialogs.find(function(b){return b.id===a})};g.ngOnDestroy=function(){var a=this;ZIa(this._openDialogsAtThisLevel,function(b){b.config.closeOnDestroy===!1&&a._removeOpenDialog(b,!1)});ZIa(this._openDialogsAtThisLevel,function(b){return b.close()});this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete();this._openDialogsAtThisLevel=[]};
g._getOverlayConfig=function(a){var b=new cy({positionStrategy:a.positionStrategy||j3b(iy(this._overlay.position().global())),scrollStrategy:a.scrollStrategy||this._scrollStrategy(),panelClass:a.panelClass,hasBackdrop:a.hasBackdrop,direction:a.direction,minWidth:a.minWidth,minHeight:a.minHeight,maxWidth:a.maxWidth,maxHeight:a.maxHeight,width:a.width,height:a.height,disposeOnNavigation:a.closeOnNavigation});a.backdropClass&&(b.backdropClass=a.backdropClass);return b};
g._attachContainer=function(a,b,c){var d,e=c.injector||((d=c.viewContainerRef)==null?void 0:d.injector);b=[{provide:Fqc,useValue:c},{provide:Jqc,useValue:b},{provide:dy,useValue:a}];c.container?typeof c.container==="function"?d=c.container:(d=c.container.type,b.push.apply(b,w(c.container.providers(c)))):d=fL;c=new my(d,c.viewContainerRef,qh({parent:e||this._injector,providers:b}));return a.attach(c).instance};
g._attachDialogContent=function(a,b,c,d){if(a instanceof Jg){var e=this._createInjector(d,b,c,void 0);b={$implicit:d.data,dialogRef:b};d.templateContext&&(b=Object.assign({},b,typeof d.templateContext==="function"?d.templateContext():d.templateContext));c.attachTemplatePortal(new ny(a,null,b,e))}else e=this._createInjector(d,b,c,this._injector),a=c.attachComponentPortal(new my(a,d.viewContainerRef,e)),b.componentRef=a,b.componentInstance=a.instance};
g._createInjector=function(a,b,c,d){var e,f=a.injector||((e=a.viewContainerRef)==null?void 0:e.injector);e=[{provide:Hqc,useValue:a.data},{provide:Jqc,useValue:b}];a.providers&&(typeof a.providers==="function"?e.push.apply(e,w(a.providers(b,a,c))):e.push.apply(e,w(a.providers)));!a.direction||f&&f.get(Jx,null,{optional:!0})||e.push({provide:Jx,useValue:{value:a.direction,change:Fe()}});return qh({parent:f||d,providers:e})};
g._removeOpenDialog=function(a,b){a=this.openDialogs.indexOf(a);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(c,d){c?d.setAttribute("aria-hidden",c):d.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),b&&this._getAfterAllClosed().next()))};
g._hideNonDialogContentFromAssistiveTechnology=function(){var a=U2b(this._overlayContainer);if(a.parentElement)for(var b=a.parentElement.children,c=b.length-1;c>-1;c--){var d=b[c];d===a||d.nodeName==="SCRIPT"||d.nodeName==="STYLE"||d.hasAttribute("aria-live")||(this._ariaHiddenElements.set(d,d.getAttribute("aria-hidden")),d.setAttribute("aria-hidden","true"))}};g._getAfterAllClosed=function(){var a=this._parentDialog;return a?a._getAfterAllClosed():this._afterAllClosedAtThisLevel};
ea.Object.defineProperties(gL.prototype,{openDialogs:{configurable:!0,enumerable:!0,get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},afterOpened:{configurable:!0,enumerable:!0,get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}}});gL.\u0275fac=function(a){return new (a||gL)};gL.\u0275prov=n({token:gL,factory:gL.\u0275fac,providedIn:"root"});var hL=function(){};hL.\u0275fac=function(a){return new (a||hL)};hL.\u0275mod=u({type:hL});hL.\u0275inj=p({providers:[gL],imports:[xy,sy,tx,sy]});var Lqc=function(){this.role="dialog";this.panelClass="";this.hasBackdrop=!0;this.backdropClass="";this.disableClose=!1;this.height=this.width="";this.ariaLabel=this.ariaLabelledBy=this.ariaDescribedBy=this.data=null;this.ariaModal=!0;this.autoFocus="first-tabbable";this.closeOnNavigation=this.delayFocusTrap=this.restoreFocus=!0};var iL=function(){fL.apply(this,arguments);var a=this;this._animationMode=r(Zv,{optional:!0});this._animationStateChanged=new kw;this._animationsEnabled=this._animationMode!=="NoopAnimations";this._actionSectionCount=0;this._hostElement=this._elementRef.nativeElement;var b;this._enterAnimationDuration=this._animationsEnabled?(b=aJa(this._config.enterAnimationDuration))!=null?b:150:0;var c;this._exitAnimationDuration=this._animationsEnabled?(c=aJa(this._config.exitAnimationDuration))!=null?c:75:0;
this._animationTimer=null;this._finishDialogOpen=function(){a._clearAnimationClasses();a._openAnimationDone(a._enterAnimationDuration)};this._finishDialogClose=function(){a._clearAnimationClasses();a._animationStateChanged.emit({state:"closed",totalTime:a._exitAnimationDuration})}};Y(iL,fL);g=iL.prototype;g._contentAttached=function(){fL.prototype._contentAttached.call(this);this._startOpenAnimation()};
g._startOpenAnimation=function(){var a=this;this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration});this._animationsEnabled?(this._hostElement.style.setProperty("--mat-dialog-transition-duration",this._enterAnimationDuration+"ms"),this._requestAnimationFrame(function(){return a._hostElement.classList.add("mdc-dialog--opening","mdc-dialog--open")}),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add("mdc-dialog--open"),
Promise.resolve().then(function(){return a._finishDialogOpen()}))};
g._startExitAnimation=function(){var a=this;this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration});this._hostElement.classList.remove("mdc-dialog--open");this._animationsEnabled?(this._hostElement.style.setProperty("--mat-dialog-transition-duration",this._exitAnimationDuration+"ms"),this._requestAnimationFrame(function(){return a._hostElement.classList.add("mdc-dialog--closing")}),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):
Promise.resolve().then(function(){return a._finishDialogClose()})};g._updateActionSectionCount=function(a){this._actionSectionCount+=a;this._changeDetectorRef.markForCheck()};g._clearAnimationClasses=function(){this._hostElement.classList.remove("mdc-dialog--opening","mdc-dialog--closing")};g._waitForAnimationToComplete=function(a,b){this._animationTimer!==null&&clearTimeout(this._animationTimer);this._animationTimer=setTimeout(b,a)};
g._requestAnimationFrame=function(a){this._ngZone.runOutsideAngular(function(){typeof requestAnimationFrame==="function"?requestAnimationFrame(a):a()})};g._captureInitialFocus=function(){this._config.delayFocusTrap||this._trapFocus()};g._openAnimationDone=function(a){this._config.delayFocusTrap&&this._trapFocus();this._animationStateChanged.next({state:"opened",totalTime:a})};g.ngOnDestroy=function(){fL.prototype.ngOnDestroy.call(this);this._animationTimer!==null&&clearTimeout(this._animationTimer)};
g.attachComponentPortal=function(a){a=fL.prototype.attachComponentPortal.call(this,a);a.location.nativeElement.classList.add("mat-mdc-dialog-component-host");return a};iL.\u0275fac=function(){var a;return function(b){return(a||(a=de(iL)))(b||iL)}}();
iL.\u0275cmp=t({type:iL,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(a,b){a&2&&(yg("id",b._config.id),eg("aria-modal",b._config.ariaModal)("role",b._config.role)("aria-labelledby",b._config.ariaLabel?null:b._ariaLabelledByQueue[0])("aria-label",b._config.ariaLabel)("aria-describedby",b._config.ariaDescribedBy||null),ng("_mat-animation-noopable",!b._animationsEnabled)("mat-mdc-dialog-container-with-actions",
b._actionSectionCount>0))},standalone:!0,features:[cg,$g],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(a){a&1&&(I(0,"div",0)(1,"div",1),D(2,$Ia,0,0,"ng-template",2),J()())},dependencies:[ry],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mdc-dialog-container-shape, var(--mat-app-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-app-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-app-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-app-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-app-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-app-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-app-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-app-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-app-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-app-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-app-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-app-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-app-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}\n'],
encapsulation:2});var jL=new Bd("MatMdcDialogData"),Mqc=new Bd("mat-mdc-dialog-default-options"),Nqc=new Bd("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:function(){var a=r(ty);return function(){return a.scrollStrategies.block()}}}),Oqc=0,kL=function(){this._overlay=r(ty);this._defaultOptions=r(Mqc,{optional:!0});this._scrollStrategy=r(Nqc);this._parentDialog=r(kL,{optional:!0,skipSelf:!0});this._dialog=r(gL);this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new Jf;this._afterOpenedAtThisLevel=
new Jf;this.dialogConfigClass=Lqc;this._dialogRefConstructor=dL;this._dialogContainerType=iL;this._dialogDataToken=jL};g=kL.prototype;g._getAfterAllClosed=function(){var a=this._parentDialog;return a?a._getAfterAllClosed():this._afterAllClosedAtThisLevel};
g.open=function(a,b){var c=this,d;b=Object.assign({},this._defaultOptions||new Lqc,b);b.id=b.id||"mat-mdc-dialog-"+Oqc++;b.scrollStrategy=b.scrollStrategy||this._scrollStrategy();a=this._dialog.open(a,Object.assign({},b,{positionStrategy:j3b(iy(this._overlay.position().global())),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:function(){return[{provide:c.dialogConfigClass,useValue:b},{provide:Fqc,useValue:b}]}},templateContext:function(){return{dialogRef:d}},
providers:function(e,f,h){d=new c._dialogRefConstructor(e,b,h);var l;d.updatePosition((l=b)==null?void 0:l.position);return[{provide:c._dialogContainerType,useValue:h},{provide:c._dialogDataToken,useValue:f.data},{provide:c._dialogRefConstructor,useValue:d}]}}));d.componentRef=a.componentRef;d.componentInstance=a.componentInstance;this.openDialogs.push(d);this.afterOpened.next(d);eL(d).subscribe(function(){var e=c.openDialogs.indexOf(d);e>-1&&(c.openDialogs.splice(e,1),c.openDialogs.length||c._getAfterAllClosed().next())});
return d};g.closeAll=function(){this._closeDialogs(this.openDialogs)};g.getDialogById=function(a){this.openDialogs.find(function(b){return b.id===a})};g.ngOnDestroy=function(){this._closeDialogs(this._openDialogsAtThisLevel);this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete()};g._closeDialogs=function(a){for(var b=a.length;b--;)a[b].close()};
ea.Object.defineProperties(kL.prototype,{openDialogs:{configurable:!0,enumerable:!0,get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},afterOpened:{configurable:!0,enumerable:!0,get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}}});kL.\u0275fac=function(a){return new (a||kL)};kL.\u0275prov=n({token:kL,factory:kL.\u0275fac,providedIn:"root"});var Pqc=0,lL=function(){this.dialogRef=r(dL,{optional:!0});this._elementRef=r(ge);this._dialog=r(kL);this.type="button"};lL.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=bJa(this._elementRef,this._dialog.openDialogs))};lL.prototype.ngOnChanges=function(a){if(a=a._matDialogClose||a._matDialogCloseResult)this.dialogResult=a.currentValue};
lL.prototype._onButtonClick=function(a){var b=this.dialogRef,c=this.dialogResult;b._closeInteractionType=a.screenX===0&&a.screenY===0?"keyboard":"mouse";b.close(c)};lL.\u0275fac=function(a){return new (a||lL)};
lL.\u0275dir=ud({type:lL,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(a,b){a&1&&M("click",function(c){return b._onButtonClick(c)});a&2&&eg("aria-label",b.ariaLabel||null)("type",b.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[Hd]});
var mL=function(){this._dialogRef=r(dL,{optional:!0});this._elementRef=r(ge);this._dialog=r(kL)};mL.prototype.ngOnInit=function(){var a=this;this._dialogRef||(this._dialogRef=bJa(this._elementRef,this._dialog.openDialogs));this._dialogRef&&Promise.resolve().then(function(){a._onAdd()})};mL.prototype.ngOnDestroy=function(){var a=this,b;((b=this._dialogRef)==null?0:b._containerInstance)&&Promise.resolve().then(function(){a._onRemove()})};mL.\u0275fac=function(a){return new (a||mL)};
mL.\u0275dir=ud({type:mL,standalone:!0});var nL=function(){mL.apply(this,arguments);this.id="mat-mdc-dialog-title-"+Pqc++};Y(nL,mL);nL.prototype._onAdd=function(){var a,b;(a=this._dialogRef._containerInstance)==null||(b=a._addAriaLabelledBy)==null||b.call(a,this.id)};nL.prototype._onRemove=function(){var a,b,c;(a=this._dialogRef)==null||(b=a._containerInstance)==null||(c=b._removeAriaLabelledBy)==null||c.call(b,this.id)};nL.\u0275fac=function(){var a;return function(b){return(a||(a=de(nL)))(b||nL)}}();
nL.\u0275dir=ud({type:nL,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(a,b){a&2&&yg("id",b.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[cg]});var oL=function(){};oL.\u0275fac=function(a){return new (a||oL)};
oL.\u0275dir=ud({type:oL,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0,features:[function(a){var b=function(c){var d=(Array.isArray(a)?a:a()).map(function(e){return typeof e==="function"?{directive:jd(e),inputs:sd,outputs:sd}:{directive:jd(e.directive),inputs:Wka(e.inputs),outputs:Wka(e.outputs)}});c.hostDirectives===null?(c.findHostDirectiveDefs=Vka,c.hostDirectives=d):c.hostDirectives.unshift.apply(c.hostDirectives,
w(d))};b.ngInherit=!0;return b}([Vx])]});var pL=function(){mL.apply(this,arguments)};Y(pL,mL);pL.prototype._onAdd=function(){var a,b;(a=this._dialogRef._containerInstance)==null||(b=a._updateActionSectionCount)==null||b.call(a,1)};pL.prototype._onRemove=function(){var a,b;(a=this._dialogRef._containerInstance)==null||(b=a._updateActionSectionCount)==null||b.call(a,-1)};pL.\u0275fac=function(){var a;return function(b){return(a||(a=de(pL)))(b||pL)}}();
pL.\u0275dir=ud({type:pL,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(a,b){a&2&&ng("mat-mdc-dialog-actions-align-start",b.align==="start")("mat-mdc-dialog-actions-align-center",b.align==="center")("mat-mdc-dialog-actions-align-end",b.align==="end")},inputs:{align:"align"},standalone:!0,features:[cg]});var qL=function(){};qL.\u0275fac=function(a){return new (a||qL)};qL.\u0275mod=u({type:qL});qL.\u0275inj=p({providers:[kL],imports:[hL,xy,sy,yy,yy]});var Qqc=function(){this.dialogRef=r(dL);this.data=r(jL);this.confirmButtonTheme=this.data.isDestructive?"warn":"primary";var a;this.cancelButtonText=(a=this.data.cancelButtonText)!=null?a:"Cancel";var b;this.confirmButtonText=(b=this.data.confirmButtonText)!=null?b:"Confirm";var c;this.showCancelButton=(c=this.data.showCancelButton)!=null?c:!0};Qqc.\u0275fac=function(a){return new (a||Qqc)};
Qqc.\u0275cmp=t({type:Qqc,selectors:[["b-confirmation-dialog"]],decls:7,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"innerHTML"],["mat-dialog-actions",""],["mat-button","",1,"medium"],["mat-flat-button","","cdkFocusInitial","",1,"medium",3,"click","color"],["mat-button","",1,"medium",3,"click"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1),J(),K(2,"div",1),I(3,"div",2),D(4,cJa,2,1,"button",3),I(5,"button",4),M("click",function(){return b.dialogRef.close(!0)}),Q(6),J()());a&
2&&(C(),Tg(b.data.title),C(),F("innerHTML",b.data.content,nf),C(2),G(b.showCancelButton?4:-1),C(),F("color",b.confirmButtonTheme),C(),R(" ",b.confirmButtonText," "))},dependencies:[vD,Vy,nL,pL,oL],encapsulation:2});var rL=function(){this.dialog=r(kL)},Rqc=function(a,b){return new Promise(function(c){a.open(Object.assign({},b,{onConfirm:function(){c(!0)},onDismiss:function(){c(!1)}}))})};
rL.prototype.open=function(a){var b=a.title;var c=a.content;var d=a.onConfirm;var e=a.onDismiss;eL(this.dialog.open(Qqc,{data:{title:b,content:c,isDestructive:a.isDestructive,cancelButtonText:a.cancelButtonText,confirmButtonText:a.confirmButtonText,showCancelButton:a.showCancelButton},maxWidth:"500px"})).subscribe(function(f){f?d==null||d():e==null||e()})};rL.\u0275fac=function(a){return new (a||rL)};rL.\u0275prov=n({token:rL,factory:rL.\u0275fac,providedIn:"root"});var sL=function(){this.activeSession=r(dv);this.documentationLinks=r(cL);this.confirmationDialogService=r(rL)},Tqc=function(a,b){return new Promise(function(c){Sqc(a,b,function(){c(!0)},function(){c(!1)})})},Sqc=function(a,b,c,d){if(a.activeSession.isExternalSession())c&&c();else{var e="",f=ti("");if(b==="VULNERABILITY")e="Set the issue type to \u201cVulnerability\u201d?",b={},f=ui([ti('A security "Vulnerability" is a weakness in software and hardware components that, when exploited, results in a negative impact to confidentiality, integrity, or availability. \n\nThis issue type is subject to stricter SLOs than other types. Please refer to the security guidelines for more information on on proper usage.\n\n',
{preserveNewlines:!0}),vi("a",(b.href="http://goto.google.com/vulnerability-slo",b.target="_blank",b),"Learn more")]);else if(b==="PRIVACY_ISSUE"){e="Set the issue type to \u201cPrivacy Issue\u201d?";b={};f={};var h={};f=ui([ti('The "Privacy Issue" type tracks situations in which Google systems risk falling out of alignment with internal privacy  standards and requirements, and is subject to stricter SLOs than other types. ',{preserveNewlines:!0}),vi("a",(b.href="http://goto.google.com/pib-slo",b.target=
"_blank",b),"Learn more"),ti(".\n\nDO NOT use this type to file ",{preserveNewlines:!0}),vi("a",(f.href="http://goto.google.com/incident-response-policy",f.target="_blank",f),"privacy incidents"),ti(". Incidents should be filed at ",{preserveNewlines:!0}),vi("a",(h.href="http://goto.google.com/privacy-incidents",h.target="_blank",h),"go/privacy-incidents"),ti(".\n\nDO NOT use this type unless you are on one of the following teams or have been specifically requested by one of these teams to file a Privacy Issue bug: Privacy Incident Management, Privacy Investigations, Privacy Remediation.",
{preserveNewlines:!0})])}a.confirmationDialogService.open({title:e,content:f,onConfirm:c!=null?c:function(){},onDismiss:d!=null?d:function(){}})}};sL.\u0275fac=function(a){return new (a||sL)};sL.\u0275prov=n({token:sL,factory:sL.\u0275fac,providedIn:"root"});var Uqc=function(a){this.internalArray_=m(a,0,Uqc.messageId)};Y(Uqc,V);Uqc.messageId="b.TimeZoneDataList";var tL=function(){var a=this;this.executor=r(OB);this.activeSession=r(dv);this.memoized=new Pfc(function(b){a:{var c=k(a.activeSession.session.preload.timezones);for(var d=c.next();!d.done;d=c.next())if(d=d.value,b===d.timeZoneId_){c=d;break a}c=void 0}return c?Fe(c):a.executor.get({url:"action/timezone/"+encodeURIComponent(b),responseConstructor:Gk}).pipe(B(zra))},10)};tL.prototype.get=function(a){return this.memoized.get(a)};
var Vqc=function(a){return a.executor.get({url:"action/timezone",responseConstructor:Uqc}).pipe(B(function(b){return b==null?void 0:nj(b,Gk,1,Wi()).map(function(c){c=zra(c);var d=$7b(b8b(c,new Date));return{id:c.timeZoneId_,displayName:"("+d+") - "+c.timeZoneId_,gmt:d}})}))};tL.\u0275fac=function(a){return new (a||tL)};tL.\u0275prov=n({token:tL,factory:tL.\u0275fac,providedIn:"root"});var Wqc=new Map([["BUG","Unintended behavior"],["FEATURE_REQUEST","Request for new functionality"],["CUSTOMER_ISSUE","Issue affecting a 3rd party"],["INTERNAL_CLEANUP","Maintenance work"],["PROCESS","Miscellaneous non-feature work"],["VULNERABILITY","A security concern"],["PRIVACY_ISSUE","A privacy concern"],["PROGRAM","A set of related large scale work efforts"],["PROJECT","Goal-driven effort"],["FEATURE","A collection of work"],["MILESTONE","An important achievement"],["EPIC","A large collection of work"],
["STORY","A small collection of work"],["TASK","A small unit of work"],["TYPE_UNSPECIFIED","Unspecified"]]),Xqc=["P0","P1","P2","P3","P4"],Yqc="NEW ASSIGNED ACCEPTED FIXED VERIFIED NOT_REPRODUCIBLE INTENDED_BEHAVIOR OBSOLETE INFEASIBLE DUPLICATE".split(" "),Zqc="BUG FEATURE_REQUEST CUSTOMER_ISSUE INTERNAL_CLEANUP PROCESS VULNERABILITY PRIVACY_ISSUE PROGRAM PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" "),$qc=["HIGH","MEDIUM","LOW","ZERO"],arc=["SWE","SRE","PM","TPGM","UX"],brc=["S0","S1","S2",
"S3","S4"],crc=new Map([["PRIORITY_UNSPECIFIED","(Unspecified Priority)"],["P0","P0"],["P1","P1"],["P2","P2"],["P3","P3"],["P4","P4"]]),drc=new Map([["TYPE_UNSPECIFIED","(Unspecified Issue Type)"],["BUG","Bug"],["FEATURE_REQUEST","Feature Request"],["CUSTOMER_ISSUE","Customer Issue"],["INTERNAL_CLEANUP","Internal Cleanup"],["PROCESS","Process"],["VULNERABILITY","Vulnerability"],["PRIVACY_ISSUE","Privacy Issue"],["PROGRAM","Program"],["PROJECT","Project"],["FEATURE","Feature"],["MILESTONE","Milestone"],
["EPIC","Epic"],["STORY","Story"],["TASK","Task"]]),erc=new Set("PROGRAM PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" ")),frc=Zqc.map(function(a){return{value:a,displayText:Oi(a),altText:Wqc.get(a)}}),uL=function(){this.priorities=Xqc;this.severities=brc;this.editIssueTypes=Zqc;this.editIssueTypeChoices=frc;this.issueTypesDisplayNames=drc;this.issueTypesShortDescriptions=Wqc;this.issuePrioritiesDisplayNames=crc;this.supportedTimeZones=[{name:"Local time",id:""},{name:"UTC",id:"UTC"},{name:"America/Los_Angeles",
id:"America/Los_Angeles"}]};uL.\u0275fac=function(a){return new (a||uL)};uL.\u0275prov=n({token:uL,factory:uL.\u0275fac,providedIn:"root"});var vL=function(){var a=r(yH),b=r(tL),c=r(uL);Z.call(this);var d=this;this.errorHandler=r(jE);this.cachedFormatters=new Map;this.userPrefs=JB.dateTimePreferences;this.formatPrefChange$=new Jf;this.userTimeZone=null;this.timeZones={};Promise.all(c.supportedTimeZones.map(function(e){if(e.id==="")return Promise.resolve({name:"",timeZone:null});var f=b.get(e.id).pipe(Of(d.destroyed$));return Je(f).then(function(h){return{name:e.name,timeZone:h}})})).then(function(e){e=k(e);for(var f=e.next();!f.done;f=
e.next())f=f.value,d.timeZones[f.name]=f.timeZone;a.preferences$.pipe(Of(d.destroyed$)).subscribe(function(h){h.dateTimePreferences&&(h=h.dateTimePreferences,d.userPrefs=h,d.userTimeZone=d.timeZones[h.timeZone],d.formatPrefChange$.next())})}).catch(function(e){d.errorHandler.errorHandler(null,e)})};Y(vL,Z);vL.\u0275dir=Z.\u0275dir;vL.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);d||(d=new PC(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};
var grc=function(a,b){return a.formatPrefChange$.subscribe(b)};vL.prototype.formatUserCalendar=function(a){return this.format(this.userPrefs.calendarFormat,this.userTimeZone,a)};vL.prototype.formatUserTime=function(a){return this.format(this.userPrefs.timeFormat,this.userTimeZone,a)};vL.\u0275fac=function(a){return new (a||vL)};vL.\u0275prov=n({token:vL,factory:vL.\u0275fac,providedIn:"root"});var wL=function(){this.dateFormatter=r(vL)};
wL.prototype.format=function(a){var b=this;if(a){if(a.textValue)return a.textValue;if(a.dateValue)return(a=a.dateValue)&&a.day&&a.month&&a.year?this.dateFormatter.formatUserCalendar(zn(a)):"";if(a.enumValue)return a.enumValue;if(a.numericValue||a.numericValue===0)return String(a.numericValue);if(a.repeatedTextValue)return a.repeatedTextValue.values.join(", ");if(a.repeatedDateValue)return a.repeatedDateValue.values.map(function(c){return b.dateFormatter.formatUserCalendar(zn(c))}).join(", ");if(a.repeatedEnumValue)return a.repeatedEnumValue.values.join(", ");
if(a.repeatedNumericValue)return a.repeatedNumericValue.values.join(", ")}return""};wL.\u0275fac=function(a){return new (a||wL)};wL.\u0275prov=n({token:wL,factory:wL.\u0275fac,providedIn:"root"});var xL=function(){this.customFieldFormatter=r(wL);this.hotlistFridge=r(mF);this.FIELD_TEXT_MAP={assignee:"Assignee",type:"Issue Type",componentId:"Component ID",duplicateOfIssueId:"Canonical Issue ID",inProd:"In Prod",priority:"Priority",severity:"Severity",status:"Status",title:"Title",verifier:"Verifier",effortEstimate:"Estimated Effort",sloStartTime:"SLO Start Time",sloEndTime:"SLO End Time",blockingIssueId:"Blocked Issues",ccs:"CCs",changelists:"Changelists",gerritChanges:"Gerrit changes",blockedByIssueId:"Blocking Issues",
foundInVersion:"Found In",hotlists:"Hotlists",targetedToVersion:"Targeted To",verifiedInVersion:"Verified In"};this.ENUM_FIELDS=["type","status"]},jrc=function(a,b,c,d){c=c===void 0?null:c;d=d===void 0?"":d;var e;b.bulkEditOps&&(e=eJa(b.bulkEditOps));var f=b.actions||[];!f.length&&b.bulkEditOps&&(f=dJa(b.bulkEditOps));b=hrc(f).map(function(h){return irc(a,h,c,d)});b=b.filter(Boolean);if(!b.length)return"Issue(s) updated.";b=b.join(", ");return b=e?e.length==1?b+" on 1 issue.":b+(" on "+e.length+" issues."):
b+"."},hrc=function(a){var b=[],c=[];a=k(a);for(var d=a.next();!d.done;d=a.next())d=d.value,d.fieldName==="status"?c.push(d):b.push(d);return b.concat(c)},irc=function(a,b,c,d){c=c===void 0?null:c;d=d===void 0?"":d;var e=a.FIELD_TEXT_MAP[b.fieldName]||b.fieldName,f=b.value||"<none>";b.customFieldValue?(d=b.customFieldValue,e=c[d.customFieldId].name||c[d.customFieldId].customFieldName,f=a.customFieldFormatter.format(d)||"<none>"):b.fieldName==="effortEstimate"&&d?e=d:e=a.FIELD_TEXT_MAP[b.fieldName]||
b.fieldName;b.fieldName==="hotlists"?f=b.value.split(",").map(function(h){var l,q;return(l=(q=Xo(a.hotlistFridge.watch(String(h),{trustUncertainMemory:!0})))==null?void 0:q.name)?"'"+l+"'":h}).join(","):a.ENUM_FIELDS.includes(b.fieldName)&&(f=f?Ji(f.replace(/_/g," ").toLowerCase()):"");return b.actionType==="ADD"&&b.fieldName==="hotlists"?(f=f.replace(/,/g,", "),"Added issue to Hotlist ["+f+"]"):b.actionType==="REMOVE"&&b.fieldName==="hotlists"?(f=f.replace(/,/g,", "),"Removed issue from Hotlist ["+
f+"]"):b.actionType==="ADD"&&b.fieldName==="parentId"?"Added child issue(s) to parent ["+f+"]":b.actionType==="REMOVE"&&b.fieldName==="parentId"?"Unlinked child issue(s) from parent ["+f+"]":b.actionType||b.fieldName!=="status"?b.actionType||b.fieldName!=="comment"?b.actionType||b.fieldName!=="attachments"?b.actionType||b.fieldName!=="sloStartTime"?b.actionType||b.fieldName!=="sloEndTime"?b.actionType==="ADD"&&b.gerritChangeValue?(f=b.gerritChangeValue.map(function(h){return h.changeNumber}).join(", "),
'"'+f+'" added to '+e):b.actionType==="REMOVE"&&b.gerritChangeValue?(f=b.gerritChangeValue.map(function(h){return h.changeNumber}).join(", "),'"'+f+'" removed from '+e):b.actionType!=="ADD"||b.customFieldValue?b.actionType!=="REMOVE"||b.customFieldValue?b.fieldName==="isArchived"?b.value==="true"?"Archived successfully":"Unarchived successfully":e+' set to "'+f+'"':(f=f.replace(/,/g,", "),'"'+f+'" removed from '+e):(f=f.replace(/,/g,", "),'"'+f+'" added to '+e):b.value?"SLO End Time Set":"SLO End Time Unset":
b.value?"SLO Start Time Set":"SLO Start Time Unset":"":"Comment added":'Status set to "'+$k[b.value].displayValue+'"'};xL.\u0275fac=function(a){return new (a||xL)};xL.\u0275prov=n({token:xL,factory:xL.\u0275fac,providedIn:"root"});var $p=function(a){this.internalArray_=m(a,0,$p.messageId)};Y($p,V);$p.prototype.getIt=function(){return W(this,ol,6)};$p.prototype.setIt=function(a){return X(this,ol,6,a)};$p.messageId="b.ContentJudgement";var jJa=function(a){this.internalArray_=m(a)};Y(jJa,V);jJa.prototype.getContentJudgement=function(){return W(this,$p,2)};jJa.prototype.setContentJudgement=function(a){return X(this,$p,2,a)};var krc=function(a){this.internalArray_=m(a)};Y(krc,V);krc.prototype.getIssueId_asLegacyNumberOrString=function(){return Hv(this,1)};krc.prototype.getIssueId_asString=function(){return Nj(this,1)};krc.prototype.setIssueId=function(a){return lk(this,1,a)};var lrc=function(a){this.internalArray_=m(a)};Y(lrc,V);g=lrc.prototype;g.getFilename=function(){return Gh(this,1)};g.setFilename=function(a){gk(this,1,a)};g.getMimeType=function(){return Gh(this,2)};g.setMimeType=function(a){gk(this,2,a)};g.setSize=function(a){return nk(this,5,a)};var yL=function(){this.activeSession=r(dv)},mrc=function(a){var b;if((a=(b=a.activeSession.getTracker())==null?void 0:b.trackerId)&&a!=="0")return[a]},rr=function(a,b,c,d){c=c===void 0?a.activeSession.getTracker():c;d=d===void 0?!1:d;c?(d=d===void 0?!1:d,a=a.activeSession.isInternalSession()&&!d&&c.internalBaseUrl?c.internalBaseUrl+"/"+b:c.externalBaseUrl?c.externalBaseUrl+"/"+b:nrc(a,b,!0,c.trackerId,d)):a=nrc(a,b,!1,"",d);return a},nrc=function(a,b,c,d,e){c=c===void 0?!1:c;d=d===void 0?"":d;a=a.activeSession.getAppBaseUrl(e===
void 0?!1:e);return c?a+b+"?tracker="+d:a+b},Nu=function(a,b){var c=a.activeSession.getTracker();if(!b||!c)return b;var d;a=(d=b.componentPathId)!=null?d:[];var e;d=(e=b.componentPathName)!=null?e:[];e=Number(c.componentId);e=a.includes(e)?a.indexOf(e):a.length;return{componentPathId:a.slice(e),componentPathName:d.slice(e),fieldConfigsMap:b.fieldConfigsMap}};yL.\u0275fac=function(a){return new (a||yL)};yL.\u0275prov=n({token:yL,factory:yL.\u0275fac,providedIn:"root"});var zL=function(a){this.internalArray_=m(a,0,zL.messageId)};Y(zL,V);zL.prototype.getIt=function(){return W(this,rl,14)};zL.prototype.setIt=function(a){return X(this,rl,14,a)};zL.messageId="b.Attachment";var AL=function(a){this.internalArray_=m(a,0,AL.messageId)};Y(AL,V);AL.prototype.getAttachmentsList=function(){return nj(this,zL,1,Wi())};AL.prototype.setAttachmentsList=function(a){return $l(this,1,a)};AL.prototype.addAllAttachments=function(a){Dv(this,1,zL,a)};AL.messageId="b.CreateAttachmentsResponse";var BL=function(a){this.internalArray_=m(a,0,BL.messageId)};Y(BL,V);BL.prototype.getErrorMessage=function(){return Gh(this,2)};BL.prototype.setErrorMessage=function(a){gk(this,2,a)};BL.messageId="b.EncryptedMediaResponse";var CL=function(){this.executor=r(PB);this.httpClient=r(OD);this.activeSession=r(dv);this.trackerHelpers=r(yL)},orc=function(a,b){var c=new lrc;c.setFilename(b.filename);c.setMimeType(b.mimeType);b.encryptedBlobId!=null&&gk(c,3,b.encryptedBlobId);gk(c,4,b.docId);b.size!=null&&c.setSize(b.size);return a.executor.post({url:"action/issues/drive_attachment",body:c,responseConstructor:BL}).then(iJa)},qrc=function(a,b,c){b=prc(a)+("/download/attachment/"+b+"/"+c);return a.httpClient.get(b,{observe:"events",
responseType:"arraybuffer",withCredentials:!0}).pipe(B(function(d){if(d instanceof MD&&d.body)return d.body}))},prc=function(a){var b=/g-issues\.(.*)\.(.*)\/$/,c=/[^-]issues\.(.*)\.(.*)\/$/,d=rr(a.trackerHelpers,"");return b.test(d)?(a=b.exec(d),"https://usercontent.g-issues."+a[1]+"."+a[2]):c.test(d)?(a=c.exec(d),"https://usercontent.issues."+a[1]+"."+a[2]):a.activeSession.isInternalSession()?Kk(a.activeSession.session)?"https://buganizer.usercontent.corp.google.com":"https://buganizer-qa.usercontent.corp.google.com":
"https://issuetracker.usercontent.google.com"};CL.\u0275fac=function(a){return new (a||CL)};CL.\u0275prov=n({token:CL,factory:CL.\u0275fac,providedIn:"root"});var DL=function(){this.executor=r(PB)};DL.prototype.delete=function(a,b,c){return this.executor.delete({url:"action/issues/"+a+"/attachments/"+b.attachmentId+"/delete",options:{headers:{"If-Match":b.etag},params:{reason:c}},responseConstructor:null})};DL.prototype.undelete=function(a,b){return this.executor.post({url:"action/issues/"+a+"/attachments/"+b.attachmentId+"/undelete",body:null,options:{headers:{"If-Match":b.etag}},responseConstructor:zL}).then(lJa)};
DL.\u0275fac=function(a){return new (a||DL)};DL.\u0275prov=n({token:DL,factory:DL.\u0275fac,providedIn:"root"});var rrc=function(a){this.internalArray_=m(a)};Y(rrc,V);g=rrc.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getComment=function(){return W(this,Zm,2)};g.setComment=function(a){return X(this,Zm,2,a)};g.setSignificanceOverride=function(a){return ej(this,3,a)};g.getContentJudgement=function(){return W(this,ol,4)};g.setContentJudgement=function(a){return X(this,ol,4,a)};var src=function(a){this.internalArray_=m(a)};Y(src,V);g=src.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getCommentNumber=function(){return Zi(this,2)};g.setCommentNumber=function(a){return uj(this,2,a)};var trc=function(a){this.internalArray_=m(a)};Y(trc,V);g=trc.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getCommentNumber=function(){return Zi(this,2)};g.setCommentNumber=function(a){return uj(this,2,a)};g.getComment=function(){return W(this,Zm,3)};g.setComment=function(a){return X(this,Zm,3,a)};var urc=function(a){this.internalArray_=m(a)};Y(urc,V);g=urc.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getCommentNumber=function(){return Zi(this,2)};g.setCommentNumber=function(a){return uj(this,2,a)};g.getRestrictedRetention=function(){return Kj(this,3,0)};g.setRestrictedRetention=function(a){return ej(this,3,a)};var EL=function(a){this.internalArray_=m(a,0,EL.messageId)};Y(EL,V);EL.prototype.getIt=function(){return W(this,Ll,2)};EL.prototype.setIt=function(a){return X(this,Ll,2,a)};EL.messageId="b.CommentReaction";var vrc=function(a){this.internalArray_=m(a)};Y(vrc,V);vrc.prototype.getIt=function(){return W(this,rrc,5)};vrc.prototype.setIt=function(a){return X(this,rrc,5,a)};var FL=function(a){this.internalArray_=m(a,0,FL.messageId)};Y(FL,V);FL.prototype.getIt=function(){return W(this,Zm,19)};FL.prototype.setIt=function(a){return X(this,Zm,19,a)};FL.messageId="b.IssueComment";var wrc=function(a){this.internalArray_=m(a)};Y(wrc,V);wrc.prototype.getIssueCommentsList=function(){return nj(this,Zm,1,Wi())};var GL=function(a){this.internalArray_=m(a,0,GL.messageId)};Y(GL,V);GL.prototype.getIt=function(){return W(this,wrc,2)};GL.prototype.setIt=function(a){return X(this,wrc,2,a)};GL.messageId="b.ListIssueCommentHistoryResponse";var xrc=function(a){this.internalArray_=m(a)};Y(xrc,V);xrc.prototype.getIt=function(){return W(this,trc,5)};xrc.prototype.setIt=function(a){return X(this,trc,5,a)};var yrc=function(a){this.internalArray_=m(a)};Y(yrc,V);yrc.prototype.getIt=function(){return W(this,urc,4)};yrc.prototype.setIt=function(a){return X(this,urc,4,a)};var HL=function(){this.executor=r(OB)};g=HL.prototype;g.get=function(a,b,c){var d={};c&&(d["X-Restricted-Content-Limit"]=String(fJa(c)));return this.executor.get({url:"action/issues/"+a+"/comment/"+b,options:{headers:d},responseConstructor:FL}).pipe(B(rza))};
g.create=function(a,b,c,d,e){var f={};e&&(f["G-Recaptcha-Response-Token"]=e);b=(new rrc).setIssueId(a).setComment((new Zm).setComment(b).setFormattingMode(Sl(c)));d&&b.setContentJudgement(Sua(d));d=(new vrc).setIt(b);return this.executor.post({url:"action/issues/"+a+"/comment",body:d,responseConstructor:null,options:{headers:f}})};
g.update=function(a,b,c,d,e){var f={};e&&(f["G-Recaptcha-Response-Token"]=e);b=(new xrc).setIt((new trc).setIssueId(a).setCommentNumber(b).setComment((new Zm).setComment(c).setFormattingMode(Sl(d))));return this.executor.post({url:"action/issues/"+a+"/updateComment",body:b,options:{headers:f},responseConstructor:null})};g.delete=function(a,b,c,d){return this.executor.delete({url:"action/issues/"+a+"/comment/"+b,options:{params:{reason:c},headers:{"If-Match":d}},responseConstructor:null})};
g.undelete=function(a,b,c){var d={};c!==void 0&&(d.comment_version=String(c));return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/undelete",body:null,options:{params:d},responseConstructor:FL}).pipe(B(rza))};g.listHistory=function(a,b){var c=(new src).setIssueId(a).setCommentNumber(b);return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/listIssueCommentHistory",body:c,responseConstructor:GL}).pipe(B(sza))};
g.updateCommentReaction=function(a){var b=a.issueId;var c=a.commentId;var d=a.reactionType;var e=a.hasReacted;var f;a=new EL;var h=a.setIt,l=new Ll;d=(new Tl).setType((f=p7b[d])!=null?f:0);f=Hl(d,1,e);f=Bv(l,2,Tl,f);a=h.call(a,f);return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/updateReaction",body:a,responseConstructor:EL}).pipe(B(tza))};
g.updateRetention=function(a,b,c){c=(new yrc).setIt((new urc).setIssueId(a).setCommentNumber(b).setRestrictedRetention(bva(c)));return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/update_retention",body:c,responseConstructor:FL}).pipe(B(rza))};HL.\u0275fac=function(a){return new (a||HL)};HL.\u0275prov=n({token:HL,factory:HL.\u0275fac,providedIn:"root"});var IL=function(){this.observableApi=r(HL)};g=IL.prototype;g.get=function(a,b,c){return Je(this.observableApi.get(a,b,c))};
g.create=function(a,b,c,d,e){return Je(this.observableApi.create(a,b,c,d,e))};g.update=function(a,b,c,d,e){return Je(this.observableApi.update(a,b,c,d,e))};g.delete=function(a,b,c,d){return Je(this.observableApi.delete(a,b,c,d))};g.undelete=function(a,b,c){return Je(this.observableApi.undelete(a,b,c))};g.listHistory=function(a,b){return Je(this.observableApi.listHistory(a,b))};g.updateCommentReaction=function(a){return Je(this.observableApi.updateCommentReaction(a))};
g.updateRetention=function(a,b,c){return Je(this.observableApi.updateRetention(a,b,c))};IL.\u0275fac=function(a){return new (a||IL)};IL.\u0275prov=n({token:IL,factory:IL.\u0275fac,providedIn:"root"});var JL=function(){this.dialogRef=r(dL);this.data=r(jL);this.documentationLinks=r(cL);this.userEmails=this.data.userEmails;this.readMoreLink=this.documentationLinks.baseDocumentationUrl+"/concepts/access-control#explicit_access_warnings"};JL.prototype.close=function(a){this.dialogRef.close(a)};JL.\u0275fac=function(a){return new (a||JL)};
JL.\u0275cmp=t({type:JL,selectors:[["confirm-no-access-dialog"]],decls:19,vars:1,consts:[[1,"dialog-container"],["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[1,"help-label"],["target","_blank",3,"href"],["mat-button","","color","primary",3,"click"],["mat-button","","color","primary","cdkFocusInitial","",3,"click"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"h1",1),Q(2,"User may not have access"),J(),I(3,"section",2)(4,"p"),Q(5," The following user(s) may not be able to edit, interact with, or get notifications about this issue: "),
J(),I(6,"ul"),tg(7,nJa,2,1,"li",null,sg),J(),I(9,"section"),Q(10,"Continue anyway?"),J()(),I(11,"footer",3)(12,"div",4)(13,"a",5),Q(14,"Learn more"),J()(),I(15,"button",6),M("click",function(){return b.close(!0)}),Q(16,"Continue"),J(),I(17,"button",7),M("click",function(){return b.close(!1)}),Q(18,"Cancel"),J()()());a&2&&(C(7),ug(b.userEmails),C(6),F("href",b.readMoreLink,of))},dependencies:[vD,Vy,nL,pL,oL],styles:["ul[_ngcontent-%COMP%]{list-style:disc;margin-bottom:10px}"]});var KL=function(){this.matDialogService=r(kL);this.analytics=r(wG);this.butterBar=r(hE);this.logger=r(iE);this.accessPolicy=r(pC)},Arc=function(a,b){var c=b.componentId;var d=b.userEmails;var e=b.relation;var f=b.analyticsEventLabel;var h,l,q;return ve(function(v){switch(v.nextAddress){case 1:if(d.every(function(y){return y.length===0}))return v.return(!0);we(v,2);return xe(v,zrc(a,c,d,e),4);case 4:h=v.yieldResult;if(h.length===0)return v.return(!0);a.analytics.trackEvent("addUserWithoutAccess","warn",
f);return xe(v,a.confirm(h,e),5);case 5:l=v.yieldResult;if(!l)return du(a.butterBar,"Save cancelled.",4E3),a.analytics.trackEvent("addUserWithoutAccess","cancel",f),v.return(!1);a.analytics.trackEvent("addUserWithoutAccess","proceed",f);return v.return(!0);case 2:return q=Be(v),a.logger.error(q),v.return(!1)}})},zrc=function(a,b,c,d){var e;return ve(function(f){if(f.nextAddress==1)return xe(f,a.accessPolicy.checkPermission(c,d,"ISSUE_DEFAULTS",b),2);e=f.yieldResult;return f.return([].concat(w(e.noAccessEmails||
[]),w(e.unknownEmails||[])))})};KL.prototype.confirm=function(a,b){var c=this,d,e,f;return ve(function(h){if(h.nextAddress==1)return d={userEmails:a,relation:b},e=c.matDialogService.open(JL,{width:"400px",data:d}),xe(h,Je(eL(e)),2);f=h.yieldResult;return h.return(!!f)})};KL.\u0275fac=function(a){return new (a||KL)};KL.\u0275prov=n({token:KL,factory:KL.\u0275fac,providedIn:"root"});var Brc=new Bd("GMAT_DIALOG_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var LL=function(a,b,c,d,e,f,h,l){l.disableGmatStyle||pgc(a,"gmat-mdc-dialog");kL.call(this,a,b,c,d,e,f,h)};Y(LL,kL);LL.\u0275fac=function(a){return new (a||LL)(md(ty),md(Sf),md(Ww,8),md(Mqc,8),md(Nqc),md(kL,12),md(Px),md(Brc))};LL.\u0275prov=n({token:LL,factory:LL.\u0275fac});var ML=function(){};ML.\u0275fac=function(a){return new (a||ML)};ML.\u0275mod=u({type:ML});ML.\u0275inj=p({providers:[{provide:kL,useClass:LL},{provide:ty,useClass:EH}],imports:[qL]});var Crc=function(a,b){this.size=a;this.name=b;this.transferredBytes=0;this.errorMessage="";this.blobRef=null;this.state=1};Crc.prototype.cancel=function(){this.state=4};var Drc={UPLOADING:1,COMPLETE:2,ERROR:3,CANCELLED:4,1:"UPLOADING",2:"COMPLETE",3:"ERROR",4:"CANCELLED"};var NL=function(a,b){this.initialComment=a=a===void 0?"":a;this.fromTemplate=b===void 0?!1:b;this.uploads=[];this.formattingMode="PLAIN";this.value=a};NL.prototype.reset=function(){this.value="";Erc(this)};var Erc=function(a){for(var b=k(a.uploads),c=b.next();!c.done;c=b.next())c.value.cancel();a.uploads=[]},Frc=function(a){return a.fromTemplate&&a.initialComment===a.value};
NL.prototype.getAttachments=function(){for(var a=[],b=k(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,c.state===2&&c.blobRef&&a.push(zi(c.blobRef));return a};NL.prototype.hasContent=function(){return!(!this.value&&!this.uploads.length)};var Grc=function(a){return!a.isEmpty()&&!UGb(a)};NL.prototype.isEmpty=function(){return!this.value&&!Hrc(this)};
var UGb=function(a){return a.uploads.some(function(b){return b.state===1||b.state===3})},Hrc=function(a){return a.uploads.some(function(b){return b.state===2})};var OL=function(){Z.apply(this,arguments);this.router=r(HE);this.activatedRoute=r(ao);this.params={};this.routeParams$=new bo({});this.issueId$=this.routeParams$.pipe(B(function(a){return a.issueId}),Ef())};Y(OL,Z);OL.\u0275dir=Z.\u0275dir;
var Jrc=function(a){a.activatedRoute.queryParams.pipe(Of(a.destroyed$)).subscribe(function(b){Irc(a,a.routeParams$.value,b)});a.router.events.pipe(Ye(function(b){return b instanceof bCa}),B(function(b){return b}),Of(a.destroyed$)).subscribe(function(b){b=b.snapshot;var c={},d=b;do c=Object.assign({},d.params,c),d=d.parent;while(d&&d!==d.root);Irc(a,c,b.queryParams)})},Krc=function(a,b){return a.routeParams$.pipe(B(function(c){return c[b]}))},Irc=function(a,b,c){for(var d=k(Object.keys(a.params)),
e=d.next();!e.done;e=d.next())delete a.params[oJa(e.value)];a.routeParams$.next(b);c=k(Object.entries(c));for(d=c.next();!d.done;d=c.next())e=k(d.value),d=e.next().value,e=e.next().value,a.params[oJa(d)]=e;b=k(Object.entries(b));for(c=b.next();!c.done;c=b.next())d=k(c.value),c=d.next().value,d=d.next().value,a.params[oJa(c)]=d};OL.\u0275fac=function(){var a;return function(b){return(a||(a=de(OL)))(b||OL)}}();OL.\u0275prov=n({token:OL,factory:OL.\u0275fac,providedIn:"root"});var PL=new Bd("routeParams",{factory:function(){return r(OL).params}});var QL=function(){this.routeParams=r(PL);this.issueComments=r(IL);this.draftStore=r(bL);this.errorHandler=r(jE)};QL.prototype.get=function(a){var b=this;if(this.routeParams.comment)return Fe(this.routeParams.comment);var c=this.routeParams.template_issue;if(c){var d=Ei(this.routeParams.template_comment)||1;return Re(function(){return Lrc(b,c,d,b.routeParams.do_attribution)})}return a?Fe(this.draftStore.$window.sessionStorage.getItem(Wp(a))||""):Fe("")};
var Lrc=function(a,b,c,d){var e,f,h,l,q;return ve(function(v){if(v.nextAddress==1)return we(v,2),xe(v,a.issueComments.get(b,c),4);if(v.nextAddress!=2)return e=v.yieldResult,f=e.unlinkifiedComment,h=(new Date(Number(e.lastModified)/1E3)).toLocaleDateString(),d?(l="> From issue "+b+" on "+h+":",v.return(l+"\n\n"+f)):v.return(f);q=Be(v);lE(a.errorHandler,q);return v.return("")})};QL.\u0275fac=function(a){return new (a||QL)};QL.\u0275prov=n({token:QL,factory:QL.\u0275fac,providedIn:"root"});var Mrc=function(a,b,c,d,e){var f=this;this.issueId=a;this.defaultCommentSource=b;this.issueFullFridge=c;this.activeSession=d;this.userPreferencesManager=e;this.issue$=this.issueFullFridge.watch(this.issueId);this.componentId$=this.issue$.pipe(B(function(h){return h==null?void 0:h.snapshot[0].componentId}),Ef());this.comment$=this.defaultCommentSource.get(this.issueId).pipe(Mf(""),Ef(),Qf(this.userPreferencesManager.lastPublishModeProto$),B(function(h){var l=k(h);h=l.next().value;l=l.next().value;
h=new NL(h);h.formattingMode=l;return h}),Kf({bufferSize:1,refCount:!0}));this.comment=function(){return Xo(f.comment$)};this.createRestrictedResourcesComponentIds=this.activeSession.session.config.createRestrictedSubresourcesComponentIds;this.componentJudgementForNewContent$=this.componentId$.pipe(B(function(h){if(h&&f.createRestrictedResourcesComponentIds.includes(h))return{severity:"RESTRICTED",judgementReason:"None Specified"}}),Kf({bufferSize:1,refCount:!0}));this.userDefinedJudgementForNewContent$=
new bo(void 0);this.judgementForNewContent$=Me([this.componentJudgementForNewContent$.pipe(Mf(void 0)),this.userDefinedJudgementForNewContent$]).pipe(B(function(h){var l=k(h);h=l.next().value;l=l.next().value;return l!=null?l:h}),Kf({bufferSize:1,refCount:!1}));this.judgementForNewContent=function(){return Xo(f.judgementForNewContent$)}};Mrc.prototype.setJudgementForNewContent=function(a){this.userDefinedJudgementForNewContent$.next(a)};
var Nrc=function(a){var b=a.comment(),c,d=((c=a.judgementForNewContent())==null?void 0:c.severity)==="NONE_DETECTED"?void 0:a.judgementForNewContent();a=b.value;c=b.formattingMode;var e=[];b=k(b.uploads);for(var f=b.next();!f.done;f=b.next())f=f.value,f.state===2&&f.blobRef&&(f=zi({attachment:f.blobRef}),d&&(f.contentJudgement={severity:d.severity,judgementReason:d.judgementReason}),e.push(f));return{judgementForNewContent:d,commentText:a,formattingMode:c,attachmentsWithJudgements:e}},Orc=function(a){var b=
Nrc(a),c=b.attachmentsWithJudgements;a={issueId:a.issueId,actions:[]};b.commentText&&a.actions.push({fieldName:"comment"});c.length&&a.actions.push({fieldName:"attachments"});return a},RL=function(){this.defaultCommentSource=r(QL);this.issueFullFridge=r(yG);this.activeSession=r(dv);this.userPreferencesManager=r(yH)};RL.prototype.create=function(a){return new Mrc(a,this.defaultCommentSource,this.issueFullFridge,this.activeSession,this.userPreferencesManager)};
RL.\u0275fac=function(a){return new (a||RL)};RL.\u0275prov=n({token:RL,factory:RL.\u0275fac,providedIn:"root"});var SL=function(){};SL.prototype.isSloStartTimeApplied=function(a){return!!a&&a.seconds>Date.now()/1E3};
var TL=function(a){return!!a&&!!a.targetTime&&a.targetTime.seconds!==0},Prc=function(a){return TL(a.assignmentBounds)||TL(a.responseBounds)||TL(a.closureBounds)},Qrc=function(a,b){switch(b){case "ASSIGNMENT":return TL(a.assignmentBounds);case "RESPONSE":return TL(a.responseBounds);case "CLOSURE":return TL(a.closureBounds);default:return Prc(a)}},Rrc=function(a){if(!a)return null;var b=[],c=[];a.assignmentBounds&&pJa(b,c,a.assignmentBounds,"ASSIGNMENT");a.responseBounds&&pJa(b,c,a.responseBounds,"RESPONSE");
a.closureBounds&&pJa(b,c,a.closureBounds,"CLOSURE");return b.length>0?(b.sort(qJa),b[0]):c.length>0?(c.sort(qJa),{sloBounds:c[0].sloBounds,sloMetric:""}):null};SL.\u0275fac=function(a){return new (a||SL)};SL.\u0275prov=n({token:SL,factory:SL.\u0275fac,providedIn:"root"});var Src=function(a,b,c,d,e){var f=this;this.issueId=a;this.issueFullFridge=b;this.constants=c;this.activeSession=d;this.sloStatusHelpersService=e;this.enableNonWtdmFieldPerTypeVisibility=lu(this.activeSession,"enableNonWtdmFieldPerTypeVisibility")||!1;this.showSloStatus=this.activeSession.isInternalSession();this.showChangelists=!this.activeSession.isExternalSession();this.issue$=this.issueFullFridge.watch(this.issueId);this.issueSnapshot$=this.issue$.pipe(B(function(h){return h==null?void 0:h.snapshot[0]}));
this.hasSloDefined$=this.issue$.pipe(B(function(h){var l;return h==null?void 0:(l=h.aggregatedData)==null?void 0:l.sloStatus}),B(function(h){return!!h&&Prc(h)}));this.isWtdmType$=this.issueSnapshot$.pipe(B(function(h){return(h==null?void 0:h.type)!=null&&erc.has(h.type)}));this.isForgottenFourPrimary$=this.isWtdmType$.pipe(B(function(h){return!h&&!f.enableNonWtdmFieldPerTypeVisibility}));this.isSloStatusPrimary$=Me([this.hasSloDefined$,this.isWtdmType$]).pipe(B(function(h){var l=k(h);h=l.next().value;
l=l.next().value;return h||!l}));this.isSeverityPrimary$=this.isWtdmType$.pipe(B(function(h){return!h}));this.isChangelistPrimary$=Me([this.isWtdmType$,this.issueSnapshot$]).pipe(B(function(h){var l=k(h);h=l.next().value;l=l.next().value;return!h||(l==null?void 0:l.type)==="STORY"||(l==null?void 0:l.type)==="TASK"}));this.customFields$=this.issue$.pipe(B(function(h){var l;return(l=h==null?void 0:h.customFields)!=null?l:[]}));this.visibleFields$=this.issue$.pipe(B(function(h){var l;return(l=h==null?
void 0:h.visibleFields)!=null?l:[]}));this.visibleFieldIds$=this.visibleFields$.pipe(B(function(h){return h.map(function(l){return l.customFieldId}).filter(kj)}),B(function(h){return new Set(h)}),Kf({refCount:!0,bufferSize:1}));this.visibleCustomFields$=Me([this.visibleFieldIds$,this.customFields$]).pipe(B(function(h){h=k(h);var l=h.next().value;return h.next().value.filter(function(q){return l.has(q.customFieldId)})}),Kf({refCount:!0,bufferSize:1}));this.hiddenCustomFields$=Me([this.visibleFieldIds$,
this.customFields$]).pipe(B(function(h){h=k(h);var l=h.next().value;return h.next().value.filter(function(q){return!l.has(q.customFieldId)})}),Kf({refCount:!0,bufferSize:1}));this.hiddenFieldCount$=Me([this.isForgottenFourPrimary$,this.isSeverityPrimary$,this.isSloStatusPrimary$,this.isChangelistPrimary$,this.hiddenCustomFields$]).pipe(B(function(h){var l=k(h);h=l.next().value;var q=l.next().value;var v=l.next().value;var y=l.next().value;l=l.next().value;return(h?0:4)+(q?0:1)+(!f.showSloStatus||
v?0:1)+(!f.showChangelists||y?0:2)+l.length}),Kf({refCount:!0,bufferSize:1}));this.hasHiddenFields$=this.hiddenFieldCount$.pipe(B(function(h){return h>0}));this.showHiddenFieldsLabel$=this.hiddenFieldCount$.pipe(B(function(h){return h===1?"Show 1 additional field":"Show "+h+" additional fields"}))},UL=function(){this.issueFullFridge=r(yG);this.constants=r(uL);this.activeSession=r(dv);this.sloStatusHelpersService=r(SL)};
UL.prototype.create=function(a){return new Src(a,this.issueFullFridge,this.constants,this.activeSession,this.sloStatusHelpersService)};UL.\u0275fac=function(a){return new (a||UL)};UL.\u0275prov=n({token:UL,factory:UL.\u0275fac,providedIn:"root"});var VL=function(){Z.call(this);this.analytics=r(wG);this.clearcut=r(kG);this.userActivity=r(tG);this.stopActivityTracking$=new Jf;this.issueToTrackingState=new Map;this.getState=Ki(this.issueToTrackingState,rJa);this.trackFirstAction=this.analytics.preapply()("first-action");this.trackEdit=this.analytics.preapply()("edit");this.trackNavigation=this.analytics.preapply()("navigate");this.trackDestroy=this.analytics.preapply()("destroyed");this.onUserActiveStatusUpdate.bind(this)};Y(VL,Z);
VL.\u0275dir=Z.\u0275dir;var Trc=function(a,b){a.getState(b);a.userActivity.active$.pipe(Of(a.stopActivityTracking$)).subscribe(function(c){return void a.onUserActiveStatusUpdate(b,c)})},Vrc=function(a,b,c){var d=a.getState(b);c&&(d.editCount++,a.trackEdit(c.label,c.value));d.firstActionSeen||(b=a.getState(b),c=Date.now()-b.startTime,a.trackFirstAction("time-to-action",c),Urc(a,c,"idp-time-to-action",b.variations),d.firstActionSeen=!0)};
VL.prototype.onUserActiveStatusUpdate=function(a,b){a=this.getState(a);var c=Date.now()-a.sessionStartTime;a.sessionStartTime=Date.now();b||c<1E3||lG(this.clearcut,c,"idp-session-time")};var Uu=function(a,b,c){a.getState(b).variations.add(c)},Urc=function(a,b,c,d){lG(a.clearcut,b,c);d=k(d);for(var e=d.next();!e.done;e=d.next())lG(a.clearcut,b,c+"-"+e.value)};VL.prototype.resetState=function(a){this.issueToTrackingState.delete(a)};VL.\u0275fac=function(a){return new (a||VL)};
VL.\u0275prov=n({token:VL,factory:VL.\u0275fac,providedIn:"root"});var WL=function(){var a=r(vG);Z.call(this);var b=this;this.paramsService=r(OL);this.issueFullFridge=r(yG);this.componentIdOverride$=new bo(null);this.hotlistIdOverride$=new bo(null);this.issueIdOverride$=new bo(null);this.routeIssueId$=this.paramsService.issueId$.pipe(B(tJa),Kf({refCount:!0,bufferSize:1}));this.routeComponentId$=Krc(this.paramsService,"componentId").pipe(Ef());this.routeHotlistId$=Krc(this.paramsService,"hotlistId").pipe(Ef());this.issueId$=Me([this.issueIdOverride$,this.routeIssueId$]).pipe(B(function(c){var d=
k(c);c=d.next().value;d=d.next().value;return c||d}),B(tJa),Ef(),Kf({refCount:!0,bufferSize:1}));this.componentIdFromIssueId$=this.issueId$.pipe(Nf(function(c){return c?b.issueFullFridge.watch(c):Fe(void 0)}),B(function(c){return c==null?void 0:c.snapshot[0].componentId}));this.componentId$=Me([this.componentIdOverride$,this.routeComponentId$,this.componentIdFromIssueId$]).pipe(B(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return c||e||d}),B(sJa),Ef(),Kf({refCount:!0,
bufferSize:1}));this.hotlistId$=Me([this.hotlistIdOverride$,this.routeHotlistId$]).pipe(B(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c||d}),B(sJa),Ef(),Kf({refCount:!0,bufferSize:1}));this.subscriptions.add(a.routeChangeSuccess.subscribe(function(){b.componentIdOverride$.next(null);b.hotlistIdOverride$.next(null);b.issueIdOverride$.next(null)}));this.subscriptions.add(this.componentId$.subscribe(function(c){wo("dimension4",c)}))};Y(WL,Z);WL.\u0275dir=Z.\u0275dir;
WL.prototype.getComponentId=function(){return this.componentId$};WL.prototype.getIssueId=function(){return this.issueId$};WL.prototype.getHotlistId=function(){return this.hotlistId$};WL.\u0275fac=function(a){return new (a||WL)};WL.\u0275prov=n({token:WL,factory:WL.\u0275fac,providedIn:"root"});var XL=function(){var a=this;this.issueFullFridge=r(yG);this.teamFridge=r(qH);this.componentFridge=r(AC);this.eventsForIssue=r(yF);this.activatedRoute=r(ao);this.contextSensitiveRegistry=r(WL);this.id$=this.contextSensitiveRegistry.getIssueId().pipe(B(function(b){return b||void 0}));this.urlComment$=this.activatedRoute.fragment.pipe(B(iKa),Kf({refCount:!0,bufferSize:1}));this.issueJs$=this.id$.pipe(Nf(function(b){return b?a.issueFullFridge.watch(b):Fe(void 0)}),Kf({refCount:!0,bufferSize:1}));this.eventsJs$=
this.id$.pipe(Nf(function(b){return a.eventsForIssue.watch(b)}),B(function(b){var c;return(c=b==null?void 0:b.events)!=null?c:[]}));this.starred$=this.issueJs$.pipe(B(yJa));this.lastViewedTimeMicros$=this.issueJs$.pipe(B(zJa));this.lastViewedTimeMicros$.pipe(B(function(b){return!b}));this.issueJs$.pipe(B(AJa));this.issueJs$.pipe(B(SJa));this.accessLimitLevel$=this.issueJs$.pipe(B(IJa));this.voted$=this.issueJs$.pipe(B(TJa));this.status$=this.issueJs$.pipe(B(BJa));this.priority$=this.issueJs$.pipe(B(CJa));
this.assignee$=this.issueJs$.pipe(B(DJa));this.issueJs$.pipe(B(EJa));this.teamId$=this.issueJs$.pipe(B(FJa));this.team$=this.teamId$.pipe(Nf(function(b){return a.teamFridge.watch(b)}),Kf({refCount:!0,bufferSize:1}));this.ccUsers$=this.issueJs$.pipe(B(HJa));this.collaboratorsUsers$=this.issueJs$.pipe(B(JJa));this.issueJs$.pipe(B(function(b){var c,d;return(d=(c=Zk(b))==null?void 0:c.severity)!=null?d:void 0}));this.type$=this.issueJs$.pipe(B(KJa));this.issueJs$.pipe(B(LJa));this.issueJs$.pipe(B(MJa));
this.issueJs$.pipe(B(NJa));this.postmortems$=this.issueJs$.pipe(B(OJa));this.postmortems$.pipe(B(function(b){return b.length>0}));this.issueJs$.pipe(B(PJa));this.effort$=this.issueJs$.pipe(B(QJa));this.plannedAllocations$=this.issueJs$.pipe(B(RJa));this.isDeleted$=this.issueJs$.pipe(B(VJa));this.accessLevel$=this.issueJs$.pipe(B(XJa));this.modifiedTime$=this.issueJs$.pipe(B(YJa));this.retention$=this.issueJs$.pipe(B($Ja));this.retention=function(){return Xo(a.retention$)};this.retentionState$=this.issueJs$.pipe(B(cKa));
this.retentionState=function(){return Xo(a.retentionState$)};this.canonicalIssueId$=this.issueJs$.pipe(B(aKa));this.canonicalIssueId$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}));this.sloStatus$=this.issueJs$.pipe(B(function(b){var c;return b==null?void 0:(c=b.aggregatedData)==null?void 0:c.sloStatus}));this.sloId$=this.issueJs$.pipe(B(dKa));this.createdTimeMicros$=this.issueJs$.pipe(B(eKa));this.componentId$=this.issueJs$.pipe(B(GJa));this.component$=this.componentId$.pipe(Nf(function(b){return a.componentFridge.watch(b)}));
this.teamSuggestions$=this.component$.pipe(B(function(b){var c;return(c=b==null?void 0:b.teamSuggestions)!=null?c:[]}));this.effortSpec$=this.component$.pipe(B(fKa));this.isEffortEnabled$=this.component$.pipe(B(gKa));this.component$.pipe(B(hKa))};XL.\u0275fac=function(a){return new (a||XL)};XL.\u0275prov=n({token:XL,factory:XL.\u0275fac,providedIn:"root"});var Wrc={admin:!1,writer:!0,appender:!0,reader:!0},ZL=function(){var a=this;this.issueDetailsBrain=r(XL);this.permissionsFridge=r(WG);this.activeSession=r(dv);this.accessPolicyApi=r(pC);this.errorHandler=r(jE);this.userAccess=r(YC);this.currentUserEmail=this.activeSession.getUserEmail();this.currentUserEmailPattern=new RegExp("^"+cq(this.currentUserEmail).replace("@","(\\+.*)?@")+"$");this.issueId$=this.issueDetailsBrain.id$;this.issuePermissions$=this.issueId$.pipe(Nf(function(b){return b?a.permissionsFridge.watch("issues/"+
b):Fe(void 0)}),B(function(b){return b!=null?b:Wrc}),Mf(Wrc),Kf({bufferSize:1,refCount:!1}));this.hasAclToView$=this.issuePermissions$.pipe(B(function(b){return!!b.reader}));this.hasAclToEdit$=this.issuePermissions$.pipe(B(function(b){return!!b.writer}));this.hasAclToEdit=function(){return!!Xo(a.hasAclToEdit$)};this.hasAclToComment$=this.issuePermissions$.pipe(B(function(b){return!!b.appender}));this.hasAclToComment=function(){return!!Xo(a.hasAclToComment$)};this.hasAclToAdmin$=this.issuePermissions$.pipe(B(function(b){return!!b.admin}));
this.hasAclToAdmin=function(){return!!Xo(a.hasAclToAdmin$)};this.isCurrentUserCCd$=this.issueDetailsBrain.ccUsers$.pipe(B(function(b){return b.some(function(c){return YL(a,c.emailAddress)})}));this.isCurrentUserCCd=function(){return!!Xo(a.isCurrentUserCCd$)};this.isCurrentUserCollaborator$=this.issueDetailsBrain.collaboratorsUsers$.pipe(B(function(b){return b.some(function(c){return YL(a,c.emailAddress)})}));this.isCurrentUserCollaborator=function(){return!!Xo(a.isCurrentUserCollaborator$)};this.isAllowedToEditCC$=
this.hasAclToEdit$;Me([this.hasAclToEdit$,this.isCurrentUserCCd$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b?c?"Un-CC yourself in order to change this setting.":"":"Edit issue permission is required to modify the CC list."}));this.isImplicitAccessEnabled$=this.issueDetailsBrain.componentId$.pipe(Ef(),Nf(function(b){return b?a.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(b)):Fe(!1)}),xf(function(b){if(b.status===403)return Fe(!0);a.errorHandler.errorHandler(null,
b);return Fe(!1)}),Kf({bufferSize:1,refCount:!1}));this.isImplicitAccessEnabled=function(){return!!Xo(a.isImplicitAccessEnabled$)};this.canDeleteIssue$=this.hasAclToAdmin$;this.canUndeleteIssue$=Me([this.issueDetailsBrain.isDeleted$,this.canDeleteIssue$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b&&c}));this.userIsComponentAdmin$=this.issueDetailsBrain.componentId$.pipe(Ef(),Nf(function(b){return b?$C(a.userAccess,"admin","components/"+b):Fe(!1)}),xf(function(b){a.errorHandler.errorHandler(null,
b);return Fe(!1)}),Kf({bufferSize:1,refCount:!1}));this.accessLevel$=this.issueDetailsBrain.accessLevel$;this.accessLevel=function(){return Xo(a.accessLevel$)};this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.isWithinExternalComponent$=this.accessLevel$.pipe(B(function(b){return!(!b||b==="INTERNAL")}));this.audience$=this.isWithinExternalComponent$.pipe(B(function(b){return b?"EXTERNAL":"INTERNAL"}));this.audience=function(){return Xo(a.audience$)};this.canChangeCommentRetention$=
this.hasAclToEdit$;this.canChangeCommentRetention=function(){return Xo(a.canChangeCommentRetention$)}},YL=function(a,b){return(b==null?void 0:b.search(a.currentUserEmailPattern))===0},Xrc=function(a,b){return Xk(b)&&b.commentDeletionStatus==="DELETED"?a.hasAclToAdmin()||Ri(b.lastCommentEditorUser)===a.activeSession.getUserEmail()&&a.hasAclToComment()?!0:!1:!1},Yrc=function(a,b){return Xk(b)&&b.commentDeletionStatus==="ACTIVE"?Ui(b.userPerformingActionUser)===a.activeSession.getUserEmail()?!0:a.hasAclToAdmin():
!1};ZL.prototype.canEditComment$=function(a){var b=this;return Me([this.issueDetailsBrain.component$,this.hasAclToEdit$,this.hasAclToComment$]).pipe(B(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return c!==void 0&&c.commentEditState==="ENABLED"&&a.commentDeletionStatus!=="DELETED"&&a.commentDeletionStatus!=="PURGED"&&a.commentNumber?a.commentNumber===1?e:d&&Ui(a.userPerformingActionUser)===b.activeSession.getUserEmail():!1}))};
ZL.prototype.canDeleteAttachment$=function(a,b){return a?(a=a.entityStatus)&&"ACTIVE"===a.status?YL(this,b)?Fe(!0):this.hasAclToAdmin$:Fe(!1):Fe(!1)};ZL.prototype.canUndeleteAttachment$=function(a,b){return a?(a=a.entityStatus)&&"DELETED"===a.status?YL(this,b)?Fe(!0):this.hasAclToAdmin$:Fe(!1):Fe(!1)};ZL.\u0275fac=function(a){return new (a||ZL)};ZL.\u0275prov=n({token:ZL,factory:ZL.\u0275fac,providedIn:"root"});var Zrc={type:"TAKE",displayText:"Assign to me",description:"Assign issue to yourself"},$rc={type:"DEFAULT_ASSIGNEE",displayText:"Assign to default",description:"Use the component's default assignee"},asc={type:"START",displayText:"Start work",description:"Change issue status to '"+Pi.ACCEPTED+"'"},bsc={type:"FIX",displayText:"Mark fixed",description:"Change issue status to '"+Pi.FIXED+"'"},csc={type:"VERIFY",displayText:"Verify",description:"Change issue status to '"+Pi.VERIFIED+"'"},dsc={type:"REOPEN",
displayText:"Re-open",description:"Change issue status back to '"+Pi.ASSIGNED+"'"};var fsc=function(a,b,c,d){var e=this;this.issueId=a;this.activeSession=b;this.issueFullFridge=c;this.componentTemplatesFridge=d;this.defaultAssigneeQuickActionEnabled=this.activeSession.isInternalSession();this.issue$=this.issueFullFridge.watch(this.issueId).pipe(Kf({bufferSize:1,refCount:!0}));this.issueSnapshot$=this.issue$.pipe(B(function(f){return f==null?void 0:f.snapshot[0]}));this.currentAssignee$=this.issueSnapshot$.pipe(B(function(f){return(f==null?void 0:f.assigneeUser)&&Ui(f.assigneeUser)}),
B(ij));this.defaultAssigneeForComponent$=this.issueSnapshot$.pipe(B(function(f){return f==null?void 0:f.componentId}),Ef(),Nf(function(f){return f?e.componentTemplatesFridge.defaultTemplate$(String(f)):Fe(void 0)}),B(function(f){return f&&Ui(f.snapshot.assigneeUser)}),Kf({bufferSize:1,refCount:!0}));this.defaultAssigneeForComponent=function(){return Xo(e.defaultAssigneeForComponent$)};this.issueAssigneeQuickAction$=Me([this.currentAssignee$,this.defaultAssigneeForComponent$]).pipe(B(function(f){var h=
k(f);f=h.next().value;h=h.next().value;return e.defaultAssigneeQuickActionEnabled&&h&&f!==h?$rc:void 0}));this.issueStatusQuickAction$=this.issueSnapshot$.pipe(B(function(f){return f&&esc(e,f)}))},esc=function(a,b){var c=a.activeSession.getUserEmail();a=Ui(b.assigneeUser)===c;c=Ui(b.verifierUser)===c;b=b.status;if(c&&b==="FIXED")return csc;if(a)switch(b){case "ASSIGNED":return asc;case "ACCEPTED":return bsc;default:return dsc}switch(b){case "NEW":return Zrc;case "ASSIGNED":return Zrc;case "ACCEPTED":return Zrc;
default:return dsc}},$L=function(){this.activeSession=r(dv);this.issueFullFridge=r(yG);this.componentTemplatesFridge=r(SE)};$L.prototype.create=function(a){return new fsc(a,this.activeSession,this.issueFullFridge,this.componentTemplatesFridge)};$L.\u0275fac=function(a){return new (a||$L)};$L.\u0275prov=n({token:$L,factory:$L.\u0275fac,providedIn:"root"});var gsc=function(){this.transform=jKa};gsc.\u0275fac=function(a){return new (a||gsc)};gsc.\u0275pipe=vd({name:"toNewEmailPreference",type:gsc,pure:!0});var aM=function(){this.transform=kKa};aM.\u0275fac=function(a){return new (a||aM)};aM.\u0275pipe=vd({name:"enumToHuman",type:aM,pure:!0});var bM=function(){this.transform=lKa};bM.\u0275fac=function(a){return new (a||bM)};bM.\u0275pipe=vd({name:"arrayToHuman",type:bM,pure:!0});var cM=function(){};
cM.prototype.transform=function(a,b){return Tc(mKa(a,b)).toString()};cM.\u0275fac=function(a){return new (a||cM)};cM.\u0275pipe=vd({name:"boldPrefixMatches",type:cM,pure:!0});var dM=function(){this.transform=nKa};dM.\u0275fac=function(a){return new (a||dM)};dM.\u0275pipe=vd({name:"yesNo",type:dM,pure:!0});var hsc=function(){this.transform=oKa};hsc.\u0275fac=function(a){return new (a||hsc)};hsc.\u0275pipe=vd({name:"teamPath",type:hsc,pure:!0});var isc=function(){this.transform=pKa};
isc.\u0275fac=function(a){return new (a||isc)};isc.\u0275pipe=vd({name:"humanFileSize",type:isc,pure:!0});var jsc=function(){this.transform=rKa};jsc.\u0275fac=function(a){return new (a||jsc)};jsc.\u0275pipe=vd({name:"omitObfuscatedEmail",type:jsc,pure:!0});var ksc=function(){this.transform=dq};ksc.\u0275fac=function(a){return new (a||ksc)};ksc.\u0275pipe=vd({name:"toString",type:ksc,pure:!0});var lsc=function(){this.transform=sKa};lsc.\u0275fac=function(a){return new (a||lsc)};
lsc.\u0275pipe=vd({name:"csv",type:lsc,pure:!0});var msc=new Map([["(",")"],[")","("],["{","}"],["}","{"],["[","]"],["]","["],["<",">"],[">","<"]]),eM=function(){};eM.prototype.transform=function(a){return a==null?void 0:a.split("").reverse().map(function(b){var c;return(c=msc.get(b))!=null?c:b}).join("")};eM.\u0275fac=function(a){return new (a||eM)};eM.\u0275pipe=vd({name:"reverse",type:eM,pure:!0});var fM=function(){};
fM.prototype.transform=function(a,b,c){a=b.indexOf(a);if(a<0)return!0;c=a+c;return!(c>=0&&c<b.length)};fM.\u0275fac=function(a){return new (a||fM)};fM.\u0275pipe=vd({name:"isOutOfBounds",type:fM,pure:!0});var gM=function(){};gM.\u0275fac=function(a){return new (a||gM)};gM.\u0275mod=u({type:gM});gM.\u0275inj=p({});var nsc=function(){this.propertiesBeingSaved=new KB};nsc.prototype.get=function(a){return this.propertiesBeingSaved.has(dq(a))};var hM=function(a,b){a.propertiesBeingSaved.add(dq(b))},iM=function(a,b){a.propertiesBeingSaved.delete(dq(b))};nsc.prototype.properties=function(){return[].concat(w(this.propertiesBeingSaved))};var tKa={QA:{157:[{emailAddress:"security@chromium.org"}]},PROD:{157:[{emailAddress:"security@chromium.org"}]}};var jM=function(){var a=this;this.activeSession=r(dv);this.butterBar=r(hE);this.issueInteractionsTracking=r(VL);this.issueApi=r(uD);this.componentFridge=r(AC);this.permissionsFridge=r(WG);this.eventsForIssueFridge=r(yF);this.statusMessages=r(xL);this.errorHandler=r(jE);this.confirmationDialogService=r(rL);this.principalTypes=r(YG);this.issuePermissionService=r(ZL);this.accessPolicy=r(pC);this.issueTypeDialog=r(sL);this.logger=r(iE);this.issueFullFridge=r(yG);this.confirmNoAccessService=r(KL);this.issueService=
r(IF);this.attachmentsMember=r(DL);this.userPreferencesManager=r(yH);this.issueComments=r(IL);this.draftStore=r(bL);this.attachmentApi=r(CL);this.issueFieldsFactory=r(UL);this.issueQuickActionsFactory=r($L);this.issueCommentDraftFactory=r(RL);this.isSavingMap=new Map;this.savingState=Ki(this.isSavingMap,function(){return new nsc});this.issueFieldsMap=new Map;this.issueFields=Ki(this.issueFieldsMap,function(b){return a.issueFieldsFactory.create(b)});this.issueQuickActionsMap=new Map;this.issueQuickActions=
Ki(this.issueQuickActionsMap,function(b){return a.issueQuickActionsFactory.create(b)});this.editableIssueMap=new Map;this.editableIssue$=Ki(this.editableIssueMap,function(b){return osc(a,b)});this.editableIssue=function(b){return a.editableIssue$(b).value};this.subscriptions=new Map;this.getSubscription=Ki(this.subscriptions,function(){return new me});this.issueCommentDraftMap=new Map;this.issueCommentDraft=Ki(this.issueCommentDraftMap,function(b){return a.issueCommentDraftFactory.create(b)});this.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY=
{saveCommentDraft:this.saveCommentDraft.bind(this)}};jM.prototype.clear=function(a){this.isSavingMap.delete(a);this.issueFieldsMap.delete(a);this.issueQuickActionsMap.delete(a);this.editableIssueMap.delete(a);this.issueCommentDraftMap.delete(a);this.getSubscription(a).unsubscribe()};
jM.prototype.updateComponent=function(a,b,c,d){var e=this,f,h,l,q,v,y;return ve(function(E){if(E.nextAddress==1)return f=e.editableIssue(a),f.componentId=b,(h=psc(e,f))&&h.actions&&h.actions.length?xe(E,e.getRetentionState(a),2):E.return();l=E.yieldResult;qsc(e,h);q={issueId:a,componentId:b};v=Object.assign({},q,{setLimitViewTrusted:d});y=c?e.issueApi.moveIssueExternal(a,v):e.issueApi.moveIssue(a,q);return E.return(rsc(e,y,h,{originalRetentionState:l}))})};
var Bsb=function(a,b,c){var d,e;return ve(function(f){if(!c)return a.butterBar.showWarning("Reporter can't be empty."),f.return();d=a.editableIssue(b);d.setReporter(c);return f.return((e=kM(a,d))!=null?e:Promise.resolve())})},ssc=function(a,b,c,d){var e,f,h,l,q,v;return ve(function(y){switch(y.nextAddress){case 1:e=rra(c);if(!e)return a.logger.warn("unknown issue type: "+c),y.return();f=a.editableIssue(b);if(e!=="VULNERABILITY"&&e!=="PRIVACY_ISSUE"){y.jumpTo(2);break}return xe(y,Tqc(a.issueTypeDialog,
e),3);case 3:if(h=y.yieldResult,!h)return y.return();case 2:if(!d||e!=="VULNERABILITY"){y.jumpTo(4);break}l=uKa(a.activeSession.getEnvironmentType(),d);if(l===void 0){y.jumpTo(4);break}we(y,6);return xe(y,a.issueApi.markAsVulnerability(b,l),8);case 8:a.permissionsFridge.poke("issues/"+b);a.issueFullFridge.poke(b);jv(y,7);break;case 6:q=Be(y),lE(a.errorHandler,q);case 7:return y.return(Promise.resolve());case 4:return f.setType(e),y.return((v=kM(a,f))!=null?v:Promise.resolve())}})},Dsb=function(a,
b,c){var d,e,f;return ve(function(h){d=Ni(c);if(!d)return a.logger.warn("unknown priority: "+c),h.return();e=a.editableIssue(b);e.setPriority(d);return h.return((f=kM(a,e))!=null?f:Promise.resolve())})},usc=function(a,b,c){var d,e,f;return ve(function(h){d=a.editableIssue(b);d.duplicateOfIssueId=c;d.status="DUPLICATE";e=psc(a,d);return e?(f=e.actions.find(function(l){return l.fieldName==="duplicateOfIssueId"&&!iu(l.value||"")}))&&f.value?h.return(tsc(a,b,{actionIssueId:f.value,implicitAppenders:d.cc,
implicitEditors:[],isDeduping:!0,isRemovingSelfFromCc:!1,requestData:e})):h.return():h.return()})},vsc=function(a,b,c){var d,e;return ve(function(f){d=a.editableIssue(b);d.setStatus(c);return f.return((e=kM(a,d))!=null?e:Promise.resolve())})},wsc=function(a,b,c){var d,e,f;return ve(function(h){if(!c)return h.return();d=a.editableIssue(b);var l=e=a.issueQuickActions(b),q=d;switch(c.type){case "TAKE":q.status==="NEW"&&(q.status="ASSIGNED");q.assignee=l.activeSession.getUserEmail();break;case "DEFAULT_ASSIGNEE":if(l=
l.defaultAssigneeForComponent())q.status==="NEW"&&(q.status="ASSIGNED"),q.assignee=l;break;case "START":q.status="ACCEPTED";break;case "FIX":q.status="FIXED";break;case "VERIFY":q.status="VERIFIED";break;case "REOPEN":q.status=q.assignee?"ASSIGNED":"NEW";break;default:xb(c.type)}return h.return((f=kM(a,d))!=null?f:Promise.resolve())})},Crb=function(a,b,c){var d,e;return ve(function(f){d=a.editableIssue(b);var h;d.effortEstimate=(h=c==null?void 0:c.estimate)!=null?h:null;return f.return((e=kM(a,d))!=
null?e:Promise.resolve())})},lsb=function(a,b,c){var d,e,f;return ve(function(h){d=a.editableIssue(b);e=jra(c,!1);d.foundInVersion=e;return h.return((f=kM(a,d))!=null?f:Promise.resolve())})},psb=function(a,b,c){var d,e,f;return ve(function(h){d=a.editableIssue(b);e=jra(c,!1);d.verifiedInVersion=e;return h.return((f=kM(a,d))!=null?f:Promise.resolve())})},nsb=function(a,b,c){var d,e,f;return ve(function(h){d=a.editableIssue(b);e=jra(c,!1);d.targetedToVersion=e;return h.return((f=kM(a,d))!=null?f:Promise.resolve())})},
rsb=function(a,b,c){var d,e;return ve(function(f){d=a.editableIssue(b);d.setInProd(c);return f.return((e=kM(a,d))!=null?e:Promise.resolve())})},fsb=function(a,b,c){var d,e,f;return ve(function(h){d=sra(c);if(!d)return a.logger.warn("unknown severity: "+c),h.return();e=a.editableIssue(b);e.setSeverity(d);return h.return((f=kM(a,e))!=null?f:Promise.resolve())})};
jM.prototype.updateSloStartTime=function(a,b){var c=this,d,e;return ve(function(f){d=c.editableIssue(a);d.sloStartTime=b;return f.return((e=kM(c,d))!=null?e:Promise.resolve())})};jM.prototype.updateSloEndTime=function(a,b){var c=this,d,e;return ve(function(f){d=c.editableIssue(a);d.setSloEndTime(b);return f.return((e=kM(c,d))!=null?e:Promise.resolve())})};
var isb=function(a,b,c){var d,e,f;ve(function(h){d=a.editableIssue(b);d.changelist=(e=c)!=null?e:[];return h.return((f=kM(a,d))!=null?f:Promise.resolve())})},jsb=function(a,b,c){var d,e,f;ve(function(h){d=a.editableIssue(b);d.gerritChanges=(e=c)!=null?e:[];return h.return((f=kM(a,d))!=null?f:Promise.resolve())})},ysb=function(a,b,c,d){var e,f;return ve(function(h){e=a.editableIssue(b);e.setCustomField(c,d);return h.return((f=kM(a,e))!=null?f:Promise.resolve())})},Isb=function(a,b,c){var d,e,f,h;return ve(function(l){switch(l.nextAddress){case 1:return d=
a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?xe(l,xsc(a,b,"verifier",[c]),5):xe(l,Arc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"verifier"}),4);case 4:e=l.yieldResult;if(!e)return l.return();l.jumpTo(3);break;case 5:if(f=l.yieldResult,!f)return l.return();case 3:return d.setVerifier(c),l.return((h=kM(a,d))!=null?h:Promise.resolve())}})},Gsb=function(a,b,c){var d,e,f,h;return ve(function(l){switch(l.nextAddress){case 1:return d=
a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?xe(l,xsc(a,b,"assignee",[c]),5):xe(l,Arc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"assignee"}),4);case 4:e=l.yieldResult;if(!e)return l.return();l.jumpTo(3);break;case 5:if(f=l.yieldResult,!f)return l.return();case 3:return d.setAssignee(c),l.return((h=kM(a,d))!=null?h:Promise.resolve())}})},ysc=function(a,b,c){var d,e,f,h,l,q;return ve(function(v){switch(v.nextAddress){case 1:d=
a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return xe(v,xsc(a,b,"CC",c),5);e=Ata(d.cc,c);f=e.added;return xe(v,Arc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:f,relation:"reader",analyticsEventLabel:"cc"}),4);case 4:h=v.yieldResult;if(!h)return v.return();v.jumpTo(3);break;case 5:if(l=v.yieldResult,!l)return v.return();case 3:return d.cc=c,v.return((q=kM(a,d))!=null?q:Promise.resolve())}})},zsc=function(a,b,c){var d,e,f,h,l,q;return ve(function(v){switch(v.nextAddress){case 1:d=
a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return xe(v,xsc(a,b,"collaborators",c),5);e=Ata(d.collaborators,c);f=e.added;return xe(v,Arc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:f,relation:"reader",analyticsEventLabel:"collaborators"}),4);case 4:h=v.yieldResult;if(!h)return v.return();v.jumpTo(3);break;case 5:if(l=v.yieldResult,!l)return v.return();case 3:return d.setCollaborators(c),v.return((q=kM(a,d))!=null?q:Promise.resolve())}})},Asc=
function(a,b,c){var d;return ve(function(e){d=a.editableIssue(b);d.setPlannedAllocations(c);return e.return(kM(a,d))})};jM.prototype.unarchive=function(a){var b=this,c,d;return ve(function(e){c=b.editableIssue(a);c.setIsArchived(!1);return e.return((d=kM(b,c))!=null?d:Promise.resolve())})};
jM.prototype.updateIssueRetention=function(a,b){var c=this,d,e,f;return ve(function(h){switch(h.nextAddress){case 1:return d={issueId:a,retention:b},e=c.savingState(a),hM(e,"retention"),we(h,2,3),xe(h,c.issueApi.updateIssueRetention(a,d),5);case 5:return xe(h,c.issueFullFridge.poke(a),6);case 6:du(c.butterBar,"Issue retention updated to "+b+".",4E3);case 3:ye(h);iM(e,"retention");ze(h,0);break;case 2:f=Be(h),lE(c.errorHandler,f),h.jumpTo(3)}})};
var Bsc=function(a,b){var c,d,e;return ve(function(f){c=a.editableIssue(b);c.setIsDeleted(!0);c.setDeletionReason("ABUSE");d=psc(a,c);if(!d||!d.actions)return f.jumpTo(0);qsc(a,d);e=a.issueService.delete(b,"ABUSE");return xe(f,rsc(a,e,d),0)})},gMb=function(a,b){var c,d,e;return ve(function(f){c=a.editableIssue(b);c.setIsDeleted(!1);c.setDeletionReason(null);d=psc(a,c);if(!d||!d.actions)return f.jumpTo(0);qsc(a,d);e=a.issueService.undelete(b);return xe(f,rsc(a,e,d),0)})};
jM.prototype.updateSubscription=function(a,b){var c=this,d,e,f,h,l;return ve(function(q){switch(q.nextAddress){case 1:return d=c.savingState(a),xe(q,Je(c.issueFullFridge.watch(a,{trustUncertainMemory:!0})),2);case 2:e=q.yieldResult;h=(f=e)==null?void 0:f.userData;if(h==null||d.get("subscribe"))return q.return();we(q,3,4);hM(d,"subscribe");return xe(q,c.issueFullFridge.setNotificationSubscription(a,b),4);case 4:ye(q);iM(d,"subscribe");ze(q,0);break;case 3:l=Be(q),lE(c.errorHandler,l),q.jumpTo(4)}})};
var Csc=function(a,b,c){var d,e;ve(function(f){switch(f.nextAddress){case 1:d=a.savingState(b);if(!c.attachmentId||d.get("undeleteAttachment"))return f.return();we(f,2,3);du(a.butterBar,"Restoring attachment...");hM(d,"undeleteAttachment");return xe(f,a.attachmentsMember.undelete(b.toString(),c),5);case 5:du(a.butterBar,"Attachment restored."),a.issueFullFridge.poke(b),a.eventsForIssueFridge.poke(b);case 3:ye(f);iM(d,"undeleteAttachment");ze(f,0);break;case 2:e=Be(f),lE(a.errorHandler,e),f.jumpTo(3)}})},
Dsc=function(a,b,c,d){var e,f;return ve(function(h){switch(h.nextAddress){case 1:e=a.savingState(b);if(!c.attachmentId||e.get("deleteAttachment"))return h.return();we(h,2,3);du(a.butterBar,"Deleting attachment...");hM(e,"deleteAttachment");return xe(h,a.attachmentsMember.delete(b,c,d),5);case 5:du(a.butterBar,"Attachment deleted."),a.issueFullFridge.poke(b),a.eventsForIssueFridge.poke(b);case 3:ye(h);iM(e,"deleteAttachment");ze(h,0);break;case 2:f=Be(h),lE(a.errorHandler,f),h.jumpTo(3)}})};
jM.prototype.saveCommentDraft=function(a,b){var c=this,d=this.issueCommentDraft(a),e=d.comment(),f=Nrc(d);if(!f.commentText&&!f.attachmentsWithJudgements.length)return Promise.resolve();var h=Orc(d);qsc(this,h);return rsc(this,function(){return ve(function(l){switch(l.nextAddress){case 1:return xe(l,Esc(c,a),2);case 2:if(!f.commentText){l.jumpTo(3);break}return xe(l,c.issueComments.create(String(a),f.commentText,f.formattingMode,f.judgementForNewContent,b),4);case 4:e.reset(),c.draftStore.$window.sessionStorage.removeItem(Wp(a));
case 3:if(!f.attachmentsWithJudgements.length){l.jumpTo(5);break}var q=c.attachmentApi;var v=f.attachmentsWithJudgements,y=new krc;y.setIssueId(String(a));v!==void 0&&(v=v.map(kJa),$l(y,3,v));q=q.executor.post({url:"action/issues/"+a+"/attachments",body:y,responseConstructor:AL}).then(mJa);return xe(l,q,6);case 6:e.reset();case 5:return d.setJudgementForNewContent(),l.return(c.issueFullFridge.poke(a))}})}(),h)};
var Esc=function(a,b){var c,d;return ve(function(e){if(!zH(a.userPreferencesManager).autoCcOnComment||!a.issuePermissionService.hasAclToEdit()||a.issuePermissionService.isCurrentUserCCd())return e.return();var f=c=a.editableIssue(b),h=[].concat(w(c.cc),[a.activeSession.getUserEmail()]);f.cc=h;d={issueId:b,actions:[{fieldName:"ccs",value:a.activeSession.getUserEmail(),actionType:"ADD"}]};return xe(e,a.issueApi.updateIssue(b,d),0)})},osc=function(a,b){var c=a.issueFullFridge.watch(b).pipe(B(function(e){var f=
new qqc;if(e){var h=Fsc(a,b,zi(La(e.snapshot)));f.currentUserEmail=a.activeSession.getUserEmail();f.setData(h,b,e.customFields)}return f})),d=new bo(new qqc);a.getSubscription(b).add(c.subscribe(d));return d},kM=function(a,b){var c=b.issueId,d=psc(a,b);if(!d)return null;for(var e=!1,f=[],h=[],l=c,q=k(d.actions),v=q.next();!v.done;v=q.next()){v=v.value;var y=v.value||"";if(v.actionType!=="REMOVE")switch(v.fieldName){case "ccs":f=y.split(",").filter(Boolean);break;case "verifier":case "assignee":case "collaborators":h=
y.split(",").filter(Boolean);break;case "duplicateOfIssueId":iu(y)||(f=b.cc,l=String(y),e=!0)}}return tsc(a,c,{actionIssueId:l,implicitAppenders:f,implicitEditors:h,isDeduping:e,isRemovingSelfFromCc:d.actions.length===1&&d.actions[0].fieldName==="ccs"&&d.actions[0].actionType==="REMOVE"&&a.activeSession.getUserEmail()===d.actions[0].value,requestData:d})},tsc=function(a,b,c){var d=c.actionIssueId;var e=c.implicitAppenders;var f=c.implicitEditors;var h=c.isDeduping;var l=c.isRemovingSelfFromCc;var q=
c.requestData;var v,y,E,H,O,N,T,da,ja,na,Ia,Pa,Na,bb;return ve(function(ma){switch(ma.nextAddress){case 1:return xe(ma,Promise.all([Gsc(a,e,"appender",d),Gsc(a,f,"writer",d)]),2);case 2:v=ma.yieldResult;y=k(v);E=y.next().value;H=y.next().value;O=E;N=H;T=O.noAccessEmails||[];da=N.noAccessEmails||[];ja=[].concat(w(T),w(da));if(ja.length===0)return ma.return(Hsc(a,q,h,l));we(ma,3);return xe(ma,Promise.all(ja.map(function(Da){return Isc(a,Da)})),5);case 5:return na=ma.yieldResult,Ia=Cua({userPrincipals:na,
newEditors:da,newImplicitUsers:ja,isExternalSession:a.activeSession.isExternalSession(),issueId:b,actionIssueId:d}),Pa=Ia.title,Na=Ia.content,xe(ma,Rqc(a.confirmationDialogService,{title:Pa,content:ti(Na),confirmButtonText:"Allow"}),6);case 6:if(bb=ma.yieldResult)return ma.return(Hsc(a,q,h,l));a.permissionsFridge.poke("issues/"+b);a.issueFullFridge.poke(b);jv(ma,0);break;case 3:Be(ma),a.butterBar.showWarning("Could not determine email type."),Ce(ma)}})},Hsc=function(a,b,c,d){qsc(a,b);var e=b.issueId;
c?(c=a.editableIssue(String(e)),e=a.issueApi.relateIssue(e,{issueId:e,targetIds:[c.duplicateOfIssueId],actionType:"ADD",relation:"DUPLICATE"})):e=d?a.issueApi.unCcUser(b.issueId):a.issueApi.updateIssue(e,b);return rsc(a,e,b)},Gsc=function(a,b,c,d,e,f){e=e===void 0?!1:e;f=f===void 0?null:f;if(e&&!f)throw Error("Nd");var h=e?"ISSUE_DEFAULTS":"ISSUE";d=e?f:d;e={noAccessEmails:[]};return b.length!==0&&a.issuePermissionService.isImplicitAccessEnabled()?a.accessPolicy.checkPermission(b.map(Gp),c,h,d):Promise.resolve(e)},
Fsc=function(a,b,c){var d=a.isSavingMap.get(b);a=(a=a.editableIssueMap.get(b))&&Xo(a);if(!a||!d)return c;d=d.properties();d=k(d);b=d.next();for(var e={};!b.done;e={customFieldId$jscomp$15:void 0},b=d.next())b=b.value,b.match(/^\d+$/)?(e.customFieldId$jscomp$15=Ei(b),e=(c.customField||[]).find(function(f){return function(h){return h.customFieldId===f.customFieldId$jscomp$15}}(e)),b=a.customFieldMap[b],e&&b&&(e.textValue=b.textValue,e.dateValue=b.dateValue,e.enumValue=b.enumValue,e.numericValue=b.numericValue)):
(e=void 0,(e=xqc.get(b))==null||e(c,a));return c},psc=function(a,b){var c=vqc(b);if(!c)return null;var d=a.isSavingMap.get(String(b.issueId));c.actions=c.actions.filter(function(e){return!(d==null?0:d.get(vKa(e)))});return c.actions.length?c:null},qsc=function(a,b){var c=String(b.issueId);du(a.butterBar,"Saving...",0);var d=b.actions.map(function(e){return e.fieldName}).join(",");Vrc(a.issueInteractionsTracking,c,{label:d});a=a.savingState(c);b=k(b.actions);for(c=b.next();!c.done;c=b.next())hM(a,
vKa(c.value))},rsc=function(a,b,c,d){var e,f;return ve(function(h){switch(h.nextAddress){case 1:return we(h,2),xe(h,b,4);case 4:return e=h.yieldResult,AG(a.issueFullFridge,[c.issueId],{eagerUpdate:!1,userActivityType:"EDIT"}).finally(function(){var l=String(c.issueId);a.issueFullFridge.poke(l);a.eventsForIssueFridge.poke(l)}),xe(h,Jsc(a,c,e,d),5);case 5:jv(h,0);break;case 2:f=Be(h),Ksc(a,c,f),Ce(h)}})},Jsc=function(a,b,c,d){var e=(d===void 0?{}:d).originalRetentionState;var f,h,l,q;return ve(function(v){f=
a.savingState(String(b.issueId));h=k(b.actions);for(l=h.next();!l.done;l=h.next())q=l.value,iM(f,vKa(q));return c?xe(v,Lsc(a,b,e),0):v.jumpTo(0)})},Ksc=function(a,b,c){var d=String(b.issueId),e=a.savingState(d);b=k(b.actions);for(var f=b.next();!f.done;f=b.next())iM(e,vKa(f.value));a.permissionsFridge.poke("issues/"+d);a.issueFullFridge.poke(d);Jn(c)&&c.status===403&&Kn(c)?kE(a.errorHandler,Kn(c)):lE(a.errorHandler,c)},Lsc=function(a,b,c){var d,e,f,h,l,q,v,y,E,H,O;return ve(function(N){switch(N.nextAddress){case 1:return xe(N,
a.getEffortSpec(String(b.issueId)),2);case 2:d=N.yieldResult;e=a.editableIssue(String(b.issueId));l=jrc(a.statusMessages,b,e.customFieldMap,(h=(f=d)==null?void 0:f.name)!=null?h:"");if(!c){N.jumpTo(3);break}return xe(N,Promise.all([a.getRetentionState(String(b.issueId)),a.getRetention(String(b.issueId))]),4);case 4:q=N.yieldResult;v=k(q);y=v.next().value;E=v.next().value;H=y;O=E;if(O!=="INDEFINITE"&&c&&H){var T=c.retentionPeriod?Tk(Math.floor(c.retentionPeriod.seconds*1E3/864E5)):"indefinite";var da=
H.retentionPeriod?Tk(Math.floor(H.retentionPeriod.seconds*1E3/864E5)):"indefinite";T=T===da?"":" Issue retention period changed from "+T+" to "+da+"."}else T="";l+=T;case 3:du(a.butterBar,l),Ce(N)}})},xsc=function(a,b,c,d){return ve(function(e){if(e.nextAddress==1){var f=a.editableIssue(b);var h=a.activeSession.getUserEmail();f=new Map([["CC",f.cc],["collaborators",f.collaborators],["assignee",f.assignee?[f.assignee]:[]],["verifier",f.verifier?[f.verifier]:[]]]);(new Set([].concat(w(f.values())).flat())).has(h)?
(f.set(c,d),h=!(new Set([].concat(w(f.values())).flat())).has(h)):h=!1;e=h?xe(e,Msc(a,b,a.editableIssue(b).componentId,c),2):e.return(!0)}else e=e.return(e.yieldResult);return e})},Msc=function(a,b,c,d){var e;return ve(function(f){if(f.nextAddress==1)return xe(f,Gsc(a,[a.activeSession.getUserEmail()],"reader",b,!0,c),2);e=f.yieldResult;return e.noAccessEmails&&e.noAccessEmails.length!==0?f.return(Rqc(a.confirmationDialogService,{title:"Removing yourself from "+d+" may revoke your access to the issue",
content:ti("This issue is in a component with Expanded Access enabled, and you do not have access to view this issue by default. Removing yourself from "+d+" may also remove your ability to view the issue. Are you sure you would like to do this?")})):f.return(!0)})};jM.prototype.getRetentionState=function(a){return Je(this.issueFullFridge.watch(a).pipe(B(cKa)))};jM.prototype.getRetention=function(a){return Je(this.issueFullFridge.watch(a).pipe(B($Ja)))};
jM.prototype.getEffortSpec=function(a){var b=this;return Je(this.issueFullFridge.watch(a).pipe(B(GJa),Nf(function(c){return b.componentFridge.watch(c)}),B(fKa)))};var Isc=function(a,b){return ve(function(c){return a.activeSession.isExternalSession()?c.return({principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}):c.return(ZG(a.principalTypes,b,!0))})};
jM.prototype.ngOnDestroy=function(){this.isSavingMap.clear();this.issueFieldsMap.clear();this.issueQuickActionsMap.clear();this.editableIssueMap.clear();for(var a=k(this.subscriptions.values()),b=a.next();!b.done;b=a.next())b.value.unsubscribe();this.subscriptions.clear()};jM.\u0275fac=function(a){return new (a||jM)};jM.\u0275prov=n({token:jM,factory:jM.\u0275fac,providedIn:"root"});var lM=function(){Z.apply(this,arguments);this.issueDetailsBrain=r(XL);this.issuePermissionService=r(ZL);this.editIssueService=r(jM);this.assigneeInProgress$=new If(1);this.ccInProgress$=new If(1);this.id$=this.issueDetailsBrain.id$;this.assigneeUpdate$=this.issueDetailsBrain.issueJs$.pipe(B(function(a){return Nta(a)||""}));this.ccUpdate$=this.issueDetailsBrain.issueJs$.pipe(B(function(a){var b;return Si((b=Zk(a))==null?void 0:b.ccUsers)||[]}));this.assignee$=this.assigneeUpdate$.pipe(Kf({refCount:!0,
bufferSize:1}));this.cc$=this.ccUpdate$.pipe(Kf({refCount:!0,bufferSize:1}));this.assigneeUpdating$=this.assigneeInProgress$;this.ccUpdating$=this.ccInProgress$;this.editAccess$=this.issuePermissionService.hasAclToEdit$};Y(lM,Z);lM.\u0275dir=Z.\u0275dir;
var Nsc=function(a,b){var c,d,e;return ve(function(f){switch(f.nextAddress){case 1:c=Xo(a.id$);if(!c)return f.return();a.assigneeInProgress$.next(!0);d=b.action==="remove_user"?"":b.email;we(f,2,3);return xe(f,Gsb(a.editIssueService,c,d),5);case 5:return xe(f,Je(a.assigneeUpdate$.pipe(Ye(function(h){h=b.email===h;return b.action==="set_user"?h:!h}),Ze(6E4))),3);case 3:ye(f);a.assigneeInProgress$.next(!1);ze(f,0);break;case 2:throw e=Be(f),e;}})},Osc=function(a,b){var c,d,e,f,h;return ve(function(l){switch(l.nextAddress){case 1:c=
Xo(a.id$);if(!c)return l.return();d=a.editIssueService.editableIssue(c);e=d.cc.includes(b.email);f=void 0;b.action!=="set_user"||e?b.action==="remove_user"&&e&&(f=ysc(a.editIssueService,c,d.cc.filter(function(q){return q!==b.email}))):f=ysc(a.editIssueService,c,[].concat(w(d.cc),[b.email]));if(!f)return l.return();we(l,2,3);a.ccInProgress$.next(!0);return xe(l,f,5);case 5:return xe(l,Je(a.ccUpdate$.pipe(Ye(function(q){q=q.includes(b.email);return b.action==="set_user"?q:!q}),Ze(6E4))),3);case 3:ye(l);
a.ccInProgress$.next(!1);ze(l,0);break;case 2:throw h=Be(l),h;}})};lM.\u0275fac=function(){var a;return function(b){return(a||(a=de(lM)))(b||lM)}}();lM.\u0275prov=n({token:lM,factory:lM.\u0275fac});var mM=function(){this.window=r(aL)};mM.prototype.openInNewTab=function(a){a=Oc(a);Vc(this.window,a,"_blank")};var Dq=function(a,b){b=Oc(b);Vc(a.window,b)},nM=function(a,b){a=a.window.location;b=Oc(b);b=Pc(b);b!==void 0&&(a.href=b)};mM.\u0275fac=function(a){return new (a||mM)};mM.\u0275prov=n({token:mM,factory:mM.\u0275fac,providedIn:"root"});var oM=function(){Z.apply(this,arguments);this.domSafe=r(mM);this.cdr=r(sG,{self:!0});this.actionService=r(lM,{optional:!0});this.currentAssignee="";this.currentCc=[];this.ccActionDisabled=this.assigneeActionDisabled=!1};Y(oM,Z);oM.\u0275dir=Z.\u0275dir;
oM.prototype.ngOnInit=function(){var a=this;if(this.actionService){var b;(b=this.actionService)==null||b.assignee$.pipe(Of(this.destroyed$)).subscribe(function(d){a.currentAssignee=d;a.cdr.detectChanges()});var c;(c=this.actionService)==null||c.cc$.pipe(Of(this.destroyed$)).subscribe(function(d){a.currentCc=d;a.cdr.detectChanges()})}};
var wKa=function(a){if(a.actionService&&!a.assigneeActionDisabled){a.assigneeActionDisabled=!0;var b=a.email===a.currentAssignee?"remove_user":"set_user";vo("personCard","assigneeAction",b);Nsc(a.actionService,{email:a.email,action:b}).finally(function(){a.assigneeActionDisabled=!1})}},xKa=function(a){if(a.actionService&&!a.ccActionDisabled){a.ccActionDisabled=!0;var b=a.currentCc.includes(a.email)?"remove_user":"set_user";vo("personCard","ccAction",b);Osc(a.actionService,{email:a.email,action:b}).finally(function(){a.ccActionDisabled=
!1})}};oM.\u0275fac=function(){var a;return function(b){return(a||(a=de(oM)))(b||oM)}}();
oM.\u0275cmp=t({type:oM,selectors:[["b-issue-person-card"]],inputs:{email:"email"},features:[Yg([sG]),cg],decls:6,vars:4,consts:[[3,"email"],[1,"actions"],[3,"click"],[3,"onAction","disabled"]],template:function(a,b){a&1&&(I(0,"b-person-card",0),D(1,yKa,9,8,"ng-container",1),S(2,"async"),I(3,"onedev-hovercard-action",2),M("click",function(c){vo("personCard","showAssignedIssuesAction");var d=tq.listIssues.makeHref({q:"assignee:"+b.email+" status:open"});c.ctrlKey||c.metaKey?b.domSafe.openInNewTab(d):
nM(b.domSafe,d)}),I(4,"span"),Q(5,"Show assigned issues"),J()()());a&2&&(F("email",b.email),C(),G(b.actionService&&U(2,2,b.actionService.editAccess$)?1:-1))},dependencies:[TK,GK,Iw],encapsulation:2,changeDetection:0});var pM=function(){};pM.\u0275fac=function(a){return new (a||pM)};pM.\u0275mod=u({type:pM});pM.\u0275inj=p({imports:[RE,VK,WK]});var qM=function(){};qM.prototype.transform=function(a){if(Pk(a))return a};qM.\u0275fac=function(a){return new (a||qM)};qM.\u0275pipe=vd({name:"omitObfuscatedEmail",type:qM,pure:!0});var Psc=function(a){this.internalArray_=m(a)};Y(Psc,V);Psc.prototype.getDisplayName=function(){return Gh(this,1)};Psc.prototype.setDisplayName=function(a){return gk(this,1,a)};Psc.prototype.getPhotoUrl=function(){return Gh(this,2)};var Qsc=function(a){this.internalArray_=m(a,0,Qsc.messageId)};Y(Qsc,V);Qsc.messageId="b.UserProfileBatchResponse";var sM=function(){var a=this;this.userProfilesBatchApiConfig=r(rM);this.batchApiAdapter=r(rC);this.batchAdaptedGet=this.batchApiAdapter.adapt(this.userProfilesBatchApiConfig);this.memoizingUserProfileMap=new Pfc(function(b){return a.batchAdaptedGet(b)},100)};sM.prototype.get=function(a){return this.memoizingUserProfileMap.get(a)};sM.\u0275fac=function(a){return new (a||sM)};sM.\u0275prov=n({token:sM,factory:sM.\u0275fac,providedIn:"root"});var rM=function(){this.executor=r(OB)};
rM.prototype.call=function(a){return this.executor.get({url:"action/user_profiles",options:{params:{usernames:[].concat(w(a)).join(",")}},responseConstructor:Qsc}).pipe(xf(function(){return Fe(new Qsc)}))};rM.prototype.split=function(a,b){return(a=tc(b,1,Psc,Vb).get(a))?{photoUrl:a.getPhotoUrl(),highResolutionPhotoUrl:Gh(a,3),displayName:a.getDisplayName()}:void 0};rM.\u0275fac=function(a){return new (a||rM)};rM.\u0275prov=n({token:rM,factory:rM.\u0275fac,providedIn:"root"});var tM=function(){var a=this;this.session=r(dv);this.userProfiles=r(sM);this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1;this.email$=new If(1);this.showEmail$=new bo(!1);this.isNonObfuscatedEmail=Pk;this.userProfile$=this.email$.pipe(Nf(function(b){return a.userProfiles.get(b)})).pipe(Mf(void 0));this.content$=Me([this.email$,this.userProfile$,this.showEmail$]).pipe(B(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;return(d=d==null?
void 0:d.displayName)?c?b+" ("+d+")":d:b}));this.vars$=Me([this.email$,this.content$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return{email:b,content:c}}));this.enableWaldoAvailability=lu(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};ea.Object.defineProperties(tM.prototype,{email:{configurable:!0,enumerable:!0,set:function(a){this.email$.next(a)}},showEmail:{configurable:!0,enumerable:!0,set:function(a){this.showEmail$.next(a)}}});
tM.\u0275fac=function(a){return new (a||tM)};
tM.\u0275cmp=t({type:tM,selectors:[["b-user-display-name"]],inputs:{availabilityChipEnabled:"availabilityChipEnabled",hovercardEnabled:"hovercardEnabled",hovercardFocusEnabled:"hovercardFocusEnabled",email:"email",showEmail:"showEmail"},decls:2,vars:3,consts:[["displayName",""],["card",""],["coinonly","",3,"user"],["role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"]],template:function(a,b){a&1&&(D(0,FKa,4,1),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.vars$))?
0:-1,c)}},dependencies:[Hw,uI,oM,bK,hK,Iw],encapsulation:2,changeDetection:0});var uM=function(){this.model={};this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1};uM.prototype.getDisplayString=function(){return Ri(this.model)};var Rsc=function(a){var b=a.model;return(b&&b.getUserGaiaStatus?tra(vra(b)):tra(b))&&!!a.getEmailAddress()};uM.prototype.getEmailAddress=function(){return Ui(this.model)||""};uM.\u0275fac=function(a){return new (a||uM)};
uM.\u0275cmp=t({type:uM,selectors:[["b-user-display"]],inputs:{model:"model",availabilityChipEnabled:"availabilityChipEnabled",hovercardEnabled:"hovercardEnabled",hovercardFocusEnabled:"hovercardFocusEnabled"},decls:3,vars:2,consts:[[3,"email","hovercardEnabled","availabilityChipEnabled","hovercardFocusEnabled"]],template:function(a,b){a&1&&(vg(0),D(1,GKa,1,4,"b-user-display-name",0)(2,HKa,2,1,"span"),wg());a&2&&(C(),G(Rsc(b)?1:-1),C(),G(Rsc(b)?-1:2))},dependencies:[tM],styles:[".b-user-display-span[_ngcontent-%COMP%]{margin-right:2px;margin-top:-1px;font-family:Roboto,Arial,sans-serif;font-size:.8125rem}"],
changeDetection:0});var MKa={"alertmanager-buganizer-handler@prod.google.com":"https://g3doc.corp.google.com/production/borg/alertmanager/g3doc/templates/AlertManager-darkred.png","apphosting-stubby-api--s-7egoogle-2ecom-3agitwatcher@prod.google.com":"https://gstatic.com/buganizer/img/v2/gerrit_logo.svg","blunderbuss-prod@prod.google.com":"https://moma.corp.google.com/team_logos/f5955dadc5abc82300946ee12bf0b610","bugjuggler-beta@google.com":"https://g3doc.corp.google.com/productivity/bugjuggler/g3doc/logo.png?cl=head",
"bugjuggler-beta@prod.google.com":"https://g3doc.corp.google.com/productivity/bugjuggler/g3doc/logo.png?cl=head","bugjuggler@google.com":"https://g3doc.corp.google.com/productivity/bugjuggler/g3doc/logo.png?cl=head","bugjuggler@prod.google.com":"https://g3doc.corp.google.com/productivity/bugjuggler/g3doc/logo.png?cl=head","koalassistant@prod.google.com":"https://g3doc.corp.google.com/platforms/networking/orion/octave/g3doc/images/koalassistant.png?cl=head","mendel-toolbox@google.com":"https://g3doc.corp.google.com/experiments/mendel/g3doc/logo_mendel_bkg-green_32px.svg?cl=head",
"modem-explorer-jobs@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","modem-tools-bug-workbench@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","piper-bugupdater@google.com":"https://static.corp.google.com/devtools/codereview/new_logo_only.svg","piper-bugupdater@prod.google.com":"https://static.corp.google.com/devtools/codereview/new_logo_only.svg","pixel-modem-alcedo-issue-sync-server-dev-jobs@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg",
"pixel-modem-alcedo-issue-sync-server@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","pixel-modem-tools-bug-traffic-control@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","pixel-modem-tools-issue-classifier-be@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","pixel-modem-tools-ltp-be@prod.google.com":"https://static.corp.google.com/modem-tools/ltp/logo.svg","pmw-data-prod-jobs@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg",
"prefilter-fetcher-jobs-dev@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","pte-pqm-bugbot-dev-jobs@prod.google.com":"https://g3doc.corp.google.com/wireless/android/pixel/testing/bugbot/g3doc/bugbot_logo.png?cl=head","pte-pqm-bugbot@prod.google.com":"https://g3doc.corp.google.com/wireless/android/pixel/testing/bugbot/g3doc/bugbot_logo.png?cl=head","spur-workflows@prod.google.com":"https://g3doc.corp.google.com/security/spur/g3doc/spur_logo.jpg?cl=head"};var vM=function(){Z.apply(this,arguments);this.teamsService=r(lH);this.activeSession=r(dv);this.teamMembers=new Map;this.teamChildren=new Map};Y(vM,Z);vM.\u0275dir=Z.\u0275dir;
var Usc=function(a,b,c){return lu(a.activeSession,"enableTeamScope")&&b&&c&&Pk(c)?Ssc(a,b).pipe(Nf(function(d){return d.has(c)?Fe(!0):Tsc(a,b).pipe(Nf(function(e){return e.length===0?Fe(!1):Se(e.map(function(f){return Usc(a,f,c)})).pipe(B(function(f){return f.some(Boolean)}))}))})):Fe(!1)},Tsc=function(a,b){if(a.teamChildren.has(b))return a.teamChildren.get(b);var c=new If(1);a.subscriptions.add(a.teamsService.getChildTeams([b]).pipe(B(function(d){var e,f;return(f=(e=d.get(b))==null?void 0:e.map(function(h){return h.id}))!=
null?f:[]})).subscribe(c));a.teamChildren.set(b,c);return c},Ssc=function(a,b){if(a.teamMembers.has(b))return a.teamMembers.get(b);var c=new If(1);a.subscriptions.add(a.teamsService.getTeam(b).pipe(B(function(d){var e;return(e=d==null?void 0:d.members)!=null?e:[]}),B(function(d){return d.map(function(e){return Ui(e==null?void 0:e.user)}).filter(kj)}),B(function(d){return new Set(d)})).subscribe(c));a.teamMembers.set(b,c);return c};
vM.\u0275fac=function(){var a;return function(b){return(a||(a=de(vM)))(b||vM)}}();vM.\u0275prov=n({token:vM,factory:vM.\u0275fac,providedIn:"root"});var wM=function(){var a=this;this.userProfiles=r(sM);this.activeSession=r(dv);this.teamMembershipService=r(vM);this.email$=new If(1);this.isNonObfuscatedEmail=Pk;this.teamId$=new If(1);this.userProfile$=this.email$.pipe(Nf(function(b){return b?a.userProfiles.get(b).pipe(Mf(void 0)):Fe(void 0)}));this.vars$=Me([this.email$,this.userProfile$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;if(!c)return{email:b,showImage:!1,src:void 0,srcset:void 0};var d=!c.photoUrl,e=d?void 0:c.photoUrl,
f;d?f=void 0:f=c.highResolutionPhotoUrl?c.highResolutionPhotoUrl+" 2x":c.photoUrl+" 1x";return{email:b,showImage:!d,src:e,srcset:f}}));this.isTeamMember$=Me([this.teamId$,this.email$]).pipe(Nf(function(b){var c=k(b);b=c.next().value;c=c.next().value;return Usc(a.teamMembershipService,b,c)}),Mf(!1),xf(function(){return Fe(!1)}))},QKa=function(a,b){return!b||a.activeSession.isExternalSession()?!1:MKa[b]!==void 0};
ea.Object.defineProperties(wM.prototype,{email:{configurable:!0,enumerable:!0,set:function(a){Pk(a)?this.email$.next(a):this.email$.next(void 0)}},teamId:{configurable:!0,enumerable:!0,set:function(a){this.teamId$.next(a!=null?a:void 0)}},tiny:{configurable:!0,enumerable:!0,get:function(){return this.size==="tiny"}},small:{configurable:!0,enumerable:!0,get:function(){return this.size==="small"}},medium:{configurable:!0,enumerable:!0,get:function(){return this.size==="medium"}},hasTeam:{configurable:!0,
enumerable:!0,get:function(){return!!Xo(this.teamId$)}}});wM.\u0275fac=function(a){return new (a||wM)};
wM.\u0275cmp=t({type:wM,selectors:[["b-user-image"]],hostVars:8,hostBindings:function(a,b){a&2&&ng("tiny",b.tiny)("small",b.small)("medium",b.medium)("hasTeam",b.hasTeam)},inputs:{email:"email",size:"size",teamId:"teamId"},decls:2,vars:3,consts:[["imageDisplay",""],["card",""],["role","img","aria-label","user avatar",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],["alt","",1,"user-avatar","material","robo-avatar",3,"src"],[1,"user-avatar","material",3,"team-member","anonymous"],[1,
"user-avatar","material"],["alt","",3,"src","srcset"]],template:function(a,b){a&1&&(D(0,SKa,4,1),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.vars$))?0:-1,c)}},dependencies:[Hw,oM,bK,hK,Iw],styles:['.material.user-avatar.anonymous[_ngcontent-%COMP%]{border:1px solid;border-color:#bdc1c6;border-color:var(--c400);border-radius:50%;background-image:url("https://www.gstatic.com/buganizer/img/v0/logo_avatar_anonymous.svg");background-repeat:no-repeat;background-position:center;background-size:cover}img[_ngcontent-%COMP%]{border-radius:50%;vertical-align:middle}.material.user-avatar.robo-avatar[_ngcontent-%COMP%]{border-radius:0;object-fit:contain}[_nghost-%COMP%]{display:inline-flex;vertical-align:middle;align-items:center}.tiny[_nghost-%COMP%]   img[_ngcontent-%COMP%]{width:12px;max-height:12px}.tiny[_nghost-%COMP%]   .user-avatar.anonymous[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;width:12px;height:12px;border:none;box-shadow:inset 0 0 0 1px #dadce0;box-shadow:inset 0 0 0 1px var(--divider)}.tiny.hasTeam[_nghost-%COMP%]{text-align:center}.tiny.hasTeam[_nghost-%COMP%]   span[_ngcontent-%COMP%]{width:16px}.tiny.hasTeam[_nghost-%COMP%]   .team-member[_ngcontent-%COMP%]{border:2px solid var(--team-member-gfx);box-sizing:border-box;border-radius:50%;display:block}.tiny.hasTeam[_nghost-%COMP%]   .team-member[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border:2px solid rgba(0,0,0,0);box-sizing:border-box}.small[_nghost-%COMP%]   img[_ngcontent-%COMP%]{max-width:18px;max-height:18px}.small[_nghost-%COMP%]   .user-avatar.anonymous[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;width:18px;height:18px;border:none;box-shadow:inset 0 0 0 1px #dadce0;box-shadow:inset 0 0 0 1px var(--divider)}.small.hasTeam[_nghost-%COMP%]{text-align:center}.small.hasTeam[_nghost-%COMP%]   span[_ngcontent-%COMP%]{width:22px}.small.hasTeam[_nghost-%COMP%]   .team-member[_ngcontent-%COMP%]{border:2px solid var(--team-member-gfx);box-sizing:border-box;border-radius:50%;display:block}.small.hasTeam[_nghost-%COMP%]   .team-member[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border:2px solid rgba(0,0,0,0);box-sizing:border-box}.medium[_nghost-%COMP%]   img[_ngcontent-%COMP%]{max-width:24px;max-height:24px}.medium[_nghost-%COMP%]   .user-avatar.anonymous[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;width:24px;height:24px;border:none;box-shadow:inset 0 0 0 1px #dadce0;box-shadow:inset 0 0 0 1px var(--divider)}.medium.hasTeam[_nghost-%COMP%]{text-align:center}.medium.hasTeam[_nghost-%COMP%]   span[_ngcontent-%COMP%]{width:28px}.medium.hasTeam[_nghost-%COMP%]   .team-member[_ngcontent-%COMP%]{border:2px solid var(--team-member-gfx);box-sizing:border-box;border-radius:50%;display:block}.medium.hasTeam[_nghost-%COMP%]   .team-member[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border:2px solid rgba(0,0,0,0);box-sizing:border-box}'],
changeDetection:0});var xM=function(){this.session=r(dv);this.isNonObfuscatedEmail=Pk;this.email="";this.withProfile=!0;this.enableWaldoAvailability=lu(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};xM.\u0275fac=function(a){return new (a||xM)};
xM.\u0275cmp=t({type:xM,selectors:[["b-user-email"]],inputs:{email:"email",withProfile:"withProfile",ldapOnly:"ldapOnly"},decls:7,vars:3,consts:[["emailDisplay",""],["card",""],[1,"bv2-email-with-profile-container"],[1,"bv2-email-with-profile-avatar",3,"email"],[1,"bv2-email-with-profile-waldo"],["role","button",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],["coinonly","",3,"user"]],template:function(a,b){a&1&&(I(0,"span",2),D(1,TKa,1,1,"b-user-image",3)(2,VKa,5,3)(3,XKa,1,1,"ng-container")(4,
YKa,2,1,"ng-template",null,0,fh)(6,ZKa,2,1,"span",4),J());a&2&&(C(),G(b.withProfile?1:-1),C(),G(b.isNonObfuscatedEmail(b.email)?2:3),C(4),G(b.enableWaldoAvailability?6:-1))},dependencies:[Hw,uI,oM,bK,hK,wM],styles:["[_nghost-%COMP%]     span.bv2-email-with-profile-avatar, [_nghost-%COMP%]     .bv2-email-with-profile-avatar .user-avatar{background-size:103%;display:inline-block;height:1.5em;margin-right:2px;margin-top:-1px;width:1.5em;vertical-align:middle}[_nghost-%COMP%]     span.bv2-email-with-profile-avatar img, [_nghost-%COMP%]     .bv2-email-with-profile-avatar .user-avatar img{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg);height:1.5em;width:1.5em}"],
changeDetection:0});var Vsc=function(a,b){return[a,b]},yM=function(){this.size=this.name=""};yM.prototype.ngOnInit=function(){};yM.\u0275fac=function(a){return new (a||yM)};
yM.\u0275cmp=t({type:yM,selectors:[["b-icon"]],inputs:{name:"name",size:"size"},decls:1,vars:5,consts:[[3,"svgIcon","ngClass"]],template:function(a,b){a&1&&K(0,"mat-icon",0);a&2&&F("svgIcon",b.name)("ngClass",ch(2,Vsc,b.name,b.size))},dependencies:[Ew,$D],styles:['[_nghost-%COMP%]{display:inline-block;line-height:0;vertical-align:middle}.hoverable[_nghost-%COMP%] > .mat-icon[_ngcontent-%COMP%]::before{background:none;border-radius:50%;bottom:-3px;box-sizing:border-box;content:"";display:block;left:-3px;opacity:0;position:absolute;right:-3px;top:-3px;z-index:-1}.hoverable[_nghost-%COMP%] > .mat-icon[_ngcontent-%COMP%]:hover::before, .hoverable[_nghost-%COMP%] > .mat-icon[_ngcontent-%COMP%]:focus::before{background-color:#dadce0;background-color:var(--c300);opacity:1}[_nghost-%COMP%]   .mat-icon[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%]   .small[_ngcontent-%COMP%]{--mdc-icon-button-icon-size: 18px;height:18px;width:18px}[_nghost-%COMP%]   .large[_ngcontent-%COMP%]{height:24px;width:24px}'],changeDetection:0});var zM=function(){Z.apply(this,arguments);var a=this;this.teamsService=r(lH);this.session=r(dv);this.principalTypesFridge=r($G);this.teamId="";this.enableGroupIcon=this.enableSmallChip=!1;this.providedTeamId$=new If(1);this.providedUser$=new If(1);this.providedEmail$=new If(1);this.isNonObfuscatedEmail=Pk;this.isGroup$=this.providedEmail$.pipe(Nf(function(b){return a.principalTypesFridge.watch(b)}),Ye(kj),B(function(b){return b.principalType==="GROUP"}));this.fetchedTeam$=this.providedTeamId$.pipe(Nf(function(b){return mH(a.teamsService,
b)}));this.detailedUserType$=this.providedUser$.pipe(B(function(b){b=b?b&&b.getUserGaiaStatus?Vi(b,4,Wi(Xi)):b.aliases||[]:[];return b.includes("googlers_unrestricted")?"UNRESTRICTED_GOOGLER":b.includes("google_domain")?"TVC":b.includes("issue_creation_only_accounts")?"ISSUE_CREATION_ONLY":b.includes("external_partners")?"EXTERNAL":b.includes("public_non_google")?"PUBLIC":"NO_DETAILED_TYPE"}),Mf("NO_DETAILED_TYPE"));this.isTeamMember$=Me([this.providedTeamId$,this.providedEmail$]).pipe(Nf(function(b){var c=
k(b);b=c.next().value;c=c.next().value;return agc(a.teamsService,b,c)}),Mf(!1),xf(function(){return Fe(!1)}));this.teamUser$=this.fetchedTeam$.pipe(B(function(b){return"Member of "+b.name}));this.groupMembershipType$=Me([this.detailedUserType$,this.isTeamMember$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b==="PUBLIC"?"PUBLIC_USER":b==="EXTERNAL"?"PARTNER_USER":c?"INTERNAL_TEAM_MEMBER":"INTERNAL_NON_TEAM_MEMBER"}));this.enableWaldoAvailability=lu(this.session,"enableWaldoAvailability")&&
this.session.isInternalSession();this.userTypeClass$=this.groupMembershipType$.pipe(B(function(b){return a.enableSmallChip?"user-chip-small":b&&b!=="INTERNAL_NON_TEAM_MEMBER"?"user-chip":"user-chip-without-icon"}));this.userChipType$=this.groupMembershipType$.pipe(B(function(b){if(b&&b!=="INTERNAL_NON_TEAM_MEMBER"){if(b==="INTERNAL_TEAM_MEMBER")return"team-member-chip";if(b==="PARTNER_USER")return"partner-chip";if(b==="PUBLIC_USER")return"public-chip"}else return"internal-non-team-member-chip";return""}));
this.shouldShowIcon$=this.groupMembershipType$.pipe(B(function(b){return b&&b!=="INTERNAL_NON_TEAM_MEMBER"}));this.iconName$=this.groupMembershipType$.pipe(B(function(b){if(b&&b!=="INTERNAL_NON_TEAM_MEMBER"){if(b==="INTERNAL_TEAM_MEMBER")return"people-outline";if(b==="PARTNER_USER")return"enterprise";if(b==="PUBLIC_USER")return"public"}return""}));this.iconToolTip$=this.groupMembershipType$.pipe(Qf(this.teamUser$),B(function(b){var c=k(b);b=c.next().value;c=c.next().value;if(b&&b!=="INTERNAL_NON_TEAM_MEMBER"){if(b===
"INTERNAL_TEAM_MEMBER")return c;if(b==="PARTNER_USER")return"Partner user";if(b==="PUBLIC_USER")return"Public user"}return""}))};Y(zM,Z);zM.\u0275dir=Z.\u0275dir;zM.prototype.ngOnInit=function(){};zM.prototype.ngOnChanges=function(a){a.teamId&&this.teamId&&this.providedTeamId$.next(this.teamId);a.user&&this.user&&this.providedUser$.next(this.user);a.email&&this.email&&this.providedEmail$.next(this.email)};zM.\u0275fac=function(){var a;return function(b){return(a||(a=de(zM)))(b||zM)}}();
zM.\u0275cmp=t({type:zM,selectors:[["b-user-membership-chip"]],inputs:{user:"user",email:"email",teamId:"teamId",enableSmallChip:"enableSmallChip",enableGroupIcon:"enableGroupIcon"},features:[cg,Hd],decls:10,vars:12,consts:[["emailDisplay",""],["card",""],[3,"ngClass"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled"],[3,"svgIcon","matTooltip"],["coinonly","",3,"user"],["name","group_24px","size","small"],["size","tiny",3,"email"],["tabindex","0","role","button",1,"keep-focus-ring",3,
"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],[1,"user-chip-name"]],template:function(a,b){a&1&&(I(0,"span",2),S(1,"async"),I(2,"span",2),S(3,"async"),D(4,bLa,3,3)(5,cLa,1,3,"b-user-display-name",3)(6,iLa,4,1)(7,jLa,3,6,"mat-icon",4),S(8,"async"),J()(),D(9,kLa,1,1,"b-availability-chip",5));if(a&2){var c,d;F("ngClass",(c=U(1,6,b.userTypeClass$))!==null&&c!==void 0?c:"");C(2);F("ngClass",(d=U(3,8,b.userChipType$))!==null&&d!==void 0?d:"");C(2);G(b.enableSmallChip?4:-1);C();G(b.enableSmallChip?
6:5);C(2);G(U(8,10,b.shouldShowIcon$)?7:-1);C(2);G(b.enableWaldoAvailability&&!b.enableSmallChip?9:-1)}},dependencies:[Ew,Hw,$D,uI,yM,FH,HH,oM,bK,hK,wM,tM,Iw],styles:[".user-chip-without-icon[_ngcontent-%COMP%]{display:inline-block;height:1.75em;white-space:nowrap}.user-chip-without-icon[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text-high-contrast);font-style:normal;font-weight:bold;height:20px;letter-spacing:.2px;line-height:20px}.user-chip-without-icon[_ngcontent-%COMP%]   .internal-non-team-member-chip[_ngcontent-%COMP%]{align-items:center;display:flex;height:1.75em;line-height:1.75em;padding:0 8px}.user-chip[_ngcontent-%COMP%]{display:inline-block;height:1.75em;white-space:nowrap}.user-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{flex-shrink:0;height:16px;margin-left:3%;padding:0 14px 0 0;position:relative;width:16px}.user-chip[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text-high-contrast);font-style:normal;font-weight:bold;height:20px;letter-spacing:.2px;line-height:20px;padding:0 0 0 8px}.team-member-chip[_ngcontent-%COMP%]{background-color:#e8f0fe;background-color:var(--team-member-bg);min-width:0;align-items:center;border-radius:24px;display:flex;height:1.75em;line-height:1.75em;padding:0 0px 0 0px}.team-member-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#1967d2;color:var(--team-member-gfx)}.partner-chip[_ngcontent-%COMP%]{background-color:#ffdeb5;background-color:var(--partner-bg);min-width:0;align-items:center;border-radius:24px;display:flex;height:1.75em;line-height:1.75em;padding:0 0px 0 0px}.partner-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#202124;color:var(--partner-text)}.partner-chip[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%], .partner-chip[_ngcontent-%COMP%]   .user-chip-name[_ngcontent-%COMP%]{color:#202124;color:var(--partner-text)}.public-chip[_ngcontent-%COMP%]{background-color:#fbe983;background-color:var(--public-bg);min-width:0;align-items:center;border-radius:24px;display:flex;height:1.75em;line-height:1.75em;padding:0 0px 0 0px}.public-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#202124;color:var(--public-text)}.public-chip[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%], .public-chip[_ngcontent-%COMP%]   .user-chip-name[_ngcontent-%COMP%]{color:#202124;color:var(--public-text)}.user-chip-small[_ngcontent-%COMP%]{display:flex;height:1.25em;line-height:1.25em}.user-chip-small[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{flex-shrink:0;height:11px;padding:0 0 1px 2px;width:11px}.user-chip-small[_ngcontent-%COMP%]   .internal-non-team-member-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px;min-width:0}.user-chip-small[_ngcontent-%COMP%]   .internal-non-team-member-chip[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.12);background-color:var(--user-bg-focus)}.user-chip-small[_ngcontent-%COMP%]   .team-member-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px}.user-chip-small[_ngcontent-%COMP%]   .partner-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px}.user-chip-small[_ngcontent-%COMP%]   .public-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px}.user-chip-name[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast);font-style:normal;font-weight:normal;height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;letter-spacing:.3px;line-height:16px;padding:0 0 0 2px}[_nghost-%COMP%]{min-width:0}[_nghost-%COMP%]     b-icon{width:12px}[_nghost-%COMP%]     b-icon mat-icon{width:inherit}[_nghost-%COMP%]     b-icon mat-icon svg{width:12px;height:16px}"],
changeDetection:0});var AM=function(){};AM.\u0275fac=function(a){return new (a||AM)};AM.\u0275mod=u({type:AM});AM.\u0275inj=p({imports:[RE]});var BM=function(){};BM.\u0275fac=function(a){return new (a||BM)};BM.\u0275mod=u({type:BM});BM.\u0275inj=p({imports:[RE,VI,AM,LH,WK,pM,VK]});var Wsc=function(a,b,c,d){hx.call(this,a,b,c,d,!0);var e=this;this.escapeSubject$=new Jf;this.startAnchorListener=function(){e.escapeSubject$.next(0);return!0};this.endAnchorListener=function(){e.escapeSubject$.next(1);return!0};gx(this)};Y(Wsc,hx);var CM=function(){this.checker=r(dx);this.ngZone=r(hh);this.document=r(ei)};CM.prototype.create=function(a){return new Wsc(a,this.checker,this.ngZone,this.document)};CM.\u0275fac=function(a){return new (a||CM)};
CM.\u0275prov=n({token:CM,factory:CM.\u0275fac,providedIn:"root"});var DM=function(){this._inset=this._vertical=!1};ea.Object.defineProperties(DM.prototype,{vertical:{configurable:!0,enumerable:!0,get:function(){return this._vertical},set:function(a){this._vertical=$h(a)}},inset:{configurable:!0,enumerable:!0,get:function(){return this._inset},set:function(a){this._inset=$h(a)}}});DM.\u0275fac=function(a){return new (a||DM)};
DM.\u0275cmp=t({type:DM,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(a,b){a&2&&(eg("aria-orientation",b.vertical?"vertical":"horizontal"),ng("mat-divider-vertical",b.vertical)("mat-divider-horizontal",!b.vertical)("mat-divider-inset",b.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[$g],decls:0,vars:0,template:function(){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-app-outline));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-app-outline));border-right-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],
encapsulation:2,changeDetection:0});var Xsc=["content"],EM=function(){Z.apply(this,arguments);this.focusEscapeNotifierFactory=r(CM);this.trapFocus=this.required=!1;this.renderPanel=this.noneButtonEnabled=this.todayButtonEnabled=!0;this.includeTimePicker=!1;this.dateChange=new rG;this.dateTimeChange=new rG;this.cancelClicked=new rG;this.saveClicked=new rG;this.dateSelectionChange=new rG;this.focusEscaped=new rG;this.timeFormControl=new Az("",pz)};Y(EM,Z);EM.\u0275dir=Z.\u0275dir;
EM.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){nLa(a,a.date);a.calendar._getCurrentViewComponent()._focusActiveCell(!1)});this.focusEscapeNotifier=this.focusEscapeNotifierFactory.create(this.content.nativeElement);this.focusEscapeNotifier.escapeSubject$.pipe(Of(this.destroyed$)).subscribe(function(b){if(a.trapFocus)if(b===0){var c;(c=a.focusEscapeNotifier)==null||ex(c)}else{var d;(d=a.focusEscapeNotifier)==null||fx(d)}else a.focusEscaped.emit(b)});oLa(this,this.dateTime)};
var mLa=function(a,b){a.date=b;a.dateTime=Kza(b,a.timeFormControl.value);a.dateSelectionChange.emit(b)};EM.prototype.saveChanges=function(){this.includeTimePicker&&(this.dateTime=Kza(this.dateTime,this.timeFormControl.value),this.dateTimeChange.emit(this.dateTime));this.dateChange.emit(this.date)};var nLa=function(a,b){if(b=b instanceof Uk?b:Eta(b))a.calendar.activeDate=b};EM.prototype.showPicker=function(a){a instanceof HTMLInputElement&&a.showPicker()};
var oLa=function(a,b){var c=new PC("HH:mm");a.timeFormControl.setValue(a.includeTimePicker&&b?c.format(b):"")};EM.\u0275fac=function(){var a;return function(b){return(a||(a=de(EM)))(b||EM)}}();
EM.\u0275cmp=t({type:EM,selectors:[["b-date-time-picker-content"]],viewQuery:function(a,b){a&1&&(Mg(jz,7),Mg(Xsc,7));if(a&2){var c;Qg(c=Rg())&&(b.calendar=c.first);Qg(c=Rg())&&(b.content=c.first)}},inputs:{required:"required",date:"date",dateTime:"dateTime",trapFocus:"trapFocus",todayButtonEnabled:"todayButtonEnabled",noneButtonEnabled:"noneButtonEnabled",renderPanel:"renderPanel",includeTimePicker:"includeTimePicker"},outputs:{dateChange:"dateChange",dateTimeChange:"dateTimeChange",cancelClicked:"cancelClicked",
saveClicked:"saveClicked",dateSelectionChange:"dateSelectionChange",focusEscaped:"focusEscaped"},features:[cg],ngContentSelectors:["*"],decls:15,vars:10,consts:[["content",""],[1,"b-optional-calendar-button-row"],[3,"selectedChange","selected","startAt"],["appearance","outline"],[1,"actions"],[1,"b-calendar-button-row"],["mat-button","",1,"cancel",3,"click"],["mat-button","",1,"save",3,"click"],["type","time","matInput","","aria-label","Time Picker","required","",1,"time-input",3,"focus","formControl"],
["mat-button","",1,"today"],["mat-button","",1,"none"],["mat-button","",1,"today",3,"click"],["mat-button","",1,"none",3,"click"]],template:function(a,b){if(a&1){var c=x();Dg();I(0,"div",null,0)(2,"div",1);Eg(3);J();I(4,"mat-calendar",2);S(5,"toDateTime");S(6,"toDateTime");M("selectedChange",function(d){z(c);return A(mLa(b,d))});J();D(7,lLa,2,1,"mat-form-field",3);I(8,"div",4);D(9,rLa,4,2,"div",1);I(10,"div",5)(11,"button",6);M("click",function(){z(c);return A(b.cancelClicked.emit())});Q(12,"Cancel");
J();I(13,"button",7);M("click",function(){z(c);b.saveChanges();return A(b.saveClicked.emit())});Q(14,"Save");J()()()()}a&2&&(ng("container",b.renderPanel),C(4),F("selected",U(5,6,b.date))("startAt",U(6,8,b.date)),C(3),G(b.includeTimePicker?7:-1),C(2),G(b.todayButtonEnabled||b.noneButtonEnabled?9:-1))},dependencies:function(){return[vD,Vy,jz,DM,ki,tz,Mz,Gz,$z,hA,FM]},styles:[".b-optional-calendar-button-row[_ngcontent-%COMP%]{margin:0 1rem}.actions[_ngcontent-%COMP%]{text-align:end}.actions[_ngcontent-%COMP%]   div.b-optional-calendar-button-row[_ngcontent-%COMP%]{width:fit-content;margin:auto;align-content:center}.container[_ngcontent-%COMP%]{box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);padding:4px;border-radius:8px;background-color:#fff;background-color:var(--surface-default)}mat-calendar[_ngcontent-%COMP%]{width:288px;height:342px}mat-form-field[_ngcontent-%COMP%]{--mat-form-field-container-height: 20px;width:100px;margin:18px}.dark-mode   [_nghost-%COMP%]   input[type=time][_ngcontent-%COMP%]{color-scheme:dark}input[type=time][_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{background-color:#fff;background-color:var(--surface-default)}/*# sourceMappingURL=date_time_picker_content.css.map */"]});
var FM=function(){};FM.prototype.transform=function(a){var b;return(b=Eta(a))!=null?b:void 0};FM.\u0275fac=function(a){return new (a||FM)};FM.\u0275pipe=vd({name:"toDateTime",type:FM,pure:!0});var Ysc=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}],GM=function(){Z.call(this);var a=this;this.overlay=r(ty);this.element=r(ge);this.hostEl=r(ge);this.openOnEnter=this.openOnClick=!0;this.includeTimePicker=this.required=this.focusTrapHost=!1;this.selectedChange=new rG;this.selectedDateTimeChange=
new rG;this.dateSelectionChange=new rG;this.includeTimePickerChange=new rG;this.onClose=new rG;this.opened=!1;this.destroyed$.subscribe(function(){var b;(b=a.overlayRef)==null||b.dispose()})};Y(GM,Z);g=GM.prototype;g.onHostEnter=function(a){this.openOnEnter&&this.open();a.preventDefault();a.stopPropagation()};g.onClickHost=function(a){this.openOnClick&&this.open();a.preventDefault();a.stopPropagation()};
g.open=function(){this.opened||(this.overlayRef=this.createOverlay(),this.attach(),this.opened=!0)};g.close=function(a){a=a===void 0?!1:a;if(this.opened){var b;(b=this.overlayRef)==null||b.dispose();this.overlayRef=void 0;this.opened=!1;a||this.hostEl.nativeElement.focus();this.onClose.emit()}};g.onHostTab=function(a){this.focusTrapHost&&this.pickerContent&&this.pickerContent.focusEscapeNotifier&&(fx(this.pickerContent.focusEscapeNotifier),a.preventDefault())};
g.onHostShiftTab=function(a){this.focusTrapHost&&this.pickerContent&&this.pickerContent.focusEscapeNotifier&&(ex(this.pickerContent.focusEscapeNotifier),a.preventDefault())};g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy();a=this.overlay.create({positionStrategy:a,scrollStrategy:b,hasBackdrop:!0,backdropClass:"b-date-time-picker-backdrop",panelClass:"b-date-time-picker-popup"});a.overlayElement.setAttribute("role","dialog");return a};
g.attach=function(){var a=this,b=new my(EM),c;this.pickerContent=(c=this.overlayRef)==null?void 0:c.attach(b).instance;var d;(d=this.overlayRef)==null||d.updatePosition();setTimeout(function(){a.connectValues()})};g.getPositionStrategy=function(){return fy(gy(hy(ky(this.overlay.position(),this.element)),8),Ysc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
g.connectValues=function(){var a=this;if(this.pickerContent&&this.overlayRef){var b=Xe(this.overlayRef._detachments,this.destroyed$);this.pickerContent.date=this.selected;this.pickerContent.dateTime=this.selectedDateTime;this.pickerContent.required=this.required;this.pickerContent.trapFocus=!this.focusTrapHost;(this.pickerContent.includeTimePicker=this.includeTimePicker)&&oLa(this.pickerContent,this.selectedDateTime);this.focusTrapHost&&this.pickerContent.focusEscaped.pipe(Of(b)).subscribe(function(){setTimeout(function(){return a.element.nativeElement.focus()})});
this.pickerContent.dateChange.pipe(Of(b)).subscribe(function(c){a.selectedChange.emit(c)});this.pickerContent.dateTimeChange.pipe(Of(b)).subscribe(function(c){a.selectedDateTimeChange.emit(c)});this.pickerContent.dateSelectionChange.pipe(Of(b)).subscribe(function(c){a.dateSelectionChange.emit(c)});Xe(this.pickerContent.saveClicked,this.pickerContent.cancelClicked,this.overlayRef.backdropClick(),this.overlayRef.keydownEvents().pipe(Ye(function(c){return c.code==="Escape"}))).pipe(Of(b)).subscribe(function(){a.close()})}};
GM.\u0275fac=function(a){return new (a||GM)};
GM.\u0275dir=ud({type:GM,selectors:[["","bDateTimePickerToggle",""]],hostAttrs:["aria-haspopup","true"],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(c){return b.onClickHost(c)})("keydown.enter",function(c){return b.onHostEnter(c)})("keydown.tab",function(c){return b.onHostTab(c)})("keydown.shift.tab",function(c){return b.onHostShiftTab(c)});a&2&&eg("aria-expanded",b.opened||void 0)},inputs:{openOnClick:"openOnClick",openOnEnter:"openOnEnter",focusTrapHost:[0,"bDateTimePickerToggleFocusTrapHost",
"focusTrapHost"],required:[0,"bDateTimePickerToggleRequired","required"],selected:[0,"bDateTimePickerToggleSelected","selected"],selectedDateTime:[0,"bDateTimePickerToggleSelectedDateTime","selectedDateTime"],includeTimePicker:[0,"bDateTimePickerToggleIncludeTimePicker","includeTimePicker"]},outputs:{selectedChange:"bDateTimePickerToggleSelectedChange",selectedDateTimeChange:"bDateTimePickerToggleSelectedDateTimeChange",dateSelectionChange:"bDateTimePickerToggleDateSelectionChange",includeTimePickerChange:"bDateTimePickerToggleIncludeTimePickerChange",
onClose:"bDateTimePickerToggleOnClose"},exportAs:["bDateTimePickerToggle"],features:[cg]});var Zsc=/^[ \t\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]/,$sc=/^[\s\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]+/,atc=function(a){this.patternParts_=[];this.dateTimeSymbols_=Cw;typeof a=="number"?this.applyStandardPattern_(a):this.applyPattern_(a)};
atc.prototype.applyPattern_=function(a){for(var b=!1,c="",d=0;d<a.length;d++){var e=a.charAt(d);if(Zsc.test(e))for(c.length>0&&(this.patternParts_.push({text:c,count:0,abutStart:!1,numeric:!1}),c=""),this.patternParts_.push({text:" ",count:0,abutStart:!1,numeric:!1});d<a.length-1&&a.charAt(d+1)==" ";)d++;else if(b)e=="'"?d+1<a.length&&a.charAt(d+1)=="'"?(c+="'",d++):b=!1:c+=e;else if("GyMdkHmsSEDabBhKzZvQL".indexOf(e)>=0){c.length>0&&(this.patternParts_.push({text:c,count:0,abutStart:!1,numeric:!1}),
c="");for(var f=a.charAt(d),h=d+1;h<a.length&&a.charAt(h)==f;)h++;f=h-d;f<=0?h=!1:(h="MydhHmsSDkK".indexOf(e),h=h>0||h==0&&f<3);this.patternParts_.push({text:e,count:f,abutStart:!1,numeric:h});d+=f-1}else e=="'"?d+1<a.length&&a.charAt(d+1)=="'"?(c+="'",d++):b=!0:c+=e}c.length>0&&this.patternParts_.push({text:c,count:0,abutStart:!1,numeric:!1});a=!1;for(b=0;b<this.patternParts_.length;b++)this.patternParts_[b].numeric?!a&&b+1<this.patternParts_.length&&this.patternParts_[b+1].numeric&&(a=!0,this.patternParts_[b].abutStart=
!0):a=!1};atc.prototype.applyStandardPattern_=function(a){a>11&&(a=10);if(a<4)var b=this.dateTimeSymbols_.DATEFORMATS[a];else a<8?b=this.dateTimeSymbols_.TIMEFORMATS[a-4]:(b=this.dateTimeSymbols_.DATETIMEFORMATS[a-8],b=b.replace("{1}",this.dateTimeSymbols_.DATEFORMATS[a-8]),b=b.replace("{0}",this.dateTimeSymbols_.TIMEFORMATS[a-8]));this.applyPattern_(b)};
atc.prototype.parse=function(a,b,c){var d=!1,e=!1;c&&(d=c.predictive||!1,e=c.validate||!1);if(d)for(c=0;c<this.patternParts_.length;c++){var f=this.patternParts_[c];if(f.count>0&&("abBhHkKm".indexOf(f.text.charAt(0))<0||f.count>2||f.abutStart))throw Error("Od`"+f.text.charAt(0));}f=new btc;c=[0];f.dayPeriodIndex=-1;for(var h=0;h<this.patternParts_.length&&!(d&&c[0]>=a.length);h++){if(this.patternParts_[h].count==0){a:{var l=a;var q=c,v=this.patternParts_[h],y=d;if(v.text.match(Zsc)!=null){if(v=q[0],
ctc(l,q),q[0]>v){l=!0;break a}}else{if(l.indexOf(v.text,q[0])==q[0]){q[0]+=v.text.length;l=!0;break a}if(y&&v.text.indexOf(l.substring(q[0]))==0){q[0]+=l.length-q[0];l=!0;break a}}l=!1}if(l)continue;return 0}if(this.patternParts_[h].abutStart){a:{q=a;v=c;y=h;var E=v[0],H=0;for(l=y;l<this.patternParts_.length;l++){var O=this.patternParts_[l],N=O.count;if(N===0)break;if(l==y&&(N-=H,H++,N==0)){l=0;break a}var T=l>y&&O.numeric,da=v[0];if(!dtc(this,q,v,O,N,f,!1)||T&&v[0]-da<N)l=y-1,v[0]=E}l-=y}if(l<=0)return 0;
h+=l-1}else if(!dtc(this,a,c,this.patternParts_[h],0,f,d))return 0}a:{a=e;if(b==null)throw Error("Pd");f.era!=void 0&&f.year!=void 0&&f.era==0&&f.year>0&&(f.year=-(f.year-1));f.year!=void 0&&b.setFullYear(f.year);d=b.getDate();b.setDate(1);f.month!=void 0&&b.setMonth(f.month);f.day!=void 0?b.setDate(f.day):(e=U1b(b.getFullYear(),b.getMonth()),b.setDate(d>e?e:d));typeof b.setHours==="function"&&(f.hours==void 0&&(f.hours=b.getHours()),f.hours<12&&(f.ampm!=void 0&&f.ampm>0?f.hours+=12:f.dayPeriodName!==
void 0&&("isPm noon afternoon1 afternoon2 evening1 evening2".split(" ").includes(f.dayPeriodName)||["night1","night2"].includes(f.dayPeriodName)&&f.hours>=6)&&(f.hours+=12)),b.setHours(f.hours));typeof b.setMinutes==="function"&&f.minutes!=void 0&&b.setMinutes(f.minutes);typeof b.setSeconds==="function"&&f.seconds!=void 0&&b.setSeconds(f.seconds);typeof b.setMilliseconds==="function"&&f.milliseconds!=void 0&&b.setMilliseconds(f.milliseconds);if(a&&(f.year&&f.year!=b.getFullYear()||f.month&&f.month!=
b.getMonth()||f.day&&f.day!=b.getDate()||f.hours&&f.hours>=24||f.minutes&&f.minutes>=60||f.seconds&&f.seconds>=60||f.milliseconds&&f.milliseconds>=1E3))b=!1;else{f.tzOffset!=void 0&&b.setTime(b.getTime()+(f.tzOffset-b.getTimezoneOffset())*6E4);f.ambiguousYear&&(a=new Date,a.setFullYear(a.getFullYear()-80),b.getTime()<a.getTime()&&b.setFullYear(a.getFullYear()+100));if(f.dayOfWeek!=void 0)if(f.day==void 0)f=(7+f.dayOfWeek-b.getDay())%7,f>3&&(f-=7),a=b.getMonth(),b.setDate(b.getDate()+f),b.getMonth()!=
a&&b.setDate(b.getDate()+(f>0?-7:7));else if(f.dayOfWeek!=b.getDay()){b=!1;break a}b=!0}}return b?c[0]:0};
var dtc=function(a,b,c,d,e,f,h){ctc(b,c);if(d.numeric&&e>0&&c[0]+e>b.length)return!1;switch(d.text.charAt(0)){case "G":return HM(b,c,[a.dateTimeSymbols_.ERAS],function(l){return f.era=l}),!0;case "M":case "L":return etc(a,b,c,e,d,f);case "E":return HM(b,c,[a.dateTimeSymbols_.WEEKDAYS,a.dateTimeSymbols_.SHORTWEEKDAYS],function(l){return f.dayOfWeek=l});case "B":case "b":return e=[],a=[[].concat(a.dateTimeSymbols_.AMPMS)],e.push("isAm"),e.push("isPm"),b=HM(b,c,a,function(l){return f.dayPeriodIndex=
l},h),f.dayPeriodName=e[f.dayPeriodIndex],h?b:!0;case "a":return b=HM(b,c,[a.dateTimeSymbols_.AMPMS],function(l){return f.ampm=l},h),h?b:!0;case "y":return ftc(a,b,c,d,e,f);case "Q":return HM(b,c,[a.dateTimeSymbols_.QUARTERS,a.dateTimeSymbols_.SHORTQUARTERS],function(l){f.month=l*3;f.day=1});case "d":return gtc(a,b,c,d,e,function(l){f.day=l}),!0;case "S":return htc(a,b,c,e,f);case "h":case "K":case "H":case "k":return b=gtc(a,b,c,d,e,function(l){f.hours=d.text.charAt(0)==="h"&&l===12?0:l},h),h?b:
!0;case "m":return b=gtc(a,b,c,d,e,function(l){f.minutes=l},h),h?b:!0;case "s":return gtc(a,b,c,d,e,function(l){f.seconds=l}),!0;case "z":case "Z":case "v":return itc(a,b,c,f);default:return!1}},ftc=function(a,b,c,d,e,f){var h=c[0];e=IM(a,b,c,e);e===null&&(e=IM(a,b,c,0,!0));if(e===null)return!1;e>=0&&c[0]-h==2&&d.count==2?(a=e,b=(new Date).getFullYear()-80,c=b%100,f.ambiguousYear=a==c,a+=Math.floor(b/100)*100+(a<c?100:0),f.year=a):f.year=e;return!0},etc=function(a,b,c,d,e,f){return e.numeric&&gtc(a,
b,c,e,d,function(h){f.month=h-1})?!0:HM(b,c,[a.dateTimeSymbols_.MONTHS,a.dateTimeSymbols_.STANDALONEMONTHS,a.dateTimeSymbols_.SHORTMONTHS,a.dateTimeSymbols_.STANDALONESHORTMONTHS],function(h){f.month=h})},htc=function(a,b,c,d,e){var f=c[0];a=IM(a,b,c,d);if(a===null)return!1;c=c[0]-f;e.milliseconds=c<3?a*Math.pow(10,3-c):Math.round(a/Math.pow(10,c-3));return!0},itc=function(a,b,c,d){b.indexOf("GMT",c[0])==c[0]&&(c[0]+=3);if(c[0]>=b.length)return d.tzOffset=0,!0;var e=c[0],f=IM(a,b,c,0,!0);if(f===null)return!1;
if(c[0]<b.length&&b.charAt(c[0])==":"){var h=f*60;c[0]++;f=IM(a,b,c,0);if(f===null)return!1;h+=f}else h=f,h=h<24&&c[0]-e<=3?h*60:h%100+h/100*60;d.tzOffset=-h;return!0},gtc=function(a,b,c,d,e,f,h){h=h||!1;var l=c[0];a=IM(a,b,c,e);if(a===null)return!1;if(h&&c[0]-l<d.count){if(c[0]<b.length)return!1;a*=Math.pow(10,d.count-(c[0]-l))}f(a);return!0},HM=function(a,b,c,d,e){e=e||!1;for(var f,h=0;h<c.length;h++){f=b;for(var l=c[h],q=e,v=0,y=null,E=a.substring(f[0]).toLowerCase(),H=0;H<l.length;H++){var O=
l[H].toLowerCase();if(q&&O.indexOf(E)==0){v=E.length;y=H;break}l[H].length>v&&E.indexOf(O)==0&&(v=l[H].length,y=H)}y!==null&&(f[0]+=v);f=y;if(f!==null)return d(f),!0}return!1},ctc=function(a,b){(a=a.substring(b[0]).match($sc))&&(b[0]+=a[0].length)},IM=function(a,b,c,d,e){b=d>0?b.substring(0,c[0]+d):b;e=e||!1;if(a.dateTimeSymbols_.ZERODIGIT){d=[];for(var f=c[0];f<b.length;f++){var h=b.charCodeAt(f)-a.dateTimeSymbols_.ZERODIGIT;d.push(0<=h&&h<=9?String.fromCharCode(h+48):b.charAt(f))}b=d.join("")}else b=
b.substring(c[0]);a=b.match(new RegExp("^"+(e?"[+-]?":"")+"\\d+"));if(!a)return null;c[0]+=a[0].length;return parseInt(a[0],10)},btc=function(){};btc.prototype.ambiguousYear=!1;var g4b=Array(31).fill(0).map(function(a,b){return""+(b+1)}),JM=function(){var a=zy.apply(this,arguments)||this;a.locale=Cw;return a};Y(JM,zy);JM.prototype.setLocale=function(){throw Error("Qd");};JM.prototype.getYear=function(a){return a.getYear()};JM.prototype.getMonth=function(a){return a.getMonth()};JM.prototype.getDate=function(a){return a.getDate()};var f4b=function(a,b){switch(b){case "long":return a.locale.WEEKDAYS;case "narrow":return a.locale.NARROWWEEKDAYS;default:return a.locale.SHORTWEEKDAYS}};
JM.prototype.getFirstDayOfWeek=function(){return(this.locale.FIRSTDAYOFWEEK+1)%7};JM.prototype.clone=function(a){return a.clone()};var gz=function(a,b,c){return new Uk(a,b,c)};JM.prototype.parse=function(a,b){if(a==="")return null;b=new atc(a.match(/\d{3,}/)?b:b.replace("yyyy","yy"));var c=new Uk(new Date(a));b.parse(a,c);return c};JM.prototype.format=function(a,b){if(!this.isValid(a))throw Error("Rd");return(new PC(b)).format(a)};
var ez=function(a,b){a=a.clone();a.add(new Dw(b));return a},fz=function(a,b){a=a.clone();a.add(new Dw(0,b));return a},dz=function(a,b){a=a.clone();a.add(new Dw(0,0,b));return a};g=JM.prototype;g.isValid=function(a){return!isNaN(a.getTime())};g.invalid=function(){return new Uk(NaN)};g.sameDate=function(a,b){return a&&b?(new Di(a)).equals(b):!1};g.getHours=function(a){return a.getHours()};g.getMinutes=function(a){return a.getMinutes()};g.getSeconds=function(a){return a.getSeconds()};
g.setTime=function(a,b,c,d){a=this.clone(a);a.setHours(b);a.setMinutes(c);a.setSeconds(d);a.setMilliseconds(0);return a};JM.\u0275fac=function(){var a;return function(b){return(a||(a=de(JM)))(b||JM)}}();JM.\u0275prov=n({token:JM,factory:JM.\u0275fac});var jtc={YEAR_FULL:"y",YEAR_FULL_WITH_ERA:"y G",YEAR_MONTH_ABBR:"MMM y",YEAR_MONTH_FULL:"MMMM y",YEAR_MONTH_SHORT:"MM/y",MONTH_DAY_ABBR:"MMM d",MONTH_DAY_FULL:"MMMM dd",MONTH_DAY_SHORT:"M/d",MONTH_DAY_MEDIUM:"MMMM d",MONTH_DAY_YEAR_MEDIUM:"MMM d, y",WEEKDAY_MONTH_DAY_MEDIUM:"EEE, MMM d",WEEKDAY_MONTH_DAY_YEAR_MEDIUM:"EEE, MMM d, y",DAY_ABBR:"d",MONTH_DAY_TIME_ZONE_SHORT:"MMM d, h:mm\u202fa zzzz"},KM=jtc;KM=jtc;var LM=Cw.DATEFORMATS[3];LM=LM.replace(/yyyy/,"yy").replace(/yy/,"yyyy");LM==="M/d/yyyy"&&(LM="MM/dd/yyyy");var ktc=Cw.TIMEFORMATS.at(-1),ltc={parse:{dateInput:LM,timeInput:ktc},display:{dateInput:LM,monthYearLabel:KM.YEAR_MONTH_ABBR,dateA11yLabel:KM.MONTH_DAY_YEAR_MEDIUM,monthYearA11yLabel:KM.YEAR_MONTH_FULL,timeInput:ktc,timeOptionLabel:ktc}};var MM=function(){};MM.\u0275fac=function(a){return new (a||MM)};MM.\u0275mod=u({type:MM});MM.\u0275inj=p({imports:[yy,yy]});var NM=function(){};NM.\u0275fac=function(a){return new (a||NM)};NM.\u0275mod=u({type:NM});NM.\u0275inj=p({providers:[{provide:zy,useClass:JM},{provide:Dy,useValue:ltc}],imports:[RE,JH,lA,MM,tx,Qz,Rz,aA,iA]});var mtc=["popupField"],ntc=["fieldContent"],otc=["popupOverlay"],ptc=["overlayContent"],wLa=function(a){return{q:a}},NLa=function(){return["Priority","Status","Triage phase"]},VLa=function(a,b){return{"bv2-disabled":a,"bv2-readonly":b}},qtc=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"}],OM=function(){Z.apply(this,arguments);this.cdr=r(sG,{self:!0});this.element=r(ge);this.overlay=r(ty);this.viewContainerRef=r(Kg);this.dateFormatter=r(vL);this.activeSession=r(dv);this.constants=
r(uL);this.appEvents=r(nE);this.googDateValue=null;this.autocompleteActive=!1;this.readonlyTooltip=this.displayValue=null;this.textBuffer="";this.enableTeamAnnotations=this.activeSession.isInternalSession();this.isActive=this.multiline=this.enableWaldoAvailability=!1;this.title=this.name="";this.displayValueOverride=this.value=null;this.isUser=!1;this.teamId="";this.clearable=!1;this.choices=[];this.customFieldId=0;this.showEnumTitle=!1;this.valueChange=new rG;this.disabled=this.readonly=!1;this.tooltip=
"";this.showAvailability=this.showHotkeyHint=this.truncate=!1};Y(OM,Z);OM.\u0275dir=Z.\u0275dir;g=OM.prototype;
g.ngOnInit=function(){var a=this;this.enableWaldoAvailability=lu(this.activeSession,"enableWaldoAvailability")&&this.activeSession.isInternalSession()&&this.showAvailability;this.subscriptions.add(this.appEvents.openEditField.subscribe(function(b){b!==a&&a.isActive&&(a.isActive=!1,rtc(a),a.cdr.detectChanges())}));this.subscriptions.add(grc(this.dateFormatter,function(){stc(a);a.cdr.detectChanges()}));this.destroyed$.subscribe(function(){rtc(a)})};
g.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.overlayRef&&this.overlayRef.dispose()};g.ngOnChanges=function(a){["value","type","displayValueOverride","choices"].some(function(b){return b in a})&&stc(this)};g.ngAfterViewInit=function(){this.popupField&&(this.overlayRef=this.overlay.create({positionStrategy:this.getPositionStrategy(),scrollStrategy:this.overlay.scrollStrategies.reposition()}))};
g.getPositionStrategy=function(){return fy(gy(hy(ky(this.overlay.position(),this.fieldContent).setOrigin(this.fieldContent),!1),5),qtc)};
var rtc=function(a){var b;((b=a.overlayRef)==null?0:b.hasAttached())&&a.overlayRef.detach()},hMa=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:b.stopPropagation();nMa(a);break;case 27:b.stopPropagation(),eq(a,b,!1,!0)}},fMa=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:if(b.ctrlKey||b.metaKey)b.stopPropagation(),nMa(a);break;case 27:b.stopPropagation(),eq(a,b,!1,!0)}},RLa=function(a,b){switch(b.keyCode){case 13:case 32:b.stopPropagation();b.preventDefault();eq(a,
b,!0,!1);break;case 27:b.stopPropagation(),eq(a,b,!1,!0)}},eq=function(a,b,c,d){if((b==null?0:b.target)&&"nodeName"in b.target&&b.target.nodeName==="A"||a.type==="ENUM"&&a.choices.length===0)b==null||b.stopPropagation();else{if(!c||a.disabled||a.readonly){if(a.isActive=!1,rtc(a),d){var e;(e=a.popupField)==null||e.nativeElement.focus()}}else if(a.appEvents.openEditField.next(a),a.isActive=!0,a.textBuffer=a.value!=null?String(a.value):"",a.type=="DATE"&&(c=a.value,a.googDateValue=c?zn(c):null),a.type===
"ENUM"&&a.enumMenuTrigger.openMenu(),a.type!=="ENUM"){ttc(a);var f=a.element.nativeElement;Te(document,"click").pipe(Ye(function(h){return!f.contains(h.target)}),Cf(),Of(a.overlayRef._detachments),Of(a.destroyed$)).subscribe(function(){eq(a,null,!1,!1)})}b==null||b.stopPropagation();a.cdr.detectChanges()}};OM.prototype.schedule=function(a){var b=Ue.schedule(a);this.destroyed$.subscribe(function(){b.unsubscribe()})};OM.prototype.getDisplayValue=function(a){return this.displayValue===null?a:this.displayValue};
var stc=function(a){var b=a.value;switch(a.type){case "ENUM":if(a.title==="Type"&&b&&erc.has(b)){a.displayValue=Oi(b);break}var c=a.choices.find(function(d){return d.value==b});c?(a.displayValue=c.displayText,a.readonlyTooltip=c.altText||""):(a.displayValue=null,a.readonlyTooltip=null);break;case "BOOL":a.displayValue=b?"Yes":"No";a.readonlyTooltip=null;break;case "DATE":b?a.displayValue=a.dateFormatter.formatUserCalendar(zn(b)):a.displayValue=null;a.readonlyTooltip=null;break;default:a.displayValueOverride?
a.displayValue=a.displayValueOverride:a.displayValue=b?String(b):null,a.readonlyTooltip=null}};OM.prototype.setFieldValue=function(a){this.disabled||this.readonly||(this.type==="DATE"&&a&&(a=An(a)),this.type==="NUMERIC"&&a===""&&(a=null),yi(this.value,a)?this.type==="ENUM"&&eq(this,null,!1,!0):(eq(this,null,!1,!0),this.value=a,this.valueChange.emit(this.value)))};
var nMa=function(a){if(a.type===void 0)throw Error("Sd");a.isUser&&(a.textBuffer=a.textBuffer.replace(/^[\s,]+|[\s,]+$/g,""));a.type==="NUMERIC"&&(a.textBuffer=a.textBuffer.trim());switch(a.type){case "TEXT":a.setFieldValue(a.textBuffer);break;case "NUMERIC":a.textBuffer=a.textBuffer.trim();a.textBuffer===""?a.setFieldValue(null):a.setFieldValue(Number(a.textBuffer));break;case "ENUM":case "BOOL":case "DATE":throw Error("Td");default:xb(a.type,"FieldType")}};
OM.prototype.clearFieldValue=function(){this.value=null;this.valueChange.emit(this.value);eq(this,null,!1,!0)};var ttc=function(a){rtc(a);var b=a.overlayRef.attach(new ny(a.popupOverlay,a.viewContainerRef)).rootNodes[0];a.schedule(function(){if(a.type==="TEXT"||a.type==="NUMERIC"){var c=b.querySelector("textarea, input");c&&(c.focus(),c.select())}else a.type==="DATE"&&(c=b.querySelector(".goog-date-picker"))&&c.focus()})};
OM.prototype.getTooltip=function(){return this.readonly?this.readonlyTooltip||"":this.tooltip?this.tooltip:this.title?"Set "+this.title:""};OM.prototype.getPriority=function(a){return typeof a==="string"?a.toLowerCase():""};OM.\u0275fac=function(){var a;return function(b){return(a||(a=de(OM)))(b||OM)}}();
OM.\u0275cmp=t({type:OM,selectors:[["b-edit-field"]],viewQuery:function(a,b){a&1&&(Mg(zI,5),Mg(mtc,5),Mg(ntc,5),Mg(otc,5),Mg(ptc,5));if(a&2){var c;Qg(c=Rg())&&(b.enumMenuTrigger=c.first);Qg(c=Rg())&&(b.popupField=c.first);Qg(c=Rg())&&(b.fieldContent=c.first);Qg(c=Rg())&&(b.popupOverlay=c.first);Qg(c=Rg())&&(b.overlayContent=c.first)}},inputs:{multiline:"multiline",name:"name",title:"title",type:"type",value:"value",user:"user",displayValueOverride:"displayValueOverride",isUser:"isUser",teamId:"teamId",
clearable:"clearable",choices:"choices",customFieldId:"customFieldId",showEnumTitle:"showEnumTitle",readonly:"readonly",disabled:"disabled",tooltip:"tooltip",truncate:"truncate",showHotkeyHint:"showHotkeyHint",showAvailability:"showAvailability"},outputs:{valueChange:"valueChange"},features:[Yg([sG]),cg,Hd],decls:11,vars:5,consts:[["enumMenu","matMenu"],["popupOverlay",""],["popupField","","tooltip","matTooltip"],["field",""],["fieldContent",""],["overlayContent",""],[1,"bv2-issue-metadata-field"],
["role","button","tabindex","0",1,"keep-focus-ring",3,"class","bv2-disabled","bv2-readonly","matTooltip"],[3,"class","ngClass","matTooltip"],[1,"bv2-issue-metadata-footer"],[1,"keep-focus-ring"],["matMenuContent",""],["role","button","tabindex","0",1,"keep-focus-ring",3,"click","keydown","keydown.escape","matTooltip"],[3,"class"],[1,"bv2-editable-value"],[1,"bv2-editable-value",3,"matMenuTriggerFor"],[1,"overflow-ellipsis"],[1,"bv2-editable-value",3,"menuClosed","matMenuTriggerFor"],[4,"ngTemplateOutlet"],
["routerLink","/issues",1,"subtle-link",3,"queryParams"],["mat-button","","aria-haspopup","true","matTooltip","Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"menuClosed","matMenuTriggerFor"],[1,"bv2-editable-value",3,"keydown","click"],[1,"issue-metadata-field-edit-icon"],[1,"issue-metadata-field-dropdown-icon"],[1,"flex-kids-x","flex-cross-axis-centered"],[3,"user","email","teamId","enableSmallChip"],[1,"bv2-editfield-avatar",3,"email"],
[1,"bv2-metadata-field-value"],[3,"email"],[1,"bv2-metadata-field-value",3,"maxWidth","modelValue","disabled"],[1,"bv2-metadata-field-value",3,"ngClass","maxWidth","modelValue","disabled"],[1,"bv2-metadata-field-value",3,"class","maxWidth","modelValue","disabled"],[1,"chippy",3,"maxWidth","modelValue","disabled"],[1,"bv2-edit-button"],["svgIcon","edit-outline"],["svgIcon","arrow-dropdown"],[3,"ngClass","matTooltip"],[1,"keep-focus-ring",3,"modelChange","disabled","aria-label","model"],[3,"click"],
[3,"user"],["mat-menu-item","","role","menuitemcheckbox","aria-label","Clear",3,"b-menu-item-checked","disabled"],["mat-menu-item","","role","menuitemcheckbox",3,"b-menu-item-checked","disabled","matTooltip","hotkey"],["mat-menu-item","","role","menuitemcheckbox","aria-label","Clear",3,"click","disabled"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],["mat-menu-item","","role","menuitemcheckbox",3,"click","onHotkey","disabled","matTooltip","hotkey"],[1,"flex-kids-x","align-items-center",
"gap"],[1,"muted","plain-monospace","margin-left-auto"],["role","dialog"],[1,"bv2-text-field-edit"],[3,"dateSelectionChange","saveClicked","cancelClicked","required","date"],[1,"bv2-text-field-edit",3,"click"],[1,"bv2-text-edit-dialog-buttons"],["mat-flat-button","","color","primary",1,"medium","field-popup-button",3,"click","disabled","matTooltip"],["svgIcon","done"],["mat-stroked-button","","color","primary",1,"medium","field-popup-button",3,"click","matTooltip"],["svgIcon","close"],["spellcheck",
"false",3,"ngModel"],["step","any","spellcheck","false",3,"ngModel"],["spellcheck","false",3,"ngModelChange","keydown","ngModel"],["step","any","spellcheck","false",3,"ngModelChange","keydown","ngModel"],["spellcheck","false",3,"ngModel","bContactAutocomplete"],["step","any","spellcheck","false",3,"ngModel","bContactAutocomplete"],["spellcheck","false",3,"ngModelChange","keydown","autocompleteActive","ngModel","bContactAutocomplete"],["step","any","spellcheck","false",3,"ngModelChange","keydown",
"autocompleteActive","ngModel","bContactAutocomplete"]],template:function(a,b){a&1&&(I(0,"div")(1,"div",6),D(2,TLa,8,15,"div",7)(3,WLa,3,13,"div",8)(4,YLa,1,1),K(5,"div",9),J(),I(6,"mat-menu",10,0),D(8,bMa,3,1,"ng-template",11),J(),D(9,pMa,6,4,"ng-template",null,1,fh),J());a&2&&(C(),ng("active",b.isActive&&!b.readonly&&!b.disabled),C(),G(b.type!=="BOOL"?2:-1),C(),G(b.type==="BOOL"?3:-1),C(),G(b.isUser?4:-1))},dependencies:[uI,Ew,Hw,$D,JE,YJ,EM,ki,tz,Bz,$H,vD,Vy,vI,yI,wI,xI,zI,FH,HH,RH,HK,XK,wM,zM,
Jw],styles:[".bv2-text-edit-dialog-buttons[_ngcontent-%COMP%]   .mat-mdc-unelevated-button[_ngcontent-%COMP%] > .mat-icon[_ngcontent-%COMP%]{--mat-filled-button-icon-spacing: 0px;--mat-filled-button-icon-offset: 0px}.bv2-text-edit-dialog-buttons[_ngcontent-%COMP%]   .mat-mdc-outlined-button[_ngcontent-%COMP%] > .mat-icon[_ngcontent-%COMP%]{--mat-outlined-button-icon-spacing: 0px;--mat-outlined-button-icon-offset: 0px}",".bv2-issue-metadata-field-edit[_ngcontent-%COMP%] { position: relative; }"]});
var PM={ENUM:"ENUM",BOOL:"BOOL",DATE:"DATE",TEXT:"TEXT",NUMERIC:"NUMERIC"},QM=function(){};QM.\u0275fac=function(a){return new (a||QM)};QM.\u0275mod=u({type:QM});QM.\u0275inj=p({imports:[VI,MH,RE,ZJ,NM,Qz,aI,JH,EI,LH,SH,WK,gM,YK,BM]});var utc={COMPACT_DECIMAL_SHORT_PATTERN:{1E3:{other:"0K"},1E4:{other:"00K"},1E5:{other:"000K"},1E6:{other:"0M"},1E7:{other:"00M"},1E8:{other:"000M"},1E9:{other:"0B"},1E10:{other:"00B"},1E11:{other:"000B"},1E12:{other:"0T"},1E13:{other:"00T"},1E14:{other:"000T"}},COMPACT_DECIMAL_LONG_PATTERN:{1E3:{other:"0 thousand"},1E4:{other:"00 thousand"},1E5:{other:"000 thousand"},1E6:{other:"0 million"},1E7:{other:"00 million"},1E8:{other:"000 million"},1E9:{other:"0 billion"},1E10:{other:"00 billion"},1E11:{other:"000 billion"},
1E12:{other:"0 trillion"},1E13:{other:"00 trillion"},1E14:{other:"000 trillion"}}},vtc=utc;vtc=utc;var wtc={AED:[2,"dh","\u062f.\u0625."],ALL:[0,"Lek","Lek"],AUD:[2,"$","AU$"],BDT:[2,"\u09f3","Tk"],BGN:[2,"lev","lev"],BRL:[2,"R$","R$"],CAD:[2,"$","C$"],CDF:[2,"FrCD","CDF"],CHF:[2,"CHF","CHF"],CLP:[0,"$","CL$"],CNY:[2,"\u00a5","RMB\u00a5"],COP:[32,"$","COL$"],CRC:[0,"\u20a1","CR\u20a1"],CZK:[50,"K\u010d","K\u010d"],DKK:[50,"kr.","kr."],DOP:[2,"RD$","RD$"],EGP:[2,"\u00a3","LE"],ETB:[2,"Birr","Birr"],EUR:[2,"\u20ac","\u20ac"],GBP:[2,"\u00a3","GB\u00a3"],HKD:[2,"$","HK$"],HRK:[2,"kn","kn"],HUF:[34,
"Ft","Ft"],IDR:[0,"Rp","Rp"],ILS:[34,"\u20aa","IL\u20aa"],INR:[2,"\u20b9","Rs"],IRR:[0,"Rial","IRR"],ISK:[0,"kr","kr"],JMD:[2,"$","JA$"],JPY:[0,"\u00a5","JP\u00a5"],KRW:[0,"\u20a9","KR\u20a9"],LKR:[2,"Rs","SLRs"],LTL:[2,"Lt","Lt"],MNT:[0,"\u20ae","MN\u20ae"],MVR:[2,"Rf","MVR"],MXN:[2,"$","Mex$"],MYR:[2,"RM","RM"],NOK:[50,"kr","NOkr"],PAB:[2,"B/.","B/."],PEN:[2,"S/.","S/."],PHP:[2,"\u20b1","PHP"],PKR:[0,"Rs","PKRs."],PLN:[50,"z\u0142","z\u0142"],RON:[2,"RON","RON"],RSD:[0,"din","RSD"],RUB:[50,"\u20bd",
"RUB"],SAR:[2,"SAR","SAR"],SEK:[50,"kr","kr"],SGD:[2,"$","S$"],THB:[2,"\u0e3f","THB"],TRY:[2,"\u20ba","TRY"],TWD:[2,"$","NT$"],TZS:[0,"TSh","TSh"],UAH:[2,"\u0433\u0440\u043d.","UAH"],USD:[2,"$","US$"],UYU:[2,"$","$U"],VND:[48,"\u20ab","VN\u20ab"],YER:[0,"Rial","Rial"],ZAR:[2,"R","ZAR"]};var xtc={DECIMAL_SEP:".",GROUP_SEP:",",PERCENT:"%",ZERO_DIGIT:"0",PLUS_SIGN:"+",MINUS_SIGN:"-",EXP_SYMBOL:"E",PERMILL:"\u2030",INFINITY:"\u221e",NAN:"NaN",DECIMAL_PATTERN:"#,##0.###",SCIENTIFIC_PATTERN:"#E0",PERCENT_PATTERN:"#,##0%",CURRENCY_PATTERN:"\u00a4#,##0.00",DEF_CURRENCY_CODE:"USD"},RM=xtc;RM=xtc;var SM=function(a){this.maximumIntegerDigits_=40;this.minimumIntegerDigits_=1;this.significantDigits_=0;this.maximumFractionDigits_=3;this.minExponentDigits_=this.minimumFractionDigits_=0;this.useSignForPositiveExponent_=!1;this.positiveSuffix_=this.positivePrefix_="";this.negativePrefix_=RM.MINUS_SIGN;this.negativeSuffix_="";this.multiplier_=1;this.negativePercentSignExpected_=!1;this.groupingArray_=[];this.useExponentialNotation_=this.decimalSeparatorAlwaysShown_=!1;this.compactStyle_=0;this.pattern_=
typeof a==="string"?a:"";typeof a==="number"?this.applyStandardPattern_(a):this.applyPattern_(a)};
SM.prototype.applyPattern_=function(a){this.pattern_=a.replace(/ /g,"\u00a0");var b=[0];this.positivePrefix_=ytc(this,a,b);for(var c=b[0],d=-1,e=0,f=0,h=0,l=-1,q=a.length,v=!0;b[0]<q&&v;b[0]++)switch(a.charAt(b[0])){case "#":f>0?h++:e++;l>=0&&d<0&&l++;break;case "0":if(h>0)throw Error("ce`"+a);f++;l>=0&&d<0&&l++;break;case ",":l>0&&this.groupingArray_.push(l);l=0;break;case ".":if(d>=0)throw Error("de`"+a);d=e+f+h;break;case "E":if(this.useExponentialNotation_)throw Error("ee`"+a);this.useExponentialNotation_=
!0;this.minExponentDigits_=0;b[0]+1<q&&a.charAt(b[0]+1)=="+"&&(b[0]++,this.useSignForPositiveExponent_=!0);for(;b[0]+1<q&&a.charAt(b[0]+1)=="0";)b[0]++,this.minExponentDigits_++;if(e+f<1||this.minExponentDigits_<1)throw Error("fe`"+a);v=!1;break;default:b[0]--,v=!1}f==0&&e>0&&d>=0&&(f=d,f==0&&f++,h=e-f,e=f-1,f=1);if(d<0&&h>0||d>=0&&(d<e||d>e+f)||l==0)throw Error("ge`"+a);h=e+f+h;this.maximumFractionDigits_=d>=0?h-d:0;d>=0&&(this.minimumFractionDigits_=e+f-d,this.minimumFractionDigits_<0&&(this.minimumFractionDigits_=
0));this.minimumIntegerDigits_=(d>=0?d:h)-e;this.useExponentialNotation_&&(this.maximumIntegerDigits_=e+this.minimumIntegerDigits_,this.maximumFractionDigits_==0&&this.minimumIntegerDigits_==0&&(this.minimumIntegerDigits_=1));this.groupingArray_.push(Math.max(0,l));this.decimalSeparatorAlwaysShown_=d==0||d==h;c=b[0]-c;this.positiveSuffix_=ytc(this,a,b);b[0]<a.length&&a.charAt(b[0])==";"?(b[0]++,this.multiplier_!=1&&(this.negativePercentSignExpected_=!0),this.negativePrefix_=ytc(this,a,b),b[0]+=c,
this.negativeSuffix_=ytc(this,a,b)):(this.negativePrefix_+=this.positivePrefix_,this.negativeSuffix_+=this.positiveSuffix_)};
SM.prototype.applyStandardPattern_=function(a){switch(a){case 1:this.applyPattern_(RM.DECIMAL_PATTERN);break;case 2:this.applyPattern_(RM.SCIENTIFIC_PATTERN);break;case 3:this.applyPattern_(RM.PERCENT_PATTERN);break;case 4:a=this.applyPattern_;var b=RM.CURRENCY_PATTERN;var c=["0"],d=wtc[RM.DEF_CURRENCY_CODE];if(d){d=d[0]&7;if(d>0){c.push(".");for(var e=0;e<d;e++)c.push("0")}b=b.replace(/0.00/g,c.join(""))}a.call(this,b);break;case 5:ztc(this,1);break;case 6:ztc(this,2);break;default:throw Error("Xd");
}};var ztc=function(a,b){a.compactStyle_=b;a.applyPattern_(RM.DECIMAL_PATTERN);a.minimumFractionDigits_=0;a.maximumFractionDigits_=2;if(a.minimumFractionDigits_>0)throw Error("Vd");a.significantDigits_=2};
SM.prototype.parse=function(a,b){b=b||[0];if(this.compactStyle_!==0)throw Error("Yd");a=a.replace(/ |\u202f/g,"\u00a0");var c=a.indexOf(this.positivePrefix_,b[0])==b[0],d=a.indexOf(this.negativePrefix_,b[0])==b[0];c&&d&&(this.positivePrefix_.length>this.negativePrefix_.length?d=!1:this.positivePrefix_.length<this.negativePrefix_.length&&(c=!1));c?b[0]+=this.positivePrefix_.length:d&&(b[0]+=this.negativePrefix_.length);if(a.indexOf(RM.INFINITY,b[0])==b[0]){b[0]+=RM.INFINITY.length;var e=Infinity}else{e=
a;var f=!1,h=!1,l=!1,q=-1,v=1,y=RM.DECIMAL_SEP,E=RM.GROUP_SEP,H=RM.EXP_SYMBOL;if(this.compactStyle_!=0)throw Error("Zd");E=E.replace(/\u202f/g,"\u00a0");for(var O="";b[0]<e.length;b[0]++){var N=e.charAt(b[0]),T=Atc(N);if(T>=0&&T<=9)O+=T,l=!0;else if(N==y.charAt(0)){if(f||h)break;O+=".";f=!0}else if(N==E.charAt(0)&&("\u00a0"!=E.charAt(0)||b[0]+1<e.length&&Atc(e.charAt(b[0]+1))>=0)){if(f||h)break}else if(N==H.charAt(0)){if(h)break;O+="E";h=!0;q=b[0]}else if(N=="+"||N=="-"){if(l&&q!=b[0]-1)break;O+=
N}else if(this.multiplier_==1&&N==RM.PERCENT.charAt(0)){if(v!=1)break;v=100;if(l){b[0]++;break}}else if(this.multiplier_==1&&N==RM.PERMILL.charAt(0)){if(v!=1)break;v=1E3;if(l){b[0]++;break}}else break}this.multiplier_!=1&&(v=this.multiplier_);e=parseFloat(O)/v}if(c){if(a.indexOf(this.positiveSuffix_,b[0])!=b[0])return NaN;b[0]+=this.positiveSuffix_.length}else if(d){if(a.indexOf(this.negativeSuffix_,b[0])!=b[0])return NaN;b[0]+=this.negativeSuffix_.length}return d?-e:e};
SM.prototype.format=function(a){if(this.minimumFractionDigits_>this.maximumFractionDigits_)throw Error("$d");if(isNaN(a))return RM.NAN;var b=[];var c=a;if(this.compactStyle_==0)c=Btc;else{c=Math.abs(c);var d=Ctc(this,c<=1?0:Dtc(c)).divisorBase;c=Ctc(this,d+Dtc(Etc(this,TM(c,-d)).intValue))}a=TM(a,-c.divisorBase);(d=a<0||a==0&&1/a<0)?c.negative_prefix?b.push(c.negative_prefix):(b.push(c.prefix),b.push(this.negativePrefix_)):(b.push(c.prefix),b.push(this.positivePrefix_));if(isFinite(a))if(a*=d?-1:
1,a*=this.multiplier_,this.useExponentialNotation_){var e=a;if(e==0)Ftc(this,e,this.minimumIntegerDigits_,b),Gtc(this,0,b);else{var f=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=TM(e,-f);var h=this.minimumIntegerDigits_;this.maximumIntegerDigits_>1&&this.maximumIntegerDigits_>this.minimumIntegerDigits_?(h=f%this.maximumIntegerDigits_,h<0&&(h=this.maximumIntegerDigits_+h),e=TM(e,h),f-=h,h=1):this.minimumIntegerDigits_<1?(f++,e=TM(e,-1)):(f-=this.minimumIntegerDigits_-1,e=TM(e,this.minimumIntegerDigits_-
1));Ftc(this,e,h,b);Gtc(this,f,b)}}else Ftc(this,a,this.minimumIntegerDigits_,b);else b.push(RM.INFINITY);d?c.negative_suffix?b.push(c.negative_suffix):(isFinite(a)&&b.push(c.suffix),b.push(this.negativeSuffix_)):(isFinite(a)&&b.push(c.suffix),b.push(this.positiveSuffix_));return b.join("")};
var Etc=function(a,b){var c=TM(b,a.maximumFractionDigits_);a.significantDigits_>0&&(c=Htc(c,a.significantDigits_,a.maximumFractionDigits_));c=Math.round(c);if(isFinite(c)){var d=Math.floor(TM(c,-a.maximumFractionDigits_));c=Math.floor(c-TM(d,a.maximumFractionDigits_));if(c<0||c>=TM(1,a.maximumFractionDigits_))d=Math.round(b),c=0}else d=b,c=0;return{intValue:d,fracValue:c}},Ftc=function(a,b,c,d){if(a.minimumFractionDigits_>a.maximumFractionDigits_)throw Error("$d");d||(d=[]);b=Etc(a,b);var e=b.intValue,
f=b.fracValue,h=a.minimumFractionDigits_>0||f>0||!1;b=a.minimumFractionDigits_;h&&(b=a.minimumFractionDigits_);for(var l="",q=e;q>1E20;)l="0"+l,q=Math.round(TM(q,-1));l=q+l;var v=RM.DECIMAL_SEP;q=RM.ZERO_DIGIT.codePointAt(0);var y=l.length,E=0;if(e>0||c>0){for(e=y;e<c;e++)d.push(String.fromCodePoint(q));if(a.groupingArray_.length>=2)for(c=1;c<a.groupingArray_.length;c++)E+=a.groupingArray_[c];c=y-E;if(c>0){e=a.groupingArray_;E=y=0;for(var H,O=RM.GROUP_SEP,N=l.length,T=0;T<N;T++)if(d.push(String.fromCodePoint(q+
Number(l.charAt(T)))),N-T>1)if(H=e[E],T<c){var da=c-T;(H===1||H>0&&da%H===1)&&d.push(O)}else E<e.length&&(T===c?E+=1:H===T-c-y+1&&(d.push(O),y+=H,E+=1))}else{c=l;l=a.groupingArray_;e=RM.GROUP_SEP;H=c.length;O=[];for(y=l.length-1;y>=0&&H>0;y--){E=l[y];for(N=0;N<E&&H-N-1>=0;N++)O.push(String.fromCodePoint(q+Number(c.charAt(H-N-1))));H-=E;H>0&&O.push(e)}d.push.apply(d,O.reverse())}}else h||d.push(String.fromCodePoint(q));(a.decimalSeparatorAlwaysShown_||h)&&d.push(v);f=String(f);h=f.split("e+");h.length==
2&&(f=String(Htc(parseFloat(h[0]),a.significantDigits_,1)),f=f.replace(".",""),f+="0".repeat(parseInt(h[1],10)-f.length+1));a.maximumFractionDigits_+1>f.length&&(f="1"+"0".repeat(a.maximumFractionDigits_-f.length)+f);for(a=f.length;f.charAt(a-1)=="0"&&a>b+1;)a--;for(b=1;b<a;b++)d.push(String.fromCodePoint(q+Number(f.charAt(b))))},Gtc=function(a,b,c){c.push(RM.EXP_SYMBOL);b<0?(b=-b,c.push(RM.MINUS_SIGN)):a.useSignForPositiveExponent_&&c.push(RM.PLUS_SIGN);b=""+b;for(var d=RM.ZERO_DIGIT,e=b.length;e<
a.minExponentDigits_;e++)c.push(d);a=d.codePointAt(0)-Itc;for(d=0;d<b.length;d++)c.push(String.fromCodePoint(a+b.codePointAt(d)))},Atc=function(a){a=a.codePointAt(0);if(48<=a&&a<58)return a-48;var b=RM.ZERO_DIGIT.codePointAt(0);return b<=a&&a<b+10?a-b:-1},Itc="0".codePointAt(0),ytc=function(a,b,c){for(var d="",e=!1,f=b.length;c[0]<f;c[0]++){var h=b.charAt(c[0]);if(h=="'")c[0]+1<f&&b.charAt(c[0]+1)=="'"?(c[0]++,d+="'"):e=!e;else if(e)d+=h;else switch(h){case "#":case "0":case ",":case ".":case ";":return d;
case "\u00a4":c[0]+1<f&&b.charAt(c[0]+1)=="\u00a4"?(c[0]++,d+=RM.DEF_CURRENCY_CODE):(h=RM.DEF_CURRENCY_CODE,d+=h in wtc?wtc[h][1]:h);break;case "%":if(!a.negativePercentSignExpected_&&a.multiplier_!=1)throw Error("ae");if(a.negativePercentSignExpected_&&a.multiplier_!=100)throw Error("be");a.multiplier_=100;a.negativePercentSignExpected_=!1;d+=RM.PERCENT;break;case "\u2030":if(!a.negativePercentSignExpected_&&a.multiplier_!=1)throw Error("ae");if(a.negativePercentSignExpected_&&a.multiplier_!=1E3)throw Error("be");
a.multiplier_=1E3;a.negativePercentSignExpected_=!1;d+=RM.PERMILL;break;default:d+=h}}return d},Btc={divisorBase:0,negative_prefix:"",negative_suffix:"",prefix:"",suffix:""},Ctc=function(a,b){a=a.compactStyle_==1?vtc.COMPACT_DECIMAL_SHORT_PATTERN:vtc.COMPACT_DECIMAL_LONG_PATTERN;a==null&&(a=vtc.COMPACT_DECIMAL_SHORT_PATTERN);if(b<3)return Btc;b=Math.min(14,b);var c=a[TM(1,b)];for(--b;!c&&b>=3;)c=a[TM(1,b)],b--;if(!c)return Btc;c=c.other;var d=a="",e=c.indexOf(";");e>=0&&(c=c.substring(0,e),e=c.substring(e+
1))&&(d=/([^0]*)(0+)(.*)/.exec(e),a=d[1],d=d[3]);return c&&c!="0"?(c=/([^0]*)(0+)(.*)/.exec(c))?{divisorBase:b+1-(c[2].length-1),negative_prefix:a,negative_suffix:d,prefix:c[1],suffix:c[3]}:Btc:Btc},Dtc=function(a){if(!isFinite(a))return a>0?a:0;for(var b=0;(a/=10)>=1;)b++;return b},TM=function(a,b){if(!a||!isFinite(a)||b==0)return a;a=String(a).split("e");return parseFloat(a[0]+"e"+(parseInt(a[1]||0,10)+b))},Jtc=function(a,b){return a&&isFinite(a)?TM(Math.round(TM(a,b)),-b):a},Htc=function(a,b,c){if(!a)return a;
b=b-Dtc(a)-1;return b<-c?Jtc(a,-c):Jtc(a,b)};var Ktc=function(a){return a%10==1&&a%100!=11?"one":a%10==2&&a%100!=12?"two":a%10==3&&a%100!=13?"few":"other"},Ltc=Ktc;Ltc=Ktc;var Mtc=function(a,b){var c=a|0;if(void 0===b){b=Math;var d=b.min,e=a+"",f=e.indexOf(".");b=d.call(b,f===-1?0:e.length-f-1,3)}d=Math.pow(10,b);a={v:b,f:(a*d|0)%d};return c==1&&a.v==0?"one":"other"},Ntc=Mtc;Ntc=Mtc;var Rtc=function(a){this.pattern_=a;this.parsedPattern_=this.literals_=this.initialLiterals_=null;a=RM;var b=vtc;if(Otc!==a||Ptc!==b)Otc=a,Ptc=b,Qtc=new SM(1);this.numberFormatter_=Qtc},Otc=null,Ptc=null,Qtc=null,Stc=RegExp("'([{}#].*?)'","g"),Ttc=RegExp("''","g");Rtc.prototype.format=function(a){return this.format_(a,!1)};
Rtc.prototype.format_=function(a,b){if(this.pattern_){this.initialLiterals_=[];var c=Utc(this,this.pattern_);this.parsedPattern_=Vtc(this,c);this.pattern_=null}if(!this.parsedPattern_||this.parsedPattern_.length==0)return"";this.literals_=Ua(this.initialLiterals_);c=[];Wtc(this,this.parsedPattern_,a,b,c);for(a=c.join("");this.literals_.length>0;)a=a.replace(this.buildPlaceholder_(this.literals_),String(this.literals_.pop()).replace("$","$$$$"));return a};
var Wtc=function(a,b,c,d,e){for(var f=0;f<b.length;f++)switch(b[f].type){case 4:e.push(b[f].value);break;case 3:var h=b[f].value,l=a,q=e,v=c[h];v===void 0?q.push("Undefined parameter - "+h):(l.literals_.push(v),q.push(l.buildPlaceholder_(l.literals_)));break;case 2:h=b[f].value;l=a;q=c;v=d;var y=e,E=h.argumentIndex;q[E]===void 0?y.push("Undefined parameter - "+E):(E=h[q[E]],E===void 0&&(E=h.other),Wtc(l,E,q,v,y));break;case 0:h=b[f].value;Xtc(a,h,c,Ntc,d,e);break;case 1:h=b[f].value,Xtc(a,h,c,Ltc,
d,e)}},Xtc=function(a,b,c,d,e,f){var h=b.argumentIndex,l=b.argumentOffset,q=+c[h];isNaN(q)?f.push("Undefined or invalid parameter - "+h):(l=q-l,h=b[c[h]],h===void 0&&(d=d(Math.abs(l)),h=b[d],h===void 0&&(h=b.other)),b=[],Wtc(a,h,c,e,b),c=b.join(""),e?f.push(c):(a=a.numberFormatter_.format(l),f.push(c.replace(/#/g,a))))},Utc=function(a,b){var c=a.initialLiterals_,d=a.buildPlaceholder_.bind(a);b=b.replace(Ttc,function(){c.push("'");return d(c)});return b=b.replace(Stc,function(e,f){c.push(f);return d(c)})},
Ytc=function(a){var b=0,c=[],d=[],e=/[{}]/g;e.lastIndex=0;for(var f;f=e.exec(a);){var h=f.index;f[0]=="}"?(c.pop(),c.length==0&&(f={type:1},f.value=a.substring(b,h),d.push(f),b=h+1)):(c.length==0&&(b=a.substring(b,h),b!=""&&d.push({type:0,value:b}),b=h+1),c.push("{"))}b=a.substring(b);b!=""&&d.push({type:0,value:b});return d},Ztc=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,$tc=/^\s*(\w+)\s*,\s*selectordinal\s*,/,auc=/^\s*(\w+)\s*,\s*select\s*,/,Vtc=function(a,b){var c=[];b=Ytc(b);for(var d=0;d<
b.length;d++){var e={};if(0==b[d].type)e.type=4,e.value=b[d].value;else if(1==b[d].type){var f=b[d].value;switch(Ztc.test(f)?0:$tc.test(f)?1:auc.test(f)?2:/^\s*\w+\s*/.test(f)?3:5){case 2:e.type=2;e.value=buc(a,b[d].value);break;case 0:e.type=0;e.value=cuc(a,b[d].value);break;case 1:e.type=1;e.value=duc(a,b[d].value);break;case 3:e.type=3,e.value=b[d].value}}c.push(e)}return c},buc=function(a,b){var c="";b=b.replace(auc,function(l,q){c=q;return""});var d={};d.argumentIndex=c;b=Ytc(b);for(var e=0;e<
b.length;){var f=b[e].value;e++;var h;1==b[e].type&&(h=Vtc(a,b[e].value));d[f.replace(/\s/g,"")]=h;e++}return d},cuc=function(a,b){var c="",d=0;b=b.replace(Ztc,function(q,v,y){c=v;y&&(d=parseInt(y,10));return""});var e={};e.argumentIndex=c;e.argumentOffset=d;b=Ytc(b);for(var f=0;f<b.length;){var h=b[f].value;f++;var l;1==b[f].type&&(l=Vtc(a,b[f].value));e[h.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=l;f++}return e},duc=function(a,b){var c="";b=b.replace($tc,function(l,q){c=q;return""});var d={};d.argumentIndex=
c;d.argumentOffset=0;b=Ytc(b);for(var e=0;e<b.length;){var f=b[e].value;e++;if(1==b[e].type)var h=Vtc(a,b[e].value);d[f.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=h;e++}return d};Rtc.prototype.buildPlaceholder_=function(a){return"\ufddf_"+(a.length-1).toString(10)+"_"};var fuc=function(a){a=Math.abs(a);if(a<6E4)return"0 minutes";var b=Math.floor(a/864E5);a%=864E5;var c=Math.floor(a/36E5),d=Math.floor(a%36E5/6E4),e=h9b(b),f=h9b(c),h=h9b(d);a=b*(c+d)?" ":"";var l=c*d?" ":"";b=euc("{COUNT, plural, =0 {}=1 {{TEXT} day}other {{TEXT} days}}",b,e);c=euc("{COUNT, plural, =0 {}=1 {{TEXT} hour}other {{TEXT} hours}}",c,f);d=euc("{COUNT, plural, =0 {}=1 {{TEXT} minute}other {{TEXT} minutes}}",d,h);return b+a+c+l+d},euc=function(a,b,c){return(new Rtc(a)).format({COUNT:b,TEXT:c})};var UM=function(){var a=this;this.userPreferencesManager=r(yH);this.timeZonesApi=r(tL);this.cachedFormatters=new ZE(100,!0);this.userDatePrefs$=this.userPreferencesManager.dateTimePreferences$;this.userCalendarFormat$=this.userDatePrefs$.pipe(B(function(b){return b.calendarFormat||"MMM d, yyyy"}));this.userTimeFormat$=this.userDatePrefs$.pipe(B(function(b){return b.timeFormat||"hh:mma"}));this.userTimeZone$=this.userDatePrefs$.pipe(Nf(function(b){return b.timeZone?a.timeZonesApi.get(b.timeZone):Fe(void 0)}))};
UM.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);d===void 0&&(d=new PC(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};UM.prototype.formatUserCalendar=function(a){var b=this;return Me([this.userCalendarFormat$,this.userTimeZone$]).pipe(B(function(c){var d=k(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
UM.prototype.formatUserTime=function(a){var b=this;return Me([this.userTimeFormat$,this.userTimeZone$]).pipe(B(function(c){var d=k(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
var guc=function(a,b){return Me([a.userCalendarFormat$,a.userTimeFormat$,a.userTimeZone$]).pipe(B(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return a.format(c+" "+e,d,b)}))},huc=function(a,b,c){return c?a.timeZonesApi.get(c).pipe(B(function(d){return a.format("yyyy-MM-dd HH:mm:ss Z",d,b)})):Fe(a.format("yyyy-MM-dd HH:mm:ss Z",void 0,b))},b0a=function(a,b){var c=void 0;c=c===void 0?0:c;b=b===void 0?!1:b;var d=new Di;c&&d.setTime(c);c=new Di;c.setTime(a);if(c.getTime()<
d.getTime())return"Expired";a=(c.getFullYear()-d.getFullYear())*12+(c.getMonth()-d.getMonth());var e=c.getDate()-d.getDate();e<0&&(a--,d=d.clone(),d.add(new Dw("m",a)),e=Math.floor((c.getTime()-d.getTime())/864E5));d=new Dw(Math.floor(a/12),a%12,e);if(d.years>=1)return c=d.years>1?"s":"",d.months===0&&d.days===0?b?d.years+" year"+c:d.years+"Y":b?d.years+" year"+c+" +":d.years+"Y+";if(d.months>=1)return c=d.months>1?"s":"",d.days===0?b?d.months+" month"+c:d.months+"M":b?d.months+" month"+c+" +":d.months+
"M+";c=d.days>1?"s":"";return b?d.days+" day"+c:d.days+"D"};UM.\u0275fac=function(a){return new (a||UM)};UM.\u0275prov=n({token:UM,factory:UM.\u0275fac,providedIn:"root"});var rMa=[["year",31536E3],["month",2592E3],["week",604800],["day",86400],["hour",3600],["minute",60],["second",1]],sMa={year:"yr",month:"mo",week:"w",day:"d",hour:"h",minute:"m",second:"s"};var iuc=[{name:"local",id:""},{name:"UTC",id:"UTC"},{name:"MTV",id:"America/Los_Angeles"}],juc=Symbol("he"),kuc=Symbol("he"),VM=function(){var a=this;this.dateFormatter=r(UM);this.paddingLeftPx=5;this.timestampMs$=new If(1);this.timestampIso$=this.timestampMs$.pipe(B(function(b){return b?(new Date(b)).toISOString():""}));this.timestampDate$=this.timestampMs$.pipe(B(function(b){if(b!==void 0)return new Date(b)}));this[juc]=this.timestampDate$.pipe(Nf(function(b){if(b===void 0)return Fe("");var c=b.getTime()/
1E3;switch(a.mode){case "date":return a.dateFormatter.formatUserCalendar(b);case "time":return a.dateFormatter.formatUserTime(b);case "datetime":return guc(a.dateFormatter,b);case "relativepast":return b=fq(c),Fe(b);case "relativepastshort":var d;return Fe((d=fq(c,!0))!=null?d:"");case "relativepasttiny":var e;return Fe((e=fq(c,!0,1))!=null?e:"");default:return xb(a.mode)}}));this[kuc]=this.timestampDate$.pipe(Nf(function(b){return b===void 0?Fe(""):Me(iuc.map(function(c){return huc(a.dateFormatter,
b,c.id).pipe(B(function(d){return{formatted:d,tzName:c.name}}))})).pipe(luc)}));this.vars$=Me([this[juc],this[kuc]]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return{formatted:b,title:c}}))};VM.prototype.ngOnInit=function(){};
ea.Object.defineProperties(VM.prototype,{timestamp:{configurable:!0,enumerable:!0,set:function(a){var b=this.timestampMs$,c=b.next;a=a!=null?typeof a==="number"?a:typeof a==="string"?Date.parse(a):a.seconds*1E3:void 0;a=a==null||isNaN(a)?void 0:a;c.call(b,a)}},date:{configurable:!0,enumerable:!0,set:function(a){a&&this.timestampMs$.next(a.valueOf())}}});VM.\u0275fac=function(a){return new (a||VM)};
VM.\u0275cmp=t({type:VM,selectors:[["b-formatted-date-time"]],inputs:{timestamp:"timestamp",date:"date",mode:"mode",paddingLeftPx:"paddingLeftPx"},decls:2,vars:3,consts:[[3,"title","style"],[3,"title"]],template:function(a,b){a&1&&(D(0,tMa,3,8,"time",0),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.vars$))?0:-1,c)}},dependencies:[Iw],encapsulation:2,changeDetection:0});
var luc=qe(B(function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=b.get(c.formatted);d?d.tzNames.push(c.tzName):(d={formatted:c.formatted,tzNames:[c.tzName]},b.set(c.formatted,d))}return Array.from(b.values()).map(function(e){return e.formatted+" ("+e.tzNames.join("/")+")"}).join("\n")}));var WM=function(){Z.apply(this,arguments);var a=this;this.changelistApi=r(jC);this.providedChangelistId$=new If(1);this.changelist$=this.providedChangelistId$.pipe(Nf(function(b){return a.changelistApi.getChangelistDetails(b)}),Kf({refCount:!0,bufferSize:1}));this.init=new If(1)};Y(WM,Z);WM.\u0275dir=Z.\u0275dir;WM.prototype.ngOnInit=function(){var a=this;this.changelist$.pipe(Cf(),Of(this.destroyed$)).subscribe(function(){a.init.next()})};WM.prototype.ngOnChanges=function(a){a.changelistId&&this.providedChangelistId$.next(this.changelistId)};
WM.\u0275fac=function(){var a;return function(b){return(a||(a=de(WM)))(b||WM)}}();
WM.\u0275cmp=t({type:WM,selectors:[["b-changelist-card"]],inputs:{changelistId:"changelistId"},outputs:{init:"init"},features:[cg,Hd],decls:4,vars:3,consts:[["role","dialog","aria-label","Changelist hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"card"],[3,"href"],[1,"author"],[1,"description"],[3,"innerHTML"],[3,"email","hovercardEnabled"],["mode","datetime",1,"float-right",3,"timestamp"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1),D(2,xMa,16,5,"div",2),S(3,"async"),
J()());if(a&2){var c;C(2);G((c=U(3,1,b.changelist$))?2:-1,c)}},dependencies:[tM,VM,Iw],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}.card[_ngcontent-%COMP%]{max-width:700px}.description[_ngcontent-%COMP%]{margin:12px 0 0;max-height:200px;overflow-x:hidden;overflow-y:scroll;text-overflow:ellipsis}"]});var XM=function(){this.analytics=r(wG);this.config=Object.assign({},new eK,{showDelay:400,hideDelay:400,position:[{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-20}]})};XM.prototype.ngOnInit=function(){};XM.prototype.trackClick=function(){this.analytics.trackEvent("editIssue","click","changelistChip")};XM.\u0275fac=function(a){return new (a||XM)};
XM.\u0275cmp=t({type:XM,selectors:[["b-changelist-chip"]],inputs:{changelistId:"changelistId"},decls:7,vars:5,consts:[["card","onedevHovercard"],["cardBody",""],["target","_blank",1,"bv2-metadata-link",3,"click","href","onedevHovercardTrigger","onedevHovercardConfig"],[1,"suffix"],[3,"onedevIsHovercardReady","changelistId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","changelistId"]],template:function(a,b){if(a&1){var c=x();I(0,"a",2);M("click",function(){z(c);return A(b.trackClick())});
Q(1);I(2,"span",3);Q(3,"CL");J()();I(4,"onedev-hovercard",null,0);D(6,yMa,2,2,"b-changelist-card",4);J()}a&2&&(a=L(5),F("href","http://critique.corp.google.com/"+b.changelistId,of)("onedevHovercardTrigger",a)("onedevHovercardConfig",b.config),eg("aria-label","Changelist "+b.changelistId),C(),R(" ",b.changelistId," "))},dependencies:[bK,cK,hK,dK,WM],styles:["[_nghost-%COMP%]   .bv2-metadata-link[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--c100);color:#185abc;color:var(--link-high-contrast);border-radius:12px;margin:1px 0;padding:0 8px}[_nghost-%COMP%]   .bv2-metadata-link[_ngcontent-%COMP%]   .suffix[_ngcontent-%COMP%]{color:#202124;color:var(--text);border-left:1px solid;border-left-color:#bdc1c6;border-left-color:var(--c400);padding-left:5px;margin-left:2px}[_nghost-%COMP%]   .bv2-metadata-link[_ngcontent-%COMP%]:active, [_nghost-%COMP%]   .bv2-metadata-link[_ngcontent-%COMP%]:hover{background-color:#e8eaed;background-color:var(--c200);text-decoration:none}.dark-mode   [_nghost-%COMP%]     .bv2-metadata-link{background-color:#e8eaed;background-color:var(--c200);color:#1a73e8;color:var(--link)}.dark-mode   [_nghost-%COMP%]     .bv2-metadata-link:active, .dark-mode   [_nghost-%COMP%]     .bv2-metadata-link:hover{background-color:#dadce0;background-color:var(--c300)}\n/*# sourceMappingURL=changelist_chip.css.map */"]});var YM=function(){this.activeSession=r(dv);this.analytics=r(wG);this.gerritUrl="";this.isInternal=this.activeSession.getFrontendAccessMode()==="INTERNAL"};YM.prototype.ngOnInit=function(){};YM.prototype.ngOnChanges=function(a){a.change&&(this.gerritUrl=Wsa(this.change,this.isInternal))};YM.prototype.trackClick=function(){this.analytics.trackEvent("editIssue","click","gerritChangesChip")};YM.\u0275fac=function(a){return new (a||YM)};
YM.\u0275cmp=t({type:YM,selectors:[["b-gerrit-change-chip"]],inputs:{change:[0,"gerritChange","change"]},features:[Hd],decls:5,vars:8,consts:[["target","_blank",1,"bv2-metadata-link",3,"click","href"],[1,"suffix"]],template:function(a,b){a&1&&(I(0,"a",0),M("click",function(){return b.trackClick()}),Q(1),I(2,"span",1),Q(3),S(4,"titlecase"),J()());a&2&&(hg("aria-label","",b.change.host," ",b.change.changeNumber,""),F("href",b.gerritUrl,of),C(),R(" ",b.change.changeNumber," "),C(2),Tg(U(4,6,b.change.host)))},
dependencies:[Kw],styles:["[_nghost-%COMP%]   .bv2-metadata-link[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--c100);color:#185abc;color:var(--link-high-contrast);border-radius:12px;margin:1px 0;padding:0 8px}[_nghost-%COMP%]   .bv2-metadata-link[_ngcontent-%COMP%]   .suffix[_ngcontent-%COMP%]{color:#202124;color:var(--text);border-left:1px solid;border-left-color:#bdc1c6;border-left-color:var(--c400);padding-left:5px;margin-left:2px}[_nghost-%COMP%]   .bv2-metadata-link[_ngcontent-%COMP%]:active, [_nghost-%COMP%]   .bv2-metadata-link[_ngcontent-%COMP%]:hover{background-color:#e8eaed;background-color:var(--c200);text-decoration:none}.dark-mode   [_nghost-%COMP%]     .bv2-metadata-link{background-color:#e8eaed;background-color:var(--c200);color:#1a73e8;color:var(--link)}.dark-mode   [_nghost-%COMP%]     .bv2-metadata-link:active, .dark-mode   [_nghost-%COMP%]     .bv2-metadata-link:hover{background-color:#dadce0;background-color:var(--c300)}\n/*# sourceMappingURL=gerrit_change_chip.css.map */"]});var ZM=function(){this.activeSession=r(dv);this.gerritChange=this.changelist=void 0;this.enableGerritChanges=lu(this.activeSession,"enableGerritChanges")};ZM.prototype.ngOnInit=function(){};ZM.prototype.ngOnChanges=function(a){a.codeChange&&((a=Lk(this.codeChange))?(this.changelist=void 0,this.gerritChange=a):(this.gerritChange=void 0,this.changelist=Number(this.codeChange)))};ZM.\u0275fac=function(a){return new (a||ZM)};
ZM.\u0275cmp=t({type:ZM,selectors:[["b-code-change-chip"]],inputs:{codeChange:"codeChange"},features:[Hd],decls:2,vars:1,consts:[[3,"changelistId"],[3,"gerritChange"]],template:function(a,b){a&1&&D(0,zMa,1,1,"b-changelist-chip",0)(1,AMa,1,1,"b-gerrit-change-chip",1);a&2&&G(b.changelist?0:b.enableGerritChanges&&b.gerritChange?1:-1)},dependencies:[XM,YM],encapsulation:2});var $M=function(){};$M.\u0275fac=function(a){return new (a||$M)};$M.\u0275mod=u({type:$M});$M.\u0275inj=p({imports:[RE]});var muc=function(){this.id=0};muc.\u0275fac=function(a){return new (a||muc)};
muc.\u0275cmp=t({type:muc,selectors:[["changelist-link-plain"]],inputs:{id:"id"},decls:5,vars:3,consts:[["card","onedevHovercard"],["cardBody",""],["target","_blank",1,"cl-link",3,"href","onedevHovercardTrigger"],[3,"onedevIsHovercardReady","changelistId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","changelistId"]],template:function(a,b){a&1&&(I(0,"a",2),Q(1),J(),I(2,"onedev-hovercard",null,0),D(4,BMa,2,2,"b-changelist-card",3),J());a&2&&(a=L(3),F("href","http://critique.corp.google.com/"+
b.id,of)("onedevHovercardTrigger",a),C(),R(" cl/",b.id,"\n"))},dependencies:[bK,cK,hK,dK,WM],encapsulation:2});var aN=function(){};aN.\u0275fac=function(a){return new (a||aN)};aN.\u0275mod=u({type:aN});aN.\u0275inj=p({imports:[RE,BM,VK,$M]});var bN=function(){};bN.\u0275fac=function(a){return new (a||bN)};bN.\u0275mod=u({type:bN});bN.\u0275inj=p({imports:[RE,VK,aN]});var nuc=new Bd("GMAT_LIST_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var cN=function(a){this.options=a};cN.\u0275fac=function(a){return new (a||cN)(af(nuc))};cN.\u0275dir=ud({type:cN,selectors:[["mat-list"],["mat-action-list"],["mat-nav-list"],["mat-selection-list"]],hostVars:2,hostBindings:function(a,b){a&2&&ng("gmat-mdc-list",!b.options.disableGmatStyle)}});var ouc=new Bd("ListOption");var puc=function(){this._elementRef=r(ge)};puc.\u0275fac=function(a){return new (a||puc)};puc.\u0275dir=ud({type:puc,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"],standalone:!0});var quc=function(){this._elementRef=r(ge)};quc.\u0275fac=function(a){return new (a||quc)};quc.\u0275dir=ud({type:quc,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"],standalone:!0});
var dN=function(){this._listOption=r(ouc,{optional:!0})};dN.prototype._isAlignedAtStart=function(){var a;return!this._listOption||((a=this._listOption)==null?void 0:a._getTogglePosition())==="after"};dN.\u0275fac=function(a){return new (a||dN)};dN.\u0275dir=ud({type:dN,hostVars:4,hostBindings:function(a,b){a&2&&ng("mdc-list-item__start",b._isAlignedAtStart())("mdc-list-item__end",!b._isAlignedAtStart())},standalone:!0});var eN=function(){dN.apply(this,arguments)};Y(eN,dN);
eN.\u0275fac=function(){var a;return function(b){return(a||(a=de(eN)))(b||eN)}}();eN.\u0275dir=ud({type:eN,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],standalone:!0,features:[cg]});var fN=function(){dN.apply(this,arguments)};Y(fN,dN);fN.\u0275fac=function(){var a;return function(b){return(a||(a=de(fN)))(b||fN)}}();fN.\u0275dir=ud({type:fN,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],standalone:!0,features:[cg]});var ruc=new Bd("MAT_LIST_CONFIG");var gN=function(){this._isNonInteractive=!0;this._disabled=this._disableRipple=!1;this._defaultOptions=r(ruc,{optional:!0})};ea.Object.defineProperties(gN.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=$h(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=$h(a)}}});gN.\u0275fac=function(a){return new (a||gN)};
gN.\u0275dir=ud({type:gN,hostVars:1,hostBindings:function(a,b){a&2&&eg("aria-disabled",b.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},standalone:!0});
var hN=function(){this._elementRef=r(ge);this._ngZone=r(hh);this._listBase=r(gN,{optional:!0});this._platform=r(Xw);this._explicitLines=null;this._disabled=this._disableRipple=!1;this._subscriptions=new me;this._rippleRenderer=null;this._hasUnscopedTextContent=!1;r(Yw).load(Fy);var a=r(Jy,{optional:!0}),b=r(Zv,{optional:!0});this.rippleConfig=a||{};this._hostElement=this._elementRef.nativeElement;this._isButtonElement=this._hostElement.nodeName.toLowerCase()==="button";this._noopAnimations=b==="NoopAnimations";
this._listBase&&!this._listBase._isNonInteractive&&this._initInteractiveListItem();this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")};g=hN.prototype;g.ngAfterViewInit=function(){this._monitorProjectedLinesAndTitle();this._updateItemLines(!0)};g.ngOnDestroy=function(){this._subscriptions.unsubscribe();this._rippleRenderer!==null&&this._rippleRenderer._removeTriggerEvents()};g._hasIconOrAvatar=function(){return!(!this._avatars.length&&!this._icons.length)};
g._initInteractiveListItem=function(){this._hostElement.classList.add("mat-mdc-list-item-interactive");this._rippleRenderer=new Iy(this,this._ngZone,this._hostElement,this._platform,r(Sf));C3b(this._rippleRenderer,this._hostElement)};g._monitorProjectedLinesAndTitle=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._subscriptions.add(Xe(a._lines.changes,a._titles.changes).subscribe(function(){return a._updateItemLines(!1)}))})};
g._updateItemLines=function(a){if(this._lines&&this._titles&&this._unscopedContent){a&&this._checkDomForUnscopedTextContent();var b;a=(b=this._explicitLines)!=null?b:this._inferLinesFromContent();b=this._unscopedContent.nativeElement;this._hostElement.classList.toggle("mat-mdc-list-item-single-line",a<=1);this._hostElement.classList.toggle("mdc-list-item--with-one-line",a<=1);this._hostElement.classList.toggle("mdc-list-item--with-two-lines",a===2);this._hostElement.classList.toggle("mdc-list-item--with-three-lines",
a===3);this._hasUnscopedTextContent?(a=this._titles.length===0&&a===1,b.classList.toggle("mdc-list-item__primary-text",a),b.classList.toggle("mdc-list-item__secondary-text",!a)):(b.classList.remove("mdc-list-item__primary-text"),b.classList.remove("mdc-list-item__secondary-text"))}};g._inferLinesFromContent=function(){var a=this._titles.length+this._lines.length;this._hasUnscopedTextContent&&(a+=1);return a};
g._checkDomForUnscopedTextContent=function(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(function(a){return a.nodeType!==a.COMMENT_NODE}).some(function(a){return!(!a.textContent||!a.textContent.trim())})};
ea.Object.defineProperties(hN.prototype,{lines:{configurable:!0,enumerable:!0,set:function(a){this._explicitLines=ci(a,null);this._updateItemLines(!1)}},disableRipple:{configurable:!0,enumerable:!0,get:function(){var a;return this.disabled||this._disableRipple||this._noopAnimations||!((a=this._listBase)==null||!a.disableRipple)},set:function(a){this._disableRipple=$h(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){var a;return this._disabled||!((a=this._listBase)==null||!a.disabled)},
set:function(a){this._disabled=$h(a)}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disableRipple||!!this.rippleConfig.disabled}}});hN.\u0275fac=function(a){return new (a||hN)};
hN.\u0275dir=ud({type:hN,contentQueries:function(a,b,c){a&1&&(Ng(c,eN,4),Ng(c,fN,4));if(a&2){var d;Qg(d=Rg())&&(b._avatars=d);Qg(d=Rg())&&(b._icons=d)}},hostVars:4,hostBindings:function(a,b){a&2&&(eg("aria-disabled",b.disabled)("disabled",b._isButtonElement&&b.disabled||null),ng("mdc-list-item--disabled",b.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"},standalone:!0});var suc=["unscopedContent"],tuc=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],uuc=new Bd("SelectionList"),iN=function(){hN.apply(this,arguments);this._selectionList=r(uuc);this._changeDetectorRef=r(rw);this.selectedChange=new kw;this.togglePosition="after";this._inputsInitialized=this._selected=!1};Y(iN,hN);iN.\u0275dir=hN.\u0275dir;g=iN.prototype;
g.ngOnInit=function(){var a=this,b=this._selectionList;b._value&&b._value.some(function(d){return b.compareWith(a._value,d)})&&this._setSelected(!0);var c=this._selected;Promise.resolve().then(function(){if(a._selected||c)a.selected=!0,a._changeDetectorRef.markForCheck()});this._inputsInitialized=!0};g.ngOnDestroy=function(){var a=this;hN.prototype.ngOnDestroy.call(this);this.selected&&Promise.resolve().then(function(){a.selected=!1})};g.toggle=function(){this.selected=!this.selected};g.focus=function(){this._hostElement.focus()};
g.getLabel=function(){var a,b,c,d;return((d=((a=this._titles)==null?void 0:(b=a.get(0))==null?void 0:b._elementRef.nativeElement)||((c=this._unscopedContent)==null?void 0:c.nativeElement))==null?void 0:d.textContent)||""};g._hasCheckboxAt=function(a){return this._selectionList.multiple&&this._getTogglePosition()===a};g._hasRadioAt=function(a){return!this._selectionList.multiple&&this._getTogglePosition()===a&&!this._selectionList.hideSingleSelectionIndicator};
g._hasIconsOrAvatarsAt=function(a){return this._hasProjected("icons",a)||this._hasProjected("avatars",a)};g._hasProjected=function(a,b){return this._getTogglePosition()!==b&&(a==="avatars"?this._avatars.length!==0:this._icons.length!==0)};g._handleBlur=function(){this._selectionList._onTouched()};g._getTogglePosition=function(){return this.togglePosition||"after"};
g._setSelected=function(a){if(a===this._selected)return!1;(this._selected=a)?this._selectionList.selectedOptions.select(this):this._selectionList.selectedOptions.deselect(this);this.selectedChange.emit(a);this._changeDetectorRef.markForCheck();return!0};g._markForCheck=function(){this._changeDetectorRef.markForCheck()};
g._toggleOnInteraction=function(){this.disabled||(this._selectionList.multiple?(this.selected=!this.selected,this._selectionList._emitChangeEvent([this])):this.selected||(this.selected=!0,this._selectionList._emitChangeEvent([this])))};g._setTabindex=function(a){this._hostElement.setAttribute("tabindex",a+"")};
g._hasBothLeadingAndTrailing=function(){var a=this._hasProjected("icons","after")||this._hasProjected("avatars","after")||this._hasCheckboxAt("after")||this._hasRadioAt("after");return(this._hasProjected("avatars","before")||this._hasProjected("icons","before")||this._hasCheckboxAt("before")||this._hasRadioAt("before"))&&a};
ea.Object.defineProperties(iN.prototype,{checkboxPosition:{configurable:!0,enumerable:!0,get:function(){return this.togglePosition},set:function(a){this.togglePosition=a}},color:{configurable:!0,enumerable:!0,get:function(){return this._color||this._selectionList.color},set:function(a){this._color=a}},value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this.selected&&a!==this.value&&this._inputsInitialized&&(this.selected=!1);this._value=a}},selected:{configurable:!0,
enumerable:!0,get:function(){return this._selectionList.selectedOptions.isSelected(this)},set:function(a){a=$h(a);a!==this._selected&&(this._setSelected(a),(a||this._selectionList.multiple)&&this._selectionList._reportValueChange())}}});iN.\u0275fac=function(){var a;return function(b){return(a||(a=de(iN)))(b||iN)}}();
iN.\u0275cmp=t({type:iN,selectors:[["mat-list-option"]],contentQueries:function(a,b,c){a&1&&(Ng(c,quc,5),Ng(c,puc,5));if(a&2){var d;Qg(d=Rg())&&(b._lines=d);Qg(d=Rg())&&(b._titles=d)}},viewQuery:function(a,b){a&1&&Mg(suc,5);if(a&2){var c;Qg(c=Rg())&&(b._unscopedContent=c.first)}},hostAttrs:["role","option",1,"mat-mdc-list-item","mat-mdc-list-option","mdc-list-item"],hostVars:27,hostBindings:function(a,b){a&1&&M("blur",function(){return b._handleBlur()})("click",function(){return b._toggleOnInteraction()});
a&2&&(eg("aria-selected",b.selected),ng("mdc-list-item--selected",b.selected&&!b._selectionList.multiple&&b._selectionList.hideSingleSelectionIndicator)("mdc-list-item--with-leading-avatar",b._hasProjected("avatars","before"))("mdc-list-item--with-leading-icon",b._hasProjected("icons","before"))("mdc-list-item--with-trailing-icon",b._hasProjected("icons","after"))("mat-mdc-list-option-with-trailing-avatar",b._hasProjected("avatars","after"))("mdc-list-item--with-leading-checkbox",b._hasCheckboxAt("before"))("mdc-list-item--with-trailing-checkbox",
b._hasCheckboxAt("after"))("mdc-list-item--with-leading-radio",b._hasRadioAt("before"))("mdc-list-item--with-trailing-radio",b._hasRadioAt("after"))("mat-mdc-list-item-both-leading-and-trailing",b._hasBothLeadingAndTrailing())("mat-accent",b.color!=="primary"&&b.color!=="warn")("mat-warn",b.color==="warn")("_mat-animation-noopable",b._noopAnimations))},inputs:{togglePosition:"togglePosition",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected"},outputs:{selectedChange:"selectedChange"},
exportAs:["matListOption"],standalone:!0,features:[Yg([{provide:hN,useExisting:iN},{provide:ouc,useExisting:iN}]),cg,$g],ngContentSelectors:["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"],decls:20,vars:4,consts:[["icons",""],["checkbox",""],["radio",""],["unscopedContent",""],[1,"mdc-list-item__start","mat-mdc-list-option-checkbox-before"],[1,"mdc-list-item__start","mat-mdc-list-option-radio-before"],[3,"ngTemplateOutlet"],[1,"mdc-list-item__content"],
[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mdc-list-item__end"],[1,"mat-focus-indicator"],[1,"mdc-checkbox"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled"],[1,"mdc-checkbox__background"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],[1,"mdc-radio"],["type","radio",1,"mdc-radio__native-control",3,"checked",
"disabled"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"]],template:function(a,b){if(a&1){var c=x();Dg(tuc);D(0,CMa,1,0,"ng-template",null,0,fh)(2,DMa,6,4,"ng-template",null,1,fh)(4,EMa,5,4,"ng-template",null,2,fh)(6,GMa,2,1,"span",4)(7,IMa,2,1,"span",5)(8,KMa,1,1,null,6);I(9,"span",7);Eg(10);Eg(11,1);I(12,"span",8,3);M("cdkObserveContent",function(){z(c);return A(b._updateItemLines(!0))});Eg(14,2);J()();D(15,MMa,2,1,"span",9)(16,OMa,2,1,"span",9)(17,QMa,
1,1,null,6);Eg(18,3);K(19,"div",10)}a&2&&(C(6),G(b._hasCheckboxAt("before")?6:b._hasRadioAt("before")?7:-1),C(2),G(b._hasIconsOrAvatarsAt("before")?8:-1),C(7),G(b._hasCheckboxAt("after")?15:b._hasRadioAt("after")?16:-1),C(2),G(b._hasIconsOrAvatarsAt("after")?17:-1))},dependencies:[Hw,qx],styles:['.mat-mdc-list-option-with-trailing-avatar.mdc-list-item,[dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item{padding-left:0;padding-right:0}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{margin-left:16px;margin-right:16px;width:40px;height:40px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{border-radius:50%}.mat-mdc-list-option .mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mat-mdc-list-option .mdc-checkbox--disabled{cursor:default;pointer-events:none}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox--disabled{opacity:.5}}.mat-mdc-list-option .mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mat-mdc-list-option .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary))}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mat-mdc-list-option .mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-app-on-surface));background-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary))}.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-app-on-surface))}.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary))}.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox__checkmark{color:CanvasText}}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}}.mat-mdc-list-option .mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mat-mdc-list-option .mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}@media(forced-colors: active){.mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-list-option._mat-animation-noopable .mdc-checkbox *,.mat-mdc-list-option._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-list-option .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mdc-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-list-option .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-list-option .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px);top:calc(-1*(var(--mdc-radio-state-layer-size, 40px) - 20px)/2);left:calc(-1*(var(--mdc-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-list-option .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-list-option .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color, var(--mat-app-primary))}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-list-option._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-list-option._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-list-option .mdc-checkbox__native-control,.mat-mdc-list-option .mdc-radio__native-control{display:none}@media(forced-colors: active){.mat-mdc-list-option.mdc-list-item--selected::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}}\n'],
encapsulation:2,changeDetection:0});var vuc={provide:mz,useExisting:id(function(){return jN}),multi:!0},wuc=function(a,b){this.source=a;this.options=b},jN=function(){gN.call(this);var a=this;this._element=r(ge);this._ngZone=r(hh);this._initialized=!1;this._destroyed=new Jf;this._onChange=function(){};this.selectionChange=new kw;this.color="accent";this.compareWith=function(d,e){return d===e};this._multiple=!0;var b,c;this._hideSingleSelectionIndicator=(c=(b=this._defaultOptions)==null?void 0:b.hideSingleSelectionIndicator)!=null?c:
!1;this.selectedOptions=new Wx(this._multiple);this._onTouched=function(){};this._changeDetectorRef=r(rw);this._selectionListDisabled=!1;this._handleFocusout=function(){setTimeout(function(){a._containsFocus()||a._resetActiveOption()})};this._handleFocusin=function(d){if(!a.disabled){var e=a._items.toArray().findIndex(function(f){return f._elementRef.nativeElement.contains(d.target)});e>-1?a._setActiveOption(e):a._resetActiveOption()}};this._isNonInteractive=!1};Y(jN,gN);jN.\u0275dir=gN.\u0275dir;
g=jN.prototype;g.ngAfterViewInit=function(){var a=this;this._initialized=!0;this._setupRovingTabindex();this._ngZone.runOutsideAngular(function(){a._element.nativeElement.addEventListener("focusin",a._handleFocusin);a._element.nativeElement.addEventListener("focusout",a._handleFocusout)});this._value&&this._setOptionsFromValues(this._value);this._watchForSelectionChange()};
g.ngOnChanges=function(a){var b=a.disabled,c=a.disableRipple;a=a.hideSingleSelectionIndicator;(c&&!c.firstChange||b&&!b.firstChange||a&&!a.firstChange)&&this._markOptionsForCheck()};g.ngOnDestroy=function(){var a;(a=this._keyManager)==null||a.destroy();this._element.nativeElement.removeEventListener("focusin",this._handleFocusin);this._element.nativeElement.removeEventListener("focusout",this._handleFocusout);this._destroyed.next();this._destroyed.complete();this._isDestroyed=!0};g.focus=function(a){this._element.nativeElement.focus(a)};
g.selectAll=function(){this._setAllOptionsSelected(!0)};g.deselectAll=function(){return this._setAllOptionsSelected(!1)};g._reportValueChange=function(){if(this.options&&!this._isDestroyed){var a=this._getSelectedOptionValues();this._onChange(a);this._value=a}};g._emitChangeEvent=function(a){this.selectionChange.emit(new wuc(this,a))};g.writeValue=function(a){this._value=a;this.options&&this._setOptionsFromValues(a||[])};g.setDisabledState=function(a){this.disabled=a;this._changeDetectorRef.markForCheck()};
g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};g._watchForSelectionChange=function(){var a=this;this.selectedOptions.changed.pipe(Of(this._destroyed)).subscribe(function(b){for(var c=k(b.added),d=c.next();!d.done;d=c.next())d.value.selected=!0;b=k(b.removed);for(c=b.next();!c.done;c=b.next())c.value.selected=!1;a._containsFocus()||a._resetActiveOption()})};
g._setOptionsFromValues=function(a){var b=this;this.options.forEach(function(c){return c._setSelected(!1)});a.forEach(function(c){var d=b.options.find(function(e){return e.selected?!1:b.compareWith(e.value,c)});d&&d._setSelected(!0)})};g._getSelectedOptionValues=function(){return this.options.filter(function(a){return a.selected}).map(function(a){return a.value})};g._markOptionsForCheck=function(){this.options&&this.options.forEach(function(a){return a._markForCheck()})};
g._setAllOptionsSelected=function(a,b){var c=[];this.options.forEach(function(d){b&&d.disabled||!d._setSelected(a)||c.push(d)});c.length&&this._reportValueChange();return c};
g._handleKeydown=function(a){var b=this._keyManager.activeItem;if(a.keyCode!==13&&a.keyCode!==32||this._keyManager.isTyping()||!b||b.disabled)if(a.keyCode===65&&this.multiple&&!this._keyManager.isTyping()&&Yh(a,"ctrlKey"))b=this.options.some(function(c){return!c.disabled&&!c.selected}),a.preventDefault(),this._emitChangeEvent(this._setAllOptionsSelected(b,!0));else this._keyManager.onKeydown(a);else a.preventDefault(),b._toggleOnInteraction()};
g._setupRovingTabindex=function(){var a=this;this._keyManager=Bx(N2b(Ex(new Hx(this._items)))).skipPredicate(function(){return a.disabled});this._resetActiveOption();this._keyManager.change.subscribe(function(b){return a._setActiveOption(b)});this._items.changes.pipe(Of(this._destroyed)).subscribe(function(){var b=a._keyManager.activeItem;b&&a._items.toArray().indexOf(b)!==-1||a._resetActiveOption()})};
g._setActiveOption=function(a){this._items.forEach(function(b,c){return b._setTabindex(c===a?0:-1)});Fx(this._keyManager,a)};g._resetActiveOption=function(){if(this.disabled)this._setActiveOption(-1);else{var a=this._items.find(function(b){return b.selected&&!b.disabled})||this._items.first;this._setActiveOption(a?this._items.toArray().indexOf(a):-1)}};g._containsFocus=function(){var a=Wh();return a&&this._element.nativeElement.contains(a)};
ea.Object.defineProperties(jN.prototype,{multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){a=$h(a);a!==this._multiple&&(this._multiple=a,this.selectedOptions=new Wx(this._multiple,this.selectedOptions.selected))}},hideSingleSelectionIndicator:{configurable:!0,enumerable:!0,get:function(){return this._hideSingleSelectionIndicator},set:function(a){this._hideSingleSelectionIndicator=$h(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._selectionListDisabled},
set:function(a){if(this._selectionListDisabled=$h(a)){var b;(b=this._keyManager)==null||b.setActiveItem(-1)}}},options:{configurable:!0,enumerable:!0,get:function(){return this._items}}});jN.\u0275fac=function(a){return new (a||jN)};
jN.\u0275cmp=t({type:jN,selectors:[["mat-selection-list"]],contentQueries:function(a,b,c){a&1&&Ng(c,iN,5);if(a&2){var d;Qg(d=Rg())&&(b._items=d)}},hostAttrs:["role","listbox",1,"mat-mdc-selection-list","mat-mdc-list-base","mdc-list"],hostVars:1,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b._handleKeydown(c)});a&2&&eg("aria-multiselectable",b.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",
disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],standalone:!0,features:[Yg([vuc,{provide:gN,useExisting:jN},{provide:uuc,useExisting:jN}]),cg,Hd,$g],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Dg(),Eg(0))},styles:['.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer;padding-left:16px;padding-right:16px;background-color:var(--mdc-list-list-item-container-color, transparent);border-radius:var(--mdc-list-list-item-container-shape, var(--mat-app-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height, 48px)}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height, 64px)}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height, 88px)}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;content:"";pointer-events:none}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color, var(--mat-app-on-surface-variant));width:var(--mdc-list-list-item-leading-icon-size, 24px);height:var(--mdc-list-list-item-leading-icon-size, 24px);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size, 40px);height:var(--mdc-list-list-item-leading-avatar-size, 40px);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font, var(--mat-app-label-small-font));line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height, var(--mat-app-label-small-line-height));font-size:var(--mdc-list-list-item-trailing-supporting-text-size, var(--mat-app-label-small-size));font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight, var(--mat-app-label-small-weight));letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking, var(--mat-app-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color, var(--mat-app-on-surface-variant));width:var(--mdc-list-list-item-trailing-icon-size, 24px);height:var(--mdc-list-list-item-trailing-icon-size, 24px)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color, var(--mat-app-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color, var(--mat-app-primary))}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mdc-list-list-item-label-text-color, var(--mat-app-on-surface));font-family:var(--mdc-list-list-item-label-text-font, var(--mat-app-body-large-font));line-height:var(--mdc-list-list-item-label-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mdc-list-list-item-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-list-list-item-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-list-list-item-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color, var(--mat-app-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color, var(--mat-app-on-surface))}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;color:var(--mdc-list-list-item-supporting-text-color, var(--mat-app-on-surface-variant));font-family:var(--mdc-list-list-item-supporting-text-font, var(--mat-app-body-medium-font));line-height:var(--mdc-list-list-item-supporting-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mdc-list-list-item-supporting-text-size, var(--mat-app-body-medium-size));font-weight:var(--mdc-list-list-item-supporting-text-weight, var(--mat-app-body-medium-weight));letter-spacing:var(--mdc-list-list-item-supporting-text-tracking, var(--mat-app-body-medium-tracking))}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-group__subheader{margin:.75rem 16px}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity, 0.38)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity, 0.38)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color, var(--mat-app-on-surface))}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape, var(--mat-app-corner-full));background-color:var(--mdc-list-list-item-leading-avatar-color, var(--mat-app-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mdc-list-list-item-leading-icon-size, 24px)}@media(forced-colors: active){a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none;border-radius:inherit}.mat-mdc-list-item>.mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space, 16px);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space, 16px)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-app-corner-full));--mat-focus-indicator-border-radius:var(--mat-list-active-indicator-shape, var(--mat-app-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-app-secondary-container))}\n'],
encapsulation:2,changeDetection:0});var kN=function(){Z.apply(this,arguments);var a=this;this.dialogRef=r(dL);this.data=r(jL);this.searchQuery$=new Jf;this.hasPendingChanges=this.usePreviousSelectedValues=!1;this.originalSelectedValues=new Set(this.data.selectedValues);this.selectedValues=new Set(this.originalSelectedValues);this.previousSelectedValues=new Set(this.selectedValues);this.saveBtnLabel="Save";this.saveBtnTooltip="Save (Shift + Enter)";this.matchedValues$=this.searchQuery$.pipe(Af(300),Ef(),B(function(b){if(b.trim()!==""){var c=
b.toLowerCase();return a.data.allowedValues.filter(function(d){return Fa(d.toLowerCase(),c)})}return xuc(a)}))};Y(kN,Z);kN.\u0275dir=Z.\u0275dir;var xuc=function(a){var b=a.data.allowedValues.filter(function(c){return!a.originalSelectedValues.has(c)});return[].concat(w(a.originalSelectedValues),w(b))};
kN.prototype.changeSelection=function(a){var b=this;a=a.options;this.previousSelectedValues=new Set(this.selectedValues);a.forEach(function(d){d.selected?b.selectedValues.add(d.value):b.selectedValues.delete(d.value)});a=Uqa(this.originalSelectedValues,this.selectedValues);this.hasPendingChanges=!!a;var c=k(SMa(a));a=c.next().value;c=c.next().value;this.saveBtnLabel=a;this.saveBtnTooltip=c};var yuc=function(a){a.dialogRef.close(a.usePreviousSelectedValues?a.previousSelectedValues:a.selectedValues)};
kN.prototype.closeDialog=function(){this.dialogRef.close()};kN.\u0275fac=function(){var a;return function(b){return(a||(a=de(kN)))(b||kN)}}();
kN.\u0275cmp=t({type:kN,selectors:[["b-custom-repeated-enum-dialog"]],hostBindings:function(a,b){a&1&&M("keydown.meta.enter",function(){return yuc(b)})("keydown.shift.enter",function(){return yuc(b)})("keydown.control.enter",function(){return yuc(b)})},features:[cg],decls:18,vars:10,consts:[["customRepeatedEnumSearchBox",""],["content",""],["mat-dialog-title",""],[1,"search-container"],["svgIcon","search"],["type","search",1,"search-box",3,"click","input","placeholder"],["mat-dialog-content","",1,
"search-results"],[3,"selectionChange","keydown.meta.enter","keydown.shift.enter","keydown.control.enter"],["checkboxPosition","before",3,"selected","value","height"],["mat-button","","mat-dialog-close","","tooltip","Close dialog","aria-label","Close dialog","role","button",3,"click"],["mat-flat-button","","color","primary",3,"click","mat-dialog-close","matTooltip","disabled"],["checkboxPosition","before",3,"selected","value"]],template:function(a,b){if(a&1){var c=x();I(0,"header",2)(1,"h2");Q(2);
J();I(3,"div",3);K(4,"mat-icon",4);I(5,"input",5,0);M("click",function(){z(c);var e=L(6);b.searchQuery$.next(e.value);return A()})("input",function(){z(c);var e=L(6);b.searchQuery$.next(e.value);return A()});J()()();I(7,"section",6,1)(9,"mat-selection-list",7);M("selectionChange",function(e){z(c);return A(b.changeSelection(e))})("keydown.meta.enter",function(){z(c);return A(b.usePreviousSelectedValues=!0)})("keydown.shift.enter",function(){z(c);return A(b.usePreviousSelectedValues=!0)})("keydown.control.enter",
function(){z(c);return A(b.usePreviousSelectedValues=!0)});tg(10,RMa,2,5,"mat-list-option",8,sg);S(12,"async");J()();I(13,"mat-dialog-actions")(14,"button",9);M("click",function(){z(c);return A(b.closeDialog())});Q(15," Cancel ");J();I(16,"button",10);M("click",function(){z(c);return A(yuc(b))});Q(17);J()()}if(a&2){var d;C(2);R("Search for ",b.data.customFieldTitle,"");C(3);F("placeholder","Type to filter "+b.data.customFieldTitle+" values");eg("aria-label","Filter "+b.data.customFieldTitle+" values");
C(5);ug((d=U(12,8,b.matchedValues$))!==null&&d!==void 0?d:xuc(b));C(6);F("mat-dialog-close",!0)("matTooltip",b.saveBtnTooltip)("disabled",!b.hasPendingChanges);eg("aria-label",b.saveBtnTooltip);C();R(" ",b.saveBtnLabel," ")}},dependencies:[$D,vD,Vy,lL,nL,pL,oL,cN,jN,iN,FH,HH,Iw],styles:["[_nghost-%COMP%]     .mat-mdc-dialog-content{width:500px;overflow-y:overlay}[_nghost-%COMP%]     .mat-mdc-dialog-title{margin:0}[_nghost-%COMP%]     .mat-mdc-dialog-title::before{height:unset}[_nghost-%COMP%]     .mat-mdc-dialog-title h2{margin-top:0;margin-bottom:8px}[_nghost-%COMP%]     .search-container{background-color:#f1f3f4;background-color:var(--main-search-bg);display:flex;flex-direction:row;justify-content:center;align-items:center;border-radius:8px;width:100%;height:40px}[_nghost-%COMP%]     .search-container mat-icon{margin-left:8px}[_nghost-%COMP%]     .search-container input.search-box{color:#202124;color:var(--text-high-contrast);outline:none;border:none;background-color:rgba(0,0,0,0);margin-left:5px;height:100%;width:100%;padding-right:4px}[_nghost-%COMP%]     .mat-mdc-list-base{margin:0 -24px}[_nghost-%COMP%]     .mat-mdc-list-item{font-size:.8125rem}[_nghost-%COMP%]     .mat-mdc-list-item .mat-mdc-list-item-unscoped-content{overflow-wrap:break-word;white-space:normal}"]});
var lN=function(){this.dialog=r(kL);this.dialogRef=null};lN.prototype.open=function(a){var b=this,c,d;return ve(function(e){if(e.nextAddress==1)return c={panelClass:"no-jitter",data:a,ariaLabel:"Custom repeated enum dialog"},b.dialogRef=b.dialog.open(kN,c),xe(e,Je(eL(b.dialogRef)),2);d=e.yieldResult;return e.return(Promise.resolve(d))})};lN.prototype.isOpen=function(){return this.dialogRef?this.dialogRef.getState()===0:!1};lN.\u0275fac=function(a){return new (a||lN)};
lN.\u0275prov=n({token:lN,factory:lN.\u0275fac,providedIn:"root"});new Bd("MatList");new Bd("MatNavList");var mN=function(){};mN.\u0275fac=function(a){return new (a||mN)};mN.\u0275mod=u({type:mN});mN.\u0275inj=p({imports:[rx,Qw,yy,Ny,Oy,MM]});var nN=function(){};nN.\u0275fac=function(a){return new (a||nN)};nN.\u0275mod=u({type:nN});nN.\u0275inj=p({imports:[mN]});var oN=function(){};oN.\u0275fac=function(a){return new (a||oN)};oN.\u0275mod=u({type:oN});oN.\u0275inj=p({imports:[RE,Qz,JH,ML,nN,LH]});var zuc=new Bd("GMAT_AUTOCOMPLETE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var pN=function(a,b){a.disableGmatStyle||pgc(b,"gmat-mdc-autocomplete")};pN.\u0275fac=function(a){return new (a||pN)(af(zuc),af(ty))};pN.\u0275dir=ud({type:pN,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],features:[Yg([{provide:ty,useClass:EH}])]});var Auc=new Bd("GMAT_CHECKBOX_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var qN=function(a){this.options=a};qN.\u0275fac=function(a){return new (a||qN)(af(Auc))};qN.\u0275dir=ud({type:qN,selectors:[["mat-checkbox"]],hostVars:2,hostBindings:function(a,b){a&2&&ng("gmat-mdc-checkbox",!b.options.disableGmatStyle)}});var Buc=ni("panelAnimation",[qi("void, hidden",pi({opacity:0,transform:"scaleY(0.8)"})),si(":enter, hidden => visible",[kqa([oi("0.03s linear",pi({opacity:1})),oi("0.12s cubic-bezier(0, 0, 0.2, 1)",pi({transform:"scaleY(1)"}))])]),si(":leave, visible => hidden",[oi("0.075s linear",pi({opacity:0}))])]);var Cuc=["panel"],Duc=0,Euc=function(a,b){this.source=a;this.option=b},Fuc=new Bd("mat-autocomplete-default-options",{providedIn:"root",factory:UMa}),rN=function(){this._changeDetectorRef=r(rw);this._elementRef=r(ge);this._defaults=r(Fuc);this._activeOptionChanges=me.EMPTY;this._animationDone=new kw;this._isOpen=this.showPanel=!1;this.displayWith=null;this.optionSelected=new kw;this.opened=new kw;this.closed=new kw;this.optionActivated=new kw;this.id="mat-autocomplete-"+Duc++;r(Xw);this.autoActiveFirstOption=
!!this._defaults.autoActiveFirstOption;this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption;this.requireSelection=!!this._defaults.requireSelection;var a;this._hideSingleSelectionIndicator=(a=this._defaults.hideSingleSelectionIndicator)!=null?a:!1};g=rN.prototype;g._setColor=function(a){this._color=a;this._changeDetectorRef.markForCheck()};g._syncParentProperties=function(){if(this.options)for(var a=k(this.options),b=a.next();!b.done;b=a.next())b.value._changeDetectorRef.markForCheck()};
g.ngAfterContentInit=function(){var a=this;this._keyManager=Bx(new Gx(this.options)).skipPredicate(this._skipPredicate);this._activeOptionChanges=this._keyManager.change.subscribe(function(b){a.isOpen&&a.optionActivated.emit({source:a,option:a.options.toArray()[b]||null})});this._setVisibility()};g.ngOnDestroy=function(){var a;(a=this._keyManager)==null||a.destroy();this._activeOptionChanges.unsubscribe();this._animationDone.complete()};
g._setScrollTop=function(a){this.panel&&(this.panel.nativeElement.scrollTop=a)};g._getScrollTop=function(){return this.panel?this.panel.nativeElement.scrollTop:0};g._setVisibility=function(){this.showPanel=!!this.options.length;this._changeDetectorRef.markForCheck()};g._emitSelectEvent=function(a){this.optionSelected.emit(new Euc(this,a))};g._getPanelAriaLabelledby=function(a){return this.ariaLabel?null:this.ariaLabelledby?(a?a+" ":"")+this.ariaLabelledby:a};g._skipPredicate=function(){return!1};
ea.Object.defineProperties(rN.prototype,{isOpen:{configurable:!0,enumerable:!0,get:function(){return this._isOpen&&this.showPanel}},classList:{configurable:!0,enumerable:!0,set:function(a){this._classList=a;this._elementRef.nativeElement.className=""}},hideSingleSelectionIndicator:{configurable:!0,enumerable:!0,get:function(){return this._hideSingleSelectionIndicator},set:function(a){this._hideSingleSelectionIndicator=a;this._syncParentProperties()}}});rN.\u0275fac=function(a){return new (a||rN)};
rN.\u0275cmp=t({type:rN,selectors:[["mat-autocomplete"]],contentQueries:function(a,b,c){a&1&&(Ng(c,My,5),Ng(c,r3b,5));if(a&2){var d;Qg(d=Rg())&&(b.options=d);Qg(d=Rg())&&(b.optionGroups=d)}},viewQuery:function(a,b){a&1&&(Mg(Jg,7),Mg(Cuc,5));if(a&2){var c;Qg(c=Rg())&&(b.template=c.first);Qg(c=Rg())&&(b.panel=c.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,
"autoActiveFirstOption","autoActiveFirstOption",rh],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",rh],requireSelection:[2,"requireSelection","requireSelection",rh],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",rh],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",rh]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},
exportAs:["matAutocomplete"],standalone:!0,features:[Yg([{provide:q3b,useExisting:rN}]),dg,$g],ngContentSelectors:["*"],decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(a){a&1&&(Dg(),D(0,TMa,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-app-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-app-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}\n"],
encapsulation:2,data:{animation:[Buc]},changeDetection:0});var Guc={provide:mz,useExisting:id(function(){return sN}),multi:!0},Huc=new Bd("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:function(){var a=r(ty);return function(){return a.scrollStrategies.reposition()}}}),Iuc={provide:Huc,deps:[ty],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},sN=function(){var a=this;this._element=r(ge);this._overlay=r(ty);this._viewContainerRef=r(Kg);this._zone=r(hh);this._changeDetectorRef=r(rw);this._dir=r(Jx,{optional:!0});
this._formField=r($4b,{optional:!0,host:!0});this._document=r(ei);this._viewportRuler=r(Yx);this._defaults=r(Fuc,{optional:!0});this._componentDestroyed=!1;this._scrollStrategy=r(Huc);this._manuallyFloatingLabel=!1;this._viewportSubscription=me.EMPTY;this._breakpointObserver=r(mx);this._handsetLandscapeSubscription=me.EMPTY;this._canOpenOnNextFocus=!0;this._closeKeyEventStream=new Jf;this._windowBlurHandler=function(){a._canOpenOnNextFocus=a._document.activeElement!==a._element.nativeElement||a.panelOpen};
this._onChange=function(){};this._onTouched=function(){};this.position="auto";this.autocompleteAttribute="off";this._initialized=new Jf;this._injector=r(Sf);this._aboveClass="mat-mdc-autocomplete-panel-above";this._overlayAttached=!1;this.optionSelections=Re(function(){var b=a.autocomplete?a.autocomplete.options:null;return b?b.changes.pipe(Mf(b),Nf(function(){return Xe.apply(null,w(b.map(function(c){return c.onSelectionChange})))})):a._initialized.pipe(Nf(function(){return a.optionSelections}))});
this._handlePanelKeydown=function(b){if(b.keyCode===27&&!Yh(b)||b.keyCode===38&&Yh(b,"altKey")){if(a._pendingAutoselectedOption){var c;a._updateNativeInputValue((c=a._valueBeforeAutoSelection)!=null?c:"");a._pendingAutoselectedOption=null}a._closeKeyEventStream.next();a._resetActiveItem();b.stopPropagation();b.preventDefault()}};this._trackedModal=null};
sN.prototype.ngAfterViewInit=function(){var a=this;this._initialized.next();this._initialized.complete();var b=this._getWindow();typeof b!=="undefined"&&this._zone.runOutsideAngular(function(){return b.addEventListener("blur",a._windowBlurHandler)})};sN.prototype.ngOnChanges=function(a){a.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())};
sN.prototype.ngOnDestroy=function(){var a=this._getWindow();typeof a!=="undefined"&&a.removeEventListener("blur",this._windowBlurHandler);this._handsetLandscapeSubscription.unsubscribe();this._viewportSubscription.unsubscribe();this._componentDestroyed=!0;this._destroyPanel();this._closeKeyEventStream.complete();this._clearFromModal()};
var kAb=function(a){a._resetLabel();a._overlayAttached&&(a.panelOpen&&a._zone.run(function(){a.autocomplete.closed.emit()}),a.autocomplete._latestOpeningTrigger===a&&(a.autocomplete._isOpen=!1,a.autocomplete._latestOpeningTrigger=null),a._overlayAttached=!1,a._pendingAutoselectedOption=null,a._overlayRef&&a._overlayRef.hasAttached()&&(a._overlayRef.detach(),a._closingActionsSubscription.unsubscribe()),a._updatePanelState(),a._componentDestroyed||a._changeDetectorRef.detectChanges(),a._trackedModal&&
di(a._trackedModal,"aria-owns",a.autocomplete.id))};g=sN.prototype;g.updatePosition=function(){this._overlayAttached&&this._overlayRef.updatePosition()};
g._getOutsideClickStream=function(){var a=this;return Xe(Te(this._document,"click"),Te(this._document,"auxclick"),Te(this._document,"touchend")).pipe(Ye(function(b){b=Xh(b);var c=a._formField?c5b(a._formField).nativeElement:null,d=a.connectedTo?a.connectedTo.elementRef.nativeElement:null;return a._overlayAttached&&b!==a._element.nativeElement&&a._document.activeElement!==a._element.nativeElement&&(!c||!c.contains(b))&&(!d||!d.contains(b))&&!!a._overlayRef&&!a._overlayRef.overlayElement.contains(b)}))};
g.writeValue=function(a){var b=this;Promise.resolve(null).then(function(){return b._assignOptionValue(a)})};g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};g.setDisabledState=function(a){this._element.nativeElement.disabled=a};
g._handleKeydown=function(a){var b=a.keyCode,c=Yh(a);b!==27||c||a.preventDefault();this._valueOnLastKeydown=this._element.nativeElement.value;if(this.activeOption&&b===13&&this.panelOpen&&!c)this.activeOption._selectViaInteraction(),this._resetActiveItem(),a.preventDefault();else if(this.autocomplete){var d=this.autocomplete._keyManager.activeItem,e=b===38||b===40;if(b===9||e&&!c&&this.panelOpen)this.autocomplete._keyManager.onKeydown(a);else e&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown);
if(e||this.autocomplete._keyManager.activeItem!==d)this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value))}};
g._handleInput=function(a){var b=a.target,c=b.value;b.type==="number"&&(c=c==""?null:parseFloat(c));if(this._previousValue!==c){this._previousValue=c;this._pendingAutoselectedOption=null;this.autocomplete&&this.autocomplete.requireSelection||this._onChange(c);if(!c)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){var d;if(b=(d=this.autocomplete.options)==null?void 0:d.find(function(f){return f.selected}))d=this._getDisplayValue(b.value),c!==d&&
b.deselect(!1)}if(this._canOpen()&&this._document.activeElement===a.target){var e;a=(e=this._valueOnLastKeydown)!=null?e:this._element.nativeElement.value;this._valueOnLastKeydown=null;this._openPanelInternal(a)}}};g._handleFocus=function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0};g._handleClick=function(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()};
g._floatLabel=function(a){this._formField&&this._formField.floatLabel==="auto"&&((a===void 0?0:a)?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)};g._resetLabel=function(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)};
g._subscribeToClosingActions=function(){var a=this,b=new re(function(d){Uf(function(){d.next()},{injector:a._injector})}),c=this.autocomplete.options.changes.pipe(Pf(function(){return c3b(a._positionStrategy)}),Df(0));return Xe(b,c).pipe(Nf(function(){return a._zone.run(function(){var d=a.panelOpen;a._resetActiveItem();a._updatePanelState();a._changeDetectorRef.detectChanges();a.panelOpen&&a._overlayRef.updatePosition();d!==a.panelOpen&&(a.panelOpen?a._emitOpened():a.autocomplete.closed.emit());return a.panelClosingActions})}),
Cf()).subscribe(function(d){return a._setValueAndClose(d)})};g._emitOpened=function(){this.autocomplete.opened.emit()};g._destroyPanel=function(){this._overlayRef&&(kAb(this),this._overlayRef.dispose(),this._overlayRef=null)};g._getDisplayValue=function(a){var b=this.autocomplete;return b&&b.displayWith?b.displayWith(a):a};g._assignOptionValue=function(a){var b=this._getDisplayValue(a);a==null&&this._clearPreviousSelectedOption(null,!1);this._updateNativeInputValue(b!=null?b:"")};
g._updateNativeInputValue=function(a){this._formField?this._formField._control.value=a:this._element.nativeElement.value=a;this._previousValue=a};
g._setValueAndClose=function(a){var b=this,c=this.autocomplete;(a=a?a.source:this._pendingAutoselectedOption)?(this._clearPreviousSelectedOption(a),this._assignOptionValue(a.value),this._onChange(a.value),c._emitSelectEvent(a),this._element.nativeElement.focus()):c.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),c._animationDone?c._animationDone.pipe(Cf()).subscribe(function(){return b._onChange(null)}):
this._onChange(null));kAb(this)};g._clearPreviousSelectedOption=function(a,b){var c,d;(c=this.autocomplete)==null||(d=c.options)==null||d.forEach(function(e){e!==a&&e.selected&&e.deselect(b)})};g._openPanelInternal=function(a){a=a===void 0?this._element.nativeElement.value:a;this._attachOverlay(a);this._floatLabel();this._trackedModal&&Poa(this._trackedModal,"aria-owns",this.autocomplete.id)};
g._attachOverlay=function(a){var b=this,c=this._overlayRef;if(c)this._positionStrategy.setOrigin(this._getConnectedElement()),c.updateSize({width:this._getPanelWidth()});else{var d;this._portal=new ny(this.autocomplete.template,this._viewContainerRef,{id:(d=this._formField)==null?void 0:d.getLabelId()});this._overlayRef=c=this._overlay.create(this._getOverlayConfig());this._viewportSubscription=this._viewportRuler.change().subscribe(function(){b.panelOpen&&c&&c.updateSize({width:b._getPanelWidth()})});
this._handsetLandscapeSubscription=this._breakpointObserver.observe("(max-width: 959.98px) and (orientation: landscape)").subscribe(function(f){f.matches?gy(e3b(hy(b._positionStrategy,!0),!0),8):gy(e3b(hy(b._positionStrategy,!1),!1),0)})}c&&!c.hasAttached()&&(c.attach(this._portal),this._valueOnAttach=a,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());a=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0;this.autocomplete._latestOpeningTrigger=
this;var e;this.autocomplete._setColor((e=this._formField)==null?void 0:e.color);this._updatePanelState();this._applyModalPanelOwnership();this.panelOpen&&a!==this.panelOpen&&this._emitOpened()};
g._updatePanelState=function(){this.autocomplete._setVisibility();if(this.panelOpen){var a=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=a.keydownEvents().subscribe(this._handlePanelKeydown));this._outsideClickSubscription||(this._outsideClickSubscription=a.outsidePointerEvents().subscribe())}else{(a=this._keydownSubscription)==null||a.unsubscribe();var b;(b=this._outsideClickSubscription)==null||b.unsubscribe();this._keydownSubscription=this._outsideClickSubscription=null}};
g._getOverlayConfig=function(){var a,b;return new cy({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:(b=this._dir)!=null?b:void 0,panelClass:(a=this._defaults)==null?void 0:a.overlayPanelClass})};g._getOverlayPosition=function(){var a=f3b(hy(ky(this._overlay.position(),this._getConnectedElement()),!1),!1);this._setStrategyPositions(a);return this._positionStrategy=a};
g._setStrategyPositions=function(a){var b=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],c=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-autocomplete-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-autocomplete-panel-above"}];b=this.position==="above"?c:this.position==="below"?b:[].concat(w(b),w(c));fy(a,b)};
g._getConnectedElement=function(){return this.connectedTo?this.connectedTo.elementRef:this._formField?c5b(this._formField):this._element};g._getPanelWidth=function(){return this.autocomplete.panelWidth||this._getHostWidth()};g._getHostWidth=function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width};g._resetActiveItem=function(){var a=this.autocomplete;if(a.autoActiveFirstOption){for(var b=-1,c=0;c<a.options.length;c++)if(!a.options.get(c).disabled){b=c;break}a._keyManager.setActiveItem(b)}else a._keyManager.setActiveItem(-1)};
g._canOpen=function(){var a=this._element.nativeElement;return!a.readOnly&&!a.disabled&&!this.autocompleteDisabled};g._getWindow=function(){var a;return((a=this._document)==null?void 0:a.defaultView)||window};g._scrollToOption=function(a){var b=this.autocomplete,c=gpa(a,b.options,b.optionGroups);a===0&&c===1?b._setScrollTop(0):b.panel&&(a=b.options.toArray()[a])&&(a=a._getHostElement(),b._setScrollTop(hpa(a.offsetTop,a.offsetHeight,b._getScrollTop(),b.panel.nativeElement.offsetHeight)))};
g._applyModalPanelOwnership=function(){var a=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(a){var b=this.autocomplete.id;this._trackedModal&&di(this._trackedModal,"aria-owns",b);Poa(a,"aria-owns",b);this._trackedModal=a}};g._clearFromModal=function(){this._trackedModal&&(di(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)};
ea.Object.defineProperties(sN.prototype,{panelOpen:{configurable:!0,enumerable:!0,get:function(){return this._overlayAttached&&this.autocomplete.showPanel}},panelClosingActions:{configurable:!0,enumerable:!0,get:function(){var a=this;return Xe(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Ye(function(){return a._overlayAttached})),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef._detachments.pipe(Ye(function(){return a._overlayAttached})):
Fe()).pipe(B(function(b){return b instanceof G3b?b:null}))}},activeOption:{configurable:!0,enumerable:!0,get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}}});sN.\u0275fac=function(a){return new (a||sN)};
sN.\u0275dir=ud({type:sN,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(a,b){a&1&&M("focusin",function(){return b._handleFocus()})("blur",function(){return b._onTouched()})("input",function(c){return b._handleInput(c)})("keydown",function(c){return b._handleKeydown(c)})("click",function(){return b._handleClick()});a&2&&eg("autocomplete",b.autocompleteAttribute)("role",b.autocompleteDisabled?
null:"combobox")("aria-autocomplete",b.autocompleteDisabled?null:"list")("aria-activedescendant",b.panelOpen&&b.activeOption?b.activeOption.id:null)("aria-expanded",b.autocompleteDisabled?null:b.panelOpen.toString())("aria-controls",b.autocompleteDisabled||!b.panelOpen?null:b.autocomplete==null?null:b.autocomplete.id)("aria-haspopup",b.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo",
"connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",rh]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[Yg([Guc]),dg,Hd]});var tN=function(){};tN.\u0275fac=function(a){return new (a||tN)};tN.\u0275mod=u({type:tN});tN.\u0275inj=p({providers:[Iuc],imports:[xy,Py,yy,Qw,Zx,Py,yy]});var Juc=new Bd("mat-checkbox-default-options",{providedIn:"root",factory:VMa});var Kuc=["input"],Luc=["label"],Muc={provide:mz,useExisting:id(function(){return uN}),multi:!0},Nuc=function(){},Ouc=0,Puc=VMa(),uN=function(){this._elementRef=r(ge);this._changeDetectorRef=r(rw);this._ngZone=r(hh);this._animationMode=r(Zv,{optional:!0});this._options=r(Juc,{optional:!0});this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",
indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};this.ariaLabel="";this.ariaLabelledby=null;this.labelPosition="after";this.name=null;this.change=new kw;this.indeterminateChange=new kw;this._onTouched=function(){};this._currentAnimationClass="";this._currentCheckState=0;this._controlValueAccessorChangeFn=function(){};this._validatorChangeFn=function(){};this._indeterminate=this._disabled=this._checked=!1;r(Yw).load(Fy);
var a=r(new Vv("tabindex"),{optional:!0});this._options=this._options||Puc;this.color=this._options.color||Puc.color;this.tabIndex=a==null?0:parseInt(a)||0;this.id=this._uniqueId="mat-mdc-checkbox-"+ ++Ouc;var b,c;this.disabledInteractive=(c=(b=this._options)==null?void 0:b.disabledInteractive)!=null?c:!1};g=uN.prototype;g.focus=function(){this._inputElement.nativeElement.focus()};g._createChangeEvent=function(a){var b=new Nuc;b.source=this;b.checked=a;return b};
g._getAnimationTargetElement=function(){var a;return(a=this._inputElement)==null?void 0:a.nativeElement};g.ngOnChanges=function(a){a.required&&this._validatorChangeFn()};g.ngAfterViewInit=function(){this._syncIndeterminate(this._indeterminate)};g._isRippleDisabled=function(){return this.disableRipple||this.disabled};g._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()};g.writeValue=function(a){this.checked=!!a};g.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};
g.registerOnTouched=function(a){this._onTouched=a};g.setDisabledState=function(a){this.disabled=a};g.validate=function(a){return this.required&&a.value!==!0?{required:!0}:null};g.registerOnValidatorChange=function(a){this._validatorChangeFn=a};
g._transitionCheckState=function(a){var b=this._currentCheckState,c=this._getAnimationTargetElement();if(b!==a&&c&&(this._currentAnimationClass&&c.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(b,a),this._currentCheckState=a,this._currentAnimationClass.length>0)){c.classList.add(this._currentAnimationClass);var d=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){c.classList.remove(d)},
1E3)})}};g._emitChangeEvent=function(){this._controlValueAccessorChangeFn(this.checked);this.change.emit(this._createChangeEvent(this.checked));this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)};g.toggle=function(){this.checked=!this.checked;this._controlValueAccessorChangeFn(this.checked)};
g._handleInputClick=function(){var a=this,b,c=(b=this._options)==null?void 0:b.clickAction;if(!this.disabled&&c!=="noop")this.indeterminate&&c!=="check"&&Promise.resolve().then(function(){a._indeterminate=!1;a.indeterminateChange.emit(a._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent();else if(this.disabled&&this.disabledInteractive||!this.disabled&&c==="noop")this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=
this.indeterminate};g._onInteractionEvent=function(a){a.stopPropagation()};g._onBlur=function(){var a=this;Promise.resolve().then(function(){a._onTouched();a._changeDetectorRef.markForCheck()})};
g._getAnimationClassForCheckStateTransition=function(a,b){if(this._animationMode==="NoopAnimations")return"";switch(a){case 0:if(b===1)return this._animationClasses.uncheckedToChecked;if(b==3)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return b===1?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return b===2?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;
case 3:return b===1?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""};g._syncIndeterminate=function(a){var b=this._inputElement;b&&(b.nativeElement.indeterminate=a)};g._onInputClick=function(){this._handleInputClick()};g._onTouchTargetClick=function(){this._handleInputClick();this.disabled||this._inputElement.nativeElement.focus()};g._preventBubblingFromLabel=function(a){a.target&&this._labelElement.nativeElement.contains(a.target)&&a.stopPropagation()};
ea.Object.defineProperties(uN.prototype,{inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-input"}},checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){a!=this.checked&&(this._checked=a,this._changeDetectorRef.markForCheck())}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){a!==this.disabled&&(this._disabled=a,this._changeDetectorRef.markForCheck())}},indeterminate:{configurable:!0,
enumerable:!0,get:function(){return this._indeterminate},set:function(a){var b=a!=this._indeterminate;this._indeterminate=a;b&&(this._indeterminate?this._transitionCheckState(3):this._transitionCheckState(this.checked?1:2),this.indeterminateChange.emit(this._indeterminate));this._syncIndeterminate(this._indeterminate)}}});uN.\u0275fac=function(a){return new (a||uN)};
uN.\u0275cmp=t({type:uN,selectors:[["mat-checkbox"]],viewQuery:function(a,b){a&1&&(Mg(Kuc,5),Mg(Luc,5));if(a&2){var c;Qg(c=Rg())&&(b._inputElement=c.first);Qg(c=Rg())&&(b._labelElement=c.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(a,b){a&2&&(yg("id",b.id),eg("tabindex",null)("aria-label",null)("aria-labelledby",null),og(b.color?"mat-"+b.color:"mat-accent"),ng("_mat-animation-noopable",b._animationMode==="NoopAnimations")("mdc-checkbox--disabled",b.disabled)("mat-mdc-checkbox-disabled",
b.disabled)("mat-mdc-checkbox-checked",b.checked)("mat-mdc-checkbox-disabled-interactive",b.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",rh],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",rh],labelPosition:"labelPosition",name:"name",value:"value",
disableRipple:[2,"disableRipple","disableRipple",rh],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?void 0:sh(a)}],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",rh],checked:[2,"checked","checked",rh],disabled:[2,"disabled","disabled",rh],indeterminate:[2,"indeterminate","indeterminate",rh]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[Yg([Muc,{provide:nz,useExisting:uN,multi:!0}]),
dg,Hd,$g],ngContentSelectors:["*"],decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],
["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(a,b){if(a&1){var c=x();Dg();I(0,"div",3);M("click",function(d){z(c);return A(b._preventBubblingFromLabel(d))});I(1,"div",4,0)(3,"div",5);M("click",function(){z(c);return A(b._onTouchTargetClick())});J();I(4,"input",
6,1);M("blur",function(){z(c);return A(b._onBlur())})("click",function(){z(c);return A(b._onInputClick())})("change",function(d){z(c);return A(b._onInteractionEvent(d))});J();K(6,"div",7);I(7,"div",8);Wd();I(8,"svg",9);K(9,"path",10);J();Pd.currentNamespace=null;K(10,"div",11);J();K(11,"div",12);J();I(12,"label",13,2);Eg(14);J()()}a&2&&(a=L(2),F("labelPosition",b.labelPosition),C(4),ng("mdc-checkbox--selected",b.checked),F("checked",b.checked)("indeterminate",b.indeterminate)("disabled",b.disabled&&
!b.disabledInteractive)("id",b.inputId)("required",b.required)("tabIndex",b.disabled&&!b.disabledInteractive?-1:b.tabIndex),eg("aria-label",b.ariaLabel||null)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby)("aria-checked",b.indeterminate?"mixed":null)("aria-controls",b.ariaControls)("aria-disabled",b.disabled&&b.disabledInteractive?!0:null)("aria-expanded",b.ariaExpanded)("aria-owns",b.ariaOwns)("name",b.name)("value",b.value),C(7),F("matRippleTrigger",a)("matRippleDisabled",
b.disableRipple||b.disabled)("matRippleCentered",!0),C(),F("for",b.inputId))},dependencies:[Ky,Gy],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity));background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-app-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity));background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-app-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mdc-checkbox__ripple{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}@media(forced-colors: active){.mdc-checkbox--disabled{opacity:.5}}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-app-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-app-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *,.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-app-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-app-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-app-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var vN=function(){var a=this;this.showPlaceholder=!1;this.customFieldTitle="";this.allowMultiSelect=!1;this.selectedValues=[];this.allowedValues=[];this.disabled=!1;this.onValueChange=new rG;this.onApplyChanges=new rG;this.onCancelChanges=new rG;this.searchQuery$=new Jf;this.hasPendingChanges=!1;this.selectedValuesMap={};this.oldSelectedValuesMap={};this.suggestedValues$=this.searchQuery$.pipe(Af(300),Ef(),B(function(b){var c=b.toLowerCase();return a.allowedValues.filter(function(d){return Fa(d.toLowerCase(),
c)})}))};g=vN.prototype;g.ngOnInit=function(){yea(this.selectedValuesMap);for(var a=k(this.allowedValues),b=a.next();!b.done;b=a.next())b=b.value,this.selectedValuesMap[b]=this.selectedValues.includes(b);this.oldSelectedValuesMap=Object.assign({},this.selectedValuesMap);this.hasPendingChanges=!1};g.ngAfterViewInit=function(){};g.getPlaceholder=function(){return this.showPlaceholder?"Select "+this.customFieldTitle:""};
g.onSpace=function(a){var b;this.allowMultiSelect&&((b=this.autocompleteTrigger)==null?0:b.activeOption)&&(this.toggleSelection(this.autocompleteTrigger.activeOption.value),a.preventDefault(),a.stopPropagation())};g.search=function(a){this.searchQuery$.next(a)};g.handleSelectionChange=function(){this.hasPendingChanges=!yi(this.oldSelectedValuesMap,this.selectedValuesMap)};g.toggleSelection=function(a){this.selectedValuesMap[a]=!this.selectedValuesMap[a];this.handleSelectionChange()};
var ZMa=function(a,b){a.allowMultiSelect?(b=Object.keys(Dc(a.selectedValuesMap,function(c){return c})),a.onApplyChanges.emit(b)):a.onValueChange.emit(b==null?void 0:b.option.value)};vN.prototype.cancel=function(){this.onCancelChanges.emit()};vN.\u0275fac=function(a){return new (a||vN)};
vN.\u0275cmp=t({type:vN,selectors:[["b-custom-repeated-enum-picker"]],viewQuery:function(a,b){a&1&&Mg(sN,7);if(a&2){var c;Qg(c=Rg())&&(b.autocompleteTrigger=c.first)}},inputs:{showPlaceholder:"showPlaceholder",customFieldTitle:"customFieldTitle",currentInputValue:"currentInputValue",allowMultiSelect:"allowMultiSelect",selectedValues:"selectedValues",allowedValues:"allowedValues",disabled:"disabled"},outputs:{onValueChange:"onValueChange",onApplyChanges:"onApplyChanges",onCancelChanges:"onCancelChanges"},
decls:8,vars:9,consts:[["customRepeatedEnumPicker",""],["auto","matAutocomplete"],["id","custom-repeated-enum-picker","type","text","autocomplete","off","aria-label","Custom repeated enum field selection",3,"click","input","keydown.space","placeholder","ngModel","disabled","matAutocomplete"],[3,"optionSelected","hideSingleSelectionIndicator"],[1,"custom-repeated-enum-search-result",3,"value"],[1,"action-buttons"],[3,"checked"],[1,"custom-repeated-enum-suggestion"],[3,"click","change","checked"],["mat-flat-button",
"","type","submit",1,"small","action-button",3,"click","keydown.enter","disabled"],["svgIcon","done",1,"icon-s"],["mat-stroked-button","","type","button",1,"small","action-button",3,"click","keydown.esc"],["svgIcon","close",1,"icon-s"]],template:function(a,b){if(a&1){var c=x();I(0,"input",2,0);M("click",function(){z(c);var e=L(1);return A(b.search(e.value))})("input",function(){z(c);var e=L(1);return A(b.search(e.value))})("keydown.space",function(e){z(c);return A(b.onSpace(e))});J();I(2,"mat-autocomplete",
3,1);M("optionSelected",function(e){z(c);return A(ZMa(b,e))});tg(4,YMa,3,2,"mat-option",4,sg);S(6,"async");J();D(7,$Ma,5,5,"div",5)}if(a&2){var d;a=L(3);F("placeholder",b.getPlaceholder())("ngModel",b.currentInputValue)("disabled",b.disabled)("matAutocomplete",a);eg("aria-disabled",b.disabled);C(2);F("hideSingleSelectionIndicator",!0);C(2);ug((d=U(6,7,b.suggestedValues$))!==null&&d!==void 0?d:b.currentInputValue?[]:b.allowedValues);C(3);G(b.allowMultiSelect?7:-1)}},dependencies:[$D,pN,rN,My,sN,ki,
tz,Bz,vD,Vy,qN,uN,Iw],styles:[".custom-repeated-enum-search-result.mat-mdc-option[_ngcontent-%COMP%]{line-height:normal;min-height:32px;padding:0 8px}.custom-repeated-enum-search-result.mat-mdc-option.mat-active[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.16);background-color:var(--active-bg)}.custom-repeated-enum-search-result[_ngcontent-%COMP%]   .mat-mdc-checkbox[_ngcontent-%COMP%]{overflow-wrap:anywhere}.custom-repeated-enum-search-result[_ngcontent-%COMP%]   .custom-repeated-enum-suggestion[_ngcontent-%COMP%]{color:#202124;color:var(--text);font-size:.8125rem;padding:4px 0;overflow-wrap:break-word;white-space:normal}.action-buttons[_ngcontent-%COMP%]{display:inline-block;line-height:30px;padding-left:8px}.action-buttons[_ngcontent-%COMP%]   button.gmat-mdc-button.action-button[_ngcontent-%COMP%]{min-width:0;width:28px;padding:0 4px;margin-right:4px}@media(forced-colors: active){.action-buttons[_ngcontent-%COMP%]   button.gmat-mdc-button.action-button[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider)}}"],
changeDetection:0});var wN=function(){};wN.\u0275fac=function(a){return new (a||wN)};wN.\u0275mod=u({type:wN});wN.\u0275inj=p({imports:[tN]});var xN=function(){};xN.\u0275fac=function(a){return new (a||xN)};xN.\u0275mod=u({type:xN});xN.\u0275inj=p({imports:[uN,yy,yy]});var yN=function(){};yN.\u0275fac=function(a){return new (a||yN)};yN.\u0275mod=u({type:yN});yN.\u0275inj=p({providers:[{provide:Juc,useValue:{color:"primary"}}],imports:[xN]});var zN=function(){};zN.\u0275fac=function(a){return new (a||zN)};zN.\u0275mod=u({type:zN});zN.\u0275inj=p({imports:[RE,wN,Qz,JH,yN]});var Quc=0,AN=function(){Z.call(this);var a=this;this.teamsService=r(lH);this.ROUTES=tq;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.linkFocused=new rG;this.linkBlurred=new rG;this.teamName=this.teamId;this.teamLogoUrl=this.teamDescription="";this.providedTeamId$=new If(1);this.teamLinkId="b-team-link-content-"+Quc;this.fetchedTeam$=this.providedTeamId$.pipe(Ef(),Ye(function(b){return b!=="0"}),Nf(function(b){return mH(a.teamsService,b)}));this.isTeamFetched$=this.fetchedTeam$.pipe(B(function(){return!0}),
Mf(!1));this.fetchedTeam$.pipe(Of(this.destroyed$)).subscribe(function(b){a.teamName=b.name;a.teamDescription=b.description;a.teamLogoUrl="https://moma-teams-photos.corp.google.com/logo/"+b.teamId});Quc++};Y(AN,Z);AN.\u0275dir=Z.\u0275dir;AN.prototype.ngOnInit=function(){};AN.prototype.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};AN.prototype.trackClick=function(a){vo("teamCard","click",a,1)};
AN.prototype.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};AN.\u0275fac=function(a){return new (a||AN)};
AN.\u0275cmp=t({type:AN,selectors:[["b-team-card"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},outputs:{linkFocused:"linkFocused",linkBlurred:"linkBlurred"},features:[cg,Hd],decls:21,vars:9,consts:[["role","dialog","aria-label","Team hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"flex-kids-x"],["alt","Team logo"],[1,"flex-kids-y","margin-s-left","margin-s-bottom"],
[1,"type-m"],["svgIcon","supervisor_account_24px",1,"icon-xxs"],[1,"type-s","id-text"],[1,"card-description"],[1,"flex-kids-y","padded-s-top","hovercard-action-container"],["aria-label","View team settings",3,"click","routerLink"],["mat-button","",1,"primary","hovercard-action"],["target","_blank","aria-label","View team in Moma",3,"click","href"],["mat-button","",1,"gmat-button","primary","hovercard-action"],["svgIcon","pop-out",1,"icon-xxs"],["aria-label","View team association on component",3,
"href"],["aria-label","View team association on component",3,"click","href"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,"div",2),K(3,"img",3),I(4,"div",4)(5,"div",5),K(6,"mat-icon",6),Q(7),J(),I(8,"div",7),Q(9),J()()(),I(10,"p",8),Q(11),J(),I(12,"div",9)(13,"a",10),M("click",function(){return b.trackClick("viewTeamSettingsPage")}),I(14,"button",11),Q(15,"View team settings"),J()(),I(16,"a",12),M("click",function(){return b.trackClick("viewTeamInMoma")}),I(17,"button",13),Q(18,"View team in Moma "),
K(19,"mat-icon",14),J()(),D(20,aNa,3,1,"a",15),J()()());a&2&&(C(3),eg("src",b.teamLogoUrl,of),C(4),R(" Team: ",b.teamName," "),C(2),R("Team ID: ",b.teamId,""),C(2),Tg(b.teamDescription),C(2),Fg("routerLink","/teams/",b.teamId,"/edit"),C(3),Fg("href","https://moma.corp.google.com/team/",b.teamId,"",of),C(4),G(b.componentId?20:-1))},dependencies:[$D,JE,vD,Vy],styles:[".card-description[_ngcontent-%COMP%]{line-height:1.3em;margin-bottom:.5em;margin-top:.25em;max-height:13em;overflow-x:hidden;overflow-y:scroll;text-overflow:ellipsis;white-space:pre-wrap;word-break:break-word}mat-icon[_ngcontent-%COMP%]{vertical-align:middle}img[_ngcontent-%COMP%]{flex-shrink:0;object-fit:contain;width:24px;height:24px;box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);padding:5px;border-radius:4px}.id-text[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}.hovercard-action-container[_ngcontent-%COMP%]{align-items:flex-start}.hovercard-action-container[_ngcontent-%COMP%]   .hovercard-action[_ngcontent-%COMP%]{height:24px;line-height:24px;margin-left:-8px}"]});var BN=function(){};BN.\u0275fac=function(a){return new (a||BN)};BN.\u0275mod=u({type:BN});BN.\u0275inj=p({imports:[RE,JH]});var Ruc=0,CN=function(){Z.call(this);var a=this;this.teamsService=r(lH);this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.providedTeamId$=new If(1);this.teamLinkId="b-team-link-content-"+Ruc;this.teamName=this.teamId;this.fetchedTeam$=this.providedTeamId$.pipe(Ef(),Ye(function(b){return b!=="0"}),Nf(function(b){return mH(a.teamsService,b)}));this.isTeamFetched$=this.fetchedTeam$.pipe(B(function(){return!0}),Mf(!1));this.fetchedTeam$.pipe(Of(this.destroyed$)).subscribe(function(b){a.teamName=
b.name});Ruc++};Y(CN,Z);CN.\u0275dir=Z.\u0275dir;CN.prototype.ngOnInit=function(){};CN.prototype.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};CN.prototype.trackClick=function(a){vo("teamCard","click",a,1)};CN.prototype.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};CN.\u0275fac=function(a){return new (a||CN)};
CN.\u0275cmp=t({type:CN,selectors:[["b-team-display"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},features:[cg,Hd],decls:7,vars:5,consts:[["card","onedevHovercard"],[3,"componentId","teamId"],["target","_blank",1,"card-anchor","keep-focus-ring",3,"href","onedevHovercardTrigger"],[3,"onedevHovercardTrigger"],["target","_blank",1,"card-anchor","keep-focus-ring",3,"click","href",
"onedevHovercardTrigger"],["svgIcon","pop-out",1,"icon-xs"],[1,"animated-loading-bar"]],template:function(a,b){a&1&&(D(0,dNa,2,2),S(1,"async"),D(2,gNa,2,2),I(3,"onedev-hovercard",null,0),vg(5),K(6,"b-team-card",1),wg(),J());a&2&&(G(b.teamId!="0"&&U(1,3,b.isTeamFetched$)?0:2),C(6),F("componentId",b.componentId==null?null:b.componentId.toString())("teamId",b.teamId.toString()))},dependencies:[$D,bK,hK,AN,Iw],encapsulation:2});var DN=function(){};DN.\u0275fac=function(a){return new (a||DN)};DN.\u0275mod=u({type:DN});DN.\u0275inj=p({imports:[RE,VK,BN]});var Suc=0,EN=function(){this.elementRef=r(ge);this.titleWhenExpanded=this.titleWhenCollapsed="";this.isExpanded=!1;this.iconName="";this.hasCompactTitleBar=!1;this.headerId="b-collapsible-panel-header-"+Suc;this.id="b-collapsible-panel-"+Suc;Suc++};EN.prototype.toggleExpansion=function(){var a=this;this.isExpanded||setTimeout(function(){return a.elementRef.nativeElement.scrollIntoView({behavior:"smooth",block:"nearest"})},200);this.isExpanded=!this.isExpanded};
ea.Object.defineProperties(EN.prototype,{title:{configurable:!0,enumerable:!0,set:function(a){this.titleWhenCollapsed=this.titleWhenExpanded=a},get:function(){return this.isExpanded?this.titleWhenExpanded:this.titleWhenCollapsed}},expandedState:{configurable:!0,enumerable:!0,get:function(){return this.isExpanded?"expanded":"collapsed"}}});EN.\u0275fac=function(a){return new (a||EN)};
EN.\u0275cmp=t({type:EN,selectors:[["collapsible-panel"],["b-collapsible-panel"]],inputs:{titleWhenCollapsed:"titleWhenCollapsed",titleWhenExpanded:"titleWhenExpanded",isExpanded:"isExpanded",iconName:"iconName",hasCompactTitleBar:"hasCompactTitleBar",title:"title"},ngContentSelectors:["*"],decls:8,vars:12,consts:[[1,"collapsible-panel"],["aria-label","collapsible panel",1,"title-bar","unstyled-button",3,"click","mouseup"],["size","small",1,"icon",3,"name"],[1,"title"],[1,"horizontal-line"],["svgIcon",
"arrow-down",1,"icon-s"],["role","region",1,"content"]],template:function(a,b){a&1&&(Dg(),I(0,"div",0)(1,"button",1),M("click",function(){return b.toggleExpansion()})("mouseup",function(){b.elementRef.nativeElement.querySelector(".title-bar").blur()}),D(2,hNa,1,1,"b-icon",2)(3,iNa,2,1,"span",3)(4,jNa,2,0,"div",4),K(5,"mat-icon",5),J(),I(6,"div",6),Eg(7),J()());a&2&&(C(),ng("compact",b.hasCompactTitleBar),eg("id",b.headerId)("aria-expanded",b.isExpanded)("aria-controls",b.id),C(),G(b.iconName?2:-1),
C(),G(b.hasCompactTitleBar&&b.isExpanded?-1:3),C(),G(b.hasCompactTitleBar?4:-1),C(),F("@expandCollapseIcon",b.expandedState),C(),F("@expandCollapseContent",b.expandedState),eg("id",b.id)("aria-labelledby",b.headerId))},dependencies:[$D,yM],styles:['.collapsible-panel[_ngcontent-%COMP%]   .title-bar[_ngcontent-%COMP%]{font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500;color:#1a73e8;color:var(--text-primary);cursor:pointer;display:flex;flex-direction:row;padding:4px 4px 4px 7px;margin:6px 0px 6px 12px;width:calc(100% - 18px);border-radius:4px;transition:200ms background-color}.collapsible-panel[_ngcontent-%COMP%]   .title-bar[_ngcontent-%COMP%]:focus{background-color:#e8f0fe;background-color:var(--primary-c50)}.collapsible-panel[_ngcontent-%COMP%]   .title-bar[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{flex-grow:1}.collapsible-panel[_ngcontent-%COMP%]   .compact[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted);padding:0;margin:0;font-size:.75rem;letter-spacing:.025em;width:100%}.collapsible-panel[_ngcontent-%COMP%]   .compact[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{flex-grow:0;margin-left:3px}.collapsible-panel[_ngcontent-%COMP%]   .compact[_ngcontent-%COMP%]   b-icon[_ngcontent-%COMP%]{min-width:20px}.collapsible-panel[_ngcontent-%COMP%]   .compact[_ngcontent-%COMP%]   .horizontal-line[_ngcontent-%COMP%]{border-bottom:1px solid var(--text-disabled);flex-grow:1;height:.8vh;margin-left:8px;margin-right:10px}.collapsible-panel[_ngcontent-%COMP%]   .compact[_ngcontent-%COMP%]   .icon-s[_ngcontent-%COMP%]{margin-right:-3px}.collapsible-panel[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{overflow:hidden}'],
data:{animation:[ni("expandCollapseContent",[qi("expanded",pi({height:"*",visibility:"visible"})),qi("collapsed",pi({height:"0",visibility:"hidden"})),si("expanded <=> collapsed",[oi("200ms")])]),ni("expandCollapseIcon",[qi("expanded",pi({transform:"rotate(-180deg)"})),qi("collapsed",pi({transform:"*"})),si("expanded <=> collapsed",[oi("200ms")])])]}});var FN=function(){};FN.\u0275fac=function(a){return new (a||FN)};FN.\u0275mod=u({type:FN});FN.\u0275inj=p({imports:[RE,AM]});var Tuc=[[["xap-dialog-layout-title"]],[["xap-dialog-layout-subtitle"]],[["xap-dialog-layout-content"]],[["xap-dialog-layout-actions"]]],Uuc=function(){};Uuc.\u0275fac=function(a){return new (a||Uuc)};Uuc.\u0275dir=ud({type:Uuc,selectors:[["xap-dialog-layout-subtitle"]],standalone:!0});var GN=function(a,b,c){this.el=a;this.cdRef=b;this.ngZone=c;this.destroyed=new If;this.internalScrollable=!1;this.internalScrollPosition="bottom"};
GN.prototype.ngOnInit=function(){var a=this;this.internalScrollPosition=this.getScrollPosition(this.el.nativeElement);this.ngZone.runOutsideAngular(function(){Vuc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollable=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})});Wuc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollPosition=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})})})};GN.prototype.ngOnDestroy=function(){this.destroyed.next();this.destroyed.complete()};
var Vuc=function(a){if(!window.ResizeObserver)return Fe(Xuc(a.el.nativeElement));var b;return Xha(function(c){b=new ResizeObserver(function(){c(Xuc(a.el.nativeElement))});b.observe(a.el.nativeElement)},function(){b.disconnect()}).pipe(Ef(),Of(a.destroyed))},Wuc=function(a){return Te(a.el.nativeElement,"scroll").pipe(kNa(),B(function(){return a.getScrollPosition(a.el.nativeElement)}),Ef(),Of(a.destroyed))},Xuc=function(a){return a.offsetHeight+a.scrollTop<=a.scrollHeight};
GN.prototype.getScrollPosition=function(a){return a.scrollTop===0?"top":a.offsetHeight+a.scrollTop>=a.scrollHeight?"bottom":"center"};ea.Object.defineProperties(GN.prototype,{scrollable:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollable}},scrollPosition:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollPosition}}});GN.\u0275fac=function(a){return new (a||GN)(af(ge),af(rw),af(hh))};
GN.\u0275dir=ud({type:GN,selectors:[["xap-dialog-layout-content"]],hostAttrs:[1,"xap-dialog-layout-content"],hostVars:6,hostBindings:function(a,b){a&2&&ng("xap-dialog-layout-content-scrollable",b.scrollable)("xap-dialog-layout-bottom-scroll-stroke",b.scrollPosition!=="bottom")("xap-dialog-layout-top-scroll-stroke",b.scrollPosition!=="top")},standalone:!0});var HN=function(){};HN.\u0275fac=function(a){return new (a||HN)};
HN.\u0275cmp=t({type:HN,selectors:[["xap-dialog-layout"]],contentQueries:function(a,b,c){a&1&&Ng(c,Uuc,4);if(a&2){var d;Qg(d=Rg())&&(b.subtitle=d)}},hostAttrs:[1,"xap-dialog-layout"],hostVars:2,hostBindings:function(a,b){a&2&&ng("xap-dialog-layout-bordered-header",b.subtitle)},standalone:!0,features:[$g],ngContentSelectors:["xap-dialog-layout-title","xap-dialog-layout-subtitle","xap-dialog-layout-content","xap-dialog-layout-actions"],decls:5,vars:0,consts:[[1,"xap-dialog-header-container"]],template:function(a){a&
1&&(Dg(Tuc),I(0,"header",0),Eg(1),Eg(2,1),J(),Eg(3,2),Eg(4,3))},styles:[".xap-dialog-layout{display:block;padding:24px 24px 8px;overflow-x:hidden}xap-dialog-layout-title{display:block;padding:0;color:var(--xap-dialog-layout-title-text-color)}xap-dialog-layout-subtitle{display:block;padding:0 0 16px;color:var(--xap-dialog-layout-subtitle-text-color)}xap-dialog-layout-content{display:block;padding:0 0 16px;color:var(--xap-dialog-layout-content-text-color)}xap-dialog-layout-actions{color:var(--xap-dialog-layout-actions-text-color)}xap-dialog-layout-actions .mat-button-base,xap-dialog-layout-actions .mat-mdc-button-base{margin:8px 16px 0 -8px;padding:0 8px}"],
encapsulation:2});var Yuc=pi({opacity:0}),Zuc=pi({opacity:1}),$uc=ni("dialogContainer",[qi("void, hidden",Yuc),qi("visible",Zuc),si("void => *, * => visible",oi("200ms cubic-bezier(0.0,0.0,0.2,1)",Zuc)),si("* => void, * => hidden",oi("200ms cubic-bezier(0.4,0.0,0.2,1)",Yuc))]);var avc=new Bd("XAP_IDCO"),IN=function(){oy.apply(this,arguments);this.animationState="hidden";this.options=r(avc);this.changeDetector=r(rw)};Y(IN,oy);IN.prototype.ngAfterViewInit=function(){};IN.prototype.attachComponentPortal=function(a){return this.portalOutlet.attachComponentPortal(a)};IN.prototype.attachTemplatePortal=function(a){return this.portalOutlet.attachTemplatePortal(a)};var bvc=function(a,b){a.animationState=b?"visible":"hidden";a.changeDetector.markForCheck()};
IN.\u0275fac=function(){var a;return function(b){return(a||(a=de(IN)))(b||IN)}}();
IN.\u0275cmp=t({type:IN,selectors:[["xap-inline-dialog-container"]],viewQuery:function(a,b){a&1&&Mg(ry,7);if(a&2){var c;Qg(c=Rg())&&(b.portalOutlet=c.first)}},hostAttrs:["role","dialog",1,"xap-inline-dialog-container","gmat-body-2"],hostVars:3,hostBindings:function(a,b){a&2&&(zg("@dialogContainer",b.animationState),eg("aria-label",b.options.dialogLabel)("tabindex",b.options.dialogTabIndex))},standalone:!0,features:[cg,$g],decls:2,vars:0,consts:[["cdkPortalOutlet",""],["cdkFocusInitial","","tabindex",
"0"]],template:function(a){a&1&&(I(0,"div"),D(1,lNa,1,0,"ng-template",0),J())},dependencies:[tx,sy,ry],styles:[".xap-inline-dialog-container{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15);border-radius:8px;overflow:auto}"],encapsulation:2,data:{animation:[$uc]},changeDetection:0});var cvc=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top",offsetY:8},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",offsetY:-8},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",offsetY:-8},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top",offsetY:8}],dvc={minWidth:220,maxWidth:420,minHeight:64,maxHeight:420},JN=function(){var a=this;this.disabledInternal=!1;this.dialogLabel=null;this.dialogTabIndex=-1;this.overlayDimensions=dvc;this.triggerDescription=
"Press space for more information.";this.forceTrapFocus=this.disableAutoFocusInternal=!1;this.scrollStrategy="close";this.stackLocation=0;this.beforeOpened=new kw;this.opened=new kw;this.closed=new kw;this.destroyed=new If;this.openStatusChange=new bo(!1);this.openings=this.openStatusChange.pipe(Ye(function(b){return b&&!a.disabled}));this.elementFocusedBeforeDialogWasOpened=void 0;this.ngZone=r(hh);this.overlay=r(ty);this.elementRef=r(ge);this.viewContainerRef=r(Kg);this.document=r(ei);this.focusTrapFactory=
r(zx);this.ariaDescriber=r(ux);this.injector=r(Sf);evc(this,this.elementRef.nativeElement);this.attachKeyboardCloseEventListeners(this.elementRef.nativeElement);fvc(this,this.elementRef.nativeElement)};JN.prototype.ngOnInit=function(){var a=this.elementRef.nativeElement;a.hasAttribute("aria-haspopup")||a.setAttribute("aria-haspopup","dialog");a.hasAttribute("aria-describedby")||vx(this.ariaDescriber,a,this.triggerDescription)};
JN.prototype.ngOnDestroy=function(){this.closeDialog();this.openStatusChange.complete();this.destroyed.next();this.destroyed.complete();this.overlayRef&&this.overlayRef.dispose()};
var evc=function(a,b){a.ngZone.runOutsideAngular(function(){Te(b,"keydown").pipe(Of(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 13:a.openDialog();c.preventDefault();break;case 32:c.preventDefault()}});Te(b,"keyup").pipe(Of(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 32:a.openDialog()}})})},fvc=function(a,b){a.ngZone.runOutsideAngular(function(){Te(b,"focus").pipe(Ye(function(){return a.beforeOpened.observers.length>0}),Of(a.destroyed)).subscribe(function(){a.ngZone.run(function(){a.beforeOpened.emit()})})})};
g=JN.prototype;
g.openDialog=function(){var a=this;if(!this.disabled){var b;if((b=this.overlayRef)==null||!b.hasAttached()){var c=this.portal;c!=null&&(this.stackManager&&(this.stackLocation=this.stackManager.register()),this.ngZone.run(function(){a.dialogContainerRef=gvc(a);a.dialogContainerRef.instance.attach(c);var d=a.dialogContainerRef.location.nativeElement;a.attachMouseEventListeners(d);a.attachKeyboardCloseEventListeners(d);a.trapFocus(d);bvc(a.dialogContainerRef.instance,!0);a.opened.observers.length&&setTimeout(function(){a.opened.emit()},
200)}))}}};g.closeDialog=function(){var a=this,b;(b=this.overlayRef)==null||!b.hasAttached()||this.stackManager&&!this.stackManager.tryUnregister(this.stackLocation)||(bvc(this.dialogContainerRef.instance,!1),setTimeout(function(){a.ngZone.run(function(){a.overlayRef&&a.overlayRef.detach();a.focusTrap&&(a.focusTrap.destroy(),a.focusTrap=void 0);a.restoreFocus();a.dialogContainerRef&&(a.dialogContainerRef.destroy(),a.dialogContainerRef=void 0);a.closed.emit()})},200))};
g.trapFocus=function(a){var b=this.document.activeElement,c=this.elementRef.nativeElement;if(this.forceTrapFocus||b&&b===c)this.document&&(this.elementFocusedBeforeDialogWasOpened=this.document.activeElement),this.focusTrap=this.focusTrapFactory.create(a),gx(this.focusTrap),this.disableAutoFocus||this.focusInitialElement()};g.focusInitialElement=function(){this.focusTrap&&B2b(this.focusTrap).then(function(){})};
g.restoreFocus=function(){var a=this.elementFocusedBeforeDialogWasOpened;if(a&&typeof a.focus==="function"){var b,c=(b=this.dialogContainerRef)==null?void 0:b.location.nativeElement;(b=this.document.activeElement)&&c!=null&&c.contains(b)&&(a.focus(),this.elementFocusedBeforeDialogWasOpened=void 0)}};g.createPositionStrategy=function(a){var b,c;return fy(ky(this.overlay.position(),(b=this.attachedTo)!=null?b:this.elementRef),a).setOrigin((c=this.attachedTo)!=null?c:this.elementRef)};
var hvc=function(a){var b=a.overlay.scrollStrategies;switch(a.scrollStrategy){case "noop":return b.noop();case "block":return b.block();case "reposition":return b.reposition();default:return b.close()}},gvc=function(a){var b=qh({parent:a.injector,providers:[{provide:avc,useValue:{dialogLabel:a.dialogLabel,dialogTabIndex:a.dialogTabIndex}}]});b=new my(IN,null,b);a.overlayRef==null&&(a.overlayRef=a.overlay.create(a.createOverlayConfig(cvc)));a.overlaySize&&a.overlayRef.updateSize(a.overlaySize);if(a.overlayPositions&&
a.overlayPositions.length>0){var c=a.overlayRef,d=a.createPositionStrategy(a.overlayPositions);d!==c._positionStrategy&&(c._positionStrategy&&c._positionStrategy.dispose(),c._positionStrategy=d,c.hasAttached()&&(d.attach(c),c.updatePosition()))}return a.overlayRef.attach(b)};
ea.Object.defineProperties(JN.prototype,{dialog:{configurable:!0,enumerable:!0,set:function(a){a&&(this.portal=a instanceof Jg?new ny(a,this.viewContainerRef):new my(a,this.viewContainerRef))}},disabled:{configurable:!0,enumerable:!0,set:function(a){(this.disabledInternal=a)&&this.closeDialog()},get:function(){return this.disabledInternal}},disableAutoFocus:{configurable:!0,enumerable:!0,set:function(a){this.disableAutoFocusInternal=$h(a)},get:function(){return this.disableAutoFocusInternal}},panelClass:{configurable:!0,
enumerable:!0,set:function(a){if(this.panelClassInternal!==a){if(this.panelClassInternal){var b;(b=this.overlayRef)==null||b.removePanelClass(this.panelClassInternal)}if(a){var c;(c=this.overlayRef)==null||c.addPanelClass(a)}this.panelClassInternal=a}}}});JN.\u0275fac=function(a){return new (a||JN)};
JN.\u0275dir=ud({type:JN,hostVars:1,hostBindings:function(a,b){a&2&&eg("data-disabled",b.disabled)},inputs:{attachedTo:"attachedTo",dialogLabel:"dialogLabel",dialogTabIndex:"dialogTabIndex",overlaySize:"overlaySize",overlayPositions:"overlayPositions",overlayDimensions:"overlayDimensions",triggerDescription:"triggerDescription",disableAutoFocus:"disableAutoFocus",forceTrapFocus:"forceTrapFocus",panelClass:"panelClass",scrollStrategy:"scrollStrategy",stackManager:"stackManager"},outputs:{beforeOpened:"beforeOpened",
opened:"opened",closed:"closed"},standalone:!0});var KN=function(){JN.call(this);this.attachMouseEventListeners(this.elementRef.nativeElement)};Y(KN,JN);g=KN.prototype;g.ngOnInit=function(){JN.prototype.ngOnInit.call(this);this.listenForOpenEvents()};g.listenForOpenEvents=function(){var a=this;this.openStatusChange.pipe(Of(this.destroyed)).subscribe(function(b){b?a.openDialog():a.closeDialog()});this.openings.pipe(Ye(function(b){return b&&a.beforeOpened.observers.length>0}),ska(function(){return a.openStatusChange.pipe(Ye(function(b){return!b}))}))};
g.attachMouseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){Te(a,"mouseenter").pipe(Of(b.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})});Te(a,"click").pipe(Of(b.destroyed)).subscribe(function(d){d.target.closest("[xapInlineDialogClose]")?b.closingDialog():b.openingDialog()});var c;(c=b.overlayRef)==null||c.backdropClick().pipe(Of(b.destroyed)).subscribe(function(){b.closingDialog()})})};
g.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){Te(a,"keyup").pipe(Of(b.destroyed)).subscribe(function(c){var d=c.target;switch(c.keyCode){case 27:b.closingDialog();break;case 32:d.closest("[xapInlineDialogClose]")&&b.closingDialog()}});Te(a,"keydown").pipe(Of(b.destroyed)).subscribe(function(c){var d=c.target;switch(c.keyCode){case 13:d.closest("[xapInlineDialogClose]")&&b.closingDialog()}})})};g.openingDialog=function(){this.disabled||this.openStatusChange.next(!0)};
g.closingDialog=function(){this.openStatusChange.next(!1)};g.createOverlayConfig=function(a){return new cy(Object.assign({},this.overlayDimensions,{positionStrategy:JN.prototype.createPositionStrategy.call(this,a),scrollStrategy:hvc(this),hasBackdrop:!0,backdropClass:"cdk-overlay-transparent-backdrop",panelClass:this.panelClassInternal}))};KN.\u0275fac=function(a){return new (a||KN)};
KN.\u0275dir=ud({type:KN,selectors:[["","xapInlineDialogClick",""]],hostAttrs:[1,"xap-inline-dialog-click"],inputs:{dialog:[0,"xapInlineDialogClick","dialog"],disabled:[0,"xapInlineDialogDisabled","disabled"]},exportAs:["xapInlineDialogClick"],standalone:!0,features:[cg]});var LN=function(){};LN.\u0275fac=function(a){return new (a||LN)};LN.\u0275mod=u({type:LN});LN.\u0275inj=p({});var ivc=new Bd("GMAT_FORM_FIELD_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var MN=function(a){this.options=a};MN.\u0275fac=function(a){return new (a||MN)(af(ivc))};MN.\u0275dir=ud({type:MN,selectors:[["mat-form-field"]],hostVars:2,hostBindings:function(a,b){a&2&&ng("gmat-mdc-form-field",!b.options.disableGmatStyle)}});var NN=function(){};NN.\u0275fac=function(a){return new (a||NN)};NN.\u0275mod=u({type:NN});NN.\u0275inj=p({imports:[aA]});var jvc=new Bd("GMAT_INPUT_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var ON=function(a){this.options=a};ON.\u0275fac=function(a){return new (a||ON)(af(jvc))};ON.\u0275dir=ud({type:ON,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostVars:2,hostBindings:function(a,b){a&2&&ng("gmat-mdc-input",!b.options.disableGmatStyle)}});var PN=function(){};PN.\u0275fac=function(a){return new (a||PN)};PN.\u0275mod=u({type:PN});PN.\u0275inj=p({imports:[iA,NN]});var QN=function(){JN.call(this);this.hoverDelayMs=500;this.activity=new Jf;this.attachMouseEventListeners(this.elementRef.nativeElement)};Y(QN,JN);g=QN.prototype;g.ngOnInit=function(){JN.prototype.ngOnInit.call(this);this.listenForOpenEvents(this.hoverDelayMs)};
g.listenForOpenEvents=function(a){var b=this,c=this.openStatusChange.pipe(Wja(function(){return b.activity.pipe(Af(a))}));c.pipe(Of(this.destroyed)).subscribe(function(d){d?b.openDialog():b.closeDialog()});this.openings.pipe(Ye(function(d){return d&&b.beforeOpened.observers.length>0}),ska(function(){return c.pipe(Ye(function(d){return!d}))}),Of(this.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})})};
g.attachMouseEventListeners=function(a){var b=this;this.stackManager&&this.stackManager.unregisterEvent().pipe(Af(this.hoverDelayMs),Of(this.destroyed)).subscribe(function(){a.matches(":hover")||b.viewContainerRef.element.nativeElement.matches(":hover")?b.openingDialog():b.closingDialog()});this.ngZone.runOutsideAngular(function(){Te(a,"mouseenter").pipe(Of(b.destroyed)).subscribe(function(){b.openingDialog()});Te(a,"click").pipe(Of(b.destroyed)).subscribe(function(c){c.target.closest("[xapInlineDialogClose]")?
b.closingDialog():(b.openingDialog(),b.openDialog())});Te(a,"mouseleave").pipe(Of(b.destroyed)).subscribe(function(){b.closingDialog()});Te(a,"mousemove").pipe(Of(b.destroyed)).subscribe(function(){b.activity.next()})})};g.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){Te(a,"keydown").pipe(Of(b.destroyed)).subscribe(function(c){switch(c.keyCode){case 27:var d;((d=b.overlayRef)==null?0:d.hasAttached())&&c.stopPropagation();b.closeDialog()}})})};
g.openingDialog=function(){this.disabled||(this.openStatusChange.next(!0),this.activity.next())};g.closingDialog=function(){this.openStatusChange.next(!1);this.activity.next()};g.createOverlayConfig=function(a){return new cy(Object.assign({},this.overlayDimensions,{positionStrategy:JN.prototype.createPositionStrategy.call(this,a),scrollStrategy:hvc(this),panelClass:this.panelClassInternal}))};QN.\u0275fac=function(a){return new (a||QN)};
QN.\u0275dir=ud({type:QN,selectors:[["","xapInlineDialog",""]],hostAttrs:[1,"xap-inline-dialog"],inputs:{dialog:[0,"xapInlineDialog","dialog"],disabled:[0,"xapInlineDialogDisabled","disabled"],hoverDelayMs:"hoverDelayMs"},exportAs:["xapInlineDialog"],standalone:!0,features:[cg]});var kvc=["*"],lvc=function(){return".xap-icon-trigger,.xap-text-trigger{pointer-events:auto}.xap-text-trigger{-webkit-text-decoration-line:underline;-moz-text-decoration-line:underline;text-decoration-line:underline;-webkit-text-decoration-style:dashed;-moz-text-decoration-style:dashed;text-decoration-style:dashed;-webkit-text-decoration-color:var(--xap-color-outline,#80868b);-moz-text-decoration-color:var(--xap-color-outline,#80868b);text-decoration-color:var(--xap-color-outline,#80868b);text-underline-position:under;text-underline-offset:1px}"},
RN=function(){this.disabled=!1};RN.\u0275fac=function(a){return new (a||RN)};
RN.\u0275cmp=t({type:RN,selectors:[["xap-text-trigger"]],hostAttrs:["role","button"],hostVars:4,hostBindings:function(a,b){a&2&&(eg("tabindex",b.disabled?-1:0)("aria-disabled",b.disabled?!0:!1),ng("xap-text-trigger",!b.disabled))},inputs:{disabled:[0,"xapInlineDialogDisabled","disabled"]},standalone:!0,features:[$g],ngContentSelectors:kvc,decls:1,vars:0,template:function(a){a&1&&(Dg(),Eg(0))},styles:[lvc()],encapsulation:2,changeDetection:0});var SN=function(){this.disabled=!1};
SN.\u0275fac=function(a){return new (a||SN)};SN.\u0275cmp=t({type:SN,selectors:[["xap-icon-trigger"]],hostAttrs:["role","button","tabindex","0",1,"xap-icon-trigger"],inputs:{disabled:[0,"xapInlineDialogDisabled","disabled"]},standalone:!0,features:[$g],ngContentSelectors:kvc,decls:1,vars:0,template:function(a){a&1&&(Dg(),Eg(0))},styles:[lvc()],encapsulation:2,changeDetection:0});var TN=function(){};TN.\u0275fac=function(a){return new (a||TN)};TN.\u0275mod=u({type:TN});TN.\u0275inj=p({});var mvc=new Bd("CDK_DRAG_CONFIG");var nvc=new Bd("CDK_DRAG_PARENT");var ovc=new Bd("CdkDragHandle"),UN=function(){this.element=r(ge);this._parentDrag=r(nvc,{optional:!0,skipSelf:!0});this._stateChanges=new Jf;this._disabled=!1;var a;(a=this._parentDrag)==null||a._addHandle(this)};UN.prototype.ngOnDestroy=function(){var a;(a=this._parentDrag)==null||a._removeHandle(this);this._stateChanges.complete()};ea.Object.defineProperties(UN.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=a;this._stateChanges.next(this)}}});
UN.\u0275fac=function(a){return new (a||UN)};UN.\u0275dir=ud({type:UN,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:[2,"cdkDragHandleDisabled","disabled",rh]},standalone:!0,features:[Yg([{provide:ovc,useExisting:UN}]),dg]});var pvc=Uh({passive:!1,capture:!0}),qvc=function(){};qvc.\u0275fac=function(a){return new (a||qvc)};qvc.\u0275cmp=t({type:qvc,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],standalone:!0,features:[$g],decls:0,vars:0,template:function(){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit;inset:auto}}.cdk-drag-placeholder *,.cdk-drag-preview *{pointer-events:none !important}\n"],encapsulation:2,changeDetection:0});
var VN=function(){var a=this;this._ngZone=r(hh);this._document=r(ei);this._styleLoader=r(Yw);this._dropInstances=new Set;this._dragInstances=new Set;this._activeDragInstances=Sg([]);this._globalListeners=new Map;this._draggingPredicate=function(b){return b.isDragging()};this.pointerMove=new Jf;this.pointerUp=new Jf;this.scroll=new Jf;this._preventDefaultWhileDragging=function(b){a._activeDragInstances().length>0&&b.preventDefault()};this._persistentTouchmoveListener=function(b){a._activeDragInstances().length>
0&&(a._activeDragInstances().some(a._draggingPredicate)&&b.preventDefault(),a.pointerMove.next(b))}},rvc=function(a,b){a._dropInstances.has(b)||a._dropInstances.add(b)},svc=function(a,b){a._dragInstances.add(b);a._dragInstances.size===1&&a._ngZone.runOutsideAngular(function(){a._document.addEventListener("touchmove",a._persistentTouchmoveListener,pvc)})},uvc=function(a,b){a._dragInstances.delete(b);tvc(a,b);a._dragInstances.size===0&&a._document.removeEventListener("touchmove",a._persistentTouchmoveListener,
pvc)};
VN.prototype.startDragging=function(a,b){var c=this;this._activeDragInstances().indexOf(a)>-1||(this._styleLoader.load(qvc),this._activeDragInstances.update(function(d){return[].concat(w(d),[a])}),this._activeDragInstances().length===1&&(b=b.type.startsWith("touch"),this._globalListeners.set(b?"touchend":"mouseup",{handler:function(d){return c.pointerUp.next(d)},options:!0}).set("scroll",{handler:function(d){return c.scroll.next(d)},options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:pvc}),
b||this._globalListeners.set("mousemove",{handler:function(d){return c.pointerMove.next(d)},options:pvc}),this._ngZone.runOutsideAngular(function(){c._globalListeners.forEach(function(d,e){c._document.addEventListener(e,d.handler,d.options)})})))};var tvc=function(a,b){a._activeDragInstances.update(function(c){var d=c.indexOf(b);return d>-1?(c.splice(d,1),[].concat(w(c))):c});a._activeDragInstances().length===0&&a._clearGlobalListeners()};
VN.prototype.isDragging=function(a){return this._activeDragInstances().indexOf(a)>-1};VN.prototype.scrolled=function(a){var b=this,c=[this.scroll];a&&a!==this._document&&c.push(new re(function(d){return b._ngZone.runOutsideAngular(function(){var e=function(f){b._activeDragInstances().length&&d.next(f)};a.addEventListener("scroll",e,!0);return function(){a.removeEventListener("scroll",e,!0)}})}));return Xe.apply(null,w(c))};
VN.prototype.ngOnDestroy=function(){var a=this;this._dragInstances.forEach(function(b){return uvc(a,b)});this._dropInstances.forEach(function(b){a._dropInstances.delete(b)});this._clearGlobalListeners();this.pointerMove.complete();this.pointerUp.complete()};VN.prototype._clearGlobalListeners=function(){var a=this;this._globalListeners.forEach(function(b,c){a._document.removeEventListener(c,b.handler,b.options)});this._globalListeners.clear()};VN.\u0275fac=function(a){return new (a||VN)};
VN.\u0275prov=n({token:VN,factory:VN.\u0275fac,providedIn:"root"});var qNa=0;var vvc=function(a){this._document=a;this.positions=new Map};vvc.prototype.clear=function(){this.positions.clear()};vvc.prototype.cache=function(a){var b=this;this.clear();this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()});a.forEach(function(c){b.positions.set(c,{scrollPosition:{top:c.scrollTop,left:c.scrollLeft},clientRect:rNa(c)})})};
var wvc=function(a,b){var c=Xh(b);b=a.positions.get(c);if(!b)return null;b=b.scrollPosition;if(c===a._document){var d=a.getViewportScrollPosition();var e=d.top;d=d.left}else e=c.scrollTop,d=c.scrollLeft;var f=b.top-e,h=b.left-d;a.positions.forEach(function(l,q){l.clientRect&&c!==q&&c.contains(q)&&gq(l.clientRect,f,h)});b.top=e;b.left=d;return{top:f,left:h}};vvc.prototype.getViewportScrollPosition=function(){return{top:window.scrollY,left:window.scrollX}};var xvc=new Set(["position"]),yvc=function(a,b,c,d,e,f,h,l,q){this._document=a;this._rootElement=b;this._direction=c;this._initialDomRect=d;this._previewTemplate=e;this._previewClass=f;this._pickupPositionOnPage=h;this._initialTransform=l;this._zIndex=q};g=yvc.prototype;g.attach=function(a){this._preview=this._createPreview();a.appendChild(this._preview);"showPopover"in this._preview&&this._preview.showPopover()};
g.destroy=function(){this._preview.remove();var a;(a=this._previewEmbeddedView)==null||a.destroy();this._preview=this._previewEmbeddedView=null};g.setTransform=function(a){this._preview.style.transform=a};g.getBoundingClientRect=function(){return this._preview.getBoundingClientRect()};g.addClass=function(a){this._preview.classList.add(a)};g.addEventListener=function(a,b){this._preview.addEventListener(a,b)};g.removeEventListener=function(a,b){this._preview.removeEventListener(a,b)};
g._createPreview=function(){var a=this._previewTemplate,b=this._previewClass,c=a?a.template:null;if(c&&a){var d=a.matchSize?this._initialDomRect:null;c=a.viewContainer.createEmbeddedView(c,a.context);c.detectChanges();var e=uNa(c,this._document);this._previewEmbeddedView=c;a.matchSize?ANa(e,d):e.style.transform=zNa(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else e=pNa(this._rootElement),ANa(e,this._initialDomRect),this._initialTransform&&(e.style.transform=this._initialTransform);
vNa(e.style,{"pointer-events":"none",margin:"showPopover"in e?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},xvc);hq(e,!1);e.classList.add("cdk-drag-preview");e.setAttribute("popover","manual");e.setAttribute("dir",this._direction);b&&(Array.isArray(b)?b.forEach(function(f){return e.classList.add(f)}):e.classList.add(b));return e};ea.Object.defineProperties(yvc.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return this._preview}}});var zvc=Uh({passive:!0}),Avc=Uh({passive:!1}),Bvc=Uh({passive:!1,capture:!0}),wNa=new Set(["position"]),Evc=function(a,b,c,d,e,f){var h=this;this._config=b;this._document=c;this._ngZone=d;this._viewportRuler=e;this._dragDropRegistry=f;this._passiveTransform={x:0,y:0};this._activeTransform={x:0,y:0};this._hasStartedDragging=Sg(!1);this._moveEvents=new Jf;this._resizeSubscription=this._scrollSubscription=this._pointerUpSubscription=this._pointerMoveSubscription=me.EMPTY;this._boundaryElement=null;this._nativeInteractionsEnabled=
!0;this._handles=[];this._disabledHandles=new Set;this._direction="ltr";this.dragStartDelay=0;this.scale=1;this._disabled=!1;this.beforeStarted=new Jf;this.started=new Jf;this.released=new Jf;this.ended=new Jf;this.entered=new Jf;this.exited=new Jf;this.dropped=new Jf;this.moved=this._moveEvents;this._pointerDown=function(l){h.beforeStarted.next();if(h._handles.length){var q=h._getTargetHandle(l);!q||h._disabledHandles.has(q)||h.disabled||h._initializeDragSequence(q,l)}else h.disabled||h._initializeDragSequence(h._rootElement,
l)};this._pointerMove=function(l){var q=h._getPointerPositionOnPage(l);if(h._hasStartedDragging()){l.cancelable&&l.preventDefault();var v=h._getConstrainedPointerPosition(q);h._hasMoved=!0;h._lastKnownPointerPosition=q;h._updatePointerDirectionDelta(v);if(h._dropContainer)h._updateActiveDropContainer(v,q);else{q=h.constrainPosition?h._initialDomRect:h._pickupPositionOnPage;var y=h._activeTransform;y.x=v.x-q.x+h._passiveTransform.x;y.y=v.y-q.y+h._passiveTransform.y;h._applyRootElementTransform(y.x,
y.y)}h._moveEvents.observers.length&&h._ngZone.run(function(){h._moveEvents.next({source:h,pointerPosition:v,event:l,distance:h._getDragDistance(v),delta:h._pointerDirectionDelta})})}else Math.abs(q.x-h._pickupPositionOnPage.x)+Math.abs(q.y-h._pickupPositionOnPage.y)>=h._config.dragStartThreshold&&((q=Date.now()>=h._dragStartTime+h._getDragStartDelay(l),y=h._dropContainer,q)?y&&(y.isDragging()||y._activeSiblings.size>0)||(l.cancelable&&l.preventDefault(),h._hasStartedDragging.set(!0),h._ngZone.run(function(){return h._startDragSequence(l)})):
h._endDragSequence(l))};this._pointerUp=function(l){h._endDragSequence(l)};this._nativeDragStart=function(l){if(h._handles.length){var q=h._getTargetHandle(l);!q||h._disabledHandles.has(q)||h.disabled||l.preventDefault()}else h.disabled||l.preventDefault()};Cvc(Dvc(this,a),b.parentDragRef||null);this._parentPositions=new vvc(c);svc(f,this)};Evc.prototype.getPlaceholderElement=function(){return this._placeholder};Evc.prototype.getRootElement=function(){return this._rootElement};
var Fvc=function(a){return a.isDragging()?a.getPlaceholderElement():a.getRootElement()},Gvc=function(a,b){a._handles=b.map(function(d){return bi(d)});a._handles.forEach(function(d){return hq(d,a.disabled)});a._toggleNativeDragInteractions();var c=new Set;a._disabledHandles.forEach(function(d){a._handles.indexOf(d)>-1&&c.add(d)});a._disabledHandles=c},Dvc=function(a,b){var c=bi(b);c!==a._rootElement&&(a._rootElement&&a._removeRootElementListeners(a._rootElement),a._ngZone.runOutsideAngular(function(){c.addEventListener("mousedown",
a._pointerDown,Avc);c.addEventListener("touchstart",a._pointerDown,zvc);c.addEventListener("dragstart",a._nativeDragStart,Avc)}),a._initialTransform=void 0,a._rootElement=c);typeof SVGElement!=="undefined"&&a._rootElement instanceof SVGElement&&(a._ownerSVGElement=a._rootElement.ownerSVGElement);return a},Hvc=function(a,b){a._boundaryElement=b?bi(b):null;a._resizeSubscription.unsubscribe();b&&(a._resizeSubscription=a._viewportRuler.change(10).subscribe(function(){return a._containInsideBoundaryOnResize()}));
return a},Cvc=function(a,b){a._parentDragRef=b};g=Evc.prototype;
g.dispose=function(){this._removeRootElementListeners(this._rootElement);if(this.isDragging()){var a;(a=this._rootElement)==null||a.remove()}var b;(b=this._anchor)==null||b.remove();this._destroyPreview();this._destroyPlaceholder();uvc(this._dragDropRegistry,this);this._removeListeners();this.beforeStarted.complete();this.started.complete();this.released.complete();this.ended.complete();this.entered.complete();this.exited.complete();this.dropped.complete();this._moveEvents.complete();this._handles=
[];this._disabledHandles.clear();this._dropContainer=void 0;this._resizeSubscription.unsubscribe();this._parentPositions.clear();this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null};g.isDragging=function(){return this._hasStartedDragging()&&this._dragDropRegistry.isDragging(this)};
g.reset=function(){this._rootElement.style.transform=this._initialTransform||"";this._activeTransform={x:0,y:0};this._passiveTransform={x:0,y:0}};g.withDirection=function(a){this._direction=a;return this};g._withDropContainer=function(a){this._dropContainer=a};g.setFreeDragPosition=function(a){this._activeTransform={x:0,y:0};this._passiveTransform.x=a.x;this._passiveTransform.y=a.y;this._dropContainer||this._applyRootElementTransform(a.x,a.y)};
g._sortFromLastPointerPosition=function(){var a=this._lastKnownPointerPosition;a&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(a),a)};g._removeListeners=function(){this._pointerMoveSubscription.unsubscribe();this._pointerUpSubscription.unsubscribe();this._scrollSubscription.unsubscribe();var a;(a=this._getShadowRoot())==null||a.removeEventListener("selectstart",ENa,Bvc)};
g._destroyPreview=function(){var a;(a=this._preview)==null||a.destroy();this._preview=null};g._destroyPlaceholder=function(){var a;(a=this._placeholder)==null||a.remove();var b;(b=this._placeholderRef)==null||b.destroy();this._placeholder=this._placeholderRef=null};
g._endDragSequence=function(a){var b=this;if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),tvc(this._dragDropRegistry,this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging()))if(this.released.next({source:this,event:a}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(function(){b._cleanupDragArtifacts(a);b._cleanupCachedDimensions();
tvc(b._dragDropRegistry,b)});else{this._passiveTransform.x=this._activeTransform.x;var c=this._getPointerPositionOnPage(a);this._passiveTransform.y=this._activeTransform.y;this._ngZone.run(function(){b.ended.next({source:b,distance:b._getDragDistance(c),dropPoint:c,event:a})});this._cleanupCachedDimensions();tvc(this._dragDropRegistry,this)}};
g._startDragSequence=function(a){iq(a)&&(this._lastTouchEventTime=Date.now());this._toggleNativeDragInteractions();var b=this._getShadowRoot(),c=this._dropContainer;b&&this._ngZone.runOutsideAngular(function(){b.addEventListener("selectstart",ENa,Bvc)});if(c){var d=this._rootElement,e=d.parentNode,f=this._placeholder=this._createPlaceholderElement(),h=this._anchor=this._anchor||this._document.createComment("");e.insertBefore(h,d);this._initialTransform=d.style.transform||"";this._preview=new yvc(this._document,
this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1E3);this._preview.attach(this._getPreviewInsertionPoint(e,b));xNa(d,!1);this._document.body.appendChild(e.replaceChild(f,d));this.started.next({source:this,event:a});c.start();this._initialContainer=c;this._initialIndex=c.getItemIndex(this)}else this.started.next({source:this,event:a}),this._initialContainer=this._initialIndex=
void 0;this._parentPositions.cache(c?c._scrollableElements:[])};
g._initializeDragSequence=function(a,b){var c=this;this._parentDragRef&&b.stopPropagation();var d=this.isDragging(),e=iq(b),f=!e&&b.button!==0,h=this._rootElement,l=Xh(b),q=!e&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();e=e?Hoa(b):Goa(b);l&&l.draggable&&b.type==="mousedown"&&b.preventDefault();d||f||q||e||(this._handles.length&&(d=h.style,this._rootElementTapHighlight=d.webkitTapHighlightColor||"",d.webkitTapHighlightColor="transparent"),this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),
this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(v){return c._updateOnScroll(v)}),this._boundaryElement&&(this._boundaryRect=rNa(this._boundaryElement)),this._pickupPositionInElement=
(d=this._previewTemplate)&&d.template&&!d.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,a,b),a=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(b),this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:a.x,y:a.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,b))};
g._cleanupDragArtifacts=function(a){var b=this;xNa(this._rootElement,!0);this._anchor.parentNode.replaceChild(this._rootElement,this._anchor);this._destroyPreview();this._destroyPlaceholder();this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0;this._ngZone.run(function(){var c=b._dropContainer,d=c.getItemIndex(b),e=b._getPointerPositionOnPage(a),f=b._getDragDistance(e),h=c._isOverContainer(e.x,e.y);b.ended.next({source:b,distance:f,dropPoint:e,event:a});b.dropped.next({item:b,
currentIndex:d,previousIndex:b._initialIndex,container:c,previousContainer:b._initialContainer,isPointerOverContainer:h,distance:f,dropPoint:e,event:a});c.drop(b,d,b._initialIndex,b._initialContainer,h,f,e,a);b._dropContainer=b._initialContainer})};
g._updateActiveDropContainer=function(a,b){var c=this;var d=a.x;var e=a.y;a=b.x;b=b.y;var f=this._initialContainer._getSiblingContainerFromPosition(this,d,e);!f&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(d,e)&&(f=this._initialContainer);f&&f!==this._dropContainer&&this._ngZone.run(function(){c.exited.next({item:c,container:c._dropContainer});c._dropContainer.exit(c);c._dropContainer=f;c._dropContainer.enter(c,d,e,f===c._initialContainer&&f.sortingDisabled?
c._initialIndex:void 0);c.entered.next({item:c,container:f,currentIndex:f.getItemIndex(c)})});this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(a,b),this._dropContainer._sortItem(this,d,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(d,e):this._applyPreviewTransform(d-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))};
g._animatePreviewToPlaceholder=function(){var a=this;if(!this._hasMoved)return Promise.resolve();var b=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating");this._applyPreviewTransform(b.left,b.top);var c=DNa(this._preview._preview);return c===0?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(d){var e=function(h){if(!h||a._preview&&Xh(h)===a._preview.element&&h.propertyName==="transform"){var l;(l=a._preview)==null||l.removeEventListener("transitionend",
e);d();clearTimeout(f)}},f=setTimeout(e,c*1.5);a._preview.addEventListener("transitionend",e)})})};g._createPlaceholderElement=function(){var a=this._placeholderTemplate,b=a?a.template:null;b?(this._placeholderRef=a.viewContainer.createEmbeddedView(b,a.context),this._placeholderRef.detectChanges(),a=uNa(this._placeholderRef,this._document)):a=pNa(this._rootElement);a.style.pointerEvents="none";a.classList.add("cdk-drag-placeholder");return a};
g._getPointerPositionInElement=function(a,b,c){b=(b=b===this._rootElement?null:b)?b.getBoundingClientRect():a;c=iq(c)?c.targetTouches[0]:c;var d=this._getViewportScrollPosition();return{x:b.left-a.left+(c.pageX-b.left-d.left),y:b.top-a.top+(c.pageY-b.top-d.top)}};
g._getPointerPositionOnPage=function(a){var b=this._getViewportScrollPosition(),c=iq(a)?a.touches[0]||a.changedTouches[0]||{pageX:0,pageY:0}:a;a=c.pageX-b.left;b=c.pageY-b.top;if(this._ownerSVGElement&&(c=this._ownerSVGElement.getScreenCTM())){var d=this._ownerSVGElement.createSVGPoint();d.x=a;d.y=b;return d.matrixTransform(c.inverse())}return{x:a,y:b}};
g._getConstrainedPointerPosition=function(a){var b=this._dropContainer?this._dropContainer.lockAxis:null,c=this.constrainPosition?this.constrainPosition(a,this,this._initialDomRect,this._pickupPositionInElement):a;a=c.x;c=c.y;if(this.lockAxis==="x"||b==="x")c=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0);else if(this.lockAxis==="y"||b==="y")a=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0);if(this._boundaryRect){var d=
this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement;b=d.x;var e=d.y;d=this._boundaryRect;var f=this._getPreviewRect(),h=d.top+e;e=d.bottom-(f.height-e);a=Math.max(d.left+b,Math.min(d.right-(f.width-b),a));c=Math.max(h,Math.min(e,c))}return{x:a,y:c}};
g._updatePointerDirectionDelta=function(a){var b=a.x;a=a.y;var c=this._pointerDirectionDelta,d=this._pointerPositionAtLastDirectionChange,e=Math.abs(a-d.y);Math.abs(b-d.x)>this._config.pointerDirectionChangeThreshold&&(c.x=b>d.x?1:-1,d.x=b);e>this._config.pointerDirectionChangeThreshold&&(c.y=a>d.y?1:-1,d.y=a);return c};
g._toggleNativeDragInteractions=function(){if(this._rootElement&&this._handles){var a=this._handles.length>0||!this.isDragging();a!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=a,hq(this._rootElement,a))}};g._removeRootElementListeners=function(a){a.removeEventListener("mousedown",this._pointerDown,Avc);a.removeEventListener("touchstart",this._pointerDown,zvc);a.removeEventListener("dragstart",this._nativeDragStart,Avc)};
g._applyRootElementTransform=function(a,b){var c=1/this.scale;a=zNa(a*c,b*c);b=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=b.transform&&b.transform!="none"?b.transform:"");b.transform=yNa(a,this._initialTransform)};g._applyPreviewTransform=function(a,b){var c,d=((c=this._previewTemplate)==null?0:c.template)?void 0:this._initialTransform;this._preview.setTransform(yNa(zNa(a,b),d))};
g._getDragDistance=function(a){var b=this._pickupPositionOnPage;return b?{x:a.x-b.x,y:a.y-b.y}:{x:0,y:0}};g._cleanupCachedDimensions=function(){this._boundaryRect=this._previewRect=void 0;this._parentPositions.clear()};
g._containInsideBoundaryOnResize=function(){var a=this._passiveTransform,b=a.x;a=a.y;if(!(b===0&&a===0||this.isDragging())&&this._boundaryElement){var c=this._rootElement.getBoundingClientRect(),d=this._boundaryElement.getBoundingClientRect();if(!(d.width===0&&d.height===0||c.width===0&&c.height===0)){var e=d.left-c.left,f=c.right-d.right,h=d.top-c.top,l=c.bottom-d.bottom;d.width>c.width?(e>0&&(b+=e),f>0&&(b-=f)):b=0;d.height>c.height?(h>0&&(a+=h),l>0&&(a-=l)):a=0;b===this._passiveTransform.x&&a===
this._passiveTransform.y||this.setFreeDragPosition({y:a,x:b})}}};g._getDragStartDelay=function(a){var b=this.dragStartDelay;return typeof b==="number"?b:iq(a)?b.touch:b?b.mouse:0};
g._updateOnScroll=function(a){var b=wvc(this._parentPositions,a);b&&(a=Xh(a),this._boundaryRect&&a!==this._boundaryElement&&a.contains(this._boundaryElement)&&gq(this._boundaryRect,b.top,b.left),this._pickupPositionOnPage.x+=b.left,this._pickupPositionOnPage.y+=b.top,this._dropContainer||(this._activeTransform.x-=b.left,this._activeTransform.y-=b.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y)))};
g._getViewportScrollPosition=function(){var a;return((a=this._parentPositions.positions.get(this._document))==null?void 0:a.scrollPosition)||this._parentPositions.getViewportScrollPosition()};g._getShadowRoot=function(){this._cachedShadowRoot===void 0&&(this._cachedShadowRoot=Eoa(this._rootElement));return this._cachedShadowRoot};
g._getPreviewInsertionPoint=function(a,b){var c=this._previewContainer||"global";return c==="parent"?a:c==="global"?(a=this._document,b||a.fullscreenElement||a.webkitFullscreenElement||a.mozFullScreenElement||a.msFullscreenElement||a.body):bi(c)};g._getPreviewRect=function(){this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect);return this._previewRect};
g._getTargetHandle=function(a){return this._handles.find(function(b){return a.target&&(a.target===b||b.contains(a.target))})};ea.Object.defineProperties(Evc.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(a){a!==this._disabled&&(this._disabled=a,this._toggleNativeDragInteractions(),this._handles.forEach(function(b){return hq(b,a)}))}}});var Ivc=function(a,b){this._document=a;this._dragDropRegistry=b;this._previousSwap={drag:null,deltaX:0,deltaY:0,overlaps:!1};this._relatedNodes=[]};g=Ivc.prototype;g.start=function(a){var b=this._element.childNodes;this._relatedNodes=[];for(var c=0;c<b.length;c++){var d=b[c];this._relatedNodes.push([d,d.nextSibling])}this.withItems(a)};
g.sort=function(a,b,c,d){var e=this._getItemIndexFromPointerPosition(a,b,c),f=this._previousSwap;if(e===-1||this._activeItems[e]===a)return null;var h=this._activeItems[e];if(f.drag===h&&f.overlaps&&f.deltaX===d.x&&f.deltaY===d.y)return null;var l=this.getItemIndex(a),q=a.getPlaceholderElement();a=h.getRootElement();e>l?a.after(q):a.before(q);jq(this._activeItems,l,e);b=this._getRootNode().elementFromPoint(b,c);f.deltaX=d.x;f.deltaY=d.y;f.drag=h;f.overlaps=a===b||a.contains(b);return{previousIndex:l,
currentIndex:e}};g.enter=function(a,b,c,d){d=d==null||d<0?this._getItemIndexFromPointerPosition(a,b,c):d;d===-1&&(d=this._getClosestItemIndexToPointer(a,b,c));b=this._activeItems[d];c=this._activeItems.indexOf(a);c>-1&&this._activeItems.splice(c,1);b&&!this._dragDropRegistry.isDragging(b)?(this._activeItems.splice(d,0,a),b.getRootElement().before(a.getPlaceholderElement())):(this._activeItems.push(a),this._element.appendChild(a.getPlaceholderElement()))};
g.withItems=function(a){this._activeItems=a.slice()};g.withSortPredicate=function(a){this._sortPredicate=a};g.reset=function(){for(var a=this._element,b=this._previousSwap,c=this._relatedNodes.length-1;c>-1;c--){var d=k(this._relatedNodes[c]),e=d.next().value;d=d.next().value;e.parentNode===a&&e.nextSibling!==d&&(d===null?a.appendChild(e):d.parentNode===a&&a.insertBefore(e,d))}this._relatedNodes=[];this._activeItems=[];b.drag=null;b.deltaX=b.deltaY=0;b.overlaps=!1};g.getActiveItemsSnapshot=function(){return this._activeItems};
g.getItemIndex=function(a){return this._activeItems.indexOf(a)};g.updateOnScroll=function(){var a=this;this._activeItems.forEach(function(b){a._dragDropRegistry.isDragging(b)&&b._sortFromLastPointerPosition()})};g.withElementContainer=function(a){a!==this._element&&(this._element=a,this._rootNode=void 0)};
g._getItemIndexFromPointerPosition=function(a,b,c){var d=this._getRootNode().elementFromPoint(Math.floor(b),Math.floor(c));b=d?this._activeItems.findIndex(function(e){e=e.getRootElement();return d===e||e.contains(d)}):-1;return b!==-1&&this._sortPredicate(b,a)?b:-1};g._getRootNode=function(){this._rootNode||(this._rootNode=Eoa(this._element)||this._document);return this._rootNode};
g._getClosestItemIndexToPointer=function(a,b,c){if(this._activeItems.length===0)return-1;if(this._activeItems.length===1)return 0;for(var d=Infinity,e=-1,f=0;f<this._activeItems.length;f++){var h=this._activeItems[f];h!==a&&(h=h.getRootElement().getBoundingClientRect(),h=Math.hypot(b-h.x,c-h.y),h<d&&(d=h,e=f))}return e};var Jvc=function(a){this._dragDropRegistry=a;this._itemPositions=[];this.orientation="vertical";this._previousSwap={drag:null,delta:0,overlaps:!1}};g=Jvc.prototype;g.start=function(a){this.withItems(a)};
g.sort=function(a,b,c,d){var e=this._itemPositions,f=this._getItemIndexFromPointerPosition(a,b,c,d);if(f===-1&&e.length>0)return null;var h=this.orientation==="horizontal",l=e.findIndex(function(N){return N.drag===a}),q=e[f],v=q.clientRect,y=l>f?1:-1,E=this._getItemOffsetPx(e[l].clientRect,v,y),H=this._getSiblingOffsetPx(l,e,y),O=e.slice();jq(e,l,f);e.forEach(function(N,T){if(O[T]!==N){var da=N.drag===a;T=da?E:H;da=da?a.getPlaceholderElement():N.drag.getRootElement();N.offset+=T;var ja=Math.round(1/
N.drag.scale*N.offset);h?(da.style.transform=yNa("translate3d("+ja+"px, 0, 0)",N.initialTransform),gq(N.clientRect,0,T)):(da.style.transform=yNa("translate3d(0, "+ja+"px, 0)",N.initialTransform),gq(N.clientRect,T,0))}});this._previousSwap.overlaps=sNa(v,b,c);this._previousSwap.drag=q.drag;this._previousSwap.delta=h?d.x:d.y;return{previousIndex:l,currentIndex:f}};
g.enter=function(a,b,c,d){d=d==null||d<0?this._getItemIndexFromPointerPosition(a,b,c):d;var e=this._activeDraggables,f=e.indexOf(a),h=a.getPlaceholderElement(),l=e[d];l===a&&(l=e[d+1]);!l&&(d==null||d===-1||d<e.length-1)&&this._shouldEnterAsFirstChild(b,c)&&(l=e[0]);f>-1&&e.splice(f,1);l&&!this._dragDropRegistry.isDragging(l)?(b=l.getRootElement(),b.parentElement.insertBefore(h,b),e.splice(d,0,a)):(this._element.appendChild(h),e.push(a));h.style.transform="";this._cacheItemPositions()};
g.withItems=function(a){this._activeDraggables=a.slice();this._cacheItemPositions()};g.withSortPredicate=function(a){this._sortPredicate=a};
g.reset=function(){var a=this,b;(b=this._activeDraggables)==null||b.forEach(function(c){var d=c.getRootElement();if(d){var e,f=(e=a._itemPositions.find(function(h){return h.drag===c}))==null?void 0:e.initialTransform;d.style.transform=f||""}});this._itemPositions=[];this._activeDraggables=[];this._previousSwap.drag=null;this._previousSwap.delta=0;this._previousSwap.overlaps=!1};g.getActiveItemsSnapshot=function(){return this._activeDraggables};
g.getItemIndex=function(a){return(this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions).findIndex(function(b){return b.drag===a})};g.updateOnScroll=function(a,b){var c=this;this._itemPositions.forEach(function(d){gq(d.clientRect,a,b)});this._itemPositions.forEach(function(d){d=d.drag;c._dragDropRegistry.isDragging(d)&&d._sortFromLastPointerPosition()})};g.withElementContainer=function(a){this._element=a};
g._cacheItemPositions=function(){var a=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(function(b){var c=Fvc(b);return{drag:b,offset:0,initialTransform:c.style.transform||"",clientRect:rNa(c)}}).sort(function(b,c){return a?b.clientRect.left-c.clientRect.left:b.clientRect.top-c.clientRect.top})};g._getItemOffsetPx=function(a,b,c){var d=this.orientation==="horizontal",e=d?b.left-a.left:b.top-a.top;c===-1&&(e+=d?b.width-a.width:b.height-a.height);return e};
g._getSiblingOffsetPx=function(a,b,c){var d=this.orientation==="horizontal",e=b[a].clientRect;a=b[a+c*-1];b=e[d?"width":"height"]*c;if(a){var f=d?"left":"top";d=d?"right":"bottom";b=c===-1?b-(a.clientRect[f]-e[d]):b+(e[f]-a.clientRect[d])}return b};
g._shouldEnterAsFirstChild=function(a,b){if(!this._activeDraggables.length)return!1;var c=this._itemPositions,d=this.orientation==="horizontal";if(c[0].drag!==this._activeDraggables[0])return c=c[c.length-1].clientRect,d?a>=c.right:b>=c.bottom;c=c[0].clientRect;return d?a<=c.left:b<=c.top};
g._getItemIndexFromPointerPosition=function(a,b,c,d){var e=this,f=this.orientation==="horizontal",h=this._itemPositions.findIndex(function(l){var q=l.drag;l=l.clientRect;if(q===a)return!1;if(d){var v=f?d.x:d.y;if(q===e._previousSwap.drag&&e._previousSwap.overlaps&&v===e._previousSwap.delta)return!1}return f?b>=Math.floor(l.left)&&b<Math.floor(l.right):c>=Math.floor(l.top)&&c<Math.floor(l.bottom)});return h!==-1&&this._sortPredicate(h,a)?h:-1};var Lvc=function(a,b,c,d,e){var f=this;this._dragDropRegistry=b;this._ngZone=d;this._viewportRuler=e;this.autoScrollDisabled=this.sortingDisabled=this.disabled=!1;this.autoScrollStep=2;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.beforeStarted=new Jf;this.entered=new Jf;this.exited=new Jf;this.dropped=new Jf;this.sorted=new Jf;this.receivingStarted=new Jf;this.receivingStopped=new Jf;this._isDragging=!1;this._draggables=[];this._siblings=[];this._activeSiblings=
new Set;this._viewportScrollSubscription=me.EMPTY;this._horizontalScrollDirection=this._verticalScrollDirection=0;this._stopScrollTimers=new Jf;this._cachedShadowRoot=null;this._scrollableElements=[];this._direction="ltr";this._startScrollInterval=function(){f._stopScrolling();Yha(0,o0b).pipe(Of(f._stopScrollTimers)).subscribe(function(){var h=f._scrollNode,l=f.autoScrollStep;f._verticalScrollDirection===1?h.scrollBy(0,-l):f._verticalScrollDirection===2&&h.scrollBy(0,l);f._horizontalScrollDirection===
1?h.scrollBy(-l,0):f._horizontalScrollDirection===2&&h.scrollBy(l,0)})};a=this.element=bi(a);this._document=c;Kvc(this,"vertical").withElementContainer(a);rvc(b,this);this._parentPositions=new vvc(c)};g=Lvc.prototype;
g.dispose=function(){this._stopScrolling();this._stopScrollTimers.complete();this._viewportScrollSubscription.unsubscribe();this.beforeStarted.complete();this.entered.complete();this.exited.complete();this.dropped.complete();this.sorted.complete();this.receivingStarted.complete();this.receivingStopped.complete();this._activeSiblings.clear();this._scrollNode=null;this._parentPositions.clear();this._dragDropRegistry._dropInstances.delete(this)};g.isDragging=function(){return this._isDragging};
g.start=function(){this._draggingStarted();this._notifyReceivingSiblings()};g.enter=function(a,b,c,d){this._draggingStarted();d==null&&this.sortingDisabled&&(d=this._draggables.indexOf(a));this._sortStrategy.enter(a,b,c,d);this._cacheParentPositions();this._notifyReceivingSiblings();this.entered.next({item:a,container:this,currentIndex:this.getItemIndex(a)})};g.exit=function(a){this._reset();this.exited.next({item:a,container:this})};
g.drop=function(a,b,c,d,e,f,h,l){l=l===void 0?{}:l;this._reset();this.dropped.next({item:a,currentIndex:b,previousIndex:c,container:this,previousContainer:d,isPointerOverContainer:e,distance:f,dropPoint:h,event:l})};g.withItems=function(a){var b=this,c=this._draggables;this._draggables=a;a.forEach(function(d){return d._withDropContainer(b)});this.isDragging()&&(c.filter(function(d){return d.isDragging()}).every(function(d){return a.indexOf(d)===-1})?this._reset():this._sortStrategy.withItems(this._draggables))};
g.withDirection=function(a){this._direction=a;this._sortStrategy instanceof Jvc&&(this._sortStrategy.direction=a);return this};g.connectedTo=function(a){this._siblings=a.slice();return this};
var Kvc=function(a,b){if(b==="mixed")a._sortStrategy=new Ivc(a._document,a._dragDropRegistry);else{var c=new Jvc(a._dragDropRegistry);c.direction=a._direction;c.orientation=b;a._sortStrategy=c}a._sortStrategy.withElementContainer(a._container);a._sortStrategy.withSortPredicate(function(d,e){return a.sortPredicate(d,e,a)});return a},Mvc=function(a,b){var c=a._container;a._scrollableElements=b.indexOf(c)===-1?[c].concat(w(b)):b.slice()};g=Lvc.prototype;
g.withElementContainer=function(a){if(a!==this._container){var b=this._scrollableElements.indexOf(this._container),c=this._scrollableElements.indexOf(a);b>-1&&this._scrollableElements.splice(b,1);c>-1&&this._scrollableElements.splice(c,1);this._sortStrategy&&this._sortStrategy.withElementContainer(a);this._cachedShadowRoot=null;this._scrollableElements.unshift(a);this._container=a}};g.getItemIndex=function(a){return this._isDragging?this._sortStrategy.getItemIndex(a):this._draggables.indexOf(a)};
g._sortItem=function(a,b,c,d){!this.sortingDisabled&&this._domRect&&tNa(this._domRect,b,c)&&(b=this._sortStrategy.sort(a,b,c,d))&&this.sorted.next({previousIndex:b.previousIndex,currentIndex:b.currentIndex,container:this,item:a})};
g._startScrollingIfNecessary=function(a,b){var c=this;if(!this.autoScrollDisabled){var d=0,e=0;this._parentPositions.positions.forEach(function(q,v){if(v!==c._document&&q.clientRect&&!l&&tNa(q.clientRect,a,b)){var y=q.clientRect;q=FNa(y,b);y=GNa(y,a);var E=0,H=0;if(q){var O=v.scrollTop;q===1?O>0&&(E=1):v.scrollHeight-O>v.clientHeight&&(E=2)}y&&(q=v.scrollLeft,c._direction==="rtl"?y===2?q<0&&(H=2):v.scrollWidth+q>v.clientWidth&&(H=1):y===1?q>0&&(H=1):v.scrollWidth-q>v.clientWidth&&(H=2));q=k([E,H]);
d=q.next().value;e=q.next().value;if(d||e)l=v}});if(!d&&!e){var f=this._viewportRuler.getViewportSize(),h=f.width;f=f.height;h={width:h,height:f,top:0,right:h,bottom:f,left:0};d=FNa(h,b);e=GNa(h,a);var l=window}!l||d===this._verticalScrollDirection&&e===this._horizontalScrollDirection&&l===this._scrollNode||(this._verticalScrollDirection=d,this._horizontalScrollDirection=e,this._scrollNode=l,(d||e)&&l?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}};
g._stopScrolling=function(){this._stopScrollTimers.next()};g._draggingStarted=function(){var a=this._container.style;this.beforeStarted.next();this._isDragging=!0;this._initialScrollSnap=a.msScrollSnapType||a.scrollSnapType||"";a.scrollSnapType=a.msScrollSnapType="none";this._sortStrategy.start(this._draggables);this._cacheParentPositions();this._viewportScrollSubscription.unsubscribe();this._listenToScrollEvents()};
g._cacheParentPositions=function(){this._parentPositions.cache(this._scrollableElements);this._domRect=this._parentPositions.positions.get(this._container).clientRect};g._reset=function(){var a=this;this._isDragging=!1;var b=this._container.style;b.scrollSnapType=b.msScrollSnapType=this._initialScrollSnap;this._siblings.forEach(function(c){return c._stopReceiving(a)});this._sortStrategy.reset();this._stopScrolling();this._viewportScrollSubscription.unsubscribe();this._parentPositions.clear()};
g._isOverContainer=function(a,b){return this._domRect!=null&&sNa(this._domRect,a,b)};g._getSiblingContainerFromPosition=function(a,b,c){return this._siblings.find(function(d){return d._canReceive(a,b,c)})};g._canReceive=function(a,b,c){return this._domRect&&sNa(this._domRect,b,c)&&this.enterPredicate(a,this)?(a=this._getShadowRoot().elementFromPoint(b,c))?a===this._container||this._container.contains(a):!1:!1};
g._startReceiving=function(a,b){var c=this,d=this._activeSiblings;!d.has(a)&&b.every(function(e){return c.enterPredicate(e,c)||c._draggables.indexOf(e)>-1})&&(d.add(a),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:a,receiver:this,items:b}))};g._stopReceiving=function(a){this._activeSiblings.delete(a);this._viewportScrollSubscription.unsubscribe();this.receivingStopped.next({initiator:a,receiver:this})};
g._listenToScrollEvents=function(){var a=this;this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(b){a.isDragging()?(b=wvc(a._parentPositions,b))&&a._sortStrategy.updateOnScroll(b.top,b.left):a._activeSiblings.size>0&&a._cacheParentPositions()})};g._getShadowRoot=function(){this._cachedShadowRoot||(this._cachedShadowRoot=Eoa(this._container)||this._document);return this._cachedShadowRoot};
g._notifyReceivingSiblings=function(){var a=this,b=this._sortStrategy.getActiveItemsSnapshot().filter(function(c){return c.isDragging()});this._siblings.forEach(function(c){return c._startReceiving(a,b)})};var Nvc={dragStartThreshold:5,pointerDirectionChangeThreshold:5},WN=function(){this._document=r(ei);this._ngZone=r(hh);this._viewportRuler=r(Yx);this._dragDropRegistry=r(VN)};WN.prototype.createDrag=function(a,b){b=b===void 0?Nvc:b;return new Evc(a,b,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)};WN.\u0275fac=function(a){return new (a||WN)};WN.\u0275prov=n({token:WN,factory:WN.\u0275fac,providedIn:"root"});var Ovc=new Bd("CdkDropList"),XN=function(){var a=this;this.element=r(ge);this.dropContainer=r(Ovc,{optional:!0,skipSelf:!0});this._ngZone=r(hh);this._viewContainerRef=r(Kg);this._dir=r(Jx,{optional:!0});this._changeDetectorRef=r(rw);this._selfHandle=r(ovc,{optional:!0,self:!0});this._parentDrag=r(nvc,{optional:!0,skipSelf:!0});this._destroyed=new Jf;this._handles=new bo([]);this.scale=1;this.started=new kw;this.released=new kw;this.ended=new kw;this.entered=new kw;this.exited=new kw;this.dropped=
new kw;this.moved=new re(function(d){var e=a._dragRef.moved.pipe(B(function(f){return{source:a,pointerPosition:f.pointerPosition,event:f.event,delta:f.delta,distance:f.distance}})).subscribe(d);return function(){e.unsubscribe()}});this._injector=r(Sf);var b=this.dropContainer,c=r(mvc,{optional:!0});this._dragRef=r(WN).createDrag(this.element,{dragStartThreshold:c&&c.dragStartThreshold!=null?c.dragStartThreshold:5,pointerDirectionChangeThreshold:c&&c.pointerDirectionChangeThreshold!=null?c.pointerDirectionChangeThreshold:
5,zIndex:c==null?void 0:c.zIndex});this._dragRef.data=this;Pvc.push(this);c&&this._assignDefaults(c);b&&(this._dragRef._withDropContainer(b._dropListRef),b.addItem(this),b._dropListRef.beforeStarted.pipe(Of(this._destroyed)).subscribe(function(){a._dragRef.scale=a.scale}));this._syncInputs(this._dragRef);this._handleEvents(this._dragRef)};g=XN.prototype;g.getPlaceholderElement=function(){return this._dragRef.getPlaceholderElement()};g.getRootElement=function(){return this._dragRef.getRootElement()};
g.reset=function(){this._dragRef.reset()};g.setFreeDragPosition=function(a){this._dragRef.setFreeDragPosition(a)};g.ngAfterViewInit=function(){var a=this;Uf(function(){a._updateRootElement();a._setupHandlesListener();a._dragRef.scale=a.scale;a.freeDragPosition&&a._dragRef.setFreeDragPosition(a.freeDragPosition)},{injector:this._injector})};
g.ngOnChanges=function(a){var b=a.rootElementSelector;a=a.freeDragPosition;b&&!b.firstChange&&this._updateRootElement();this._dragRef.scale=this.scale;a&&!a.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)};g.ngOnDestroy=function(){var a=this;this.dropContainer&&this.dropContainer.removeItem(this);var b=Pvc.indexOf(this);b>-1&&Pvc.splice(b,1);this._ngZone.runOutsideAngular(function(){a._handles.complete();a._destroyed.next();a._destroyed.complete();a._dragRef.dispose()})};
g._addHandle=function(a){var b=this._handles.getValue();b.push(a);this._handles.next(b)};g._removeHandle=function(a){var b=this._handles.getValue();a=b.indexOf(a);a>-1&&(b.splice(a,1),this._handles.next(b))};g._setPreviewTemplate=function(a){this._previewTemplate=a};g._resetPreviewTemplate=function(a){a===this._previewTemplate&&(this._previewTemplate=null)};g._setPlaceholderTemplate=function(a){this._placeholderTemplate=a};
g._resetPlaceholderTemplate=function(a){a===this._placeholderTemplate&&(this._placeholderTemplate=null)};g._updateRootElement=function(){var a=this.element.nativeElement,b=a;if(this.rootElementSelector){var c;b=a.closest!==void 0?a.closest(this.rootElementSelector):(c=a.parentElement)==null?void 0:c.closest(this.rootElementSelector)}Dvc(this._dragRef,b||a)};g._getBoundaryElement=function(){var a=this.boundaryElement;return a?typeof a==="string"?this.element.nativeElement.closest(a):bi(a):null};
g._syncInputs=function(a){var b=this;a.beforeStarted.subscribe(function(){if(!a.isDragging()){var c=b._dir,d=b.dragStartDelay,e=b._placeholderTemplate?{template:b._placeholderTemplate.templateRef,context:b._placeholderTemplate.data,viewContainer:b._viewContainerRef}:null,f=b._previewTemplate?{template:b._previewTemplate.templateRef,context:b._previewTemplate.data,matchSize:b._previewTemplate.matchSize,viewContainer:b._viewContainerRef}:null;a.disabled=b.disabled;a.lockAxis=b.lockAxis;a.scale=b.scale;
a.dragStartDelay=typeof d==="object"&&d?d:ci(d);a.constrainPosition=b.constrainPosition;a.previewClass=b.previewClass;d=Hvc(a,b._getBoundaryElement());d._placeholderTemplate=e;d._previewTemplate=f;d._previewContainer=b.previewContainer||"global";c&&a.withDirection(c.value)}});a.beforeStarted.pipe(Cf()).subscribe(function(){if(b._parentDrag)a._parentDragRef=b._parentDrag._dragRef;else for(var c=b.element.nativeElement.parentElement;c;){if(c.classList.contains("cdk-drag")){var d=void 0;Cvc(a,((d=Pvc.find(function(e){return e.element.nativeElement===
c}))==null?void 0:d._dragRef)||null);break}c=c.parentElement}})};
g._handleEvents=function(a){var b=this;a.started.subscribe(function(c){b.started.emit({source:b,event:c.event});b._changeDetectorRef.markForCheck()});a.released.subscribe(function(c){b.released.emit({source:b,event:c.event})});a.ended.subscribe(function(c){b.ended.emit({source:b,distance:c.distance,dropPoint:c.dropPoint,event:c.event});b._changeDetectorRef.markForCheck()});a.entered.subscribe(function(c){b.entered.emit({container:c.container.data,item:b,currentIndex:c.currentIndex})});a.exited.subscribe(function(c){b.exited.emit({container:c.container.data,
item:b})});a.dropped.subscribe(function(c){b.dropped.emit({previousIndex:c.previousIndex,currentIndex:c.currentIndex,previousContainer:c.previousContainer.data,container:c.container.data,isPointerOverContainer:c.isPointerOverContainer,item:b,distance:c.distance,dropPoint:c.dropPoint,event:c.event})})};
g._assignDefaults=function(a){var b=a.lockAxis,c=a.dragStartDelay,d=a.constrainPosition,e=a.previewClass,f=a.boundaryElement,h=a.draggingDisabled,l=a.rootElementSelector;a=a.previewContainer;this.disabled=h==null?!1:h;this.dragStartDelay=c||0;b&&(this.lockAxis=b);d&&(this.constrainPosition=d);e&&(this.previewClass=e);f&&(this.boundaryElement=f);l&&(this.rootElementSelector=l);a&&(this.previewContainer=a)};
g._setupHandlesListener=function(){var a=this;this._handles.pipe(Pf(function(b){b=b.map(function(c){return c.element});a._selfHandle&&a.rootElementSelector&&b.push(a.element);Gvc(a._dragRef,b)}),Nf(function(b){return Xe.apply(null,w(b.map(function(c){return c._stateChanges.pipe(Mf(c))})))}),Of(this._destroyed)).subscribe(function(b){var c=a._dragRef,d=b.element.nativeElement;b.disabled?!c._disabledHandles.has(d)&&c._handles.indexOf(d)>-1&&(c._disabledHandles.add(d),hq(d,!0)):c._disabledHandles.has(d)&&
(c._disabledHandles.delete(d),hq(d,c.disabled))})};ea.Object.defineProperties(XN.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!(!this.dropContainer||!this.dropContainer.disabled)},set:function(a){this._disabled=a;this._dragRef.disabled=this._disabled}}});var Pvc=[];XN.\u0275fac=function(a){return new (a||XN)};
XN.\u0275dir=ud({type:XN,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(a,b){a&2&&ng("cdk-drag-disabled",b.disabled)("cdk-drag-dragging",b._dragRef.isDragging())},inputs:{data:[0,"cdkDragData","data"],lockAxis:[0,"cdkDragLockAxis","lockAxis"],rootElementSelector:[0,"cdkDragRootElement","rootElementSelector"],boundaryElement:[0,"cdkDragBoundary","boundaryElement"],dragStartDelay:[0,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[0,"cdkDragFreeDragPosition",
"freeDragPosition"],disabled:[2,"cdkDragDisabled","disabled",rh],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",sh]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,
features:[Yg([{provide:nvc,useExisting:XN}]),dg,Hd]});var Qvc=new Bd("CdkDropListGroup");var Rvc=0,YN=function(){var a=this;this.element=r(ge);this._changeDetectorRef=r(rw);this._scrollDispatcher=r(Ux);this._dir=r(Jx,{optional:!0});this._group=r(Qvc,{optional:!0,skipSelf:!0});this._destroyed=new Jf;this.connectedTo=[];this.id="cdk-drop-list-"+Rvc++;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.dropped=new kw;this.entered=new kw;this.exited=new kw;this.sorted=new kw;this._unsortedItems=new Set;var b=r(WN),c=r(mvc,{optional:!0});this._dropListRef=
new Lvc(this.element,b._dragDropRegistry,b._document,b._ngZone,b._viewportRuler);this._dropListRef.data=this;c&&this._assignDefaults(c);this._dropListRef.enterPredicate=function(d,e){return a.enterPredicate(d.data,e.data)};this._dropListRef.sortPredicate=function(d,e,f){return a.sortPredicate(d,e.data,f.data)};this._setupInputSyncSubscription(this._dropListRef);this._handleEvents(this._dropListRef);Svc.push(this);this._group&&this._group._items.add(this)};
YN.prototype.addItem=function(a){this._unsortedItems.add(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};YN.prototype.removeItem=function(a){this._unsortedItems.delete(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};var Tvc=function(a){return Array.from(a._unsortedItems).sort(function(b,c){return Fvc(b._dragRef).compareDocumentPosition(Fvc(c._dragRef))&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})};g=YN.prototype;
g.ngOnDestroy=function(){var a=Svc.indexOf(this);a>-1&&Svc.splice(a,1);this._group&&this._group._items.delete(this);this._unsortedItems.clear();this._dropListRef.dispose();this._destroyed.next();this._destroyed.complete()};
g._setupInputSyncSubscription=function(a){var b=this;this._dir&&this._dir.change.pipe(Mf(this._dir.value),Of(this._destroyed)).subscribe(function(c){return a.withDirection(c)});a.beforeStarted.subscribe(function(){var c=Zh(b.connectedTo).map(function(e){return typeof e==="string"?Svc.find(function(f){return f.id===e}):e});b._group&&b._group._items.forEach(function(e){c.indexOf(e)===-1&&c.push(e)});if(!b._scrollableParentsResolved){var d=W2b(b._scrollDispatcher,b.element).map(function(e){return e.elementRef.nativeElement});
Mvc(b._dropListRef,d);b._scrollableParentsResolved=!0}b.elementContainerSelector&&a.withElementContainer(b.element.nativeElement.querySelector(b.elementContainerSelector));a.disabled=b.disabled;a.lockAxis=b.lockAxis;a.sortingDisabled=b.sortingDisabled;a.autoScrollDisabled=b.autoScrollDisabled;a.autoScrollStep=ci(b.autoScrollStep,2);Kvc(a.connectedTo(c.filter(function(e){return e&&e!==b}).map(function(e){return e._dropListRef})),b.orientation)})};
g._handleEvents=function(a){var b=this;a.beforeStarted.subscribe(function(){b._syncItemsWithRef();b._changeDetectorRef.markForCheck()});a.entered.subscribe(function(c){b.entered.emit({container:b,item:c.item.data,currentIndex:c.currentIndex})});a.exited.subscribe(function(c){b.exited.emit({container:b,item:c.item.data});b._changeDetectorRef.markForCheck()});a.sorted.subscribe(function(c){b.sorted.emit({previousIndex:c.previousIndex,currentIndex:c.currentIndex,container:b,item:c.item.data})});a.dropped.subscribe(function(c){b.dropped.emit({previousIndex:c.previousIndex,
currentIndex:c.currentIndex,previousContainer:c.previousContainer.data,container:c.container.data,item:c.item.data,isPointerOverContainer:c.isPointerOverContainer,distance:c.distance,dropPoint:c.dropPoint,event:c.event});b._changeDetectorRef.markForCheck()});Xe(a.receivingStarted,a.receivingStopped).subscribe(function(){return b._changeDetectorRef.markForCheck()})};
g._assignDefaults=function(a){var b=a.lockAxis,c=a.draggingDisabled,d=a.sortingDisabled,e=a.listAutoScrollDisabled;a=a.listOrientation;this.disabled=c==null?!1:c;this.sortingDisabled=d==null?!1:d;this.autoScrollDisabled=e==null?!1:e;this.orientation=a||"vertical";b&&(this.lockAxis=b)};g._syncItemsWithRef=function(){this._dropListRef.withItems(Tvc(this).map(function(a){return a._dragRef}))};
ea.Object.defineProperties(YN.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(a){this._dropListRef.disabled=this._disabled=a}}});var Svc=[];YN.\u0275fac=function(a){return new (a||YN)};
YN.\u0275dir=ud({type:YN,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(a,b){a&2&&(eg("id",b.id),ng("cdk-drop-list-disabled",b.disabled)("cdk-drop-list-dragging",b._dropListRef.isDragging())("cdk-drop-list-receiving",b._dropListRef._activeSiblings.size>0))},inputs:{connectedTo:[0,"cdkDropListConnectedTo","connectedTo"],data:[0,"cdkDropListData","data"],orientation:[0,"cdkDropListOrientation","orientation"],id:"id",lockAxis:[0,"cdkDropListLockAxis",
"lockAxis"],disabled:[2,"cdkDropListDisabled","disabled",rh],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",rh],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",rh],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"],elementContainerSelector:[0,"cdkDropListElementContainer","elementContainerSelector"]},outputs:{dropped:"cdkDropListDropped",
entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],standalone:!0,features:[Yg([{provide:Qvc,useValue:void 0},{provide:Ovc,useExisting:YN}]),dg]});new Bd("CdkDragPlaceholder");new Bd("CdkDragPreview");var ZN=function(){};ZN.\u0275fac=function(a){return new (a||ZN)};ZN.\u0275mod=u({type:ZN});ZN.\u0275inj=p({providers:[WN],imports:[Zx]});var Uvc=["addLink"],Vvc=["showFewer"],Wvc=["showMore"],Xvc=["editButton"],Yvc=["removeButton"],Zvc=[[["",8,"title-action"]],[["",8,"value-action"]]],$vc=function(a,b,c){return{"bv2-issue-metadata-list-field":a,"bv2-issue-metadata-field":b,"internal-only":c}},JNa=function(a,b){return{item:a,$index:b}},dOa=function(a){return{q:a}},lOa=function(a){return{"disabled-icon":a}},awc=[Object.assign({},mq("start","bottom"),nq("start","top"),{offsetY:8}),Object.assign({},mq("center","bottom"),nq("center","top"),
{offsetY:8}),Object.assign({},mq("end","bottom"),nq("end","top"),{offsetY:8}),Object.assign({},mq("start","top"),nq("start","bottom"),{offsetY:-8}),Object.assign({},mq("end","top"),nq("end","bottom"),{offsetY:-8})],$N=function(){Z.apply(this,arguments);var a=this;this.cdr=r(sG,{self:!0});this.dateFormatter=r(vL);this.analytics=r(wG);this.liveAnnouncer=r(sx);this.principalTypesFridge=r($G);this.issuePermissionService=r(ZL);this.activeSession=r(dv);this.customRepeatedEnumDialogService=r(lN);this.OVERLAY_POSITION_LIST=
awc;this.defaultLineCount=Number.POSITIVE_INFINITY;this.isDefaultOrAllowedValues=this.preventDuplicates=this.readonly=!1;this.values=null;this.providedValues$=new If(1);this.showInternalOnlyFieldBadge=!1;this.userMap=new Map;this.enumChoices=null;this.sortedEnumChoices=[];this.enumPendingValues=new Set;this.isUser=this.isActive=!1;this.valuesChange=new rG;this.showingAll=this.listFieldDisabled=!1;this.tooltip=this.title="";this.isExpanded=this.isCollapsible=this.truncate=!1;this.collapsiblePanelTitle=
this.iconName="";this.customFieldId=0;this.isRequired=!1;this.inputValidator=null;this.checkAccessLimits=!1;this.toggleAccessLimits=new rG;this.enableTeamAnnotations=this.activeSession.isInternalSession();this.environmentType=this.activeSession.getEnvironmentType();this.teamId=this.invalidMessage="";this.isString=Ai;this.enableNewCustomRepeatedEnumUi=lu(this.activeSession,"enableNewCustomRepeatedEnumUi");this.enableGerritChanges=lu(this.activeSession,"enableGerritChanges");this.groups$=this.providedValues$.pipe(Nf(function(b){return a.extractGroups(b)}),
Mf(new Set));this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.focusOnTitle=!1};Y($N,Z);$N.\u0275dir=Z.\u0275dir;$N.prototype.ngOnChanges=function(a){var b;if((b=a.users)==null?0:b.currentValue){b=k(a.users.currentValue);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=Ui(c);d&&this.userMap.set(d,zi(c))}}if(a.values){var e;this.providedValues$.next((e=this.values)!=null?e:[])}a.showInternalOnlyFieldBadge&&(this.showInternalOnlyFieldBadge=a.showInternalOnlyFieldBadge.currentValue)};
$N.prototype.ngOnInit=function(){QNa(this)};
var QNa=function(a){a.sortedEnumChoices=[].concat(w(a.enumChoices||[])).sort(function(b){b=b.value;var c,d=((c=a.values)==null?0:c.includes(b))?1:0,e;return(((e=a.values)==null?0:e.includes(b))?1:0)-d})},RNa=function(a){var b=a.values||[],c=[].concat(w(a.enumPendingValues)),d=c.filter(function(f){return!b.includes(f)}),e=b.filter(function(f){return!c.includes(f)});if(d.length||e.length)a.values=c,a.valuesChange.emit({values:a.values,added:d,removed:e})},UNa=function(a){var b;return ve(function(c){if(c.nextAddress==
1)return a.customRepeatedEnumDialogService.isOpen()?c.return():xe(c,a.customRepeatedEnumDialogService.open({customFieldTitle:a.title,allowedValues:DOa(a),selectedValues:a.values}),2);(b=c.yieldResult)&&COa(a,Array.from(b));Ce(c)})},kq=function(a){return a.type==="REPEATED_ENUM"&&a.sortedEnumChoices.length>1E3};$N.prototype.showCodeChanges=function(a){a=!!Lk(a);return this.type==="CODE_CHANGES"&&(!a||this.enableGerritChanges)};
var DOa=function(a){return a.sortedEnumChoices.map(function(b){return b.displayText})},COa=function(a,b){var c,d=(c=a.values)!=null?c:[];c=b.filter(function(f){return!d.includes(f)});var e=d.filter(function(f){return!b.includes(f)});if(c.length||e.length)a.values=b,a.valuesChange.emit({values:a.values,added:c,removed:e});a.closeAddPopup(!0);sOa(a)&&lq(a,!0)};g=$N.prototype;g.isCustomField=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};
g.removeItem=function(a){var b=this;if(!this.listFieldDisabled){var c=this.values.splice(a,1);this.valuesChange.emit({values:this.values,removed:c})}this.schedule(function(){var d;if((d=b.values)==null?0:d.length){d=Math.min(a,b.values.length-1);var e,f,h;(e=b.removeButtons)==null||(f=e.get(d))==null||(h=f.nativeElement)==null||h.focus()}else{var l,q;(l=b.addLinkEl)==null||(q=l.nativeElement)==null||q.focus()}})};
g.addItems=function(a){var b=[];this.values=this.values||[];if(a)if(this.type==="REPEATED_DATE"){var c=An(a);this.preventDuplicates&&this.values.find(function(h){return yi(h,c)})||b.push(c)}else if(this.type==="REPEATED_NUMERIC"&&dra(this.values)&&dra(b))a=Number(a),this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(Bi(this.values)&&Bi(b))if(this.isCustomField())this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(!this.isCustomField()){a=k(a.split(/[,; ]/));for(var d=
a.next();!d.done;d=a.next()){var e=d=d.value;if(this.type==="CODE_CHANGES"){var f=!!Lk(d);this.enableGerritChanges&&f?e=d:e=bta(d)}e&&!this.values.includes(e)&&b.push(e)}}this.isDefaultOrAllowedValues&&this.type!=="REPEATED_DATE"||this.closeAddPopup(!0);b.length!==0&&(this.values=[].concat(w(this.values),w(b)),this.valuesChange.emit({values:this.values,added:b}))};g.onDrop=function(a){jq(this.values,a.previousIndex,a.currentIndex);this.valuesChange.emit({values:this.values})};
g.closeAddPopup=function(a){var b,c=k((b=this.menuTriggers)!=null?b:[]);for(b=c.next();!b.done;b=c.next())b.value.closeMenu();var d;c=k((d=this.popupTriggers)!=null?d:[]);for(d=c.next();!d.done;d=c.next())this.closeInlineDialog(d.value);a&&this.addLinkEl&&this.addLinkEl.nativeElement.focus()};g.closeInlineDialog=function(a){a.disabled||(a.disabled=!0,a.disabled=!1)};
var lq=function(a,b,c){c==null||c.stopPropagation();c==null||c.preventDefault();a.showingAll=b;a.cdr.detectChanges();a.schedule(function(){var d,e,f;(d=(f=a.showFewer)!=null?f:a.showMore)==null||(e=d.nativeElement)==null||e.focus()})},sOa=function(a){return!!a.values&&a.values.length>a.defaultLineCount+1},LNa=function(a){return a.values&&a.type==="REPEATED_DATE"?a.values.map(function(b){return a.dateFormatter.formatUserCalendar(zn(b))}):a.values&&a.type==="TEAM"?a.values:a.values&&a.type==="WORKSPACES"?
a.values:a.values&&a.type==="REPEATED_ENUM"?a.values:a.displayValuesOverride||(a.values||[]).map(function(b){return Ai(b)?b:cra(b)?""+b:a.dateFormatter.formatUserCalendar(zn(b))})};g=$N.prototype;
g.textPopupSubmit=function(a,b){var c=this,d,e,f;return ve(function(h){if(h.nextAddress==1)return c.inputValidator?xe(h,c.inputValidator(a.value.input),3):h.jumpTo(2);h.nextAddress!=2&&(c.invalidMessage=h.yieldResult,c.cdr.detectChanges());if(!a.valid||c.invalidMessage)return h.return();d=a.value.input;(e=a)==null||e.reset();(f=b.querySelector("input"))==null||f.focus();c.addItems(d);Ce(h)})};g.trackClick=function(a){this.analytics.trackEvent("linkField","click",a)};g.getUser=function(a){return this.userMap.get(a)};
g.schedule=function(a){this.subscriptions.add(Ue.schedule(a))};g.getAriaLabel=function(){if(!this.values||this.values.length===0)return this.title+" is empty";var a=this.title+" has "+this.values.length+" ";switch(this.type){case "USERCHIP":a+="user";break;case "REPEATED_DATE":a+="date";break;default:a+="item"}this.values.length>1&&(a+="s");return a};var uOa=function(a,b){return b.displayText+", "+(a.enumPendingValues.has(b.value)?"selected":"not selected")};
$N.prototype.extractGroups=function(a){if(!this.isUser)return Fe(new Set([]));var b=function(c){return c.principalType==="GROUP"};return this.principalTypesFridge.watchSet(a).pipe(B(function(c){return new Set(c.filter(b).map(function(d){return d.email}))}))};$N.\u0275fac=function(){var a;return function(b){return(a||(a=de($N)))(b||$N)}}();
$N.\u0275cmp=t({type:$N,selectors:[["b-list-field"]],viewQuery:function(a,b){a&1&&(Mg(Uvc,5),Mg(Vvc,5),Mg(Wvc,5),Mg(Xvc,5,ge),Mg(Yvc,5),Mg(zI,5),Mg(KN,5));if(a&2){var c;Qg(c=Rg())&&(b.addLinkEl=c.first);Qg(c=Rg())&&(b.showFewer=c.first);Qg(c=Rg())&&(b.showMore=c.first);Qg(c=Rg())&&(b.editButton=c.first);Qg(c=Rg())&&(b.removeButtons=c);Qg(c=Rg())&&(b.menuTriggers=c);Qg(c=Rg())&&(b.popupTriggers=c)}},inputs:{defaultLineCount:"defaultLineCount",readonly:"readonly",preventDuplicates:"preventDuplicates",
isDefaultOrAllowedValues:"isDefaultOrAllowedValues",values:"values",users:"users",showInternalOnlyFieldBadge:"showInternalOnlyFieldBadge",displayValuesOverride:"displayValuesOverride",enumChoices:"enumChoices",isUser:"isUser",listFieldDisabled:"listFieldDisabled",showingAll:"showingAll",title:"title",type:"type",tooltip:"tooltip",truncate:"truncate",isCollapsible:"isCollapsible",isExpanded:"isExpanded",iconName:"iconName",collapsiblePanelTitle:"collapsiblePanelTitle",customFieldId:"customFieldId",
isRequired:"isRequired",inputValidator:"inputValidator",checkAccessLimits:"checkAccessLimits",teamId:"teamId"},outputs:{valuesChange:"valuesChange",toggleAccessLimits:"toggleAccessLimits"},features:[Yg([sG]),cg,Hd],ngContentSelectors:[".title-action",".value-action"],decls:26,vars:27,consts:[["addLink",""],["itemRenderer",""],["metadataTools",""],["enumPopup","matMenu"],["textPopup",""],["datePopup",""],["customFieldPopup",""],["editButton",""],["removeButton",""],["showFewer",""],["showMore",""],
["textPopupForm","ngForm","formEl",""],[3,"ngClass"],["tabindex","0",1,"bv2-issue-metadata-field-inner",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],[1,"bv2-editable-title",3,"focusin","focusout","matTooltip","matTooltipPosition","matTooltipDisabled"],["svgIcon","shield_person_24px","matTooltip","Visible to internal only","aria-label","Visible to internal only",1,"icon-xs","internal-only-badge"],["cdkDropList","",1,"list-field-content",3,"cdkDropListDropped","cdkDropListDisabled"],[3,
"isExpanded","iconName","hasCompactTitleBar","title"],[1,"bv2-field-user-action-footer"],["matMenuContent",""],["cdkDrag",""],[3,"ngTemplateOutlet"],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[1,"no-value"],["mat-button","","dialogLabel","Add a new item to the list","matTooltip","Add a new item to the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","overlayPositions"],["mat-button","","panelClass","bv2-add-item-bubble","tabindex",
"0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","dialogLabel","overlayPositions","matTooltip"],["mat-button","","aria-haspopup","true","matTooltip","Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"matMenuTriggerFor"],["mat-button","","dialogLabel","Select items in the list","panelClass","bv2-add-item-bubble","matTooltip","Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool",
"bv2-metadata-link","tiny",3,"xapInlineDialogClick","overlayPositions"],["mat-button","","matTooltip","Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny"],["mat-button","","aria-haspopup","true","matTooltip","Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"menuOpened","menuClosed","matMenuTriggerFor"],["mat-button","","matTooltip","Select items in the list","tabindex","0",1,"mat-primary",
"bv2-metadata-tool","bv2-metadata-link","tiny",3,"click"],["mat-button","","panelClass","bv2-add-item-bubble","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"beforeOpened","xapInlineDialogClick","dialogLabel","overlayPositions","matTooltip"],[1,"flex-kids-x","flex-cross-axis-centered","flex-wrappable"],[1,"bv2-issue-metadata-list-item"],[1,"overflow-ellipsis",3,"matTooltip"],["aria-label","Open issue access dialog.",1,"unstyled","keep-focus-ring",3,"disabled"],[1,
"bv2-remove-icon","bv2-remove-item","keep-focus-ring",3,"disabled","matTooltip"],[1,"float-clear"],[3,"codeChange"],["target","_blank",1,"bv2-metadata-link",3,"href"],[3,"teamId","componentId"],["target","_blank",1,"bv2-metadata-link",3,"click","href"],["routerLink","/issues",1,"subtle-link",3,"click","queryParams"],[1,"list-field-user-container"],[3,"maxWidth","modelValue","disabled"],[3,"user","email","teamId","enableSmallChip","enableGroupIcon"],[3,"email"],["name","group_24px","size","small",
1,"group-icon"],["aria-label","Open issue access dialog.",1,"unstyled","keep-focus-ring",3,"click","disabled"],["size","small","name","edit_24px",1,"issue-metadata-field-edit-icon",3,"ngClass"],[1,"bv2-remove-icon","bv2-remove-item","keep-focus-ring",3,"click","disabled","matTooltip"],["tabindex","0","role","button",1,"bv2-metadata-tool","bv2-metadata-link",3,"matTooltip"],["tabindex","0","role","button",1,"bv2-metadata-tool","bv2-metadata-link",3,"click","keydown.enter","keydown.space","matTooltip"],
[1,"bv2-metadata-tool"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"click","keydown.enter","keydown.space","matTooltip"],["mat-menu-item","","type","button","role","menuitemcheckbox",3,"disabled","b-menu-item-checked"],["mat-menu-item","","type","button","role","menuitemcheckbox",3,"click","disabled"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],[3,"ngSubmit"],["type","text","name","input","ngModel","","required","","aria-expanded","true","autofocus","",3,"bContactAutocomplete"],
["name","input","ngModel","","required","","step","any","aria-expanded","true","autofocus","",3,"type"],[1,"bv2-list-field-addition-dialog-buttons"],["mat-flat-button","","type","submit",1,"medium","field-popup-button",3,"disabled"],["svgIcon","done"],["mat-stroked-button","","type","button",1,"medium","field-popup-button",3,"click"],["svgIcon","close"],[3,"dateChange","cancelClicked","required","renderPanel"],[3,"onApplyChanges","onCancelChanges","allowMultiSelect","customFieldTitle","allowedValues",
"selectedValues"]],template:function(a,b){if(a&1){var c=x();Dg(Zvc);I(0,"div",12)(1,"div",13)(2,"div",14);M("focusin",function(){z(c);return A(b.focusOnTitle=!0)})("focusout",function(){z(c);return A(b.focusOnTitle=!1)});D(3,HNa,2,1,"label")(4,INa,1,0,"mat-icon",15);Eg(5);J();I(6,"div",16);M("cdkDropListDropped",function(d){z(c);return A(b.onDrop(d))});D(7,MNa,4,5,"collapsible-panel",17)(8,PNa,4,2);I(9,"div",18,0);D(11,ZNa,3,1);Eg(12,1);J()()();D(13,pOa,1,1,"ng-template",null,1,fh)(15,tOa,2,2,"ng-template",
null,2,fh);I(17,"mat-menu",null,3);D(19,wOa,2,0,"ng-template",19);J();D(20,AOa,13,7,"ng-template",null,4,fh)(22,BOa,1,2,"ng-template",null,5,fh)(24,EOa,3,4,"ng-template",null,6,fh);J()}a&2&&(ng("empty-list-field-indication",b.isRequired&&!(b.values==null?0:b.values.length))("active",b.isActive&&!b.listFieldDisabled&&!b.readonly),F("ngClass",dh(23,$vc,!b.showInternalOnlyFieldBadge,!b.showInternalOnlyFieldBadge,b.showInternalOnlyFieldBadge)),C(),ng("bv2-disabled",b.listFieldDisabled)("bv2-readonly",
b.readonly),F("matTooltip",b.tooltip)("matTooltipPosition","left")("matTooltipDisabled",kq(b)),eg("aria-label",b.getAriaLabel()),C(),F("matTooltip",b.tooltip)("matTooltipPosition","left")("matTooltipDisabled",!kq(b)),C(),G(b.title?3:-1),C(),G(b.showInternalOnlyFieldBadge?4:-1),C(2),ng("draggable",(b.values==null?null:b.values.length)&&b.isDefaultOrAllowedValues),F("cdkDropListDisabled",!b.isDefaultOrAllowedValues),C(),G(b.isCollapsible||b.enableNewCustomRepeatedEnumUi&&kq(b)?7:8),C(4),G(b.readonly?
-1:11))},dependencies:[Ew,Hw,$D,JE,yM,Sz,EM,Cz,ki,tz,uz,Mz,Bz,zz,vD,Vy,FH,HH,HK,XK,zM,YN,XN,HN,GN,KN,vI,yI,wI,xI,zI,YJ,EN,CN,vN,ZM,Iw],styles:["xap-dialog-layout[_ngcontent-%COMP%]{padding:16px}xap-dialog-layout-content[_ngcontent-%COMP%]{padding:0}.list-field-content.draggable[_ngcontent-%COMP%]{cursor:grab}.list-field-content.draggable[_ngcontent-%COMP%]:active{cursor:grabbing}.bv2-editable-title[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{word-break:normal;overflow-wrap:anywhere}b-icon[_ngcontent-%COMP%]{margin-bottom:4px}.internal-only[_ngcontent-%COMP%]{background-color:#f4f5f6;background-color:var(--tonal-fill-grey);margin:5px;border-radius:5%;padding:5px 15px}.internal-only[_ngcontent-%COMP%]   .internal-only-badge[_ngcontent-%COMP%]{color:#188038;color:var(--good-bg-inverse);transform:translate(5px, 5px)}[_nghost-%COMP%]     .bv2-field-user-action-footer span{width:max-content;display:flex}[_nghost-%COMP%]     b-icon.group-icon{width:12px;margin-top:1px}[_nghost-%COMP%]     b-icon.group-icon mat-icon{width:inherit}[_nghost-%COMP%]     b-icon.group-icon mat-icon svg{width:12px;height:16px}[_nghost-%COMP%]     b-icon.disabled-icon mat-icon svg{color:#bdc1c6;color:var(--text-disabled)}"]});
var bwc={USERCHIP:"USERCHIP",CODE_CHANGES:"CODE_CHANGES",POSTMORTEMS:"POSTMORTEMS",REPEATED_TEXT:"REPEATED_TEXT",REPEATED_DATE:"REPEATED_DATE",REPEATED_ENUM:"REPEATED_ENUM",REPEATED_NUMERIC:"REPEATED_NUMERIC",TEAM:"TEAM",WORKSPACES:"WORKSPACES"},aO=function(){};aO.\u0275fac=function(a){return new (a||aO)};aO.\u0275mod=u({type:aO});aO.\u0275inj=p({imports:[RE,AM,PN,aN,NM,Qz,JH,LH,WK,BN,YK,BM,ZN,LN,TN,EI,ZJ,FN,TN,DN,zN,bN,oN]});var cwc=pi({opacity:"0"}),dwc=Ye(function(a){return a}),ewc=qe(Ef(),dwc,Bf()),fwc=new Bd("xap-bubble UX style"),bO=function(a){var b=this;this.activity=new Jf;this.openedSubject=new bo(!1);this.destroy=new If;this.overlayPositions=[];this.overlayPanelClass="";this.hoverDelayMs=50;this.beforeShow=this.beforeOpened=new kw;this.onOpened=new kw;this.bubbleStyle=a||"xap-bubble-md1";this.opened=this.openedSubject.pipe(Wja(function(){return b.activity.pipe(Af(b.hoverDelayMs))}));a=Of(this.destroy);this.opened.pipe(ewc,
a).subscribe(this.onOpened);this.openedSubject.pipe(dwc,ska(function(){return b.opened.pipe(Ye(function(c){return!c}))}),a).subscribe(function(){b.beforeOpened.emit()})};bO.prototype.ngOnDestroy=function(){this.destroy.next();this.destroy.complete()};bO.prototype.toggle=function(a){this.openedSubject.next(a);this.activity.next()};bO.\u0275fac=function(a){return new (a||bO)(af(fwc,8))};
bO.\u0275cmp=t({type:bO,selectors:[["xap-bubble"]],inputs:{panelTemplate:"panelTemplate",overlayPositions:"overlayPositions",overlayPanelClass:"overlayPanelClass",hoverDelayMs:"hoverDelayMs"},outputs:{beforeOpened:"beforeOpened",beforeShow:"beforeShow",onOpened:"opened"},ngContentSelectors:["*"],decls:5,vars:7,consts:[["trigger","cdkOverlayOrigin"],["cdkOverlayOrigin","",1,"xap-bubble-trigger",3,"mouseenter","mouseleave","mousemove","ngClass"],["cdkConnectedOverlay","","cdkConnectedOverlayPush","true",
3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],[1,"xap-bubble-panel",3,"mouseenter","mouseleave","mousemove","ngClass"],[4,"ngTemplateOutlet"]],template:function(a,b){if(a&1){var c=x();Dg();I(0,"span",1,0);M("mouseenter",function(){z(c);return A(b.toggle(!0))})("mouseleave",function(){z(c);return A(b.toggle(!1))})("mousemove",function(){z(c);b.activity.next();return A()});Eg(2);J();D(3,HOa,2,3,"ng-template",2);S(4,"async")}a&
2&&(a=L(1),F("ngClass",b.bubbleStyle),C(3),F("cdkConnectedOverlayPanelClass",b.overlayPanelClass)("cdkConnectedOverlayPositions",b.overlayPositions)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",U(4,5,b.opened)))},dependencies:[Ew,Hw,wy,vy,Iw],styles:[".xap-bubble-trigger{cursor:default;pointer-events:auto}.xap-bubble-trigger.xap-bubble-reach{-webkit-text-decoration:underline dashed #80868b;-moz-text-decoration:underline dashed #80868b;text-decoration:underline dashed #80868b;text-underline-position:under}.xap-bubble-panel{overflow:auto;padding:16px;will-change:opacity}.xap-bubble-panel.xap-bubble-md1{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);max-height:400px;max-width:400px}.xap-bubble-panel.xap-bubble-reach{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15);border-radius:8px;max-height:420px;max-width:420px;min-height:40px;min-width:220px}"],
encapsulation:2,data:{animation:[ni("fade",[si(":enter",[cwc,oi("225ms")]),si(":leave",[oi("195ms",cwc)])])]}});var cO=function(){this.activeSession=r(dv);this.documentationLinks=r(cL);this.labelOnlyMode=this.compactMode=!1;this.chipText=this.bubbleText=this.chipClass=""};
cO.prototype.ngOnChanges=function(){if(this.accessLevel)switch(this.accessLevel){case "EXTERNAL_PARTNER":this.chipClass="partner";this.chipText=this.compactMode?"Partners":"Visible to Partners";this.bubbleText=' Components and issues designated as "Visible to Partners" can be shared with specific external partners listed in the component\'s access control settings.';break;case "EXTERNAL_PUBLIC":this.chipClass="public";this.chipText=this.compactMode?"Public":"Visible to Public";this.bubbleText='Components and issues designated as "Visible to Public" can be\n                shared with any external user.';
break;default:this.chipText=this.bubbleText=this.chipClass=""}};cO.\u0275fac=function(a){return new (a||cO)};
cO.\u0275cmp=t({type:cO,selectors:[["b-component-access-level-indicator"]],inputs:{accessLevel:"accessLevel",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode"},features:[Hd],decls:1,vars:1,consts:[["popup",""],[1,"chippy","rounded",3,"ngClass","xs"],[3,"panelTemplate"],[1,"chippy","rounded",3,"ngClass"],[1,"chippy","rounded","nowrap",3,"ngClass"],[1,"bubble"],["target","_blank",3,"href"]],template:function(a,b){a&1&&D(0,LOa,2,1);if(a&2){if(a=b.accessLevel)a=b.activeSession.isInternalSession()?
b.accessLevel==="EXTERNAL_PARTNER"||b.accessLevel==="EXTERNAL_PUBLIC":tC(b.activeSession)?b.accessLevel==="EXTERNAL_PUBLIC":!1;G(a?0:-1)}},dependencies:[Ew,bO],styles:[".chippy[_ngcontent-%COMP%]{margin-right:8px}.chippy.partner[_ngcontent-%COMP%]{background-color:#ffdeb5;background-color:var(--partner-bg);color:#202124;color:var(--partner-text);box-shadow:inset 0 0 0 2px var(--partner-outline)}.chippy.public[_ngcontent-%COMP%]{background-color:#fbe983;background-color:var(--public-bg);color:#202124;color:var(--public-text);box-shadow:inset 0 0 0 2px var(--public-outline)}.chippy.xs[_ngcontent-%COMP%]{box-shadow:none;margin-right:4px}.bubble[_ngcontent-%COMP%]{width:300px}"],
changeDetection:0});var gwc=tq.listIssues.makeHref,hwc=tq.createIssue.makeHref,dO=function(){Z.apply(this,arguments);var a=this;this.componentFridge=r(AC);this.activeSession=r(dv);this.providedComponentId$=new If(1);this.component$=this.providedComponentId$.pipe(Nf(function(b){return a.componentFridge.watch(b)}),Kf({refCount:!0,bufferSize:1}));this.init=new If(1);this.isAnonymous=this.activeSession.isAnonymous()};Y(dO,Z);dO.\u0275dir=Z.\u0275dir;
dO.prototype.ngOnInit=function(){var a=this;this.providedComponentId$.next(this.componentId);this.recentIssuesUrl=gwc({q:"status:open componentid:"+this.componentId,s:"created_time:desc"});this.createIssueUrl=hwc()+"?component="+this.componentId;this.viewComponentUrl=tq.editComponent.makeHref(this.componentId);this.component$.pipe(Cf(),Of(this.destroyed$)).subscribe(function(){a.init.next()})};dO.\u0275fac=function(){var a;return function(b){return(a||(a=de(dO)))(b||dO)}}();
dO.\u0275cmp=t({type:dO,selectors:[["b-component-card"]],inputs:{componentId:"componentId"},outputs:{init:"init"},features:[cg],decls:4,vars:3,consts:[["role","dialog","aria-label","Component Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[3,"accessLevel","labelOnlyMode"],["tabindex","0",1,"keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1),D(2,NOa,15,8),S(3,"async"),J()());if(a&2){var c;C(2);G((c=U(3,1,b.component$))?2:-1,c)}},dependencies:[cO,
Iw],styles:["[_nghost-%COMP%]{max-width:400px}ul[_ngcontent-%COMP%]{list-style-type:none;padding:0}"]});var eO=function(){this.trackerHelpers=r(yL);this.componentPath=[];this.isArchived=!1;this.label="Component";this.openTab=""};ea.Object.defineProperties(eO.prototype,{componentPathInfo:{configurable:!0,enumerable:!0,set:function(a){a=Nu(this.trackerHelpers,a);this.componentPath=this.componentPathsLinkTo==="settings"?pq(a,vJa):pq(a)}}});eO.\u0275fac=function(a){return new (a||eO)};
eO.\u0275cmp=t({type:eO,selectors:[["b-component-breadcrumb"]],inputs:{componentPathsLinkTo:"componentPathsLinkTo",componentPathInfo:"componentPathInfo",isArchived:"isArchived",label:"label",openTab:"openTab"},decls:7,vars:2,consts:[["card","onedevHovercard"],["role","navigation","aria-labelledby","breadcrumb-label",1,"breadcrumb"],["id","breadcrumb-label"],[1,"breadcrumb-items"],[1,"breadcrumb-item"],[1,"breadcrumb-archived-indicator"],[1,"keep-focus-ring",3,"onedevHovercardTrigger","routerLinkObj"],
[3,"componentId"]],template:function(a,b){a&1&&(I(0,"div",1)(1,"p",2),Q(2),J(),I(3,"span",3),tg(4,OOa,6,4,"span",4,sg),D(6,POa,2,0,"span",5),J()());a&2&&(C(2),R("",b.label,":"),C(2),ug(b.componentPath),C(2),G(b.isArchived?6:-1))},dependencies:[OE,bK,hK,dO],encapsulation:2});var fO=function(){Z.apply(this,arguments);var a=this;this.componentFridge=r(AC);this.trackerHelpers=r(yL);this.recentIssuesInComponent=bq;this.componentId$=new If(1);this.hidePath=!1;this.error$=this.componentFridge.error$.pipe(Ye(function(b){return String(b.idOrKey)===a.componentIdInternal}));this.rawComponent$=this.componentId$.pipe(Ye(kj),Nf(function(b){return a.componentFridge.watch(b)}),Ye(kj));this.component$=Xe(this.error$,this.rawComponent$).pipe(B(function(b){return b.componentId&&b.name?
b:{componentId:Number(b.idOrKey),name:"(unknown)"}}));this.isArchived$=this.component$.pipe(B(function(b){return b.archived}));this.componentPath$=this.component$.pipe(B(function(b){b=Nu(a.trackerHelpers,b.componentPathInfo);return pq(b)}));this.init=new If(1);this.routes$=this.componentId$.pipe(B(function(b){return{createIssue:uJa(b),componentSettings:vJa(b),recentIssues:bq(b)}}))};Y(fO,Z);fO.\u0275dir=Z.\u0275dir;fO.prototype.ngOnInit=function(){var a=this;this.component$.pipe(Cf(),Of(this.destroyed$)).subscribe(function(){a.init.next()})};
ea.Object.defineProperties(fO.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){this.componentIdInternal=a=String(a);this.componentId$.next(a)}}});fO.\u0275fac=function(){var a;return function(b){return(a||(a=de(fO)))(b||fO)}}();
fO.\u0275cmp=t({type:fO,selectors:[["b-component-path-card"]],inputs:{componentId:"componentId",hidePath:"hidePath"},outputs:{init:"init"},features:[cg],decls:7,vars:7,consts:[["role","dialog","aria-label","Component Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"component-path","squared","b-chip","s","margin-s-bottom"],[1,"flex-kids-y","padded-s-top","actions"],[3,"routerLinkObj"],[1,"flex-kids-x"],["svgIcon","folder",1,"icon-xs"],[1,"type-s"],[1,"id-text","flex-kids-x",
"gap-s","align-items-center"],[3,"accessLevel","labelOnlyMode"],["aria-label","View recent open issues","mat-button","",1,"primary",3,"routerLinkObj"],["aria-label","View component settings","mat-button","",1,"primary",3,"routerLinkObj"],["aria-label","Create issue in this component","mat-button","",1,"primary",3,"routerLinkObj"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1),D(2,TOa,6,5,"div",2)(3,UOa,10,5),S(4,"async"),D(5,VOa,7,3,"div",3),S(6,"async"),J()());if(a&2){var c,d;C(2);G(b.hidePath?
-1:2);C();G((c=U(4,3,b.component$))?3:-1,c);C(2);G((d=U(6,5,b.routes$))?5:-1,d)}},dependencies:[$D,OE,vD,Wy,cO,Iw],styles:["img[_ngcontent-%COMP%]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;object-fit:contain;width:24px;height:24px;box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 2px 6px 2px rgba(0,0,0,.15);padding:5px;border-radius:4px}.id-text[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);margin-bottom:12px}.b-chip[_ngcontent-%COMP%]{margin-right:0;line-height:16px;padding-top:2px;padding-bottom:2px}mat-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:4px}.component-path[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#202124;color:var(--text)}.component-path[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:active, .component-path[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .component-path[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link);text-decoration:underline}.actions[_ngcontent-%COMP%]{-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start}.actions[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{height:24px;line-height:24px;margin-left:-8px}"]});var iwc={QA:124156,NIGHTLY:190923,PROD:190923};new Promise(function(){});var gO=function(){var a=r($E),b=r(VC),c=r(AC);Z.call(this);var d=this;this.componentApi=r(yC);this.appEvents=r(nE);this.activeSession=r(dv);this.components=a.get("components-second-level-cache")||a.create("components-second-level-cache",{capacity:25});this.subscriptions.add(this.appEvents.componentModified.subscribe(function(e){d.components.removeAll();c.invalidate(e)}));this.componentGetter=b.adapt(function(e){var f=Ua(e);Iba(f);return d.componentApi.query({id:f}).then(function(h){var l={};h=k(h);
for(var q=h.next();!q.done;q=h.next())(q=q.value)&&(l[q.componentId]=q);return e.map(function(v){return l[v]||null})})})};Y(gO,Z);gO.\u0275dir=Z.\u0275dir;g=gO.prototype;g.get=function(a){var b=this.components.get(String(a));if(b!=null)return b;b=this.componentGetter.get(a).then(function(c){return c!=null?c:Promise.reject(new fac("Could not load details for component "+a))});return this.components.put(String(a),b)};
g.create=function(a){var b=this;return this.componentApi.create(a).then(function(c){b.appEvents.componentModified.next(c.componentId);return c})};g.update=function(a){var b=this;return this.componentApi.update(a).then(function(c){b.appEvents.componentModified.next(c.componentId);return c})};g.move=function(a,b){var c=this;return this.componentApi.move(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};
g.updateSlo=function(a,b){var c=this;return this.componentApi.updateSlo(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};g.updateTeam=function(a,b){var c=this;return this.componentApi.updateTeam(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};g.getChildren=function(a,b){return this.componentApi.getChildren(a,b===void 0?!1:b)};g.getDescendants=function(a){return this.componentApi.getDescendants(a)};
g.getUncached=function(a){this.components.remove(String(a));return this.componentApi.fetchComponent(a)};g.search=function(a,b){var c={query:a};if(b===void 0?0:b)c.includearchived=!0;return jwc(this,a,this.componentApi.query(c))};
var jwc=function(a,b,c){if(b.match(/^\s*android\s*$/i)){var d=iwc[a.activeSession.getEnvironmentType()];if(d)return qq({publicComponent:a.get(d),rest:c}).then(function(e){var f=[e.publicComponent];e=k(e.rest);for(var h=e.next();!h.done;h=e.next())h=h.value,h.componentId!==d&&f.push(h);return f})}return c};
gO.prototype.bulkLoad=function(a){var b=this,c=a.filter(function(f){return!b.components.get(String(f))});Iba(c);if(c.length){a=this.componentApi.query({id:c}).then(function(f){var h={};f=k(f);for(var l=f.next();!l.done;l=f.next())(l=l.value)&&(h[l.componentId]=l);return h});c=k(c);for(var d=c.next(),e={};!d.done;e={id$jscomp$353:void 0},d=c.next())e.id$jscomp$353=d.value,this.components.put(String(e.id$jscomp$353),a.then(function(f){return function(h){return h[f.id$jscomp$353]?h[f.id$jscomp$353]:
Promise.reject(new fac("Could not load details for component "+f.id$jscomp$353))}}(e)))}};gO.\u0275fac=function(a){return new (a||gO)};gO.\u0275prov=n({token:gO,factory:gO.\u0275fac,providedIn:"root"});var kwc=fv(["https://www.gstatic.com/buganizer/gfx/","/",""]),hO=fv(["https://www.gstatic.com/buganizer/img/v2/",""]),lwc=wi(kwc,"2024-09-25-f97014b4","all-icons.svg"),mwc=wi(hO,"empty_blocker_light.png"),nwc=wi(hO,"empty_blocker_dark.png"),owc=wi(hO,"empty_child_light.png"),pwc=wi(hO,"empty_child_dark.png"),qwc=wi(hO,"robot_sleeping.png"),rwc=wi(hO,"tea_light.png"),swc=wi(hO,"tea_dark.png"),twc=wi(hO,"space_empty_state.png"),uwc=wi(hO,"eg_work_area.png"),vwc=wi(hO,"empty_triage.png");wi(hO,"gerrit_logo.svg");var iO=function(){this.ICON_URL=lwc;this.LOGO_LIGHT="https://www.gstatic.com/buganizer/img/v3/logo_light.svg";this.EMPTY_BLOCKER_LIGHT=mwc;this.EMPTY_BLOCKER_DARK=nwc;this.EMPTY_CHILD_LIGHT=owc;this.EMPTY_CHILD_DARK=pwc;this.ROBOT_SLEEPING=qwc;this.TEA_LIGHT=rwc;this.TEA_DARK=swc;this.SPACE_EMPTY_STATE=twc;this.WORK_AREA_EXAMPLE_ILLUSTRATION=uwc;this.EMPTY_TRIAGE=vwc};iO.\u0275fac=function(a){return new (a||iO)};iO.\u0275prov=n({token:iO,factory:iO.\u0275fac,providedIn:"root"});var jO=function(){this.activeSession=r(dv);this.documentationLinks=r(cL);this.trackerHelpers=r(yL);this.imageUrls=r(iO);this.compactMode=!1;this.showHovercard=!0;this.isGlobalBuganizer=!1;this.logoDark=this.logoLight=this.extendedName=this.name=this.redirectUrl=""};
jO.prototype.ngOnChanges=function(a){if(a.tracker||a.isGlobalBuganizer){this.redirectUrl=rr(this.trackerHelpers,"",this.tracker);this.name=this.getName();this.extendedName=this.isGlobalBuganizer?this.name:"the "+this.name+" Tracker";if(this.isGlobalBuganizer)a=this.imageUrls.LOGO_LIGHT;else{var b,c;if((b=this.tracker)==null?0:(c=b.branding)==null?0:c.logoUrl){var d,e,f;a=(f=(d=this.tracker)==null?void 0:(e=d.branding)==null?void 0:e.logoUrl)!=null?f:""}else a="https://www.gstatic.com/buganizer/img/v3/logo_light.svg"}this.logoLight=
a;if(this.isGlobalBuganizer)d="https://www.gstatic.com/buganizer/img/v3/logo_dark.svg";else{var h;d=(h=this.logoLight)!=null?h:""}this.logoDark=d}};jO.prototype.getName=function(){if(this.isGlobalBuganizer)return this.activeSession.getAppName();var a,b;return(b=(a=this.tracker)==null?void 0:a.name)!=null?b:""};jO.\u0275fac=function(a){return new (a||jO)};
jO.\u0275cmp=t({type:jO,selectors:[["b-tracker-chip"]],inputs:{tracker:"tracker",compactMode:"compactMode",showHovercard:"showHovercard",isGlobalBuganizer:"isGlobalBuganizer"},features:[Hd],decls:1,vars:1,consts:[["card","onedevHovercard"],[1,"chippy","rounded",3,"onedevHovercardTrigger","onedevHovercardActive"],["alt","",1,"logo","light-only",3,"src"],["alt","",1,"logo","dark-only",3,"src"],[1,"name"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],[1,"flex-kids-y","padded-s-top",
"actions"],["mat-button","","target","_blank",1,"primary",3,"href"]],template:function(a,b){a&1&&D(0,ZOa,15,12);a&2&&G(b.tracker||b.isGlobalBuganizer?0:-1)},dependencies:[bK,hK,vD,Wy],styles:[".dark-mode   [_nghost-%COMP%]    , .light-mode   [_nghost-%COMP%]    , :root   [_nghost-%COMP%]    {--tracker-chip-bg:#d5e2fa}.dark-mode   [_nghost-%COMP%]    {--tracker-chip-bg:#283143}.chippy[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast);margin-right:8px;background:var(--tracker-chip-bg);display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;padding-right:8px;vertical-align:middle;border:0;box-shadow:none}.chippy[_ngcontent-%COMP%]:focus{outline:1px solid var(--primary)}.logo[_ngcontent-%COMP%]{width:16px;height:16px}.name[_ngcontent-%COMP%]{margin-left:4px}.chippy.xs[_ngcontent-%COMP%]{margin-right:4px;padding:0 4px;min-height:15px}.chippy.xs[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:14px;height:14px}.onedev-hovercard-body[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.onedev-hovercard-body[_ngcontent-%COMP%]   .hovertext[_ngcontent-%COMP%]{margin-bottom:1em}.onedev-hovercard-body[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]{-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start}.onedev-hovercard-body[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{height:24px;line-height:24px;margin-left:-8px}"],
changeDetection:0});var kO=function(){var a=this;this.activeSession=r(dv);this.trackerFridge=r(vH);this.compactMode=!1;this.showHovercard=!0;this.trackerId$=new bo(void 0);this.tracker$=this.trackerId$.pipe(Nf(function(b){return b?a.trackerFridge.watch(b).pipe(xf(function(){return Fe(void 0)})):Fe(void 0)}));this.isCurrentTracker$=this.trackerId$.pipe(B(function(b){var c,d=(c=a.activeSession.getTracker())==null?void 0:c.trackerId;return d?d===b:!b}))};kO.prototype.ngOnChanges=function(a){a.trackerId&&this.trackerId$.next(this.trackerId)};
ea.Object.defineProperties(kO.prototype,{isGlobalBuganizer:{configurable:!0,enumerable:!0,get:function(){return!this.trackerId$.value}}});kO.\u0275fac=function(a){return new (a||kO)};
kO.\u0275cmp=t({type:kO,selectors:[["b-tracker-chip-smart"]],inputs:{trackerId:"trackerId",compactMode:"compactMode",showHovercard:"showHovercard"},features:[Hd],decls:2,vars:3,consts:[[3,"tracker","compactMode","showHovercard","isGlobalBuganizer"]],template:function(a,b){a&1&&(D(0,$Oa,2,6,"b-tracker-chip",0),S(1,"async"));a&2&&G(U(1,1,b.isCurrentTracker$)===!1?0:-1)},dependencies:[jO,Iw],encapsulation:2,changeDetection:0});var lO=function(){this.showFolderSpecialIcon=!1;this.mode="default";this.query="";this.selectComponentId=new rG;this.expandComponent=new rG;this.goBack=new rG};lO.prototype.ngOnInit=function(){};lO.prototype.expand=function(a,b){b.preventDefault();b.stopPropagation();this.expandComponent.emit(a)};lO.prototype.back=function(a){a.preventDefault();a.stopPropagation();this.goBack.emit()};lO.\u0275fac=function(a){return new (a||lO)};
lO.\u0275cmp=t({type:lO,selectors:[["component-row"]],inputs:{showFolderSpecialIcon:"showFolderSpecialIcon",componentOption:"componentOption",mode:"mode",query:"query"},outputs:{selectComponentId:"selectComponentId",expandComponent:"expandComponent",goBack:"goBack"},decls:11,vars:7,consts:[[1,"container"],["svgIcon","history"],"mat-icon-button;;aria-label;Return to search results;matTooltip;Return to search results".split(";"),["mat-icon-button","",1,"expand-button",3,"matTooltip"],[1,"content"],
[1,"margin-s-right"],[1,"archived-indicator"],[3,"accessLevel","labelOnlyMode"],[3,"trackerId","showHovercard"],["mat-icon-button","","aria-label","Return to search results","matTooltip","Return to search results",3,"mousedown"],["svgIcon","back"],["mat-icon-button","",1,"expand-button",3,"mousedown","matTooltip"],[3,"svgIcon"],[1,"subtle-link",3,"innerHtml"],[1,"subtle-link",3,"mousedown","innerHtml"],[1,"subtle-link"],[1,"subtle-link",3,"mousedown"]],template:function(a,b){a&1&&(I(0,"div",0),D(1,
aPa,1,0,"mat-icon",1)(2,bPa,2,0,"button",2)(3,cPa,2,3,"button",3),I(4,"div",4)(5,"span",5),D(6,kPa,2,0)(7,mPa,1,1)(8,nPa,2,0,"span",6),J(),K(9,"b-component-access-level-indicator",7)(10,"b-tracker-chip-smart",8),J()());if(a&2){var c;C();G((c=b.mode)==="recent"?1:c==="tree"?2:3);C(5);G(b.mode!=="leaf"?6:7);C(2);G(b.componentOption.archived?8:-1);C();F("accessLevel",b.componentOption.accessLimit==null?null:b.componentOption.accessLimit.accessLevel)("labelOnlyMode",!0);C();F("trackerId",b.componentOption.trackerId)("showHovercard",
!1)}},dependencies:[$D,vD,Xy,FH,HH,kO,cO,cM,ksc],styles:[".container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;padding:4px}mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);width:20px;height:20px;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.content[_ngcontent-%COMP%]{display:inline-block;margin-left:8px;margin-top:1px;line-height:20px}.mat-mdc-icon-button[_ngcontent-%COMP%]{width:20px;height:20px;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;line-height:18px}.mat-mdc-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{--mdc-icon-button-icon-size:18px;height:18px;width:18px;line-height:18px}.archived-indicator[_ngcontent-%COMP%]{margin-left:4px;color:#ea4335;color:var(--bad)}\n/*# sourceMappingURL=component_row.css.map */"]});var mO=function(a,b,c,d,e,f,h,l){var q=this;this.userApi=a;this.componentActions=b;this.teamsService=c;this.analytics=d;this.destroyed$=e;this.config=f;this.trackerHelpers=h;this.activeSession=l;this.includeArchived=!1;this.searchQuery$=new bo("");this.debouncedSearchQuery$=this.searchQuery$.pipe(Af(250));this.state$=new bo("default");this.listUpdated$=new Jf;this.componentsLoading=this.teamsLoading=!1;this.teamScope$=new bo(void 0);this.componentOptions=[];this.childTeamsMap=new Map;this.componentCountMap=
new Map;this.recentComponents=[];this.myTeams$=new bo([]);this.showAllTeams$=new bo(!1);this.showAllTeamsDistinct$=this.showAllTeams$.pipe(Ef());this.teamOptions$=new bo([]);this.filteredTeamOptions$=Me([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(B(function(v){var y=k(v);v=y.next().value;return y.next().value?v:v.slice(0,5)}));this.hasHiddenTeams$=Me([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(B(function(v){var y=k(v);v=y.next().value;y=y.next().value;return v.length>5&&!y}));this.newChildTeams$=
new bo([]);this.teamsDisplayed$=Xe(this.myTeams$,this.teamOptions$,this.newChildTeams$,this.teamScope$.pipe(B(function(v){return v?[v]:[]}))).pipe(B(function(v){return v.map(function(y){return y.id})}));this.unseenTeamChildTeamsMap$=this.teamsDisplayed$.pipe(B(function(v){return v.filter(function(y){return!q.childTeamsMap.has(y)})}),Ye(function(v){return v.length>0}),Nf(function(v){return q.teamsService.getChildTeams(v)}),B(rPa));this.unseenTeamComponentCountMap$=this.teamsDisplayed$.pipe(B(function(v){return v.filter(function(y){return!q.componentCountMap.has(y)})}),
Ye(function(v){return v.length>0}),Nf(function(v){return bgc(q.teamsService,v)}));this.componentIdSelected$=new If(1);this.lastProcessedIndex=-1;this.requestIndex=0};
mO.prototype.init=function(a){var b=this;a=a===void 0?!1:a;wwc(this);Me([this.debouncedSearchQuery$.pipe(Lf(a?1:0)),this.state$]).pipe(Of(this.destroyed$)).subscribe(function(c){var d=k(c);c=d.next().value;d=d.next().value;b.showAllTeams$.next(!1);d==="default"?c?b.state$.next("global"):(b.componentOptions=[],b.teamOptions$.next([]),b.listUpdated$.next()):d==="global"?c?(b.includeTeamData()&&xwc(b,c),ywc(b,c)):b.state$.next("default"):d==="team_scope"?b.teamScope$.value&&(b.teamOptions$.next([]),
ywc(b,"teamid:"+b.teamScope$.value.id+" "+c)):d==="component_scope"&&b.componentScope&&zwc(b,b.componentScope.id)});this.debouncedSearchQuery$.pipe(Qf(this.state$),Of(this.destroyed$)).subscribe(function(c){var d=k(c);c=d.next().value;d.next().value==="component_scope"&&b.state$.next(c?"global":"default")});this.unseenTeamChildTeamsMap$.pipe(Of(this.destroyed$)).subscribe(function(c){c=k(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b.childTeamsMap.set(d,
e)}});this.unseenTeamComponentCountMap$.pipe(Of(this.destroyed$)).subscribe(function(c){c=k(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b.componentCountMap.set(d,e)}})};mO.prototype.includeTeamData=function(){return this.config.includeTeamData&&!vq(this.activeSession)};
var wwc=function(a){a.componentsLoading=!0;a.userApi.getRecentComponents().then(function(b){b=b.filter(function(c){return a.filterTrackerComponents(c)});b=Awc(a,b);a.recentComponents=b;a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1});a.includeTeamData()&&(a.teamsLoading=!0,nH(a.teamsService,"").pipe(Of(a.destroyed$)).subscribe(function(b){a.myTeams$.next(b.map(oPa));a.listUpdated$.next();a.teamsLoading=!1},function(){a.teamsLoading=!1}))};
mO.prototype.filterTrackerComponents=function(a){var b;return!vq(this.activeSession)||a.trackerId===((b=this.activeSession.getTracker())==null?void 0:b.trackerId)};mO.prototype.selectOption=function(a){a.type==="component"?JQa(this,a.id):a.type==="team"?OPa(this,a):console.warn("invalid option selected")};
var JQa=function(a,b){var c=Bwc(a);a.analytics.trackEvent("componentPicker","autocomplete-select",c);a.componentIdSelected$.next(b);a.state$.next("global")},Bwc=function(a){if(a.state$.value==="default")return"recent-component";if(a.state$.value==="global")return"global-search";if(a.state$.value==="component_scope")return"component-scope";if(a.state$.value==="team_scope"){var b,c=(b=a.teamScope$.value)==null?void 0:b.id;return a.myTeams$.value.some(function(d){return d.id===c})?"my-team":"team-scope"}return""};
mO.prototype.expandComponent=function(a){this.componentScope=a;this.state$.next("component_scope")};
var vQa=function(a,b){a.componentActions.get(b).then(function(c){var d=Nu(a.trackerHelpers,c.componentPathInfo);a.componentScope=qPa(c,d);a.state$.next("component_scope")})},uQa=function(a){a.componentScope=void 0;a.searchQuery$.value?a.state$.next("global"):a.state$.next("default")},OPa=function(a,b){a.teamScope$.next(Object.assign({},b,{expanded:!1}));a.state$.next("team_scope");a.searchQuery$.next("");b.pathNames||uq(a,b.id)},uq=function(a,b){a.teamsLoading=!0;nH(a.teamsService,b).pipe(Of(a.destroyed$)).subscribe(function(c){c=
c.map(oPa);if(c.length===1){c=c[0];var d,e=c.id!==((d=a.teamScope$.value)==null?void 0:d.id);a.teamScope$.next(c);a.teamsLoading=!1;e&&a.state$.next("team_scope")}},function(){a.teamsLoading=!1})},Cwc=function(a){if(a.teamScope$.value&&a.teamScope$.value.pathIds&&!(a.teamScope$.value.pathIds.length<2)){var b=a.teamScope$.value.pathIds;uq(a,b[b.length-2])}};mO.prototype.getChildTeams=function(a){var b;return(b=this.childTeamsMap.get(a))!=null?b:[]};
mO.prototype.hasNoComponent=function(a){return this.componentCountMap.has(a)?this.componentCountMap.get(a)===0:!1};
var kQa=function(a,b){b.expanded=!1;a.listUpdated$.next()},lQa=function(a,b){b.expanded=!0;a.listUpdated$.next();a.newChildTeams$.next(a.getChildTeams(b.id))},oQa=function(a){a.teamScope$.next(void 0);a.searchQuery$.next("");a.state$.next("default")},xwc=function(a,b){b.length>1&&(a.teamsLoading=!0,nH(a.teamsService,b).pipe(Of(a.destroyed$)).subscribe(function(c){a.teamOptions$.next(c.map(oPa));a.teamsLoading=!1;a.listUpdated$.next()},function(){a.teamsLoading=!1}))},ywc=function(a,b){if(b.length>
1){a.componentsLoading=!0;var c=a.requestIndex++;a.componentActions.search(b,a.includeArchived).then(function(d){c>a.lastProcessedIndex&&(a.lastProcessedIndex=c,a.componentOptions=Awc(a,d));a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1})}},zwc=function(a,b){var c=a.requestIndex++;a.componentsLoading=!0;a.componentActions.getChildren(b).then(function(d){c>a.lastProcessedIndex&&(a.lastProcessedIndex=c,a.componentOptions=Awc(a,d),a.listUpdated$.next())}).finally(function(){a.componentsLoading=
!1})},Awc=function(a,b){return b.map(function(c){var d=Nu(a.trackerHelpers,c.componentPathInfo);return qPa(c,d)})};var Dwc=0,nO=function(){this.changeDetectorRef=r(rw);this.elementRef=r(ge);this.active=!1;this.id="b-component-picker-option-"+Dwc;Dwc+=1};nO.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};nO.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};nO.\u0275fac=function(a){return new (a||nO)};
nO.\u0275dir=ud({type:nO,selectors:[["","listOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(yg("id",b.id),ng("active",b.active))},inputs:{data:"data",listOrder:"listOrder"}});var oO=function(){this.query="";this.hasNoComponent=this.compact=this.allowSegmentSelection=!1;this.selectTeamId=new rG};oO.prototype.getLogoUrl=function(){return"https://moma-teams-photos.corp.google.com/logo/"+this.teamOption.id};oO.prototype.ngOnInit=function(){};oO.\u0275fac=function(a){return new (a||oO)};
oO.\u0275cmp=t({type:oO,selectors:[["team-row"]],inputs:{teamOption:"teamOption",query:"query",allowSegmentSelection:"allowSegmentSelection",compact:"compact",hasNoComponent:"hasNoComponent"},outputs:{selectTeamId:"selectTeamId"},decls:5,vars:7,consts:[[1,"container"],["alt","Team logo"],[1,"content"],[1,"name-row"],[1,"path"],[1,"team-name",3,"innerHtml"],[1,"no-component-label"],[1,"subtle-link"],[1,"subtle-link",3,"mousedown"],[1,"team-name"]],template:function(a,b){a&1&&(I(0,"div",0),D(1,sPa,
1,1,"img",1),I(2,"div",2),D(3,uPa,4,5,"div",3)(4,CPa,3,0,"div",4),J()());a&2&&(ng("no-component",b.hasNoComponent)("compact",b.compact),C(),G(b.compact?-1:1),C(2),G(b.compact?-1:3),C(),G(b.teamOption.pathNames&&b.teamOption.pathNames.length?4:-1))},dependencies:[cM],styles:[".container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;padding:4px}.no-component[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{-webkit-filter:grayscale(1);filter:grayscale(1)}.no-component[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}.content[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-left:8px;width:100%}.container[_ngcontent-%COMP%]:not(.compact)   .path[_ngcontent-%COMP%], .container[_ngcontent-%COMP%]:not(.compact)   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}.container.compact[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{margin-left:2px}.name-row[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.no-component-label[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400;font-size:.6875rem;line-height:1.2307692308;margin-left:auto}img[_ngcontent-%COMP%]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;object-fit:contain;width:20px;height:20px}\n/*# sourceMappingURL=team_row.css.map */"]});var Ewc=new Bd("GMAT_PROGRESS_BAR_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var Fwc=new SM(3);var Gwc=new Bd("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");new Bd("mat-progress-bar-location",{providedIn:"root",factory:FPa});
var pO=function(){var a=this;this._elementRef=r(ge);this._ngZone=r(hh);this._changeDetectorRef=r(rw);this._animationMode=r(Zv,{optional:!0});this._isNoopAnimation=!1;this._defaultColor="primary";this._bufferValue=this._value=0;this.animationEnd=new kw;this._mode="determinate";this._transitionendHandler=function(c){a.animationEnd.observers.length!==0&&c.target&&c.target.classList.contains("mdc-linear-progress__primary-bar")&&(a.mode!=="determinate"&&a.mode!=="buffer"||a._ngZone.run(function(){return a.animationEnd.next({value:a.value})}))};
var b=r(Gwc,{optional:!0});this._isNoopAnimation=this._animationMode==="NoopAnimations";b&&(b.color&&(this.color=this._defaultColor=b.color),this.mode=b.mode||this.mode)};g=pO.prototype;g.ngAfterViewInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("transitionend",a._transitionendHandler)})};g.ngOnDestroy=function(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)};
g._getPrimaryBarTransform=function(){return"scaleX("+(this._isIndeterminate()?1:this.value/100)+")"};g._getBufferBarFlexBasis=function(){return(this.mode==="buffer"?this.bufferValue:100)+"%"};g._isIndeterminate=function(){return this.mode==="indeterminate"||this.mode==="query"};
ea.Object.defineProperties(pO.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color||this._defaultColor},set:function(a){this._color=a}},value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this._value=Math.max(0,Math.min(100,a||0));this._changeDetectorRef.markForCheck()}},bufferValue:{configurable:!0,enumerable:!0,get:function(){return this._bufferValue||0},set:function(a){this._bufferValue=Math.max(0,Math.min(100,a||0));this._changeDetectorRef.markForCheck()}},
mode:{configurable:!0,enumerable:!0,get:function(){return this._mode},set:function(a){this._mode=a;this._changeDetectorRef.markForCheck()}}});pO.\u0275fac=function(a){return new (a||pO)};
pO.\u0275cmp=t({type:pO,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(a,b){a&2&&(eg("aria-valuenow",b._isIndeterminate()?null:b.value)("mode",b.mode),og("mat-"+b.color),ng("_mat-animation-noopable",b._isNoopAnimation)("mdc-linear-progress--animation-ready",!b._isNoopAnimation)("mdc-linear-progress--indeterminate",b._isIndeterminate()))},inputs:{color:"color",
value:[2,"value","value",sh],bufferValue:[2,"bufferValue","bufferValue",sh],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[dg,$g],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar",
"mdc-linear-progress__secondary-bar"]],template:function(a,b){a&1&&(I(0,"div",0),K(1,"div",1),D(2,EPa,1,0,"div",2),J(),I(3,"div",3),K(4,"span",4),J(),I(5,"div",5),K(6,"span",4),J());a&2&&(C(),mg("flex-basis",b._getBufferBarFlexBasis()),C(),G(b.mode==="buffer"?2:-1),C(),mg("transform",b._getPrimaryBarTransform()))},styles:[".mat-mdc-progress-bar{display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mdc-linear-progress-track-height, 4px),var(--mdc-linear-progress-active-indicator-height, 4px))}@media(forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mdc-linear-progress-active-indicator-height, 4px)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mdc-linear-progress-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-linear-progress-active-indicator-height, 4px)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mdc-linear-progress-track-height, 4px);border-radius:var(--mdc-linear-progress-track-shape, var(--mat-app-corner-none))}.mdc-linear-progress__buffer-dots{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear;background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height, 4px) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}\n"],
encapsulation:2,changeDetection:0});var qO=function(){};qO.\u0275fac=function(a){return new (a||qO)};qO.\u0275mod=u({type:qO});qO.\u0275inj=p({imports:[yy]});var rO=function(a,b){var c=this;this.options=a;this.progressbar=b;this.destroyed=new Jf;this.labelElement=document.createElement("label");this.labelElement.classList.add("cdk-visually-hidden");this.labelElement.classList.add("gmat-mdc-progress-bar-accessible-label");DPa(b._elementRef.nativeElement).pipe(Of(this.destroyed)).subscribe(function(d){c.writeLabelSpan(d[0],d[1])})};rO.prototype.ngOnInit=function(){this.initializeLabelSpan()};
rO.prototype.ngOnDestroy=function(){this.labelElement.remove();this.destroyed.next();this.destroyed.complete()};rO.prototype.initializeLabelSpan=function(){this.progressbar._elementRef.nativeElement.insertAdjacentElement("afterend",this.labelElement);var a=this.progressbar._elementRef.nativeElement.getAttribute("aria-label");this.writeLabelSpan(a!=null?a:"",this.progressbar.mode==="indeterminate"||this.progressbar.mode==="query"?"indeterminate":this.progressbar.value.toString())};
rO.prototype.writeLabelSpan=function(a,b){a=b==="indeterminate"?a:a+" "+Fwc.format(Number(b)/100);this.labelElement.textContent=a};rO.\u0275fac=function(a){return new (a||rO)(af(Ewc),af(pO,10))};rO.\u0275dir=ud({type:rO,selectors:[["mat-progress-bar"]],hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&2&&(eg("tabindex",null),ng("gmat-mdc-progress-bar",!b.options.disableGmatStyle))}});var Hwc=["container"],Iwc=["inputBox"],Jwc=["dropdownTemplate"],Kwc=["dropdown"],TPa=function(a){return{mode:"recent",$implicit:a}},eQa=function(a){return{mode:"default",$implicit:a}},ZPa=function(a){return[a]},YPa=function(a,b){return{team:a,level:0,order:b}},sQa=function(a,b){return{mode:"default",$implicit:a,teamScope:b}},pQa=function(){return[0]},hQa=function(a){return[0,a]},yQa=function(a){return{mode:"leaf",$implicit:a}},DQa=function(a,b,c){return{team:a,level:b,order:c}},Lwc=[{originX:"start",
originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],sO=function(){Z.apply(this,arguments);this.overlay=r(ty);this.viewContainerRef=r(Kg);this.userApi=r(lF);this.componentActions=r(gO);this.teamsService=r(lH);this.userAccess=r(YC);this.analytics=r(wG);this.activeSession=r(dv);this.trackerHelpers=r(yL);this.cdr=r(rw);this.placeholder="";this.isRequired=!1;this.ariaLabel="";this.checkAdminAccess=!1;this.accessCheckComplete=new rG;this.shouldFocus=
!1;this.touched=new rG;this.selectedComponentChange=new rG;this.dropdownClosed=new rG;this.checkingAccess=this.hasAccess=!1;this.isExternal=this.activeSession.isExternalSession();this.searchState=new mO(this.userApi,this.componentActions,this.teamsService,this.analytics,this.destroyed$,{includeTeamData:!this.isExternal},this.trackerHelpers,this.activeSession);this.componentLoading=this.isDropdownOpen=!1};Y(sO,Z);sO.\u0275dir=Z.\u0275dir;
sO.prototype.ngOnInit=function(){var a=this;this.searchState.init(!!this.selectedComponent);this.searchState.componentIdSelected$.pipe(Of(this.destroyed$)).subscribe(function(b){a.componentLoading=!0;a.componentActions.get(b).then(function(c){a.selectedComponent=c;Mwc(a);a.componentLoading=!1;a.close(!0);a.selectedComponentChange.emit(c)})},function(){a.componentLoading=!1});Xe(this.searchState.debouncedSearchQuery$,this.searchState.state$).pipe(Of(this.destroyed$)).subscribe(function(){a.clearActiveItem()})};
sO.prototype.isLoading=function(){return this.componentLoading||this.searchState.componentsLoading||this.searchState.teamsLoading};
var Mwc=function(a){if(a.selectedComponent){var b=Nu(a.trackerHelpers,a.selectedComponent.componentPathInfo);b=qPa(a.selectedComponent,b);a.searchState.searchQuery$.next(b.componentPath.length?b.componentPath[b.componentPath.length-1].pathText:"")}else a.searchState.searchQuery$.next("")},Nwc=function(a){if(a.dropdown&&a.keyManager&&a.keyManager.activeItem){var b=a.keyManager.activeItem.elementRef.nativeElement,c=b.offsetTop;b=b.offsetHeight;var d=a.dropdown.nativeElement.scrollTop,e=a.dropdown.nativeElement.offsetHeight;
a.dropdown.nativeElement.scrollTop=c<d?c:c+b>d+e?Math.max(0,c-e+b):d}};g=sO.prototype;g.ngOnChanges=function(a){a.selectedComponent&&(Mwc(this),this.checkAdminAccess&&this.selectedComponent&&Owc(this,this.selectedComponent))};g.ngOnDestroy=function(){this.close();Z.prototype.ngOnDestroy.call(this)};
g.ngAfterViewInit=function(){var a=this;this.keyManager=Bx(Cx(new Gx(this.listOptions)));this.searchState.listUpdated$.pipe(Of(this.destroyed$)).subscribe(function(){a.cdr.markForCheck()});this.listOptions.changes.pipe(Of(this.destroyed$)).subscribe(function(b){var c=b.toArray();b=c.filter(function(e){return e.listOrder==null});c=c.filter(function(e){return e.listOrder!=null}).sort(TQa);b=[].concat(w(c),w(b));a.listOptions.reset(b);var d;if((d=a.keyManager)==null?0:d.activeItem)d=b.indexOf(a.keyManager.activeItem),
d>-1&&d!==a.keyManager.activeItemIndex&&a.keyManager.setActiveItem(d)});this.shouldFocus&&setTimeout(function(){a.inputBox.nativeElement.focus()})};g.open=function(){this.isDropdownOpen||(this.isDropdownOpen=!0,this.dropdownOverlayRef=this.createOverlay(),this.attach())};
g.close=function(a){a=a===void 0?!1:a;this.isDropdownOpen&&this.dropdownOverlayRef&&(this.searchState.searchQuery$.value||(this.selectedComponent=void 0,this.selectedComponentChange.emit(void 0)),this.searchState.state$.value==="team_scope"&&oQa(this.searchState),this.isDropdownOpen=!1,this.dropdownOverlayRef.dispose(),this.dropdownOverlayRef=void 0,this.clearActiveItem(),this.dropdownClosed.emit(),this.analytics.trackEvent("componentPicker","close",a?"with-selection":"without-selection"))};
g.clearQuery=function(){this.searchState.searchQuery$.next("");this.isDropdownOpen||this.inputBox.nativeElement.focus()};var Pwc=function(a){var b,c,d;return(d=(b=a.keyManager)==null?void 0:(c=b.activeItem)==null?void 0:c.id)!=null?d:void 0};
sO.prototype.handleKeydown=function(a){var b=this;if(this.keyManager)switch(a.key){case "Escape":this.close();break;case "ArrowUp":a.preventDefault();this.isDropdownOpen?(this.keyManager.onKeydown(a),Nwc(this)):(this.open(),setTimeout(function(){var d;(d=b.keyManager)==null||P2b(d);Nwc(b)}));break;case "ArrowDown":this.isDropdownOpen?(this.keyManager.onKeydown(a),Nwc(this)):(this.open(),setTimeout(function(){var d;(d=b.keyManager)!=null&&d._setActiveItemByIndex(0,1);Nwc(b)}));break;case "Enter":this.keyManager.activeItem&&
(this.searchState.teamScope$.value===this.keyManager.activeItem.data?oQa(this.searchState):this.searchState.selectOption(this.keyManager.activeItem.data),a.preventDefault());break;case "ArrowRight":if(this.keyManager.activeItem){var c=this.keyManager.activeItem.data;c.type==="team"?(a.preventDefault(),lQa(this.searchState,c)):c.type==="component"&&(a.preventDefault(),this.searchState.expandComponent(c))}break;case "ArrowLeft":this.keyManager.activeItem&&this.keyManager.activeItem.data.type==="team"&&
(a.preventDefault(),this.searchState.teamScope$.value!==this.keyManager.activeItem.data||this.searchState.teamScope$.value.expanded?kQa(this.searchState,this.keyManager.activeItem.data):Cwc(this.searchState));this.searchState.state$.value==="component_scope"&&(a.preventDefault(),uQa(this.searchState));break;case "Backspace":case "Delete":this.keyManager.activeItem&&this.searchState.teamScope$.value===this.keyManager.activeItem.data&&(oQa(this.searchState),a.preventDefault());break;default:this.touched.emit(),
this.isDropdownOpen||this.open()}};var sq=function(a){a.preventDefault();a.stopPropagation()},Owc=function(a,b){a.checkingAccess=!0;a.hasAccess=!1;$C(a.userAccess,"admin","components/"+b.componentId).then(function(c){a.checkingAccess=!1;a.accessCheckComplete.emit(c);a.hasAccess=c})};g=sO.prototype;
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy(),c;return this.overlay.create(new cy({positionStrategy:a,scrollStrategy:b,panelClass:["b-team-component-picker-dropdown","gmat-elevation-z3"],width:(c=this.container.nativeElement)==null?void 0:c.offsetWidth}))};g.attach=function(){var a=new ny(this.dropdownTemplateRef,this.viewContainerRef),b;(b=this.dropdownOverlayRef)==null||b.attach(a);var c;(c=this.dropdownOverlayRef)==null||c.updatePosition()};
g.getPositionStrategy=function(){return fy(f3b(hy(ky(this.overlay.position(),this.container),!1),!1),Lwc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};g.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&(this.keyManager.setActiveItem(-1),this.dropdown&&(this.dropdown.nativeElement.scrollTop=0))};ea.Object.defineProperties(sO.prototype,{includeArchived:{configurable:!0,enumerable:!0,set:function(a){this.searchState.includeArchived=a}}});
sO.\u0275fac=function(){var a;return function(b){return(a||(a=de(sO)))(b||sO)}}();
sO.\u0275cmp=t({type:sO,selectors:[["b-team-component-picker"]],viewQuery:function(a,b){a&1&&(Mg(Hwc,7),Mg(Iwc,7),Mg(Jwc,7),Mg(Kwc,5),Mg(nO,5));if(a&2){var c;Qg(c=Rg())&&(b.container=c.first);Qg(c=Rg())&&(b.inputBox=c.first);Qg(c=Rg())&&(b.dropdownTemplateRef=c.first);Qg(c=Rg())&&(b.dropdown=c.first);Qg(c=Rg())&&(b.listOptions=c)}},inputs:{placeholder:"placeholder",isRequired:"isRequired",ariaLabel:"ariaLabel",selectedComponent:"selectedComponent",checkAdminAccess:"checkAdminAccess",shouldFocus:"shouldFocus",
includeArchived:"includeArchived"},outputs:{accessCheckComplete:"accessCheckComplete",touched:"touched",selectedComponentChange:"selectedComponentChange",dropdownClosed:"dropdownClosed"},features:[cg,Hd],decls:13,vars:10,consts:[["container",""],["inputBox",""],["dropdownTemplate",""],["teamTreeItem",""],["componentList",""],["dropdown",""],[1,"container","pseudo-input"],["type","text","role","combobox","autocomplete","off","spellcheck","false","aria-autocomplete","list",1,"override",3,"ngModelChange",
"keydown","click","focus","blur","ngModel","placeholder","required"],"mat-icon-button;;tabindex;-1;matTooltip;Clear component;aria-label;Clear component".split(";"),["mat-icon-button","","tabindex","-1","matTooltip","Clear component","aria-label","Clear component",3,"mousedown"],["svgIcon","clear"],[1,"bv2-picker-checking"],[1,"bv2-picker-error"],["target","_blank",3,"href"],[1,"dropdown",3,"mousedown"],[1,"progress-bar-container"],["mode","indeterminate"],[1,"dropdown-content"],[4,"ngTemplateOutlet",
"ngTemplateOutletContext"],["role","tree"],[1,"section-header"],["role","treeitem","listOption","",1,"list-option",3,"data"],["role","treeitem","listOption","",1,"list-option",3,"mousedown","data"],[3,"selectTeamId","teamOption","query","hasNoComponent"],["tabindex","-1",1,"unstyled","expand-team-line-button"],["tabindex","-1",1,"unstyled","expand-team-line-button",3,"mousedown"],["svgIcon","arrow-down"],[1,"team-scope-container"],["listOption","",1,"team-scope",3,"data","listOrder"],[3,"selectTeamId",
"teamOption","query","compact","allowSegmentSelection"],["tabindex","-1","mat-icon-button","","matTooltip","Clear team filter",1,"small","clear-filter",3,"mousedown"],["svgIcon","close"],[1,"team-scope-child-teams"],[1,"component-scope-container"],[1,"title"],["mode","tree",3,"goBack","selectComponentId","componentOption"],["role","treeitem","listOption","",1,"list-option",3,"mousedown","listOrder","data"],[1,"team-row-container"],["mat-icon-button","","aria-label","Show child teams",1,"arrow-button"],
["mat-icon-button","","aria-label","Show child teams",1,"arrow-button",3,"mousedown"],["svgIcon","arrow-dropdown"],["role","listbox"],["role","option","listOption","",1,"list-option",3,"data"],["role","option","listOption","",1,"list-option",3,"mousedown","data"],[3,"selectComponentId","expandComponent","showFolderSpecialIcon","componentOption","query","mode"],[1,"empty-list","muted"],["svgIcon","close",1,"icon-xs","valign-middle"],["href","http://go/buganizer:component-mapping#associate","target",
"_blank"],["svgIcon","pop-out",1,"icon-xs"]],template:function(a,b){if(a&1){var c=x();I(0,"div",6,0)(2,"input",7,1);S(4,"async");M("ngModelChange",function(d){z(c);return A(b.searchState.searchQuery$.next(d))})("keydown",function(d){z(c);return A(b.handleKeydown(d))})("click",function(){z(c);b.open();return A(b.touched.emit())})("focus",function(){z(c);return A(b.open())})("blur",function(){z(c);return A(b.close())});J();D(5,GPa,2,0,"button",8);J();D(6,KPa,3,1,"div")(7,AQa,10,4,"ng-template",null,
2,fh)(9,GQa,5,11,"ng-template",null,3,fh)(11,SQa,2,1,"ng-template",null,4,fh)}a&2&&(a=L(3),C(2),F("ngModel",U(4,8,b.searchState.searchQuery$))("placeholder",b.placeholder)("required",b.isRequired),eg("aria-label",b.ariaLabel+(b.selectedComponent?" Component selected. Change.":" Choose component"))("aria-expanded",b.isDropdownOpen)("aria-activedescendant",Pwc(b)),C(3),G(a.value?5:-1),C(),G(b.checkAdminAccess?6:-1))},dependencies:[Hw,$D,ki,tz,Mz,Bz,vD,Xy,DM,FH,HH,rO,pO,oO,lO,nO,Iw],styles:[".container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:4px;min-width:380px;height:28px}.container[_ngcontent-%COMP%]:focus-within{border:2px solid;border-color:#1a73e8;border-color:var(--primary)}input[_ngcontent-%COMP%]{width:100%;border:0;outline:none;background-color:#fff;background-color:var(--input-field-bg);color:#202124;color:var(--text-high-contrast)}input[_ngcontent-%COMP%]:focus{border:0;outline:none}.dropdown[_ngcontent-%COMP%]{width:100%;max-height:500px;overflow:auto}.dropdown-content[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:5px 0 10px}.progress-bar-container[_ngcontent-%COMP%]{height:8px;border-radius:4px;overflow:hidden}mat-divider[_ngcontent-%COMP%]{width:100%;margin-top:16px;margin-bottom:16px}  .b-team-component-picker-dropdown{border-radius:4px;background-color:#fff;background-color:var(--surface-default)}.section-header[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;padding:2px 14px}.section-header[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{margin-left:auto}.list-option[_ngcontent-%COMP%]{cursor:pointer;padding:0 10px}.list-option[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.list-option.active[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.16);background-color:var(--active-bg)}.team-row-container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.team-row-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-top:4px}team-row[_ngcontent-%COMP%]{width:100%}.team-scope[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;padding:2px 10px}.team-scope[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:auto}.team-scope.active[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.16);background-color:var(--active-bg)}.team-scope.active[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border-color:#1a73e8;border-color:var(--primary-c600)}.team-scope.active[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]     .mat-mdc-button-persistent-ripple{background-color:#1a73e8;background-color:var(--primary-c600);opacity:.12}.team-scope-container[_ngcontent-%COMP%]{margin-bottom:10px}.expand-team-line-button[_ngcontent-%COMP%]{cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;margin-top:4px;margin-left:12px;color:#1a73e8;color:var(--link)}.expand-team-line-button[_ngcontent-%COMP%]   mat-icon.expanded[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.expand-team-line-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:6px}.mat-mdc-icon-button[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);width:20px;height:20px;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;line-height:20px}.mat-mdc-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{--mdc-icon-button-icon-size:16px;height:16px;width:16px;line-height:16px}.mat-mdc-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]:not(.expanded){-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.indent[_ngcontent-%COMP%]{margin-left:24px}.arrow-button[_ngcontent-%COMP%]{margin-right:4px}.team-scope-child-teams[_ngcontent-%COMP%]   .list-option[_ngcontent-%COMP%]{padding-left:14px}.component-scope-container[_ngcontent-%COMP%] > .title[_ngcontent-%COMP%]{font-weight:700;padding:4px 16px;background-color:#f1f3f4;background-color:var(--c100)}.component-scope-container[_ngcontent-%COMP%] > component-row[_ngcontent-%COMP%]{display:block;margin-left:10px}.empty-list[_ngcontent-%COMP%]{padding:4px 18px}button.clear-filter[_ngcontent-%COMP%]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}\n/*# sourceMappingURL=team_component_picker.css.map */"],
changeDetection:0});var tO=function(){this.warningChunks=[]};tO.prototype.ngOnInit=function(){var a=this.warningText,b=YQa(a,"EXTERNAL_PUBLIC")||YQa(a,"EXTERNAL_PARTNER");this.warningChunks=b?[{text:a.substring(0,b.startOfMatch)},{accessLevel:b.accessLevel},{text:a.substring(b.endOfMatch)}]:[{text:a}]};tO.\u0275fac=function(a){return new (a||tO)};
tO.\u0275cmp=t({type:tO,selectors:[["b-component-move-warning-content"]],inputs:{warningText:"warningText"},decls:3,vars:0,consts:[[3,"accessLevel"]],template:function(a,b){a&1&&(I(0,"div"),tg(1,WQa,3,1,"span",null,sg),J());a&2&&(C(),ug(b.warningChunks))},dependencies:[cO],encapsulation:2});var XQa=new Map([["EXTERNAL_PUBLIC","visible to public users"],["EXTERNAL_PARTNER","visible to external partners"]]);var Qwc=["input"],Rwc=["formField"],Swc=0,Twc=function(a,b){this.source=a;this.value=b},Uwc={provide:mz,useExisting:id(function(){return uO}),multi:!0},Vwc=new Bd("MatRadioGroup"),Wwc=new Bd("mat-radio-default-options",{providedIn:"root",factory:ZQa}),uO=function(){this._changeDetector=r(rw);this._value=null;this._name="mat-radio-group-"+Swc++;this._selected=null;this._isInitialized=!1;this._labelPosition="after";this._required=this._disabled=!1;this._controlValueAccessorChangeFn=function(){};this.onTouched=
function(){};this.change=new kw;this._disabledInteractive=!1};g=uO.prototype;g._checkSelectedRadioButton=function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)};g.ngAfterContentInit=function(){var a=this;this._isInitialized=!0;this._buttonChanges=this._radios.changes.subscribe(function(){a.selected&&!a._radios.find(function(b){return b===a.selected})&&(a._selected=null)})};g.ngOnDestroy=function(){var a;(a=this._buttonChanges)==null||a.unsubscribe()};g._touch=function(){if(this.onTouched)this.onTouched()};
g._updateRadioButtonNames=function(){var a=this;this._radios&&this._radios.forEach(function(b){b.name=a.name;b._markForCheck()})};g._updateSelectedRadioFromValue=function(){var a=this,b=this._selected!==null&&this._selected.value===this._value;this._radios&&!b&&(this._selected=null,this._radios.forEach(function(c){c.checked=a.value===c.value;c.checked&&(a._selected=c)}))};g._emitChangeEvent=function(){this._isInitialized&&this.change.emit(new Twc(this._selected,this._value))};
g._markRadiosForCheck=function(){this._radios&&this._radios.forEach(function(a){return a._markForCheck()})};g.writeValue=function(a){this.value=a;this._changeDetector.markForCheck()};g.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a;this._changeDetector.markForCheck()};
ea.Object.defineProperties(uO.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._name=a;this._updateRadioButtonNames()}},labelPosition:{configurable:!0,enumerable:!0,get:function(){return this._labelPosition},set:function(a){this._labelPosition=a==="before"?"before":"after";this._markRadiosForCheck()}},value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this._value!==a&&(this._value=a,this._updateSelectedRadioFromValue(),
this._checkSelectedRadioButton())}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this.value=(this._selected=a)?a.value:null;this._checkSelectedRadioButton()}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=a;this._markRadiosForCheck()}},required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=a;this._markRadiosForCheck()}},disabledInteractive:{configurable:!0,
enumerable:!0,get:function(){return this._disabledInteractive},set:function(a){this._disabledInteractive=a;this._markRadiosForCheck()}}});uO.\u0275fac=function(a){return new (a||uO)};
uO.\u0275dir=ud({type:uO,selectors:[["mat-radio-group"]],contentQueries:function(a,b,c){a&1&&Ng(c,vO,5);if(a&2){var d;Qg(d=Rg())&&(b._radios=d)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:[2,"disabled","disabled",rh],required:[2,"required","required",rh],disabledInteractive:[2,"disabledInteractive","disabledInteractive",rh]},outputs:{change:"change"},exportAs:["matRadioGroup"],
standalone:!0,features:[Yg([Uwc,{provide:Vwc,useExisting:uO}]),dg]});
var vO=function(){var a=this;this._elementRef=r(ge);this._changeDetector=r(rw);this._focusMonitor=r(ax);this._radioDispatcher=r(Xx);this._defaultOptions=r(Wwc,{optional:!0});this._ngZone=r(hh);this.id=this._uniqueId="mat-radio-"+ ++Swc;this.disableRipple=!1;this.tabIndex=0;this.change=new kw;this._checked=!1;this._value=null;this._removeUniqueSelectionListener=function(){};this._injector=r(Sf);this._onInputClick=function(h){a.disabled&&a.disabledInteractive&&h.preventDefault()};r(Yw).load(Fy);var b=
r(Vwc,{optional:!0}),c=r(Zv,{optional:!0}),d=r(new Vv("tabindex"),{optional:!0});this.radioGroup=b;this._noopAnimations=c==="NoopAnimations";var e,f;this._disabledInteractive=(f=(e=this._defaultOptions)==null?void 0:e.disabledInteractive)!=null?f:!1;d&&(this.tabIndex=sh(d,0))};g=vO.prototype;g.focus=function(a,b){b?bx(this._focusMonitor,this._inputElement,b,a):this._inputElement.nativeElement.focus(a)};g._markForCheck=function(){this._changeDetector.markForCheck()};
g.ngOnInit=function(){var a=this;if(this.radioGroup){if(this.checked=this.radioGroup.value===this._value)this.radioGroup.selected=this;this.name=this.radioGroup.name}this._removeUniqueSelectionListener=this._radioDispatcher.listen(function(b,c){b!==a.id&&c===a.name&&(a.checked=!1)})};g.ngDoCheck=function(){this._updateTabIndex()};
g.ngAfterViewInit=function(){var a=this;this._updateTabIndex();this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){!b&&a.radioGroup&&a.radioGroup._touch()});this._ngZone.runOutsideAngular(function(){a._inputElement.nativeElement.addEventListener("click",a._onInputClick)})};g.ngOnDestroy=function(){var a;(a=this._inputElement)==null||a.nativeElement.removeEventListener("click",this._onInputClick);this._focusMonitor.stopMonitoring(this._elementRef);this._removeUniqueSelectionListener()};
g._emitChangeEvent=function(){this.change.emit(new Twc(this,this._value))};g._isRippleDisabled=function(){return this.disableRipple||this.disabled};g._onInputInteraction=function(a){a.stopPropagation();this.checked||this.disabled||(a=this.radioGroup&&this.value!==this.radioGroup.value,this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),a&&this.radioGroup._emitChangeEvent()))};
g._onTouchTargetClick=function(a){this._onInputInteraction(a);if(!this.disabled||this.disabledInteractive){var b;(b=this._inputElement)==null||b.nativeElement.focus()}};g._setDisabled=function(a){this._disabled!==a&&(this._disabled=a,this._changeDetector.markForCheck())};
g._updateTabIndex=function(){var a=this,b=this.radioGroup;var c=b&&b.selected&&!this.disabled?b.selected===this?this.tabIndex:-1:this.tabIndex;if(c!==this._previousTabIndex){var d,e=(d=this._inputElement)==null?void 0:d.nativeElement;e&&(e.setAttribute("tabindex",c+""),this._previousTabIndex=c,Uf(function(){queueMicrotask(function(){if(b&&b.selected&&b.selected!==a&&document.activeElement===e){var f;(f=b.selected)==null||f._inputElement.nativeElement.focus();document.activeElement===e&&a._inputElement.nativeElement.blur()}})},
{injector:this._injector}))}};
ea.Object.defineProperties(vO.prototype,{checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){this._checked!==a&&((this._checked=a)&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!a&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),a&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}},value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this._value!==
a&&(this._value=a,this.radioGroup!==null&&(this.checked||(this.checked=this.radioGroup.value===a),this.checked&&(this.radioGroup.selected=this)))}},labelPosition:{configurable:!0,enumerable:!0,get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(a){this._labelPosition=a}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this.radioGroup!==null&&this.radioGroup.disabled},set:function(a){this._setDisabled(a)}},required:{configurable:!0,
enumerable:!0,get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(a){this._required=a}},color:{configurable:!0,enumerable:!0,get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._defaultOptions&&this._defaultOptions.color||"accent"},set:function(a){this._color=a}},disabledInteractive:{configurable:!0,enumerable:!0,get:function(){return this._disabledInteractive||this.radioGroup!==null&&this.radioGroup.disabledInteractive},set:function(a){this._disabledInteractive=
a}},inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-input"}}});vO.\u0275fac=function(a){return new (a||vO)};
vO.\u0275cmp=t({type:vO,selectors:[["mat-radio-button"]],viewQuery:function(a,b){a&1&&(Mg(Qwc,5),Mg(Rwc,7,ge));if(a&2){var c;Qg(c=Rg())&&(b._inputElement=c.first);Qg(c=Rg())&&(b._rippleTrigger=c.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:19,hostBindings:function(a,b){a&1&&M("focus",function(){return b._inputElement.nativeElement.focus()});a&2&&(eg("id",b.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),ng("mat-primary",b.color==="primary")("mat-accent",
b.color==="accent")("mat-warn",b.color==="warn")("mat-mdc-radio-checked",b.checked)("mat-mdc-radio-disabled",b.disabled)("mat-mdc-radio-disabled-interactive",b.disabledInteractive)("_mat-animation-noopable",b._noopAnimations))},inputs:{id:"id",name:"name",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],disableRipple:[2,"disableRipple","disableRipple",rh],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==
null?0:sh(a)}],checked:[2,"checked","checked",rh],value:"value",labelPosition:"labelPosition",disabled:[2,"disabled","disabled",rh],required:[2,"required","required",rh],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",rh]},outputs:{change:"change"},exportAs:["matRadioButton"],standalone:!0,features:[dg,$g],ngContentSelectors:["*"],decls:13,vars:17,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",
3,"click"],["type","radio",1,"mdc-radio__native-control",3,"change","id","checked","disabled","required"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(a,b){if(a&1){var c=x();Dg();I(0,"div",2,0)(2,"div",3)(3,"div",4);M("click",function(d){z(c);
return A(b._onTouchTargetClick(d))});J();I(4,"input",5,1);M("change",function(d){z(c);return A(b._onInputInteraction(d))});J();I(6,"div",6);K(7,"div",7)(8,"div",8);J();I(9,"div",9);K(10,"div",10);J()();I(11,"label",11);Eg(12);J()()}a&2&&(F("labelPosition",b.labelPosition),C(2),ng("mdc-radio--disabled",b.disabled),C(2),F("id",b.inputId)("checked",b.checked)("disabled",b.disabled&&!b.disabledInteractive)("required",b.required),eg("name",b.name)("value",b.value)("aria-label",b.ariaLabel)("aria-labelledby",
b.ariaLabelledby)("aria-describedby",b.ariaDescribedby)("aria-disabled",b.disabled&&b.disabledInteractive?"true":null),C(5),F("matRippleTrigger",b._rippleTrigger.nativeElement)("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",!0),C(2),F("for",b.inputId))},dependencies:[Ky,Gy],styles:['.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mdc-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled])~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color, var(--mat-app-on-surface))}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color, var(--mat-app-primary))}.mat-mdc-radio-button .mdc-radio:active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color, var(--mat-app-on-surface))}.mat-mdc-radio-button .mdc-radio:active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color, var(--mat-app-primary))}.mat-mdc-radio-button .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-radio-button .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px);top:calc(-1*(var(--mdc-radio-state-layer-size, 40px) - 20px)/2);left:calc(-1*(var(--mdc-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color, var(--mat-app-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color, var(--mat-app-primary))}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled{pointer-events:auto}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-app-on-surface))}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color, var(--mat-app-primary))}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-app-on-surface))}.mat-mdc-radio-button .mat-internal-form-field{color:var(--mat-radio-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-radio-label-text-font, var(--mat-app-body-medium-font));line-height:var(--mat-radio-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-radio-label-text-size, var(--mat-app-body-medium-size));letter-spacing:var(--mat-radio-label-text-tracking, var(--mat-app-body-medium-tracking));font-weight:var(--mat-radio-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-focus-indicator::before{content:""}.mat-mdc-radio-disabled{cursor:default;pointer-events:none}.mat-mdc-radio-disabled.mat-mdc-radio-disabled-interactive{pointer-events:auto}.mat-mdc-radio-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display, block)}[dir=rtl] .mat-mdc-radio-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}\n'],
encapsulation:2,changeDetection:0});var wO=function(){this.data=r(jL);this.documentationLinks=r(cL);this.dialogRef=r(dL);var a=this.documentationLinks;this.learnMore=a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/access-control":"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-dos-donts#moving-issues-to-a-new-component";this.acknowledged=!0;this.header=this.data.response.warningHeader;this.warning=this.data.response.warning;this.isExternalMove=this.data.response.isExternalMove;this.isLimitNoneIssueTrackerMove=
this.data.isLimitNoneIssueTrackerMove;this.setLimitViewTrusted=this.isExternalMove&&this.isLimitNoneIssueTrackerMove;this.isAllowed=this.data.response.isAllowed;this.callbacks=this.data.callbacks;this.isExternalMove&&!this.isLimitNoneIssueTrackerMove&&(this.acknowledged=!1)};wO.prototype.allow=function(){var a;(a=this.dialogRef)==null||a.close();this.isAllowed&&this.acknowledged&&this.callbacks.allow(this.setLimitViewTrusted)};
wO.prototype.cancel=function(){var a;(a=this.dialogRef)==null||a.close();this.callbacks.cancel()};wO.\u0275fac=function(a){return new (a||wO)};
wO.\u0275cmp=t({type:wO,selectors:[["b-component-move-warning"]],decls:13,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"component-move-warning-text"],[3,"warningText"],["target","_blank"],["mat-button","","mat-dialog-close","",1,"medium",3,"click"],["mat-flat-button","","cdkFocusInitial","",3,"disabled"],["aria-labelledby","issue-access-limit-radio-label",3,"ngModelChange","ngModel"],[1,"margin-s-bottom",3,"value"],[3,"value"],[3,"ngModelChange","ngModel"],["mat-flat-button",
"","cdkFocusInitial","",3,"click","disabled"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1),J(),I(2,"div",1)(3,"div",2),K(4,"b-component-move-warning-content",3),J(),K(5,"br"),I(6,"a",4),Q(7,"Learn more"),J(),D(8,bRa,3,1,"div"),J(),I(9,"mat-dialog-actions")(10,"button",5),M("click",function(){return b.cancel()}),Q(11," Cancel "),J(),D(12,cRa,2,1,"button",6),J());a&2&&(C(),Tg(b.header),C(3),F("warningText",b.warning),C(2),eg("href",b.learnMore,of),C(2),G(b.isExternalMove&&b.isAllowed?8:-1),C(4),G(b.isAllowed?
12:-1))},dependencies:[tz,Bz,vD,Vy,uO,vO,qN,uN,lL,nL,pL,oL,tO],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-right: 8px;\n    }"],changeDetection:0});var Xwc=function(a){this.internalArray_=m(a,0,Xwc.messageId)};Y(Xwc,V);Xwc.messageId="b.CompareComponentAccessResponse";var xO=function(){this.executor=r(PB)};xO.prototype.check=function(a,b,c){return this.executor.get({url:"action/compare_component_access/"+a+"/"+b,options:{params:{issueId:c}},responseConstructor:Xwc}).then(Rxa)};xO.\u0275fac=function(a){return new (a||xO)};xO.\u0275prov=n({token:xO,factory:xO.\u0275fac,providedIn:"root"});var yO=function(){this.issueInteractionsTracking=r(VL);this.issueFullFridge=r(yG);this.componentFridge=r(AC);this.butterBar=r(hE);this.compareComponentAccess=r(xO);this.matDialogService=r(kL);this.editIssueService=r(jM);this.activeSession=r(dv)};
yO.prototype.updateComponent=function(a,b){var c=this,d,e,f,h,l,q,v,y,E,H,O,N;return ve(function(T){switch(T.nextAddress){case 1:a=String(a);Vrc(c.issueInteractionsTracking,a,{label:"changeComponent"});if(!b)return T.return(!1);d=k;return xe(T,Promise.all([Je(c.issueFullFridge.watch(a)),Je(c.componentFridge.watch(b))]),2);case 2:e=d(T.yieldResult);f=e.next().value;h=e.next().value;l=f;q=h;if(!l)return c.butterBar.showWarning("Could not load issue "+a),T.return(!1);if(!q)return c.butterBar.showWarning("Could not load component "+
b),T.return(!1);v=l.snapshot[0].componentId;return v===b?T.return(!1):xe(T,c.compareComponentAccess.check(String(v),String(b),a),3);case 3:y=T.yieldResult;E=!!q.trackerId;H=l.snapshot[0].issueAccessLimitLevel==="LIMIT_NONE";O=lu(c.activeSession,"enableTrackerBoundaryImprovements")&&E&&H;N={allow:!1,setLimitViewTrusted:!1};if(!y.warning){T.jumpTo(4);break}return xe(T,Ywc(c,y,O),5);case 5:if(N=T.yieldResult,!N.allow)return T.return(!1);case 4:return xe(T,c.editIssueService.updateComponent(a,b,y.isExternalMove,
N.setLimitViewTrusted),6);case 6:return T.return(!0)}})};var Ywc=function(a,b,c){c=c===void 0?!1:c;return new Promise(function(d){eL(a.matDialogService.open(wO,{width:"580px",data:{response:b,isLimitNoneIssueTrackerMove:c,callbacks:{allow:function(e){d({allow:!0,setLimitViewTrusted:e})},cancel:function(){d({allow:!1,setLimitViewTrusted:!1})}}}})).subscribe(function(){d({allow:!1,setLimitViewTrusted:!1})})})};yO.\u0275fac=function(a){return new (a||yO)};
yO.\u0275prov=n({token:yO,factory:yO.\u0275fac,providedIn:"root"});var zO=function(){this.bLocation=r(WI);this.listIssues=tq.listIssues.makeHref;this.createIssue=tq.createIssue.makeHref};zO.prototype.viewSavedSearch=function(a,b){return dRa(tq.viewSavedSearch.routeDeclarationPath,{id:a,params:b})};var Zwc=function(a,b){b=b.charAt(0)!=="/"?"/"+b:b;a=a.bLocation.getUrl();a=new Dp(a);b=new Dp(b);return a.getPath()===b.getPath()&&hI(a.queryData_.toString())===hI(b.queryData_.toString())};g=zO.prototype;g.createBookmarkGroup=function(){return tq.createBookmarkGroup.routeDeclarationPath};
g.viewBookmarkGroup=function(a){return dRa(tq.viewBookmarkGroup.routeDeclarationPath,{id:a})};g.editBookmarkGroup=function(a){return xq(tq.editBookmarkGroup.routeDeclarationPath,{id:a})};g.editSavedSearch=function(a){return xq(tq.editSavedSearch.routeDeclarationPath,{id:a})};g.getBaseUrl=function(){var a=this.bLocation.platformLocation.href;a=a.slice(0,a.length-this.bLocation.getUrl().length);a.charAt(a.length-1)==="/"&&(a=a.slice(0,a.length-1));return a};
g.settings=function(a){return a?xq(tq.settingsTab.routeDeclarationPath,{id:a,token:":settingsTab?"}):xq(tq.settings.routeDeclarationPath)};g.home=function(){return xq(tq.home.routeDeclarationPath,{params:void 0})};zO.\u0275fac=function(a){return new (a||zO)};zO.\u0275prov=n({token:zO,factory:zO.\u0275fac,providedIn:"root"});var $wc=function(a){this.internalArray_=m(a)};Y($wc,V);g=$wc.prototype;g.getFormattingMode=function(){return Kj(this,1,0)};g.setFormattingMode=function(a){return ej(this,1,a)};g.getSource=function(){return Gh(this,2)};g.setSource=function(a){return cj(this,2,a)};g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,3)};g.getIssueId_asString=function(){return Oo(this,3)};g.setIssueId=function(a){return pl(this,3,a)};g.getIdPrefix=function(){return Gh(this,4)};
g.setIdPrefix=function(a){return cj(this,4,a)};var AO=function(a){this.internalArray_=m(a,0,AO.messageId)};Y(AO,V);AO.prototype.getIt=function(){return W(this,$wc,8)};AO.prototype.setIt=function(a){return X(this,$wc,8,a)};AO.messageId="b.FormatCommentRequest";var BO=function(a){this.internalArray_=m(a)};Y(BO,V);BO.prototype.getFormattedComment=function(){return W(this,em,1)};BO.prototype.hasFormattedComment=function(){return Oj(this,em,1)};BO.prototype.getMentionsList=function(a){return nj(this,eB,2,Wi(a))};var CO=function(a){this.internalArray_=m(a,0,CO.messageId)};Y(CO,V);CO.prototype.getIt=function(){return W(this,BO,3)};CO.prototype.setIt=function(a){return X(this,BO,3,a)};CO.messageId="b.FormatCommentResponse";var DO=function(){this.executor=r(OB);this.activeSession=r(dv)};DO.prototype.format=function(a){return a.formattingMode==="LITERAL"||a.comment.trim()===""?lRa(a):axc(this,a).pipe(B(kRa))};
var axc=function(a,b){var c,d=(new $wc).setFormattingMode(Sl(b.formattingMode)).setSource(b.comment).setIssueId((c=hj(b.issueId))!=null?c:0).setIdPrefix(b.idPrefix);c=b.audience==="EXTERNAL";var e=a.activeSession.getTracker();c=c?(e==null?void 0:e.externalBaseUrl)||a.activeSession.getExternalBaseUrl():(e==null?void 0:e.internalBaseUrl)||a.activeSession.getInternalBaseUrl();d=cj(d,5,c);b=ej(d,6,j7b[b.audience]);return a.executor.post({url:"action/formatComment",body:(new AO).setIt(b),responseConstructor:CO})};
DO.\u0275fac=function(a){return new (a||DO)};DO.\u0275prov=n({token:DO,factory:DO.\u0275fac,providedIn:"root"});var bxc=function(){this.documentationLinks=r(cL)};bxc.\u0275fac=function(a){return new (a||bxc)};
bxc.\u0275cmp=t({type:bxc,selectors:[["b-issue-component-retention-dialog"]],decls:12,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["mat-dialog-actions",""],["mat-stroked-button","",1,"medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium","dialog-primary-action",3,"mat-dialog-close"]],template:function(a){a&1&&(I(0,"h1",0),Q(1,"Apply component retention settings?"),J(),I(2,"div",1)(3,"p"),Q(4," This issue is currently retained indefinitely. If you select this option, this issue will be scheduled for deletion based on the component retention settings. "),
J(),I(5,"a",2),Q(6,"Learn more"),J()(),I(7,"div",3)(8,"button",4),Q(9," Cancel "),J(),I(10,"button",5),Q(11," OK "),J()());a&2&&(C(5),F("href",Zu(),of),C(3),F("mat-dialog-close",!1),C(2),F("mat-dialog-close",!0))},dependencies:[lL,nL,pL,oL,vD,Vy],encapsulation:2});var cxc=function(){this.documentationLinks=r(cL);this.data=r(jL);this.deletionReasons=this.data.deletionReasons;this.attachmentId=this.data.attachmentId};cxc.\u0275fac=function(a){return new (a||cxc)};
cxc.\u0275cmp=t({type:cxc,selectors:[["b-issue-delete-attachment-dialog"]],decls:15,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["title","Deletion Reasons Help Link","target","_blank",1,"icon-s",3,"href"],[3,"ngModelChange","ngModel"],[3,"value","disabled"],["mat-dialog-actions",""],["mat-stroked-button","",1,"medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary",1,"medium","dialog-primary-action",3,"mat-dialog-close","disabled"]],template:function(a,b){a&1&&(I(0,
"h1",0),Q(1),J(),I(2,"div",1)(3,"span"),Q(4," Please select the reason for deleting this attachment. "),I(5,"a",2),Q(6," \u00a0Learn more "),J()(),I(7,"mat-radio-group",3),Xg("ngModelChange",function(c){Wg(b.selectedReason,c)||(b.selectedReason=c);return c}),tg(8,nRa,3,4,"mat-radio-button",4,sg),J()(),I(10,"div",5)(11,"button",6),Q(12," Cancel "),J(),I(13,"button",7),Q(14," Delete "),J()());a&2&&(C(),R("Delete attachment ",b.attachmentId,""),C(4),F("href",Eqc(b.documentationLinks),of),C(2),Vg("ngModel",
b.selectedReason),C(),ug(b.deletionReasons),C(5),F("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[lL,nL,pL,oL,vD,Vy,tz,Bz,uO,vO],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var dxc=function(){this.documentationLinks=r(cL);this.data=r(jL);this.deletionReasons=this.data.deletionReasons;this.commentNumber=this.data.commentNumber;this.issueId=this.data.issueId};dxc.\u0275fac=function(a){return new (a||dxc)};
dxc.\u0275cmp=t({type:dxc,selectors:[["b-issue-delete-comment-dialog"]],decls:15,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["title","Deletion Reasons Help Link","target","_blank",1,"icon-s",3,"href"],[3,"ngModelChange","ngModel"],[3,"value","disabled"],["mat-dialog-actions",""],["mat-stroked-button","",1,"medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary",1,"medium","dialog-primary-action",3,"mat-dialog-close","disabled"]],template:function(a,b){a&1&&(I(0,
"h1",0),Q(1),J(),I(2,"div",1)(3,"label"),Q(4,"Please select the reason for deleting this comment."),J(),I(5,"a",2),Q(6," \u00a0Learn more "),J(),I(7,"mat-radio-group",3),Xg("ngModelChange",function(c){Wg(b.selectedReason,c)||(b.selectedReason=c);return c}),tg(8,pRa,3,4,"mat-radio-button",4,sg),J()(),I(10,"div",5)(11,"button",6),Q(12," Cancel "),J(),I(13,"button",7),Q(14," Delete "),J()());a&2&&(C(),Ug("Delete Comment #",b.commentNumber," of Issue ",b.issueId,""),C(4),F("href",Eqc(b.documentationLinks),
of),C(2),Vg("ngModel",b.selectedReason),C(),ug(b.deletionReasons),C(5),F("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[lL,nL,pL,oL,vD,Vy,tz,Bz,uO,vO],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var exc=function(){this.documentationLinks=r(cL);this.activeSession=r(dv);this.REMOVAL_URL=qRa(this.activeSession.isInternalSession())};exc.\u0275fac=function(a){return new (a||exc)};
exc.\u0275cmp=t({type:exc,selectors:[["b-issue-flag-as-spam-dialog"]],decls:19,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",1,"keep-underline",3,"href"],["mat-dialog-actions",""],["mat-stroked-button","",1,"medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium","dialog-primary-action",3,"mat-dialog-close"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"Report spam?"),J(),I(2,"div",1)(3,"p"),Q(4," This will remove the issue from search results, and it will be deleted after 30 days. For more information on remediating spam at scale, "),
I(5,"a",2),Q(6,"see here"),J(),Q(7,". "),J(),K(8,"p"),I(9,"p"),Q(10," To delete PII or other sensitive content, "),I(11,"a",2),Q(12,"file a support request"),J(),Q(13,". "),J()(),I(14,"div",3)(15,"button",4),Q(16," Cancel "),J(),I(17,"button",5),Q(18," Report spam "),J()());a&2&&(C(5),F("href",Dqc(b.documentationLinks),of),C(6),F("href",b.REMOVAL_URL,of),C(4),F("mat-dialog-close",!1),C(2),F("mat-dialog-close",!0))},dependencies:[lL,nL,pL,oL,vD,Vy],encapsulation:2});var fxc=function(){this.documentationLinks=r(cL);this.indefiniteRetentionAcknowledged=!1};fxc.\u0275fac=function(a){return new (a||fxc)};
fxc.\u0275cmp=t({type:fxc,selectors:[["b-issue-indefinite-retention-dialog"]],decls:28,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["cdkFocusInitial","",3,"change","checked"],["mat-dialog-actions",""],["mat-stroked-button","",1,"medium",3,"mat-dialog-close"],["mat-flat-button","","color","primary",1,"medium","dialog-primary-action",3,"mat-dialog-close","disabled"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"Retain issue indefinitely?"),J(),I(2,
"div",1)(3,"p"),Q(4," Are you sure you want to override any component retention settings, and retain this issue indefinitely? "),J(),I(5,"p")(6,"b"),Q(7,"Please note indefinite retention is not appropriate in many circumstances."),J(),K(8,"br"),Q(9," Before selecting this option, you should make sure at least one of the following is true: "),J(),I(10,"ul")(11,"li"),Q(12," There is no personal data, user data, or any other forms of sensitive data being stored in this issue. "),J(),I(13,"li"),Q(14,
" You have a process in place to manually delete this issue within an approved period of time. "),J(),I(15,"li"),Q(16," Legal and Privacy have approved this non-standard retention period. "),J()(),K(17,"p"),I(18,"p")(19,"a",2),Q(20,"Learn more"),J()(),I(21,"mat-checkbox",3),M("change",function(c){return b.indefiniteRetentionAcknowledged=c.checked}),Q(22," I acknowledge "),J()(),I(23,"div",4)(24,"button",5),Q(25," Cancel "),J(),I(26,"button",6),Q(27," OK "),J()());a&2&&(C(19),F("href",Zu(),of),C(2),
F("checked",b.indefiniteRetentionAcknowledged),C(3),F("mat-dialog-close",!1),C(2),F("mat-dialog-close",!0)("disabled",!b.indefiniteRetentionAcknowledged))},dependencies:[lL,nL,pL,oL,vD,Vy,qN,uN],styles:[".mat-mdc-dialog-content[_ngcontent-%COMP%] { max-height: unset; overflow: unset; }","ul[_ngcontent-%COMP%] { list-style: disc }"]});var EO=function(){Z.apply(this,arguments);this.userPreferencesManager=r(yH);this.timestamps$=this.userPreferencesManager.preferences$.pipe(B(function(a){var b;return(b=a.dismissalTimestamps)!=null?b:void 0}));this.timestampsSubject$=Wo(this.timestamps$.pipe(Of(this.destroyed$)),{})};Y(EO,Z);EO.\u0275dir=Z.\u0275dir;var gxc=function(a,b){return a.timestamps$.pipe(B(function(c){return c?!!c[b]:!1}))};EO.prototype.isDismissed=function(a){return!!Xo(gxc(this,a))};
EO.prototype.dismiss=function(a){var b={};b={dismissalTimestamps:Object.assign({},this.timestampsSubject$.value,(b[a]=new Date(Date.now()),b))};return this.userPreferencesManager.save(b).pipe(B(function(c){if(c.dismissalTimestamps&&c.dismissalTimestamps[a])return c.dismissalTimestamps[a]}))};EO.\u0275fac=function(){var a;return function(b){return(a||(a=de(EO)))(b||EO)}}();EO.\u0275prov=n({token:EO,factory:EO.\u0275fac,providedIn:"root"});var FO=function(){Z.apply(this,arguments);this.data=r(jL);this.dialogRef=r(dL);this.dismissalService=r(EO);this.dontShowAgain=!1};Y(FO,Z);FO.\u0275dir=Z.\u0275dir;FO.prototype.confirm=function(){var a=this,b;return ve(function(c){if(c.nextAddress==1){if(!a.dontShowAgain)return c.jumpTo(2);b=rRa(a.data.action);return xe(c,Je(a.dismissalService.dismiss(b)),2)}a.dialogRef.close(!0);Ce(c)})};FO.\u0275fac=function(){var a;return function(b){return(a||(a=de(FO)))(b||FO)}}();
FO.\u0275cmp=t({type:FO,selectors:[["b-share-email-confirmation-dialog"]],features:[cg],decls:9,vars:2,consts:[["mat-dialog-content",""],[3,"innerHTML"],[3,"change","checked"],["mat-dialog-actions",""],["mat-button","",1,"medium",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium",3,"click"]],template:function(a,b){a&1&&(I(0,"div",0),K(1,"div",1),I(2,"mat-checkbox",2),M("change",function(c){return b.dontShowAgain=c.checked}),Q(3," Don't show this again "),J()(),I(4,
"div",3)(5,"button",4),M("click",function(){return b.dialogRef.close(!1)}),Q(6," Cancel "),J(),I(7,"button",5),M("click",function(){return b.confirm()}),Q(8," Confirm "),J()());a&2&&(C(),F("innerHTML",b.data.content,nf),C(),F("checked",b.dontShowAgain))},dependencies:[pL,oL,vD,Vy,qN,uN],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-top: 12px;\n      padding-bottom: 12px;\n    }"]});var hxc=function(){this.text="..."};hxc.\u0275fac=function(a){return new (a||hxc)};
hxc.\u0275cmp=t({type:hxc,selectors:[["ai-spinner"]],hostVars:2,hostBindings:function(a,b){a&2&&ng("large",b.large)},inputs:{large:"large",text:"text"},decls:2,vars:1,template:function(a,b){a&1&&(I(0,"label"),Q(1),J());a&2&&(C(),R(" ",b.text," "))},styles:["[_nghost-%COMP%]{padding:2px 6px}.large[_nghost-%COMP%]{line-height:42px;min-width:80px;padding-left:16px;padding-right:16px;text-align:center}[_nghost-%COMP%]{display:inline-block;border-radius:4px;padding-left:4px;padding-right:4px;-webkit-animation:_ngcontent-%COMP%_ai-shimmer 2.1s linear infinite;animation:_ngcontent-%COMP%_ai-shimmer 2.1s linear infinite;background:-webkit-linear-gradient(315deg,var(--ai-muted),var(--ai-analog-muted),var(--ai-analog-very-muted),var(--ai-complement-muted),var(--ai-muted),var(--ai-muted),var(--ai-analog-muted),var(--ai-analog-very-muted),var(--ai-complement-muted),var(--ai-muted)) 50%/800% 800%;background:linear-gradient(135deg,var(--ai-muted),var(--ai-analog-muted),var(--ai-analog-very-muted),var(--ai-complement-muted),var(--ai-muted),var(--ai-muted),var(--ai-analog-muted),var(--ai-analog-very-muted),var(--ai-complement-muted),var(--ai-muted)) 50%/800% 800%}@-webkit-keyframes _ngcontent-%COMP%_ai-shimmer{0%{background-position:100% 100%}to{background-position:top 37.5% left 37.5%}}@keyframes _ngcontent-%COMP%_ai-shimmer{0%{background-position:100% 100%}to{background-position:top 37.5% left 37.5%}}label[_ngcontent-%COMP%]{color:#0a0a0a;mix-blend-mode:color-burn}.dark-mode   [_nghost-%COMP%]     label{color:#e9e9e9;mix-blend-mode:color-dodge}\n/*# sourceMappingURL=ai_spinner.css.map */"],changeDetection:0});var ixc=new Bd("GMAT_PROGRESS_SPINNER_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var jxc=["determinateSpinner"],kxc=new Bd("mat-progress-spinner-default-options",{providedIn:"root",factory:tRa}),GO=function(){this._elementRef=r(ge);this._defaultColor="primary";this._value=0;this._diameter=100;var a=r(Zv,{optional:!0}),b=r(kxc);this._noopAnimations=a==="NoopAnimations"&&!!b&&!b._forceAnimations;this.mode=this._elementRef.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate";b&&(b.color&&(this.color=this._defaultColor=b.color),b.diameter&&(this.diameter=
b.diameter),b.strokeWidth&&(this.strokeWidth=b.strokeWidth))};g=GO.prototype;g._circleRadius=function(){return(this.diameter-10)/2};g._viewBox=function(){var a=this._circleRadius()*2+this.strokeWidth;return"0 0 "+a+" "+a};g._strokeCircumference=function(){return 2*Math.PI*this._circleRadius()};g._strokeDashOffset=function(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null};g._circleStrokeWidth=function(){return this.strokeWidth/this.diameter*100};
ea.Object.defineProperties(GO.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color||this._defaultColor},set:function(a){this._color=a}},value:{configurable:!0,enumerable:!0,get:function(){return this.mode==="determinate"?this._value:0},set:function(a){this._value=Math.max(0,Math.min(100,a||0))}},diameter:{configurable:!0,enumerable:!0,get:function(){return this._diameter},set:function(a){this._diameter=a||0}},strokeWidth:{configurable:!0,enumerable:!0,get:function(){var a;
return(a=this._strokeWidth)!=null?a:this.diameter/10},set:function(a){this._strokeWidth=a||0}}});GO.\u0275fac=function(a){return new (a||GO)};
GO.\u0275cmp=t({type:GO,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(a,b){a&1&&Mg(jxc,5);if(a&2){var c;Qg(c=Rg())&&(b._determinateCircle=c.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(a,b){a&2&&(eg("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",b.mode==="determinate"?b.value:null)("mode",b.mode),og("mat-"+b.color),mg("width",b.diameter,"px")("height",b.diameter,"px")("--mdc-circular-progress-size",
b.diameter+"px")("--mdc-circular-progress-active-indicator-width",b.diameter+"px"),ng("_mat-animation-noopable",b._noopAnimations)("mdc-circular-progress--indeterminate",b.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",sh],diameter:[2,"diameter","diameter",sh],strokeWidth:[2,"strokeWidth","strokeWidth",sh]},exportAs:["matProgressSpinner"],standalone:!0,features:[dg,$g],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],
["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],
["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(a,b){a&1&&(D(0,sRa,2,8,"ng-template",null,0,fh),I(2,"div",2,1),Wd(),I(4,"svg",3),K(5,"circle",4),J()(),Pd.currentNamespace=null,I(6,"div",5)(7,"div",6)(8,"div",7),xg(9,8),J(),I(10,"div",9),xg(11,8),J(),I(12,"div",10),xg(13,8),J()()());a&2&&(a=L(1),C(4),eg("viewBox",b._viewBox()),C(),mg("stroke-dasharray",b._strokeCircumference(),"px")("stroke-dashoffset",
b._strokeDashOffset(),"px")("stroke-width",b._circleStrokeWidth(),"%"),eg("r",b._circleRadius()),C(4),F("ngTemplateOutlet",a),C(2),F("ngTemplateOutlet",a),C(2),F("ngTemplateOutlet",a))},dependencies:[Hw],styles:[".mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width, 4px)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, var(--mat-app-primary))}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}\n"],
encapsulation:2,changeDetection:0});var HO=function(){};HO.\u0275fac=function(a){return new (a||HO)};HO.\u0275mod=u({type:HO});HO.\u0275inj=p({imports:[Qw,yy]});var IO=function(a,b){var c=this;this.options=a;this.progressSpinner=b;this.destroyed=new Jf;this.labelElement=document.createElement("label");this.labelElement.classList.add("cdk-visually-hidden");this.labelElement.classList.add("gmat-mdc-progress-spinner-accessible-label");DPa(b._elementRef.nativeElement).pipe(Of(this.destroyed)).subscribe(function(d){c.writeLabelSpan(d[0],d[1])})};IO.prototype.ngOnInit=function(){this.initializeLabelSpan()};
IO.prototype.ngOnDestroy=function(){this.labelElement.remove();this.destroyed.next();this.destroyed.complete()};IO.prototype.initializeLabelSpan=function(){this.progressSpinner._elementRef.nativeElement.insertAdjacentElement("afterend",this.labelElement);var a=this.progressSpinner._elementRef.nativeElement.getAttribute("aria-label");this.writeLabelSpan(a!=null?a:"",this.progressSpinner.mode==="indeterminate"?"indeterminate":this.progressSpinner.value.toString())};
IO.prototype.writeLabelSpan=function(a,b){a=b==="indeterminate"?a:a+" "+Fwc.format(Number(b)/100);this.labelElement.textContent=a};IO.\u0275fac=function(a){return new (a||IO)(af(ixc),af(GO,10))};IO.\u0275dir=ud({type:IO,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&2&&(eg("tabindex",null),ng("gmat-mdc-progress-spinner",!b.options.disableGmatStyle))}});var JO=function(){this.ariaLabel="loading";this.SIZE_SMALL=16;this.SIZE_LARGE=36;this.DIAMETER_SMALL=2};JO.\u0275fac=function(a){return new (a||JO)};JO.\u0275cmp=t({type:JO,selectors:[["b-spinner"]],inputs:{large:"large",ariaLabel:"ariaLabel"},decls:2,vars:2,consts:[[1,"large",3,"diameter"],[1,"small",3,"diameter","strokeWidth"]],template:function(a,b){a&1&&D(0,uRa,1,2,"mat-spinner",0)(1,vRa,1,3,"mat-spinner",1);a&2&&(G(b.large?0:-1),C(),G(b.large?-1:1))},dependencies:[IO,GO],styles:[".muted[_nghost-%COMP%]     .mat-mdc-progress-spinner circle, .muted[_nghost-%COMP%]     .mat-mdc-progress-spinner circle{stroke:rgba(0,0,0,.4)}[_nghost-%COMP%]     .mat-mdc-progress-spinner circle, [_nghost-%COMP%]     .mat-mdc-progress-spinner circle{stroke:var(--text-primary)}.large[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;margin-left:-18px;margin-top:-18px}[_nghost-%COMP%]{animation-delay:150ms;animation-duration:200ms;animation-name:_ngcontent-%COMP%_fade-in;animation-timing-function:linear;animation-fill-mode:both;display:inline-block;vertical-align:middle}[_nghost-%COMP%]     mat-spinner.small{margin-top:-2px}@keyframes _ngcontent-%COMP%_fade-in{0%{opacity:0}100%{opacity:1}}/*# sourceMappingURL=spinner.css.map */"]});var KO=function(){};KO.\u0275fac=function(a){return new (a||KO)};KO.\u0275mod=u({type:KO});KO.\u0275inj=p({imports:[HO]});var LO=function(){};LO.\u0275fac=function(a){return new (a||LO)};LO.\u0275mod=u({type:LO});LO.\u0275inj=p({imports:[RE,KO]});var lxc=new Bd("GMAT_TABS_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1,appearance:"primary"}}});var mxc=function(a){this._items=a};mxc.prototype.hide=function(){this._items.forEach(function(a){return nxc(a)})};
var pxc=function(a,b){var c=a._items.find(function(h){return h.elementRef.nativeElement===b}),d=a._currentItem;if(c!==d&&(d==null||nxc(d),c)){var e,f;d=d==null?void 0:(f=(e=d.elementRef.nativeElement).getBoundingClientRect)==null?void 0:f.call(e);oxc(c,d);a._currentItem=c}},MO=function(){this._elementRef=r(ge);this._fitToContent=!1},oxc=function(a,b){var c=a._elementRef.nativeElement;if(b&&c.getBoundingClientRect&&a._inkBarContentElement){var d=c.getBoundingClientRect(),e=b.width/d.width;b=b.left-
d.left;c.classList.add("mdc-tab-indicator--no-transition");a._inkBarContentElement.style.setProperty("transform","translateX("+b+"px) scaleX("+e+")");c.getBoundingClientRect();c.classList.remove("mdc-tab-indicator--no-transition");c.classList.add("mdc-tab-indicator--active");a._inkBarContentElement.style.setProperty("transform","")}else c.classList.add("mdc-tab-indicator--active")},nxc=function(a){a._elementRef.nativeElement.classList.remove("mdc-tab-indicator--active")};MO.prototype.ngOnInit=function(){this._createInkBarElement()};
MO.prototype.ngOnDestroy=function(){var a;(a=this._inkBarElement)==null||a.remove();this._inkBarElement=this._inkBarContentElement=null};MO.prototype._createInkBarElement=function(){var a=this._elementRef.nativeElement.ownerDocument||document,b=this._inkBarElement=a.createElement("span");a=this._inkBarContentElement=a.createElement("span");b.className="mdc-tab-indicator";a.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline";b.appendChild(this._inkBarContentElement);this._appendInkBarElement()};
MO.prototype._appendInkBarElement=function(){(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)};ea.Object.defineProperties(MO.prototype,{fitInkBarToContent:{configurable:!0,enumerable:!0,get:function(){return this._fitToContent},set:function(a){this._fitToContent!==a&&(this._fitToContent=a,this._inkBarElement&&this._appendInkBarElement())}}});MO.\u0275fac=function(a){return new (a||MO)};
MO.\u0275dir=ud({type:MO,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",rh]},features:[dg]});new Bd("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(a){return{left:a?(a.offsetLeft||0)+"px":"0",width:a?(a.offsetWidth||0)+"px":"0"}}}});var qxc=new Bd("MatTabContent"),NO=function(){this.template=r(Jg)};NO.\u0275fac=function(a){return new (a||NO)};NO.\u0275dir=ud({type:NO,selectors:[["","matTabContent",""]],standalone:!0,features:[Yg([{provide:qxc,useExisting:NO}])]});var rxc=ni("translateTab",[qi("center, void, left-origin-center, right-origin-center",pi({transform:"none",visibility:"visible"})),qi("left",pi({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),qi("right",pi({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),si("* => left, * => right, left => center, right => center",oi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),si("void => left-origin-center",[pi({transform:"translate3d(-100%, 0, 0)",
visibility:"hidden"}),oi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),si("void => right-origin-center",[pi({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),oi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])]);var sxc=function(a){return{animationDuration:a}},txc=function(a,b){return{value:a,params:b}},PO=function(){ry.call(this);this._host=r(OO);this._leavingSub=this._centeringSub=me.EMPTY};Y(PO,ry);
PO.prototype.ngOnInit=function(){var a=this;ry.prototype.ngOnInit.call(this);this._centeringSub=this._host._beforeCentering.pipe(Mf(this._host._isCenterPosition(this._host._position))).subscribe(function(b){a._host._content&&b&&!a.hasAttached()&&a.attach(a._host._content)});this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){a._host.preserveContent||a.detach()})};PO.prototype.ngOnDestroy=function(){ry.prototype.ngOnDestroy.call(this);this._centeringSub.unsubscribe();this._leavingSub.unsubscribe()};
PO.\u0275fac=function(a){return new (a||PO)};PO.\u0275dir=ud({type:PO,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[cg]});
var OO=function(){var a=this;this._elementRef=r(ge);this._dir=r(Jx,{optional:!0});this._dirChangeSubscription=me.EMPTY;this._translateTabComplete=new Jf;this._onCentering=new kw;this._beforeCentering=new kw;this._afterLeavingCenter=new kw;this._onCentered=new kw(!0);this.animationDuration="500ms";this.preserveContent=!1;if(this._dir){var b=r(rw);this._dirChangeSubscription=this._dir.change.subscribe(function(c){a._computePositionAnimationState(c);b.markForCheck()})}this._translateTabComplete.pipe(Ef(function(c,
d){return c.fromState===d.fromState&&c.toState===d.toState})).subscribe(function(c){a._isCenterPosition(c.toState)&&a._isCenterPosition(a._position)&&a._onCentered.emit();a._isCenterPosition(c.fromState)&&!a._isCenterPosition(a._position)&&a._afterLeavingCenter.emit()})};g=OO.prototype;g.ngOnInit=function(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))};g.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe();this._translateTabComplete.complete()};
g._onTranslateTabStarted=function(a){a=this._isCenterPosition(a.toState);this._beforeCentering.emit(a);a&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)};g._getLayoutDirection=function(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"};g._isCenterPosition=function(a){return a=="center"||a=="left-origin-center"||a=="right-origin-center"};
g._computePositionAnimationState=function(a){a=a===void 0?this._getLayoutDirection():a;this._position=this._positionIndex<0?a=="ltr"?"left":"right":this._positionIndex>0?a=="ltr"?"right":"left":"center"};g._computePositionFromOrigin=function(a){var b=this._getLayoutDirection();return b=="ltr"&&a<=0||b=="rtl"&&a>0?"left-origin-center":"right-origin-center"};ea.Object.defineProperties(OO.prototype,{position:{configurable:!0,enumerable:!0,set:function(a){this._positionIndex=a;this._computePositionAnimationState()}}});
OO.\u0275fac=function(a){return new (a||OO)};
OO.\u0275cmp=t({type:OO,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&Mg(ry,5);if(a&2){var c;Qg(c=Rg())&&(b._portalHost=c.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[$g],decls:3,
vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(a,b){if(a&1){var c=x();I(0,"div",1,0);M("@translateTab.start",function(d){z(c);return A(b._onTranslateTabStarted(d))})("@translateTab.done",function(d){z(c);return A(b._translateTabComplete.next(d))});D(2,wRa,0,0,"ng-template",2);J()}a&2&&F("@translateTab",ch(3,txc,b._position,bh(1,sxc,b.animationDuration)))},dependencies:[PO,Vx],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}\n'],
encapsulation:2,data:{animation:[rxc]}});var uxc=new Bd("MAT_TABS_CONFIG");var vxc=Uh({passive:!0}),QO=function(){var a=this;this._elementRef=r(ge);this._changeDetectorRef=r(rw);this._viewportRuler=r(Yx);this._dir=r(Jx,{optional:!0});this._ngZone=r(hh);this._platform=r(Xw);this._animationMode=r(Zv,{optional:!0});this._scrollDistance=0;this._selectedIndexChanged=!1;this._destroyed=new Jf;this._showPaginationControls=!1;this._disableScrollBefore=this._disableScrollAfter=!0;this._stopScrolling=new Jf;this.disablePagination=!1;this._selectedIndex=0;this.selectFocusedIndex=new kw;
this.indexFocused=new kw;this._sharedResizeObserver=r(Wz);this._injector=r(Sf);this._ngZone.runOutsideAngular(function(){Te(a._elementRef.nativeElement,"mouseleave").pipe(Of(a._destroyed)).subscribe(function(){return a._stopInterval()})})};g=QO.prototype;g.ngAfterViewInit=function(){var a=this;Te(this._previousPaginator.nativeElement,"touchstart",vxc).pipe(Of(this._destroyed)).subscribe(function(){a._handlePaginatorPress("before")});Te(this._nextPaginator.nativeElement,"touchstart",vxc).pipe(Of(this._destroyed)).subscribe(function(){a._handlePaginatorPress("after")})};
g.ngAfterContentInit=function(){var a=this,b=this._dir?this._dir.change:Fe("ltr"),c=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(Af(32),Of(this._destroyed)),d=this._viewportRuler.change(150).pipe(Of(this._destroyed)),e=function(){a.updatePagination();a._alignInkBarToSelectedTab()};this._keyManager=Bx(Ex(Dx(new Hx(this._items),this._getLayoutDirection()))).skipPredicate(function(){return!1});Fx(this._keyManager,this._selectedIndex);Uf(e,{injector:this._injector});Xe(b,d,
c,this._items.changes,this._itemsResized()).pipe(Of(this._destroyed)).subscribe(function(){a._ngZone.run(function(){Promise.resolve().then(function(){a._scrollDistance=Math.max(0,Math.min(a._getMaxScrollDistance(),a._scrollDistance));e()})});Dx(a._keyManager,a._getLayoutDirection())});this._keyManager.change.subscribe(function(f){a.indexFocused.emit(f);a._setTabFocus(f)})};
g._itemsResized=function(){var a=this;return typeof ResizeObserver!=="function"?We:this._items.changes.pipe(Mf(this._items),Nf(function(b){return new re(function(c){return a._ngZone.runOutsideAngular(function(){var d=new ResizeObserver(function(e){return c.next(e)});b.forEach(function(e){return d.observe(e.elementRef.nativeElement)});return function(){d.disconnect()}})})}),Lf(1),Ye(function(b){return b.some(function(c){return c.contentRect.width>0&&c.contentRect.height>0})}))};
g.ngAfterContentChecked=function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck());this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck());this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())};
g.ngOnDestroy=function(){var a;(a=this._keyManager)==null||a.destroy();this._destroyed.next();this._destroyed.complete();this._stopScrolling.complete()};g._handleKeydown=function(a){if(!Yh(a))switch(a.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){var b=this._items.get(this.focusIndex);b&&!b.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(a))}break;default:this._keyManager.onKeydown(a)}};
g._onContentChanges=function(){var a=this,b=this._elementRef.nativeElement.textContent;b!==this._currentTextContent&&(this._currentTextContent=b||"",this._ngZone.run(function(){a.updatePagination();a._alignInkBarToSelectedTab();a._changeDetectorRef.markForCheck()}))};g.updatePagination=function(){this._checkPaginationEnabled();this._checkScrollingControls();this._updateTabScrollPosition()};g._isValidIndex=function(a){return this._items?!!this._items.toArray()[a]:!0};
g._setTabFocus=function(a){this._showPaginationControls&&this._scrollToLabel(a);this._items&&this._items.length&&(this._items.toArray()[a].focus(),a=this._tabListContainer.nativeElement,a.scrollLeft=this._getLayoutDirection()=="ltr"?0:a.scrollWidth-a.offsetWidth)};g._getLayoutDirection=function(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"};
g._updateTabScrollPosition=function(){if(!this.disablePagination){var a=this.scrollDistance;this._tabList.nativeElement.style.transform="translateX("+Math.round(this._getLayoutDirection()==="ltr"?-a:a)+"px)";if(this._platform.TRIDENT||this._platform.EDGE)this._tabListContainer.nativeElement.scrollLeft=0}};g._scrollHeader=function(a){return this._scrollTo(this._scrollDistance+(a=="before"?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)};
g._handlePaginatorClick=function(a){this._stopInterval();this._scrollHeader(a)};
g._scrollToLabel=function(a){if(!this.disablePagination){var b=this._items?this._items.toArray()[a]:null;if(b){a=this._tabListContainer.nativeElement.offsetWidth;var c=b.elementRef.nativeElement;b=c.offsetLeft;var d=c.offsetWidth;this._getLayoutDirection()=="ltr"?c=b+d:(c=this._tabListInner.nativeElement.offsetWidth-b,b=c-d);d=this.scrollDistance;a=this.scrollDistance+a;b<d?this.scrollDistance-=d-b:c>a&&(this.scrollDistance+=Math.min(c-a,b-d))}}};
g._checkPaginationEnabled=function(){if(this.disablePagination)this._showPaginationControls=!1;else{var a=this._tabListInner.nativeElement.scrollWidth-this._elementRef.nativeElement.offsetWidth>=5;a||(this.scrollDistance=0);a!==this._showPaginationControls&&(this._showPaginationControls=a,this._changeDetectorRef.markForCheck())}};
g._checkScrollingControls=function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())};g._getMaxScrollDistance=function(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0};
g._alignInkBarToSelectedTab=function(){var a=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null;(a=a?a.elementRef.nativeElement:null)?pxc(this._inkBar,a):this._inkBar.hide()};g._stopInterval=function(){this._stopScrolling.next()};
g._handlePaginatorPress=function(a,b){var c=this;b&&b.button!=null&&b.button!==0||(this._stopInterval(),Ve(650,100).pipe(Of(Xe(this._stopScrolling,this._destroyed))).subscribe(function(){var d=c._scrollHeader(a),e=d.maxScrollDistance;d=d.distance;(d===0||d>=e)&&c._stopInterval()}))};
g._scrollTo=function(a){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var b=this._getMaxScrollDistance();this._scrollDistance=Math.max(0,Math.min(b,a));this._scrollDistanceChanged=!0;this._checkScrollingControls();return{maxScrollDistance:b,distance:this._scrollDistance}};
ea.Object.defineProperties(QO.prototype,{selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){a=isNaN(a)?0:a;this._selectedIndex!=a&&(this._selectedIndexChanged=!0,this._selectedIndex=a,this._keyManager&&Fx(this._keyManager,a))}},focusIndex:{configurable:!0,enumerable:!0,get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(a){this._isValidIndex(a)&&this.focusIndex!==a&&this._keyManager&&this._keyManager.setActiveItem(a)}},
scrollDistance:{configurable:!0,enumerable:!0,get:function(){return this._scrollDistance},set:function(a){this._scrollTo(a)}}});QO.\u0275fac=function(a){return new (a||QO)};QO.\u0275dir=ud({type:QO,inputs:{disablePagination:[2,"disablePagination","disablePagination",rh],selectedIndex:[2,"selectedIndex","selectedIndex",sh]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[dg]});var RO=function(){MO.apply(this,arguments);this.elementRef=r(ge);this.disabled=!1};Y(RO,MO);RO.prototype.focus=function(){this.elementRef.nativeElement.focus()};RO.\u0275fac=function(){var a;return function(b){return(a||(a=de(RO)))(b||RO)}}();RO.\u0275dir=ud({type:RO,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(a,b){a&2&&(eg("aria-disabled",!!b.disabled),ng("mat-mdc-tab-disabled",b.disabled))},inputs:{disabled:[2,"disabled","disabled",rh]},standalone:!0,features:[dg,cg]});var wxc=["tabListContainer"],xxc=["tabList"],yxc=["tabListInner"],zxc=["nextPaginator"],Axc=["previousPaginator"],SO=function(){QO.apply(this,arguments);this.disableRipple=!1};Y(SO,QO);SO.\u0275dir=QO.\u0275dir;SO.prototype.ngAfterContentInit=function(){this._inkBar=new mxc(this._items);QO.prototype.ngAfterContentInit.call(this)};SO.prototype._itemSelected=function(a){a.preventDefault()};SO.\u0275fac=function(){var a;return function(b){return(a||(a=de(SO)))(b||SO)}}();
SO.\u0275cmp=t({type:SO,selectors:[["mat-tab-header"]],contentQueries:function(a,b,c){a&1&&Ng(c,RO,4);if(a&2){var d;Qg(d=Rg())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(Mg(wxc,7),Mg(xxc,7),Mg(yxc,7),Mg(zxc,5),Mg(Axc,5));if(a&2){var c;Qg(c=Rg())&&(b._tabListContainer=c.first);Qg(c=Rg())&&(b._tabList=c.first);Qg(c=Rg())&&(b._tabListInner=c.first);Qg(c=Rg())&&(b._nextPaginator=c.first);Qg(c=Rg())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(a,
b){a&2&&ng("mat-mdc-tab-header-pagination-controls-enabled",b._showPaginationControls)("mat-mdc-tab-header-rtl",b._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",rh]},standalone:!0,features:[dg,cg,$g],ngContentSelectors:["*"],decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple",
"",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(a,b){if(a&1){var c=x();Dg();I(0,
"div",5,0);M("click",function(){z(c);return A(b._handlePaginatorClick("before"))})("mousedown",function(d){z(c);return A(b._handlePaginatorPress("before",d))})("touchend",function(){z(c);return A(b._stopInterval())});K(2,"div",6);J();I(3,"div",7,1);M("keydown",function(d){z(c);return A(b._handleKeydown(d))});I(5,"div",8,2);M("cdkObserveContent",function(){z(c);return A(b._onContentChanges())});I(7,"div",9,3);Eg(9);J()()();I(10,"div",10,4);M("mousedown",function(d){z(c);return A(b._handlePaginatorPress("after",
d))})("click",function(){z(c);return A(b._handlePaginatorClick("after"))})("touchend",function(){z(c);return A(b._stopInterval())});K(12,"div",6);J()}a&2&&(ng("mat-mdc-tab-header-pagination-disabled",b._disableScrollBefore),F("matRippleDisabled",b._disableScrollBefore||b.disableRipple),C(3),ng("_mat-animation-noopable",b._animationMode==="NoopAnimations"),C(2),eg("aria-label",b.ariaLabel||null)("aria-labelledby",b.ariaLabelledby||null),C(5),ng("mat-mdc-tab-header-pagination-disabled",b._disableScrollAfter),
F("matRippleDisabled",b._disableScrollAfter||b.disableRipple))},dependencies:[Ky,qx],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color, var(--mat-app-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height, 1px);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height, 1px);border-top-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height, 48px)}.mat-mdc-tab::before{margin:5px}@media(forced-colors: active){.mat-mdc-tab[aria-disabled=true]{color:GrayText}}\n"],
encapsulation:2});var Bxc=new Bd("MatTabLabel"),Cxc=new Bd("MAT_TAB"),TO=function(){qy.apply(this,arguments);this._closestTab=r(Cxc,{optional:!0})};Y(TO,qy);TO.\u0275fac=function(){var a;return function(b){return(a||(a=de(TO)))(b||TO)}}();TO.\u0275dir=ud({type:TO,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[Yg([{provide:Bxc,useExisting:TO}]),cg]});var Dxc=new Bd("MAT_TAB_GROUP"),UO=function(){this._viewContainerRef=r(Kg);this._closestTabGroup=r(Dxc,{optional:!0});this.disabled=!1;this._explicitContent=void 0;this.textLabel="";this._contentPortal=null;this._stateChanges=new Jf;this.origin=this.position=null;this.isActive=!1;r(Yw).load(Fy)};UO.prototype.ngOnChanges=function(a){(a.hasOwnProperty("textLabel")||a.hasOwnProperty("disabled"))&&this._stateChanges.next()};UO.prototype.ngOnDestroy=function(){this._stateChanges.complete()};
UO.prototype.ngOnInit=function(){this._contentPortal=new ny(this._explicitContent||this._implicitContent,this._viewContainerRef)};UO.prototype._setTemplateLabelInput=function(a){a&&a._closestTab===this&&(this._templateLabel=a)};ea.Object.defineProperties(UO.prototype,{templateLabel:{configurable:!0,enumerable:!0,get:function(){return this._templateLabel},set:function(a){this._setTemplateLabelInput(a)}},content:{configurable:!0,enumerable:!0,get:function(){return this._contentPortal}}});
UO.\u0275fac=function(a){return new (a||UO)};
UO.\u0275cmp=t({type:UO,selectors:[["mat-tab"]],contentQueries:function(a,b,c){a&1&&(Ng(c,TO,5),Ng(c,NO,7,Jg));if(a&2){var d;Qg(d=Rg())&&(b.templateLabel=d.first);Qg(d=Rg())&&(b._explicitContent=d.first)}},viewQuery:function(a,b){a&1&&Mg(Jg,7);if(a&2){var c;Qg(c=Rg())&&(b._implicitContent=c.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",rh],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",
bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[Yg([{provide:Cxc,useExisting:UO}]),dg,Hd,$g],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Dg(),D(0,xRa,1,0,"ng-template"))},encapsulation:2});var Exc=["tabBodyWrapper"],Fxc=["tabHeader"],Gxc=0,VO=function(){this._elementRef=r(ge);this._changeDetectorRef=r(rw);this._animationMode=r(Zv,{optional:!0});this._tabs=new Lg;this._indexToSelect=0;this._lastFocusedTabIndex=null;this._tabBodyWrapperHeight=0;this._tabLabelSubscription=this._tabsSubscription=me.EMPTY;this._fitInkBarToContent=!1;this.stretchTabs=!0;this.alignTabs=null;this.dynamicHeight=!1;this._selectedIndex=null;this.headerPosition="above";this.preserveContent=this.disableRipple=this.disablePagination=
!1;this.selectedIndexChange=new kw;this.focusChange=new kw;this.animationDone=new kw;this.selectedTabChange=new kw(!0);this._isServer=!r(Xw).isBrowser;var a=r(uxc,{optional:!0});this._groupId=Gxc++;this.animationDuration=a&&a.animationDuration?a.animationDuration:"500ms";this.disablePagination=a&&a.disablePagination!=null?a.disablePagination:!1;this.dynamicHeight=a&&a.dynamicHeight!=null?a.dynamicHeight:!1;(a==null?void 0:a.contentTabIndex)!=null&&(this.contentTabIndex=a.contentTabIndex);this.preserveContent=
!(a==null||!a.preserveContent);this.fitInkBarToContent=a&&a.fitInkBarToContent!=null?a.fitInkBarToContent:!1;this.stretchTabs=a&&a.stretchTabs!=null?a.stretchTabs:!0;this.alignTabs=a&&a.alignTabs!=null?a.alignTabs:null};g=VO.prototype;
g.ngAfterContentChecked=function(){var a=this,b=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=b){var c=this._selectedIndex==null;if(!c){this.selectedTabChange.emit(this._createChangeEvent(b));var d=this._tabBodyWrapper.nativeElement;d.style.minHeight=d.clientHeight+"px"}Promise.resolve().then(function(){a._tabs.forEach(function(e,f){return e.isActive=f===b});c||(a.selectedIndexChange.emit(b),a._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(function(e,
f){e.position=f-b;a._selectedIndex==null||e.position!=0||e.origin||(e.origin=b-a._selectedIndex)});this._selectedIndex!==b&&(this._selectedIndex=b,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())};
g.ngAfterContentInit=function(){var a=this;this._subscribeToAllTabChanges();this._subscribeToTabLabels();this._tabsSubscription=this._tabs.changes.subscribe(function(){var b=a._clampTabIndex(a._indexToSelect);if(b===a._selectedIndex){for(var c=a._tabs.toArray(),d,e=0;e<c.length;e++)if(c[e].isActive){a._indexToSelect=a._selectedIndex=e;a._lastFocusedTabIndex=null;d=c[e];break}!d&&c[b]&&Promise.resolve().then(function(){c[b].isActive=!0;a.selectedTabChange.emit(a._createChangeEvent(b))})}a._changeDetectorRef.markForCheck()})};
g._subscribeToAllTabChanges=function(){var a=this;this._allTabs.changes.pipe(Mf(this._allTabs)).subscribe(function(b){a._tabs.reset(b.filter(function(c){return c._closestTabGroup===a||!c._closestTabGroup}));Pg(a._tabs)})};g.ngOnDestroy=function(){this._tabs.destroy();this._tabsSubscription.unsubscribe();this._tabLabelSubscription.unsubscribe()};g.updatePagination=function(){this._tabHeader&&this._tabHeader.updatePagination()};g._focusChanged=function(a){this._lastFocusedTabIndex=a;this.focusChange.emit(this._createChangeEvent(a))};
g._createChangeEvent=function(a){var b=new Hxc;b.index=a;this._tabs&&this._tabs.length&&(b.tab=this._tabs.toArray()[a]);return b};g._subscribeToTabLabels=function(){var a=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe();this._tabLabelSubscription=Xe.apply(null,w(this._tabs.map(function(b){return b._stateChanges}))).subscribe(function(){return a._changeDetectorRef.markForCheck()})};g._clampTabIndex=function(a){return Math.min(this._tabs.length-1,Math.max(a||0,0))};
g._getTabLabelId=function(a){return"mat-tab-label-"+this._groupId+"-"+a};g._getTabContentId=function(a){return"mat-tab-content-"+this._groupId+"-"+a};g._setTabBodyWrapperHeight=function(a){if(this.dynamicHeight&&this._tabBodyWrapperHeight){var b=this._tabBodyWrapper.nativeElement;b.style.height=this._tabBodyWrapperHeight+"px";this._tabBodyWrapper.nativeElement.offsetHeight&&(b.style.height=a+"px")}};
g._removeTabBodyWrapperHeight=function(){var a=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=a.clientHeight;a.style.height="";this.animationDone.emit()};g._handleClick=function(a,b,c){b.focusIndex=c;a.disabled||(this.selectedIndex=c)};g._getTabIndex=function(a){var b,c=(b=this._lastFocusedTabIndex)!=null?b:this.selectedIndex;return a===c?0:-1};g._tabFocusChanged=function(a,b){a&&a!=="mouse"&&a!=="touch"&&(this._tabHeader.focusIndex=b)};
ea.Object.defineProperties(VO.prototype,{fitInkBarToContent:{configurable:!0,enumerable:!0,get:function(){return this._fitInkBarToContent},set:function(a){this._fitInkBarToContent=a;this._changeDetectorRef.markForCheck()}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){this._indexToSelect=isNaN(a)?null:a}},animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){var b=a+"";this._animationDuration=
/^\d+$/.test(b)?a+"ms":b}},contentTabIndex:{configurable:!0,enumerable:!0,get:function(){return this._contentTabIndex},set:function(a){this._contentTabIndex=isNaN(a)?null:a}},backgroundColor:{configurable:!0,enumerable:!0,get:function(){return this._backgroundColor},set:function(a){var b=this._elementRef.nativeElement.classList;b.remove("mat-tabs-with-background","mat-background-"+this.backgroundColor);a&&b.add("mat-tabs-with-background","mat-background-"+a);this._backgroundColor=a}}});
VO.\u0275fac=function(a){return new (a||VO)};
VO.\u0275cmp=t({type:VO,selectors:[["mat-tab-group"]],contentQueries:function(a,b,c){a&1&&Ng(c,UO,5);if(a&2){var d;Qg(d=Rg())&&(b._allTabs=d)}},viewQuery:function(a,b){a&1&&(Mg(Exc,5),Mg(Fxc,5));if(a&2){var c;Qg(c=Rg())&&(b._tabBodyWrapper=c.first);Qg(c=Rg())&&(b._tabHeader=c.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(a,b){a&2&&(eg("mat-align-tabs",b.alignTabs),og("mat-"+(b.color||"primary")),mg("--mat-tab-animation-duration",b.animationDuration),ng("mat-mdc-tab-group-dynamic-height",
b.dynamicHeight)("mat-mdc-tab-group-inverted-header",b.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",b.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",rh],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",rh],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",rh],selectedIndex:[2,"selectedIndex","selectedIndex",sh],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,
"contentTabIndex","contentTabIndex",sh],disablePagination:[2,"disablePagination","disablePagination",rh],disableRipple:[2,"disableRipple","disableRipple",rh],preserveContent:[2,"preserveContent","preserveContent",rh],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],
standalone:!0,features:[Yg([{provide:Dxc,useExisting:VO}]),dg,$g],ngContentSelectors:["*"],decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],
["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",
3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(a,b){if(a&1){var c=x();Dg();I(0,"mat-tab-header",3,0);M("indexFocused",function(d){z(c);return A(b._focusChanged(d))})("selectFocusedIndex",function(d){z(c);return A(b.selectedIndex=d)});tg(2,BRa,8,17,"div",4,sg);J();D(4,CRa,1,0);I(5,"div",5,1);tg(7,DRa,1,13,"mat-tab-body",6,sg);J()}a&2&&(F("selectedIndex",b.selectedIndex||0)("disableRipple",b.disableRipple)("disablePagination",
b.disablePagination)("aria-label",b.ariaLabel)("aria-labelledby",b.ariaLabelledby),C(2),ug(b._tabs),C(2),G(b._isServer?4:-1),C(),ng("_mat-animation-noopable",b._animationMode==="NoopAnimations"),C(2),ug(b._tabs))},dependencies:[SO,RO,cx,Ky,ry,OO],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height, 48px);font-family:var(--mat-tab-header-label-text-font, var(--mat-app-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-app-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-app-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-app-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-app-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height, 2px);border-radius:var(--mdc-tab-indicator-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-app-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-app-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-app-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}\n'],
encapsulation:2});var Hxc=function(){};var Ixc=["tabListContainer"],Jxc=["tabList"],Kxc=["tabListInner"],Lxc=["nextPaginator"],Mxc=["previousPaginator"],Nxc=["*"],Oxc=0,WO=function(){var a=r(ge),b=r(Jx,{optional:!0}),c=r(hh),d=r(rw),e=r(Yx),f=r(Xw),h=r(Zv,{optional:!0}),l=r(uxc,{optional:!0});QO.call(this,a,d,e,b,c,f,h);this._fitInkBarToContent=new bo(!1);this.stretchTabs=!0;this.disableRipple=!1;this.color="primary";this.disablePagination=l&&l.disablePagination!=null?l.disablePagination:!1;this.fitInkBarToContent=l&&l.fitInkBarToContent!=
null?l.fitInkBarToContent:!1;this.stretchTabs=l&&l.stretchTabs!=null?l.stretchTabs:!0};Y(WO,QO);WO.\u0275dir=QO.\u0275dir;WO.prototype._itemSelected=function(){};WO.prototype.ngAfterContentInit=function(){var a=this;this._inkBar=new mxc(this._items);this._items.changes.pipe(Mf(null),Of(this._destroyed)).subscribe(function(){Pxc(a)});QO.prototype.ngAfterContentInit.call(this)};WO.prototype.ngAfterViewInit=function(){QO.prototype.ngAfterViewInit.call(this)};
var Pxc=function(a){if(a._items){for(var b=a._items.toArray(),c=0;c<b.length;c++)if(b[c].active){a.selectedIndex=c;a._changeDetectorRef.markForCheck();a.tabPanel&&(a.tabPanel._activeTabId=b[c].id);return}a.selectedIndex=-1;a._inkBar.hide()}};WO.prototype._getRole=function(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")};
ea.Object.defineProperties(WO.prototype,{fitInkBarToContent:{configurable:!0,enumerable:!0,get:function(){return this._fitInkBarToContent.value},set:function(a){this._fitInkBarToContent.next(a);this._changeDetectorRef.markForCheck()}},animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){var b=a+"";this._animationDuration=/^\d+$/.test(b)?a+"ms":b}},backgroundColor:{configurable:!0,enumerable:!0,get:function(){return this._backgroundColor},
set:function(a){var b=this._elementRef.nativeElement.classList;b.remove("mat-tabs-with-background","mat-background-"+this.backgroundColor);a&&b.add("mat-tabs-with-background","mat-background-"+a);this._backgroundColor=a}}});WO.\u0275fac=function(a){return new (a||WO)};
WO.\u0275cmp=t({type:WO,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(a,b,c){a&1&&Ng(c,XO,5);if(a&2){var d;Qg(d=Rg())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(Mg(Ixc,7),Mg(Jxc,7),Mg(Kxc,7),Mg(Lxc,5),Mg(Mxc,5));if(a&2){var c;Qg(c=Rg())&&(b._tabListContainer=c.first);Qg(c=Rg())&&(b._tabList=c.first);Qg(c=Rg())&&(b._tabListInner=c.first);Qg(c=Rg())&&(b._nextPaginator=c.first);Qg(c=Rg())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:17,
hostBindings:function(a,b){a&2&&(eg("role",b._getRole()),mg("--mat-tab-animation-duration",b.animationDuration),ng("mat-mdc-tab-header-pagination-controls-enabled",b._showPaginationControls)("mat-mdc-tab-header-rtl",b._getLayoutDirection()=="rtl")("mat-mdc-tab-nav-bar-stretch-tabs",b.stretchTabs)("mat-primary",b.color!=="warn"&&b.color!=="accent")("mat-accent",b.color==="accent")("mat-warn",b.color==="warn")("_mat-animation-noopable",b._animationMode==="NoopAnimations"))},inputs:{fitInkBarToContent:[2,
"fitInkBarToContent","fitInkBarToContent",rh],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",rh],animationDuration:"animationDuration",backgroundColor:"backgroundColor",disableRipple:[2,"disableRipple","disableRipple",rh],color:"color",tabPanel:"tabPanel"},exportAs:["matTabNavBar","matTabNav"],standalone:!0,features:[dg,cg,$g],attrs:["mat-tab-nav-bar",""],ngContentSelectors:Nxc,decls:13,vars:6,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",
""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-links"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(a,b){if(a&1){var c=x();Dg();I(0,"div",
5,0);M("click",function(){z(c);return A(b._handlePaginatorClick("before"))})("mousedown",function(d){z(c);return A(b._handlePaginatorPress("before",d))})("touchend",function(){z(c);return A(b._stopInterval())});K(2,"div",6);J();I(3,"div",7,1);M("keydown",function(d){z(c);return A(b._handleKeydown(d))});I(5,"div",8,2);M("cdkObserveContent",function(){z(c);return A(b._onContentChanges())});I(7,"div",9,3);Eg(9);J()()();I(10,"div",10,4);M("mousedown",function(d){z(c);return A(b._handlePaginatorPress("after",
d))})("click",function(){z(c);return A(b._handlePaginatorClick("after"))})("touchend",function(){z(c);return A(b._stopInterval())});K(12,"div",6);J()}a&2&&(ng("mat-mdc-tab-header-pagination-disabled",b._disableScrollBefore),F("matRippleDisabled",b._disableScrollBefore||b.disableRipple),C(10),ng("mat-mdc-tab-header-pagination-disabled",b._disableScrollAfter),F("matRippleDisabled",b._disableScrollAfter||b.disableRipple))},dependencies:[Ky,qx],styles:[".mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color, var(--mat-app-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-links,.mat-mdc-tab-links.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height, 48px)}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height, 1px);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}\n"],
encapsulation:2});
var XO=function(){MO.call(this);var a=this;this._tabNavBar=r(WO);this.elementRef=r(ge);this._focusMonitor=r(ax);this._destroyed=new Jf;this.disableRipple=this.disabled=this._isActive=!1;this.tabIndex=0;this.id="mat-tab-link-"+Oxc++;r(Yw).load(Fy);var b=r(Jy,{optional:!0}),c=r(new Vv("tabindex"),{optional:!0}),d=r(Zv,{optional:!0});this.rippleConfig=b||{};this.tabIndex=c==null?0:parseInt(c)||0;d==="NoopAnimations"&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0});this._tabNavBar._fitInkBarToContent.pipe(Of(this._destroyed)).subscribe(function(e){a.fitInkBarToContent=e})};
Y(XO,MO);XO.\u0275dir=MO.\u0275dir;g=XO.prototype;g.focus=function(){this.elementRef.nativeElement.focus()};g.ngAfterViewInit=function(){this._focusMonitor.monitor(this.elementRef)};g.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete();MO.prototype.ngOnDestroy.call(this);this._focusMonitor.stopMonitoring(this.elementRef)};g._handleFocus=function(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)};
g._handleKeydown=function(a){if(a.keyCode===32||a.keyCode===13)this.disabled?a.preventDefault():this._tabNavBar.tabPanel&&(a.keyCode===32&&a.preventDefault(),this.elementRef.nativeElement.click())};g._getAriaControls=function(){var a;return this._tabNavBar.tabPanel?(a=this._tabNavBar.tabPanel)==null?void 0:a.id:this.elementRef.nativeElement.getAttribute("aria-controls")};g._getAriaSelected=function(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")};
g._getAriaCurrent=function(){return this.active&&!this._tabNavBar.tabPanel?"page":null};g._getRole=function(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")};g._getTabIndex=function(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.disabled?-1:this.tabIndex};
ea.Object.defineProperties(XO.prototype,{active:{configurable:!0,enumerable:!0,get:function(){return this._isActive},set:function(a){a!==this._isActive&&(this._isActive=a,Pxc(this._tabNavBar))}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}}});XO.\u0275fac=function(a){return new (a||XO)};
XO.\u0275cmp=t({type:XO,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(a,b){a&1&&M("focus",function(){return b._handleFocus()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(eg("aria-controls",b._getAriaControls())("aria-current",b._getAriaCurrent())("aria-disabled",b.disabled)("aria-selected",b._getAriaSelected())("id",b.id)("tabIndex",b._getTabIndex())("role",b._getRole()),ng("mat-mdc-tab-disabled",
b.disabled)("mdc-tab--active",b.active))},inputs:{active:[2,"active","active",rh],disabled:[2,"disabled","disabled",rh],disableRipple:[2,"disableRipple","disableRipple",rh],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:sh(a)}],id:"id"},exportAs:["matTabLink"],standalone:!0,features:[dg,cg,$g],attrs:["mat-tab-link",""],ngContentSelectors:Nxc,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],
[1,"mdc-tab__text-label"]],template:function(a,b){a&1&&(Dg(),K(0,"span",0)(1,"div",1),I(2,"span",2)(3,"span",3),Eg(4),J()());a&2&&(C(),F("matRippleTrigger",b.elementRef.nativeElement)("matRippleDisabled",b.rippleDisabled))},dependencies:[Ky],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height, 48px);font-family:var(--mat-tab-header-label-text-font, var(--mat-app-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-app-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-app-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-app-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-app-title-small-weight))}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height, 2px);border-radius:var(--mdc-tab-indicator-active-indicator-shape, 0)}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-app-primary))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-app-primary))}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-app-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}\n'],
encapsulation:2,changeDetection:0});var Qxc=function(){this.id="mat-tab-nav-panel-"+Oxc++};Qxc.\u0275fac=function(a){return new (a||Qxc)};
Qxc.\u0275cmp=t({type:Qxc,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(a,b){a&2&&eg("aria-labelledby",b._activeTabId)("id",b.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],standalone:!0,features:[$g],ngContentSelectors:Nxc,decls:1,vars:0,template:function(a){a&1&&(Dg(),Eg(0))},encapsulation:2,changeDetection:0});var YO=function(){};YO.\u0275fac=function(a){return new (a||YO)};YO.\u0275mod=u({type:YO});YO.\u0275inj=p({imports:[yy,yy]});var ZO=function(a,b,c){this.options=a;this.changeDetectorRef=b;this.tabGroup=c;this.appearance=this.options.appearance};ea.Object.defineProperties(ZO.prototype,{appearance:{configurable:!0,enumerable:!0,get:function(){return this.cachedAppearance},set:function(a){this.cachedAppearance===a||this.options.disableGmatStyle||(this.cachedAppearance=a,this.tabGroup.fitInkBarToContent=a==="primary",this.changeDetectorRef.markForCheck())}}});ZO.\u0275fac=function(a){return new (a||ZO)(af(lxc),af(rw),af(VO))};
ZO.\u0275dir=ud({type:ZO,selectors:[["mat-tab-group"]],hostVars:4,hostBindings:function(a,b){a&2&&ng("gmat-mdc-tabs-primary",!b.options.disableGmatStyle&&b.appearance==="primary")("gmat-mdc-tabs-secondary",!b.options.disableGmatStyle&&b.appearance==="secondary")},inputs:{appearance:"appearance"}});var $O=function(a,b,c){this.options=a;this.changeDetectorRef=b;this.tabNav=c;this.appearance=this.options.appearance};
ea.Object.defineProperties($O.prototype,{appearance:{configurable:!0,enumerable:!0,get:function(){return this.cachedAppearance},set:function(a){this.cachedAppearance===a||this.options.disableGmatStyle||(this.cachedAppearance=a,this.tabNav.fitInkBarToContent=a==="primary",this.changeDetectorRef.markForCheck())}}});$O.\u0275fac=function(a){return new (a||$O)(af(lxc),af(rw),af(WO))};
$O.\u0275dir=ud({type:$O,selectors:[["","mat-tab-nav-bar",""]],hostVars:4,hostBindings:function(a,b){a&2&&ng("gmat-mdc-tabs-primary",!b.options.disableGmatStyle&&b.appearance==="primary")("gmat-mdc-tabs-secondary",!b.options.disableGmatStyle&&b.appearance==="secondary")},inputs:{appearance:"appearance"}});var aP=function(){};aP.\u0275fac=function(a){return new (a||aP)};aP.\u0275mod=u({type:aP});aP.\u0275inj=p({imports:[YO]});var bP=function(){};bP.\u0275fac=function(a){return new (a||bP)};bP.\u0275mod=u({type:bP});bP.\u0275inj=p({imports:[yy,Qw,Ny,vO,yy]});var cP=function(){};cP.\u0275fac=function(a){return new (a||cP)};cP.\u0275mod=u({type:cP});cP.\u0275inj=p({imports:[RE,ML,JH,PN,Qz,NN,bP,LO,aP,yN]});var zq=function(a){this.internalArray_=m(a)};Y(zq,V);g=zq.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getScope=function(){return Gh(this,2)};g.setScope=function(a){return cj(this,2,a)};g.setMaxResults=function(a){return uj(this,5,a)};var yq=function(a){this.internalArray_=m(a,0,yq.messageId)};Y(yq,V);yq.prototype.getIt=function(){return W(this,zq,1)};yq.prototype.setIt=function(a){return X(this,zq,1,a)};yq.messageId="b.LookupSimilarIssuesRequest";var Rxc=function(a){this.internalArray_=m(a)};Y(Rxc,V);g=Rxc.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getScore=function(){return zl(this,2)};g.setScore=function(a){return Wl(this,2,a)};var Sxc=function(a){this.internalArray_=m(a)};Y(Sxc,V);var dP=function(a){this.internalArray_=m(a,0,dP.messageId)};Y(dP,V);dP.prototype.getIt=function(){return W(this,Sxc,3)};dP.prototype.setIt=function(a){return X(this,Sxc,3,a)};dP.messageId="b.LookupSimilarIssuesResponse";var Txc={},Uxc=(Txc[Hq.queryAtom]=!0,Txc),eP=function(){this.executor=r(OB)},fP=function(a,b){return a.executor.post({url:"action/lookup_similar_issues",body:ERa(b),responseConstructor:dP}).pipe(B(function(c){var d=nj(c.getIt(),gn,1,Wi()).map(mm);c=nj(c.getIt(),Rxc,2,Wi()).map(function(e){return e.getScore()});return{similarIssues:d,scores:c}}))},Vxc=function(a,b,c,d){d=d===void 0?new Set:d;d={maxResults:7,scope:ap.apply(null,[b?$o("-id",b):void 0,$o("modified","365d")].concat(w(Array.from(d).map(function(e){return e.queryAtom})))),
scopeSortOrder:"vote_count desc"};c==null?d.issueId=Number(b):d.keyword=c;return fP(a,d)},Wxc=function(a,b,c,d){d=d===void 0?new Set:d;return fP(a,{issueId:Number(b),maxResults:7,scope:ap.apply(null,[$o("-id",b),$o("id",c)].concat(w(Array.from(d).map(function(e){return e.queryAtom}).filter(function(e){return Uxc[e]}))))})};eP.\u0275fac=function(a){return new (a||eP)};eP.\u0275prov=n({token:eP,factory:eP.\u0275fac,providedIn:"root"});var Xxc=Bj(function(a){var b,c;return(c=a==null?void 0:(b=a.aggregatedData)==null?void 0:b.voteCount)!=null?c:0},Cj),Yxc=new Set([Hq]),gP=function(){this.issueFullFridge=r(yG);this.issueFridge=r(OF);this.similarIssuesApi=r(eP);this.analytics=r(wG);this.recentlyViewedIds$=this.issueFridge.watchMany({custom:"viewed",pageSize:50}).pipe(B(function(a){return a.results.map(function(b){return b.issueId})}));this.componentIdToRecentCanonicals=new Map},Zxc=function(a,b,c){c=c===void 0?Yxc:c;var d=Vxc(a.similarIssuesApi,
b,void 0,c),e=Fe([]).pipe(Df(5E3));e=aia(e,a.recentlyViewedIds$).pipe(Nf(function(f){return Wxc(a.similarIssuesApi,b,f,c)}));return Me([d,e]).pipe(B(function(f){var h=k(f);f=h.next().value;h=h.next().value;return FRa(f,h).similarIssues.slice(0,7)}),xf(function(f){sj("IssuePickerSearchService::searchSimilarIssuesById() error: ",f);var h,l,q=(l=f==null?void 0:(h=f.error)==null?void 0:h.status)!=null?l:f==null?void 0:f.status;a.analytics.trackEvent("issue-picker-svc","error","by-id",q);return Fe([])}))},
ayc=function(a,b,c,d,e){c=c===void 0?Yxc:c;return b.trim()?d==="canonical"?Vxc(a.similarIssuesApi,e==null?void 0:e.id,b,c).pipe(B(function(f){return f.similarIssues}),xf(function(f){sj("IssuePickerSearchService::searchSimilarIssues() error: ",f);var h,l,q=(l=f==null?void 0:(h=f.error)==null?void 0:h.status)!=null?l:f==null?void 0:f.status;a.analytics.trackEvent("issue-picker-svc","error","by-text",q);return Fe([])})):$xc(a,b):Fe(void 0)};
gP.prototype.search=function(a,b,c,d){var e=this;if(!a.trim())return Fe(void 0);if(b==="canonical"){b=byc(this,a,d);d=cyc(this,d).pipe(Nf(function(h){return e.issueFridge.watchMany({filter:ap(a,$o("-id",c==null?void 0:c.id),$o("status","open"),$o("componentid",h)),pageSize:10})}),B(function(h){return h==null?void 0:h.results}));var f=this.issueFridge.watchMany({filter:ap(a,$o("-id",c==null?void 0:c.id)),pageSize:10,sort:"modified_time:desc"}).pipe(B(function(h){return h==null?void 0:h.results}),Mf([]));
return Me([b,d,f]).pipe(B(function(h){return Qk(h.flat(),function(l){return l.issueId})}),B(function(h){return h.slice(0,10)}),B(function(h){return Xxc(h,"DESCENDING")}))}return $xc(this,a)};
var $xc=function(a,b){return a.issueFridge.watchMany({filter:b,pageSize:10}).pipe(B(function(c){return c==null?void 0:c.results}))},byc=function(a,b,c){return c?dyc(a,c).pipe(Nf(function(d){return d.length===0?Fe([]):a.issueFridge.watchMany({filter:ap(b,$o("id",d),$o("status","open")),pageSize:10}).pipe(B(function(e){return e==null?void 0:e.results}))})):Fe([])},dyc=function(a,b){if(!b)return Fe([]);if(a.componentIdToRecentCanonicals.has(b))return a.componentIdToRecentCanonicals.get(b);var c=a.issueFridge.watchMany({filter:ap($o("componentid",
b,!0),$o("status","duplicate")),sort:"modified_time:desc",pageSize:250}).pipe(B(function(d){return d==null?void 0:d.results}),B(function(d){return d.map(function(e){return e.snapshot[0].duplicateOfIssueId})}),B(function(d){return Rk(d.filter(kj))}),Kf({bufferSize:1,refCount:!0}));a.componentIdToRecentCanonicals.set(b,c);return c},cyc=function(a,b){return b?dyc(a,b).pipe(Nf(function(c){return a.issueFullFridge.watchSet(c)}),B(function(c){return c.map(function(d){return d.snapshot[0].componentId})}),
B(function(c){return[b].concat(w(c.filter(kj)))}),B(Rk),Kf({bufferSize:1,refCount:!0})):Fe([])};gP.\u0275fac=function(a){return new (a||gP)};gP.\u0275prov=n({token:gP,factory:gP.\u0275fac,providedIn:"root"});var hP=function(){};hP.\u0275fac=function(a){return new (a||hP)};hP.\u0275cmp=t({type:hP,selectors:[["b-async-data-placeholder"]],inputs:{isReady:"isReady"},ngContentSelectors:["*"],decls:2,vars:1,consts:[[1,"animated-loading-bar"]],template:function(a,b){a&1&&(Dg(),D(0,GRa,1,0)(1,HRa,1,0,"div",0));a&2&&G(b.isReady?0:1)},encapsulation:2});var iP=function(){this.mode="datetime";this.isDataLoaded=!1};iP.prototype.ngOnChanges=function(){var a;if((a=this.issue)==null?0:a.aggregatedData){var b;this.createdTime=((b=this.issue)==null?NaN:b.aggregatedData.createdTimeMicros)/1E3}this.isDataLoaded=this.issue!=null};iP.\u0275fac=function(a){return new (a||iP)};
iP.\u0275cmp=t({type:iP,selectors:[["b-issue-created-time-cell"]],inputs:{issue:"issue",mode:"mode"},features:[Hd],decls:3,vars:2,consts:[[1,"nowrap",3,"isReady"],[3,"mode","timestamp","paddingLeftPx"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",0),D(1,IRa,1,3,"b-formatted-date-time",1)(2,JRa,2,0,"ng-container"),J());a&2&&(F("isReady",b.isDataLoaded),C(),G(b.createdTime?1:2))},dependencies:[hP,VM],encapsulation:2,changeDetection:0});var jP=function(){this.relayOnly=!1;this.keydown$=new Jf};jP.prototype.onKeydown=function(a){this.relayOnly||this.keydown$.next(a)};ea.Object.defineProperties(jP.prototype,{tabindex:{configurable:!0,enumerable:!0,get:function(){return this.relayOnly?null:"0"}}});jP.\u0275fac=function(a){return new (a||jP)};
jP.\u0275dir=ud({type:jP,selectors:[["","onedevKeyEventReceiver",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b.onKeydown(c)});a&2&&eg("tabindex",b.tabindex)},inputs:{relayOnly:"relayOnly"}});var eyc=0,kP=function(a){this.keyEventReceiver=a;this.id="onedev-popup-panel-"+eyc;this.closePanel$=new If(1);eyc++};kP.prototype.processKeydown=function(a){this.keyEventReceiver&&this.keyEventReceiver.keydown$.next(a);var b=a.code;(b==="Escape"||a.altKey&&b==="ArrowUp")&&this.closePanel$.next()};kP.\u0275fac=function(a){return new (a||kP)(af(jP,8))};
kP.\u0275cmp=t({type:kP,selectors:[["onedev-popup-panel"]],viewQuery:function(a,b){a&1&&Mg(Jg,7);if(a&2){var c;Qg(c=Rg())&&(b.templateRef=c.first)}},inputs:{className:"className"},exportAs:["onedevPopupPanel"],ngContentSelectors:["*"],decls:1,vars:0,consts:[[1,"onedev-popup-panel","gmat-elevation-z2",3,"keydown"]],template:function(a){a&1&&(Dg(),D(0,KRa,2,3,"ng-template"))},styles:[".onedev-popup-panel{background-color:var(--surface-default,#fff);border-radius:4px;overflow:auto}.onedev-popup-panel:focus{outline:0}"],
encapsulation:2});var lP=function(a,b,c,d,e){this.overlay=a;this.element=b;this.viewContainerRef=c;this.focusTrapFactory=d;this.cdr=e;this.disabled=!1;this.closeOnBackdropClick=!0;this.opened=new kw;this.closed=new kw;this.isOpen=!1;this.destroyed$=new If(1);this.closingActionsSubscription=me.EMPTY};lP.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
lP.prototype.open=function(){var a=this;this.disabled||this.isOpen||(this.overlayRef=this.createOverlay(),this.templatePortal=new ny(this.popupPanel.templateRef,this.viewContainerRef),this.overlayRef.attach(this.templatePortal),this.closingActionsSubscription=fyc(this).pipe(Of(this.destroyed$)).subscribe(function(){a.close()}),this.trapFocus(),this.isOpen=!0,this.opened.emit())};
lP.prototype.close=function(){if(this.isOpen){this.isOpen=!1;var a;if((a=this.overlayRef)==null?0:a.hasAttached())this.overlayRef.detach(),this.overlayRef.dispose();this.focusTrap&&this.focusTrap.destroy();this.closingActionsSubscription.unsubscribe();this.element.nativeElement.focus();this.closed.emit();this.cdr.markForCheck()}};
lP.prototype.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy();return this.overlay.create({positionStrategy:a,scrollStrategy:b,hasBackdrop:!0,backdropClass:"onedev-popup-panel-backdrop"})};var fyc=function(a){var b=a.overlayRef.backdropClick(),c=a.overlayRef._detachments,d=a.popupPanel.closePanel$;return a.closeOnBackdropClick?Xe(b,c,d):Xe(c,d)};
lP.prototype.trapFocus=function(){this.overlayRef&&(this.focusTrap=this.focusTrapFactory.create(this.overlayRef.hostElement),this.focusTrap.focusInitialElement())};
lP.prototype.getPositionStrategy=function(){return fy(gy(hy(ky(this.overlay.position(),this.element)),8),[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])};lP.prototype.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
ea.Object.defineProperties(lP.prototype,{onedevPopupPanelTriggerFor:{configurable:!0,enumerable:!0,get:function(){return this.popupPanel},set:function(a){this.popupPanel=a}}});lP.\u0275fac=function(a){return new (a||lP)(af(ty),af(ge),af(Kg),af(zx),af(rw))};
lP.\u0275dir=ud({type:lP,selectors:[["","onedevPopupPanelTrigger",""]],hostAttrs:["aria-haspopup","true"],hostVars:3,hostBindings:function(a,b){a&2&&eg("aria-disabled",b.disabled)("aria-expanded",b.isOpen||null)("aria-controls",b.isOpen?b.popupPanel.id:null)},inputs:{onedevPopupPanelTriggerFor:"onedevPopupPanelTriggerFor",disabled:[0,"onedevPopupPanelTriggerDisabled","disabled"],closeOnBackdropClick:[0,"onedevPopupPanelTriggerCloseOnBackdropClick","closeOnBackdropClick"]},outputs:{opened:"onedevPopupPanelTriggerOpened",
closed:"onedevPopupPanelTriggerClosed"},exportAs:["onedevPopupPanelTrigger"],standalone:!0});var gyc=function(a,b){this._document=b;var c=this._textarea=this._document.createElement("textarea"),d=c.style;d.position="fixed";d.top=d.opacity="0";d.left="-999em";c.setAttribute("aria-hidden","true");c.value=a;c.readOnly=!0;(this._document.fullscreenElement||this._document.body).appendChild(c)};gyc.prototype.copy=function(){var a=this._textarea,b=!1;try{if(a){var c=this._document.activeElement;a.select();a.setSelectionRange(0,a.value.length);b=this._document.execCommand("copy");c&&c.focus()}}catch(d){}return b};
gyc.prototype.destroy=function(){var a=this._textarea;a&&(a.remove(),this._textarea=void 0)};var mP=function(){this._document=r(ei)};mP.prototype.copy=function(a){a=new gyc(a,this._document);var b=a.copy();a.destroy();return b};mP.\u0275fac=function(a){return new (a||mP)};mP.\u0275prov=n({token:mP,factory:mP.\u0275fac,providedIn:"root"});new Bd("CDK_COPY_TO_CLIPBOARD_CONFIG");var nP=function(){Z.apply(this,arguments);this.activeSession=r(dv);this.trackerHelpers=r(yL);this.clipboard=r(mP);this.butterBar=r(hE);this.componentId=0;this.issueTitle=this.issueId="";this.disabled=this.isExternalIssue=!1;this.showCopyOptions=this.enableHotkeys=!0;this.isOpen=!1;this.HOTKEYS=ep};Y(nP,Z);nP.\u0275dir=Z.\u0275dir;nP.prototype.copyIssueId=function(){this.clipboard.copy(this.issueId);du(this.butterBar,"Issue ID copied",2E3)};var Aq=function(a,b){a.clipboard.copy(b.value);a.trigger.close()};
nP.prototype.getIssueUrl=function(){return this.getAppBaseUrl(this.isExternalIssue)};nP.prototype.getAppBaseUrl=function(a){return rr(this.trackerHelpers,this.issueId,void 0,a===void 0?!1:a)};nP.\u0275fac=function(){var a;return function(b){return(a||(a=de(nP)))(b||nP)}}();
nP.\u0275cmp=t({type:nP,selectors:[["b-issue-id-picker"]],viewQuery:function(a,b){a&1&&Mg(lP,5);if(a&2){var c;Qg(c=Rg())&&(b.trigger=c.first)}},inputs:{componentId:"componentId",issueId:"issueId",issueTitle:"issueTitle",isExternalIssue:"isExternalIssue",disabled:"disabled",enableHotkeys:"enableHotkeys",showCopyOptions:"showCopyOptions"},features:[cg],decls:4,vars:6,consts:[["trigger","onedevPopupPanelTrigger"],["contentPanel","onedevPopupPanel"],["issueIdField",""],["issueUrlField",""],["urlAndTitleField",
""],["issueShortlinkField",""],["issueEmailField",""],["todoCommentField",""],["matTooltip","Copy issue ID","matTooltipShowDelay","750","disableRipple","true",1,"unstyled","square-right","issue-id",3,"click"],["svgIcon","copy",1,"icon-xs","invisible"],["matTooltip","Show links for this issue","onedevPopupPanelTrigger","","disableRipple","true",1,"unstyled","square-left",3,"onHotkey","onedevPopupPanelTriggerOpened","onedevPopupPanelTriggerClosed","click","onedevPopupPanelTriggerFor","hotkey","hotkeyEnabled"],
["svgIcon","arrow-dropdown",1,"icon-xs"],["role","region"],["cdkTrapFocus","",1,"issue-id-picker-popup",3,"cdkTrapFocusAutoCapture"],[1,"id-details-row"],[3,"htmlFor"],["cdkFocusInitial","","type","text","readonly","","id","id-details-issue-id-field",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],[1,"muted","shortcut"],["mat-icon-button","","tabindex","-1","aria-label","Copy ID","matTooltip","Copy ID",1,"copy",3,"onHotkey","click","hotkey","hotkeyEnabled"],["svgIcon","copy",1,"icon-s"],
["type","text","readonly","","id","id-details-issue-url-field",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["mat-icon-button","","tabindex","-1","aria-label","Copy URL","matTooltip","Copy URL",1,"copy",3,"onHotkey","click","hotkey","hotkeyEnabled"],["type","text","readonly","","id","id-details-url-and-title-field",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["mat-icon-button","","tabindex","-1","aria-label","Copy text","matTooltip","Copy text",1,"copy",3,"onHotkey","click",
"hotkey","hotkeyEnabled"],["type","text","readonly","","id","id-details-issue-shortlink-field",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["mat-icon-button","","tabindex","-1","aria-label","Copy shortlink","matTooltip","Copy shortlink",1,"copy",3,"onHotkey","click","hotkey","hotkeyEnabled"],["type","text","readonly","","id","id-details-issue-email-field","matTooltip","Email this address to add comments to this issue",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["mat-icon-button",
"","tabindex","-1","aria-label","Copy email","matTooltip","Copy email",1,"copy",3,"onHotkey","click","hotkey","hotkeyEnabled"],["type","text","readonly","","id","id-details-todo-comment-field","matTooltip","TODO comment for code",1,"value",3,"onHotkey","focus","hotkey","hotkeyEnabled"],["mat-icon-button","","tabindex","-1","aria-label","Copy comment","matTooltip","Copy comment",1,"copy",3,"onHotkey","click","hotkey","hotkeyEnabled"]],template:function(a,b){a&1&&(I(0,"button",8),M("click",function(){return b.copyIssueId()}),
Q(1),D(2,LRa,1,0,"mat-icon",9),J(),D(3,WRa,6,5));a&2&&(ng("square-right",b.showCopyOptions),eg("aria-label","Copy issue number "+b.issueId),C(),R(" ",b.issueId," "),C(),G(b.showCopyOptions?-1:2),C(),G(b.showCopyOptions?3:-1))},dependencies:[jx,$D,$H,vD,Xy,FH,HH,kP,lP],styles:["[_nghost-%COMP%]{border-radius:4px;font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400;display:inline-block;user-select:none;white-space:nowrap;line-height:22px}button[_ngcontent-%COMP%], mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.issue-id[_ngcontent-%COMP%]{padding:0 3px}@media(forced-colors: active){.issue-id[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider)}.issue-id[_ngcontent-%COMP%]:focus-visible{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color}}.shortcut[_ngcontent-%COMP%]{font-family:WorkAroundWebKitAndMozilla,monospace;padding-left:8px;white-space:nowrap}button.issue-id[_ngcontent-%COMP%]:hover   mat-icon[_ngcontent-%COMP%], button.issue-id[_ngcontent-%COMP%]:focus-visible   mat-icon[_ngcontent-%COMP%]{visibility:visible}button[_ngcontent-%COMP%]{cursor:pointer;border-radius:4px;user-select:text}button[_ngcontent-%COMP%]:hover, button[_ngcontent-%COMP%]:focus-visible{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}button.square-left[_ngcontent-%COMP%]{border-left:1px solid;border-left-color:#fff;border-left-color:var(--background)}@media(forced-colors: active){button.square-left[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider)}button.square-left[_ngcontent-%COMP%]:focus-visible{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color}}mat-icon[_ngcontent-%COMP%]{margin-top:-2px;color:#3c4043;color:var(--gfx)}  .onedev-popup-panel .issue-id-picker-popup{padding:10px}  .onedev-popup-panel .issue-id-picker-popup .id-details-row{display:flex;flex-direction:row;align-items:center}  .onedev-popup-panel .issue-id-picker-popup .id-details-row label{flex-basis:110px;font-family:Roboto,Arial,sans-serif;font-size:.8125rem;color:#5f6368;color:var(--text-muted)}  .onedev-popup-panel .issue-id-picker-popup .id-details-row .value{flex-grow:1;font-family:Roboto,Arial,sans-serif;display:inline-block;width:345px;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:4px;outline:none;padding:5px;margin-left:5px}  .onedev-popup-panel .issue-id-picker-popup .id-details-row .value:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}  .onedev-popup-panel .issue-id-picker-popup .id-details-row button.copy{cursor:pointer;color:#1a73e8;color:var(--link)}  .onedev-popup-panel .issue-id-picker-popup .id-details-row button.copy .mat-mdc-button-persistent-ripple{border-radius:inherit}"],
changeDetection:0});var oP=function(){};oP.prototype.ngOnInit=function(){};oP.prototype.onClick=function(a){a.stopPropagation()};oP.\u0275fac=function(a){return new (a||oP)};
oP.\u0275cmp=t({type:oP,selectors:[["b-issue-id-cell"]],hostBindings:function(a,b){a&1&&M("click",function(c){return b.onClick(c)})},inputs:{id:"id"},decls:2,vars:2,consts:[[3,"isReady"],[3,"issueId","showCopyOptions"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",0),D(1,XRa,1,2,"b-issue-id-picker",1),J());a&2&&(F("isReady",!!b.id),C(),G(b.id?1:-1))},dependencies:[hP,nP],encapsulation:2,changeDetection:0});var pP=function(){},hyc=function(a){a=a.issuePriority;if(a==null)return"";switch(a){case "P0":return"priority-1";case "P1":return"priority-2";case "P2":return"priority-3";case "P3":return"priority-4";case "P4":return"priority-5";default:return""}};pP.\u0275fac=function(a){return new (a||pP)};
pP.\u0275cmp=t({type:pP,selectors:[["b-issue-priority-display"]],inputs:{issuePriority:"issuePriority"},decls:2,vars:2,consts:[[1,"p-chip",3,"ngClass"]],template:function(a,b){a&1&&(I(0,"span",0),Q(1),J());a&2&&(F("ngClass",hyc(b)),C(),a=b.issuePriority,R(" ",a==null?"--":T7b[a]," "))},dependencies:[Ew],styles:["/*# sourceMappingURL=issue_priority_display.css.map */"],changeDetection:0});var qP=function(){this.priority=this.issue=null;this.isDataLoaded=!1};qP.prototype.ngOnChanges=function(){var a,b;this.priority=((a=this.issue)==null?void 0:(b=a.snapshot[0])==null?void 0:b.priority)||null;this.isDataLoaded=this.issue!==null};qP.\u0275fac=function(a){return new (a||qP)};
qP.\u0275cmp=t({type:qP,selectors:[["b-issue-priority-cell"]],inputs:{issue:"issue"},features:[Hd],decls:3,vars:2,consts:[[1,"nowrap",3,"isReady"],[3,"issuePriority"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",0),D(1,YRa,1,1,"b-issue-priority-display",1)(2,ZRa,2,0,"ng-container"),J());a&2&&(F("isReady",b.isDataLoaded),C(),G(b.priority?1:2))},dependencies:[hP,pP],encapsulation:2,changeDetection:0});var rP=function(){this.changelistFridge=r(lC);this.IssueStatus=v7b;this.STATUS_JS_FULL_TEXT=Pi;this.STATUS_JS_TERSE=Q7b;this.isFixed=Uta;this.issue=null;this.isDataLoaded=!1};rP.prototype.ngOnChanges=function(){if(this.showPendingFix&&this.issue){var a=this.changelistFridge.peekAllRecords(),b;this.pendingFixCl=dSa(a,(b=this.issue)==null?void 0:b.issueId)}var c,d;this.status=((c=this.issue)==null?void 0:(d=c.snapshot[0])==null?void 0:d.status)||void 0;this.isDataLoaded=this.issue!==null};
rP.\u0275fac=function(a){return new (a||rP)};
rP.\u0275cmp=t({type:rP,selectors:[["b-issue-status-cell"]],inputs:{issue:"issue",showPendingFix:"showPendingFix"},features:[Hd],decls:3,vars:2,consts:[[3,"isReady"],["target","_blank",3,"class","href","matTooltip"],["target","_blank",3,"href","matTooltip"],[3,"class","title"],[3,"title"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",0),D(1,$Ra,2,8,"a",1)(2,cSa,2,1),J());a&2&&(F("isReady",b.isDataLoaded),C(),G(b.pendingFixCl&&!b.isFixed(b.issue)?1:2))},dependencies:[hP,FH,HH],encapsulation:2,
changeDetection:0});var sP=function(){this.userPreferencesManager=r(yH);this.codefont$=this.userPreferencesManager.codeFont$};sP.\u0275fac=function(a){return new (a||sP)};sP.\u0275prov=n({token:sP,factory:sP.\u0275fac,providedIn:"root"});var iyc=new Bd("formatting mode",{factory:function(){return"UNSPECIFIED_FORMATTING_MODE"}});var jyc=["child"],tP=function(){this.codefont=r(sP)};tP.prototype.ngOnInit=function(){};tP.prototype.ngOnChanges=function(){var a=this.child.nativeElement,b=this.content.content;b?Uc(a,b):eSa(a)};tP.\u0275fac=function(a){return new (a||tP)};
tP.\u0275cmp=t({type:tP,selectors:[["b-literal-format-presenter"]],viewQuery:function(a,b){a&1&&Mg(jyc,7);if(a&2){var c;Qg(c=Rg())&&(b.child=c.first)}},inputs:{content:"content"},features:[Yg([{provide:iyc,useValue:"LITERAL"}]),Hd],decls:3,vars:4,consts:[["child",""],[1,"type-m","child"]],template:function(a,b){a&1&&(K(0,"div",1,0),S(2,"async"));a&2&&ng("codefont",U(2,2,b.codefont.codefont$))},dependencies:[Iw],styles:[".child[_ngcontent-%COMP%] { white-space: pre-wrap; }"],changeDetection:0});var uP=function(){var a=this;this.elementRef=r(ge);this.eventType="click";this.clickOutside=new rG;this.clickHandler=function(b){var c=b.target instanceof Element?b.target:b.target instanceof Node?b.target.parentElement:null;c&&(c.closest(".cdk-overlay-container")||a.elementRef.nativeElement.contains(c)||a.clickOutside.emit(b))}};uP.prototype.ngOnInit=function(){document.addEventListener(this.eventType,this.clickHandler,!0)};
uP.prototype.ngOnDestroy=function(){document.removeEventListener(this.eventType,this.clickHandler,!0)};uP.\u0275fac=function(a){return new (a||uP)};uP.\u0275dir=ud({type:uP,selectors:[["","clickOutside",""]],inputs:{eventType:[0,"clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var vP=function(){};vP.\u0275fac=function(a){return new (a||vP)};vP.\u0275mod=u({type:vP});vP.\u0275inj=p({});var kyc=["el"],wP=function(){this.clipboard=r(mP);this.snackBar=r(eE);this.domSafe=r(mM);this.opened=!1};wP.prototype.getNgContentParentEl=function(){return this.el.nativeElement};wP.prototype.hide=function(){this.opened=!1};wP.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};wP.\u0275fac=function(a){return new (a||wP)};
wP.\u0275cmp=t({type:wP,selectors:[["b-broken-link"]],viewQuery:function(a,b){a&1&&Mg(kyc,7);if(a&2){var c;Qg(c=Rg())&&(b.el=c.first)}},inputs:{originalHref:"originalHref"},ngContentSelectors:["*"],decls:8,vars:3,consts:[["trigger","cdkOverlayOrigin"],["el",""],["cdkOverlayOrigin","","aria-haspopup","true",1,"broken",3,"click"],["svgIcon","link-off",1,"broken","icon-s"],["cdkConnectedOverlay","","cdkConnectedOverlayPanelClass","tooltip-panel",3,"cdkConnectedOverlayPush","cdkConnectedOverlayOrigin",
"cdkConnectedOverlayOpen"],[1,"b-bubble","flex-kids-y",3,"clickOutside"],[1,"flex-kids-x"],["mat-button","","matTooltip","Copy to clipboard","aria-label","Copy URL to clipboard",1,"tiny",3,"click"],["svgIcon","copy"],[3,"click","href"]],template:function(a,b){if(a&1){var c=x();Dg();I(0,"a",2,0);M("click",function(d){z(c);d.preventDefault();d.stopPropagation();b.opened=!b.opened;return A()});I(2,"b-glue");K(3,"mat-icon",3);J();I(4,"span",null,1);Eg(6);J()();D(7,gSa,11,4,"ng-template",4)}a&2&&(a=L(1),
C(7),F("cdkConnectedOverlayPush",!0)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",b.opened))},dependencies:[$D,wy,vy,uP,HI,vD,Vy,FH,HH],styles:["mat-icon.broken[_ngcontent-%COMP%]{color:#ea4335;color:var(--bad)}a.broken[_ngcontent-%COMP%]{color:#ea4335;color:var(--bad)}.b-bubble[_ngcontent-%COMP%]{display:flex;border-width:1px;border-style:solid;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:8px;box-shadow:0 4px 8px 3px rgba(0,0,0,.1);padding:9px;background-color:#fff;background-color:var(--surface-default)}.b-bubble[_ngcontent-%COMP%]   .gmat-caption[_ngcontent-%COMP%]{max-width:400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.b-bubble[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:4px}  .tooltip-panel{display:inline-block;margin:.1em}"],
changeDetection:0});var lyc=function(){this.checked=!1;this.disabled=!0;this.startPos="";this.checkedChange=new rG};lyc.\u0275fac=function(a){return new (a||lyc)};
lyc.\u0275cmp=t({type:lyc,selectors:[["b-checkbox-widget"]],inputs:{checked:"checked",disabled:"disabled",startPos:"startPos"},outputs:{checkedChange:"checkedChange"},decls:1,vars:2,consts:[[3,"change","disabled","checked"]],template:function(a,b){a&1&&(I(0,"mat-checkbox",0),M("change",function(c){return b.checkedChange.emit(c.checked)}),J());a&2&&F("disabled",b.disabled)("checked",b.checked)},dependencies:[qN,uN],encapsulation:2,changeDetection:0});var myc=["el"],mSa=function(a,b){return b.label},xP=function(){Z.apply(this,arguments);this.domSafe=r(mM);this.clipboard=r(mP);this.snackBar=r(eE);this.activeSession=r(dv);this.contextSensitiveRegistry=r(WL);this.formattingMode=r(iyc);this.analytics=r(wG);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.urls=[];this.enableNexusLinking=lu(this.activeSession,"enableNexusLinking")&&this.activeSession.isInternalSession();this.opened=!1};Y(xP,Z);xP.\u0275dir=Z.\u0275dir;
xP.prototype.ngOnInit=function(){this.urls=[{label:this.originalHref,originalHref:this.originalHref,href:this.href}];if(this.enableNexusLinking){var a=Xo(this.contextSensitiveRegistry.getIssueId());a:{var b=this.originalHref;try{var c=null,d=(new URL(b)).hostname;switch(d.includes("analog")?"Analog":d.includes("sherlog")?"Sherlog":d.includes("eye3")?"Third Eye":"PRODUCT_UNSPECIFIED"){case "Analog":var e=new URL("https://nexus.corp.google.com/debug/dashboard");var f=new URL(b);if(f.searchParams.has("text_query")){var h=
f.searchParams.get("text_query");var l=f.searchParams.get("time_range");if(l==null)var q=[];else{var v=l.split("/");if(v.length!==2)q=[];else{var y=(new Date(v[1])).getTime()*1E3;q=[Jh("start_time","=",[(new Date(v[0])).getTime()*1E3]),Jh("end_time","=",[y])]}}f=[];var E=f.concat,H=w(q);q=[];for(var O,N=[],T=k(h.matchAll(/NOT\s\(source_location.file = "(?<file>[^)]+)" source_location.line = "(?<line>[0-9]+)"\)/gm)),da=T.next();!da.done;da=T.next()){var ja=da.value;N.push(ja[1]+":"+ja[2])}(O=N.length>
0?Jh("site_path","!=",N):null)&&q.push(O);T=void 0;for(var na=k(h.matchAll(/(?<key>[^\s=!~]+)[\s]*(?<operator>=~?|![=~])[\s]*(?<value>"[^"\\]*(?:\\.[^"\\]*)*"|[^\s"]+)/gm)),Ia=na.next();!Ia.done;Ia=na.next()){var Pa=Ia.value,Na=Pa[1];var bb=Pa[2];var ma=baa()(bb)?bb:void 0;h=ma;var Da=Pa[3];if(Da.length>2&&Da.charAt(0)==='"'&&Da.charAt(Da.length-1)==='"')var Ea=Da.substring(1,Da.length-1);else if(Da==="true"||Da==="false")Ea=Da==="true";else{var zb=Number(Da);Ea=oca(zb)?zb:void 0}da=Ea;if(h)if(Na!==
"source_location.file"||h!=="="||O){Na==="source_location.line"&&T&&h==="="&&(T=Jh("site_path","=",[T.values[0]+":"+da]));var qb=Kna(Na);qb&&(qb==="borg_job"&&h==="=~"?q.push(Jh(qb,"=",String(da).split("|"))):q.push(Jh(qb,h,[Ena.includes(qb)?Number(da):da])))}else T=Jh("site_path",h,[da])}T&&q.push(T);var dc=E.call(f,H,w(q))}else{if(f.searchParams.get("storage")==="borglocal")throw Error("eb");E=[];N=k(f.searchParams);for(var fc=N.next();!fc.done;fc=N.next()){var qc=k(fc.value),Zb=qc.next().value,
Ae=qc.next().value,eb=Jna(Zb,Ae,f.searchParams);eb&&E.push.apply(E,w(eb))}dc=E}e.searchParams.set("filters",Dna(dc));e.searchParams.set("tab","rdl");c=e;break;case "Sherlog":if(b.startsWith("http://sherlog/_")){var Cb=new URL("https://nexus.corp.google.com/trace/"+b.replace("http://sherlog/_",""));Cb.searchParams.set("action","expandsherlog");c=Cb}else{var Qa=new URL(b);if(Qa.pathname.includes("workflow")){var Ub=Qa.searchParams,kc,cd=(kc=Ub.get("dataid"))!=null?kc:"",Bb=new URL("https://nexus.corp.google.com/trace/"+
cd),uc=Mqa(Qa);Bb.searchParams.set("account",uc.account);Bb.searchParams.set("account_type",uc.accountType);var vc;Bb.searchParams.set("version",(vc=Ub.get("version"))!=null?vc:"");var Kd;Bb.searchParams.set("pipeline",(Kd=Ub.get("config"))!=null?Kd:"");Bb.searchParams.set("trace_type","sherlog");c=Bb}else c=null}break;default:var td="";break a}a=a!=null?a:void 0;c==null?td="":(c.searchParams.set("origin_type","buganizer"),a&&(a.startsWith("b/")||(a="b/"+a),c.searchParams.set("origin_id",a)),td=c.toString());
break a}catch(jf){td="";break a}td=void 0}td&&this.urls.push({label:"Open in Nexus",originalHref:td,href:td,icon:"nexus-logo"})}};xP.prototype.ngAfterViewInit=function(){var a=this;this.cdkConnectedOverlay.attach.pipe(Of(this.destroyed$)).subscribe(function(){var b=a.cdkConnectedOverlay.overlayRef.overlayElement;b&&(b=b.querySelector("a"))&&b.focus()})};xP.prototype.getNgContentParentEl=function(){return this.el.nativeElement};
var nyc=function(a){if(a.urls.length>1)return!0;if(a.formattingMode==="PLAIN")return!1;var b=a.getNgContentParentEl(),c,d;if(d=fSa(b))a=a.originalHref,b=(c=b.textContent)!=null?c:"",d=b===a||a.startsWith("mailto:")&&a.substring(7)===b?!0:!1;return!d};xP.prototype.hide=function(){this.opened=!1};xP.prototype.copyToClipboard=function(a){this.clipboard.copy(a);this.snackBar.open("URL copied","",{duration:2E3})};
var kSa=function(a,b,c){if(c&&(b.preventDefault(),a=a.cdkConnectedOverlay.overlayRef.overlayElement)){var d=a.querySelector("a");d&&setTimeout(function(){d.focus()})}},jSa=function(a,b,c){if(c&&b.shiftKey&&b.key==="Tab"&&(b.preventDefault(),a=a.cdkConnectedOverlay.overlayRef.overlayElement)){var d=a.querySelector("button.final");d&&setTimeout(function(){d.focus()})}},oyc=function(a){var b="externalLinkPopup";a.urls.find(function(c){return c.label==="Open in Nexus"})&&(b="externalLinkPopupNexus");
a.analytics.trackEvent("issue","click",b)};xP.\u0275fac=function(){var a;return function(b){return(a||(a=de(xP)))(b||xP)}}();
xP.\u0275cmp=t({type:xP,selectors:[["b-external-hyperlink-widget"]],viewQuery:function(a,b){a&1&&(Mg(myc,7),Mg(wy,7));if(a&2){var c;Qg(c=Rg())&&(b.el=c.first);Qg(c=Rg())&&(b.cdkConnectedOverlay=c.first)}},inputs:{originalHref:"originalHref",href:"href"},features:[cg],ngContentSelectors:["*"],decls:7,vars:8,consts:[["trigger","cdkOverlayOrigin"],["el",""],["cdkOverlayOrigin","",1,"keep-focus-ring",3,"click","href","rel"],["cdkConnectedOverlay","","cdkConnectedOverlayPanelClass","tooltip-panel",3,"cdkConnectedOverlayPush",
"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],["svgIcon","link",1,"icon-s"],[1,"b-bubble",3,"clickOutside"],[1,"gmat-caption"],["role","img",1,"icon-s",3,"svgIcon"],["target","_blank",1,"keep-focus-ring",3,"click","keydown","href","rel"],["mat-button","","matTooltip","Copy to clipboard","aria-label","Copy URL to clipboard",1,"tiny",3,"keydown.Tab","click"],["svgIcon","copy"]],template:function(a,b){if(a&1){var c=x();Dg();I(0,"a",2,0);M("click",function(d){z(c);if(!Cq(d))if(d.preventDefault(),
d.stopPropagation(),nyc(b))oyc(b),b.opened=!b.opened;else{var e=b.href;Cq(d)||(d.preventDefault(),d.stopPropagation(),Dq(b.domSafe,e))}return A()});D(2,hSa,2,0,"b-glue");I(3,"span",null,1);Eg(5);J()();D(6,nSa,3,0,"ng-template",3)}a&2&&(a=L(1),ng("needs-contextual-popup",nyc(b)),F("href",b.originalHref,of)("rel",b.EXTERNAL_LINK_REL),C(2),G(nyc(b)?2:-1),C(4),F("cdkConnectedOverlayPush",!0)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",b.opened))},dependencies:[$D,wy,vy,uP,HI,vD,Vy,FH,HH],
styles:[".tooltip-panel{display:inline-block;margin:.1em}[_nghost-%COMP%] > a.needs-contextual-popup[_ngcontent-%COMP%]{cursor:pointer;text-decoration:underline}.b-bubble[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;border-width:1px;border-style:solid;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:8px;box-shadow:0 4px 8px 3px rgba(60,64,67,.15);padding:9px;background-color:#fff;background-color:var(--surface-default)}.b-bubble[_ngcontent-%COMP%]   .gmat-caption[_ngcontent-%COMP%]{align-items:center;display:flex;max-width:400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.b-bubble[_ngcontent-%COMP%]   .gmat-caption[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin:0 2px}.b-bubble[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:4px;--mat-text-button-icon-spacing: 0}.b-bubble[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:not(.final){margin-right:4px}"],
changeDetection:0});var yP=function(){this.session=r(dv);this.userPreferencesManager=r(yH);this.textDisplayPreferences$=this.userPreferencesManager.preferences$.pipe(B(function(a){return a.textDisplayPreferences?a.textDisplayPreferences:{}}),Ef());this.textDisplayPreferences$.pipe(B(function(a){return a.lastPublishMode==="MARKDOWN_FORMATTING_MODE"}),Ef());this.commentDisplayOverride$=this.textDisplayPreferences$.pipe(B(function(a){return a.commentDisplayOverride}),Ef())};yP.\u0275fac=function(a){return new (a||yP)};
yP.\u0275prov=n({token:yP,factory:yP.\u0275fac,providedIn:"root"});var pyc=new Bd("IssueCard");var zP=function(){};zP.prototype.visit=function(){};zP.\u0275fac=function(a){return new (a||zP)};zP.\u0275prov=n({token:zP,factory:zP.\u0275fac,providedIn:"root"});var qyc=["el"],AP=function(){this.viewContainerRef=r(Kg)};AP.\u0275fac=function(a){return new (a||AP)};AP.\u0275dir=ud({type:AP,selectors:[["","issueCardHost",""]]});var BP=function(){Z.apply(this,arguments);this.issueReferenceResolver=r(zP);this.issueCard=r(pyc,{optional:!0});this.hovercardReady=new If(1)};Y(BP,Z);BP.\u0275dir=Z.\u0275dir;BP.prototype.ngOnInit=function(){};
BP.prototype.ngAfterViewInit=function(){var a=this;this.issueCardHost.changes.pipe(Of(this.destroyed$)).subscribe(function(b){a.issueCard&&b.length!==0&&(b=a.issueCardHost.first.viewContainerRef.createComponent(a.issueCard),b.instance.issueId=a.issueId,b.instance.init.pipe(Cf(),Of(a.destroyed$)).subscribe(a.hovercardReady),b.changeDetectorRef.detectChanges())})};
BP.prototype.visit=function(a){if(!Cq(a))if(this.commentNumber)this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+this.commentNumber,event:a});else{var b=this.href.indexOf("#");if(b!==-1&&(b=this.href.slice(b+1))){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:b,event:a});return}this.issueReferenceResolver.visit({issueId:this.issueId,event:a})}};BP.\u0275fac=function(){var a;return function(b){return(a||(a=de(BP)))(b||BP)}}();
BP.\u0275cmp=t({type:BP,selectors:[["b-issue-reference-widget"]],viewQuery:function(a,b){a&1&&(Mg(qyc,7),Mg(AP,5));if(a&2){var c;Qg(c=Rg())&&(b.el=c.first);Qg(c=Rg())&&(b.issueCardHost=c)}},inputs:{href:"href",issueId:"issueId",commentNumber:"commentNumber"},features:[cg],ngContentSelectors:["*"],decls:6,vars:3,consts:[["issueHovercard","onedevHovercard"],["el",""],[3,"onedevIsHovercardReady",4,"onedevHovercardLazyBody"],[1,"keep-focus-ring",3,"click","onedevHovercardTrigger","onedevHovercardActive",
"href"],[3,"onedevIsHovercardReady"],["issueCardHost",""]],template:function(a,b){if(a&1){var c=x();Dg();I(0,"onedev-hovercard",null,0);D(2,oSa,2,1,"div",2);J();I(3,"a",3,1);M("click",function(d){z(c);return A(b.visit(d))});Eg(5);J()}a&2&&(a=L(1),C(3),F("onedevHovercardTrigger",a)("onedevHovercardActive",!!b.issueCard)("href",b.href,of))},dependencies:[bK,cK,hK,dK,AP],encapsulation:2,changeDetection:0});var CP=function(){this.isMentioningMe=!1};CP.prototype.ngOnInit=function(){this.username=this.email.replace(/@google.com$/,"")};CP.\u0275fac=function(a){return new (a||CP)};
CP.\u0275cmp=t({type:CP,selectors:[["b-mention-chip-widget"]],inputs:{email:"email",isMentioningMe:"isMentioningMe"},decls:6,vars:5,consts:[["el",""],["card",""],[1,"mention",3,"onedevHovercardTrigger"],[3,"email"]],template:function(a,b){a&1&&(I(0,"span",2,0),Q(2),J(),I(3,"onedev-hovercard",null,1),K(5,"b-issue-person-card",3),J());a&2&&(a=L(4),ng("me",b.isMentioningMe),F("onedevHovercardTrigger",a),C(2),R("@",b.username,""),C(3),F("email",b.email))},dependencies:[oM,bK,hK],styles:[".mention[_ngcontent-%COMP%]{font-weight:500}.mention.me[_ngcontent-%COMP%]{background-color:#e8f0fe;background-color:var(--self-mentioned-bg);color:#1a73e8;color:var(--self-mentioend-text);border-radius:4px;font-weight:500;padding:0 3px}"]});var DP=function(){this.content=Wu;this.appRef=r(nh);this.flags=r(yP);this.session=r(dv);this.viewContainerRef=r(Kg);this.elementRef=r(ge);this.allComponentRefs=[]};
DP.prototype.ngOnChanges=function(){ryc(this);var a=this.elementRef.nativeElement,b=this.content;b?Uc(a,b):eSa(a);a=this.elementRef.nativeElement;b=this.viewContainerRef;for(var c=a.querySelectorAll("*"),d=0;d<c.length;d++){var e=c[d],f=e.dataset.bId;f&&(e.id=f)}c=k(a.querySelectorAll("a"));for(d=c.next();!d.done;d=c.next())if(d=d.value,(f=d.getAttribute("href"))&&cGa(f)&&d&&fSa(d)&&f===d.textContent&&(e=d.nextSibling,syc(this,d,f,void 0,b),f=void 0,(f=e)!=null&&f.textContent&&(f=e.textContent.match(/(^[^\w]+)/))))f=
f[1],e.textContent=e.textContent.substring(f.length),e=document.createElement("span"),e.textContent=f,d.insertAdjacentElement("afterend",e);c=a.querySelectorAll("*[data-b-widget]");for(d=0;d<c.length;d++)switch(e=c[d],e.dataset.bWidget){case "image":f=e;e=b;var h=f.dataset.bImgSrc,l=f.dataset.bImgRedirectedSrc;pSa(f);if(h){var q=f.dataset.bImgAlt;if(cGa(h))syc(this,f,h,q,e,!0);else if(lu(this.flags.session,"enableMarkdownInlineImages"))e=this.createComponent(NI,f,e).instance,e.src=h,q&&(e.alt=q);
else{var v=document.createElement("a");q?v.appendChild(document.createTextNode(q)):v.appendChild(document.createTextNode(h));f.appendChild(v);tyc(this,v,h,l||h,e)}}break;case "checkbox":q=e;f=b;h=q.dataset.bCheckboxChecked!=null;pSa(q);e=void 0;f=this.createComponent(lyc,q,f).instance;f.checked=h;f.disabled=!0;f.startPos=(e=q.dataset.bCheckboxStartpos)!=null?e:"";break;case "url":f=b;q=e.dataset.bOriginalHref;h=e.dataset.bRedirectedHref;q&&h&&(e.removeAttribute("href"),tyc(this,e,q,h,f));break;case "broken-url":if(q=
e.dataset.bOriginalHref)for(f=e,e=Array.from(f.childNodes),f=this.createComponent(wP,f,b).instance,f.originalHref=q,f=f.getNgContentParentEl(),e=k(e),q=e.next();!q.done;q=e.next())f.appendChild(q.value);break;case "mention":this.session.isInternalSession()&&(f=void 0,q=e,h=b,e="",((f=q.textContent)==null?void 0:f[0])==="@"&&(e=q.textContent.slice(1)),pSa(q),f=this.createComponent(CP,q,h).instance,f.email=e,f.isMentioningMe=this.session.getUserEmail()===e);break;case "issue-reference":if(q=e.href,
h=e.dataset.bIssueId,l=e.dataset.bCommentNumber,q&&h){f=void 0;v=Number(l);l=Array.from(e.childNodes);var y=document.createElement("span");(f=e.parentNode)==null||f.insertBefore(y,e);f=this.createComponent(BP,y,b).instance;f.href=q;f.issueId=h;f.commentNumber=v;f=f.el.nativeElement;q=k(l);for(h=q.next();!h.done;h=q.next())f.appendChild(h.value);e.remove()}}b=a.querySelectorAll("a");for(c=0;c<b.length;c++)d=b[c],d.getAttribute("target")||d.setAttribute("target","_self");b=a.querySelectorAll("table");
for(c=0;c<b.length;c++)d=b[c],d.parentNode&&(e=document.createElement("div"),e.classList.add("table-overflow"),e.tabIndex=-1,d.parentNode.insertBefore(e,d),e.appendChild(d));a=k(a.querySelectorAll("pre"));for(b=a.next();!b.done;b=a.next())b.value.tabIndex=-1};DP.prototype.ngOnDestroy=function(){ryc(this)};
var syc=function(a,b,c,d,e,f){f=f===void 0?!1:f;var h=b;b instanceof HTMLAnchorElement&&(h=document.createElement("span"),b.insertAdjacentElement("afterend",h));a=a.createComponent(PI,h,e).instance;a.src=c;a.alt=d;a.isMarkdownImage=f},tyc=function(a,b,c,d,e){var f=Array.from(b.childNodes);a=a.createComponent(xP,b,e).instance;a.originalHref=c;a.href=d;c=a.getNgContentParentEl();f=k(f);for(d=f.next();!d.done;d=f.next())c.appendChild(d.value)};
DP.prototype.createComponent=function(a,b,c){a=Sma(a,{environmentInjector:this.appRef.injector,elementInjector:c.injector});b.appendChild(a.location.nativeElement);$0b(this.appRef,a.hostView);this.allComponentRefs.push(a);return a};var ryc=function(a){for(var b=k(a.allComponentRefs),c=b.next();!c.done;c=b.next())c.value.destroy();a.allComponentRefs=[]};DP.\u0275fac=function(a){return new (a||DP)};
DP.\u0275dir=ud({type:DP,selectors:[["","applyDynamicComponents",""]],inputs:{content:[0,"applyDynamicComponents","content"]},standalone:!0,features:[Hd]});var EP=function(){this.codefont=r(sP)};EP.prototype.ngOnInit=function(){};EP.\u0275fac=function(a){return new (a||EP)};
EP.\u0275cmp=t({type:EP,selectors:[["b-markdown-format-presenter"]],inputs:{content:"content"},features:[Yg([{provide:iyc,useValue:"MARKDOWN"}])],decls:3,vars:5,consts:[["child",""],[1,"type-m","markdown-display",3,"applyDynamicComponents"]],template:function(a,b){a&1&&(K(0,"div",1,0),S(2,"async"));a&2&&(ng("codefont",U(2,3,b.codefont.codefont$)),F("applyDynamicComponents",b.content.content))},dependencies:[DP,Iw],styles:[':root{--blue-50: #e8f0fe;--blue-100: #d2e3fc;--blue-200: #aecbfa;--blue-300: #8ab4f8;--blue-400: #669df6;--blue-500: #4285f4;--blue-600: #1a73e8;--blue-700: #1967d2;--blue-800: #185abc;--blue-900: #174ea6;--blue: var(--blue-600);--red-50: #fce8e6;--red-100: #fad2cf;--red-200: #f6aea9;--red-300: #f28b82;--red-400: #ee675c;--red-500: #ea4335;--red-600: #d93025;--red-700: #c5221f;--red-800: #b31412;--red-900: #a50e0e;--red: var(--red-600);--yellow-50: #fef7e0;--yellow-100: #feefc3;--yellow-200: #fde293;--yellow-300: #fdd663;--yellow-400: #fcc934;--yellow-500: #fbbc04;--yellow-600: #f9ab00;--yellow-700: #f29900;--yellow-800: #ea8600;--yellow-900: #e37400;--yellow: var(--yellow-600);--green-50: #e6f4ea;--green-100: #ceead6;--green-200: #a8dab5;--green-300: #81c995;--green-400: #5bb974;--green-500: #34a853;--green-600: #1e8e3e;--green-700: #188038;--green-800: #137333;--green-900: #0d652d;--green: var(--green-600);--white: #fff;--grey-50: #f8f9fa;--grey-100: #f1f3f4;--grey-200: #e8eaed;--grey-300: #dadce0;--grey-400: #bdc1c6;--grey-500: #9aa0a6;--grey-600: #80868b;--grey-700: #5f6368;--grey-800: #3c4043;--grey-900: #202124;--black: var(--grey-900);--orange-50: #feefe3;--orange-100: #fedfc8;--orange-200: #fdc69c;--orange-300: #fcad70;--orange-400: #fa903e;--orange-500: #fa7b17;--orange-600: #e8710a;--orange-700: #d56e0c;--orange-800: #c26401;--orange-900: #b06000;--pink-50: #fde7f3;--pink-100: #fdcfe8;--pink-200: #fba9d6;--pink-300: #ff8bcb;--pink-400: #ff63b8;--pink-500: #f439a0;--pink-600: #e52592;--pink-700: #c92786;--pink-800: #b80672;--pink-900: #9c166b;--purple-50: #f3e8fd;--purple-100: #e9d2fd;--purple-200: #d7aefb;--purple-300: #c58af9;--purple-400: #af5cf7;--purple-500: #a142f4;--purple-600: #9334e6;--purple-700: #8430ce;--purple-800: #7627bb;--purple-900: #681da8;--cyan-50: #e4f7fb;--cyan-100: #cbf0f8;--cyan-200: #a1e4f2;--cyan-300: #78d9ec;--cyan-400: #4ecde6;--cyan-500: #24c1e0;--cyan-600: #12b5cb;--cyan-700: #129eaf;--cyan-800: #098591;--cyan-900: #007b83}.markdown-display{word-break:break-word;overflow-wrap:break-word}.markdown-display p{word-break:break-word}.markdown-display hr{height:0;border:0;border-top:1px solid var(--hairline)}.markdown-display h1,.markdown-display h2,.markdown-display h3,.markdown-display h4,.markdown-display h5{font-weight:500}.markdown-display h1{font-size:160%;font-weight:700}.markdown-display h2{font-size:160%}.markdown-display h3{font-size:140%}.markdown-display h4{font-size:120%}.markdown-display h5{font-size:100%}.markdown-display h1,.markdown-display h2,.markdown-display h3,.markdown-display h4,.markdown-display h5{margin:0;margin-block-start:.8em;margin-block-end:.8em}.markdown-display p,.markdown-display blockquote,.markdown-display hr,.markdown-display ul,.markdown-display ol{margin:0;margin-block-start:.8em;margin-block-end:.8em}.markdown-display>*:first-child{margin-block-start:0}.markdown-display ul,.markdown-display ol{padding-inline-start:2rem}.markdown-display blockquote{background-color:var(--markdown-blockquote-background);border-left:4px solid var(--markdown-blockquote-border);color:var(--text-secondary);overflow:hidden;padding-left:8px}.markdown-display ul{list-style:initial}.markdown-display ul ul{list-style:circle}.markdown-display ul ul ul{list-style:square}.markdown-display ul ul,.markdown-display ol ol,.markdown-display ul ol,.markdown-display ol ul{margin:0}.markdown-display li{margin-block-end:.2em}.markdown-display code,.markdown-display pre{background-color:var(--surface-secondary);border-radius:2px;font-family:WorkAroundWebKitAndMozilla,monospace}.markdown-display pre{border:1px solid var(--hairline);overflow-x:auto}.markdown-display code{color:var(--markdown-code);padding:0 2px}.markdown-display pre code{color:var(--text-high-contrast);padding:0}.markdown-display pre{padding:8px 16px}.markdown-display pre,.markdown-display pre code{line-height:1.5}.markdown-display img{max-width:100%}.markdown-display a,.markdown-display a code{color:var(--primary-default);text-decoration:none}.markdown-display a:visited,.markdown-display a code:visited{color:var(--markdown-link-visited)}.markdown-display pre code a{color:inherit;text-decoration:underline}.markdown-display a:hover{text-decoration:underline}.markdown-display a:focus{outline:-webkit-focus-ring-color auto 1px}.markdown-display table{border-collapse:collapse;margin:1em 0}.markdown-display td,.markdown-display th{background-color:var(--surface-default);border:1px solid var(--hairline);padding:4px 8px;vertical-align:top}.markdown-display th{text-align:left;vertical-align:bottom;word-break:keep-all}.markdown-display div.table-overflow{overflow-x:auto}.markdown-display input[type=checkbox]{vertical-align:middle}.markdown-display section.footnotes{font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400;margin-top:2.5em;border-top:1px solid #dadce0}.markdown-display sup.footnote-ref::before{content:"["}.markdown-display sup.footnote-ref::after{content:"]"}.markdown-display .footnote-backref{text-decoration:none}.markdown-display .footnote-backref>a{text-decoration:none}.markdown-display .align-left{text-align:left}.markdown-display .align-right{text-align:right}.markdown-display .align-center{text-align:center}.markdown-display .align-justify{text-align:justify}.markdown-display .g3mark-callout{position:relative}.markdown-display .g3mark-callout .g3mark-callout__icon{display:none}.markdown-display summary{cursor:pointer}.markdown-display code{white-space:break-spaces}.markdown-display pre code{white-space:pre}body:not(.dark-mode) .markdown-display .stx-plain{color:inherit}body:not(.dark-mode) .markdown-display .stx-keyword{color:#708}body:not(.dark-mode) .markdown-display .stx-keyword-strong{color:inherit}body:not(.dark-mode) .markdown-display .stx-string{color:#080}body:not(.dark-mode) .markdown-display .stx-comment{color:#800}body:not(.dark-mode) .markdown-display .stx-number{color:#164}body:not(.dark-mode) .markdown-display .stx-macro{color:#555}body:not(.dark-mode) .markdown-display .stx-class{color:inherit}body:not(.dark-mode) .markdown-display .stx-const{color:inherit}body:not(.dark-mode) .markdown-display .stx-escape-sequence{color:inherit}body:not(.dark-mode) .markdown-display .stx-deprecated{text-decoration:inherit}body:not(.dark-mode) .markdown-display .stx-doc-tag{text-decoration:inherit}body:not(.dark-mode) .markdown-display .stx-task-tag{font-weight:inherit}body:not(.dark-mode) .markdown-display .stx-atom{color:#219}body:not(.dark-mode) .markdown-display .stx-definition{color:blue}body:not(.dark-mode) .markdown-display .stx-type-id{color:#085}body:not(.dark-mode) .markdown-display .stx-qualifier{color:#555}body:not(.dark-mode) .markdown-display .stx-local-ref{color:#05a}body:not(.dark-mode) .markdown-display .stx-md-entity{color:#708}body:not(.dark-mode) .markdown-display .stx-md-bold{font-weight:bold}body:not(.dark-mode) .markdown-display .stx-md-italic{font-style:italic}body:not(.dark-mode) .markdown-display .stx-md-link{color:#080}body:not(.dark-mode) .markdown-display .stx-md-code{color:#555}body:not(.dark-mode) .markdown-display .stx-comment .stx-md-link,body:not(.dark-mode) .markdown-display .stx-comment .stx-md-code{color:#800}body:not(.dark-mode) .markdown-display pre .chl{border:1px solid #ffca28;background-color:#fff59d;padding:1px 0;margin:0 -1px}body:not(.dark-mode) .markdown-display .g3mark-callout{margin:1rem 0;padding:.5rem .5rem .5rem 2rem}body:not(.dark-mode) .markdown-display .g3mark-callout p:first-of-type{margin-top:0}body:not(.dark-mode) .markdown-display .g3mark-callout p:last-child{margin-bottom:0}body:not(.dark-mode) .markdown-display .g3mark-callout blockquote{font-family:inherit;font-weight:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;padding-left:initial;border-left:initial;margin:0}body:not(.dark-mode) .markdown-display .g3mark-callout__keyword{font-weight:bold}body:not(.dark-mode) .markdown-display .g3mark-callout__icon::before{position:absolute;font-size:1.25rem;font-family:"Material Icons","Google Material Icons";margin-left:-1.5rem}body:not(.dark-mode) .markdown-display .g3mark-callout-tldr .g3mark-callout__icon::before,body:not(.dark-mode) .markdown-display .g3mark-callout-summary .g3mark-callout__icon::before{color:#174ea6;content:"sms"}body:not(.dark-mode) .markdown-display .g3mark-callout-todo .g3mark-callout__icon::before,body:not(.dark-mode) .markdown-display .g3mark-callout-fixme .g3mark-callout__icon::before{color:#202124;content:"error_outline"}body:not(.dark-mode) .markdown-display .g3mark-callout-tip .g3mark-callout__icon::before{color:#0d652d;content:"grade"}body:not(.dark-mode) .markdown-display .g3mark-callout-best_practice .g3mark-callout__icon::before{color:#0d652d;content:"check_circle"}body:not(.dark-mode) .markdown-display .g3mark-callout-note .g3mark-callout__icon::before{color:#202124;content:"bookmark"}body:not(.dark-mode) .markdown-display .g3mark-callout-warning .g3mark-callout__icon::before{color:#a50e0e;content:"warning"}body:not(.dark-mode) .markdown-display .g3mark-callout-important .g3mark-callout__icon::before{color:#b06000;content:"priority_high"}body:not(.dark-mode) .markdown-display .g3mark-callout-question .g3mark-callout__icon::before{color:#174ea6;content:"help"}body:not(.dark-mode) .markdown-display .g3mark-callout-tldr,body:not(.dark-mode) .markdown-display .g3mark-callout-summary{border-color:#669df6;background:#e8f0fe;color:#202124}body:not(.dark-mode) .markdown-display .g3mark-callout-todo,body:not(.dark-mode) .markdown-display .g3mark-callout-fixme{border-color:#bdc1c6;background:#f8f9fa;color:#202124}body:not(.dark-mode) .markdown-display .g3mark-callout-tip,body:not(.dark-mode) .markdown-display .g3mark-callout-best_practice{border-color:#5bb974;background:#e6f4ea;color:#202124}body:not(.dark-mode) .markdown-display .g3mark-callout-note{border-color:#bdc1c6;background:#f8f9fa;color:#202124;background:#f1f3f4}body:not(.dark-mode) .markdown-display .g3mark-callout-warning{border-color:#ee675c;background:#fce8e6;color:#202124}body:not(.dark-mode) .markdown-display .g3mark-callout-important{border-color:#fa903e;background:#feefe3;color:#202124}body:not(.dark-mode) .markdown-display .g3mark-callout-question{border-color:#669df6;background:#e8f0fe;color:#202124}body.dark-mode .markdown-display .stx-plain{color:inherit}body.dark-mode .markdown-display .stx-keyword{color:#d8884b}body.dark-mode .markdown-display .stx-keyword-strong{color:inherit}body.dark-mode .markdown-display .stx-string{color:#97c67b}body.dark-mode .markdown-display .stx-comment{color:#8c9292}body.dark-mode .markdown-display .stx-number{color:#79a9c4}body.dark-mode .markdown-display .stx-macro{color:#9dbed9}body.dark-mode .markdown-display .stx-class{color:inherit}body.dark-mode .markdown-display .stx-const{color:inherit}body.dark-mode .markdown-display .stx-escape-sequence{color:inherit}body.dark-mode .markdown-display .stx-deprecated{text-decoration:inherit}body.dark-mode .markdown-display .stx-doc-tag{text-decoration:inherit}body.dark-mode .markdown-display .stx-task-tag{font-weight:inherit}body.dark-mode .markdown-display .stx-atom{color:#cf7ea9}body.dark-mode .markdown-display .stx-definition{color:#75b3db}body.dark-mode .markdown-display .stx-type-id{color:#eede7b}body.dark-mode .markdown-display .stx-qualifier{color:#97c67b}body.dark-mode .markdown-display .stx-local-ref{color:#aac6e3}body.dark-mode .markdown-display .stx-md-entity{color:#d8884b}body.dark-mode .markdown-display .stx-md-bold{font-weight:bold}body.dark-mode .markdown-display .stx-md-italic{font-style:italic}body.dark-mode .markdown-display .stx-md-link{color:#d8884b}body.dark-mode .markdown-display .stx-md-code{color:#d8884b}body.dark-mode .markdown-display .stx-comment .stx-md-link,body.dark-mode .markdown-display .stx-comment .stx-md-code{color:#89b2cd}body.dark-mode .markdown-display pre .chl{border:1px solid #ffca28;background-color:#6a5619;padding:1px 0;margin:0 -1px}body.dark-mode .markdown-display .g3mark-callout{margin:1rem 0;padding:.5rem .5rem .5rem 2rem}body.dark-mode .markdown-display .g3mark-callout p:first-of-type{margin-top:0}body.dark-mode .markdown-display .g3mark-callout p:last-child{margin-bottom:0}body.dark-mode .markdown-display .g3mark-callout blockquote{font-family:inherit;font-weight:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;padding-left:initial;border-left:initial;margin:0}body.dark-mode .markdown-display .g3mark-callout__keyword{font-weight:bold}body.dark-mode .markdown-display .g3mark-callout__icon::before{position:absolute;font-size:1.25rem;font-family:"Material Icons","Google Material Icons";margin-left:-1.5rem}body.dark-mode .markdown-display .g3mark-callout-tldr .g3mark-callout__icon::before,body.dark-mode .markdown-display .g3mark-callout-summary .g3mark-callout__icon::before{color:#174ea6;content:"sms"}body.dark-mode .markdown-display .g3mark-callout-todo .g3mark-callout__icon::before,body.dark-mode .markdown-display .g3mark-callout-fixme .g3mark-callout__icon::before{color:#202124;content:"error_outline"}body.dark-mode .markdown-display .g3mark-callout-tip .g3mark-callout__icon::before{color:#0d652d;content:"grade"}body.dark-mode .markdown-display .g3mark-callout-best_practice .g3mark-callout__icon::before{color:#0d652d;content:"check_circle"}body.dark-mode .markdown-display .g3mark-callout-note .g3mark-callout__icon::before{color:#202124;content:"bookmark"}body.dark-mode .markdown-display .g3mark-callout-warning .g3mark-callout__icon::before{color:#a50e0e;content:"warning"}body.dark-mode .markdown-display .g3mark-callout-important .g3mark-callout__icon::before{color:#b06000;content:"priority_high"}body.dark-mode .markdown-display .g3mark-callout-question .g3mark-callout__icon::before{color:#174ea6;content:"help"}body.dark-mode .markdown-display .g3mark-callout-todo,body.dark-mode .markdown-display .g3mark-callout-fixme,body.dark-mode .markdown-display .g3mark-callout-tldr,body.dark-mode .markdown-display .g3mark-callout-tip,body.dark-mode .markdown-display .g3mark-callout-note,body.dark-mode .markdown-display .g3mark-callout-warning,body.dark-mode .markdown-display .g3mark-callout-important,body.dark-mode .markdown-display .g3mark-callout-best_practice,body.dark-mode .markdown-display .g3mark-callout-summary,body.dark-mode .markdown-display .g3mark-callout-question{border-color:#fff;background:#3c4043;color:#fff}/*# sourceMappingURL=markdown_format_presenter.css.map */\n'],
encapsulation:2,changeDetection:0});var uyc=["child"],vyc=function(){return"[_nghost-%COMP%]     a:visited{color:#7627bb;color:var(--link-visited)}"},FP=function(){this.codefont=r(sP)};FP.prototype.ngOnInit=function(){};FP.\u0275fac=function(a){return new (a||FP)};
FP.\u0275cmp=t({type:FP,selectors:[["b-plain-format-presenter"]],inputs:{content:"content"},features:[Yg([{provide:iyc,useValue:"PLAIN"}])],decls:4,vars:4,consts:[[1,"type-m"],[3,"section"]],template:function(a,b){a&1&&(I(0,"div",0),S(1,"async"),tg(2,qSa,1,1,"b-plain-format-section",1,sg),J());a&2&&(ng("codefont",U(1,2,b.codefont.codefont$)),C(2),ug(b.content.plainSection))},dependencies:function(){return[GP,Iw]},styles:[vyc()],changeDetection:0});var GP=function(){};GP.prototype.ngOnInit=function(){};
GP.\u0275fac=function(a){return new (a||GP)};GP.\u0275cmp=t({type:GP,selectors:[["b-plain-format-section"]],inputs:{section:"section"},decls:3,vars:1,consts:[[3,"section"]],template:function(a,b){a&1&&(vg(0),D(1,rSa,1,1,"b-plain-format-quoted-section",0)(2,sSa,1,1,"b-plain-format-unquoted-section",0),wg());a&2&&(C(),G(b.section.isQuoted?1:2))},dependencies:function(){return[HP,IP]},encapsulation:2,changeDetection:0});
var HP=function(){this.showQuote=!1;wyc++;this.childId="plainFormatQuotedSection"+wyc};HP.prototype.ngOnInit=function(){};HP.prototype.ngOnChanges=function(){tSa(this)};var tSa=function(a){var b=a.child.nativeElement;a.showQuote?(a=a.section.content)?Uc(b,a):eSa(b):eSa(b)};HP.\u0275fac=function(a){return new (a||HP)};
HP.\u0275cmp=t({type:HP,selectors:[["b-plain-format-quoted-section"]],viewQuery:function(a,b){a&1&&Mg(uyc,7);if(a&2){var c;Qg(c=Rg())&&(b.child=c.first)}},inputs:{section:"section"},features:[Hd],decls:5,vars:2,consts:[["child",""],["tabindex","0","role","button","aria-expanded","true",1,"showhide","muted"],["tabindex","0","role","button","aria-expanded","false",1,"showhide","muted"],[1,"child",3,"id"],["tabindex","0","role","button","aria-expanded","true",1,"showhide","muted",3,"click"],["tabindex",
"0","role","button","aria-expanded","false",1,"showhide","muted",3,"click"]],template:function(a,b){a&1&&(I(0,"div"),D(1,uSa,2,1,"a",1)(2,vSa,2,1,"a",2),K(3,"div",3,0),J());a&2&&(C(),G(b.showQuote?1:2),C(2),F("id",b.childId))},styles:[vyc()],changeDetection:0});var wyc=0,IP=function(){};IP.prototype.ngOnInit=function(){};IP.\u0275fac=function(a){return new (a||IP)};
IP.\u0275cmp=t({type:IP,selectors:[["b-plain-format-unquoted-section"]],inputs:{section:"section"},decls:1,vars:1,consts:[[1,"child",3,"applyDynamicComponents"]],template:function(a,b){a&1&&K(0,"div",0);a&2&&F("applyDynamicComponents",b.section.content)},dependencies:[DP],encapsulation:2,changeDetection:0});var JP=function(){};JP.prototype.ngOnInit=function(){};JP.\u0275fac=function(a){return new (a||JP)};
JP.\u0275cmp=t({type:JP,selectors:[["b-formatted-comment-presenter"]],inputs:{formattedComment:"formattedComment"},decls:3,vars:3,consts:[[3,"content"]],template:function(a,b){a&1&&D(0,wSa,1,1,"b-literal-format-presenter",0)(1,xSa,1,1,"b-markdown-format-presenter",0)(2,ySa,1,1,"b-plain-format-presenter",0);if(a&2){var c,d,e;G((c=b.formattedComment.literalFormat)?0:-1,c);C();G((d=b.formattedComment.markdownFormat)?1:-1,d);C();G((e=b.formattedComment.plainFormat)?2:-1,e)}},dependencies:[tP,EP,FP],encapsulation:2,
changeDetection:0});var KP=function(){Z.apply(this,arguments);var a=this;this.formatter=r(DO);this.issueIdInternal="";this.audience="EXTERNAL";this.formattingMode="LITERAL";this.params$=new If(1);this.formattedResult$=this.params$.pipe(Af(200),Nf(function(b){return a.formatter.format(b).pipe(xyc,xf(function(){var c={literalFormat:{content:ti(b.comment)}};return Fe({formattedComment:c,isFallback:!0})}))}))};Y(KP,Z);KP.\u0275dir=Z.\u0275dir;
KP.prototype.ngOnInit=function(){var a=this;this.comment$&&this.subscriptions.add(this.comment$.subscribe(function(b){a.params$.next({comment:b,issueId:a.issueIdInternal,audience:a.audience!=null?a.audience:"EXTERNAL",formattingMode:a.formattingMode,idPrefix:a.getIdPrefix()})}))};KP.prototype.ngOnChanges=function(){this.comment!=null&&this.params$.next({comment:this.comment,issueId:this.issueIdInternal,audience:this.audience!=null?this.audience:"EXTERNAL",formattingMode:this.formattingMode,idPrefix:this.getIdPrefix()})};
KP.prototype.getIdPrefix=function(){return this.idPrefix||"b"+this.issueIdInternal+"-draft"};ea.Object.defineProperties(KP.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueIdInternal=a||""}}});KP.\u0275fac=function(){var a;return function(b){return(a||(a=de(KP)))(b||KP)}}();
KP.\u0275cmp=t({type:KP,selectors:[["b-live-preview"]],inputs:{comment:"comment",comment$:"comment$",issueId:"issueId",audience:"audience",formattingMode:"formattingMode",idPrefix:"idPrefix"},features:[cg,Hd],decls:2,vars:3,consts:[[1,"md-preview",3,"invisible","error"],[1,"md-preview"],[3,"formattedComment"]],template:function(a,b){a&1&&(D(0,zSa,2,5,"div",0),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.formattedResult$))?0:-1,c)}},dependencies:[JP,Iw],styles:["[_nghost-%COMP%]{display:block}.md-preview[_ngcontent-%COMP%]{min-height:32px;margin-top:16px}.md-preview[_ngcontent-%COMP%]{box-sizing:border-box;padding:8px;background-color:#f8f9fa;background-color:var(--c50);border-radius:4px}.md-preview.error[_ngcontent-%COMP%]{background-color:#fef4f3;background-color:var(--bad-bg-pale);box-shadow:inset 0 0 0 1px #ea4335;box-shadow:inset 0 0 0 1px var(--bad)}[_nghost-%COMP%]     .markdown-display pre, [_nghost-%COMP%]     .markdown-display code{background-color:#f1f3f4;background-color:var(--c100)}.bv2-note-container-note   [_nghost-%COMP%]   .md-preview[_ngcontent-%COMP%]{min-height:0;margin-top:0;padding:0;background-color:rgba(0,0,0,0)}/*# sourceMappingURL=live_preview.css.map */"],
changeDetection:0});var xyc=B(function(a){return{formattedComment:a,isFallback:!1}});var LP=function(){var a=r(yH);Z.call(this);var b=this;this.appEvents=r(nE);this.init=new rG;this.FormattingMode=cB;a.textDisplayPreferencesSubject$.pipe(Of(this.destroyed$)).subscribe(function(c){switch(c.commentDisplayOverride){case "LITERAL_FORMATTING_MODE":b.formattingModeOverride="LITERAL";break;case "MARKDOWN_FORMATTING_MODE":b.formattingModeOverride="MARKDOWN";break;case "PLAIN_FORMATTING_MODE":b.formattingModeOverride="PLAIN";break;case "COMMENT_FORMATTING_MODE_UNSPECIFIED":case void 0:b.formattingModeOverride=
void 0;break;default:xb(c.commentDisplayOverride)}})};Y(LP,Z);LP.\u0275dir=Z.\u0275dir;LP.prototype.ngOnInit=function(){};LP.prototype.ngOnChanges=function(){this.rawComment=this.note.unlinkifiedComment||"";this.audience=this.issueAccessLevel&&this.issueAccessLevel==="INTERNAL"?"INTERNAL":"EXTERNAL";this.note.commentNumber&&(this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber)};
LP.prototype.ngAfterViewInit=function(){this.appEvents.commentRendered.next([this.issueId,this.note.commentNumber]);this.init.next(this)};LP.\u0275fac=function(a){return new (a||LP)};
LP.\u0275cmp=t({type:LP,selectors:[["b-note-container"]],inputs:{note:"note",issueAccessLevel:"issueAccessLevel",formattingMode:"formattingMode",issueId:"issueId"},outputs:{init:"init"},features:[cg,Hd],decls:4,vars:1,consts:[[1,"bv2-note-container","bv2-event-note"],[1,"bv2-note-container-note"],[3,"formattedComment"],[3,"comment","issueId","audience","formattingMode","idPrefix"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1),D(2,ASa,1,1,"b-formatted-comment-presenter",2)(3,BSa,1,5,"b-live-preview",
3),J()());if(a&2){C(2);if(a=b.note.formattedComment)a=b.note.formattedComment,a=!a||b.formattingModeOverride?!1:a.literalFormat&&b.formattingMode==="LITERAL"||a.plainFormat&&b.formattingMode==="PLAIN"||a.markdownFormat&&b.formattingMode==="MARKDOWN"?!0:!1;G(a?2:3)}},dependencies:[JP,KP],styles:[".bv2-note-container[_ngcontent-%COMP%]{display:flex;flex-direction:row}.bv2-note-container-note[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;min-width:0}"],changeDetection:0});var MP=function(){this.activeSession=r(dv);this.issueApi=r(uD);this.analytics=r(wG);this.errorHandler=r(jE);this.onCc=new rG};MP.prototype.ngOnInit=function(){};
MP.prototype.toggle=function(){var a=this;this.analytics.trackEvent("issueCard","click","cc "+(this.ccState?"REMOVE":"ADD"));this.onCc.emit(!this.ccState);this.ccState?(this.ccState=!1,this.issueApi.unCcUser(this.issueId).then(function(){}).catch(function(b){a.ccState=!0;a.errorHandler.errorHandler(null,b)})):(this.ccState=!0,this.issueApi.updateIssue(this.issueId,{issueId:this.issueId,actions:[{fieldName:"ccs",value:this.activeSession.getUserEmail(),actionType:"ADD"}]}).then(function(){}).catch(function(b){a.ccState=
!1;a.errorHandler.errorHandler(null,b)}))};MP.\u0275fac=function(a){return new (a||MP)};MP.\u0275cmp=t({type:MP,selectors:[["b-cc-button"]],inputs:{issueId:"issueId",ccState:"ccState"},outputs:{onCc:"onCc"},decls:3,vars:1,consts:[["mat-button","",1,"medium",3,"click"]],template:function(a,b){a&1&&(I(0,"button",0),M("click",function(){return b.toggle()}),D(1,CSa,2,0,"ng-container")(2,DSa,2,0,"ng-container"),J());a&2&&(C(),G(b.ccState?1:2))},dependencies:[vD,Vy],encapsulation:2});var Ls=function(){this.filter_=null;this.boostIds_=[];this.primingTimeoutMillis_=1E3;this.searchMaxResults_=this.suggestMaxResults_=this.searchFormat_=this.suggestFormat_=this.queryScope_=0;this.slots_=[];this.entryPoint_=0;this.filterEmptyExplodingGroups_=!0;this.selectedCustomProviderNames_=null};g=Ls.prototype;g.getFilter=function(){return this.filter_};g.setFilter=function(a){this.filter_=a;return this};g.setQueryScope=function(a){this.queryScope_=a;return this};g.getQueryScope=function(){return this.queryScope_};
g.getEntryPoint=function(){return this.entryPoint_};g.setEntryPoint=function(a){this.entryPoint_=a;return this};g.getSuggestFormat=function(){return this.suggestFormat_};g.getSearchFormat=function(){return this.searchFormat_};g.getSuggestMaxResults=function(){return this.suggestMaxResults_};g.getSearchMaxResults=function(){return this.searchMaxResults_};
g.clone=function(){var a=new Ls;a.filter_=this.filter_;a.filterEmptyExplodingGroups_=this.filterEmptyExplodingGroups_;a.boostIds_=this.boostIds_;a.primingTimeoutMillis_=this.primingTimeoutMillis_;a.queryScope_=this.queryScope_;a.slots_=this.slots_;a.entryPoint_=this.entryPoint_;a.suggestFormat_=this.suggestFormat_;a.searchFormat_=this.searchFormat_;a.suggestMaxResults_=this.suggestMaxResults_;a.searchMaxResults_=this.searchMaxResults_;a.selectedCustomProviderNames_=this.selectedCustomProviderNames_;
return a};var Pt=function(a){this.internalArray_=m(a)};Y(Pt,V);Pt.prototype.getEntryPoint=function(){return Kj(this,5,0)};Pt.prototype.setEntryPoint=function(a){return hk(this,5,a)};var St=function(a){this.internalArray_=m(a)};Y(St,V);St.prototype.getEntryPoint=function(){return Kj(this,1,0)};St.prototype.setEntryPoint=function(a){return hk(this,1,a)};var NP=function(a){this.internalArray_=m(a)};Y(NP,V);NP.prototype.getQuery=function(){return Gh(this,1,"")};NP.prototype.setQuery=function(a){return gk(this,1,a)};NP.prototype.clearQuery=function(){Zp(this,1)};NP.prototype.hasQuery=function(){return Hj(this,1)};var yyc=function(a,b){nk(a,3,b)};NP.prototype.getAffinityVersion=function(){return Zi(this,7)};NP.prototype.setAffinityVersion=function(a){ek(this,7,a)};NP.prototype.getAffinityVersionOrUndefined=function(){return Kv(this,7)};
var zyc=function(a){var b=Ojc();Zp(a,8,yb(b))};g=NP.prototype;g.getSources=function(){return W(this,Pt,10)};g.getInstanceId=function(){return Gh(this,11,"")};g.setInstanceId=function(a){return gk(this,11,a)};g.clearInstanceId=function(){Zp(this,11)};g.hasInstanceId=function(){return Hj(this,11)};g.getInstanceIdOrUndefined=function(){return Pm(this,11)};var Ht=function(a){this.internalArray_=m(a)};Y(Ht,V);g=Ht.prototype;g.getPersonLoggingId=function(){return Gh(this,1)};g.setPersonLoggingId=function(a){gk(this,1,a)};g.getFieldLoggingId=function(){return Gh(this,2)};g.setFieldLoggingId=function(a){gk(this,2,a)};g.setFieldValue=function(a){return gk(this,3,a)};g.clearFieldValue=function(){return Zp(this,3)};g.getName=function(){return Gh(this,4)};g.setName=function(a){return gk(this,4,a)};g.hasName=function(){return Hj(this,4)};
g.getNameOrUndefined=function(){return Pm(this,4)};g.getContactId=function(){return Gh(this,5)};g.setContactId=function(a){return gk(this,5,a)};g.getProfileId=function(){return Gh(this,6)};g.getProfileId_legacyNullable=function(){return uk(this,6)};g.setProfileId=function(a){return gk(this,6,a)};g.hasProfileId=function(){return Hj(this,6)};g.getFieldType=function(){return Kj(this,7,0)};g.getIsPlaceholder=function(){return Fj(this,10,!1)};g.setIsPlaceholder=function(a){dk(this,10,a)};
g.getGroupId=function(){return Gh(this,11)};g.setGroupId=function(a){gk(this,11,a)};g.hasGroupId=function(){return Hj(this,11)};g.getIsBoosted=function(){return Fj(this,12,!1)};g.setIsBoosted=function(a){dk(this,12,a)};var Gt=function(a){this.internalArray_=m(a)};Y(Gt,V);g=Gt.prototype;g.getProvenance=function(){return Kj(this,3,0)};g.setProvenance=function(a){return hk(this,3,a)};g.getContext=function(){return Kj(this,5,0)};g.getExistingSelectionsCount=function(){return Zi(this,6,0)};g.setExistingSelectionsCount=function(a){ek(this,6,a)};var Ft=function(a){this.internalArray_=m(a)};Y(Ft,V);var ys=function(a){return W(a,Gt,2)};Ft.prototype.getSessionState=function(){return W(this,NP,3)};Ft.prototype.setSessionState=function(a){return X(this,NP,3,a)};Ft.prototype.hasSessionState=function(){return Oj(this,NP,3)};var Et=function(a){this.internalArray_=m(a)};Y(Et,V);g=Et.prototype;g.getType=function(){return Kj(this,1,0)};g.setType=function(a){return hk(this,1,a)};g.hasType=function(){return Ij(this,1)};g.getValue=function(){return Gh(this,2,"")};g.setValue=function(a){return gk(this,2,a)};g.hasValue=function(){return Hj(this,2)};var Ayc=function(a){this.delegate_=a};g=Ayc.prototype;g.getDelegate=function(){return this.delegate_};g.getId=function(){return this.delegate_.getId()};g.getTargetType=function(){return this.delegate_.getTargetType()};g.getValue=function(){return this.delegate_.getValue()};g.getDisplayValue=function(){return this.delegate_.getDisplayValue()};g.getCanonicalValue=function(){return this.delegate_.getCanonicalValue()};g.getDescription=function(){return this.delegate_.getDescription()};g.getName=function(){return this.delegate_.getName()};
g.getPhoto=function(){return this.delegate_.getPhoto()};g.getTagList=function(){return this.delegate_.getTagList()};g.getSourceIdList=function(){return this.delegate_.getSourceIdList()};g.getProfileId=function(){return this.delegate_.getProfileId()};g.getContactId=function(){return this.delegate_.getContactId()};g.getLoggingToken=function(){return this.delegate_.getLoggingToken()};g.getIsMe=function(){return this.delegate_.getIsMe()};g.getOrgState=function(){return this.delegate_.getOrgState()};
g.getEmailSecurityInfo=function(){return this.delegate_.getEmailSecurityInfo()};g.getDataSource=function(){return this.delegate_.getDataSource()};g.getOriginatingField=function(){return this.delegate_.getOriginatingField()};g.getReachabilityInfo=function(){return this.delegate_.getReachabilityInfo()};g.getExtendedData=function(){return this.delegate_.getExtendedData()};var Cbb=function(){this.familyName_=this.givenName_=this.displayName_="";this.sourceType_=0};g=Cbb.prototype;g.getDisplayName=function(){return this.displayName_};g.setDisplayName=function(a){this.displayName_=a||"";return this};g.getGivenName=function(){return this.givenName_};g.setGivenName=function(a){this.givenName_=a||"";return this};g.getFamilyName=function(){return this.familyName_};g.setFamilyName=function(a){this.familyName_=a||"";return this};g.getSourceType=function(){return this.sourceType_};
g.setSourceType=function(a){this.sourceType_=a||0;return this};var Byc=function(a,b){this.delegate_=a;this.name_=b};Y(Byc,Ayc);Byc.prototype.getName=function(){return this.name_};var OP=function(a){this.delegate_=a};g=OP.prototype;g.getDelegate=function(){return this.delegate_};g.getResultType=function(){return this.delegate_.getResultType()};g.getTargetList=function(){return this.delegate_.getTargetList()};g.getMemberList=function(){return this.delegate_.getMemberList()};g.getTotalMemberCount=function(){return this.delegate_.getTotalMemberCount()};g.getPrimaryTarget=function(){return this.delegate_.getPrimaryTarget()};g.getDisplayName=function(){return this.delegate_.getDisplayName()};
g.getDisplayValue=function(){return this.delegate_.getDisplayValue()};g.getDescription=function(){return this.delegate_.getDescription()};g.getPhotoUrl=function(){return this.delegate_.getPhotoUrl()};g.getIsBoosted=function(){return this.delegate_.getIsBoosted()};g.getMatchInfo=function(){return this.delegate_.getMatchInfo()};g.getExtendedData=function(){return this.delegate_.getExtendedData()};var Eq=function(a){this.delegate_=a};Y(Eq,OP);g=Eq.prototype;g.getPrimaryTarget=function(){return this.getTargetList()[0]};g.getDisplayName=function(){var a=this.getPrimaryTarget();return a?(a=a.getName())?a.getDisplayName():"":""};g.getPhotoUrl=function(){var a=this.getPrimaryTarget();return a?(a=a.getPhoto())?a.getUrl():"":""};g.getDisplayValue=function(){var a=this.getPrimaryTarget();return a?a.getDisplayValue():""};
g.getDescription=function(){var a=this.getPrimaryTarget();return a?a.getDescription():""};var ESa=function(a,b){this.delegate_=a;this.targets_=b};Y(ESa,OP);ESa.prototype.getTargetList=function(){return this.targets_};var Cyc=function(){};Cyc.prototype.filterResult=function(a){var b=this,c=a.getTargetList().filter(function(d){return!b.shouldRemove(d)});return c.length===0?null:c.length===a.getTargetList().length?a:new Eq(new ESa(a,c))};Cyc.prototype.reset=function(){};var GSa=function(a){this.types_=a};Y(GSa,Cyc);GSa.prototype.shouldRemove=function(a){return!this.types_.includes(a.getTargetType())};GSa.prototype.reset=function(){};var HSa=function(a){this.sourceIds_=a.filter(function(b){return zbb.includes(b.getType())}).map(String);this.targetIds_=a.filter(function(b){return pkc.includes(b.getType())}).map(String)};Y(HSa,Cyc);HSa.prototype.shouldRemove=function(a){var b=this;return!this.targetIds_.includes(String(a.getId()))&&a.getSourceIdList().every(function(c){return!b.sourceIds_.includes(String(c))})};
var JSa=function(a){this.filters_=a};JSa.prototype.filterResult=function(a){for(var b=k(this.filters_),c=b.next();!c.done;c=b.next())if(a=c.value.filterResult(a),!a)return null;return a};JSa.prototype.reset=function(a){for(var b=k(this.filters_),c=b.next();!c.done;c=b.next())c.value.reset(a)};var LSa=function(a){this.filters_=a};LSa.prototype.filterResult=function(a){for(var b=k(this.filters_),c=b.next();!c.done;c=b.next())if(c=c.value.filterResult(a))return c;return null};
LSa.prototype.reset=function(a){for(var b=k(this.filters_),c=b.next();!c.done;c=b.next())c.value.reset(a)};var Dyc=KSa();var Eyc=new Bd("PeoplekitClientConfig"),Fyc=function(a){this.matcher=a};Fyc.prototype.filterResult=function(a){for(var b=a.getTargetList(),c=b.length-1;c>=0;c--)b[c].getTargetType()===1&&this.matcher(b[c].getValue())&&b.splice(c,1);return b.length?a:null};Fyc.prototype.reset=function(){};var Gyc=function(a){this.internalArray_=m(a)};Y(Gyc,V);g=Gyc.prototype;g.setMaxResults=function(a){return ek(this,1,a)};g.getQuery=function(){return Gh(this,2,"")};g.setQuery=function(a){return gk(this,2,a)};g.clearQuery=function(){Zp(this,2)};g.hasQuery=function(){return Hj(this,2)};var Hyc=function(){this.dynamicDataProviders_=[];this.staticDataProviders_=[]};var Iyc=function(a){this.internalArray_=m(a,1)};Y(Iyc,V);var Jyc=function(a){this.internalArray_=m(a)};Y(Jyc,V);g=Jyc.prototype;g.getExperimentIdsList=function(a){return $i(this,1,Wi(a))};g.setExperimentIdsList=function(a){return wc(this,1,a,Gb)};g.getExperimentIds=function(){return Iv(this,1)};g.setExperimentIds=function(a){Lv(this,1,a)};g.getProfileId=function(){return Gh(this,2)};g.getProfileId_legacyNullable=function(){return uk(this,2)};g.setProfileId=function(a){return gk(this,2,a)};g.hasProfileId=function(){return Hj(this,2)};var Kyc=function(){},Lyc=function(){return!1},Myc=function(){this.experiments_=(new Jyc).setProfileId(sJ.userProfileId);this.peopleApiEnv_=sJ.apiEnv;this.delegatorId_=this.userEmail_="";this.userKeys_=new Set;this.onAuthError_=Kyc;this.offlineStorage_=null;this.apiKey_=this.clearcutUrl_="";this.isOffline_=Lyc;this.customDataConfig_=null;this.requestCorpHeaders_=this.isOrgStateEnabled_=!1;var a=sJ.userEmail;this.userEmail_=a||"";a&&this.userKeys_.add(String(mt(a)))};g=Myc.prototype;
g.getUserEmail=function(){return this.userEmail_};g.getDelegatorId=function(){return this.delegatorId_};g.getPeopleApiEnv=function(){return this.peopleApiEnv_};g.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};g.getExperiments=function(){return this.experiments_};g.getAuthErrorHandler=function(){return this.onAuthError_};g.setClearcutUrl=function(a){this.clearcutUrl_=a};g.getClearcutUrl=function(){return this.clearcutUrl_};g.setAuthErrorHandler=function(a){this.onAuthError_=a||Kyc};
g.getApiKey=function(){return this.apiKey_};g.setApiKey=function(a){this.apiKey_=a;return this};var PP=function(a,b){b!=null||(b=r(hh));var c=new Myc;a.peopleApiEnv&&c.setPeopleApiEnv(a.peopleApiEnv);a.customAuthHeaders&&(c.customAuthHeaders_=a.customAuthHeaders);a.profileId&&c.getExperiments().setProfileId(a.profileId);if(a.dynamicDataProviders||a.staticDataProviders){var d=new Hyc;a.dynamicDataProviders&&(d.dynamicDataProviders_=a.dynamicDataProviders);a.staticDataProviders&&(d.staticDataProviders_=a.staticDataProviders);c.customDataConfig_=d}b=b.runOutsideAngular(function(){var e=a.peopleStoreClient.create(c);
e.warmUpCache();return{peopleStore:e,environmentConfig:new ukc(c.getPeopleApiEnv(),new vkc(""))}});this.peopleStore=b.peopleStore;this.environmentConfig=b.environmentConfig};PP.\u0275fac=function(a){return new (a||PP)(md(Eyc),md(hh))};PP.\u0275prov=n({token:PP,factory:PP.\u0275fac});var Nyc=["multiUserInput"],Oyc=function(a){this.component=a;this.name="Buganizer ACL Autocomplete Entries"};Oyc.prototype.getPosition=function(){return 2};Oyc.prototype.warmUpCache=function(){var a=new mB;D7b(a,this.component.additionalContactsFn().map(function(b){var c=(new lB).setResultType(7);b=hk((new kB).setValue(b.id),1,18).setName((new hB).setDisplayName(b.text));Bv(c,2,kB,b);return c}));return Promise.resolve(a)};Oyc.prototype.needsWarmUp=function(){return!1};
var QP=function(){var a=r(YH);Z.call(this);var b=this;this.element=r(ge);this.principalTypes=r(YG);this.activeSession=r(dv);this.documentationLinks=r(cL);this.appEvents=r(nE);this.cdr=r(sG,{self:!0});this.usersChange=new rG(!0);this.includeViewAliases=this.includeAliases=!1;this.maxUserAllowed=-1;this.customValidators={};this.detailedUserValidators={};this.placeholderText=this.ariaLabel="";this.isValid=new rG;this.enablePeoplekitAc=lu(this.activeSession,"enablePeoplekitUserAc");this.BASE_AUTOCOMPLETE_CONFIG=
{showSuggestions:!0,moveAutocompleteAboveAnchorIfOffscreen:!0,density:2};this.SESSION_OPTIONS=(new Ls).setFilter(MSa(Fq(1),Fq(18)));this.typedText="";this.items=[];this.chipifyFn=function(){Pyc(b)};this.additionalContactsFn=function(){return Qyc(b)};this.isFocused=!1;this.selectedChipIndex=-1;this.$element=this.element.nativeElement;this.validators={};this.violations=new Set;this.subscriptions.add(this.appEvents.contactChipsRevertChanges.subscribe(function(){b.typedText=""}));this.subscriptions.add(ZH(a,
{title:"Manage Component Page",hotkeys:[{keys:[],displayAs:"Right Arrow (>)",description:"Move the Cursor to Input Field",onPress:function(){}}]}))};Y(QP,Z);QP.\u0275dir=Z.\u0275dir;QP.prototype.ngOnInit=function(){var a=this;this.validators=Object.assign({},{validateGaia:function(b,c){return Ryc(c)},validateInternalAccessLevel:function(b,c){return Syc(a,c)},validateExternalAccessLevel:function(b,c){return Tyc(a,c)}},this.customValidators)};
QP.prototype.ngOnChanges=function(a){if(a.users||a.containerChips)this.items=Uyc(this,this.users),RP(this)};var RP=function(a){var b=[].concat(w(a.items)),c=Vyc(b),d=Wyc(b);b=a.validate(c,d,b);a.isValid.emit(b);a.users&&yi(a.users,c)||(a.users=c,b&&a.usersChange.emit(c))};
QP.prototype.validate=function(a,b,c){for(var d=new Set,e=k(Object.entries(this.validators)),f=e.next();!f.done;f=e.next()){var h=k(f.value);f=h.next().value;h=h.next().value;h(a,c)||d.add(f)}a=k(Object.entries(this.detailedUserValidators));for(c=a.next();!c.done;c=a.next())e=k(c.value),c=e.next().value,e=e.next().value,e(b)||d.add(c);this.violations=d;return this.violations.size===0};
var PSa=function(a){!a.isWidgetDisabled()&&Xyc(a)&&(a.isFocused=!0,a.textInputElement.nativeElement.focus())},NSa=function(a){Gq(a,a.selectedChipIndex)&&(a.items[a.selectedChipIndex].isSelected=!1);a.selectedChipIndex=-1};QP.prototype.isWidgetDisabled=function(){return this.$element.classList.contains("disabled")||!!this.$element.hasAttribute("disabled")};var Xyc=function(a){var b,c;return a.maxUserAllowed<0||((c=(b=a.users)==null?void 0:b.length)!=null?c:0)<a.maxUserAllowed};
QP.prototype.removeItem=function(a){this.isWidgetDisabled()||!Gq(this,a)||this.items[a].isReadonly||(NSa(this),this.items.splice(a,1),RP(this))};QP.prototype.setAccessLevel=function(a){this.accessLevel=a};
var Qyc=function(a){return Yyc(a).map(function(b){return{text:mra(b),id:ip({alias:b})}})},Yyc=function(a){if(!a.includeAliases||uC(a.activeSession))return[];var b=["googlers_unrestricted"];if(a.accessLevel===void 0||a.accessLevel==="EXTERNAL_PUBLIC")b.push("public_non_google"),a.includeViewAliases&&b.push("public");return b},Pyc=function(a){setTimeout(function(){a.typedText&&Fa(a.typedText,",")&&Zyc(a,a.typedText.split(",")[0].trim())})},QSa=function(a){Zyc(a,a.typedText.split(",")[0].trim())},Zyc=
function(a,b){b&&(b=Oic.test(b)?$yc(a,b):azc(a,b),a.items.push(b));a.typedText="";RP(a)},Gq=function(a,b){return b>=0&&b<a.items.length},$yc=function(a,b){var c=c===void 0?!1:c;var d=kp(b);if(d.alias===void 0)throw Error("rd`"+b);b=d.alias;d=mra(b);return new SP("ALIAS",b,d,null,c,a)},bzc=function(a,b){b=Gp(b);var c=new SP("GROUP",b,b,null,!1,a);ZG(a.principalTypes,b,!0).then(function(d){c.detailedUserType=d.detailedUserType;RP(a)});return c},czc=function(a,b){var c=c===void 0?!1:c;b=Gp(b);var d=
new SP("USER",b,b,null,c,a);ZG(a.principalTypes,b,!0).then(function(e){d.detailedUserType=e.detailedUserType;RP(a)});return d},azc=function(a,b){var c=c===void 0?!1:c;b=Gp(b);var d=new SP("PRINCIPAL_TYPE_UNSPECIFIED",b,b,null,c,a);ZG(a.principalTypes,b,!0).then(function(e){d.principalType=e.principalType;d.detailedUserType=e.detailedUserType;RP(a)});return d},dzc=function(a,b,c){return new SP("PRINCIPAL_TYPE_UNSPECIFIED","",b,c,!0,a)};QP.prototype.getAccessLevel=function(){return this.accessLevel};
QP.prototype.getAppName=function(){return this.activeSession.getAppName()};QP.prototype.onKeyDown=function(a){a.keyCode===8?Gq(this,this.selectedChipIndex)?(Gq(this,this.selectedChipIndex)&&this.removeItem(this.selectedChipIndex),a.stopPropagation(),a.preventDefault()):this.typedText===""&&this.items.length>0&&this.removeItem(this.items.length-1):a.keyCode===46?Gq(this,this.selectedChipIndex)&&Gq(this,this.selectedChipIndex)&&this.removeItem(this.selectedChipIndex):a.keyCode===39&&PSa(this)};
var Uyc=function(a,b){b=(b||[]).map(function(d){return ezc(a,d)});if(a.containerChips){var c=a.containerChips.filter(function(d){return d.values!==void 0&&Array.isArray(d.values)&&d.values.length>0}).map(function(d){return dzc(a,d.displayText,d.values.map(function(e){return ezc(a,e)}))});return[].concat(w(c),w(b))}return b},ezc=function(a,b){var c=b.split(":");if(c.length!==2)throw Error("ie`"+b);var d=c[0];if(d!=="USER"&&d!=="GROUP"&&d!=="ALIAS")throw Error("ie`"+b);return d==="ALIAS"?$yc(a,b):d===
"USER"?czc(a,c[1]):bzc(a,c[1])},Vyc=function(a){return(a||[]).filter(function(b){return b.principalType!=="PRINCIPAL_TYPE_UNSPECIFIED"}).map(function(b){return b.principalType+":"+b.value})},Wyc=function(a){return(a||[]).filter(function(b){return b.detailedUserType!=="NO_DETAILED_TYPE"}).map(function(b){return b.detailedUserType+":"+b.value})},Ryc=function(a){return!a.some(function(b){return b.isNonGaiaChip()})},Syc=function(a,b){return a.accessLevel!=="INTERNAL"?!0:!b.some(function(c){return c.isInternalAccessViolated()})},
Tyc=function(a,b){return a.accessLevel!=="EXTERNAL_PARTNER"?!0:!b.some(function(c){return c.isExternalPartnerAccessViolated()})};QP.prototype.selectAutocomplete=function(a){a.length>0&&(this.typedText=a[0].result().getPrimaryTarget().getValue(),QSa(this),this.isFocused=!1,this.cdr.detectChanges())};QP.\u0275fac=function(a){return new (a||QP)};
QP.\u0275cmp=t({type:QP,selectors:[["b-multi-user-input"]],viewQuery:function(a,b){a&1&&Mg(Nyc,5);if(a&2){var c;Qg(c=Rg())&&(b.textInputElement=c.first)}},hostBindings:function(a,b){a&1&&M("keydown",function(c){return b.onKeyDown(c)})},inputs:{users:"users",containerChips:"containerChips",accessLevel:"accessLevel",includeAliases:"includeAliases",idForInputBox:"idForInputBox",includeViewAliases:"includeViewAliases",maxUserAllowed:"maxUserAllowed",customValidators:"customValidators",detailedUserValidators:"detailedUserValidators",
ariaLabel:"ariaLabel",placeholderText:"placeholderText"},outputs:{usersChange:"usersChange",isValid:"isValid"},features:[Yg([sG,PP,{provide:Eyc,useFactory:function(){var a=r(QP),b=r(Eyc,{skipSelf:!0}),c;return Object.assign({},b,{staticDataProviders:[].concat(w((c=b.staticDataProviders)!=null?c:[]),[new Oyc(a)])})}}]),cg,Hd],decls:17,vars:14,consts:[["multiUserInput",""],["tabindex","0","role","listbox",1,"bv2-multi-user-input","keep-focus-ring",3,"click"],["id","input-description","hidden","",1,
"screen-reader-only"],["role","listitem",1,"bv2-user-chip"],["role","alert",1,"bv2-multi-user-errors"],[3,"chipSelection","chipClear","chipRemove","isReadonly","isSelected","isWidgetDisabled","principalType","detailedUserType","nestedChips","value","displayText","accessLevel"],["b-adaptive-width-input","","tabindex","0",1,"bv2-multi-user-embedded-input",3,"bContactAutocomplete","additionalContactsCallback","ngModel","disabled","placeholder"],["b-adaptive-width-input","","tabindex","0","peoplekitAutocomplete",
"",1,"bv2-multi-user-embedded-input",3,"peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","ngModel","disabled","placeholder"],["b-adaptive-width-input","","tabindex","0",1,"bv2-multi-user-embedded-input",3,"autocompleteActive","ngModelChange","focus","blur","bContactAutocomplete","additionalContactsCallback","ngModel","disabled","placeholder"],["b-adaptive-width-input","","tabindex","0","peoplekitAutocomplete","",1,"bv2-multi-user-embedded-input",3,"peoplekitAutocompleteSelectionChange",
"ngModelChange","focus","blur","peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","ngModel","disabled","placeholder"],["target","_blank"]],template:function(a,b){a&1&&(I(0,"div",1),M("click",function(){return PSa(b)}),I(1,"div",2),Q(2," Press tab to navigate through users and right arrow to go to input section "),J(),I(3,"div"),tg(4,OSa,2,9,"div",3,sg),D(6,TSa,2,1),J()(),I(7,"div",4),D(8,USa,4,1,"span")(9,VSa,2,0,"span")(10,WSa,2,0,"span")(11,XSa,2,0,"span")(12,YSa,2,0,"span")(13,ZSa,2,
0,"span")(14,$Sa,2,0,"span")(15,aTa,2,0,"span")(16,bTa,2,0,"span"),J());if(a&2){var c;ng("focused",b.isFocused);eg("aria-label",(c=b.idForInputBox)!==null&&c!==void 0?c:0);C(4);ug(b.items);C(2);G(Xyc(b)?6:-1);C();eg("aria-hidden",b.violations.size===0);C();G(b.violations.has("noRestrictedPlusGroups")?8:-1);C();G(b.violations.has("validateGaia")?9:-1);C();G(b.violations.has("validateInternalAccessLevel")?10:-1);C();G(b.violations.has("validateExternalAccessLevel")?11:-1);C();G(b.violations.has("sloLeadNotUser")?
12:-1);C();G(b.violations.has("sloLeadNotGoogler")?13:-1);C();G(b.violations.has("userNotInGoogleDomain")?14:-1);C();G(b.violations.has("userAlreadySelected")?15:-1);C();G(b.violations.has("isNotUserType")?16:-1)}},styles:[".bv2-multi-user-embedded-input[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);color:#202124;color:var(--text-high-contrast)}.bv2-multi-user-input[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:1px;cursor:text;min-height:27px;padding:6px;width:600px}.bv2-multi-user-input[_ngcontent-%COMP%]:hover{box-shadow:inset 0px 1px 2px rgba(0,0,0,.1)}.bv2-multi-user-input.focused[_ngcontent-%COMP%]{box-shadow:inset 0px 1px 2px rgba(0,0,0,.3);border-color:#1a73e8;border-color:var(--primary)}.bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[_ngcontent-%COMP%]{border:0;display:inline-block;height:24px;min-width:100px;max-width:500px;width:100%;outline:none;padding-left:5px}.bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]{cursor:default;display:inline-block;font-size:.8125rem;padding:3px;padding-top:2px;vertical-align:top}.ng-invalid[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-high-contrast)}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]{border-color:#dadce0;border-color:var(--divider);color:#5f6368;color:var(--text-muted);cursor:initial}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[disabled][_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   input.bv2-multi-user-embedded-input[disabled][_ngcontent-%COMP%]{background-color:#fff;background-color:var(--surface-default);display:none}[disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]   span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]   span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{display:none}.disabled[_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]:hover, [disabled][_ngcontent-%COMP%] > .bv2-multi-user-input[_ngcontent-%COMP%]:hover{border-color:#dadce0;border-color:var(--divider);box-shadow:none}.bv2-multi-user-errors[_ngcontent-%COMP%]{color:#ea4335;color:var(--bad);font-size:.8125rem;line-height:18px;margin:0 0 1em;padding:9px 0}/*# sourceMappingURL=multi_user_input.css.map */"]});
var SP=function(a,b,c,d,e,f){this.principalType=a;this.detailedUserType="NO_DETAILED_TYPE";this.value=b;this.displayText=c;this.nestedChips=d;this.isSelected=!1;this.isReadonly=e;this.parentController=f};g=SP.prototype;
g.getTooltip=function(){if(this.principalType!=="ALIAS")return"";switch(this.value){case "googlers_unrestricted":return"Full time employees and other users with access to view most "+this.parentController.getAppName()+" issues.";case "google_domain":return"All users associated with the google.com domain.";case "public_non_google":return"All users, excluding the google.com domain.";case "public":return"All users";default:throw Error("je`"+this.value);}};
g.isGroupChip=function(){return this.principalType==="GROUP"};g.isPublicChip=function(){return this.principalType==="ALIAS"&&["public_non_google","public"].includes(this.value)};g.isDomainChip=function(){return this.principalType==="ALIAS"&&["googlers_unrestricted","google_domain"].includes(this.value)};g.isExternalChip=function(){return this.detailedUserType==="EXTERNAL"||this.detailedUserType==="PUBLIC"||this.isPublicChip()};g.isNonGaiaChip=function(){return this.principalType==="NON_GAIA"};
g.isContainerChip=function(){return this.nestedChips!==null};g.isInternalAccessViolated=function(){return this.parentController.getAccessLevel()==="INTERNAL"&&(this.isExternalChip()||this.isPublicChip())};g.isExternalPartnerAccessViolated=function(){return this.parentController.getAccessLevel()==="EXTERNAL_PARTNER"&&this.isPublicChip()};g.isUserChip=function(){return this.principalType==="USER"};var TP={type:"no_indicator",displayText:""},fzc={type:"visible_to_listed_partners",displayText:"Visible to listed partners",displayTextCompact:"Listed partners",explanation:"This issue is not visible to all partners, but it is visible to partners listed on the issue."},fTa={type:"visible_to_listed_public_users",displayText:"Visible to listed users",displayTextCompact:"Listed users",explanation:"This issue is not visible to all public, but it is visible to public users listed on the issue."},gzc={type:"visible_to_partners",
displayText:"Visible to partners",displayTextCompact:"Partners",explanation:"This issue is visible to partner users."},cTa={type:"visible_to_public",displayText:"Visible to public",displayTextCompact:"Public",explanation:"This issue is visible to the public."},UP=function(){this.issueFullFridge=r(yG);this.componentAccessPolicyFridge=r(qC);this.activeSession=r(dv)},jzc=function(a,b,c){var d=a.issueFullFridge.watch(b);b=Re(function(){return c?Fe(c):d.pipe(B(function(e){return e==null?void 0:e.snapshot[0].componentId}))}).pipe(Nf(function(e){return a.componentAccessPolicyFridge.watch(e)}));
return Me([d,b]).pipe(B(function(e){var f=k(e);e=f.next().value;f=f.next().value;var h,l;var q=(l=e==null?void 0:e.snapshot[0].issueAccessLimitLevel)!=null?l:void 0;l=e==null?void 0:(h=e.accessLimit)==null?void 0:h.accessLevel;if(uC(a.activeSession))h=TP;else if(tC(a.activeSession))h=hzc(q,l,f);else if(a.activeSession.isInternalSession())h=izc(q,l,f);else throw Error("ke");return h}))},hzc=function(a,b,c){switch(b){case "INTERNAL":return TP;case "EXTERNAL_PARTNER":return TP;case "EXTERNAL_PUBLIC":return gTa(a,
c);case "ACCESS_LEVEL_UNSPECIFIED":return TP;default:return TP}},izc=function(a,b,c){switch(b){case "INTERNAL":return TP;case "EXTERNAL_PARTNER":return a&&eTa(a)?fzc:gzc;case "EXTERNAL_PUBLIC":return gTa(a,c);case "ACCESS_LEVEL_UNSPECIFIED":return TP;default:return TP}};UP.\u0275fac=function(a){return new (a||UP)};UP.\u0275prov=n({token:UP,factory:UP.\u0275fac,providedIn:"root"});var VP=function(){Z.apply(this,arguments);var a=this;this.accessIndicatorService=r(UP);this.documentationLinks=r(cL);this.issueFullFridge=r(yG);this.issueApi=r(tD);this.compactMode=!1;this.issueId$=new If;this.accessIndicator$=this.issueId$.pipe(Nf(function(b){return jzc(a.accessIndicatorService,b)}));this.chipClass$=this.accessIndicator$.pipe(B(function(b){return b.type}));this.chipText$=this.accessIndicator$.pipe(B(function(b){return a.compactMode?b.displayTextCompact||b.displayText:b.displayText}));
this.bubbleText$=this.accessIndicator$.pipe(B(function(b){return b.explanation}));this.shouldShowIndicator$=this.accessIndicator$.pipe(B(function(b){return b.type!=="no_indicator"}));this.issue$=this.issueId$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}));this.viewers$=Me([this.issue$,this.accessIndicator$]).pipe(Af(0,Zo),Nf(function(b){var c=k(b);b=c.next().value;c=c.next().value;if(!b||!mTa(c.type))return Fe([]);var d,e;return a.issueApi.getRetainedAccessPrincipals(b==null?void 0:b.issueId,
(e=b==null?void 0:(d=b.snapshot[0])==null?void 0:d.issueAccessLimitLevel)!=null?e:"LIMIT_NONE",[],[]).pipe(B(function(f){f=[].concat(w(mp(f.writers)),w(mp(f.appenders)),w(mp(f.readers)));return[].concat(w(new Set(f)))}))}),Kf({refCount:!0,bufferSize:1}));this.showHovercard$=this.viewers$.pipe(B(function(b){return!!b.length}),Ye(Boolean),B(function(){}));this.loadTooltip$=new If(1);this.tooltipText$=this.loadTooltip$.pipe(Nf(function(){return a.viewers$}),B(function(b){return b.length?"Press Alt + Right arrow for more details":
""}));this.loadTooltipOnce=Bk(function(){a.loadTooltip$.next()})};Y(VP,Z);VP.\u0275dir=Z.\u0275dir;VP.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.tooltipText$.subscribe(function(b){b&&(a.matTooltip.message=b,a.matTooltip.show())}))};ea.Object.defineProperties(VP.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});VP.\u0275fac=function(){var a;return function(b){return(a||(a=de(VP)))(b||VP)}}();
VP.\u0275cmp=t({type:VP,selectors:[["b-issue-visibility-chip"]],viewQuery:function(a,b){a&1&&Mg(HH,5);if(a&2){var c;Qg(c=Rg())&&(b.matTooltip=c.first)}},inputs:{issueId:"issueId",compactMode:"compactMode"},features:[cg],decls:2,vars:3,consts:[["tooltip","matTooltip"],["card","onedevHovercard"],["tabindex","0",1,"chippy","rounded","nowrap","keep-focus-ring",3,"focus","blur","onedevHovercardTrigger","matTooltipDisabled","matTooltip","ngClass"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],
[1,"issue-visibility-chip-bubble"],["target","_blank",3,"href"],[3,"onedevIsHovercardReady",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady"],["idForInputBox","Users who can view",3,"users"]],template:function(a,b){a&1&&(D(0,lTa,15,17),S(1,"async"));a&2&&G(U(1,1,b.shouldShowIndicator$)?0:-1)},dependencies:[Ew,QP,bK,cK,hK,dK,FH,HH,Iw],styles:[".chippy[_ngcontent-%COMP%]{margin-right:8px}.chippy[_ngcontent-%COMP%]:hover, .chippy[_ngcontent-%COMP%]:focus, .chippy[_ngcontent-%COMP%]:focus-visible, .chippy[_ngcontent-%COMP%]:focus-within{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color;outline-offset:2px}.chippy.visible_to_partners[_ngcontent-%COMP%]{background-color:#ffdeb5;background-color:var(--partner-bg);color:#202124;color:var(--partner-text);box-shadow:inset 0 0 0 2px var(--partner-outline)}.chippy.visible_to_listed_partners[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);background-color:var(--partner-listed-bg);color:#202124;color:var(--partner-text);box-shadow:inset 0 0 0 2px var(--partner-listed-outline)}.chippy.visible_to_public[_ngcontent-%COMP%]{background-color:#fbe983;background-color:var(--public-bg);color:#202124;color:var(--public-text);box-shadow:inset 0 0 0 2px var(--public-outline)}.chippy.visible_to_listed_public_users[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);background-color:var(--public-listed-bg);color:#202124;color:var(--public-text);box-shadow:inset 0 0 0 2px var(--public-listed-outline)}  .issue-visibility-chip-bubble a{color:#1a73e8;color:var(--link)}  .issue-visibility-chip-bubble a:visited{color:#7627bb;color:var(--link-visited)}  .issue-visibility-chip-bubble div.bv2-multi-user-input{width:auto}"],
changeDetection:0});var WP=function(){Z.apply(this,arguments);this.errorHandler=r(jE);this.issueFullFridge=r(yG);this.upvoted=!1;this.voteCount=0;this.onVote=new rG;this.tooltip="Indicate that you are affected by this issue";this.isSaving=!1};Y(WP,Z);WP.\u0275dir=Z.\u0275dir;
WP.prototype.onClick=function(){var a=this;if(this.issueId!=null&&!this.isSaving){var b=(this.upvoted=!this.upvoted)?1:-1;this.voteCount+=b;this.onVote.emit(this.upvoted);this.isSaving=!0;tec(this.issueFullFridge,String(this.issueId),this.upvoted).pipe(Cf(),Of(this.destroyed$)).subscribe(function(){a.isSaving=!1},function(c){a.isSaving=!1;a.errorHandler.errorHandler(null,c);a.upvoted=!a.upvoted;a.voteCount-=b})}};WP.\u0275fac=function(){var a;return function(b){return(a||(a=de(WP)))(b||WP)}}();
WP.\u0275cmp=t({type:WP,selectors:[["b-app-vote-button"]],hostVars:2,hostBindings:function(a,b){a&2&&ng("no-votes",b.voteCount<=0)},inputs:{issueId:"issueId",upvoted:"upvoted",voteCount:"voteCount"},outputs:{onVote:"onVote"},features:[cg],decls:4,vars:6,consts:[["mat-button","",1,"small",3,"click","matTooltip"],["svgIcon","exposure_plus_1_24px",1,"icon-m"],[3,"title"]],template:function(a,b){a&1&&(I(0,"button",0),M("click",function(){return b.onClick()}),K(1,"mat-icon",1),I(2,"output",2),Q(3),J()());
a&2&&(F("matTooltip",b.upvoted?"Remove vote: I am not impacted":"Vote: I am impacted"),eg("aria-pressed",b.upvoted)("aria-label","Vote count "+b.voteCount),C(2),Fg("title","",b.voteCount," votes on this issue"),C(),R(" ",b.voteCount>99999?"99999+":b.voteCount," "))},dependencies:[$D,vD,Vy,FH,HH],styles:["[_nghost-%COMP%]{display:inline-block;margin-right:12px}.gmat-mdc-button[_ngcontent-%COMP%]{box-sizing:border-box;height:24px;line-height:24px;min-width:42px;border-radius:12px;padding:0 4px;font-size:.8125rem;text-align:center;box-shadow:inset 0 0 0 1px #dadce0;box-shadow:inset 0 0 0 1px var(--divider)}.gmat-mdc-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:18px;height:18px;margin:0}.gmat-mdc-button[_ngcontent-%COMP%]:hover{box-shadow:inset 0 0 0 1px #d2e3fc;box-shadow:inset 0 0 0 1px var(--primary-c100)}.gmat-mdc-button[aria-pressed=true][_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--text-inverse);box-shadow:none}.gmat-mdc-button[aria-pressed=true][_ngcontent-%COMP%]:hover{background-color:#4285f4;background-color:var(--primary-btn-bg-hover)}button.gmat-mdc-button.mat-mdc-button[aria-pressed=true][_ngcontent-%COMP%]{color:#fff;color:var(--text-inverse)}button.gmat-mdc-button.mat-mdc-button[aria-pressed=true][_ngcontent-%COMP%]:hover{--mdc-text-button-hover-label-text-color: var(--text-inverse)}button.gmat-mdc-button.mat-mdc-button[aria-pressed=true][_ngcontent-%COMP%]:focus{--mdc-text-button-focus-label-text-color: var(--text-inverse)}.bv2-material   [_nghost-%COMP%]     button.gmat-mdc-button:not(.mat-mdc-icon-button).small{padding:0 4px}output[_ngcontent-%COMP%]{display:inline-block;box-sizing:border-box;height:20px;line-height:20px;min-width:20px;border-radius:10px;margin-left:4px;margin-right:-16px;transform:translate(0, -33%);padding:0 4px;font-weight:500;font-size:.75rem;text-align:center;background-color:#188038;background-color:var(--good-bg-inverse);color:#fff;color:var(--text-inverse);box-shadow:0 0 0 1px #fff;box-shadow:0 0 0 1px var(--background);position:relative;z-index:1}[_nghost-%COMP%], output[_ngcontent-%COMP%]{transition:margin-right .1s ease-out}.no-votes[_nghost-%COMP%]{margin-right:2px}.no-votes[_nghost-%COMP%]   output[_ngcontent-%COMP%]{margin-right:-22px;visibility:hidden}/*# sourceMappingURL=app_vote_button.css.map */"],
changeDetection:0});var CTa=function(){return[]},XP=function(){Z.apply(this,arguments);var a=this;this.cdr=r(sG,{self:!0});this.activeSession=r(dv);this.analytics=r(wG);this.relationshipService=r(IG);this.issueFullFridge=r(yG);this.butterBar=r(hE);this.STATUS_JS_FULL_TEXT=Pi;this.ISSUE_PRIORITY_TEXT_JS=T7b;this.ISSUE_PRIORITY_ENUM=n7b;this.ROUTES=tq;this.providedIssueId$=new If(1);this.issue$=this.providedIssueId$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}),Ye(kj));this.FormattingMode=cB;this.enableNewVisibilityChips=
lu(this.activeSession,"enableNewVisibilityChips");this.init=new If(1)};Y(XP,Z);XP.\u0275dir=Z.\u0275dir;XP.prototype.ngOnInit=function(){var a=this;this.providedIssueId$.next(this.issueId);this.issue$.pipe(Of(this.destroyed$)).subscribe(function(b){a.issue=b;a.firstEvent=b.description&&jza(b.description,b);a.cdr.markForCheck();a.init.next()})};XP.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};
var BTa=function(a,b){return Si(b).includes(a.activeSession.getUserEmail())},wTa=function(a,b){var c;return ve(function(d){if(d.nextAddress==1)return c=a.issueId,a.issueFullFridge.manualUpdate(b,function(e){var f=e.parentIssueIds.indexOf(c);f<0||(e.parentIssueIds.splice(f,1),Object.assign({},e))}),we(d,2,3),xe(d,Je(a.relationshipService.delete(c,"CHILD",b)),3);if(d.nextAddress!=2)return ye(d),a.issueFullFridge.poke(b),ze(d,0);Be(d);a.butterBar.showWarning("Error removing the parent issue.");return d.jumpTo(3)})};
XP.\u0275fac=function(){var a;return function(b){return(a||(a=de(XP)))(b||XP)}}();
XP.\u0275cmp=t({type:XP,selectors:[["b-issue-card"]],inputs:{issueId:"issueId",location:"location",childContextId:"childContextId"},outputs:{init:"init"},features:[Yg([sG]),cg],decls:2,vars:1,consts:[["role","dialog","aria-label","Issue Hovercard",1,"onedev-hovercard-content"],[1,"bv2-hovercard-wide"],[3,"href"],[1,"bv2-issue-card-title"],[1,"issue-card-id-snippets"],[3,"issueId"],[3,"labelOnlyMode","accessLevel"],[1,"priority-status"],[1,"bv2-priority",3,"ngClass"],[1,"issue-card-buttons","margin-y"],
[3,"onCc","issueId","ccState"],["mat-button","","matTooltip","Remove the parent/child relationship with this issue",1,"medium"],[1,"bv2-issue-card-comment"],[3,"model","hovercardEnabled"],[3,"issueId","voteCount","upvoted"],["mat-button","","matTooltip","Remove the parent/child relationship with this issue",1,"medium",3,"click"],["mode","date",1,"float-right",3,"timestamp"],[3,"issueId","issueAccessLevel","formattingMode","note"]],template:function(a,b){a&1&&(I(0,"div",0),D(1,DTa,23,16,"div",1),J());
if(a&2){var c;C();G((c=b.issue&&b.issue.snapshot[0])?1:-1,c)}},dependencies:[Ew,cO,vD,Vy,FH,HH,uM,VM,LP,WP,VP,MP],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto;padding:16px}.issue-card-buttons[_ngcontent-%COMP%]{margin-left:-12px}h3[_ngcontent-%COMP%]{display:inline-flex}ul[_ngcontent-%COMP%]{list-style-type:none;padding:0}.priority-status[_ngcontent-%COMP%]{display:inline-flex}"]});var YP=function(){this.appEvents=r(nE);this.issue=null;this.enableHovercard=this.useButtonToNavigate=!1;this.title="";this.isDataLoaded=!1;this.link=""};YP.prototype.ngOnChanges=function(){var a,b;this.title=((a=this.issue)==null?void 0:(b=a.snapshot[0])==null?void 0:b.title)||"";this.isDataLoaded=this.issue!==null;var c,d;this.link=this.getIssueUrl((d=(c=this.issue)==null?void 0:c.issueId)!=null?d:"")};YP.prototype.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):tq.viewIssue.makeHref(a)};
var ETa=function(a){var b,c=(b=a.issue)==null?void 0:b.issueId;c!=null&&a.appEvents.didShowIssueHovercard.next(c)};YP.\u0275fac=function(a){return new (a||YP)};
YP.\u0275cmp=t({type:YP,selectors:[["b-issue-title-cell"]],hostAttrs:[1,"flex-kids-x","line-clamp-3"],inputs:{issue:"issue",issueUrlFactory:"issueUrlFactory",useButtonToNavigate:"useButtonToNavigate",anchorTarget:"anchorTarget",enableHovercard:"enableHovercard",trailingChip:"trailingChip"},features:[Hd],decls:8,vars:6,consts:[["issueHovercard","onedevHovercard"],[1,"title","title-location",3,"isReady"],[3,"trackerId","compactMode"],["mat-icon-button","","tabindex","0","matTooltip","Open issue in a new tab",
"aria-label","Open issue",1,"small","visible-on-row-active","hover-link","pop-out-link",3,"routerLink","target","matTooltipShowDelay"],[1,"hover-link","line-clamp-3","break-word",3,"routerLink","target","onedevHovercardTrigger","onedevHovercardActive"],[1,"b-chip","s","margin-s-left",3,"class","matTooltip"],[3,"issueId"],[1,"line-clamp-3",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"line-clamp-3"],["mat-icon-button","","tabindex","0","matTooltip","Open issue in a new tab","aria-label",
"Open issue",1,"small","visible-on-row-active","hover-link","pop-out-link",3,"keydown","click","routerLink","target","matTooltipShowDelay"],["svgIcon","pop-out",1,"icon-s"],[1,"line-clamp-3",3,"onedevHovercardShown","onedevHovercardTrigger","onedevHovercardActive"],[1,"hover-link","line-clamp-3","break-word",3,"keydown","click","onedevHovercardShown","routerLink","target","onedevHovercardTrigger","onedevHovercardActive"],[1,"b-chip","s","margin-s-left",3,"matTooltip"]],template:function(a,b){a&1&&
(I(0,"b-async-data-placeholder",1),K(1,"b-tracker-chip-smart",2),D(2,HTa,4,4,"a",3)(3,ITa,2,5,"a",4)(4,JTa,2,7,"span",5),J(),I(5,"onedev-hovercard",null,0),D(7,KTa,1,1,"b-issue-card",6),J());if(a&2){var c;F("isReady",b.isDataLoaded);C();F("trackerId",b.issue==null?null:b.issue.trackerId)("compactMode",!0);C();G(b.useButtonToNavigate?2:3);C(2);G((c=b.trailingChip)?4:-1,c);C(3);G(b.enableHovercard&&b.issue?7:-1)}},dependencies:[hP,$D,JE,vD,Yy,FH,HH,bK,hK,XP,kO],styles:[".title[_ngcontent-%COMP%]{padding-top:7px;padding-bottom:6px;display:flex;flex-direction:row;align-items:center}a[_ngcontent-%COMP%]{color:inherit}"],
changeDetection:0});var kzc=function(a,b){return[a,b]},lzc=[[["b-callout-body"]],[["b-callout-actions"]]],ZP=function(){this.messageType="info";this.format="default"};ZP.prototype.getIconName=function(){if(this.iconOverride!=null)return this.iconOverride;switch(this.messageType){case "caution":return"warning";case "success":return"success";case "error":return"alert";default:return"info"}};ZP.\u0275fac=function(a){return new (a||ZP)};
ZP.\u0275cmp=t({type:ZP,selectors:[["b-callout"]],hostVars:5,hostBindings:function(a,b){a&2&&og(ch(2,kzc,b.messageType,b.format).join(" "))},inputs:{messageType:"messageType",format:"format",iconOverride:"iconOverride"},ngContentSelectors:["b-callout-body","b-callout-actions"],decls:6,vars:1,consts:[[1,"callout"],["role","alert",1,"content"],[3,"svgIcon"],[1,"actions"]],template:function(a,b){a&1&&(Dg(lzc),I(0,"div",0)(1,"div",1),K(2,"mat-icon",2),Eg(3),J(),I(4,"div",3),Eg(5,1),J()());a&2&&(C(2),
F("svgIcon",b.getIconName()))},dependencies:[$D],styles:["[_nghost-%COMP%]{display:block;border-radius:8px;color:#3c4043;color:var(--c800);padding:8px 4px}[_nghost-%COMP%]     .mat-mdc-button{min-height:28px;line-height:28px;padding:0px 8px}.app[_nghost-%COMP%]{border-radius:0;padding-left:24px}.app[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-left:0;margin-right:10px}.content[_ngcontent-%COMP%]{display:flex;align-items:center;flex-grow:1}.actions[_ngcontent-%COMP%]{flex-grow:1}[_nghost-%COMP%]     b-callout-actions{display:flex;flex-wrap:nowrap;gap:4px;justify-content:flex-end}mat-icon[_ngcontent-%COMP%]{margin-left:4px;margin-right:8px}.callout[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:36px;flex-wrap:wrap}.info[_nghost-%COMP%]{background-color:#e8f0fe;background-color:var(--primary-c50)}.info[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.info[_nghost-%COMP%]    .mat-button, .info[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button, .info[_nghost-%COMP%]    .mat-stroked-button, .info[_nghost-%COMP%]    .mat-mdc-outlined-button, .info[_nghost-%COMP%]    .mat-icon-button{color:#1a73e8;color:var(--link);--mat-text-button-state-layer-color: var(--link)}.info[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):hover, .info[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):focus{color:#1a73e8;color:var(--link)}.info[_nghost-%COMP%]    .mat-flat-button, .info[_nghost-%COMP%]    .mat-mdc-unelevated-button, .info[_nghost-%COMP%]    .mat-raised-button{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--text-inverse)}.archived[_nghost-%COMP%], .caution[_nghost-%COMP%]{background-color:#feefc3;background-color:var(--warn-c50);border-color:#fbbc04;border-color:var(--warn-gfx-muted)}.archived[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%], .caution[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#e37400;color:var(--warn-gfx)}.archived[_nghost-%COMP%]    .mat-button, .archived[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button, .archived[_nghost-%COMP%]    .mat-stroked-button, .archived[_nghost-%COMP%]    .mat-mdc-outlined-button, .archived[_nghost-%COMP%]    .mat-icon-button, .caution[_nghost-%COMP%]    .mat-button, .caution[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button, .caution[_nghost-%COMP%]    .mat-stroked-button, .caution[_nghost-%COMP%]    .mat-mdc-outlined-button, .caution[_nghost-%COMP%]    .mat-icon-button{color:rgba(0,0,0,.7);color:var(--text-warn);--mat-text-button-state-layer-color: var(--text-warn)}.archived[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):hover, .archived[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):focus, .caution[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):hover, .caution[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):focus{color:rgba(0,0,0,.7);color:var(--text-warn)}.archived[_nghost-%COMP%]    .mat-flat-button, .archived[_nghost-%COMP%]    .mat-mdc-unelevated-button, .archived[_nghost-%COMP%]    .mat-raised-button, .caution[_nghost-%COMP%]    .mat-flat-button, .caution[_nghost-%COMP%]    .mat-mdc-unelevated-button, .caution[_nghost-%COMP%]    .mat-raised-button{background-color:#e37400;background-color:var(--warn-gfx);color:#fff;color:var(--text-inverse)}.error[_nghost-%COMP%]{background-color:#fef4f3;background-color:var(--bad-bg-pale);border-color:#f6aea9;border-color:var(--bad-gfx-muted)}.error[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#c5221f;color:var(--bad-gfx)}.error[_nghost-%COMP%]    .mat-button, .error[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button, .error[_nghost-%COMP%]    .mat-stroked-button, .error[_nghost-%COMP%]    .mat-mdc-outlined-button, .error[_nghost-%COMP%]    .mat-icon-button{color:#c5221f;color:var(--bad-link);--mat-text-button-state-layer-color: var(--bad-link)}.error[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):hover, .error[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):focus{color:#c5221f;color:var(--bad-link)}.error[_nghost-%COMP%]    .mat-flat-button, .error[_nghost-%COMP%]    .mat-mdc-unelevated-button, .error[_nghost-%COMP%]    .mat-raised-button{background-color:#a50e0e;background-color:var(--bad-bg-inverse);color:#fff;color:var(--text-inverse)}.success[_nghost-%COMP%]{background-color:#eafaef;background-color:var(--good-bg-pale);border-color:#1e8e3e;border-color:var(--good-gfx)}.success[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#1e8e3e;color:var(--good-gfx)}.success[_nghost-%COMP%]    .mat-button, .success[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button, .success[_nghost-%COMP%]    .mat-stroked-button, .success[_nghost-%COMP%]    .mat-mdc-outlined-button, .success[_nghost-%COMP%]    .mat-icon-button{color:#1e8e3e;color:var(--good-link);--mat-text-button-state-layer-color: var(--good-link)}.success[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):hover, .success[_nghost-%COMP%]    .gmat-mdc-button.mat-mdc-button:not(.mat-mdc-button-disabled):not([disabled]):not(:disabled):focus{color:#1e8e3e;color:var(--good-link)}.success[_nghost-%COMP%]    .mat-flat-button, .success[_nghost-%COMP%]    .mat-mdc-unelevated-button, .success[_nghost-%COMP%]    .mat-raised-button{background-color:#34a853;background-color:var(--good);color:#fff;color:var(--text-inverse)}/*# sourceMappingURL=callout.css.map */"]});
var $P=function(){};$P.\u0275fac=function(a){return new (a||$P)};$P.\u0275dir=ud({type:$P,selectors:[["b-callout-body"],["b-callout-actions"]]});var aQ=function(a,b){this.checker=a;this.document=b};aQ.prototype.focusFirstFocusableElement=function(a){(a=mzc(this,a,!0))&&a.focus()};var mzc=function(a,b,c){if((c===void 0||c)&&a.checker.isFocusable(b))return b;b=b.children||b.childNodes;for(c=0;c<b.length;c++){var d=b[c].nodeType===a.document.ELEMENT_NODE?mzc(a,b[c]):null;if(d)return d}return null};aQ.\u0275fac=function(a){return new (a||aQ)(md(dx),md(ei))};aQ.\u0275prov=n({token:aQ,factory:aQ.\u0275fac,providedIn:"root"});var bQ=function(){this.elementRef=r(ge);this.interactivityHelper=r(aQ)};bQ.prototype.ngOnInit=function(){};bQ.prototype.focus=function(){this.element.contains(document.activeElement)||this.interactivityHelper.focusFirstFocusableElement(this.element)};ea.Object.defineProperties(bQ.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return this.elementRef.nativeElement}}});bQ.\u0275fac=function(a){return new (a||bQ)};
bQ.\u0275dir=ud({type:bQ,selectors:[["tr","row",""]],inputs:{row:"row"},exportAs:["tableRowDirective"]});var cQ=function(){};cQ.\u0275fac=function(a){return new (a||cQ)};cQ.\u0275mod=u({type:cQ});cQ.\u0275inj=p({});var nzc=function(a,b){Hx.call(this,a);this.directives=a;this.isEqual=b};Y(nzc,Hx);var Jq=function(a,b){var c;return ve(function(d){if(d.nextAddress==1)return xe(d,Je(a.directives.changes.pipe(Mf(a.directives.toArray()),B(function(e){return e.find(function(f){return a.isEqual(f.row,b)})}),Ye(Boolean),Ze(3E3))),2);c=d.yieldResult;a.setActiveItem(c);Ce(d)})};var ozc=new Bd("GMAT_CHIPS_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var dQ=function(a){this.options=a};dQ.\u0275fac=function(a){return new (a||dQ)(af(ozc))};
dQ.\u0275dir=ud({type:dQ,selectors:[["mat-chip"],["mat-basic-chip"],["mat-chip-row"],["mat-basic-chip-row"],["mat-chip-option"],["mat-basic-chip-option"]],hostVars:16,hostBindings:function(a,b){a&2&&ng("gmat-mdc-chip",!b.options.disableGmatStyle)("gmat-input-chip",b.appearance==="input")("gmat-filter-chip",b.appearance==="hairline-filter"||b.appearance==="protected-filter")("gmat-suggestive-chip",b.appearance==="hairline-suggestive"||b.appearance==="protected-suggestive")("gmat-assistive-chip",b.appearance===
"hairline-assistive"||b.appearance==="protected-assistive")("gmat-hairline-chip",b.appearance==="input"||b.appearance==="hairline-filter"||b.appearance==="hairline-suggestive"||b.appearance==="hairline-assistive")("gmat-protected-chip",b.appearance==="protected-filter"||b.appearance==="protected-suggestive"||b.appearance==="protected-assistive")("gmat-selectable-chip",b.appearance==="input"||b.appearance==="hairline-filter"||b.appearance==="protected-filter")},inputs:{appearance:"appearance"}});var pzc=new Bd("GMAT_SELECT_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var eQ=function(a){this.options=a};eQ.\u0275fac=function(a){return new (a||eQ)(af(pzc))};eQ.\u0275dir=ud({type:eQ,selectors:[["mat-select"]],hostVars:2,hostBindings:function(a,b){a&2&&ng("gmat-mdc-select",!b.options.disableGmatStyle)}});var qzc=new Bd("GMAT_TABLE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var fQ=function(a){this.options=a};fQ.\u0275fac=function(a){return new (a||fQ)(af(qzc))};fQ.\u0275dir=ud({type:fQ,selectors:[["table","mat-table",""],["mat-table"]],hostVars:2,hostBindings:function(a,b){a&2&&ng("gmat-mdc-table",!b.options.disableGmatStyle)}});var rzc=new Bd("mat-chips-default-options",{providedIn:"root",factory:function(){return{separatorKeyCodes:[13]}}}),szc=new Bd("MatChipAvatar"),tzc=new Bd("MatChipTrailingIcon"),uzc=new Bd("MatChipRemove"),vzc=new Bd("MatChip");var gQ=function(){this._elementRef=r(ge);this._parentChip=r(vzc);this._isPrimary=this.isInteractive=!0;this._disabled=!1;this.tabIndex=-1;this._allowFocusWhenDisabled=!1;r(Yw).load(Fy);this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")};g=gQ.prototype;g._getDisabledAttribute=function(){return this.disabled&&!this._allowFocusWhenDisabled?"":null};
g._getTabindex=function(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()};g.focus=function(){this._elementRef.nativeElement.focus()};g._handleClick=function(a){!this.disabled&&this.isInteractive&&this._isPrimary&&(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())};
g._handleKeydown=function(a){a.keyCode!==13&&a.keyCode!==32||this.disabled||!this.isInteractive||!this._isPrimary||this._parentChip._isEditing||(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())};ea.Object.defineProperties(gQ.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){var a;return this._disabled||((a=this._parentChip)==null?void 0:a.disabled)||!1},set:function(a){this._disabled=a}}});gQ.\u0275fac=function(a){return new (a||gQ)};
gQ.\u0275dir=ud({type:gQ,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(a,b){a&1&&M("click",function(c){return b._handleClick(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&(eg("tabindex",b._getTabindex())("disabled",b._getDisabledAttribute())("aria-disabled",b.disabled),ng("mdc-evolution-chip__action--primary",b._isPrimary)("mdc-evolution-chip__action--presentational",!b.isInteractive)("mdc-evolution-chip__action--trailing",
!b._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",rh],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?-1:sh(a)}],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[dg]});var hQ=function(){gQ.apply(this,arguments);this._isPrimary=this.isInteractive=!1};Y(hQ,gQ);hQ.\u0275fac=function(){var a;return function(b){return(a||(a=de(hQ)))(b||hQ)}}();hQ.\u0275dir=ud({type:hQ,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:["aria-hidden","true",1,"mat-mdc-chip-trailing-icon","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],standalone:!0,features:[Yg([{provide:tzc,useExisting:hQ}]),cg]});var wzc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],xzc=0,iQ=function(){this._changeDetectorRef=r(rw);this._elementRef=r(ge);this._ngZone=r(hh);this._focusMonitor=r(ax);this._globalRippleOptions=r(Jy,{optional:!0});this._document=r(ei);this._onFocus=new Jf;this._onBlur=new Jf;this.role=null;this._hasFocusInternal=!1;this.id="mat-mdc-chip-"+xzc++;this.ariaDescription=this.ariaLabel=null;this._ariaDescriptionId=
this.id+"-aria-description";this._chipListDisabled=!1;this.removable=!0;this._disabled=this.disableRipple=this.highlighted=!1;this.removed=new kw;this.destroyed=new kw;this.basicChipAttrName="mat-basic-chip";this._rippleLoader=r(Qy);this._injector=r(Sf);r(Yw).load(Fy);this._animationsDisabled=r(Zv,{optional:!0})==="NoopAnimations";this._monitorFocus();var a;(a=this._rippleLoader)==null||K3b(a,this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})};g=iQ.prototype;
g._hasFocus=function(){return this._hasFocusInternal};g.ngOnInit=function(){var a=this._elementRef.nativeElement;this._isBasicChip=a.hasAttribute(this.basicChipAttrName)||a.tagName.toLowerCase()===this.basicChipAttrName};g.ngAfterViewInit=function(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label");this._pendingFocus&&(this._pendingFocus=!1,this.focus())};
g.ngAfterContentInit=function(){var a=this;this._actionChanges=Xe(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(function(){return a._changeDetectorRef.markForCheck()})};g.ngDoCheck=function(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())};
g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);var a;(a=this._rippleLoader)==null||J3b(a,this._elementRef.nativeElement);var b;(b=this._actionChanges)==null||b.unsubscribe();this.destroyed.emit({chip:this});this.destroyed.complete()};g.remove=function(){this.removable&&this.removed.emit({chip:this})};g._isRippleDisabled=function(){var a;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!((a=this._globalRippleOptions)==null||!a.disabled)};
g._hasTrailingIcon=function(){return!(!this.trailingIcon&&!this.removeIcon)};g._handleKeydown=function(a){if(a.keyCode===8&&!a.repeat||a.keyCode===46)a.preventDefault(),this.remove()};g.focus=function(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)};g._getSourceAction=function(a){return this._getActions().find(function(b){b=b._elementRef.nativeElement;return b===a||b.contains(a)})};
g._getActions=function(){var a=[];this.primaryAction&&a.push(this.primaryAction);this.removeIcon&&a.push(this.removeIcon);this.trailingIcon&&a.push(this.trailingIcon);return a};g._handlePrimaryActionInteraction=function(){};g._monitorFocus=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b=b!==null;b!==a._hasFocusInternal&&((a._hasFocusInternal=b)?a._onFocus.next({chip:a}):Uf(function(){return a._ngZone.run(function(){return a._onBlur.next({chip:a})})},{injector:a._injector}))})};
ea.Object.defineProperties(iQ.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this._value!==void 0?this._value:this._textElement.textContent.trim()},set:function(a){this._value=a}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this._chipListDisabled},set:function(a){this._disabled=a}}});iQ.\u0275fac=function(a){return new (a||iQ)};
iQ.\u0275cmp=t({type:iQ,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(a,b,c){a&1&&(Ng(c,szc,5),Ng(c,tzc,5),Ng(c,uzc,5),Ng(c,szc,5),Ng(c,tzc,5),Ng(c,uzc,5));if(a&2){var d;Qg(d=Rg())&&(b.leadingIcon=d.first);Qg(d=Rg())&&(b.trailingIcon=d.first);Qg(d=Rg())&&(b.removeIcon=d.first);Qg(d=Rg())&&(b._allLeadingIcons=d);Qg(d=Rg())&&(b._allTrailingIcons=d);Qg(d=Rg())&&(b._allRemoveIcons=d)}},viewQuery:function(a,b){a&1&&Mg(gQ,5);if(a&2){var c;
Qg(c=Rg())&&(b.primaryAction=c.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b._handleKeydown(c)});a&2&&(yg("id",b.id),eg("role",b.role)("aria-label",b.ariaLabel),og("mat-"+(b.color||"primary")),ng("mdc-evolution-chip",!b._isBasicChip)("mdc-evolution-chip--disabled",b.disabled)("mdc-evolution-chip--with-trailing-action",b._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",b.leadingIcon)("mdc-evolution-chip--with-primary-icon",
b.leadingIcon)("mdc-evolution-chip--with-avatar",b.leadingIcon)("mat-mdc-chip-with-avatar",b.leadingIcon)("mat-mdc-chip-highlighted",b.highlighted)("mat-mdc-chip-disabled",b.disabled)("mat-mdc-basic-chip",b._isBasicChip)("mat-mdc-standard-chip",!b._isBasicChip)("mat-mdc-chip-with-trailing-icon",b._hasTrailingIcon())("_mat-animation-noopable",b._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",
color:"color",removable:[2,"removable","removable",rh],highlighted:[2,"highlighted","highlighted",rh],disableRipple:[2,"disableRipple","disableRipple",rh],disabled:[2,"disabled","disabled",rh]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[Yg([{provide:vzc,useExisting:iQ}]),dg,$g],ngContentSelectors:["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],
[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(a,b){a&1&&(Dg(wzc),K(0,"span",0),I(1,"span",1)(2,"span",2),D(3,LTa,2,0,"span",3),I(4,"span",4),Eg(5),K(6,"span",5),J()()(),
D(7,MTa,2,0,"span",6));a&2&&(C(2),F("isInteractive",!1),C(),G(b.leadingIcon?3:-1),C(4),G(b._hasTrailingIcon()?7:-1))},dependencies:[gQ],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-app-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-app-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-app-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-app-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-app-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var yzc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],jQ=function(){iQ.apply(this,arguments);this._defaultOptions=r(rzc,{optional:!0});this.chipListSelectable=!0;this._chipListMultiple=!1;var a,b;this._chipListHideSingleSelectionIndicator=(b=(a=this._defaultOptions)==null?void 0:a.hideSingleSelectionIndicator)!=null?b:!1;this._selectable=!0;this._selected=!1;this.basicChipAttrName="mat-basic-chip-option";this.selectionChange=
new kw};Y(jQ,iQ);g=jQ.prototype;g.ngOnInit=function(){iQ.prototype.ngOnInit.call(this);this.role="presentation"};g.select=function(){this._setSelectedState(!0,!1,!0)};g.deselect=function(){this._setSelectedState(!1,!1,!0)};g._handlePrimaryActionInteraction=function(){this.disabled||(this.focus(),this.selectable&&this._setSelectedState(!this.selected,!0,!0))};g._hasLeadingGraphic=function(){return this.leadingIcon?!0:!this._chipListHideSingleSelectionIndicator||this._chipListMultiple};
g._setSelectedState=function(a,b,c){a!==this.selected&&(this._selected=a,c&&this.selectionChange.emit({source:this,isUserInput:b,selected:this.selected}),this._changeDetectorRef.markForCheck())};
ea.Object.defineProperties(jQ.prototype,{selectable:{configurable:!0,enumerable:!0,get:function(){return this._selectable&&this.chipListSelectable},set:function(a){this._selectable=a;this._changeDetectorRef.markForCheck()}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._setSelectedState(a,!1,!0)}},ariaSelected:{configurable:!0,enumerable:!0,get:function(){return this.selectable?this.selected.toString():null}}});
jQ.\u0275fac=function(){var a;return function(b){return(a||(a=de(jQ)))(b||jQ)}}();
jQ.\u0275cmp=t({type:jQ,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(a,b){a&2&&(yg("id",b.id),eg("tabindex",null)("aria-label",null)("aria-description",null)("role",b.role),ng("mdc-evolution-chip",!b._isBasicChip)("mdc-evolution-chip--filter",!b._isBasicChip)("mdc-evolution-chip--selectable",!b._isBasicChip)("mat-mdc-chip-selected",b.selected)("mat-mdc-chip-multiple",
b._chipListMultiple)("mat-mdc-chip-disabled",b.disabled)("mat-mdc-chip-with-avatar",b.leadingIcon)("mdc-evolution-chip--disabled",b.disabled)("mdc-evolution-chip--selected",b.selected)("mdc-evolution-chip--selecting",!b._animationsDisabled)("mdc-evolution-chip--with-trailing-action",b._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",b.leadingIcon)("mdc-evolution-chip--with-primary-graphic",b._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",b.leadingIcon)("mat-mdc-chip-highlighted",
b.highlighted)("mat-mdc-chip-with-trailing-icon",b._hasTrailingIcon()))},inputs:{selectable:[2,"selectable","selectable",rh],selected:[2,"selected","selected",rh]},outputs:{selectionChange:"selectionChange"},standalone:!0,features:[Yg([{provide:iQ,useExisting:jQ},{provide:vzc,useExisting:jQ}]),dg,cg,$g],ngContentSelectors:["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],decls:10,vars:8,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell",
"mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"_allowFocusWhenDisabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],
["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"]],template:function(a,b){a&1&&(Dg(yzc),K(0,"span",0),I(1,"span",1)(2,"button",2),D(3,NTa,5,0,"span",3),I(4,"span",4),Eg(5),K(6,"span",5),J()()(),D(7,OTa,2,0,"span",6),I(8,"span",7),Q(9),J());a&2&&(C(2),F("_allowFocusWhenDisabled",!0),eg("aria-selected",b.ariaSelected)("aria-label",b.ariaLabel)("aria-describedby",b._ariaDescriptionId),C(),G(b._hasLeadingGraphic()?3:-1),C(4),G(b._hasTrailingIcon()?
7:-1),C(),F("id",b._ariaDescriptionId),C(),Tg(b.ariaDescription))},dependencies:[gQ],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-app-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-app-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-app-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-app-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-app-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var kQ=function(){this._elementRef=r(ge);this._changeDetectorRef=r(rw);this._dir=r(Jx,{optional:!0});this._lastDestroyedFocusedChipIndex=null;this._destroyed=new Jf;this._defaultRole="presentation";this._disabled=!1;this.tabIndex=0;this._explicitRole=null;this._chipActions=new Lg};g=kQ.prototype;g.ngAfterViewInit=function(){this._setUpFocusManagement();this._trackChipSetChanges();this._trackDestroyedFocusedChip()};
g.ngOnDestroy=function(){var a;(a=this._keyManager)==null||a.destroy();this._chipActions.destroy();this._destroyed.next();this._destroyed.complete()};g._hasFocusedChip=function(){return this._chips&&this._chips.some(function(a){return a._hasFocus()})};g._syncChipsState=function(){var a=this,b;(b=this._chips)==null||b.forEach(function(c){c._chipListDisabled=a._disabled;c._changeDetectorRef.markForCheck()})};g.focus=function(){};g._handleKeydown=function(a){if(this._originatesFromChip(a))this._keyManager.onKeydown(a)};
g._isValidIndex=function(a){return a>=0&&a<this._chips.length};g._allowFocusEscape=function(){var a=this,b=this._elementRef.nativeElement.tabIndex;b!==-1&&(this._elementRef.nativeElement.tabIndex=-1,setTimeout(function(){return a._elementRef.nativeElement.tabIndex=b}))};g._getChipStream=function(a){var b=this;return this._chips.changes.pipe(Mf(null),Nf(function(){return Xe.apply(null,w(b._chips.map(a)))}))};
g._originatesFromChip=function(a){for(a=a.target;a&&a!==this._elementRef.nativeElement;){if(a.classList.contains("mat-mdc-chip"))return!0;a=a.parentElement}return!1};
g._setUpFocusManagement=function(){var a=this;this._chips.changes.pipe(Mf(this._chips)).subscribe(function(c){var d=[];c.forEach(function(e){return e._getActions().forEach(function(f){return d.push(f)})});a._chipActions.reset(d);Pg(a._chipActions)});this._keyManager=Ex(Dx(Cx(new Hx(this._chipActions)),this._dir?this._dir.value:"ltr")).skipPredicate(function(c){return a._skipPredicate(c)});this.chipFocusChanges.pipe(Of(this._destroyed)).subscribe(function(c){(c=c.chip._getSourceAction(document.activeElement))&&
Fx(a._keyManager,c)});var b;(b=this._dir)==null||b.change.pipe(Of(this._destroyed)).subscribe(function(c){return Dx(a._keyManager,c)})};g._skipPredicate=function(a){return!a.isInteractive||a.disabled};g._trackChipSetChanges=function(){var a=this;this._chips.changes.pipe(Mf(null),Of(this._destroyed)).subscribe(function(){a.disabled&&Promise.resolve().then(function(){return a._syncChipsState()});a._redirectDestroyedChipFocus()})};
g._trackDestroyedFocusedChip=function(){var a=this;this.chipDestroyedChanges.pipe(Of(this._destroyed)).subscribe(function(b){var c=a._chips.toArray().indexOf(b.chip);a._isValidIndex(c)&&b.chip._hasFocus()&&(a._lastDestroyedFocusedChipIndex=c)})};
g._redirectDestroyedChipFocus=function(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){var a=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1);a=this._chips.toArray()[a];a.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():a.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}};
ea.Object.defineProperties(kQ.prototype,{chipFocusChanges:{configurable:!0,enumerable:!0,get:function(){return this._getChipStream(function(a){return a._onFocus})}},chipDestroyedChanges:{configurable:!0,enumerable:!0,get:function(){return this._getChipStream(function(a){return a.destroyed})}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=a;this._syncChipsState()}},empty:{configurable:!0,enumerable:!0,get:function(){return!this._chips||
this._chips.length===0}},role:{configurable:!0,enumerable:!0,get:function(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole},set:function(a){this._explicitRole=a}},focused:{configurable:!0,enumerable:!0,get:function(){return this._hasFocusedChip()}}});kQ.\u0275fac=function(a){return new (a||kQ)};
kQ.\u0275cmp=t({type:kQ,selectors:[["mat-chip-set"]],contentQueries:function(a,b,c){a&1&&Ng(c,iQ,5);if(a&2){var d;Qg(d=Rg())&&(b._chips=d)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(a,b){a&1&&M("keydown",function(c){return b._handleKeydown(c)});a&2&&eg("role",b.role)},inputs:{disabled:[2,"disabled","disabled",rh],role:"role",tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:sh(a)}]},standalone:!0,features:[dg,$g],ngContentSelectors:["*"],
decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&1&&(Dg(),I(0,"div",0),Eg(1),J())},styles:[".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}\n"],
encapsulation:2,changeDetection:0});var zzc=function(a,b){this.source=a;this.value=b},Azc={provide:mz,useExisting:id(function(){return lQ}),multi:!0},lQ=function(){kQ.apply(this,arguments);this._onTouched=function(){};this._onChange=function(){};this._defaultRole="listbox";this._defaultOptions=r(rzc,{optional:!0});this._multiple=!1;this.ariaOrientation="horizontal";this._selectable=!0;this.compareWith=function(c,d){return c===d};this.required=!1;var a,b;this._hideSingleSelectionIndicator=(b=(a=this._defaultOptions)==null?void 0:a.hideSingleSelectionIndicator)!=
null?b:!1;this.change=new kw;this._chips=void 0};Y(lQ,kQ);g=lQ.prototype;
g.ngAfterContentInit=function(){var a=this;this._pendingInitialValue!==void 0&&Promise.resolve().then(function(){a._setSelectionByValue(a._pendingInitialValue,!1);a._pendingInitialValue=void 0});this._chips.changes.pipe(Mf(null),Of(this._destroyed)).subscribe(function(){a._syncListboxProperties()});this.chipBlurChanges.pipe(Of(this._destroyed)).subscribe(function(){return a._blur()});this.chipSelectionChanges.pipe(Of(this._destroyed)).subscribe(function(b){a.multiple||a._chips.forEach(function(c){c!==
b.source&&c._setSelectedState(!1,!1,!1)});b.isUserInput&&a._propagateChanges()})};g.focus=function(){if(!this.disabled){var a=this._getFirstSelectedChip();a&&!a.disabled?a.focus():this._chips.length>0?this._keyManager._setActiveItemByIndex(0,1):this._elementRef.nativeElement.focus()}};g.writeValue=function(a){this._chips?this._setSelectionByValue(a,!1):a!=null&&(this._pendingInitialValue=a)};g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};
g.setDisabledState=function(a){this.disabled=a};g._setSelectionByValue=function(a,b){var c=this;b=b===void 0?!0:b;this._clearSelection();Array.isArray(a)?a.forEach(function(d){return c._selectValue(d,b)}):this._selectValue(a,b)};g._blur=function(){var a=this;this.disabled||setTimeout(function(){a.focused||a._markAsTouched()})};g._keydown=function(a){a.keyCode===9&&kQ.prototype._allowFocusEscape.call(this)};g._markAsTouched=function(){this._onTouched();this._changeDetectorRef.markForCheck()};
g._propagateChanges=function(){var a=null;Array.isArray(this.selected)?a=this.selected.map(function(b){return b.value}):a=this.selected?this.selected.value:void 0;this._value=a;this.change.emit(new zzc(this,a));this._onChange(a);this._changeDetectorRef.markForCheck()};g._clearSelection=function(a){this._chips.forEach(function(b){b!==a&&b.deselect()})};
g._selectValue=function(a,b){var c=this,d=this._chips.find(function(e){return e.value!=null&&c.compareWith(e.value,a)});d&&(b?d._setSelectedState(!0,!0,!0):d.select());return d};g._syncListboxProperties=function(){var a=this;this._chips&&Promise.resolve().then(function(){a._chips.forEach(function(b){b._chipListMultiple=a.multiple;b.chipListSelectable=a._selectable;b._chipListHideSingleSelectionIndicator=a.hideSingleSelectionIndicator;b._changeDetectorRef.markForCheck()})})};
g._getFirstSelectedChip=function(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected};g._skipPredicate=function(a){return!a.isInteractive};
ea.Object.defineProperties(lQ.prototype,{multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=a;this._syncListboxProperties()}},selected:{configurable:!0,enumerable:!0,get:function(){var a=this._chips.toArray().filter(function(b){return b.selected});return this.multiple?a:a[0]}},selectable:{configurable:!0,enumerable:!0,get:function(){return this._selectable},set:function(a){this._selectable=a;this._syncListboxProperties()}},hideSingleSelectionIndicator:{configurable:!0,
enumerable:!0,get:function(){return this._hideSingleSelectionIndicator},set:function(a){this._hideSingleSelectionIndicator=a;this._syncListboxProperties()}},chipSelectionChanges:{configurable:!0,enumerable:!0,get:function(){return this._getChipStream(function(a){return a.selectionChange})}},chipBlurChanges:{configurable:!0,enumerable:!0,get:function(){return this._getChipStream(function(a){return a._onBlur})}},value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this.writeValue(a);
this._value=a}}});lQ.\u0275fac=function(){var a;return function(b){return(a||(a=de(lQ)))(b||lQ)}}();
lQ.\u0275cmp=t({type:lQ,selectors:[["mat-chip-listbox"]],contentQueries:function(a,b,c){a&1&&Ng(c,jQ,5);if(a&2){var d;Qg(d=Rg())&&(b._chips=d)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(a,b){a&1&&M("focus",function(){return b.focus()})("blur",function(){return b._blur()})("keydown",function(c){return b._keydown(c)});a&2&&(yg("tabIndex",b.disabled||b.empty?-1:b.tabIndex),eg("role",b.role)("aria-describedby",b._ariaDescribedby||null)("aria-required",
b.role?b.required:null)("aria-disabled",b.disabled.toString())("aria-multiselectable",b.multiple)("aria-orientation",b.ariaOrientation),ng("mat-mdc-chip-list-disabled",b.disabled)("mat-mdc-chip-list-required",b.required))},inputs:{multiple:[2,"multiple","multiple",rh],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",rh],compareWith:"compareWith",required:[2,"required","required",rh],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",
rh],value:"value"},outputs:{change:"change"},standalone:!0,features:[Yg([Azc]),dg,cg,$g],ngContentSelectors:["*"],decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&1&&(Dg(),I(0,"div",0),Eg(1),J())},styles:[".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}\n"],
encapsulation:2,changeDetection:0});var Bzc=ni("transformPanel",[qi("void",pi({opacity:0,transform:"scale(1, 0.8)"})),si("void => showing",oi("120ms cubic-bezier(0, 0, 0.2, 1)",pi({opacity:1,transform:"scale(1, 1)"}))),si("* => void",oi("100ms linear",pi({opacity:0})))]);var Czc=["trigger"],Dzc=["panel"],Ezc=[[["mat-select-trigger"]],"*"],Fzc=0,Gzc=new Bd("mat-select-scroll-strategy",{providedIn:"root",factory:function(){var a=r(ty);return function(){return a.scrollStrategies.reposition()}}}),Hzc=new Bd("MAT_SELECT_CONFIG"),Izc={provide:Gzc,deps:[ty],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},Jzc=new Bd("MatSelectTrigger"),Kzc=function(a,b){this.source=a;this.value=b},mQ=function(){var a=this;this._viewportRuler=r(Yx);this._changeDetectorRef=
r(rw);this._elementRef=r(ge);this._dir=r(Jx,{optional:!0});this._parentFormField=r($4b,{optional:!0});this.ngControl=r(rz,{self:!0,optional:!0});this._liveAnnouncer=r(sx);this._defaultOptions=r(Hzc,{optional:!0});this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",
overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];this._scrollStrategyFactory=r(Gzc);this._panelOpen=!1;this._compareWith=function(l,q){return l===q};this._uid="mat-select-"+Fzc++;this._triggerAriaLabelledBy=null;this._destroy=new Jf;this.stateChanges=new Jf;this.disableAutomaticLabeling=!0;this._onChange=function(){};this._onTouched=function(){};this._valueId="mat-select-value-"+Fzc++;this._panelDoneAnimatingStream=new Jf;var b;this._overlayPanelClass=((b=this._defaultOptions)==null?void 0:
b.overlayPanelClass)||"";this._focused=!1;this.controlType="mat-select";this.disableRipple=this.disabled=!1;this.tabIndex=0;var c,d;this._hideSingleSelectionIndicator=(d=(c=this._defaultOptions)==null?void 0:c.hideSingleSelectionIndicator)!=null?d:!1;this._multiple=!1;var e,f;this.disableOptionCentering=(f=(e=this._defaultOptions)==null?void 0:e.disableOptionCentering)!=null?f:!1;this.ariaLabel="";this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth!=="undefined"?this._defaultOptions.panelWidth:
"auto";this._initialized=new Jf;this.optionSelectionChanges=Re(function(){var l=a.options;return l?l.changes.pipe(Mf(l),Nf(function(){return Xe.apply(null,w(l.map(function(q){return q.onSelectionChange})))})):a._initialized.pipe(Nf(function(){return a.optionSelectionChanges}))});this.openedChange=new kw;this._openedStream=this.openedChange.pipe(Ye(function(l){return l}),B(function(){}));this._closedStream=this.openedChange.pipe(Ye(function(l){return!l}),B(function(){}));this.selectionChange=new kw;
this.valueChange=new kw;this._trackedModal=null;this._skipPredicate=function(l){return a.panelOpen?!1:l.disabled};b=r(Ey);c=r(zz,{optional:!0});d=r(Hz,{optional:!0});e=r(new Vv("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this);var h;((h=this._defaultOptions)==null?void 0:h.typeaheadDebounceInterval)!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval);this._errorStateTracker=new o3b(b,this.ngControl,d,c,this.stateChanges);this._scrollStrategy=
this._scrollStrategyFactory();this.tabIndex=e==null?0:parseInt(e)||0;this.id=this.id};g=mQ.prototype;g._scrollOptionIntoView=function(a){var b=this.options.toArray()[a];if(b){var c=this.panel.nativeElement,d=gpa(a,this.options,this.optionGroups);b=b._getHostElement();c.scrollTop=a===0&&d===1?0:hpa(b.offsetTop,b.offsetHeight,c.scrollTop,c.offsetHeight)}};g._positioningSettled=function(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)};
g._getChangeEvent=function(a){return new Kzc(this,a)};g.ngOnInit=function(){var a=this;this._selectionModel=new Wx(this.multiple);this.stateChanges.next();this._panelDoneAnimatingStream.pipe(Ef(),Of(this._destroy)).subscribe(function(){return a._panelDoneAnimating(a.panelOpen)});this._viewportRuler.change().pipe(Of(this._destroy)).subscribe(function(){a.panelOpen&&(a._overlayWidth=a._getOverlayWidth(a._preferredOverlayOrigin),a._changeDetectorRef.detectChanges())})};
g.ngAfterContentInit=function(){var a=this;this._initialized.next();this._initialized.complete();this._initKeyManager();this._selectionModel.changed.pipe(Of(this._destroy)).subscribe(function(b){b.added.forEach(function(c){return c.select()});b.removed.forEach(function(c){return c.deselect()})});this.options.changes.pipe(Mf(null),Of(this._destroy)).subscribe(function(){a._resetOptions();a._initializeSelection()})};
g.ngDoCheck=function(){var a=this._getTriggerAriaLabelledby(),b=this.ngControl;if(a!==this._triggerAriaLabelledBy){var c=this._elementRef.nativeElement;(this._triggerAriaLabelledBy=a)?c.setAttribute("aria-labelledby",a):c.removeAttribute("aria-labelledby")}b&&(this._previousControl!==b.control&&(this._previousControl!==void 0&&b.disabled!==null&&b.disabled!==this.disabled&&(this.disabled=b.disabled),this._previousControl=b.control),this.updateErrorState())};
g.ngOnChanges=function(a){(a.disabled||a.userAriaDescribedBy)&&this.stateChanges.next();a.typeaheadDebounceInterval&&this._keyManager&&N2b(this._keyManager,this.typeaheadDebounceInterval)};g.ngOnDestroy=function(){var a;(a=this._keyManager)==null||a.destroy();this._destroy.next();this._destroy.complete();this.stateChanges.complete();this._clearFromModal()};g.toggle=function(){this.panelOpen?this.close():this.open()};
g.open=function(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=c5b(this._parentFormField)),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,Dx(this._keyManager,null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())};
g._applyModalPanelOwnership=function(){var a=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(a){var b=this.id+"-panel";this._trackedModal&&di(this._trackedModal,"aria-owns",b);Poa(a,"aria-owns",b);this._trackedModal=a}};g._clearFromModal=function(){this._trackedModal&&(di(this._trackedModal,"aria-owns",this.id+"-panel"),this._trackedModal=null)};
g.close=function(){this._panelOpen&&(this._panelOpen=!1,Dx(this._keyManager,this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())};g.writeValue=function(a){this._assignValue(a)};g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};g.setDisabledState=function(a){this.disabled=a;this._changeDetectorRef.markForCheck();this.stateChanges.next()};g.updateErrorState=function(){this._errorStateTracker.updateErrorState()};
g._isRtl=function(){return this._dir?this._dir.value==="rtl":!1};g._handleKeydown=function(a){this.disabled||(this.panelOpen?this._handleOpenKeydown(a):this._handleClosedKeydown(a))};
g._handleClosedKeydown=function(a){var b=a.keyCode,c=b===40||b===38||b===37||b===39,d=this._keyManager;!(d.isTyping()||b!==13&&b!==32||Yh(a))||(this.multiple||a.altKey)&&c?(a.preventDefault(),this.open()):this.multiple||(b=this.selected,d.onKeydown(a),(a=this.selected)&&b!==a&&this._liveAnnouncer.announce(a.viewValue,1E4))};
g._handleOpenKeydown=function(a){var b=this._keyManager,c=a.keyCode,d=c===40||c===38,e=b.isTyping();if(d&&a.altKey)a.preventDefault(),this.close();else if(e||c!==13&&c!==32||!b.activeItem||Yh(a))if(!e&&this._multiple&&c===65&&a.ctrlKey){a.preventDefault();var f=this.options.some(function(h){return!h.disabled&&!h.selected});this.options.forEach(function(h){h.disabled||(f?h.select():h.deselect())})}else c=b.activeItemIndex,b.onKeydown(a),this._multiple&&d&&a.shiftKey&&b.activeItem&&b.activeItemIndex!==
c&&b.activeItem._selectViaInteraction();else a.preventDefault(),b.activeItem._selectViaInteraction()};g._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())};g._onBlur=function(){this._focused=!1;var a;if((a=this._keyManager)!=null){var b;(b=a._typeahead)==null||b.reset()}this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())};
g._onAttached=function(){var a=this;this._overlayDir.positionChange.pipe(Cf()).subscribe(function(){a._changeDetectorRef.detectChanges();a._positioningSettled()})};g._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""};g._initializeSelection=function(){var a=this;Promise.resolve().then(function(){a.ngControl&&(a._value=a.ngControl.value);a._setSelectionByValue(a._value);a.stateChanges.next()})};
g._setSelectionByValue=function(a){var b=this;this.options.forEach(function(c){return c.setInactiveStyles()});this._selectionModel.clear();this.multiple&&a?(a.forEach(function(c){return b._selectOptionByValue(c)}),this._sortValues()):(a=this._selectOptionByValue(a))?Fx(this._keyManager,a):this.panelOpen||Fx(this._keyManager,-1);this._changeDetectorRef.markForCheck()};
g._selectOptionByValue=function(a){var b=this,c=this.options.find(function(d){if(b._selectionModel.isSelected(d))return!1;try{return d.value!=null&&b._compareWith(d.value,a)}catch(e){return!1}});c&&this._selectionModel.select(c);return c};g._assignValue=function(a){return a!==this._value||this._multiple&&Array.isArray(a)?(this.options&&this._setSelectionByValue(a),this._value=a,!0):!1};
g._getOverlayWidth=function(a){return this.panelWidth==="auto"?(a instanceof vy?a.elementRef:a||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth};g._syncParentProperties=function(){if(this.options)for(var a=k(this.options),b=a.next();!b.done;b=a.next())b.value._changeDetectorRef.markForCheck()};
g._initKeyManager=function(){var a=this;this._keyManager=M2b(O2b(Ex(Dx(Cx(N2b(new Gx(this.options),this.typeaheadDebounceInterval)),this._isRtl()?"rtl":"ltr")))).skipPredicate(this._skipPredicate);this._keyManager.tabOut.subscribe(function(){a.panelOpen&&(!a.multiple&&a._keyManager.activeItem&&a._keyManager.activeItem._selectViaInteraction(),a.focus(),a.close())});this._keyManager.change.subscribe(function(){a._panelOpen&&a.panel?a._scrollOptionIntoView(a._keyManager.activeItemIndex||0):a._panelOpen||
a.multiple||!a._keyManager.activeItem||a._keyManager.activeItem._selectViaInteraction()})};g._resetOptions=function(){var a=this,b=Xe(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Of(b)).subscribe(function(c){a._onSelect(c.source,c.isUserInput);c.isUserInput&&!a.multiple&&a._panelOpen&&(a.close(),a.focus())});Xe.apply(null,w(this.options.map(function(c){return c._stateChanges}))).pipe(Of(b)).subscribe(function(){a._changeDetectorRef.detectChanges();a.stateChanges.next()})};
g._onSelect=function(a,b){var c=this._selectionModel.isSelected(a);a.value!=null||this._multiple?(c!==a.selected&&(a.selected?this._selectionModel.select(a):this._selectionModel.deselect(a)),b&&this._keyManager.setActiveItem(a),this.multiple&&(this._sortValues(),b&&this.focus())):(a.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(a.value));c!==this._selectionModel.isSelected(a)&&this._propagateChanges();this.stateChanges.next()};
g._sortValues=function(){var a=this;if(this.multiple){var b=this.options.toArray();this._selectionModel.sort(function(c,d){return a.sortComparator?a.sortComparator(c,d,b):b.indexOf(c)-b.indexOf(d)});this.stateChanges.next()}};g._propagateChanges=function(a){var b;this.multiple?b=this.selected.map(function(c){return c.value}):b=this.selected?this.selected.value:a;this._value=b;this.valueChange.emit(b);this._onChange(b);this.selectionChange.emit(this._getChangeEvent(b));this._changeDetectorRef.markForCheck()};
g._highlightCorrectOption=function(){if(this._keyManager)if(this.empty){for(var a=-1,b=0;b<this.options.length;b++)if(!this.options.get(b).disabled){a=b;break}this._keyManager.setActiveItem(a)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])};g._canOpen=function(){var a;return!this._panelOpen&&!this.disabled&&((a=this.options)==null?void 0:a.length)>0};g.focus=function(a){this._elementRef.nativeElement.focus(a)};
g._getPanelAriaLabelledby=function(){if(this.ariaLabel)return null;var a,b=((a=this._parentFormField)==null?void 0:a.getLabelId())||null;return this.ariaLabelledby?(b?b+" ":"")+this.ariaLabelledby:b};g._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null};
g._getTriggerAriaLabelledby=function(){if(this.ariaLabel)return null;var a,b=(a=this._parentFormField)==null?void 0:a.getLabelId();a=(b?b+" ":"")+this._valueId;this.ariaLabelledby&&(a+=" "+this.ariaLabelledby);return a};g._panelDoneAnimating=function(a){this.openedChange.emit(a)};g.setDescribedByIds=function(a){a.length?this._elementRef.nativeElement.setAttribute("aria-describedby",a.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")};
g.onContainerClick=function(){this.focus();this.open()};
ea.Object.defineProperties(mQ.prototype,{focused:{configurable:!0,enumerable:!0,get:function(){return this._focused||this._panelOpen}},hideSingleSelectionIndicator:{configurable:!0,enumerable:!0,get:function(){return this._hideSingleSelectionIndicator},set:function(a){this._hideSingleSelectionIndicator=a;this._syncParentProperties()}},placeholder:{configurable:!0,enumerable:!0,get:function(){return this._placeholder},set:function(a){this._placeholder=a;this.stateChanges.next()}},required:{configurable:!0,
enumerable:!0,get:function(){var a,b,c,d;return(d=(c=this._required)!=null?c:(a=this.ngControl)==null?void 0:(b=a.control)==null?void 0:r4b(b))!=null?d:!1},set:function(a){this._required=a;this.stateChanges.next()}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=a}},compareWith:{configurable:!0,enumerable:!0,get:function(){return this._compareWith},set:function(a){this._compareWith=a;this._selectionModel&&this._initializeSelection()}},
value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this._assignValue(a)&&this._onChange(a)}},errorStateMatcher:{configurable:!0,enumerable:!0,get:function(){return this._errorStateTracker.matcher},set:function(a){this._errorStateTracker.matcher=a}},id:{configurable:!0,enumerable:!0,get:function(){return this._id},set:function(a){this._id=a||this._uid;this.stateChanges.next()}},errorState:{configurable:!0,enumerable:!0,get:function(){return this._errorStateTracker.errorState},
set:function(a){this._errorStateTracker.errorState=a}},panelOpen:{configurable:!0,enumerable:!0,get:function(){return this._panelOpen}},selected:{configurable:!0,enumerable:!0,get:function(){var a,b;return this.multiple?((a=this._selectionModel)==null?void 0:a.selected)||[]:(b=this._selectionModel)==null?void 0:b.selected[0]}},triggerValue:{configurable:!0,enumerable:!0,get:function(){if(this.empty)return"";if(this._multiple){var a=this._selectionModel.selected.map(function(b){return b.viewValue});
this._isRtl()&&a.reverse();return a.join(", ")}return this._selectionModel.selected[0].viewValue}},empty:{configurable:!0,enumerable:!0,get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},shouldLabelFloat:{configurable:!0,enumerable:!0,get:function(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}}});mQ.\u0275fac=function(a){return new (a||mQ)};
mQ.\u0275cmp=t({type:mQ,selectors:[["mat-select"]],contentQueries:function(a,b,c){a&1&&(Ng(c,Jzc,5),Ng(c,My,5),Ng(c,r3b,5));if(a&2){var d;Qg(d=Rg())&&(b.customTrigger=d.first);Qg(d=Rg())&&(b.options=d);Qg(d=Rg())&&(b.optionGroups=d)}},viewQuery:function(a,b){a&1&&(Mg(Czc,5),Mg(Dzc,5),Mg(wy,5));if(a&2){var c;Qg(c=Rg())&&(b.trigger=c.first);Qg(c=Rg())&&(b.panel=c.first);Qg(c=Rg())&&(b._overlayDir=c.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(a,
b){a&1&&M("keydown",function(c){return b._handleKeydown(c)})("focus",function(){return b._onFocus()})("blur",function(){return b._onBlur()});a&2&&(eg("id",b.id)("tabindex",b.disabled?-1:b.tabIndex)("aria-controls",b.panelOpen?b.id+"-panel":null)("aria-expanded",b.panelOpen)("aria-label",b.ariaLabel||null)("aria-required",b.required.toString())("aria-disabled",b.disabled.toString())("aria-invalid",b.errorState)("aria-activedescendant",b._getAriaActiveDescendant()),ng("mat-mdc-select-disabled",b.disabled)("mat-mdc-select-invalid",
b.errorState)("mat-mdc-select-required",b.required)("mat-mdc-select-empty",b.empty)("mat-mdc-select-multiple",b.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",rh],disableRipple:[2,"disableRipple","disableRipple",rh],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:sh(a)}],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",rh],placeholder:"placeholder",
required:[2,"required","required",rh],multiple:[2,"multiple","multiple",rh],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",rh],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",sh],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",
_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[Yg([{provide:Vz,useExisting:mQ},{provide:q3b,useExisting:mQ}]),dg,Hd,$g],ngContentSelectors:["mat-select-trigger","*"],decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],
[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],"viewBox;0 0 24 24;width;24px;height;24px;focusable;false;aria-hidden;true".split(";"),["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin",
"cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(a,b){if(a&1){var c=x();Dg(Ezc);I(0,"div",2,0);M("click",function(){z(c);return A(b.open())});I(3,"div",3);D(4,PTa,2,1,"span",4)(5,STa,3,1,"span",5);J();I(6,"div",6)(7,"div",7);Wd();I(8,"svg",8);K(9,"path",9);J()()()();D(10,TTa,3,9,"ng-template",10);M("backdropClick",function(){z(c);return A(b.close())})("attach",
function(){z(c);return A(b._onAttached())})("detach",function(){z(c);return A(b.close())})}a&2&&(a=L(1),C(3),eg("id",b._valueId),C(),G(b.empty?4:5),C(6),F("cdkConnectedOverlayPanelClass",b._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",b._scrollStrategy)("cdkConnectedOverlayOrigin",b._preferredOverlayOrigin||a)("cdkConnectedOverlayOpen",b.panelOpen)("cdkConnectedOverlayPositions",b._positions)("cdkConnectedOverlayWidth",b._overlayWidth))},dependencies:[vy,wy,Ew],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-app-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-app-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-app-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-app-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-app-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color, var(--mat-app-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-app-on-surface-variant))}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}\n'],
encapsulation:2,data:{animation:[Bzc]},changeDetection:0});var nQ=function(){};nQ.\u0275fac=function(a){return new (a||nQ)};nQ.\u0275dir=ud({type:nQ,selectors:[["mat-select-trigger"]],standalone:!0,features:[Yg([{provide:Jzc,useExisting:nQ}])]});var oQ=new Bd("CDK_TABLE");new Bd("text-column-options");var pQ=function(){this.template=r(Jg)};pQ.\u0275fac=function(a){return new (a||pQ)};pQ.\u0275dir=ud({type:pQ,selectors:[["","cdkCellDef",""]],standalone:!0});var qQ=function(){this.template=r(Jg)};qQ.\u0275fac=function(a){return new (a||qQ)};qQ.\u0275dir=ud({type:qQ,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});var rQ=function(){this.template=r(Jg)};rQ.\u0275fac=function(a){return new (a||rQ)};rQ.\u0275dir=ud({type:rQ,selectors:[["","cdkFooterCellDef",""]],standalone:!0});
var sQ=function(){this._table=r(oQ,{optional:!0});this._stickyEnd=this._sticky=this._hasStickyChanged=!1};sQ.prototype.hasStickyChanged=function(){var a=this._hasStickyChanged;this.resetStickyChanged();return a};sQ.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};sQ.prototype._updateColumnCssClassName=function(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]};
sQ.prototype._setNameInput=function(a){a&&(this._name=a,this.cssClassFriendlyName=a.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())};
ea.Object.defineProperties(sQ.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}},sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(a){a!==this._sticky&&(this._sticky=a,this._hasStickyChanged=!0)}},stickyEnd:{configurable:!0,enumerable:!0,get:function(){return this._stickyEnd},set:function(a){a!==this._stickyEnd&&(this._stickyEnd=a,this._hasStickyChanged=!0)}}});
sQ.\u0275fac=function(a){return new (a||sQ)};sQ.\u0275dir=ud({type:sQ,selectors:[["","cdkColumnDef",""]],contentQueries:function(a,b,c){a&1&&(Ng(c,pQ,5),Ng(c,qQ,5),Ng(c,rQ,5));if(a&2){var d;Qg(d=Rg())&&(b.cell=d.first);Qg(d=Rg())&&(b.headerCell=d.first);Qg(d=Rg())&&(b.footerCell=d.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",rh],stickyEnd:[2,"stickyEnd","stickyEnd",rh]},standalone:!0,features:[Yg([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:sQ}]),dg]});
var tQ=function(a,b){b.nativeElement.classList.add.apply(b.nativeElement.classList,w(a._columnCssClassName))},uQ=function(){tQ.call(this,r(sQ),r(ge))};Y(uQ,tQ);uQ.\u0275fac=function(a){return new (a||uQ)};uQ.\u0275dir=ud({type:uQ,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[cg]});
var vQ=function(){var a=r(sQ),b=r(ge);tQ.call(this,a,b);var c;(a=(c=a._table)==null?void 0:c._getCellRole())&&b.nativeElement.setAttribute("role",a)};Y(vQ,tQ);vQ.\u0275fac=function(a){return new (a||vQ)};vQ.\u0275dir=ud({type:vQ,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],standalone:!0,features:[cg]});var wQ=function(){var a=r(sQ),b=r(ge);tQ.call(this,a,b);var c;(a=(c=a._table)==null?void 0:c._getCellRole())&&b.nativeElement.setAttribute("role",a)};
Y(wQ,tQ);wQ.\u0275fac=function(a){return new (a||wQ)};wQ.\u0275dir=ud({type:wQ,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[cg]});var Lzc=function(){this.tasks=[];this.endTasks=[]},Mzc=new Bd("_COALESCED_STYLE_SCHEDULER"),xQ=function(){this._currentSchedule=null;this._ngZone=r(hh)};xQ.prototype.schedule=function(a){this._createScheduleIfNeeded();this._currentSchedule.tasks.push(a)};
xQ.prototype._createScheduleIfNeeded=function(){var a=this;this._currentSchedule||(this._currentSchedule=new Lzc,this._ngZone.runOutsideAngular(function(){return queueMicrotask(function(){for(;a._currentSchedule.tasks.length||a._currentSchedule.endTasks.length;){var b=a._currentSchedule;a._currentSchedule=new Lzc;for(var c=k(b.tasks),d=c.next();!d.done;d=c.next())d=d.value,d();b=k(b.endTasks);for(c=b.next();!c.done;c=b.next())c=c.value,c()}a._currentSchedule=null})}))};
xQ.\u0275fac=function(a){return new (a||xQ)};xQ.\u0275prov=n({token:xQ,factory:xQ.\u0275fac});var yQ=function(){this.template=r(Jg);this._differs=r(tw)};yQ.prototype.ngOnChanges=function(a){this._columnsDiffer||(a=a.columns&&a.columns.currentValue||[],this._columnsDiffer=this._differs.find(a).create(),this._columnsDiffer.diff(a))};yQ.\u0275fac=function(a){return new (a||yQ)};yQ.\u0275dir=ud({type:yQ,features:[Hd]});var zQ=function(){yQ.call(this,r(Jg),r(tw));this._table=r(oQ,{optional:!0});this._sticky=this._hasStickyChanged=!1};Y(zQ,yQ);
zQ.prototype.ngOnChanges=function(a){yQ.prototype.ngOnChanges.call(this,a)};zQ.prototype.hasStickyChanged=function(){var a=this._hasStickyChanged;this.resetStickyChanged();return a};zQ.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};ea.Object.defineProperties(zQ.prototype,{sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(a){a!==this._sticky&&(this._sticky=a,this._hasStickyChanged=!0)}}});zQ.\u0275fac=function(a){return new (a||zQ)};
zQ.\u0275dir=ud({type:zQ,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",rh]},standalone:!0,features:[dg,cg,Hd]});var AQ=function(){yQ.call(this,r(Jg),r(tw));this._table=r(oQ,{optional:!0});this._sticky=this._hasStickyChanged=!1};Y(AQ,yQ);AQ.prototype.ngOnChanges=function(a){yQ.prototype.ngOnChanges.call(this,a)};AQ.prototype.hasStickyChanged=function(){var a=this._hasStickyChanged;this.resetStickyChanged();return a};
AQ.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};ea.Object.defineProperties(AQ.prototype,{sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(a){a!==this._sticky&&(this._sticky=a,this._hasStickyChanged=!0)}}});AQ.\u0275fac=function(a){return new (a||AQ)};AQ.\u0275dir=ud({type:AQ,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",rh]},standalone:!0,features:[dg,cg,Hd]});
var BQ=function(){yQ.call(this,r(Jg),r(tw));this._table=r(oQ,{optional:!0})};Y(BQ,yQ);BQ.\u0275fac=function(a){return new (a||BQ)};BQ.\u0275dir=ud({type:BQ,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[cg]});var CQ=function(){this._viewContainer=r(Kg);Nzc=this};CQ.prototype.ngOnDestroy=function(){Nzc===this&&(Nzc=null)};var Nzc=null;CQ.\u0275fac=function(a){return new (a||CQ)};
CQ.\u0275dir=ud({type:CQ,selectors:[["","cdkCellOutlet",""]],standalone:!0});var DQ=function(){};DQ.\u0275fac=function(a){return new (a||DQ)};DQ.\u0275cmp=t({type:DQ,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[$g],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&xg(0,0)},dependencies:[CQ],encapsulation:2});var EQ=function(){};EQ.\u0275fac=function(a){return new (a||EQ)};
EQ.\u0275cmp=t({type:EQ,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],standalone:!0,features:[$g],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&xg(0,0)},dependencies:[CQ],encapsulation:2});var FQ=function(){};FQ.\u0275fac=function(a){return new (a||FQ)};
FQ.\u0275cmp=t({type:FQ,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[$g],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&xg(0,0)},dependencies:[CQ],encapsulation:2});var GQ=function(){this.templateRef=r(Jg);this._contentClassName="cdk-no-data-row"};GQ.\u0275fac=function(a){return new (a||GQ)};GQ.\u0275dir=ud({type:GQ,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});var Ozc=new Bd("CDK_SPL");var Pzc=["top","bottom","left","right"],Qzc=function(a,b,c,d,e,f,h){e=e===void 0?!0:e;f=f===void 0?!0:f;this._isNativeHtmlTable=a;this._stickCellCss=b;this.direction=c;this._coalescedStyleScheduler=d;this._isBrowser=e;this._needsPositionStickyOnElement=f;this._positionListener=h;this._cachedCellWidths=[];this._borderCellCss={top:b+"-border-elem-top",bottom:b+"-border-elem-bottom",left:b+"-border-elem-left",right:b+"-border-elem-right"}},Rzc=function(a,b,c){var d=[];b=k(b);for(var e=b.next();!e.done;e=
b.next())if(e=e.value,e.nodeType===e.ELEMENT_NODE){d.push(e);for(var f=0;f<e.children.length;f++)d.push(e.children[f])}a._coalescedStyleScheduler.schedule(function(){for(var h=k(d),l=h.next();!l.done;l=h.next())a._removeStickyStyle(l.value,c)})},Szc=function(a,b,c,d,e){e=e===void 0?!0:e;b.length&&a._isBrowser&&(c.some(function(f){return f})||d.some(function(f){return f}))?a._coalescedStyleScheduler.schedule(function(){var f=b[0],h=f.children.length;f=a._getCellWidths(f,e);var l=a._getStickyStartColumnPositions(f,
c),q=a._getStickyEndColumnPositions(f,d),v=c.lastIndexOf(!0),y=d.indexOf(!0),E=a.direction==="rtl",H=E?"right":"left";E=E?"left":"right";for(var O=k(b),N=O.next();!N.done;N=O.next()){N=N.value;for(var T=0;T<h;T++){var da=N.children[T];c[T]&&a._addStickyStyle(da,H,l[T],T===v);d[T]&&a._addStickyStyle(da,E,q[T],T===y)}}a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:v===-1?[]:f.slice(0,v+1).map(function(ja,na){return c[na]?ja:null})}),a._positionListener.stickyEndColumnsUpdated({sizes:y===
-1?[]:f.slice(y).map(function(ja,na){return d[na+y]?ja:null}).reverse()}))}):a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:[]}),a._positionListener.stickyEndColumnsUpdated({sizes:[]}))},Tzc=function(a,b,c,d){a._isBrowser&&a._coalescedStyleScheduler.schedule(function(){for(var e=d==="bottom"?b.slice().reverse():b,f=d==="bottom"?c.slice().reverse():c,h=[],l=[],q=[],v=0,y=0;v<e.length;v++)if(f[v]){h[v]=y;var E=e[v];q[v]=a._isNativeHtmlTable?Array.from(E.children):[E];E=E.getBoundingClientRect().height;
y+=E;l[v]=E}v=f.lastIndexOf(!0);for(y=0;y<e.length;y++)if(f[y]){E=h[y];for(var H=y===v,O=k(q[y]),N=O.next();!N.done;N=O.next())a._addStickyStyle(N.value,d,E,H)}if(d==="top"){var T;(T=a._positionListener)==null||T.stickyHeaderRowsUpdated({sizes:l,offsets:h,elements:q})}else{var da;(da=a._positionListener)==null||da.stickyFooterRowsUpdated({sizes:l,offsets:h,elements:q})}})},Uzc=function(a,b,c){a._isNativeHtmlTable&&a._coalescedStyleScheduler.schedule(function(){var d=b.querySelector("tfoot");d&&(c.some(function(e){return!e})?
a._removeStickyStyle(d,["bottom"]):a._addStickyStyle(d,"bottom",0,!1))})};g=Qzc.prototype;g._removeStickyStyle=function(a,b){for(var c=k(b),d=c.next();!d.done;d=c.next())d=d.value,a.style[d]="",a.classList.remove(this._borderCellCss[d]);Pzc.some(function(e){return b.indexOf(e)===-1&&a.style[e]})?a.style.zIndex=this._getCalculatedZIndex(a):(a.style.zIndex="",this._needsPositionStickyOnElement&&(a.style.position=""),a.classList.remove(this._stickCellCss))};
g._addStickyStyle=function(a,b,c,d){a.classList.add(this._stickCellCss);d&&a.classList.add(this._borderCellCss[b]);a.style[b]=c+"px";a.style.zIndex=this._getCalculatedZIndex(a);this._needsPositionStickyOnElement&&(a.style.cssText+="position: -webkit-sticky; position: sticky; ")};g._getCalculatedZIndex=function(a){for(var b={top:100,bottom:10,left:1,right:1},c=0,d=k(Pzc),e=d.next();!e.done;e=d.next())e=e.value,a.style[e]&&(c+=b[e]);return c?""+c:""};
g._getCellWidths=function(a,b){if(b!==void 0&&!b&&this._cachedCellWidths.length)return this._cachedCellWidths;b=[];a=a.children;for(var c=0;c<a.length;c++)b.push(a[c].getBoundingClientRect().width);return this._cachedCellWidths=b};g._getStickyStartColumnPositions=function(a,b){for(var c=[],d=0,e=0;e<a.length;e++)b[e]&&(c[e]=d,d+=a[e]);return c};g._getStickyEndColumnPositions=function(a,b){for(var c=[],d=0,e=a.length;e>0;e--)b[e]&&(c[e]=d,d+=a[e]);return c};var Vzc=[[["caption"]],[["colgroup"],["col"]],"*"],HQ=function(){this.viewContainer=r(Kg);this.elementRef=r(ge);var a=r(oQ);a._rowOutlet=this;a._outletAssigned()};HQ.\u0275fac=function(a){return new (a||HQ)};HQ.\u0275dir=ud({type:HQ,selectors:[["","rowOutlet",""]],standalone:!0});var IQ=function(){this.viewContainer=r(Kg);this.elementRef=r(ge);var a=r(oQ);a._headerRowOutlet=this;a._outletAssigned()};IQ.\u0275fac=function(a){return new (a||IQ)};
IQ.\u0275dir=ud({type:IQ,selectors:[["","headerRowOutlet",""]],standalone:!0});var JQ=function(){this.viewContainer=r(Kg);this.elementRef=r(ge);var a=r(oQ);a._footerRowOutlet=this;a._outletAssigned()};JQ.\u0275fac=function(a){return new (a||JQ)};JQ.\u0275dir=ud({type:JQ,selectors:[["","footerRowOutlet",""]],standalone:!0});var KQ=function(){this.viewContainer=r(Kg);this.elementRef=r(ge);var a=r(oQ);a._noDataRowOutlet=this;a._outletAssigned()};KQ.\u0275fac=function(a){return new (a||KQ)};
KQ.\u0275dir=ud({type:KQ,selectors:[["","noDataRowOutlet",""]],standalone:!0});
var LQ=function(){this._differs=r(tw);this._changeDetectorRef=r(rw);this._elementRef=r(ge);this._dir=r(Jx,{optional:!0});this._platform=r(Xw);this._viewRepeater=r(X2b);this._coalescedStyleScheduler=r(Mzc);this._viewportRuler=r(Yx);this._stickyPositioningListener=r(Ozc,{optional:!0,skipSelf:!0});this._document=r(ei);this._onDestroy=new Jf;this._columnDefsByName=new Map;this._customColumnDefs=new Set;this._customRowDefs=new Set;this._customHeaderRowDefs=new Set;this._customFooterRowDefs=new Set;this._forceRecalculateCellWidths=
this._stickyColumnStylesNeedReset=this._footerRowDefChanged=this._headerRowDefChanged=!0;this._cachedRenderRowsMap=new Map;this.stickyCssClass="cdk-table-sticky";this.needsPositionStickyOnElement=!0;this._hasInitialized=this._hasAllOutlets=this._isShowingNoDataRow=!1;this._cellRoleInternal=void 0;this._fixedLayout=this._multiTemplateDataRows=!1;this.contentChanged=new kw;this._injector=r(Sf);r(new Vv("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table");this._isServer=
!this._platform.isBrowser;this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE"};g=LQ.prototype;g._getCellRole=function(){if(this._cellRoleInternal===void 0){var a=this._elementRef.nativeElement.getAttribute("role");a=a==="grid"||a==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&a==="cell"?null:a}return this._cellRoleInternal};
g.ngOnInit=function(){var a=this;this._setupStickyStyler();this._dataDiffer=this._differs.find([]).create(function(b,c){return a.trackBy?a.trackBy(c.dataIndex,c.data):c});this._viewportRuler.change().pipe(Of(this._onDestroy)).subscribe(function(){a._forceRecalculateCellWidths=!0})};g.ngAfterContentInit=function(){this._hasInitialized=!0};g.ngAfterContentChecked=function(){this._canRender()&&this._render()};
g.ngOnDestroy=function(){var a,b,c;[(a=this._rowOutlet)==null?void 0:a.viewContainer,(b=this._headerRowOutlet)==null?void 0:b.viewContainer,(c=this._footerRowOutlet)==null?void 0:c.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(function(d){d==null||d.clear()});this._headerRowDefs=[];this._footerRowDefs=[];this._defaultRowDef=null;this._onDestroy.next();this._onDestroy.complete();
Yoa(this.dataSource)&&this.dataSource.disconnect(this)};
g.renderRows=function(){var a=this;this._renderRows=this._getAllRenderRows();var b=this._dataDiffer.diff(this._renderRows);if(b){var c=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(b,c,function(d,e,f){return a._getEmbeddedViewArgs(d.item,f)},function(d){return d.item.data},function(d){d.operation===1&&d.context&&a._renderCellTemplateForItem(d.record.item.rowDef,d.context)});this._updateRowIndexContext();l1b(b,function(d){c.get(d.currentIndex).context.$implicit=d.item.data});this._updateNoDataRow();
Uf(function(){Wzc(a)},{injector:this._injector})}else this._updateNoDataRow();this.contentChanged.next()};
var Xzc=function(a){var b=a._getRenderedRows(a._headerRowOutlet);if(a._isNativeHtmlTable){var c=YTa(a._headerRowOutlet,"thead");c&&(c.style.display=b.length?"":"none")}c=a._headerRowDefs.map(function(d){return d.sticky});Rzc(a._stickyStyler,b,["top"]);Tzc(a._stickyStyler,b,c,"top");a._headerRowDefs.forEach(function(d){return d.resetStickyChanged()})},Yzc=function(a){var b=a._getRenderedRows(a._footerRowOutlet);if(a._isNativeHtmlTable){var c=YTa(a._footerRowOutlet,"tfoot");c&&(c.style.display=b.length?
"":"none")}c=a._footerRowDefs.map(function(d){return d.sticky});Rzc(a._stickyStyler,b,["bottom"]);Tzc(a._stickyStyler,b,c,"bottom");Uzc(a._stickyStyler,a._elementRef.nativeElement,c);a._footerRowDefs.forEach(function(d){return d.resetStickyChanged()})},Wzc=function(a){var b=a._getRenderedRows(a._headerRowOutlet),c=a._getRenderedRows(a._rowOutlet),d=a._getRenderedRows(a._footerRowOutlet);if(a._isNativeHtmlTable&&!a._fixedLayout||a._stickyColumnStylesNeedReset)Rzc(a._stickyStyler,[].concat(w(b),w(c),
w(d)),["left","right"]),a._stickyColumnStylesNeedReset=!1;b.forEach(function(e,f){a._addStickyColumnStyles([e],a._headerRowDefs[f])});a._rowDefs.forEach(function(e){for(var f=[],h=0;h<c.length;h++)a._renderRows[h].rowDef===e&&f.push(c[h]);a._addStickyColumnStyles(f,e)});d.forEach(function(e,f){a._addStickyColumnStyles([e],a._footerRowDefs[f])});Array.from(a._columnDefsByName.values()).forEach(function(e){return e.resetStickyChanged()})};g=LQ.prototype;
g._outletAssigned=function(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())};g._canRender=function(){return this._hasAllOutlets&&this._hasInitialized};
g._render=function(){this._cacheRowDefs();this._cacheColumnDefs();var a=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||a;this._forceRecalculateCellWidths=a;this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1);this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1);this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?
this._observeRenderChanges():this._stickyColumnStylesNeedReset&&Wzc(this);this._checkStickyStates()};
g._getAllRenderRows=function(){var a=[],b=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var c=0;c<this._data.length;c++){var d=this._data[c],e=this._getRenderRowsForData(d,c,b.get(d));this._cachedRenderRowsMap.has(d)||this._cachedRenderRowsMap.set(d,new WeakMap);for(d=0;d<e.length;d++){var f=e[d],h=this._cachedRenderRowsMap.get(f.data);h.has(f.rowDef)?h.get(f.rowDef).push(f):h.set(f.rowDef,[f]);a.push(f)}}return a};
g._getRenderRowsForData=function(a,b,c){return this._getRowDefs(a,b).map(function(d){var e=c&&c.has(d)?c.get(d):[];return e.length?(d=e.shift(),d.dataIndex=b,d):{data:a,rowDef:d,dataIndex:b}})};g._cacheColumnDefs=function(){var a=this;this._columnDefsByName.clear();XTa(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(function(b){a._columnDefsByName.has(b.name);a._columnDefsByName.set(b.name,b)})};
g._cacheRowDefs=function(){this._headerRowDefs=XTa(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs);this._footerRowDefs=XTa(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs);this._rowDefs=XTa(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);this._defaultRowDef=this._rowDefs.filter(function(a){return!a.when})[0]};
g._renderUpdatedColumns=function(){var a=function(d,e){return d||!!e._columnsDiffer.diff(e.columns)},b=this._rowDefs.reduce(a,!1);b&&this._forceRenderDataRows();var c=this._headerRowDefs.reduce(a,!1);c&&this._forceRenderHeaderRows();(a=this._footerRowDefs.reduce(a,!1))&&this._forceRenderFooterRows();return b||c||a};
g._switchDataSource=function(a){this._data=[];Yoa(this.dataSource)&&this.dataSource.disconnect(this);this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null);a||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear());this._dataSource=a};
g._observeRenderChanges=function(){var a=this;if(this.dataSource){var b;Yoa(this.dataSource)?b=this.dataSource.connect(this):fia(this.dataSource)?b=this.dataSource:Array.isArray(this.dataSource)&&(b=Fe(this.dataSource));this._renderChangeSubscription=b.pipe(Of(this._onDestroy)).subscribe(function(c){a._data=c||[];a.renderRows()})}};
g._forceRenderHeaderRows=function(){var a=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear();this._headerRowDefs.forEach(function(b,c){return a._renderRow(a._headerRowOutlet,b,c)});Xzc(this)};g._forceRenderFooterRows=function(){var a=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear();this._footerRowDefs.forEach(function(b,c){return a._renderRow(a._footerRowOutlet,b,c)});Yzc(this)};
g._addStickyColumnStyles=function(a,b){var c=this,d=Array.from(b.columns||[]).map(function(e){return c._columnDefsByName.get(e)});b=d.map(function(e){return e.sticky});d=d.map(function(e){return e.stickyEnd});Szc(this._stickyStyler,a,b,d,!this._fixedLayout||this._forceRecalculateCellWidths)};g._getRenderedRows=function(a){for(var b=[],c=0;c<a.viewContainer.length;c++){var d=a.viewContainer.get(c);b.push(d.rootNodes[0])}return b};
g._getRowDefs=function(a,b){if(this._rowDefs.length==1)return[this._rowDefs[0]];var c=[];if(this.multiTemplateDataRows)c=this._rowDefs.filter(function(e){return!e.when||e.when(b,a)});else{var d=this._rowDefs.find(function(e){return e.when&&e.when(b,a)})||this._defaultRowDef;d&&c.push(d)}return c};g._getEmbeddedViewArgs=function(a,b){return{templateRef:a.rowDef.template,context:{$implicit:a.data},index:b}};
g._renderRow=function(a,b,c,d){d=d===void 0?{}:d;a=a.viewContainer.createEmbeddedView(b.template,d,c);this._renderCellTemplateForItem(b,d);return a};g._renderCellTemplateForItem=function(a,b){a=k(this._getCellTemplates(a));for(var c=a.next();!c.done;c=a.next())c=c.value,Nzc&&Nzc._viewContainer.createEmbeddedView(c,b);this._changeDetectorRef.markForCheck()};
g._updateRowIndexContext=function(){for(var a=this._rowOutlet.viewContainer,b=0,c=a.length;b<c;b++){var d=a.get(b).context;d.count=c;d.first=b===0;d.last=b===c-1;d.even=b%2===0;d.odd=!d.even;this.multiTemplateDataRows?(d.dataIndex=this._renderRows[b].dataIndex,d.renderIndex=b):d.index=this._renderRows[b].dataIndex}};
g._getCellTemplates=function(a){var b=this;return a&&a.columns?Array.from(a.columns,function(c){c=b._columnDefsByName.get(c);return a instanceof zQ?c.headerCell.template:a instanceof AQ?c.footerCell.template:c.cell.template}):[]};g._forceRenderDataRows=function(){this._dataDiffer.diff([]);this._rowOutlet.viewContainer.clear();this.renderRows()};
g._checkStickyStates=function(){var a=function(b,c){return b||c.hasStickyChanged()};this._headerRowDefs.reduce(a,!1)&&Xzc(this);this._footerRowDefs.reduce(a,!1)&&Yzc(this);Array.from(this._columnDefsByName.values()).reduce(a,!1)&&(this._stickyColumnStylesNeedReset=!0,Wzc(this))};
g._setupStickyStyler=function(){var a=this;this._stickyStyler=new Qzc(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener);(this._dir?this._dir.change:Fe()).pipe(Of(this._onDestroy)).subscribe(function(b){a._stickyStyler.direction=b;Wzc(a)})};g._getOwnDefs=function(a){var b=this;return a.filter(function(c){return!c._table||c._table===b})};
g._updateNoDataRow=function(){var a=this._customNoDataRow||this._noDataRow;if(a){var b=this._rowOutlet.viewContainer.length===0;if(b!==this._isShowingNoDataRow){var c=this._noDataRowOutlet.viewContainer;if(b){c=c.createEmbeddedView(a.templateRef);var d=c.rootNodes[0];c.rootNodes.length===1&&(d==null?void 0:d.nodeType)===this._document.ELEMENT_NODE&&(d.setAttribute("role","row"),d.classList.add(a._contentClassName))}else c.clear();this._isShowingNoDataRow=b;this._changeDetectorRef.markForCheck()}}};
ea.Object.defineProperties(LQ.prototype,{trackBy:{configurable:!0,enumerable:!0,get:function(){return this._trackByFn},set:function(a){this._trackByFn=a}},dataSource:{configurable:!0,enumerable:!0,get:function(){return this._dataSource},set:function(a){this._dataSource!==a&&this._switchDataSource(a)}},multiTemplateDataRows:{configurable:!0,enumerable:!0,get:function(){return this._multiTemplateDataRows},set:function(a){this._multiTemplateDataRows=a;this._rowOutlet&&this._rowOutlet.viewContainer.length&&
(this._forceRenderDataRows(),Wzc(this))}},fixedLayout:{configurable:!0,enumerable:!0,get:function(){return this._fixedLayout},set:function(a){this._fixedLayout=a;this._stickyColumnStylesNeedReset=this._forceRecalculateCellWidths=!0}}});LQ.\u0275fac=function(a){return new (a||LQ)};
LQ.\u0275cmp=t({type:LQ,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(a,b,c){a&1&&(Ng(c,GQ,5),Ng(c,sQ,5),Ng(c,BQ,5),Ng(c,zQ,5),Ng(c,AQ,5));if(a&2){var d;Qg(d=Rg())&&(b._noDataRow=d.first);Qg(d=Rg())&&(b._contentColumnDefs=d);Qg(d=Rg())&&(b._contentRowDefs=d);Qg(d=Rg())&&(b._contentHeaderRowDefs=d);Qg(d=Rg())&&(b._contentFooterRowDefs=d)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(a,b){a&2&&ng("cdk-table-fixed-layout",b.fixedLayout)},inputs:{trackBy:"trackBy",
dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",rh],fixedLayout:[2,"fixedLayout","fixedLayout",rh]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[Yg([{provide:oQ,useExisting:LQ},{provide:X2b,useClass:Y2b},{provide:Mzc,useClass:xQ},{provide:Ozc,useValue:null}]),dg,$g],ngContentSelectors:["caption","colgroup, col","*"],decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",
""],["footerRowOutlet",""]],template:function(a,b){a&1&&(Dg(Vzc),Eg(0),Eg(1,1),D(2,UTa,1,0)(3,VTa,7,0)(4,WTa,4,0));a&2&&(C(2),G(b._isServer?2:-1),C(),G(b._isNativeHtmlTable?3:4))},dependencies:[IQ,HQ,KQ,JQ],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2});var MQ=function(){};MQ.\u0275fac=function(a){return new (a||MQ)};MQ.\u0275mod=u({type:MQ});MQ.\u0275inj=p({imports:[ay]});var NQ=function(){pQ.apply(this,arguments)};Y(NQ,pQ);NQ.\u0275fac=function(){var a;return function(b){return(a||(a=de(NQ)))(b||NQ)}}();NQ.\u0275dir=ud({type:NQ,selectors:[["","matCellDef",""]],standalone:!0,features:[Yg([{provide:pQ,useExisting:NQ}]),cg]});var OQ=function(){qQ.apply(this,arguments)};Y(OQ,qQ);OQ.\u0275fac=function(){var a;return function(b){return(a||(a=de(OQ)))(b||OQ)}}();
OQ.\u0275dir=ud({type:OQ,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[Yg([{provide:qQ,useExisting:OQ}]),cg]});var PQ=function(){rQ.apply(this,arguments)};Y(PQ,rQ);PQ.\u0275fac=function(){var a;return function(b){return(a||(a=de(PQ)))(b||PQ)}}();PQ.\u0275dir=ud({type:PQ,selectors:[["","matFooterCellDef",""]],standalone:!0,features:[Yg([{provide:rQ,useExisting:PQ}]),cg]});var QQ=function(){sQ.apply(this,arguments)};Y(QQ,sQ);
QQ.prototype._updateColumnCssClassName=function(){sQ.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};ea.Object.defineProperties(QQ.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}}});QQ.\u0275fac=function(){var a;return function(b){return(a||(a=de(QQ)))(b||QQ)}}();
QQ.\u0275dir=ud({type:QQ,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},standalone:!0,features:[Yg([{provide:sQ,useExisting:QQ},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:QQ}]),cg]});var RQ=function(){uQ.apply(this,arguments)};Y(RQ,uQ);RQ.\u0275fac=function(){var a;return function(b){return(a||(a=de(RQ)))(b||RQ)}}();
RQ.\u0275dir=ud({type:RQ,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[cg]});var SQ=function(){vQ.apply(this,arguments)};Y(SQ,vQ);SQ.\u0275fac=function(){var a;return function(b){return(a||(a=de(SQ)))(b||SQ)}}();SQ.\u0275dir=ud({type:SQ,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],standalone:!0,features:[cg]});
var TQ=function(){wQ.apply(this,arguments)};Y(TQ,wQ);TQ.\u0275fac=function(){var a;return function(b){return(a||(a=de(TQ)))(b||TQ)}}();TQ.\u0275dir=ud({type:TQ,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[cg]});var UQ=function(){zQ.apply(this,arguments)};Y(UQ,zQ);UQ.\u0275fac=function(){var a;return function(b){return(a||(a=de(UQ)))(b||UQ)}}();UQ.\u0275dir=ud({type:UQ,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",rh]},standalone:!0,features:[Yg([{provide:zQ,useExisting:UQ}]),dg,cg]});var VQ=function(){AQ.apply(this,arguments)};Y(VQ,AQ);VQ.\u0275fac=function(){var a;return function(b){return(a||(a=de(VQ)))(b||VQ)}}();
VQ.\u0275dir=ud({type:VQ,selectors:[["","matFooterRowDef",""]],inputs:{columns:[0,"matFooterRowDef","columns"],sticky:[2,"matFooterRowDefSticky","sticky",rh]},standalone:!0,features:[Yg([{provide:AQ,useExisting:VQ}]),dg,cg]});var WQ=function(){BQ.apply(this,arguments)};Y(WQ,BQ);WQ.\u0275fac=function(){var a;return function(b){return(a||(a=de(WQ)))(b||WQ)}}();
WQ.\u0275dir=ud({type:WQ,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},standalone:!0,features:[Yg([{provide:BQ,useExisting:WQ}]),cg]});var XQ=function(){};Y(XQ,DQ);XQ.\u0275fac=function(){var a;return function(b){return(a||(a=de(XQ)))(b||XQ)}}();
XQ.\u0275cmp=t({type:XQ,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[Yg([{provide:DQ,useExisting:XQ}]),cg,$g],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&xg(0,0)},dependencies:[CQ],encapsulation:2});var YQ=function(){};Y(YQ,EQ);YQ.\u0275fac=function(){var a;return function(b){return(a||(a=de(YQ)))(b||YQ)}}();
YQ.\u0275cmp=t({type:YQ,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],standalone:!0,features:[Yg([{provide:EQ,useExisting:YQ}]),cg,$g],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&xg(0,0)},dependencies:[CQ],encapsulation:2});var ZQ=function(){};Y(ZQ,FQ);ZQ.\u0275fac=function(){var a;return function(b){return(a||(a=de(ZQ)))(b||ZQ)}}();
ZQ.\u0275cmp=t({type:ZQ,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[Yg([{provide:FQ,useExisting:ZQ}]),cg,$g],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&xg(0,0)},dependencies:[CQ],encapsulation:2});var $Q=function(){GQ.apply(this,arguments);this._contentClassName="mat-mdc-no-data-row"};Y($Q,GQ);
$Q.\u0275fac=function(){var a;return function(b){return(a||(a=de($Q)))(b||$Q)}}();$Q.\u0275dir=ud({type:$Q,selectors:[["ng-template","matNoDataRow",""]],standalone:!0,features:[Yg([{provide:GQ,useExisting:$Q}]),cg]});var Zzc=[[["caption"]],[["colgroup"],["col"]],"*"],aR=function(){};aR.\u0275fac=function(a){return new (a||aR)};aR.\u0275dir=ud({type:aR,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],standalone:!0,features:[Yg([{provide:X2b,useClass:Z2b}])]});var bR=function(){LQ.apply(this,arguments);this.stickyCssClass="mat-mdc-table-sticky";this.needsPositionStickyOnElement=!1};Y(bR,LQ);bR.\u0275fac=function(){var a;return function(b){return(a||(a=de(bR)))(b||bR)}}();
bR.\u0275cmp=t({type:bR,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(a,b){a&2&&ng("mdc-table-fixed-layout",b.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[Yg([{provide:LQ,useExisting:bR},{provide:oQ,useExisting:bR},{provide:Mzc,useClass:xQ},{provide:X2b,useClass:Y2b},{provide:Ozc,useValue:null}]),cg,$g],ngContentSelectors:["caption","colgroup, col","*"],decls:5,vars:2,consts:[["role","rowgroup"],
["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a,b){a&1&&(Dg(Zzc),Eg(0),Eg(1,1),D(2,ZTa,1,0)(3,$Ta,7,0)(4,aUa,4,0));a&2&&(C(2),G(b._isServer?2:-1),C(),G(b._isNativeHtmlTable?3:4))},dependencies:[IQ,HQ,KQ,JQ],styles:[".mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-app-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-app-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-app-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-app-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-app-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-app-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-app-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-app-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-app-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-app-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-app-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-app-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-app-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-app-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-app-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-app-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}\n"],
encapsulation:2});var $zc=["searchInput"],aAc={title:"Select an issue.",defaultChoices:[],allowMultipleIds:!1},bAc={SIMILAR_ISSUES:"Similar issues",SEARCH_RESULTS:"Search results",SEMANTIC_SEARCH_RESULTS:"Semantic search results",ISSUE_IDS:"Issue IDs"},cAc={},dAc=(cAc["Similar issues"]="similar",cAc["Search results"]="exact",cAc["Semantic search results"]="semantic",cAc["Issue IDs"]="id",cAc),eAc={SEMANTIC_SEARCH:"Smart search",EXACT_MATCH:"Exact match"},cR=function(){Z.apply(this,arguments);var a=this;this.dialogRef=
r(dL);this.initialData=r(jL);this.issueFullFridge=r(yG);this.issuePickerSearchService=r(gP);this.analytics=r(wG);this.activeSession=r(dv);this.componentFridge=r(AC);this.teamFridge=r(qH);this.domSafe=r(mM);this.trackerHelpers=r(yL);this.elRef=r(ge);this.focusTrapFactory=r(zx);this.isSimilarIssuesUiEnabled=this.activeSession.isInternalSession()||lu(this.activeSession,"enableSimilarIssueExternal");this.isInternalSession=this.activeSession.isInternalSession();this.data=Object.assign({},aAc,this.initialData);
var b;this.currentComponentId=(b=this.data.componentId)!=null?b:void 0;this.currentIssueId$=Re(function(){var c;return((c=a.data.currentResource)==null?void 0:c.type)==="issue"?Fe(a.data.currentResource.id):gw});this.currentIssue$=this.currentIssueId$.pipe(Nf(function(c){return a.issueFullFridge.watch(c)}),Kf({bufferSize:1,refCount:!0}));this.team$=this.currentIssue$.pipe(Ye(function(c){return!!(c&&c.aggregatedData&&c.aggregatedData.teamId)}),Nf(function(c){return a.teamFridge.watch(c.aggregatedData.teamId)}),
Kf({bufferSize:1,refCount:!0}));this.component$=this.componentFridge.watch(this.currentComponentId);this.selectedIssues=new KB;this.tableColumns="single-selection title id priority status duplicateCount votes createdTime".split(" ");this.issueUrlFactory=tq.viewIssue.makeHref;this.trackByIssueId=function(c,d){return d.issueId};this.searchText$=new bo("");this.searchTextTrimmed$=this.searchText$.pipe(B(function(c){return c.trim()}),Ef());this.idsInSearchText$=this.searchTextTrimmed$.pipe(B(oGa),B(Rk),
B(function(c){return c.filter(function(d){return d.length>=4})}),Ef(yi));this.issuesWithIdMatches$=this.idsInSearchText$.pipe(Nf(function(c){return a.issueFullFridge.watchSet(c)}),Pf(function(){a.isLoading=!1}),Kf({bufferSize:1,refCount:!0}));this.openFilter=Hq;this.teamFilter=this.componentFilter=void 0;this.includeDescendants=!1;this.selectedFilters$=new KB([this.openFilter]);this.similarIssues$=Me([this.currentIssueId$,this.selectedFilters$.value$,this.searchTextTrimmed$]).pipe(Af(0,Zo),Ye(function(){return a.isSimilarIssuesUiEnabled}),
Ye(function(c){c=k(c);c.next();c.next();return c.next().value===""}),Pf(function(){a.isLoading=!0}),Nf(function(c){var d=k(c);c=d.next().value;d=d.next().value;return Zxc(a.issuePickerSearchService,c,d)}),Pf(function(){a.isLoading=!1}),Kf({bufferSize:1,refCount:!0}));this.SearchSource=eAc;this.selectedSearchSource$=new bo(this.isSimilarIssuesUiEnabled?"Smart search":"Exact match");this.searchResults$=Me([this.searchTextTrimmed$.pipe(Pf(function(){a.isLoading=!0}),Af(200)),this.selectedFilters$.value$.pipe(Pf(function(){a.isLoading=
!0})),this.selectedSearchSource$]).pipe(Nf(function(c){var d=k(c);c=d.next().value;var e=d.next().value;return d.next().value==="Smart search"?(a.analytics.trackEvent("assistive-issue-picker","semantic-search-"+a.data.edgeType),ayc(a.issuePickerSearchService,c,e,a.data.edgeType,a.data.currentResource)):a.issuePickerSearchService.search(c,a.data.edgeType,a.data.currentResource,a.currentComponentId)}),Pf(function(){a.isLoading=!1}),Kf({bufferSize:1,refCount:!0}));this.idsToAutoSelect$=this.issuesWithIdMatches$.pipe(B(function(c){return c.length!==
1?[]:[c[0].issueId]}),Ef(yi),Pf(function(c){c.length===0&&(a.isPasteResultInSuggestion=!1);var d,e=(d=Xo(a.similarIssues$))!=null?d:[];a.isPasteResultInSuggestion=e.map(function(f){return f.issueId}).includes(c[0])}),Kf({bufferSize:1,refCount:!0}));this.TableDataSource=bAc;this.tableDataSource="Search results";this.issues$=Me([this.searchTextTrimmed$,this.issuesWithIdMatches$,this.similarIssues$.pipe(Mf([])),this.selectedSearchSource$]).pipe(Nf(function(c){var d=k(c);c=d.next().value;var e=d.next().value;
var f=d.next().value;d=d.next().value;return e.length===1?(a.tableDataSource="Issue IDs",a.issuesWithIdMatches$):c?(a.tableDataSource=d==="Smart search"?"Semantic search results":"Search results",a.searchResults$):f?(f.length>0&&(a.tableDataSource="Similar issues"),a.similarIssues$):Fe(void 0)}),Ef());this.correctedDisplayedRows=new Lg;this.isPasteResultInSuggestion=this.isLoading=!1};Y(cR,Z);cR.\u0275dir=Z.\u0275dir;
cR.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.idsToAutoSelect$.subscribe(function(b){a.selectedIssues.reset(b)}));this.subscriptions.add(this.component$.pipe(Cf()).subscribe(function(b){b&&(a.componentFilter=cFa(b,!1),a.selectedScopeFilter=a.componentFilter,a.selectedFilters$.add(a.componentFilter))}));this.subscriptions.add(this.team$.pipe(Cf()).subscribe(function(b){b&&(a.teamFilter=bFa(b,!1))}));this.data.edgeType==="canonical"&&this.subscriptions.add(dyc(this.issuePickerSearchService,
this.currentComponentId).subscribe())};cR.prototype.ngAfterViewInit=function(){this.focusManager=Ex(new nzc(this.correctedDisplayedRows,function(a,b){return a.issueId===b.issueId}));this.trapFocus()};cR.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);var a;(a=this.focusTrap)==null||a.destroy()};
var hUa=function(a,b){if(a.componentFilter&&a.teamFilter&&a.selectedScopeFilter!==b){a.selectedScopeFilter=b;var c=new Set(Xo(a.selectedFilters$.value$));b===a.componentFilter?(c.add(a.componentFilter),c.delete(a.teamFilter)):(c.add(a.teamFilter),c.delete(a.componentFilter));a.selectedFilters$.reset(c)}},MUa=function(a,b){var c,d;return ve(function(e){if(e.nextAddress==1)return xe(e,rq(0),2);c=new Map(a.displayedRows.toArray().map(function(f){return[f.row.issueId,f]}));d=b.map(function(f){return c.get(f.issueId)}).filter(kj);
a.correctedDisplayedRows.reset(d);Pg(a.correctedDisplayedRows);Ce(e)})};cR.prototype.onPressConfirm=function(){var a=this,b,c;return ve(function(d){if(!a.selectedIssues.size)return d.return();b=[].concat(w(a.selectedIssues));c={selectedIssueIds:b};a.dialogRef.close(c);fAc(a,b[0]);return xe(d,gAc(a,b[0]),0)})};cR.prototype.onPressCancel=function(){this.dialogRef.close()};cR.prototype.selectIssue=function(a){this.selectedIssues.reset([a])};
cR.prototype.onRowKeydown=function(a,b,c){if(a===0&&c.key==="ArrowUp")this.inputEl.nativeElement.focus(),c.preventDefault();else this.focusManager.onKeydown(c)};var gAc=function(a,b){var c,d;return ve(function(e){if(e.nextAddress==1)return xe(e,hAc(a,b),2);c=e.yieldResult;d=dAc[a.tableDataSource];a.analytics.trackEvent("assistive-issue-picker","picked-c-"+a.data.edgeType,c?d+"-hit":d+"-miss",c?1:0);Ce(e)})};
cR.prototype.trapFocus=function(){this.focusTrap=this.focusTrapFactory.create(this.elRef.nativeElement);B2b(this.focusTrap)};
var fAc=function(a,b){if(a.isSimilarIssuesUiEnabled){var c,d=(c=Xo(a.similarIssues$))!=null?c:[],e=d.map(function(f){return f.issueId});c=dAc[a.tableDataSource];b=e.includes(b);d.length===0?a.analytics.trackEvent("assistive-issue-picker","empty-hit-rate-"+a.data.edgeType,c+"-empty"):(a.analytics.trackEvent("assistive-issue-picker","hit-rate-"+a.data.edgeType,b?c+"-hit":c+"-miss",b?1:0),d=Xo(a.component$),d=Nu(a.trackerHelpers,d==null?void 0:d.componentPathInfo),e="",d&&d.componentPathName&&(e=d.componentPathName[0].toString().trim()),
a.analytics.trackEvent("assistive-issue-picker","hit-rate-by-component-"+a.data.edgeType,b?c+"-hit,"+e:c+"-miss,"+e,b?1:0))}},hAc=function(a,b){var c,d;return ve(function(e){if(e.nextAddress==1){if(a.data.edgeType!=="canonical")return e.return(!1);c=Set;return xe(e,Je(dyc(a.issuePickerSearchService,a.currentComponentId)),2)}d=new c(e.yieldResult);return e.return(d.has(b))})};cR.prototype.openLearnMore=function(){this.domSafe.openInNewTab("http://go/b-mark-as-duplicate")};
cR.\u0275fac=function(){var a;return function(b){return(a||(a=de(cR)))(b||cR)}}();
cR.\u0275cmp=t({type:cR,selectors:[["assistive-issue-picker-dialog"]],viewQuery:function(a,b){a&1&&(Mg($zc,5),Mg(bQ,5));if(a&2){var c;Qg(c=Rg())&&(b.inputEl=c.first);Qg(c=Rg())&&(b.displayedRows=c)}},hostBindings:function(a,b){a&1&&M("keydown.control.enter",function(){return b.onPressConfirm()})("keydown.meta.enter",function(){return b.onPressConfirm()})},features:[cg],decls:23,vars:17,consts:[["searchInput",""],["teamComponentMenu","matMenu"],["menuTrigger","matMenuTrigger"],["mat-dialog-title",
""],[1,"heading","flex-kids-y","gap-s","border-bottom","padded-bottom","margin-s-bottom"],[1,"heading","flex-kids-x","gap-xxs","align-items-center","padded-s-y","heading-m"],["svgIcon","merge_type_24px",1,"rotate-180","green"],[1,"search-field","margin-s-bottom","flex-kids-x","align-items-center","heading-xs"],["cdkFocusInitial","","placeholder","Search by title, contents, or id",3,"keydown.arrowdown","input","keydown.enter"],[1,"padded-s",3,"value"],[1,"center-text","padded","margined","pos-rel"],
["mat-dialog-content",""],["mat-dialog-actions",""],["mat-button","",1,"medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"medium","confirm",3,"click","disabled"],[1,"type-xs"],[1,"heading-s","line-clamp-3"],["svgIcon","search_spark_24px",1,"icon-m"],["svgIcon","search",1,"icon-m"],[1,"padded-s",3,"selectionChange","value"],["matTooltip","Searches by semantic similarity of the query. Does not support search atoms (like 'status:open')","matTooltipShowDelay","750","matTooltipPosition",
"left",3,"value"],["matTooltip","Searches by the exact query text. Supports search atoms (like 'status:open')","matTooltipShowDelay","750","matTooltipPosition","left",3,"value"],[1,"flex-kids-x","align-items-center","margin-s-bottom","gap-s"],["aria-label","Filter open issues",3,"change"],["appearance","hairline-filter",3,"selected","value"],[3,"matTooltip"],["aria-label","Scope search to component or team",3,"selectable"],["xPosition","before"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay",
"500",3,"matTooltip"],["aria-label","Include subcomponents or subteams",3,"change"],["appearance","hairline-filter",1,"include-descendants-chip"],["matTooltip","Include subcomponents or subteams"],"mat-icon-button;;matTooltip;Learn more;aria-label;help".split(";"),["appearance","hairline-filter","aria-label","Select search scope","selected","","color","primary","role","button",1,"team-component-filters",3,"keydown.enter","keyup.space","matMenuTriggerFor"],["matChipTrailingIcon","","svgIcon","arrow-dropdown"],
["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"click","matTooltip"],["svgIcon","done"],["mat-icon-button","","matTooltip","Learn more","aria-label","help",3,"click"],["svgIcon","help-outline"],["text","Finding similar issues...",3,"large"],["text","Searching..."],["ariaLabel","Loading results",1,"margined","inline-block"],["messageType","info","iconOverride","lightbulb_24px"],[1,"heading-xs"],["mat-table","",1,"full-width",3,"dataSource","trackBy"],[1,"center-text",
"padded"],["href","http://go/b-mark-as-duplicate","target","\u201d_blank\u201d"],["svgIcon","spark_24px","color","primary",1,"valign-middle"],["mat-table","",1,"full-width",3,"contentChanged","dataSource","trackBy"],["matColumnDef","single-selection"],["mat-header-cell","",4,"matHeaderCellDef"],["aria-label","Select issue",3,"change"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["matColumnDef","id"],["matColumnDef","priority"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header",
"status",4,"matHeaderCellDef"],["matColumnDef","duplicateCount"],["mat-cell","","class","center-text",4,"matCellDef"],["matColumnDef","votes"],["mat-header-cell","","matTooltip","Votes",4,"matHeaderCellDef"],["matColumnDef","createdTime"],["mat-header-cell","","mat-sort-header","createdTime",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","clickable",3,"row","keydown","keydown.enter","focusin","click",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],[1,
"a11y-only"],["mat-cell",""],["tabindex","0",3,"checked","aria-label","value"],["anchorTarget","_blank",3,"issue","issueUrlFactory","useButtonToNavigate","enableHovercard"],[3,"id"],[3,"issue"],["mat-header-cell","","mat-sort-header","status"],["mat-cell","",1,"center-text"],["mat-header-cell","","matTooltip","Votes"],["svgIcon","exposure_plus_1_24px",1,"icon-xs"],["mat-header-cell","","mat-sort-header","createdTime"],["mode","relativepastshort",3,"issue"],["mat-header-row",""],["mat-row","",1,"clickable",
3,"keydown","keydown.enter","focusin","click","row"],[1,"margined","inline-block"]],template:function(a,b){if(a&1){var c=x();I(0,"div",3);D(1,bUa,5,1,"div",4);S(2,"async");I(3,"div",5);K(4,"mat-icon",6);I(5,"span");Q(6,"Close as duplicate of:");J()();I(7,"header",7);D(8,eUa,2,1);S(9,"async");I(10,"input",8,0);M("keydown.arrowdown",function(){z(c);return A(b.focusManager.setActiveItem(0))})("input",function(){z(c);var h=L(11);return A(b.searchText$.next(h.value))})("keydown.enter",function(){z(c);
return A(b.onPressConfirm())});J();D(12,fUa,6,7,"mat-select",9);J();D(13,nUa,2,3);J();D(14,rUa,5,3,"div",10)(15,PUa,5,4,"div",11);S(16,"async");I(17,"div",12)(18,"button",13);M("click",function(){z(c);return A(b.onPressCancel())});Q(19," Cancel ");J();I(20,"button",14);S(21,"async");M("click",function(){z(c);return A(b.onPressConfirm())});Q(22," Close as duplicate ");J()()}if(a&2){var d,e,f;C();G((d=U(2,9,b.currentIssue$))?1:-1,d);C(7);G((e=U(9,11,b.selectedSearchSource$))?8:-1,e);C(2);ng("additional-padding-right",
b.isSimilarIssuesUiEnabled);C(2);G(b.isSimilarIssuesUiEnabled?12:-1);C();G(b.isSimilarIssuesUiEnabled?13:-1);C();G(b.isLoading?14:-1);C();G((f=U(16,13,b.issues$))?15:-1,f);C(5);F("disabled",!U(21,15,b.selectedIssues.size$))}},dependencies:[$D,dQ,lQ,jQ,hQ,iP,oP,qP,rP,YP,vD,Vy,Xy,nL,pL,oL,vI,yI,wI,zI,uO,vO,eQ,mQ,My,fQ,bR,OQ,UQ,QQ,NQ,WQ,RQ,TQ,XQ,ZQ,FH,HH,hxc,JO,bQ,ZP,$P,Iw],styles:[".mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:32px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%], th.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-mdc-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-mdc-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-mdc-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}.mat-mdc-row[_ngcontent-%COMP%]:last-of-type   .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.mat-mdc-dialog-title[_ngcontent-%COMP%]{margin:0}.heading[_ngcontent-%COMP%]{padding-left:4px}.mat-mdc-menu-item[_ngcontent-%COMP%]{height:auto}.search-field[_ngcontent-%COMP%]{position:relative}.search-field[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{position:absolute;top:9px;left:5px}.search-field[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{height:40px;width:100%;min-width:320px;background-color:#f1f3f4;background-color:var(--main-search-bg);color:#202124;color:var(--text-high-contrast);border-radius:8px;border:none;padding:0 16px;padding-left:40px}.search-field[_ngcontent-%COMP%]   input.additional-padding-right[_ngcontent-%COMP%]{padding-right:140px}.search-field[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus-visible{box-shadow:inset 0 0 0 2px #1a73e8;box-shadow:inset 0 0 0 2px var(--primary);outline:none}.search-field[_ngcontent-%COMP%]   mat-select[_ngcontent-%COMP%]{position:absolute;right:8px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border-radius:8px}.search-field[_ngcontent-%COMP%]   mat-select[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.search-field[_ngcontent-%COMP%]   mat-select[_ngcontent-%COMP%]:focus-visible{box-shadow:inset 0 0 0 2px #1a73e8;box-shadow:inset 0 0 0 2px var(--primary);outline:none}[_nghost-%COMP%]     .mat-mdc-select-arrow, [_nghost-%COMP%]     .mat-mdc-select-value{color:#1a73e8;color:var(--primary)}@media (forced-colors:active){[_nghost-%COMP%]   .mat-mdc-dialog-actions[_ngcontent-%COMP%]     button.gmat-mdc-button{border:1px solid;border-color:#dadce0;border-color:var(--divider)}[_nghost-%COMP%]   .mat-mdc-dialog-actions[_ngcontent-%COMP%]     button.gmat-mdc-button:focus{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color}}[_nghost-%COMP%]   .mat-mdc-dialog-actions[_ngcontent-%COMP%]     button.gmat-mdc-button:not([disabled]):focus{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color;border-radius:2px;outline-offset:3px}.mat-mdc-table[_ngcontent-%COMP%]{background-color:inherit;margin:4px 0}.mat-mdc-table[_ngcontent-%COMP%]   .mat-column-title[_ngcontent-%COMP%]{min-width:250px;max-width:24vw}.mat-mdc-table[_ngcontent-%COMP%]   .mat-column-id[_ngcontent-%COMP%]{margin-right:-8px}.mat-mdc-table[_ngcontent-%COMP%]   .mat-column-single-selection[_ngcontent-%COMP%]{padding-left:6px}.mat-mdc-table[_ngcontent-%COMP%]   .mat-column-votes[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:5px}\n/*# sourceMappingURL=assistive_issue_picker_dialog.css.map */"],
changeDetection:0});var dR=function(){this.expandable=this.issue=null;this.expanded=!1;this.level=0;this.expansionChange=new rG;this.title=""};dR.prototype.ngOnChanges=function(){var a,b;this.title=((a=this.issue)==null?void 0:(b=a.snapshot[0])==null?void 0:b.title)||""};dR.\u0275fac=function(a){return new (a||dR)};
dR.\u0275cmp=t({type:dR,selectors:[["b-expandable-issue-title-cell"]],inputs:{issue:"issue",expandable:"expandable",expanded:"expanded",level:"level"},outputs:{expansionChange:"expansionChange"},features:[Hd],decls:4,vars:4,consts:[[1,"flex-kids-x","align-items-center"],["mat-icon-button","",1,"medium","expander",3,"collapsed"],[1,"leaf"],[3,"issue"],["mat-icon-button","",1,"medium","expander",3,"click"],["name","arrow-dropdown","size","small"]],template:function(a,b){a&1&&(I(0,"div",0),D(1,QUa,2,
3,"button",1)(2,RUa,1,0,"div",2),K(3,"b-issue-title-cell",3),J());a&2&&(mg("margin-left",b.level*24,"px"),C(),G(b.expandable?1:2),C(2),F("issue",b.issue))},dependencies:[vD,Xy,yM,YP],styles:[".expander[_ngcontent-%COMP%]{transition:transform .2s ease-in-out}.expander.collapsed[_ngcontent-%COMP%]{transform:rotate(-90deg)}.leaf[_ngcontent-%COMP%]{width:32px;min-width:32px;display:inline-block}"],changeDetection:0});var eR=function(){this.tooltip=this.displayText=this.chipColor=""};eR.\u0275fac=function(a){return new (a||eR)};
eR.\u0275cmp=t({type:eR,selectors:[["b-signal-chip"]],inputs:{chipColor:"chipColor",displayText:"displayText",tooltip:"tooltip"},standalone:!0,features:[$g],decls:2,vars:5,consts:[["role","button","tabindex","0",3,"matTooltip"]],template:function(a,b){a&1&&(I(0,"div",0),Q(1),J());a&2&&(og("signal-chip type-button "+b.chipColor),F("matTooltip",b.tooltip),eg("aria-label",b.tooltip),C(),R(" ",b.displayText,"\n"))},dependencies:[FH,HH],styles:[".signal-chip[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:4px 12px;border-radius:32px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;text-align:center;white-space:nowrap}.signal-chip.blue[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg);border:1px solid;border-color:#185abc;border-color:var(--blue-text);color:#185abc;color:var(--blue-text)}.signal-chip.green[_ngcontent-%COMP%]{background-color:#edfbf1;background-color:var(--green-bg);border:1px solid;border-color:#137333;border-color:var(--green-text);color:#137333;color:var(--green-text)}.signal-chip.orange[_ngcontent-%COMP%]{background-color:#fff3e9;background-color:var(--orange-bg);border:1px solid;border-color:#bd4800;border-color:var(--orange-text);color:#bd4800;color:var(--orange-text)}.signal-chip.pink[_ngcontent-%COMP%]{background-color:#fff2f9;background-color:var(--pink-bg);border:1px solid;border-color:#d01884;border-color:var(--pink-text);color:#d01884;color:var(--pink-text)}.signal-chip.purple[_ngcontent-%COMP%]{background-color:#f9f3ff;background-color:var(--purple-bg);border:1px solid;border-color:#9334e6;border-color:var(--purple-text);color:#9334e6;color:var(--purple-text)}.signal-chip.red[_ngcontent-%COMP%]{background-color:#fff2f1;background-color:var(--red-bg);border:1px solid;border-color:#d42521;border-color:var(--red-text);color:#d42521;color:var(--red-text)}"],
changeDetection:0});var fR=function(){this.isDataLoaded=!1;this.alerts=[]};fR.prototype.ngOnInit=function(){};fR.\u0275fac=function(a){return new (a||fR)};
fR.\u0275cmp=t({type:fR,selectors:[["b-issue-alerts-cell"]],inputs:{issue:"issue",alerts:"alerts"},decls:3,vars:0,consts:[[1,"chip-container","flex-kids-x"],[3,"chipColor","displayText","tooltip"]],template:function(a,b){a&1&&(I(0,"div",0),tg(1,TUa,1,1,null,null,rg),J());a&2&&(C(),ug(b.alerts))},dependencies:[eR],styles:["b-signal-chip[_ngcontent-%COMP%]{padding:6px 0}b-signal-chip[_ngcontent-%COMP%]:not(:last-of-type){margin-right:8px}"],changeDetection:0});var gR=function(){this.issue=null;this.isDataLoaded=!1};gR.prototype.ngOnChanges=function(){var a;this.assignee=rKa(Ui((a=this.issue)==null?void 0:a.snapshot[0].assigneeUser)||void 0);this.isDataLoaded=this.issue!==null};gR.\u0275fac=function(a){return new (a||gR)};
gR.\u0275cmp=t({type:gR,selectors:[["b-issue-assignee-cell"]],inputs:{issue:"issue"},features:[Hd],decls:3,vars:2,consts:[[3,"isReady"],[3,"email"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",0),D(1,UUa,2,2,"b-person-hovercard",1)(2,VUa,2,0,"ng-container"),J());a&2&&(F("isReady",b.isDataLoaded),C(),G(b.assignee?1:2))},dependencies:[hP,HK],encapsulation:2,changeDetection:0});var hR=function(){this.issue=null;this.componentId=this.teamId="";this.isDataLoaded=!1};hR.prototype.ngOnChanges=function(){var a,b,c;this.teamId=((a=this.issue)==null?void 0:(b=a.aggregatedData)==null?void 0:(c=b.teamId)==null?void 0:c.toString())||"";var d,e;this.componentId=String((d=this.issue)==null?void 0:(e=d.snapshot[0])==null?void 0:e.componentId)||"";this.isDataLoaded=this.issue!==null};hR.\u0275fac=function(a){return new (a||hR)};
hR.\u0275cmp=t({type:hR,selectors:[["b-issue-team-cell"]],inputs:{issue:"issue"},features:[Hd],decls:3,vars:2,consts:[[3,"isReady"],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",0),D(1,WUa,1,3,"b-team-display",1)(2,XUa,2,0,"ng-container"),J());a&2&&(F("isReady",b.isDataLoaded),C(),G(b.teamId?1:2))},dependencies:[hP,CN],encapsulation:2,changeDetection:0});var iR=function(){this.activeSession=r(dv);this.issueExperimentalFieldsFridge=r(KF)};iR.prototype.ngOnInit=function(){};iR.prototype.claim=function(){var a=this;LF(this.issueExperimentalFieldsFridge,this.issue.issueId,function(b){b.triage.triagerEmail=a.activeSession.getUserEmail()})};iR.\u0275fac=function(a){return new (a||iR)};
iR.\u0275cmp=t({type:iR,selectors:[["b-issue-triager-cell"]],inputs:{issue:"issue"},decls:2,vars:1,consts:[["size","medium",1,"align-with-btn",3,"email"],["mat-button","",1,"gmat-button","small","align-with-hr"],["mat-button","",1,"gmat-button","small","align-with-hr",3,"click"]],template:function(a,b){a&1&&D(0,YUa,1,1,"b-user-image",0)(1,ZUa,2,0,"button",1);if(a&2){var c;G((c=b.issue.experimentalFields==null?null:b.issue.experimentalFields.triage==null?null:b.issue.experimentalFields.triage.triagerEmail)?
0:1,c)}},dependencies:[vD,Vy,wM],styles:[".align-with-hr[_ngcontent-%COMP%] {\n      margin-left: -8px;\n    }\n    .align-with-btn[_ngcontent-%COMP%] {\n      padding-left: 8px;\n    }"],changeDetection:0});var jR=function(){this.type=this.issue=null;this.isDataLoaded=!1};jR.prototype.ngOnChanges=function(){var a,b;this.type=((a=this.issue)==null?void 0:(b=a.snapshot[0])==null?void 0:b.type)||null;this.isDataLoaded=this.issue!==null};jR.\u0275fac=function(a){return new (a||jR)};
jR.\u0275cmp=t({type:jR,selectors:[["b-issue-type-cell"]],inputs:{issue:"issue"},features:[Hd],decls:3,vars:2,consts:[[1,"nowrap",3,"isReady"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",0),D(1,$Ua,3,3,"ng-container")(2,aVa,2,0,"ng-container"),J());a&2&&(F("isReady",b.isDataLoaded),C(),G(b.type?1:2))},dependencies:[hP,aM],encapsulation:2,changeDetection:0});var kR=function(){Z.call(this);var a=this;this.prefs=r(yH);this.flags=r(yP);this.links=r(cL);this.change=new rG;this.checkedSubject=new bo(!1);this.mdHelpLink=this.links.session.isInternalSession()?"http://go/buganizer-markdown-quickstart":"https://commonmark.org/help/";this.flags.textDisplayPreferences$.pipe(Of(this.destroyed$)).subscribe(function(b){a.currentTextDisplayPreferences=b});this.flags.commentDisplayOverride$.pipe(Of(this.destroyed$)).subscribe(function(b){a.currentCommentDisplayOverride=
b})};Y(kR,Z);kR.\u0275dir=Z.\u0275dir;kR.prototype.ngOnInit=function(){this.checkedSubject.next(this.initialValue==="MARKDOWN")};kR.prototype.ngOnChanges=function(){this.initialValue!=null&&this.checkedSubject.next(this.initialValue==="MARKDOWN")};kR.prototype.save=function(a){a=Object.assign({},this.currentTextDisplayPreferences,a);this.prefs.save({textDisplayPreferences:a}).pipe(Of(this.destroyed$)).subscribe()};kR.\u0275fac=function(a){return new (a||kR)};
kR.\u0275cmp=t({type:kR,selectors:[["b-markdown-toggle"]],inputs:{initialValue:"initialValue"},outputs:{change:"change"},features:[cg,Hd],decls:4,vars:4,consts:[["aria-label","Use markdown for this comment","matTooltip","Use Markdown for this comment",3,"change","checked"],["mat-icon-button","","matTooltip","Markdown Help","aria-label","Markdown Help","target","_blank",1,"help","small",3,"href","disableRipple"],["svgIcon","help-outline",1,"icon-xs"]],template:function(a,b){a&1&&(I(0,"mat-checkbox",
0),S(1,"async"),M("change",function(d){var e=b.currentCommentDisplayOverride;d=d.checked?"MARKDOWN_FORMATTING_MODE":e?e:"PLAIN_FORMATTING_MODE";b.save({lastPublishMode:d});b.change.emit(oj(d))}),Q(2," Markdown\n"),J(),D(3,bVa,2,2,"a",1));if(a&2){var c;F("checked",(c=U(1,2,b.checkedSubject))!==null&&c!==void 0?c:!1);C(3);G(b.mdHelpLink?3:-1)}},dependencies:[qN,uN,$D,vD,Yy,FH,HH,Iw],encapsulation:2,changeDetection:0});var lR=function(){};lR.\u0275fac=function(a){return new (a||lR)};lR.\u0275mod=u({type:lR});lR.\u0275inj=p({providers:[Izc],imports:[Qw,xy,Py,yy,Zx,aA,Py,yy]});var iAc={provide:Hzc,deps:[[new Wv,new Xv,new S_b(Hzc)],[new Wv,new S_b(pzc)]],useFactory:function(a,b){return!b||b.disableGmatStyle?a||{}:a?Object.assign({},a,{overlayPanelClass:Zh(a.overlayPanelClass).concat("gmat-mdc-select")}):{overlayPanelClass:"gmat-mdc-select"}}},mR=function(){};mR.\u0275fac=function(a){return new (a||mR)};mR.\u0275mod=u({type:mR});mR.\u0275inj=p({providers:[iAc],imports:[lR,NN]});var jAc=new Bd("GMAT_SNACK_BAR_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var nR=function(a,b,c,d,e,f,h){h.disableGmatStyle||pgc(a,"gmat-mdc-snack-bar");eE.call(this,a,b,c,d,e,f)};Y(nR,eE);nR.\u0275fac=function(a){return new (a||nR)(md(ty),md(sx),md(Sf),md(mx),md(eE,12),md(cac),md(jAc))};nR.\u0275prov=n({token:nR,factory:nR.\u0275fac});var oR=function(){};oR.\u0275fac=function(a){return new (a||oR)};oR.\u0275mod=u({type:oR});oR.\u0275inj=p({providers:[{provide:eE,useClass:nR},{provide:ty,useClass:EH}],imports:[fE]});var pR=function(){};pR.\u0275fac=function(a){return new (a||pR)};pR.\u0275mod=u({type:pR});pR.\u0275inj=p({imports:[yN,oR,RE,xy,vP,QI,mR,aP,JH,LH,WK,pM,VK]});var kAc={TYPE_UNSPECIFIED:"Unknown",TEXT:"Text",DATE:"Date",ENUM:"Enum",NUMERIC:"Numeric",REPEATED_TEXT:"Repeated Text",REPEATED_DATE:"Repeated Date",REPEATED_ENUM:"Repeated Enum",REPEATED_NUMERIC:"Repeated Numeric"},qR=function(){};qR.prototype.transform=function(a){return kAc[a]};qR.\u0275fac=function(a){return new (a||qR)};qR.\u0275pipe=vd({name:"toCustomFieldTypeDisplayValue",type:qR,pure:!0});var rR=function(){};rR.prototype.transform=function(a,b){var c;a=(c=a.split("@"))==null?void 0:c[0];b&&a.length>b&&(b=(b-3)/2,a=a.substring(0,b)+"..."+a.substring(a.length-b));return a+"@"};rR.\u0275fac=function(a){return new (a||rR)};rR.\u0275pipe=vd({name:"shortenEmail",type:rR,pure:!0});var sR=function(){};sR.prototype.transform=function(a){if(!a||!a.length)return"";var b=a.filter(function(c){return!!c.user}).length;b=b>0?"Users: "+b:"";a=a.filter(function(c){return!!c.placeholder}).map(function(c){var d=c.placeholder.role;return c.placeholder.count+" "+(d&&d!=="JOB_ROLE_UNSPECIFIED"?Ok[d]:"Other")});a=a.length>0?"Placeholders: "+a.join(", "):"";return b+(b&&a?", ":"")+a};sR.\u0275fac=function(a){return new (a||sR)};sR.\u0275pipe=vd({name:"staffingSummary",type:sR,pure:!0});var tR=function(){};tR.\u0275fac=function(a){return new (a||tR)};tR.\u0275mod=u({type:tR});tR.\u0275inj=p({imports:[RE]});var uR=function(){};uR.\u0275fac=function(a){return new (a||uR)};uR.\u0275mod=u({type:uR});uR.\u0275inj=p({imports:[Qw,xy]});var vR=function(){};vR.\u0275fac=function(a){return new (a||vR)};vR.\u0275mod=u({type:vR});vR.\u0275inj=p({imports:[RE,tR,uR]});var wR=function(){this.el=r(ge);this.minWidth=100;this.maxWidth=500;this.shadowInput=document.createElement("span");this.shadowInput.style.position="absolute";this.shadowInput.style.top="0px";this.shadowInput.style.left="0px";this.shadowInput.style.visibility="hidden";this.shadowInput.style.width="10px";this.shadowInput.style.whiteSpace="pre";this.shadowInput.style.overflow="hidden";this.shadowInput.style.padding="0";document.body.appendChild(this.shadowInput)};wR.prototype.onInput=function(){this.resize(this.el.nativeElement.value)};
wR.prototype.ngOnDestroy=function(){document.body.removeChild(this.shadowInput)};wR.prototype.resize=function(a){for(;this.shadowInput.firstChild;)this.shadowInput.removeChild(this.shadowInput.firstChild);this.shadowInput.appendChild(document.createTextNode(a));this.el.nativeElement.style.width=Math.min(Math.max(this.shadowInput.scrollWidth,this.minWidth),this.maxWidth)+"px"};wR.\u0275fac=function(a){return new (a||wR)};
wR.\u0275dir=ud({type:wR,selectors:[["","b-adaptive-width-input",""]],hostBindings:function(a,b){a&1&&M("input",function(){return b.onInput()})},inputs:{minWidth:"minWidth",maxWidth:"maxWidth"}});var xR=function(){};xR.\u0275fac=function(a){return new (a||xR)};xR.\u0275mod=u({type:xR});xR.\u0275inj=p({});var yR=function(){this.activeSession=r(dv);this.sessionIsExternal=this.activeSession.isExternalSession()};yR.prototype.shouldShowLinks=function(){return!this.sessionIsExternal&&!!Pk(this.email)};yR.prototype.getName=function(){return this.email===void 0?"":this.email.split("@")[0]};yR.\u0275fac=function(a){return new (a||yR)};
yR.\u0275cmp=t({type:yR,selectors:[["b-group-email-card"]],inputs:{email:"email"},ngContentSelectors:["*"],decls:4,vars:1,consts:[["content",""],["card",""],["role","button","tabindex","0",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["role","dialog","aria-label","Group email hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bv2-hovercard-narrow","bv2-group-email-card"],[1,"bv2-group-email-card-content"],[1,"bv2-group-email-card-name"],[1,"bv2-group-email-card-email"],
["svgIcon","group"],[1,"bv2-group-email-card-links-container"],["target","_blank",1,"bv2-group-email-card-link",3,"href"]],template:function(a,b){a&1&&(Dg(),D(0,hVa,16,5)(1,jVa,1,1,"ng-container")(2,kVa,1,0,"ng-template",null,0,fh));a&2&&G(Pk(b.email)?0:1)},dependencies:[Hw,$D,bK,hK],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{--onedev-card-background: var(--surface-default, rgb(255, 255, 255));--onedev-card-title-text: var(--text-default, rgb(32, 33, 36));--onedev-card-icon: var(--icon, rgb(95, 99, 104));--onedev-card-secondary-text: var(--text-secondary, rgb(95, 99, 104));--onedev-card-link-color: var(--primary-default, rgb(26, 115, 232))}.onedev-hovercard-content[_ngcontent-%COMP%]{background-color:var(--onedev-card-background);width:356px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]{padding:20px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--onedev-card-link-color)}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .contact-info.with-avatar[_ngcontent-%COMP%]{display:grid;grid-template-columns:48px auto;column-gap:20px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .contact-info.with-avatar[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{grid-row:1/span 2}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .contact-info[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{grid-row:1;grid-column:2;line-clamp:2;overflow:hidden;text-overflow:ellipsis}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .contact-info[_ngcontent-%COMP%]   .email[_ngcontent-%COMP%]{grid-row:2;grid-column:2}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:var(--onedev-card-title-text);margin:0 0 12px;max-height:48px;overflow:hidden}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .chips[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;margin-top:12px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:var(--onedev-card-icon);font-size:18px;height:18px;width:18px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{display:grid;grid-template-columns:18px auto;grid-gap:12px 20px;margin:0;margin-top:12px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .detail[_ngcontent-%COMP%]{margin-top:2px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]:empty{margin-top:0px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .subcontent[_ngcontent-%COMP%]:not(:last-child){margin-bottom:8px}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{color:var(--onedev-card-secondary-text);padding:0 8px 0 0}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .dot-separated-list[_ngcontent-%COMP%]{display:inline;list-style-type:none;margin:0;padding:0}.onedev-hovercard-content[_ngcontent-%COMP%]   .onedev-hovercard-body[_ngcontent-%COMP%]   .dot-separated-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline}.onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}.bv2-group-email-card[_ngcontent-%COMP%]{margin:-15px -20px -20px}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-content[_ngcontent-%COMP%]{padding:15px 60px 20px 15px}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-content[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:18px;height:18px;vertical-align:middle}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-content[_ngcontent-%COMP%]   .bv2-group-email-card-email[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-links-container[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg);border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);padding:10px 15px}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-links-container[_ngcontent-%COMP%]   .bv2-group-email-card-link[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}.bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-links-container[_ngcontent-%COMP%]   .bv2-group-email-card-link[_ngcontent-%COMP%]:hover, .bv2-group-email-card[_ngcontent-%COMP%]   .bv2-group-email-card-links-container[_ngcontent-%COMP%]   .bv2-group-email-card-link[_ngcontent-%COMP%]:active{text-decoration:underline}/*# sourceMappingURL=group_email_card.css.map */"]});
var zR=function(){};zR.\u0275fac=function(a){return new (a||zR)};zR.\u0275mod=u({type:zR});zR.\u0275inj=p({imports:[RE,VK]});var lAc=function(){this.dialogTabIndex=0;this.displayText="";this.overlaySizeConfig={maxHeight:"unset",maxWidth:600}};lAc.\u0275fac=function(a){return new (a||lAc)};
lAc.\u0275cmp=t({type:lAc,selectors:[["b-text-with-tooltip"]],inputs:{dialogTabIndex:"dialogTabIndex",displayText:"displayText"},ngContentSelectors:["*"],decls:4,vars:5,consts:[["tooltipTemplate",""],[3,"dialogLabel","dialogTabIndex","overlaySize","xapInlineDialog"]],template:function(a,b){a&1&&(Dg(),I(0,"xap-text-trigger",1),Q(1),J(),D(2,lVa,3,0,"ng-template",null,0,fh));a&2&&(a=L(3),F("dialogLabel",b.displayText)("dialogTabIndex",0)("overlaySize",b.overlaySizeConfig)("xapInlineDialog",a),C(),R(" ",
b.displayText,"\n"))},dependencies:[HN,GN,QN,RN],styles:["/*# sourceMappingURL=text_with_tooltip.css.map */"],changeDetection:0});var AR=function(){};AR.\u0275fac=function(a){return new (a||AR)};AR.\u0275mod=u({type:AR});AR.\u0275inj=p({imports:[HN,RN]});var kma=function(a,b,c,d,e,f){return{"bv2-user-chip-external":a,"bv2-user-chip-non-gaia":b,"bv2-user-chip-not-accessible":c,"bv2-user-chip-container":d,selected:e,readonly:f}},BR=function(){Z.apply(this,arguments);this.activeSession=r(dv);this.isReadonly=!0;this.isSelected=!1;this.isWidgetDisabled=!0;this.nestedChips=this.detailedUserType=this.principalType=null;this.displayText=this.value="";this.accessLevel=void 0;this.chipSelection=new rG;this.chipClear=new rG;this.chipRemove=new rG};Y(BR,Z);
BR.\u0275dir=Z.\u0275dir;g=BR.prototype;g.isPublicChip=function(){return this.principalType==="ALIAS"&&["public_non_google","public"].includes(this.value)};g.isNonGaiaChip=function(){return this.principalType==="NON_GAIA"};g.isContainerChip=function(){return this.nestedChips!==null};g.isUserChip=function(){return this.principalType==="USER"};g.isGroupChip=function(){return this.principalType==="GROUP"};g.isDomainChip=function(){return this.principalType==="ALIAS"&&["googlers_unrestricted","google_domain"].includes(this.value)};
g.isExternalChip=function(){return this.detailedUserType==="EXTERNAL"||this.detailedUserType==="PUBLIC"||this.isPublicChip()};g.isExternalPartnerAccessViolated=function(){return this.accessLevel==="EXTERNAL_PARTNER"&&this.isPublicChip()};g.isInternalAccessViolated=function(){return this.accessLevel==="INTERNAL"&&(this.isExternalChip()||this.isPublicChip())};
g.getTooltip=function(){if(this.principalType!=="ALIAS")return"";switch(this.value){case "googlers_unrestricted":return"Full time employees and other users with access to view most "+this.activeSession.getAppName()+" issues.";case "google_domain":return"All users associated with the google.com domain.";case "public_non_google":return"All users, excluding the google.com domain.";case "public":return"All users";default:throw Error("je`"+this.value);}};
var mAc=function(a){if(a.isGroupChip())return"group";if(a.isDomainChip())return"acl-alias-domain";if(a.isPublicChip())return"public"};BR.\u0275fac=function(){var a;return function(b){return(a||(a=de(BR)))(b||BR)}}();
BR.\u0275cmp=t({type:BR,selectors:[["b-contact-chip"]],inputs:{isReadonly:"isReadonly",isSelected:"isSelected",isWidgetDisabled:"isWidgetDisabled",principalType:"principalType",detailedUserType:"detailedUserType",nestedChips:"nestedChips",value:"value",displayText:"displayText",accessLevel:"accessLevel"},outputs:{chipSelection:"chipSelection",chipClear:"chipClear",chipRemove:"chipRemove"},features:[cg],decls:8,vars:13,consts:[[1,"bv2-user-chip-item",3,"focus","blur","ngClass"],[1,"alias-icon"],[3,
"svgIcon"],[1,"user-chip-name"],[3,"email"],[3,"dialogTabIndex","displayText"],["role","button","tabindex","0",1,"user-chip-x","keep-focus-ring",3,"matTooltip"],[1,"bv2-user-chip-nested-content-container","flex-kids-x","flex-wrap"],[1,"bv2-user-chip"],[3,"value","detailedUserType","principalType","accessLevel","displayText"],["role","button","tabindex","0",1,"user-chip-x","keep-focus-ring",3,"click","keydown.enter","matTooltip"],["svgIcon","close"]],template:function(a,b){a&1&&(I(0,"span",0),M("focus",
function(){return b.chipSelection.emit()})("blur",function(){return b.chipClear.emit()}),I(1,"span",1),D(2,mVa,1,1,"mat-icon",2),J(),I(3,"div",3),D(4,nVa,2,2,"b-person-hovercard",4)(5,oVa,2,2,"b-group-email-card",4)(6,sVa,3,3,"b-text-with-tooltip",5),J(),D(7,tVa,2,3,"div",6),J());if(a&2){var c;F("ngClass",lma(b.isExternalChip(),b.isNonGaiaChip(),b.isInternalAccessViolated()||b.isExternalPartnerAccessViolated(),b.isContainerChip(),b.isSelected,b.isReadonly));C(2);G((c=mAc(b))?2:-1,c);C(2);G(b.isUserChip()?
4:-1);C();G(b.isGroupChip()?5:-1);C();G(b.isUserChip()||b.isGroupChip()?-1:6);C();G(b.isReadonly||b.isWidgetDisabled?-1:7)}},dependencies:[Ew,$D,FH,HH,HK,yR,lAc,BR],styles:["span.bv2-user-chip-item[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--button-bg);border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:3px;display:block;height:20px;white-space:nowrap}span.bv2-user-chip-item[_ngcontent-%COMP%]   .alias-icon[_ngcontent-%COMP%] > mat-icon[_ngcontent-%COMP%]{width:18px;height:20px;margin-left:3px;margin-right:-3px;opacity:.6}span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-name[_ngcontent-%COMP%]{display:inline-block;line-height:16px;margin:2px 5px;max-width:550px;overflow:hidden;text-overflow:ellipsis}span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{cursor:pointer;display:inline-block}span.bv2-user-chip-item[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{width:16px;height:20px;opacity:.6;margin-left:-3px;margin-right:2px}span.bv2-user-chip-item.selected[_ngcontent-%COMP%]   .bv2-user-chip-nested-content[_ngcontent-%COMP%], span.bv2-user-chip-item[_ngcontent-%COMP%]:hover:not(.selected)   .bv2-user-chip-nested-content[_ngcontent-%COMP%], span.bv2-user-chip-item.selected[_ngcontent-%COMP%]:not(:hover)   .bv2-user-chip-nested-content[_ngcontent-%COMP%]{display:block}span.bv2-user-chip-item[_ngcontent-%COMP%]:not(.selected)   .bv2-user-chip-nested-content[_ngcontent-%COMP%], span.bv2-user-chip-item[_ngcontent-%COMP%]:not(:hover)   .bv2-user-chip-nested-content[_ngcontent-%COMP%]{display:none}span.bv2-user-chip-item[_ngcontent-%COMP%]:active, span.bv2-user-chip-item.selected[_ngcontent-%COMP%], span.bv2-user-chip-item.selected[_ngcontent-%COMP%]:hover, span.bv2-user-chip-item.selected[_ngcontent-%COMP%]:active, span.bv2-user-chip-item.readonly[_ngcontent-%COMP%]:active, span.bv2-user-chip-item.readonly.selected[_ngcontent-%COMP%], span.bv2-user-chip-item.readonly.selected[_ngcontent-%COMP%]:hover, span.bv2-user-chip-item.readonly.selected[_ngcontent-%COMP%]:active{border-color:#1a73e8;border-color:var(--primary)}span.bv2-user-chip-item.readonly[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}span.bv2-user-chip-item.readonly[_ngcontent-%COMP%]   .user-chip-x[_ngcontent-%COMP%]{display:none}span.bv2-user-chip-item.bv2-user-chip-external[_ngcontent-%COMP%]{background-color:#fbe983;background-color:var(--public-bg)}span.bv2-user-chip-item.bv2-user-chip-non-gaia[_ngcontent-%COMP%]{border:1px dashed;border-color:#ea4335;border-color:var(--bad)}span.bv2-user-chip-item.bv2-user-chip-not-accessible[_ngcontent-%COMP%]{border:1px solid;border-color:#ea4335;border-color:var(--bad)}span.bv2-user-chip-item.bv2-user-chip-container[_ngcontent-%COMP%]{cursor:pointer}span.bv2-user-chip-item.bv2-user-chip-container[_ngcontent-%COMP%] > .user-chip-name[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);border-style:dashed;height:14px}.bv2-user-chip-nested-content-container[_ngcontent-%COMP%]   .bv2-user-chip[_ngcontent-%COMP%]{padding:4px}/*# sourceMappingURL=contact_chip.css.map */"]});var CR=function(a,b,c,d,e,f){this.clientConfig=a;this.document=b;this.peopleKitService=c;this.inputEl=d;this.zone=e;this.renderer=f;this.selectionChange=new kw;this.sessionOptions=(new Ls).setFilter(nAc);this.inputSearchDelay=200;this.destroyed$=new If(1);this.inputChanged$=new If(1)};CR.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.autocomplete.dispose()};
CR.prototype.ngOnInit=function(){var a=this,b=this.clientConfig.autocompleteFactory.createConfig(this.peopleKitService.environmentConfig);uVa(b,this.config);this.zone.runOutsideAngular(function(){var c;if((c=a.clientConfig.autocompleteFactory)==null)c=void 0;else{var d=c.create;if(!a.peopleKitService.autocompleteAnchor){var e=a.renderer.createElement("div");a.peopleKitService.autocompleteAnchor=e;a.renderer.addClass(e,"peoplekit-autocomplete-anchor");var f;((f=wHa(a.inputEl.nativeElement))!=null?
f:a.document.body).append(e)}c=d.call(c,a.peopleKitService.autocompleteAnchor,a.inputEl.nativeElement,a.peopleKitService.peopleStore,b,a.sessionOptions)}a.autocomplete=c});this.autocomplete.subscribeToSelectionChanged(function(c){a.selectionChange.emit(c);a.autocomplete.report(4)});this.inputChanged$.pipe(Af(this.inputSearchDelay)).subscribe(function(){a.search()})};
CR.prototype.search=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.search(a.inputEl.nativeElement.value,a.inputEl.nativeElement)})};CR.prototype.cancel=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.cancel()})};CR.\u0275fac=function(a){return new (a||CR)(af(Eyc),af(ei),af(PP),af(ge),af(hh),af($v))};
CR.\u0275dir=ud({type:CR,selectors:[["input","peoplekitAutocomplete",""]],hostBindings:function(a,b){a&1&&M("input",function(){return b.inputChanged$.next()})("focus",function(){return b.search()})("blur",function(){return b.cancel()})},inputs:{config:[0,"peoplekitAutocompleteConfig","config"],sessionOptions:[0,"peoplekitSearchSessionOptions","sessionOptions"],inputSearchDelay:[0,"peoplekitAutocompleteInputSearchDelay","inputSearchDelay"]},outputs:{selectionChange:"peoplekitAutocompleteSelectionChange"},
exportAs:["peoplekitAutocomplete"]});var nAc=Fq(1);var DR=function(){};DR.\u0275fac=function(a){return new (a||DR)};DR.\u0275mod=u({type:DR});DR.\u0275inj=p({imports:[Qw]});var ER=function(){};ER.\u0275fac=function(a){return new (a||ER)};ER.\u0275mod=u({type:ER});ER.\u0275inj=p({imports:[RE,Qz,LH,WK,zR,gM,ZJ,xR,DR,AR]});oma(QP,[ki,tz,Bz,YJ,wR,CR,BR],[]);var FR=function(){};FR.\u0275fac=function(a){return new (a||FR)};FR.\u0275mod=u({type:FR});FR.\u0275inj=p({imports:[RE,tR,ER,VK,LH]});var GR=function(){};GR.\u0275fac=function(a){return new (a||GR)};GR.\u0275mod=u({type:GR});GR.\u0275inj=p({imports:[RE,JH,LH]});var HR=function(){};HR.\u0275fac=function(a){return new (a||HR)};HR.\u0275mod=u({type:HR});HR.\u0275inj=p({providers:[{provide:pyc,useValue:XP}],imports:[RE,vR,JH,LH,BM,$M,pR,GR,FR]});var IR=function(){};IR.\u0275fac=function(a){return new (a||IR)};IR.\u0275mod=u({type:IR});IR.\u0275inj=p({imports:[RE]});var oAc={provide:sgc,deps:[ty],useFactory:function(a){return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}},pAc=Uh({passive:!0}),JR=function(a,b,c,d,e,f,h,l,q,v,y,E){var H=this;this._overlay=a;this._elementRef=b;this._scrollDispatcher=c;this._viewContainerRef=d;this._ngZone=e;this._platform=f;this._ariaDescriber=h;this._focusMonitor=l;this._dir=v;this._defaultOptions=y;this._position="below";this._pointerExitEventsInitialized=this._viewInitialized=this._disabled=this._positionAtOrigin=
!1;this._viewportMargin=8;this._cssClassPrefix="mat";this.touchGestures="auto";this._message="";this._passiveListeners=[];this._destroyed=new Jf;this._scrollStrategy=q;this._document=E;y&&(this._showDelay=y.showDelay,this._hideDelay=y.hideDelay,y.position&&(this.position=y.position),y.positionAtOrigin&&(this.positionAtOrigin=y.positionAtOrigin),y.touchGestures&&(this.touchGestures=y.touchGestures));v.change.pipe(Of(this._destroyed)).subscribe(function(){H._overlayRef&&H._updatePosition(H._overlayRef)})};
g=JR.prototype;g.ngAfterViewInit=function(){var a=this;this._viewInitialized=!0;this._setupPointerEnterEventsIfNeeded();this._focusMonitor.monitor(this._elementRef).pipe(Of(this._destroyed)).subscribe(function(b){b?b==="keyboard"&&a._ngZone.run(function(){return a.show()}):a._ngZone.run(function(){return a.hide(0)})})};
g.ngOnDestroy=function(){var a=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout);this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null);this._passiveListeners.forEach(function(b){var c=k(b);b=c.next().value;c=c.next().value;a.removeEventListener(b,c,pAc)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();wx(this._ariaDescriber,a,this.message,"tooltip");this._focusMonitor.stopMonitoring(a)};
g.show=function(a,b){var c=this;a=a===void 0?this.showDelay:a;if(this.disabled||!this.message||this._isTooltipVisible()){var d;(d=this._tooltipInstance)==null||d._cancelPendingAnimations()}else b=this._createOverlay(b),this._detach(),this._portal=this._portal||new my(this._tooltipComponent,this._viewContainerRef),b=this._tooltipInstance=b.attach(this._portal).instance,b._triggerElement=this._elementRef.nativeElement,b._mouseLeaveHideDelay=this._hideDelay,b.afterHidden().pipe(Of(this._destroyed)).subscribe(function(){return c._detach()}),
this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),b.show(a)};g.hide=function(a){a=a===void 0?this.hideDelay:a;var b=this._tooltipInstance;b&&(b.isVisible()?b.hide(a):(b._cancelPendingAnimations(),this._detach()))};g.toggle=function(a){this._isTooltipVisible()?this.hide():this.show(void 0,a)};g._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()};
g._createOverlay=function(a){var b=this;if(this._overlayRef){var c=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!a)&&c._origin instanceof ge)return this._overlayRef;this._detach()}c=W2b(this._scrollDispatcher,this._elementRef);a=d3b(gy(hy(h3b(ky(this._overlay.position(),this.positionAtOrigin?a||this._elementRef:this._elementRef),"."+this._cssClassPrefix+"-tooltip"),!1),this._viewportMargin),c);a.positionChanges.pipe(Of(this._destroyed)).subscribe(function(e){b._updateCurrentPositionClass(e.connectionPair);
b._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&b._tooltipInstance.isVisible()&&b._ngZone.run(function(){return b.hide(0)})});this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:a,panelClass:this._cssClassPrefix+"-tooltip-panel",scrollStrategy:this._scrollStrategy()});this._updatePosition(this._overlayRef);this._overlayRef._detachments.pipe(Of(this._destroyed)).subscribe(function(){return b._detach()});this._overlayRef.outsidePointerEvents().pipe(Of(this._destroyed)).subscribe(function(){var e;
return(e=b._tooltipInstance)==null?void 0:e._handleBodyInteraction()});this._overlayRef.keydownEvents().pipe(Of(this._destroyed)).subscribe(function(e){b._isTooltipVisible()&&e.keyCode===27&&!Yh(e)&&(e.preventDefault(),e.stopPropagation(),b._ngZone.run(function(){return b.hide(0)}))});var d;((d=this._defaultOptions)==null?0:d.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(this._cssClassPrefix+"-tooltip-panel-non-interactive");return this._overlayRef};
g._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach();this._tooltipInstance=null};g._updatePosition=function(a){a=a.getConfig().positionStrategy;var b=this._getOrigin(),c=this._getOverlayPosition();fy(a,[this._addOffset(Object.assign({},b.main,c.main)),this._addOffset(Object.assign({},b.fallback,c.fallback))])};g._addOffset=function(a){return a};
g._getOrigin=function(){var a=!this._dir||this._dir.value=="ltr",b=this.position;if(b=="above"||b=="below")var c={originX:"center",originY:b=="above"?"top":"bottom"};else if(b=="before"||b=="left"&&a||b=="right"&&!a)c={originX:"start",originY:"center"};else if(b=="after"||b=="right"&&a||b=="left"&&!a)c={originX:"end",originY:"center"};a=this._invertPosition(c.originX,c.originY);return{main:c,fallback:{originX:a.x,originY:a.y}}};
g._getOverlayPosition=function(){var a=!this._dir||this._dir.value=="ltr",b=this.position;if(b=="above")var c={overlayX:"center",overlayY:"bottom"};else if(b=="below")c={overlayX:"center",overlayY:"top"};else if(b=="before"||b=="left"&&a||b=="right"&&!a)c={overlayX:"end",overlayY:"center"};else if(b=="after"||b=="right"&&a||b=="left"&&!a)c={overlayX:"start",overlayY:"center"};a=this._invertPosition(c.overlayX,c.overlayY);return{main:c,fallback:{overlayX:a.x,overlayY:a.y}}};
g._updateTooltipMessage=function(){var a=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Cf(),Of(this._destroyed)).subscribe(function(){a._tooltipInstance&&a._overlayRef.updatePosition()}))};g._setTooltipClass=function(a){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=a,this._tooltipInstance._markForCheck())};
g._invertPosition=function(a,b){this.position==="above"||this.position==="below"?b==="top"?b="bottom":b==="bottom"&&(b="top"):a==="end"?a="start":a==="start"&&(a="end");return{x:a,y:b}};
g._updateCurrentPositionClass=function(a){var b=a.overlayY,c=a.originX;a=a.originY;b=b==="center"?this._dir&&this._dir.value==="rtl"?c==="end"?"left":"right":c==="start"?"left":"right":b==="bottom"&&a==="top"?"above":"below";if(b!==this._currentPosition){if(c=this._overlayRef)a=this._cssClassPrefix+"-tooltip-panel-",c.removePanelClass(a+this._currentPosition),c.addPanelClass(a+b);this._currentPosition=b}};
g._setupPointerEnterEventsIfNeeded=function(){var a=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(b){a._setupPointerExitEventsIfNeeded();var c=void 0;b.x!==void 0&&b.y!==void 0&&(c=b);a.show(void 0,c)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(b){var c,d=(b=(c=b.targetTouches)==null?void 0:
c[0])?{x:b.clientX,y:b.clientY}:void 0;a._setupPointerExitEventsIfNeeded();clearTimeout(a._touchstartTimeout);a._touchstartTimeout=setTimeout(function(){return a.show(void 0,d)},500)}])),this._addListeners(this._passiveListeners))};
g._setupPointerExitEventsIfNeeded=function(){var a=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var b=[];if(this._platformSupportsMouseEvents())b.push(["mouseleave",function(d){d=d.relatedTarget;var e;d&&((e=a._overlayRef)==null?0:e.overlayElement.contains(d))||a.hide()}],["wheel",function(d){return a._wheelListener(d)}]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();var c=function(){clearTimeout(a._touchstartTimeout);a.hide(a._defaultOptions.touchendHideDelay)};
b.push(["touchend",c],["touchcancel",c])}this._addListeners(b);this._passiveListeners.push.apply(this._passiveListeners,w(b))}};g._addListeners=function(a){var b=this;a.forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;b._elementRef.nativeElement.addEventListener(c,d,pAc)})};g._platformSupportsMouseEvents=function(){return!this._platform.IOS&&!this._platform.ANDROID};
g._wheelListener=function(a){if(this._isTooltipVisible()){a=this._document.elementFromPoint(a.clientX,a.clientY);var b=this._elementRef.nativeElement;a===b||b.contains(a)||this.hide()}};
g._disableNativeGesturesIfNecessary=function(){var a=this.touchGestures;if(a!=="off"){var b=this._elementRef.nativeElement,c=b.style;if(a==="on"||b.nodeName!=="INPUT"&&b.nodeName!=="TEXTAREA")c.userSelect=c.msUserSelect=c.webkitUserSelect=c.MozUserSelect="none";a!=="on"&&b.draggable||(c.webkitUserDrag="none");c.touchAction="none";c.webkitTapHighlightColor="transparent"}};
ea.Object.defineProperties(JR.prototype,{position:{configurable:!0,enumerable:!0,get:function(){return this._position},set:function(a){if(a!==this._position&&(this._position=a,this._overlayRef)){this._updatePosition(this._overlayRef);var b;(b=this._tooltipInstance)==null||b.show(0);this._overlayRef.updatePosition()}}},positionAtOrigin:{configurable:!0,enumerable:!0,get:function(){return this._positionAtOrigin},set:function(a){this._positionAtOrigin=$h(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=$h(a))?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=ci(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=ci(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},message:{configurable:!0,enumerable:!0,
get:function(){return this._message},set:function(a){var b=this;wx(this._ariaDescriber,this._elementRef.nativeElement,this._message,"tooltip");this._message=a!=null?String(a).trim():"";!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){vx(b._ariaDescriber,b._elementRef.nativeElement,b.message,"tooltip")})}))}},tooltipClass:{configurable:!0,enumerable:!0,
get:function(){return this._tooltipClass},set:function(a){this._tooltipClass=a;this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}}});JR.\u0275fac=function(){qia()};
JR.\u0275dir=ud({type:JR,inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]}});
var KR=function(a,b){this._changeDetectorRef=a;this._isVisible=this._closeOnInteraction=!1;this._onHide=new Jf;this._animationsDisabled=b==="NoopAnimations"};g=KR.prototype;g.show=function(a){var b=this;this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId);this._showTimeoutId=setTimeout(function(){b._toggleVisibility(!0);b._showTimeoutId=void 0},a)};
g.hide=function(a){var b=this;this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId);this._hideTimeoutId=setTimeout(function(){b._toggleVisibility(!1);b._hideTimeoutId=void 0},a)};g.afterHidden=function(){return this._onHide};g.isVisible=function(){return this._isVisible};g.ngOnDestroy=function(){this._cancelPendingAnimations();this._onHide.complete();this._triggerElement=null};g._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)};g._markForCheck=function(){this._changeDetectorRef.markForCheck()};
g._handleMouseLeave=function(a){(a=a.relatedTarget)&&this._triggerElement.contains(a)||(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))};g._onShow=function(){};g._handleAnimationEnd=function(a){a=a.animationName;a!==this._showAnimation&&a!==this._hideAnimation||this._finalizeAnimation(a===this._showAnimation)};
g._cancelPendingAnimations=function(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId);this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId);this._showTimeoutId=this._hideTimeoutId=void 0};g._finalizeAnimation=function(a){a?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()};
g._toggleVisibility=function(a){var b=this._tooltip.nativeElement,c=this._showAnimation,d=this._hideAnimation;b.classList.remove(a?d:c);b.classList.add(a?c:d);(this._isVisible=a)&&!this._animationsDisabled&&typeof getComputedStyle==="function"&&(c=getComputedStyle(b),c.getPropertyValue("animation-duration")==="0s"||c.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0);a&&this._onShow();this._animationsDisabled&&(b.classList.add("_mat-animation-noopable"),this._finalizeAnimation(a))};
KR.\u0275fac=function(a){return new (a||KR)(af(rw),af(Zv,8))};KR.\u0275dir=ud({type:KR});var qAc=["tooltip"],MR=function(a,b,c,d,e,f,h,l,q,v,y,E){JR.call(this,a,b,c,d,e,f,h,l,q,v,y,E);this._tooltipComponent=LR};Y(MR,JR);MR.\u0275fac=function(a){return new (a||MR)(af(ty),af(ge),af(Ux),af(Kg),af(hh),af(Xw),af(ux),af(ax),af(sgc),af(Jx,8),af(ugc,8),af(ei))};MR.\u0275dir=ud({type:MR,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&ng("mat-tooltip-disabled",b.disabled)},exportAs:["matTooltip"],features:[cg]});
var LR=function(a,b,c){KR.call(this,a,c);this._showAnimation="mat-tooltip-show";this._hideAnimation="mat-tooltip-hide";this._isHandset=b.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")};Y(LR,KR);LR.\u0275dir=KR.\u0275dir;LR.\u0275fac=function(a){return new (a||LR)(af(rw),af(mx),af(Zv,8))};
LR.\u0275cmp=t({type:LR,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&Mg(qAc,7);if(a&2){var c;Qg(c=Rg())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&1&&M("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&(eg("mat-id-collision",null),mg("zoom",b.isVisible()?1:null))},features:[cg],decls:4,vars:6,consts:[["tooltip",""],[1,"mat-tooltip",3,"animationend","ngClass"]],template:function(a,b){if(a&1){var c=x();I(0,"div",
1,0);S(2,"async");M("animationend",function(e){z(c);return A(b._handleAnimationEnd(e))});Q(3);J()}if(a&2){var d;ng("mat-tooltip-handset",(d=U(2,4,b._isHandset))==null?null:d.matches);F("ngClass",b.tooltipClass);C(3);Tg(b.message)}},dependencies:[Ew,Iw],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;-webkit-transform:scale(0);transform:scale(0)}.mat-tooltip._mat-animation-noopable{-webkit-animation:none;animation:none;-webkit-transform:scale(1);transform:scale(1)}@media (forced-colors:active){.mat-tooltip{outline:1px solid}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@-webkit-keyframes mat-tooltip-show{0%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}50%{opacity:.5;-webkit-transform:scale(.99);transform:scale(.99)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes mat-tooltip-show{0%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}50%{opacity:.5;-webkit-transform:scale(.99);transform:scale(.99)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes mat-tooltip-hide{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(1);transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(1);transform:scale(1)}}.mat-tooltip-show{-webkit-animation:mat-tooltip-show .2s cubic-bezier(0,0,.2,1) forwards;animation:mat-tooltip-show .2s cubic-bezier(0,0,.2,1) forwards}.mat-tooltip-hide{-webkit-animation:mat-tooltip-hide .1s cubic-bezier(0,0,.2,1) forwards;animation:mat-tooltip-hide .1s cubic-bezier(0,0,.2,1) forwards}"],
encapsulation:2,changeDetection:0});var NR=function(){};NR.\u0275fac=function(a){return new (a||NR)};NR.\u0275mod=u({type:NR});NR.\u0275inj=p({providers:[oAc],imports:[tx,Qw,xy,yy,yy,Zx]});var OR=function(){};OR.\u0275fac=function(a){return new (a||OR)};OR.\u0275mod=u({type:OR});OR.\u0275inj=p({imports:[Qw,xy,sy,UK,NR,tx,aK]});var PR=function(){};PR.\u0275fac=function(a){return new (a||PR)};PR.\u0275mod=u({type:PR});PR.\u0275inj=p({imports:[tx,RE,aI,JH,LH,OR]});var QR=function(){var a=this;this.componentFridge=r(AC);this.trackerHelpers=r(yL);this.componentId$=new If(1);this.isLoaded$=this.componentId$.pipe(B(function(b){return!!b}));this.component$=this.componentId$.pipe(Nf(function(b){return a.componentFridge.watch(b)}));this.componentName$=Me([this.componentId$,this.component$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return c==null?b.toString():(b=Nu(a.trackerHelpers,c.componentPathInfo))&&b.componentPathName?b.componentPathName[b.componentPathName.length-
1].toString():""}))};ea.Object.defineProperties(QR.prototype,{issue:{configurable:!0,enumerable:!0,set:function(a){a!==null&&(a=hj(a==null?void 0:a.snapshot[0].componentId),a!==void 0&&this.componentId$.next(a))}}});QR.\u0275fac=function(a){return new (a||QR)};
QR.\u0275cmp=t({type:QR,selectors:[["b-issue-component-name-cell"]],inputs:{issue:"issue"},decls:4,vars:6,consts:[[3,"isReady"],[1,"nowrap","overflow-ellipsis",3,"matTooltip"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",0),S(1,"async"),D(2,vVa,2,2,"span",1),S(3,"async"),J());if(a&2){var c;F("isReady",U(1,2,b.isLoaded$));C(2);G((c=U(3,4,b.componentName$))?2:-1,c)}},dependencies:[hP,FH,HH,Iw],encapsulation:2,changeDetection:0});var RR=function(){this.issue=null;this.isDataLoaded=!1};RR.prototype.ngOnChanges=function(){var a;this.reporter=rKa(Ui((a=this.issue)==null?void 0:a.snapshot[0].reporterUser)||void 0);this.isDataLoaded=this.issue!==null};RR.\u0275fac=function(a){return new (a||RR)};
RR.\u0275cmp=t({type:RR,selectors:[["b-issue-reporter-cell"]],inputs:{issue:"issue"},features:[Hd],decls:3,vars:2,consts:[[3,"isReady"],[3,"email"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",0),D(1,wVa,2,2,"b-person-hovercard",1)(2,xVa,2,0,"ng-container"),J());a&2&&(F("isReady",b.isDataLoaded),C(),G(b.reporter?1:2))},dependencies:[hP,HK],encapsulation:2,changeDetection:0});var rAc=["theInput"],SR=function(){this.placeholder=this.value="";this.readonly=!1;this.autoFocus=!0;this.valueChange=new rG;this.commit=new rG};SR.prototype.ngAfterViewInit=function(){this.autoFocus&&this.input.nativeElement.focus()};SR.\u0275fac=function(a){return new (a||SR)};
SR.\u0275cmp=t({type:SR,selectors:[["b-text-input-cell"]],viewQuery:function(a,b){a&1&&Mg(rAc,5);if(a&2){var c;Qg(c=Rg())&&(b.input=c.first)}},inputs:{value:"value",placeholder:"placeholder",readonly:"readonly",autoFocus:"autoFocus"},outputs:{valueChange:"valueChange",commit:"commit"},decls:2,vars:7,consts:[["theInput",""],["type","text",3,"keydown.enter","ngModelChange","placeholder","disabled","ngModel"]],template:function(a,b){if(a&1){var c=x();I(0,"input",1,0);M("keydown.enter",function(d){z(c);
b.readonly||b.commit.emit(d);return A()})("ngModelChange",function(d){z(c);return A(b.valueChange.emit(d))});J()}a&2&&(ng("readonly",b.readonly)("override",b.readonly),F("placeholder",b.placeholder)("disabled",b.readonly)("ngModel",b.value))},dependencies:[ki,tz,Bz],styles:["input[_ngcontent-%COMP%] {\n      margin-left: 2px;\n      width: 100%;\n    }\n    input[disabled][_ngcontent-%COMP%] {\n      background-color: unset;\n      color: unset;\n      border-color: transparent;\n      padding-left: 8px;\n    }"],
changeDetection:0});var TR=function(){};TR.\u0275fac=function(a){return new (a||TR)};TR.\u0275mod=u({type:TR});TR.\u0275inj=p({imports:[RE,VK,JH]});var UR=function(){};UR.\u0275fac=function(a){return new (a||UR)};UR.\u0275mod=u({type:UR});UR.\u0275inj=p({imports:[RE]});var VR=function(){};VR.\u0275fac=function(a){return new (a||VR)};VR.\u0275mod=u({type:VR});VR.\u0275inj=p({imports:[UR,gM,RE,$M,Qz,JH,LH,VK,AM,HR,PR,IR,WK,DN,TR,eR,BM]});var WR=function(){};WR.\u0275fac=function(a){return new (a||WR)};WR.\u0275mod=u({type:WR});WR.\u0275inj=p({imports:[RE]});var YR=function(){};YR.\u0275fac=function(a){return new (a||YR)};YR.\u0275mod=u({type:YR});YR.\u0275inj=p({providers:[Ey,{provide:rzc,useValue:{separatorKeyCodes:[13]}}],imports:[yy,Ny,yy]});var ZR=function(){};ZR.\u0275fac=function(a){return new (a||ZR)};ZR.\u0275mod=u({type:ZR});ZR.\u0275inj=p({imports:[YR]});var $R=function(){};$R.\u0275fac=function(a){return new (a||$R)};$R.\u0275mod=u({type:$R});$R.\u0275inj=p({imports:[yy,MQ,yy]});var aS=function(){};aS.\u0275fac=function(a){return new (a||aS)};aS.\u0275mod=u({type:aS});aS.\u0275inj=p({imports:[$R]});var bS=function(){};bS.\u0275fac=function(a){return new (a||bS)};bS.\u0275mod=u({type:bS});bS.\u0275inj=p({imports:[RE,ZR,aP,VR,JH,ML,EI,bP,mR,aS,LH,LO,cQ,WR]});var cS=function(){this.issuesApi=r(uD)};cS.prototype.get=function(a){return this.issuesApi.getRelatedIssues({resourceType:a.resourceType===void 0?null:a.resourceType,resourceId:a.resourceId===void 0?null:a.resourceId,q:a.query,trackerId:a.trackerId===void 0?null:a.trackerId,s:a.sort===void 0?null:a.sort,count:a.count===void 0?null:a.count,p:a.page===void 0?null:a.page})};cS.\u0275fac=function(a){return new (a||cS)};cS.\u0275prov=n({token:cS,factory:cS.\u0275fac,providedIn:"root"});var dS=function(){Z.apply(this,arguments);var a=this;this.cdr=r(sG,{self:!0});this.paths=r(zO);this.issueFullFridge=r(yG);this.relatedIssues=r(cS);this.errorHandler=r(jE);this.domSafe=r(mM);this.activeSession=r(dv);this.STATUS_ICON=V7b;this.entrySelect=new rG;this.selectedIssues=[];this.asyncChoices=[];this.choices=[];this.currentQuery="";this.hasLoadedResults=!0;this.searchingForSelf=!1;this.queryInternal="";this.queryChange=new rG;this.getTextToPutInInputOnSelect=function(){return a.query}};
Y(dS,Z);dS.\u0275dir=Z.\u0275dir;dS.prototype.ngOnInit=function(){var a=this;this.queryChange.pipe(Af(250),Of(this.destroyed$)).subscribe(function(b){a.doSearch(b)})};dS.prototype.ngOnChanges=function(a){a.defaultChoices&&(this.choices=[].concat(w(this.defaultChoices),w(this.asyncChoices)))};dS.prototype.selectIssue=function(a){sAc(this,[a])};
var uAc=function(a){var b=a.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});if(tAc(b))return b;b=a;a.startsWith("b/")?b=a.substring(2):a.startsWith("http://b/")&&(b=a.substring(9));return Xt(b)?[b]:[]},tAc=function(a){return!a.some(function(b){return!Xt(b)})};dS.prototype.search=function(a){typeof a==="string"&&(this.query=a)};
dS.prototype.doSearch=function(a){this.currentQuery=a;this.searchingForSelf=!1;if(a==="")vAc(this);else{var b=uAc(a);b.length===1||b.length>1&&this.allowMultipleIds?(this.lastSearchType="id",wAc(this,b,a)):(this.lastSearchType="query",xAc(this,a))}};
var vAc=function(a){a.choices=a.defaultChoices;a.asyncChoices=[];a.hasLoadedResults=!0;sAc(a,[])},sAc=function(a,b){a.selectedIssues=b;a.entrySelect.emit(a.selectedIssues);var c;(c=a.autocomplete)==null||kAb(c)},wAc=function(a,b,c){var d;((d=a.currentResource)==null?void 0:d.type)==="issue"&&b.length===1&&b[0]===a.currentResource.id?(a.searchingForSelf=!0,vAc(a)):(a.choices=yAc(a,b),a.hasLoadedResults=!1,a.issueFullFridge.watchSet(b).pipe(Cf(),Of(a.destroyed$)).subscribe(function(e){if(a.currentQuery===
c){var f=e.reduce(function(h,l){var q=La(l.snapshot);return h.set(l.issueId,{resourceId:l.issueId,displayText:q.title,status:q.status,relations:[]})},new Map);Iba(b);e=b.map(function(h){return f.get(h)});e.includes(void 0)?a.asyncChoices=[]:a.asyncChoices=e;a.choices=[].concat(w(a.choices),w(a.asyncChoices));sAc(a,a.asyncChoices);a.hasLoadedResults=!0;a.cdr.detectChanges()}},function(){a.asyncChoices=[];a.hasLoadedResults=!0;a.cdr.detectChanges()}))},xAc=function(a,b){a.choices=zAc(a,b);a.hasLoadedResults=
!1;if(iu(b))a.hasLoadedResults=!0;else{var c=AAc(b,a.defaultChoices),d,e,f;a.relatedIssues.get({query:c,trackerId:(d=a.activeSession.getTracker())==null?void 0:d.trackerId,resourceType:(e=a.currentResource)==null?void 0:e.type,resourceId:hj((f=a.currentResource)==null?void 0:f.id),nonParallelRequest:!0}).then(function(h){a.currentQuery===b&&(h=h.issueDigests.map(function(l){return{resourceId:l.issueId,displayText:l.title,status:l.status,relations:[]}}),a.choices=[].concat(w(a.choices),w(h)),a.cdr.detectChanges())},
function(h){a.errorHandler.errorHandler(null,h)}).finally(function(){a.hasLoadedResults=!0})}},yAc=function(a,b){return a.defaultChoices.filter(function(c){return c.resourceId.toString().startsWith(b[0])})},zAc=function(a,b){return iu(b)?a.defaultChoices:a.defaultChoices.filter(function(c){return c.displayText.toLowerCase().startsWith(b.toLowerCase())})};dS.prototype.getIssueLink=function(a){return wq(a.resourceId)};
var DVa=function(a){return a.relations.map(function(b){return BAc.get(b)}).filter(function(b){return!!b}).join("/")},AAc=function(a,b){if(b.length===0)return a;b=b.map(function(c){return c.resourceId}).join("|");return a+" -id:("+b+")"};dS.prototype.onEnter=function(a){var b;((b=this.autocomplete)==null?0:b.panelOpen)&&a.stopPropagation()};ea.Object.defineProperties(dS.prototype,{query:{configurable:!0,enumerable:!0,get:function(){return this.queryInternal},set:function(a){this.queryInternal=a;this.queryChange.emit(a)}}});
dS.\u0275fac=function(){var a;return function(b){return(a||(a=de(dS)))(b||dS)}}();
dS.\u0275cmp=t({type:dS,selectors:[["b-simple-issue-picker"]],viewQuery:function(a,b){a&1&&Mg(sN,5);if(a&2){var c;Qg(c=Rg())&&(b.autocomplete=c.first)}},inputs:{defaultChoices:"defaultChoices",currentResource:"currentResource",allowMultipleIds:"allowMultipleIds"},outputs:{entrySelect:"entrySelect",queryChange:"queryChange"},features:[Yg([cS,sG]),cg,Hd],decls:10,vars:7,consts:[["auto","matAutocomplete"],["issueHovercard","onedevHovercard"],["cardBody",""],[1,"bv2-issue-picker"],[1,"bv2-resource-picker",
"bv2-picker"],["type","text","placeholder","Type issue ID or search query...","autocomplete","off","spellcheck","false","aria-autocomplete","list","role","combobox","autofocus","autofocus","cdkFocusInitial","",1,"bv2-resource-picker-input",3,"ngModelChange","keydown.enter","keydown.alt.arrowright","ngModel","matAutocomplete"],[1,"issue-picker","base-resource-picker",3,"optionActivated","optionSelected","displayWith"],["disabled",""],["disabled","",1,"bv2-resource-picker-message"],[1,"bv2-resource-picker-item",
"bv2-issue-picker-item",3,"value"],[1,"bv2-issue-picker-message"],[1,"spinner-container"],[3,"large"],["role","region","tabindex","0"],[1,"icon-s","margin-none",3,"svgIcon"],[1,"bv2-issue-picker-issue-id",3,"title"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],["mat-icon-button","","aria-label","Go to issue page.","data-stable","issue-pop-out","target","_blank",1,"small","bv2-issue-picker-pop-out",3,"click","onedevHovercardTrigger","href"],["svgIcon","pop-out",1,"icon-s"],[1,
"bv2-issue-picker-relations"],[1,"bv2-issue-picker-description",3,"title","innerHTML"],[3,"onedevIsHovercardReady","issueId"]],template:function(a,b){if(a&1){var c=x();I(0,"div",3);D(1,yVa,3,0,"div");I(2,"div",4)(3,"input",5);M("ngModelChange",function(d){z(c);return A(b.search(d))})("keydown.enter",function(d){z(c);return A(b.onEnter(d))})("keydown.alt.arrowright",function(){z(c);b.activeChoice&&b.domSafe.openInNewTab(b.getIssueLink(b.activeChoice));return A()});J();I(4,"mat-autocomplete",6,0);M("optionActivated",
function(d){z(c);b.activeChoice=d.option==null?null:d.option.value;return A()})("optionSelected",function(d){z(c);return A(b.selectIssue(d.option.value))});D(6,zVa,3,1,"mat-option",7)(7,AVa,2,0,"mat-option",8);tg(8,EVa,14,13,"mat-option",9,sg);J()()()}a&2&&(a=L(5),C(),G(b.searchingForSelf?1:-1),C(2),F("ngModel",b.query)("matAutocomplete",a),eg("aria-label",b.selectedIssues.length>0?"issue "+b.selectedIssues[0].resourceId+" selected. Change.":"Choose issue"),C(),F("displayWith",b.getTextToPutInInputOnSelect),
C(2),G(b.query===""||b.hasLoadedResults?-1:6),C(),G(b.query!==""&&b.hasLoadedResults&&b.choices.length===0?7:-1),C(),ug(b.choices))},dependencies:[$D,ki,tz,Bz,bK,cK,hK,dK,XP,pN,rN,My,sN,vD,Yy,JO,cM],styles:['b-simple-issue-picker input{width:450px}b-simple-issue-picker .bv2-issue-picker-message{color:#c5221f;color:var(--text-bad);padding:5px;text-align:center}.mat-mdc-autocomplete-panel.issue-picker{max-height:400px;width:450px}.mat-mdc-autocomplete-panel.issue-picker .mat-mdc-option{font-size:inherit;line-height:inherit;white-space:inherit;height:auto;min-height:40px;padding:10px}.mat-mdc-autocomplete-panel.issue-picker .mat-mdc-option .mdc-list-item__primary-text{flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-mdc-autocomplete-panel.issue-picker .bv2-resource-picker-item{cursor:pointer;padding:10px}.mat-mdc-autocomplete-panel.issue-picker .bv2-resource-picker-item:hover,.mat-mdc-autocomplete-panel.issue-picker .bv2-resource-picker-item.selected{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.mat-mdc-autocomplete-panel.issue-picker .bv2-resource-picker-message{color:#5f6368;color:var(--muted);padding:5px;text-align:center}.mat-mdc-autocomplete-panel.issue-picker .mat-icon.margin-none{vertical-align:bottom}.mat-mdc-autocomplete-panel.issue-picker .margin-none{margin:0}.mat-mdc-autocomplete-panel.issue-picker .bv2-issue-picker-relations{color:#5f6368;color:var(--muted);float:right;font-style:italic}.mat-mdc-autocomplete-panel.issue-picker .bv2-issue-picker-issue-id{margin-left:5px;opacity:.8}.mat-mdc-autocomplete-panel.issue-picker .bv2-issue-picker-description{margin-left:20px}.mat-mdc-autocomplete-panel.issue-picker .bv2-issue-picker-pop-out{float:right;visibility:hidden}.mat-mdc-autocomplete-panel.issue-picker .bv2-resource-picker-item:hover .bv2-issue-picker-pop-out,.mat-mdc-autocomplete-panel.issue-picker .bv2-resource-picker-item.selected .bv2-issue-picker-pop-out{visibility:visible}.mat-mdc-autocomplete-panel.issue-picker .spinner-container{height:40px}[mat-dialog-content] .bv2-rel-issue-bubble-issue-picker{padding-bottom:5px}[mat-dialog-content] .bv2-rel-issue-id-link{margin-left:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[mat-dialog-content] .bv2-rel-issue-title-link span{display:inline-block}[mat-dialog-content] .bv2-rel-issue-title-link span.bv2-rel-issue-title-link-txt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:350px;vertical-align:middle;text-decoration:underline}[mat-dialog-content] .bv2-rel-issue-error{color:#c5221f;color:var(--bad-text)}[mat-dialog-content] .bv2-rel-issue-narrow-to-component{color:#1a73e8;color:var(--text-primary);float:left;height:32px;margin-top:7px;width:28px}[mat-dialog-content] .bv2-rel-issue-issue-picker{float:left;margin-top:10px;vertical-align:top}[mat-dialog-content] .bv2-rel-issue-text{float:left;width:370px}[mat-dialog-content] .bv2-rel-issue-apply-button{float:right}[mat-dialog-content] .bv2-rel-issue-preview-link{float:left;margin:0px}[mat-dialog-content] .bv2-rel-issue-row,[mat-dialog-content] .bv2-rel-issue-issue-picker-full-width{width:475px}[mat-dialog-content] .bv2-rel-issue-search{margin-top:10px;clear:both}[mat-dialog-content] .bv2-narrow-search-comp-btn{background:no-repeat url("https://www.gstatic.com/buganizer/img/v0/filter.png");background-position:center center;background-size:20px 16px;cursor:pointer;display:inline-block;height:25px;opacity:.8;vertical-align:middle;width:25px}[mat-dialog-content] .bv2-narrow-search-comp-btn[aria-checked=true]{opacity:.2}\n'],
encapsulation:2});var BAc=new Map([["BLOCKED_BY","blocked"],["BLOCKING","blocking"],["DUPLICATE","duplicate"]]);var eS=function(){this.dialogRef=r(dL);this.params=r(OL);this.DEFAULTS={title:"Select an issue.",defaultChoices:[],allowMultipleIds:!1};this.originalData=r(jL);this.data=Object.assign({},this.DEFAULTS,this.originalData);this.queryRestriction=this.data.componentId?"componentid:"+this.data.componentId+"+":"";this.isQueryRestricted=!1;this.selectedIssues=[]},IVa=function(a){if(a.queryRestriction!==""&&a.issuePicker!=null){var b=a.issuePicker.query;a.issuePicker.query=a.isQueryRestricted?b.replace(new RegExp(cq(a.queryRestriction)+
" ?"),""):a.queryRestriction+" "+b}};g=eS.prototype;g.onQueryChange=function(a){this.isQueryRestricted=this.queryRestriction!==""&&a.includes(this.queryRestriction)};g.onEnter=function(){if(this.selectedIssues.length!==0)this.onPressConfirm()};g.onEscape=function(){this.dialogRef.close()};g.onPressConfirm=function(){var a,b={selectedIssueIds:this.selectedIssues.map(function(c){return c.resourceId}),lastSearchType:(a=this.issuePicker)==null?void 0:a.lastSearchType};this.dialogRef.close(b)};
g.onPressCancel=function(){this.dialogRef.close()};eS.\u0275fac=function(a){return new (a||eS)};
eS.\u0275cmp=t({type:eS,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&Mg(dS,5);if(a&2){var c;Qg(c=Rg())&&(b.issuePicker=c.first)}},hostBindings:function(a,b){a&1&&M("keydown.escape",function(){return b.onEscape()})},decls:15,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"bv2-rel-issue-text"],[1,"bv2-rel-issue-preview-link"],[1,"bv2-rel-issue-search"],[1,"bv2-rel-issue-bubble-issue-picker"],[1,"bv2-rel-issue-narrow-to-component"],[1,"bv2-rel-issue-issue-picker",3,
"keydown.enter","entrySelect","queryChange","defaultChoices","currentResource","allowMultipleIds"],["mat-dialog-actions",""],["mat-button","",1,"medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"medium","confirm",3,"click","disabled"],["target","_blank",1,"bv2-rel-issue-id-link",3,"href"],["target","_blank",1,"keep-underline","bv2-rel-issue-title-link",3,"href"],[1,"bv2-rel-issue-title-link-txt"],["svgIcon","pop-out",1,"icon-xs"],["role","checkbox","tabindex","0","aria-label",
"Include subcomponents",1,"bv2-narrow-search-comp-btn","keep-focus-ring",3,"click","keyup.space","matTooltip"]],template:function(a,b){a&1&&(I(0,"h2",0),Q(1),J(),I(2,"div",1)(3,"div",2),D(4,GVa,3,0,"div",3)(5,HVa,6,3,"div",3),J(),I(6,"div",4)(7,"div",5),D(8,JVa,2,2,"div",6),I(9,"b-simple-issue-picker",7),M("keydown.enter",function(){return b.onEnter()})("entrySelect",function(c){b.selectedIssues=c})("queryChange",function(c){return b.onQueryChange(c)}),J()()()(),I(10,"div",8)(11,"button",9),M("click",
function(){return b.onPressCancel()}),Q(12," Cancel "),J(),I(13,"button",10),M("click",function(){return b.onPressConfirm()}),Q(14," Confirm "),J()());a&2&&(C(),R(" ",b.data.title,"\n"),C(3),G(b.selectedIssues.length>1?4:-1),C(),G(b.selectedIssues.length===1?5:-1),C(3),G(b.queryRestriction?8:-1),C(),ng("bv2-rel-issue-issue-picker-full-width",!!b.queryRestriction),F("defaultChoices",b.data.defaultChoices)("currentResource",b.data.currentResource)("allowMultipleIds",b.data.allowMultipleIds),C(4),F("disabled",
!b.selectedIssues.length))},dependencies:[$D,vD,Vy,nL,pL,oL,FH,HH,dS],encapsulation:2});var fS=function(){};fS.\u0275fac=function(a){return new (a||fS)};fS.\u0275mod=u({type:fS});fS.\u0275inj=p({imports:[gM,RE,Qz,VK,HR,wN,JH,ML,LH,LO]});var CAc=new Bd("XapHatsSurveyApiKey"),DAc=new Bd("XapHatsSurveyLocale"),EAc=new Bd("XapHatsSurveyWindow"),FAc=new Bd("XapHatsSurveyListnrProductId");var GAc=new Map([[0,1],[1,2]]),HAc={anchor:1,verticalMargin:0,horizontalMargin:0},gS=function(a,b,c,d,e){var f=function(){var h={apiKey:a,locale:c!=null?c:"en-US",window:d};h=P6b(V6b,"help.service.Lazy.create",b,{apiKey:h.apiKey||h.apiKey,asxUiUri:h.asxUiUri||h.asxUiUri,environment:h.environment||h.environment,flow:h.flow||h.flow,frdProductData:h.frdProductData||h.frdProductData,frdProductDataSerializedJspb:h.frdProductDataSerializedJspb||h.frdProductDataSerializedJspb,helpCenterPath:h.helpCenterPath||
h.helpCenterPath,locale:h.locale||h.locale||"en-US".replace(/-/g,"_"),nonce:h.nonce||h.nonce,productData:h.productData||h.productData,receiverUri:h.receiverUri||h.receiverUri,renderApiUri:h.renderApiUri||h.renderApiUri,theme:h.theme||h.theme,window:h.window||h.window});return new U6b(h)};this.helpService=e?e.runOutsideAngular(f):f()},IAc=function(a,b){var c=c===void 0?{}:c;var d=d===void 0?{}:d;var e=d.anonymous?void 0:d.authUser||0;return(new re(function(f){a.helpService.requestSurvey({triggerId:b,
enableTestingMode:d.enableTestingMode,enableFeedback1pEndpoint:d.enableFeedback1pEndpoint,nonProd:d.nonProd,callback:function(h){h.surveyData!=null&&f.next(h.surveyData);f.complete()},authuser:e})})).pipe(Nf(function(f){return new re(function(h){var l;a.helpService.presentSurvey({surveyData:f,colorScheme:d.theme?GAc.get(d.theme):1,authuser:e,customZIndex:(l=d.zIndex)!=null?l:1E4,customLogoUrl:d.customLogoUrl,productData:c,listener:{surveyClosed:function(){h.complete()},surveyPositioning:function(){return Object.assign({},
HAc,d.placement)}}});h.next(f.surveyMetadata)})}))};gS.\u0275fac=function(a){return new (a||gS)(md(CAc),md(FAc),md(DAc,8),md(EAc,8),md(hh,8))};gS.\u0275prov=n({token:gS,factory:gS.\u0275fac,providedIn:"root"});var hS=function(){this.dialog=r(kL);this.analytics=r(wG);this.hatsService=r(gS);this.activeSession=r(dv)};
hS.prototype.open=function(a,b){var c=this,d=JAc(a),e=d.dialog,f=d.config;return new Promise(function(h){eL(c.dialog.open(e,f)).subscribe(function(l){var q,v=(q=l==null?void 0:l.selectedIssueIds)!=null?q:[],y;l=(y=l==null?void 0:l.lastSearchType)!=null?y:"";y=[a.originIsBulk?"bulk":void 0,v.length>1?"search-multi":"search",a.edgeType].filter(Boolean).join("-");c.analytics.trackEvent("issuePicker",y,l);b==null||b(v);h(v);c.activeSession.isInternalSession()&&l==="id"&&IAc(c.hatsService,"etC5mMepi0g6pPHSLo10TaNs15gn").pipe(Cf()).subscribe()})})};
var JAc=function(a){var b={panelClass:"no-jitter",data:a};return a.edgeType==="canonical"?(b.width="60vw",b.minWidth="800px",{dialog:cR,config:b}):{dialog:eS,config:b}};hS.\u0275fac=function(a){return new (a||hS)};hS.\u0275prov=n({token:hS,factory:hS.\u0275fac,providedIn:"root"});var iS=function(){};iS.\u0275fac=function(a){return new (a||iS)};iS.\u0275mod=u({type:iS});iS.\u0275inj=p({imports:[fS,bS]});var jS=function(a){this.internalArray_=m(a)};Y(jS,V);jS.prototype.getContentJudgement=function(){return W(this,ol,1)};jS.prototype.setContentJudgement=function(a){return X(this,ol,1,a)};var kS=function(a){this.internalArray_=m(a)};Y(kS,V);kS.prototype.getContentJudgement=function(){return W(this,ol,1)};kS.prototype.setContentJudgement=function(a){return X(this,ol,1,a)};var lS=function(a){this.internalArray_=m(a,0,lS.messageId)};Y(lS,V);lS.prototype.getIt=function(){return W(this,jS,4)};lS.prototype.setIt=function(a){return X(this,jS,4,a)};lS.messageId="b.CreateContentJudgementRequest";var KAc=function(a){this.internalArray_=m(a)};Y(KAc,V);var mS=function(a){this.internalArray_=m(a,0,mS.messageId)};Y(mS,V);mS.prototype.getIt=function(){return W(this,KAc,2)};mS.prototype.setIt=function(a){return X(this,KAc,2,a)};mS.messageId="b.ListContentJudgementsResponse";var nS=function(a){this.internalArray_=m(a,0,nS.messageId)};Y(nS,V);nS.prototype.getIt=function(){return W(this,kS,2)};nS.prototype.setIt=function(a){return X(this,kS,2,a)};nS.messageId="b.UpdateContentJudgementRequest";var oS=function(){this.executor=r(OB)};oS.prototype.create=function(a,b,c){var d=new lS,e=d.setIt,f=new jS,h=f.setContentJudgement;a=ej(Qua({resourcePath:a,severity:b,judgementReason:c,contentJudgementId:void 0,contentJudge:""}),5,2);a=ej(a,6,2);d=e.call(d,h.call(f,a));return this.executor.post({url:"action/content_judgements",body:d,responseConstructor:$p}).pipe(B(hJa))};
oS.prototype.update=function(a){var b=ej(Qua(a),5,2);b=Zp(b,8);b=(new nS).setIt((new kS).setContentJudgement(b));return this.executor.post({url:"action/content_judgements/"+a.contentJudgementId,body:b,responseConstructor:$p}).pipe(B(hJa))};oS.prototype.list=function(a){return this.executor.get({url:"action/content_judgements",options:{params:{resource_path:a}},responseConstructor:mS}).pipe(B(function(b){b=b.getIt();return nj(b,ol,1,Wi()).map(Rua)}))};oS.\u0275fac=function(a){return new (a||oS)};
oS.\u0275prov=n({token:oS,factory:oS.\u0275fac,providedIn:"root"});var qS=function(){var a=this;this.dialogRef=r(dL);this.documentationLinks=r(cL);this.contentJudgements=r(oS);this.activeSession=r(dv);this.data=r(jL);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.RestrictionSeverity=r7b;this.loaded=!1;this.minimumSeverity="RESTRICTION_SEVERITY_UNSPECIFIED";this.severity="NONE_DETECTED";var b=this.contentJudgements,c=this.data;this.severity=c.severity;c.resourcePath?b.list(c.resourcePath).subscribe(function(d){var e="RESTRICTION_SEVERITY_UNSPECIFIED";
d=k(d);for(var f=d.next();!f.done;f=d.next())f=f.value,f.contentJudge===a.activeSession.getUserEmail()?LAc(a,f):pS(f.severity,e)&&(e=f.severity);a.minimumSeverity=e;pS(a.minimumSeverity,a.severity)&&(a.severity=a.minimumSeverity);a.loaded=!0}):(LAc(this,c.contentJudgement),this.loaded=!0)};qS.prototype.canInteract=function(){return this.loaded&&(this.data.hasAclToCreate||!!this.judgement)};
var pS=function(a,b){return KVa(a)>KVa(b)},LAc=function(a,b){if(a.judgement=b)a.severity=b.severity},MAc=function(a){var b=a.data.resourceType||"comment and/or attachment(s)";a.data.resourcePath&&(a.data.resourcePath.includes("comment")?b="comment":a.data.resourcePath.includes("attachment")&&(b="attachment"));if(!a.data.hasAclToCreate)return"You do not have permission to create new judgements for this\n          "+b+". This is the current restriction level of the\n          "+b+".";b="Each restriction level allows access to particular users and has a designated content retention period. Customize levels on the component settings page.";
pS(a.minimumSeverity,"NONE_DETECTED")&&(b+=" You can only select a restriction level equal or greater than the severity already given by other users.");return b};qS.prototype.getContentJudgement=function(){var a;this.judgement?a=Object.assign({},this.judgement):a={contentJudge:"",contentJudgementId:void 0,resourcePath:void 0,severity:"RESTRICTION_SEVERITY_UNSPECIFIED",judgementReason:""};a.severity=this.severity;a.judgementReason="None specified";return a};
qS.prototype.onSaveClick=function(){var a=this;if(this.data.resourcePath){if(this.judgement==null){this.contentJudgements.create(this.data.resourcePath,this.severity,"None specified").subscribe(function(){a.dialogRef.close({contentJudgement:a.getContentJudgement()})});return}if(this.judgement.severity!==this.severity||this.judgement.judgementReason!=="None specified"){this.contentJudgements.update(this.getContentJudgement()).subscribe(function(){a.dialogRef.close({contentJudgement:a.getContentJudgement()})});
return}}this.dialogRef.close({contentJudgement:this.getContentJudgement()})};qS.prototype.onNoClick=function(){this.dialogRef.close(null)};qS.\u0275fac=function(a){return new (a||qS)};
qS.\u0275cmp=t({type:qS,selectors:[["b-content-judgement-dialog"]],decls:28,vars:11,consts:[["mat-dialog-title",""],["svgIcon","restricted",1,"icon-m"],["mat-dialog-content",""],["id","restriction-radio-group-label"],["target","_blank","aria-label","Learn more about restricted access",1,"keep-focus-ring",3,"rel"],["aria-labelledby","restriction-radio-group-label",3,"ngModelChange","ngModel"],[1,"restriction-radio","restriction-none",3,"value","disabled"],[1,"restriction-radio","restriction-pii",3,
"value","disabled"],[1,"restriction-radio","restriction-spii",3,"value","disabled"],["mat-button","",1,"medium","content-judgement-dialog-cancel",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium","content-judgement-dialog-confirm",3,"click","disabled"]],template:function(a,b){a&1&&(I(0,"header",0)(1,"h1"),K(2,"mat-icon",1),I(3,"div"),Q(4," Set restriction "),J()()(),I(5,"section",2)(6,"label",3),Q(7),I(8,"a",4),Q(9," Learn More "),J()(),I(10,"mat-radio-group",5),Xg("ngModelChange",
function(c){Wg(b.severity,c)||(b.severity=c);return c}),I(11,"mat-radio-button",6),Q(12," No restriction "),I(13,"div"),Q(14,' Users with "View issues" can access. '),J()(),I(15,"mat-radio-button",7),Q(16," Restricted "),I(17,"div"),Q(18,' Users with "View restricted content" can access. '),J()(),I(19,"mat-radio-button",8),Q(20," Restricted+ "),I(21,"div"),Q(22,' Users with "View restricted+ content" can access. '),J()()()(),I(23,"mat-dialog-actions")(24,"button",9),M("click",function(){return b.onNoClick()}),
Q(25," Cancel "),J(),I(26,"button",10),M("click",function(){return b.onSaveClick()}),Q(27," Set "),J()());a&2&&(C(7),R(" ",MAc(b)," "),C(),F("rel",b.EXTERNAL_LINK_REL),eg("href",b.documentationLinks.getRestrictedAccessHelpLink(),of),C(2),Vg("ngModel",b.severity),C(),F("value",b.RestrictionSeverity.NONE_DETECTED)("disabled",!b.canInteract()||pS(b.minimumSeverity,b.RestrictionSeverity.NONE_DETECTED)),C(4),F("value",b.RestrictionSeverity.RESTRICTED)("disabled",!b.canInteract()||pS(b.minimumSeverity,
b.RestrictionSeverity.RESTRICTED)),C(4),F("value",b.RestrictionSeverity.RESTRICTED_PLUS)("disabled",!b.canInteract()||pS(b.minimumSeverity,b.RestrictionSeverity.RESTRICTED_PLUS)),C(7),F("disabled",!b.canInteract()))},dependencies:[$D,vD,Vy,nL,pL,oL,uO,vO,tz,Bz],styles:["h1[_ngcontent-%COMP%]{text-align:center}.restriction-radio[_ngcontent-%COMP%]{display:block;margin:10px;padding:4px;line-height:1.5em}.restriction-radio[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}/*# sourceMappingURL=content_judgement_dialog.css.map */"]});var rS=function(){this.dialogRef=r(dL);this.documentationLinks=r(cL);this.data=r(jL);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.acknowledgeToMatchIssueRetention=!1;var a=this.data;this.resource=a.resource;this.piiRetention=a.piiRetention};rS.prototype.canInteract=function(){return!NAc(this)||this.acknowledgeToMatchIssueRetention};var NAc=function(a){return a.piiRetention==="INDEFINITE"};rS.prototype.onSaveClick=function(){this.dialogRef.close(1)};rS.prototype.onNoClick=function(){this.dialogRef.close(0)};
rS.\u0275fac=function(a){return new (a||rS)};
rS.\u0275cmp=t({type:rS,selectors:[["b-update-retention-dialog"]],decls:19,vars:6,consts:[["mat-dialog-title",""],["svgIcon","restricted",1,"icon-m"],["mat-dialog-content",""],["target","_blank","aria-label","Learn more about component retention",3,"rel"],[3,"ngModel"],["mat-dialog-actions",""],["mat-button","",1,"medium","update-retention-dialog-cancel",3,"click"],["mat-button","","color","primary","cdkFocusInitial","",1,"dialog-primary-action","medium","update-retention-dialog-confirm",3,"click",
"disabled"],[3,"ngModelChange","ngModel"]],template:function(a,b){a&1&&(I(0,"h1",0),K(1,"mat-icon",1),I(2,"div"),D(3,LVa,2,1,"span")(4,MVa,2,0,"span"),J()(),I(5,"div",2),D(6,NVa,8,1,"span")(7,OVa,3,2,"span"),I(8,"span")(9,"a",3),Q(10," Learn More "),J()(),I(11,"div")(12,"span"),D(13,PVa,2,1,"mat-checkbox",4),J()()(),I(14,"div",5)(15,"button",6),M("click",function(){return b.onNoClick()}),Q(16," Cancel "),J(),I(17,"button",7),M("click",function(){return b.onSaveClick()}),Q(18," Save "),J()());a&2&&
(C(3),G(NAc(b)?3:4),C(3),G(NAc(b)?6:7),C(3),F("rel",b.EXTERNAL_LINK_REL),eg("href",Zu(),of),C(4),G(NAc(b)?13:-1),C(4),F("disabled",!b.canInteract()))},dependencies:[$D,vD,Vy,nL,pL,oL,qN,uN,tz,Bz],styles:["h1[_ngcontent-%COMP%]{text-align:center}.mat-mdc-dialog-content[_ngcontent-%COMP%]{overflow:inherit}/*# sourceMappingURL=update_retention_dialog.css.map */"]});var sS=function(){this.errorHandler=r(jE);this.eventsForIssueFridge=r(yF);this.issueFullFridge=r(yG);this.issueCommentsService=r(IL);this.issueInteractionsTracking=r(VL);this.butterBar=r(hE);this.editIssueService=r(jM);this.formattedCommentsForIssueFridge=r(CF)},OAc=function(a,b){var c=b.issueId;var d=b.newCommentId;var e=b.newComment;var f=b.newCommentFormattingMode;var h=b.recaptchaToken;var l,q;ve(function(v){switch(v.nextAddress){case 1:l=a.editIssueService.savingState(c);if(!e.trim())return a.butterBar.showWarning("New comment cannot be empty."),
v.return();hM(l,"commentEdit");du(a.butterBar,"Saving comment edit...",0);Vrc(a.issueInteractionsTracking,c,{label:d===1?"description":"comment"});we(v,2,3);return xe(v,a.issueCommentsService.update(c,d,e,f,h),5);case 5:du(a.butterBar,"Comment edit successful.",4E3),a.eventsForIssueFridge.manualUpdate(c,function(y){y.events=Mta(y.events,d,{formattedComment:void 0,unlinkifiedComment:e,formattingMode:f})}),a.issueFullFridge.poke(c),a.formattedCommentsForIssueFridge.invalidate(c+"-"+d),a.eventsForIssueFridge.poke(c);
case 3:ye(v);iM(l,"commentEdit");ze(v,0);break;case 2:q=Be(v),lE(a.errorHandler,q),v.jumpTo(3)}})};sS.\u0275fac=function(a){return new (a||sS)};sS.\u0275prov=n({token:sS,factory:sS.\u0275fac,providedIn:"root"});var PAc=function(a,b,c){this.objectId=a;this.version=b;this.payload=c},QAc=function(){},RAc=function(a){this.timestampMicros=a};var tS=function(a){this.internalArray_=m(a)};Y(tS,V);tS.prototype.getCode=function(){return Zi(this,1)};tS.prototype.setCode=function(a){return uj(this,1,a)};tS.prototype.getMessage=function(){return Gh(this,2)};tS.prototype.setMessage=function(a){return cj(this,2,a)};var SAc=Ih(tS);QVa.prototype.reset=function(){this.currentMaxDelayMs_=this.initialMaxDelayMs_;this.inRetryMode_=!1};var TAc=function(a){var b=0;a.inRetryMode_&&(b=a.random_()*.2,b=Math.ceil((1-b)*a.currentMaxDelayMs_),a.currentMaxDelayMs_<a.maxDelayMs_&&(a.currentMaxDelayMs_*=2,a.currentMaxDelayMs_>a.maxDelayMs_&&(a.currentMaxDelayMs_=a.maxDelayMs_)));a.inRetryMode_=!0;return b};var uS=function(a){this.internalArray_=m(a)};Y(uS,V);var VAc=function(){var a=new uS;return xl(a,1,UAc,Db(!0))},WAc=function(){var a=new uS;return xl(a,2,UAc,Db(!0))},UAc=[1,2,3,15];var $Va=function(a){this.internalArray_=m(a)};Y($Va,V);var Sq=[1,2,3,4,5,6,7,8,9,10,11,12];var Qq=function(a){this.internalArray_=m(a)};Y(Qq,V);Qq.prototype.getPartsList=function(){return nj(this,$Va,1,Wi())};Qq.prototype.addParts=function(a){return Bv(this,1,$Va,a)};var Pq=function(a){this.internalArray_=m(a)};Y(Pq,V);Pq.prototype.getName=function(){return Ko(this,1,XAc)};Pq.prototype.setName=function(a){return kl(this,1,XAc,a)};Pq.prototype.hasName=function(){return Ko(this,1,XAc)!=null};Pq.prototype.getNameOrUndefined=function(){return Pm(this,ul(this,XAc,1))};var XAc=[1,2];var YAc=function(a){this.internalArray_=m(a)};Y(YAc,V);g=YAc.prototype;g.setProject=function(a){X(this,Pq,1,a)};g.getOwner=function(){return W(this,uS,2)};g.setOwner=function(a){return X(this,uS,2,a)};g.getPath=function(){return W(this,Qq,3)};g.setPath=function(a){return X(this,Qq,3,a)};g.hasPath=function(){return Oj(this,Qq,3)};var ZAc=function(a){this.internalArray_=m(a)};Y(ZAc,V);g=ZAc.prototype;g.setProject=function(a){X(this,Pq,1,a)};g.getOwner=function(){return W(this,uS,2)};g.setOwner=function(a){return X(this,uS,2,a)};g.getPrefix=function(){return W(this,Qq,3)};g.setPrefix=function(a){X(this,Qq,3,a)};var vS=function(a){this.internalArray_=m(a)};Y(vS,V);vS.prototype.getVersion=function(){return Gv(this,1)};vS.prototype.setVersion=function(a){return ek(this,1,a)};vS.prototype.getVersionOrUndefined=function(){return Kv(this,1)};var wS=function(a){this.internalArray_=m(a)};Y(wS,V);wS.prototype.getHeader=function(){return W(this,vS,4)};wS.prototype.getPrefix=function(){return Al(this,ZAc,6,$Ac)};wS.prototype.setPrefix=function(a){Fl(this,6,$Ac,a)};var $Ac=[2,3,6];var aBc=function(a){this.internalArray_=m(a)};Y(aBc,V);var bBc=function(a){this.internalArray_=m(a)};Y(bBc,V);bBc.prototype.setAffinitization=function(a){hk(this,2,a)};bBc.prototype.getAffinitizationOrUndefined=function(){return Qt(this,2)};var cBc=function(a){this.internalArray_=m(a)};Y(cBc,V);var dBc=function(a){this.internalArray_=m(a)};Y(dBc,V);g=dBc.prototype;g.setStreamId=function(a){return lk(this,1,a)};g.getStreamIdOrUndefined_asString=function(){return e_b(this,1)};g.getClose=function(){return Al(this,cBc,3,eBc)};g.setClose=function(a){Fl(this,3,eBc,a)};g.hasClose=function(){return Nl(this,cBc,3,eBc)};g.setAffinitization=function(a){hk(this,4,a)};g.getAffinitizationOrUndefined=function(){return Qt(this,4)};var eBc=[2,3];var fBc=function(a){this.internalArray_=m(a)};Y(fBc,V);fBc.prototype.setRequestsList=function(a){return $l(this,1,a)};fBc.prototype.addAndReturnRequests=function(){return zc(this,1,dBc)};var gBc=function(a){this.internalArray_=m(a)};Y(gBc,V);gBc.prototype.getChannelId=function(){return Gh(this,1)};gBc.prototype.setChannelId=function(a){return gk(this,1,a)};var hBc=function(a){this.internalArray_=m(a)};Y(hBc,V);var xS=function(a){this.internalArray_=m(a)};Y(xS,V);xS.prototype.getCode=function(){return Kj(this,1,0)};xS.prototype.setCode=function(a){return hk(this,1,a)};xS.prototype.getCodeOrUndefined=function(){return Qt(this,1)};var iBc=function(a){this.internalArray_=m(a)};Y(iBc,V);var jBc=function(a){this.internalArray_=m(a)};Y(jBc,V);jBc.prototype.setVersion=function(a){return lk(this,3,a)};jBc.prototype.getVersionOrUndefined_asString=function(){return e_b(this,3)};var kBc=function(a){this.internalArray_=m(a)};Y(kBc,V);var lBc=function(a){this.internalArray_=m(a)};Y(lBc,V);var yS=function(a){this.internalArray_=m(a)};Y(yS,V);yS.prototype.getStart=function(){return Al(this,lBc,1,zS)};yS.prototype.setStart=function(a){return Fl(this,1,zS,a)};yS.prototype.getChanges=function(){return Al(this,kBc,2,zS)};yS.prototype.hasChanges=function(){return Nl(this,kBc,2,zS)};var zS=[1,2,3,5];var mBc=function(a){this.internalArray_=m(a)};Y(mBc,V);mBc.prototype.getChannelId=function(){return Gh(this,1)};mBc.prototype.setChannelId=function(a){return gk(this,1,a)};var AS=function(a){this.internalArray_=m(a)};Y(AS,V);AS.prototype.getStatus=function(){return W(this,zA,1)};AS.prototype.setStatus=function(a){return X(this,zA,1,a)};AS.prototype.hasStatus=function(){return Oj(this,zA,1)};var nBc=function(a){this.internalArray_=m(a)};Y(nBc,V);g=nBc.prototype;g.setStreamId=function(a){return lk(this,1,a)};g.getStreamIdOrUndefined_asString=function(){return e_b(this,1)};g.getClose=function(){return Al(this,AS,3,oBc)};g.setClose=function(a){Fl(this,3,oBc,a)};g.hasClose=function(){return Nl(this,AS,3,oBc)};var oBc=[2,3,4];var BS=function(a){this.internalArray_=m(a)};Y(BS,V);BS.prototype.getResponsesList=function(){return nj(this,nBc,1,Wi())};BS.prototype.getStatus=function(){return W(this,xS,2)};BS.prototype.setStatus=function(a){return X(this,xS,2,a)};BS.prototype.hasStatus=function(){return Oj(this,xS,2)};var pBc=function(){};pBc.prototype.cachedOptions_=null;pBc.prototype.getOptions=function(){return this.cachedOptions_||(this.cachedOptions_=this.internalGetOptions())};var qBc=function(){bG.call(this,"l")};qv(qBc,bG);var rBc=function(){bG.call(this,"k")};qv(rBc,bG);var sBc=function(a,b,c){this.path=a;this.authMethod=b;this.useFetchApi=c},tBc=function(a,b,c,d,e){this.channelMessageHandler=a;this.channelStatusHandler=b;this.config=c;this.channelCreator=d;this.state=0;this.channelHandler=new Lr;this.channel=this.createWebChannel(e)};
tBc.prototype.createWebChannel=function(a){var b=this;a={sendRawJson:!0,messageContentType:"application/json+protobuf",httpSessionIdParam:void 0,messageUrlParams:Object.assign({},{gsessionid:a},this.config.authMethod.getQueryParameters()),useFetchStreams:this.config.useFetchApi,messageHeaders:this.config.authMethod.getHeaders(),supportsCrossDomainXhr:this.config.authMethod.usesCredentialedRequests()};a=this.channelCreator(this.config.path,a);this.channelHandler.listen(a,"i",function(){b.channelStatusHandler.onOpen()});
this.channelHandler.listen(a,"j",function(){b.channelStatusHandler.onClose((new uBc(b.channel.channel_)).getLastStatusCode());b.state=2;b.channel.removeAllListeners();b.channelHandler.removeAll()});this.channelHandler.listen(a,"l",function(c){(c=c.data)&&c.length===1&&b.channelMessageHandler(new BS(c[0]))});this.channelHandler.listen(a,"k",function(c){b.channelStatusHandler.onError(c,(new uBc(b.channel.channel_)).getLastStatusCode());c.status!==0&&(b.state=2)});return a};
tBc.prototype.open=function(){this.state===0&&(this.state=1,this.channel.open())};tBc.prototype.close=function(){this.state!==2&&this.channel.close()};tBc.prototype.send=function(a){a=a.serialize();this.channel.send(a)};var vBc,wBc=(new vS).setVersion(7);vBc=hk(wBc,2,5);var Uq=function(a){this.rep=a};Uq.prototype.equals=function(a){return this.rep===a.rep};var xBc=function(){var a=8;a=a===void 0?1:a;this.max=8;this.lastAddedTimestampMs=Date.now();this.tokens=a};xBc.prototype.update=function(){var a=Date.now();a=Math.floor((a-this.lastAddedTimestampMs)/3E5);this.tokens=Math.min(this.tokens+a,this.max);this.lastAddedTimestampMs+=a*3E5};var Tq=function(a,b){this.seconds=a;this.nanos=b},aWa=function(a){var b=new wj;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},hWa=function(a){try{var b=Number(a.getSeconds_asLegacyNumberOrString()),c=a.getNanos();if(b<-62135596800)throw Error("me`"+b);if(253402300800<=b)throw Error("ne`"+b);if(c<0)throw Error("oe`"+c);if(1E9<=c)throw Error("pe`"+c);if(!Number.isInteger(b))throw Error("qe`"+b);if(!Number.isInteger(c))throw Error("re`"+c);return new Tq(b,c)}catch(d){return null}};
Tq.prototype.equals=function(a){return this.seconds===a.seconds&&this.nanos===a.nanos};var Rq=function(a,b){this.low_=a|0;this.high_=b|0},yBc=function(a){return a.high_*4294967296+(a.low_>>>0)};g=Rq.prototype;g.isSafeInteger=function(){var a=this.high_>>21;return a==0||a==-1&&!(this.low_==0&&this.high_==-2097152)};
g.toString=function(a){a=a||10;if(a<2||36<a)throw Error("se`"+a);if(this.isSafeInteger()){var b=yBc(this);return a==10?""+b:b.toString(a)}b=14-(a>>2);var c=Math.pow(a,b),d=CS(c,c/4294967296);c=DS(this,d);var e=Math,f=e.abs;d=c.multiply(d);d=this.add(ES(d));e=f.call(e,yBc(d));f=a==10?""+e:e.toString(a);f.length<b&&(f="0000000000000".slice(f.length-b)+f);e=yBc(c);return(a==10?e:e.toString(a))+f};g.isZero=function(){return this.low_==0&&this.high_==0};
g.equals=function(a){return this.low_==a.low_&&this.high_==a.high_};g.compare=function(a){return this.high_==a.high_?this.low_==a.low_?0:this.low_>>>0>a.low_>>>0?1:-1:this.high_>a.high_?1:-1};var ES=function(a){var b=~a.low_+1|0;return CS(b,~a.high_+!b|0)};
Rq.prototype.add=function(a){var b=this.high_>>>16,c=this.high_&65535,d=this.low_>>>16,e=a.high_>>>16,f=a.high_&65535,h=a.low_>>>16;a=(this.low_&65535)+(a.low_&65535);h=(a>>>16)+(d+h);d=h>>>16;d+=c+f;return CS((h&65535)<<16|a&65535,((d>>>16)+(b+e)&65535)<<16|d&65535)};
Rq.prototype.multiply=function(a){if(this.isZero())return this;if(a.isZero())return a;var b=this.high_>>>16,c=this.high_&65535,d=this.low_>>>16,e=this.low_&65535,f=a.high_>>>16,h=a.high_&65535,l=a.low_>>>16;a=a.low_&65535;var q=e*a;var v=(q>>>16)+d*a;var y=v>>>16;v=(v&65535)+e*l;y+=v>>>16;y+=c*a;var E=y>>>16;y=(y&65535)+d*l;E+=y>>>16;y=(y&65535)+e*h;E=E+(y>>>16)+(b*a+c*l+d*h+e*f)&65535;return CS((v&65535)<<16|q&65535,E<<16|y&65535)};
var DS=function(a,b){if(b.isZero())throw Error("te");if(a.high_<0){if(a.equals(zBc)){if(b.equals(ABc)||b.equals(BBc))return zBc;if(b.equals(zBc))return ABc;var c=a.high_;c=CS(a.low_>>>1|c<<31,c>>1);c=DS(c,b).shiftLeft(1);if(c.equals(FS))return b.high_<0?ABc:BBc;var d=b.multiply(c);a=a.add(ES(d));return c.add(DS(a,b))}return b.high_<0?DS(ES(a),ES(b)):ES(DS(ES(a),b))}if(a.isZero())return FS;if(b.high_<0)return b.equals(zBc)?FS:ES(DS(a,ES(b)));for(d=FS;a.compare(b)>=0;){c=Math.max(1,Math.floor(yBc(a)/
yBc(b)));var e=Math.ceil(Math.log(c)/Math.LN2);e=e<=48?1:Math.pow(2,e-48);for(var f=GS(c),h=f.multiply(b);h.high_<0||h.compare(a)>0;)c-=e,f=GS(c),h=f.multiply(b);f.isZero()&&(f=ABc);d=d.add(f);a=a.add(ES(h))}return d};Rq.prototype.and=function(a){return CS(this.low_&a.low_,this.high_&a.high_)};Rq.prototype.or=function(a){return CS(this.low_|a.low_,this.high_|a.high_)};Rq.prototype.xor=function(a){return CS(this.low_^a.low_,this.high_^a.high_)};
Rq.prototype.shiftLeft=function(a){a&=63;if(a==0)return this;var b=this.low_;return a<32?CS(b<<a,this.high_<<a|b>>>32-a):CS(0,b<<a-32)};
var GS=function(a){return a>0?a>=0x7fffffffffffffff?CBc:new Rq(a,a/4294967296):a<0?a<=-0x7fffffffffffffff?zBc:ES(new Rq(-a,-a/4294967296)):FS},CS=function(a,b){return new Rq(a,b)},Wq=function(a,b){if(a.charAt(0)=="-")return ES(Wq(a.substring(1),b));var c=parseInt(a,b||10);if(c<=9007199254740991)return new Rq(c%4294967296|0,c/4294967296|0);if(a.length==0)throw Error("ue");if(a.indexOf("-")>=0)throw Error("ve`"+a);b=b||10;if(b<2||36<b)throw Error("se`"+b);c=GS(Math.pow(b,8));for(var d=FS,e=0;e<a.length;e+=
8){var f=Math.min(8,a.length-e),h=parseInt(a.substring(e,e+f),b);f<8?d=d.multiply(GS(Math.pow(b,f))).add(GS(h)):(d=d.multiply(c),d=d.add(GS(h)))}return d},FS=CS(0,0),ABc=CS(1,0),BBc=CS(-1,-1),CBc=CS(4294967295,2147483647),zBc=CS(0,2147483648);var Kq=function(a,b){this.value=a;this.isDecreasing=!!b};
Kq.prototype.equals=function(a){if(this.isDecreasing!==a.isDecreasing)var b=!1;else if(typeof this.value==="string"||typeof this.value==="number")b=this.value===a.value;else if(this.value instanceof Rq)b=a.value instanceof Rq?this.value.equals(a.value):!1;else if(this.value instanceof Uq)b=a.value instanceof Uq?this.value.equals(a.value):!1;else if(this.value instanceof Uint8Array)if(a.value instanceof Uint8Array)a:if(b=this.value,a=a.value,b.length!==a.length)b=!1;else{for(var c=0;c<b.length;++c)if(b[c]!==
a[c]){b=!1;break a}b=!0}else b=!1;else b=this.value instanceof Tq?a.value instanceof Tq?this.value.equals(a.value):!1:!1;return b};var Vq=function(a,b){this.parts=a;this.isPrivate=b},cWa=function(){for(var a=[],b=k(zd.apply(0,arguments)),c=b.next();!c.done;c=b.next())c=c.value,c instanceof Kq?a.push(c):a.push(new Kq(c));return new Vq(a,!1)};
Vq.prototype.equals=function(a){var b;if(b=this.parts.length===a.parts.length)a:if(this.isPrivate!==a.isPrivate||this.parts.length>a.parts.length)b=!1;else{for(b=0;b<this.parts.length;++b)if(!this.parts[b].equals(a.parts[b])){b=!1;break a}b=!0}return b};var DBc=function(){},UVa=function(a,b){this.apiKey=a;this.authUser=b};g=UVa.prototype;g.getHeaders=function(){var a={},b;(b=OGa([]))?(b=b.split(" "),b={scheme:b[0],hash:b[1]}):b=null;b!=null&&(a.Authorization=b.scheme+" "+b.hash,a["X-Goog-AuthUser"]=String(this.authUser||0));return a};g.getQueryParameters=function(){return{key:this.apiKey}};g.domainType=function(){return 0};g.usesCredentialedRequests=function(){return!0};g.getAuthUser=function(){return this.authUser};
var SVa=function(a){this.oauthTokens=a};g=SVa.prototype;g.getHeaders=function(){var a={};a.Authorization="OAuth "+this.oauthTokens.getValue();return a};g.getQueryParameters=function(){return{}};g.domainType=function(){return 1};g.usesCredentialedRequests=function(){return!0};g.getAuthUser=function(){};var TVa=function(a,b){this.apiKey=a;this.appAuthTokens=b};g=TVa.prototype;g.getHeaders=function(){return{}};g.getQueryParameters=function(){return{key:this.apiKey}};g.domainType=function(){return 1};
g.usesCredentialedRequests=function(){return!1};g.getAuthUser=function(){};var EBc=function(a){switch(a){case 0:return"No Error";case 1:return"Access denied to content document";case 2:return"File not found";case 3:return"Firefox silently errored";case 4:return"Application custom error";case 5:return"An exception occurred";case 6:return"Http response at 400 or 500 level";case 7:return"Request was aborted";case 8:return"Request timed out";case 9:return"The resource is not available offline";default:return"Unrecognized error code"}};var FBc,GBc=function(){};qv(GBc,pBc);GBc.prototype.createInstance=function(){return new XMLHttpRequest};GBc.prototype.internalGetOptions=function(){return{}};FBc=new GBc;var Mq=function(a){yp.call(this);this.headers=new Map;this.xmlHttpFactory_=a||null;this.active_=!1;this.xhrOptions_=this.xhr_=null;this.lastUri_="";this.lastErrorCode_=0;this.lastError_="";this.inAbort_=this.inOpen_=this.inSend_=this.errorDispatched_=!1;this.timeoutInterval_=0;this.timeoutId_=null;this.responseType_="";this.withCredentials_=!1;this.attributionReportingOptions_=this.trustToken_=null};qv(Mq,yp);
var HBc=/^https?$/i,IBc=["POST","PUT"],JBc=[],m_a=function(a,b,c,d,e,f,h){var l=new Mq;JBc.push(l);b&&l.listen("complete",b);l.listenOnce("ready",l.cleanupSend_);f&&(l.timeoutInterval_=Math.max(0,f));h&&(l.withCredentials_=h);l.send(a,c,d,e);return l};g=Mq.prototype;g.cleanupSend_=function(){this.dispose();Sa(JBc,this)};g.setTrustToken=function(a){this.trustToken_=a};g.setAttributionReporting=function(a){this.attributionReportingOptions_=a};
g.send=function(a,b,c,d){if(this.xhr_)throw Error("xe`"+this.lastUri_+"`"+a);b=b?b.toUpperCase():"GET";this.lastUri_=a;this.lastError_="";this.lastErrorCode_=0;this.errorDispatched_=!1;this.active_=!0;this.xhr_=this.createXhr();this.xhrOptions_=this.xmlHttpFactory_?this.xmlHttpFactory_.getOptions():FBc.getOptions();this.xhr_.onreadystatechange=ov(this.onReadyStateChange_,this);try{this.inOpen_=!0,this.xhr_.open(b,String(a),!0),this.inOpen_=!1}catch(h){this.error_(5,h);return}a=c||"";c=new Map(this.headers);
if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if(typeof d.keys==="function"&&typeof d.get==="function"){e=k(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("ye`"+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()});e=ya.FormData&&a instanceof ya.FormData;!Oa(IBc,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=k(c);for(d=b.next();!d.done;d=b.next())c=
k(d.value),d=c.next().value,c=c.next().value,this.xhr_.setRequestHeader(d,c);this.responseType_&&(this.xhr_.responseType=this.responseType_);"withCredentials"in this.xhr_&&this.xhr_.withCredentials!==this.withCredentials_&&(this.xhr_.withCredentials=this.withCredentials_);if("setTrustToken"in this.xhr_&&this.trustToken_)try{this.xhr_.setTrustToken(this.trustToken_)}catch(h){}if("setAttributionReporting"in this.xhr_&&this.attributionReportingOptions_)try{this.xhr_.setAttributionReporting(this.attributionReportingOptions_)}catch(h){}try{KBc(this),
this.timeoutInterval_>0&&(this.timeoutId_=Nq(this.timeout_,this.timeoutInterval_,this)),this.inSend_=!0,this.xhr_.send(a),this.inSend_=!1}catch(h){this.error_(5,h)}};g.createXhr=function(){return this.xmlHttpFactory_?this.xmlHttpFactory_.createInstance():FBc.createInstance()};g.timeout_=function(){typeof xYb!="undefined"&&this.xhr_&&(this.lastError_="Timed out after "+this.timeoutInterval_+"ms, aborting",this.lastErrorCode_=8,this.dispatchEvent("timeout"),this.abort(8))};
g.error_=function(a,b){this.active_=!1;this.xhr_&&(this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1);this.lastError_=b;this.lastErrorCode_=a;LBc(this);MBc(this)};var LBc=function(a){a.errorDispatched_||(a.errorDispatched_=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};Mq.prototype.abort=function(a){this.xhr_&&this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1,this.lastErrorCode_=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),MBc(this))};
Mq.prototype.disposeInternal=function(){this.xhr_&&(this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1),MBc(this,!0));Mq.superClass_.disposeInternal.call(this)};Mq.prototype.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||this.inSend_||this.inAbort_)NBc(this);else this.onReadyStateChangeEntryPoint_()};Mq.prototype.onReadyStateChangeEntryPoint_=function(){NBc(this)};
var NBc=function(a){if(a.active_&&typeof xYb!="undefined"&&(!a.xhrOptions_[1]||a.getReadyState()!=4||a.getStatus()!=2))if(a.inSend_&&a.getReadyState()==4)Nq(a.onReadyStateChange_,0,a);else if(a.dispatchEvent("readystatechange"),a.isComplete()){a.active_=!1;try{if(a.isSuccess())a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.lastErrorCode_=6;try{var b=a.getReadyState()>2?a.xhr_.statusText:""}catch(c){b=""}a.lastError_=b+" ["+a.getStatus()+"]";LBc(a)}}finally{MBc(a)}}},MBc=function(a,
b){if(a.xhr_){KBc(a);var c=a.xhr_,d=a.xhrOptions_[0]?function(){}:null;a.xhr_=null;a.xhrOptions_=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}},KBc=function(a){a.timeoutId_&&(Oq(a.timeoutId_),a.timeoutId_=null)};g=Mq.prototype;g.isActive=function(){return!!this.xhr_};g.isComplete=function(){return this.getReadyState()==4};
g.isSuccess=function(){var a=this.getStatus();a:switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var b=!0;break a;default:b=!1}if(!b){if(a=a===0)a=String(this.lastUri_).match(Xgc)[1]||null,!a&&ya.self&&ya.self.location&&(a=ya.self.location.protocol.slice(0,-1)),a=!HBc.test(a?a.toLowerCase():"");b=a}return b};g.getReadyState=function(){return this.xhr_?this.xhr_.readyState:0};g.getStatus=function(){try{return this.getReadyState()>2?this.xhr_.status:-1}catch(a){return-1}};
g.getLastUri=function(){return String(this.lastUri_)};g.getResponseText=function(){try{return this.xhr_?this.xhr_.responseText:""}catch(a){return""}};g.getResponseJson=function(a){if(this.xhr_){var b=this.xhr_.responseText;a&&b.indexOf(a)==0&&(b=b.substring(a.length));a:{a=b;if(ya.JSON)try{var c=ya.JSON.parse(a);break a}catch(d){}c=sjc(a)}return c}};
g.getResponse=function(){try{if(!this.xhr_)return null;if("response"in this.xhr_)return this.xhr_.response;switch(this.responseType_){case "":case "text":return this.xhr_.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in this.xhr_)return this.xhr_.mozResponseArrayBuffer}return null}catch(a){return null}};g.getResponseHeader=function(a){if(this.xhr_&&this.isComplete())return a=this.xhr_.getResponseHeader(a),a===null?void 0:a};
g.getAllResponseHeaders=function(){return this.xhr_&&this.getReadyState()>=2?this.xhr_.getAllResponseHeaders()||"":""};g.getResponseHeaders=function(){for(var a={},b=this.getAllResponseHeaders().split("\r\n"),c=0;c<b.length;c++)if(!iu(b[c])){var d=u_b(b[c]),e=d[0];d=d[1];if(typeof d==="string"){d=d.trim();var f=a[e]||[];a[e]=f;f.push(d)}}return sea(a,function(h){return h.join(", ")})};var sr=function(a,b){return a.xhr_?a.xhr_.getResponseHeader(b):null};Mq.prototype.getLastErrorCode=function(){return this.lastErrorCode_};
Mq.prototype.getLastError=function(){return typeof this.lastError_==="string"?this.lastError_:String(this.lastError_)};h6b(function(a){Mq.prototype.onReadyStateChangeEntryPoint_=a(Mq.prototype.onReadyStateChangeEntryPoint_)});var OBc=function(a,b,c){var d=Error.call(this,b);this.message=d.message;"stack"in d&&(this.stack=d.stack);this.code=a;this.message=b;this.status=c;Object.setPrototypeOf(this,OBc.prototype);this.name="XhrError"};Y(OBc,Error);var PBc=function(a,b){b=b===void 0?XVa():b;this.baseUri=a;this.xhrIo=b};PBc.prototype.post=function(a,b,c,d){d=d===void 0?{}:d;return this.request("POST",a,b,c,d)};
PBc.prototype.request=function(a,b,c,d,e){var f=this,h=new Dp(this.baseUri);h.setPath(b);if(e.queryParams){b=k(Object.entries(e.queryParams));for(var l=b.next();!l.done;l=b.next()){var q=k(l.value);l=q.next().value;q=q.next().value;iI(h,l,q)}}var v={"Content-type":"application/json+protobuf"};Object.assign(v,e.extraHeaders);var y=c.serialize();return new Promise(function(E,H){var O;f.xhrIo.send(h,function(){var N=this.getStatus()===-1?void 0:this.getStatus();if(this.isSuccess())try{E(yna(d,this.getResponseText()))}catch(T){H(new OBc(4,
"Failed to deserialize response from "+h+": "+this.getResponseText(),N))}else H(new OBc(this.getLastErrorCode(),this.getLastError(),N))},a,y,v,(O=e.timeoutMs)!=null?O:2E4,e.withCredentials)})};var QBc=function(a,b,c){PF.call(this);this.listener_=c!=null?a.bind(c):a;this.interval_=b;this.args_=null;this.shouldFire_=!1;this.pauseCount_=0;this.timer_=null};Y(QBc,PF);g=QBc.prototype;g.fire=function(a){this.args_=arguments;this.timer_||this.pauseCount_?this.shouldFire_=!0:this.doAction_()};g.stop=function(){this.timer_&&(Oq(this.timer_),this.timer_=null,this.shouldFire_=!1,this.args_=null)};g.pause=function(){this.pauseCount_++};
g.resume=function(){this.pauseCount_--;this.pauseCount_||!this.shouldFire_||this.timer_||(this.shouldFire_=!1,this.doAction_())};g.disposeInternal=function(){PF.prototype.disposeInternal.call(this);this.stop()};g.onTimer_=function(){this.timer_=null;this.shouldFire_&&!this.pauseCount_&&(this.shouldFire_=!1,this.doAction_())};g.doAction_=function(){var a=this;this.timer_=Nq(function(){return a.onTimer_()},this.interval_);var b=this.args_;this.args_=null;this.listener_.apply(null,b)};var RBc=null,SBc=function(){return RBc=RBc||new yp},TBc=function(a){bG.call(this,"serverreachability",a)};qv(TBc,bG);var UBc=function(a){var b=SBc();b.dispatchEvent(new TBc(b,a))},VBc=function(a,b){bG.call(this,"statevent",a);this.stat=b};qv(VBc,bG);var HS=function(a){var b=SBc();b.dispatchEvent(new VBc(b,a))},WBc=function(a,b,c){bG.call(this,"timingevent",a);this.size=b;this.rtt=c};qv(WBc,bG);
var XBc=function(a,b,c){var d=SBc();d.dispatchEvent(new WBc(d,a,b,c))},YBc=function(a,b){if(typeof a!=="function")throw Error("ze");return ya.setTimeout(function(){a()},b)};var IS=function(){this.redactEnabled_=!0};IS.prototype.disableRedact=function(){this.redactEnabled_=!1};
var ZBc=function(a,b,c,d,e,f){a.info(function(){if(a.redactEnabled_)if(f){var h="";for(var l=f.split("&"),q=0;q<l.length;q++){var v=l[q].split("=");if(v.length>1){var y=v[0];v=v[1];var E=y.split("_");h=E.length>=2&&E[1]=="type"?h+(y+"="+v+"&"):h+(y+"=redacted&")}}}else h=null;else h=f;return"XMLHTTP REQ ("+d+") [attempt "+e+"]: "+b+"\n"+c+"\n"+h})},$Bc=function(a,b,c,d,e,f,h){a.info(function(){return"XMLHTTP RESP ("+d+") [ attempt "+e+"]: "+b+"\n"+c+"\n"+f+" "+h})},JS=function(a,b,c,d){a.info(function(){return"XMLHTTP TEXT ("+
b+"): "+aCc(a,c)+(d?" "+d:"")})},bCc=function(a,b){a.info(function(){return"TIMEOUT: "+b})};IS.prototype.debug=function(){};IS.prototype.info=function(){};IS.prototype.warning=function(){};
var aCc=function(a,b){if(!a.redactEnabled_)return b;if(!b)return null;try{var c=JSON.parse(b);if(c)for(var d=0;d<c.length;d++)if(Array.isArray(c[d])){var e=c[d];if(!(e.length<2)){var f=e[1];if(Array.isArray(f)&&!(f.length<1)){var h=f[0];if(h!="noop"&&h!="stop"&&h!="close")for(var l=1;l<f.length;l++)f[l]=""}}}return(new tjc).serialize(c)}catch(q){return a.debug("Exception parsing expected JS array - probably was not JS"),b}};var KS=function(a,b,c,d,e){this.channel_=a;this.channelDebug_=b;this.sid_=c;this.rid_=d;this.retryId_=e||1;this.eventHandler_=new Lr(this);this.timeout_=45E3;this.extraHeaders_=null;this.successful_=!1;this.postData_=this.requestUri_=this.baseUri_=this.type_=this.requestStartTime_=this.watchDogTimeoutTime_=this.watchDogTimerId_=null;this.pendingMessages_=[];this.xmlHttp_=null;this.xmlHttpChunkStart_=0;this.lastError_=this.verb_=null;this.lastStatusCode_=-1;this.cancelled_=!1;this.readyStateChangeThrottleMs_=
0;this.readyStateChangeThrottle_=null;this.firstByteReceived_=this.initialResponseDecoded_=this.decodeInitialResponse_=this.decodeChunks_=!1;this.fetchResponseState_=new cCc},cCc=function(){this.textDecoder=null;this.responseBuffer="";this.responseArrivedForFetch=!1},dCc=function(a,b){switch(a){case 0:return"Non-200 return code ("+b+")";case 1:return"XMLHTTP failure (no data)";case 2:return"HttpConnection timeout";default:return"Unknown error"}},eCc={},fCc={};
KS.prototype.setExtraHeaders=function(a){this.extraHeaders_=a};KS.prototype.setTimeout=function(a){this.timeout_=a};KS.prototype.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};KS.prototype.getPendingMessages=function(){return this.pendingMessages_};
var hCc=function(a,b,c){a.type_=1;a.baseUri_=nhc(b.clone());a.postData_=c;a.decodeChunks_=!0;gCc(a,null)},gCc=function(a,b){a.requestStartTime_=Date.now();iCc(a);a.requestUri_=a.baseUri_.clone();var c=a.requestUri_,d=a.retryId_;Array.isArray(d)||(d=[String(d)]);c.queryData_.setValues("t",d);a.xmlHttpChunkStart_=0;c=a.channel_.supportsCrossDomainXhrs_;a.fetchResponseState_=new cCc;a.xmlHttp_=jCc(a.channel_,c?b:null,!a.postData_);a.readyStateChangeThrottleMs_>0&&(a.readyStateChangeThrottle_=new QBc(ov(a.xmlHttpHandler_,
a,a.xmlHttp_),a.readyStateChangeThrottleMs_));a.eventHandler_.listen(a.xmlHttp_,"readystatechange",a.readyStateChangeHandler_);b=a.extraHeaders_?Gc(a.extraHeaders_):{};a.postData_?(a.verb_||(a.verb_="POST"),b["Content-Type"]="application/x-www-form-urlencoded",a.xmlHttp_.send(a.requestUri_,a.verb_,a.postData_,b)):(a.verb_="GET",a.xmlHttp_.send(a.requestUri_,a.verb_,null,b));UBc(1);ZBc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,a.postData_)};
KS.prototype.readyStateChangeHandler_=function(a){a=a.target;var b=this.readyStateChangeThrottle_;b&&a.getReadyState()==3?(this.channelDebug_.debug("Throttling readystatechange."),b.fire()):this.xmlHttpHandler_(a)};KS.prototype.xmlHttpHandler_=function(a){try{a==this.xmlHttp_?kCc(this):this.channelDebug_.warning("Called back with an unexpected xmlhttp")}catch(b){this.channelDebug_.debug("Failed call to OnXmlHttpReadyStateChanged_"),lCc(this)}finally{}};
var kCc=function(a){var b=a.xmlHttp_.getReadyState(),c=a.xmlHttp_.getLastErrorCode(),d=a.xmlHttp_.getStatus();if(!(b<3||b==3&&!lCc(a))){a.cancelled_||b!=4||c==7||(c==8||d<=0?UBc(3):UBc(2));mCc(a);var e=a.xmlHttp_.getStatus();a.lastStatusCode_=e;c=nCc(a);lCc(a)||a.channelDebug_.debug(function(){return"No response text for uri "+a.requestUri_+" status "+e});a.successful_=e==200;$Bc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,b,e);if(a.successful_){if(a.decodeInitialResponse_&&!a.initialResponseDecoded_)if(d=
oCc(a))JS(a.channelDebug_,a.rid_,d,"Initial handshake response via X-HTTP-Initial-Response"),a.initialResponseDecoded_=!0,pCc(a,d);else{a.successful_=!1;a.lastError_=3;HS(12);a.channelDebug_.warning("XMLHTTP Missing X_HTTP_INITIAL_RESPONSE ("+a.rid_+")");LS(a);qCc(a);return}a.decodeChunks_?rCc(a,b,c):(JS(a.channelDebug_,a.rid_,c,null),pCc(a,c));b==4&&LS(a);a.successful_&&!a.cancelled_&&(b==4?sCc(a.channel_,a):(a.successful_=!1,iCc(a)))}else a.xmlHttp_.getResponseHeaders(),e==400&&c.indexOf("Unknown SID")>
0?(a.lastError_=3,HS(12),a.channelDebug_.warning("XMLHTTP Unknown SID ("+a.rid_+")")):(a.lastError_=0,HS(13),a.channelDebug_.warning("XMLHTTP Bad status "+e+" ("+a.rid_+")")),LS(a),qCc(a)}},oCc=function(a){return a.xmlHttp_&&(a=sr(a.xmlHttp_,"X-HTTP-Initial-Response"))&&!iu(a)?a:null},nCc=function(a){if(!tCc(a))return a.xmlHttp_.getResponseText();var b=a.xmlHttp_.getResponse();if(b==="")return"";var c="",d=b.length,e=a.xmlHttp_.getReadyState()==4;if(!a.fetchResponseState_.textDecoder){if(typeof TextDecoder===
"undefined")return LS(a),qCc(a),"";a.fetchResponseState_.textDecoder=new ya.TextDecoder}for(var f=0;f<d;f++)a.fetchResponseState_.responseArrivedForFetch=!0,c+=a.fetchResponseState_.textDecoder.decode(b[f],{stream:!(e&&f==d-1)});b.length=0;a.fetchResponseState_.responseBuffer+=c;a.xmlHttpChunkStart_=0;return a.fetchResponseState_.responseBuffer},lCc=function(a){return a.xmlHttp_?a.fetchResponseState_.responseArrivedForFetch?!0:!(!a.xmlHttp_.getResponseText()&&!a.xmlHttp_.getResponse()):!1},tCc=function(a){return a.xmlHttp_?
a.verb_=="GET"&&a.type_!=2&&a.channel_.usesFetchStreams_:!1},rCc=function(a,b,c){for(var d=!0,e;!a.cancelled_&&a.xmlHttpChunkStart_<c.length;)if(e=uCc(a,c),e==fCc){b==4&&(a.lastError_=4,HS(14),d=!1);JS(a.channelDebug_,a.rid_,null,"[Incomplete Response]");break}else if(e==eCc){a.lastError_=4;HS(15);JS(a.channelDebug_,a.rid_,c,"[Invalid Chunk]");d=!1;break}else JS(a.channelDebug_,a.rid_,e,null),pCc(a,e);tCc(a)&&a.xmlHttpChunkStart_!=0&&(a.fetchResponseState_.responseBuffer=a.fetchResponseState_.responseBuffer.slice(a.xmlHttpChunkStart_),
a.xmlHttpChunkStart_=0);b!=4||c.length!=0||a.fetchResponseState_.responseArrivedForFetch||(a.lastError_=1,HS(16),d=!1);a.successful_=a.successful_&&d;d?c.length>0&&!a.firstByteReceived_&&(a.firstByteReceived_=!0,b=a.channel_,b.backChannelRequest_==a&&b.detectBufferingProxy_&&!b.bpDetectionDone_&&(b.channelDebug_.info("Great, no buffering proxy detected. Bytes received: "+c.length),vCc(b),b.bpDetectionDone_=!0,HS(11))):(JS(a.channelDebug_,a.rid_,c,"[Invalid Chunked Response]"),LS(a),qCc(a))},uCc=function(a,
b){var c=a.xmlHttpChunkStart_,d=b.indexOf("\n",c);if(d==-1)return fCc;c=Number(b.substring(c,d));if(isNaN(c))return eCc;d+=1;if(d+c>b.length)return fCc;b=b.slice(d,d+c);a.xmlHttpChunkStart_=d+c;return b};KS.prototype.cancel=function(){this.cancelled_=!0;LS(this)};
var iCc=function(a){a.watchDogTimeoutTime_=Date.now()+a.timeout_;wCc(a,a.timeout_)},wCc=function(a,b){if(a.watchDogTimerId_!=null)throw Error("Ae");a.watchDogTimerId_=YBc(ov(a.onWatchDogTimeout_,a),b)},mCc=function(a){a.watchDogTimerId_&&(ya.clearTimeout(a.watchDogTimerId_),a.watchDogTimerId_=null)};
KS.prototype.onWatchDogTimeout_=function(){this.watchDogTimerId_=null;var a=Date.now();a-this.watchDogTimeoutTime_>=0?(bCc(this.channelDebug_,this.requestUri_),this.type_!=2&&(UBc(3),HS(17)),LS(this),this.lastError_=2,qCc(this)):(this.channelDebug_.warning("WatchDog timer called too early"),wCc(this,this.watchDogTimeoutTime_-a))};
var qCc=function(a){a.channel_.isClosed()||a.cancelled_||sCc(a.channel_,a)},LS=function(a){mCc(a);zo(a.readyStateChangeThrottle_);a.readyStateChangeThrottle_=null;a.eventHandler_.removeAll();if(a.xmlHttp_){var b=a.xmlHttp_;a.xmlHttp_=null;b.abort();b.dispose()}};KS.prototype.getLastError=function(){return this.lastError_};KS.prototype.getLastStatusCode=function(){return this.lastStatusCode_};KS.prototype.getRequestId=function(){return this.rid_};KS.prototype.getXhr=function(){return this.xmlHttp_};
var pCc=function(a,b){try{var c=a.channel_;if(c.state_!=0&&(c.backChannelRequest_==a||xCc(c.forwardChannelRequestPool_,a)))if(!a.initialResponseDecoded_&&xCc(c.forwardChannelRequestPool_,a)&&c.state_==3){try{var d=c.wireCodec_.parser_.parse(b)}catch(na){d=null}if(Array.isArray(d)&&d.length==3){var e=d;if(e[0]==0)a:if(c.channelDebug_.debug("Server claims our backchannel is missing."),c.backChannelTimerId_)c.channelDebug_.debug("But we are currently starting the request.");else{if(c.backChannelRequest_)if(c.backChannelRequest_.requestStartTime_+
3E3<a.requestStartTime_)yCc(c),zCc(c);else break a;else c.channelDebug_.warning("We do not have a BackChannel established");ACc(c);HS(18)}else{c.lastPostResponseArrayId_=e[1];var f=c.lastPostResponseArrayId_-c.lastArrayId_;if(0<f){var h=e[2];c.channelDebug_.debug(h+" bytes (in "+f+" arrays) are outstanding on the BackChannel");h<37500&&c.enableStreaming_&&c.backChannelRetryCount_==0&&!c.deadBackChannelTimerId_&&(c.deadBackChannelTimerId_=YBc(ov(c.onBackChannelDead_,c),6E3))}}if(BCc(c.forwardChannelRequestPool_)<=
1&&c.forwardChannelFlushedCallback_){try{c.forwardChannelFlushedCallback_()}catch(na){}c.forwardChannelFlushedCallback_=void 0}}else c.channelDebug_.debug("Bad POST response data returned"),MS(c,11)}else if((a.initialResponseDecoded_||c.backChannelRequest_==a)&&yCc(c),!iu(b))for(e=c.wireCodec_.parser_.parse(b),f=0;f<e.length;f++){var l=e[f];c.lastArrayId_=l[0];l=l[1];if(c.state_==2)if(l[0]=="c"){c.sid_=l[1];c.hostPrefix_=c.correctHostPrefix(l[2]);var q=l[3];q!=null&&(c.channelVersion_=q,c.channelDebug_.info("VER="+
c.channelVersion_));var v=l[4];v!=null&&(c.serverVersion_=v,c.channelDebug_.info("SVER="+c.serverVersion_));var y=l[5];y!=null&&typeof y==="number"&&y>0&&(h=1.5*y,c.backChannelRequestTimeoutMs_=h,c.channelDebug_.info("backChannelRequestTimeoutMs_="+h));h=c;var E=a.getXhr();if(E){var H=sr(E,"X-Client-Wire-Protocol");if(H){var O=h.forwardChannelRequestPool_;b=H;!O.requestPool_&&(Fa(b,"spdy")||Fa(b,"quic")||Fa(b,"h2"))&&(O.maxSize_=O.maxPoolSizeConfigured_,O.requestPool_=new Set,O.request_&&(O.addRequest(O.request_),
O.request_=null))}if(h.httpSessionIdParam_){var N=sr(E,"X-HTTP-Session-Id");N?(h.httpSessionId_=N,iI(h.forwardChannelUri_,h.httpSessionIdParam_,N)):h.channelDebug_.warning("Missing X_HTTP_SESSION_ID in the handshake response")}}c.state_=3;c.handler_&&c.handler_.channelOpened();c.detectBufferingProxy_&&(c.handshakeRttMs_=Date.now()-a.requestStartTime_,c.channelDebug_.info("Handshake RTT: "+c.handshakeRttMs_+"ms"));h=c;b=a;var T=d=h,da=CCc(T,T.supportsCrossDomainXhrs_?h.hostPrefix_:null,h.path_);T.channelDebug_.debug("GetBackChannelUri: "+
da);d.backChannelUri_=da;if(b.initialResponseDecoded_){h.channelDebug_.debug("Upgrade the handshake request to a backchannel.");DCc(h.forwardChannelRequestPool_,b);d=b;var ja=h.backChannelRequestTimeoutMs_;ja&&d.setTimeout(ja);d.watchDogTimerId_&&(mCc(d),iCc(d));h.backChannelRequest_=b}else ECc(h);c.outgoingMaps_.length>0&&FCc(c)}else l[0]!="stop"&&l[0]!="close"||MS(c,7);else c.state_==3&&(l[0]=="stop"||l[0]=="close"?l[0]=="stop"?MS(c,7):c.disconnect():l[0]!="noop"&&c.handler_&&c.handler_.channelHandleArray(l),
c.backChannelRetryCount_=0)}UBc(4)}catch(na){}};var GCc=function(a,b){this.mapId=a;this.map=b;this.context=null};var HCc=function(a){this.maxPoolSizeConfigured_=a||10;ya.PerformanceNavigationTiming?(a=ya.performance.getEntriesByType("navigation"),a=a.length>0&&(a[0].nextHopProtocol=="hq"||a[0].nextHopProtocol=="h2")):a=!!(ya.chrome&&ya.chrome.loadTimes&&ya.chrome.loadTimes()&&ya.chrome.loadTimes().wasFetchedViaSpdy);this.maxSize_=a?this.maxPoolSizeConfigured_:1;this.requestPool_=null;this.maxSize_>1&&(this.requestPool_=new Set);this.request_=null;this.pendingMessages_=[]},ICc=function(a){return a.request_?!0:
a.requestPool_?a.requestPool_.size>=a.maxSize_:!1},BCc=function(a){return a.request_?1:a.requestPool_?a.requestPool_.size:0},xCc=function(a,b){return a.request_?a.request_==b:a.requestPool_?a.requestPool_.has(b):!1};HCc.prototype.addRequest=function(a){this.requestPool_?this.requestPool_.add(a):this.request_=a};var DCc=function(a,b){a.request_&&a.request_==b?a.request_=null:a.requestPool_&&a.requestPool_.has(b)&&a.requestPool_.delete(b)};
HCc.prototype.cancel=function(){this.pendingMessages_=this.getPendingMessages();if(this.request_)this.request_.cancel(),this.request_=null;else if(this.requestPool_&&this.requestPool_.size!==0){for(var a=k(this.requestPool_.values()),b=a.next();!b.done;b=a.next())b.value.cancel();this.requestPool_.clear()}};
HCc.prototype.getPendingMessages=function(){if(this.request_!=null)return this.pendingMessages_.concat(this.request_.getPendingMessages());if(this.requestPool_!=null&&this.requestPool_.size!==0){for(var a=this.pendingMessages_,b=k(this.requestPool_.values()),c=b.next();!c.done;c=b.next())a=a.concat(c.value.getPendingMessages());return a}return Ua(this.pendingMessages_)};var JCc=function(a,b){a.pendingMessages_=a.pendingMessages_.concat(b)};var KCc=function(a,b){var c=new IS;c.debug("TestLoadImage: loading "+a);if(ya.Image){var d=new Image;d.onload=pv(NS,c,"TestLoadImage: loaded",!0,b,d);d.onerror=pv(NS,c,"TestLoadImage: error",!1,b,d);d.onabort=pv(NS,c,"TestLoadImage: abort",!1,b,d);d.ontimeout=pv(NS,c,"TestLoadImage: timeout",!1,b,d);ya.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);d.src=a}else b(!1)},LCc=function(a,b){var c=new IS,d=new AbortController,e=setTimeout(function(){d.abort();NS(c,"TestPingServer: timeout",!1,
b)},1E4);fetch(a,{signal:d.signal}).then(function(f){clearTimeout(e);f.ok?NS(c,"TestPingServer: ok",!0,b):NS(c,"TestPingServer: server error",!1,b)}).catch(function(){clearTimeout(e);NS(c,"TestPingServer: error",!1,b)})},NS=function(a,b,c,d,e){try{a.debug(b),e&&(e.onload=null,e.onerror=null,e.onabort=null,e.ontimeout=null),d(c)}catch(f){}};var MCc=function(){this.replacer_=void 0};MCc.prototype.stringify=function(a){return ya.JSON.stringify(a,this.replacer_)};MCc.prototype.parse=function(a){return ya.JSON.parse(a,void 0)};var NCc=function(){this.parser_=new MCc},OCc=function(a,b,c){var d=c||"";try{Vgc(a,function(e,f){var h=e;In(e)&&(h=(new tjc).serialize(e));b.push(d+f+"="+encodeURIComponent(h))})}catch(e){throw b.push(d+"type="+encodeURIComponent("_badmap")),e;}};var OS=function(a){this.worker_=a.worker||null;this.streamBinaryChunks_=a.streamBinaryChunks||!1;this.cacheMode_=this.credentialsMode_=void 0};qv(OS,pBc);OS.prototype.createInstance=function(){var a=new PS(this.worker_,this.streamBinaryChunks_);this.credentialsMode_&&a.setCredentialsMode(this.credentialsMode_);this.cacheMode_&&a.setCacheMode(this.cacheMode_);return a};OS.prototype.internalGetOptions=TA({});OS.prototype.setCredentialsMode=function(a){this.credentialsMode_=a};
OS.prototype.setCacheMode=function(a){this.cacheMode_=a};var PS=function(a,b){yp.call(this);this.worker_=a;this.streamBinaryChunks_=b;this.cacheMode_=this.credentialsMode_=void 0;this.status=this.readyState=0;this.responseType=this.responseText=this.response=this.statusText="";this.onreadystatechange=this.responseXML=null;this.requestHeaders_=new Headers;this.responseHeaders_=null;this.method_="GET";this.url_="";this.inProgress_=!1;this.textDecoder_=this.currentReader_=this.fetchResponse_=null};
qv(PS,yp);PS.prototype.open=function(a,b){if(this.readyState!=0)throw this.abort(),Error("Be");this.method_=a;this.url_=b;this.readyState=1;PCc(this)};PS.prototype.send=function(a){if(this.readyState!=1)throw this.abort(),Error("Ce");this.inProgress_=!0;var b={headers:this.requestHeaders_,method:this.method_,credentials:this.credentialsMode_,cache:this.cacheMode_};a&&(b.body=a);(this.worker_||ya).fetch(new Request(this.url_,b)).then(this.handleResponse_.bind(this),this.handleSendFailure_.bind(this))};
PS.prototype.abort=function(){this.response=this.responseText="";this.requestHeaders_=new Headers;this.status=0;this.currentReader_&&this.currentReader_.cancel("Request was aborted.").catch(function(){return null});this.readyState>=1&&this.inProgress_&&this.readyState!=4&&(this.inProgress_=!1,QCc(this));this.readyState=0};
PS.prototype.handleResponse_=function(a){if(this.inProgress_&&(this.fetchResponse_=a,this.responseHeaders_||(this.status=this.fetchResponse_.status,this.statusText=this.fetchResponse_.statusText,this.responseHeaders_=a.headers,this.readyState=2,PCc(this)),this.inProgress_&&(this.readyState=3,PCc(this),this.inProgress_)))if(this.responseType==="arraybuffer")a.arrayBuffer().then(this.handleResponseArrayBuffer_.bind(this),this.handleSendFailure_.bind(this));else if(typeof ya.ReadableStream!=="undefined"&&
"body"in a){this.currentReader_=a.body.getReader();if(this.streamBinaryChunks_){if(this.responseType)throw Error("De");this.response=[]}else this.response=this.responseText="",this.textDecoder_=new TextDecoder;RCc(this)}else a.text().then(this.handleResponseText_.bind(this),this.handleSendFailure_.bind(this))};var RCc=function(a){a.currentReader_.read().then(a.handleDataFromStream_.bind(a)).catch(a.handleSendFailure_.bind(a))};
PS.prototype.handleDataFromStream_=function(a){if(this.inProgress_){if(this.streamBinaryChunks_&&a.value)this.response.push(a.value);else if(!this.streamBinaryChunks_){var b=a.value?a.value:new Uint8Array(0);if(b=this.textDecoder_.decode(b,{stream:!a.done}))this.response=this.responseText+=b}a.done?QCc(this):PCc(this);this.readyState==3&&RCc(this)}};PS.prototype.handleResponseText_=function(a){this.inProgress_&&(this.response=this.responseText=a,QCc(this))};
PS.prototype.handleResponseArrayBuffer_=function(a){this.inProgress_&&(this.response=a,QCc(this))};PS.prototype.handleSendFailure_=function(){this.inProgress_&&QCc(this)};var QCc=function(a){a.readyState=4;a.fetchResponse_=null;a.currentReader_=null;a.textDecoder_=null;PCc(a)};g=PS.prototype;g.setRequestHeader=function(a,b){this.requestHeaders_.append(a,b)};g.getResponseHeader=function(a){return this.responseHeaders_?this.responseHeaders_.get(a.toLowerCase())||"":""};
g.getAllResponseHeaders=function(){if(!this.responseHeaders_)return"";for(var a=[],b=this.responseHeaders_.entries(),c=b.next();!c.done;)c=c.value,a.push(c[0]+": "+c[1]),c=b.next();return a.join("\r\n")};g.setCredentialsMode=function(a){this.credentialsMode_=a};g.setCacheMode=function(a){this.cacheMode_=a};var PCc=function(a){a.onreadystatechange&&a.onreadystatechange.call(a)};
Object.defineProperty(PS.prototype,"withCredentials",{get:function(){return this.credentialsMode_==="include"},set:function(a){this.setCredentialsMode(a?"include":"same-origin")}});var SCc=function(a,b,c){return c&&c.internalChannelParams?c.internalChannelParams[a]||b:b},QS=function(a){this.clientVersion_=22;this.serverVersion_=0;this.outgoingMaps_=[];this.channelDebug_=new IS;this.hostPrefix_=this.backChannelUri_=this.forwardChannelUri_=this.path_=this.backChannelRequest_=this.httpSessionId_=this.httpSessionIdParam_=this.extraParams_=this.httpHeadersOverwriteParam_=this.initHeaders_=this.extraHeaders_=null;this.nextMapId_=this.nextRid_=0;this.failFast_=SCc("failFast",!1,a);
this.enableStreaming_=this.deadBackChannelTimerId_=this.backChannelTimerId_=this.forwardChannelTimerId_=this.handler_=null;this.allowStreamingMode_=!0;this.errorResponseStatusCode_=this.lastPostResponseArrayId_=this.lastArrayId_=-1;this.backChannelAttemptId_=this.backChannelRetryCount_=this.forwardChannelRetryCount_=0;this.baseRetryDelayMs_=SCc("baseRetryDelayMs",5E3,a);this.retryDelaySeedMs_=SCc("retryDelaySeedMs",1E4,a);this.forwardChannelMaxRetries_=SCc("forwardChannelMaxRetries",2,a);this.forwardChannelRequestTimeoutMs_=
SCc("forwardChannelRequestTimeoutMs",2E4,a);this.xmlHttpFactory_=a&&a.xmlHttpFactory||void 0;this.networkTestUrl_=a&&a.networkTestUrl||void 0;this.usesFetchStreams_=a&&a.useFetchStreams||!1;this.backChannelRequestTimeoutMs_=void 0;this.readyStateChangeThrottleMs_=0;this.supportsCrossDomainXhrs_=a&&a.supportsCrossDomainXhr||!1;this.sid_="";this.forwardChannelRequestPool_=new HCc(a&&a.concurrentRequestLimit);this.wireCodec_=new NCc;this.fastHandshake_=a&&a.fastHandshake||!1;this.encodeInitMessageHeaders_=
a&&a.encodeInitMessageHeaders||!1;this.fastHandshake_&&this.encodeInitMessageHeaders_&&(this.channelDebug_.warning("Ignore encodeInitMessageHeaders because fastHandshake is set."),this.encodeInitMessageHeaders_=!1);this.blockingHandshake_=a&&a.blockingHandshake||!1;a&&a.disableRedact&&this.channelDebug_.disableRedact();a&&a.forceLongPolling&&(this.allowStreamingMode_=!1);this.detectBufferingProxy_=!this.fastHandshake_&&this.allowStreamingMode_&&a&&a.detectBufferingProxy||!1;this.longPollingTimeout_=
void 0;a&&a.longPollingTimeout&&a.longPollingTimeout>0&&(this.longPollingTimeout_=a.longPollingTimeout);this.forwardChannelFlushedCallback_=void 0;this.handshakeRttMs_=0;this.bpDetectionDone_=!1;this.nonAckedMapsAtChannelClose_=this.bpDetectionTimerId_=null};QS.prototype.channelVersion_=8;QS.prototype.state_=1;
QS.prototype.connect=function(a,b,c,d){this.channelDebug_.debug("connect()");HS(0);this.path_=a;this.extraParams_=b||{};c&&d!==void 0&&(this.extraParams_.OSID=c,this.extraParams_.OAID=d);this.enableStreaming_=this.allowStreamingMode_;this.channelDebug_.debug("connectChannel_()");a=CCc(this,null,this.path_);this.channelDebug_.debug("GetForwardChannelUri: "+a);this.forwardChannelUri_=a;FCc(this)};
QS.prototype.disconnect=function(){this.channelDebug_.debug("disconnect()");TCc(this);if(this.state_==3){var a=this.nextRid_++,b=this.forwardChannelUri_.clone();iI(b,"SID",this.sid_);iI(b,"RID",a);iI(b,"TYPE","terminate");UCc(this,b);a=new KS(this,this.channelDebug_,this.sid_,a);a.type_=2;a.baseUri_=nhc(b.clone());b=!1;if(ya.navigator&&ya.navigator.sendBeacon)try{b=ya.navigator.sendBeacon(a.baseUri_.toString(),"")}catch(c){}!b&&ya.Image&&((new Image).src=a.baseUri_,b=!0);b||(a.xmlHttp_=jCc(a.channel_,
null),a.xmlHttp_.send(a.baseUri_));a.requestStartTime_=Date.now();iCc(a)}VCc(this)};var zCc=function(a){a.backChannelRequest_&&(vCc(a),a.backChannelRequest_.cancel(),a.backChannelRequest_=null)},TCc=function(a){zCc(a);a.backChannelTimerId_&&(ya.clearTimeout(a.backChannelTimerId_),a.backChannelTimerId_=null);yCc(a);a.forwardChannelRequestPool_.cancel();a.forwardChannelTimerId_&&(typeof a.forwardChannelTimerId_==="number"&&ya.clearTimeout(a.forwardChannelTimerId_),a.forwardChannelTimerId_=null)};
g=QS.prototype;g.setExtraHeaders=function(a){this.extraHeaders_=a};g.getHttpSessionId=function(){return this.httpSessionId_};g.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};g.getHandler=function(){return this.handler_};g.isClosed=function(){return this.state_==0};g.getState=function(){return this.state_};g.getLastStatusCode=function(){return this.errorResponseStatusCode_};
var FCc=function(a){ICc(a.forwardChannelRequestPool_)||a.forwardChannelTimerId_||(a.forwardChannelTimerId_=!0,SA(a.onStartForwardChannelTimer_,a),a.forwardChannelRetryCount_=0)},XCc=function(a,b){if(BCc(a.forwardChannelRequestPool_)>=a.forwardChannelRequestPool_.maxSize_-(a.forwardChannelTimerId_?1:0))return!1;if(a.forwardChannelTimerId_)return a.channelDebug_.debug("Use the retry request that is already scheduled."),a.outgoingMaps_=b.getPendingMessages().concat(a.outgoingMaps_),!0;if(a.state_==1||
a.state_==2||a.forwardChannelRetryCount_>=(a.failFast_?0:a.forwardChannelMaxRetries_))return!1;a.channelDebug_.debug("Going to retry POST");a.forwardChannelTimerId_=YBc(ov(a.onStartForwardChannelTimer_,a,b),WCc(a,a.forwardChannelRetryCount_));a.forwardChannelRetryCount_++;return!0};
QS.prototype.onStartForwardChannelTimer_=function(a){if(this.forwardChannelTimerId_)if(this.forwardChannelTimerId_=null,this.channelDebug_.debug("startForwardChannel_"),this.state_==1){if(!a){this.channelDebug_.debug("open_()");this.nextRid_=Math.floor(Math.random()*1E5);a=this.nextRid_++;var b=new KS(this,this.channelDebug_,"",a),c=this.extraHeaders_;this.initHeaders_&&(c?(c=Gc(c),Cea(c,this.initHeaders_)):c=this.initHeaders_);this.httpHeadersOverwriteParam_!==null||this.encodeInitMessageHeaders_||
(b.setExtraHeaders(c),c=null);var d;if(this.fastHandshake_)a:{for(var e=d=0;e<this.outgoingMaps_.length;e++){b:{var f=this.outgoingMaps_[e];if("__data__"in f.map&&(f=f.map.__data__,typeof f==="string")){f=f.length;break b}f=void 0}if(f===void 0)break;d+=f;if(d>4096){d=e;break a}if(d===4096||e===this.outgoingMaps_.length-1){d=e+1;break a}}d=1E3}else d=1E3;d=YCc(this,b,d);e=this.forwardChannelUri_.clone();iI(e,"RID",a);this.clientVersion_>0&&iI(e,"CVER",this.clientVersion_);this.httpSessionIdParam_&&
iI(e,"X-HTTP-Session-Id",this.httpSessionIdParam_);UCc(this,e);c&&(this.encodeInitMessageHeaders_?d="headers="+encodeURIComponent(String(qhc(c)))+"&"+d:this.httpHeadersOverwriteParam_&&rhc(e,this.httpHeadersOverwriteParam_,c));this.forwardChannelRequestPool_.addRequest(b);this.blockingHandshake_&&iI(e,"TYPE","init");this.fastHandshake_?(iI(e,"$req",d),iI(e,"SID","null"),b.decodeInitialResponse_=!0,hCc(b,e,null)):hCc(b,e,d);this.state_=2}}else this.state_==3&&(a?ZCc(this,a):this.outgoingMaps_.length==
0?this.channelDebug_.debug("startForwardChannel_ returned: nothing to send"):ICc(this.forwardChannelRequestPool_)||(ZCc(this),this.channelDebug_.debug("startForwardChannel_ finished, sent request")))};
var ZCc=function(a,b){var c;b?c=b.getRequestId():c=a.nextRid_++;var d=a.forwardChannelUri_.clone();iI(d,"SID",a.sid_);iI(d,"RID",c);iI(d,"AID",a.lastArrayId_);UCc(a,d);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&rhc(d,a.httpHeadersOverwriteParam_,a.extraHeaders_);c=new KS(a,a.channelDebug_,a.sid_,c,a.forwardChannelRetryCount_+1);a.httpHeadersOverwriteParam_===null&&c.setExtraHeaders(a.extraHeaders_);b&&(a.outgoingMaps_=b.getPendingMessages().concat(a.outgoingMaps_));b=YCc(a,c,1E3);c.setTimeout(Math.round(a.forwardChannelRequestTimeoutMs_*
.5)+Math.round(a.forwardChannelRequestTimeoutMs_*.5*Math.random()));a.forwardChannelRequestPool_.addRequest(c);hCc(c,d,b)},UCc=function(a,b){a.extraParams_&&Cc(a.extraParams_,function(c,d){iI(b,d,c)});a.handler_&&Vgc({},function(c,d){iI(b,d,c)})},YCc=function(a,b,c){c=Math.min(a.outgoingMaps_.length,c);var d=a.handler_?ov(a.handler_.badMapError,a.handler_,a):null;a:{for(var e=a.outgoingMaps_,f=-1;;){var h=["count="+c];f==-1?c>0?(f=e[0].mapId,h.push("ofs="+f)):f=0:h.push("ofs="+f);for(var l=!0,q=0;q<
c;q++){var v=e[q].mapId,y=e[q].map;v-=f;if(v<0)f=Math.max(0,e[q].mapId-100),l=!1;else try{OCc(y,h,"req"+v+"_")}catch(E){d&&d(y)}}if(l){d=h.join("&");break a}}d=void 0}a=a.outgoingMaps_.splice(0,c);b.pendingMessages_=a;return d},ECc=function(a){a.backChannelRequest_||a.backChannelTimerId_||(a.backChannelAttemptId_=1,SA(a.onStartBackChannelTimer_,a),a.backChannelRetryCount_=0)},ACc=function(a){if(a.backChannelRequest_||a.backChannelTimerId_||a.backChannelRetryCount_>=3)return!1;a.channelDebug_.debug("Going to retry GET");
a.backChannelAttemptId_++;a.backChannelTimerId_=YBc(ov(a.onStartBackChannelTimer_,a),WCc(a,a.backChannelRetryCount_));a.backChannelRetryCount_++;return!0};
QS.prototype.onStartBackChannelTimer_=function(){this.backChannelTimerId_=null;$Cc(this);if(this.detectBufferingProxy_&&!this.bpDetectionDone_)if(this.backChannelRequest_==null||this.handshakeRttMs_<=0)this.channelDebug_.warning("Skip bpDetectionTimerId_ "+this.backChannelRequest_+" "+this.handshakeRttMs_);else{var a=2*this.handshakeRttMs_;this.channelDebug_.info("BP detection timer enabled: "+a);this.bpDetectionTimerId_=YBc(ov(this.onBpDetectionTimer_,this),a)}};
QS.prototype.onBpDetectionTimer_=function(){if(this.bpDetectionTimerId_){this.bpDetectionTimerId_=null;this.channelDebug_.info("BP detection timeout reached.");if(this.backChannelRequest_.getXhr()!=null){var a=this.backChannelRequest_.getXhr().getResponseText();a&&this.channelDebug_.warning("Timer should have been cancelled : "+a)}this.channelDebug_.info("Buffering proxy detected and switch to long-polling!");this.enableStreaming_=!1;this.bpDetectionDone_=!0;HS(10);zCc(this);$Cc(this)}else this.channelDebug_.warning("Invalid operation.")};
var vCc=function(a){a.bpDetectionTimerId_!=null&&(a.channelDebug_.debug("Cancel the BP detection timer."),ya.clearTimeout(a.bpDetectionTimerId_),a.bpDetectionTimerId_=null)},$Cc=function(a){a.channelDebug_.debug("Creating new HttpRequest");a.backChannelRequest_=new KS(a,a.channelDebug_,a.sid_,"rpc",a.backChannelAttemptId_);a.httpHeadersOverwriteParam_===null&&a.backChannelRequest_.setExtraHeaders(a.extraHeaders_);a.backChannelRequest_.setReadyStateChangeThrottle(a.readyStateChangeThrottleMs_);var b=
a.backChannelUri_.clone();iI(b,"RID","rpc");iI(b,"SID",a.sid_);iI(b,"AID",a.lastArrayId_);iI(b,"CI",a.enableStreaming_?"0":"1");!a.enableStreaming_&&a.longPollingTimeout_&&iI(b,"TO",a.longPollingTimeout_);iI(b,"TYPE","xmlhttp");UCc(a,b);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&rhc(b,a.httpHeadersOverwriteParam_,a.extraHeaders_);a.backChannelRequestTimeoutMs_&&a.backChannelRequest_.setTimeout(a.backChannelRequestTimeoutMs_);var c=a.backChannelRequest_,d=a.hostPrefix_;c.type_=1;c.baseUri_=nhc(b.clone());
c.postData_=null;c.decodeChunks_=!0;gCc(c,d);a.channelDebug_.debug("New Request created")};QS.prototype.correctHostPrefix=function(a){return this.handler_?this.handler_.correctHostPrefix(a):a};QS.prototype.onBackChannelDead_=function(){this.deadBackChannelTimerId_!=null&&(this.deadBackChannelTimerId_=null,zCc(this),ACc(this),HS(19))};
var yCc=function(a){a.deadBackChannelTimerId_!=null&&(ya.clearTimeout(a.deadBackChannelTimerId_),a.deadBackChannelTimerId_=null)},sCc=function(a,b){a.channelDebug_.debug("Request complete");var c=null;if(a.backChannelRequest_==b){yCc(a);vCc(a);a.backChannelRequest_=null;var d=2}else if(xCc(a.forwardChannelRequestPool_,b))c=b.getPendingMessages(),DCc(a.forwardChannelRequestPool_,b),d=1;else return;if(a.state_!=0)if(b.successful_)d==1?(XBc(b.postData_?b.postData_.length:0,Date.now()-b.requestStartTime_,
a.forwardChannelRetryCount_),FCc(a)):ECc(a);else{var e=b.getLastStatusCode(),f=b.getLastError();if(f==3||f==0&&e>0)a.channelDebug_.debug("Not retrying due to error type"),e>200&&(a.errorResponseStatusCode_=b.getLastStatusCode());else{a.channelDebug_.debug(function(){return"Maybe retrying, last error: "+dCc(f,a.errorResponseStatusCode_)});if(d==1&&XCc(a,b)||d==2&&ACc(a))return;a.channelDebug_.debug("Exceeded max number of retries")}c&&c.length>0&&JCc(a.forwardChannelRequestPool_,c);a.channelDebug_.debug("Error: HTTP request failed");
switch(f){case 1:MS(a,5);break;case 4:MS(a,10);break;case 3:MS(a,6);break;default:MS(a,2)}}},WCc=function(a,b){var c=a.baseRetryDelayMs_+Math.floor(Math.random()*a.retryDelaySeedMs_);a.isActive()||(a.channelDebug_.debug("Inactive channel"),c*=2);return c*b},MS=function(a,b){a.channelDebug_.info("Error code "+b);if(b==2){var c=ov(a.testNetworkCallback_,a),d=a.networkTestUrl_,e=!d;d=new Dp(d||"//www.google.com/images/cleardot.gif");ya.location&&ya.location.protocol=="http"||eI(d,"https");nhc(d);e?KCc(d.toString(),
c):LCc(d.toString(),c)}else HS(2);a.onError_(b)};QS.prototype.testNetworkCallback_=function(a){a?(this.channelDebug_.info("Successfully pinged google.com"),HS(2)):(this.channelDebug_.info("Failed to ping google.com"),HS(1))};QS.prototype.onError_=function(a){this.channelDebug_.debug("HttpChannel: error - "+a);this.state_=0;this.handler_&&this.handler_.channelError(a);VCc(this);TCc(this)};
var VCc=function(a){a.state_=0;a.nonAckedMapsAtChannelClose_=[];if(a.handler_){var b=a.forwardChannelRequestPool_.getPendingMessages();if(b.length!=0||a.outgoingMaps_.length!=0)a.channelDebug_.debug(function(){return"Number of undelivered maps, pending: "+b.length+", outgoing: "+a.outgoingMaps_.length}),Fba(a.nonAckedMapsAtChannelClose_,b),Fba(a.nonAckedMapsAtChannelClose_,a.outgoingMaps_),a.forwardChannelRequestPool_.pendingMessages_.length=0,Ua(a.outgoingMaps_),a.outgoingMaps_.length=0;a.handler_.channelClosed()}},
CCc=function(a,b,c){var d=kI(c);d.getDomain()!=""?(b&&fI(d,b+"."+d.getDomain()),d.setPort(d.getPort())):(d=ya.location,d=ohc(d.protocol,null,b?b+"."+d.hostname:d.hostname,+d.port,c));b=a.httpSessionIdParam_;c=a.getHttpSessionId();b&&c&&iI(d,b,c);iI(d,"VER",a.channelVersion_);UCc(a,d);return d},jCc=function(a,b,c){if(b&&!a.supportsCrossDomainXhrs_)throw Error("Ee");b=a.usesFetchStreams_&&!a.xmlHttpFactory_?new Mq(new OS({streamBinaryChunks:c})):new Mq(a.xmlHttpFactory_);b.withCredentials_=a.supportsCrossDomainXhrs_;
return b};QS.prototype.isActive=function(){return!!this.handler_&&this.handler_.isActive(this)};var aDc=function(){};g=aDc.prototype;g.channelOpened=function(){};g.channelHandleArray=function(){};g.channelError=function(){};g.channelClosed=function(){};g.isActive=function(){return!0};g.badMapError=function(){};g.correctHostPrefix=function(a){return a};var bDc=function(){};bDc.prototype.createWebChannel=function(a,b){return new RS(a,b)};
var RS=function(a,b){yp.call(this);this.channel_=new QS(b);this.url_=a;this.messageUrlParams_=b&&b.messageUrlParams||null;a=b&&b.messageHeaders||null;b&&b.clientProtocolHeaderRequired&&(a?a["X-Client-Protocol"]="webchannel":a={"X-Client-Protocol":"webchannel"});this.channel_.setExtraHeaders(a);a=b&&b.initMessageHeaders||null;b&&b.messageContentType&&(a?a["X-WebChannel-Content-Type"]=b.messageContentType:a={"X-WebChannel-Content-Type":b.messageContentType});b&&b.clientProfile&&(a?a["X-WebChannel-Client-Profile"]=
b.clientProfile:a={"X-WebChannel-Client-Profile":b.clientProfile});this.channel_.initHeaders_=a;(a=b&&b.httpHeadersOverwriteParam)&&!iu(a)&&(this.channel_.httpHeadersOverwriteParam_=a);this.supportsCrossDomainXhr_=b&&b.supportsCrossDomainXhr||!1;this.sendRawJson_=b&&b.sendRawJson||!1;(b=b&&b.httpSessionIdParam)&&!iu(b)&&(this.channel_.httpSessionIdParam_=b,vea(this.messageUrlParams_,b)&&Fc(this.messageUrlParams_,b));this.channelHandler_=new SS(this)};qv(RS,yp);
RS.prototype.open=function(){this.channel_.handler_=this.channelHandler_;this.supportsCrossDomainXhr_&&(this.channel_.supportsCrossDomainXhrs_=!0);this.channel_.connect(this.url_,this.messageUrlParams_||void 0)};RS.prototype.close=function(){this.channel_.disconnect()};RS.prototype.send=function(a){var b=this.channel_;if(typeof a==="string"){var c={};c.__data__=a;a=c}else this.sendRawJson_&&(c={},c.__data__=(new tjc).serialize(a),a=c);b.outgoingMaps_.push(new GCc(b.nextMapId_++,a));b.state_==3&&FCc(b)};
RS.prototype.disposeInternal=function(){this.channel_.handler_=null;delete this.channelHandler_;this.channel_.disconnect();delete this.channel_;RS.superClass_.disposeInternal.call(this)};var cDc=function(a){qBc.call(this);a.__headers__&&(this.headers=a.__headers__,this.statusCode=a.__status__,delete a.__headers__,delete a.__status__);var b=a.__sm__;if(b){a:{for(var c in b){a=c;break a}a=void 0}this.data=(this.metadataKey=a)?Aea(b,this.metadataKey):b}else this.data=a};qv(cDc,qBc);
var dDc=function(a){rBc.call(this);this.status=1;this.errorCode=a};qv(dDc,rBc);var SS=function(a){this.channel_=a};qv(SS,aDc);SS.prototype.channelOpened=function(){this.channel_.dispatchEvent("i")};SS.prototype.channelHandleArray=function(a){this.channel_.dispatchEvent(new cDc(a))};SS.prototype.channelError=function(a){this.channel_.dispatchEvent(new dDc(a))};SS.prototype.channelClosed=function(){this.channel_.dispatchEvent("j")};var uBc=function(a){this.channel_=a};
uBc.prototype.getHttpSessionId=function(){return this.channel_.getHttpSessionId()};uBc.prototype.commit=function(a){this.channel_.forwardChannelFlushedCallback_=a};uBc.prototype.getLastStatusCode=function(){return this.channel_.getLastStatusCode()};var eDc=function(){this.changeList=[]};eDc.prototype.add=function(a){this.changeList.push(a)};
var fDc=function(a,b,c){this.authMethod=b;this.jspbClient=new PBc(a,c)},gDc=function(a,b){var c,d,e,f,h;return ve(function(l){if(l.nextAddress==1){var q=new aBc;c=X(q,wS,1,b);return xe(l,a.jspbClient.post("/punctual/v1/chooseServer",c,bBc,RVa(a.authMethod)),2)}d=l.yieldResult;e=Pm(d,1);if(e==null)throw Error("Ge");return l.return({gsessionid:e,affinitization:(f=d.getAffinitizationOrUndefined())!=null?f:0,initialConnectionDelayMillis:(h=Kv(d,3))!=null?h:0})})},hDc=function(a,b,c){this.authMethod=b;
this.jspbClient=new PBc(a,c)},iDc=function(a,b,c){var d,e;ve(function(f){if(f.nextAddress==1){if(a.authMethod instanceof TVa)return f.return(Promise.resolve());d=(new gBc).setChannelId(c);e=RVa(a.authMethod);e.queryParams==null&&(e.queryParams={});e.queryParams.gsessionid=b;e.timeoutMs=1E4;we(f,2);return xe(f,a.jspbClient.post("/punctual/v1/refreshCreds",d,hBc,e),4)}if(f.nextAddress!=2)return jv(f,0);Be(f);Ce(f)})},jDc=function(a,b,c){this.project=a;this.interestSet=b;this.knowledgeTimestamp=c;this.hasRecurred=
!1;this.resyncMillis=Date.now()},TS=function(a,b){this.channelDeps=a;this.options=b;this.refreshCredsTimerScheduled=!1;this.causalStreams=new Map;this.limboStreams=new Map;this.nonCausalStreams=new Map;this.newStreamSubject=new Jf;this.streamNumber=0;this.rawStatus=new Jf;this.status=new bo(new tS);this.skipBackoff=new xBc;this.recentResyncs=[];this.hasConnected=!1;this.rawStatus.pipe(bka(function(e){return e.getCode()===0?Promise.resolve():new Promise(function(f){Nq(f,500)})})).subscribe(this.status);
this.delayGenerator=new QVa;var c,d;this.reconnectHint=(d=(c=b.reconnectHint)==null?void 0:c.pipe(xf(function(){return gw}),aka(gw)))!=null?d:gw;kDc(this)},lDc=function(a,b,c){b=b.then(function(d){switch(d.domainType()){case 2:case 0:var e=a.firstPartyUri;break;case 1:e=a.thirdPartyUri;break;default:e=new Dp}var f=e.clone().setPath("/punctual/multi-watch/channel"),h=new sBc(f.toString(),d,c.xmlHttpFactory!==void 0);return{serverChooser:new fDc(e,d,XVa(c.xmlHttpFactory)),credentialRefresher:new hDc(e,
d,XVa(c.xmlHttpFactory)),channelCreator:function(l,q,v){l=new tBc(l,q,h,function(y,E){return(new bDc).createWebChannel(y,E)},v);l.open();return l}}});return new TS(b,c)},mDc=function(a,b){return Math.max(Math.min(a,b!=null?b:a)+(24E4+4E4*Math.random())-a,0)},nDc=function(a){var b;Nq(function(){a.channelDeps.then(function(c){var d,e;((d=a.channelState)==null?void 0:d.channelId)!=null&&((e=a.channelState)==null?void 0:e.lastRefreshTime)!=null&&Date.now()>=a.channelState.lastRefreshTime+24E4&&(iDc(c.credentialRefresher,
a.channelState.gsessionid,a.channelState.channelId),a.channelState.lastRefreshTime=Date.now());nDc(a)})},mDc(Date.now(),(b=a.channelState)==null?void 0:b.lastRefreshTime))};TS.prototype.handleClose=function(a,b){var c=this.causalStreams.get(a)||this.limboStreams.get(a)||this.nonCausalStreams.get(a);c&&(b.getCodeOrUndefined()===0?c.observer.complete():c.observer.error(b),this.causalStreams.delete(a),this.limboStreams.delete(a),this.nonCausalStreams.delete(a))};
var oDc=function(a){for(var b=0,c=Date.now();b<a.recentResyncs.length;)c>=a.recentResyncs[b].resyncMillis+6E4?a.recentResyncs.splice(b):++b},pDc=function(a,b){return a.recentResyncs.find(function(c){var d;if(d=c.project===b.project)c=c.interestSet,d=b.interestSet,d=c instanceof Vq&&d instanceof Vq?c.equals(d):!1;return d})};TS.prototype.onOpen=function(){var a=(new tS).setCode(0);try{this.rawStatus.next(a)}catch(b){}};TS.prototype.onClose=function(){this.channelState=void 0;kDc(this)};
TS.prototype.onError=function(a,b){a=(new tS).setCode(WVa(b));try{this.rawStatus.next(a)}catch(c){}a=k(this.causalStreams.values());for(b=a.next();!b.done;b=a.next())b.value.streamInitiationReason=2;a=k(this.nonCausalStreams.values());for(b=a.next();!b.done;b=a.next())b.value.streamInitiationReason=2};
var sDc=function(a,b,c){if(a.channelState){var d=qDc(c.project,c.interestSet);if(c instanceof rDc){var e=lk(d,1,c.knowledgeTimestamp.toString());dk(e,8,c.knowledgeTimestampChosenByPunctual)}hk(d,9,c.streamInitiationReason);c.streamInitiationReason=0;c=new fBc;b=c.addAndReturnRequests().setStreamId(b.toString());Fl(b,2,eBc,d).setAffinitization(a.channelState.affinitization);a.channelState.channel.send(c)}},qDc=function(a,b){var c=new wS;c=X(c,vS,4,vBc);if(b instanceof Vq){var d=new YAc;a!=null&&d.setProject(ZVa(a));
d.setOwner(b.isPrivate?WAc():VAc()).setPath(bWa(b));Fl(c,2,$Ac,d)}else d=new ZAc,a!=null&&d.setProject(ZVa(a)),d.setOwner(b.root.isPrivate?WAc():VAc()).setPrefix(bWa(b.root)),c.setPrefix(d);return c},tDc=function(a,b){var c=new fBc;c.addAndReturnRequests().setStreamId(b.toString()).setClose(new cBc);a.channelState&&a.channelState.channel.send(c);a.causalStreams.delete(b);a.limboStreams.delete(b);a.nonCausalStreams.delete(b)},kDc=function(a){var b=TAc(a.delayGenerator);YVa(b).pipe(mka(a.reconnectHint.pipe(Gf(function(){var c=
a.skipBackoff;c.update();c.tokens>0?(c.tokens--,c=!0):c=!1;return c})))).subscribe(function(){a.channelDeps.then(function(c){uDc(a,c.serverChooser).then(function(d){Nq(function(){a.hasConnected=!0;vDc(a,c.channelCreator,d)},a.hasConnected?0:d.initialConnectionDelayMillis)},function(){kDc(a)})},function(c){c=(new tS).setCode(13).setMessage(c.toString());a.rawStatus.next(c)})})},uDc=function(a,b){var c,d,e,f,h,l;return ve(function(q){if(q.nextAddress==1)return xe(q,wDc(a),2);c=q.yieldResult;d=k(c);
e=d.next().value;f=d.next().value;h=e;l=f;return q.return(gDc(b,qDc(h,l)))})},wDc=function(a){var b,c,d,e,f,h,l;return ve(function(q){b=[a.causalStreams,a.limboStreams,a.nonCausalStreams];c=k(b);for(d=c.next();!d.done;d=c.next())for(e=d.value,f=k(e.values()),h=f.next();!h.done;h=f.next())return l=h.value,q.return([l.project,l.interestSet]);return xe(q,Je(Pu(a.newStreamSubject).pipe(Gf())),1)})},vDc=function(a,b,c){a.channelState={channel:b(function(f){for(var h=k(f.getResponsesList()),l=h.next();!l.done;l=
h.next()){var q=a,v=l.value;l=v.getStreamIdOrUndefined_asString();if(l!=null)if(l=Number(l),v.hasClose()){a:{if(v=v.getClose())if(v=v.getStatus())break a;v=void 0}v&&q.handleClose(l,v)}else if(v=Al(v,yS,2,oBc))switch(fl(v,zS)){case 1:if(v=q.causalStreams.get(l)){try{v.observer.next(new QAc)}catch(T){}q.causalStreams.delete(l);q.limboStreams.set(l,v.start())}break;case 3:a:{if(v=Al(v,iBc,3,zS))if(v=e_b(v,1),v!=null){var y=new RAc(Wq(v));break a}y=void 0}if(y&&(v=l,l=y,(y=q.limboStreams.get(v))?(y=
y.advance(l.timestampMicros),q.limboStreams.delete(v),q.nonCausalStreams.set(v,y),q=y):q=q.nonCausalStreams.get(v),q)){v=q;y=l.timestampMicros;y>v.knowledgeTimestamp&&(v.knowledgeTimestamp=y,v.knowledgeTimestampChosenByPunctual=!0);try{q.observer.next(l)}catch(T){}}break;case 2:l=q.nonCausalStreams.get(l)||q.limboStreams.get(l);if(!l)break;q=l.interestSet;if(y=v.getChanges()){v=new eDc;y=k(nj(y,jBc,1,Wi()));for(var E=y.next();!E.done;E=y.next()){var H=E.value,O=W(H,Qq,6);E=H.getVersionOrUndefined_asString();
if(O&&E!=null){var N=void 0;H=(N=gWa(H,2))==null?void 0:new Uint8Array(hc(N)||0);N=H==null?void 0:H;(O=iWa(q,O))&&v.add(new PAc(O,Wq(E),N))}}q=v}else q=void 0;if(q)for(q=k(q.changeList),v=q.next();!v.done;v=q.next()){v=v.value;v=new PAc(v.objectId,v.version,v.payload);try{l.observer.next(v)}catch(T){}}break;case 5:if(l=q.causalStreams.get(l)||q.limboStreams.get(l)||q.nonCausalStreams.get(l)){l instanceof rDc&&(oDc(q),(v=pDc(q,l))?(v.hasRecurred=!0,v.knowledgeTimestamp=l.knowledgeTimestamp,v.resyncMillis=
Date.now()):q.recentResyncs.push(new jDc(l.project,l.interestSet,l.knowledgeTimestamp)));try{l.observer.complete()}catch(T){}}}}if(f.hasStatus())switch(f.getStatus().getCodeOrUndefined()){case 1:h=k(a.causalStreams.values());for(l=h.next();!l.done;l=h.next())l.value.streamInitiationReason=3;h=k(a.nonCausalStreams.values());for(l=h.next();!l.done;l=h.next())l.value.streamInitiationReason=3;a.channelState&&a.channelState.channel.close()}Oj(f,mBc,3)&&a.channelState&&(a.channelState.channelId=W(f,mBc,
3).getChannelId(),a.channelState.lastRefreshTime=Date.now(),a.refreshCredsTimerScheduled||(nDc(a),a.refreshCredsTimerScheduled=!0))},a,c.gsessionid),affinitization:c.affinitization,gsessionid:c.gsessionid};b=[].concat(Array.from(a.causalStreams.entries())).concat(Array.from(a.nonCausalStreams.entries()));b.sort(function(f,h){return f[0]-h[0]});b=k(b);for(c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;sDc(a,c,d)}b=k(a.limboStreams);for(c=b.next();!c.done;c=b.next())c=
k(c.value),c.next(),c.next().value.observer.complete();a.limboStreams.clear();var e=a.channelState;Nq(function(){a.channelState===e&&a.delayGenerator.reset()},45E3)};TS.prototype.watch=function(a,b){var c=this;b=b===void 0?{}:b;return new re(function(d){var e=++c.streamNumber,f,h=(f=b.projectOverride)!=null?f:c.options.defaultProject;d=new xDc(d,h,a);c.causalStreams.set(e,d);c.newStreamSubject.next({});sDc(c,e,d);return function(){tDc(c,e)}})};
TS.prototype.watchWithStartTime=function(a,b,c){var d=this;c=c===void 0?{}:c;return new re(function(e){var f=++d.streamNumber,h,l=(h=c.projectOverride)!=null?h:d.options.defaultProject,q=new rDc(e,l,a,b,!1);oDc(d);if((e=pDc(d,q))&&(e.hasRecurred||b.compare(e.knowledgeTimestamp)<=0)){var v=!0;Nq(function(){v&&q.observer.complete()},6E4);return function(){v=!1}}d.nonCausalStreams.set(f,q);d.newStreamSubject.next({});sDc(d,f,q);return function(){tDc(d,f)}})};
var xDc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c;this.streamInitiationReason=1};xDc.prototype.start=function(){return new yDc(this.observer,this.project,this.interestSet)};var yDc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c};yDc.prototype.advance=function(a){return new rDc(this.observer,this.project,this.interestSet,a,!0)};
var rDc=function(a,b,c,d,e){this.observer=a;this.project=b;this.interestSet=c;this.knowledgeTimestamp=d;this.knowledgeTimestampChosenByPunctual=e;this.streamInitiationReason=1};var zDc={firstPartyUri:new Dp("https://signaler-pa.clients6.google.com"),thirdPartyUri:new Dp("https://signaler-pa.googleapis.com")},ADc={firstPartyUri:new Dp("https://punctual-dev.corp.google.com"),thirdPartyUri:new Dp("https://signaler-staging.sandbox.google.com")},BDc=new Map([["prod",zDc],["preprod-dynamite-alpha-us",Xq("preprod-dynamite-alpha-us")],["preprod-dynamite-alpha-eu",Xq("preprod-dynamite-alpha-eu")],["preprod-dynamite-beta-us",Xq("preprod-dynamite-beta-us")],["preprod-dynamite-beta-eu",
Xq("preprod-dynamite-beta-eu")],["preprod-dynamite-gamma-us",Xq("preprod-dynamite-gamma-us")],["preprod-dynamite-gamma-eu",Xq("preprod-dynamite-gamma-eu")],["preprod-qual-dynamite-perftest",Xq("preprod-qual-dynamite-perftest")],["prod-dynamite-prod-00-eu",Xq("prod-dynamite-prod-00-eu")],["prod-dynamite-prod-01-eu",Xq("prod-dynamite-prod-01-eu")],["prod-dynamite-prod-00-us",Xq("prod-dynamite-prod-00-us")],["prod-dynamite-prod-01-us",Xq("prod-dynamite-prod-01-us")],["prod-dynamite-prod-02-us",Xq("prod-dynamite-prod-02-us")],
["prod-dynamite-prod-03-us",Xq("prod-dynamite-prod-03-us")],["prod-dynamite-prod-04-us",Xq("prod-dynamite-prod-04-us")],["prod-dynamite-prod-05-us",Xq("prod-dynamite-prod-05-us")],["prod-dynamite-prod-06-us",Xq("prod-dynamite-prod-06-us")],["prod-dynamite-prod-07-us",Xq("prod-dynamite-prod-07-us")],["prod-dynamite-prod-08-us",Xq("prod-dynamite-prod-08-us")],["prod-dynamite-prod-09-us",Xq("prod-dynamite-prod-09-us")],["ytprod",{firstPartyUri:new Dp("https://signaler-pa.youtube.com"),thirdPartyUri:new Dp("https://signaler-pa.googleapis.com")}],
["dev",ADc]]);var CDc=function(a){this.projectPath=a;this.authParams=new DBc;this.fetchApi=!1};CDc.prototype.setApiKey=function(a){this.authParams.apiKey=a;return this};CDc.prototype.useFetchApi=function(a){this.fetchApi=!0;this.worker=a;return this};
CDc.prototype.build=function(){var a=VVa(this.authParams),b=this.projectPath;if(!b.startsWith("/punctual/"))throw Error("He`"+b);var c=b.substring(10).split("/");if(c.length!==2)throw Error("Ie`"+b);b=k(c);c=b.next().value;b=b.next().value;if(c.startsWith("custom:"))c=new Dp(decodeURIComponent(c.substring(7))),c={firstPartyUri:c,thirdPartyUri:c};else{var d=BDc.get(c);if(!d)throw Error("Je`"+c);c=d}var e;this.fetchApi&&(e=new OS({worker:this.worker}));return lDc(c,a,{reconnectHint:this.reconnectHint,
defaultProject:b,xmlHttpFactory:e})};var DDc={watch:function(){return Fe()},watchWithStartTime:function(){return Fe()},status:Fe()},US=function(){this.activeSession=r(dv);if(lu(this.activeSession,"enablePushUpdatesClient")){switch(this.activeSession.getEnvironmentType()){case "PROD":case "NIGHTLY":var a="AIzaSyDBL0cdQ7zgltPyAYPmzKE4X2t2_S_wW8w";var b="/punctual/prod/buganizer";break;case "QA":a="AIzaSyCpeBtg5BChNlEw-O4F0WpVJWgk_CFEY6I";b="/punctual/prod/buganizer-qa";break;default:a="ANVavNKXeiME5gTvC0_SzcTVHNYBMU50fWn-NpE",b="/punctual/dev/buganizer-test"}this.punctualClient=
(new CDc(b)).setApiKey(a).build()}else this.punctualClient=DDc};US.prototype.watch=function(a,b){return this.punctualClient.watch(cWa(String(a),b)).pipe(Ye(function(c){return c instanceof PAc}))};US.\u0275fac=function(a){return new (a||US)};US.\u0275prov=n({token:US,factory:US.\u0275fac,providedIn:"root"});var VS=function(){this.punctualService=r(US);this.stream=new Jf;this.isPaused=!1;this.closeStream$=new Jf};VS.prototype.resume=function(){this.isPaused=!1};var EDc=function(a,b){a.issueId!==b&&(a.closeStream$.next(),a.stream=new Jf,a.issueId=b,a.resume(),a.watch(b).subscribe(a.stream));return a.stream};VS.prototype.watch=function(a){var b=this;return this.punctualService.watch("new-comment-issue",a).pipe(Ye(function(){var c=!b.isPaused;b.resume();return c}),Af(1E3),Of(this.closeStream$))};
VS.\u0275fac=function(a){return new (a||VS)};VS.\u0275prov=n({token:VS,factory:VS.\u0275fac,providedIn:"root"});var FDc=function(a,b){this.displayText=a;this.value=b;this.enabled=!0;this.disabledReason=""};var WS=function(){Z.call(this);this.window=r(aL);this.scrolledOnScreenService=r(JI);this.elementRef=r(ge);this.onAutoResize=new rG;this.el=this.elementRef.nativeElement;this.cloneEl=this.el.cloneNode();this.cloneEl.removeAttribute("id");this.cloneEl.removeAttribute("name");this.cloneEl.removeAttribute("aria-label");this.cloneEl.setAttribute("aria-hidden","");this.cloneEl.removeAttribute("data-stable");this.cloneEl.setAttribute("data-cloned-for-auto-resize","");this.cloneEl.style.height="auto";this.cloneEl.style.visibility=
"hidden";this.cloneEl.style.position="absolute";this.cloneEl.style.left="0";this.cloneEl.style.top="0";this.cloneEl.style.zIndex="-9999";this.cloneEl.style.overflowY="hidden";this.window.document.body.appendChild(this.cloneEl)};Y(WS,Z);WS.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.scrolledOnScreenService.getObservable(this.el,!0).subscribe(function(b){b&&GDc(a,0)}));this.autoResize&&this.subscriptions.add(this.autoResize.subscribe(function(){GDc(a,2)}))};
WS.prototype.onInput=function(){GDc(this,1)};
var GDc=function(a,b){for(var c=a.window.getComputedStyle(a.el),d=k("width max-height min-height font-family text-decoration letter-spacing".split(" ")),e=d.next();!e.done;e=d.next())e=e.value,a.cloneEl.style.setProperty(e,c.getPropertyValue(e));a.cloneEl.value=a.el.value;d=a.window.getComputedStyle(a.cloneEl);c=a.cloneEl;c=Bq(d.getPropertyValue("border-top-width"))+Bq(d.getPropertyValue("padding-top"))+c.scrollHeight+Bq(d.getPropertyValue("padding-bottom"))+Bq(d.getPropertyValue("border-bottom-width"))+
24;Number.isNaN(c)||(e=Bq(d.getPropertyValue("max-height")),d=Bq(d.getPropertyValue("min-height")),!Number.isNaN(e)&&c>e&&(c=e),!Number.isNaN(d)&&c<d&&(c=d),d=c+"px",a.el.style.height!==d&&(a.el.style.height=d,a.onAutoResize.emit({newHeight:c,source:b})))};WS.prototype.ngOnDestroy=function(){this.cloneEl.parentElement&&this.cloneEl.parentElement.removeChild(this.cloneEl);Z.prototype.ngOnDestroy.call(this)};WS.\u0275fac=function(a){return new (a||WS)};
WS.\u0275dir=ud({type:WS,selectors:[["textarea","autoResize",""]],hostBindings:function(a,b){a&1&&M("input",function(){return b.onInput()})},inputs:{autoResize:"autoResize"},outputs:{onAutoResize:"onAutoResize"},features:[cg]});var HDc=["textarea"],IDc=["hiddenInput"],JDc=["autocompleteUnderlay"],KDc=Symbol(),XS=function(){Z.apply(this,arguments);this.codefont=r(sP);this.activeSession=r(dv);this.issuePermissionService=r(ZL);this.window=r(aL);this.textareaClass=[];this.enableMentionsAutocomplete=this.canEditIssuesInComponent=this.disabled=!1;this.contentChange=new rG;this.focus=new rG;this.blur=new rG;this.autoResize=new rG;this.manualResize$=new rG;this.autocompleteUserName="";this.scrollPosition=this.autocompleteLeft=this.autocompleteTop=
0;this.taggingInProgress=!1;this.wordInfo={wordStart:0,wordEnd:0,word:""};this.enableExternalMentionsFe=lu(this.activeSession,"enableExternalMentionsFe");this.textAreaLastAtSymbolLocation=this.textAreaLastCursorLocation=0};Y(XS,Z);XS.\u0275dir=Z.\u0275dir;XS.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.codefont.codefont$.subscribe(function(b){b?Yq(a).classList.add("codefont"):Yq(a).classList.remove("codefont")}))};
XS.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.focus.complete();this.blur.complete();this.manualResize$.complete()};XS.prototype.setValue=function(a){Yq(this).value!==a&&(Yq(this).value=a,this.manualResize$.next())};XS.prototype.getValue=function(){return Yq(this).value};
var Yq=function(a){return a.textareaRef.nativeElement},Zq=function(a){var b;return(b=a.hiddenInputRef)==null?void 0:b.nativeElement},jWa=function(a){return a.enableExternalMentionsFe?a.enableMentionsAutocomplete?uC(a.activeSession)?a.issueId?a.issuePermissionService.hasAclToEdit():a.canEditIssuesInComponent:!0:!1:a.activeSession.isInternalSession()&&a.audience==="INTERNAL"},LDc=function(a){var b;return(b=a.autocompleteUnderlayRef)==null?void 0:b.nativeElement},MDc=function(a){var b=Yq(a).selectionStart;
a.wordInfo=a.findWord(a.getValue(),b)};XS.prototype.findWord=function(a,b){var c=a.slice(0,b).search(/(?!(.*\s))/);b+=a.slice(b).search(/(\s|$)/);return{wordStart:c,wordEnd:b,word:a.slice(c,b)}};
var NDc=function(a){return a.key==="ArrowDown"||a.key==="ArrowUp"||a.key==="Enter"||a.key==="Escape"||a.key==="Tab"},ODc=function(a){var b=LDc(a);a=Yq(a);b&&a&&(b.scrollTop=a.scrollTop)},kWa=function(a){a.taggingInProgress=!1;a.autocompleteUserName=""},lWa=function(a,b){b=b===void 0?!1:b;var c=Yq(a),d=Yq(a).value,e,f=(e=Zq(a))==null?void 0:e.value;e=f==null?void 0:f.length;MDc(a);var h=d.slice(0,a.textAreaLastAtSymbolLocation+1);d=a.wordInfo.word.slice(1)===f?d.slice(a.textAreaLastAtSymbolLocation+
f.length+1):d.slice(a.textAreaLastCursorLocation);e&&(a.textAreaLastCursorLocation=h.length+e);b?(b=h+f+" "+d,a.textAreaLastCursorLocation+=1):b=h+f+d;c.value=b};XS.prototype[KDc]=function(){return this.findWord};XS.\u0275fac=function(){var a;return function(b){return(a||(a=de(XS)))(b||XS)}}();
XS.\u0275cmp=t({type:XS,selectors:[["b-comment-draft-textarea"]],viewQuery:function(a,b){a&1&&(Mg(HDc,7),Mg(IDc,5),Mg(JDc,5));if(a&2){var c;Qg(c=Rg())&&(b.textareaRef=c.first);Qg(c=Rg())&&(b.hiddenInputRef=c.first);Qg(c=Rg())&&(b.autocompleteUnderlayRef=c.first)}},hostBindings:function(a,b){a&1&&M("click",function(){kWa(b)},!1,hha)("keyup",function(c){var d=c.key;c=c.target.classList.contains("autocomplete-hidden-input");d==="Escape"&&c&&(kWa(b),Yq(b).focus())},!1,hha)},inputs:{textareaClass:"textareaClass",
disabled:"disabled",placeholder:"placeholder",idForAriaLabel:"idForAriaLabel",audience:"audience",issueId:"issueId",canEditIssuesInComponent:"canEditIssuesInComponent",enableMentionsAutocomplete:"enableMentionsAutocomplete"},outputs:{contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize"},features:[cg],decls:7,vars:11,consts:[["commentBoxContainer",""],["textarea",""],["hiddenInput",""],["autocompleteUnderlay",""],[1,"pos-rel","comment-box-container",3,"keydown"],["aria-label",
"Comment box - add your comment","cdkFocusInitial","",3,"input","focus","blur","onAutoResize","keydown","keyup","scroll","autoResize","ngClass","disabled"],[1,"autocomplete-input-container"],["type","text","bContactAutocomplete","SINGLE","tabIndex","-1","aria-hidden","true",1,"autocomplete-hidden-input",3,"value"],["contentEditable","true",1,"autocomplete-underlay"],["type","text","bContactAutocomplete","SINGLE","tabIndex","-1","aria-hidden","true",1,"autocomplete-hidden-input",3,"change","keyup",
"value"]],template:function(a,b){if(a&1){var c=x();I(0,"div",4,0);M("keydown",function(d){z(c);d.key==="Escape"&&(kWa(b),Yq(b).focus());return A()});I(2,"textarea",5,1);M("input",function(){z(c);b.contentChange.emit(b.getValue());return A()})("focus",function(d){z(c);return A(b.focus.emit(d))})("blur",function(d){z(c);return A(b.blur.emit(d))})("onAutoResize",function(d){z(c);return A(b.autoResize.emit(d))})("keydown",function(d){z(c);if(jWa(b)&&NDc(d)&&b.taggingInProgress){d==null||d.preventDefault();
var e;(e=Zq(b))==null||e.focus();e=d.code;var f=d.key,h=d.keyCode,l=d.which;d=new KeyboardEvent("keydown",{charCode:d.charCode,metaKey:d.metaKey,type:d.type,code:f==="Enter"?"Tab":e,key:f==="Enter"?"Tab":f,keyCode:f==="Enter"?9:h,which:f==="Enter"?9:l});var q;(q=Zq(b))==null||q.dispatchEvent(d)}return A()})("keyup",function(d){z(c);if(jWa(b)){var e=Yq(b),f=e==null?void 0:e.value;b.textAreaLastCursorLocation=e.selectionStart;b.textAreaLastAtSymbolLocation=f.slice(0,b.textAreaLastCursorLocation).lastIndexOf("@");
if(!NDc(d)){d=d.target;b.scrollPosition=d.scrollTop;MDc(b);var h=b.wordInfo.word;e=h==="@";f=h.startsWith("@");var l=h.slice(h.length-1).match(/[a-z]/i);h=pta.test(h.slice(1));if(e||f&&l&&!h){d=d.selectionStart;if(!b.taggingInProgress){if(e=LDc(b)){e.textContent=b.getValue();f=LDc(b);l=Yq(b);h="height width font-family margin line-height padding border".split(" ");if(f&&l){l=b.window.getComputedStyle(l);h=k(h);for(var q=h.next();!q.done;q=h.next()){q=q.value;var v=l.getPropertyValue(q);f.style.setProperty(q,
v)}}ODc(b)}e=e==null?void 0:e.firstChild;f=e==null?void 0:e.textContent;e&&f&&d&&(f=new Range,f.setStart(e,d),f.setEnd(e,d),d=document.createElement("span"),f.deleteContents(),f.insertNode(d),e=d.getBoundingClientRect(),b.autocompleteTop=e.top,b.autocompleteLeft=e.left,d.remove())}b.taggingInProgress=!0}else b.taggingInProgress=!1;if(b.taggingInProgress){b.autocompleteUserName=b.wordInfo.word.slice(1);var y;(y=Zq(b))==null||y.dispatchEvent(new KeyboardEvent("keydown"))}}}return A()})("scroll",function(){z(c);
return A(ODc(b))});J();I(4,"span",6);D(5,mWa,2,1,"input",7);J();D(6,nWa,2,0,"div",8);J()}a&2&&(C(2),F("autoResize",b.manualResize$)("ngClass",b.textareaClass)("disabled",b.disabled),eg("placeholder",b.placeholder)("id",b.idForAriaLabel),C(2),mg("top",b.autocompleteTop+"px")("left",b.autocompleteLeft+"px"),C(),G(b.taggingInProgress?5:-1),C(),G(jWa(b)?6:-1))},dependencies:[Ew,YJ,WS],styles:["textarea.banned-words-warning[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-gfx)}/*# sourceMappingURL=comment_draft_textarea.css.map */"],
changeDetection:0});var PDc=function(a){return{"draft-markdown":a}},YS=function(){Z.apply(this,arguments);var a=this;this.cdr=r(sG,{self:!0});this.ref=r(ge);this.events=r(nE);this.previewDisabled=!1;this.selectedIndex=0;this.onCommentSubmitted=function(){a.matTabGroup.selectedIndex=0};this.render=function(){var b=a.matTabGroup;b._tabHeader&&b._tabHeader._alignInkBarToSelectedTab();a.cdr.markForCheck()}};Y(YS,Z);YS.\u0275dir=Z.\u0275dir;YS.prototype.ngOnInit=function(){this.subscriptions.add(this.events.commentSubmitted.subscribe(this.onCommentSubmitted))};
YS.prototype.synchronizeHeight=function(a){this.ref.nativeElement.querySelector("mat-tab-group").style.height=a+56+"px"};YS.\u0275fac=function(){var a;return function(b){return(a||(a=de(YS)))(b||YS)}}();
YS.\u0275cmp=t({type:YS,selectors:[["b-comment-draft-tab-group"]],viewQuery:function(a,b){a&1&&Mg(VO,7);if(a&2){var c;Qg(c=Rg())&&(b.matTabGroup=c.first)}},inputs:{editArea:"editArea",previewArea:"previewArea",previewDisabled:"previewDisabled"},features:[Yg([sG]),cg],decls:5,vars:5,consts:[[1,"small","no-border",3,"animationDone","selectedIndexChange","dynamicHeight","selectedIndex"],["label","Edit"],[4,"ngTemplateOutlet"],["label","Preview",3,"disabled"]],template:function(a,b){a&1&&(I(0,"mat-tab-group",
0),M("animationDone",function(){setTimeout(b.render,2E3)})("selectedIndexChange",function(c){return b.selectedIndex=c}),I(1,"mat-tab",1),D(2,oWa,1,0,"ng-container",2),J(),I(3,"mat-tab",3),D(4,pWa,1,0,"ng-container",2),J()());a&2&&(F("dynamicHeight",!1)("selectedIndex",b.selectedIndex),C(2),F("ngTemplateOutlet",b.editArea),C(),F("disabled",b.previewDisabled),C(),F("ngTemplateOutlet",b.previewArea))},dependencies:[Hw,ZO,UO,VO],styles:["[_nghost-%COMP%]     mat-tab-header{margin-left:8px;margin-bottom:16px}/*# sourceMappingURL=comment_draft_tab_group.css.map */"],
changeDetection:0});
var ZS=function(){Z.apply(this,arguments);this.codefont=r(sP);this.ngZone=r(hh);this.prefs=r(yH);this.hotkeys=r(YH);this.isMarkdown$=this.prefs.lastPublishMode$.pipe(B(function(a){return a==="MARKDOWN_FORMATTING_MODE"}));this.idPrefix="b-draft";this.content="";this.textareaClass=[];this.disabled=!1;this.audience="EXTERNAL";this.enableMentionsAutocomplete=this.canEditIssuesInComponent=!1;this.init=new rG;this.contentChange=new rG;this.focus=new rG;this.blur=new rG;this.autoResize=new rG;this.onSubmit=
new rG};Y(ZS,Z);ZS.\u0275dir=Z.\u0275dir;ZS.prototype.ngOnChanges=function(){this.commentDraftTextarea&&this.commentDraftTextarea.setValue(this.content)};
ZS.prototype.ngAfterViewInit=function(){this.init.emit(this);this.init.complete();this.commentDraftTextarea&&(this.commentDraftTextarea.setValue(this.content),this.subscriptions.add(this.commentDraftTextarea.contentChange.subscribe(this.contentChange)),this.subscriptions.add(this.commentDraftTextarea.focus.subscribe(this.focus)),this.subscriptions.add(this.commentDraftTextarea.blur.subscribe(this.blur)),this.subscriptions.add(this.commentDraftTextarea.autoResize.subscribe(this.autoResize)))};
var QDc=function(a){a.ngZone.run(function(){if(a.commentDraftTabGroup){var b=a.commentDraftTabGroup;b.selectedIndex=0;b.render()}a.commentDraftTextarea&&Yq(a.commentDraftTextarea).focus()})};ZS.prototype.synchronizeHeight=function(a){this.commentDraftTabGroup&&this.commentDraftTabGroup.synchronizeHeight(a.newHeight)};ZS.\u0275fac=function(){var a;return function(b){return(a||(a=de(ZS)))(b||ZS)}}();
ZS.\u0275cmp=t({type:ZS,selectors:[["b-comment-draft"]],viewQuery:function(a,b){a&1&&(Mg(XS,5),Mg(YS,5));if(a&2){var c;Qg(c=Rg())&&(b.commentDraftTextarea=c.first);Qg(c=Rg())&&(b.commentDraftTabGroup=c.first)}},inputs:{content:"content",textareaClass:"textareaClass",disabled:"disabled",placeholder:"placeholder",audience:"audience",idForAriaLabel:"idForAriaLabel",issueId:"issueId",canEditIssuesInComponent:"canEditIssuesInComponent",enableMentionsAutocomplete:"enableMentionsAutocomplete"},outputs:{init:"init",
contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize",onSubmit:"onSubmit"},features:[cg,Hd],decls:2,vars:13,consts:[[3,"autoResize","keydown.control.enter","keydown.meta.enter","textareaClass","ngClass","disabled","placeholder","idForAriaLabel","audience","issueId","canEditIssuesInComponent","enableMentionsAutocomplete"]],template:function(a,b){a&1&&(I(0,"b-comment-draft-textarea",0),S(1,"async"),M("autoResize",function(c){return b.synchronizeHeight(c)})("keydown.control.enter",
function(){b.hotkeys.isEnabled()&&b.onSubmit.emit()})("keydown.meta.enter",function(){b.hotkeys.isEnabled()&&b.onSubmit.emit()}),J());a&2&&F("textareaClass",b.textareaClass)("ngClass",bh(11,PDc,U(1,9,b.isMarkdown$)))("disabled",b.disabled)("placeholder",b.placeholder)("idForAriaLabel",b.idForAriaLabel)("audience",b.audience)("issueId",b.issueId)("canEditIssuesInComponent",b.canEditIssuesInComponent)("enableMentionsAutocomplete",b.enableMentionsAutocomplete)},dependencies:[Ew,XS,Iw],styles:["body   [_nghost-%COMP%]     textarea{resize:none;border-color:var(--text-secondary)}body   [_nghost-%COMP%]     textarea, body   [_nghost-%COMP%]     .autocomplete-underlay{max-height:40vh;min-height:130px;margin:0;width:100%;display:block;margin-bottom:8px}body   [_nghost-%COMP%]     .comment-box-container:focus-within textarea:not(:focus){padding:4px 1px 1px 7px;border:2px solid;border-color:#1a73e8;border-color:var(--primary)}body   [_nghost-%COMP%]     .autocomplete-underlay{width:100%;height:100%;position:absolute;top:0;left:0;z-index:-2;box-sizing:border-box;visibility:hidden;overflow-y:scroll;white-space:pre-line;pointer-events:none}body   [_nghost-%COMP%]     .autocomplete-input-container{position:fixed;z-index:-1;pointer-events:none}body   [_nghost-%COMP%]     .autocomplete-hidden-input{position:fixed}body   [_nghost-%COMP%]     .autocomplete-input-container .autocomplete-hidden-input{height:18px !important;line-height:18px !important;border:0 !important;margin:0 !important;padding:0 !important;opacity:0 !important}body   [_nghost-%COMP%]     .autocomplete-input-container .autocomplete-hidden-input:focus{outline:none !important;border:0 !important;padding:0 !important}body   [_nghost-%COMP%]     textarea.codefont, body   [_nghost-%COMP%]     .draft-markdown textarea{font-family:WorkAroundWebKitAndMozilla,monospace}.good[_nghost-%COMP%]     textarea:focus{border-color:#34a853;border-color:var(--good)}.warn[_nghost-%COMP%]     textarea:focus{border-color:#fcc934;border-color:var(--warn)}.bad[_nghost-%COMP%]     textarea:focus{border-color:#ea4335;border-color:var(--bad)}/*# sourceMappingURL=comment_draft.css.map */"],
changeDetection:0});var $S=function(a){var b=this;this.injector=a;this.clientDarkmode$=this.clientDarkmodeSubject=new bo(!1);this.localDarkmode=!1;this.clientStreamzService=null;this.loadLocalDarkmode=function(){b.localDarkmode=window.localStorage.getItem("onedev-darkmode")!=null;RDc(b,b.localDarkmode);b.clientStreamzService&&soc(b.clientStreamzService,"loadDarkmode",b.clientDarkmodeSubject.getValue())};this.setLocalDarkmode=function(c){b.localDarkmode=c;b.localDarkmode?window.localStorage.setItem("onedev-darkmode",
b.localDarkmode.toString()):window.localStorage.removeItem("onedev-darkmode")}};$S.prototype.enableUsageTracking=function(){this.clientStreamzService=this.injector.get(gK)};var RDc=function(a,b){a.clientDarkmodeSubject.next(b);document.body.classList.toggle("dark-mode",b)};$S.\u0275fac=function(a){return new (a||$S)(md(Sf))};$S.\u0275prov=n({token:$S,factory:$S.\u0275fac});var SDc=["captchaContainer"],aT=function(){this.ngZone=r(hh);this.window=r(aL);this.darkmodeService=r($S);this.appEvents=r(nE);this.analytics=r(wG);this.onUpdate=new rG;this.destroyed$=new If(1)};aT.prototype.ngOnInit=function(){var a=this;this.appEvents.recaptchaSubmitted.pipe(Of(this.destroyed$)).subscribe(function(){a.reset();a.onUpdate.emit("")})};
aT.prototype.ngAfterViewInit=function(){var a=this;this.onUpdate.emit("");var b;(b=this.window.recaptchaAsync)==null||b.then(function(c){var d=a.darkmodeService.clientDarkmodeSubject.getValue();a.widgetId=c.render(a.captchaContainer.nativeElement,{sitekey:"6Ley9F4iAAAAAIwZf9W4ujzph90roM2zldPodcjv",callback:function(e){a.ngZone.run(function(){a.onUpdate.emit(e);a.analytics.trackEvent("recaptchaToken","create")})},"expired-callback":function(){a.ngZone.run(function(){a.onUpdate.emit("");a.analytics.trackEvent("recaptchaToken",
"expire")})},theme:d?"dark":"light"})})};aT.prototype.ngOnDestroy=function(){this.reset();this.destroyed$.next()};aT.prototype.reset=function(){var a=this;if(this.widgetId!==void 0){var b;(b=this.window.recaptchaAsync)==null||b.then(function(c){c.reset(a.widgetId)})}};aT.\u0275fac=function(a){return new (a||aT)};
aT.\u0275cmp=t({type:aT,selectors:[["b-recaptcha"]],viewQuery:function(a,b){a&1&&Mg(SDc,5);if(a&2){var c;Qg(c=Rg())&&(b.captchaContainer=c.first)}},outputs:{onUpdate:"onUpdate"},decls:2,vars:0,consts:[["captchaContainer",""]],template:function(a){a&1&&K(0,"div",null,0)},encapsulation:2});var TDc=function(a){this.internalArray_=m(a)};Y(TDc,V);g=TDc.prototype;g.getComponentId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getComponentId_asString=function(){return Oo(this,1)};g.setComponentId=function(a){return pl(this,1,a)};g.getText=function(){return Gh(this,2)};g.setText=function(a){return cj(this,2,a)};var bT=function(a){this.internalArray_=m(a,0,bT.messageId)};Y(bT,V);bT.prototype.getIt=function(){return W(this,TDc,3)};bT.prototype.setIt=function(a){return X(this,TDc,3,a)};bT.messageId="b.CheckBannedWordsRequest";var UDc=function(a){this.internalArray_=m(a)};Y(UDc,V);var cT=function(a){this.internalArray_=m(a,0,cT.messageId)};Y(cT,V);cT.prototype.getIt=function(){return W(this,UDc,2)};cT.prototype.setIt=function(a){return X(this,UDc,2,a)};cT.messageId="b.CheckBannedWordsResponse";var fT=function(){this.executor=r(OB)};fT.prototype.checkBannedWords=function(a){a=(new bT).setIt((new TDc).setComponentId(Number(a.componentId)).setText(a.text));return this.executor.post({url:"action/check_banned_words",body:a,responseConstructor:cT}).pipe(B(qWa))};fT.\u0275fac=function(a){return new (a||fT)};fT.\u0275prov=n({token:fT,factory:fT.\u0275fac,providedIn:"root"});var gT=function(){this.observableApi=r(fT)};gT.prototype.checkBannedWords=function(a){return Je(this.observableApi.checkBannedWords(a))};
gT.\u0275fac=function(a){return new (a||gT)};gT.\u0275prov=n({token:gT,factory:gT.\u0275fac,providedIn:"root"});var hT=function(){Z.apply(this,arguments);this.bannedWordsApi=r(gT);this.activeSession=r(dv);this.errorHandler=r(jE);this.analytics=r(wG);this.matchedPatterns=[];this.warningState="INITIAL";this.enableBannedWordsCheck=lu(this.activeSession,"enableBannedWordsCheck");this.isUserInternal=this.activeSession.isInternalSession()};Y(hT,Z);hT.\u0275dir=Z.\u0275dir;
hT.prototype.check=function(a,b,c){var d=this;return ve(function(e){if(!(d.enableBannedWordsCheck&&d.isUserInternal&&b&&c))return e.return(!0);switch(d.warningState){case "INITIAL":return e.return(VDc(d,String(c),a));case "SHOW_WARNING":return d.warningState="SKIP_WARNING",d.analytics.trackEvent("bannedWords","skipBannedWordsCheck",$q(d)),e.return(!0);default:return e.return(!0)}})};
var VDc=function(a,b,c){var d,e;return ve(function(f){if(f.nextAddress==1)return we(f,2),xe(f,a.bannedWordsApi.checkBannedWords({componentId:b,text:c}),4);if(f.nextAddress!=2)return d=f.yieldResult,d.matchedPatterns.length>0?(a.matchedPatterns=d.matchedPatterns,a.warningState="SHOW_WARNING",a.analytics.trackEvent("bannedWords","failBannedWordsCheck",$q(a)),f.return(!1)):f.return(!0);e=Be(f);lE(a.errorHandler,e);return f.return(!0)})},$q=function(a){return a.matchedPatterns.join(", ")};
hT.prototype.showWarning=function(){return this.warningState==="SHOW_WARNING"};hT.prototype.reset=function(){this.matchedPatterns=[];this.warningState="INITIAL"};hT.\u0275fac=function(){var a;return function(b){return(a||(a=de(hT)))(b||hT)}}();hT.\u0275prov=n({token:hT,factory:hT.\u0275fac});var iT=function(){var a=this;this.checks=[];this.didTriggerBeforeUnloadHandler=!1;this.beforeUnloadEventHandler=function(b){if(a.checks.some(function(c){return c.dataChanged()}))return a.didTriggerBeforeUnloadHandler=!0,b.preventDefault(),b.returnValue="","You have unsaved changes in your form.";a.didTriggerBeforeUnloadHandler=!1};this.onUnload=function(){if(a.didTriggerBeforeUnloadHandler){var b;(b=a.didConfirm)==null||b.call(a)}};window.addEventListener("beforeunload",this.beforeUnloadEventHandler);
window.addEventListener("unload",this.onUnload)};iT.prototype.ngOnDestroy=function(){this.checks=[];window.removeEventListener("beforeunload",this.beforeUnloadEventHandler);window.removeEventListener("unload",this.onUnload)};var jT=function(a,b,c){var d={dataChanged:b,triggerOnSearch:c};a.checks.push(d);return new me(function(){a.checks=a.checks.filter(function(e){return e!==d})})};
iT.prototype.canDeactivate=function(a,b,c,d){a:{a=kI(c.url).getPath()===kI(d.url).getPath();b=k(this.checks);for(c=b.next();!c.done;c=b.next())if(c=c.value,a){if(c.triggerOnSearch&&c.dataChanged()){a=!0;break a}}else if(c.dataChanged()){a=!0;break a}a=!1}return a?WDc(this)?(this.checks=[],!0):!1:!0};var WDc=function(a){var b=window.confirm("You have unsaved changes; are you sure you want to navigate away without saving?");if(b){var c;(c=a.didConfirm)==null||c.call(a)}return b};
iT.\u0275fac=function(a){return new (a||iT)};iT.\u0275prov=n({token:iT,factory:iT.\u0275fac,providedIn:"root"});var XDc=function(a){return[a]},kT=function(){this.matDialog=r(kL)};kT.prototype.show=function(a,b,c,d){this.dialog=this.matDialog.open(lT,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{issueId:a,componentId:d,audience:b,id:c.unlinkifiedComment!=null?c.commentNumber:1,text:c.unlinkifiedComment||"",formattingMode:c.formattingMode||"PLAIN"}});return Je(eL(this.dialog))};kT.\u0275fac=function(a){return new (a||kT)};kT.\u0275prov=n({token:kT,factory:kT.\u0275fac,providedIn:"root"});
var lT=function(){Z.apply(this,arguments);this.activeSession=r(dv);this.origComment=r(jL);this.dialogRef=r(dL);this.bannedWordsChecker=r(hT);this.checkBeforeExit=r(iT);this.MARKDOWN="MARKDOWN";this.contentRemovalRequestLink=this.activeSession.isInternalSession()?"https://goto.corp.google.com/buganizer-delete":"https://issuetracker.google.com/issues/new?component=169992&template=543202";this.enableRecaptcha=this.activeSession.userRequiresCaptcha();this.recaptchaResponse="";this.newComment=Object.assign({},
this.origComment)};Y(lT,Z);lT.\u0275dir=Z.\u0275dir;g=lT.prototype;g.ngOnInit=function(){var a=this;this.subscriptions.add(jT(this.checkBeforeExit,function(){return a.isModified()},!1));this.dialogRef.keydownEvents().pipe(Of(this.destroyed$)).subscribe(function(b){b.key==="Escape"&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(Of(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};g.closeIfUnmodified=function(){this.isModified()||this.dialogRef.close()};
g.isCaptchaValid=function(){return!this.enableRecaptcha||this.recaptchaResponse!==""};g.isModified=function(){return!yi(this.newComment,this.origComment)};
g.closeDialogForSave=function(){var a=this,b,c;return ve(function(d){if(d.nextAddress==1){if(!a.isModified())return d.return();a.enableRecaptcha&&(a.newComment.recaptchaToken=a.recaptchaResponse);return xe(d,a.bannedWordsChecker.check(a.newComment.text,a.newComment.audience==="EXTERNAL",a.newComment.componentId),2)}(b=d.yieldResult)?a.dialogRef.close(a.newComment):(c=a.commentDraft)==null||QDc(c);Ce(d)})};lT.\u0275fac=function(){var a;return function(b){return(a||(a=de(lT)))(b||lT)}}();
lT.\u0275cmp=t({type:lT,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&Mg(ZS,5);if(a&2){var c;Qg(c=Rg())&&(b.commentDraft=c.first)}},features:[Yg([hT]),cg],decls:19,vars:19,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"muted"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"contentChange","onSubmit","content","audience","textareaClass","enableMentionsAutocomplete"],[1,"banned-words-warning","break-word"],[1,"inline-block",3,"change","initialValue"],
[3,"comment","issueId","audience","formattingMode"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],["mat-flat-button","",3,"click","disabled","color"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],[1,"recaptcha-container"],[3,"onUpdate"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1),J(),I(2,"section",1)(3,"p",2),Q(4," Editing comments will not permanently remove old ones from database history. "),
K(5,"br"),Q(6," For deletion of PII or other sensitive content, please "),I(7,"a",3),Q(8," file a support request."),J()(),I(9,"b-comment-draft",4),Xg("contentChange",function(c){Wg(b.newComment.text,c)||(b.newComment.text=c);return c}),M("onSubmit",function(){return b.closeDialogForSave()})("contentChange",function(){b.bannedWordsChecker.reset()}),J(),D(10,rWa,4,1,"p",5),I(11,"b-markdown-toggle",6),M("change",function(c){return b.newComment.formattingMode=c}),J(),D(12,sWa,1,4,"b-live-preview",7),
J(),D(13,tWa,3,0,"section"),I(14,"footer",8)(15,"button",9),Q(16," Cancel "),J(),I(17,"button",10),M("click",function(){return b.closeDialogForSave()}),Q(18),J()());a&2&&(C(),Ug("Editing Comment #",b.origComment.id," of Issue ",b.origComment.issueId,""),C(6),F("href",b.contentRemovalRequestLink,of),C(2),Vg("content",b.newComment.text),F("audience",b.origComment.audience)("textareaClass",bh(17,XDc,b.bannedWordsChecker.showWarning()?"banned-words-warning":""))("enableMentionsAutocomplete",!0),C(),G(b.bannedWordsChecker.showWarning()?
10:-1),C(),ng("margin-bottom",(b.newComment==null?null:b.newComment.formattingMode)!==b.MARKDOWN),F("initialValue",b.origComment.formattingMode),C(),G((b.newComment==null?null:b.newComment.formattingMode)===b.MARKDOWN?12:-1),C(),G(b.enableRecaptcha?13:-1),C(2),F("mat-dialog-close",void 0),C(2),F("disabled",!b.isModified()||!b.isCaptchaValid())("color",b.bannedWordsChecker.showWarning()?"warn":"primary"),C(),R(" ",b.bannedWordsChecker.showWarning()?"Save Anyway":"Save"," "))},dependencies:[lL,nL,pL,
oL,vD,Vy,kR,KP,ZS,aT],styles:[".recaptcha-container[_ngcontent-%COMP%]{float:right;padding-top:8px}.banned-words-warning[_ngcontent-%COMP%]{color:#c5221f;color:var(--bad-text)}\n/*# sourceMappingURL=edit_comment_dialog.css.map */"],changeDetection:0});var mT=function(){this.dismissalService=r(EO);this.editIssueService=r(jM);this.butterBar=r(hE);this.issuePermissionService=r(ZL);this.issueCommentService=r(sS);this.editCommentDialogService=r(kT);this.issueFullFridge=r(yG);this.matDialogService=r(kL);this.paths=r(zO);this.analytics=r(wG);this.domSafe=r(mM);this.confirmationDialogService=r(rL);this.issueComments=r(IL);this.errorHandler=r(jE);this.eventsForIssueFridge=r(yF);this.componentFridge=r(AC);this.commentFormatter=r(DO);this.confirmNoAccessService=
r(KL);this.activeSession=r(dv);this.appEvents=r(nE);this.issuePicker=r(hS);this.eventsForIssueWatcher=r(VS);this.issueInteractionsTracking=r(VL)},vr=function(a,b,c){var d,e,f,h,l,q,v;return ve(function(y){if(y.nextAddress==1)return xe(y,Je(a.issueFullFridge.watch(b)),2);if(y.nextAddress!=3){d=y.yieldResult;f=(e=d)==null?void 0:e.snapshot[0].componentId;h=a.editIssueService.savingState(b);if(h.get("commentEdit"))return y.return();a.butterBar.dismiss();q=(l=a.issuePermissionService.audience())!=null?
l:"EXTERNAL";return xe(y,a.editCommentDialogService.show(b,q,c,f),3)}v=y.yieldResult;if(v==null)return y.return();OAc(a.issueCommentService,{issueId:b,newCommentId:v.id,newComment:v.text,newCommentFormattingMode:v.formattingMode,recaptchaToken:v.recaptchaToken});Ce(y)})},ZDc=function(a,b,c){var d,e,f;return ve(function(h){if(h.nextAddress==1)return c?xe(h,YDc(a,b),2):h.return();if(h.nextAddress!=3)return d={title:"Choose target issue",defaultChoices:h.yieldResult,allowMultipleIds:!1,currentResource:{id:b,
type:"issue"},edgeType:"copyComment"},xe(h,a.issuePicker.open(d),3);e=h.yieldResult;if((f=e)==null?0:f.length){var l=wq(e[0],{template_issue:b,template_comment:c,do_attribution:!0});a.analytics.trackEvent("editIssue","copyComment");a.domSafe.openInNewTab(l)}Ce(h)})},YDc=function(a,b){function c(ja){return E.get(ja)}var d,e,f,h,l,q,v,y,E,H,O,N,T,da;return ve(function(ja){if(ja.nextAddress==1)return xe(ja,Je(a.issueFullFridge.watch(b)),2);if(ja.nextAddress!=3){d=ja.yieldResult;if(!d)return ja.return([]);
f=(e=d.snapshot[0].duplicateIssueId)!=null?e:[];l=(h=d.snapshot[0].blockingIssueId)!=null?h:[];v=(q=d.snapshot[0].blockedByIssueId)!=null?q:[];return xe(ja,Je(a.issueFullFridge.watchSet(Rk([].concat(w(f),w(l),w(v))))),3)}y=ja.yieldResult;E=new Map(y.map(function(na){return[na.issueId,na]}));H=v.map(c).filter(kj).map(uWa("BLOCKED_BY"));O=l.map(c).filter(kj).map(uWa("BLOCKING"));N=f.map(c).filter(kj).map(uWa("DUPLICATE"));T=[].concat(w(H),w(O),w(N));da=vWa(T);return ja.return(da)})},aEc=function(a,
b,c){var d;return ve(function(e){return e.nextAddress==1?c?xe(e,Rqc(a.confirmationDialogService,{title:"Restore comment # "+c+"?",content:ti("Are you sure you want to restore this comment?")}),2):e.return():(d=e.yieldResult)?xe(e,$Dc(a,b,c),0):e.return()})},$Dc=function(a,b,c){var d,e;return ve(function(f){switch(f.nextAddress){case 1:d=a.editIssueService.savingState(b);if(d.get("commentUndelete"))return f.return();du(a.butterBar,"Restoring comment...",0);we(f,2,3);hM(d,"commentUndelete");return xe(f,
a.issueComments.undelete(b,c),5);case 5:du(a.butterBar,"Comment restored successfully.");case 3:ye(f);iM(d,"commentUndelete");a.issueFullFridge.poke(b);a.eventsForIssueFridge.poke(b);ze(f,0);break;case 2:e=Be(f),du(a.butterBar,"Comment restoration failed."),lE(a.errorHandler,e),f.jumpTo(3)}})},dEc=function(a,b,c,d){var e,f,h,l;return ve(function(q){if(q.nextAddress==1){if(!c)return q.return();e=a.editIssueService.savingState(b);return e.get("commentDelete")?q.return():xe(q,bEc(a,b),2)}return q.nextAddress!=
3?(f=q.yieldResult,a.butterBar.dismiss(),xe(q,Je(eL(a.matDialogService.open(dxc,{width:"560px",data:{commentNumber:c,issueId:b,deletionReasons:f}}))),3)):(h=q.yieldResult)?xe(q,cEc(a,b,c,h.value,(l=d)!=null?l:""),0):q.jumpTo(0)})},cEc=function(a,b,c,d,e){var f,h;return ve(function(l){switch(l.nextAddress){case 1:f=a.editIssueService.savingState(b);if(f.get("commentDelete"))return l.return();we(l,2,3);du(a.butterBar,"Deleting comment...",0);hM(f,"commentDelete");return xe(l,a.issueComments.delete(b,
c,d,e),5);case 5:du(a.butterBar,"Comment deleted. Deleted items may be restored within 30 days."),a.eventsForIssueFridge.poke(b);case 3:ye(l);iM(f,"commentDelete");a.issueFullFridge.poke(b);ze(l,0);break;case 2:h=Be(l),du(a.butterBar,"Comment deletion failed."),lE(a.errorHandler,h),l.jumpTo(3)}})},bEc=function(a,b){var c,d,e,f,h,l,q,v;return ve(function(y){switch(y.nextAddress){case 1:return xe(y,Je(a.issueFullFridge.watch(b,{trustUncertainMemory:!0})),2);case 2:c=y.yieldResult;e=((d=c)==null?void 0:
d.snapshot[0].componentId)||void 0;if(!e){f=void 0;y.jumpTo(3);break}return xe(y,Je(a.componentFridge.watch(e)),4);case 4:f=y.yieldResult;case 3:return h=f,l=new FDc("Other","USER_REQUEST"),h&&h.commentEditState!=="DISABLED"||(l.enabled=!1,l.disabledReason="comment editing must be enabled"),q=new FDc("Spam or Abuse","ABUSE"),a.issuePermissionService.accessLevel()!=="EXTERNAL_PUBLIC"&&(q.enabled=!1,q.disabledReason="available on Public components"),v=new FDc("Personally Identifiable Information","RESTRICTED"),
y.return([v,q,l])}})},eEc=function(a,b,c){var d,e;return ve(function(f){if(f.nextAddress==1)return d=YL(a.issuePermissionService,Ui(c.userPerformingActionUser)),a.analytics.trackEvent("restrictedContent","updateContentJudgement","comment"),xe(f,a.showContentJudgementDialog({severity:Xp(c.commentContentVerdict),resourcePath:"issues/"+b+"/comments/"+c.commentNumber,hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||d}),2);if(e=f.yieldResult)c.commentContentVerdict={piiVerdict:{severity:e.contentJudgement.severity}},
a.issueFullFridge.poke(b),a.eventsForIssueFridge.poke(b),AG(a.issueFullFridge,[b],{markRead:!0,userActivityType:"EDIT"});Ce(f)})};mT.prototype.showContentJudgementDialog=function(a){return Je(eL(this.matDialogService.open(qS,{panelClass:"no-jitter",width:"500px",data:a})))};
var fEc=function(a,b,c){var d;return ve(function(e){if(e.nextAddress==1)return xe(e,Je(eL(a.matDialogService.open(rS,{width:"500px",data:{resource:b,piiRetention:c}}))),2);d=e.yieldResult;return e.return(d===1)})},gEc=function(a,b,c,d){var e;ve(function(f){if(f.nextAddress==1){if(d==null)return f.return();a.analytics.trackEvent("restrictedContent","updateContentJudgement","attachment");return xe(f,a.showContentJudgementDialog({severity:Xp(d.contentVerdict),resourcePath:"issues/"+b+"/attachments/"+
d.attachmentId,hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||c}),2)}if(e=f.yieldResult)d.contentVerdict={piiVerdict:{severity:e.contentJudgement.severity}},a.issueFullFridge.poke(b),a.eventsForIssueFridge.poke(b),AG(a.issueFullFridge,[b],{markRead:!0,userActivityType:"EDIT"});Ce(f)})};
mT.prototype.showDeleteAttachmentDialog=function(a,b){var c=this,d,e,f,h,l,q;ve(function(v){if(v.nextAddress==1){d=c.editIssueService.savingState(a);if(d.get("deleteAttachment")||!b.attachmentId)return v.return();e=Je;f=c.matDialogService;h=f.open;l=cxc;return xe(v,bEc(c,a),3)}return v.nextAddress!=2?xe(v,e(eL(h.call(f,l,{width:"560px",data:{deletionReasons:v.yieldResult,attachmentId:b.attachmentId}}))),2):(q=v.yieldResult)?xe(v,Dsc(c.editIssueService,a,b,q.value),0):v.jumpTo(0)})};
var hEc=function(a,b){var c=b.issueId;var d=b.componentId;var e=b.comment;var f,h,l;return ve(function(q){if(q.nextAddress==1){if(a.issuePermissionService.accessLevel()!=="INTERNAL"||a.issuePermissionService.hasAclToEdit()&&a.issuePermissionService.isImplicitAccessEnabled())return q.return(!0);we(q,2);var v=a.commentFormatter;var y={comment:e.value,issueId:c,audience:(f=a.issuePermissionService.audience())!=null?f:"EXTERNAL",formattingMode:e.formattingMode,idPrefix:"b"+c+"-draft"};v=y.formattingMode===
"LITERAL"||y.comment.trim()===""?Fe([]):axc(v,y).pipe(B(jRa));return xe(q,Je(v),4)}if(q.nextAddress!=2)return h=q.yieldResult,q.return(Arc(a.confirmNoAccessService,{componentId:d,userEmails:h,relation:"reader",analyticsEventLabel:"mention"}));l=Be(q);lE(a.errorHandler,l);return q.return(!1)})},iEc=function(a,b){b=b===void 0?"comment":b;var c,d;return ve(function(e){if((c=a.issuePermissionService.accessLevel())&&c==="INTERNAL"||a.issuePermissionService.hasAclToEdit()||a.activeSession.isInternalSession()||
tC(a.activeSession)||a.dismissalService.isDismissed(rRa(b)))return e.return(!0);switch(b){case "comment":d=ti("Commenting on this bug report means your email address will be shared with the team that works on this product.");break;case "reaction":d=ti("Reacting to this comment means your email address will be shared with the team that works on this product.");break;default:xb(b)}return e.return(Je(eL(a.matDialogService.open(FO,{width:"500px",data:{content:d,action:b}}))))})};
mT.prototype.submitCommentBox=function(a,b,c,d){var e=this,f,h,l,q;return ve(function(v){switch(v.nextAddress){case 1:f=e.editIssueService.savingState(b);if(!e.issuePermissionService.hasAclToComment()||!Grc(c)||f.get("comment"))return v.return(!1);hM(f,"comment");h=function(){iM(f,"comment")};return xe(v,hEc(e,{issueId:b,componentId:a,comment:c}),2);case 2:return l=v.yieldResult,l?xe(v,iEc(e),3):(h(),v.return(!1));case 3:q=v.yieldResult;if(!q)return h(),v.return(!1);e.analytics.trackEvent("editIssue",
"addComment",c.formattingMode==="MARKDOWN"?"markdown":"non markdown");Vrc(e.issueInteractionsTracking,b);e.eventsForIssueWatcher.isPaused=!0;return xe(v,e.editIssueService.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY.saveCommentDraft(b,d).finally(function(){h();e.appEvents.commentSubmitted.next(b);e.appEvents.scrollToCommentBox.next()}),4);case 4:return v.return(!0)}})};
mT.prototype.showNewContentJudgementDialog=function(a){var b=this,c,d,e,f,h,l;return ve(function(q){if(q.nextAddress==1)return c=b.editIssueService.issueCommentDraft(a),d=c.judgementForNewContent(),h=(f=(e=d)==null?void 0:e.severity)!=null?f:"NONE_DETECTED",xe(q,b.showContentJudgementDialog({severity:h,contentJudgement:void 0,hasAclToCreate:!0}),2);(l=q.yieldResult)&&c.setJudgementForNewContent(l.contentJudgement);Ce(q)})};
mT.prototype.updateCommentReaction=function(a){var b=this,c;return ve(function(d){return d.nextAddress==1?a.hasReacted?xe(d,iEc(b,"reaction"),3):d.jumpTo(2):d.nextAddress==2||(c=d.yieldResult,c)?d.return(b.issueComments.updateCommentReaction(a)):d.return(void 0)})};mT.\u0275fac=function(a){return new (a||mT)};mT.\u0275prov=n({token:mT,factory:mT.\u0275fac,providedIn:"root"});var nT=function(){this.editIssueService=r(jM);this.issuePicker=r(hS);this.analytics=r(wG);this.butterBar=r(hE)},jEc=function(a,b){var c,d,e,f,h,l,q;return ve(function(v){if(v.nextAddress==1)return b=String(b),c=a.editIssueService.editableIssue(b),d=c.status,c.setStatus("DUPLICATE"),e={title:"Mark issue as duplicate of:",currentResource:{id:b,type:"issue"},componentId:c.componentId,allowMultipleIds:!1,edgeType:"canonical"},f=(new Date).getTime(),xe(v,a.issuePicker.open(e),2);if(v.nextAddress!=3){h=
v.yieldResult;if((l=h)==null||!l.length)return c.status=d,v.return("DISMISSED");if(b===h[0])return c.status=d,a.butterBar.showWarning("Cannot set issue as a duplicate of itself"),v.return("DISMISSED");q=(new Date).getTime()-f;a.analytics.trackEvent("issuePicker","duplicate duration","<"+Math.min(2*Math.ceil(q/2E3),600)+"s",q);a.analytics.trackEvent("editIssue","setCanonicalIssue");qec(a.analytics,"DUPLICATE");return xe(v,usc(a.editIssueService,b,h[0]),3)}return v.return("DUPLICATE")})};
nT.\u0275fac=function(a){return new (a||nT)};nT.\u0275prov=n({token:nT,factory:nT.\u0275fac,providedIn:"root"});var oT=function(){var a=this;this.componentFridge=r(AC);this.issueEditComponentService=r(yO);this.trackerHelpers=r(yL);this.activeSession=r(dv);this.componentId$=new If(1);this.viewOnly=!1;this.handleSave=!0;this.compactMode$=new bo(!1);this.componentChanged=new rG;this.editing=!1;this.component$=this.componentId$.pipe(Nf(function(b){return a.componentFridge.watch(b).pipe(Mf(void 0))}));this.isArchived$=this.component$.pipe(B(function(b){return b==null?void 0:b.archived}));this.showPublicIndicator$=
this.component$.pipe(B(function(b){var c;b=b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel;return!lu(a.activeSession,"enableNewVisibilityChips")||b==null||a.activeSession.isExternalSession()?!1:a.activeSession.isInternalSession()||tC(a.activeSession)?b==="EXTERNAL_PUBLIC":!1}));this.showPartnerIndicator$=this.component$.pipe(B(function(b){var c;b=b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel;return!lu(a.activeSession,"enableNewVisibilityChips")||b==null||a.activeSession.isExternalSession()||
tC(a.activeSession)?!1:a.activeSession.isInternalSession()?b==="EXTERNAL_PARTNER":!1}));this.folder$=Me([this.showPublicIndicator$,this.showPartnerIndicator$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b?{icon:"folder_shared_24px",tooltip:"Public component. Issues can be made visible to public Google Search."}:c?{icon:"folder_shared_24px",tooltip:"Partner component. Issues can be made visible to Google partners."}:vq(a.activeSession)?{icon:"folder_special_24px",tooltip:"This component is inside a tracker"}:
{icon:"folder",tooltip:""}}),Mf({icon:"folder",tooltip:""}));this.componentPath$=Me([this.componentId$,this.component$,this.compactMode$]).pipe(B(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;if(d==null)return pq({componentPathId:[Number(b)]});b=Nu(a.trackerHelpers,d.componentPathInfo);b=pq(b);if(c){c=[];d=0;for(var e=b.length-1;e>=0;e--){var f=b[e],h=e===b.length-1?48:32;if(d>=h)break;var l=String(f.name),q=void 0;if(d+[].concat(w(l)).length>h){var v=h-d;h="";l=l===
void 0?"":l;v=v===void 0?48:v;h=h===void 0?"...":h;q=[].concat(w(l));q.length<=v||(l=v-[].concat(w(h)).length,l=q.slice(-l).join(""),String.prototype.trimStart!=null&&(l=l.trimStart()),l=h+l);q=!0}d+=[].concat(w(l)).length;c.unshift(Object.assign({},f,{name:l,isTruncated:q}));if(q)break}b.length>c.length&&(c[0].isSpliced=!0);b=c}return b}));this.isEmpty$=this.component$.pipe(B(function(b){return!b}));this.isThinkingAndEmpty$=Me([this.componentFridge.thinking$,this.isEmpty$]).pipe(B(function(b){var c=
k(b);b=c.next().value;c=c.next().value;return b&&c}));this.isReady$=this.isThinkingAndEmpty$.pipe(B(function(b){return!b}))};oT.prototype.ngOnInit=function(){};var KWa=function(a,b){a.editing=!1;(b=b==null?void 0:b.componentId)&&(a.handleSave?a.issueEditComponentService.updateComponent(a.issueId,b):a.componentChanged.emit(b))};
ea.Object.defineProperties(oT.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){a!=null&&this.componentId$.next(a)}},compactMode:{configurable:!0,enumerable:!0,set:function(a){this.compactMode$.next(a)}}});oT.\u0275fac=function(a){return new (a||oT)};
oT.\u0275cmp=t({type:oT,selectors:[["b-component-breadcrumb-chip"]],inputs:{componentId:"componentId",issueId:"issueId",viewOnly:"viewOnly",popoutLink:"popoutLink",handleSave:"handleSave",compactMode:"compactMode"},outputs:{componentChanged:"componentChanged"},decls:2,vars:1,consts:[["card",""],["cardBody",""],[3,"isReady"],["placeholder","Choose Component",3,"selectedComponent","isRequired","shouldFocus"],[1,"b-chip","squared","s"],["title","Component folder path",1,"icon-xs",3,"svgIcon","matTooltip"],
[1,"component-path"],["mat-icon-button","","aria-label","Change Component","matTooltip","Change Component",1,"edit-btn"],["mat-icon-button","","aria-label","View Component (Link opens in a new window)","matTooltip","View Component","target","_blank",1,"small","pop-out-btn",3,"routerLinkObj"],["href","javascript:void(0);","title","Show all Components","role","button",1,"subtle-link"],[1,"subtle-link",3,"routerLinkObj","onedevHovercardTrigger","muted"],[1,"view-only-component",3,"muted"],[4,"onedevHovercardLazyBody"],
["href","javascript:void(0);","title","Show all Components","role","button",1,"subtle-link",3,"click"],[1,"subtle-link",3,"routerLinkObj","onedevHovercardTrigger"],[1,"view-only-component"],[3,"onedevIsHovercardReady","componentId"],["mat-icon-button","","aria-label","Change Component","matTooltip","Change Component",1,"edit-btn",3,"click"],["svgIcon","edit-outline",1,"icon-xxs"],["svgIcon","pop-out",1,"icon-xs"],["placeholder","Choose Component",3,"selectedComponentChange","dropdownClosed","selectedComponent",
"isRequired","shouldFocus"]],template:function(a,b){a&1&&D(0,JWa,13,22,"b-async-data-placeholder",2)(1,LWa,2,5,"b-team-component-picker",3);a&2&&G(b.editing?1:0)},dependencies:[hP,$D,OE,vD,Yy,Xy,sO,bK,cK,hK,dK,FH,HH,fO,Iw],styles:["[_nghost-%COMP%]     b-async-data-placeholder{display:inline-block;height:22px}a[_ngcontent-%COMP%], .view-only-component[_ngcontent-%COMP%], mat-icon[_ngcontent-%COMP%], .edit-btn[_ngcontent-%COMP%], .pop-out-btn[_ngcontent-%COMP%]{vertical-align:middle}mat-icon[_ngcontent-%COMP%]:first-of-type{margin-right:3px}.b-chip[_ngcontent-%COMP%]{margin-right:0}.edit-btn[_ngcontent-%COMP%], .pop-out-btn[_ngcontent-%COMP%]{height:22px;width:22px;line-height:22px;margin-right:-4px;margin-left:4px;border-radius:4px;border-top-left-radius:0;border-bottom-left-radius:0;border-left:1px solid;border-left-color:#fff;border-left-color:var(--background)}.edit-btn[_ngcontent-%COMP%]     .mat-mdc-button-persistent-ripple, .pop-out-btn[_ngcontent-%COMP%]     .mat-mdc-button-persistent-ripple{border-radius:inherit}.edit-btn[_ngcontent-%COMP%]:hover, .pop-out-btn[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}.edit-btn[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%], .pop-out-btn[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin-top:-3px}.partner[_ngcontent-%COMP%]{background-color:#fff3e9;background-color:var(--partner-component-breadcrumb-bg);color:#202124;color:var(--partner-text);box-shadow:inset 0 0 0 2px var(--partner-component-breadcrumb-outline)}.public[_ngcontent-%COMP%]{background-color:#fff8e4;background-color:var(--public-component-breadcrumb-bg);color:#202124;color:var(--public-text);box-shadow:inset 0 0 0 2px var(--public-component-breadcrumb-outline)}.public[_ngcontent-%COMP%]   .edit-btn[_ngcontent-%COMP%], .public[_ngcontent-%COMP%]   .pop-out-btn[_ngcontent-%COMP%], .partner[_ngcontent-%COMP%]   .edit-btn[_ngcontent-%COMP%], .partner[_ngcontent-%COMP%]   .pop-out-btn[_ngcontent-%COMP%]{border-left-color:rgba(0,0,0,0)}.issue-editor-false   [_nghost-%COMP%]     .edit-btn{display:none}"],
changeDetection:0});var pT=function(){this.admins=[]};pT.prototype.ngOnInit=function(){this.url="hotlists/"+this.hotlist.hotlistId;this.admins=Si(this.hotlist.adminUsers)};pT.\u0275fac=function(a){return new (a||pT)};
pT.\u0275cmp=t({type:pT,selectors:[["b-hotlist-card"]],inputs:{hotlist:"hotlist"},decls:14,vars:6,consts:[[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hotlist-card"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),Q(5),J()(),I(6,"ul")(7,"li"),Q(8),J(),I(9,"li"),Q(10),J()(),I(11,"div")(12,"p"),Q(13),J()()()()());a&2&&(C(4),F("href",b.url,of),C(),Tg(b.hotlist.name),C(3),R("ID: ",b.hotlist.hotlistId,""),C(2),Ug("",b.admins.length===
1?"Admin":"Admins",": ",b.admins.join(", "),""),C(3),Tg(b.hotlist.description))},styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}.hotlist-card[_ngcontent-%COMP%]{max-width:450px}.hotlist-card[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:5px 0}.hotlist-card[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none;padding:0;margin:5px 0}"]});var qT=function(){this.ROUTES=tq;this.showHovercard=this.removable=!0;this.disabled=!1;this.removeHotlist=new rG};qT.prototype.getAriaLabel=function(a){return"hotlist: "+a.name};qT.\u0275fac=function(a){return new (a||qT)};
qT.\u0275cmp=t({type:qT,selectors:[["b-hotlist-chip"]],inputs:{hotlist:"hotlist",removable:"removable",showHovercard:"showHovercard",disabled:"disabled"},outputs:{removeHotlist:"removeHotlist"},decls:1,vars:1,consts:[["card","onedevHovercard"],[1,"chip",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"name"],[1,"keep-focus-ring",3,"href"],["mat-icon-button","",3,"invisible"],[3,"hotlist"],["mat-icon-button","",3,"click"],["svgIcon","close"]],template:function(a,b){a&1&&D(0,NWa,8,11);a&2&&G(b.hotlist?
0:-1)},dependencies:[$D,bK,hK,pT,vD,Xy],styles:["[_nghost-%COMP%]{margin-right:8px;display:inline-block;vertical-align:middle;white-space:nowrap}[_nghost-%COMP%]     mat-icon svg{width:50%}.chip.muted[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--c100);color:#5f6368;color:var(--text-muted)}.chip[_ngcontent-%COMP%]{background-color:#e4f7fb;background-color:var(--hotlist-chip-bg);border-radius:10px;display:inline-flex;align-items:center;height:20px;font-size:.75rem;font-weight:normal;padding:0 10px}.chip[_ngcontent-%COMP%]   .mat-mdc-icon-button[_ngcontent-%COMP%]{height:25px;width:25px;line-height:25px;--mdc-icon-button-icon-size: 24px}.chip[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit;text-decoration:none}"]});var rT=function(){var a=this;this.hotlists=r(mF);this.userAccess=r(YC);this.id$=new If(1);this.removeHotlist=new rG;this.removable=!0;this.removable$=this.id$.pipe(Nf(function(b){return a.removable!=="check-acl"?Fe(a.removable):$C(a.userAccess,"appender","hotlists/"+b)}));this.hotlist$=this.id$.pipe(Nf(function(b){return a.hotlists.watch(b)}));this.isDisabled$=Me([this.id$,this.id$.pipe(Nf(this.hotlists.isSaving$))]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b==null?!1:
c?!0:!1}))};ea.Object.defineProperties(rT.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.idInternal=String(a);this.id$.next(String(a))}}});rT.\u0275fac=function(a){return new (a||rT)};
rT.\u0275cmp=t({type:rT,selectors:[["b-hotlist-chip-smart"]],inputs:{id:"id",removable:"removable"},outputs:{removeHotlist:"removeHotlist"},decls:4,vars:9,consts:[[3,"removeHotlist","hotlist","disabled","removable"]],template:function(a,b){a&1&&(I(0,"b-hotlist-chip",0),S(1,"async"),S(2,"async"),S(3,"async"),M("removeHotlist",function(){b.idInternal==null?sj("Missing id"):b.removeHotlist.emit()}),J());if(a&2){var c;F("hotlist",U(1,3,b.hotlist$))("disabled",U(2,5,b.isDisabled$)===!0)("removable",(c=
U(3,7,b.removable$))!==null&&c!==void 0?c:!1)}},dependencies:[qT,Iw],encapsulation:2,changeDetection:0});var ar={accessLevel:"LIMIT_NONE",title:"Default access",descriptionWithExpandedAccess:"Assignee, verifier and collaborators may edit. CCs can comment. Regular component-level permission settings apply.",descriptionNoExpandedAccess:"Issue access determined by component-level permission settings.",icon:"acl-alias-domain"},kEc={accessLevel:"LIMIT_VIEW_TRUSTED",title:"Limited visibility + Google",descriptionWithExpandedAccess:'Same as "limited visibility", but also allow Googlers to access, according to their component-level permissions.',
descriptionNoExpandedAccess:'Same as "limited visibility", but also allow Googlers to access, according to their component-level permissions.',icon:"visibility-off"},OWa=[ar,{accessLevel:"LIMIT_APPEND",title:"Limited commenting",descriptionWithExpandedAccess:"Only the assignee, verifier and collaborators may edit. CCs can comment. Issue admins retain full access. Visibility is unchanged.",descriptionNoExpandedAccess:"Only added users may edit or comment if their component-level permissions allow. Issue admins retain full access. Visibility is unchanged.",
icon:"comments_disabled_24px"},{accessLevel:"LIMIT_VIEW",title:"Limited visibility",descriptionWithExpandedAccess:"Only added users may access. The assignee, verifier and collaborators may edit. CCs can comment.",descriptionNoExpandedAccess:"Only added users may access. They have their normal access as defined by the component-level permissions.",icon:"visibility-off"},kEc];var sT=function(){Z.call(this);var a=this;this.defaultAccessLimitLevel$=new If(1);this.disabled=!0;this.implicitAccessEnabled=!1;this.updatedAccessLimitLevel=new rG;this.selectedDisplay$=new bo(null);this.displays=OWa;this.disabledDropdownTooltip="Only users with Issue Admin permission can adjust restriction levels.";this.currentIssueAccessLimitLevelDisplay$=Me([this.selectedDisplay$,this.defaultAccessLimitLevel$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b?b:lEc(a,c)}));
this.issueAccessLimitLevelDisplayTitle$=this.currentIssueAccessLimitLevelDisplay$.pipe(B(function(b){return b.title}));this.defaultAccessLimitLevel$.subscribe(function(b){a.selectedDisplay$.next(lEc(a,b))})};Y(sT,Z);sT.\u0275dir=Z.\u0275dir;var lEc=function(a,b){a=k(a.displays);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.accessLevel===b)return c;return ar};ea.Object.defineProperties(sT.prototype,{defaultAccessLimitLevel:{configurable:!0,enumerable:!0,set:function(a){this.defaultAccessLimitLevel$.next(a)}}});
sT.\u0275fac=function(a){return new (a||sT)};
sT.\u0275cmp=t({type:sT,selectors:[["b-issue-access-limits-dropdown"]],inputs:{defaultAccessLimitLevel:"defaultAccessLimitLevel",disabled:"disabled",implicitAccessEnabled:"implicitAccessEnabled"},outputs:{updatedAccessLimitLevel:"updatedAccessLimitLevel"},features:[cg],decls:14,vars:9,consts:[["accessLimitsMenu","matMenu"],[1,"access-limits-dropdown"],["mat-button","","mat-stroked-button","","dropdown-menu-button","","type","button",1,"access-limits-dropdown-button","gmat-mdc-button","small",3,"matMenuTriggerFor",
"disabled"],[1,"selected-access-limit-level-title"],["svgIcon","acl-alias-domain",1,"icon-s"],[1,"selected-access-limit-level-title-text"],["iconPositionEnd","","svgIcon","arrow-dropdown",1,"icon-s"],["svgIcon","help-outline","tabindex","0","aria-hidden","false",1,"icon-s","valign-middle",3,"matTooltip"],[1,"access-limit-level-options"],["mat-menu-item","",1,"access-limit-level-option"],["mat-menu-item","",1,"access-limit-level-option",3,"click"],[1,"access-limit-level-title"],[1,"icon-s",3,"svgIcon"],
[1,"access-limit-level-title-text"],[1,"access-limit-level-description"]],template:function(a,b){a&1&&(I(0,"div",1)(1,"button",2),S(2,"async"),I(3,"span",3),K(4,"mat-icon",4),I(5,"span",5),Q(6),S(7,"async"),J()(),K(8,"mat-icon",6),J(),D(9,PWa,1,1,"mat-icon",7),I(10,"mat-menu",8,0),tg(12,QWa,7,3,"button",9,sg),J()());if(a&2){var c;a=L(11);C();F("matMenuTriggerFor",a)("disabled",b.disabled);eg("aria-label","Issue Access level, "+((c=(c=U(2,5,b.selectedDisplay$))==null?null:c.title)!==null&&c!==void 0?
c:"Default access"));C(5);R(" ",U(7,7,b.issueAccessLimitLevelDisplayTitle$)," ");C(3);G(b.disabled?9:-1);C(3);ug(b.displays)}},dependencies:[$D,vD,Vy,vI,yI,wI,zI,FH,HH,Iw],styles:[".bv2-material.d-compact .mat-mdc-menu-item.access-limit-level-option{height:fit-content;line-height:12px}.bv2-material.d-cozy .mat-mdc-menu-item.access-limit-level-option{height:fit-content;line-height:16px}.mat-mdc-menu-panel.access-limit-level-options{min-width:320px}.mat-mdc-menu-item.access-limit-level-option{--mat-menu-item-with-icon-leading-spacing: 0px;--mat-menu-item-with-icon-trailing-spacing: 0px;height:fit-content;line-height:20px}.mat-mdc-menu-item.access-limit-level-option:focus,.mat-mdc-menu-item.access-limit-level-option:focus-within{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color}.mat-mdc-menu-item.access-limit-level-option .mat-icon.icon-s{margin-right:2px}.access-limits-dropdown{padding:5px 0px}.access-limits-dropdown mat-icon{vertical-align:middle;color:#202124;color:var(--text-default)}.access-limits-dropdown>mat-icon{padding-left:3px}.access-limits-dropdown-button:disabled{background-color:var(--disabled-bg);color:var(--text-disabled)}.access-limit-level-option{padding:5px 0px}.access-limit-level-option:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg);cursor:pointer}.access-limit-level-title{padding:0px 10px;white-space:nowrap}.access-limit-level-title mat-icon{vertical-align:text-bottom}.access-limit-level-description{padding:0px 15px 0px 35px;color:#5f6368;color:var(--text-muted);white-space:normal}.access-limit-level-options mat-icon{color:#202124;color:var(--text-default)}.selected-access-limit-level-title{color:#202124;color:var(--text-default);font-size:small}.selected-access-limit-level-title-text{padding:0px 6px}\n"],
encapsulation:2});var tT=function(){Z.apply(this,arguments);var a=this;this.errorHandler=r(jE);this.activeSession=r(dv);this.issueApi=r(uD);this.issueFullFridge=r(yG);this.componentFridge=r(AC);this.trackerFridge=r(vH);this.eventsForIssueFridge=r(yF);this.issuePermissionService=r(ZL);this.snackBar=r(eE);this.dialogRef=r(dL);this.data=r(jL);this.analytics=r(wG);this.confirmationDialogService=r(rL);this.jspbPrincipalTypes=r(XG);this.defaultAccessLimitLevel="LIMIT_NONE";this.COLLABORATOR_GROUPS_TOOLTIP="Collaborator groups are trusted groups that are configured by tracker admins only. Select and add these groups if they should be given collaborator access to this issue.";
this.writers=[];this.appenders=[];this.readers=[];this.currentUserEmail=this.activeSession.getUserEmail();this.isImplicitAccessEnabled$=this.issuePermissionService.isImplicitAccessEnabled$;this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.issueId=this.data.issueId;this.issue$=this.issueFullFridge.watch(this.issueId);this.currentAccessLimitLevel$=this.issue$.pipe(B(function(b){var c;return(c=b==null?void 0:b.snapshot[0].issueAccessLimitLevel)!=null?c:a.defaultAccessLimitLevel}));
this.updatedAccessLimitLevel$=new bo(this.defaultAccessLimitLevel);this.hasAccessLimitLevelSelectionChanged$=Me([this.currentAccessLimitLevel$,this.updatedAccessLimitLevel$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b!==c}));this.componentId=this.data.componentId;this.component$=this.componentFridge.watch(this.componentId);this.trackerId$=this.component$.pipe(B(function(b){return b==null?void 0:b.trackerId}));this.tracker$=this.trackerId$.pipe(Nf(function(b){return b?
a.trackerFridge.watch(b):Fe(void 0)}));this.collaboratorGroupsEmailToDetailsMap=new Map;this.addedCollaboratorGroups=new Set;this.removedCollaboratorGroups=new Set;this.expandedAccessTooltip$=this.isImplicitAccessEnabled$.pipe(B(function(b){return b?"This component has expanded access enabled. Assignees, verifiers, and collaborators can edit issues, and CC'd users can add comments.":"This component has expanded access disabled. Being listed on the issue does not confer any additional access privileges."}))};
Y(tT,Z);tT.\u0275dir=Z.\u0275dir;
tT.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.currentAccessLimitLevel$.subscribe(function(b){a.updatedAccessLimitLevel$.next(b);RWa(a,b)}));this.subscriptions.add(Me([this.tracker$,this.issue$]).subscribe(function(b){var c=k(b);b=c.next().value;c=c.next().value;a.updateCollaboratorGroups(b,c)}));this.subscriptions.add(this.hasAccessLimitLevelSelectionChanged$.subscribe(function(b){a.dialogRef.disableClose=b}));this.analytics.trackEvent("issueAccessLimits","view","issue_access_limits_dialog:"+
this.issueId)};
tT.prototype.updateCollaboratorGroups=function(a,b){var c=this,d,e,f,h;ve(function(l){if(l.nextAddress==1){c.collaboratorGroupsEmailToDetailsMap.clear();c.addedCollaboratorGroups.clear();c.removedCollaboratorGroups.clear();if(a&&a.collaboratorGroups)for(d=k(a.collaboratorGroups),e=d.next();!e.done;e=d.next())f=e.value,f.emailAddress&&c.collaboratorGroupsEmailToDetailsMap.set(f.emailAddress,{user:f,specifiedOnIssue:!1});return b&&b.snapshot&&b.snapshot[0].collaboratorsUsers?xe(l,mEc(c,b.snapshot[0].collaboratorsUsers),
3):l.jumpTo(0)}h=l.yieldResult;h.forEach(function(q){c.collaboratorGroupsEmailToDetailsMap.set(q.emailAddress,{user:q,specifiedOnIssue:!0})});Ce(l)})};
var mEc=function(a,b){var c,d;return ve(function(e){if(e.nextAddress==1)return c=b.map(function(f){return f.emailAddress}).filter(kj),xe(e,Gfc(a.jspbPrincipalTypes,c,!1),2);d=e.yieldResult;return e.return(b.filter(function(f){if(!f.emailAddress)return!1;var h;return((h=d[f.emailAddress])==null?void 0:h.principalType)==="GROUP"}))})},nEc=function(a){return a?"Expanded access on":"Expanded access off"},UWa=function(a,b){return a.addedCollaboratorGroups.size>0||a.removedCollaboratorGroups.size>0||b===
!0},RWa=function(a,b){a.addedCollaboratorGroups.size>0&&a.analytics.trackEvent("quickAddCollaborators","update","idp_added_dryrun:"+a.issueId);a.removedCollaboratorGroups.size>0&&a.analytics.trackEvent("quickAddCollaborators","update","idp_removed_dryrun:"+a.issueId);a.issueApi.getRetainedAccessPrincipals(a.issueId,b,Array.from(a.addedCollaboratorGroups),Array.from(a.removedCollaboratorGroups)).then(function(c){a.writers=mp(c.writers);a.appenders=mp(c.appenders);a.readers=mp(c.readers)},function(c){lE(a.errorHandler,
c)})};g=tT.prototype;g.manageComponentAccessRouterLink=function(a){return{path:"/components/"+a+"/manage",fragment:"access"}};g.closeDialog=function(){this.dialogRef.close()};g.onEnter=function(){this.onPressSave()};g.onEscape=function(){this.dialogRef.close()};
g.onPressSave=function(){var a=this,b=ip({user:{emailAddress:this.currentUserEmail}});if(this.writers.includes(b)||this.appenders.includes(b)||this.readers.includes(b))this.save();else{b="You will lose access";var c="You will no longer be able to access this issue. Are you sure you want to proceed?";this.writers.length===0&&this.appenders.length===0&&this.readers.length===0&&(b="Issue will be orphaned",c="No one will be able to access this issue. We strongly recommend maintaining at least one user with access. Are you sure you still want to proceed?");
this.confirmationDialogService.open({title:b,content:ti(c),onConfirm:function(){a.save()}})}};
g.save=function(){var a=this;this.dialogRef.close();this.issueApi.updateAccessLimit(this.issueId,this.updatedAccessLimitLevel$.value,Array.from(this.addedCollaboratorGroups),Array.from(this.removedCollaboratorGroups)).then(function(){a.didSave();a.analytics.trackEvent("issueAccessLimits","update","issue_access_limits_dialog:"+a.updatedAccessLimitLevel$.value);a.addedCollaboratorGroups.size>0&&a.analytics.trackEvent("quickAddCollaborators","update","idp_added:"+a.issueId);a.removedCollaboratorGroups.size>
0&&a.analytics.trackEvent("quickAddCollaborators","update","idp_removed:"+a.issueId)},function(b){lE(a.errorHandler,b)})};g.didSave=function(){this.snackBar.open("Successfully saved access configuration",void 0,{duration:2500});this.issueFullFridge.poke(this.issueId);this.eventsForIssueFridge.poke(this.issueId)};g.onPressCancel=function(){this.dialogRef.close()};tT.\u0275fac=function(){var a;return function(b){return(a||(a=de(tT)))(b||tT)}}();
tT.\u0275cmp=t({type:tT,selectors:[["b-issue-access-limits-dialog"]],hostBindings:function(a,b){a&1&&M("keydown.escape",function(){return b.onEscape()})},features:[cg],decls:38,vars:42,consts:[[1,"bv2-issue-limits-title"],[1,"lock-circle"],["svgIcon","lock","color","text-primary"],[1,"issue-limits-dialog-title-txt"],[3,"issueId","componentId","compactMode","popoutLink","viewOnly"],[1,"expanded-access"],[1,"expanded-access-txt"],["svgIcon","help-outline","tabindex","0","aria-hidden","false","aria-label",
"Help","role","button",1,"icon-s","valign-middle",3,"matTooltip"],[3,"updatedAccessLimitLevel","disabled","defaultAccessLimitLevel","implicitAccessEnabled"],[1,"user-display-area"],[1,"limit-users-title"],["idForInputBox","Users who can edit, comment, and view",3,"users","includeAliases","includeViewAliases"],["idForInputBox","Users who can comment and view",3,"users","includeAliases","includeViewAliases"],["idForInputBox","Users who can only view",3,"users","includeAliases","includeViewAliases"],
["mat-dialog-actions",""],["mat-button","",1,"medium","close"],[1,"collaborator-groups-title"],[1,"collaborator-groups-checkboxes"],[1,"collaborator-group-checkbox",3,"id","name","checked"],[1,"collaborator-group-checkbox",3,"click","change","id","name","checked"],["mat-button","",1,"medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"medium","confirm",3,"click","disabled"],["mat-button","",1,"medium","close",3,"click"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"span",1),K(2,
"mat-icon",2),J(),I(3,"h2",3),Q(4,"Issue access level"),J()(),I(5,"mat-dialog-content")(6,"div"),K(7,"b-component-breadcrumb-chip",4),I(8,"span",5),S(9,"async"),I(10,"span",6),Q(11),S(12,"async"),J(),K(13,"mat-icon",7),S(14,"async"),J()(),I(15,"b-issue-access-limits-dropdown",8),S(16,"async"),S(17,"async"),S(18,"async"),M("updatedAccessLimitLevel",function(h){b.updatedAccessLimitLevel$.next(h);RWa(b,h)}),J(),D(19,TWa,8,3),S(20,"async"),I(21,"div",9)(22,"div")(23,"div",10),Q(24,"Users who can edit, comment, and view"),
J(),K(25,"b-multi-user-input",11),J(),I(26,"div")(27,"div",10),Q(28,"Users who can comment and view"),J(),K(29,"b-multi-user-input",12),J(),I(30,"div")(31,"div",10),Q(32,"Users who can only view"),J(),K(33,"b-multi-user-input",13),J()()(),I(34,"div",14),D(35,VWa,5,3),S(36,"async"),D(37,WWa,2,0,"button",15),J());if(a&2){var c,d,e,f;C(7);F("issueId",b.issueId)("componentId",b.data.componentId)("compactMode",!0)("popoutLink",b.manageComponentAccessRouterLink)("viewOnly",!0);C();ng("expanded-access-on",
U(9,26,b.isImplicitAccessEnabled$));C(3);Tg(nEc((c=U(12,28,b.isImplicitAccessEnabled$))!==null&&c!==void 0?c:!1));C(2);F("matTooltip",(d=U(14,30,b.expandedAccessTooltip$))!==null&&d!==void 0?d:"");C(2);F("disabled",!U(16,32,b.hasAclToAdmin$))("defaultAccessLimitLevel",(e=U(17,34,b.currentAccessLimitLevel$))!==null&&e!==void 0?e:b.defaultAccessLimitLevel)("implicitAccessEnabled",(f=U(18,36,b.isImplicitAccessEnabled$))!==null&&f!==void 0?f:!1);C(4);G(b.collaboratorGroupsEmailToDetailsMap.size>0&&U(20,
38,b.hasAclToAdmin$)?19:-1);C(6);F("users",b.writers)("includeAliases",!1)("includeViewAliases",!1);eg("disabled",!0);C(4);F("users",b.appenders)("includeAliases",!1)("includeViewAliases",!1);eg("disabled",!0);C(4);F("users",b.readers)("includeAliases",!1)("includeViewAliases",!1);eg("disabled",!0);C(2);G(U(36,40,b.hasAclToAdmin$)?35:37)}},dependencies:[sT,$D,oT,vD,Vy,pL,oL,FH,HH,QP,qN,uN,Iw,Nw],styles:[".issue-limits-dialog-title-txt[_ngcontent-%COMP%]{padding:0 20px;font-size:1.4rem;line-height:2rem}.user-display-area[_ngcontent-%COMP%]{min-height:400px}.limit-users-title[_ngcontent-%COMP%]{font-weight:400;color:#202124;color:var(--text-default);padding-bottom:5px;font-size:1rem}.bv2-issue-limits-title[_ngcontent-%COMP%]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;font-weight:400;padding:20px 24px 0}.limit-option[_ngcontent-%COMP%]{padding:10px 0}.limit-option[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg);cursor:pointer}.limit-title[_ngcontent-%COMP%]{padding:0 20px;white-space:nowrap}.selected-limit-title[_ngcontent-%COMP%]{padding:0 5px 0 10px;color:#202124;color:var(--text-default);font-size:small}.limit-description[_ngcontent-%COMP%]{padding:0 40px}.limit-description[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}b-component-breadcrumb-chip[_ngcontent-%COMP%]{margin-right:16px}.expanded-access[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);border-color:#c5221f;border-color:var(--text-bad);border-radius:3px;padding:5px;background-color:var(--bad-bg);vertical-align:middle}.expanded-access[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-bottom:1px}.expanded-access-on[_ngcontent-%COMP%]{border-color:#188038;border-color:var(--text-good);background-color:var(--good-bg)}.lock-circle[_ngcontent-%COMP%]{border:solid;border-color:#1a73e8;border-color:var(--primary);border-radius:50%;background-color:var(--primary);color:#fff;color:var(--background);padding:12px;display:inline-block}.edit-btn[_ngcontent-%COMP%], .issue-limits-component-id[_ngcontent-%COMP%], a[_ngcontent-%COMP%], mat-icon[_ngcontent-%COMP%]{vertical-align:middle}b-issue-access-limits-dropdown[_ngcontent-%COMP%]{display:block;padding:20px 0}.mat-mdc-checkbox[_ngcontent-%COMP%]{padding-right:5px}.collaborator-groups-title[_ngcontent-%COMP%]{padding:0 5px 5px 0;font-size:1rem}.collaborator-groups-checkboxes[_ngcontent-%COMP%]{padding:5px 10px 20px 0}div.disabled[_ngcontent-%COMP%]{color:var(--text-disabled)}.collaborator-groups-email[_ngcontent-%COMP%]{padding-right:20px}.expanded-access-txt[_ngcontent-%COMP%], .issue-limits-component-id[_ngcontent-%COMP%]{padding:5px}\n/*# sourceMappingURL=issue_access_limits_dialog.css.map */"]});
var uT=function(){this.dialog=r(kL);this.dialogRef=null};uT.prototype.open=function(a){this.dialogRef=this.dialog.open(tT,{panelClass:"no-jitter",data:a,ariaLabel:"Issue access level"})};uT.prototype.isOpen=function(){return this.dialogRef?this.dialogRef.getState()===0:!1};uT.\u0275fac=function(a){return new (a||uT)};uT.\u0275prov=n({token:uT,factory:uT.\u0275fac,providedIn:"root"});var oEc=function(a){this.uploadUrl_=a};var pEc=function(){yp.call(this)};qv(pEc,yp);var vT=function(a){bG.call(this,a)};qv(vT,bG);var wT=function(a){bG.call(this,a)};qv(wT,bG);var qEc=function(a,b){this.name_=a;this.inputElement_=b};qEc.prototype.getName=function(){return this.name_};var rEc=function(){this.maxChunkSize_=1073741824;this.retryOnHttpClientErrorEnabled_=!0};var xT=function(){yp.call(this);this.name_="closure_frame"+sEc++;this.iframesForDisposal_=[];tEc[this.name_]=this},yT;qv(xT,yp);var tEc={},sEc=0,uEc=function(a,b){var c=Bp(a);Vgc(b,function(d,e){Array.isArray(d)||(d=[d]);Ma(d,function(f){f=c.createDom("INPUT",{type:"hidden",name:e,value:f});a.appendChild(f)})})};g=xT.prototype;g.form_=null;g.iframe_=null;g.iframeName_=null;g.nextIframeId_=0;g.active_=!1;g.complete_=!1;g.success_=!1;g.lastUri_=null;g.lastContent_=null;g.lastErrorCode_=0;
g.iframeDisposalTimer_=null;
g.send=function(a,b,c,d){if(this.active_)throw Error("Ke");this.lastUri_=a=new Dp(a);b=b?b.toUpperCase():"GET";c&&nhc(a);yT||(yT=U5b("FORM"),yT.acceptCharset="utf-8",c=yT.style,c.position="absolute",c.visibility="hidden",c.top=c.left="-10px",c.width=c.height="10px",c.overflow="hidden",document.body.appendChild(yT));this.form_=yT;b=="GET"&&uEc(this.form_,a.queryData_);d&&uEc(this.form_,d);c=a.toString();d=this.form_;c=Pc(new Kc(c===null?"null":c===void 0?"undefined":c));c!==void 0&&(d.action=c);this.form_.method=
b;vEc(this);wEc(this)};g.abort=function(a){if(this.active_){var b=xEc(this);if(b)if(dG(b))b.removeAllListeners();else if(b=Sdc(b)){var c=0,d;for(d in b.listeners)for(var e=b.listeners[d].concat(),f=0;f<e.length;++f)hG(e[f])&&++c}this.success_=this.active_=this.complete_=!1;this.lastErrorCode_=a||7;this.dispatchEvent("abort");yEc(this)}};
g.disposeInternal=function(){this.active_&&this.abort();xT.superClass_.disposeInternal.call(this);this.iframe_&&zEc(this);wEc(this);delete this.errorChecker_;this.lastUri_=this.lastContent_=this.form_=null;this.lastErrorCode_=0;delete tEc[this.name_]};g.isComplete=function(){return this.complete_};g.isSuccess=function(){return this.success_};g.isActive=function(){return this.active_};g.getResponseText=function(){return this.lastContent_};g.getResponseJson=function(){return sjc(this.lastContent_)};
g.getLastUri=function(){return this.lastUri_};g.getLastErrorCode=function(){return this.lastErrorCode_};g.getLastError=function(){return EBc(this.lastErrorCode_)};
var vEc=function(a){a.active_=!0;a.complete_=!1;a.lastErrorCode_=0;a.iframeName_=a.name_+"_"+(a.nextIframeId_++).toString(36);a.iframe_=Bp(a.form_).createDom("IFRAME",{name:a.iframeName_,id:a.iframeName_});var b=a.iframe_.style;b.visibility="hidden";b.width=b.height="10px";b.display="none";tv?b.marginTop=b.marginLeft="-10px":(b.position="absolute",b.top=b.left="-10px");Bp(a.form_).document_.body.appendChild(a.iframe_);b=a.iframeName_+"_inner";var c=X5b(a.iframe_);if(document.baseURI){var d=Hr(b);
d=Rc('<head><base href="'+Hr(document.baseURI)+'"></head><body><iframe id="'+d+'" name="'+d+'"></iframe>')}else d=Hr(b),d=Rc('<body><iframe id="'+d+'" name="'+d+'"></iframe>');c.write(Tc(d));zp(c.getElementById(b),"load",a.onIframeLoaded_,!1,a);d=IA("TEXTAREA",a.form_);for(var e=0,f=d.length;e<f;e++){var h=d[e].value,l=[];a6b(d[e],l,!1);l.join("")!=h&&(RA(d[e],h),d[e].value=h)}d=c.importNode(a.form_,!0);d.target=b;d.action=a.form_.action;c.body.appendChild(d);e=IA("SELECT",a.form_);f=IA("SELECT",
d);h=0;for(l=e.length;h<l;h++)for(var q=IA("OPTION",e[h]),v=IA("OPTION",f[h]),y=0,E=q.length;y<E;y++)v[y].selected=q[y].selected;e=IA("INPUT",a.form_);f=IA("INPUT",d);h=0;for(l=e.length;h<l;h++)if(e[h].type=="file"&&e[h].value!=f[h].value){a.form_.target=b;d=a.form_;break}try{a.errorHandled_=!1,d.submit(),c.close(),sv&&Nq(a.testForFirefoxSilentError_,250,a)}catch(H){gG(c.getElementById(b),"load",a.onIframeLoaded_,!1,a),c.close(),a.handleError_(2)}};
xT.prototype.onIframeLoaded_=function(){gG(xEc(this),"load",this.onIframeLoaded_,!1,this);try{var a=this.iframe_?X5b(xEc(this)):null;this.complete_=!0;this.active_=!1;try{var b=a.body;this.lastContent_=b.textContent||b.innerText}catch(e){var c=1}var d;c||typeof this.errorChecker_!="function"||(d=this.errorChecker_(a))&&(c=4);c?this.handleError_(c):(this.success_=!0,this.lastErrorCode_=0,this.dispatchEvent("complete"),this.dispatchEvent("success"),yEc(this))}catch(e){this.handleError_(1)}};
xT.prototype.handleError_=function(a){this.errorHandled_||(this.active_=this.success_=!1,this.complete_=!0,this.lastErrorCode_=a,this.dispatchEvent("complete"),this.dispatchEvent("error"),yEc(this),this.errorHandled_=!0)};
var yEc=function(a){zEc(a);wEc(a);a.form_=null;a.dispatchEvent("ready")},zEc=function(a){var b=a.iframe_;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.iframesForDisposal_.push(b));a.iframeDisposalTimer_&&(Oq(a.iframeDisposalTimer_),a.iframeDisposalTimer_=null);sv?a.iframeDisposalTimer_=Nq(a.disposeIframes_,2E3,a):a.disposeIframes_();a.iframe_=null;a.iframeName_=null};
xT.prototype.disposeIframes_=function(){this.iframeDisposalTimer_&&(Oq(this.iframeDisposalTimer_),this.iframeDisposalTimer_=null);for(;this.iframesForDisposal_.length!=0;){var a=this.iframesForDisposal_.pop();PA(a)}};var wEc=function(a){a.form_&&a.form_==yT&&OA(a.form_)},xEc=function(a){return a.iframe_?X5b(a.iframe_).getElementById(a.iframeName_+"_inner"):null};
xT.prototype.testForFirefoxSilentError_=function(){if(this.active_){var a=this.iframe_?X5b(xEc(this)):null;a&&!eZb(a,"documentUri")?(gG(xEc(this),"load",this.onIframeLoaded_,!1,this),navigator.onLine?this.handleError_(3):this.handleError_(9)):Nq(this.testForFirefoxSilentError_,250,this)}};var AEc=function(a,b,c,d,e){yp.call(this);c=document.createElement("form");c.setAttribute("method",b);c.setAttribute("enctype","multipart/form-data");c.setAttribute("encoding","multipart/form-data");b=document.createElement("input");b.setAttribute("type","hidden");b.setAttribute("name","metadata");b.setAttribute("value",e);c.appendChild(b);c.appendChild(d);this.form_=c;a=new Dp(a);iI(a,"upload_protocol","multipart");this.url_=a.toString();this.request_=new xT;this.state_="Ready";this.errorDescription_=
null;this.eventHandler_=new Lr(this);hr(this,this.eventHandler_);this.eventHandler_.listen(this.request_,"success",this.onTransferSuccess_);this.eventHandler_.listen(this.request_,"error",this.onTransferError_)};Y(AEc,pEc);g=AEc.prototype;g.run=function(){this.state_="Transferring";var a=this.request_,b=this.form_;if(a.active_)throw Error("Ke");var c=new Dp(this.url_||b.action);a.lastUri_=c;a.form_=b;b=a.form_;c=Pc(c.toString());c!==void 0&&(b.action=c);vEc(a)};g.getBytesTransferred=function(){return null};
g.getResponseCode=function(){return null};g.getErrorType=function(){return null};g.getResponseHeaders=function(){return null};g.getResponseText=function(){return this.request_&&this.request_.getResponseText()||null};g.getErrorDescription=function(){return this.errorDescription_};g.cancel=function(){this.request_&&this.request_.abort();this.state_="Cancelled";this.dispatchEvent(new vT("q"))};g.pause=function(){};g.unpause=function(){};g.onTransferSuccess_=function(){this.state_="Complete";this.dispatchEvent(new vT("n"))};
g.onTransferError_=function(){this.errorDescription_="Transfer failed.";this.state_="Error";this.dispatchEvent(new vT("p"))};var DEc=function(a,b){a.name!==void 0?(this.name=a.name,this.code=BEc[a.name]):(this.code=a=a.code,this.name=CEc(a));wa.call(this,q_b("%s %s",this.name,b))};qv(DEc,wa);
var CEc=function(a){var b=wea(BEc,function(c){return a==c});if(b===void 0)throw Error("Le`"+a);return b},zT={},BEc=(zT.AbortError=3,zT.EncodingError=5,zT.InvalidModificationError=9,zT.InvalidStateError=7,zT.NotFoundError=1,zT.NotReadableError=4,zT.NoModificationAllowedError=6,zT.PathExistsError=12,zT.QuotaExceededError=10,zT.SecurityError=2,zT.SyntaxError=8,zT.TypeMismatchError=11,zT);var EEc=function(a,b){bG.call(this,a.type,b);this.event_=a};qv(EEc,bG);var FEc=function(a,b,c){c===void 0&&(c=a.size);return a.slice?a.slice(b,c):null};wp(function(){if(!ya.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return b.size!=100?!1:!0});var GEc=wp(function(){if(!ya.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return FEc(b,0,1)===null?!1:!0});var HEc=function(){yp.call(this);this.reader_=new FileReader;this.reader_.onloadstart=ov(this.dispatchProgressEvent_,this);this.reader_.onprogress=ov(this.dispatchProgressEvent_,this);this.reader_.onload=ov(this.dispatchProgressEvent_,this);this.reader_.onabort=ov(this.dispatchProgressEvent_,this);this.reader_.onerror=ov(this.dispatchProgressEvent_,this);this.reader_.onloadend=ov(this.dispatchProgressEvent_,this)};qv(HEc,yp);g=HEc.prototype;
g.abort=function(){try{this.reader_.abort()}catch(a){throw new DEc(a,"aborting read");}};g.getReadyState=function(){return this.reader_.readyState};g.getError=function(){return this.reader_.error&&new DEc(this.reader_.error,"reading file")};g.dispatchProgressEvent_=function(a){this.dispatchEvent(new EEc(a,this))};g.disposeInternal=function(){HEc.superClass_.disposeInternal.call(this);delete this.reader_};g.readAsBinaryString=function(a){this.reader_.readAsBinaryString(a)};g.readAsArrayBuffer=function(a){this.reader_.readAsArrayBuffer(a)};
g.readAsText=function(a,b){this.reader_.readAsText(a,b)};var IEc=function(a){var b=new RI;a.listen("loadend",pv(function(c,d){var e=d.reader_.result,f=d.getError();e==null||f?(yic(c),SI(c,!1,f)):c.callback(e);d.dispose()},b,a));return b};var AT=function(){Mq.call(this)};Y(AT,Mq);AT.prototype.createXhr=function(){var a=Mq.prototype.createXhr.call(this);a.upload&&(a.upload.onprogress=ov(this.onProgress_,this));return a};AT.prototype.onProgress_=function(a){this.dispatchEvent(a)};var JEc=function(){this.attempt_=-1;this.delayCallId_=null;this.maxDelayMs_=6E4;this.maxAttempts_=-1},LEc=function(a,b){var c=a.attempt_+1;if(a.maxAttempts_>0&&c>a.maxAttempts_)return!1;c==0?b():a.delayCallId_=Nq(function(){a.delayCallId_=null;b()},KEc(a),a);a.attempt_=c;return!0};JEc.prototype.reset=function(){this.delayCallId_&&Oq(this.delayCallId_);this.attempt_=-1};var KEc=function(a){var b=250*Math.pow(2,a.attempt_);a.maxDelayMs_>=0&&(b=Math.min(b,a.maxDelayMs_));return b};var aXa=["Content-Length","Content-Type","Content-Encoding","Transfer-Encoding"];var MEc=function(a){yp.call(this);a=a||new rEc;this.request_=this.state_=null;this.withCredentials_=!1;this.transferHandle_=null;this.offset_=this.bytesTransferred_=0;this.retryIterator_=new JEc;this.retryIterator_.maxAttempts_=6;this.retryIterator_.maxDelayMs_=6E4;this.errorType_=this.errorDescription_=null;this.eventHandler_=new Lr(this);hr(this,this.eventHandler_);this.url_=this.blob_=null;this.method_=void 0;this.metadata_=this.headers_=null;this.maxChunkSize_=a.maxChunkSize_;this.chunkSize_=
null;this.retryOnHttpClientErrorEnabled_=a.retryOnHttpClientErrorEnabled_;this.requireUploadRequestModification_=!1;this.originalBlobSize_=0;this.detectCorruptedBlobEnabled_=!1;this.lastCommandResponseCode_=this.responseText_=this.responseHeaders_=this.responseCode_=null;this.pauseRequested_=!1;this.stateAfterUnpausing_=null};qv(MEc,pEc);g=MEc.prototype;g.run=function(){BT(this)};g.getBytesTransferred=function(){return this.bytesTransferred_};g.getResponseCode=function(){return this.responseCode_};
g.getResponseHeaders=function(){return this.responseHeaders_};g.getResponseText=function(){return this.responseText_};g.getErrorDescription=function(){return this.errorDescription_};g.getErrorType=function(){return this.errorType_};
g.cancel=function(){if(this.state_!="Response received"&&this.state_!="Error"){this.eventHandler_.removeAll();this.request_&&this.request_.abort();this.retryIterator_.reset();var a=this.state_==="Paused"?this.stateAfterUnpausing_:this.state_;if(a==="Upload"||a==="Query")a=new AT,a.withCredentials_=this.withCredentials_,a.send(this.transferHandle_.uploadUrl_,"POST","",{"X-Goog-Upload-Command":"cancel"});this.state_="Cancel";this.bytesTransferred_=0;this.dispatchEvent(new vT("q"))}};
g.pause=function(){this.pauseRequested_=!0};g.unpause=function(){this.pauseRequested_=!1;this.state_==="Paused"&&(this.state_=this.stateAfterUnpausing_,this.stateAfterUnpausing_=null,NEc(this))};
var BT=function(a){var b=a.state_;a.pauseRequested_?(a.pauseRequested_=!1,a.stateAfterUnpausing_=b,a.state_="Paused"):LEc(a.retryIterator_,function(){return NEc(a)})||CT(a,1,"Transfer encountered too many consecutive failures.")},NEc=function(a){switch(a.state_){case "Start":a.start_();break;case "Upload":var b=a.transferHandle_.uploadUrl_,c=a.blob_.size;if(GEc()){var d=a.chunkSize_;var e=a.offset_+d>=c;c=FEc(a.blob_,a.offset_,e?c:a.offset_+d)}else a.offset_=0,c=a.blob_,e=!0;a.request_=new AT;a.request_.withCredentials_=
a.withCredentials_;a.eventHandler_.removeAll();a.eventHandler_.listen(a.request_,"progress",a.onUploadProgress_);d=ov(a.onUploadComplete_,a,a.offset_+c.size,e);a.eventHandler_.listen(a.request_,"complete",d);a.lastCommandResponseCode_=null;a.dispatchEvent(new wT("s"));e=Object.assign({},a.headers_||{},{"X-Goog-Upload-Command":"upload"+(e?", finalize":""),"X-Goog-Upload-Offset":a.offset_});a.request_.send(b,"POST",c,e);break;case "Query":a.query_();break;default:throw Error("Me");}},CT=function(a,
b,c){a.state_="Error";a.errorDescription_=c;a.errorType_=b;a.dispatchEvent(new vT("p"))};g=MEc.prototype;
g.start_=function(){this.request_=new AT;var a=Gc(this.headers_);this.blob_.size!=null&&(a["Content-Length"]=this.blob_.size);a=bXa(a);a["X-Goog-Upload-Protocol"]="resumable";a["X-Goog-Upload-Command"]="start";this.eventHandler_.removeAll();this.eventHandler_.listen(this.request_,"complete",this.onStartComplete_);this.request_.withCredentials_=this.withCredentials_;this.request_.send(this.url_,this.method_,this.metadata_,a);this.lastCommandResponseCode_=null;this.dispatchEvent(new wT("s"))};
g.onStartComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new wT("t"));OEc(b)?PEc(this,b):QEc(b)?(b=er(a.target.getAllResponseHeaders()),this.dispatchEvent(new vT("o")),a=fr(b,"X-Goog-Upload-URL"),b=(b=fr(b,"X-Goog-Upload-Chunk-Granularity"))?parseInt(b,10):1,a===void 0||isNaN(b)||b<=0?CT(this,2,"Server returned invalid headers."):(this.chunkSize_=Math.floor(this.maxChunkSize_/b)*b,this.transferHandle_=new oEc(a),this.dispatchEvent(new vT("r")),this.state_=
"Upload",this.retryIterator_.reset(),BT(this))):BT(this)};g.onUploadProgress_=function(a){this.bytesTransferred_=this.offset_+a.loaded;this.dispatchEvent(new vT("m"))};
g.onUploadComplete_=function(a,b,c){var d=this,e,f;return ve(function(h){switch(h.nextAddress){case 1:e=c.target;d.lastCommandResponseCode_=e.getStatus();d.dispatchEvent(new wT("t"));if(d.retryOnHttpClientErrorEnabled_?REc(e)||e.getStatus()==404:OEc(e))return d.bytesTransferred_=a,PEc(d,e),h.return();if(QEc(e)){h.jumpTo(2);break}if(!(f=d.detectCorruptedBlobEnabled_)){h.jumpTo(3);break}return xe(h,SEc(d),4);case 4:f=h.yieldResult;case 3:if(f)return CT(d,3,"Blob has been modified or corrupted."),h.return();
d.requireUploadRequestModification_=e.getStatus()==400;d.state_="Query";BT(d);return h.return();case 2:if(b)return CT(d,4,"Got a non-final success response after issuing a finalize command."),h.return();d.bytesTransferred_=a;d.offset_=a;d.retryIterator_.reset();BT(d);return h.return()}})};
g.query_=function(){this.request_=new AT;this.eventHandler_.removeAll();this.eventHandler_.listen(this.request_,"complete",this.onQueryComplete_);var a=Object.assign({},this.headers_||{},{"X-Goog-Upload-Command":"query"});this.request_.send(this.transferHandle_.uploadUrl_,"POST","",a);this.lastCommandResponseCode_=null;this.dispatchEvent(new wT("s"))};
g.onQueryComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new wT("t"));OEc(b)?(b.getStatus()===200&&(this.bytesTransferred_=this.blob_.size),PEc(this,b)):QEc(b)?(a=er(a.target.getAllResponseHeaders()),a=parseInt(fr(a,"X-Goog-Upload-Size-Received"),10),isNaN(a)?CT(this,5,"Server did not respond with current offset."):a<this.offset_?CT(this,6,"Server lost bytes! Expected an offset of at least "+this.offset_+", but got an offset of "+a+"."):this.requireUploadRequestModification_&&
this.offset_===a?CT(this,7,"Server returned the same offset as the last failed upload attempt."):(this.requireUploadRequestModification_=!1,this.offset_<a&&this.retryIterator_.reset(),this.offset_=this.bytesTransferred_=a,this.state_="Upload",BT(this))):BT(this)};
var PEc=function(a,b){a.responseCode_=b.getStatus();var c=er(b.getAllResponseHeaders());a.responseHeaders_=cXa(c);a.responseText_=b.getResponseText();a.state_="Response received";a.dispatchEvent(new vT("n"))},QEc=function(a){var b=a.getStatus();a=er(a.getAllResponseHeaders());a=fr(a,"X-Goog-Upload-Status");return b===200&&a==="active"},REc=function(a){a=er(a.getAllResponseHeaders());return fr(a,"X-Goog-Upload-Status")==="final"},OEc=function(a){if(REc(a))return!0;a=a.getStatus();return a>=400&&a<
500},SEc=function(a){var b;return ve(function(c){if(c.nextAddress==1){if(!a.blob_||a.originalBlobSize_<=0)return c.return(!1);if(a.blob_.size!==a.originalBlobSize_)return c.return(!0);we(c,2);if(b=FEc(a.blob_,0,1)){var d=new HEc,e=IEc(d);d.readAsBinaryString(b);c=xe(c,e,4)}else c=c.return(!0);return c}if(c.nextAddress!=2)return c.return(a.blob_.size!==a.originalBlobSize_);Be(c);return c.return(!0)})};var TEc=function(a,b,c,d,e,f){yp.call(this);this.payload_=d;this.url_=a;this.method_=b;this.headers_=c;this.metadata_=e;this.metadataOverhead_=0;this.encoding_=f||"binary";a=new Di;this.boundary_="uploader-"+Qv()+"-"+a.toIsoString();this.transferRequest_=null;this.bytesTransferred_=0;this.responseText_=this.responseHeaders_=this.responseCode_=null;this.state_="Ready";this.errorDescription_=null;this.eventHandler_=new Lr(this);hr(this,this.eventHandler_)};Y(TEc,pEc);g=TEc.prototype;
g.run=function(){var a=Gc(this.headers_);this.payload_.length!=null&&(a["Content-Length"]=this.payload_.length);a=bXa(a);a["X-Goog-Upload-Protocol"]="multipart";a["Content-Type"]="multipart/related; boundary="+this.boundary_;this.state_="Transferring";this.transferRequest_=new AT;this.eventHandler_.removeAll();this.eventHandler_.listen(this.transferRequest_,"progress",this.onTransferProgress_);this.eventHandler_.listen(this.transferRequest_,"complete",this.onTransferComplete_);var b=this.transferRequest_,
c=b.send,d=this.url_,e=this.method_,f="--"+this.boundary_+'\r\nContent-Disposition: form-data; name="metadata"\r\n\r\n'+(this.metadata_+"\r\n--")+this.boundary_+'\r\nContent-Disposition: form-data; name="Filedata"\r\nContent-Transfer-Encoding: '+(this.encoding_+"\r\n\r\n")+this.payload_+"\r\n--"+this.boundary_+"--\r\n";this.metadataOverhead_=f.length-this.payload_.length;c.call(b,d,e,f,a)};g.getBytesTransferred=function(){return this.bytesTransferred_};g.getResponseCode=function(){return this.responseCode_};
g.getResponseHeaders=function(){return this.responseHeaders_};g.getResponseText=function(){return this.responseText_};g.getErrorDescription=function(){return this.errorDescription_};g.getErrorType=function(){return null};g.cancel=function(){this.state_!="Complete"&&this.state_!="Error"&&(this.eventHandler_.removeAll(),this.transferRequest_&&this.transferRequest_.abort(),this.state_="Cancel",this.dispatchEvent(new vT("q")))};g.pause=function(){};g.unpause=function(){};
g.onTransferProgress_=function(a){this.bytesTransferred_=Math.max(0,a.loaded-this.metadataOverhead_);this.dispatchEvent(new vT("m"))};g.onTransferComplete_=function(a){var b=a.target.getStatus();b===void 0||b===-1?(this.errorDescription_="Connection broken before response was received.",this.state_="Error",this.dispatchEvent(new vT("p"))):(this.responseCode_=b,a=a.target,b=er(a.getAllResponseHeaders()),this.responseHeaders_=cXa(b),this.responseText_=a.getResponseText(),this.state_="Complete",this.dispatchEvent(new vT("n")))};var UEc=function(){},VEc=function(a,b,c,d,e){e=e===void 0?!1:e;if(c instanceof qEc)return new AEc(a,"POST",b,c.inputElement_,d);if(typeof c==="string"||c instanceof String)return new TEc(a,"POST",b,c,d);var f=new MEc(void 0);f.url_=a;f.method_="POST";f.headers_=b;f.blob_=c;f.originalBlobSize_=c.size;f.metadata_=d;e&&(f.withCredentials_=e);f.state_="Start";return f};var WEc=new Bd("ScottyUploaderConfigFactory"),XEc=new Bd("ScottyUploader",{factory:function(){return new UEc}}),DT=function(a,b){this.uploader=a;this.configFactory=b;this.internalTransferStatus=new Jf;this.transferStatus=Pu(this.internalTransferStatus)};
DT.prototype.upload=function(a,b){var c=this;b=b===void 0?this.configFactory.create(a):b;a=VEc(b.url,b.headers||{},a,b.metadata||"",!!b.withCredentials);this.transferSubscription&&!b.allowSimultaneousUpload&&this.transferSubscription.unsubscribe();this.transferSubscription=Xe(Te(a,"o"),Te(a,"m"),Te(a,"r"),Te(a,"p"),Te(a,"n"),Te(a,"q")).pipe(Of(Te(a,"n").pipe(Df(0)))).subscribe(function(d){c.internalTransferStatus.next(d)});a.run()};DT.\u0275fac=function(a){return new (a||DT)(md(XEc),md(WEc))};
DT.\u0275prov=n({token:DT,factory:DT.\u0275fac});var YEc=function(a){this.name_=a;this.files_=[];this.directories_=[];this.directoryMap_={}};YEc.prototype.getDirectory=function(a){return this.directoryMap_[a]};YEc.prototype.getName=function(){return this.name_};var $Ec=function(a,b,c){b=b===void 0?"single_file":b;c=c===void 0?[]:c;yp.call(this);this.overlayTarget_=a;this.parentOverlay_=a!=null?a.parentNode:or(document,"scotty-overlay-parent");this.selectorType_=b;this.acceptTypes_=c;this.overlay_=ZEc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};Y($Ec,yp);
var ZEc=function(a,b,c,d){var e=document.createElement("input");e.setAttribute("type","file");e.setAttribute("name","Filedata");zp(e,"change",a.onFilesSelected_,!1,a);c==="multiple_file"&&(e.multiple="true");c==="single_directory"&&(e.webkitdirectory="true");d.length>0&&e.setAttribute("accept",d.join(","));e.style.position="absolute";e.style.overflow="hidden";e.style.height="0px";e.style.width="0px";e.style.opacity="0";e.setAttribute("aria-hidden","true");e.setAttribute("tabIndex",-1);if(a.overlayTarget_!=
null)return e.style.height=b.offsetHeight+"px",e.style.width=b.offsetWidth+"px",a.parentOverlay_&&(a.parentOverlay_.style.position="relative"),b.parentNode&&b.parentNode.insertBefore(e,b.nextSibling),Sr(e,new Qr(b.offsetLeft,b.offsetTop)),e;a.parentOverlay_.appendChild(e);return e};$Ec.prototype.click=function(){this.overlay_.click()};
$Ec.prototype.onFilesSelected_=function(a){a:{try{var b=(new XMLHttpRequest).upload!==void 0;break a}catch(v){}b=!1}if(b){var c;a=Array.from((c=a.target.files)!=null?c:[]);c=[];if(this.selectorType_==="single_directory"&&(tv||gZb)){c=new YEc("");if(File.prototype.hasOwnProperty("webkitRelativePath"))for(b=0;b<a.length;b++)for(var d=a[b],e=d.webkitRelativePath.split("/"),f=c,h=0;h<e.length;h++){var l=e[h];if(h==e.length-1){l!="."&&f.files_.push(d);break}var q=f.getDirectory(l);q==void 0&&(l=q=new YEc(l),
f.directoryMap_[l.getName()]=l,f.directories_.push(l));f=q}c=c.directories_}this.dispatchEvent(new aFc(a,c,null))}else a=a.target.value,a.match(/^c:\\fakepath\\/i)&&(a=a.substring(12)),this.dispatchEvent(new aFc([],[],new qEc(a,this.overlay_)));this.parentOverlay_.removeChild(this.overlay_);this.overlay_=ZEc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};
var bFc={SINGLE_FILE_SELECTION:"single_file",MULTIPLE_FILE_SELECTION:"multiple_file",SINGLE_DIRECTORY_SELECTION:"single_directory"},aFc=function(a,b){bG.call(this,"y");this.files=a;this.directories=b};Y(aFc,bG);var ET=function(a,b){this.elementRef=a;this.ngZone=b;this.destroyed=new If(1);this.supportedFileExtensions=null;this.fileExtensionRejected=new kw;this.maxFileSize=null;this.fileSizeRejected=new kw;this.fileSelected=new kw;this.fileNameLengthRejected=new kw};
ET.prototype.ngAfterViewInit=function(){var a=this;this.getOverlay().pipe(Nf(function(b){return Xe(Te(b,"u"),Te(b,"y"))}),Of(this.destroyed)).subscribe(function(b){a.ngZone.run(function(){a:{if(a.supportedFileExtensions){var c=k(b.files);for(var d=c.next();!d.done;d=c.next()){d=d.value.name;var e=d.lastIndexOf(".");if(!a.supportedFileExtensions.includes(e!==-1?d.substr(e+1).toLowerCase():"")){c=!1;break a}}}c=!0}if(c){a:{if(a.maxFileSize)for(c=k(b.files),d=c.next();!d.done;d=c.next())if(d.value.size>
a.maxFileSize){c=!1;break a}c=!0}if(c){a:{if(a.maxFileNameLength)for(c=k(b.files),d=c.next();!d.done;d=c.next())if(d.value.name.length>a.maxFileNameLength){c=!1;break a}c=!0}c?a.fileSelected.emit(b):a.fileNameLengthRejected.emit(b)}else a.fileSizeRejected.emit(b)}else a.fileExtensionRejected.emit(b)})});this.getOverlay().subscribe(function(b){Te(b,"w").subscribe(function(){a.ngZone.run(function(){})})});this.getOverlay().subscribe(function(b){Te(b,"x").subscribe(function(){a.ngZone.run(function(){})})})};
ET.prototype.ngOnDestroy=function(){this.destroyed.next(!0);this.destroyed.complete()};ET.\u0275fac=function(a){return new (a||ET)(af(ge),af(hh))};ET.\u0275dir=ud({type:ET,inputs:{supportedFileExtensions:"supportedFileExtensions",maxFileSize:"maxFileSize",maxFileNameLength:"maxFileNameLength"},outputs:{fileExtensionRejected:"fileExtensionRejected",fileSizeRejected:"fileSizeRejected",fileSelected:"fileSelected",fileNameLengthRejected:"fileNameLengthRejected"}});var FT=function(a,b){ET.call(this,a,b);this.overlay=this.fileSelectorOverlay=null};Y(FT,ET);
FT.prototype.getOverlay=function(){var a=this;this.overlay||(this.overlay=this.ngZone.runOutsideAngular(function(){return Xe(Te(a.elementRef.nativeElement,"mouseover"),Te(a.elementRef.nativeElement,"focus")).pipe(Gf(),Of(a.destroyed),B(function(){a.fileSelectorOverlay=new $Ec(a.elementRef.nativeElement,a.selectorType,cFc(a));a.fileSelectorOverlay.overlay_.style.display="none";return a.fileSelectorOverlay}),Kf(1))}));return this.overlay};FT.prototype.onClick=function(){this.fileSelectorOverlay&&this.fileSelectorOverlay.click()};
var cFc=function(a){return(a.supportedFileExtensions||[]).map(function(b){return"."+b})};FT.\u0275fac=function(a){return new (a||FT)(af(ge),af(hh))};FT.\u0275dir=ud({type:FT,hostBindings:function(a,b){a&1&&M("click",function(){return b.onClick()})},inputs:{selectorType:"selectorType"},features:[cg]});var GT=function(a,b,c){FT.call(this,a,b);this.uploader=c;this.disableAutoUploadInternal=!1};Y(GT,FT);
GT.prototype.ngOnInit=function(){var a=this;this.fileSelected.pipe(Of(this.destroyed),Ye(function(){return!a.disableAutoUpload})).subscribe(function(b){b=k(b.files);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;(d=a.uploader)==null||d.upload(c)}})};ea.Object.defineProperties(GT.prototype,{disableAutoUpload:{configurable:!0,enumerable:!0,get:function(){return this.disableAutoUploadInternal},set:function(a){this.disableAutoUploadInternal=$h(a)}}});
GT.\u0275fac=function(a){return new (a||GT)(af(ge),af(hh),af(DT,8))};GT.\u0275dir=ud({type:GT,selectors:[["","xapUploaderTrigger",""],["","xapScottyUploaderTrigger",""]],inputs:{disableAutoUpload:"disableAutoUpload"},features:[cg]});var HT=function(){this.SelectorType=bFc;this.includeTextLabel=this.disabled=!1;this.onSelect=new rG},dXa=function(a,b){if(b=b.files){b=k(b);for(var c=b.next();!c.done;c=b.next())a.onSelect.emit(c.value)}};HT.\u0275fac=function(a){return new (a||HT)};
HT.\u0275cmp=t({type:HT,selectors:[["b-attachment-selector"]],inputs:{disabled:"disabled",includeTextLabel:"includeTextLabel"},outputs:{onSelect:"onSelect"},decls:3,vars:1,consts:[[1,"goog-inline-block","vertical-centered"],["mat-icon-button","","xapUploaderTrigger","","matTooltip","Add attachments","aria-label","Add attachments",3,"selectorType","disableAutoUpload","disabled"],["mat-stroked-button","","xapUploaderTrigger","","matTooltip","Add attachments","aria-label","Add attachments",3,"selectorType",
"disableAutoUpload","disabled"],["mat-icon-button","","xapUploaderTrigger","","matTooltip","Add attachments","aria-label","Add attachments",3,"fileSelected","selectorType","disableAutoUpload","disabled"],["svgIcon","attachment"],["mat-stroked-button","","xapUploaderTrigger","","matTooltip","Add attachments","aria-label","Add attachments",3,"fileSelected","selectorType","disableAutoUpload","disabled"]],template:function(a,b){a&1&&(I(0,"div",0),D(1,eXa,2,3,"button",1)(2,fXa,3,3,"button",2),J());a&2&&
(C(),G(b.includeTextLabel?2:1))},dependencies:[$D,vD,Vy,Xy,FH,HH,GT],encapsulation:2});var dFc=function(a,b){Crc.call(this,a.size,a.name);var c=this;this.destroyed$=new Jf;this.onTransferEventUpdate=function(d){var e=d.target;c.transfer=e;switch(d.type){case "m":case "o":case "r":c.state=1;c.transferredBytes=e.getBytesTransferred()||0;break;case "p":c.handleError(e);break;case "n":c.transferredBytes=e.getBytesTransferred()||0;(d=e.getResponseCode())&&d!=200?c.handleError(e):(d=e.getResponseText())?(c.state=2,c.blobRef=JSON.parse(d).encryptedMedia):c.handleError(e);c.unsubscribe();break;
case "q":c.state=4;c.transferredBytes=e.getBytesTransferred()||0;break;default:c.transferredBytes=e.getBytesTransferred()||0}};b.pipe(Of(this.destroyed$)).subscribe(function(d){c.onTransferEventUpdate(d)})};Y(dFc,Crc);
dFc.prototype.handleError=function(a){this.transferredBytes=a.getBytesTransferred()||0;this.state=3;var b=a.getResponseText();if(b)try{this.errorMessage=JSON.parse(b).errorMessage}catch(d){sj("Unable to extract error message",b,d);var c;this.errorMessage=(c=a.getErrorDescription())!=null?c:""}this.errorMessage||(this.errorMessage="Error while uploading.")};dFc.prototype.cancel=function(){var a,b;(a=this.transfer)==null||(b=a.cancel)==null||b.call(a);this.unsubscribe()};
dFc.prototype.unsubscribe=function(){this.destroyed$.next();this.destroyed$.complete()};var IT=function(){this.activeSession=r(dv)};
IT.prototype.create=function(a){for(var b=a.name,c=[],d=0,e=0;e<b.length;e++){var f=b.charCodeAt(e);f<128?c[d++]=f:(f<2048?c[d++]=f>>6|192:((f&64512)==55296&&e+1<b.length&&(b.charCodeAt(e+1)&64512)==56320?(f=65536+((f&1023)<<10)+(b.charCodeAt(++e)&1023),c[d++]=f>>18|240,c[d++]=f>>12&63|128):c[d++]=f>>12|224,c[d++]=f>>6&63|128),c[d++]=f&63|128)}b=DZb(c);a=lGa(a.name)?a.name:b;return{url:iI(ohc().setPath("/upload/"),"authuser",this.activeSession.getSessionIdentifier()).toString(),headers:{"X-Bv2-Encoded-Upload-File-Name":b,
"X-Goog-Upload-File-Name":a},withCredentials:!0}};IT.\u0275fac=function(a){return new (a||IT)};IT.\u0275prov=n({token:IT,factory:IT.\u0275fac,providedIn:"root"});var JT=function(){this.uploader=r(XEc);this.uploaderConfigFactory=r(IT)};JT.prototype.create=function(){return new DT(this.uploader,this.uploaderConfigFactory)};JT.\u0275fac=function(a){return new (a||JT)};JT.\u0275prov=n({token:JT,factory:JT.\u0275fac,providedIn:"root"});var jXa=function(a){return{"attachment-error":a}},KT=function(){Z.apply(this,arguments);this.scottyUploaderFactory=r(JT);this.uploads=[];this.onUploadCancel=new rG;this.onUploadComplete=new rG;this.uploadStates=Drc};Y(KT,Z);KT.\u0275dir=Z.\u0275dir;KT.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);for(var a=k(this.uploads),b=a.next();!b.done;b=a.next())b.value.cancel()};
KT.prototype.upload=function(a){var b=this,c=this.scottyUploaderFactory.create();c.upload(a);a=new dFc(a,c.transferStatus);c.transferStatus.pipe(Of(this.destroyed$)).subscribe(function(d){d.type==="n"&&b.onUploadComplete.emit()});return a};KT.prototype.cancel=function(a){a.cancel();this.onUploadCancel.emit(a)};KT.\u0275fac=function(){var a;return function(b){return(a||(a=de(KT)))(b||KT)}}();
KT.\u0275cmp=t({type:KT,selectors:[["b-attachment-uploader"]],inputs:{uploads:"uploads"},outputs:{onUploadCancel:"onUploadCancel",onUploadComplete:"onUploadComplete"},features:[cg],decls:1,vars:1,consts:[[1,"attachments"],[1,"attachment",3,"ngClass"],[1,"attachment-title"],["svgIcon","file-present"],[1,"issue-attachment-filename",3,"matTooltip"],[1,"attachment-filesize"],["role","alert","aria-live","assertive"],[1,"bv2-remove-icon","keep-focus-ring","attachment-cancel-button",3,"click","matTooltip"]],
template:function(a,b){a&1&&D(0,lXa,3,0,"div",0);a&2&&G(b.uploads.length>0?0:-1)},dependencies:[Ew,$D,FH,HH,isc],styles:[".attachments[_ngcontent-%COMP%]{margin:10px 10px 0}.attachments[_ngcontent-%COMP%]   .attachment[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--surface-secondary);border-radius:4px;box-sizing:border-box;display:inline-flex;align-items:center;margin-bottom:10px;overflow-y:hidden;padding:5px;position:relative;width:100%;min-height:36px}.attachments[_ngcontent-%COMP%]   .attachment.attachment-error[_ngcontent-%COMP%]{background-color:#fce8e6;background-color:var(--bad-bg)}.attachments[_ngcontent-%COMP%]   .attachment-title[_ngcontent-%COMP%]{flex-grow:1}.attachments[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.attachments[_ngcontent-%COMP%]   .issue-attachment-filename[_ngcontent-%COMP%]{display:inline-block;font-weight:bold;margin-right:5px;max-width:50%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.attachments[_ngcontent-%COMP%]   .attachment-filesize[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}.attachments[_ngcontent-%COMP%]   .issue-attachment-link[_ngcontent-%COMP%]{margin-left:8px}.attachments[_ngcontent-%COMP%]   .attachment-cancel-button[_ngcontent-%COMP%]{padding:12px;margin-left:4px}"]});var eFc=function(a){this.size=a.sizeBytes;this.name=a.name;this.mimeType=a.mimeType;this.encryptedBlobId=a.blobId;this.url=a.url;this.docId=a.id};var fFc=function(a){Crc.call(this,a.size,a.name);this.attachment=a};Y(fFc,Crc);var gFc=function(a,b){a.state=1;orc(b,{filename:a.attachment.name,mimeType:a.attachment.mimeType,encryptedBlobId:a.attachment.encryptedBlobId?a.attachment.encryptedBlobId:null,docId:a.attachment.docId,size:a.attachment.size}).then(function(c){a.attachment.size&&(a.transferredBytes=a.attachment.size);a.blobRef=c.encryptedMedia;a.state=2}).catch(function(c){a.state=3;a.errorMessage=Jn(c)?Kn(c):"Error while uploading."})};var LT=function(a){this.id_=a;this.opts={}};g=LT.prototype;g.setLabel=function(a){this.label_=a||void 0;return this};g.setOptions=function(a){this.opts=a};g.setQuery=function(a){this.opts.query=a;return this};g.setParent=function(a){this.opts.parent=a;return this};g.toArray=function(){var a=Dc(this.opts,function(c){return c!==null});a=Ec(a)?null:a;a=[this.id_,this.label_,a];var b=Cba(a,m6b);return a=a.slice(0,b+1)};
g.toString=function(){var a=this.toArray();return"("+bZb(a,function(b){return JSON.stringify(b)}).join(",")+")"};g.getId=function(){return this.id_};g.getLabel=function(){return this.label_};g.getOptions=function(){return Gc(this.opts)};g.getQuery=function(){return this.opts.query};var MT=function(a){LT.call(this,a||"all")};qv(MT,LT);var hFc=function(){var a=(new MT("all")).setOwnedByMe(!0);a.opts.drdis=!0;a.opts.includeFolders=!0;a.opts.sortKey=7;a.opts.ff=!0;return a};g=MT.prototype;g.setMode=function(a){this.opts.mode=a;return this};g.setOwnedByMe=function(a){a!==void 0?this.opts.ownedByMe=a:delete this.opts.ownedByMe;return this};g.setLabel=function(a){MT.superClass_.setLabel.call(this,a);return this};g.setQuery=function(a){MT.superClass_.setQuery.call(this,a);return this};
g.setParent=function(a){MT.superClass_.setParent.call(this,a);return this};g.setItems=function(a){this.opts.items=a};var iFc=function(){LT.call(this,"image-search")};Y(iFc,LT);g=iFc.prototype;g.setType=function(a){this.opts.type=a;return this};g.setSize=function(a){this.opts.imgsz=a;return this};g.setColor=function(a){this.opts.imgcolor=a;return this};g.setLabel=function(a){LT.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){LT.prototype.setQuery.call(this,a);return this};g.setParent=function(a){LT.prototype.setParent.call(this,a);return this};var NT=function(){LT.call(this,"maps")};Y(NT,LT);NT.prototype.setMode=function(a){this.opts.mode=a;return this};NT.prototype.setLabel=function(a){LT.prototype.setLabel.call(this,a);return this};NT.prototype.setQuery=function(a){LT.prototype.setQuery.call(this,a);return this};NT.prototype.setParent=function(a){LT.prototype.setParent.call(this,a);return this};var jFc=function(){LT.call(this,"photos")};Y(jFc,LT);g=jFc.prototype;g.setMode=function(a){this.opts.mode=a;return this};g.setType=function(a){this.opts.type=a;return this};g.setLabel=function(a){LT.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){LT.prototype.setQuery.call(this,a);return this};g.setParent=function(a){LT.prototype.setParent.call(this,a);return this};g.removeDuplicates=function(){this.opts.rdv=!0;return this};var OT=function(){LT.call(this,"url")};Y(OT,LT);OT.prototype.setType=function(a){this.opts.type=a;return this};OT.prototype.setLabel=function(a){LT.prototype.setLabel.call(this,a);return this};OT.prototype.setQuery=function(a){LT.prototype.setQuery.call(this,a);return this};OT.prototype.setParent=function(a){LT.prototype.setParent.call(this,a);return this};var kFc=function(){LT.call(this,"video-search")};Y(kFc,LT);kFc.prototype.setLabel=function(a){LT.prototype.setLabel.call(this,a);return this};kFc.prototype.setQuery=function(a){LT.prototype.setQuery.call(this,a);return this};kFc.prototype.setParent=function(a){LT.prototype.setParent.call(this,a);return this};var lFc=function(){LT.call(this,"web")};Y(lFc,LT);lFc.prototype.setLabel=function(a){LT.prototype.setLabel.call(this,a);return this};lFc.prototype.setQuery=function(a){LT.prototype.setQuery.call(this,a);return this};lFc.prototype.setParent=function(a){LT.prototype.setParent.call(this,a);return this};var mFc=function(){this.root_=void 0;this.items_=[];this.opts={}},nFc=function(a){switch(a){case "image-search":return new iFc;case "maps":return new NT;case "photos":return new jFc;case "url":return new OT;case "video-search":return new kFc;case "web":return new lFc}return new LT(a)};mFc.prototype.addView=function(a){this.items_.push(typeof a==="string"?nFc(a):a);return this};
var oFc=function(a){return"("+bZb(a.items_,function(b){return b.toString()}).join(",")+")"},pFc=function(a){a=Dc(a.opts,function(b){return b!==null});return(a=Ec(a)?null:a)?JSON.stringify(sea(a,function(b){return b.toString()})):""};mFc.prototype.toString=function(){if(this.root_){var a=["{root:",this.root_.toString(),",items:",oFc(this)],b=pFc(this);b&&(a.push(",options:"),a.push(b));a.push("}");return a.join("")}return oFc(this)};mFc.prototype.getOptions=function(){return Gc(this.opts)};var qFc=function(a){this.basePickerUrl_=a||"https://docs.google.com/picker";this.nav_=new mFc};g=qFc.prototype;g.nav_=null;g.domHelper_=null;g.addView=function(a){this.nav_.addView(a);return this};g.getAppId=function(){return this.appId_};g.getBaseUrl=function(){return this.basePickerUrl_};g.getDomHelper=function(){return this.domHelper_};g.setAppId=function(a){this.appId_=a};g.setCallback=function(a){this.callback_=a;return this};var rFc=function(a){qFc.call(this,a)};qv(rFc,qFc);var PT=function(a){yp.call(this);this.dom_=a||Bp();this.rightToLeft_=sFc;this.id_=null;this.inDocument_=!1;this.element_=null;this.googUiComponentHandler_=void 0;this.childIndex_=this.children_=this.parent_=null;this.wasDecorated_=!1};qv(PT,yp);PT.prototype.idGenerator_=bs.getInstance();var sFc=!1;g=PT.prototype;g.getId=function(){return this.id_||(this.id_=Ir(this.idGenerator_))};
g.setId=function(a){this.parent_&&this.parent_.childIndex_&&(Fc(this.parent_.childIndex_,this.id_),zea(this.parent_.childIndex_,a,this));this.id_=a};g.getElement=function(){return this.element_};g.getHandler=function(){this.googUiComponentHandler_||(this.googUiComponentHandler_=new Lr(this));return this.googUiComponentHandler_};
g.setParent=function(a){if(this==a)throw Error("Ne");if(a&&this.parent_&&this.id_&&tFc(this.parent_,this.id_)&&this.parent_!=a)throw Error("Ne");this.parent_=a;PT.superClass_.setParentEventTarget.call(this,a)};g.getParent=function(){return this.parent_};g.setParentEventTarget=function(a){if(this.parent_&&this.parent_!=a)throw Error("Oe");PT.superClass_.setParentEventTarget.call(this,a)};g.getDomHelper=function(){return this.dom_};g.createDom=function(){this.element_=this.dom_.createElement("DIV")};
g.render=function(a){if(this.inDocument_)throw Error("Pe");this.element_||this.createDom();a?a.insertBefore(this.element_,null):this.dom_.document_.body.appendChild(this.element_);this.parent_&&!this.parent_.inDocument_||this.enterDocument()};g.decorate=function(a){if(this.inDocument_)throw Error("Pe");if(a&&this.canDecorate(a)){this.wasDecorated_=!0;var b=GA(a);this.dom_&&this.dom_.document_==b||(this.dom_=Bp(a));this.decorateInternal(a);this.enterDocument()}else throw Error("Qe");};
g.canDecorate=function(){return!0};g.decorateInternal=function(a){this.element_=a};g.enterDocument=function(){this.inDocument_=!0;uFc(this,function(a){!a.inDocument_&&a.getElement()&&a.enterDocument()})};g.exitDocument=function(){uFc(this,function(a){a.inDocument_&&a.exitDocument()});this.googUiComponentHandler_&&this.googUiComponentHandler_.removeAll();this.inDocument_=!1};
g.disposeInternal=function(){this.inDocument_&&this.exitDocument();this.googUiComponentHandler_&&(this.googUiComponentHandler_.dispose(),delete this.googUiComponentHandler_);uFc(this,function(a){a.dispose()});!this.wasDecorated_&&this.element_&&PA(this.element_);this.parent_=this.element_=this.childIndex_=this.children_=null;PT.superClass_.disposeInternal.call(this)};g.setModel=function(){};
g.addChild=function(){var a=this.children_?this.children_.length:0;if((void 0).inDocument_&&!this.inDocument_)throw Error("Pe");if(a<0||a>(this.children_?this.children_.length:0))throw Error("Re");this.childIndex_&&this.children_||(this.childIndex_={},this.children_=[]);if((void 0).getParent()==this){var b=this.childIndex_,c=(void 0).getId();b[c]=void 0;Sa(this.children_)}else zea(this.childIndex_,(void 0).getId());(void 0).setParent(this);Hba(this.children_,a,0,void 0);(void 0).inDocument_&&this.inDocument_&&
(void 0).getParent()==this?(b=this.getContentElement(),(b.childNodes[a]||null)!=(void 0).getElement()&&((void 0).getElement().parentElement==b&&b.removeChild((void 0).getElement()),a=b.childNodes[a]||null,b.insertBefore((void 0).getElement(),a))):this.inDocument_&&!(void 0).inDocument_&&(void 0).element_&&(void 0).element_.parentNode&&(void 0).element_.parentNode.nodeType==1&&(void 0).enterDocument()};g.getContentElement=function(){return this.element_};
g.isRightToLeft=function(){this.rightToLeft_==null&&(this.rightToLeft_=Zs(this.inDocument_?this.element_:this.dom_.document_.body));return this.rightToLeft_};g.hasChildren=function(){return!!this.children_&&this.children_.length!=0};var tFc=function(a,b){return a.childIndex_&&b?Aea(a.childIndex_,b)||null:null},uFc=function(a,b){a.children_&&a.children_.forEach(b,void 0)};
PT.prototype.removeChild=function(a,b){if(a){var c=typeof a==="string"?a:a.getId();a=tFc(this,c);c&&a&&(Fc(this.childIndex_,c),Sa(this.children_,a),b&&(a.exitDocument(),a.element_&&PA(a.element_)),a.setParent(null))}if(!a)throw Error("Se");return a};PT.prototype.removeChildren=function(a){for(var b=[];this.hasChildren();){var c=b,d=c.push;var e=this.removeChild(this.children_?this.children_[0]||null:null,a);d.call(c,e)}return b};qv(nXa,mXa);var vFc=function(a){mXa.call(this,"visibility");this.visible=a};qv(vFc,mXa);var wFc=fv(["//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick"]),xFc=fv(["//apis.google.com/js/rpc.js"]),yFc=wi(wFc),zFc=wi(xFc),pXa=null;var AFc=function(a){yp.call(this);this.element_=a;this.listenKeyIn_=zp(this.element_,"focus",this,!0);this.listenKeyOut_=zp(this.element_,"blur",this,!0)};qv(AFc,yp);AFc.prototype.handleEvent=function(a){var b=new cG(a.event_);b.type=a.type=="focusin"||a.type=="focus"?"focusin":"focusout";this.dispatchEvent(b)};AFc.prototype.disposeInternal=function(){AFc.superClass_.disposeInternal.call(this);hG(this.listenKeyIn_);hG(this.listenKeyOut_);delete this.element_};var BFc=new Map;BFc.set("application/vnd.google-apps.document","application/vnd.google-gsuite.document-blob");BFc.set("application/vnd.google-apps.spreadsheet","application/vnd.google-gsuite.spreadsheet-blob");BFc.set("application/vnd.google-apps.presentation","application/vnd.google-gsuite.presentation-blob");var CFc=new Set;CFc.add("application/vnd.google-apps.kix");CFc.add("application/vnd.google-apps.ritz");CFc.add("application/vnd.google-apps.punch");var OFc=function(a,b,c){var d=c&&Gh(c,1);c=DFc(c);switch(a[0].getId().getSourceId()){case 13:return EFc(a,b,d,c);case 3:return FFc(a,b,d,c);case 10:return GFc(a,b,d,c);case 12:return HFc(a,b);case 2:return IFc(a,b,d,c);case 5:return JFc(a,b,d,c);case 9:return KFc(a,b,d,c);case 6:return LFc(a,b,d,c);case 25:return MFc(a,b,d,c);case 1:return Oj(a[0],n5b,26)?NFc(a,b,d,c):GFc(a,b,d,c);default:return{}}},LFc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"youtube",name:e.getName(),
description:e.getDescription(),type:QT(e),lastEditedUtc:W(e,wj,16).toDate().getTime(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:Gh(e,13),thumbnails:RT(tA(e))}});return{action:b,docs:a,viewToken:d,view:c||"youtube",v2Translated:!0}},IFc=function(a,b,c,d){var e=a.map(function(f){var h={id:f.getId().getId(),serviceId:"docs",mimeType:f.getMimeType(),name:f.getName(),type:QT(f),lastEditedUtc:f.getLastModifiedTimestamp().toDate().getTime(),url:f.getUrl(),
sizeBytes:b_b(f),description:f.getDescription(),iconUrl:f.getIconUrl(),thumbnails:RT(tA(f)),isShared:W(f,uA,21).getShared(),downloadUrl:W(f,uA,21).getDownloadUrl(),embedUrl:Gh(f,13),copyable:Fj(W(f,uA,21),9),resourceKey:Gh(W(f,uA,21),11)};Fj(W(f,uA,21),12)&&(h.uploadState="success",h.isNew=!0);if(W(f,uA,21).hasVideoMetadata()){f=W(f,uA,21).getVideoMetadata();if(Oj(f,yj,2)){var l=f.getDuration().getSeconds_asLegacyNumberOrString()+f.getDuration().getNanos()/1E9;h.duration=l}h.aspectRatio=zl(f,1)}return h});
return{action:b,docs:e,viewToken:d,view:c||"all",extraUserInputs:PFc(a),v2Translated:!0}},JFc=function(a,b,c,d){a=a.map(function(e){var f=W(W(e,u5b,15),nA,1);Bv(e,10,nA,f);return{id:e.getId().getId(),serviceId:"web",mimeType:e.getMimeType(),name:e.getName(),type:QT(e),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:RT(tA(e))}});return{action:b,docs:a,viewToken:d,view:c||"image-search",v2Translated:!0}},KFc=function(a,
b,c,d){a=a.map(function(e){return{serviceId:"url",name:tA(e)[0].getUrl().split("/").pop(),type:QT(e),mimeType:e.getMimeType(),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:RT(tA(e))}});return{action:b,docs:a,viewToken:d,view:c||"url",v2Translated:!0}},NFc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"picasa",name:e.getName(),type:QT(e),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",
thumbnails:RT(tA(e))}});return{action:b,docs:a,viewToken:d,view:c||"webcam",v2Translated:!0}},GFc=function(a,b,c,d){return{action:b,docs:a.map(QFc),viewToken:d,view:RFc(c||"upload",a),extraUserInputs:PFc(a),v2Translated:!0}},RFc=function(a,b){return b.some(function(c){var d;return((d=W(c,qA,30))==null?void 0:Kj(d,3,0))===9})?a+"/gmailphotos":a},FFc=function(a,b,c,d){var e=a.map(function(f){var h={id:f.getId().getId(),serviceId:"picasa",mimeType:f.getMimeType(),name:f.getName(),type:QT(f),lastEditedUtc:f.getLastModifiedTimestamp().toDate().getTime(),
url:f.getUrl(),sizeBytes:b_b(f),description:f.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:RT(tA(f)),mediaKey:f.getId().getId(),parentId:Gh(f,4)},l,q=(l=W(f,p5b,18))==null?void 0:W(l,o5b,3);q&&(h.latitude=zl(q,1),h.longitude=zl(q,2));var v;(f=(v=W(f,p5b,18))==null?void 0:Vj(v,6))&&(h.version=f);return h});return{action:b,docs:e,viewToken:d,view:c||"photos",extraUserInputs:PFc(a),v2Translated:!0}},EFc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),
serviceId:"et",name:tA(e)[0].getUrl().split("/").pop(),description:e.getDescription(),type:"et",iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:RT(tA(e),"etjpg")}});return{action:b,docs:a,viewToken:d,view:c||"et",v2Translated:!0}},MFc=function(a,b,c,d){a=a.map(function(e){var f=e.getId().getId(),h=d["2"];return{id:f,serviceId:h.type!=="gmail_themes"&&h.parent==="6226252643674576769"?"picasa":"static_themes",name:e.getName(),mimeType:e.getMimeType(),type:QT(e),
description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:e.getUrl(),thumbnails:RT(tA(e))}});return{action:b,docs:a,viewToken:d,view:c||"photos",v2Translated:!0}},HFc=function(a,b){a=a.map(function(c){var d=W(c,pA,27).getEmailList()[0];return{id:c.getId().getId(),serviceId:"contacts",mimeType:c.getMimeType(),name:c.getName(),description:c.getDescription(),url:"mailto:"+d,thumbnail:[{url:c.getIconUrl()}],email:d}});return{action:b,
docs:a,view:"contacts",v2Translated:!0}},DFc=function(a){if(!a)return{};var b=Gh(a,3);b=b&&JSON.parse(b)||{};return{0:Gh(a,1),1:a.getLabel(),2:b}},RT=function(a,b){b=b===void 0?"":b;if(!a.length)return null;b=="etjpg"&&(a=a.filter(function(c){return c.getUrl().includes("w1200-h300")}));return a.map(function(c){return{url:c.getUrl(),height:c.getHeight(),width:c.getWidth(),type:b}})},PFc=function(a){return{isAttachment:a.some(function(b){return Fj(b,31)})}},QFc=function(a){var b,c={id:(b=a.getId())==
null?void 0:b.getId(),serviceId:SFc(a),mimeType:a.getMimeType(),name:a.getName(),type:QT(a),sizeBytes:b_b(a),description:a.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:RT(tA(a)),isNew:!0};if(b=W(a,qA,30)){c.dataUrl=Gh(b,1)||null;a:{var d=W(a,qA,30);switch(Kj(d,3,0)){case 9:d=Al(d,s5b,2,rA);d={remoteRefs:d&&Gh(d,1)};break a;case 10:case 15:d=Al(d,r5b,4,rA);var e=tA(a);d={photo_id:d&&d.getPhotoId(),media_key:a.getId().getId(),media_type:a.getType()===
1?1:2,image_url:e&&e[0].getUrl(),width:e&&String(e[0].getWidth()),height:e&&String(e[0].getHeight())};break a}d=null}c.uploadMetadata=d;c.uploadId=Gh(b,9)||null;c.uploadState=TFc(b)||null}(d=b&&Al(b,r5b,4,rA))&&(c.id=d.getPhotoId());(d=b&&Al(b,t5b,5,rA))&&(c.contentId=Gh(d,1));(d=b&&Al(b,q5b,6,rA))&&(c.contentId=Gh(d,1));(b==null?void 0:Kj(b,3,0))===1&&(c.mediaKey=a.getId().getId());return c},SFc=function(a){var b;switch(((b=W(a,qA,30))==null?void 0:Kj(b,3,0))||0){case 1:return"picasa";case 2:case 3:case 4:case 8:case 12:return"photo";
case 10:case 15:return"dragonflyphotos";case 11:return"mapspro";case 13:return"books";case 14:return"cultural"}return null},QT=function(a){switch(a.getType()){case 1:case 21:return"photo";case 2:return"video";case 6:return"folder";case 13:return"calendar";case 14:return"album";case 19:return"contact";case 3:case 4:case 5:case 7:case 12:return a.getMimeType().startsWith("application/vnd.google-apps.")?"document":"file";default:return"file"}},TFc=function(a){switch(a==null?void 0:Kj(a,8,0)){case 0:return"default";
case 1:return"canceled";case 2:return"error";case 3:return"running";case 4:return"scheduled";case 5:return"success"}return null};var UFc=function(a){this.obj_=a};g=UFc.prototype;g.value=function(){return this.obj_};g.setWidth=function(a){this.obj_.width=a;return this};g.getWidth=function(){return this.obj_.width};g.setHeight=function(a){this.obj_.height=a;return this};g.getHeight=function(){return this.obj_.height};g.setStyle=function(a){this.obj_.style=a;return this};g.getStyle=function(){return this.obj_.style};var VFc=function(a){this.obj_=a||{}};g=VFc.prototype;g.value=function(){return this.obj_};g.setUrl=function(a){this.obj_.url=a;return this};g.getUrl=function(){return this.obj_.url};g.setStyle=function(a){this.obj_.style=a;return this};g.getStyle=function(){return this.obj_.style};g.setId=function(a){this.obj_.id=a;return this};g.getId=function(){return this.obj_.id};g.getContext=function(){return this.obj_.context};
var WFc=function(a){a.obj_.attributes=a.obj_.attributes||{};return new UFc(a.obj_.attributes)},pmc=function(a){return(a=a.obj_.timeout)?a:null};var XFc=function(){VFc.apply(this,arguments)};Y(XFc,VFc);var YFc=fv(["https://apis.google.com/js/api.js"]),ZFc=wi(YFc),cGc=function(a,b){var c=!1,d=$Fc(a,b).then(function(f){c=!0;return f}),e=Xdc(5E3).then(function(){return c?$Fc(a,b):aGc(b).then(function(f){return bGc(f,a)})});return y6b([d,e])},$Fc=function(a,b){return dGc(b).then(function(c){return bGc(c,a)})},bGc=function(a,b){var c=b.lastIndexOf("gapi.",0)==0?b.slice(5):b;return a[c]?YA(a[c]):new XA(function(d,e){var f=Nq(function(){e(Error("Te"))},3E4);a.load(b,{callback:function(){Oq(f);d(a[c])},
onerror:function(h){Oq(f);e(h)}})})},dGc=function(a){return a.gapi&&a.gapi.load?YA(a.gapi):aGc(a)},aGc=function(a){return BGa(ZFc,{document:a.document}).then(function(){return a.gapi})},eGc=function(){};eGc.prototype.load=function(a,b){b=b===void 0?window:b;var c=Date.now();return cGc(a,b).then(function(d){var e=Date.now();return{library:d,loadStartMs:c,loadEndMs:e}},function(d){throw d instanceof Error?d:Error(String(d));})};var fGc=function(){PF.call(this);this.gapiLoader_=new eGc;this.origin_=null;this.gapiPickerIframeResolver_=A6b();this.gapiIframesResolver_=A6b();this.gapiIframesResolver_.promise.then(null,function(){});this.gapiPickerIframeResolver_.promise.then(null,function(){});this.hostMessageHandlerInternal_={}};Y(fGc,PF);
var gGc=function(a,b){var c=sp("gapi.iframes",b);return c?(a=Date.now(),YA({library:c,loadStartMs:a,loadEndMs:a})):a.gapiLoader_.load("gapi.iframes",b)},hGc=function(a,b,c,d,e,f){var h=!0;h=h===void 0?!1:h;gGc(a,NA(b.ownerDocument)).then(function(l){var q=l.library;a.gapiIframesResolver_.resolve(q);l=a.gapiPickerIframeResolver_;var v=l.resolve,y=h;y=y===void 0?!1:y;var E={};E["host-message-handler"]=c;a.hostMessageHandlerInternal_=E;var H=kI(d);H=kI(H);H=fI(eI(new Dp,H.scheme_),H.getDomain()).setPort(H.getPort()).toString();
a.origin_=H;H=(new XFc).setUrl(d);H.obj_.where=b;H.obj_.allowPost=y;H.obj_.messageHandlers=E;y=sp("makeWhiteListIframesFilter",q)([a.origin_]);H.obj_.messageHandlersFilter=y;e!=null&&H.setId(e);f!=null&&(H.obj_.rpctoken=f);WFc(H).setStyle({display:"block","min-width":"100%",width:"1px"}).setHeight("100%");WFc(H).value().allow="camera 'src' "+a.origin_;q=q.getContext().openChild(H.value());v.call(l,q)},function(l){a.gapiIframesResolver_.reject(l);a.gapiPickerIframeResolver_.reject(l)});return a.gapiPickerIframeResolver_.promise},
iGc=function(a,b){return x6b([a.gapiIframesResolver_.promise,a.gapiPickerIframeResolver_.promise]).then(function(c){var d=k(c);c=d.next().value;return(d=d.next().value)?d.send("picker-message-handler",b,void 0,sp("makeWhiteListIframesFilter",c)([a.origin_])):t6b(Error("Ue"))})};fGc.prototype.disposeInternal=function(){jGc(this);PF.prototype.disposeInternal.call(this)};var jGc=function(a){a.gapiPickerIframeResolver_.promise.then(function(b){b&&(b.unregister("host-message-handler"),delete a.hostMessageHandlerInternal_["host-message-handler"])})};var kGc=function(){this.nextId=0};kGc.prototype.getUniqueId=function(){return":"+(this.nextId++).toString(36)};var mGc=function(a,b){switch(a.action){case "select-contacts":a=lGc(a.contacts);break;case "visibility":a=a.visible;a=(new w5b).setCommand(7).setVisible(a);var c={};c["iframe-command"]=a.serialize();a=c;break;default:a=null}return a?iGc(b,a):YA()},lGc=function(a){if(!a||a.length==0)return null;var b=new w5b;b.setCommand(11);var c=new kGc;a.forEach(function(d){if(d.email){var e=(new sA).setName(d.name?d.name:d.email);d=(new pA).addEmail(d.email);e=X(e,pA,27,d).setId((new mA).setId(c.getUniqueId()).setSourceId(12))}else e=
null;e&&b.addItem(e)});a={};a["iframe-command"]=b.serialize();return a};var ST=function(a,b,c){yp.call(this);this.target=a;this.handle=b||a;this.limits=c||new MJ(NaN,NaN,NaN,NaN);this.document_=GA(a);this.eventHandler_=new Lr(this);hr(this,this.eventHandler_);this.deltaY=this.deltaX=this.startY=this.startX=this.screenY=this.screenX=this.clientY=this.clientX=0;this.dragging_=!1;zp(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.useSetCapture_=nGc};qv(ST,yp);
var nGc=ya.document&&ya.document.documentElement&&!!ya.document.documentElement.setCapture&&!!ya.document.releaseCapture;g=ST.prototype;g.getHandler=function(){return this.eventHandler_};g.disposeInternal=function(){ST.superClass_.disposeInternal.call(this);gG(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.handle=this.target=null};
g.startDrag=function(a){var b=a.type=="mousedown";if(this.dragging_||b&&(a.event_.button!=0||as&&a.ctrlKey))this.dispatchEvent("earlycancel");else if(this.dispatchEvent(new TT("start",this,a.clientX,a.clientY,a))){this.dragging_=!0;b&&a.preventDefault();b=this.document_;var c=b.documentElement,d=!this.useSetCapture_;this.eventHandler_.listen(b,["touchmove","mousemove"],this.handleMove_,{capture:d,passive:!1});this.eventHandler_.listen(b,["touchend","mouseup"],this.endDrag,d);this.useSetCapture_?(c.setCapture(!1),
this.eventHandler_.listen(c,"losecapture",this.endDrag)):this.eventHandler_.listen(NA(b),"blur",this.endDrag);this.scrollTarget_&&this.eventHandler_.listen(this.scrollTarget_,"scroll",this.onScroll_,d);this.clientX=this.startX=a.clientX;this.clientY=this.startY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.deltaX=this.target.offsetLeft;this.deltaY=this.target.offsetTop;this.pageScroll=MA(Bp(this.document_).document_)}};
g.endDrag=function(a,b){this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.dragging_?(this.dragging_=!1,this.dispatchEvent(new TT("end",this,a.clientX,a.clientY,a,oGc(this,this.deltaX),pGc(this,this.deltaY),b||a.type=="touchcancel"))):this.dispatchEvent("earlycancel")};
g.handleMove_=function(a){var b=a.clientX-this.clientX,c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.dragging_){var d=this.startX-this.clientX,e=this.startY-this.clientY;if(d*d+e*e>0)if(this.dispatchEvent(new TT("start",this,a.clientX,a.clientY,a)))this.dragging_=!0;else{this.isDisposed()||this.endDrag(a);return}}c=qGc(this,b,c);b=c.x;c=c.y;this.dragging_&&this.dispatchEvent(new TT("beforedrag",this,a.clientX,a.clientY,
a,b,c))&&(rGc(this,a,b,c),a.preventDefault())};var qGc=function(a,b,c){var d=MA(Bp(a.document_).document_);b+=d.x-a.pageScroll.x;c+=d.y-a.pageScroll.y;a.pageScroll=d;a.deltaX+=b;a.deltaY+=c;return new Qr(oGc(a,a.deltaX),pGc(a,a.deltaY))};ST.prototype.onScroll_=function(a){var b=qGc(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;rGc(this,a,b.x,b.y)};
var rGc=function(a,b,c,d){a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new TT("drag",a,b.clientX,b.clientY,b,c,d))},oGc=function(a,b){var c=a.limits;a=isNaN(c.left)?null:c.left;c=isNaN(c.width)?0:c.width;return Math.min(a!=null?a+c:Infinity,Math.max(a!=null?a:-Infinity,b))},pGc=function(a,b){var c=a.limits;a=isNaN(c.top)?null:c.top;c=isNaN(c.height)?0:c.height;return Math.min(a!=null?a+c:Infinity,Math.max(a!=null?a:-Infinity,b))};ST.prototype.isDragging=function(){return this.dragging_};
var TT=function(a,b,c,d,e,f,h){bG.call(this,a);this.clientX=c;this.clientY=d;this.left=f!==void 0?f:b.deltaX;this.top=h!==void 0?h:b.deltaY};qv(TT,bG);var UT=function(a){this.map_=new Map;var b=arguments.length;if(b>1){if(b%2)throw Error("pa");for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.addAll(a)};g=UT.prototype;g.getCount=function(){return this.map_.size};g.getValues=function(){return Array.from(this.map_.values())};g.getKeys=function(){return Array.from(this.map_.keys())};g.containsKey=function(a){return this.map_.has(a)};g.containsValue=function(a){return this.getValues().some(function(b){return b==a})};
g.equals=function(a){var b=this;var c=c===void 0?function(d,e){return d===e}:c;return this===a?!0:this.map_.size!=a.getCount()?!1:this.getKeys().every(function(d){return c(b.map_.get(d),a.get(d))})};g.isEmpty=function(){return this.map_.size==0};g.clear=function(){this.map_.clear()};g.remove=function(a){return this.map_.delete(a)};g.get=function(a,b){return this.map_.has(a)?this.map_.get(a):b};g.set=function(a,b){this.map_.set(a,b);return this};
g.addAll=function(a){if(a instanceof UT){a=k(a.map_);for(var b=a.next();!b.done;b=a.next()){var c=k(b.value);b=c.next().value;c=c.next().value;this.map_.set(b,c)}}else if(a)for(a=k(Object.entries(a)),b=a.next();!b.done;b=a.next())c=k(b.value),b=c.next().value,c=c.next().value,this.map_.set(b,c)};g.forEach=function(a,b){var c=this;b=b===void 0?this:b;this.map_.forEach(function(d,e){return a.call(b,d,e,c)})};g.clone=function(){return new UT(this)};(function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!ya.requestAnimationFrame;++c)ya.requestAnimationFrame=ya[b+"RequestAnimationFrame"],ya.cancelAnimationFrame=ya[b+"CancelAnimationFrame"]||ya[b+"CancelRequestAnimationFrame"];if(!ya.requestAnimationFrame){var d=0;ya.requestAnimationFrame=function(e){var f=(new Date).getTime(),h=Math.max(0,16-(f-d));d=f+h;return ya.setTimeout(function(){e(f+h)},h)};ya.cancelAnimationFrame||(ya.cancelAnimationFrame=function(e){clearTimeout(e)})}})();
var sGc=[[],[]],tGc=0,uGc=!1,vGc=0,xGc=function(a,b){var c=vGc++,d={measureTask:{id:c,fn:a.measure,context:b},mutateTask:{id:c,fn:a.mutate,context:b},state:{},args:void 0,isScheduled:!1};return function(){arguments.length>0?(d.args||(d.args=[]),d.args.length=0,d.args.push.apply(d.args,arguments),d.args.push(d.state)):d.args&&d.args.length!=0?(d.args[0]=d.state,d.args.length=1):d.args=[d.state];d.isScheduled||(d.isScheduled=!0,sGc[tGc].push(d));uGc||(uGc=!0,window.requestAnimationFrame(wGc))}},wGc=
function(){uGc=!1;var a=sGc[tGc],b=a.length;tGc=(tGc+1)%2;for(var c,d=0;d<b;++d){c=a[d];var e=c.measureTask;c.isScheduled=!1;e.fn&&e.fn.apply(e.context,c.args)}for(d=0;d<b;++d)c=a[d],e=c.mutateTask,c.isScheduled=!1,e.fn&&e.fn.apply(e.context,c.args),c.state={};a.length=0};var yGc=fv(["about:blank"]),zGc=fv(["javascript:undefined"]),AGc=wi(yGc);Jc(AGc);var BGc=wi(zGc);Jc(BGc);var CGc=function(a,b){this.element_=a;this.dom_=b};var VT=function(a,b){PT.call(this,b);this.useIframeMask_=!!a;this.lastFocus_=null;this.resizeBackgroundTask_=xGc({mutate:this.resizeBackground_},this);xGc({mutate:this.updateModalAndBackground_},this)};qv(VT,PT);g=VT.prototype;g.focusHandler_=null;g.visible_=!1;g.bgEl_=null;g.bgIframeEl_=null;g.tabCatcherElement_=null;g.backwardTabWrapInProgress_=!1;g.getCssClass=function(){return"goog-modalpopup"};g.getBackgroundElement=function(){return this.bgEl_};
g.createDom=function(){VT.superClass_.createDom.call(this);var a=this.getElement();KJ(a,Ii(this.getCssClass()).split(" "));a.tabIndex=0;QJ(a,!1);DGc(this);EGc(this)};
var DGc=function(a){if(a.useIframeMask_&&!a.bgIframeEl_){var b=a.getDomHelper().createDom("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"});Oea(b,AGc);a.bgIframeEl_=b;a.bgIframeEl_.className=a.getCssClass()+"-bg";QJ(a.bgIframeEl_,!1);Bnc(a.bgIframeEl_,0)}a.bgEl_||(a.bgEl_=a.getDomHelper().createDom("DIV",a.getCssClass()+"-bg"),QJ(a.bgEl_,!1))},EGc=function(a){a.tabCatcherElement_||(a.tabCatcherElement_=a.getDomHelper().createElement("SPAN"),QJ(a.tabCatcherElement_,!1),a.tabCatcherElement_.tabIndex=
0,a.tabCatcherElement_.style.position="absolute")};g=VT.prototype;g.resetBackwardTabWrap_=function(){this.backwardTabWrapInProgress_=!1};g.canDecorate=function(a){return!!a&&a.tagName=="DIV"};g.decorateInternal=function(a){VT.superClass_.decorateInternal.call(this,a);a=Ii(this.getCssClass()).split(" ");KJ(this.getElement(),a);DGc(this);EGc(this);this.getElement().tabIndex=0;QJ(this.getElement(),!1)};
g.enterDocument=function(){if(this.bgIframeEl_){var a=this.bgIframeEl_,b=this.getElement();b.parentNode&&b.parentNode.insertBefore(a,b)}a=this.bgEl_;b=this.getElement();b.parentNode&&b.parentNode.insertBefore(a,b);VT.superClass_.enterDocument.call(this);a=this.tabCatcherElement_;b=this.getElement();b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling);this.focusHandler_=new AFc(this.getDomHelper().document_);this.getHandler().listen(this.focusHandler_,"focusin",this.onFocus);FGc(this,!1)};
g.exitDocument=function(){this.isVisible()&&this.setVisible(!1);zo(this.focusHandler_);VT.superClass_.exitDocument.call(this);PA(this.bgIframeEl_);PA(this.bgEl_);PA(this.tabCatcherElement_)};
g.setVisible=function(a){if(a!=this.visible_)if(this.popupShowTransition_&&this.popupShowTransition_.stop(),this.bgShowTransition_&&this.bgShowTransition_.stop(),this.popupHideTransition_&&this.popupHideTransition_.stop(),this.bgHideTransition_&&this.bgHideTransition_.stop(),this.inDocument_&&FGc(this,a),a){if(this.dispatchEvent("beforeshow")){try{this.lastFocus_=this.getDomHelper().document_.activeElement}catch(e){}this.updateModalAndBackground_();this.getHandler().listen(this.getDomHelper().getWindow(),
"resize",this.resizeBackground_).listen(this.getDomHelper().getWindow(),"orientationchange",this.resizeBackgroundTask_);GGc(this,!0);this.focus();this.visible_=!0;if(this.popupShowTransition_&&this.bgShowTransition_)fG(this.popupShowTransition_,"end",this.onShow,!1,this),this.bgShowTransition_.play(),this.popupShowTransition_.play();else this.onShow()}}else if(this.dispatchEvent("beforehide")){this.getHandler().unlisten(this.getDomHelper().getWindow(),"resize",this.resizeBackground_).unlisten(this.getDomHelper().getWindow(),
"orientationchange",this.resizeBackgroundTask_);this.visible_=!1;if(this.popupHideTransition_&&this.bgHideTransition_)fG(this.popupHideTransition_,"end",this.onHide,!1,this),this.bgHideTransition_.play(),this.popupHideTransition_.play();else this.onHide();a:{try{var b=this.getDomHelper(),c=b.document_.body,d=b.document_.activeElement||c;if(!this.lastFocus_||this.lastFocus_==c){this.lastFocus_=null;break a}(d==c||b.contains(this.getElement(),d))&&this.lastFocus_.focus()}catch(e){}this.lastFocus_=null}}};
var FGc=function(a,b){a.modalAriaVisibilityHelper_||(a.modalAriaVisibilityHelper_=new CGc(a.element_,a.dom_));a=a.modalAriaVisibilityHelper_;if(b){a.hiddenElements_||(a.hiddenElements_=[]);b=a.dom_.getChildren(a.dom_.document_.body);for(var c=0;c<b.length;c++){var d=b[c];d==a.element_||Igc(d,"hidden")||(WH(d,"hidden",!0),a.hiddenElements_.push(d))}}else if(a.hiddenElements_){for(c=0;c<a.hiddenElements_.length;c++)a.hiddenElements_[c].removeAttribute("aria-hidden");a.hiddenElements_=null}};
VT.prototype.updateModalAndBackground_=function(){this.resizeBackground_();this.reposition()};var GGc=function(a,b){a.bgIframeEl_&&QJ(a.bgIframeEl_,b);a.bgEl_&&QJ(a.bgEl_,b);QJ(a.getElement(),b);QJ(a.tabCatcherElement_,b)};g=VT.prototype;g.onShow=function(){this.dispatchEvent("show")};g.onHide=function(){GGc(this,!1);this.dispatchEvent("hide")};g.isVisible=function(){return this.visible_};g.focus=function(){this.focusElement_()};
g.resizeBackground_=function(){this.bgIframeEl_&&QJ(this.bgIframeEl_,!1);this.bgEl_&&QJ(this.bgEl_,!1);var a=this.getDomHelper().document_;var b=HGc(this);var c=Math.max(b.width,Math.max(a.body.scrollWidth,a.documentElement.scrollWidth));a=Math.max(b.height,Math.max(a.body.scrollHeight,a.documentElement.scrollHeight));this.bgIframeEl_&&(QJ(this.bgIframeEl_,!0),Anc(this.bgIframeEl_,c,a));this.bgEl_&&(QJ(this.bgEl_,!0),Anc(this.bgEl_,c,a))};
g.reposition=function(){if(ir(this.getElement(),"position")=="fixed")var a=0,b=0;else b=MA(this.getDomHelper().document_),a=b.x,b=b.y;var c=Rr(this.getElement());var d=HGc(this);a=Math.max(a+d.width/2-c.width/2,0);b=Math.max(b+d.height/2-c.height/2,0);Sr(this.getElement(),a,b);Sr(this.tabCatcherElement_,a,b)};g.onFocus=function(a){this.backwardTabWrapInProgress_?this.resetBackwardTabWrap_():a.target==this.tabCatcherElement_&&Nq(this.focusElement_,0,this)};g.focusElement_=function(){try{this.getElement().focus()}catch(a){}};
var HGc=function(a){a=a.getDomHelper().document_;return KA(NA(a)||window)};VT.prototype.disposeInternal=function(){zo(this.popupShowTransition_);this.popupShowTransition_=null;zo(this.popupHideTransition_);this.popupHideTransition_=null;zo(this.bgShowTransition_);this.bgShowTransition_=null;zo(this.bgHideTransition_);this.bgHideTransition_=null;VT.superClass_.disposeInternal.call(this)};var YT=function(a,b,c){VT.call(this,b,c);this.class_=a||"modal-dialog";this.buttons_=WT(WT(new XT,IGc,!0),JGc,!1,!0)};qv(YT,VT);g=YT.prototype;g.escapeToCancel_=!0;g.hasTitleCloseButton_=!0;g.modal_=!0;g.backgroundElementOpacity_=.5;g.title_="";g.dragger_=null;g.disposeOnHide_=!1;g.titleEl_=null;g.titleTextEl_=null;g.titleTextId_=null;g.titleCloseEl_=null;g.contentEl_=null;g.buttonEl_=null;g.getCssClass=function(){return this.class_};
g.setTitle=function(a){this.title_=a;this.titleTextEl_&&RA(this.titleTextEl_,a)};g.getTitle=function(){return this.title_};g.getContent=function(){return""};g.getContentElement=function(){this.getElement()||this.render();return this.contentEl_};var KGc=function(a){a.getElement()||a.render();return a.getElement()};YT.prototype.getBackgroundElement=function(){this.getElement()||this.render();return YT.superClass_.getBackgroundElement.call(this)};
var LGc=function(a,b){a.backgroundElementOpacity_=b;a.getElement()&&(b=a.getBackgroundElement())&&Bnc(b,a.backgroundElementOpacity_)};YT.prototype.handleDrag=function(){};
var MGc=function(a,b){var c=Ii(a.class_+"-title-draggable").split(" ");a.getElement()&&(b?KJ(a.titleEl_,c):vnc(a.titleEl_,c));b&&!a.dragger_?(b=new ST(a.getElement(),a.titleEl_),a.dragger_=b,KJ(a.titleEl_,c),zp(a.dragger_,"start",a.setDraggerLimits_,!1,a),zp(a.dragger_,"drag",a.handleDrag,!1,a)):!b&&a.dragger_&&(a.dragger_.dispose(),a.dragger_=null)};g=YT.prototype;
g.createDom=function(){YT.superClass_.createDom.call(this);var a=this.getElement(),b=this.getDomHelper();this.titleTextId_=this.getId();var c=this.getId()+".contentEl";this.titleEl_=b.createDom("DIV",this.class_+"-title",this.titleTextEl_=b.createDom("SPAN",{className:this.class_+"-title-text",id:this.titleTextId_},this.title_),this.titleCloseEl_=b.createDom("SPAN",this.class_+"-title-close"));W5b(a,this.titleEl_,this.contentEl_=b.createDom("DIV",{className:this.class_+"-content",id:c}),this.buttonEl_=
b.createDom("DIV",this.class_+"-buttons"));VH(this.titleTextEl_,"heading");VH(this.titleCloseEl_,"button");this.titleCloseEl_.tabIndex=0;Jgc(this.titleCloseEl_,"Close");VH(a,"dialog");WH(a,"labelledby",this.titleTextId_||"");QJ(this.titleCloseEl_,this.hasTitleCloseButton_);this.buttons_&&(a=this.buttons_,a.element_=this.buttonEl_,a.render());QJ(this.buttonEl_,!!this.buttons_);LGc(this,this.backgroundElementOpacity_)};
g.decorateInternal=function(a){YT.superClass_.decorateInternal.call(this,a);a=this.getElement();var b=this.class_+"-content";this.contentEl_=JA(document,null,b,a)[0];this.contentEl_||(this.contentEl_=this.getDomHelper().createDom("DIV",b),a.appendChild(this.contentEl_));b=this.class_+"-title";var c=this.class_+"-title-text",d=this.class_+"-title-close";(this.titleEl_=JA(document,null,b,a)[0])?(this.titleTextEl_=JA(document,null,c,this.titleEl_)[0],this.titleCloseEl_=JA(document,null,d,this.titleEl_)[0]):
(this.titleEl_=this.getDomHelper().createDom("DIV",b),a.insertBefore(this.titleEl_,this.contentEl_));this.titleTextEl_?(this.title_=b6b(this.titleTextEl_),this.titleTextEl_.id||(this.titleTextEl_.id=this.getId())):(this.titleTextEl_=U5b("SPAN",{className:c,id:this.getId()}),this.titleEl_.appendChild(this.titleTextEl_));this.titleTextId_=this.titleTextEl_.id;WH(a,"labelledby",this.titleTextId_||"");this.titleCloseEl_||(this.titleCloseEl_=this.getDomHelper().createDom("SPAN",d),this.titleEl_.appendChild(this.titleCloseEl_));
QJ(this.titleCloseEl_,this.hasTitleCloseButton_);b=this.class_+"-buttons";(this.buttonEl_=JA(document,null,b,a)[0])?(this.buttons_=new XT(this.getDomHelper()),this.buttons_.decorate(this.buttonEl_)):(this.buttonEl_=this.getDomHelper().createDom("DIV",b),a.appendChild(this.buttonEl_),this.buttons_&&(a=this.buttons_,a.element_=this.buttonEl_,a.render()),QJ(this.buttonEl_,!!this.buttons_));LGc(this,this.backgroundElementOpacity_)};
g.enterDocument=function(){YT.superClass_.enterDocument.call(this);this.getHandler().listen(this.getElement(),"keydown",this.onKey_).listen(this.getElement(),"keypress",this.onKey_);this.getHandler().listen(this.buttonEl_,"click",this.onButtonClick_);MGc(this,!0);this.getHandler().listen(this.titleCloseEl_,"click",this.onTitleCloseClick_);var a=this.getElement();VH(a,"dialog");this.titleTextEl_.id!==""&&WH(a,"labelledby",this.titleTextEl_.id);if(!this.modal_){this.modal_=!1;if(this.inDocument_){a=
this.getDomHelper();var b=this.getBackgroundElement();a.removeNode(this.bgIframeEl_);a.removeNode(b)}this.isVisible()&&FGc(this,!1)}};g.exitDocument=function(){this.isVisible()&&this.setVisible(!1);MGc(this,!1);YT.superClass_.exitDocument.call(this)};g.setVisible=function(a){a!=this.isVisible()&&(this.inDocument_||this.render(),YT.superClass_.setVisible.call(this,a))};g.onShow=function(){YT.superClass_.onShow.call(this);this.dispatchEvent("aftershow")};
g.onHide=function(){YT.superClass_.onHide.call(this);this.dispatchEvent("afterhide");this.disposeOnHide_&&this.dispose()};g.setDraggerLimits_=function(){var a=this.getDomHelper().document_,b=KA(NA(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var d=Rr(this.getElement());ir(this.getElement(),"position")=="fixed"?this.dragger_.limits=new MJ(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height)):this.dragger_.limits=new MJ(0,0,c-d.width,a-d.height)};
g.onTitleCloseClick_=function(){NGc(this)};var NGc=function(a){if(a.hasTitleCloseButton_){var b=a.buttons_,c=b&&b.cancelButton_;c?(b=b.get(c),a.dispatchEvent(new OGc(c,b))&&a.setVisible(!1)):a.setVisible(!1)}},PGc=function(a){a.hasTitleCloseButton_=!1;a.titleCloseEl_&&QJ(a.titleCloseEl_,a.hasTitleCloseButton_)};YT.prototype.setDisposeOnHide=function(a){this.disposeOnHide_=a};YT.prototype.disposeInternal=function(){this.buttonEl_=this.titleCloseEl_=null;YT.superClass_.disposeInternal.call(this)};
YT.prototype.onButtonClick_=function(a){a:{for(a=a.target;a!=null&&a!=this.buttonEl_;){if(a.tagName=="BUTTON")break a;a=a.parentNode}a=null}if(a&&!a.disabled){a=a.name;var b=this.buttons_.get(a);this.dispatchEvent(new OGc(a,b))&&this.setVisible(!1)}};
YT.prototype.onKey_=function(a){var b=!1,c=!1,d=this.buttons_,e=a.target;if(a.type=="keydown")if(this.escapeToCancel_&&a.keyCode==27){var f=d&&d.cancelButton_;e=e.tagName=="SELECT"&&!e.disabled;f&&!e?(c=!0,b=d.get(f),b=this.dispatchEvent(new OGc(f,b))):e||(b=!0)}else{if(a.keyCode==9&&a.shiftKey&&e==this.getElement()){this.backwardTabWrapInProgress_=!0;try{this.tabCatcherElement_.focus()}catch(y){}Nq(this.resetBackwardTabWrap_,0,this)}}else if(a.keyCode==13){if(e.tagName=="BUTTON"&&!e.disabled)f=e.name;
else if(e==this.titleCloseEl_)NGc(this);else if(d){var h=d.defaultButton_,l;if(l=h)a:{l=IA("BUTTON",d.element_);for(var q=0,v;v=l[q];q++)if(v.name==h||v.id==h){l=v;break a}l=null}e=(e.tagName=="TEXTAREA"||e.tagName=="SELECT"||e.tagName=="A")&&!e.disabled;!l||l.disabled||e||(f=h)}f&&d&&(c=!0,b=this.dispatchEvent(new OGc(f,String(d.get(f)))))}else e!=this.titleCloseEl_||a.keyCode!=32&&a.key!=" "||NGc(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.setVisible(!1)};
var OGc=function(a,b){this.type="dialogselect";this.key=a;this.caption=b};qv(OGc,bG);var XT=function(a){UT.call(this);this.dom_=a||Bp();this.class_="goog-buttonset";this.cancelButton_=this.element_=this.defaultButton_=null};qv(XT,UT);XT.prototype.clear=function(){UT.prototype.clear.call(this);this.defaultButton_=this.cancelButton_=null};XT.prototype.set=function(a,b,c,d){UT.prototype.set.call(this,a,b);c&&(this.defaultButton_=a);d&&(this.cancelButton_=a);return this};
var WT=function(a,b,c,d){return a.set(b.key,b.caption,c,d)};XT.prototype.render=function(){if(this.element_){Uc(this.element_,Wu);var a=Bp(this.element_);this.forEach(function(b,c){b=a.createDom("BUTTON",{name:c},b);c==this.defaultButton_&&(b.className=this.class_+"-default");this.element_.appendChild(b)},this)}};
XT.prototype.decorate=function(a){if(a&&a.nodeType==1){this.element_=a;a=IA("BUTTON",this.element_);for(var b=0,c,d,e;c=a[b];b++)if(d=c.name||c.id,e=b6b(c)||c.value,d){var f=b==0;this.set(d,e,f,c.name=="cancel");f&&tnc(c,this.class_+"-default")}}};XT.prototype.getElement=function(){return this.element_};XT.prototype.getDomHelper=function(){return this.dom_};
var IGc={key:"ok",caption:"OK"},JGc={key:"cancel",caption:"Cancel"},QGc={key:"yes",caption:"Yes"},RGc={key:"no",caption:"No"},SGc={key:"save",caption:"Save"},TGc={key:"continue",caption:"Continue"};typeof document!="undefined"&&(WT(new XT,IGc,!0,!0),WT(WT(new XT,IGc,!0),JGc,!1,!0),WT(WT(new XT,QGc,!0),RGc,!1,!0),WT(WT(WT(new XT,QGc),RGc,!0),JGc,!1,!0),WT(WT(WT(new XT,TGc),SGc),JGc,!0,!0));var UGc=function(a,b,c){YT.call(this,a,b,c)};qv(UGc,YT);var gr=function(a,b){yp.call(this);this.element_=a;a=QA(this.element_)?this.element_:this.element_?this.element_.body:null;this.isRtl_=!!a&&Zs(a);this.listenKey_=zp(this.element_,sv?"DOMMouseScroll":"mousewheel",this,b)};qv(gr,yp);
gr.prototype.handleEvent=function(a){var b=0,c=0,d=a.event_;d.type=="mousewheel"?(a=VGc(-d.wheelDelta),d.wheelDeltaX!==void 0?(b=VGc(-d.wheelDeltaX),c=VGc(-d.wheelDeltaY)):c=a):(a=d.detail,a>100?a=3:a<-100&&(a=-3),d.axis!==void 0&&d.axis===d.HORIZONTAL_AXIS?b=a:c=a);typeof this.maxDeltaX_==="number"&&(b=Math.min(Math.max(b,-this.maxDeltaX_),this.maxDeltaX_));typeof this.maxDeltaY_==="number"&&(c=Math.min(Math.max(c,-this.maxDeltaY_),this.maxDeltaY_));this.isRtl_&&(b=-b);b=new WGc(a,d,b,c);this.dispatchEvent(b)};
var VGc=function(a){return tv&&(as||jZb)&&a%40!=0?a:a/40};gr.prototype.disposeInternal=function(){gr.superClass_.disposeInternal.call(this);hG(this.listenKey_);this.listenKey_=null};var WGc=function(a,b,c,d){cG.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d};qv(WGc,cG);var XGc;var YGc=fv(["https://about:blank"]),ZGc=fv(['javascript:""']),$Gc=fv(["about:blank"]),ZT=function(a,b,c,d,e,f,h,l,q){l=l===void 0?!1:l;q=q===void 0?!1:q;YT.call(this,f?f+" picker modal-dialog":"picker modal-dialog",!0,c);ehc(a,"protocol");this.iframeManager_=new fGc;this.targetId_=Qv();this.rpcToken_=Qv();a=kI(a);jI(a,"hostId");this.useGapi_=!q;l&&iI(a,"fv2","true");this.setUrl(a.toString());this.preferredDialogWidth_=d;this.preferredDialogHeight_=e;d!==void 0||e!==void 0?d=!0:(d=jI(kI(a.toString()),
"hostId"),XGc||(XGc=new Set("DocVerse fusiontables geo geowiki gm gmail-gadget gws hotpot jointly presentations pwa sites templates trix trix-copy-sheet webstore".split(" "))),d=!XGc.has(d));this.autoSizeDialog_=d;this.gadgetsDomHelper_=h||this.getDomHelper();b&&(h=this.gadgetsDomHelper_,b=jI(kI(this.url_),"grugl")=="true"?zFc:yFc,oXa(h)||(h=h||Bp(document),d=h.createElement("SCRIPT"),Wc(d,b),d.type="text/javascript",h.document_.body.appendChild(d)));a=a.toString();b=null;h=a.indexOf("/picker?");
h>-1?b=a.substring(0,h+8-1):rv(a,"/picker")&&(b=a);b&&this.setRelayUrl(b+"/resources/rpc_relay.html");this.escapeToCancel_=!1;this.buttons_=null;this.buttonEl_&&(this.buttons_?(a=this.buttons_,a.element_=this.buttonEl_,a.render()):Uc(this.buttonEl_,Wu),QJ(this.buttonEl_,!!this.buttons_))};qv(ZT,UGc);g=ZT.prototype;g.url_="";g.iframe_=null;g.iframeLoaded_=!1;g.loadedFired_=!1;g.callback_=function(){};
g.enterDocument=function(){ZT.superClass_.enterDocument.call(this);sXa(this.getBackgroundElement(),this.getHandler())};g.render=function(a){var b=this;ZT.superClass_.render.call(this,a);this.useGapi_?gGc(this.iframeManager_,window).then(function(){return aHc(b)}).then(null,function(c){return void b.handleError_(c)}):bHc(this)};
var aHc=function(a){var b=a.getDomHelper().createDom("div",["picker-dialog-content","picker-frame"]);QJ(b,!1);a.getContentElement().appendChild(b);return hGc(a.iframeManager_,b,function(c){var d=y5b(c["iframe-command"]);switch(d.getCommand()){case 1:c=a.callback_;d=W(d,v5b,2);var e="";switch(d.getStatus()){case 2:e="cancel";break;case 1:e="picked";break;case 3:e="error"}var f=d.getItemList(Xi);d=f.length===0?{action:e}:OFc(f,e,d.getInternalOnlyV1ViewInfo());c.call(a,d);a.setVisible(!1);break;case 4:PGc(a);
a.callback_({action:"loaded"});break;case 7:case 8:c=a.callback_;a:{e=d.getCommand();f=W(d,v5b,2);switch(e){case 7:e="uploadScheduled";break;case 8:e="uploadStateChange";break;default:d={};break a}d=f.getItemList(Xi);if(d.length===0)d={action:e};else{var h=f.getInternalOnlyV1ViewInfo();f=h&&Gh(h,1);h=DFc(h);d=GFc(d,e,f,h)}}c.call(a,d)}},a.url_,a.targetId_,a.rpcToken_).then(function(c){a.iframe_=c.getIframeEl();cHc(a);QJ(a.iframe_.parentElement,!0);tnc(a.getElement(),"picker-dialog");dHc(a);return c})},
bHc=function(a){a.iframe_=a.dom_.createDom("IFRAME",{id:a.targetId_,name:a.targetId_,"class":"picker-frame",frameBorder:"0",allow:"camera"});Oea(a.iframe_,eHc(a));tnc(a.getElement(),"picker-dialog");a.getContentElement().appendChild(a.iframe_);a.getHandler().listen(a.iframe_,"load",function(){return void cHc(a)});a.iframe_.src=a.url_;dHc(a)},gHc=function(a){fHc(a,ov(function(b){b.setAuthToken(this.targetId_,this.rpcToken_)},a))},dHc=function(a){var b=jI(kI(a.url_),"title");b&&a.setTitle(b)},eHc=function(a){return xba()>=
7&&a.url_.lastIndexOf("https",0)==0?wi(YGc):ns?wi(ZGc):wi($Gc)},cHc=function(a){gHc(a);a.iframeLoaded_=!0;a.iframe_.tabIndex=0;a.isVisible()&&a.focus()};ZT.prototype.handleKeydown_=function(a){a.keyCode==27&&(this.setVisible(!1),this.callback_({action:"cancel"}),a.stopPropagation(),a.preventDefault())};var fHc=function(a,b){var c=a.gadgetsDomHelper_;qXa(function(){b(c.getWindow().gadgets.rpc)},c)};
ZT.prototype.setUrl=function(a){a=iI(new Dp(a),"rpcService",this.targetId_);iI(a,"rpctoken",this.rpcToken_);ghc(a,"rpctoken="+this.rpcToken_);eI(a,"https");this.url_=a.toString();this.iframe_&&(this.iframe_.src=this.url_)};ZT.prototype.setAppId=function(a){this.appId_=a;this.loadedFired_&&hHc(this)};ZT.prototype.setCallback=function(a){this.callback_=a;fHc(this,ov(function(b){b.register(this.targetId_,ov(this.handlePickerAction_,this))},this))};
ZT.prototype.handlePickerAction_=function(a){var b=a.action;b=="loaded"&&(this.loadedFired_=!0,this.sendCommand(new vFc(this.isVisible())),hHc(this),PGc(this),this.getHandler().unlisten(this.getDomHelper().getWindow(),"keydown",this.handleKeydown_),this.iframe_.tabIndex=0);b!="picked"&&b!="cancel"||this.setVisible(!1);this.callback_(a)};var hHc=function(a){a.appId_&&a.sendCommand(new nXa(a.appId_,window.location.protocol+"//"+window.location.host))};g=ZT.prototype;
g.setRelayUrl=function(a){fHc(this,ov(function(b){b.setRelayUrl(this.targetId_,a)},this))};g.sendCommand=function(a){var b=this;this.useGapi_&&mGc(a,this.iframeManager_).then(null,function(c){return void b.handleError_(c)});fHc(this,ov(function(c){c.call(this.targetId_,"picker",null,a)},this))};
g.resizePicker_=function(){var a=this.getDomHelper().document_;a=NA(a)||window;if(jI(kI(this.url_),"ignoreLimits")=="true")a=new EA(this.preferredDialogWidth_,this.preferredDialogHeight_);else if(jI(kI(this.url_),"shadeDialog")=="true"){var b=Enc(KGc(this)),c=KA(a);a=c.width-80;c=c.height-40;b&&(a-=b.left?b.left:0,a-=b.right?b.right:0,c-=b.top?b.top:0,c-=b.bottom?b.bottom:0);a=new EA(a>0?a:0,c>0?c:0)}else{b=this.preferredDialogWidth_;if(b){b=Math.max(320,Math.min(1051,b));c=this.preferredDialogHeight_;
c||(c=KA(a),c=c.height*.85);var d=Math.max(480,Math.min(650,c))}else c=KA(a),b=c.width*.618,d=b<c.height?Math.round(Math.max(480,Math.min(650,b*.85))):Math.round(Math.max(480,Math.min(650,c.height*.85))),b=Math.round(d/.618);c=KA(a);b=Math.min(b,Math.max(c.width,320));d=Math.min(d,Math.max(c.height,480));a=new EA(b,d)}Anc(this.getContentElement(),a);this.reposition()};
g.reposition=function(){if(jI(kI(this.url_),"shadeDialog")=="true"){var a=Rr(this.getElement()),b=KA(this.getDomHelper().getWindow());a=Math.floor(b.width/2-a.width/2);if(b=Enc(KGc(this))){var c=b.left?b.left:0;c+=b.right?b.right:0;a=Math.floor(a-c/2)}a=a>0?a:0;b=MA(this.getDomHelper().document_).y;Sr(this.getElement(),a,b)}else ZT.superClass_.reposition.call(this)};
g.setVisible=function(a){if(a!=this.isVisible()&&this.autoSizeDialog_){var b=this.getDomHelper().getWindow();a?(this.resizePicker_(),this.getHandler().listen(b,"resize",this.resizePicker_),this.iframeLoaded_||this.getHandler().listen(b,"keydown",this.handleKeydown_)):(this.getHandler().unlisten(b,"resize",this.resizePicker_),this.iframeLoaded_||this.getHandler().unlisten(b,"keydown",this.handleKeydown_))}ZT.superClass_.setVisible.call(this,a);this.sendCommand(new vFc(a))};
g.focus=function(){ZT.superClass_.focus.call(this);if(this.iframe_&&this.iframeLoaded_&&this.loadedFired_)try{this.iframe_.focus()}catch(a){}};g.handleError_=function(){this.callback_({action:"error"})};var $T=function(a,b){b=b===void 0?ZT:b;qFc.call(this,a);this.pickerConstructor=b;this.urlParamMap_=new Map;this.urlParamMap_.set("protocol","gadgets");(a=window.location.origin)||(a=window.location.protocol+"//"+window.location.host);this.setOrigin(a);this.postProcessors_=[];this.gadgetsDomHelper_=void 0};Y($T,rFc);$T.prototype.disposeOnHide_=!1;
$T.prototype.build=function(){this.getAppId()&&this.urlParamMap_.has("oauth_token")&&this.urlParamMap_.set("appId",this.getAppId());this.urlParamMap_.get("parent")||this.setRelayUrl(ghc(fhc(kI(window.location.href)),"").setPath("/favicon.ico").toString());this.urlParamMap_.set("ifls",Date.now());if(this.urlParamMap_.get("minimal"))throw Error("Ve");var a=new this.pickerConstructor(iHc(this).toString(),!0,this.getDomHelper(),this.dialogWidth_,this.dialogHeight_,"",this.gadgetsDomHelper_,!1,!1);a.setDisposeOnHide(this.disposeOnHide_);
a.setAppId(this.getAppId());a.setCallback(this.callback_);return a};var jHc=function(a,b){a.urlParamMap_.set(b,"true");return a};g=$T.prototype;g.getHeight=function(){return this.dialogHeight_};g.getLocale=function(){return this.urlParamMap_.get("hl")};g.getTitle=function(){return this.urlParamMap_.get("title")};g.getWidth=function(){return this.dialogWidth_};g.setDisposeOnHide=function(a){this.disposeOnHide_=a};g.setGroupId=function(a){this.urlParamMap_.set("groupId",a)};
var kHc=function(a){a.urlParamMap_.set("hostId","buganizer-drive");return a};g=$T.prototype;g.setOrigin=function(a){a&&this.urlParamMap_.set("origin",a);return this};g.setLocale=function(a){this.urlParamMap_.set("hl",a);return this};g.setRelayUrl=function(a){this.urlParamMap_.set("parent",a)};g.setSize=function(a){this.dialogWidth_=a;this.dialogHeight_=void 0;return this};g.setTitle=function(a){this.urlParamMap_.set("title",a);return this};
var iHc=function(a){a.postProcessors_.length&&a.urlParamMap_.set("pp",JSON.stringify(a.postProcessors_));a.urlParamMap_.set("nav",oFc(a.nav_));var b=new Dp(a.getBaseUrl());a.urlParamMap_.forEach(function(c,d){iI(b,d,c)});return b};var aU=function(){this.activeSession=r(dv);this.attachmentsApi=r(CL);this.onePickUrl=this.activeSession.getOnePickUrl();this.disabled=!1;this.onPickDoc=new rG;this.onCloneBlob=new rG};
aU.prototype.showDialog=function(){var a=this;if(!this.drivePicker){var b=window.location.origin||window.location.protocol+"//"+window.location.host;this.drivePicker=kHc(jHc(jHc(jHc(jHc((new $T(this.onePickUrl)).addView(hFc().setMode("list")),"navHidden"),"multiselectEnabled"),"edbe"),"showAttach").setCallback(function(c){if(c&&c.action==="picked")for(var d=k(c.docs),e=d.next();!e.done;e=d.next())e=new eFc(e.value),c.extraUserInputs.isAttachment?(e=new fFc(e),gFc(e,a.attachmentsApi),a.onCloneBlob.emit(e)):
a.onPickDoc.emit(e)}).setOrigin(b)).build()}this.drivePicker.setVisible(!0)};aU.\u0275fac=function(a){return new (a||aU)};
aU.\u0275cmp=t({type:aU,selectors:[["b-drive-attachment"]],inputs:{disabled:"disabled"},outputs:{onPickDoc:"onPickDoc",onCloneBlob:"onCloneBlob"},decls:3,vars:1,consts:[[1,"goog-inline-block","vertical-centered"],["mat-icon-button","","matTooltip","Add Drive attachments","aria-label","Add Drive attachments",3,"click","disabled"],["svgIcon","google-drive"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"button",1),M("click",function(){return b.showDialog()}),K(2,"mat-icon",2),J()());a&2&&(C(),F("disabled",
b.disabled))},dependencies:[$D,vD,Xy,FH,HH],encapsulation:2});var bU=function(){};bU.\u0275fac=function(a){return new (a||bU)};bU.\u0275mod=u({type:bU});bU.\u0275inj=p({imports:[yN,RE,ZJ,Qz,xy,vP,QI,mR,aP,JH,LH]});var cU=function(){Z.apply(this,arguments);this.issueDetailsBrain=r(XL);this.userResources=r(kF);this.analytics=r(wG);this.isPlusOneText=!1;this.onSubmitComment=new rG};Y(cU,Z);cU.\u0275dir=Z.\u0275dir;cU.prototype.ngOnChanges=function(a){a.isPlusOneText&&this.isPlusOneText&&this.analytics.trackEvent("editIssue","view","commentAndVoteBanner")};
cU.prototype.onClick=function(a){var b=Xo(this.issueDetailsBrain.id$);this.onSubmitComment.emit(a);b!=null&&(wcc(this.userResources,b,{voted:!0,starred:null,notificationSubscription:null}).pipe(Of(this.destroyed$)).subscribe(),this.analytics.trackEvent("editIssue","click","commentAndVote"))};cU.\u0275fac=function(){var a;return function(b){return(a||(a=de(cU)))(b||cU)}}();
cU.\u0275cmp=t({type:cU,selectors:[["b-plus-one-comment-callout"]],inputs:{isPlusOneText:"isPlusOneText"},outputs:{onSubmitComment:"onSubmitComment"},features:[cg,Hd],decls:1,vars:1,consts:[[1,"callout"],["svgIcon","info",1,"info-icon",3,"matTooltip"],["role","alert",1,"content"],[1,"actions"],["mat-flat-button","","color","primary",3,"click"]],template:function(a,b){a&1&&D(0,uXa,7,1,"div",0);a&2&&G(b.isPlusOneText?0:-1)},dependencies:[$D,vD,Vy,FH,HH],styles:[".callout[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;border-radius:8px;min-height:36px;padding:8px;background-color:#e8f0fe;background-color:var(--primary-c50)}.callout[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.info-icon[_ngcontent-%COMP%]{margin-left:8px;margin-right:16px}.content[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}"]});var lHc=["commentBoxContainer"],mHc=[[["","warning",""]],[["","recaptchaContainer",""]],[["","additionalToolbarItems",""]]],nHc=function(a){return{focused:a}},oHc=function(a,b){return[a,b]},dU=function(){this.analytics=r(wG);this.hotkeys=r(YH);this.activeSession=r(dv);this.appEvents=r(nE);this.MARKDOWN="MARKDOWN";this.commentChange=new rG;this.warn=this.disabled=this.supportsPreview=!1;this.showToolbar=!0;this.attachmentsDisabled=!1;this.showRestrictionOptions=!0;this.canEditIssuesInComponent=this.isPlusOneCalloutEnabled=
!1;this.onPlusOneTextEntered=new rG;this.onChange=new rG;this.onFocusEvent=new rG;this.onSubmit=new rG;this.onRestrict=new rG;this.createRestrictedResourcesComponentIds=this.activeSession.session.config.createRestrictedSubresourcesComponentIds;this.focused=!1;this.commentRebound$=new If(1);this.destroyed$=new If(1);this.currentTracker=this.activeSession.getTracker()};g=dU.prototype;g.ngOnDestroy=function(){var a;(a=this.comment)==null||Erc(a);this.destroyed$.next()};
g.ngOnInit=function(){var a=this;this.appEvents.focusCommentBox.pipe(Of(this.destroyed$)).subscribe(function(b){OXa(a,b)});this.appEvents.scrollToCommentBox.pipe(Of(this.destroyed$)).subscribe(function(){a.scrollIntoView()})};g.ngOnChanges=function(a){a.comment&&this.commentRebound$.next()};g.getRestrictedLabel=function(){var a,b,c=(b=(a=this.judgementForNewContent)==null?void 0:a.severity)!=null?b:"NONE_DETECTED";return gJa(c)};
g.isRestricted=function(){var a,b;return((b=(a=this.judgementForNewContent)==null?void 0:a.severity)!=null?b:"NONE_DETECTED")!=="NONE_DETECTED"};var OXa=function(a,b){(b=b===void 0?"":b)&&a.analytics.trackEvent("commentBox","takeFocus",b);a.scrollIntoView();setTimeout(function(){var c;(c=a.commentDraftComponent)==null||QDc(c)})};g=dU.prototype;g.uploadFile=function(a){a=this.attachmentUploader.upload(a);this.addUpload(a)};g.addUpload=function(a){this.comment&&this.comment.uploads.push(a)};
g.removeUpload=function(a){this.comment&&Sa(this.comment.uploads,a)};g.scrollIntoView=function(){var a;(a=this.commentBoxContainer)==null||a.nativeElement.scrollIntoView({behavior:"smooth"})};g.onFocus=function(){this.focused=!0;this.onFocusEvent.emit()};g.onBlur=function(){this.focused=!1};g.onKeydown=function(a){this.hotkeys.isEnabled()&&(a.key!=="Enter"||!a.ctrlKey&&!a.metaKey||this.disabled||this.onSubmit.emit(a))};g.submitComment=function(a){this.onSubmit.emit(a)};
dU.\u0275fac=function(a){return new (a||dU)};
dU.\u0275cmp=t({type:dU,selectors:[["b-comment-box"]],viewQuery:function(a,b){a&1&&(Mg(ZS,5),Mg(lHc,5),Mg(KT,5));if(a&2){var c;Qg(c=Rg())&&(b.commentDraftComponent=c.first);Qg(c=Rg())&&(b.commentBoxContainer=c.first);Qg(c=Rg())&&(b.attachmentUploader=c.first)}},inputs:{issueId:"issueId",comment:"comment",supportsPreview:"supportsPreview",componentId:"componentId",placeholder:"placeholder",judgementForNewContent:"judgementForNewContent",audience:"audience",disabled:"disabled",warn:"warn",showToolbar:"showToolbar",
idForAriaLabel:"idForAriaLabel",attachmentsDisabled:"attachmentsDisabled",showRestrictionOptions:"showRestrictionOptions",isPlusOneCalloutEnabled:"isPlusOneCalloutEnabled",canEditIssuesInComponent:"canEditIssuesInComponent"},outputs:{commentChange:"commentChange",onPlusOneTextEntered:"onPlusOneTextEntered",onChange:"onChange",onFocusEvent:"onFocusEvent",onSubmit:"onSubmit",onRestrict:"onRestrict"},features:[Hd],ngContentSelectors:["[warning]","[recaptchaContainer]","[additionalToolbarItems]"],decls:10,
vars:19,consts:[["commentBoxContainer",""],[1,"bv2-comment-box-container",3,"ngClass"],[1,"bv2-comment-textarea-wrapper"],[3,"contentChange","focus","blur","keydown","paste","content","placeholder","disabled","textareaClass","audience","idForAriaLabel","issueId","canEditIssuesInComponent","enableMentionsAutocomplete"],[3,"isPlusOneText"],[3,"onUploadCancel","onUploadComplete","uploads"],[1,"bv2-comment-toolbar"],[3,"onSubmitComment","isPlusOneText"],[3,"onSelect","disabled"],[3,"disabled"],[1,"goog-inline-block",
"vertical-centered","restriction-button"],[3,"onPickDoc","onCloneBlob","disabled"],["mat-icon-button","","matTooltip","Restrict this comment/attachment","aria-label","Restrict this comment/attachment",3,"disabled"],["mat-button","","matTooltip","Restrict this comment/attachment","aria-label","Restrict this comment/attachment",1,"button-with-text"],["mat-icon-button","","matTooltip","Restrict this comment/attachment","aria-label","Restrict this comment/attachment",3,"click","disabled"],["svgIcon",
"restricted"],["mat-button","","matTooltip","Restrict this comment/attachment","aria-label","Restrict this comment/attachment",1,"button-with-text",3,"click"],[3,"comment","issueId","audience","formattingMode"]],template:function(a,b){if(a&1){var c=x();Dg(mHc);I(0,"div",1,0)(2,"div",2)(3,"b-comment-draft",3);M("contentChange",function(d){z(c);if(b.comment){var e=b.comment.value;b.comment.value=d;d!==e&&(b.onChange&&(b.commentChange.emit(b.comment),b.onChange.emit()),b.onPlusOneTextEntered&&b.onPlusOneTextEntered.emit(d.trim()===
"+1"))}return A()})("focus",function(){z(c);return A(b.onFocus())})("blur",function(){z(c);return A(b.onBlur())})("keydown",function(d){z(c);return A(b.onKeydown(d))})("paste",function(d){z(c);if(d&&d.clipboardData!=null){var e=d.clipboardData;for(var f=!1,h=!1,l=0,q=0;q<e.items.length;q++)e.items[q].kind==="string"&&e.items[q].type==="text/plain"?f=!0:e.items[q].kind==="file"&&(h=!0,l=q);h&&e.items&&e.files?(h=e.files[0],l=e.items[l].type.replace(/^.*[/]/,""),f?(e=e.getData("text/plain"),e=e.replace(/^.*[\\\/]/,
"")):e=(new Date).toString()+"."+l,e={file:h,filename:e}):e=void 0;e&&(d.preventDefault(),d=new File([e.file],e.filename,{type:e.file.type}),b.uploadFile(d))}return A()});J();D(4,vXa,1,1,"b-plus-one-comment-callout",4);J();Eg(5);I(6,"b-attachment-uploader",5);M("onUploadCancel",function(d){z(c);b.removeUpload(d);return A(b.onChange.emit())})("onUploadComplete",function(){z(c);return A(b.onChange.emit())});J();Eg(7,1);D(8,AXa,5,3,"div",6);J();D(9,BXa,2,4,"div")}a&2&&(F("ngClass",bh(14,nHc,b.focused)),
C(3),F("content",b.comment.value)("placeholder",b.placeholder)("disabled",b.disabled)("textareaClass",ch(16,oHc,b.disabled?"bv2-disabled":"",b.warn?"banned-words-warning":""))("audience",b.audience)("idForAriaLabel",b.idForAriaLabel)("issueId",b.issueId)("canEditIssuesInComponent",b.canEditIssuesInComponent)("enableMentionsAutocomplete",!0),C(),G(b.isPlusOneCalloutEnabled?4:-1),C(2),F("uploads",b.comment.uploads),C(2),G(b.showToolbar?8:-1),C(),G(b.supportsPreview&&b.comment.formattingMode===b.MARKDOWN?
9:-1))},dependencies:[Ew,$D,ZS,FH,HH,KP,aU,HT,KT,vD,Vy,Xy,cU],encapsulation:2});var eU=function(){this.documentationLinks=r(cL);this.issueLimits=r(uT);this.accessPolicyApi=r(pC);this.implicitAccessEnabled=!1};eU.prototype.ngOnInit=function(){var a=this;this.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(this.componentId)).then(function(b){return a.implicitAccessEnabled=b})};eU.prototype.toggleAccessLimits=function(){var a=this;return ve(function(b){a.issueLimits.open({componentId:Number(a.componentId),issueId:a.issueId});Ce(b)})};
eU.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};eU.prototype.getAccessLimitLevelDisplay=function(a){return a==="LIMIT_APPEND"?"Commenting":a==="LIMIT_VIEW"||a==="LIMIT_VIEW_TRUSTED"?"Visibility":""};
var pHc=function(a,b){if(b)a:if(a=a.implicitAccessEnabled,b===kEc.accessLevel)b=a?"Only added users + Googlers may access. The assignee, verifier and collaborators may edit. CCs can comment. Googler access is according to their component-level permissions.":"Only added users + Googlers may access. They have their normal access as defined by the component-level permissions.";else{for(var c=k(OWa),d=c.next();!d.done;d=c.next())if(d=d.value,d.accessLevel===b){b=a?d.descriptionWithExpandedAccess:d.descriptionNoExpandedAccess;
break a}b=a?ar.descriptionWithExpandedAccess:ar.descriptionNoExpandedAccess}else b="";return b};eU.\u0275fac=function(a){return new (a||eU)};
eU.\u0275cmp=t({type:eU,selectors:[["b-access-limits-chip"]],inputs:{issueId:"issueId",componentId:"componentId",accessLimitLevel:"accessLimitLevel"},decls:12,vars:4,consts:[["card","onedevHovercard"],["role","button","matTooltip","Press Alt + Right arrow for more details",1,"chippy","rounded","nowrap","access-limited",3,"click","keydown.enter","keydown.space","onedevHovercardTrigger"],["svgIcon","encrypted_24px",1,"icon-s","valign-middle"],[1,"access-limit-display-name"],[1,"onedev-hovercard-content"],
[1,"onedev-hovercard-body"],[1,"hovertext"],["target","_blank","aria-label","Learn more about issue access limits",3,"href"]],template:function(a,b){if(a&1){var c=x();I(0,"button",1);M("click",function(){z(c);return A(b.toggleAccessLimits())})("keydown.enter",function(d){z(c);return A(b.toggleAccessLimitsWithKeystroke(d))})("keydown.space",function(d){z(c);return A(b.toggleAccessLimitsWithKeystroke(d))});K(1,"mat-icon",2);I(2,"span",3);Q(3);J()();I(4,"onedev-hovercard",null,0)(6,"div",4)(7,"div",
5)(8,"span",6);Q(9);I(10,"a",7);Q(11," Learn more");J()()()()()}a&2&&(a=L(5),F("onedevHovercardTrigger",a),C(3),Tg(b.getAccessLimitLevelDisplay(b.accessLimitLevel)),C(6),R(" Issue access is limited. ",pHc(b,b.accessLimitLevel)," "),C(),F("href",b.documentationLinks.getIssueAccessLimit(),of))},dependencies:[$D,FH,HH,bK,hK],styles:[".chippy[_ngcontent-%COMP%]{margin-right:8px;cursor:pointer}.chippy[_ngcontent-%COMP%]:hover, .chippy[_ngcontent-%COMP%]:focus, .chippy[_ngcontent-%COMP%]:focus-visible, .chippy[_ngcontent-%COMP%]:focus-within{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color;outline-offset:2px}.chippy.access-limited[_ngcontent-%COMP%]{background-color:#d2e3fc;background-color:var(--selected-bg);border:1px solid;border-color:#185abc;border-color:var(--primary-c800);box-shadow:none}.chippy[_ngcontent-%COMP%]   .access-limit-display-name[_ngcontent-%COMP%]{padding-right:2px;font-weight:500}.bubble[_ngcontent-%COMP%]{width:300px}"],
changeDetection:0});var qHc=[[["","additionalToolbarItems",""]]],SXa=function(a,b){return{empty:a,"never-focused":b}},fU=function(){var a=this;this.issuePermissionService=r(ZL);this.userPreferencesManager=r(yH);this.editIssueService=r(jM);this.analytics=r(wG);this.draftStore=r(bL);this.activeSession=r(dv);this.issueDetailsBrain=r(XL);this.issueCommentDialogsService=r(mT);this.appEvents=r(nE);this.bannedWordsChecker=r(hT);this.componentFridge=r(AC);this.butterBar=r(hE);this.issueId$=new If(1);this.distinctIssueId$=this.issueId$.pipe(Ef());
this.issue$=this.distinctIssueId$.pipe(Nf(function(b){return a.editIssueService.editableIssue$(b)}));this.wasFocused=!1;this.commentButtonStyle="fill";this.enableRecaptcha=this.activeSession.userRequiresCaptcha();this.enableNewVisibilityChips=lu(this.activeSession,"enableNewVisibilityChips");this.recaptchaResponse$=new bo("");this.showActionsAfterPreview=!1;this.showCommentButton=!0;this.commentSubmitted=new rG;this.issueComponent$=this.issue$.pipe(Nf(function(b){return a.componentFridge.watch(b==
null?void 0:b.componentId)}));this.issueAccessLimitLevel$=this.issuePermissionService.accessLimitLevel$.pipe(B(function(b){return b!=null?b:"LIMIT_NONE"}));this.isAccessLimited$=this.issueAccessLimitLevel$.pipe(B(function(b){return b==="LIMIT_VIEW"||b==="LIMIT_APPEND"||b==="LIMIT_VIEW_TRUSTED"}));this.HOTKEYS=ep;this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;this.hasAclToComment$=this.issuePermissionService.hasAclToComment$;this.isCurrentUserCCd$=this.issuePermissionService.isCurrentUserCCd$;
this.accessLevel$=this.issuePermissionService.accessLevel$;this.audience$=this.issuePermissionService.audience$;this.autoCcOnComment$=this.userPreferencesManager.preferences$.pipe(B(function(b){return b.autoCcOnComment}));this.issueCommentDraft$=this.issueId$.pipe(B(function(b){return a.editIssueService.issueCommentDraft(b)}));this.judgementForNewContent$=this.issueCommentDraft$.pipe(Nf(function(b){return b.judgementForNewContent$}));this.comment$=this.issueCommentDraft$.pipe(Nf(function(b){return b.comment$}));
this.events$=this.issueDetailsBrain.eventsJs$;this.savingState$=this.issueId$.pipe(B(function(b){return a.editIssueService.savingState(b)}));this.isSaving$=this.savingState$.pipe(Nf(function(b){return Iq(b.propertiesBeingSaved,dq("comment"))}));this.commentLimitReached$=this.events$.pipe(B(function(b){var c=a.activeSession.getCommentNumberLimit();return Qta(b)>=c}));this.commentPlaceholderText$=this.commentLimitReached$.pipe(B(function(b){return b?"The comment limit has been reached and no additional comments are permitted.":
a.activeSession.isAnonymous()?"Sign in to use full features.":a.issuePermissionService.hasAclToComment()?"Add a comment.":"You do not have access to comment on this issue."}));this.commentBoxEnabled$=Me([this.hasAclToComment$,this.commentLimitReached$,this.isSaving$]).pipe(B(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;return b&&!d&&!c}));this.showRecaptcha$=Me([this.hasAclToComment$,this.commentLimitReached$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;
return b&&!c&&a.enableRecaptcha}));this.commentDraftUpdated$=new bo(!0);this.commentButtonEnabled$=Me([this.hasAclToComment$,this.comment$,this.isSaving$,this.recaptchaResponse$,this.commentDraftUpdated$]).pipe(B(function(b){var c=k(b);b=c.next().value;var d=c.next().value;var e=c.next().value;c=c.next().value;return b&&Grc(d)&&!e&&(!a.enableRecaptcha||c!=="")}));this.empty$=Me([this.comment$,this.commentDraftUpdated$]).pipe(B(function(b){var c,d;return(d=(c=k(b).next().value)==null?void 0:c.value)!=
null?d:""}),B(function(b){return b.length===0}));this.doAutoRestrictComment$=Me([this.issueComponent$,this.comment$,this.commentDraftUpdated$]).pipe(B(function(b){b=k(b);var c=b.next().value;var d=b.next().value;b.next();b=vq(a.activeSession);var e=Xo(a.judgementForNewContent$);c=c!=null?c:null;d=d.uploads.length>0;var f=!(c==null||!c.trackerId);e=(e==null?void 0:e.severity)!=="RESTRICTED"&&(e==null?void 0:e.severity)!=="RESTRICTED_PLUS";return dr(c)&&f&&!b&&d&&e}))};
fU.prototype.setJudgementForNewContent=function(a,b){this.editIssueService.issueCommentDraft(a).setJudgementForNewContent(b)};
fU.prototype.autoRestrictComment=function(a){var b=this,c;return ve(function(d){a&&(c={severity:"RESTRICTED",judgementReason:"Auto-restricted for issue on public tracker being edited from outside of a tracker",contentJudge:"",resourcePath:void 0,contentJudgementId:void 0},b.setJudgementForNewContent(b.issueId,c),du(b.butterBar,"Because this issue is displayed on a public tracker, this comment will be Restricted. You may modify the restriction level before submitting the comment."));Ce(d)})};
fU.prototype.ngOnInit=function(){this.doAutoRestrictComment$.subscribe(this.autoRestrictComment.bind(this))};var GXa=function(a){var b;return ve(function(c){b=!zH(a.userPreferencesManager).autoCcOnComment;a.analytics.trackEvent("editIssue","toggleAutoCcOnComment",String(b));return xe(c,Je(a.userPreferencesManager.save({autoCcOnComment:b})),0)})};
fU.prototype.saveCommentDraft=function(){var a=this,b;return ve(function(c){if(c.nextAddress==1)return a.bannedWordsChecker.reset(),xe(c,Je(a.comment$),2);b=c.yieldResult;a.draftStore.$window.sessionStorage.setItem(Wp(a.internalIssueId),b.value);a.commentDraftUpdated$.next(!0);Ce(c)})};
fU.prototype.submitCommentBox=function(a){var b=this,c,d,e,f,h,l,q;return ve(function(v){if(v.nextAddress==1)return(c=a)==null||c.stopPropagation(),d=b.enableRecaptcha?b.recaptchaResponse$.getValue():void 0,e=b.editIssueService.issueCommentDraft(b.internalIssueId).comment(),f=b.editIssueService.editableIssue(b.internalIssueId),xe(v,b.bannedWordsChecker.check(e.value,b.issuePermissionService.accessLevel()==="EXTERNAL_PUBLIC",f.componentId),2);if(v.nextAddress!=3)return h=v.yieldResult,h?xe(v,b.issueCommentDialogsService.submitCommentBox(String(f.componentId),
b.internalIssueId,e,d),3):((l=a)==null||l.preventDefault(),(q=b.commentBox)==null||OXa(q),v.return());b.commentSubmitted.emit();b.bannedWordsChecker.reset();b.appEvents.recaptchaSubmitted.next();Ce(v)})};fU.prototype.showNewContentJudgementDialog=function(){var a=this;return ve(function(b){return xe(b,a.issueCommentDialogsService.showNewContentJudgementDialog(a.internalIssueId),0)})};fU.prototype.isPlusOneCalloutEnabled=function(){return this.activeSession.isInternalSession()&&!Xo(this.issueDetailsBrain.voted$)};
ea.Object.defineProperties(fU.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a);this.internalIssueId=a},get:function(){return this.internalIssueId}},componentIdString:{configurable:!0,enumerable:!0,get:function(){return String(this.editIssueService.editableIssue(this.internalIssueId).componentId)}}});fU.\u0275fac=function(a){return new (a||fU)};
fU.\u0275cmp=t({type:fU,selectors:[["b-post-comment"]],viewQuery:function(a,b){a&1&&Mg(dU,5);if(a&2){var c;Qg(c=Rg())&&(b.commentBox=c.first)}},inputs:{issueId:"issueId",showActionsAfterPreview:"showActionsAfterPreview",showCommentButton:"showCommentButton"},outputs:{commentSubmitted:"commentSubmitted"},features:[Yg([hT])],ngContentSelectors:["[additionalToolbarItems]"],decls:4,vars:3,consts:[["actionButtons",""],["commentBox",""],[1,"a11y-only"],[1,"bv2-edit-issue-add-comment",3,"ngClass"],["id",
"AddCommentBox",3,"hotkey","supportsPreview","issueId","comment","componentId","placeholder","judgementForNewContent","audience","disabled","isPlusOneCalloutEnabled","warn"],["id","AddCommentBox",3,"onHotkey","onChange","onFocusEvent","onSubmit","onRestrict","onPlusOneTextEntered","hotkey","supportsPreview","issueId","comment","componentId","placeholder","judgementForNewContent","audience","disabled","isPlusOneCalloutEnabled","warn"],["warning","",1,"banned-words-warning","break-word"],["recaptchaContainer",
""],["additionalToolbarItems","",1,"goog-inline-block"],[1,"goog-inline-block"],[1,"goog-inline-block","vertical-centered"],[3,"initialValue"],[3,"issueId","componentId","accessLimitLevel"],[3,"issueId"],[3,"accessLevel"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],[3,"onUpdate"],[4,"ngTemplateOutlet"],[3,"change","checked","disabled"],["matTooltip","(issuePermissionService.addMeToCcDisabledReason$ | async) || ''",
3,"checked","disabled"],[3,"change","initialValue"],[3,"format","disabled","color"],[3,"onAction","click","format","disabled","color"]],template:function(a,b){a&1&&(Dg(qHc),D(0,UXa,1,1),S(1,"async"),D(2,WXa,1,1,"ng-template",null,0,fh));if(a&2){var c;G((c=U(1,1,b.issue$))?0:-1,c)}},dependencies:[IH,dU,kR,Ew,Hw,cO,$H,qN,uN,aT,eU,VP,Iw],styles:["[_nghost-%COMP%]{display:block;margin-bottom:8px}[_nghost-%COMP%]     .bv2-edit-issue-add-comment{padding-left:0;padding-right:0}textarea[_ngcontent-%COMP%]{display:block;margin:0;margin-bottom:8px;max-height:40vh;min-height:130px;resize:none;width:100%}@media(forced-colors: active){[_nghost-%COMP%]     .bv2-comment-toolbar .goog-inline-block b-button .gmat-mdc-button.mat-mdc-unelevated-button{border:1px solid;border-color:#dadce0;border-color:var(--divider)}}[_nghost-%COMP%]     .bv2-comment-toolbar .goog-inline-block b-button .gmat-mdc-button.mat-mdc-unelevated-button.mat-warn{background-color:#c5221f;background-color:var(--bad-gfx)}button[_ngcontent-%COMP%], mat-checkbox[_ngcontent-%COMP%]{margin-right:8px}.recent-first   [_nghost-%COMP%]     .empty.never-focused textarea{min-height:32px;height:32px !important}.recent-first   [_nghost-%COMP%]     .empty.never-focused textarea:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.recent-first   [_nghost-%COMP%]     .empty.never-focused b-live-preview{display:none}.banned-words-warning[_ngcontent-%COMP%]{margin-bottom:16px;color:#c5221f;color:var(--bad-text)}/*# sourceMappingURL=post_comment.css.map */"]});var rHc=new Bd("SearchBarClientConfig");var gU=function(a){var b=new Myc;a.peopleApiEnv&&b.setPeopleApiEnv(a.peopleApiEnv);a.apiKey&&b.setApiKey(a.apiKey);this.peopleStore=a.peopleStoreClient.create(b);this.peopleStore.warmUpCache();this.environmentConfig=new ukc(b.getPeopleApiEnv(),new vkc(""))};gU.\u0275fac=function(a){return new (a||gU)(md(rHc))};gU.\u0275prov=n({token:gU,factory:gU.\u0275fac});var hU=function(a,b,c){this.clientConfig=a;this.searchBarService=b;this.searchBarEl=c;this.selectionChange=new kw;this.sessionOptions=(new Ls).setFilter(sHc);this.destroyed$=new If(1)};hU.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.searchBar.dispose()};
hU.prototype.ngOnInit=function(){var a=this,b=this.clientConfig.searchBarFactory.createConfig(this.searchBarService.environmentConfig);XXa(b,this.config);var c;this.searchBar=(c=this.clientConfig.searchBarFactory)==null?void 0:c.create(this.searchBarEl.nativeElement,this.searchBarService.peopleStore,b,this.sessionOptions);this.searchBar.subscribeToSelectionChanged(function(e){a.selectionChange.emit(e)});var d;((d=this.config)==null?void 0:d.preselectedIds)!=null&&this.searchBar.select(this.config.preselectedIds)};
hU.\u0275fac=function(a){return new (a||hU)(af(rHc),af(gU),af(ge))};hU.\u0275dir=ud({type:hU,selectors:[["div","peoplekitSearchBar",""]],hostAttrs:[1,"peoplekit-searchbar-anchor"],inputs:{config:[0,"peoplekitSearchBarConfig","config"],sessionOptions:[0,"peoplekitSearchSessionOptions","sessionOptions"]},outputs:{selectionChange:"peoplekitSearchBarSelectionChange"},exportAs:["peoplekitSearchBar"]});var sHc=Fq(1);var tHc=["addLink"],jYa=function(a){return{"disabled-icon":a}},uHc=[Object.assign({},jr("start","bottom"),kr("start","top"),{offsetY:8}),Object.assign({},jr("center","bottom"),kr("center","top"),{offsetY:8}),Object.assign({},jr("end","bottom"),kr("end","top"),{offsetY:8}),Object.assign({},jr("start","top"),kr("start","bottom"),{offsetY:-8}),Object.assign({},jr("end","top"),kr("end","bottom"),{offsetY:-8})],iU=function(){var a=this;this.cdr=r(sG,{self:!0});this.activeSession=r(dv);this.principalTypesFridge=
r($G);this.issuePermissionService=r(ZL);this.issueDetailsBrain=r(XL);this.title=this.name="";this.values=null;this.collectionHovercardDescription=this.removeSelfActionLongDescription=this.removeSelfActionDescription=this.includeSelfActionLongDescription=this.includeSelfActionDescription="";this.valueChange=new rG;this.userInclusionToggle=new rG;this.enablePeoplekitAc=lu(this.activeSession,"enablePeoplekitUserAc");this.iconName="";this.teamId$=this.issueDetailsBrain.teamId$;this.ListFieldType=bwc;
this.providedValues$=new If(1);this.groups$=this.providedValues$.pipe(Nf(function(b){return a.extractGroups(b)}),Mf(new Set));this.OVERLAY_POSITION_LIST=uHc;this.newlySelectedUsersString="";this.inputValidator=null;this.checkAccessLimits=!1;this.overlayPosition=uHc;this.toggleAccessLimits=new rG;this.USER_FIELD_HOVERCARD_CONFIG=Object.assign({},new eK,{position:[foc]});this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.enableTeamAnnotations=this.activeSession.isInternalSession();
this.searchbarConfig={helpText:void 0,helpTextWithSelections:"",density:2};this.invalidMessage=""};iU.prototype.extractGroups=function(a){var b=function(c){return c.principalType==="GROUP"};return this.principalTypesFridge.watchSet(a).pipe(B(function(c){return new Set(c.filter(b).map(function(d){return d.email}))}))};iU.prototype.removeItem=function(a){if(this.values){var b=[].concat(w(this.values));b.splice(a,1);this.valueChange.emit({editField:null,newUsers:b})}};
iU.prototype.getUser=function(a){return this.users&&this.values?(a=this.values.indexOf(a))?this.users[a]:{emailAddress:""}:{emailAddress:""}};var cYa=function(a,b){a.newlySelectedUsersString=b.map(function(c){return c.result().getPrimaryTarget().getValue()}).join(",")};
iU.prototype.closeAddPopup=function(a){var b,c=k((b=this.menuTriggers)!=null?b:[]);for(b=c.next();!b.done;b=c.next())b.value.closeMenu();var d;c=k((d=this.popupTriggers)!=null?d:[]);for(d=c.next();!d.done;d=c.next())this.closeInlineDialog(d.value);a&&this.addLinkEl&&this.addLinkEl.nativeElement.focus()};iU.prototype.closeInlineDialog=function(a){a.disabled||(a.disabled=!0,a.disabled=!1)};
iU.prototype.textPopupSubmit=function(a,b){var c=this,d,e,f;return ve(function(h){if(h.nextAddress==1)return c.enablePeoplekitAc?(d=c.newlySelectedUsersString,c.newlySelectedUsersString=""):d=a.value.input,c.inputValidator?xe(h,c.inputValidator(d),3):h.jumpTo(2);h.nextAddress!=2&&(c.invalidMessage=h.yieldResult,c.cdr.detectChanges());if(!a.valid||c.invalidMessage)return h.return();(e=a)==null||e.reset();(f=b.querySelector("input"))==null||f.focus();c.closeAddPopup(!0);c.addItems(d);Ce(h)})};
iU.prototype.addItems=function(a){if(a){var b=[];this.values=this.values||[];a=k(a.split(/[,; ]/));for(var c=a.next();!c.done;c=a.next())(c=c.value)&&!this.values.includes(c)&&b.push(c);b.length!==0&&(this.values=[].concat(w(this.values),w(b)),this.valueChange.emit({editField:null,newUsers:this.values}))}};iU.\u0275fac=function(a){return new (a||iU)};
iU.\u0275cmp=t({type:iU,selectors:[["b-multi-user-control"]],viewQuery:function(a,b){a&1&&(Mg(tHc,5),Mg(zI,5),Mg(KN,5));if(a&2){var c;Qg(c=Rg())&&(b.addLinkEl=c.first);Qg(c=Rg())&&(b.menuTriggers=c);Qg(c=Rg())&&(b.popupTriggers=c)}},inputs:{name:"name",title:"title",values:"values",includeSelfActionDescription:"includeSelfActionDescription",includeSelfActionLongDescription:"includeSelfActionLongDescription",removeSelfActionDescription:"removeSelfActionDescription",removeSelfActionLongDescription:"removeSelfActionLongDescription",
collectionHovercardDescription:"collectionHovercardDescription",users:"users",isSaving:"isSaving",iconName:"iconName",isCurrentUserInCollection:"isCurrentUserInCollection",isAllowedToEditCollection:"isAllowedToEditCollection",inputValidator:"inputValidator",checkAccessLimits:"checkAccessLimits",overlayPosition:"overlayPosition"},outputs:{valueChange:"valueChange",userInclusionToggle:"userInclusionToggle",toggleAccessLimits:"toggleAccessLimits"},features:[Yg([sG])],decls:25,vars:13,consts:[["listActions",
""],["textPopup",""],["addLink",""],["hovercard","onedevHovercard"],["textPopupForm","ngForm","formEl",""],["removeButton",""],[1,"bv2-issue-metadata-list-field","bv2-issue-metadata-field",3,"onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig"],[1,"bv2-issue-metadata-field-inner"],[1,"bv2-editable-title"],[1,"list-field-content"],[3,"isExpanded","iconName","hasCompactTitleBar","title"],[1,"flex-kids-x","flex-cross-axis-centered","flex-wrappable"],[1,"bv2-field-user-action-footer"],
["mat-button","","panelClass","bv2-add-item-bubble","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","dialogLabel","overlayPositions","matTooltip"],[4,"ngTemplateOutlet"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],["mat-button","","href","https://developers.google.com/issue-tracker/references/glossary-of-fields","target","_blank",1,"primary"],[1,"value-action"],["tabindex","0","role","button",1,"bv2-metadata-tool",
"bv2-metadata-link",3,"disabled","matTooltip"],["tabindex","0","role","button",1,"bv2-metadata-tool","bv2-metadata-link",3,"click","keydown.enter","keydown.space","matTooltip"],[3,"ngSubmit"],["type","text","name","input","ngModel","","required","","aria-expanded","true","autofocus","",3,"bContactAutocomplete"],["aria-expanded","true","peoplekitSearchBar","",3,"peoplekitSearchBarConfig"],[1,"bv2-list-field-addition-dialog-buttons"],["mat-flat-button","","type","submit",1,"medium","field-popup-button",
3,"disabled"],["svgIcon","done"],["mat-stroked-button","","type","button",1,"medium","field-popup-button",3,"click"],["svgIcon","close"],["aria-expanded","true","peoplekitSearchBar","",3,"peoplekitSearchBarSelectionChange","peoplekitSearchBarConfig"],[1,"bv2-issue-metadata-list-item","list-field-user-container"],[3,"user","email","teamId","enableSmallChip","enableGroupIcon"],["name","group_24px","size","small",1,"group-icon"],[3,"email"],["aria-label","Open issue access dialog.",1,"unstyled","keep-focus-ring",
3,"disabled"],["aria-label","Open issue access dialog.",1,"unstyled","keep-focus-ring",3,"click","disabled"],["size","small","name","edit_24px",1,"issue-metadata-field-edit-icon",3,"ngClass"],[1,"bv2-remove-icon","bv2-remove-item","keep-focus-ring",3,"matTooltip"],[1,"bv2-remove-icon","bv2-remove-item","keep-focus-ring",3,"click","matTooltip"],["mat-button","","panelClass","bv2-add-item-bubble","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"beforeOpened","xapInlineDialogClick",
"dialogLabel","overlayPositions","matTooltip"]],template:function(a,b){a&1&&(D(0,aYa,2,1,"ng-template",null,0,fh)(2,fYa,13,7,"ng-template",null,1,fh),I(4,"div",6)(5,"div",7)(6,"div",8)(7,"label"),Q(8),J()(),I(9,"div",9)(10,"collapsible-panel",10),tg(11,nYa,9,8,"div",11,rg),J(),I(13,"div",12,2),D(15,oYa,2,8,"button",13)(16,pYa,1,0,"ng-container",14),J()()()(),I(17,"onedev-hovercard",null,3)(19,"div",15)(20,"div",16)(21,"span",17),Q(22),I(23,"a",18),Q(24,"Learn more."),J()()()()());if(a&2){a=L(1);var c=
L(18);C(4);F("onedevHovercardTrigger",c)("onedevHovercardActive",!0)("onedevHovercardConfig",b.USER_FIELD_HOVERCARD_CONFIG);C(4);R(" ",b.title," ");C(2);Hg("title","",(b.values==null?null:b.values.length)||0," ",((b.values==null?null:b.values.length)||0)===1?"user":"users","");F("isExpanded",!0)("iconName",b.iconName)("hasCompactTitleBar",!0);C();ug(b.values);C(4);G(b.isAllowedToEditCollection?15:-1);C();F("ngTemplateOutlet",a);C(6);R(" ",b.collectionHovercardDescription," ")}},dependencies:[Ew,Hw,
$D,YJ,bK,hK,HK,FH,HH,vD,Wy,Vy,EN,zM,yM,KN,HN,GN,Sz,hU,Cz,ki,tz,uz,Mz,Bz,zz,Iw],styles:["xap-dialog-layout[_ngcontent-%COMP%]{padding:16px}xap-dialog-layout-content[_ngcontent-%COMP%]{padding:0}.bv2-editable-title[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{word-break:normal;overflow-wrap:anywhere}b-icon[_ngcontent-%COMP%]{margin-bottom:4px}.bv2-field-user-action-footer[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{width:max-content;display:flex}[_nghost-%COMP%]     b-icon.group-icon{width:12px;margin-top:1px}[_nghost-%COMP%]     b-icon.group-icon mat-icon{width:inherit}[_nghost-%COMP%]     b-icon.group-icon mat-icon svg{width:12px;height:16px}[_nghost-%COMP%]     b-icon.disabled-icon mat-icon svg{color:#bdc1c6;color:var(--text-disabled)}"]});var jU=function(){};var vHc=["popOverContent"],kU=function(a,b){this.overlay=a;this.viewContainerRef=b;this.newlineWithEnterKey=this.displayUnder=!1;this.hasBackdrop=!0;this.fitToViewport=!1;this.minWidth=null;this.saveDisabled=!1;this.closedWithAction=new kw;this.isOpen=!1;this.destroyed$=new If(1);this.backdropClickSubscription=me.EMPTY};kU.prototype.ngOnInit=function(){};kU.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
kU.prototype.open=function(){var a=this;this.isOpen||(this.overlayRef=this.createOverlay(),this.attach(),this.isOpen=!0,this.backdropClickSubscription=this.overlayRef.backdropClick().pipe(Of(this.destroyed$)).subscribe(function(){sYa(a)}))};kU.prototype.close=function(){this.isOpen&&this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=void 0,this.isOpen=!1,this.backdropClickSubscription.unsubscribe())};
var rYa=function(a){a.closedWithAction.emit(0);a.close()},sYa=function(a){a.closedWithAction.emit(1);a.close()};g=kU.prototype;g.processKeydown=function(a){switch(a.key){case "Escape":sYa(this);a.stopPropagation();break;case "Enter":if(this.newlineWithEnterKey){if(a.metaKey||a.ctrlKey)rYa(this),a.stopPropagation(),a.preventDefault()}else a.shiftKey||(rYa(this),a.stopPropagation(),a.preventDefault())}};
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy(),c;a=this.overlay.create({positionStrategy:a,scrollStrategy:b,hasBackdrop:this.hasBackdrop,backdropClass:"onedev-pop-over-edit-panel-backdrop",panelClass:"onedev-pop-over-edit-panel",width:8+Math.max((c=this.minWidth)!=null?c:0,this.anchor.offsetWidth)});a.overlayElement.setAttribute("role","dialog");return a};
g.attach=function(){var a=new ny(this.contentTemplateRef,this.viewContainerRef),b;(b=this.overlayRef)==null||b.attach(a);var c;(c=this.overlayRef)==null||c.updatePosition()};g.getPositionStrategy=function(){var a=f3b(hy(ky(this.overlay.position(),this.anchor),this.fitToViewport),this.fitToViewport);a._offsetX=-4;a._offsetY=this.displayUnder?this.anchor.offsetHeight:-4;return fy(a,wHc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
kU.\u0275fac=function(a){return new (a||kU)(af(ty),af(Kg))};
kU.\u0275cmp=t({type:kU,selectors:[["onedev-pop-over-edit-panel"]],viewQuery:function(a,b){a&1&&Mg(vHc,7);if(a&2){var c;Qg(c=Rg())&&(b.contentTemplateRef=c.first)}},inputs:{anchor:"anchor",editorTemplate:"editorTemplate",displayUnder:"displayUnder",newlineWithEnterKey:"newlineWithEnterKey",hasBackdrop:"hasBackdrop",fitToViewport:"fitToViewport",minWidth:"minWidth",saveDisabled:"saveDisabled"},outputs:{closedWithAction:"closedWithAction"},exportAs:["onedevPopOverEditPanel"],decls:2,vars:0,consts:[["popOverContent",
""],["cdkTrapFocus","",1,"content","gmat-elevation-z2",3,"keydown","cdkTrapFocusAutoCapture"],[1,"edit-field"],[4,"ngTemplateOutlet"],[1,"actions"],["mat-button","","color","primary",1,"save",3,"click","disabled"],["mat-button","","color","primary",1,"cancel",3,"click"]],template:function(a){a&1&&D(0,tYa,8,3,"ng-template",null,0,fh)},dependencies:[Hw,jx,SK],styles:[".content[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;background-color:var(--surface-default,#fff);border-radius:4px;overflow:auto;padding:4px}.actions[_ngcontent-%COMP%]{margin-top:4px}.actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{height:24px;line-height:24px;min-width:auto;padding-left:8px;padding-right:8px;font-size:13px}"]});
var wHc=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}];var xHc=["popOver"],yHc=["inputBox"],lU=function(a){this.defaultAutocompleteConfig=a;this.displayUnder=!1;this.initialInputValue="";this.openPopOverOnInit=!1;this.closed=new kw;this.inputValue="";this.sessionOptions=zHc;this.mergedAutocompleteConfig=Object.assign({},AHc,this.defaultAutocompleteConfig)};g=lU.prototype;g.ngAfterViewInit=function(){this.openPopOverOnInit&&this.openPopOver(this.initialInputValue)};
g.ngOnChanges=function(a){a.autocompleteConfig&&(this.mergedAutocompleteConfig=Object.assign({},AHc,this.defaultAutocompleteConfig,this.autocompleteConfig))};g.selectAutocomplete=function(a){a.length>0&&(this.inputValue=a[0].result().getPrimaryTarget().getValue())};g.openPopOver=function(a){var b=this;this.inputValue=a;this.popOver.open();setTimeout(function(){var c;(c=b.inputBox)==null||c.nativeElement.select()})};
g.onPopOverClose=function(a){this.closed.emit(a===0?this.inputValue:void 0);this.inputValue=""};lU.\u0275fac=function(a){return new (a||lU)(af(BHc,8))};
lU.\u0275cmp=t({type:lU,selectors:[["onedev-user-picker-panel","anchor",""]],viewQuery:function(a,b){a&1&&(Mg(xHc,7),Mg(yHc,5));if(a&2){var c;Qg(c=Rg())&&(b.popOver=c.first);Qg(c=Rg())&&(b.inputBox=c.first)}},inputs:{anchor:"anchor",autocompleteConfig:"autocompleteConfig",displayUnder:"displayUnder",initialInputValue:"initialInputValue",openPopOverOnInit:"openPopOverOnInit"},outputs:{closed:"closed"},features:[Hd],attrs:["anchor",""],decls:4,vars:3,consts:[["popOver","onedevPopOverEditPanel"],["autocompleteTemplate",
""],["inputBox",""],[3,"closedWithAction","anchor","displayUnder","editorTemplate"],["peoplekitAutocomplete","",3,"peoplekitAutocompleteSelectionChange","ngModelChange","peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","ngModel"]],template:function(a,b){if(a&1){var c=x();I(0,"onedev-pop-over-edit-panel",3,0);M("closedWithAction",function(d){z(c);return A(b.onPopOverClose(d))});J();D(2,uYa,2,3,"ng-template",null,1,fh)}a&2&&(a=L(3),F("anchor",b.anchor)("displayUnder",b.displayUnder)("editorTemplate",
a))},dependencies:[ki,tz,Bz,kU,CR],styles:["input[_ngcontent-%COMP%]{padding:4px;border-radius:5px;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;color:var(--text-default,#202124);border:1px solid var(--field-hover-border,#d2e3fc);background-color:var(--surface-default,#fff);line-height:18px}input[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--primary-default,#1a73e8)}  .peoplekit-autocomplete-anchor{z-index:1001}"]});
var BHc=new Bd("user-picker-autocomplete-config"),AHc={showSuggestions:!0,moveAutocompleteAboveAnchorIfOffscreen:!0,density:2},zHc=(new Ls).setFilter(KSa(Fq(1),new Fyc(function(a){return a.indexOf("-pager")>=0||a.indexOf("+pager")>=0||a.indexOf("-oncall")>=0||a.indexOf("+oncall")>=0||a.indexOf("lifeguard-ng")>=0})));var wYa=function(a){return{$implicit:a}},CHc=0,mU=function(){this.val="";this.disabled=!1;this.emailChange=new kw;this.popOverOpen=this.active=!1;this.contentId="onedev-user-picker-"+CHc;this.onChange=function(){};this.onTouched=function(){};CHc++};Y(mU,jU);g=mU.prototype;g.openPopOver=function(){this.disabled||(this.onTouched(),this.popOver.openPopOver(this.email),this.popOverOpen=!0)};
g.onPopOverClose=function(a){a!=null&&a!==this.email&&(this.onChange(a),this.emailChange.emit(a),this.email=a);this.popOverOpen=!1};g.contentAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.contentId};g.writeValue=function(a){a!=null&&(this.val=a)};g.isActive=function(){return this.active||this.popOverOpen};g.registerOnChange=function(a){this.onChange=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a};
ea.Object.defineProperties(mU.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});mU.\u0275fac=function(a){return new (a||mU)};
mU.\u0275cmp=t({type:mU,selectors:[["onedev-user-picker"]],viewQuery:function(a,b){a&1&&Mg(lU,7);if(a&2){var c;Qg(c=Rg())&&(b.popOver=c.first)}},inputs:{email:"email",disabled:"disabled",labelledById:"labelledById",selectedUserTemplate:"selectedUserTemplate",autocompleteConfig:"autocompleteConfig"},outputs:{emailChange:"emailChange"},exportAs:["onedevUserPicker"],features:[Yg([{provide:jU,useExisting:id(function(){return mU}),multi:!0},{provide:mz,useExisting:id(function(){return mU}),multi:!0}]),
cg],decls:7,vars:9,consts:[["anchor",""],["plainText",""],[1,"unstyled-button",3,"focus","blur","click"],[4,"ngIf","ngIfElse"],["class","edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],[3,"closed","anchor","autocompleteConfig"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"edit-icon"],["d","M20.71,5.63l-2.34-2.34C18.18,3.1,17.92,3,17.67,3c-0.26,0-0.51,0.1-0.71,0.29L3,17.25L3,21h3.75L20.71,7.04 C21.1,6.65,21.1,6.02,20.71,5.63z M5.92,19H5l0-0.92L15.54,7.53l0.92,0.92L5.92,19z"]],
template:function(a,b){if(a&1){var c=x();I(0,"button",2,0);M("focus",function(){z(c);return A(b.active=!0)})("blur",function(){z(c);return A(b.active=!1)})("click",function(){z(c);return A(b.openPopOver())});D(2,xYa,2,4,"ng-container",3)(3,yYa,1,1,"ng-template",null,1,fh)(5,zYa,2,0,"svg",4);J();I(6,"onedev-user-picker-panel",5);M("closed",function(e){z(c);return A(b.onPopOverClose(e))});J()}if(a&2){a=L(1);var d=L(4);ng("active",b.isActive());eg("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());
C(2);F("ngIf",b.selectedUserTemplate)("ngIfElse",d);C(3);F("ngIf",!b.disabled);C();F("anchor",a)("autocompleteConfig",b.autocompleteConfig)}},dependencies:[Gw,Hw,lU],styles:["button[_ngcontent-%COMP%]{background:none;border:1px solid transparent;color:var(--text-default,#202124);padding:4px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;line-height:18px;border-radius:5px;width:100%;min-height:27px;min-width:100px}button[_ngcontent-%COMP%]:hover{cursor:pointer;border-color:var(--field-hover-border,#d2e3fc)}button[_ngcontent-%COMP%]:disabled{cursor:not-allowed}button.active[_ngcontent-%COMP%], button[_ngcontent-%COMP%]:focus{outline:0;border-color:var(--primary-default,#1a73e8)}.ng-invalid.ng-touched[_nghost-%COMP%]   button[_ngcontent-%COMP%]{border-color:var(--warn-default,#d93025)}.edit-icon[_ngcontent-%COMP%]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;margin-left:auto;width:16px;height:16px;color:var(--icon,#5f6368);fill:currentColor}"]});var DHc=["picker"],nU=function(){this.disabled=!1;this.emailChange=new rG;this.userEmail=""};Y(nU,jU);nU.prototype.openPopOver=function(){this.picker.openPopOver()};nU.prototype.isActive=function(){return this.picker.isActive()};ea.Object.defineProperties(nU.prototype,{user:{configurable:!0,enumerable:!0,set:function(a){this.userEmail=Ui(a)||""}}});nU.\u0275fac=function(){var a;return function(b){return(a||(a=de(nU)))(b||nU)}}();
nU.\u0275cmp=t({type:nU,selectors:[["b-user-picker"]],viewQuery:function(a,b){a&1&&Mg(DHc,7);if(a&2){var c;Qg(c=Rg())&&(b.picker=c.first)}},inputs:{user:"user",teamId:"teamId",disabled:"disabled",labelledById:"labelledById"},outputs:{emailChange:"emailChange"},exportAs:["bUserPicker"],features:[Yg([{provide:jU,useExisting:id(function(){return nU}),multi:!0}]),cg],decls:4,vars:4,consts:[["picker","onedevUserPicker"],["userChip",""],[3,"emailChange","email","disabled","labelledById","selectedUserTemplate"],
[3,"email","teamId","enableSmallChip"]],template:function(a,b){if(a&1){var c=x();I(0,"onedev-user-picker",2,0);M("emailChange",function(d){z(c);return A(b.emailChange.emit(d))});J();D(2,BYa,1,1,"ng-template",null,1,fh)}a&2&&(a=L(3),F("email",b.userEmail)("disabled",b.disabled)("labelledById",b.labelledById)("selectedUserTemplate",a))},dependencies:[zM,mU],styles:["[_nghost-%COMP%]     .user-chip-small, [_nghost-%COMP%]     .internal-non-team-member-chip{width:100%}  .peoplekit-autocomplete-anchor{z-index:1001}/*# sourceMappingURL=user_picker.css.map */"]});var oU=function(){this.isReady=!1};oU.\u0275fac=function(a){return new (a||oU)};oU.\u0275cmp=t({type:oU,selectors:[["onedev-async-data-placeholder"]],inputs:{isReady:"isReady"},ngContentSelectors:["*"],decls:2,vars:2,consts:[["class","loading-indicator",4,"ngIf"],[4,"ngIf"],[1,"loading-indicator"]],template:function(a,b){a&1&&(Dg(),D(0,CYa,1,0,"div",0)(1,DYa,2,0,"ng-container",1));a&2&&(F("ngIf",!b.isReady),C(),F("ngIf",b.isReady))},dependencies:[Gw],styles:["[_nghost-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.loading-indicator[_ngcontent-%COMP%]{-webkit-animation:_ngcontent-%COMP%_opacity-gradient .5s linear 0s infinite alternate;animation:_ngcontent-%COMP%_opacity-gradient .5s linear 0s infinite alternate;background-image:-webkit-gradient(linear,left top,right top,from(#f1f3f4),to(#dadce0));background-image:-webkit-linear-gradient(left,#f1f3f4,#dadce0);background-image:linear-gradient(90deg,#f1f3f4,#dadce0);border-radius:3px;height:10px;width:80px;display:inline-block}@-webkit-keyframes _ngcontent-%COMP%_opacity-gradient{0%{opacity:0}to{opacity:1}}@keyframes _ngcontent-%COMP%_opacity-gradient{0%{opacity:0}to{opacity:1}}"]});var EHc=function(){this.warning=""};EHc.\u0275fac=function(a){return new (a||EHc)};
EHc.\u0275cmp=t({type:EHc,selectors:[["onedev-warning-icon"]],hostVars:2,hostBindings:function(a,b){a&2&&ng("is-present",b.warning)},inputs:{warning:"warning"},decls:1,vars:1,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"matTooltip",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"matTooltip"],["d","M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"]],template:function(a,b){a&1&&D(0,EYa,2,1,"svg",0);a&
2&&F("ngIf",b.warning)},dependencies:[Gw,MR],styles:[".is-present[_nghost-%COMP%]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:16px;line-height:16px;width:16px}svg[_ngcontent-%COMP%]{color:var(--icon-warn,#e37400);fill:currentColor;width:16px;height:16px}"]});var FHc=["*",[["","actions",""]]],GHc=[[["onedev-field-label"]],[["onedev-field-value"]]],HHc=0,pU=function(){this.thinking=!1;this.warning=this.labelTooltip="";this.id="onedev-field-label-"+HHc;HHc++};pU.\u0275fac=function(a){return new (a||pU)};
pU.\u0275cmp=t({type:pU,selectors:[["onedev-field-label"]],hostVars:1,hostBindings:function(a,b){a&2&&eg("id",b.id)},inputs:{thinking:"thinking",labelTooltip:"labelTooltip",warning:"warning"},ngContentSelectors:["*"],decls:4,vars:3,consts:[[3,"isReady"],[1,"label",3,"matTooltip"],[3,"warning"]],template:function(a,b){a&1&&(Dg(),I(0,"onedev-async-data-placeholder",0)(1,"span",1),Eg(2),J(),K(3,"onedev-warning-icon",2),J());a&2&&(F("isReady",!b.thinking),C(),F("matTooltip",b.labelTooltip),C(2),F("warning",
b.warning))},dependencies:[oU,MR,EHc],styles:["[_nghost-%COMP%]{line-height:29px;font-size:13px}span.label[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"]});var qU=function(){this.thinking=!1};qU.\u0275fac=function(a){return new (a||qU)};
qU.\u0275cmp=t({type:qU,selectors:[["onedev-field-value"]],inputs:{thinking:"thinking"},ngContentSelectors:["*","[actions]"],decls:3,vars:1,consts:[[3,"isReady"]],template:function(a,b){a&1&&(Dg(FHc),I(0,"onedev-async-data-placeholder",0),Eg(1),Eg(2,1),J());a&2&&F("isReady",!b.thinking)},dependencies:[oU],encapsulation:2});var rU=function(){this.labelPosition="left"};rU.prototype.ngAfterContentInit=function(){var a=this;setTimeout(function(){a.field&&a.label&&(a.field.labelledById=a.label.id)})};
rU.\u0275fac=function(a){return new (a||rU)};
rU.\u0275cmp=t({type:rU,selectors:[["onedev-edit-field"]],contentQueries:function(a,b,c){a&1&&(Ng(c,jU,5),Ng(c,pU,7));if(a&2){var d;Qg(d=Rg())&&(b.field=d.first);Qg(d=Rg())&&(b.label=d.first)}},inputs:{labelPosition:"labelPosition"},ngContentSelectors:["onedev-field-label","onedev-field-value"],decls:3,vars:4,consts:[[1,"wrapper"]],template:function(a,b){a&1&&(Dg(GHc),I(0,"div",0),Eg(1),Eg(2,1),J());a&2&&ng("active",b.field==null?null:b.field.isActive())("top-label",b.labelPosition==="top")},styles:[".wrapper[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start;padding:2px}.wrapper.top-label[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}[_nghost-%COMP%]     onedev-field-label{margin-right:5px}[_nghost-%COMP%]     onedev-field-value{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;min-height:29px}[_nghost-%COMP%]     onedev-field-value>*{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;width:100%}[_nghost-%COMP%]     onedev-field-value onedev-async-data-placeholder{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:start;-moz-box-align:start;-ms-flex-align:start;align-items:start}[_nghost-%COMP%]     onedev-field-value [actions]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}[_nghost-%COMP%]     onedev-field-value:not(.content-overflow){overflow:hidden;text-overflow:ellipsis}.active[_ngcontent-%COMP%]     onedev-field-label{color:var(--primary-default,#1a73e8)}"]});var IHc=["traditionalEditorField"],JHc=["peopleKitUserPicker"],sU=function(){this.activeSession=r(dv);this.issuePermissionService=r(ZL);this.issueDetailsBrain=r(XL);this.title=this.name="";this.value=null;this.valueChange=new rG;this.emailChange=new rG;this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;this.teamId$=this.issueDetailsBrain.teamId$;this.enablePeoplekitAc=lu(this.activeSession,"enablePeoplekitUserAc");this.FieldType=
PM};sU.prototype.openEditor=function(){if(this.enablePeoplekitAc){var a;(a=this.peopleKitUserPicker)==null||a.openPopOver()}else{var b;(b=this.traditionalEditorField)==null||eq(b,null,!0,!1)}};sU.\u0275fac=function(a){return new (a||sU)};
sU.\u0275cmp=t({type:sU,selectors:[["b-single-user-control"]],viewQuery:function(a,b){a&1&&(Mg(IHc,5),Mg(JHc,5));if(a&2){var c;Qg(c=Rg())&&(b.traditionalEditorField=c.first);Qg(c=Rg())&&(b.peopleKitUserPicker=c.first)}},inputs:{name:"name",title:"title",value:"value",user:"user",isSaving:"isSaving"},outputs:{valueChange:"valueChange",emailChange:"emailChange"},decls:2,vars:1,consts:[["traditionalEditorField",""],[1,"flex-1",3,"name","title","type","value","user","isUser","readonly","disabled","showAvailability",
"teamId"],[1,"flex-1",3,"valueChange","name","title","type","value","user","isUser","readonly","disabled","showAvailability","teamId"],[3,"thinking"],[3,"emailChange","user","teamId","disabled"]],template:function(a,b){a&1&&D(0,FYa,4,14,"b-edit-field",1)(1,GYa,7,9,"onedev-edit-field");a&2&&G(b.enablePeoplekitAc?1:0)},dependencies:[OM,pU,qU,rU,nU,Iw],encapsulation:2});var OYa=function(a){this.internalArray_=m(a)};Y(OYa,V);g=OYa.prototype;g.getName=function(){return Gh(this,1)};g.setName=function(a){return cj(this,1,a)};g.getSource=function(){return Gh(this,2)};g.setSource=function(a){return cj(this,2,a)};g.getResource=function(){return Gh(this,3)};g.setResource=function(a){return cj(this,3,a)};g.getType=function(){return Kj(this,4,0)};g.setType=function(a){return ej(this,4,a)};g.getScore=function(){return zl(this,6)};g.setScore=function(a){return Wl(this,6,a)};
g.getConfidence=function(){return Kj(this,7,0)};var HYa=[9,10];var mr=function(a){this.internalArray_=m(a)};Y(mr,V);mr.prototype.getType=function(){return Kj(this,2,0)};mr.prototype.setType=function(a){return ej(this,2,a)};var lr=function(a){this.internalArray_=m(a)};Y(lr,V);lr.prototype.getParent=function(){return Gh(this,1)};lr.prototype.setParent=function(a){return cj(this,1,a)};var KHc=function(a){this.internalArray_=m(a)};Y(KHc,V);g=KHc.prototype;g.getResource=function(){return Gh(this,1)};g.setResource=function(a){return cj(this,1,a)};g.getType=function(){return Kj(this,2,0)};g.setType=function(a){return ej(this,2,a)};g.setPageSize=function(a){return uj(this,4,a)};g.setPageToken=function(a){return cj(this,5,a)};g.setView=function(a){return ej(this,6,a)};var tU=function(a){this.internalArray_=m(a,0,tU.messageId)};Y(tU,V);tU.prototype.getParent=function(){return Gh(this,1)};tU.prototype.setParent=function(a){return cj(this,1,a)};tU.prototype.setRequestsList=function(a){return $l(this,2,a)};tU.prototype.addAndReturnRequests=function(){return zc(this,2,lr)};tU.messageId="b.BatchCreateUserEngagementsRequest";var LHc=function(a){this.internalArray_=m(a,0,LHc.messageId)};Y(LHc,V);LHc.prototype.getNextPageToken=function(){return Gh(this,2)};LHc.messageId="b.LookupRecommendationsResponse";var uU=function(){this.executor=r(OB)};uU.prototype.lookupRecommendations=function(a){var b=(new KHc).setResource(a.resource).setType(z7b[a.type]).setPageSize(a.pageSize).setPageToken(a.pageToken).setView(B7b[a.view]);a.minConfidence!==void 0&&ej(b,3,d7b[a.minConfidence]);return this.executor.post({url:"action/recommendations/lookup",body:b,responseConstructor:LHc}).pipe(B(PYa))};
uU.prototype.createUserEngagements=function(a){a=(new tU).setRequestsList(a.map(NYa));return this.executor.post({url:"action/recommendations/engagements/batch",body:a,responseConstructor:null})};uU.\u0275fac=function(a){return new (a||uU)};uU.\u0275prov=n({token:uU,factory:uU.\u0275fac,providedIn:"root"});var vU=function(){this.observableApi=r(uU)};vU.prototype.lookupRecommendations=function(a){return Je(this.observableApi.lookupRecommendations(a))};vU.prototype.createUserEngagements=function(a){return Je(this.observableApi.createUserEngagements(a))};
vU.\u0275fac=function(a){return new (a||vU)};vU.\u0275prov=n({token:vU,factory:vU.\u0275fac,providedIn:"root"});var wU=function(){this.buttonRef=r(ge);this.toRefocus=!1};wU.prototype.ngOnChanges=function(){var a=this;this.disabled?(document.activeElement!==this.buttonRef.nativeElement||this.toRefocus||(this.toRefocus=!0),this.buttonRef.nativeElement.disabled=!0):(this.buttonRef.nativeElement.disabled=!1,document.activeElement!==this.buttonRef.nativeElement&&this.toRefocus&&setTimeout(function(){a.buttonRef.nativeElement.focus();a.toRefocus=!1}))};wU.\u0275fac=function(a){return new (a||wU)};
wU.\u0275dir=ud({type:wU,selectors:[["button","disabled","","focusBack",""]],inputs:{disabled:"disabled"},features:[Hd]});var xU=function(){this.activeSession=r(dv);this.cdr=r(rw);this.disabled=this.starred=!1;this.acceptInput=!0;this.starMessage="Star the issue";this.unStarMessage="Un-star the issue";this.starClicked=new rG;this.isAnonymous=this.activeSession.isAnonymous()};g=xU.prototype;g.onClick=function(a){a.stopPropagation();this.acceptInput&&(this.starClicked.emit(!!this.starred),this.cdr.markForCheck())};g.onEnter=function(a){this.onClick(a)};g.isDisabled=function(){return this.isAnonymous||this.disabled};
g.getLabel=function(){return this.isAnonymous?"Sign in to use full features.":this.starred?this.unStarMessage:this.starMessage};g.getAriaLabel=function(){return this.isAnonymous?"Sign in to use full features.":this.starMessage};xU.\u0275fac=function(a){return new (a||xU)};
xU.\u0275cmp=t({type:xU,selectors:[["b-star-toggle"]],inputs:{starred:"starred",disabled:"disabled",acceptInput:"acceptInput",starMessage:"starMessage",unStarMessage:"unStarMessage"},outputs:{starClicked:"starClicked"},decls:4,vars:7,consts:[["tooltip","matTooltip"],[1,"inline-block",3,"matTooltip"],["mat-icon-button","","focusBack","","role","checkbox",1,"small",3,"keydown.enter","click","focus","blur","disabled"],[1,"icon-s",3,"svgIcon"]],template:function(a,b){if(a&1){var c=x();I(0,"div",1,0)(2,
"button",2);M("keydown.enter",function(d){z(c);return A(b.onEnter(d))})("click",function(d){z(c);return A(b.onClick(d))})("focus",function(){z(c);var d=L(1);return A(d.show())})("blur",function(){z(c);var d=L(1);return A(d.hide())});K(3,"mat-icon",3);J()()}a&2&&(F("matTooltip",b.getLabel()),C(2),ng("starred",b.starred),F("disabled",b.isDisabled()),eg("aria-label",b.getAriaLabel())("aria-checked",b.starred),C(),F("svgIcon",b.starred?"star-filled":"star-empty"))},dependencies:[$D,vD,Xy,FH,HH,wU],styles:["[_nghost-%COMP%]{opacity:.9;text-align:center}[_nghost-%COMP%]:hover{opacity:1}[_nghost-%COMP%]   button.mat-mdc-icon-button[_ngcontent-%COMP%]{color:#80868b;color:var(--gfx-muted)}[_nghost-%COMP%]   button.mat-mdc-icon-button.starred[_ngcontent-%COMP%]{color:#e37400;color:var(--favorite-star)}[_nghost-%COMP%]   button.mat-mdc-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:-2px;margin-right:initial}"],
changeDetection:0});var yU=function(){this.activeSession=r(dv);this.ROUTES=tq;this.isCompact=!1;this.starClicked=new rG;this.currentUserEmail=this.activeSession.getUserEmail()};yU.prototype.ngOnInit=function(){};yU.prototype.isDirectAdmin=function(a){return a?Si(a.adminUsers).includes(this.currentUserEmail):!1};yU.prototype.shouldShowStar=function(a){return!this.isDirectAdmin(a)&&!a.archived};yU.\u0275fac=function(a){return new (a||yU)};
yU.\u0275cmp=t({type:yU,selectors:[["hotlist-matlist-option"]],inputs:{hotlist:"hotlist",isCompact:"isCompact",starredHotlists:"starredHotlists",isSavingStar:"isSavingStar"},outputs:{starClicked:"starClicked"},decls:1,vars:1,consts:[[1,"hotlist-matlist-option"],[1,"title-line"],[1,"overflow-ellipsis"],[1,"hotlist-link-and-star","flex-kids-x","align-items-center","gap-xs"],[1,"valign-middle",3,"starMessage","unStarMessage","acceptInput","starred"],["matTooltip","Open hotlist in a new tab","target",
"_blank",1,"keep-focus-ring",3,"click","keydown.enter","routerLink"],["svgIcon","pop-out",1,"icon-s"],[1,"line-clamp-2","muted","type-s"],[1,"valign-middle",3,"starClicked","starMessage","unStarMessage","acceptInput","starred"]],template:function(a,b){a&1&&D(0,SYa,9,4,"div",0);a&2&&G(b.hotlist?0:-1)},dependencies:[$D,JE,xU,FH,HH,Iw],encapsulation:2,changeDetection:0});var MHc=function(){this.tokens=new Map};MHc.prototype.add=function(a,b){var c=this.tokens.get(a);c?c.push(b):this.tokens.set(a,[b]);return this};MHc.prototype.build=function(){var a=this,b=Array.from(this.tokens.keys()).sort();return new NHc(b.map(function(c){return{token:c,labels:a.tokens.get(c)}}))};var NHc=function(a){this.sortedEntries=a};
NHc.prototype.match=function(a){for(var b=0,c=this.sortedEntries.length-1;b<=c;){var d=b+Math.floor((c-b)/2),e=this.sortedEntries[d].token;if(a===e){b=d;break}else a>e?b=d+1:c=d-1}for(c=[];b<this.sortedEntries.length;b++)if(this.sortedEntries[b].token.startsWith(a))c.push(this.sortedEntries[b]);else break;return c};NHc.prototype.search=function(a){var b=new Set;a=k(this.match(a));for(var c=a.next();!c.done;c=a.next()){c=k(c.value.labels);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b};
var OHc=function(a,b){if(b.length===0)return new Set;for(var c=a.search(b[0]),d=1;d<b.length&&c.size>0;d++){var e=[].concat(w(a.search(b[d]))).filter(function(f){return c.has(f)});c=new Set(e)}return c};var PHc=function(a){this.hotlists=a;var b=new MHc,c=new MHc;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,f=((e=d.name)==null?0:e.trim())?kGa(d.name.toLowerCase()):[];e=k(f);for(f=e.next();!f.done;f=e.next())b.add(f.value,d);e=void 0;f=((e=d.description)==null?0:e.trim())?kGa(d.description.toLowerCase()):[];e=k(f);for(f=e.next();!f.done;f=e.next())c.add(f.value,d)}this.nameTokenMatcher=b.build();this.descriptionTokenMatcher=c.build();this.positions=new Map(this.hotlists.map(function(h,
l){return[h,l]}))};
PHc.prototype.search=function(a){a=a.toLowerCase();for(var b=new Set,c=k(this.hotlists),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0,f=(e=d.name)==null?void 0:e.toLowerCase(),h=void 0;e=(h=d.description)==null?void 0:h.toLowerCase();h=d.hotlistId;var l=void 0,q=void 0;(era(a)&&String(h).includes(a)||((l=f)==null?0:l.includes(a))||((q=e)==null?0:q.includes(a)))&&b.add(d)}a=kGa(a);c=k(OHc(this.nameTokenMatcher,a));for(d=c.next();!d.done;d=c.next())b.add(d.value);a=k(OHc(this.descriptionTokenMatcher,a));
for(c=a.next();!c.done;c=a.next())b.add(c.value);return QHc(this,b)};var QHc=function(a,b){return[].concat(w(b)).sort(function(c,d){c=a.positions.get(c);d=a.positions.get(d);return c===d?0:c<d?-1:1})};var zU=function(){this.innerHeight$=Qe(Re(function(){return Fe(window.innerHeight)}),Te(window,"resize").pipe(B(function(){return window.innerHeight})))};zU.\u0275fac=function(a){return new (a||zU)};zU.\u0275prov=n({token:zU,factory:zU.\u0275fac,providedIn:"root"});var eZa=function(a,b){return b.hotlistId},RHc={USER:"USER",ISSUE:"ISSUE",RECOMMENDED:"RECOMMENDED"},AU=function(){Z.call(this);var a=this;this.dialogRef=r(dL);this.data=r(jL);this.paths=r(zO);this.hotlistFridge=r(mF);this.currentUserBookmarksFridge=r(rF);this.hotlistApi=r(hF);this.snackBar=r(eE);this.appEvents=r(nE);this.errorHandler=r(jE);this.userApi=r(lF);this.windowHeight=r(zU);this.permissionsFridge=r(WG);this.activeSession=r(dv);this.hotlistRecommendationsEnabled=lu(this.activeSession,"enableHotlistRecommendationUi");
this.HotlistType=RHc;this.NO_ACCESS_MESSAGE="You don't have permissions to add/remove issues on this hotlist.";this.showCreateNewPane=!1;this.query$=new bo("");this.debouncedQuery$=this.query$.pipe(Af(100),Mf(""));this.hotlists=[];this.allHotlistIds=new Set(this.data.selectedHotlistIds);this.selectedHotlistIds=new Set(this.data.selectedHotlistIds);this.previousSelectedHotlistIds=new Set(this.selectedHotlistIds);this.usePreviousSelectedHotlists=!1;this.originalIds=new Set(this.data.selectedHotlistIds);
this.pristine=!0;this.saveBtnLabel="Save";this.saveBtnTooltip="Save your hotlist choices (Shift + Enter)";this.hotlistUnderEdit=new yz({name:new Az("",pz),description:new Az("")});this.starredHotlists=new KB;this.isSavingStar=new KB;this.userHotlists$=sF(this.currentUserBookmarksFridge).pipe(B(function(b){return b.sort(oZa)}));this.issueHotlists$=this.hotlistFridge.watchSet(Array.from(this.data.selectedHotlistIds)).pipe(B(function(b){return b.sort(oZa)}));this.combineHotlistsWithPermissions=B(function(b){var c=
a.permissionsFridge.watchSet(b.map(function(d){return"hotlists/"+d.hotlistId}));return b.map(function(d,e){return Object.assign({},d,{permissions$:c.pipe(B(function(f){return f[e]}))})})});this.recommendedHotlists$=this.data.recommendedHotlists$;this.hotlists$=Me([this.issueHotlists$,this.recommendedHotlists$,this.userHotlists$]).pipe(B(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;return[].concat(w(b.map(function(e){return Object.assign({},e,{type:"ISSUE"})})),w(d.map(function(e){return Object.assign({},
e,{type:"RECOMMENDED"})})),w(c.map(function(e){return Object.assign({},e,{type:"USER"})})))}),B(vta(function(b){return b.hotlistId})),B(function(b){return b.filter(kj)}),this.combineHotlistsWithPermissions,Kf({bufferSize:1,refCount:!0}));this.hotlistQuerySearcher$=this.hotlists$.pipe(B(function(b){return new PHc(b)}),Kf({bufferSize:1,refCount:!0}));this.forceShowOverflow$=new Jf;this.matchedHotlists$=Me([this.debouncedQuery$,this.hotlistQuerySearcher$,this.hotlists$]).pipe(B(function(b){var c=k(b);
b=c.next().value;var d=c.next().value;c=c.next().value;return b.trim()!==""?d.search(b):c}),Kf({bufferSize:1,refCount:!0}));this.visibleHotlists$=Me([this.matchedHotlists$,Xe(this.matchedHotlists$.pipe(B(function(){return!1})),this.forceShowOverflow$)]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b.length>200&&!c?b.slice(0,200):b}),Kf({bufferSize:1,refCount:!0}));this.isOverflowMode$=Me([this.matchedHotlists$,this.visibleHotlists$]).pipe(B(function(b){var c=k(b);b=c.next().value;
c=c.next().value;return b.length!==c.length}));this.showLoadById$=this.query$.pipe(B(function(b){b=b.trim();return!a.allHotlistIds.has(Number(b))&&era(b)}));this.showCreateNew$=Me([this.query$,this.matchedHotlists$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return pZa(b,c)}));this.compactNumberOfHotlistsToShow$=this.windowHeight.innerHeight$.pipe(B(function(b){return Math.max(1,Math.floor(b*.5/24))}),Ef());this.compactNumberOfHotlistsToShow$.pipe(B(function(b){return b*24}));
this.subscriptions.add(this.hotlists$.subscribe(function(b){a.hotlists=b;b=k(b);for(var c=b.next();!c.done;c=b.next())a.allHotlistIds.add(c.value.hotlistId)}))};Y(AU,Z);AU.\u0275dir=Z.\u0275dir;AU.prototype.ngOnInit=function(){var a=this;SHc(this);this.query$.pipe(Of(this.destroyed$)).subscribe(function(){a.hotlistUnderEdit.setValue({name:a.query$.value,description:""})})};
AU.prototype.onChangeMatList=function(a){var b=this;a=a.options;this.previousSelectedHotlistIds=new Set(this.selectedHotlistIds);a.forEach(function(d){d.selected?b.selectedHotlistIds.add(d.value):b.selectedHotlistIds.delete(d.value)});a=Uqa(this.originalIds,this.selectedHotlistIds);this.pristine=!a;var c=k(qZa(a));a=c.next().value;c=c.next().value;this.saveBtnLabel=a;this.saveBtnTooltip=c};
var nr=function(a){a.dialogRef.close(a.usePreviousSelectedHotlists?a.previousSelectedHotlistIds:a.selectedHotlistIds)},lZa=function(a){var b;return(a=(b=a.hotlistUnderEdit.get("name"))==null?void 0:b.value)?a:""},THc=function(a){var b;return(a=(b=a.hotlistUnderEdit.get("description"))==null?void 0:b.value)?a:""},kZa=function(a){a.snackBar.open("Saving hotlist...","dismiss",{duration:0});var b=lZa(a),c=THc(a);a.hotlistApi.createHotlist(b,c).then(function(d){a.snackBar.open('Hotlist "'+d.name+"'\" saved.",
"dismiss",{duration:3E3});d=d.hotlistId;a.appEvents.hotlistChanged.next({hotlistId:d});a.selectedHotlistIds.add(d);a.dialogRef.close(a.selectedHotlistIds)}).catch(function(d){a.errorHandler.errorHandler(null,d)})},SHc=function(a){Je(Acc(a.currentUserBookmarksFridge)).then(function(b){a.starredHotlists.clear();for(var c=k(b.hotlists),d=c.next();!d.done;d=c.next()){d=d.value;var e=Number(d.id);d.starred&&a.starredHotlists.add(e)}b=k(b.bookmarkGroups);for(c=b.next();!c.done;c=b.next())for(c=k(c.value.sublinks||
[]),d=c.next();!d.done;d=c.next())d=d.value,d.starred&&a.starredHotlists.add(Number(d.id))}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
AU.prototype.toggleStar=function(a){var b=this,c,d,e;return ve(function(f){switch(f.nextAddress){case 1:c=b.starredHotlists.has(a);d={resourceType:"HOTLIST",resourceId:a};we(f,2,3);b.isSavingStar.add(a);if(c)return b.starredHotlists.delete(a),xe(f,b.userApi.removeUserBookmark(d),3);b.starredHotlists.add(a);return xe(f,b.userApi.addUserBookmark(d),3);case 3:ye(f);b.isSavingStar.delete(a);ze(f,4);break;case 2:e=Be(f);lE(b.errorHandler,e);f.jumpTo(3);break;case 4:b.appEvents.hotlistChanged.next(),b.appEvents.favoritesModified.next(),
Ce(f)}})};var VYa=function(a,b){a.hotlistApi.get(b).then(function(c){a.hotlists.push(c);a.selectedHotlistIds.add(c.hotlistId);nr(a)}).catch(function(c){a.errorHandler.errorHandler(null,c)})};AU.\u0275fac=function(a){return new (a||AU)};
AU.\u0275cmp=t({type:AU,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&M("keydown.meta.enter",function(){return nr(b)})("keydown.shift.enter",function(){return nr(b)})("keydown.control.enter",function(){return nr(b)})},features:[cg],decls:11,vars:2,consts:[["createNewHotlistBtn",""],["createNewHotlistPane",""],["searchBox",""],["content",""],["tooltip","matTooltip"],["mat-button","","mat-dialog-close","","tooltip","Dismiss modal","aria-label","Dismiss modal","role","button",3,"click"],
["mat-flat-button","","color","primary",3,"mat-dialog-close","matTooltip","disabled"],[4,"ngTemplateOutlet"],["mat-dialog-title",""],[1,"search-container"],["svgIcon","search"],["type","search","spellcheck","false","autocomplete","off","aria-label","Filter hotlists","placeholder","Type to filter hotlists from your sidebar",1,"search-box",3,"input"],["mat-dialog-content","",1,"search-results"],[1,"load-from-id-btn"],[1,"create-new-hotlist-btn"],[1,"load-from-id-btn",3,"click"],[1,"muted"],[1,"create-new-hotlist-btn",
3,"click"],[3,"selectionChange","keydown.meta.enter","keydown.shift.enter","keydown.control.enter"],[3,"matTooltip"],[1,"margin-top","kids-x"],[3,"class"],["checkboxPosition","before",3,"selected","disabled","value","height"],["svgIcon","issue-status-new",1,"icon-s","vertical-centered"],["svgIcon","star-filled",1,"icon-s","canned-search-icon"],[1,"icon-s"],["checkboxPosition","before",3,"focus","blur","selected","disabled","value"],[3,"starClicked","hotlist","isCompact","starredHotlists","isSavingStar"],
[1,"force-show-overflow-btn",3,"click"],["mat-flat-button","","color","primary",3,"click","mat-dialog-close","matTooltip","disabled"],["mat-flat-button","","color","primary","matTooltip","Create new hotlist","aria-label","Create",3,"click","disabled"],["mat-dialog-content",""],[1,"create-hotlist-pane"],[3,"formGroup"],["for","hotlist-name"],"type text autofocus autofocus id hotlist-name required  aria-required true formControlName name".split(" "),["for","hotlist-description",1,"margin-s-top"],["id",
"hotlist-description","formControlName","description"]],template:function(a,b){if(a&1){var c=x();D(0,UYa,1,1,"ng-container")(1,gZa,15,9);I(2,"mat-dialog-actions")(3,"button",5);M("click",function(){z(c);b.dialogRef.close();return A()});Q(4," Cancel ");J();D(5,iZa,1,1,"ng-container")(6,jZa,2,5,"button",6);J();D(7,mZa,2,1,"ng-template",null,0,fh)(9,nZa,14,1,"ng-template",null,1,fh)}a&2&&(G(b.showCreateNewPane?0:1),C(5),G(b.showCreateNewPane?5:6))},dependencies:[Hw,$D,lL,nL,pL,oL,vD,Vy,cN,jN,iN,Cz,ki,
tz,uz,Mz,Hz,Iz,FH,HH,yU,Iw],styles:[".left-padding[_ngcontent-%COMP%]{padding-left:10px}[_nghost-%COMP%]     .mat-mdc-dialog-content{width:500px;overflow-y:overlay}[_nghost-%COMP%]     .mat-mdc-dialog-title{margin:0}[_nghost-%COMP%]     .mat-mdc-dialog-title::before{height:unset}[_nghost-%COMP%]     .mat-mdc-dialog-title h2{margin-top:0;margin-bottom:8px}[_nghost-%COMP%]     .search-container{background-color:#f1f3f4;background-color:var(--main-search-bg);display:flex;flex-direction:row;justify-content:center;align-items:center;border-radius:8px;width:100%;height:40px}[_nghost-%COMP%]     .search-container mat-icon{margin-left:8px}[_nghost-%COMP%]     .search-container input.search-box{color:#202124;color:var(--text-high-contrast);outline:none;border:none;background-color:rgba(0,0,0,0);margin-left:5px;height:100%;width:100%;padding-right:4px}[_nghost-%COMP%]     .search-results mat-list-option .title-line{display:flex;align-items:center;justify-content:space-between;height:24px}[_nghost-%COMP%]     .search-results mat-list-option a, [_nghost-%COMP%]     .search-results mat-list-option mat-icon{height:17px;line-height:17px}[_nghost-%COMP%]     .search-results mat-list-option p{font-size:.75rem;margin-top:-2px;line-height:1.2}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star{visibility:hidden}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star a{margin-right:2px}[_nghost-%COMP%]     .search-results mat-list-option .hotlist-link-and-star a mat-icon{margin-top:-2px}[_nghost-%COMP%]     mat-list-option:focus-within .hotlist-link-and-star, [_nghost-%COMP%]     mat-list-option:hover .hotlist-link-and-star{visibility:unset}[_nghost-%COMP%]     .create-new-hotlist-btn, [_nghost-%COMP%]     .load-from-id-btn, [_nghost-%COMP%]     .force-show-overflow-btn{background:none;border:none;text-align:left;min-height:34px;padding-left:38px}[_nghost-%COMP%]     .create-new-hotlist-btn:hover, [_nghost-%COMP%]     .load-from-id-btn:hover, [_nghost-%COMP%]     .force-show-overflow-btn:hover{cursor:pointer;background-color:rgba(0,0,0,.04);background-color:var(--hover)}[_nghost-%COMP%]     .create-hotlist-pane label{display:block;color:#5f6368;color:var(--muted);font-weight:500}[_nghost-%COMP%]     .create-hotlist-pane input, [_nghost-%COMP%]     .create-hotlist-pane textarea{width:100%;box-sizing:border-box}[_nghost-%COMP%]     mat-list-option label{font-size:.8125rem}[_nghost-%COMP%]     .mat-mdc-list-base{margin:0 -24px}[_nghost-%COMP%]     .mat-mdc-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-left:12px}/*# sourceMappingURL=hotlist_picker_modal.css.map */"],
changeDetection:0});var BU=function(){ZB.call(this);this.api=r(uU);this.recordType="HotlistRecommendation";this.idKey="issueId";this.isEqual=yi};Y(BU,ZB);BU.prototype.fetchOne=function(a){return this.api.lookupRecommendations({resource:"issues/"+a,type:"HOTLIST",minConfidence:"MEDIUM",view:"FULL",pageSize:10}).pipe(B(function(b){return{issueId:a,recommendations:b.recommendations}}))};BU.\u0275fac=function(a){return new (a||BU)};BU.\u0275prov=n({token:BU,factory:BU.\u0275fac,providedIn:"root"});var CU=function(){this.dialog=r(kL);this.issueFullFridge=r(yG);this.eventsForIssueFridge=r(yF);this.errorHandler=r(jE);this.hotlistRecommendationFridge=r(BU);this.recommendationsApi=r(vU);this.activeSession=r(dv)},XHc=function(a,b){var c,d,e,f,h,l,q,v,y,E;return ve(function(H){switch(H.nextAddress){case 1:return xe(H,Je(b),2);case 2:c=H.yieldResult;e=(d=c)==null?void 0:d.snapshot[0].hotlistId;if(!e||!c)return H.return();f=String(c.issueId);h=UHc(a,f);l=h.pipe(B(function(O){return O.map(function(N){var T;
return(T=N.content)==null?void 0:T.recommendedHotlist}).filter(kj)}));return xe(H,VHc(a,e,l),3);case 3:q=H.yieldResult;if(q==null)return H.return();v=q.added.map(String);y=q.removed.map(String);we(H,4,5);return xe(H,vec(a.issueFullFridge,f,v,y),5);case 5:return ye(H),a.eventsForIssueFridge.poke(f),xe(H,WHc(a,h,v),8);case 8:ze(H,0);break;case 4:E=Be(H),lE(a.errorHandler,E),H.jumpTo(5)}})},VHc=function(a,b,c){var d,e,f,h,l;return ve(function(q){if(q.nextAddress==1)return d={selectedHotlistIds:b,recommendedHotlists$:c},
e={panelClass:"no-jitter",data:d,ariaLabel:"Search for Hotlists"},f=a.dialog.open(AU,e),xe(q,Je(eL(f)),2);h=q.yieldResult;if(!h)return q.return(Promise.resolve());l=Uqa(new Set(b),new Set(h));return q.return(Promise.resolve(l))})},UHc=function(a,b){var c=lu(a.activeSession,"enableHotlistRecommendationUi");return b&&c?a.hotlistRecommendationFridge.watch(b).pipe(B(function(d){return(d==null?void 0:d.recommendations)||[]})):Fe([])},WHc=function(a,b,c){var d,e;return ve(function(f){if(f.nextAddress==
1)return xe(f,Je(b),2);d=f.yieldResult;e=d.filter(function(h){var l,q;return(h=(l=h.content)==null?void 0:(q=l.recommendedHotlist)==null?void 0:q.hotlistId)&&c.includes(String(h))}).map(function(h){return{parent:h.name,userEngagement:{type:"ACCEPTED"}}});return e.length===0?f.return():xe(f,a.recommendationsApi.createUserEngagements(e),0)})};CU.\u0275fac=function(a){return new (a||CU)};CU.\u0275prov=n({token:CU,factory:CU.\u0275fac,providedIn:"root"});var YHc={ASSIGNEE:"ASSIGNEE",CC_LIST:"CC_LIST",CODE_CHANGES:"CODE_CHANGES",COLLABORATORS:"COLLABORATORS",COMMENT:"COMMENT",COMPONENT:"COMPONENT",HOTLISTS:"HOTLISTS",PRIORITY:"PRIORITY",SEVERITY:"SEVERITY",STATUS:"STATUS",TYPE:"TYPE"},DU=function(){var a=this;this.componentTemplatesFridge=r(SE);this.triageService=r(DH);this.issueFullFridge=r(yG);this.editIssueService=r(jM);this.hotlistPickerService=r(CU);this.issueCommentDialogsService=r(mT);this.issueLimits=r(uT);this.issuePermissionService=r(ZL);
this.jspbPrincipalTypes=r(XG);this.constants=r(uL);this.activeSession=r(dv);this.issueEditComponentService=r(yO);this.IssueFieldKey=YHc;this.HOTKEYS=ep;this.FieldType=PM;this.ListFieldType=bwc;this.IssueType=y7b;this.IssueSeverity=u7b;this.IssuePriority=n7b;this.IssueStatus=v7b;this.codeChangesValidator=cta;this.overlayPositionList=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",offsetY:-8},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top",offsetY:-8}];this.componentId$=
new bo(void 0);this.issueId$=this.triageService.currentIssueId$.pipe(Ye(kj),Ef());this.issue$=this.issueId$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}));this.editableIssue$=this.issueId$.pipe(B(function(b){return a.editIssueService.editableIssue(b)}));this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;this.defaultAssigneeForComponent$=this.componentId$.pipe(Nf(function(b){return b?a.componentTemplatesFridge.defaultTemplate$(String(b)):Fe(void 0)}),B(function(b){return b&&Ui(b.snapshot.assigneeUser)}));
this.isCurrentUserCollaborator=this.isCurrentUserCcd=!1;this.fields=[];this.automaticChanges=[];this.showAssignToSelf=!1;this.cancelAction=new rG;this.completeAction=new rG;this.typeChoices=this.constants.editIssueTypeChoices;this.severityChoices=this.constants.severities.map(function(b){return{value:b,displayText:b}});this.priorityChoices=this.constants.priorities.map(function(b){return{value:b,displayText:b,hotkey:xFa(b)}});this.statusChoices=X7b.filter(function(b){return b.value!=="DUPLICATE"}).map(function(b){return Object.assign({},
b,{hotkey:yFa(b.value)})});this.currentUserEmail=this.activeSession.getUserEmail();this.sessionIsInternal=this.activeSession.isInternalSession();this.sessionIsExternal=this.activeSession.isExternalSession();this.isSaving$=new bo(!1);this.showCommentInput=!1;this.collaboratorUserPrincipalValidator=function(b){var c,d,e;return ve(function(f){if(f.nextAddress==1){if(!b)return f.return("This field is required");c=b.split(",").map(function(h){return h.trim()}).filter(Boolean);return xe(f,Gfc(a.jspbPrincipalTypes,
c,!1),2)}d=f.yieldResult;e=c.find(function(h){var l;return((l=d[h])==null?void 0:l.principalType)!=="USER"});return f.return(e?"You can only add users to collaborators.":"")})}};g=DU.prototype;
g.ngOnInit=function(){for(var a=k(this.automaticChanges),b=a.next();!b.done;b=a.next()){b=b.value;var c=Xo(this.editableIssue$),d=b.field;switch(d){case "STATUS":c.setStatus(b.value);break;case "ASSIGNEE":c.setAssignee(b.value);break;default:xb(d)}}a=Xo(this.editableIssue$);this.componentId=a.componentId;this.componentId$.next(a.componentId);ZHc(this,a);$Hc(this,a)};g.ngOnDestroy=function(){var a=Xo(this.issueId$);a&&this.editIssueService.clear(a)};g.setSeverity=function(a,b){a.setSeverity(b)};
g.setPriority=function(a,b){a.setPriority(b)};g.setAssignee=function(a,b){a.setAssignee(b)};g.setType=function(a,b){a.setType(b)};g.setStatus=function(a,b){a.setStatus(b)};g.setComponent=function(a){this.componentId=a;this.componentId$.next(a)};g.setCodeChanges=function(a,b){a.setCodeChanges(b)};g.setCcs=function(a,b){b=[].concat(w(new Set(b.newUsers)));a.cc=b;this.isCurrentUserCcd=b.includes(this.activeSession.getUserEmail());$Hc(this,a)};
g.setCollaborators=function(a,b){b=[].concat(w(new Set(b.newUsers)));a.setCollaborators(b);ZHc(this,a)};var JZa=function(a,b){var c=b.cc;a.isCurrentUserCcd?(c=c.filter(function(d){return!YL(a.issuePermissionService,d)}),b.cc=c):(c.push(a.activeSession.getUserEmail()),b.cc=c);$Hc(a,b)};
DU.prototype.toggleCollaborators=function(a){var b=this,c=a.collaborators;this.isCurrentUserCollaborator?(c=c.filter(function(d){return!YL(b.issuePermissionService,d)}),a.setCollaborators(c)):(c.push(this.activeSession.getUserEmail()),a.setCollaborators(c));ZHc(this,a)};var $Hc=function(a,b){a.isCurrentUserCcd=b.cc.includes(a.activeSession.getUserEmail())},ZHc=function(a,b){a.isCurrentUserCollaborator=b.collaborators.includes(a.activeSession.getUserEmail())};g=DU.prototype;
g.openHotlistModal=function(){var a=this;return ve(function(b){return xe(b,XHc(a.hotlistPickerService,a.issue$),0)})};g.onHotlistRemoved=function(a,b){var c=this;return ve(function(d){return xe(d,c.issueFullFridge.removeHotlists(b,[String(a)]),0)})};
g.save=function(a){var b=this,c,d,e;return ve(function(f){switch(f.nextAddress){case 1:b.isSaving$.next(!0);c=a.componentId;if(!b.componentId||b.componentId===a.componentId){f.jumpTo(2);break}return xe(f,b.issueEditComponentService.updateComponent(a.issueId,b.componentId),3);case 3:if(d=f.yieldResult,a.componentId=c,!d)return b.isSaving$.next(!1),f.return();case 2:if(!b.shouldSubmitComment(a.issueId)){f.jumpTo(4);break}return xe(f,b.submitComment(a.issueId),5);case 5:if(e=f.yieldResult,!e)return b.isSaving$.next(!1),
f.return();case 4:return xe(f,kM(b.editIssueService,a),6);case 6:b.isSaving$.next(!1),b.completeAction.emit(a.issueId),Ce(f)}})};g.toggleAccessLimits=function(a){this.issueLimits.isOpen()||this.componentId&&this.issueLimits.open({componentId:this.componentId,issueId:a})};
g.submitComment=function(a){var b=this,c,d;return ve(function(e){c=b.editIssueService.issueCommentDraft(a).comment();d=b.editIssueService.editableIssue(a);return e.return(b.issueCommentDialogsService.submitCommentBox(String(d.componentId),a,c))})};g.shouldSubmitComment=function(a){a=this.editIssueService.issueCommentDraft(a).comment();return this.showCommentInput&&!!a.value};g.hideComment=function(){this.showCommentInput=!1};g.showComment=function(){this.showCommentInput=!0};
DU.\u0275fac=function(a){return new (a||DU)};
DU.\u0275cmp=t({type:DU,selectors:[["verify-fields"]],inputs:{fields:"fields",automaticChanges:"automaticChanges",showAssignToSelf:"showAssignToSelf"},outputs:{cancelAction:"cancelAction",completeAction:"completeAction"},decls:2,vars:3,consts:[["priorityField",""],["assigneeField",""],["typeField",""],["statusField",""],[1,"bv2-issue-metadata","overflow"],[1,"full-width","padded-s-top"],[1,"flex-kids-x","gap","margin-top"],["mat-flat-button","",1,"gmat-button",3,"click","disabled"],["mat-button",
"",1,"gmat-button",3,"click"],[1,"flex-1",3,"name","title","type","tooltip","value","choices","readonly"],[1,"flex-1",3,"name","title","type","tooltip","value","choices","hotkey","readonly"],[1,"bv2-issue-metadata-field","bv2-issue-metadata-field-inner"],[3,"name","title","type","value","choices","readonly"],[3,"name","title","type","value","choices","showHotkeyHint","hotkey","readonly"],[3,"readonly","defaultLineCount","title","inputValidator","type","values"],[3,"title","values","users","includeSelfActionDescription",
"includeSelfActionLongDescription","overlayPosition","removeSelfActionDescription","removeSelfActionLongDescription","collectionHovercardDescription","isCurrentUserInCollection","isAllowedToEditCollection","iconName","inputValidator","checkAccessLimits"],[3,"title","values","users","includeSelfActionDescription","includeSelfActionLongDescription","overlayPosition","removeSelfActionDescription","removeSelfActionLongDescription","collectionHovercardDescription","isCurrentUserInCollection","isAllowedToEditCollection",
"iconName"],[1,"flex-1",3,"valueChange","name","title","type","tooltip","value","choices","readonly"],[1,"flex-1",3,"onHotkey","valueChange","name","title","type","tooltip","value","choices","hotkey","readonly"],[1,"bv2-editable-title"],[1,"flex-1","hotlist-container","bv2-editable-value"],["mat-stroked-button","","aria-label","Add Hotlist","matTooltip","Add Hotlist",1,"small","add-hotlists-btn",3,"click"],["svgIcon","add",1,"icon-xs","margin-xs-right"],[3,"id"],[3,"removeHotlist","id"],[1,"flex-1",
3,"onHotkey","valueChange","emailChange","name","title","hotkey","value","user"],[1,"assign-chips"],[1,"field-label-spacer"],["mat-stroked-button","",1,"small","add-assignee-btn",3,"disabled","hotkey","matTooltip"],["mat-stroked-button","","aria-label","Assign to me",1,"small","add-assignee-btn",3,"matTooltip"],["mat-stroked-button","",1,"small","add-assignee-btn",3,"click","onHotkey","disabled","hotkey","matTooltip"],[1,"icon-xs","margin-xs-right",3,"svgIcon"],["mat-stroked-button","","aria-label",
"Assign to me",1,"small","add-assignee-btn",3,"click","onHotkey","matTooltip"],[3,"valueChange","name","title","type","value","choices","readonly"],[3,"onHotkey","valueChange","name","title","type","value","choices","showHotkeyHint","hotkey","readonly"],[3,"valuesChange","readonly","defaultLineCount","title","inputValidator","type","values"],[3,"componentChanged","issueId","componentId","compactMode","handleSave"],[3,"issueId","showActionsAfterPreview","showCommentButton"],["mat-button","",1,"gmat-button"],
[3,"commentSubmitted","issueId","showActionsAfterPreview","showCommentButton"],[3,"userInclusionToggle","valueChange","toggleAccessLimits","title","values","users","includeSelfActionDescription","includeSelfActionLongDescription","overlayPosition","removeSelfActionDescription","removeSelfActionLongDescription","collectionHovercardDescription","isCurrentUserInCollection","isAllowedToEditCollection","iconName","inputValidator","checkAccessLimits"],[3,"userInclusionToggle","valueChange","title","values",
"users","includeSelfActionDescription","includeSelfActionLongDescription","overlayPosition","removeSelfActionDescription","removeSelfActionLongDescription","collectionHovercardDescription","isCurrentUserInCollection","isAllowedToEditCollection","iconName"]],template:function(a,b){a&1&&(D(0,NZa,2,3),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.issue$))?0:-1,c)}},dependencies:[$D,oT,OM,vD,Vy,FH,HH,$H,rT,$N,iU,fU,sU,Iw],styles:["[_nghost-%COMP%]     .bv2-issue-metadata{padding:0}[_nghost-%COMP%]     .bv2-issue-metadata .bv2-issue-metadata-field{margin:0}[_nghost-%COMP%]     .bv2-issue-metadata .bv2-issue-metadata-list-field .no-value{display:none}.hotlist-container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:2px;line-height:20px;max-height:72px;overflow-y:auto}.add-assignee-btn[_ngcontent-%COMP%], .add-hotlists-btn[_ngcontent-%COMP%], button.gmat-mdc-button[_ngcontent-%COMP%]:not(.mat-mdc-icon-button).add-hotlists-btn{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text);background-color:#fff;background-color:var(--surface-default);line-height:22px;height:22px;min-width:22px;padding:0 8px;border-radius:11px;margin-right:4px}.add-hotlists-btn.mat-mdc-outlined-button[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin-right:4px}.assign-chips[_ngcontent-%COMP%]   .field-label-spacer[_ngcontent-%COMP%]{width:23%;display:inline-block;min-width:80px;max-width:120px;padding-right:10px}.bv2-issue-metadata[_ngcontent-%COMP%]{max-height:50vh;padding-right:10px}"]});var aIc={CHANGE_COMPONENT:"CHANGE_COMPONENT",CLOSE_ISSUE:"CLOSE_ISSUE",SET_CONFIRMED:"SET_CONFIRMED",SET_FIXED:"SET_FIXED",SET_IN_PROGRESS:"SET_IN_PROGRESS",SET_NEEDS_INFO:"SET_NEEDS_INFO",UNCONFIRM:"UNCONFIRM"},bIc={key:"SET_CONFIRMED",displayAs:"Confirm",isEligible:function(){return!0},fieldsToShow:"COMMENT SEVERITY PRIORITY TYPE HOTLISTS ASSIGNEE COLLABORATORS CC_LIST".split(" ")},cIc={key:"SET_IN_PROGRESS",displayAs:"In progress",isEligible:function(){return!0},fieldsToShow:["COMMENT","SEVERITY",
"PRIORITY","TYPE","ASSIGNEE"],showAssignToSelf:!0},dIc={key:"CLOSE_ISSUE",displayAs:"Close",isEligible:function(){return!0}},eIc={key:"UNCONFIRM",displayAs:"Unconfirm",isEligible:function(){return!0},fieldsToShow:["COMMENT"]},fIc={key:"SET_CONFIRMED",displayAs:"Move to confirm",isEligible:function(){return!0}},gIc={key:"SET_FIXED",displayAs:"Move to fixed",fieldsToShow:["COMMENT","STATUS","CODE_CHANGES"],automaticChanges:[{field:"STATUS",value:"FIXED"}],isEligible:function(){return!0}},hIc={key:"CHANGE_COMPONENT",
displayAs:"Reroute",fieldsToShow:["COMMENT","COMPONENT","HOTLISTS","ASSIGNEE"],isEligible:function(){return!0}},iIc=new Map([["NEW",[{key:"SET_NEEDS_INFO",displayAs:"Needs more info",isEligible:function(a){var b;return!((b=a.experimentalFields)==null?0:b.triage.needsInfo)}},bIc,hIc,dIc]],["CONFIRMED",[eIc,cIc]],["IN_PROGRESS",[fIc,gIc,dIc]],["FIXED",[fIc]],["WONT_FIX",[fIc]]]);var EU=function(){this.triageService=r(DH);this.editIssueService=r(jM);this.issueCommentDialogsService=r(mT);this.issueMarkAsDuplicateDialogService=r(nT);this.IssueStatus=v7b;this.issueId$=this.triageService.currentIssueId$;this.cancelAction=new rG;this.completeAction=new rG;this.showCommentInput=!1},RZa=function(a,b){var c;return ve(function(d){if(d.nextAddress==1)return xe(d,jEc(a.issueMarkAsDuplicateDialogService,b),2);if(d.nextAddress!=3)return c=d.yieldResult,c==="DUPLICATE"&&a.shouldSubmitComment(b)?
xe(d,a.submitComment(b),3):d.jumpTo(3);a.completeAction.emit({id:b});Ce(d)})},QZa=function(a,b,c){var d,e;return ve(function(f){switch(f.nextAddress){case 1:if(!a.shouldSubmitComment(c)){f.jumpTo(2);break}return xe(f,a.submitComment(c),3);case 3:if(d=f.yieldResult,!d)return f.return();case 2:return xe(f,vsc(a.editIssueService,c,b),4);case 4:e={id:c,triage:{phase:"WONT_FIX",subphase:"TRIAGE_SUBPHASE_UNSPECIFIED",needsInfo:!1}},a.completeAction.emit(e),Ce(f)}})};
EU.prototype.submitComment=function(a){var b=this,c,d;return ve(function(e){c=b.editIssueService.issueCommentDraft(a).comment();d=b.editIssueService.editableIssue(a);return e.return(b.issueCommentDialogsService.submitCommentBox(String(d.componentId),a,c))})};EU.prototype.shouldSubmitComment=function(a){a=this.editIssueService.issueCommentDraft(a).comment();return this.showCommentInput&&!!a.value};EU.prototype.hideComment=function(){this.showCommentInput=!1};
EU.prototype.showComment=function(){this.showCommentInput=!0};EU.\u0275fac=function(a){return new (a||EU)};
EU.\u0275cmp=t({type:EU,selectors:[["close-issue"]],outputs:{cancelAction:"cancelAction",completeAction:"completeAction"},decls:2,vars:3,consts:[["wontFixMenu","matMenu"],[1,"flex-kids-y","gap"],[3,"issueId","showActionsAfterPreview","showCommentButton"],["mat-button","",1,"gmat-button"],[1,"flex-kids-x","gap"],["mat-stroked-button","","matTooltip","This will cause a visible change to the issue status",1,"gmat-button",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click"],["mat-stroked-button","",
1,"gmat-button",3,"click"],["mat-button","",1,"gmat-button","margin-s-top","cancel-btn",3,"click"],[3,"commentSubmitted","issueId","showActionsAfterPreview","showCommentButton"],["mat-button","",1,"gmat-button",3,"click"]],template:function(a,b){a&1&&(D(0,SZa,21,2),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.issueId$))?0:-1,c)}},dependencies:[vD,Vy,vI,yI,wI,zI,FH,HH,fU,Iw],styles:["h3[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-bottom:2px}.cancel-btn[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}"]});var jIc=Dk("triage-dont-assign-back-to-reporter"),VZa=Ek("triage-dont-assign-back-to-reporter"),FU=function(){Z.apply(this,arguments);var a=this;this.triageService=r(DH);this.issueFullFridge=r(yG);this.editIssueService=r(jM);this.issueCommentDialogsService=r(mT);this.issueId$=this.triageService.currentIssueId$;this.issue$=this.issueId$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}));this.reporterUser$=this.issue$.pipe(B(function(b){var c;return b==null?void 0:(c=b.snapshot[0])==null?void 0:
c.reporterUser}));this.reporterEmail$=this.reporterUser$.pipe(B(function(b){return Ui(b)||""}));this.shouldAssignToReporter$=new bo(!jIc());this.cancelAction=new rG;this.completeAction=new rG;this.isSaving$=new bo(!1)};Y(FU,Z);FU.\u0275dir=Z.\u0275dir;FU.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.reporterEmail$.pipe(Cf()).subscribe(function(b){var c=Xo(a.issueId$);c&&b&&(c=a.editIssueService.issueCommentDraft(c).comment(),c.value||(c.value="Hi @"+b+", "))}))};
FU.prototype.save=function(a){var b=this,c,d;return ve(function(e){switch(e.nextAddress){case 1:b.isSaving$.next(!0);c=b.editIssueService.issueCommentDraft(a.issueId).comment();if(!c.value.trim()){e.jumpTo(2);break}return xe(e,b.issueCommentDialogsService.submitCommentBox(String(a.snapshot[0].componentId),a.issueId,c),3);case 3:if(d=e.yieldResult,!d)return b.isSaving$.next(!1),e.return();case 2:if(!(b.shouldAssignToReporter$.value&&a.snapshot[0].reporterUser&&a.snapshot[0].reporterUser.emailAddress)){e.jumpTo(4);
break}return xe(e,Gsb(b.editIssueService,a.issueId,a.snapshot[0].reporterUser.emailAddress),4);case 4:b.isSaving$.next(!1),b.completeAction.emit(a.issueId),Ce(e)}})};FU.\u0275fac=function(){var a;return function(b){return(a||(a=de(FU)))(b||FU)}}();
FU.\u0275cmp=t({type:FU,selectors:[["needs-more-info"]],outputs:{cancelAction:"cancelAction",completeAction:"completeAction"},features:[cg],decls:2,vars:3,consts:[["card",""],[1,"flex-kids-y"],[1,"flex-kids-x","align-items-center","gap-xs"],[1,"heading-s"],[3,"commentSubmitted","issueId","showActionsAfterPreview","showCommentButton"],["additionalToolbarItems",""],[3,"change","checked"],[1,"flex-kids-x","gap","margin-top"],["mat-flat-button","",1,"gmat-button",3,"click","disabled"],["mat-button","",
1,"gmat-button",3,"click"],[1,"margin-left-auto"],["size","small",3,"email"],[3,"onedevHovercardTrigger","model"],[3,"email"]],template:function(a,b){a&1&&(D(0,WZa,18,15,"div",1),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.issue$))?0:-1,c)}},dependencies:[vD,Vy,qN,uN,bK,hK,oM,fU,wM,uM,Iw],styles:["b-post-comment[_ngcontent-%COMP%]{max-height:50vh;overflow-y:auto;margin-bottom:0}[_nghost-%COMP%]     .bv2-comment-toolbar{margin-top:0}[_nghost-%COMP%]     .actions{margin-top:4px}[_nghost-%COMP%]     b-comment-box .md-preview{margin-top:0;margin-bottom:8px;min-height:unset}[_nghost-%COMP%]     text-area{margin-bottom:0!important}[_nghost-%COMP%]     button.cancel{margin-left:8px}"]});var kIc=fv(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/homepage-feedback-dark-mode.md"]),lIc=fv(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/homepage-feedback.md"]),mIc=fv(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback-dark-mode.md"]),nIc=fv(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback.md"]),GU=function(){var a=this;this.dialogRef=r(dL);this.darkmodeService=r($S);this.data=
r(jL);this.contentLoaded=!1;this.docUrl$=this.darkmodeService.clientDarkmode$.pipe(B(function(b){switch(a.data.type){case "HOMEPAGE":return b?wi(kIc):wi(lIc);default:return b?wi(mIc):wi(nIc)}}))};GU.\u0275fac=function(a){return new (a||GU)};
GU.\u0275cmp=t({type:GU,selectors:[["b-feedback-dialog"]],decls:9,vars:4,consts:[["mat-dialog-content",""],["frameborder","0","allowtransparency","true",3,"loading","src"],["diameter","60"],["mat-dialog-actions",""],["mat-button","",1,"medium",3,"click"],["mat-flat-button","","color","primary",1,"medium","dialog-primary-action",3,"click"],["frameborder","0","allowtransparency","true",3,"load","src"]],template:function(a,b){a&1&&(I(0,"div",0),D(1,XZa,1,3,"iframe",1),S(2,"async"),D(3,YZa,1,0,"mat-spinner",
2),J(),I(4,"div",3)(5,"button",4),M("click",function(){return b.dialogRef.close(!1)}),Q(6," Cancel "),J(),I(7,"button",5),M("click",function(){return b.dialogRef.close(!0)}),Q(8," File a new issue "),J()());if(a&2){var c;C();G((c=U(2,2,b.docUrl$))?1:-1,c);C(2);G(b.contentLoaded?-1:3)}},dependencies:[pL,oL,vD,Vy,IO,GO,Iw],styles:["iframe[_ngcontent-%COMP%]{display:block;width:100%;height:100%;border:0}.loading[_ngcontent-%COMP%]{display:none}.mat-mdc-dialog-content[_ngcontent-%COMP%]{display:flex;flex-grow:1;position:relative;justify-content:center;align-items:center}"],
changeDetection:0});var pr=function(a){this.internalArray_=m(a)};Y(pr,V);g=pr.prototype;g.getEnableSsEngine=function(){return Fj(this,2)};g.getEnableAwr=function(){return Fj(this,3)};g.getAlohaAutoGaRollout=function(){return Fj(this,5)};g.getEnableConfigurator=function(){return Fj(this,6)};g.getEnableMweb=function(){return Fj(this,7)};g.getEnableCtlConsentCheckbox=function(){return Fj(this,8)};g.getEnableIframe=function(){return Fj(this,9)};g.getEnableScreenshotNudge=function(){return Fj(this,10)};
g.getEnableWebStartupConfigEndpoint=function(){return Fj(this,11)};g.getEnableJunkNudge=function(){return Fj(this,12)};g.getEnableConfiguratorLocale=function(){return Fj(this,13)};g.getEnableTinyNoPointer=function(){return Fj(this,14)};g.getEnableSupportSessionLogging=function(){return Fj(this,15)};g.getEnableFileUploadForScreenshot=function(){return Fj(this,16)};g.getEnableDirectDeflectionForSingleCategory=function(){return Fj(this,17)};g.getEnableImageSanitization=function(){return Fj(this,18)};
g.getEnableAlohaBinarySplit=function(){return Fj(this,19)};g.getEnableDbFeedbackIntents=function(){return Fj(this,20)};g.getEnableMarkMandatoryFieldsWithRequired=function(){return Fj(this,21)};g.getEnableFeedbackCategoryCustomUi=function(){return Fj(this,22)};g.getEnableRealtimeCtl=function(){return Fj(this,23)};var n_a=function(a){this.internalArray_=m(a)};Y(n_a,V);var ZZa=[/https:\/\/sandbox\.google\.com\/tools\/feedback/,/https:\/\/feedback-frontend-qual[a-z0-9.]*\.google\.com\/inapp/,/https:\/\/feedback-frontend-qual[a-z0-9.]*\.google\.com\/tools\/feedback/,/https:\/\/.*\.googleusercontent\.com\/inapp/];var a_a="af am ar-EG ar-JO ar-MA ar-SA ar-XB ar az be bg bn bs ca cs cy da de-AT de-CH de el en en-GB en-AU en-CA en-IE en-IN en-NZ en-SG en-XA en-XC en-ZA es es-419 es-AR es-BO es-CL es-CO es-CR es-DO es-EC es-GT es-HN es-MX es-NI es-PA es-PE es-PR es-PY es-SV es-US es-UY es-VE et eu fa fi fil fr-CA fr-CH fr gl gsw gu he hi hr hu hy id in is it iw ja ka kk km kn ko ky ln lo lt lv mk ml mn mo mr ms my nb ne nl no pa pl pt pt-BR pt-PT ro ru si sk sl sq sr-Latn sr sv sw ta te th tl tr uk ur uz vi zh zh-CN zh-HK zh-TW zu".split(" ");var b_a=fv(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),c_a=fv(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);var e_a,g_a;var oIc=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||ya,e=d.document,f=a.nonce||Pea(d);f&&!a.nonce&&(a.nonce=f);if(a.flow=="help"){var h=sp("document.location.href",d);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var l=JSON.stringify(b);(h=l.length<=1200)&&(a.psdJson=l)}h||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.feedbackServerUri||"//www.google.com/tools/feedback";if(h=d.GOOGLE_FEEDBACK_START)h.apply(d,
b);else{d=c+"/load.js?";for(var q in a)b=a[q],b==null||In(b)||(d+=encodeURIComponent(q)+"="+encodeURIComponent(b)+"&");a=Bp(e).createElement("SCRIPT");f&&a.setAttribute("nonce",f);Wc(a,Ic(d));e.body.appendChild(a)}},pIc=function(a,b,c,d){var e,f;ve(function(h){e=c||ya;var l=a.serverEnvironment==="DEV",q=c||ya;q=a.nonce||Pea(q);l={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket,triggerId:a.triggerId},callbacks:{onClose:a.callback,onLoad:a.onLoadCallback},formContent:{locale:a.locale,
disableScreenshot:a.disableScreenshotting,productDisplayName:void 0,announcement:void 0,issueCategories:void 0,includeSeveritySelection:void 0,customImageSrc:void 0,thankYouMessage:void 0,userEmail:void 0,defaultFormInputValues:void 0,defaultFormInputValuesString:void 0,abuseLink:a.abuseLink,additionalDataConsent:a.additionalDataConsent},initializationData:{isLocalServer:l,nonce:q,useNightlyRelease:l,feedbackJsUrl:void 0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0,
submissionServerUri:a.feedbackServerUri,colorScheme:a.colorScheme},extraData:{productVersion:a.productVersion,authUser:a.authuser,configuratorId:a.configuratorId,customZIndex:a.customZIndex,tinyNoPointer:a.tinyNoPointer,allowNonLoggedInFeedback:a.allowNonLoggedInFeedback,enableAnonymousFeedback:a.enableAnonymousFeedback}};b&&(q=new Map(Object.entries(b)),l.extraData.productSpecificData=q);f=l;return xe(h,k_a(f,d,e),0)})},qIc=function(a,b,c){try{if(a.flow==="help"){var d=a.helpCenterPath.replace(/^\//,
"");Vc(c||window,Oc("https://support.google.com/"+d))}else a.flow==="submit"?oIc(a,b,c):o_a(a.productId,a.feedbackServerUri).then(function(e){e=W(e,pr,1);var f=!hZb||(e==null?void 0:e.getEnableMweb()),h=!a.tinyNoPointer||(e==null?void 0:e.getEnableTinyNoPointer());!e||e.getAlohaAutoGaRollout()&&f&&h?pIc(a,b,c,e):oIc(a,b,c)},function(e){e&&e.name!=="DuplicateFormError"&&oIc(a,b,c)})}catch(e){pIc(a,b,c,null)}};EYb("userfeedback.api.startFeedback",qIc);var rIc={width:"500px",maxHeight:"80vh",autoFocus:!1},sIc=new Date,HU=function(){this.activeSession=r(dv);this.matDialog=r(kL);this.reportStartTime=new Date};HU.prototype.startFeedback=function(){var a=this;this.reportStartTime=new Date;this.activeSession.isInternalSession()?eL(this.matDialog.open(GU,Object.assign({},rIc,{height:"640px",data:{type:"DEFAULT"}}))).subscribe(function(b){b&&tIc(a)}):tIc(this)};
var uIc=function(a){a.reportStartTime=new Date;a.activeSession.isInternalSession()?eL(a.matDialog.open(GU,Object.assign({},rIc,{height:"400px",data:{type:"HOMEPAGE"}}))).subscribe(function(b){b&&tIc(a)}):tIc(a)},tIc=function(a){var b={productId:92912,nonce:a.activeSession.getCspNonce(),productVersion:"buganizer.frontend_20241008.09_p0"};b.bucket=vq(a.activeSession)?"buganizer-trackers-feedback":"buganizer3-feedback";for(var c=[],d=c.concat,e=w([]),f=[],h=k(a.activeSession.session.config.enabledFlags),
l=h.next();!l.done;l=h.next()){var q=k(l.value);l=q.next().value;(q=q.next().value)&&f.push(l)}c=d.call(c,e,w(f)).join(", ");c={userType:a.activeSession.getUserTypeLabel(),flags:c};if(vq(a.activeSession)){var v,y;c.trackerId=(y=(v=a.activeSession.getTracker())==null?void 0:v.trackerId)!=null?y:""}c.initialLoadTime=p_a(sIc);c.reportStartTime=p_a(a.reportStartTime);qIc(b,c)};HU.\u0275fac=function(a){return new (a||HU)};HU.\u0275prov=n({token:HU,factory:HU.\u0275fac,providedIn:"root"});var IU=function(){var a=this;this.data=r(jL);this.cdr=r(sG,{self:!0});this.codefont=r(sP);this.location=r(Ww);this.paths=r(zO);this.userFeedback=r(HU);this.errorHandler=r(jE);this.issueId=this.data.issueId;this.commentNumber=this.data.commentNumber;this.commentVersion=this.data.commentVersion;this.history=[];this.diffView=this.isLoading=!0;this.data.commentHistory.then(function(b){a.history=b}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
IU.prototype.startFeedback=function(){this.userFeedback.startFeedback()};IU.\u0275fac=function(a){return new (a||IU)};
IU.\u0275cmp=t({type:IU,selectors:[["comment-history-dialog"]],features:[Yg([sG])],decls:14,vars:3,consts:[["mat-dialog-title",""],[1,"diff-checkbox"],[3,"change","checked"],[1,"dialog-feedback",3,"click"],[1,"float-clear"],[1,"bv2-view-loading"],[1,"comment-history-list"],["mat-button","","mat-dialog-close",""],[1,"comment-version",3,"comment-version-open"],[1,"comment-version"],[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"comment-version-header",3,"click"],[1,"bv2-event-user-name",
3,"model"],["mode","datetime",3,"timestamp"],[1,"muted","float-right","float-clear"],[1,"type-xs",3,"innerHtml"],[1,"type-xs"],[1,"comment-version-email"],[3,"email"],[3,"click","id"],[1,"comment-version-preview"],[1,"comment-version-preview","deleted"],[1,"comment-version-restricted"],[1,"comment-version-content","deleted"],[1,"comment-version-content",3,"codefont","innerHtml"],[1,"comment-version-content",3,"innerHtml"]],template:function(a,b){a&1&&(I(0,"h2",0),Q(1),J(),I(2,"mat-dialog-content")(3,
"div",1)(4,"mat-checkbox",2),M("change",function(c){return b.diffView=c.checked}),Q(5," Show Diff "),J()(),I(6,"a",3),M("click",function(){return b.startFeedback()}),Q(7,"Feedback"),J(),K(8,"br",4),D(9,q_a,2,0,"div",5)(10,F_a,3,0,"ul",6),J(),I(11,"mat-dialog-actions")(12,"button",7),Q(13,"Close"),J()());a&2&&(C(),R("History for Comment #",b.commentNumber,""),C(3),F("checked",b.diffView),C(5),G(b.isLoading?9:10))},dependencies:[VM,qN,uN,vD,Vy,lL,nL,pL,oL,HK,JO,wM,uM,Iw,XJ,qM],styles:[".comment-history-list[_ngcontent-%COMP%]{overflow:auto;padding:0}.comment-version[_ngcontent-%COMP%]{position:relative;background-color:#f1f3f4;background-color:var(--c100);border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);padding:8px 5px}.comment-version-open[_ngcontent-%COMP%]{background-color:#fff;background-color:var(--surface-default);color:#202124;color:var(--text)}.comment-version[_ngcontent-%COMP%] > .bv2-event-user-image-cell[_ngcontent-%COMP%]{padding-top:8px;padding-left:5px}.comment-version-email[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}.comment-version-preview[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}.comment-version-restricted[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted);font-style:italic}.comment-version-header[_ngcontent-%COMP%]{cursor:pointer;margin-left:40px}.comment-version-content[_ngcontent-%COMP%]{cursor:auto;margin:20px 0 10px 40px;white-space:pre-wrap}.comment-version[_ngcontent-%COMP%]   .deleted[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted);font-style:italic}.comment-version[_ngcontent-%COMP%] + .comment-version[_ngcontent-%COMP%]{border-top:0}.comment-version[_ngcontent-%COMP%]   .bv2-event-user-image-cell[_ngcontent-%COMP%]{margin:0}.dialog-feedback[_ngcontent-%COMP%]{float:right}.diff-checkbox[_ngcontent-%COMP%]{float:right;margin-right:10px;margin-left:10px}b-formatted-date-time[_ngcontent-%COMP%]{float:right}[_nghost-%COMP%]     .diff-added{background-color:#ceead6;background-color:var(--good-bg)}[_nghost-%COMP%]     .diff-removed{background-color:#fce8e6;background-color:var(--bad-bg);text-decoration:line-through}/*# sourceMappingURL=comment_history_dialog.css.map */"],
changeDetection:0});var G_a=function(){},qr=function(a,b,c,d,e){typeof e=="undefined"&&(e=(new Date).getTime()+1E3);if(b==null||c==null)throw Error("Xe");if(b==c)return b?[[0,b]]:[];typeof d=="undefined"&&(d=!0);var f=vIc(b,c),h=b.substring(0,f);b=b.substring(f);c=c.substring(f);f=wIc(b,c);var l=b.substring(b.length-f);b=b.substring(0,b.length-f);c=c.substring(0,c.length-f);b=xIc(a,b,c,d,e);h&&b.unshift([0,h]);l&&b.push([0,l]);yIc(a,b);return b},xIc=function(a,b,c,d,e){if(!b)return[[1,c]];if(!c)return[[-1,b]];var f=
b.length>c.length?b:c,h=b.length>c.length?c:b,l=f.indexOf(h);if(l!=-1)return a=[[1,f.substring(0,l)],[0,h],[1,f.substring(l+h.length)]],b.length>c.length&&(a[0][0]=a[2][0]=-1),a;if(h.length==1)return[[-1,b],[1,c]];if(f=zIc(b,c))return c=f[1],h=f[3],b=f[4],f=qr(a,f[0],f[2],d,e),a=qr(a,c,h,d,e),f.concat([[0,b]],a);if(d&&b.length>100&&c.length>100){b=AIc(b,c);c=b.lineArray;b=qr(a,b.chars1,b.chars2,!1,e);for(d=0;d<b.length;d++){f=b[d][1];h=[];for(l=0;l<f.length;l++)h[l]=c[f.charCodeAt(l)];b[d][1]=h.join("")}H_a(a,
b);b.push([0,""]);f=d=c=0;for(l=h="";c<b.length;){switch(b[c][0]){case 1:f++;l+=b[c][1];break;case -1:d++;h+=b[c][1];break;case 0:if(d>=1&&f>=1){b.splice(c-d-f,d+f);c=c-d-f;d=qr(a,h,l,!1,e);for(f=d.length-1;f>=0;f--)b.splice(c,0,d[f]);c+=d.length}d=f=0;l=h=""}c++}b.pop();a=b}else a:{d=b.length;f=c.length;h=Math.ceil((d+f)/2);l=2*h;for(var q=Array(l),v=Array(l),y=0;y<l;y++)q[y]=-1,v[y]=-1;q[h+1]=0;v[h+1]=0;y=d-f;for(var E=y%2!=0,H=0,O=0,N=0,T=0,da=0;da<h&&!((new Date).getTime()>e);da++){for(var ja=
-da+H;ja<=da-O;ja+=2){var na=h+ja;var Ia=ja==-da||ja!=da&&q[na-1]<q[na+1]?q[na+1]:q[na-1]+1;for(var Pa=Ia-ja;Ia<d&&Pa<f&&b.charAt(Ia)==c.charAt(Pa);)Ia++,Pa++;q[na]=Ia;if(Ia>d)O+=2;else if(Pa>f)H+=2;else if(E&&(na=h+y-ja,na>=0&&na<l&&v[na]!=-1)){var Na=d-v[na];if(Ia>=Na){a=BIc(a,b,c,Ia,Pa,e);break a}}}for(ja=-da+N;ja<=da-T;ja+=2){na=h+ja;Na=ja==-da||ja!=da&&v[na-1]<v[na+1]?v[na+1]:v[na-1]+1;for(Ia=Na-ja;Na<d&&Ia<f&&b.charAt(d-Na-1)==c.charAt(f-Ia-1);)Na++,Ia++;v[na]=Na;if(Na>d)T+=2;else if(Ia>f)N+=
2;else if(!E&&(na=h+y-ja,na>=0&&na<l&&q[na]!=-1&&(Ia=q[na],Pa=h+Ia-na,Na=d-Na,Ia>=Na))){a=BIc(a,b,c,Ia,Pa,e);break a}}}a=[[-1,b],[1,c]]}return a},BIc=function(a,b,c,d,e,f){var h=b.substring(d),l=c.substring(e);b=qr(a,b.substring(0,d),c.substring(0,e),!1,f);a=qr(a,h,l,!1,f);return b.concat(a)},AIc=function(a,b){function c(h){for(var l="",q=0,v=-1,y=d.length;v<h.length-1;){v=h.indexOf("\n",q);v==-1&&(v=h.length-1);var E=h.substring(q,v+1);(e.hasOwnProperty?e.hasOwnProperty(E):e[E]!==void 0)?l+=String.fromCharCode(e[E]):
(y==f&&(E=h.substring(q),v=h.length),l+=String.fromCharCode(y),e[E]=y,d[y++]=E);q=v+1}return l}var d=[],e={};d[0]="";var f=4E4;a=c(a);f=65535;b=c(b);return{chars1:a,chars2:b,lineArray:d}},vIc=function(a,b){if(!a||!b||a.charAt(0)!=b.charAt(0))return 0;for(var c=0,d=Math.min(a.length,b.length),e=d,f=0;c<e;)a.substring(f,e)==b.substring(f,e)?f=c=e:d=e,e=Math.floor((d-c)/2+c);return e},wIc=function(a,b){if(!a||!b||a.charAt(a.length-1)!=b.charAt(b.length-1))return 0;for(var c=0,d=Math.min(a.length,b.length),
e=d,f=0;c<e;)a.substring(a.length-e,a.length-f)==b.substring(b.length-e,b.length-f)?f=c=e:d=e,e=Math.floor((d-c)/2+c);return e},CIc=function(a,b){var c=a.length,d=b.length;if(c==0||d==0)return 0;c>d?a=a.substring(c-d):c<d&&(b=b.substring(0,c));c=Math.min(c,d);if(a==b)return c;d=0;for(var e=1;;){var f=b.indexOf(a.substring(c-e));if(f==-1)return d;e+=f;if(f==0||a.substring(c-e)==b.substring(0,e))d=e,e++}},zIc=function(a,b){function c(l,q,v){for(var y=l.substring(v,v+Math.floor(l.length/4)),E=-1,H="",
O,N,T,da;(E=q.indexOf(y,E+1))!=-1;){var ja=vIc(l.substring(v),q.substring(E)),na=wIc(l.substring(0,v),q.substring(0,E));H.length<na+ja&&(H=q.substring(E-na,E)+q.substring(E,E+ja),O=l.substring(0,v-na),N=l.substring(v+ja),T=q.substring(0,E-na),da=q.substring(E+ja))}return H.length*2>=l.length?[O,N,T,da,H]:null}var d=a.length>b.length?a:b,e=a.length>b.length?b:a;if(d.length<4||e.length*2<d.length)return null;var f=c(d,e,Math.ceil(d.length/4));d=c(d,e,Math.ceil(d.length/2));var h;if(f||d)d?h=f?f[4].length>
d[4].length?f:d:d:h=f;else return null;a.length>b.length?(a=h[0],b=h[1],f=h[2],d=h[3]):(f=h[0],d=h[1],a=h[2],b=h[3]);return[a,b,f,d,h[4]]},H_a=function(a,b){for(var c=!1,d=[],e=0,f=null,h=0,l=0,q=0,v=0,y=0;h<b.length;)b[h][0]==0?(d[e++]=h,l=v,q=y,y=v=0,f=b[h][1]):(b[h][0]==1?v+=b[h][1].length:y+=b[h][1].length,f&&f.length<=Math.max(l,q)&&f.length<=Math.max(v,y)&&(b.splice(d[e-1],0,[-1,f]),b[d[e-1]+1][0]=1,e--,e--,h=e>0?d[e-1]:-1,y=v=q=l=0,f=null,c=!0)),h++;c&&yIc(a,b);DIc(b);for(h=1;h<b.length;){if(b[h-
1][0]==-1&&b[h][0]==1){a=b[h-1][1];c=b[h][1];d=CIc(a,c);e=CIc(c,a);if(d>=e){if(d>=a.length/2||d>=c.length/2)b.splice(h,0,[0,c.substring(0,d)]),b[h-1][1]=a.substring(0,a.length-d),b[h+1][1]=c.substring(d),h++}else if(e>=a.length/2||e>=c.length/2)b.splice(h,0,[0,a.substring(0,e)]),b[h-1][0]=1,b[h-1][1]=c.substring(0,c.length-e),b[h+1][0]=-1,b[h+1][1]=a.substring(e),h++;h++}h++}},DIc=function(a){function b(E,H){if(!E||!H)return 6;var O=E.charAt(E.length-1),N=H.charAt(0),T=O.match(EIc),da=N.match(EIc),
ja=T&&O.match(FIc),na=da&&N.match(FIc);O=ja&&O.match(GIc);N=na&&N.match(GIc);E=O&&E.match(HIc);H=N&&H.match(IIc);return E||H?5:O||N?4:T&&!ja&&na?3:ja||na?2:T||da?1:0}for(var c=1;c<a.length-1;){if(a[c-1][0]==0&&a[c+1][0]==0){var d=a[c-1][1],e=a[c][1],f=a[c+1][1],h=wIc(d,e);if(h){var l=e.substring(e.length-h);d=d.substring(0,d.length-h);e=l+e.substring(0,e.length-h);f=l+f}h=d;l=e;for(var q=f,v=b(d,e)+b(e,f);e.charAt(0)===f.charAt(0);){d+=e.charAt(0);e=e.substring(1)+f.charAt(0);f=f.substring(1);var y=
b(d,e)+b(e,f);y>=v&&(v=y,h=d,l=e,q=f)}a[c-1][1]!=h&&(h?a[c-1][1]=h:(a.splice(c-1,1),c--),a[c][1]=l,q?a[c+1][1]=q:(a.splice(c+1,1),c--))}c++}},EIc=/[^a-zA-Z0-9]/,FIc=/\s/,GIc=/[\r\n]/,HIc=/\n\r?\n$/,IIc=/^\r?\n\r?\n/,yIc=function(a,b){b.push([0,""]);for(var c=0,d=0,e=0,f="",h="",l;c<b.length;)switch(b[c][0]){case 1:e++;h+=b[c][1];c++;break;case -1:d++;f+=b[c][1];c++;break;case 0:d+e>1?(d!==0&&e!==0&&(l=vIc(h,f),l!==0&&(c-d-e>0&&b[c-d-e-1][0]==0?b[c-d-e-1][1]+=h.substring(0,l):(b.splice(0,0,[0,h.substring(0,
l)]),c++),h=h.substring(l),f=f.substring(l)),l=wIc(h,f),l!==0&&(b[c][1]=h.substring(h.length-l)+b[c][1],h=h.substring(0,h.length-l),f=f.substring(0,f.length-l))),d===0?b.splice(c-e,d+e,[1,h]):e===0?b.splice(c-d,d+e,[-1,f]):b.splice(c-d-e,d+e,[-1,f],[1,h]),c=c-d-e+(d?1:0)+(e?1:0)+1):c!==0&&b[c-1][0]==0?(b[c-1][1]+=b[c][1],b.splice(c,1)):c++,d=e=0,h=f=""}b[b.length-1][1]===""&&b.pop();d=!1;for(c=1;c<b.length-1;)b[c-1][0]==0&&b[c+1][0]==0&&(b[c][1].substring(b[c][1].length-b[c-1][1].length)==b[c-1][1]?
(b[c][1]=b[c-1][1]+b[c][1].substring(0,b[c][1].length-b[c-1][1].length),b[c+1][1]=b[c-1][1]+b[c+1][1],b.splice(c-1,1),d=!0):b[c][1].substring(0,b[c+1][1].length)==b[c+1][1]&&(b[c-1][1]+=b[c+1][1],b[c][1]=b[c][1].substring(b[c+1][1].length)+b[c+1][1],b.splice(c+1,1),d=!0)),c++;d&&yIc(a,b)};var JU=function(){this.analytics=r(wG);this.issueComments=r(IL);this.dialogManager=r(kL)};JU.prototype.show=function(a,b,c){var d=this,e;return ve(function(f){if(d.dialog&&d.dialog.getState()!==2)return f.return();d.analytics.trackEvent("commentHistoryModal","open");e={issueId:a,commentNumber:b,commentVersion:c,commentHistory:JIc(d,a,b,c)};d.dialog=d.dialogManager.open(IU,{data:e,width:"50vw"});return f.return(Je(eL(d.dialog)))})};
var JIc=function(a,b,c,d){return a.issueComments.listHistory(b,c).then(function(e){var f=e.length>0?e[0].unlinkifiedComment:"",h=e.length>0?e[0].formattingMode:"",l=!1,q=[];e=k(e);for(var v=e.next();!v.done;v=e.next()){v=v.value;var y=J_a(v);y||l?(f=KIc(v.unlinkifiedComment),h=KIc(v.formattingMode)):(f=I_a(f,v.unlinkifiedComment),l=v.formattingMode,h=h===l?KIc(l):ui([KIc(h,"diff-removed"),KIc(l,"diff-added")]));l=v.unlinkifiedComment===void 0?"":v.unlinkifiedComment;var E=v.version,H=v.commentContentVerdict;
q.push({unlinkifiedComment:l,lastEditorUser:v.lastEditorUser,version:E,formattingMode:v.formattingMode,formattingModeDiff:h,lastModified:Number(v.lastModified)/1E3,open:E<25,preview:l.length<=48?l:l.substring(0,45)+"...",diff:f,restricted:H&&H.piiVerdict&&H.piiVerdict.severity!=="NONE_DETECTED"||!1,deleted:J_a(v)});f=v.unlinkifiedComment;h=v.formattingMode;l=y}d>-1?q[d].open=!0:q[0].open=!0;return q})},KIc=function(a,b){return vi("span",b?{"class":b}:void 0,a)};
JU.\u0275fac=function(a){return new (a||JU)};JU.\u0275prov=n({token:JU,factory:JU.\u0275fac,providedIn:"root"});var KU=function(a){this.internalArray_=m(a,0,KU.messageId)};Y(KU,V);KU.prototype.getUrl=function(){return Gh(this,1)};KU.prototype.setUrl=function(a){return gk(this,1,a)};KU.prototype.hasUrl=function(){return Hj(this,1)};KU.messageId="b.AttachmentUrlResponse";var LU=function(){this.executor=r(PB)};LU.prototype.get=function(a,b,c,d){if(!a||!b)return Promise.reject(Error("Ze"));var e={};d&&(e["X-Restricted-Content-Limit"]=String(fJa(d)));return this.executor.get({url:"action/issues/"+a+"/attachments/"+b+"/url",options:{headers:e,params:{download:String(c)}},responseConstructor:KU}).then(function(f){return f.getUrl()})};LU.\u0275fac=function(a){return new (a||LU)};LU.\u0275prov=n({token:LU,factory:LU.\u0275fac,providedIn:"root"});var MU=function(){this.templateRef=r(Jg);this.viewContainer=r(Kg);this.activeSession=r(dv);this.isInternal=this.activeSession.isInternalSession()};MU.prototype.ngOnInit=function(){this.isInternal&&this.viewContainer.createEmbeddedView(this.templateRef)};MU.\u0275fac=function(a){return new (a||MU)};MU.\u0275dir=ud({type:MU,selectors:[["","internalOnly",""]]});var NU=function(){this.dialogRef=r(dL);this.data=r(jL);this.userAccess=r(YC);this.attachmentsUrl=r(LU);this.butterBar=r(hE);this.domSafe=r(mM);this.documentationLinks=r(cL);this.changeDetectorRef=r(sG,{self:!0});this.attachment=this.data.attachment;this.issueId=this.data.issueId;this.isLoading=!0;this.hasViewAccess=!1;this.download=this.data.download};NU.prototype.ngOnInit=function(){this.changeDetectorRef.detectChanges();this.setHasViewAccess()};
NU.prototype.setHasViewAccess=function(){var a=this;this.isLoading=!0;L_a(this)?(this.hasViewAccess=!1,$C(this.userAccess,"reader","issues/"+this.issueId+"/attachments/"+this.attachment.attachmentId).then(function(b){a.hasViewAccess=b}).finally(function(){a.isLoading=!1})):(this.hasViewAccess=!0,this.isLoading=!1)};NU.prototype.getRestrictionSeverity=function(){var a=this.attachment.contentVerdict;if(a&&(a=a.piiVerdict))return a.severity};
var L_a=function(a){return(a=a.getRestrictionSeverity())?a!=="NONE_DETECTED":!1},LIc=function(a){var b=a.download&&gra(a.attachment.contentType);a.attachmentsUrl.get(a.issueId,a.attachment.attachmentId,b,a.getRestrictionSeverity()).then(function(c){b?nM(a.domSafe,c):a.domSafe.openInNewTab(c);a.close()},function(){a.butterBar.showWarning("Failed to load attachment. Please refresh and try again.");a.close()})};NU.prototype.close=function(){this.dialogRef.close();this.changeDetectorRef.detectChanges()};
NU.prototype.getRestrictedAccessHelpLink=function(){return this.documentationLinks.getRestrictedAccessHelpLink()};NU.\u0275fac=function(a){return new (a||NU)};
NU.\u0275cmp=t({type:NU,selectors:[["b-attachment-download-dialog"]],features:[Yg([sG])],decls:20,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"gmat-body-2"],[1,"gmat-body-1"],[1,"download-attachment-icon"],["svgIcon","file-present","size","icon-l"],[1,"download-attachment-filename"],[4,"internalOnly"],["diameter","60",1,"centered-spinner"],["mat-dialog-actions",""],["mat-button","",3,"click"],["mat-flat-button","",1,"dialog-primary-action",3,"click","disabled"],["target","_blank",
"aria-label","Learn more about restricted access in Buganizer.",3,"href"],[1,"no-access-warning"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"Access Attachment"),J(),I(2,"div",1)(3,"div",2),Q(4," Are you sure you would like to access the following attachment? "),J(),K(5,"br"),I(6,"div",3)(7,"div",4),K(8,"mat-icon",5),J(),I(9,"div",6),Q(10),J()(),K(11,"br"),D(12,M_a,2,1,"ng-container",7)(13,N_a,3,0,"div",2),J(),D(14,O_a,1,0,"mat-spinner",8),I(15,"div",9)(16,"button",10),M("click",function(){return b.close()}),
Q(17," Cancel "),J(),I(18,"button",11),M("click",function(){return LIc(b)}),Q(19," Continue "),J()());a&2&&(C(10),R(" ",b.attachment.filename," "),C(3),G(b.isLoading||b.hasViewAccess?-1:13),C(),G(b.isLoading?14:-1),C(4),F("disabled",!b.hasViewAccess))},dependencies:[$D,vD,Vy,nL,pL,oL,IO,GO,MU],styles:[".centered-spinner[_ngcontent-%COMP%]{margin:0 auto}.download-attachment-icon[_ngcontent-%COMP%]{float:left;margin-right:5px}.download-attachment-filename[_ngcontent-%COMP%]{font-weight:bold}.no-access-warning[_ngcontent-%COMP%]{color:#c5221f;color:var(--text-bad)}"]});var MIc=function(a){this.internalArray_=m(a)};Y(MIc,V);g=MIc.prototype;g.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getIssueId_asString=function(){return Oo(this,1)};g.setIssueId=function(a){return pl(this,1,a)};g.getAttachmentId_asLegacyNumberOrString=function(){return Vj(this,2)};g.setAttachmentId=function(a){return pl(this,2,a)};g.getRestrictedRetention=function(){return Kj(this,3,0)};g.setRestrictedRetention=function(a){return ej(this,3,a)};var NIc=function(a){this.internalArray_=m(a)};Y(NIc,V);NIc.prototype.getIt=function(){return W(this,MIc,4)};NIc.prototype.setIt=function(a){return X(this,MIc,4,a)};var OU=function(){this.executor=r(OB)};OU.prototype.updateRetention=function(a,b,c){c=(new NIc).setIt((new MIc).setIssueId(a).setAttachmentId(b).setRestrictedRetention(bva(c)));return this.executor.post({url:"action/issues/"+a+"/attachments/"+b+"/update_retention",body:c,responseConstructor:zL}).pipe(B(lJa))};OU.\u0275fac=function(a){return new (a||OU)};OU.\u0275prov=n({token:OU,factory:OU.\u0275fac,providedIn:"root"});var OIc=Symbol("$e"),PIc=/^[a-z0-9-_]{6,30}$/,QIc="productID must match the expression: "+PIc;var RIc=function(){this.blockSize=-1};var PU=function(a,b){this.blockSize=-1;this.blockSize=64;this.chunk_=ya.Uint8Array?new Uint8Array(this.blockSize):Array(this.blockSize);this.total_=this.inChunk_=0;this.hash_=[];this.numHashBlocks_=a;this.initHashBlocks_=b;this.w_=ya.Int32Array?new Int32Array(64):Array(64);SIc===void 0&&(ya.Int32Array?SIc=new Int32Array(TIc):SIc=TIc);this.reset()},SIc;qv(PU,RIc);for(var UIc=[],VIc=0;VIc<63;VIc++)UIc[VIc]=0;var WIc=[].concat(128,UIc);
PU.prototype.reset=function(){this.total_=this.inChunk_=0;this.hash_=ya.Int32Array?new Int32Array(this.initHashBlocks_):Ua(this.initHashBlocks_)};
var XIc=function(a){for(var b=a.chunk_,c=a.w_,d=0,e=0;e<b.length;)c[d++]=b[e]<<24|b[e+1]<<16|b[e+2]<<8|b[e+3],e=d*4;for(b=16;b<64;b++){e=c[b-15]|0;d=c[b-2]|0;var f=(c[b-16]|0)+((e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3)|0,h=(c[b-7]|0)+((d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10)|0;c[b]=f+h|0}d=a.hash_[0]|0;e=a.hash_[1]|0;var l=a.hash_[2]|0,q=a.hash_[3]|0,v=a.hash_[4]|0,y=a.hash_[5]|0,E=a.hash_[6]|0;f=a.hash_[7]|0;for(b=0;b<64;b++){var H=((d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10))+(d&e^d&l^e&l)|0;h=v&y^~v&E;
f=f+((v>>>6|v<<26)^(v>>>11|v<<21)^(v>>>25|v<<7))|0;h=h+(SIc[b]|0)|0;h=f+(h+(c[b]|0)|0)|0;f=E;E=y;y=v;v=q+h|0;q=l;l=e;e=d;d=h+H|0}a.hash_[0]=a.hash_[0]+d|0;a.hash_[1]=a.hash_[1]+e|0;a.hash_[2]=a.hash_[2]+l|0;a.hash_[3]=a.hash_[3]+q|0;a.hash_[4]=a.hash_[4]+v|0;a.hash_[5]=a.hash_[5]+y|0;a.hash_[6]=a.hash_[6]+E|0;a.hash_[7]=a.hash_[7]+f|0};
PU.prototype.update=function(a,b){b===void 0&&(b=a.length);var c=0,d=this.inChunk_;if(typeof a==="string")for(;c<b;)this.chunk_[d++]=a.charCodeAt(c++),d==this.blockSize&&(XIc(this),d=0);else if(Va(a))for(;c<b;){var e=a[c++];if(!("number"==typeof e&&0<=e&&255>=e&&e==(e|0)))throw Error("af");this.chunk_[d++]=e;d==this.blockSize&&(XIc(this),d=0)}else throw Error("bf");this.inChunk_=d;this.total_+=b};
PU.prototype.digest=function(){var a=[],b=this.total_*8;this.inChunk_<56?this.update(WIc,56-this.inChunk_):this.update(WIc,this.blockSize-(this.inChunk_-56));for(var c=63;c>=56;c--)this.chunk_[c]=b&255,b/=256;XIc(this);for(c=b=0;c<this.numHashBlocks_;c++)for(var d=24;d>=0;d-=8)a[b++]=this.hash_[c]>>d&255;return a};
var TIc=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,
4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];var P_a=function(){PU.call(this,8,YIc)};qv(P_a,PU);var YIc=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];var R_a=new TextEncoder,S_a=R_a.encode("$@#|").buffer;var ZIc=["allow-same-origin","allow-scripts","allow-forms","allow-popups"],$Ic=new TextEncoder,aJc={},bJc=function(){var a=this;this.productID="buganizer";this.shimOptions=void 0;this.renderCalled=!1;this.shimIframe=document.createElement("iframe");if(!PIc.test("buganizer"))throw Error(QIc);if(!Z_a())throw Error("df");aJc.shimBlobUrlFactory!==void 0&&(this.shimBlobUrlFactory=aJc.shimBlobUrlFactory);this.attachedPromise=new Promise(function(b){a.shimIframe.addEventListener("load",function(){b()},{once:!0});
a.shimIframe.addEventListener("error",function(){b()},{once:!0})})},cJc=function(a,b,c){if(!a.shimIframe||!a.shimIframe.contentWindow)throw Error("ef");var d=new MessageChannel;a.shimIframe.contentWindow.postMessage(b,c,[d.port2]);return new Promise(function(e){d.port1.onmessage=function(f){f=f.data;if(f.type==="msg")f.message==="Reloading iframe"&&e();else if(f.type==="error")throw Error(f.message);}})},dJc=function(a,b,c,d){var e,f,h,l,q,v,y,E,H,O,N,T,da,ja,na,Ia,Pa,Na,bb;ve(function(ma){switch(ma.nextAddress){case 1:if(a.renderCalled)throw Error("ff");
a.renderCalled=!0;h=(f=(e=a.shimOptions)==null?void 0:e.sandbox)!=null?f:ZIc;c.toLowerCase()!=="application/pdf"&&(a.shimIframe.sandbox.add.apply(a.shimIframe.sandbox,w(h)),a.shimIframe.sandbox.add("allow-scripts"),a.shimIframe.sandbox.add("allow-same-origin"));q=(l=a.shimOptions)==null?void 0:l.useSubtleCrypto;E=(y=a.shimOptions)==null?void 0:y.enableBrowserCaching;O=(H=a.shimOptions)==null?void 0:H.urlFragment;if(!E){v=V_a().buffer;ma.jumpTo(2);break}if(E===!0)return xe(ma,U_a({useSubtleCrypto:q,
parts:[b,location.pathname]}),7);if(typeof E!=="object"||!E[OIc])throw Error("gf");return xe(ma,Q_a($Ic.encode(E[OIc]).buffer,q),6);case 6:v=ma.yieldResult;ma.jumpTo(2);break;case 7:v=ma.yieldResult;case 2:return N=window.origin,xe(ma,X_a({product:a.productID,salt:v,useSubtleCrypto:q,trustedOrigin:N,version:Number("683621018")}),8);case 8:return T=ma.yieldResult,da=Y_a({trustedOrigin:N,fileHash:T,version:"683621018",product:a.productID,cache:!!E}),ja=(new URL(da)).origin,a.shimBlobUrlFactory!==void 0?
(na=a.shimBlobUrlFactory(da),Ia=URL.createObjectURL(na),a.shimIframe.src=Ia,ja=(new URL(Ia)).origin):a.shimIframe.src=da,d.appendChild(a.shimIframe),xe(ma,a.attachedPromise,9);case 9:return Pa=!1,bb=new Promise(function(Da){a.shimIframe.addEventListener("load",function(){Pa=!0;Da(Na)},{once:!0})}),Na={sendMessage:function(Da,Ea){if(!a.shimIframe||!a.shimIframe.contentWindow)throw Error("ef");a.shimIframe.contentWindow.postMessage(Da,ja,Ea)},origin:ja,fullyLoadedPromise:bb,fullyLoadedPromiseWithTimeout:function(Da){var Ea=
new Promise(function(zb,qb){setTimeout(function(){Pa?zb(Na):qb(Error("hf"))},Da)});return Promise.race([bb,Ea])}},xe(ma,cJc(a,{body:b,mimeType:c,salt:v,urlFragment:O},ja),10);case 10:return ma.return(Na)}})};var eJc=["attachmentContent"],QU=function(){Z.apply(this,arguments);this.attachmentsApi=r(CL)};Y(QU,Z);QU.\u0275dir=Z.\u0275dir;QU.prototype.ngOnInit=function(){fJc(this)};var fJc=function(a){a.subscriptions.add(qrc(a.attachmentsApi,a.issueId,a.attachmentId).subscribe(function(b){b&&dJc(new bJc,b,a.mimeType,a.container.nativeElement)}))};QU.\u0275fac=function(){var a;return function(b){return(a||(a=de(QU)))(b||QU)}}();
QU.\u0275cmp=t({type:QU,selectors:[["attachment-preview"]],viewQuery:function(a,b){a&1&&Mg(eJc,5);if(a&2){var c;Qg(c=Rg())&&(b.container=c.first)}},inputs:{issueId:"issueId",attachmentId:"attachmentId",mimeType:"mimeType"},features:[cg],decls:2,vars:0,consts:[["attachmentContent",""],[1,"full-width","full-height"]],template:function(a){a&1&&K(0,"div",1,0)},styles:["[_nghost-%COMP%]     iframe{border:0;height:100%;width:100%}/*# sourceMappingURL=attachment_preview.css.map */"]});var RU=function(){this.inlinedAttachmentSet=new Set};RU.prototype.getCount=function(){return this.inlinedAttachmentSet.size};RU.\u0275fac=function(a){return new (a||RU)};RU.\u0275prov=n({token:RU,factory:RU.\u0275fac,providedIn:"root"});var SU=function(){this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.isGreyedOut=!0;this.linkUrl=this.displayName="";this.useCustomHandler=this.linkEnabled=!1;this.customHandler=new rG};SU.prototype.handleClick=function(a){this.useCustomHandler&&(a.preventDefault(),this.customHandler.emit())};SU.\u0275fac=function(a){return new (a||SU)};
SU.\u0275cmp=t({type:SU,selectors:[["b-conditional-link"]],inputs:{isGreyedOut:"isGreyedOut",displayName:"displayName",linkUrl:"linkUrl",linkEnabled:"linkEnabled",useCustomHandler:"useCustomHandler"},outputs:{customHandler:"customHandler"},decls:2,vars:2,consts:[[3,"muted"],["target","_blank",1,"normal-link",3,"href","rel"],["target","_blank",1,"normal-link",3,"click","href","rel"]],template:function(a,b){a&1&&D(0,$_a,2,3,"span",0)(1,a0a,2,3,"a",1);a&2&&(G(b.isGreyedOut||!b.linkEnabled?0:-1),C(),
G(!b.isGreyedOut&&b.linkEnabled?1:-1))},encapsulation:2,changeDetection:0});var TU=function(){this.documentationLinks=r(cL);this.dateFormatter=r(UM);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.retentionModel=s7b;this.label="Restricted";this.contentType="item"};TU.prototype.getRetentionPeriod=function(){return this.retentionState&&this.retentionState.retentionPeriod?Tk(Math.floor(this.retentionState.retentionPeriod.seconds*1E3/864E5)):""};
var c0a=function(a){var b=new Date(864E13);return a.retentionState&&a.retentionState.scheduledDeletionTime?new Date(Sk(a.retentionState.scheduledDeletionTime)||b):b},gJc=function(a){return a.retentionState&&a.retentionState.scheduledDeletionTime?Sk(a.retentionState.scheduledDeletionTime)-Date.now()<12096E5:!1};TU.\u0275fac=function(a){return new (a||TU)};
TU.\u0275cmp=t({type:TU,selectors:[["b-restricted-chip"]],inputs:{label:"label",contentType:"contentType",retention:"retention",retentionState:"retentionState"},decls:7,vars:5,consts:[["bubble",""],["popup",""],[1,"bubble",3,"panelTemplate"],["tabindex","0","aria-label","Display retention information","aria-haspopup","dialog","role","button",1,"chip","nowrap",3,"focus","blur"],[1,"icon-s",3,"svgIcon"],[1,"popup"],["target","_blank",3,"rel"]],template:function(a,b){if(a&1){var c=x();I(0,"xap-bubble",
2,0)(2,"div",3);M("focus",function(){z(c);var d=L(1);return A(d.toggle(!0))})("blur",function(){z(c);var d=L(1);return A(d.toggle(!1))});K(3,"mat-icon",4);Q(4);J();D(5,j0a,8,4,"ng-template",null,1,fh);J()}a&2&&(a=L(6),F("panelTemplate",a),C(2),ng("warning",gJc(b)),C(),F("svgIcon",gJc(b)?"delete-alert":"delete-clock"),C(),R(" ",b.label," "))},dependencies:[$D,bO,Lw],styles:[".chip[_ngcontent-%COMP%]{display:inline-block;border-radius:1em;font-size:.8125rem;font-weight:400;line-height:1.8em;padding:0 .6em;margin:0 .6em;background-color:#e8eaed;background-color:var(--chip-bg);color:#202124;color:var(--text-high-contrast)}.chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:text-top}.chip.warning[_ngcontent-%COMP%]{background-color:#fcad70;background-color:var(--expiring-bg);color:rgba(0,0,0,.7);color:var(--expiring-text)}.popup[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.5em !important}.popup[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:last-child{margin-bottom:0}/*# sourceMappingURL=restricted_chip.css.map */"],
changeDetection:0});var hJc=["actionsMenuIconButton"],UU=function(){this.buttonLabel="";this.buttonIcon="more-settings-vertical"};UU.prototype.onAction=function(a,b){return ve(function(c){if(a.type==="mouseup"&&a instanceof MouseEvent&&a.button!==1)return c.return();b.type!=="action"&&b.type!=="select"||b.action(a);Ce(c)})};UU.prototype.ngOnInit=function(){};UU.\u0275fac=function(a){return new (a||UU)};
UU.\u0275cmp=t({type:UU,selectors:[["b-actions-menu"]],viewQuery:function(a,b){a&1&&Mg(hJc,5);if(a&2){var c;Qg(c=Rg())&&(b.actionsMenuIconButton=c.first)}},inputs:{menuItems:"menuItems",buttonLabel:"buttonLabel",buttonIcon:"buttonIcon",header:"header"},decls:7,vars:2,consts:[["menu","matMenu"],["actionsMenuIconButton",""],["submenu","matMenu"],["mat-icon-button","","aria-haspopup","true",1,"medium",3,"matTooltip","matMenuTriggerFor"],[1,"b-actions-menu-panel"],[1,"bv2-menu-header"],[1,"icon-s",3,
"svgIcon"],["mat-menu-item","",3,"matMenuTriggerFor"],[1,"hint"],["mat-menu-item","",3,"disabled","ngClass"],["mat-menu-item","","role","menuitemcheckbox",3,"b-menu-item-checked","disabled","ngClass"],["mat-menu-item","",3,"click","mouseup","disabled","ngClass"],["mat-menu-item","","role","menuitemcheckbox",3,"click","mouseup","disabled","ngClass"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"]],template:function(a,b){a&1&&(D(0,k0a,3,4,"button",3),I(1,"mat-menu",null,0)(3,"div",4),D(4,
l0a,2,1,"div",5),tg(5,z0a,2,2,null,null,rg),J()());a&2&&(G(b.menuItems.length>0?0:-1),C(4),G(b.header?4:-1),C(),ug(b.menuItems))},dependencies:[vI,yI,wI,zI,Ew,$D,vD,Xy,FH,HH],styles:["[_nghost-%COMP%]{display:inline-block}.mat-mdc-menu-item[_ngcontent-%COMP%]{align-items:center;display:flex}.mat-mdc-menu-item[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin-right:8px}.mat-mdc-menu-item[_ngcontent-%COMP%]   .hint[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);margin-left:auto;padding-left:16px}  .b-actions-menu-panel .mat-mdc-menu-item[disabled]{pointer-events:auto}/*# sourceMappingURL=actions_menu.css.map */"],
changeDetection:0});var iJc={type:"action",label:"Report illegal content"},jJc={type:"submenu",label:"View as"},kJc={type:"action",label:"Restriction settings..."},lJc={type:"action",label:"Show editing history"};var VU=function(){Z.apply(this,arguments);this.activeSession=r(dv);this.documentationLinks=r(cL);this.domSafe=r(mM);this.matDialogService=r(kL);this.attachmentService=r(OU);this.cdr=r(sG,{self:!0});this.differs=r(uw);this.paths=r(zO);this.userAccess=r(YC);this.butterBar=r(hE);this.errorHandler=r(jE);this.analytics=r(wG);this.clipboard=r(mP);this.issueCommentDialogsService=r(mT);this.issuePermissionService=r(ZL);this.editIssueService=r(jM);this.snackBar=r(eE);this.trackerHelpers=r(yL);this.attachmentCountService=
r(RU);this.routeParams=r(PL);this.hasViewAccess=!1;this.actionMenuItems=[];this.attachmentRetentionSaveInProgress=!1;this.enableInactiveUserContent=lu(this.activeSession,"enableInactiveUserContent");this.enableInlineImageAttachments=lu(this.activeSession,"enableInlineImageAttachments");this.canDeleteAttachment$=new bo(!1);this.canUndeleteAttachment$=new bo(!1)};Y(VU,Z);VU.\u0275dir=Z.\u0275dir;
VU.prototype.ngOnInit=function(){var a=this;this.attachment&&(this.attachmentDiffer=this.differs.find(this.attachment).create());var b;this.attachmentRetentionOverride=(b=this.attachment)==null?void 0:b.piiRetention;mJc(this);nJc(this);this.issuePermissionService.canDeleteAttachment$(this.attachment,this.attachmentUploader).pipe(Of(this.destroyed$)).subscribe(function(c){a.canDeleteAttachment$.next(c);mJc(a)});this.issuePermissionService.canUndeleteAttachment$(this.attachment,this.attachmentUploader).pipe(Of(this.destroyed$)).subscribe(function(c){a.canUndeleteAttachment$.next(c);
mJc(a)});this.destroyed$.subscribe(function(){var c;((c=a.attachment)==null?0:c.attachmentId)&&a.attachmentCountService.inlinedAttachmentSet.delete(a.attachment.attachmentId)})};VU.prototype.ngDoCheck=function(){this.attachmentDiffer&&this.attachmentDiffer.diff(this.attachment)&&mJc(this)};VU.prototype.ngOnChanges=function(a){this.setHasViewAccess();a.attachment&&this.attachment&&(this.attachmentDiffer=this.differs.find(this.attachment).create())};
var mJc=function(a){a.actionMenuItems=[];var b;if((b=a.attachment)==null?0:b.attachmentId)a.canDeleteAttachment$.value&&a.actionMenuItems.push({type:"action",action:function(){a.showDeleteAttachmentDialog()},label:"Delete attachment..."}),a.canUndeleteAttachment$.value&&a.actionMenuItems.push({type:"action",action:function(){Csc(a.editIssueService,a.issueId,a.attachment)},label:"Restore attachment"});a.actionMenuItems.push({type:"action",action:function(){gEc(a.issueCommentDialogsService,a.issueId,
a.attachmentUploader===a.activeSession.getUserEmail(),a.attachment)},label:"Restriction settings..."});if(a.isRestricted()&&a.isActive()&&a.activeSession.isInternalSession()){var c=a.attachmentRetentionOverride==="COMPONENT_DEFAULT";a.actionMenuItems.push({type:"action",action:function(){var d=c?"INDEFINITE":"COMPONENT_DEFAULT";fEc(a.issueCommentDialogsService,"attachment",d).then(function(e){e&&oJc(a,d)})},label:c?"Match issue retention...":"Revert to component retention..."})}a.cdr.markForCheck()};
VU.prototype.setHasViewAccess=function(){var a=this;this.isRestricted()?this.attachment==null?this.hasViewAccess=!1:(this.hasViewAccess=!1,$C(this.userAccess,"reader","issues/"+this.issueId+"/attachments/"+this.attachment.attachmentId).then(function(b){a.hasViewAccess=b;a.cdr.detectChanges()})):this.hasViewAccess=!0};VU.prototype.getFilename=function(){var a;return((a=this.attachment)==null?void 0:a.filename)||""};
VU.prototype.getSize=function(){var a;return((a=this.attachment)==null?void 0:a.length)||0};
var F0a=function(a,b){b=b===void 0?!0:b;var c;if((c=a.attachment)==null||!c.attachmentId)throw Error("jf");if(a.enableInactiveUserContent){if(b)return"/download/attachment/"+a.issueId+"/"+a.attachment.attachmentId+"?download=true";var d;return tq.viewAttachment.makeHref(a.issueId,a.attachment.attachmentId,(d=a.attachment.contentType)!=null?d:"")}c="action/issues/"+a.issueId.toString()+"/attachments/"+a.attachment.attachmentId.toString();a=a.paths.getBaseUrl()+"/"+c;return chc(a,"download",b)};g=VU.prototype;
g.isActive=function(){var a;if((a=this.attachment)==null||!a.attachmentId)return!1;var b;return((b=this.attachment.entityStatus)==null?void 0:b.status)==="ACTIVE"};g.viewAttachment=function(){this.isRestricted()?H0a(this,!1):this.domSafe.openInNewTab(F0a(this,!1))};g.isRestricted=function(){return this.getRestrictionSeverity()!=="NONE_DETECTED"};g.getRestrictionSeverity=function(){var a;return Xp((a=this.attachment)==null?void 0:a.contentVerdict)};g.getRestrictedLabel=function(){return gJa(this.getRestrictionSeverity())};
var E0a=function(a){return(a=a.getRestrictionSeverity())?"bv2-restricted-content-limit-"+fJa(a):""},H0a=function(a,b){a.analytics.trackEvent("restrictedContent","viewRestrictedContent","attachment");a.matDialogService.open(NU,{width:"400px",data:{attachment:a.attachment,issueId:a.issueId,download:b}})};VU.prototype.showDeleteAttachmentDialog=function(){var a;(a=this.attachment)!=null&&a.attachmentId&&this.issueCommentDialogsService.showDeleteAttachmentDialog(this.issueId,this.attachment)};
var oJc=function(a,b){var c;(c=a.attachment)!=null&&c.attachmentId?(a.analytics.trackEvent("restrictedContent","updateRetention","attachment"),a.attachmentRetentionSaveInProgress=!0,a.attachmentService.updateRetention(a.issueId,a.attachment.attachmentId||0,b).pipe(Of(a.destroyed$)).subscribe({next:function(d){a.attachmentRetentionSaveInProgress=!1;a.attachment&&(a.attachment.piiRetention=d.piiRetention,a.attachment.piiRetentionState=d.piiRetentionState);du(a.butterBar,"Attachment retention updated",
4E3);a.attachmentRetentionOverride=b==="INDEFINITE"?"INDEFINITE":"COMPONENT_DEFAULT";mJc(a);a.cdr.detectChanges()},error:function(){a.attachmentRetentionSaveInProgress=!1;kE(a.errorHandler,"Attachment retention update failed")}})):kE(a.errorHandler,"Attachment id is missing")},nJc=function(a){var b,c,d;ve(function(e){(b=Number(a.routeParams.downloadAttachment))&&b===((c=a.attachment)==null?void 0:c.attachmentId)&&(d=a.routeParams.download==="true",H0a(a,d));Ce(e)})};
VU.\u0275fac=function(){var a;return function(b){return(a||(a=de(VU)))(b||VU)}}();
VU.\u0275cmp=t({type:VU,selectors:[["b-attachment-viewer"]],inputs:{attachment:"attachment",issueId:"issueId",attachmentUploader:"attachmentUploader"},features:[Yg([sG]),cg,Hd],decls:17,vars:9,consts:[["restrictedAccessHelp",""],[1,"bv2-issue-attachment-image"],["name","file-present","size","large",1,"bv2-issue-attachment-icon"],[1,"bv2-issue-attachment-filename"],[1,"bv2-issue-event-attachment-info","flex-kids-x","align-items-center"],[3,"label","retentionState","contentType"],[1,"bv2-issue-attachment-overflow-menu"],
[1,"flex-kids-x","align-items-center"],[3,"class"],[3,"panelTemplate"],[1,"bv2-restricted-access-help-icon","help-icon"],[2,"display","none",3,"issueId","attachmentId","mimeType"],[1,"issue-detail-actions",3,"menuItems","buttonLabel","matTooltip"],[3,"customHandler","isGreyedOut","displayName","linkUrl","linkEnabled","useCustomHandler"],[1,"bv2-issue-attachment-link","icon-button-container"],["aria-label","Copy link to attachment","color","primary","mat-icon-button","","matTooltip","Copy link to attachment",
"matTooltipPosition","above",1,"bv2-issue-copy-attachment-link",3,"click"],["name","link","size","small"],["aria-label","Restricted Access Help","mat-icon-button","","target","_blank",1,"help","small",3,"href","disableRipple"],[3,"svgIcon"],[1,"implicit-access-help-bubble"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(I(0,"div",1),K(1,"b-icon",2),J(),I(2,"div")(3,"div",3),Q(4),I(5,"span",4),D(6,C0a,1,3,"b-restricted-chip",5)(7,D0a,2,3,"span",6),J()(),I(8,"div",7),Q(9),D(10,G0a,2,8,"span",
8)(11,I0a,5,8),I(12,"xap-bubble",9),D(13,J0a,3,3,"span",10)(14,K0a,4,1,"ng-template",null,0,fh),J(),D(16,L0a,1,3,"attachment-preview",11),J()());if(a&2){a=L(15);C(4);R(" ",b.getFilename()," ");C(2);G(b.isRestricted()?6:-1);C();G(b.actionMenuItems.length>0?7:-1);C(2);R(" ",pKa(b.getSize())," ");C();var c;var d=b.isActive()&&gra((c=b.attachment)==null?void 0:c.contentType);G(d?10:-1);C();G(b.isActive()?11:-1);C();F("panelTemplate",a);C();G(b.isRestricted()&&!b.hasViewAccess?13:-1);C(3);var e,f,h;if(c=
!!(b.enableInlineImageAttachments&&b.isActive()&&((e=b.attachment)==null?0:e.contentType)&&((f=b.attachment)==null?0:f.contentType.startsWith("image/"))&&((h=b.attachment)==null?void 0:h.contentType)!=="image/svg+xml")){var l;((l=b.attachment)==null?0:l.attachmentId)?(e=b.attachmentCountService,b=b.attachment.attachmentId,e.inlinedAttachmentSet.has(b)?b=!0:e.getCount()<12?(e.inlinedAttachmentSet.add(b),b=!0):b=!1):b=!1;c=b}G(c?16:-1)}},dependencies:[QU,$D,UU,SU,yM,vD,Yy,Xy,FH,HH,TU,bO],styles:[".icon-button-container[_ngcontent-%COMP%]{margin-bottom:2px}.icon-button-container[_ngcontent-%COMP%]{--mat-icon-button-touch-target-display:none}.icon-button-container[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size: 36px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:6px}"],
changeDetection:0});var pJc={EXCEPTION:"EXCEPTION",ADS:"ADS",ALL_ISSUES:"ALL_ISSUES",GAR:"GAR",BUG_2_CODE:"BUG_2_CODE",PIXEL:"PIXEL",ABT:"ABT",BORG_SRE:"BORG_SRE",CLOUD_SRE:"CLOUD_SRE",GCP:"GCP",DIALER:"DIALER"},qJc={LLM_RESPONSE:0,RELATED_FIXED_ISSUES:1,SIMILAR_FIXED_ISSUES:2,LOADING_AND_FOOTER:3,BUG_2_CODE:4,0:"LLM_RESPONSE",1:"RELATED_FIXED_ISSUES",2:"SIMILAR_FIXED_ISSUES",3:"LOADING_AND_FOOTER",4:"BUG_2_CODE"},rJc={issueCategory:"BUG_2_CODE",customBranding:"Suggest fixes",displayedModules:[4]},sJc={issueCategory:"EXCEPTION",
autoOpenFlagName:"enableHelpMeFixSidebarAutoOpen",displayedModules:[0,1,3],llmApi:"gemini",llmPromptPrefix:"You are a troubleshoot engineer specializing in fixing\n      programming exceptions. Explain how to fix the following stack trace\n      exception: ",regexMatcher:new RegExp(/^(at [\w\.]{2,}\.[\w]+\([\w]+\.[\w]+:?[\d]*\)+|[\w\.]{2,}[\w]*Exception)+/m)},tJc={issueCategory:"ADS",autoOpenFlagName:"enableHelpMeFixSidebarAutoOpenAds",displayedModules:[0,2,3],llmPromptPrefix:"You are an engineer specializing in implementing simple fixes for software systems.\nYour tasks are presented in the form of a ticket.\n",
llmPromptSuffix:"Suggest a possible fix for the current ticket. Explain in concise terms the following:\n# Issue Summary\n* What is the issue observed?\n# Possible Solution\n* What are the specific changes that need to be made to fix the issue?\n* Is it clear what files need to be changed? If so, what are the specific lines that need to be changed?\nUse no more than 15 lines for your explanation.\n",includeSimilarIssuesInPrompt:!0,allowedRollupComponentIds:[102460,685828,44716,126250,329389,44737,
106267,746,33779]},uJc={issueCategory:"ALL_ISSUES",autoOpenFlagName:"enableHelpMeFixSidebarAutoOpenAllIssues",displayedModules:[0,3],llmPromptPrefix:"You are an engineer specializing in implementing simple fixes for software systems.\nYour tasks are presented in the form of a ticket.\n",llmPromptSuffix:"Suggest a possible fix for the current ticket. Explain in concise terms the following:\n# Issue Summary\n* What is the issue observed?\n# Possible Solution\n* What are the specific changes that need to be made to fix the issue?\n* Is it clear what files need to be changed? If so, what are the specific lines that need to be changed?\nUse no more than 15 lines for your explanation.\n",
includeSimilarIssuesInPrompt:!0,restrictedIssueTypes:["BUG"]},vJc={issueCategory:"GAR",autoOpenFlagName:"enableHelpMeFixSidebarAutoOpenGarIssues",displayedModules:[0,3],llmPromptPrefix:"You are an engineer specializing in implementing simple fixes for software systems.\nYour tasks are presented in the form of a ticket.\n",llmPromptSuffix:"Suggest a possible fix for the current ticket. Explain in concise terms the following:\n# Issue Summary\n* What is the issue observed?\n# Possible Solution\n* What are the specific changes that need to be made to fix the issue?\n* Is it clear what files need to be changed? If so, what are the specific lines that need to be changed?\nUse no more than 15 lines for your explanation.\n",
includeSimilarIssuesInPrompt:!0,restrictedIssueTypes:["BUG"],regexMatcher:new RegExp(/GAR[\s\-]?[1-9][.][0-9]+/m)},M0a={issueCategory:"PIXEL",displayedModules:[0,3],llmPromptPrefix:"You are an engineer specializing in implementing simple fixes for software systems.\nYour tasks are presented in the form of a ticket.\n",llmPromptSuffix:"Suggest a possible fix for the current ticket. Explain in concise terms the following:\n# Issue Summary\n* What is the issue observed?\n# Possible Solution\n* What are the specific changes that need to be made to fix the issue?\n* Is it clear what files need to be changed? If so, what are the specific lines that need to be changed?\nUse no more than 15 lines for your explanation.\n",
includeSimilarIssuesInPrompt:!0,includeIssueCommentsInPrompt:!0,allowedHotlistIds:[5217486,5217679,5469056,5425214],allowedSpecificComponentIds:[1133229,780976,761381,319107,319106,798681,958517,1122571,1255448,668104,1341213,1333653]},wJc={issueCategory:"ABT",displayedModules:[0,3],llmPromptPrefix:"# Root Cause Analysis with Given Android Bug:",llmPromptSuffix:'\n  ## Explanation Focus\n\n  ### In section "Summary"\n  * **Summarize the information in the bug to provide a short narrative of what happened.**\n  * **Extract insights from logs that are helpful for debugging or testing.**\n\n  ### In section "Hypothesis"\n  * **List the most possible issues and your hypotheses.**\n\n  ### In section "Debugging strategy"\n  * **List debugging strategies to help developers efficiently debug and test for hypotheses verification.**\n  * **Strategies should be as detailed as possible.**\n\n  ## Response Format\n  Respond in markdown format including sections:\n  * **Summary**\n  * **Hypothesis**\n  * **Debugging strategy**',
includeIssueCommentsInPrompt:!0,restrictedIssueTypes:["BUG"],allowedSpecificComponentIds:[987138,1047205,190923,1183451,311362,34810,37123,78005,348260,27441,1315988,1195140]},xJc={issueCategory:"BORG_SRE",displayedModules:[0,3],llmPromptSuffix:'\n  Please make brief summary of the ticket, fill all the necessary data (e.g. values, percentages) from the ticket itself and a playbook.\n  A link to the playbook should be available in the ticket; please refer to information from this playbook.\n  There is no PII data, it is just a summary of the ticket. Assume that I am a current oncaller and have no idea about this ticket.\n  Then suggest an investigation step-by-step, do not just copy and paste everything from the playbook, make it shorter please.\n  Do not say "Playbook says that". Please do not stuck looping, regenerate your output if you find out that you output the same thing twice.\n  When you are done, please add two newlines and trim your response there.\n\n  ',
includeSimilarIssuesInPrompt:!0,allowedSpecificComponentIds:[126840,40639,137293,137338,915541,986564,881885,881886,881959,967590,1169875,1348521,126786,49955,1117958,1124104,38750,806247,1115456,1192944,1185287,1260470,1192583,110072,77871,104191,41103,77155,76928,38011,1134134,1559962,1346497,1135261,1495275,550709,1578853]},yJc={issueCategory:"CLOUD_SRE",displayedModules:[0,1,3],llmPromptPrefix:"You are an engineer specializing in implementing simple fixes for software systems.\nYour tasks are presented in the form of a ticket.\n",
llmPromptSuffix:"Suggest a possible fix for the current ticket. Explain in concise terms the following:\n# Issue Summary\n* What is the issue observed?\n# Possible Solution\n* What are the specific changes that need to be made to fix the issue?\n* Is it clear what files need to be changed? If so, what are the specific lines that need to be changed?\nUse no more than 15 lines for your explanation.\n",includeIssueCommentsInPrompt:!0,allowedSpecificComponentIds:[1288927,1528390,1288779,1528779,1290211,
1290239]},zJc={issueCategory:"GCP",displayedModules:[0,3],llmPromptPrefix:"You are an engineer specializing in implementing simple fixes for software systems.\nYour tasks are presented in the form of a ticket.\n",llmPromptSuffix:"Suggest a possible fix for the current ticket. Explain in concise terms the following:\n# Issue Summary\n* What is the issue observed?\n# Possible Solution\n* What are the specific changes that need to be made to fix the issue?\n* Is it clear what files need to be changed? If so, what are the specific lines that need to be changed?\nUse no more than 15 lines for your explanation.\n",
includeSimilarIssuesInPrompt:!0,includeIssueCommentsInPrompt:!0,allowedSpecificComponentIds:[891867,926800,891615,941780,949763,892258,1195250,996259,891614,934603,931084,977470,941538,996461,891686,891822,891694]},AJc={issueCategory:"DIALER",displayedModules:[0,3],llmPromptPrefix:"You are an engineer specializing in implementing simple fixes for software systems.\nYour tasks are presented in the form of a ticket.\n",llmPromptSuffix:"Suggest a possible fix for the current ticket. Explain in concise terms the following:\n# Issue Summary\n* What is the issue observed?\n# Possible Solution\n* What are the specific changes that need to be made to fix the issue?\n* Is it clear what files need to be changed? If so, what are the specific lines that need to be changed?\nUse no more than 15 lines for your explanation.\n",
includeSimilarIssuesInPrompt:!0,includeIssueCommentsInPrompt:!0,allowedSpecificComponentIds:[1010727,1010620,1010726]};var WU=function(a,b,c,d){this.creatorEmail=a;this.reporterEmail=b;this.matchingDescriptionSubstring=c;this.metricTag=d};var BJc=[new WU(null,null,"Visit Upkeep to monitor tech debt of your","isUpkeepIssue"),new WU("cloud-control2-frontend-onboarding-automation@prod.google.com","cloud-control2-frontend-onboarding-automation@prod.google.com",null,"isCloudControl2FrontendOnboardingAutomationIssue"),new WU("flagbuster-prod@prod.google.com","flagbuster@prod.google.com",null,"isFlagBusterIssue"),new WU("corpeng-compliance-checker@prod.google.com","corpeng-compliance-checker@prod.google.com",null,"isCorpEngComplianceCheckerIssue"),
new WU("gce-fleet-deployment-autocleanup-jobs@prod.google.com","gce-fleet-deployment-autocleanup-jobs@google.com",null,"isGCEFleetDeploymentAutoCleanupIssue"),new WU("identity-metrics@prod.google.com","identity-metrics@prod.google.com",null,"isIdentityMetricsIssue"),new WU("dirt-federated-docs@prod.google.com","dirt-federated-docs@prod.google.com",null,"isDirtFederatedDocsIssue"),new WU("rtc-bugle-mapreduce@prod.google.com","rtc-bugle-mapreduce@prod.google.com",null,"isRtcBugleMapreduceIssue"),new WU("assistant-server-dev@prod.google.com",
"assistant-server-dev@prod.google.com",null,"isAssistantServerDevIssue"),new WU("gce-turnup-smi-runner@prod.google.com","gce-turnup-smi-runner@prod.google.com",null,"isGCETurnupSmiRunnerIssue"),new WU("cloud-sdk-testing@prod.google.com","cloud-sdk-testing@prod.google.com",null,"isCloudSdkTestingIssue")];var XU=function(){this.eventsForIssueFridge=r(yF);this.issueFullFridge=r(yG);this.activeSession=r(dv);this.analytics=r(wG)},EJc=function(a,b){return Me([CJc(a,b),DJc(a,b)]).pipe(B(function(c){var d=k(c);c=d.next().value;d=d.next().value;a:{var e=lu(a.activeSession,"enableGoosePromptingSupportedIssues");if(c!=null&&d!=null&&al(c)&&e){e=k(BJc);for(var f=e.next();!f.done;f=e.next()){f=f.value;var h=void 0,l=void 0,q=void 0;var v=f.creatorEmail&&(d==null?void 0:(q=d.userPerformingActionUser)==null?void 0:
q.emailAddress)!==f.creatorEmail?!1:f.reporterEmail&&((l=c.snapshot[0].reporterUser)==null?void 0:l.emailAddress)!==f.reporterEmail?!1:f.matchingDescriptionSubstring&&!(d==null?0:(h=d.unlinkifiedComment)==null?0:h.includes(f.matchingDescriptionSubstring))?!1:!0;if(v){a.analytics.trackEvent("bug2Code","display",f.metricTag);c=!0;break a}}}c=!1}return c}))},CJc=function(a,b){return a.issueFullFridge.watch(b,{trustUncertainMemory:!0}).pipe(B(function(c){return c?c:null}))},DJc=function(a,b){return a.eventsForIssueFridge.watch(b,
{trustUncertainMemory:!0}).pipe(B(function(c){if(!c)return null;c=[].concat(w(c.events.slice(0,1)));return c.length>0?c[0]:null}))};XU.\u0275fac=function(a){return new (a||XU)};XU.\u0275prov=n({token:XU,factory:XU.\u0275fac,providedIn:"root"});var YU=function(){var a=this;this.appEvents=r(nE);this.activeSession=r(dv);this.contextSensitiveRegistry=r(WL);this.issueFullFridge=r(yG);this.eventsForIssueFridge=r(yF);this.componentFridge=r(AC);this.similarIssuesApi=r(eP);this.llmSuggestedBugFixService=r(XU);this.issueId$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.issueId$.pipe(Ye(kj),Nf(function(b){return a.issueFullFridge.watch(b)}),Ef(function(b,c){return(b==null?void 0:b.issueId)===(c==null?void 0:c.issueId)}));this.events$=
this.issueId$.pipe(Ye(kj),Nf(function(b){return a.eventsForIssueFridge.watch(b)}),B(function(b){var c;return(c=b&&b.events)!=null?c:[]}),Ef());this.description$=this.events$.pipe(B(function(b){return b.length?b[0]:void 0}),B(function(b){var c;return(c=b==null?void 0:b.unlinkifiedComment)!=null?c:void 0}),Ef());this.component$=this.issue$.pipe(Nf(function(b){var c,d;b=b==null?void 0:(c=b.snapshot)==null?void 0:(d=c[0])==null?void 0:d.componentId;return a.componentFridge.watch(b)}),Ef());this.similarFixedIssues$=
this.issue$.pipe(Nf(function(b){if(!b)return Fe({similarIssues:[],scores:[]});var c,d,e=b==null?void 0:(c=b.snapshot)==null?void 0:(d=c[0])==null?void 0:d.componentId;return fP(a.similarIssuesApi,{issueId:Number(b.issueId),scope:ap($o("-id",b.issueId),$o("modified","365d"),$o("status","fixed"),$o("cl","any"),e?$o("componentId",e+"+"):void 0),scopeSortOrder:"modified_time desc",maxResults:5})}),B(function(b){for(var c=[],d=0;d<b.scores.length;d++)b.scores[d]>=.85&&c.push(b.similarIssues[d]);return c}),
Kf({bufferSize:1,refCount:!0}));this.isFlagEnabledAndInternal$=Fe(lu(this.activeSession,"enableHelpMeFixSidebar")&&this.activeSession.isInternalSession());this.isExceptionIssueCategory$=Me([this.issue$,this.description$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;var d;b=k([b,c]);var e=b.next().value;b=b.next().value;if(e&&b){c=lu(a.activeSession,"enableHelpMeFixSidebarOnAllComponents");var f;e=e==null?void 0:(d=e.snapshot)==null?void 0:(f=d[0])==null?void 0:f.componentId;d=
new Set(a.activeSession.session.config.helpMeFixSidebarComponentAllowlist);d=e&&d.has(e);d=c||d?P0a(b,sJc):!1}else d=!1;return d}));this.meetsAdsPreconditions$=Me([this.description$,this.component$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return FJc(a,[b,c])}));this.isAdsIssueCategory$=this.meetsAdsPreconditions$.pipe(Nf(function(b){return b?a.similarFixedIssues$.pipe(B(function(c){return c.length>0})):Fe(!1)}));this.meetsAllIssuesPreconditions$=Me([this.issue$,this.description$]).pipe(B(function(b){var c=
k(b);b=c.next().value;c=c.next().value;c=k([b,c]);b=c.next().value;c=c.next().value;b&&c?(c=lu(a.activeSession,"enableHelpMeFixSidebarOnAllIssues")&&lu(a.activeSession,"enableHelpMeFixSidebarOnAllIssuesOptIn"),b=O0a(uJc,b),b=c&&b):b=!1;return b}));this.isAllIssuesIssueCategory$=this.meetsAllIssuesPreconditions$.pipe(Nf(function(b){return b?a.similarFixedIssues$.pipe(B(function(c){return c.length>0})):Fe(!1)}));this.meetsGarPreconditions$=Me([this.issue$,this.description$]).pipe(B(function(b){var c=
k(b);b=c.next().value;c=c.next().value;var d;b=k([b,c]);var e=b.next().value;var f=b.next().value;if(e&&f){b=lu(a.activeSession,"enableHelpMeFixOnGarIssues")&&lu(a.activeSession,"enableHelpMeFixOnGarIssuesOptIn");c=O0a(vJc,e);var h,l;e=((l=(d=e.snapshot)==null?void 0:(h=d[0])==null?void 0:h.title)!=null?l:"")+" "+f;d=P0a(e,vJc);d=b&&c&&d}else d=!1;return d}));this.isGarIssueCategory$=this.meetsGarPreconditions$.pipe(Nf(function(b){return b?a.similarFixedIssues$.pipe(B(function(c){return c.length>
0})):Fe(!1)}));this.isBug2CodeIssueCategory$=this.issueId$.pipe(Nf(function(b){return b?EJc(a.llmSuggestedBugFixService,b):Fe(!1)}));this.meetsPixelPreconditions$=Me([this.issue$,this.component$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;var d;c=k([b,c]);b=c.next().value;var e=c.next().value;b&&e&&lu(a.activeSession,"enableHelpMeFixOnPixelIssues")?(c=((d=M0a.allowedSpecificComponentIds)!=null?d:[]).includes(e.componentId),d=N0a(b),d=c||d):d=!1;return d}));this.isPixelIssueCategory$=
this.meetsPixelPreconditions$.pipe(Nf(function(b){return b?a.similarFixedIssues$.pipe(B(function(c){return c.length>0})):Fe(!1)}));this.meetsBorgSrePreconditions$=Me([this.issue$,this.component$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;c=k([b,c]);b=c.next().value;c=c.next().value;if(b&&c&&lu(a.activeSession,"enableHelpMeFixOnBorgSreIssues")){var d;b=((d=xJc.allowedSpecificComponentIds)!=null?d:[]).includes(c.componentId)}else b=!1;return b}));this.isBorgSreIssueCategory$=
this.meetsBorgSrePreconditions$.pipe(Nf(function(b){return b?a.similarFixedIssues$.pipe(B(function(c){return c.length>0})):Fe(!1)}));this.meetsGcpPreconditions$=Me([this.issue$,this.component$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;c=k([b,c]);b=c.next().value;c=c.next().value;if(b&&c&&lu(a.activeSession,"enableHelpMeFixOnGcpIssues")){var d;b=((d=zJc.allowedSpecificComponentIds)!=null?d:[]).includes(c.componentId)}else b=!1;return b}));this.isGcpIssueCategory$=this.meetsGcpPreconditions$.pipe(Nf(function(b){return b?
a.similarFixedIssues$.pipe(B(function(c){return c.length>0})):Fe(!1)}));this.meetsDialerPreconditions$=Me([this.issue$,this.component$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;c=k([b,c]);b=c.next().value;c=c.next().value;if(b&&c&&lu(a.activeSession,"enableHelpMeFixOnDialerIssues")){var d;b=((d=AJc.allowedSpecificComponentIds)!=null?d:[]).includes(c.componentId)}else b=!1;return b}));this.isDialerIssueCategory$=this.meetsDialerPreconditions$.pipe(Nf(function(b){return b?a.similarFixedIssues$.pipe(B(function(c){return c.length>
0})):Fe(!1)}));this.isAbtIssueCategory$=Me([this.issue$,this.description$,this.component$]).pipe(B(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;var e;c=k([b,d,c]);b=c.next().value;d=c.next().value;c=c.next().value;b&&d&&c&&lu(a.activeSession,"enableHelpMeFixOnAbtIssues")?(d=((e=wJc.allowedSpecificComponentIds)!=null?e:[]).includes(c.componentId),e=O0a(wJc,b)&&d):e=!1;return e}));this.isCloudSreIssueCategory$=Me([this.component$]).pipe(B(function(b){b=k(b).next().value;
var c=k([b]).next().value;if(c&&lu(a.activeSession,"enableHelpMeFixOnCloudSreIssues")){var d;b=((d=yJc.allowedSpecificComponentIds)!=null?d:[]).includes(c.componentId)}else b=!1;return b}));this.currentConfig$=Me([this.isFlagEnabledAndInternal$,this.isExceptionIssueCategory$,this.isGarIssueCategory$,this.isAdsIssueCategory$,this.isAllIssuesIssueCategory$,this.isBug2CodeIssueCategory$,this.isPixelIssueCategory$,this.isAbtIssueCategory$,this.isBorgSreIssueCategory$,this.isCloudSreIssueCategory$,this.isGcpIssueCategory$,
this.isDialerIssueCategory$]).pipe(B(function(b){var c=k(b);b=c.next().value;var d=c.next().value;var e=c.next().value;var f=c.next().value;var h=c.next().value;var l=c.next().value;var q=c.next().value;var v=c.next().value;var y=c.next().value;var E=c.next().value;var H=c.next().value;c=c.next().value;if(l)return rJc;if(b){if(d)return sJc;if(e)return vJc;if(f)return tJc;if(q)return M0a;if(h)return uJc;if(v)return wJc;if(y)return xJc;if(E)return yJc;if(H)return zJc;if(c)return AJc}}),Ef(),Kf({bufferSize:1,
refCount:!0}));this.shouldSidebarAutoOpen$=Me([this.issue$.pipe(Ef(Q0a)),this.currentConfig$.pipe(Ef())]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;if(!b||!c||Sta(b))return!1;b=c.autoOpenFlagName;return!(!b||!lu(a.activeSession,b))}));this.isHelpMeFixSidebarOpen$=this.shouldSidebarAutoOpen$.pipe(Nf(function(b){return Xe(a.appEvents.openHelpMeFixSidebar.pipe(Bf(!0)),a.appEvents.closeHelpMeFixSidebar.pipe(Bf(!1))).pipe(Mf(b))}))},FJc=function(a,b){var c=k(b);b=c.next().value;c=
c.next().value;if(!c||!b||!lu(a.activeSession,"enableHelpMeFixForAds"))return!1;var d,e,f=(e=(d=c.componentPathInfo)==null?void 0:d.componentPathId)!=null?e:[],h;return((h=tJc.allowedRollupComponentIds)!=null?h:[]).some(function(l){return f.includes(l)})};YU.\u0275fac=function(a){return new (a||YU)};YU.\u0275prov=n({token:YU,factory:YU.\u0275fac,providedIn:"root"});var ZU=function(){this.contextSensitiveRegistry=r(WL);this.helpMeFixService=r(YU);this.issueId$=this.contextSensitiveRegistry.getIssueId().pipe(Ef());this.isEligibleForHelpMeFix$=this.helpMeFixService.currentConfig$.pipe(B(function(a){return!!a&&a!==rJc}));this.requestTogglePreviewVisible=new If(1);this.isPreviewVisible$=Me([this.requestTogglePreviewVisible.pipe(Mf(void 0)),this.issueId$]).pipe(B(function(a){a=k(a);a.next();a=a.next().value;if(!a)return!0;a=Lsa("isHmfPreviewVisibleForIssue"+a)();
return a===void 0?!0:a==="VISIBLE"}),Kf({bufferSize:1,refCount:!0}))},m1a=function(a){var b,c,d;ve(function(e){if(e.nextAddress==1)return xe(e,Je(a.issueId$),2);if(e.nextAddress!=3)return(b=e.yieldResult)?xe(e,Je(a.isPreviewVisible$),3):e.return();d=(c=e.yieldResult)?"HIDDEN":"VISIBLE";f8b("isHmfPreviewVisibleForIssue"+b)(d);a.requestTogglePreviewVisible.next();Ce(e)})};ZU.\u0275fac=function(a){return new (a||ZU)};ZU.\u0275prov=n({token:ZU,factory:ZU.\u0275fac,providedIn:"root"});var GJc=function(a,b,c){this.requestMessage_=a;this.methodDescriptor_=b;this.metadata_=c};GJc.prototype.getMetadata=function(){return this.metadata_};var HJc=function(a,b){b=b===void 0?{}:b;this.responseMessage_=a;this.metadata_=b;this.status_=null};HJc.prototype.getMetadata=function(){return this.metadata_};HJc.prototype.getStatus=function(){return this.status_};var $U=function(a,b,c,d,e){this.name=a;this.requestType=b;this.responseType=c;this.requestSerializeFn=d;this.responseDeserializeFn=e},IJc=function(a,b,c){c=c===void 0?{}:c;return new GJc(b,a,c)};$U.prototype.getName=function(){return this.name};$U.prototype.getName=$U.prototype.getName;var aV=function(a){this.internalArray_=m(a)};Y(aV,V);aV.prototype.setFeedbackType=function(a){return hk(this,2,a)};aV.prototype.getIsDeleted=function(){return Fj(this,6)};aV.prototype.setIsDeleted=function(a){dk(this,6,a)};aV.prototype.getMessageId=function(){return Gh(this,7)};var $0a=function(a){this.internalArray_=m(a)};Y($0a,V);g=$0a.prototype;g.getTitle=function(){return Gh(this,1)};g.setTitle=function(a){return gk(this,1,a)};g.getUrl=function(){return Gh(this,2)};g.setUrl=function(a){return gk(this,2,a)};g.hasUrl=function(){return Hj(this,2)};g.getIconUrl=function(){return Gh(this,3)};g.setIconUrl=function(a){return gk(this,3,a)};var Y0a=function(a){this.internalArray_=m(a)};Y(Y0a,V);var X0a=function(a){this.internalArray_=m(a)};Y(X0a,V);var Z0a=[3,4,5,6,7];var bV=function(a){this.internalArray_=m(a)};Y(bV,V);g=bV.prototype;g.getMessageId=function(){return Gh(this,1)};g.getText=function(){return Gh(this,3)};g.setText=function(a){return gk(this,3,a)};g.setModelId=function(a){gk(this,4,a)};g.getClient=function(){return Kj(this,7,0)};g.setClient=function(a){return hk(this,7,a)};g.hasClient=function(){return Ij(this,7)};g.setFeedback=function(a){return X(this,aV,9,a)};var JJc=function(a){this.internalArray_=m(a)};Y(JJc,V);var cV=function(a){this.internalArray_=m(a)};Y(cV,V);cV.prototype.setModelId=function(a){gk(this,2,a)};cV.prototype.getText=function(){return Gh(this,3)};cV.prototype.setText=function(a){return gk(this,3,a)};cV.prototype.setConversationHistory=function(a){return X(this,JJc,11,a)};var KJc=function(a){this.internalArray_=m(a)};Y(KJc,V);g=KJc.prototype;g.getResponse=function(){return W(this,bV,1)};g.getReadonlyResponse=function(){return ur(this,bV,1)};g.getMutableResponse=function(){return Av(this,bV,1)};g.setResponse=function(a){return X(this,bV,1,a)};g.setConversationHistory=function(a){return X(this,JJc,5,a)};g.getQuery=function(){return W(this,bV,2)};g.setQuery=function(a){return X(this,bV,2,a)};g.clearQuery=function(){Zp(this,2)};
g.hasQuery=function(){return Oj(this,bV,2)};var LJc=new $U("/google.corp.devtools.devassist.ml4answers.v1.DuckieBackendService/GenerateAnswers",cV,KJc,function(a){return a.serialize()},Ih(KJc));var dV=function(a,b,c){c=c===void 0?{}:c;b=Error.call(this,b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a;this.metadata=c;this.name="RpcError";Object.setPrototypeOf(this,this.constructor.prototype)};Y(dV,Error);dV.prototype.toString=function(){var a="RpcError("+(Ana(this.code)||String(this.code))+")";this.message&&(a+=": "+this.message);return a};var MJc=new Set(["SAPISIDHASH","APISIDHASH"]);var NJc=Promise;var eV=function(a,b){this.xhrNodeReadableStream_=a.nodeReadableStream;this.grpcResponseDeserializeFn_=b;this.xhr_=a.xhr;this.onDataCallbacks_=[];this.onMetadataCallbacks_=[];this.onStatusCallbacks_=[];this.onEndCallbacks_=[];this.onErrorCallbacks_=[];this.xhrNodeReadableStream_&&OJc(this)},UJc=function(a,b){zp(a.xhr_,"complete",function(){if(a.xhr_.isSuccess()){var c=a.xhr_.getResponseText();if(b&&a.xhr_.getResponseHeader("Content-Type")==="text/plain"){if(!atob)throw Error("kf");c=atob(c)}try{var d=
a.grpcResponseDeserializeFn_(c)}catch(h){PJc(a,new dV(13,"Error when deserializing response data; error: "+h+(", response: "+c)));return}c=zna(a.xhr_.getStatus());QJc(a,RJc(a));c==0?SJc(a,d):PJc(a,new dV(c,"Xhr succeeded but the status code is not 200"))}else{c=a.xhr_.getResponseText();d=RJc(a);if(c){var e=TJc(a,c);c=e.code;var f=e.details;e=e.metadata}else c=2,f="Rpc failed due to xhr error. uri: "+a.xhr_.getLastUri()+", error code: "+a.xhr_.getLastErrorCode()+", error: "+a.xhr_.getLastError(),e=
d;QJc(a,d);PJc(a,new dV(c,f,e))}})},OJc=function(a){a.xhrNodeReadableStream_.on("data",function(b){if("1"in b){var c=b["1"];try{var d=a.grpcResponseDeserializeFn_(c)}catch(e){PJc(a,new dV(13,"Error when deserializing response data; error: "+e+(", response: "+c)))}d&&SJc(a,d)}if("2"in b)for(b=TJc(a,b["2"]),c=0;c<a.onStatusCallbacks_.length;c++)a.onStatusCallbacks_[c](b)});a.xhrNodeReadableStream_.on("end",function(){QJc(a,RJc(a));for(var b=0;b<a.onEndCallbacks_.length;b++)a.onEndCallbacks_[b]()});
a.xhrNodeReadableStream_.on("error",function(){if(a.onErrorCallbacks_.length!=0){var b=a.xhr_.getLastErrorCode();b!==0||a.xhr_.isSuccess()||(b=6);var c=-1;switch(b){case 0:var d=2;break;case 7:d=10;break;case 8:d=4;break;case 6:c=a.xhr_.getStatus();d=zna(c);break;default:d=14}QJc(a,RJc(a));b=EBc(b)+", error: "+a.xhr_.getLastError();c!=-1&&(b+=", http status code: "+c);PJc(a,new dV(d,b))}})},RJc=function(a){var b={},c=a.xhr_.getResponseHeaders();Object.keys(c).forEach(function(d){b[d]=c[d]});return b},
TJc=function(a,b){var c=2,d={};try{var e=SAc(b);c=e.getCode();var f=e.getMessage();nj(e,yn,3,Wi()).length&&(d["grpc-web-status-details-bin"]=b)}catch(h){a.xhr_&&a.xhr_.getStatus()===404?(c=5,f="Not Found: "+a.xhr_.getLastUri()):(c=14,f="Unable to parse RpcStatus: "+h)}return{code:c,details:f,metadata:d}};
eV.prototype.on=function(a,b){a=="data"?this.onDataCallbacks_.push(b):a=="metadata"?this.onMetadataCallbacks_.push(b):a=="status"?this.onStatusCallbacks_.push(b):a=="end"?this.onEndCallbacks_.push(b):a=="error"&&this.onErrorCallbacks_.push(b);return this};var VJc=function(a,b){b=a.indexOf(b);b>-1&&a.splice(b,1)};
eV.prototype.removeListener=function(a,b){a=="data"?VJc(this.onDataCallbacks_,b):a=="metadata"?VJc(this.onMetadataCallbacks_,b):a=="status"?VJc(this.onStatusCallbacks_,b):a=="end"?VJc(this.onEndCallbacks_,b):a=="error"&&VJc(this.onErrorCallbacks_,b);return this};eV.prototype.cancel=function(){this.xhr_.abort()};
var SJc=function(a,b){for(var c=0;c<a.onDataCallbacks_.length;c++)a.onDataCallbacks_[c](b)},QJc=function(a,b){for(var c=0;c<a.onMetadataCallbacks_.length;c++)a.onMetadataCallbacks_[c](b)},PJc=function(a,b){for(var c=0;c<a.onErrorCallbacks_.length;c++)a.onErrorCallbacks_[c](b)};eV.prototype.cancel=eV.prototype.cancel;eV.prototype.removeListener=eV.prototype.removeListener;eV.prototype.on=eV.prototype.on;var WJc=function(){this.isInputValid_=!0;this.streamPos_=0;this.leftoverInput_=""};WJc.prototype.isInputValid=function(){return this.isInputValid_};WJc.prototype.error_=function(a,b){this.isInputValid_=!1;throw Error("lf`"+this.streamPos_+"`"+b+"`"+a);};
WJc.prototype.decode=function(a){this.isInputValid_||this.error_(a,"stream already broken");this.leftoverInput_+=a;a=Math.floor(this.leftoverInput_.length/4);if(a==0)return null;try{var b=FZb(this.leftoverInput_.slice(0,a*4))}catch(c){this.error_(this.leftoverInput_,c.message)}this.streamPos_+=a*4;this.leftoverInput_=this.leftoverInput_.slice(a*4);return b};var S0a=function(){this.errorMessage_=null;this.result_=[];this.countLengthBytes_=this.length_=this.tag_=this.state_=this.streamPos_=0;this.messageBuffer_=null;this.countMessageBytes_=0};g=S0a.prototype;g.isInputValid=function(){return this.state_!=3};g.getErrorMessage=function(){return this.errorMessage_};g.error_=function(a,b,c){this.state_=3;this.errorMessage_="The stream is broken @"+this.streamPos_+"/"+b+". Error: "+c+". With input:\n"+a;throw Error(this.errorMessage_);};
g.acceptsBinaryInput=function(){return!0};
g.parse=function(a){function b(q){q&128&&f.error_(h,l,"invalid tag");(q&7)!=2&&f.error_(h,l,"invalid wire type");f.tag_=q>>>3;f.tag_!=1&&f.tag_!=2&&f.tag_!=15&&f.error_(h,l,"unexpected tag");f.state_=1;f.length_=0;f.countLengthBytes_=0}function c(q){f.countLengthBytes_++;f.countLengthBytes_==5&&q&240&&f.error_(h,l,"message length too long");f.length_|=(q&127)<<(f.countLengthBytes_-1)*7;q&128||(f.state_=2,f.countMessageBytes_=0,typeof Uint8Array!=="undefined"?f.messageBuffer_=new Uint8Array(f.length_):
f.messageBuffer_=Array(f.length_),f.length_==0&&e())}function d(q){f.messageBuffer_[f.countMessageBytes_++]=q;f.countMessageBytes_==f.length_&&e()}function e(){if(f.tag_<15){var q={};q[f.tag_]=f.messageBuffer_;f.result_.push(q)}f.state_=0}for(var f=this,h=a instanceof Array?a:new Uint8Array(a),l=0;l<h.length;){switch(f.state_){case 3:f.error_(h,l,"stream already broken");break;case 0:b(h[l]);break;case 1:c(h[l]);break;case 2:d(h[l]);break;default:throw Error("mf`"+f.state_);}f.streamPos_++;l++}a=
f.result_;f.result_=[];return a.length>0?a:null};var T0a=function(){this.errorMessage_=null;this.streamPos_=0;this.base64Decoder_=new WJc;this.pbParser_=new S0a};g=T0a.prototype;g.isInputValid=function(){return this.errorMessage_===null};g.getErrorMessage=function(){return this.errorMessage_};g.error_=function(a,b){this.errorMessage_="The stream is broken @"+this.streamPos_+". Error: "+b+". With input:\n"+a;throw Error(this.errorMessage_);};g.acceptsBinaryInput=function(){return!1};
g.parse=function(a){this.errorMessage_!==null&&this.error_(a,"stream already broken");var b=null;try{var c=this.base64Decoder_.decode(a);b=c===null?null:this.pbParser_.parse(c)}catch(d){this.error_(a,d.message)}this.streamPos_+=a.length;return b};var fV=function(a){return a=="\r"||a=="\n"||a==" "||a=="\t"};var R0a=function(a){this.errorMessage_=null;this.result_=[];this.buffer_="";this.stack_=[];this.pos_=this.depth_=0;this.slashed_=!1;this.unicodeCount_=0;this.stringInputPattern_=/[\\"]/g;this.state_=this.streamState_=0;this.deliverMessageAsRawString_=!(!a||!a.deliverMessageAsRawString)},XJc={INIT:0,VALUE:1,OBJECT_OPEN:2,OBJECT_END:3,ARRAY_OPEN:4,ARRAY_END:5,STRING:6,KEY_START:7,KEY_END:8,TRUE1:9,TRUE2:10,TRUE3:11,FALSE1:12,FALSE2:13,FALSE3:14,FALSE4:15,NULL1:16,NULL2:17,NULL3:18,NUM_DECIMAL_POINT:19,
NUM_DIGIT:20};g=R0a.prototype;g.isInputValid=function(){return this.streamState_!=3};g.getErrorMessage=function(){return this.errorMessage_};g.done=function(){return this.streamState_===2};g.error_=function(a,b){this.streamState_=3;this.errorMessage_="The stream is broken @"+this.pos_+"/"+b+". With input:\n"+a;throw Error(this.errorMessage_);};g.acceptsBinaryInput=function(){return!1};
g.parse=function(a){function b(){for(;H<a.length;)if(fV(a[H]))H++,f.pos_++;else break;return H<v}function c(){for(var N;;){N=a[H++];if(!N)break;f.pos_++;switch(f.state_){case q.INIT:N==="{"?f.state_=q.OBJECT_OPEN:N==="["?f.state_=q.ARRAY_OPEN:fV(N)||f.error_(a,H);continue;case q.KEY_START:case q.OBJECT_OPEN:if(fV(N))continue;if(f.state_===q.KEY_START)h.push(q.KEY_END);else if(N==="}"){e("{}");f.state_=d();continue}else h.push(q.OBJECT_END);N==='"'?f.state_=q.STRING:f.error_(a,H);continue;case q.KEY_END:case q.OBJECT_END:if(fV(N))continue;
N===":"?(f.state_===q.OBJECT_END&&(h.push(q.OBJECT_END),f.depth_++),f.state_=q.VALUE):N==="}"?(f.depth_--,e(),f.state_=d()):N===","?(f.state_===q.OBJECT_END&&h.push(q.OBJECT_END),f.state_=q.KEY_START):f.error_(a,H);continue;case q.ARRAY_OPEN:case q.VALUE:if(fV(N))continue;if(f.state_===q.ARRAY_OPEN)if(f.depth_++,f.state_=q.VALUE,N==="]"){f.depth_--;if(f.depth_===0){f.state_=q.ARRAY_END;return}e("[]");f.state_=d();continue}else h.push(q.ARRAY_END);N==='"'?f.state_=q.STRING:N==="{"?f.state_=q.OBJECT_OPEN:
N==="["?f.state_=q.ARRAY_OPEN:N==="t"?f.state_=q.TRUE1:N==="f"?f.state_=q.FALSE1:N==="n"?f.state_=q.NULL1:N!=="-"&&("0123456789".indexOf(N)!==-1?f.state_=q.NUM_DIGIT:f.error_(a,H));continue;case q.ARRAY_END:if(N===",")h.push(q.ARRAY_END),f.state_=q.VALUE,f.depth_===1&&(E=H);else if(N==="]"){f.depth_--;if(f.depth_===0)return;e();f.state_=d()}else if(fV(N))continue;else f.error_(a,H);continue;case q.STRING:var T=H;a:for(;;){for(;f.unicodeCount_>0;)if(N=a[H++],f.unicodeCount_===4?f.unicodeCount_=0:f.unicodeCount_++,
!N)break a;if(N==='"'&&!f.slashed_){f.state_=d();break}if(N==="\\"&&!f.slashed_&&(f.slashed_=!0,N=a[H++],!N))break;if(f.slashed_)if(f.slashed_=!1,N==="u"&&(f.unicodeCount_=1),N=a[H++])continue;else break;l.lastIndex=H;N=l.exec(a);if(!N){H=a.length+1;break}H=N.index+1;N=a[N.index];if(!N)break}f.pos_+=H-T;continue;case q.TRUE1:if(!N)continue;N==="r"?f.state_=q.TRUE2:f.error_(a,H);continue;case q.TRUE2:if(!N)continue;N==="u"?f.state_=q.TRUE3:f.error_(a,H);continue;case q.TRUE3:if(!N)continue;N==="e"?
f.state_=d():f.error_(a,H);continue;case q.FALSE1:if(!N)continue;N==="a"?f.state_=q.FALSE2:f.error_(a,H);continue;case q.FALSE2:if(!N)continue;N==="l"?f.state_=q.FALSE3:f.error_(a,H);continue;case q.FALSE3:if(!N)continue;N==="s"?f.state_=q.FALSE4:f.error_(a,H);continue;case q.FALSE4:if(!N)continue;N==="e"?f.state_=d():f.error_(a,H);continue;case q.NULL1:if(!N)continue;N==="u"?f.state_=q.NULL2:f.error_(a,H);continue;case q.NULL2:if(!N)continue;N==="l"?f.state_=q.NULL3:f.error_(a,H);continue;case q.NULL3:if(!N)continue;
N==="l"?f.state_=d():f.error_(a,H);continue;case q.NUM_DECIMAL_POINT:N==="."?f.state_=q.NUM_DIGIT:f.error_(a,H);continue;case q.NUM_DIGIT:if("0123456789.eE+-".indexOf(N)!==-1)continue;else H--,f.pos_--,f.state_=d();continue;default:f.error_(a,H)}}}function d(){var N=h.pop();return N!=null?N:q.VALUE}function e(N){f.depth_>1||(N||(N=E===-1?f.buffer_+a.substring(y,H):a.substring(E,H)),f.deliverMessageAsRawString_?f.result_.push(N):f.result_.push(JSON.parse(N)),E=H)}for(var f=this,h=f.stack_,l=f.stringInputPattern_,
q=XJc,v=a.length,y=0,E=-1,H=0;H<v;)switch(f.streamState_){case 3:return f.error_(a,H),null;case 2:return b()&&f.error_(a,H),null;case 0:if(b()){var O=a[H++];f.pos_++;if(O==="["){f.streamState_=1;y=H;f.state_=q.ARRAY_OPEN;continue}else f.error_(a,H)}return null;case 1:return c(),f.depth_===0&&f.state_==q.ARRAY_END?(f.streamState_=2,f.buffer_=a.substring(H)):f.buffer_=E===-1?f.buffer_+a.substring(y):a.substring(E),f.result_.length>0?(O=f.result_,f.result_=[],O):null}return null};var tr=function(){this.errorMessage_=this.jsonStreamParser_=null;this.state_=this.streamPos_=0;this.result_=[];this.statusParsed_=!1};tr.prototype.isInputValid=function(){return this.errorMessage_===null};tr.prototype.getErrorMessage=function(){return this.errorMessage_};tr.prototype.acceptsBinaryInput=function(){return!1};
tr.prototype.parse=function(a){function b(q){f.state_=6;f.errorMessage_="The stream is broken @"+f.streamPos_+"/"+h+". Error: "+q+". With input:\n";throw Error(f.errorMessage_);}function c(){f.jsonStreamParser_=new R0a({allowCompactJsonArrayFormat:!0,deliverMessageAsRawString:!0})}function d(q){if(q)for(var v=0;v<q.length;v++){var y={};y[1]=q[v];f.result_.push(y)}}function e(q){if(q){(f.statusParsed_||q.length>1)&&b("extra status: "+q);f.statusParsed_=!0;var v={};v[2]=q[0];f.result_.push(v)}}for(var f=
this,h=0;h<a.length;){var l;if(l=f.state_!==2){a:{for(;h<a.length;){if(!fV(a[h])){l=!0;break a}h++;f.streamPos_++}l=!1}l=!l}if(l)return null;switch(f.state_){case 6:b("stream already broken");break;case 0:a[h]==="["?(f.state_=1,h++,f.streamPos_++):b("unexpected input token");break;case 1:a[h]==="["?(f.state_=2,c()):a[h]===","||a.slice(h,h+5)=="null,"?f.state_=3:a[h]==="]"?(f.state_=5,h++,f.streamPos_++):b("unexpected input token");break;case 2:l=f.jsonStreamParser_.parse(a.substring(h));d(l);f.jsonStreamParser_.done()?
(f.state_=3,l=f.jsonStreamParser_.buffer_,f.streamPos_+=a.length-h-l.length,a=l,h=0):(f.streamPos_+=a.length-h,h=a.length);break;case 3:a[h]===","||a.slice(h,h+5)=="null,"?(f.state_=4,c(),f.jsonStreamParser_.parse("["),h+=a[h]===","?1:5,f.streamPos_++):a[h]==="]"&&(f.state_=5,h++,f.streamPos_++);break;case 4:l=f.jsonStreamParser_.parse(a.substring(h));e(l);f.jsonStreamParser_.done()?(f.state_=5,l=f.jsonStreamParser_.buffer_,f.streamPos_+=a.length-h-l.length,a=l,h=0):(f.streamPos_+=a.length-h,h=a.length);
break;case 5:b("extra input after stream end")}}return f.result_.length>0?(a=f.result_,f.result_=[],a):null};var YJc=function(a){this.xhr_=a;this.parser_=null;this.status_=this.pos_=0;this.hasStreamingResponseData_=!1;this.dataHandler_=this.statusHandler_=this.textDecoder_=null;this.eventHandler_=new Lr(this);this.eventHandler_.listen(this.xhr_,"readystatechange",this.readyStateChangeHandler_)};YJc.prototype.getXhr=function(){return this.xhr_};
var gV=function(a,b){a.status_!=b&&(a.status_=b,a.statusHandler_&&a.statusHandler_())},ZJc=function(a){a.eventHandler_.removeAll();if(a.xhr_){var b=a.xhr_;a.xhr_=null;b.abort();b.dispose()}};YJc.prototype.getStatus=function(){return this.status_};
YJc.prototype.readyStateChangeHandler_=function(a){a=a.target;try{if(a==this.xhr_)a:{var b=this.xhr_.getReadyState(),c=this.xhr_.getLastErrorCode(),d=this.xhr_.getStatus(),e=this.xhr_.getResponseText();a=[];if(this.xhr_.getResponse()instanceof Array){var f=this.xhr_.getResponse();f.length>0&&f[0]instanceof Uint8Array&&(this.hasStreamingResponseData_=!0,a=f)}if(!(b<3||b==3&&!e&&a.length==0))if(d=d==200||d==206,b==4&&(c==8?gV(this,7):c==7?gV(this,8):d||gV(this,3)),this.parser_||(this.parser_=U0a(this.xhr_),
this.parser_==null&&gV(this,5)),this.status_>2)ZJc(this);else{if(a.length>this.pos_){var h=a.length;c=[];try{if(this.parser_.acceptsBinaryInput())for(var l=0;l<h;l++){var q=this.parser_.parse(Array.from(a[l]));q&&(c=c.concat(q))}else{q="";if(!this.textDecoder_){if(typeof TextDecoder==="undefined")throw Error("nf");this.textDecoder_=new TextDecoder}for(l=0;l<h;l++)q+=this.textDecoder_.decode(a[l],{stream:b==4&&l==h-1});c=this.parser_.parse(q)}a.splice(0,h);c&&this.dataHandler_(c)}catch(y){gV(this,
5);ZJc(this);break a}}else if(e.length>this.pos_){l=e.slice(this.pos_);this.pos_=e.length;try{var v=this.parser_.parse(l);v!=null&&this.dataHandler_&&this.dataHandler_(v)}catch(y){gV(this,5);ZJc(this);break a}}b==4?(e.length!=0||this.hasStreamingResponseData_?gV(this,2):gV(this,4),ZJc(this)):gV(this,1)}}}catch(y){gV(this,6),ZJc(this)}};var $Jc=function(a){a=this.xhrReader_=a;var b=ov(this.onData_,this);a.dataHandler_=b;a=this.xhrReader_;b=ov(this.onStatusChange_,this);a.statusHandler_=b;this.callbackMap_={};this.callbackOnceMap_={}};g=$Jc.prototype;g.on=function(a,b){var c=this.callbackMap_[a];c||(c=[],this.callbackMap_[a]=c);c.push(b);return this};g.addListener=function(a,b){this.on(a,b);return this};g.removeListener=function(a,b){var c=this.callbackMap_[a];c&&Sa(c,b);(a=this.callbackOnceMap_[a])&&Sa(a,b);return this};
g.once=function(a,b){var c=this.callbackOnceMap_[a];c||(c=[],this.callbackOnceMap_[a]=c);c.push(b);return this};g.onData_=function(a){var b=this.callbackMap_.data;b&&aKc(this,a,b);(b=this.callbackOnceMap_.data)&&aKc(this,a,b);this.callbackOnceMap_.data=[]};
var aKc=function(a,b,c){for(var d={},e=0;e<b.length;d={message$jscomp$948:void 0},e++)d.message$jscomp$948=b[e],c.forEach(function(f){return function(h){try{h(f.message$jscomp$948)}catch(l){a.handleError_("message-callback exception (ignored) "+l)}}}(d))};$Jc.prototype.onStatusChange_=function(){switch(this.xhrReader_.getStatus()){case 1:bKc(this,"readable");break;case 5:case 6:case 4:case 7:case 3:bKc(this,"error");break;case 8:bKc(this,"close");break;case 2:bKc(this,"end")}};
var bKc=function(a,b){var c=a.callbackMap_[b];c&&c.forEach(function(d){try{d()}catch(e){a.handleError_("status-callback exception (ignored) "+e)}});(c=a.callbackOnceMap_[b])&&c.forEach(function(d){d()});a.callbackOnceMap_[b]=[]};$Jc.prototype.handleError_=function(){};var cKc=function(a){a=a===void 0?{}:a;this.suppressCorsPreflight_=a.suppressCorsPreflight||sp("suppressCorsPreflight",a)||!1;this.withCredentials_=a.withCredentials||sp("withCredentials",a)||!1;this.streamInterceptors_=a.streamInterceptors||[];this.unaryInterceptors_=a.unaryInterceptors||[];this.workerScope_=a.workerScope;this.chunkedServerStreaming_=a.useFetchDownloadStreams||!1},fKc=function(a,b,c,d,e){var f=b.substr(0,b.length-e.name.length);return dKc(function(h){return new NJc(function(l,q){var v=
{},y=eKc(a,h,f);y.on("error",function(E){return q(E)});y.on("metadata",function(E){v=E});y.on("data",function(E){var H=v;H=H===void 0?{}:H;l(new HJc(E,H))})})},a.unaryInterceptors_).call(a,IJc(e,c,d)).then(function(h){return h.responseMessage_})},hV=function(a,b,c,d,e){return fKc(a,b,c,d,e)};
cKc.prototype.serverStreaming=function(a,b,c,d){var e=this,f=a.substr(0,a.length-d.name.length);return dKc(function(h){var l=h.methodDescriptor_,q=h.getMetadata(),v=gKc(e,!1);q=hKc(e,q,v,f+l.getName());var y=iKc(v,l.responseDeserializeFn,!0);h=l.requestSerializeFn(h.requestMessage_);v.send(q,"POST",h);return y},this.streamInterceptors_).call(this,IJc(d,b,c))};
var eKc=function(a,b,c){var d=b.methodDescriptor_,e=b.getMetadata(),f=gKc(a,!0);a=hKc(a,e,f,c+d.getName());c=iKc(f,d.responseDeserializeFn,!1);UJc(c,e["X-Goog-Encode-Response-If-Executable"]=="base64");b=d.requestSerializeFn(b.requestMessage_);f.send(a,"POST",b);return c},gKc=function(a,b){b=a.chunkedServerStreaming_&&!b;return a.workerScope_||b?new Mq(new OS({worker:a.workerScope_,streamBinaryChunks:b})):new Mq},hKc=function(a,b,c,d){b["Content-Type"]="application/json+protobuf";b["X-User-Agent"]=
"grpc-web-javascript/0.1";var e=b.Authorization;if(e&&MJc.has(e.split(" ")[0])||a.withCredentials_)c.withCredentials_=!0;if(a.suppressCorsPreflight_)d=rhc(d,"$httpHeaders",b);else for(var f in b)c.headers.set(f,b[f]);return d},iKc=function(a,b,c){if(c){c=new YJc(a);var d=new $Jc(c)}return new eV({xhr:a,nodeReadableStream:d},b)},dKc=function(a,b){return b.reduce(function(c,d){return function(e){return d.intercept(e,c)}},a)};var jKc=function(a){var b={withCredentials:!0,suppressCorsPreflight:!0};b=b||{};b.format="jspb";this.client_=new cKc(b);this.hostname_=a==void 0?a:a.replace(/\/+$/,"")};jKc.prototype.generateAnswers=function(a){return hV(this.client_,this.hostname_+"/$rpc/google.corp.devtools.devassist.ml4answers.v1.DuckieBackendService/GenerateAnswers",a,{},LJc)};var jV=function(){this.activeSession=r(dv);this.clientFactory=r(iV);this.client=this.clientFactory.create(this.getServiceEndpoint())};jV.prototype.generateAnswers=function(a){var b=this;return this.activeSession.isExternalSession()?Fe({response:"",citationResources:[]}):Re(function(){var c=b.client,d=c.generateAnswers,e=new cV;e=hk(e,5,9).setText(a);var f=e.setConversationHistory;var h=new JJc;h=hk(h,1,2);return d.call(c,f.call(e,h))}).pipe(B(W0a()),xf(function(){return Fe({response:"",citationResources:[]})}))};
jV.prototype.getServiceEndpoint=function(){switch(this.activeSession.getEnvironmentType()){case "NIGHTLY":return"https://autopush-ml4answers-googleapis.corp.google.com";case "PROD":return"https://ml4answers-googleapis.corp.google.com";default:return"https://staging-ml4answers-googleapis.corp.google.com"}};jV.\u0275fac=function(a){return new (a||jV)};jV.\u0275prov=n({token:jV,factory:jV.\u0275fac,providedIn:"root"});var iV=function(){};iV.prototype.create=function(a){return new jKc(a)};
iV.\u0275fac=function(a){return new (a||iV)};iV.\u0275prov=n({token:iV,factory:iV.\u0275fac,providedIn:"root"});var kV=function(a){this.internalArray_=m(a)};Y(kV,V);kV.prototype.getDataCase=function(){return fl(this,kKc)};kV.prototype.getText=function(){return hl(this,2,kKc)};kV.prototype.setText=function(a){return kl(this,2,kKc,a)};var kKc=[2,3,4,5,6,7,9,10];var lV=function(a){this.internalArray_=m(a)};Y(lV,V);lV.prototype.getPartsList=function(){return nj(this,kV,1,Wi())};lV.prototype.addParts=function(a){return Bv(this,1,kV,a)};lV.prototype.getRole=function(){return Gh(this,2)};lV.prototype.setRole=function(a){return cj(this,2,a)};var lKc=function(a){this.internalArray_=m(a)};Y(lKc,V);lKc.prototype.setModel=function(a){return cj(this,1,a)};var b1a=function(a){this.internalArray_=m(a)};Y(b1a,V);g=b1a.prototype;g.getIndex=function(){return Zi(this,3)};g.setIndex=function(a){ek(this,3,a)};g.getContent=function(){return W(this,lV,1)};g.setContent=function(a){return X(this,lV,1,a)};g.hasContent=function(){return Oj(this,lV,1)};var a1a=function(a){this.internalArray_=m(a)};Y(a1a,V);var mKc=function(a){this.internalArray_=m(a,0,mKc.messageId)};Y(mKc,V);mKc.messageId="b.GenerateContentResponse";var mV=function(){this.executor=r(PB)};mV.prototype.generate=function(a){var b;var c=(new lKc).setModel((b=a.model)!=null?b:"models/gemini-1.5-flash");a=(new lV).addParts((new kV).setText(a.prompt));c=Bv(c,2,lV,a);return this.executor.post({url:"/action/gemini/generate",body:c,responseConstructor:mKc}).then(c1a)};mV.\u0275fac=function(a){return new (a||mV)};mV.\u0275prov=n({token:mV,factory:mV.\u0275fac,providedIn:"root"});var nV=function(){this.changelistApi=r(kC)},nKc=function(a,b){return ve(function(c){return c.nextAddress==1?xe(c,Promise.all(b.map(function(d){var e,f,h;return ve(function(l){if(l.nextAddress==1)return xe(l,Promise.all(((f=(e=d.snapshot)==null?void 0:e[0].changelist)!=null?f:[]).map(function(q){return ve(function(v){return v.nextAddress==1?xe(v,a.changelistApi.getChangelistDetails(q).then(d1a),2):v.return(v.yieldResult)})})),2);h=l.yieldResult;return l.return({issue:d,changelists:h})})})),2):c.return(c.yieldResult)})};
nV.\u0275fac=function(a){return new (a||nV)};nV.\u0275prov=n({token:nV,factory:nV.\u0275fac,providedIn:"root"});var oV=function(){var a=this;this.helpMeFixService=r(YU);this.duckieService=r(jV);this.geminiApi=r(mV);this.issueAndChangelistDetailsService=r(nV);this.activeSession=r(dv);this.formatter=r(DO);this.similarIssuesPrompt$=this.helpMeFixService.similarFixedIssues$.pipe(Nf(function(b){return nKc(a.issueAndChangelistDetailsService,b)}),B(function(b){if(b.length===0)return null;var c="Here are some similar tickets and details on their fixes:\n";b=k(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;
d=e.issue;var f=e.changelists,h=void 0;e=(h=d.snapshot)==null?void 0:h[0];if(f=f.find(function(l){return l.isInteresting}))h=void 0,c+="Ticket b/"+d.issueId+" title:\n"+((h=e)==null?void 0:h.title)+"\nTicket b/"+d.issueId+" change summary:\n"+f.firstInterestingLine+"\nTicket b/"+d.issueId+" changed files:\n"+f.changelist.affectedFiles.join("\n")+"\n\n"}return c}));this.currentIssuePrompt$=Me([this.helpMeFixService.issue$,this.helpMeFixService.description$]).pipe(B(function(b){var c=k(b);b=c.next().value;
c=c.next().value;if(!b||!c)return null;var d,e=(d=b.snapshot)==null?void 0:d[0];return"You are given the following ticket:\nTicket b/"+b.issueId+" title:\n"+(e==null?void 0:e.title)+"\nTicket b/"+b.issueId+" description:\n"+c+"\n\n"}));this.commentsPrompt$=this.helpMeFixService.events$.pipe(B(function(b){if(b.length===0)return null;var c="";b=k(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.commentNumber!==1&&rta(d.userPerformingAction)&&d.isMajorEvent){var e=void 0;(e=d.unlinkifiedComment)!=
null&&e.trim()&&(c+="[User Comment]: "+d.unlinkifiedComment+"\n")}return c?"\nThe following is a list of user comments on the ticket.\nThese comments provide context for the ticket, but only reference this information if it is relevant to helping the user fix the ticket.\n\n"+c:null}));this.prompt$=Me([this.helpMeFixService.currentConfig$,this.similarIssuesPrompt$,this.currentIssuePrompt$,this.commentsPrompt$]).pipe(B(function(b){var c=k(b);b=c.next().value;var d=c.next().value;var e=c.next().value;
c=c.next().value;if(!b||!e)return null;var f="";b.llmPromptPrefix&&(f+=b.llmPromptPrefix);b.includeSimilarIssuesInPrompt&&d&&(f+=d);f+=e;b.includeIssueCommentsInPrompt&&c&&(f+=c);b.llmPromptSuffix&&(f+=b.llmPromptSuffix);return f}));this.llmResponse$=Me([this.prompt$,this.helpMeFixService.currentConfig$]).pipe(Nf(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b&&c?c.llmApi==="gemini"&&lu(a.activeSession,"enableGeminiApiForHelpMeFix")?a.geminiApi.generate({prompt:b}).then(function(d){return{response:d.output,
citationResources:[]}}):a.duckieService.generateAnswers(b):Fe(null)}),Kf({bufferSize:1,refCount:!0}));this.llmResponseMarkdown$=this.llmResponse$.pipe(Nf(function(b){return b?a.formatter.format({comment:b.response,formattingMode:"MARKDOWN",audience:"INTERNAL",idPrefix:"help_me_fix"}):Fe(null)}),B(function(b){var c;return b?{content:(c=b.markdownFormat)==null?void 0:c.content}:null}),Kf({bufferSize:1,refCount:!0}));this.llmCitations$=this.llmResponse$.pipe(B(function(b){return b?b.citationResources:
[]}))};oV.\u0275fac=function(a){return new (a||oV)};oV.\u0275prov=n({token:oV,factory:oV.\u0275fac,providedIn:"root"});var pV=function(){var a=this;this.llmResponseService=r(oV);this.appEvents=r(nE);this.analytics=r(wG);this.helpMeFixPreviewService=r(ZU);this.citations$=this.llmResponseService.llmCitations$;this.llmResponseMarkdown$=this.llmResponseService.llmResponseMarkdown$;this.shouldDisplayPreview$=Me([this.helpMeFixPreviewService.isEligibleForHelpMeFix$,this.helpMeFixPreviewService.isPreviewVisible$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b&&c}),Pf(function(b){b&&a.analytics.trackEvent("helpMeFix",
"display","previewShown")}))};pV.prototype.openHelpMeFixSidebar=function(){this.appEvents.openHelpMeFixSidebar.next();this.analytics.trackEvent("helpMeFix","click","openSidebarFromPreview")};pV.\u0275fac=function(a){return new (a||pV)};
pV.\u0275cmp=t({type:pV,selectors:[["help-me-fix-preview"]],decls:2,vars:3,consts:[[1,"container","carded","padded-s-y"],[1,"flex-kids-x","space-between"],[1,"flex-kids-x","align-items-center"],["svgIcon","spark_24px",1,"logo","icon-s"],[1,"uppercase","margin-xs-left","muted"],["mat-icon-button","","aria-label","Hide preview","matTooltip","Hide preview",3,"click"],["svgIcon","close"],[1,"flex-kids-y","space-between"],[1,"margined"],[1,"preview","line-clamp-3"],[3,"content"],[1,"flex-kids-x"],["mat-button",
"",1,"view-summary-button",3,"click"],[1,"margin-xs-bottom"],[1,"flex-kids-x","margin-s-y","margin-s-left","gap-s"],[1,"citation","flex-kids-x","align-items-center","gap-xs"],["matTooltip","Additional source(s)",1,"additional-sources-count"],["svgIcon","public",1,"icon-xs"],["alt","Icon for citation",1,"icon-xs",3,"src"],["target","_blank","aria-label","A citation URL for the help me fix response",1,"margin-xs-left","overflow-ellipsis",3,"click","href"]],template:function(a,b){a&1&&(D(0,n1a,11,3,
"div",0),S(1,"async"));a&2&&G(U(1,1,b.shouldDisplayPreview$)?0:-1)},dependencies:[$D,EP,vD,Vy,Xy,HH,JO,Iw],styles:[".container[_ngcontent-%COMP%]{min-height:180px;max-height:250px;overflow-y:hidden;background-color:#edfbf1;background-color:var(--green-bg)}header[_ngcontent-%COMP%]   mat-icon.logo[_ngcontent-%COMP%]{color:#137333;color:var(--green-text)}.citation[_ngcontent-%COMP%]{width:47%}.preview[_ngcontent-%COMP%]{-webkit-mask-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(transparent));-webkit-mask-image:-webkit-linear-gradient(top,#fff,transparent);mask-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(transparent));mask-image:linear-gradient(180deg,#fff,transparent);max-height:120px}.view-summary-button[_ngcontent-%COMP%]{color:#137333;color:var(--green-text)}"]});var oKc=function(){this.helpMeFixPreviewService=r(ZU);this.shouldDisplayButton$=Me([this.helpMeFixPreviewService.isEligibleForHelpMeFix$,this.helpMeFixPreviewService.isPreviewVisible$]).pipe(B(function(a){var b=k(a);a=b.next().value;b=b.next().value;return a&&!b}))};oKc.\u0275fac=function(a){return new (a||oKc)};
oKc.\u0275cmp=t({type:oKc,selectors:[["help-me-fix-preview-button"]],decls:2,vars:3,consts:[["mat-stroked-button","","matTooltip","Show 'Help me fix' preview",1,"gmat-button","small"],["mat-stroked-button","","matTooltip","Show 'Help me fix' preview",1,"gmat-button","small",3,"click"],["svgIcon","spark_24px",1,"margin-xs-right"]],template:function(a,b){a&1&&(D(0,o1a,3,0,"button",0),S(1,"async"));a&2&&G(U(1,1,b.shouldDisplayButton$)?0:-1)},dependencies:[$D,vD,Vy,HH,Iw],encapsulation:2});var qV=function(){this.dialogRef=r(dL);this.documentationLinks=r(cL);this.data=r(jL);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc"};qV.prototype.onNoClick=function(){this.dialogRef.close(!1)};qV.\u0275fac=function(a){return new (a||qV)};
qV.\u0275cmp=t({type:qV,selectors:[["b-restricted-confirmation-dialog"]],decls:12,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank","aria-label","Learn more about restricted access",3,"rel"],["mat-dialog-actions",""],["mat-button","",1,"medium","restricted-confirmation-dialog-cancel",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium","dialog-primary-action","restricted-confirmation-dialog-confirm",3,"mat-dialog-close"]],template:function(a,
b){a&1&&(I(0,"h1",0),Q(1),J(),I(2,"div",1)(3,"p"),Q(4),I(5,"a",2),Q(6," Learn More "),J()()(),I(7,"div",3)(8,"button",4),M("click",function(){return b.onNoClick()}),Q(9," Cancel "),J(),I(10,"button",5),Q(11," Confirm "),J()());a&2&&(C(),Tg(b.data.title),C(3),R(" ",b.data.content," "),C(),F("rel",b.EXTERNAL_LINK_REL),eg("href",b.documentationLinks.getRestrictedAccessHelpLink(),of),C(5),F("mat-dialog-close",!0))},dependencies:[vD,Vy,lL,nL,pL,oL],encapsulation:2});var rV=function(){this.dialog=r(kL);this.documentationLinks=r(cL);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.disabled=!1;this.onConfirm=new rG};
rV.prototype.openDialog=function(){var a=this;eL(this.dialog.open(qV,{width:"500px",data:{title:"Access Restricted Content",content:"You are about to access a comment marked as restricted.\n                    Access will be logged and audited. You must delete any\n                    data used locally when finished with business use."}})).subscribe(function(b){b&&a.onConfirm.emit()})};rV.\u0275fac=function(a){return new (a||rV)};
rV.\u0275cmp=t({type:rV,selectors:[["b-restricted-comment-placeholder"]],inputs:{disabled:"disabled"},outputs:{onConfirm:"onConfirm"},decls:5,vars:3,consts:[["mat-stroked-button","","color","primary",1,"small","restricted-comment-load",3,"click","disabled"],["target","_blank","aria-label","Learn more about restricted access",3,"rel"]],template:function(a,b){a&1&&(I(0,"span")(1,"button",0),M("click",function(){return b.openDialog()}),Q(2," Show Restricted Content "),J(),I(3,"a",1),Q(4," Learn More "),
J()());a&2&&(C(),F("disabled",b.disabled),C(2),F("rel",b.EXTERNAL_LINK_REL),eg("href",b.documentationLinks.getRestrictedAccessHelpLink(),of))},dependencies:[vD,Vy],styles:[".mat-mdc-outlined-button[_ngcontent-%COMP%]{margin-right:1em}/*# sourceMappingURL=restricted_comment_placeholder.css.map */"],changeDetection:0});var sV=function(){var a=this;this.helpMeFixService=r(YU);this.appEvents=r(nE);this.analytics=r(wG);this.showButton$=this.helpMeFixService.currentConfig$.pipe(B(function(b){return!!b&&b!==rJc}),Pf(function(b){b&&a.analytics.trackEvent("helpMeFix","display","openButtonShown")}));this.buttonText$=this.helpMeFixService.currentConfig$.pipe(B(function(b){var c;return(c=b==null?void 0:b.customBranding)!=null?c:"Help me fix"}))};sV.prototype.openHelpMeFixSidebar=function(){this.appEvents.openHelpMeFixSidebar.next()};
sV.\u0275fac=function(a){return new (a||sV)};sV.\u0275cmp=t({type:sV,selectors:[["smart-help-me-fix-button"]],decls:2,vars:3,consts:[["mat-flat-button","",1,"gmat-button","margin-s-top"],["mat-flat-button","",1,"gmat-button","margin-s-top",3,"click"],["svgIcon","spark_24px",1,"margin-xs-right"]],template:function(a,b){a&1&&(D(0,p1a,4,3,"button",0),S(1,"async"));a&2&&G(U(1,1,b.showButton$)?0:-1)},dependencies:[$D,vD,Vy,Iw],styles:["[_nghost-%COMP%]   button[_ngcontent-%COMP%]{border-radius:24px;padding-left:16px;padding-right:24px}[_nghost-%COMP%]   mat-icon[_ngcontent-%COMP%]{position:relative;top:-1px}"]});var tV=function(){};tV.\u0275fac=function(a){return new (a||tV)};tV.\u0275mod=u({type:tV});tV.\u0275inj=p({imports:[EI,RE,JH,LH]});var pKc=["commentActionsMenu"],qKc=["editDescription"],P1a=function(){return[]},uV=function(){Z.apply(this,arguments);var a=this;this.eventsForIssue=r(yF);this.userPreferencesManager=r(yH);this.issueFullFridge=r(yG);this.issueReferenceResolver=r(zP);this.activeSession=r(dv);this.commentService=r(HL);this.errorHandler=r(jE);this.analytics=r(wG);this.butterBar=r(hE);this.userAccess=r(YC);this.issueCommentDialogsService=r(mT);this.issuePermissionService=r(ZL);this.commentHistoryDialogService=r(JU);this.dateFormatter=
r(UM);this.domSafe=r(mM);this.id$=new If(1);this.accessLevel$=this.id$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}),B(function(b){var c;return b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel}));this.firstEvent$=new If(1);this.firstNote$=this.firstEvent$.pipe(B(function(b){return b}));this.commentActionMenuItems$=new bo([]);this.isFormattingOverrideEnabled=!1;this.formattingMode="PLAIN";this.formattingMode$=Wo(this.firstEvent$.pipe(Ye(kj),B(function(b){return b.formattingMode})),
"PLAIN");this.isRedacted$=this.firstEvent$.pipe(Ye(kj),B(function(b){return b.commentRedacted}));this.isDeleted$=this.firstEvent$.pipe(Ye(kj),B(function(b){return b.commentDeletionStatus==="DELETED"}));this.shouldShowRestrictedPlaceholder$=Me([this.isRedacted$,this.isDeleted$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return!(!b||c)}));this.isRestricted$=this.firstEvent$.pipe(Ye(kj),B(function(b){return Xp(b.commentContentVerdict)}),B(function(b){switch(b){case "NONE_DETECTED":case "RESTRICTION_SEVERITY_UNSPECIFIED":return!1;
case "RESTRICTED":case "RESTRICTED_PLUS":return!0;default:xb(b)}}));this.commentRetentionOverride$=this.firstEvent$.pipe(Ye(kj),B(function(b){return b.commentRetention}));this.commentHistoryEnabled=lu(this.activeSession,"enableCommentHistoryUi");this.isShowCommentHistoryActionInMenu$=Me([this.firstEvent$,this.isRedacted$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return!(!(lu(a.activeSession,"enableCommentHistoryUi")&&((b==null?void 0:b.commentVersion)||0)>0)||c)}));this.canEditComment$=
this.firstEvent$.pipe(Nf(function(b){return b?a.issuePermissionService.canEditComment$(b):Fe(!1)}),Kf({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!Xo(a.canEditComment$)};this.mayReadPii$=this.isRestricted$.pipe(Nf(function(b){return b?a.mayReadPii():Fe(void 0)}));this.reporterUser$=this.id$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}),B(function(b){var c;return b==null?void 0:(c=b.snapshot[0])==null?void 0:c.reporterUser}));this.currentReporterEmail$=this.reporterUser$.pipe(B(function(b){return Ui(b)||
""}));this.allEvents$=this.id$.pipe(Nf(function(b){return a.eventsForIssue.watch(b)}));this.attachments$=this.allEvents$.pipe(B(function(b){var c,d;return(d=b==null?void 0:(c=b.events[0])==null?void 0:c.attachments)!=null?d:[]}));this.initialReporterEmail$=this.allEvents$.pipe(B(function(b){return b==null?void 0:b.events[0]}),B(function(b){b=k((b==null?void 0:b.postDiffs)||[]);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.name==="reporter")return c.newValue||"";return""}));this.onBehalfOfEmail$=
Me([this.initialReporterEmail$,this.currentReporterEmail$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b||c}));this.originalAuthor$=this.allEvents$.pipe(B(function(b){return b==null?void 0:b.events[0]}),B(function(b){return b==null?void 0:b.userPerformingActionUser}));this.originalAuthorEmail$=this.originalAuthor$.pipe(B(Ui));this.isAuthorNotReporter$=Me([this.originalAuthorEmail$,this.onBehalfOfEmail$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b!==
c}));this.enableHelpMeFixSummary=lu(this.activeSession,"enableHelpMeFixSummary")};Y(uV,Z);uV.\u0275dir=Z.\u0275dir;uV.prototype.mayReadPii=function(){var a=this;return this.id$.pipe(Nf(function(b){return Re(function(){return $C(a.userAccess,"reader","issues/"+b+"/comments/1").catch(function(c){sj("error: ",c);return!1})})}))};
uV.prototype.ngOnInit=function(){var a=this;rKc(this,"PLAIN");this.id$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}),B(function(b){return(b==null?void 0:b.description)&&jza(b==null?void 0:b.description,b)}),Of(this.destroyed$)).subscribe(function(b){a.firstEvent$.next(b)});this.canEditComment$.pipe(Of(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(Of(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=
b.commentDisplayOverride!=null;a.initializeActionsMenu()});this.formattingMode$.pipe(Of(this.destroyed$)).subscribe(function(b){a.formattingMode=b!=null?b:"PLAIN";rKc(a,b!=null?b:"PLAIN")});this.issuePermissionService.canChangeCommentRetention$.pipe(Of(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
uV.prototype.initializeActionsMenu=function(){var a=this,b=[];this.isFormattingOverrideEnabled||b.push(Object.assign({},jJc,{items:[this.formattingModeMenuItems.PLAIN,this.formattingModeMenuItems.MARKDOWN,this.formattingModeMenuItems.LITERAL]}));var c=Xo(this.firstEvent$);this.canEditComment()&&c&&b.push({type:"action",action:function(){vr(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Edit description...",disabled:Xo(this.isRedacted$)});
Xo(this.isShowCommentHistoryActionInMenu$)&&c&&b.push(Object.assign({},lJc,{action:function(){c.commentNumber&&a.showCommentHistoryDialog(c.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})}}));c&&Yrc(this.issuePermissionService,c)&&b.push({type:"action",action:function(){c.commentEtag&&dEc(a.issueCommentDialogsService,a.id,1,c.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete description"});c&&Xrc(this.issuePermissionService,
c)&&b.push({type:"action",action:function(){aEc(a.issueCommentDialogsService,a.id,1).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore description"});c&&Xo(this.issuePermissionService.hasAclToView$)&&b.push(Object.assign({},kJc,{action:function(){eEc(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})}}));if(Xo(this.isRestricted$)&&this.issuePermissionService.canChangeCommentRetention()&&!Xo(this.isDeleted$)&&
this.activeSession.isInternalSession()){var d=Xo(this.commentRetentionOverride$)==="COMPONENT_DEFAULT";b.push({type:"action",action:function(){var e=d?"INDEFINITE":"COMPONENT_DEFAULT";fEc(a.issueCommentDialogsService,"comment",e).then(function(f){a.commentActionsMenu.actionsMenuIconButton.focus();f&&a.updateCommentRetention(e)})},label:d?"Match issue retention...":"Revert to component retention..."})}A0a({userIsExternal:!this.activeSession.isInternalSession(),issueIsExternal:Xo(this.accessLevel$)!==
"INTERNAL"})&&b.push(Object.assign({},iJc,{action:function(){var e=B0a({bugId:a.id,comment:1});a.domSafe.openInNewTab(e)}}));this.commentActionMenuItems$.next(b)};
var rKc=function(a,b){var c={};a.formattingModeMenuItems=(c.PLAIN={type:"select",action:function(){a.formattingMode$.next("PLAIN");a.initializeActionsMenu()},label:"Classic",selected:b==="PLAIN"},c.MARKDOWN={type:"select",action:function(){a.formattingMode$.next("MARKDOWN");a.initializeActionsMenu()},label:"Markdown",selected:b==="MARKDOWN"},c.LITERAL={type:"select",action:function(){a.formattingMode$.next("LITERAL");a.initializeActionsMenu()},label:"Source",selected:b==="LITERAL"},c)};
uV.prototype.updateCommentRetention=function(a){var b=this,c=Xo(this.firstEvent$),d=Xo(this.id$);c&&!c.commentNumber&&kE(this.errorHandler,"Comment number is missing");this.analytics.trackEvent("restrictedContent","updateRetention","comment");d&&c&&this.commentService.updateRetention(d,c.commentNumber||0,a).pipe(Of(this.destroyed$)).subscribe({next:function(){b.eventsForIssue.poke(d);du(b.butterBar,"Comment retention updated",4E3);b.initializeActionsMenu()},error:function(){kE(b.errorHandler,"Comment retention update failed")}})};
uV.prototype.loadRestrictedComment=function(a,b){var c=this;this.analytics.trackEvent("restrictedContent","viewRestrictedContent","comment");var d=b.commentNumber||0,e=Xp(b.commentContentVerdict);a&&this.commentService.get(a,d,e).pipe(Cf(),Of(this.destroyed$)).subscribe(function(f){f=Lta(b,f);c.firstEvent$.next(f);c.initializeActionsMenu()},function(f){var h;c.butterBar.showWarning("Error showing comment "+d+": "+((h=f.error)==null?void 0:h.message))})};
uV.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.id,a,-1)};var q1a=function(a){var b=Xo(a.firstEvent$);b&&vr(a.issueCommentDialogsService,a.id,b).then(function(){a.editDescriptionButton.focus()})},w1a=function(a,b){var c="Last edited by ";b.version===0&&b.lastCommentEditorUser&&(c+=Ri(b.lastCommentEditorUser));b.commentLastModifiedAtDate&&(c+=" on ",guc(a.dateFormatter,new Date(b.commentLastModifiedAtDate)).subscribe(function(d){c+=d}));return c};
ea.Object.defineProperties(uV.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)},get:function(){return Xo(this.id$)}}});uV.\u0275fac=function(){var a;return function(b){return(a||(a=de(uV)))(b||uV)}}();
uV.\u0275cmp=t({type:uV,selectors:[["b-issue-description"]],viewQuery:function(a,b){a&1&&(Mg(pKc,5),Mg(qKc,5));if(a&2){var c;Qg(c=Rg())&&(b.commentActionsMenu=c.first);Qg(c=Rg())&&(b.editDescriptionButton=c.first)}},inputs:{id:"id"},features:[cg],decls:3,vars:3,consts:[["commentActionsMenu",""],["editDescription",""],["card",""],["id","comment1",1,"flex-kids-x","comment1"],["svgIcon","description_24px","color","primary",1,"margin-xs-right","shrink-0"],[1,"flex-1-hemmed"],[1,"b-description-heading",
"flex-kids-x"],[1,"flex-1"],[1,"uppercase","inline-block","margin-xs-right"],["mat-stroked-button","","color","primary","aria-label","Edit description",1,"update-button","small","margin-xs-right"],[1,"keep-focus-ring","first-comment",3,"routerLinkObj"],[1,"muted",3,"matTooltip"],[1,"margin-s-right"],["mode","datetime",1,"margin-s-right",3,"timestamp"],[1,"issue-detail-actions",3,"buttonLabel","menuItems"],[1,"description-deleted"],["mat-stroked-button","","color","primary","aria-label","Edit description",
1,"update-button","small","margin-xs-right",3,"click"],[3,"onedevHovercardTrigger","model"],[3,"email"],[3,"email","showEmail"],[1,"keep-focus-ring","first-comment",3,"click","routerLinkObj"],[1,"critical-feature",3,"disabled"],[1,"critical-feature",3,"onConfirm","disabled"],[1,"muted","critical-feature"],[1,"critical-feature",3,"issueId","issueAccessLevel","note","formattingMode"],[1,"margin-s-y","border-top","bv2-issue-event-attachments"],[1,"margin-s-y","bv2-issue-event-attachment",3,"id"],[3,
"issueId","attachment","attachmentUploader"]],template:function(a,b){a&1&&(D(0,Q1a,27,26,"div",3),S(1,"async"),D(2,R1a,1,0,"b-spinner"));if(a&2){var c;G((c=U(1,1,b.firstEvent$))?0:2,c)}},dependencies:[UU,VU,LP,$D,OE,VM,pV,oKc,bK,hK,oM,vD,Vy,FH,HH,rV,JO,tM,uM,sV,Iw],styles:["[_nghost-%COMP%]{display:block}.description-deleted[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);font-style:italic}.first-comment[_ngcontent-%COMP%]:hover{text-decoration:underline}"]});var vV=function(){this.reactionState$=new If(1);this.issueId="";this.emails$=this.reactionState$.pipe(Ye(kj),B(function(a){return a.recentResponders.map(Ui).filter(function(b){return b!==""}).slice(0,5)}))};ea.Object.defineProperties(vV.prototype,{reactionState:{configurable:!0,enumerable:!0,set:function(a){a&&this.reactionState$.next(a)}}});vV.\u0275fac=function(a){return new (a||vV)};
vV.\u0275cmp=t({type:vV,selectors:[["b-comment-reaction-responders-card"]],inputs:{reactionState:"reactionState",issueId:"issueId",commentNumber:"commentNumber"},decls:5,vars:2,consts:[["role","dialog","tabindex","0","aria-label","Comment Reactions Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1),tg(2,U1a,5,2,"div",null,sg),S(4,"async"),J()());a&2&&(C(2),ug(U(4,0,b.emails$)))},dependencies:[Iw],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto;max-width:400px}.normal-link.unstyled-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link)}"]});var sKc=function(){};sKc.\u0275fac=function(a){return new (a||sKc)};sKc.\u0275cmp=t({type:sKc,selectors:[["b-comment-edit-timestamp-message"]],inputs:{event:"event"},decls:1,vars:1,consts:[["mode","datetime",3,"timestamp"]],template:function(a,b){a&1&&D(0,W1a,6,2);a&2&&G(b.event.commentLastModifiedAtDate?0:-1)},dependencies:[VM],encapsulation:2,changeDetection:0});var wV=function(){this.texts=[]};wV.prototype.getIssueId=function(a){return a.text};wV.\u0275fac=function(a){return new (a||wV)};wV.\u0275cmp=t({type:wV,selectors:[["b-tagged-text"]],inputs:{texts:"texts"},decls:2,vars:0,consts:[[3,"email","withProfile"],[3,"href","issueId"]],template:function(a,b){a&1&&tg(0,$1a,3,1,null,null,rg);a&2&&ug(b.texts)},dependencies:[BP,xM],encapsulation:2,changeDetection:0});var tKc=function(){this.hotlists=r(mF);this.ROUTES=tq};tKc.\u0275fac=function(a){return new (a||tKc)};tKc.\u0275cmp=t({type:tKc,selectors:[["hotlist-link"]],inputs:{id:"id"},decls:3,vars:4,consts:[[3,"href"]],template:function(a,b){a&1&&(I(0,"a",0),Q(1),S(2,"async"),J());if(a&2){var c;F("href",b.ROUTES.viewHotlist.makeHref(b.id),of);C();Tg(((c=U(2,2,b.hotlists.watch(b.id)))==null?null:c.name)||b.id)}},dependencies:[Iw],encapsulation:2,changeDetection:0});var xV=function(){var a=this;this.componentFridge=r(AC);this.id$=new If(1);this.name$=this.id$.pipe(Ef(),Nf(function(b){return a.componentFridge.watch(b).pipe(B(function(c){var d;return c?YWa((d=c.componentPathInfo)==null?void 0:d.componentPathName,b):b}))}))};xV.prototype.ngOnChanges=function(){this.id$.next(this.id)};xV.\u0275fac=function(a){return new (a||xV)};
xV.\u0275cmp=t({type:xV,selectors:[["plain-component-path"]],inputs:{id:"id"},features:[Hd],decls:6,vars:4,consts:[["thisHovercard","onedevHovercard"],["cardBody",""],[3,"onedevHovercardTrigger"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"]],template:function(a,b){a&1&&(I(0,"span",2),Q(1),S(2,"async"),J(),I(3,"onedev-hovercard",null,0),D(5,a2a,3,2,"ng-container",3),J());a&2&&(a=L(4),F("onedevHovercardTrigger",a),C(),Tg(U(2,2,b.name$)||b.id))},dependencies:[bK,cK,hK,dK,
dO,Iw],encapsulation:2,changeDetection:0});var z2a=function(a){return{"bv2-diff-newvalue-nextline":a}},T2a=function(a,b,c){return{diff:a,change:b,isLast:c}},yV=function(){Z.apply(this,arguments);this.activeSession=r(dv);this.preferences=r(yH);this.customFieldMap={};this.effortEnabled=!0;this.isStringArray=Bi;this.isLinkedItemArray=hta;this.isIssueDiff=eta;this.isHotlistDiff=fta;this.DiffType=E7b;this.plannedAllocationsUiEnabled=lu(this.activeSession,"enablePlannedAllocationsUi")};Y(yV,Z);yV.\u0275dir=Z.\u0275dir;
var uKc=function(a){if(a.internalDiffs.length<2)return!1;var b=a.internalDiffs[0];a=a.internalDiffs.slice(1).find(function(e){return e.timestamp&&e.timestamp!==b.timestamp});if(!a)return!1;var c,d;return((c=b.timestamp)!=null?c:0)<=((d=a.timestamp)!=null?d:0)},vKc=function(a){if(a.internalDiffs.length<2)return!1;var b=a.internalDiffs[0];a=a.internalDiffs.slice(1).find(function(e){return e.timestamp&&e.timestamp!==b.timestamp});if(!a)return!1;var c,d;return((c=b.timestamp)!=null?c:0)>=((d=a.timestamp)!=
null?d:0)};yV.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Ye(kj),Of(this.destroyed$)).subscribe(function(b){a.internalDiffs.length<2||(b&&uKc(a)||!b&&vKc(a))&&a.internalDiffs.reverse()})};
var e3a=function(a,b,c){return Aea(b,c)==="<none>"?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&a.customFieldMap[b.customFieldId].type==="DATE"?!0:!1},f3a=function(a,b,c){return Aea(b,c)==="<none>"?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&a.customFieldMap[b.customFieldId].type==="REPEATED_DATE"?!0:!1};yV.prototype.asNumber=function(a){return Number(a)};
yV.prototype.customFieldName=function(a){if(a.customFieldId){var b;return((b=this.customFieldMap[a.customFieldId])==null?void 0:b.customFieldName)||"customfield"+a.customFieldId}return""};ea.Object.defineProperties(yV.prototype,{diffs:{configurable:!0,enumerable:!0,set:function(a){this.internalDiffs=[].concat(w(a))}}});yV.\u0275fac=function(){var a;return function(b){return(a||(a=de(yV)))(b||yV)}}();
yV.\u0275cmp=t({type:yV,selectors:[["b-issue-event-details"]],inputs:{diffs:"diffs",customFieldMap:"customFieldMap",effortSpecName:"effortSpecName",effortEnabled:"effortEnabled"},features:[cg],decls:5,vars:0,consts:[["changeCollection",""],[1,"bv2-event-details"],[1,"bv2-diff-row"],["mode","time",1,"float-right",3,"timestamp"],[1,"bv2-diff-detail"],[3,"id"],[1,"bv2-diff-arrow"],[3,"email","showEmail"],["mode","date",3,"timestamp"],[3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["title",
"For more detail, click on the three-dot menu near status update"],[1,"muted","inline-block","margin-none","unhandled-diff-type"],[3,"href","issueId"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(I(0,"div",1),tg(1,v3a,2,1,"div",2,rg),J(),D(3,B3a,1,1,"ng-template",null,0,fh));a&2&&(C(),ug(b.internalDiffs))},dependencies:[Ew,Hw,VM,tM,BP,tKc,xV,Mw],styles:["/*# sourceMappingURL=issue_event_details.css.map */"],changeDetection:0});var zV=function(){var a=r(yH);Z.call(this);var b=this;a.textDisplayPreferencesSubject$.pipe(Of(this.destroyed$)).subscribe(function(c){switch(c.commentDisplayOverride){case "LITERAL_FORMATTING_MODE":b.formattingModeOverride="LITERAL";break;case "MARKDOWN_FORMATTING_MODE":b.formattingModeOverride="MARKDOWN";break;case "PLAIN_FORMATTING_MODE":b.formattingModeOverride="PLAIN";break;case "COMMENT_FORMATTING_MODE_UNSPECIFIED":case void 0:b.formattingModeOverride=void 0;break;default:xb(c.commentDisplayOverride)}})};
Y(zV,Z);zV.\u0275dir=Z.\u0275dir;zV.prototype.ngOnInit=function(){};zV.prototype.ngOnChanges=function(){this.rawComment=this.note.unlinkifiedComment||"";this.summaryType==="CRITIQUE"?wKc(this):this.summaryType==="GERRIT"&&xKc(this);this.audience=this.issueAccessLevel&&this.issueAccessLevel==="INTERNAL"?"INTERNAL":"EXTERNAL";this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber};
var wKc=function(a){if(a.rawComment.split("\n").slice(0,3).filter(Boolean).length<2)a.rawComment=jGa(a.rawComment,250);else{var b=a.rawComment.split("\n").filter(function(c){return!(new Set(["","BEGIN_PUBLIC","END_PUBLIC"])).has(c.trim())}).slice(0,2);a.rawComment=yKc(a,b)}},xKc=function(a){var b=a.rawComment.split("\n");if(b.length>9){var c=b.slice(0,8).filter(Boolean).map(function(h){return h.trim()}),d=c[0],e=c[1],f=c[3];c=c[5];b=b.at(-2);a.rawComment=yKc(a,[d,e,f,"Gerrit change: "+b,"",c])}},
yKc=function(a,b){return a.formattingMode==="MARKDOWN"||a.formattingModeOverride==="MARKDOWN"?b.join("\n\n"):b.join("\n")};zV.\u0275fac=function(a){return new (a||zV)};
zV.\u0275cmp=t({type:zV,selectors:[["b-summarized-note-container"]],inputs:{note:"note",issueId:"issueId",formattingMode:"formattingMode",summaryType:"summaryType",issueAccessLevel:"issueAccessLevel"},features:[cg,Hd],decls:1,vars:5,consts:[[3,"comment","issueId","audience","formattingMode","idPrefix"]],template:function(a,b){a&1&&K(0,"b-live-preview",0);a&2&&F("comment",b.rawComment)("issueId",b.issueId)("audience",b.audience)("formattingMode",b.formattingModeOverride||b.formattingMode)("idPrefix",
b.idPrefix)},dependencies:[KP],styles:["[_nghost-%COMP%]     b-live-preview .md-preview{background-color:#fff;background-color:var(--background);padding:0}"]});var zKc=["commentActionsMenu"],AKc=["commentReactionButton"],L3a=function(){return[]},a4a=function(a){return{"no-upvote-reactions":a}},AV=function(){Z.apply(this,arguments);var a=this;this.documentationLinks=r(cL);this.activeSession=r(dv);this.issueReferenceResolver=r(zP);this.commentService=r(HL);this.el=r(ge);this.userAccess=r(YC);this.butterBar=r(hE);this.errorHandler=r(jE);this.analytics=r(wG);this.userPreferencesManager=r(yH);this.issueDetailsBrain=r(XL);this.editIssueService=r(jM);this.issuePermissionService=
r(ZL);this.commentHistoryDialogService=r(JU);this.issueCommentDialogsService=r(mT);this.dateFormatter=r(UM);this.paths=r(zO);this.domSafe=r(mM);this.eventsForIssueFridge=r(yF);this.isSummarized=!1;this.issueId$=new If(1);this.distinctIssueId$=this.issueId$.pipe(Ef());this.event$=new If(1);this.isCommentEvent=Xk;this.isNonObfuscatedEmail=Pk;this.commentActionMenuItems$=new bo([]);this.isInternalSession=this.activeSession.isInternalSession();this.enableTeamAnnotations=this.activeSession.isInternalSession();
this.formattingMode="PLAIN";this.commentRetentionOverride=null;this.wasSummarized=!1;var b={};this.formattingModeMenuItems=(b.PLAIN={type:"select",action:function(){a.formattingMode="PLAIN";a.initializeActionsMenu()},label:"Classic",selected:!0},b.MARKDOWN={type:"select",action:function(){a.formattingMode="MARKDOWN";a.initializeActionsMenu()},label:"Markdown",selected:!1},b.LITERAL={type:"select",action:function(){a.formattingMode="LITERAL";a.initializeActionsMenu()},label:"Source",selected:!1},b);
this.isFormattingOverrideEnabled=!1;this.canEditComment$=this.event$.pipe(Nf(function(c){return a.issuePermissionService.canEditComment$(c)}),Kf({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!Xo(a.canEditComment$)};this.commentHistoryEnabled=lu(this.activeSession,"enableCommentHistoryUi");this.commentReactionsEnabled=lu(this.activeSession,"enableCommentReaction");this.effortSpec$=this.issueDetailsBrain.effortSpec$;this.isEffortEnabled$=this.issueDetailsBrain.isEffortEnabled$;
this.teamId$=this.issueDetailsBrain.teamId$;this.issue$=this.distinctIssueId$.pipe(Nf(function(c){return a.editIssueService.editableIssue$(c)}));this.modifiedDateDisplay$=this.event$.pipe(B(function(c){return new Date(c.modifiedDate)}),Nf(function(c){return guc(a.dateFormatter,c)}));this.ariaLabelHeading$=Me([this.event$,this.modifiedDateDisplay$]).pipe(B(function(c){var d=k(c);c=d.next().value;d=d.next().value;if(c==null)c="";else{var e=[];c.commentNumber&&e.push("Comment #"+c.commentNumber);c.userPerformingActionUser&&
e.push(Ri(c.userPerformingActionUser));e.push("Modified: "+d);c=e.join(", ")}return c}));this.ReactionType=o7b;this.upvoteReactionCount$=this.event$.pipe(B(function(c){var d,e,f;return(f=(d=c.commentReactions)==null?void 0:(e=d.get("UPVOTE"))==null?void 0:e.count)!=null?f:0}));this.upvoteReactionCountDisplayString$=this.upvoteReactionCount$.pipe(B(function(c){return c&&c!==0?c>999?"999+":String(c):null}));this.noUpvoteReactions$=this.upvoteReactionCount$.pipe(B(function(c){return c===0}));this.commentReactionsHovercardConfig=
Object.assign({},new eK,{position:[goc]});this.commentReactionIsSaving=!1;this.showRecentEventsFirst$=this.userPreferencesManager.showRecentEventsFirst$;this.showFullHistoryFromFiltering$=this.userPreferencesManager.commentFilterPreferences$.pipe(B(function(c){var d;return(d=c.commentFilter)!=null?d:""}));this.isFullHistoryPreference$=this.showFullHistoryFromFiltering$.pipe(B(function(c){return c==="FULL_HISTORY"}));this.preEventDiffs$=Me([this.event$,this.showRecentEventsFirst$]).pipe(B(function(c){var d=
k(c);c=d.next().value;return d.next().value?c.postDiffs:c.preDiffs}));this.postEventDiffs$=Me([this.event$,this.showRecentEventsFirst$]).pipe(B(function(c){var d=k(c);c=d.next().value;return d.next().value?c.preDiffs:c.postDiffs}));this.hasAclToUpvoteReact$=Me([this.event$,this.issuePermissionService.hasAclToComment$]).pipe(B(function(c){var d=k(c);c=d.next().value;d=d.next().value;var e,f;return((e=c.commentReactions)==null?void 0:(f=e.get("UPVOTE"))==null?void 0:f.hasReacted)||d}));this.showCommentReactionHovercard$=
Me([this.issuePermissionService.hasAclToEdit$,this.upvoteReactionCount$]).pipe(B(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c&&d>0&&d<=5}));this.isShowingCommentTimestamp$=this.isFullHistoryPreference$.pipe(B(function(c){return c&&i4a(a)&&(a.event.preDiffs.length>0||a.event.postDiffs.length>0)}));this.getCommentNumberLink=function(c){return aq(a.issueId,{comment:c})}};Y(AV,Z);AV.\u0275dir=Z.\u0275dir;
AV.prototype.ngOnInit=function(){var a=this;this.event.commentNumber&&this.el.nativeElement.setAttribute("id","comment"+this.event.commentNumber);this.commentRetentionOverride=this.event.commentRetention;this.event$.pipe(Of(this.destroyed$)).subscribe(function(){Xk(a.event)&&a.isRestricted()?a.mayReadPii$=a.mayReadPii():a.mayReadPii$=Fe(void 0)});BKc(this);this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(Of(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=b.commentDisplayOverride!=
null;a.initializeActionsMenu()});this.issueDetailsBrain.canonicalIssueId$.pipe(Of(this.destroyed$)).subscribe(function(b){a.canonicalIssueId=b;a.initializeActionsMenu()});this.canEditComment$.pipe(Of(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.issuePermissionService.canChangeCommentRetention$.pipe(Of(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
var BKc=function(a){if(a.formattingMode){for(var b=k(Object.values(a.formattingModeMenuItems)),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.formattingModeMenuItems[a.formattingMode].selected=!0}};g=AV.prototype;
g.updateCommentRetention=function(a){var b=this;this.event.commentNumber||kE(this.errorHandler,"Comment number is missing");this.analytics.trackEvent("restrictedContent","updateRetention","comment");this.commentService.updateRetention(this.issueId,this.event.commentNumber||0,a).pipe(Of(this.destroyed$)).subscribe({next:function(c){var d;b.event=Object.assign({},b.event,{commentRetention:c.piiRetention,commentRetentionState:(d=c.piiRetentionState)!=null?d:null});du(b.butterBar,"Comment retention updated",
4E3);b.commentRetentionOverride=a==="INDEFINITE"?"INDEFINITE":"COMPONENT_DEFAULT";b.initializeActionsMenu()},error:function(){kE(b.errorHandler,"Comment retention update failed")}})};
g.ngOnChanges=function(a){a.issueId&&this.issueId$.next(String(this.issueId));a=a.event;var b;if(b=a&&this.deobfuscatedEvent)b=a.previousValue,a=a.currentValue,b=(b==null?void 0:b.commentVersion)!==(a==null?void 0:a.commentVersion)||(b==null?void 0:b.commentContentVerdict)!==(a==null?void 0:a.commentContentVerdict);b&&(this.deobfuscatedEvent=void 0);this.event.formattingMode&&(this.event.formattingMode==="UNSPECIFIED_FORMATTING_MODE"?this.formattingMode="PLAIN":this.formattingMode=this.event.formattingMode);
this.initializeActionsMenu()};g.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};g.getRestrictedLabel=function(){return gJa(Xp(this.event.commentContentVerdict))};g.isRestricted=function(){var a=Xp(this.event.commentContentVerdict);switch(a){case "NONE_DETECTED":case "RESTRICTION_SEVERITY_UNSPECIFIED":return!1;case "RESTRICTED":case "RESTRICTED_PLUS":return!0;default:xb(a)}};
g.isDeleted=function(){return this.event.commentDeletionStatus==="DELETED"};var wr=function(a){var b;return((b=a.event)==null?void 0:b.commentRedacted)&&!a.deobfuscatedEvent};
AV.prototype.loadRestrictedComment=function(){var a=this;this.analytics.trackEvent("restrictedContent","viewRestrictedContent","comment");var b=this.event.commentNumber||0;this.commentService.get(String(this.issueId),b,Xp(this.event.commentContentVerdict)).pipe(Cf()).subscribe(function(c){a.deobfuscatedEvent=Lta(a.event,c);a.initializeActionsMenu()},function(c){var d;a.butterBar.showWarning("Error showing comment "+b+": "+((d=c.error)==null?void 0:d.message))})};
AV.prototype.initializeActionsMenu=function(){var a=this,b=[];if(this.isCommentEvent(this.event)){this.isFormattingOverrideEnabled||(b.push(Object.assign({},jJc,{items:[this.formattingModeMenuItems.PLAIN,this.formattingModeMenuItems.MARKDOWN,this.formattingModeMenuItems.LITERAL]})),BKc(this));this.canEditComment()&&b.push({type:"action",action:function(){vr(a.issueCommentDialogsService,String(a.issueId),a.deobfuscatedEvent||a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},
label:"Edit comment",disabled:wr(this)});this.commentHistoryEnabled&&(this.event.commentVersion||0)>0&&!wr(this)&&b.push(Object.assign({},lJc,{action:function(){a.event.commentNumber&&a.showCommentHistoryDialog(a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})}}));!this.canonicalIssueId||this.isDeleted()||this.activeSession.isAnonymous()||b.push({type:"action",action:function(){var d=wq(a.canonicalIssueId,{template_issue:a.issueId,template_comment:a.event.commentNumber,
do_attribution:!0});a.domSafe.openInNewTab(d);a.commentActionsMenu.actionsMenuIconButton.focus()},label:"Copy to canonical issue",disabled:wr(this)});this.isDeleted()||this.activeSession.isAnonymous()||b.push({type:"action",action:function(){ZDc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Copy comment to",disabled:wr(this)});Yrc(this.issuePermissionService,this.event)&&b.push({type:"action",action:function(){dEc(a.issueCommentDialogsService,
String(a.issueId),a.event.commentNumber,a.event.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete comment"});Xrc(this.issuePermissionService,this.event)&&b.push({type:"action",action:function(){aEc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore comment"});Xo(this.issuePermissionService.hasAclToView$)&&b.push(Object.assign({},kJc,{action:function(){eEc(a.issueCommentDialogsService,
String(a.issueId),a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})}}));if(this.isRestricted()&&this.issuePermissionService.canChangeCommentRetention()&&!this.isDeleted()){var c=this.commentRetentionOverride==="COMPONENT_DEFAULT";b.push({type:"action",action:function(){var d=c?"INDEFINITE":"COMPONENT_DEFAULT";fEc(a.issueCommentDialogsService,"comment",d).then(function(e){a.commentActionsMenu.actionsMenuIconButton.focus();e&&a.updateCommentRetention(d)})},label:c?"Match issue retention":
"Revert to component retention"})}A0a({userIsExternal:!this.isInternalSession,issueIsExternal:this.issueAccessLevel!=="INTERNAL"})&&b.push(Object.assign({},iJc,{action:function(){a.event.commentNumber==null&&sj("unable to buildLegalReportingUrl() correctly without an event.commentNumber");var d,e=B0a({bugId:a.event.issueId,comment:(d=a.event.commentNumber)!=null?d:0});a.domSafe.openInNewTab(e)}}))}this.commentActionMenuItems$.next(b)};var i4a=function(a){return Xk(a.event)&&!!a.event.unlinkifiedComment};
AV.prototype.getSummaryType=function(){return el(this.event)?"GERRIT":"CRITIQUE"};AV.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.issueId,a,-1)};AV.prototype.mayReadPii=function(){var a=$C(this.userAccess,"reader","issues/"+this.issueId+"/comments/"+this.event.commentNumber);a.catch(function(b){sj("error: ",b);return!1});return ue(a)};
var Z3a=function(a){if(Xo(a.hasAclToUpvoteReact$)){a.commentReactionIsSaving=!0;var b=b4a(a,"UPVOTE"),c;a.issueCommentDialogsService.updateCommentReaction({issueId:a.issueId,commentId:(c=a.event.commentNumber)!=null?c:2,reactionType:"UPVOTE",hasReacted:!b}).then(function(d){a.commentReactionIsSaving=!1;if(d){var e=a.event;e.commentReactions=d;a.event$.next(e);a.eventsForIssueFridge.manualUpdate(a.issueId,function(f){var h;f.events=Mta(f.events,(h=a.event.commentNumber)!=null?h:2,{commentReactions:d})});
a.analytics.trackEvent("editIssue","click",b?"removeUpvoteReaction":"addUpvoteReaction")}})}},b4a=function(a,b){var c,d,e;return(e=(c=a.event.commentReactions)==null?void 0:(d=c.get(b))==null?void 0:d.hasReacted)!=null?e:!1},$3a=function(a,b){var c;a=(c=a.event.commentReactions)==null?void 0:c.get(b);if(!a)return"Comment reaction button";b=b==="UPVOTE"?"Thumbs up":"";a.count===1?b+=", "+a.count+" reaction":a.count>1&&(b+=", "+a.count+" reactions");a.hasReacted&&(b+=", reacted");return b};
ea.Object.defineProperties(AV.prototype,{event:{configurable:!0,enumerable:!0,set:function(a){this.internalEvent=a;this.event$.next(a)},get:function(){return this.internalEvent}}});AV.\u0275fac=function(){var a;return function(b){return(a||(a=de(AV)))(b||AV)}}();
AV.\u0275cmp=t({type:AV,selectors:[["b-history-event"]],viewQuery:function(a,b){a&1&&(Mg(zKc,5),Mg(AKc,5));if(a&2){var c;Qg(c=Rg())&&(b.commentActionsMenu=c.first);Qg(c=Rg())&&(b.commentReactionButton=c.first)}},inputs:{issueId:"issueId",issueAccessLevel:"issueAccessLevel",isSummarized:"isSummarized",event:"event"},features:[cg,Hd],decls:2,vars:3,consts:[["emailDisplay",""],["card",""],["commentActionsMenu",""],["commentReactionButton",""],["commentReactionCard","onedevHovercard"],[1,"bv2-event-user-image-cell"],
[1,"bv2-event-user-image",3,"email"],[1,"bv2-event-content-cell"],[1,"bv2-event-user"],[3,"user","email","teamId"],[1,"bv2-event-user-name",3,"model"],[1,"bv2-event-user-id"],["matTooltip","Edit Comment","aria-label","Edit Comment",1,"bv2-edit-comment-button"],[1,"bv2-event-info"],["content-type","comment",3,"label","retention","retentionState"],["mode","datetime",3,"timestamp"],[1,"issue-detail-actions",3,"buttonLabel","menuItems"],[1,"float-clear"],[1,"bv2-event-major-status"],[3,"diffs","customFieldMap",
"effortSpecName","effortEnabled"],[1,"bv2-event-note-container","critical-feature"],[1,"flex-kids-x","space-between"],[1,"muted","italic"],[3,"disabled"],[1,"flex-kids-y","flex-1-hemmed"],[3,"issueId","issueAccessLevel","note","formattingMode"],["mat-button","",1,"summarized-note-button"],[1,"flex-kids-y","justify-space-between"],[1,"comment-timestamp"],["mode","time",1,"muted","type-s",3,"timestamp"],[1,"align-self-flex-end"],[1,"bv2-event-note-edit-timestamp"],[1,"margin-s-y","border-top","bv2-issue-event-attachments"],
["role","button",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],[1,"keep-focus-ring","vertical-centered","comment-number",3,"click","routerLinkObj"],["matTooltip","Edit Comment","aria-label","Edit Comment",1,"bv2-edit-comment-button",3,"click"],[3,"texts"],[3,"onConfirm","disabled"],[3,"issueId","issueAccessLevel","note","summaryType","formattingMode"],["mat-button","",1,"summarized-note-button",3,"click"],["svgIcon","arrow-down",1,"icon-m"],["svgIcon","arrow-up",1,"icon-m"],["mat-stroked-button",
"","disabledInteractive","",1,"comment-reaction-button",3,"click","ariaLabel","ngClass","aria-disabled","disabled","onedevHovercardTrigger","onedevHovercardConfig","onedevHovercardActive"],["svgIcon","thumb_up_filled_24px",1,"icon-s","has-reacted-icon"],["svgIcon","thumb_up_24px",1,"icon-s"],[3,"reactionState","issueId","commentNumber"],[3,"event"],[3,"click"],[1,"margin-s-y","bv2-issue-event-attachment",3,"id"],[3,"issueId","attachment","attachmentUploader"]],template:function(a,b){a&1&&(D(0,j4a,
41,28),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.issue$))?0:-1,c)}},dependencies:[UU,VU,LP,Ew,Hw,$D,OE,VM,bK,hK,yV,oM,TU,rV,wM,uM,zM,FH,HH,zV,vD,Vy,vV,sKc,wV,Iw],styles:[".bv2-event-user[_ngcontent-%COMP%]{font-weight:400;margin:0;margin-bottom:12px}.bv2-event-user[_ngcontent-%COMP%]   b-user-membership-chip[_ngcontent-%COMP%]{margin-left:-8px}.bv2-event-user   .d-cozy[_nghost-%COMP%]   .bv2-event-user[_ngcontent-%COMP%], .d-cozy   [_nghost-%COMP%]   .bv2-event-user[_ngcontent-%COMP%]{margin-bottom:10px}.bv2-event-user   .d-compact[_nghost-%COMP%]   .bv2-event-user[_ngcontent-%COMP%], .d-compact   [_nghost-%COMP%]   .bv2-event-user[_ngcontent-%COMP%]{margin-bottom:8px}.summarized-note-button[_ngcontent-%COMP%]{color:#202124;color:var(--text-default);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin-top:8px;margin-left:-22px}.summarized-note-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{padding-right:8px}.gmat-mdc-button.comment-reaction-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;border-radius:24px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:1.75em;line-height:1.75em;padding:0 0 0 0;color:#3c4043;color:var(--gfx);min-width:20px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:8px;margin-right:6px}.gmat-mdc-button.comment-reaction-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   mat-icon[_ngcontent-%COMP%]{margin-right:4px;margin-left:0}.gmat-mdc-button.comment-reaction-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   .has-reacted-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.gmat-mdc-button.comment-reaction-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix):focus:enabled:not(.comment-reaction-button[aria-disabled=true]), .gmat-mdc-button.comment-reaction-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix):hover:enabled:not(.comment-reaction-button[aria-disabled=true]){box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15)}[_nghost-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.comment-reaction-button[aria-disabled=true][_ngcontent-%COMP%]{cursor:default;color:#bdc1c6;color:var(--text-disabled);--mdc-outlined-button-focus-label-text-color:var(--text-disabled);--mdc-outlined-button-hover-label-text-color:var(--text-disabled);--mat-outlined-button-hover-state-layer-opacity:0;--mat-outlined-button-focus-state-layer-opacity:0;--mat-outlined-button-pressed-state-layer-opacity:0}[_nghost-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.comment-reaction-button[aria-disabled=true][_ngcontent-%COMP%]   .has-reacted-icon[_ngcontent-%COMP%]{color:rgba(26,115,232,.4);color:var(--hover-btn)}.gmat-mdc-button.no-upvote-reactions.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){border:0;margin-right:2px}.gmat-mdc-button.no-upvote-reactions.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   mat-icon[_ngcontent-%COMP%]{margin-right:0;--mat-outlined-button-icon-offset:0}.comment-timestamp[_ngcontent-%COMP%]{margin-top:14px;-webkit-box-flex:0.92;-webkit-flex:0.92;-moz-box-flex:0.92;-ms-flex:0.92;flex:0.92}.comment-number[_ngcontent-%COMP%]:hover{text-decoration:underline}\n/*# sourceMappingURL=history_event.css.map */"],
changeDetection:0});var BV=function(){};BV.prototype.watch=function(a,b){b=b===void 0?document.documentElement:b;return Qe(Re(function(){return Fe(document.getElementById(a))}),lxa(b,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0}).pipe(B(function(){return document.getElementById(a)}))).pipe(Ye(kj),Cf())};BV.\u0275fac=function(a){return new (a||BV)};BV.\u0275prov=n({token:BV,factory:BV.\u0275fac,providedIn:"root"});var CV=function(){this.idWatch=r(BV)},CKc=function(a,b){var c=b.elementId;var d=b.parentElement;var e=b.scrollableContainerId;var f=b.scrollPadding===void 0?0:b.scrollPadding;return a.idWatch.watch(c,d).pipe(Cf(),B(function(h){h.scrollIntoView();if(h=document.getElementById(e))h.scrollTop-=f}))};CV.\u0275fac=function(a){return new (a||CV)};CV.\u0275prov=n({token:CV,factory:CV.\u0275fac,providedIn:"root"});var DKc={FULL:"full",SUMMARIZED:"summarized",FOLDED:"folded",HIDDEN:"hidden"},DV=function(){Z.apply(this,arguments);var a=this;this.formattedCommentsForIssueFridge=r(CF);this.preferences=r(yH);this.activeSession=r(dv);this.eventsForIssue=r(yF);this.dynamicScrollIntoView=r(CV);this.bLocation=r(WI);this.elementRef=r(ge);this.routerEvents=r(vG);this.analytics=r(wG);this.teamFridge=r(qH);this.issueFullFridge=r(yG);this.issueId$=new If(1);this.internalIssueId="";this.eventDisplayModes=DKc;this.internalEvents=
[];this.showRecentEventsFirst=null;this.currentFilterLevel="FULL_HISTORY";this.issue$=this.issueId$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}));this.events$=new If(1);this.commentsToFormat$=new If(1);this.eventDisplayMode=new Map;this.commentNumbersDisplayed=new Set;this.foldedCommentsCounts=new Map;this.authoritativeEmails=new Set;this.authoritativeEmails$=this.preferences.commentFilterPreferences$.pipe(Nf(function(b){var c=new Set;return b.commentFilter!=="TEAM_AND_ASSIGNEE"?Fe(c):
a.issue$.pipe(Nf(function(d){var e;if((d==null?void 0:(e=d.snapshot[0].assigneeUser)==null?void 0:e.emailAddress)!==void 0){var f;c.add(d==null?void 0:(f=d.snapshot[0].assigneeUser)==null?void 0:f.emailAddress)}var h;if((d==null?void 0:(h=d.snapshot[0].verifierUser)==null?void 0:h.emailAddress)!==void 0){var l;c.add(d==null?void 0:(l=d.snapshot[0].verifierUser)==null?void 0:l.emailAddress)}var q;if((d==null?void 0:(q=d.aggregatedData)==null?void 0:q.teamId)===void 0)return Fe(c);var v;return EKc(a,
String(d==null?void 0:(v=d.aggregatedData)==null?void 0:v.teamId)).pipe(Nf(function(y){y=k(y);for(var E=y.next();!E.done;E=y.next())c.add(E.value);return Fe(c)}))}))}));this.isLoading$=Me([this.formattedCommentsForIssueFridge.thinking$,this.eventsForIssue.thinking$]).pipe(Df(0),B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b||c}));this.sendAnalytics=VA(function(){var b=[].concat(w(document.querySelectorAll(".bv2-event-note, .bv2-event-major-status"))).map(function(c){return c.innerText}).join("").length;
a.analytics.trackEvent("editIssue","updateCommentThread","visibleCharCount",b)},200);this.scrollToCommentOrAttachment=VA(function(){var b=a.bLocation.hash();if(b&&a.lastHashScrolled!==b&&a.internalEvents){var c,d=k((c=b.match(RegExp("(comment|attachment)([0-9]+)")))!=null?c:[]);d.next();c=d.next().value;var e=d.next().value;d=c;var f=e;if(b==="lastcomment"){d=Qta(a.internalEvents);if(d===-1)return;f=String(d);d="comment"}if(d&&f){c=a.internalEvents.findIndex(function(l){return l.commentNumber===Number(f)});
e=c>-1;var h=a.internalEvents.flatMap(function(l){return l.attachments}).some(function(l){return l.attachmentId===Number(f)});if(e||h)e&&a.eventDisplayMode.get(c)==="folded"&&(a.eventDisplayMode.set(c,"full"),FKc(a,c)),h&&(c=a.internalEvents.findIndex(function(l){return l.attachments.findIndex(function(q){return q.attachmentId===Number(f)})>-1}),a.eventDisplayMode.get(c)||(a.eventDisplayMode.set(c,"full"),FKc(a,c))),CKc(a.dynamicScrollIntoView,{elementId:d+f,parentElement:a.elementRef.nativeElement,
scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(Pf(function(){a.lastHashScrolled=b}),Of(a.destroyed$)).subscribe()}else CKc(a.dynamicScrollIntoView,{elementId:b,parentElement:a.elementRef.nativeElement,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(Pf(function(){a.lastHashScrolled=b}),Of(a.destroyed$)).subscribe()}},200);this.plannedAllocationsUiEnabled=lu(this.activeSession,"enablePlannedAllocationsUi")};Y(DV,Z);DV.\u0275dir=Z.\u0275dir;
DV.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.authoritativeEmails$.subscribe(function(b){a.authoritativeEmails=b}));this.preferences.showRecentEventsFirst$.pipe(Ye(kj),Of(this.destroyed$),Ef()).subscribe(function(b){a.showRecentEventsFirst!==b&&(a.showRecentEventsFirst=b,GKc(a))});Me([this.events$,this.preferences.commentFilterPreferences$,this.authoritativeEmails$]).subscribe(function(b){b=k(b);var c=b.next().value;var d=b.next().value;var e=b.next().value;b=[];if(d.commentFilter)for(a.currentFilterLevel=
d.commentFilter,HKc(a,c,d.commentFilter,e),IKc(a),c=k(a.commentNumbersDisplayed.values()),d=c.next();!d.done;d=c.next())b.push(a.internalIssueId+"-"+d.value);else for(c=k(c),d=c.next();!d.done;d=c.next())(d=d.value)&&d.commentNumber&&b.push(a.internalIssueId+"-"+d.commentNumber);a.commentsToFormat$.next(b)});this.commentsToFormat$.pipe(Ye(kj),Of(this.destroyed$),Nf(function(b){return a.formattedCommentsForIssueFridge.watchSet(b)})).subscribe(function(b){JKc(a,b)});this.routerEvents.navigationEnd$.pipe(Of(this.destroyed$)).subscribe(function(){a.internalEvents&&
a.internalEvents.length!==0&&a.scrollToCommentOrAttachment()})};
var JKc=function(a,b){for(var c={i$jscomp$1159:0};c.i$jscomp$1159<a.internalEvents.length;c={i$jscomp$1159:c.i$jscomp$1159},c.i$jscomp$1159++)if(p4a(a,void 0,a.eventDisplayMode.get(c.i$jscomp$1159))&&Xk(a.internalEvents[c.i$jscomp$1159])){var d=b.find(function(e){return function(f){return f.id.commentId===a.internalEvents[e.i$jscomp$1159].commentNumber}}(c));d&&(a.internalEvents[c.i$jscomp$1159]=Object.assign({},a.internalEvents[c.i$jscomp$1159],{formattedComment:d.formattedComment.formattedComment,
formattingMode:d.formattedComment.formattingMode}))}GKc(a)},HKc=function(a,b,c,d){a.eventDisplayMode.clear();a.commentNumbersDisplayed.clear();a.foldedCommentsCounts.clear();switch(c){case "FULL_HISTORY":for(c=0;c<b.length;c++){var e=KKc(b[c]);a.eventDisplayMode.set(c,e?"full":"hidden");Xk(b[c])&&b[c].commentNumber&&e&&(e=void 0,a.commentNumbersDisplayed.add((e=b[c].commentNumber)!=null?e:0))}break;case "ALL_COMMENTS":for(c=0;c<b.length;c++)e=LKc(b[c]),a.eventDisplayMode.set(c,e?"full":"hidden"),
Xk(b[c])&&b[c].commentNumber&&e&&(e=void 0,a.commentNumbersDisplayed.add((e=b[c].commentNumber)!=null?e:0));break;case "HUMAN_ONLY":MKc(a,b,function(f){var h;return(h=rta(f.userPerformingAction)&&f.isMajorEvent)!=null?h:!0});break;case "TEAM_AND_ASSIGNEE":MKc(a,b,function(f){var h;return(h=d.has(f.userPerformingAction)&&f.isMajorEvent)!=null?h:!0});break;default:for(c=0;c<b.length;c++)a.eventDisplayMode.set(c,"full"),Xk(b[c])&&b[c].commentNumber&&(e=void 0,a.commentNumbersDisplayed.add((e=b[c].commentNumber)!=
null?e:0))}a.sendAnalytics()},IKc=function(a){if(a.currentFilterLevel!=="FULL_HISTORY")for(var b=0;b<a.internalEvents.length;b++){var c=a.internalEvents[b];Xk(c)&&(dl(c)||c!=null&&c.formattingMode&&c.formattingMode!=="MARKDOWN"&&el(c))&&(a.eventDisplayMode.set(b,"summarized"),FKc(a,b))}},MKc=function(a,b,c){for(var d=0,e=0,f=0,h=0;h<b.length;h++){var l=c(b[h]);a.eventDisplayMode.set(h,l?"full":"folded");if(l){if(d>0||e>0)a.foldedCommentsCounts.has(f)||a.foldedCommentsCounts.set(f,{commentFoldedCount:d,
eventFoldedCount:e});e=d=0;Xk(b[h])&&b[h].commentNumber&&(l=void 0,a.commentNumbersDisplayed.add((l=b[h].commentNumber)!=null?l:0))}else{if(Xk(b[h])&&b[h].commentNumber||Yk(b[h]))d++,f=h;e++}}if(d>0||e>0)b=Qta(a.internalEvents)===1?a.showRecentEventsFirst?0:a.internalEvents.length:NKc(a),a.foldedCommentsCounts.set(b,{commentFoldedCount:d,eventFoldedCount:e})},NKc=function(a){return Cba(a.internalEvents,function(b){var c;return(c=b.isMajorEvent)!=null?c:!1})},KKc=function(a){return Xk(a)&&!!a.unlinkifiedComment||
Yk(a)||a.preDiffs.length>0||a.postDiffs.length>0},LKc=function(a){var b;return((b=a.isMajorEvent)!=null?b:!1)&&(Xk(a)&&!!a.unlinkifiedComment||Yk(a)||a.preDiffs.length>0||a.postDiffs.length>0)},GKc=function(a){if(!(a.internalEvents.length<2)){if(a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate<=OKc(a,a.internalEvents).modifiedDate||!a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate>=OKc(a,a.internalEvents).modifiedDate){a.internalEvents.reverse();var b;HKc(a,a.internalEvents,(b=a.currentFilterLevel)!=
null?b:"FULL_HISTORY",a.authoritativeEmails);IKc(a)}a.internalEvents&&a.internalEvents.length!==0&&a.scrollToCommentOrAttachment()}},OKc=function(a,b){var c;return(c=b.find(function(d){return a.internalEvents[0].modifiedDate!==d.modifiedDate}))!=null?c:b[1]};DV.prototype.trackEventByVersion=function(a,b){return b.version};
var FKc=function(a,b){if(a.foldedCommentsCounts.has(b)){var c,d,e=(d=(c=a.foldedCommentsCounts.get(b))==null?void 0:c.commentFoldedCount)!=null?d:0,f,h;c=(h=(f=a.foldedCommentsCounts.get(b))==null?void 0:f.eventFoldedCount)!=null?h:0;e>1&&a.foldedCommentsCounts.set(b-1,{commentFoldedCount:e-1,eventFoldedCount:c-1});a.foldedCommentsCounts.delete(b)}else for(e=new Map([].concat(w(a.foldedCommentsCounts.entries())).sort(function(l,q){return l[0]-q[0]})),e=k(e.entries()),f=e.next();!f.done;f=e.next())if(h=
k(f.value),f=h.next().value,h=h.next().value,f>b){if(h.commentFoldedCount-(f-b)===0)a.foldedCommentsCounts.set(f,{commentFoldedCount:h.commentFoldedCount-1,eventFoldedCount:h.eventFoldedCount-1});else{e=0;for(c=b;c<f;c++)(Xk(a.internalEvents[c])||Yk(a.internalEvents[c]))&&e++;a.foldedCommentsCounts.set(f,{commentFoldedCount:e,eventFoldedCount:f-b});a.foldedCommentsCounts.set(b-1,{commentFoldedCount:h.commentFoldedCount-e-1,eventFoldedCount:h.eventFoldedCount-(f-b)-1});a.foldedCommentsCounts.delete(b)}break}},
p4a=function(a,b,c){var d,e,f=new Set([].concat(w((d=b==null?void 0:b.preDiffs)!=null?d:[]),w((e=b==null?void 0:b.postDiffs)!=null?e:[])).map(function(h){return h.name}));return a.plannedAllocationsUiEnabled||!b||b.attachments.length||b.commentNumber||f.size!==1||!f.has("staffing")?c==="summarized"||c==="full":!1},EKc=function(a,b){var c=new Set;return a.teamFridge.watch(b).pipe(B(function(d){if(d!==void 0){d=k(d.members.map(function(f){return f.user.emailAddress}).filter(kj));for(var e=d.next();!e.done;e=
d.next())c.add(e.value)}return c}))};ea.Object.defineProperties(DV.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){a&&(this.internalIssueId=a,this.issueId$.next(a))}},events:{configurable:!0,enumerable:!0,set:function(a){if(a&&a.length>0){var b=a;a=[].concat(w(b));b=Object.assign({},b[0],{attachments:[],commentNumber:null,formattedComment:void 0,taggedSummary:[],isMajorEvent:!1});a[0]=b}a&&!yta(this.internalEvents,a)&&(this.internalEvents=a,this.events$.next(a))}}});
DV.\u0275fac=function(){var a;return function(b){return(a||(a=de(DV)))(b||DV)}}();
DV.\u0275cmp=t({type:DV,selectors:[["b-event-stream"]],inputs:{issueAccessLevel:"issueAccessLevel",showFullHistory:"showFullHistory",issueId:"issueId",events:"events"},features:[cg],decls:7,vars:6,consts:[[1,"padded","margined"],[1,"bv2-edit-issue-history-stream"],[1,"fold-indication"],[1,"bv2-event"],["mat-stroked-button","","color","primary",3,"click"],[1,"horizontal-divider"],[3,"issueId","issueAccessLevel","event","isSummarized"]],template:function(a,b){a&1&&(D(0,k4a,2,0,"aside",0),S(1,"async"),
I(2,"div",1),tg(3,q4a,2,2,null,null,b.trackEventByVersion,!0),J(),D(5,r4a,2,0,"aside",0),S(6,"async"));a&2&&(G(b.showRecentEventsFirst&&U(1,2,b.isLoading$)?0:-1),C(3),ug(b.internalEvents),C(2),G(!b.showRecentEventsFirst&&U(6,4,b.isLoading$)?5:-1))},dependencies:[AV,vD,Vy,JO,Iw],styles:[".sort-order-button[_ngcontent-%COMP%]{height:24px;line-height:24px;padding-left:6px;padding-right:10px}.sort-order-arrow[_ngcontent-%COMP%]{padding-right:4px;padding-bottom:4px;vertical-align:middle}[_nghost-%COMP%]     .initial-diffs .bv2-event-details{margin-top:16px}.bv2-event[_ngcontent-%COMP%]:last-of-type{border-bottom:none}.bv2-edit-issue-history-stream[_ngcontent-%COMP%] > .fold-indication[_ngcontent-%COMP%]:first-child{margin-top:16px}.fold-indication[_ngcontent-%COMP%]{margin-top:-12px;position:relative;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.fold-indication[_ngcontent-%COMP%]   .horizontal-divider[_ngcontent-%COMP%]{border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);-webkit-box-flex:1;-webkit-flex:auto;-moz-box-flex:1;-ms-flex:auto;flex:auto}.fold-indication[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border:1px solid;border-color:#1a73e8;border-color:var(--primary);background-color:#fff;background-color:var(--background);line-height:16px;height:24px;padding:0 8px}.fold-indication[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:focus, .fold-indication[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{border:1px solid;border-color:#1a73e8;border-color:var(--primary)}"]});var FV=function(){var a=this;this.issueFullFridge=r(yG);this.issueApi=r(tD);this.prompts=r(EV);this.contextSensitiveRegistry=r(WL);this.analytics=r(wG);this.activeSession=r(dv);this.enableNoButton=lu(this.activeSession,"enableIssueSummarizationNoButton")&&this.activeSession.isInternalSession();this.issueId$=this.contextSensitiveRegistry.getIssueId().pipe(Ye(kj),Ef());this.issue$=this.issueId$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}),Ye(kj),Ef(function(b,c){return b.issueId===c.issueId&&
b.version===c.version}));this.summarizable$=this.issue$.pipe(Nf(function(b){return PKc(a.prompts,b.issueId).pipe(B(function(c){return{issue:b,isSummarizable:c}}))}),Kf({refCount:!0,bufferSize:1}));this.pregeneratedSummary$=this.summarizable$.pipe(Ye(function(b){return b.isSummarizable}),Nf(function(b){return a.getIssueSummary(b.issue,"COMMENTS_LONG")}),Kf({refCount:!0,bufferSize:1}));this.generateSummaryRequested$=new If(1);this.generatedSummary$=this.generateSummaryRequested$.pipe(Nf(function(b){return QKc(a,
b)}),Kf({refCount:!0,bufferSize:1}));this.summary$=Xe(this.pregeneratedSummary$,this.generatedSummary$).pipe(Kf({refCount:!0,bufferSize:1}));this.stage$=Me([this.issueId$.pipe(Mf(void 0)),this.issue$.pipe(Mf(void 0)),this.pregeneratedSummary$.pipe(Mf(void 0)),this.generateSummaryRequested$.pipe(Mf(void 0)),this.generatedSummary$.pipe(Mf(void 0))]).pipe(B(function(b){var c=k(b);b=c.next().value;var d=c.next().value;var e=c.next().value;var f=c.next().value;c=c.next().value;return b&&d&&e&&e.issueId===
b?e.summary?"SUMMARY_VISIBLE":f&&f.issueId===b&&f.version===d.version?!c||c.issueId!==b||c.issueVersion<d.version?"GENERATING":"SUMMARY_VISIBLE":"BUTTON":"HIDDEN"}),Kf({refCount:!1,bufferSize:1}))},t4a=function(a){a.issue$.pipe(Cf()).subscribe(function(b){a.generateSummaryRequested$.next(b)})};
FV.prototype.getIssueSummary=function(a,b){return this.issueApi.getIssueSummary(a.issueId,b).pipe(B(function(c){return a.version>c.issueVersion?{issueId:a.issueId,summaryType:b,issueVersion:a.version,summary:""}:c}),xf(function(c){c.status!==404&&sj("Error to get an issue summary: error: ",c);return Fe({issueId:a.issueId,summaryType:b,issueVersion:a.version,summary:""})}))};
var QKc=function(a,b){return a.issueApi.generateIssueSummary(b.issueId,"COMMENTS_LONG").pipe(xf(function(c){sj("Error to generate an issue summary: error: ",c);return Fe({issueId:b.issueId,summaryType:"COMMENTS_LONG",issueVersion:b.version,summary:""})}))};FV.prototype.trackThumbsUp=function(a,b){this.trackEvent("accept",b);GV(this,a,"THUMBS_UP")};FV.prototype.trackThumbsDown=function(a,b){this.trackEvent("reject",b);GV(this,a,"THUMBS_DOWN")};
FV.prototype.trackEvent=function(a,b){this.analytics.trackEvent("llmSummarize",a,b)};var GV=function(a,b,c){if(b.modelVersion&&b.issueVersion){a=a.issueApi;var d=b.issueId,e=b.summaryType,f=b.modelVersion,h=b.issueVersion;b=new bD;var l=b.setFeedback;c=(new d9b).setIssueId(d).setSummaryType(l7b[e]).setModelVersion(f).setIssueVersion(h).setFeedbackType(k7b[c]);c=l.call(b,c);c=(new sD).setIt(c);a.executor.post({url:"action/issues/"+d+"/submitSummaryFeedback",body:c,responseConstructor:null}).subscribe()}};
FV.\u0275fac=function(a){return new (a||FV)};FV.\u0275prov=n({token:FV,factory:FV.\u0275fac,providedIn:"root"});
var EV=function(){this.eventsForIssueFridge=r(yF)},PKc=function(a,b){return RKc(a,b).pipe(B(function(c){return!!(c&&c.commentEvents.length>=3)}),Ef())},RKc=function(a,b){return a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}).pipe(B(function(c){if(!c)return{commentEvents:[]};c=c.events;return{commentEvents:[].concat(w(c.slice(0,1).filter(function(d){var e;return(e=d.unlinkifiedComment)==null?void 0:e.trim()})),w(c.slice(1).filter(s4a).filter(function(d){var e;return(e=d.unlinkifiedComment)==
null?void 0:e.trim()})))}}))};EV.\u0275fac=function(a){return new (a||EV)};EV.\u0275prov=n({token:EV,factory:EV.\u0275fac,providedIn:"root"});var HV=function(){Z.apply(this,arguments);this.llmIssueSummaryService=r(FV);this.BUTTON="BUTTON";this.enableNoButton=this.llmIssueSummaryService.enableNoButton;this.stage$=this.llmIssueSummaryService.stage$};Y(HV,Z);HV.\u0275dir=Z.\u0275dir;HV.\u0275fac=function(){var a;return function(b){return(a||(a=de(HV)))(b||HV)}}();
HV.\u0275cmp=t({type:HV,selectors:[["summarize-button"]],features:[cg],decls:1,vars:1,consts:[[1,"margin-right"],["svgIcon","chat_spark_24px","color","primary"],["mat-button","","color","secondary",1,"gmat-button","small","generate-summary",3,"click"]],template:function(a,b){a&1&&D(0,w4a,2,3);a&2&&G(b.enableNoButton?0:-1)},dependencies:[$D,vD,Vy,Iw],styles:["mat-icon[_ngcontent-%COMP%]{vertical-align:bottom}\n/*# sourceMappingURL=summarize_button.css.map */"]});var IV=function(){Z.apply(this,arguments);this.preferences=r(yH);this.activeSession=r(dv);this.clearcut=r(kG);this.analytics=r(wG);this.selectedFilter=null;var a=this.activeSession.isInternalSession();xr.description=a?"Including CLs, Blunderbuss, etc.":"Including all automated comments";this.filters=SKc;this.showRecentEventsFirst=!1};Y(IV,Z);IV.\u0275dir=Z.\u0275dir;
IV.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Ye(kj),Of(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.preferences.commentFilterPreferences$.pipe(Of(this.destroyed$)).subscribe(function(b){b.commentFilter?a.selectedFilter=B4a(b.commentFilter):(a.selectedFilter=zH(a.preferences).showFullHistory?y4a:xr,a.preferences.save({commentFilterPreferences:{commentFilter:a.selectedFilter.commentFilterType}}).pipe(Of(a.destroyed$)).subscribe())})};
IV.\u0275fac=function(){var a;return function(b){return(a||(a=de(IV)))(b||IV)}}();
IV.\u0275cmp=t({type:IV,selectors:[["b-event-stream-header"]],features:[cg],decls:14,vars:4,consts:[[1,"flex-kids-x","flex-spread"],[1,"uppercase"],[1,"flex-kids-x"],["appearance","outline","subscriptSizing","dynamic",1,"filter-select"],[3,"valueChange","selectionChange","value"],[1,"filter-option",3,"value"],["mat-stroked-button","","color","primary",1,"sort-order-button",3,"click"],["matButtonIcon","",1,"sort-order-arrow","icon-xs",3,"svgIcon"],[1,"filter-option-name"],[1,"filter-option-description"]],
template:function(a,b){a&1&&(I(0,"div",0)(1,"h4",1),Q(2,"Comments"),J(),I(3,"div",2),K(4,"summarize-button"),I(5,"mat-form-field",3)(6,"mat-select",4),Xg("valueChange",function(c){Wg(b.selectedFilter,c)||(b.selectedFilter=c);return c}),M("selectionChange",function(c){c=c.value;b.preferences.save({commentFilterPreferences:{commentFilter:c.commentFilterType}}).pipe(Of(b.destroyed$)).subscribe();b.analytics.trackEvent("editIssue","click",c.commentFilterType)}),I(7,"mat-select-trigger"),Q(8),J(),tg(9,
x4a,5,3,"mat-option",5,sg),J()(),I(11,"button",6),M("click",function(){Ek("hasClickedCommentSortBtn")(!0);var c=!b.showRecentEventsFirst;bec(b.clearcut,"click_recentFirst_"+c);b.preferences.save({showRecentEventsFirst:c}).pipe(Of(b.destroyed$)).subscribe()}),K(12,"mat-icon",7),Q(13),J()()());a&2&&(C(6),Vg("value",b.selectedFilter),C(2),Tg(b.selectedFilter==null?null:b.selectedFilter.displayName),C(),ug(b.filters),C(3),F("svgIcon",b.showRecentEventsFirst?"arrow-upward":"arrow-downward"),C(),R(" ",
b.showRecentEventsFirst?"Newest first":"Oldest first"," "))},dependencies:[$D,vD,Vy,MN,$z,HV,eQ,mQ,nQ,My],styles:[".gmat-mdc-button.mat-mdc-outlined-button.sort-order-button[_ngcontent-%COMP%]{height:24px;line-height:24px;padding-left:6px;padding-right:10px}.sort-order-arrow[_ngcontent-%COMP%]{--mat-outlined-button-icon-spacing:4px;--mat-outlined-button-icon-offset:0;height:16px;width:16px;line-height:16px}[_nghost-%COMP%]     .filter-select{max-width:175px;margin-right:8px}[_nghost-%COMP%]     .filter-select .mat-mdc-form-field{min-width:70px}[_nghost-%COMP%]     .mat-mdc-form-field-flex .mat-mdc-form-field-infix{min-height:auto;border-top-width:8px;padding:0}[_nghost-%COMP%]     mat-select-trigger{color:#1967d2;color:var(--primary-c700);font-size:.875rem;letter-spacing:.0107142857em;font-family:Google Sans,Roboto,Arial,sans-serif;font-weight:500}[_nghost-%COMP%]     .mat-mdc-select-arrow{color:#1967d2;color:var(--primary-c700)}  .mat-mdc-select-panel .mat-mdc-option.filter-option{height:48px}.filter-option[_ngcontent-%COMP%]   .filter-option-name[_ngcontent-%COMP%], [_nghost-%COMP%]     .mat-mdc-select-value .filter-option-name{line-height:20px;font-size:.94rem}.filter-option[_ngcontent-%COMP%]   .filter-option-description[_ngcontent-%COMP%], [_nghost-%COMP%]     .mat-mdc-select-value .filter-option-description{line-height:20px;color:#5f6368;color:var(--text-muted);font-size:.8125rem}  .mat-mdc-select-panel .mat-mdc-option.filter-option.mat-mdc-option-active{background-color:#e8f0fe;background-color:var(--selected-bg-muted)}  .mat-mdc-select-panel .mat-mdc-option.filter-option.mat-mdc-option-active .filter-option-name{color:#174ea6;color:var(--primary-c900)}  .mat-mdc-select-panel .mat-mdc-option.filter-option.mat-mdc-option-active .filter-option-description,   .mat-mdc-select-panel .mat-mdc-option.filter-option.mat-mdc-option-active .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked:after{color:#185abc;color:var(--primary-high-contrast)}"]});
var y4a={name:"Full history",description:"Including everything with audit trail",displayName:"Full history",commentFilterType:"FULL_HISTORY"},xr={name:"All comments and updates",description:"Including CLs, Blunderbuss, etc.",displayName:"All comments",commentFilterType:"ALL_COMMENTS"},z4a={name:"Users' comments",description:"All human generated comments",displayName:"Users",commentFilterType:"HUMAN_ONLY"},A4a={name:"Team and assignee comments",description:"Issue's owning team and assignee",displayName:"Team and assignee",
commentFilterType:"TEAM_AND_ASSIGNEE"},SKc=[y4a,xr,z4a,A4a];var TKc=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],UKc=new Bd("MAT_CARD_CONFIG"),VKc=function(){var a;this.appearance=((a=r(UKc,{optional:!0}))==null?void 0:a.appearance)||"raised"};VKc.\u0275fac=function(a){return new (a||VKc)};
VKc.\u0275cmp=t({type:VKc,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(a,b){a&2&&ng("mat-mdc-card-outlined",b.appearance==="outlined")("mdc-card--outlined",b.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[$g],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Dg(),Eg(0))},styles:['.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-app-surface));border-color:var(--mdc-elevated-card-container-color, var(--mat-app-surface));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-app-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-app-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-app-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-app-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-app-corner-medium));border-width:var(--mdc-outlined-card-outline-width, 1px);border-color:var(--mdc-outlined-card-outline-color, var(--mat-app-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-app-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-app-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-app-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-app-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-app-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-app-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-app-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-app-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-app-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-app-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-app-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-app-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}\n'],
encapsulation:2,changeDetection:0});var JV=function(){};JV.\u0275fac=function(a){return new (a||JV)};JV.\u0275dir=ud({type:JV,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0});var WKc=function(){this.align="start"};WKc.\u0275fac=function(a){return new (a||WKc)};
WKc.\u0275dir=ud({type:WKc,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(a,b){a&2&&ng("mat-mdc-card-actions-align-end",b.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"],standalone:!0});var KV=function(){};KV.\u0275fac=function(a){return new (a||KV)};
KV.\u0275cmp=t({type:KV,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],standalone:!0,features:[$g],ngContentSelectors:["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n      [mat-card-title], [mat-card-subtitle],\n      [matCardTitle], [matCardSubtitle]","*"],decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(a){a&1&&(Dg(TKc),Eg(0),I(1,"div",0),Eg(2,1),J(),Eg(3,2))},encapsulation:2,changeDetection:0});var LV=function(){Z.apply(this,arguments);this.issueFullFridge=r(yG);this.recommendationsApi=r(vU);this.hotlistRecommendationFridge=r(BU);this.admins=[]};Y(LV,Z);LV.\u0275dir=Z.\u0275dir;LV.prototype.ngOnInit=function(){this.url="hotlists/"+this.hotlist.hotlistId;this.admins=Si(this.hotlist.adminUsers)};
var XKc=function(a){return ve(function(b){return b.nextAddress==1?a.issueId==null?b.return():xe(b,vec(a.issueFullFridge,a.issueId,[a.hotlist.hotlistId.toString()],[]),2):xe(b,a.recommendationsApi.createUserEngagements([{parent:a.recommendationId,userEngagement:{type:"ACCEPTED"}}]),0)})};
LV.prototype.dismiss=function(){var a=this;return ve(function(b){return b.nextAddress==1?a.issueId==null?b.return():xe(b,a.recommendationsApi.createUserEngagements([{parent:a.recommendationId,userEngagement:{type:"REJECTED"}}]),2):xe(b,a.hotlistRecommendationFridge.poke(a.issueId),0)})};LV.\u0275fac=function(){var a;return function(b){return(a||(a=de(LV)))(b||LV)}}();
LV.\u0275cmp=t({type:LV,selectors:[["b-hotlist-recommendation-card"]],inputs:{hotlist:"hotlist",recommendationId:"recommendationId",issueId:"issueId"},features:[cg],decls:16,vars:3,consts:[[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body","hotlist-recommendation-card"],[1,"title"],[1,"name"],["target","_blank",3,"href"],[1,"description"],[1,"actions"],["mat-button","","color","primary",1,"medium","accept-button",3,"click"],["mat-button","","color","basic",1,"medium","dismiss-button",3,"click"]],
template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,"mat-card-header",2),Q(3," Suggested hotlist"),J(),I(4,"mat-card-content")(5,"h3",3)(6,"a",4),Q(7),J()(),I(8,"div",5)(9,"p"),Q(10),J()()(),I(11,"mat-card-actions",6)(12,"button",7),M("click",function(){return XKc(b)}),Q(13,"Accept"),J(),I(14,"button",8),M("click",function(){return b.dismiss()}),Q(15,"Dismiss"),J()()()());a&2&&(C(6),F("href",b.url,of),C(),Tg(b.hotlist.name),C(3),Tg(b.hotlist.description))},dependencies:[vD,Vy,WKc,JV,KV],styles:['.onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}.hotlist-recommendation-card[_ngcontent-%COMP%]{display:flex;width:200px;flex-direction:column;align-items:flex-start;border-radius:8px}.hotlist-recommendation-card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-family:"Google Sans",Roboto,Arial,sans-serif;font-weight:500;font-size:.875rem;line-height:1.25rem;letter-spacing:.8px;text-transform:uppercase}.hotlist-recommendation-card[_ngcontent-%COMP%]   mat-card-content[_ngcontent-%COMP%]{width:190px}.hotlist-recommendation-card[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{margin:5px 0;font-family:"Google Sans",Roboto,Arial,sans-serif;font-weight:500;font-size:1rem;line-height:1.5rem}.hotlist-recommendation-card[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);font-family:Roboto,Arial,sans-serif;font-size:.75rem;font-weight:400;letter-spacing:.025em;line-height:1rem;max-height:40px;overflow:hidden scroll}.hotlist-recommendation-card[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]{display:flex;align-items:center;margin:10px 0 0;justify-content:space-evenly;width:inherit}']});var MV=function(){this.issueFullFridge=r(yG);this.recommendationsApi=r(vU);this.ROUTES=tq;this.showHovercard=!0;this.hovercardConfig={showDelay:250,hideDelay:250,position:[eoc],triggerKey:[]}};MV.prototype.getAriaLabel=function(a){return"suggested hotlist: "+a.name};
MV.prototype.addHotlist=function(a){var b=this;return ve(function(c){return c.nextAddress==1?b.issueId==null?c.return():xe(c,vec(b.issueFullFridge,b.issueId,[a.toString()],[]),2):xe(c,b.recommendationsApi.createUserEngagements([{parent:b.recommendationId,userEngagement:{type:"ACCEPTED"}}]),0)})};MV.\u0275fac=function(a){return new (a||MV)};
MV.\u0275cmp=t({type:MV,selectors:[["b-hotlist-recommendation-chip"]],inputs:{hotlist:"hotlist",recommendationId:"recommendationId",issueId:"issueId",showHovercard:"showHovercard"},decls:1,vars:1,consts:[["card","onedevHovercard"],[1,"chip",3,"onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig"],["mat-icon-button","",1,"add-button","vertical-centered",3,"click"],["svgIcon","add"],["svgIcon","issue-status-new",1,"vertical-centered"],[1,"name"],[1,"keep-focus-ring",3,"href"],[3,
"hotlist","recommendationId","issueId"]],template:function(a,b){a&1&&D(0,C4a,11,12);a&2&&G(b.hotlist?0:-1)},dependencies:[$D,vD,Xy,bK,hK,LV],styles:["[_nghost-%COMP%]{margin-right:8px;display:inline-block;vertical-align:middle;white-space:nowrap}[_nghost-%COMP%]     mat-icon svg{width:50%}.chip[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);display:inline-flex;align-items:center;height:18px;font-size:.75rem;font-weight:normal;border-style:dashed;border-width:.5px;border-color:var(--border-color);border-radius:100px}.chip[_ngcontent-%COMP%]   .mat-mdc-icon-button[_ngcontent-%COMP%]{height:25px;width:25px;line-height:25px;--mdc-icon-button-icon-size: 24px}.chip[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit;text-decoration:none}"]});var YKc=[[["","before",""]]],F4a=function(a,b){return b.name},I4a=function(a){return{"icon-only":a}},NV=function(){var a=this;this.activeSession=r(dv);this.issueFullFridge=r(yG);this.issueInteractionsTracking=r(VL);this.errorHandler=r(jE);this.eventsForIssueFridge=r(yF);this.liveAnnouncer=r(sx);this.hotlistPickerService=r(CU);this.hotlistRecommendationFridge=r(BU);this.hotlistRecommendationsEnabled=lu(this.activeSession,"enableHotlistRecommendationUi");this.HOTKEYS=ep;this.issueId$=new If(1);this.issue$=
this.issueId$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}));this.hotlistIds$=this.issue$.pipe(Pf(function(b){a.hotlistRecommendationFridge.poke(b==null?void 0:b.issueId)}),B(function(b){var c;return(c=b==null?void 0:b.snapshot[0].hotlistId)!=null?c:[]}));this.recommendations$=this.issueId$.pipe(Nf(function(b){return a.hotlistRecommendationFridge.watch(b)}),B(function(b){return((b==null?void 0:b.recommendations)||[]).filter(function(c){return c.confidence==="VERY_HIGH"}).filter(kj).slice(0,
2)}));this.textOfHotlistBtn$=this.hotlistIds$.pipe(B(function(b){return b.length}),B(function(b){return b<=5?"Add Hotlist":""}))};NV.prototype.ngOnInit=function(){};NV.prototype.openHotlistModal=function(){var a=this;return ve(function(b){return xe(b,XHc(a.hotlistPickerService,a.issue$),0)})};
NV.prototype.onHotlistRemoved=function(a){var b=this,c,d;return ve(function(e){switch(e.nextAddress){case 1:return xe(e,Je(b.issueId$),2);case 2:return c=e.yieldResult,Vrc(b.issueInteractionsTracking,c,{label:"remove-hotlists",value:1}),we(e,3,4),xe(e,b.issueFullFridge.removeHotlists(c,[String(a)]),6);case 6:return xe(e,b.liveAnnouncer.announce("Hotlist removed successfully"),4);case 4:ye(e);b.eventsForIssueFridge.poke(c);ze(e,0);break;case 3:d=Be(e),lE(b.errorHandler,d),e.jumpTo(4)}})};
ea.Object.defineProperties(NV.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});NV.\u0275fac=function(a){return new (a||NV)};
NV.\u0275cmp=t({type:NV,selectors:[["b-issue-hotlists"]],inputs:{issueId:"issueId"},ngContentSelectors:["[before]"],decls:2,vars:3,consts:[[1,"hotlist-container","chip-container"],["mat-stroked-button","","aria-label","Add Hotlist","matTooltip","Add Hotlist",1,"small","add-hotlists-btn",3,"onHotkey","click","hotkey","ngClass"],["svgIcon","add",1,"icon-xs"],["removable","check-acl",3,"id"],["removable","check-acl",3,"removeHotlist","id"],[3,"hotlist","recommendationId","issueId"]],template:function(a,
b){a&1&&(Dg(YKc),D(0,J4a,11,12,"div",0),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.hotlistIds$))?0:-1,c)}},dependencies:[Ew,$D,rT,MV,$H,vD,Vy,Iw],styles:[".add-hotlists-btn[_ngcontent-%COMP%], button.gmat-mdc-button[_ngcontent-%COMP%]:not(.mat-mdc-icon-button).add-hotlists-btn{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text);background-color:#fff;background-color:var(--surface-default);line-height:22px;height:22px;min-width:22px;padding:0 8px;border-radius:11px}.add-hotlists-btn.icon-only[_ngcontent-%COMP%]{--mat-outlined-button-icon-spacing: 0px;--mat-outlined-button-icon-offset: 0px}.add-hotlists-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);--mat-outlined-button-icon-spacing: 2px;width:16px;height:16px;line-height:16px}.hotlist-container[_ngcontent-%COMP%]{max-height:72px;overflow-y:auto;padding-bottom:5px;align-items:center;align-self:start;display:flex;flex-wrap:wrap;gap:8px;line-height:22px}[_nghost-%COMP%]     .chip-container b-hotlist-chip, [_nghost-%COMP%]     .chip-container b-hotlist-recommendation-chip, [_nghost-%COMP%]     .chip-container .b-chip{margin-right:0}"]});var ZKc=["issueTitleEl"],$Kc=["issueTitleInputEl"],OV=function(){this.issuePermissionService=r(ZL);this.issueFullFridge=r(yG);this.bannedWordsChecker=r(hT);this.disabled=!1;this.titleChanged=new rG;this.isEditMode=!1;this.editModeWidth=0;this.isSaving=!1};OV.prototype.ngDoCheck=function(){aLc(this)};var N4a=function(a){a.isEditMode=!a.isEditMode;a.isEditMode?setTimeout(function(){return a.issueTitleInputEl.nativeElement.focus()},0):a.bannedWordsChecker.reset()};
OV.prototype.saveTitle=function(a){var b=this,c;return ve(function(d){if(d.nextAddress==1)return a&&b.isModified(a)?xe(d,b.bannedWordsChecker.check(a,b.issuePermissionService.accessLevel()==="EXTERNAL_PUBLIC",b.componentId),3):d.jumpTo(2);if(d.nextAddress!=2){c=d.yieldResult;if(!c)return b.issueTitleInputEl.nativeElement.focus(),d.return();bLc(b,a.trim());b.bannedWordsChecker.reset()}b.isEditMode=!1;aLc(b);Ce(d)})};
var bLc=function(a,b){ve(function(c){a.isSaving=!0;return xe(c,Je(uec(a.issueFullFridge,a.issueId,b)).finally(function(){a.isSaving=!1;a.titleChanged.next(b)}),0)})};OV.prototype.isModified=function(a){return a!==this.titlePlain};
var K4a=function(a,b){if(b)b.key==="Enter"?a.saveTitle(b.target.value):b.key==="Escape"||b.key==="Esc"?N4a(a):a.bannedWordsChecker.reset();else{var c;b=(c=a.issueTitleInputEl)==null?void 0:c.nativeElement.value;a.saveTitle(b)}},aLc=function(a){var b=a.editModeWidth,c,d;a.editModeWidth=(d=Number((c=a.issueTitleEl)==null?void 0:c.nativeElement.offsetWidth)+50)!=null?d:b};OV.prototype.onInputBlur=function(){this.bannedWordsChecker.showWarning()||K4a(this)};
ea.Object.defineProperties(OV.prototype,{title:{configurable:!0,enumerable:!0,set:function(a){this.titlePlain=a=a!=null?a:void 0;this.titleTruncated=jGa(a,300);this.isLongTitle=a==null?!1:a.length>=300}}});OV.\u0275fac=function(a){return new (a||OV)};
OV.\u0275cmp=t({type:OV,selectors:[["issue-title"]],viewQuery:function(a,b){a&1&&(Mg(ZKc,5),Mg($Kc,5));if(a&2){var c;Qg(c=Rg())&&(b.issueTitleEl=c.first);Qg(c=Rg())&&(b.issueTitleInputEl=c.first)}},inputs:{title:"title",componentId:"componentId",issueId:"issueId",disabled:"disabled",hasAclToEdit:"hasAclToEdit"},outputs:{titleChanged:"titleChanged"},features:[Yg([hT])],decls:5,vars:3,consts:[["issueTitleInputEl",""],["issueTitleEl",""],[1,"issue-title-container"],["subscriptSizing","dynamic",3,"width",
"banned-words-warning"],[1,"heading-m"],["mat-icon-button","","matTooltip","Edit issue title","aria-label","Edit issue title",1,"small","align-self-center",3,"disabled"],[1,"banned-words-warning","break-word"],["subscriptSizing","dynamic"],["matInput","","aria-label","Enter a new title",1,"heading-m",3,"keyup","blur","value"],["mat-icon-button","","matTooltip","Edit issue title","aria-label","Edit issue title",1,"small","align-self-center",3,"click","disabled"],["svgIcon","edit-outline",1,"icon-xxs"],
["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"]],template:function(a,b){a&1&&(I(0,"div",2),D(1,L4a,3,5,"mat-form-field",3)(2,M4a,3,2,"h3",4)(3,O4a,2,1,"button",5),J(),D(4,P4a,4,1,"p",6));a&2&&(C(),G(b.isEditMode?1:2),C(2),G(b.hasAclToEdit?3:-1),C(),G(b.bannedWordsChecker.showWarning()?4:-1))},dependencies:[$D,vD,Xy,FH,HH,MN,$z,ON,hA],styles:["[_nghost-%COMP%]{display:flex;align-items:center}h3[_ngcontent-%COMP%]{vertical-align:middle;margin-bottom:-1px;word-break:break-word}[_nghost-%COMP%]     mat-form-field{min-width:200px;max-width:100%}[_nghost-%COMP%]     mat-form-field .mat-mdc-text-field-wrapper{padding-left:0}[_nghost-%COMP%]     mat-form-field .mat-mdc-form-field-infix{min-height:initial;padding:0;height:22px}[_nghost-%COMP%]     mat-form-field .mat-mdc-form-field-infix .mat-mdc-form-field-input-control{font-size:1.125rem}[_nghost-%COMP%]     .gmat-mdc-form-field.mat-primary.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper:not(.mdc-text-field--disabled){background-color:rgba(0,0,0,0)}[_nghost-%COMP%]     .gmat-mdc-form-field.mat-primary.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--text-high-contrast)}.issue-title-container[_ngcontent-%COMP%]{display:inline-flex}mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--c700);margin-top:-2px}.banned-words-warning[_ngcontent-%COMP%]{color:#c5221f;color:var(--bad-text)}"]});var cLc={FOCUS_SYNC:"FOCUS_SYNC",REMAIN_ACTIVE:"REMAIN_ACTIVE"},dLc={DISABLED:"DISABLED",INTERNAL_SORT:"INTERNAL_SORT",EXTERNAL_SORT:"EXTERNAL_SORT"},eLc={ALL:"ALL",NONE:"NONE"},fLc="active-indicator title type team id assignee status menu".split(" "),gLc="active-indicator drag-handle title type id assignee status menu".split(" "),hLc="priority title assignee status id modifiedTime".split(" "),iLc="priority title assignee progress id modifiedTime".split(" "),jLc="active-indicator drag-handle title assignee status id menu".split(" "),
kLc={modes:{assignee:"avatar-if-open",modifiedTime:"relativepast"},rowLimit:15},lLc={modes:{assignee:"avatar-if-open"},hideColumnHeaders:!0};var PV=function(){this.JOINING_ARROW="\u2192";this.showIcon=!0};ea.Object.defineProperties(PV.prototype,{issue:{configurable:!0,enumerable:!0,set:function(a){if(a!=null){var b=lua(1049928)(a);this.startDate=Fta(b==null?void 0:b.dateValue);a=lua(1049953)(a);this.endDate=Fta(a==null?void 0:a.dateValue);this.startDateShortStr=Gta(this.startDate);this.endDateShortStr=Gta(this.endDate)}}}});PV.\u0275fac=function(a){return new (a||PV)};
PV.\u0275cmp=t({type:PV,selectors:[["issue-timeframe"]],inputs:{issue:"issue",showIcon:"showIcon"},decls:1,vars:1,consts:[[1,"flex-kids-x","align-items-center"],["svgIcon","calendar_month_24px","title","Start date and/or end date for this project",1,"icon-m","margin-xs-right"],[1,"margin-xs-right","date",3,"title"],[1,"date",3,"title"],[1,"muted"]],template:function(a,b){a&1&&D(0,U4a,5,3,"div",0);a&2&&G(b.startDate||b.endDate?0:-1)},dependencies:[$D,Lw],styles:["[_nghost-%COMP%] {\n      white-space: nowrap;\n    }\n    .date[_ngcontent-%COMP%] {\n      display: inline-block;\n    }"],
changeDetection:0});var X4a=["assigned-to-me","recent-stuff-i-follow"],mLc=["BUGANIZER","CRITIQUE","DRIVE"],nLc=["NON_WTDM","WTDM","CRITIQUE","DRIVE"],oLc={BUGANIZER:{displayName:"Buganizer",filterType:"BUGANIZER",tooltipText:"Buganizer issues of all types"},NON_WTDM:{displayName:"Bugs",filterType:"NON_WTDM",tooltipText:"Issue types including bug, feature request, customer issue, internal cleanup, process, vulnerability, and privacy issue"},WTDM:{displayName:"Tasks",filterType:"WTDM",tooltipText:"Work tracking issue types including project, milestone, feature, epic, story, and task"},
CRITIQUE:{displayName:"Critique",filterType:"CRITIQUE",tooltipText:"CLs from Critique"},DRIVE:{displayName:"Drive",filterType:"DRIVE",tooltipText:"Drive files including Google Docs, Sheets, Slides"},ARIANE:{displayName:"Launch",filterType:"ARIANE",tooltipText:"Launches and related action items"},GERRIT:{displayName:"Gerrit",filterType:"GERRIT",tooltipText:"Gerrit changes"}},pLc;
pLc={filter:"((assignee:me OR reporter:me OR modifier:me OR commenter:me OR collaborator:me) OR star:true) (parentid:any OR descendantcount>0) modified:90d",pageSize:250,sort:"modified_time:desc"};var QV=function(){this.makePie=W4a;this.total=this.closed=0;this.useXofYLabel=!1};ea.Object.defineProperties(QV.prototype,{issue:{configurable:!0,enumerable:!0,set:function(a){a!=null&&(this.total=a.descendantCount,this.closed=this.total-a.openDescendantCount)}}});QV.\u0275fac=function(a){return new (a||QV)};
QV.\u0275cmp=t({type:QV,selectors:[["progress-pie"]],inputs:{issue:"issue",closed:"closed",total:"total"},decls:1,vars:1,consts:[[1,"flex-kids-x","align-items-center",3,"title"],[1,"flex-kids-x","align-items-center",3,"click","title"],[1,"pie","margin-s-right"]],template:function(a,b){a&1&&D(0,c5a,7,14,"div",0);a&2&&G(b.total>0?0:-1)},dependencies:[Ow],encapsulation:2,changeDetection:0});var qLc=Jk().user.email,Dr={ASSIGNED_TO_ME:{key:"ASSIGNED_TO_ME",displayAs:"Assigned to me",check:function(a){var b,c=(b=a.snapshot[0].assigneeUser)==null?void 0:b.emailAddress;return c?c===qLc&&al(a):!1},queryFragment:"assignee:me status:open",tooltip:"Open issues with me as the assignee"},OPEN:{key:"OPEN",displayAs:"Open",check:function(a){return al(a)},queryFragment:"status:open",tooltip:'Issues that match "status:open"'},FIXED:{key:"FIXED",displayAs:"Fixed",check:Uta,queryFragment:"status:fixed"},
BROAD_IN_PROGRESS:{key:"BROAD_IN_PROGRESS",displayAs:"Assigned",check:function(a){return Tta(a,"ASSIGNED")||Tta(a,"ACCEPTED")},queryFragment:"status:(assigned | accepted)",tooltip:"Issues that are either in progress or assigned to someone"},NEWLY_FILED:{key:"NEWLY_FILED",displayAs:"Newly filed",check:function(a){var b=b===void 0?6048E5:b;var c=Date.now(),d,e,f=((e=(d=a.aggregatedData)==null?void 0:d.createdTimeMicros)!=null?e:0)/1E3;return c-f<b&&!(a.version>0)&&al(a)},queryFragment:"created:7d commentcount<2 status:open",
tooltip:"Open issues created in the last seven days that have not been modified"},RECENTLY_ACTIVE:{key:"RECENTLY_ACTIVE",displayAs:"Recently active",check:function(a){var b=b===void 0?6048E5:b;var c=Date.now(),d,e=((d=a.majorModifiedTimeMicros)!=null?d:0)/1E3;return c-e<b&&a.version>0&&al(a)},queryFragment:"modified:7d commentcount>1 status:open",tooltip:'Open issues with edits or comments in the last seven days (excluding "creation")'},HIGH_PRIORITY:{key:"HIGH_PRIORITY",displayAs:"High Priority",
check:function(a){var b=["P0","P1"];b=b===void 0?[]:b;return b.includes(eua(a))&&al(a)},queryFragment:"priority:(p0 | p1) status:open",tooltip:"Open issues that are P0 or P1"},TRENDING:{key:"TRENDING",displayAs:"Trending",check:function(a,b,c){return pua(b,c)},queryFragment:'(no server query available for "is trending")',tooltip:"Issues with unusually high view activity"},PROGRESS:{key:"PROGRESS",displayAs:"Progress",check:function(a){return a.descendantCount>0},queryFragment:"descendantcount>0",
tooltip:"Issues with child subtasks"}};var rLc=ni("indicator",[qi("active-asc, asc",pi({transform:"translateY(0px)"})),qi("active-desc, desc",pi({transform:"translateY(10px)"})),si("active-asc <=> active-desc",oi("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),sLc=ni("leftPointer",[qi("active-asc, asc",pi({transform:"rotate(-45deg)"})),qi("active-desc, desc",pi({transform:"rotate(45deg)"})),si("active-asc <=> active-desc",oi("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),tLc=ni("rightPointer",[qi("active-asc, asc",pi({transform:"rotate(45deg)"})),qi("active-desc, desc",
pi({transform:"rotate(-45deg)"})),si("active-asc <=> active-desc",oi("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),uLc=ni("arrowOpacity",[qi("desc-to-active, asc-to-active, active",pi({opacity:1})),qi("desc-to-hint, asc-to-hint, hint",pi({opacity:.54})),qi("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",pi({opacity:0})),si("* => asc, * => desc, * => active, * => hint, * => void",oi("0ms")),si("* <=> *",oi("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),vLc=ni("arrowPosition",[si("* => desc-to-hint, * => desc-to-active",
oi("225ms cubic-bezier(0.4,0.0,0.2,1)",ri([pi({transform:"translateY(-25%)"}),pi({transform:"translateY(0)"})]))),si("* => hint-to-desc, * => active-to-desc",oi("225ms cubic-bezier(0.4,0.0,0.2,1)",ri([pi({transform:"translateY(0)"}),pi({transform:"translateY(25%)"})]))),si("* => asc-to-hint, * => asc-to-active",oi("225ms cubic-bezier(0.4,0.0,0.2,1)",ri([pi({transform:"translateY(25%)"}),pi({transform:"translateY(0)"})]))),si("* => hint-to-asc, * => active-to-asc",oi("225ms cubic-bezier(0.4,0.0,0.2,1)",
ri([pi({transform:"translateY(0)"}),pi({transform:"translateY(-25%)"})]))),qi("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",pi({transform:"translateY(0)"})),qi("hint-to-desc, active-to-desc, desc",pi({transform:"translateY(-25%)"})),qi("hint-to-asc, active-to-asc, asc",pi({transform:"translateY(25%)"}))]),wLc=ni("allowChildren",[si("* <=> *",[lqa()])]);var RV=function(){this.changes=new Jf};RV.\u0275fac=function(a){return new (a||RV)};RV.\u0275prov=n({token:RV,factory:RV.\u0275fac,providedIn:"root"});var xLc={provide:RV,deps:[[new Wv,new Xv,RV]],useFactory:function(a){return a||new RV}};var yLc=new Bd("MAT_SORT_DEFAULT_OPTIONS"),SV=function(a){this._defaultOptions=a;this._initializedStream=new If(1);this.sortables=new Map;this._stateChanges=new Jf;this.start="asc";this._direction="";this.disabled=!1;this.sortChange=new kw;this.initialized=this._initializedStream};g=SV.prototype;g.register=function(a){this.sortables.set(a.id,a)};g.deregister=function(a){this.sortables.delete(a.id)};
g.sort=function(a){if(this.active!=a.id)this.active=a.id,this.direction=a.start?a.start:this.start;else{if(a){var b,c,d,e=(d=(c=a==null?void 0:a.disableClear)!=null?c:this.disableClear)!=null?d:!((b=this._defaultOptions)==null||!b.disableClear);b=["asc","desc"];(a.start||this.start)=="desc"&&b.reverse();e||b.push("");a=b.indexOf(this.direction)+1;a>=b.length&&(a=0);a=b[a]}else a="";this.direction=a}this.sortChange.emit({active:this.active,direction:this.direction})};g.ngOnInit=function(){this._initializedStream.next()};
g.ngOnChanges=function(){this._stateChanges.next()};g.ngOnDestroy=function(){this._stateChanges.complete();this._initializedStream.complete()};ea.Object.defineProperties(SV.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return this._direction},set:function(a){this._direction=a}}});SV.\u0275fac=function(a){return new (a||SV)(af(yLc,8))};
SV.\u0275dir=ud({type:SV,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",rh],disabled:[2,"matSortDisabled","disabled",rh]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],standalone:!0,features:[dg,Hd]});var TV=function(){this._intl=r(RV);this._changeDetectorRef=r(rw);this._sort=r(SV,{optional:!0});this._columnDef=r("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0});this._focusMonitor=r(ax);this._elementRef=r(ge);this._ariaDescriber=r(ux,{optional:!0});this._showIndicatorHint=!1;this._viewState={};this._arrowDirection="";this._disableViewStateAnimation=!1;this.arrowPosition="after";this.disabled=!1;this._sortActionDescription="Sort";r(Yw).load(Fy);var a=r(yLc,{optional:!0});if(a==null?0:a.arrowPosition)this.arrowPosition=
a==null?void 0:a.arrowPosition;this._handleStateChanges()};g=TV.prototype;g.ngOnInit=function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name);this._updateArrowDirection();this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection});this._sort.register(this);this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container");this._updateSortActionDescription(this._sortActionDescription)};
g.ngAfterViewInit=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b=!!b;b!==a._showIndicatorHint&&(a._setIndicatorHintVisible(b),a._changeDetectorRef.markForCheck())})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._sort.deregister(this);this._rerenderSubscription.unsubscribe();if(this._sortButton){var a;(a=this._ariaDescriber)==null||wx(a,this._sortButton,this._sortActionDescription)}};
g._setIndicatorHintVisible=function(a){this._isDisabled()&&a||(this._showIndicatorHint=a,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))};g._setAnimationTransitionState=function(a){this._viewState=a||{};this._disableViewStateAnimation&&(this._viewState={toState:a.toState})};
g._toggleOnInteraction=function(){this._sort.sort(this);if(this._viewState.toState==="hint"||this._viewState.toState==="active")this._disableViewStateAnimation=!0};g._handleClick=function(){this._isDisabled()||this._sort.sort(this)};g._handleKeydown=function(a){this._isDisabled()||a.keyCode!==32&&a.keyCode!==13||(a.preventDefault(),this._toggleOnInteraction())};g._isSorted=function(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")};
g._getArrowDirectionState=function(){return(this._isSorted()?"active-":"")+this._arrowDirection};g._getArrowViewState=function(){var a=this._viewState.fromState;return(a?a+"-to-":"")+this._viewState.toState};g._updateArrowDirection=function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start};g._isDisabled=function(){return this._sort.disabled||this.disabled};
g._getAriaSortAttribute=function(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"};g._renderArrow=function(){return!this._isDisabled()||this._isSorted()};g._updateSortActionDescription=function(a){if(this._sortButton){var b;(b=this._ariaDescriber)==null||wx(b,this._sortButton,this._sortActionDescription);var c;(c=this._ariaDescriber)==null||vx(c,this._sortButton,a)}this._sortActionDescription=a};
g._handleStateChanges=function(){var a=this;this._rerenderSubscription=Xe(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(function(){if(a._isSorted()){a._updateArrowDirection();if(a._viewState.toState==="hint"||a._viewState.toState==="active")a._disableViewStateAnimation=!0;a._setAnimationTransitionState({fromState:a._arrowDirection,toState:"active"});a._showIndicatorHint=!1}!a._isSorted()&&a._viewState&&a._viewState.toState==="active"&&(a._disableViewStateAnimation=!1,
a._setAnimationTransitionState({fromState:"active",toState:a._arrowDirection}));a._changeDetectorRef.markForCheck()})};ea.Object.defineProperties(TV.prototype,{sortActionDescription:{configurable:!0,enumerable:!0,get:function(){return this._sortActionDescription},set:function(a){this._updateSortActionDescription(a)}}});TV.\u0275fac=function(a){return new (a||TV)};
TV.\u0275cmp=t({type:TV,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(a,b){a&1&&M("click",function(){return b._handleClick()})("keydown",function(c){return b._handleKeydown(c)})("mouseenter",function(){return b._setIndicatorHintVisible(!0)})("mouseleave",function(){return b._setIndicatorHintVisible(!1)});a&2&&(eg("aria-sort",b._getAriaSortAttribute()),ng("mat-sort-header-disabled",b._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",
start:"start",disabled:[2,"disabled","disabled",rh],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",rh]},exportAs:["matSortHeader"],standalone:!0,features:[dg,$g],attrs:["mat-sort-header",""],ngContentSelectors:["*"],decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],
[1,"mat-sort-header-pointer-middle"]],template:function(a,b){a&1&&(Dg(),I(0,"div",0)(1,"div",1),Eg(2),J(),D(3,f5a,6,6,"div",2),J());a&2&&(ng("mat-sort-header-sorted",b._isSorted())("mat-sort-header-position-before",b.arrowPosition==="before"),eg("tabindex",b._isDisabled()?null:0)("role",b._isDisabled()?null:"button"),C(3),G(b._renderArrow()?3:-1))},styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;color:var(--mat-sort-arrow-color, var(--mat-app-on-surface));opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}@media(forced-colors: active){.mat-sort-header-stem{width:0;border-left:solid 2px}}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}@media(forced-colors: active){.mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}@media(forced-colors: active){.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],
encapsulation:2,data:{animation:[rLc,sLc,tLc,uLc,vLc,wLc]},changeDetection:0});var zLc={menu:{includeGoToIssueItem:!0},sortMode:"INTERNAL_SORT",activeRowMode:"FOCUS_SYNC"},UV=function(){Z.apply(this,arguments);var a=this;this.issueFridge=r(OF);this.router=r(HE);this.domSafe=r(mM);this.isOpen=function(b){return al(b)};this.isClosed=Sta;this.isUnread=Vta;this.getAssigneeString=function(b){var c,d;b=Ui(b==null?void 0:(c=b.snapshot)==null?void 0:(d=c[0])==null?void 0:d.assigneeUser);return Pk(b)?b:void 0};this.getPriority=B6a;this.getModifiedTimeMicros=C6a;this.userToString=Ui;
this.toMatSortDirection=Pra;this.ClickTargetsForNavigation=eLc;this.SortMode=dLc;this.ActiveRowMode=cLc;this.issueIds$=new bo([]);this.menuItemFactory=function(){return[]};this.showReadStatus=!1;this.alerts=[];this.optionsInternal=zLc;this.activeIssueChange=new rG;this.rowClick=new rG;this.sortChange=new rG;this.rowLimit$=new bo(this.options.rowLimit);this.DEFAULT_DATETIME_MODE="datetime";this.DEFAULT_MENU_OPTIONS={buttonIcon:"more-settings-vertical",buttonLabel:"More options"};this.internalFilters=
new KB;this.goToIssueItemFactory=function(b){return{type:"action",label:"Go to issue",action:function(c){a.navigateToIssue(c,b)},title:"Go to issue",icon:"arrow-forward"}};this.tableColumns=[].concat(w(fLc));this.activeSort$=new bo(void 0);this.allRows$=this.issueIds$.pipe(Yo(),B(function(b){return b.map(function(c){return{id:c,issue$:Xe(a.issueFridge.watch(c),a.issueFridge.watchOneError(c).pipe(B(function(){})))}})}),Kf({refCount:!0,bufferSize:1}));this.allIssuesAreLoaded$=this.allRows$.pipe(Nf(function(b){return Me(b.map(function(c){return c.issue$.pipe(Mf(null))}))}),
B(function(b){return b.every(function(c){return c!==null})}));this.unarchivedRows$=this.allRows$.pipe(yf(this.allIssuesAreLoaded$),B(function(b){var c=k(b);b=c.next().value;return c.next().value?b.filter(function(d){var e;return!((e=cl(d))==null?0:e.isArchived)}):b}));this.unarchivedRows$.pipe(B(function(b){return b.length}));this.sortRows=qe(yf(this.activeSort$,this.allIssuesAreLoaded$),B(function(b){var c=k(b);b=c.next().value;var d=c.next().value;return c.next().value&&a.options.sortMode==="INTERNAL_SORT"?
D6a(b,d):b}));this.filterRows=qe(yf(this.internalFilters.value$),Nf(function(b){b=k(b);var c=b.next().value;var d=b.next().value;return d.size===0?Fe(c):Me(c.map(function(e){return e.issue$})).pipe(B(function(e){return c.filter(function(f,h){return e[h]?d5a(d,h,e):!0})}))}));this.limitRows=qe(yf(this.rowLimit$),B(function(b){var c=k(b);b=c.next().value;return(c=c.next().value)?b.slice(0,c):b}));this.filteredRows$=this.unarchivedRows$.pipe(this.filterRows);this.trendingChipsById$=Wo(this.unarchivedRows$.pipe(yf(this.allIssuesAreLoaded$.pipe(Ef())),
B(function(b){var c=k(b);b=c.next().value;if(c.next().value){c=b.map(cl).map(function(l){return l==null?void 0:l.userActivityStats});var d=c.map(function(l){var q;return(q=l==null?void 0:l.oneDayViewCount)!=null?q:0}),e=c.map(function(l){var q;return(q=l==null?void 0:l.sevenDayViewCount)!=null?q:0}),f=c.map(function(l){var q;return(q=l==null?void 0:l.thirtyDayViewCount)!=null?q:0}),h={};b.forEach(function(l,q){l=l.id;l!=null&&(q=Wk(d[q],d)?{title:"Trending 24h",tooltip:d[q]+" Views in 24 hours",cssClass:"cyan"}:
Wk(e[q],e)?{title:"Trending 7d",tooltip:e[q]+" Views in 7 days",cssClass:"purple"}:Wk(f[q],f)?{title:"Trending 30d",tooltip:f[q]+" Views in the last 30 days",cssClass:"blue"}:void 0,q&&(h[l]=q))});return h}})));this.rows$=this.filteredRows$.pipe(this.limitRows,this.sortRows);this.rowCountAfterFilters$=this.unarchivedRows$.pipe(this.filterRows,B(function(b){return b.length}));this.hiddenRowCount$=Me([this.unarchivedRows$,this.rows$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;
return b.length-c.length}),Ef());this.trackBy=function(b,c){return c.id};this.correctedDisplayedRows=new Lg;this.correctedRows$=Re(function(){return Me([a.rows$,a.displayedRows.changes.pipe(Mf(void 0))])}).pipe(Af(0),B(function(b){b=k(b).next().value;var c=new Map(a.displayedRows.map(function(d){return[d.row.id,d]}));return b.map(function(d){return c.get(d.id)}).filter(kj)}))};Y(UV,Z);UV.\u0275dir=Z.\u0275dir;
UV.prototype.getMenuItems=function(a){var b=[],c;((c=this.options.menu)==null?0:c.includeGoToIssueItem)&&b.push(this.goToIssueItemFactory(a));b.push.apply(b,w(this.menuItemFactory(a)));return b};UV.prototype.ngOnInit=function(){this.initialSort&&this.activeSort$.next(this.initialSort)};
UV.prototype.ngAfterViewInit=function(){var a=this;this.correctedRows$.pipe(Of(this.destroyed$)).subscribe(function(b){a.correctedDisplayedRows.reset(b);Pg(a.correctedDisplayedRows);var c;((c=a.focusManager)==null?0:c.activeItem)&&Fx(a.focusManager,a.focusManager.activeItem)});this.focusManager=Ex(new nzc(this.correctedDisplayedRows,A6a));this.focusManager.change.pipe(Of(this.destroyed$)).subscribe(function(){var b,c,d,e=(b=a.focusManager)==null?void 0:(c=b.activeItem)==null?void 0:(d=c.row)==null?
void 0:d.id;e&&a.activeIssueChange.emit(e)})};var r6a=function(a,b,c){var d;(d=a.focusManager)==null||d.setActiveItem(c);var e;a.rowClick.emit((e=c.row)==null?void 0:e.id);var f;d=(f=a.options.navigationOptions)==null?void 0:f.clickTargets;switch(d){case void 0:case "ALL":var h;a.navigateToIssue(b,(h=c.row)==null?void 0:h.id);break;case "NONE":break;default:xb(d)}};
UV.prototype.navigateToIssue=function(a,b){if(b&&!a.defaultPrevented&&!(a.type==="mouseup"&&a instanceof MouseEvent&&a.button!==1)&&a.target.tagName!=="A"){b=this.getIssueUrl(b);var c;((c=this.options.navigationOptions)==null?0:c.alwaysOpenNewTab)||zm(a)?this.domSafe.openInNewTab(b):a&&a.shiftKey?Dq(this.domSafe,b):Vt(this.router,b)}};UV.prototype.onRowKeydown=function(a,b){var c;(c=this.focusManager)==null||c.onKeydown(b)};
UV.prototype.onSortChange=function(a){var b=a.direction;b=b!==""?b==="asc"?"ASCENDING":"DESCENDING":void 0;a=b&&a.active?{column:a.active,direction:b}:void 0;this.activeSort$.next(a);this.sortChange.emit(a)};UV.prototype.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):tq.viewIssue.makeHref(a)};
ea.Object.defineProperties(UV.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(a!=null?a:[])}},options:{configurable:!0,enumerable:!0,set:function(a){this.optionsInternal=Object.assign({},zLc,a);this.rowLimit$.next(a.rowLimit)},get:function(){return this.optionsInternal}},filters:{configurable:!0,enumerable:!0,set:function(a){this.internalFilters.reset(a!=null?a:[])}}});UV.\u0275fac=function(){var a;return function(b){return(a||(a=de(UV)))(b||UV)}}();
UV.\u0275cmp=t({type:UV,selectors:[["b-issues-table"]],viewQuery:function(a,b){a&1&&Mg(bQ,5);if(a&2){var c;Qg(c=Rg())&&(b.displayedRows=c)}},inputs:{issueIds:"issueIds",menuItemFactory:"menuItemFactory",initialSort:"initialSort",teamId:"teamId",showReadStatus:"showReadStatus",alerts:"alerts",options:"options",issueUrlFactory:"issueUrlFactory",filters:"filters",tableColumns:"tableColumns"},outputs:{activeIssueChange:"activeIssueChange",rowClick:"rowClick",sortChange:"sortChange"},features:[cg],decls:69,
vars:14,consts:[["directive","tableRowDirective"],["mat-table","","recycleRows","","matSort","",1,"full-width",3,"matSortChange","dataSource","trackBy","matSortDisabled","matSortActive","matSortDirection"],["matColumnDef","active-indicator"],["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["matColumnDef","type"],["mat-header-cell","","mat-sort-header","type",4,"matHeaderCellDef"],
["matColumnDef","assignee"],["mat-header-cell","","mat-sort-header","assignee",4,"matHeaderCellDef"],["matColumnDef","reporter"],["mat-header-cell","","mat-sort-header","reporter",4,"matHeaderCellDef"],["matColumnDef","priority"],["mat-header-cell","","mat-sort-header","priority","title","Priority",4,"matHeaderCellDef"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","status",4,"matHeaderCellDef"],["matColumnDef","team"],["matColumnDef","dupeCount"],["matColumnDef","voteCount"],
["matColumnDef","7dViews"],["matColumnDef","createdTime"],["mat-header-cell","","mat-sort-header","createdTime","start","desc",4,"matHeaderCellDef"],["matColumnDef","modifiedTime"],["mat-header-cell","","mat-sort-header","modifiedTime","start","desc",4,"matHeaderCellDef"],["matColumnDef","relativeModifiedTime"],["mat-header-cell","","mat-sort-header","relativeModifiedTime","start","desc","class","nowrap",4,"matHeaderCellDef"],["mat-cell","","class","nowrap",4,"matCellDef"],["matColumnDef","triager"],
["mat-header-cell","","mat-sort-header","triager","start","desc","class","nowrap",4,"matHeaderCellDef"],["matColumnDef","alerts"],["matColumnDef","timeframe"],["mat-header-cell","","mat-sort-header","timeframe","title","Timeframe is populated by the 'Start Date' and 'End Date' fields",4,"matHeaderCellDef"],["matColumnDef","progress"],["mat-header-cell","","mat-sort-header","progress","start","desc",4,"matHeaderCellDef"],["matColumnDef","menu"],["matColumnDef","componentName"],["mat-header-row","",
4,"matHeaderRowDef"],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","closed","active","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns"],[1,"muted","margin-s-top","flex-kids-x","align-items-center"],["mat-header-cell",""],["tabindex","-1","mat-cell",""],["mat-cell",""],[3,"id"],[3,"issue","issueUrlFactory","enableHovercard","useButtonToNavigate","trailingChip","anchorTarget"],["mat-header-cell","","mat-sort-header","type"],[3,"issue"],["mat-header-cell",
"","mat-sort-header","assignee"],["size","medium",3,"email"],["mat-header-cell","","mat-sort-header","reporter"],"mat-header-cell  mat-sort-header priority title Priority".split(" "),[3,"issuePriority"],["mat-header-cell","","mat-sort-header","status"],[3,"title"],"mat-header-cell  mat-sort-header createdTime start desc".split(" "),[3,"issue","mode"],"mat-header-cell  mat-sort-header modifiedTime start desc".split(" "),[3,"timestamp","mode","paddingLeftPx"],["mat-header-cell","","mat-sort-header",
"relativeModifiedTime","start","desc",1,"nowrap"],["mat-cell","",1,"nowrap"],["mat-header-cell","","mat-sort-header","triager","start","desc",1,"nowrap"],[3,"alerts","issue"],"mat-header-cell;;mat-sort-header;timeframe;title;Timeframe is populated by the 'Start Date' and 'End Date' fields".split(";"),[3,"issue","showIcon"],"mat-header-cell  mat-sort-header progress start desc".split(" "),[3,"click","buttonLabel","buttonIcon","menuItems"],["mat-header-row",""],["mat-row","","selectionPreventsClick",
"",1,"clickable",3,"click","mouseup","focusin","keydown","row"],[1,"link-button"],[1,"link-button",3,"click"]],template:function(a,b){a&1&&(I(0,"table",1),S(1,"async"),S(2,"async"),M("matSortChange",function(e){return b.onSortChange(e)}),vg(3,2),D(4,g5a,1,0,"th",3)(5,h5a,1,0,"td",4),wg(),vg(6,5),D(7,i5a,2,0,"th",3)(8,j5a,2,1,"td",6),wg(),vg(9,7),D(10,k5a,2,0,"th",3)(11,l5a,4,12,"td",6),wg(),vg(12,8),D(13,m5a,2,0,"th",9)(14,n5a,3,3,"td",6),wg(),vg(15,10),D(16,q5a,3,1,"th",11)(17,w5a,3,1,"td",6),wg(),
vg(18,12),D(19,x5a,2,0,"th",13)(20,y5a,3,3,"td",6),wg(),vg(21,14),D(22,z5a,2,0,"th",15)(23,A5a,2,1,"td",6),wg(),vg(24,16),D(25,B5a,2,0,"th",17)(26,C5a,3,3,"td",6),wg(),vg(27,18),D(28,D5a,2,0,"th",3)(29,E5a,3,3,"td",6),wg(),vg(30,19),D(31,F5a,2,0,"th",3)(32,I5a,3,3,"td",6),wg(),vg(33,20),D(34,J5a,2,0,"th",3)(35,M5a,3,3,"td",6),wg(),vg(36,21),D(37,N5a,2,0,"th",3)(38,Q5a,3,3,"td",6),wg(),vg(39,22),D(40,R5a,2,0,"th",23)(41,S5a,3,4,"td",6),wg(),vg(42,24),D(43,T5a,2,0,"th",25)(44,W5a,3,1,"td",6),wg(),vg(45,
26),D(46,X5a,2,0,"th",27)(47,$5a,3,1,"td",28),wg(),vg(48,29),D(49,a6a,2,0,"th",30)(50,d6a,3,3,"td",28),wg(),vg(51,31),D(52,e6a,2,0,"th",3)(53,h6a,3,3,"td",28),wg(),vg(54,32),D(55,i6a,2,0,"th",33)(56,j6a,3,4,"td",6),wg(),vg(57,34),D(58,k6a,2,0,"th",35)(59,l6a,3,3,"td",6),wg(),vg(60,36),D(61,m6a,1,0,"th",3)(62,n6a,2,3,"td",6),wg(),vg(63,37),D(64,o6a,2,0,"th",3)(65,p6a,3,3,"td",6),wg(),D(66,q6a,1,0,"tr",38)(67,s6a,3,7,"tr",39),J(),D(68,z6a,3,3,"div",40));if(a&2){var c,d;ng("hide-header",b.options.hideColumnHeaders);
F("dataSource",b.rows$)("trackBy",b.trackBy)("matSortDisabled",b.options.sortMode===b.SortMode.DISABLED)("matSortActive",(c=(c=U(1,10,b.activeSort$))==null?null:c.column)!==null&&c!==void 0?c:"")("matSortDirection",b.toMatSortDirection((d=U(2,12,b.activeSort$))==null?null:d.direction));C(66);F("matHeaderRowDef",b.tableColumns);C();F("matRowDefColumns",b.tableColumns);C();G(b.options.rowLimit?68:-1)}},dependencies:[SV,TV,fQ,bR,aR,OQ,UQ,QQ,NQ,WQ,RQ,TQ,XQ,ZQ,QV,PV,UU,gR,fR,QR,iP,oP,RR,rP,hR,YP,iR,jR,
OI,bQ,wM,pP,VM,Iw],styles:[".mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:32px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%], th.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-mdc-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0px}.mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0px}.mat-mdc-row[_ngcontent-%COMP%]:last-of-type   .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-mdc-row[_ngcontent-%COMP%]   .mat-column-active-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-mdc-row[_ngcontent-%COMP%]:focus-within   .mat-column-active-indicator[_ngcontent-%COMP%], tr.mat-mdc-row.active[_ngcontent-%COMP%]   .mat-column-active-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}[_nghost-%COMP%]     .hide-header thead{display:none}tr.closed[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--row-fixed-bg)}tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#1a73e8;color:var(--link)}"],
changeDetection:0});var VV=function(){Z.call(this);var a=this;this.issueFullFridge=r(yG);this.eventsForIssueFridge=r(yF);this.snackBar=r(gE);this.analytics=r(wG);this.hostElement=r(ge);this.appEvents=r(nE);this.issueDetailsBrain=r(XL);this.trackerHelpers=r(yL);this.similarIssueIds$=new If(1);this.limit=3;this.isLoading=!0;this.issueIds$=this.similarIssueIds$.pipe(B(function(b){return b.slice(0,a.limit)}),Pf(function(b){a.mostRecentIssueIds=b;setTimeout(function(){a.isLoading=!1})}));this.mostRecentIssueIds=[];this.tableColumns=
["title","dupeCount","voteCount","createdTime","menu"];this.tableOptions={modes:{createdTime:"date"},enableIssueHovercard:!0,menu:{includeGoToIssueItem:!1}};this.menuItemFactory=function(b){return[{type:"action",label:"Close current issue as duplicate of this row",action:function(){ALc(a,b)}}]};this.component$=this.issueDetailsBrain.component$;this.gotErr=function(b){a.snackBar.open({message:Kn(b)||"Error with network request",snackbarType:"ERROR"})};this.subscriptions.add(this.appEvents.didShowIssueHovercard.subscribe(function(b){if(a.mostRecentIssueIds.includes(b)){var c;
(c=a.analytics)==null||c.trackEvent("similar-issues-idp","hovercard")}}))};Y(VV,Z);VV.\u0275dir=Z.\u0275dir;VV.prototype.ngOnInit=function(){this.hostElement.nativeElement.addEventListener("click",this.captureAnyClick,!0)};VV.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.hostElement.nativeElement.removeEventListener("click",this.captureAnyClick,!0)};
var ALc=function(a,b){var c=String(a.issueIdInternal);c&&wec(a.issueFullFridge,b,c).then(function(){BLc(a,b);BLc(a,c);a.snackBar.open({message:"Issue closed as duplicate",actionLabel:"Undo"}).afterDismissed().subscribe(function(f){f.dismissedByAction&&CLc(a,b,c)});a.analytics.trackEvent("similar-issues-idp","closeAsDuplicate","fromSummaryWidget");var d,e=(d=Xo(a.component$))==null?void 0:d.componentPathInfo;d=Nu(a.trackerHelpers,e);e="";d&&d.componentPathName&&(e=d.componentPathName[0].toString().trim());
a.analytics.trackEvent("similar-issues-idp-by-component","closeAsDuplicate","fromSummaryWidget,"+e)}).catch(a.gotErr)},CLc=function(a,b,c){a.issueFullFridge.removeDuplicate(b,c).then(function(){BLc(a,b);BLc(a,c);a.snackBar.open({message:"Un-marked issue as duplicate"})}).catch(a.gotErr);a.analytics.trackEvent("similar-issues-idp","undoCloseAsDuplicate","fromSummaryWidget")},BLc=function(a,b){a.issueFullFridge.poke(b);a.eventsForIssueFridge.poke(b)};
VV.prototype.captureAnyClick=function(){var a;(a=this.analytics)==null||a.trackEvent("similar-issues-idp","any-click")};ea.Object.defineProperties(VV.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueIdInternal=Number(a)}},similarIssueIds:{configurable:!0,enumerable:!0,set:function(a){this.similarIssueIds$.next(a.map(function(b){return String(b)}))},get:function(){throw Error("of");}}});VV.\u0275fac=function(a){return new (a||VV)};
VV.\u0275cmp=t({type:VV,selectors:[["suggested-similar-issues"]],inputs:{issueId:"issueId",similarIssueIds:"similarIssueIds",limit:"limit"},features:[cg],decls:3,vars:9,consts:[[3,"issueIds","tableColumns","options","menuItemFactory"]],template:function(a,b){a&1&&(K(0,"b-issues-table",0),S(1,"async"),D(2,E6a,2,0,"div"));a&2&&(ng("hidden",b.isLoading),F("issueIds",U(1,7,b.issueIds$))("tableColumns",b.tableColumns)("options",b.tableOptions)("menuItemFactory",b.menuItemFactory),C(2),G(b.isLoading?2:
-1))},dependencies:[UV,JO,Iw],encapsulation:2});var DLc=[[["","expansion-panel-header",""]],"*"],WV=function(){this.instance=ELc;this.expanded=!1};WV.prototype.ngOnInit=function(){ELc++};WV.prototype.toggle=function(){this.expanded=!this.expanded};var ELc=0;WV.\u0275fac=function(a){return new (a||WV)};
WV.\u0275cmp=t({type:WV,selectors:[["b-expansion-panel"]],inputs:{expanded:"expanded"},exportAs:["expansionPanel"],ngContentSelectors:["[expansion-panel-header]","*"],decls:6,vars:7,consts:[[1,"flex-kids-y"],["role","button","tabindex","0","aria-disabled","false",1,"header","flex-kids-x","padded-s","clickable-row",3,"click","keydown.enter","keydown.space","keyup.space","id"],["mat-icon-button","","aria-label","Toggle expansion state",1,"small","margin-left-auto",3,"click"],["svgIcon","arrow-down",
1,"icon-m"],["role","region",1,"content",3,"id"]],template:function(a,b){a&1&&(Dg(DLc),I(0,"div",0)(1,"div",1),M("click",function(){return b.toggle()})("keydown.enter",function(){return b.toggle()})("keydown.space",function(c){return c.preventDefault()})("keyup.space",function(){return b.toggle()}),Eg(2),I(3,"button",2),M("click",function(c){b.toggle();return c.stopPropagation()}),K(4,"mat-icon",3),J()(),D(5,F6a,2,3,"div",4),J());a&2&&(ng("expanded",b.expanded),C(),Fg("id","expansion-panel-header-",
b.instance,""),eg("aria-controls","expansion-panel-content-"+b.instance)("aria-expanded",b.expanded),C(4),G(b.expanded?5:-1))},dependencies:[$D,vD,Xy],styles:[".header[_ngcontent-%COMP%]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.header[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out}.expanded[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.content[_ngcontent-%COMP%]{padding:4px 12px 12px}\n/*# sourceMappingURL=expansion_panel.css.map */"]});var e7a=function(a,b){return b.key},XV=function(){Z.apply(this,arguments);var a=this;this.issueFullFridge=r(yG);this.eventsForIssueFridge=r(yF);this.paramsService=r(OL);this.issueExperimentalFieldsFridge=r(KF);this.issuePermissionService=r(ZL);this.triageService=r(DH);this.activeSession=r(dv);this.preferences=r(yH);this.similarIssuesApi=r(eP);this.issueId$=this.triageService.currentIssueId$;this.PHASE_TO_ACTIONS=iIc;this.TriagePhase=x7b;this.TriageActionKey=aIc;this.FormattingMode=cB;this.IssueFieldKey=
YHc;this.CONFIRM_ACTION=bIc;this.SET_IN_PROGRESS=cIc;this.SET_FIXED=gIc;this.CHANGE_COMPONENT=hIc;this.MAX_SIMILAR_ISSUES=10;this.UNCONFIRM=eIc;this.displaySecondaryFooter=!1;this.refreshTable=new rG;this.teamId$=Krc(this.paramsService,"teamId").pipe(Ef(),Ye(kj));this.issue$=this.issueId$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}));this.experimentalFields$=this.issueId$.pipe(Nf(function(b){return a.issueExperimentalFieldsFridge.watch(b)}));this.triagerEmail$=this.experimentalFields$.pipe(B(function(b){var c;
return b==null?void 0:(c=b.triage)==null?void 0:c.triagerEmail}));this.triager$=this.triagerEmail$.pipe(B(function(b){return Yi(b)}));this.issuePhase$=this.issue$.pipe(B(sua));this.events$=this.issueId$.pipe(Nf(function(b){return a.eventsForIssueFridge.watch(b)}),B(function(b){return(b==null?void 0:b.events)||[]}));this.comments$=this.events$.pipe(B(function(b){return b.filter(Xk).slice(1)}));this.accessLevel$=this.issue$.pipe(B(function(b){var c;return b==null?void 0:(c=b.accessLimit)==null?void 0:
c.accessLevel}));this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;this.enableInlineScreenshots$=this.preferences.showInlineImages$.pipe(B(Boolean),Mf(!0));this.similarIssueIds$=this.issueId$.pipe(Ye(kj),Nf(function(b){return a.activeSession.isInternalSession()||lu(a.activeSession,"enableSimilarIssueExternal")?fP(a.similarIssuesApi,{issueId:Number(b)}).pipe(B(function(c){return c.similarIssues})):Fe([])}),Pf(function(b){b.forEach(function(c){a.issueFullFridge.announce(c)})}),B(function(b){return b.map(function(c){return c.issueId})}),
B(function(b){return b.slice(0,10)}),Kf({bufferSize:1,refCount:!0}))};Y(XV,Z);XV.\u0275dir=Z.\u0275dir;XV.prototype.setNeedsInfo=function(a){var b=this;return ve(function(c){return c.nextAddress==1?xe(c,LF(b.issueExperimentalFieldsFridge,a,function(d){d.triage.phase="NEW";d.triage.needsInfo=!0;d.triage.subphase="NEEDS_INFO"}),2):c.return(c.yieldResult)})};
var FLc=function(a,b){return ve(function(c){return c.nextAddress==1?xe(c,LF(a.issueExperimentalFieldsFridge,b,function(d){d.triage.phase="CONFIRMED";d.triage.needsInfo=!1;d.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),2):c.return(c.yieldResult)})},GLc=function(a,b){return ve(function(c){return c.nextAddress==1?xe(c,LF(a.issueExperimentalFieldsFridge,b,function(d){d.triage.phase="IN_PROGRESS";d.triage.needsInfo=!1;d.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),2):c.return(c.yieldResult)})},HLc=
function(a,b){return ve(function(c){return c.nextAddress==1?xe(c,LF(a.issueExperimentalFieldsFridge,b,function(d){d.triage.phase="FIXED";d.triage.needsInfo=!1;d.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),2):c.return(c.yieldResult)})},ILc=function(a,b){return ve(function(c){return c.nextAddress==1?xe(c,LF(a.issueExperimentalFieldsFridge,b,function(d){d.triage.phase="NEW";d.triage.needsInfo=!1;d.triage.triagerEmail=void 0;d.triage.subphase="TRIAGE_SUBPHASE_UNSPECIFIED"}),2):c.return(c.yieldResult)})},
b7a=function(a,b,c){return ve(function(d){a.selectedTriageAction=b;a.displaySecondaryFooter=!0;JLc(a,void 0,c);Ce(d)})},Er=function(a,b){var c,d;return ve(function(e){switch(e.nextAddress){case 1:if(!a.selectedTriageAction)return e.return();c=a.selectedTriageAction;switch(c){case "SET_NEEDS_INFO":return e.jumpTo(2);case "SET_CONFIRMED":return e.jumpTo(3);case "UNCONFIRM":return e.jumpTo(4);case "SET_IN_PROGRESS":return e.jumpTo(5);case "SET_FIXED":return e.jumpTo(6);case "CHANGE_COMPONENT":return e.jumpTo(7);
case "CLOSE_ISSUE":throw Error("pf");default:xb(c)}e.jumpTo(8);break;case 2:return xe(e,a.setNeedsInfo(b),9);case 9:d=e.yieldResult;e.jumpTo(8);break;case 3:return xe(e,FLc(a,b),10);case 10:d=e.yieldResult;e.jumpTo(8);break;case 4:return xe(e,ILc(a,b),11);case 11:d=e.yieldResult;e.jumpTo(8);break;case 5:return xe(e,GLc(a,b),12);case 12:d=e.yieldResult;e.jumpTo(8);break;case 6:return xe(e,HLc(a,b),13);case 13:d=e.yieldResult;e.jumpTo(8);break;case 7:return xe(e,ILc(a,b),14);case 14:d=e.yieldResult;
e.jumpTo(8);break;case 8:a.displaySecondaryFooter=!1,JLc(a,d,b),Ce(e)}})},JLc=function(a,b,c){b&&(a.issueFullFridge.poke(c),a.refreshTable.emit())};XV.prototype.cancelAction=function(){this.selectedTriageAction=void 0;this.displaySecondaryFooter=!1};
XV.prototype.completeAction=function(a){var b=this,c;return ve(function(d){if(d.nextAddress==1)return a.triage?xe(d,LF(b.issueExperimentalFieldsFridge,a.id,function(e){e.triage=Object.assign({},e.triage,a.triage)}),3):(b.issueFullFridge.poke(a.id),b.refreshTable.emit(),d.jumpTo(2));d.nextAddress!=2&&(c=d.yieldResult,JLc(b,c,a.id));b.displaySecondaryFooter=!1;Ce(d)})};var G6a=function(a,b){var c=Xo(a.issueId$);LF(a.issueExperimentalFieldsFridge,c,function(d){d.triage.triagerEmail=b})};
XV.prototype.claim=function(){G6a(this,this.activeSession.getUserEmail())};XV.\u0275fac=function(){var a;return function(b){return(a||(a=de(XV)))(b||XV)}}();
XV.\u0275cmp=t({type:XV,selectors:[["issue-triage-sidebar"]],outputs:{refreshTable:"refreshTable"},features:[cg],decls:2,vars:3,consts:[["triagerField",""],["expansionPanel",""],["setNeedsInfo",""],["setConfirmed",""],["changeComponent",""],["setInProgress",""],["setFixed",""],["unconfirm",""],["closeIssue",""],[1,"container","bg-secondary","flex-kids-y"],[1,"top-bar","flex-kids-x","space-between","border-bottom","bg-main"],[1,"flex-kids-x","align-items-center","margin-s-left","gap"],[3,"issueId",
"showCopyOptions"],["mat-icon-button","","tabindex","0","target","_blank","matTooltip","Open issue in a new tab","aria-label","Open issue",1,"small","hover-link",3,"href"],["svgIcon","pop-out",1,"icon-s"],[1,"flex-kids-x","align-items-center"],[1,"actions"],["mat-icon-button","","matTooltip","Close sidebar","aria-label","Close sidebar",1,"gmat-button",3,"click"],["svgIcon","close"],["mat-button","","matTooltip","Set myself as the triager",1,"gmat-button","small"],["size","small",3,"email"],[1,"flex-1",
"triagerField",3,"valueChange","emailChange","name","title","value","user"],["mat-icon-button","","matTooltip","Edit triager","aria-label","Edit triager",1,"small","align-self-center",3,"click"],["svgIcon","edit-outline",1,"icon-xxs"],["mat-button","","matTooltip","Set myself as the triager",1,"gmat-button","small",3,"click"],[1,"content","flex-kids-y"],[1,"title","margin-s"],[3,"title","issueId","componentId","hasAclToEdit"],[1,"margin-s-top","flex-kids-x","gap-s"],[1,"b-chip","issue-type","nowrap"],
[1,"priority"],[3,"issuePriority"],[3,"vertical"],[3,"issueId"],[1,"rounded","bordered","margin-s","margin-top-none","bg-main",3,"expanded"],["expansion-panel-header",""],["svgIcon","description_24px","color","primary",1,"margin-xs-right","shrink-0"],[1,"uppercase","margin-xs-right","muted"],[3,"id"],[1,"flex-kids-x","align-items-center","grow-1","margin-s-right"],["svgIcon","chat_24px","color","primary",1,"margin-xs-right","shrink-0"],[1,"uppercase","margin-xs-right","muted","nowrap"],[1,"margin-left-auto"],
[3,"issueId","events","issueAccessLevel","showFullHistory"],["svgIcon","spark_24px","color","primary",1,"margin-xs-right","shrink-0"],[1,"uppercase","muted"],[1,"triage-actions","bg-main","carded","flex-kids-x","align-items-center","margin-s"],[1,"margin-left-auto",3,"click"],[3,"issueId","similarIssueIds","limit"],[4,"ngTemplateOutlet"],["mat-button","",1,"gmat-button",3,"disabled"],["mat-button","",1,"gmat-button",3,"click","disabled"],[1,"full-width",3,"cancelAction","completeAction"],[1,"flex-kids-y",
"full-width"],[1,"heading-s"],[3,"cancelAction","completeAction","fields"],[3,"cancelAction","completeAction","fields","showAssignToSelf"],[3,"cancelAction","completeAction","fields","automaticChanges"],[3,"cancelAction","completeAction"]],template:function(a,b){a&1&&(D(0,p7a,14,10,"div",9),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.issueId$))?0:-1,c)}},dependencies:[Hw,$D,IV,DV,WV,vD,Vy,Yy,Xy,FH,HH,uV,NV,nP,pP,OV,DM,sU,VV,EU,DU,FU,wM,aM,Iw],styles:[".container[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden;position:absolute}.triagerField[_ngcontent-%COMP%]{visibility:hidden;width:0}.content[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;overflow:hidden auto}.content[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   .issue-type[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--surface-secondary);border:1px solid;border-color:#5f6368;border-color:var(--icon);font-family:Google Sans,Roboto,Arial,sans-serif;margin-right:0}.content[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   .priority[_ngcontent-%COMP%]{margin-top:1px}.content[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   .hotlist-container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:2px;line-height:18px;max-height:64px;overflow-y:auto}[_nghost-%COMP%]     .comment1>mat-icon{display:none}[_nghost-%COMP%]     .comment1 .b-description-heading{display:none}[_nghost-%COMP%]     .comment1 .bv2-event-note{margin-top:4px}[_nghost-%COMP%]     b-event-stream-header h4{display:none}[_nghost-%COMP%]     .bv2-edit-issue-history-stream{padding-left:0}[_nghost-%COMP%]     .bv2-event-content-cell{padding-top:8px;padding-left:4px;padding-right:0}"]});var YV=function(){};YV.\u0275fac=function(a){return new (a||YV)};YV.\u0275mod=u({type:YV});YV.\u0275inj=p({imports:[RE,JH,vR]});var ZV=function(){Z.apply(this,arguments);this.dialogRef=r(dL)};Y(ZV,Z);ZV.\u0275dir=Z.\u0275dir;ZV.prototype.onSave=function(){this.dialogRef.close(this.selectedId)};ZV.prototype.onCancel=function(){this.dialogRef.close()};ZV.prototype.onSelect=function(a){this.selectedId=a==null?void 0:a.componentId};ZV.\u0275fac=function(){var a;return function(b){return(a||(a=de(ZV)))(b||ZV)}}();
ZV.\u0275cmp=t({type:ZV,selectors:[["component_picker_dialog"]],features:[cg],decls:9,vars:1,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"selectedComponentChange"],["mat-dialog-actions",""],["mat-button","",1,"medium","cancel",3,"click"],["mat-flat-button","","color","primary","data-test","save",1,"medium",3,"click","disabled"]],template:function(a,b){a&1&&(I(0,"header",0),Q(1," Choose a Component "),J(),I(2,"div",1)(3,"b-team-component-picker",2),M("selectedComponentChange",function(c){return b.onSelect(c)}),
J()(),I(4,"div",3)(5,"button",4),M("click",function(){return b.onCancel()}),Q(6," Cancel "),J(),I(7,"button",5),M("click",function(){return b.onSave()}),Q(8," Save "),J()());a&2&&(C(7),F("disabled",b.selectedId==null))},dependencies:[vD,Vy,nL,pL,oL,sO],styles:["[_nghost-%COMP%]     b-team-component-picker .pseudo-input{margin:1px}[_nghost-%COMP%]     b-team-component-picker .pseudo-input:focus-within{margin:0}\n/*# sourceMappingURL=component_picker_dialog.css.map */"]});
var $V=function(){this.dialog=r(kL)};$V.prototype.open=function(a){var b=this,c={panelClass:"no-jitter"};return new Promise(function(d){eL(b.dialog.open(ZV,c)).subscribe(function(e){a==null||a(e);d(e)})})};$V.\u0275fac=function(a){return new (a||$V)};$V.\u0275prov=n({token:$V,factory:$V.\u0275fac,providedIn:"root"});var aW=function(){};aW.\u0275fac=function(a){return new (a||aW)};aW.\u0275mod=u({type:aW});aW.\u0275inj=p({imports:[qO]});var bW=function(){};bW.\u0275fac=function(a){return new (a||bW)};bW.\u0275mod=u({type:bW});bW.\u0275inj=p({imports:[RE,Qz,JH,MM,LH,aW,ML,xy,sy,TR,tx,gM,vR]});var cW=function(){};cW.\u0275fac=function(a){return new (a||cW)};cW.\u0275mod=u({type:cW});cW.\u0275inj=p({imports:[UR,RE,JH,bW,VK,LH,YV]});var dW=function(){};dW.\u0275fac=function(a){return new (a||dW)};dW.\u0275mod=u({type:dW});dW.\u0275inj=p({imports:[yy,Qw,yy]});var eW=function(){};eW.\u0275fac=function(a){return new (a||eW)};eW.\u0275mod=u({type:eW});eW.\u0275inj=p({imports:[RE,JH,dW]});var fW=function(){};fW.\u0275fac=function(a){return new (a||fW)};fW.\u0275mod=u({type:fW});fW.\u0275inj=p({imports:[RE,JH,VK,eW]});var gW=function(){};gW.\u0275fac=function(a){return new (a||gW)};gW.\u0275mod=u({type:gW});gW.\u0275inj=p({imports:[RE]});var hW=function(){};hW.\u0275fac=function(a){return new (a||hW)};hW.\u0275mod=u({type:hW});hW.\u0275inj=p({imports:[RE,VK,gW,fW,JH]});var iW=function(){};iW.\u0275fac=function(a){return new (a||iW)};iW.\u0275mod=u({type:iW});iW.\u0275inj=p({providers:[{provide:XEc,useFactory:function(){return new UEc}}]});var jW=function(){};jW.\u0275fac=function(a){return new (a||jW)};jW.\u0275mod=u({type:jW});jW.\u0275inj=p({imports:[Qw,iW]});var kW=function(){};kW.\u0275fac=function(a){return new (a||kW)};kW.\u0275mod=u({type:kW});kW.\u0275inj=p({providers:[{provide:WEc,useFactory:IT}],imports:[RE,JH,LH,jW,gM]});var lW=function(){};lW.\u0275fac=function(a){return new (a||lW)};lW.\u0275mod=u({type:lW});lW.\u0275inj=p({imports:[RE,JH,LH]});var mW=function(){};mW.\u0275fac=function(a){return new (a||mW)};mW.\u0275mod=u({type:mW});mW.\u0275inj=p({imports:[RE,bU,AM,LH,MH,pR,kW,JH,lW]});var nW=function(){};nW.\u0275fac=function(a){return new (a||nW)};nW.\u0275mod=u({type:nW});nW.\u0275inj=p({imports:[RE,JH,EI,LH,AM]});var oW=function(){};oW.\u0275fac=function(a){return new (a||oW)};oW.\u0275mod=u({type:oW});oW.\u0275inj=p({imports:[nW,RE,cW,AM,JH,ML,EI,LH,ER,yN]});var pW=function(){};pW.\u0275fac=function(a){return new (a||pW)};pW.\u0275mod=u({type:pW});pW.\u0275inj=p({imports:[RE,tR,LH,VK,oW]});var qW=function(){};qW.\u0275fac=function(a){return new (a||qW)};qW.\u0275mod=u({type:qW});qW.\u0275inj=p({});var rW=function(){};rW.\u0275fac=function(a){return new (a||rW)};rW.\u0275mod=u({type:rW});rW.\u0275inj=p({imports:[MH,mW,pR,RE,vR,Qz,aI,JH,yN,qW,pW,FR]});var Us=function(a){this.lookupId_=a;this.displayName_="";this.forceDisplayNameOverride_=!1};Us.prototype.getId=function(){return this.lookupId_};Us.prototype.setDisplayName=function(a){this.displayName_=a;return this};Us.prototype.getDisplayName=function(){return this.displayName_};var Fab=function(a,b){a.forceDisplayNameOverride_=b;return a};Us.prototype.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride_};
Us.prototype.equals=function(a){return a?this===a?!0:this.getId().equals(a.getId())&&this.getDisplayName()===a.getDisplayName()&&this.getForceDisplayNameOverride()===a.getForceDisplayNameOverride():!1};var KLc=function(a){this.internalArray_=m(a)};Y(KLc,V);KLc.prototype.setDisabled=function(a,b){yc(this,2,Fb,b,a,bk,void 0,1)};var sW=function(a){this.internalArray_=m(a)};Y(sW,V);g=sW.prototype;g.getEnableClearcut=function(){return Fj(this,1,!1)};g.setEnableClearcut=function(a){return dk(this,1,a)};g.getClientId=function(){return Kj(this,2,0)};g.setClientId=function(a){return hk(this,2,a)};g.getSocialApplication=function(){return Kj(this,3,0)};g.getSocialApplicationOrUndefined=function(){return Qt(this,3)};g.getComponentFlow=function(){return Kj(this,4,0)};g.setComponentFlow=function(a){return hk(this,4,a)};
g.getInterfaceType=function(){return Kj(this,5,0)};g.setInterfaceType=function(a){return hk(this,5,a)};var tW=function(a){this.internalArray_=m(a)};Y(tW,V);tW.prototype.getEnableAutocompleteLegalese=function(){return Fj(this,11,!1)};var uW=function(a){this.internalArray_=m(a)};Y(uW,V);uW.prototype.getApplication=function(){return Kj(this,1,0)};uW.prototype.setApplication=function(a){return hk(this,1,a)};uW.prototype.getApplicationOrUndefined=function(){return Qt(this,1)};uW.prototype.getIsEnabled=function(){return Fj(this,2,!1)};var LLc=[0,Aw,-13];var MLc=function(a){this.internalArray_=m(a)};Y(MLc,V);g=MLc.prototype;g.getClearcut=function(){return W(this,sW,1)};g.setClearcut=function(a){X(this,sW,1,a)};g.hasClearcut=function(){return Oj(this,sW,1)};g.getExperiments=function(){return W(this,uW,2)};g.setExperiments=function(a){return X(this,uW,2,a)};g.hasExperiments=function(){return Oj(this,uW,2)};g.getFeatures=function(){return W(this,KLc,11)};g.getEnableAutocompleteLegalese=function(){return Fj(this,13,!0)};var NLc=xna(MLc);var OLc;var PLc=function(){this.actionListeners=new Map};PLc.prototype.subscribe=function(a,b){this.actionListeners.has(a)?this.actionListeners.get(a).push(b):this.actionListeners.set(a,[b])};PLc.prototype.unsubscribe=function(a,b){if(this.actionListeners.has(a)){var c=this.actionListeners.get(a).filter(function(d){return d!==b});c.length?this.actionListeners.set(a,c):this.actionListeners.delete(a)}};
PLc.prototype.notify=function(a){var b=zd.apply(1,arguments);if(this.actionListeners.has(a)){var c=this.actionListeners.get(a);c=k(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;try{d.apply(null,b)}catch(e){}}}};var QLc=function(){this.actionEventDispatcher=new PLc};var RLc=function(){var a=bc(OLc||(OLc=NLc("[[true,49,740,4],[7,true],null,null,null,null,null,null,null,null,null,null,false,false]")));this.injectorService=new QLc;a.hasClearcut()||a.setClearcut(new sW);a.hasExperiments()||a.setExperiments(new uW);this.internal=a};var SLc=function(a,b,c,d,e,f){this.coreTypeOrder=a;this.decoratorTypeOrder=b;this.getCompatibleTypes=c;this.container=d;this.extractor=e;this.configurationKey=f===void 0?"\ud83c\udf68":f};
SLc.prototype.create=function(a){for(var b=this,c=k(this.coreTypeOrder.filter(function(h){var l=b.configurationKey;return b.container.configurations.hasCoreType(h,l===void 0?"\ud83c\udf68":l)})),d=c.next();!d.done;d=c.next()){d=d.value;var e=this.container.getCoreFactory(d),f=void 0;if((f=e)==null?0:f.shouldCreate(a))return c=void 0,this.extractor(this.decorate((c=e)==null?void 0:c.create(a),d,a))}throw Error("qf");};
SLc.prototype.decorate=function(a,b,c){var d=this,e,f=(e=this.getCompatibleTypes(b))!=null?e:new Set;return this.decoratorTypeOrder.filter(function(h){var l=d.configurationKey;return d.container.configurations.hasDecoratorType(h,l===void 0?"\ud83c\udf68":l)&&f.has(h)}).map(function(h){return d.container.getDecoratorFactory(h)}).filter(function(h){return h==null?void 0:h.shouldCreate(c)}).reduce(function(h,l){return l.create(c,h)},a)};var vW=function(){this.core=new Set;this.decorators=new Set};vW.prototype.addCoreType=function(a){this.core.add(a)};vW.prototype.addDecoratorType=function(a){this.decorators.add(a)};vW.prototype.hasCoreType=function(a){return this.core.has(a)};vW.prototype.hasDecoratorType=function(a){return this.decorators.has(a)};var TLc=function(){this.configurations=new Map};g=TLc.prototype;g.addCoreType=function(a,b){this.configurations.has(b)||this.configurations.set(b,new vW);this.configurations.get(b).addCoreType(a)};
g.addDecoratorType=function(a,b){this.configurations.has(b)||this.configurations.set(b,new vW);this.configurations.get(b).addDecoratorType(a)};g.hasCoreType=function(a,b){var c,d;return!!(((c=this.configurations.get(b))==null?0:c.hasCoreType(a))||((d=this.configurations.get("\ud83c\udf68"))==null?0:d.hasCoreType(a)))};g.hasDecoratorType=function(a,b){var c,d;return!!(((c=this.configurations.get(b))==null?0:c.hasDecoratorType(a))||((d=this.configurations.get("\ud83c\udf68"))==null?0:d.hasDecoratorType(a)))};
g.clear=function(){this.configurations.clear()};var ULc=function(){this.core=new Map;this.decorator=new Map};g=ULc.prototype;g.addCoreFactory=function(a,b){this.core.has(a)||this.core.set(a,b)};g.addDecoratorFactory=function(a,b){this.decorator.has(a)||this.decorator.set(a,b)};g.getCoreFactory=function(a){return this.core.get(a)};g.getDecoratorFactory=function(a){return this.decorator.get(a)};g.clear=function(){this.core.clear();this.decorator.clear()};
var wW=function(a){var b=this;var c=a.coreTypeOrder;var d=a.decoratorTypeOrder;var e=a.extractor;a=a.getCompatibleTypes;this.configurations=new TLc;this.factories=new ULc;this.coreTypeOrder=c;this.decoratorTypeOrder=d;this.extractor=e;this.getCompatibleTypes=a;VLc.set(this,function(){b.configurations.clear();b.factories.clear()})};
wW.prototype.addCoreFactory=function(a){var b=a.type;var c=a.factory;this.configurations.addCoreType(b,a.configurationKey===void 0?"\ud83c\udf68":a.configurationKey);this.factories.addCoreFactory(b,c)};wW.prototype.addDecoratorFactory=function(a){var b=a.type;var c=a.factory;this.configurations.addDecoratorType(b,a.configurationKey===void 0?"\ud83c\udf68":a.configurationKey);this.factories.addDecoratorFactory(b,c)};wW.prototype.getCoreFactory=function(a){return this.factories.getCoreFactory(a)};
wW.prototype.getDecoratorFactory=function(a){return this.factories.getDecoratorFactory(a)};var Z9a=function(a,b){b=b===void 0?"\ud83c\udf68":b;return new SLc(a.coreTypeOrder,a.decoratorTypeOrder,a.getCompatibleTypes,a,a.extractor,b===void 0?"\ud83c\udf68":b)},VLc=new Map;var Nr=new wW({coreTypeOrder:[0,1,2],decoratorTypeOrder:[0,1,2],extractor:function(a){return a.chip},getCompatibleTypes:function(a){var b=new Set([1]);a===2&&(b.add(0),b.add(2));a===0&&b.add(0);return b}});var w7a=function(a){var b=a.imageUrls,c=a.backupUrl,d=a.size,e=a.preloadSize,f=a.pixelRatio;a=hs;var h='<div class="'+is("peoplekitComponentsAvatarImplAvatarContainer")+'" style="width: '+is(FJ(d))+"px; height: "+is(FJ(d))+'px"><div peoplekit-id="'+is("YLEF4c")+'" class="'+is("peoplekitComponentsAvatarImplAvatar")+'" style="width: '+is(FJ(d))+"px; height: "+is(FJ(d))+'px">';b=b.length===1?hs('<div class="'+is("peoplekitComponentsAvatarImplContainer")+'">'+xW(b[0],c,d,e,f)+"</div>"):b.length===2?hs('<div class="'+
is("peoplekitComponentsAvatarImplContainer")+'"><div class="'+is("peoplekitComponentsAvatarImplColumn")+'">'+xW(b[0],c,d,e,f)+"</div>"+yW()+'<div class="'+is("peoplekitComponentsAvatarImplColumn")+'">'+xW(b[1],c,d,e,f)+"</div></div>"):b.length===3?hs('<div class="'+is("peoplekitComponentsAvatarImplContainer")+'"><div class="'+is("peoplekitComponentsAvatarImplColumn")+'">'+xW(b[0],c,d,e,f)+"</div>"+yW()+'<div class="'+is("peoplekitComponentsAvatarImplColumn")+'"><div class="'+is("peoplekitComponentsAvatarImplRow")+
'">'+xW(b[1],c,Math.round(d*.5),e,f)+"</div>"+yW()+'<div class="'+is("peoplekitComponentsAvatarImplRow")+'">'+xW(b[2],c,Math.round(d*.5),e,f)+"</div></div></div>"):hs('<div class="'+is("peoplekitComponentsAvatarImplContainer")+'"><div class="'+is("peoplekitComponentsAvatarImplColumn")+'"><div class="'+is("peoplekitComponentsAvatarImplRow")+'">'+xW(b[0],c,Math.round(d*.5),e,f)+"</div>"+yW()+'<div class="'+is("peoplekitComponentsAvatarImplRow")+'">'+xW(b[2],c,Math.round(d*.5),e,f)+"</div></div>"+yW()+
'<div class="'+is("peoplekitComponentsAvatarImplColumn")+'"><div class="'+is("peoplekitComponentsAvatarImplRow")+'">'+xW(b[1],c,Math.round(d*.5),e,f)+"</div>"+yW()+'<div class="'+is("peoplekitComponentsAvatarImplRow")+'">'+xW(b[3],c,Math.round(d*.5),e,f)+"</div></div></div>");b=hs(b);return a(h+b+'</div><div peoplekit-id="'+is("Btuy5e")+'" class="'+is("peoplekitComponentsAvatarImplAvatarBadge")+'">'+hs('<img class="'+is("peoplekitComponentsAvatarImplBadgeIconImage")+'" peoplekit-id="'+is("m6fZne")+
'" draggable="false" alt="">')+"</div></div>")},xW=function(a,b,c,d,e){var f='<div peoplekit-id="'+is("IHgMKc")+'" class="'+is("peoplekitComponentsAvatarImplImageRoot")+'">',h=Ss(lpc(a,c,c,e));h=Dmc(h);a=Ss(lpc(a,d,d,e));a=Dmc(a);b=Ss(lpc(b,c,c,e));b=Dmc(b);h='<img peoplekit-id="'+is("HiaYvf")+'" class="'+is("peoplekitComponentsAvatarImplImage")+'" style="width: '+is(FJ(c))+"px; height: "+is(FJ(c))+'px;" data-preload-src="'+is(a)+'" data-src="'+is(h)+'" data-backup-src="'+is(b)+'" draggable="false" alt="">';
c=hs('<svg xmlns="http://www.w3.org/2000/svg" height="'+is(c)+'px" viewBox="0 0 24 24" width="'+is(c)+'px" class="'+is("peoplekitComponentsAvatarImplDefaultAvatarImage")+'"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 2l-5.5 9h11L12 2zm0 3.84L13.93 9h-3.87L12 5.84zM17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm0 7c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zM3 21.5h8v-8H3v8zm2-6h4v4H5v-4z"/></svg>');return hs(f+(h+c+"</div>"))},
yW=function(){return hs('<div class="'+is("peoplekitComponentsAvatarImplDivider")+'"></div>')};var WLc=new Map([[0,"light_theme"],[1,"dark_theme"]]);var XLc=!ns&&!uba(),YLc=function(a,b){if(/-[a-z]/.test(b))return null;if(XLc&&a.dataset){if(vba()&&!(b in a.dataset))return null;a=a.dataset[b];return a===void 0?null:a}return a.getAttribute("data-"+t_b(b))};var ZLc=new Map([[1,"badge_active"],[2,"badge_inactive"],[3,"badge_idle"],[4,"badge_do_not_disturb"],[5,"badge_video"]]),$Lc=new Map([[1,"Active."],[2,"Inactive."],[3,"Idle."],[4,"Do Not Disturb."],[5,"In Video Call."]]),y7a=function(a,b){this.appearance=b;this.root=a;aMc(this)};g=y7a.prototype;
g.setBadge=function(a){var b=Fr(this.root,"Btuy5e");if(a.badgeType===0)b.classList.remove("visible");else{var c=ZLc.get(a.badgeType)||"";if(c){var d=this.appearance.getTheme();c="https://www.gstatic.com/people/peoplekit/icons/"+(WLc.get(d)||"light_theme")+"/"+c+".svg"}else c="";a=$Lc.get(a.badgeType)||"";d=Fr(b,"m6fZne");c&&(d.src=c);d.alt=a;b.classList.add("visible")}};g.getAllIds=function(){return[]};g.updateWaldo=function(){};g.updateHubAvailabilityDot=function(){};
g.getSupportedIntelligenceFeatures=function(){return[]};g.initializeIntelligence=function(){};
var aMc=function(a){a=k(r7a(a.root,"IHgMKc"));for(var b=a.next(),c={};!b.done;c={img$jscomp$11:void 0,src$jscomp$59:void 0,imageRoot:void 0,backupSrc:void 0},b=a.next())c.imageRoot=b.value,c.img$jscomp$11=Fr(c.imageRoot,"HiaYvf"),b=YLc(c.img$jscomp$11,"preloadSrc"),c.src$jscomp$59=YLc(c.img$jscomp$11,"src"),c.backupSrc=YLc(c.img$jscomp$11,"backupSrc"),u7a(c.src$jscomp$59)?c.img$jscomp$11.src=c.src$jscomp$59:u7a(b)?(c.img$jscomp$11.src=b,Nq(function(d){return function(){d.img$jscomp$11.src=d.src$jscomp$59}}(c),
0)):(c.imageRoot.classList.add("isLoading"),c.img$jscomp$11.onload=function(d){return function(){d.imageRoot.classList.remove("isLoading")}}(c),c.img$jscomp$11.onerror=function(d){return function(){d.img$jscomp$11.getAttribute("src")===d.backupSrc?(d.img$jscomp$11.onerror=null,d.imageRoot.classList.remove("isLoading"),d.imageRoot.classList.add("isNotLoaded")):d.img$jscomp$11.src=d.backupSrc}}(c),c.img$jscomp$11.src=c.src$jscomp$59)};var v7a=function(){this.style=this.theme=this.density=0};g=v7a.prototype;g.getDensity=function(){return this.density};g.setDensity=function(a){this.density=a};g.getTheme=function(){return this.theme};g.setTheme=function(a){this.theme=a};g.getStyle=function(){return this.style};g.setStyle=function(a){this.style=a};var G7a=bs.getInstance();var I7a=function(a){a=a.memberCount;return(new Rtc("{MEMBER_COUNT_1,plural,=0{No members}=1{1 member}other{{MEMBER_COUNT_2} members}}")).format_({MEMBER_COUNT_1:a,MEMBER_COUNT_2:""+a},!0)};var N7a=bs.getInstance();var P7a=function(a,b,c){var d=this;this.root=a;this.selection=b;this.selectionsState=c;this.isDisabledInternal=!1;this.deleteButton=Fr(this.root,"bxvLg");this.eventHandler=Mr(this);this.eventHandler.listen(this.deleteButton,"click",function(){d.onDeleteButtonClick()})};g=P7a.prototype;g.onDeleteButtonClick=function(){this.selectionsState.deselect(this.selection,8)};g.toggleSelection=function(){};g.activate=function(){this.root.classList.add("isActive");this.root.setAttribute("aria-selected","true")};
g.deactivate=function(){this.root.classList.remove("isActive");this.root.setAttribute("aria-selected","false")};g.isActive=function(){return this.root.classList.contains("isActive")};g.spotlight=function(){this.root.classList.add("isSpotlit")};g.unspotlight=function(){this.root.classList.remove("isSpotlit")};g.disable=function(){this.root.classList.add("isDisabled");this.isDisabledInternal=!0};g.enable=function(){this.root.classList.remove("isDisabled");this.isDisabledInternal=!1};g.isDisabled=function(){return this.isDisabledInternal};
g.drag=function(){this.root.classList.add("isDragged")};g.undrag=function(){this.root.classList.remove("isDragged")};g.edit=function(){};g.unedit=function(){};g.dispose=function(){this.eventHandler.removeAll()};g.getRoot=function(){return this.root};g.getSelection=function(){return this.selection};g.setDisambiguationLabel=function(){};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};g.getAllIds=function(){return[this.selection.id()]};g.updateWaldo=function(){};
g.updateHubAvailabilityDot=function(){};g.getSupportedIntelligenceFeatures=function(){return[]};g.initializeIntelligence=function(){};var bMc=function(a,b,c,d,e,f,h,l,q){d=d?is(d):e?is("isWarning"):"";return hs('<div role="option" class="'+is("peoplekitComponentsChipChip")+" "+d+" "+(f?is("isDeletionDisabled"):"")+'" id="'+is(a)+'" peoplekit-id="'+is("XPtOyb")+'" data-hovercard-id="'+is(c)+'" data-name="'+is(b)+'"'+(f?"":' aria-describedby="'+is(a)+'-db"')+'><div class="'+is("peoplekitComponentsChipChipRow")+" "+is("peoplekitComponentsChipChipContainer")+'"><div class="'+is("peoplekitComponentsChipLeft")+'">'+Rs(h)+'</div><div class="'+
is("peoplekitComponentsChipCenter")+'">'+Rs(l)+'</div><div class="'+is("peoplekitComponentsChipRight")+'">'+Rs(q)+'</div></div><div peoplekit-id="'+is("QL45qe")+'"></div></div>')},cMc=function(a){return hs('<div class="'+is("peoplekitComponentsChipAvatar")+'"><div class="'+is("peoplekitComponentsChipAvatarContainer")+'" peoplekit-id="'+is("d6MZcd")+'"></div>'+(CJ(a)?Rs(a):"")+"</div>")},dMc=function(a){var b=hs,c=hs;a='<div class="'+is("peoplekitComponentsChipAvatarExclamationOverlay")+" "+(a?is(a):
"")+'"><div class="'+is("peoplekitComponentsChipExclamationIcon")+" "+(a?is(a):"")+'">';var d=hs('<svg viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M11 14V5h2v9Zm0 5v-2h2v2Z"/></svg>');return b(cMc(c(a+d+"</div></div>")))},eMc=function(a){return hs('<div class="'+is("peoplekitComponentsChipLabelContainer")+'"><div class="'+is("peoplekitComponentsChipLabel")+" "+is("peoplekitComponentsChipLabelRow")+'"><div class="'+is("peoplekitComponentsChipDisplayLabel")+'" translate="no">'+
Rs(DJ(a))+'</div><div class="'+is("peoplekitComponentsChipDisambiguationLabel")+'" peoplekit-id="'+is("hyPgpe")+'" translate="no"></div></div></div>')},fMc=function(a){a='<div id="'+is(a)+'-db" peoplekit-id="'+is("bxvLg")+'" class="'+is("peoplekitComponentsChipDeleteButton")+'" aria-hidden="true" aria-label="'+is("Press delete to remove this chip")+'">';var b=hs('<svg xmlns="https://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" class="'+(is("peoplekitComponentsChipDeleteIcon")+'"><path d="M0 0h24v24H0z" fill="none"></path><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></svg>'));
return hs(a+b+"</div>")};var O7a=function(a){var b=a.id,c=a.label,d=a.stateClass;return hs(bMc(b,a.name,a.hovercardId,d,a.isWarning,a.isDeletionDisabled,hs(""+(d?dMc(d):cMc())),hs(""+eMc(c)),hs(""+fMc(b))))};var T7a=function(a,b,c){var d=this;this.root=a;this.selection=b;this.selectionsState=c;this.isDisabledInternal=!1;this.deleteButton=Fr(this.root,"bxvLg");this.eventHandler=Mr(this);this.eventHandler.listen(this.deleteButton,"click",function(){return d.onDeleteButtonClick()})};g=T7a.prototype;g.onDeleteButtonClick=function(){this.selectionsState.deselect(this.selection,8)};g.toggleSelection=function(){};
g.activate=function(){this.root.classList.add("isActive");this.root.setAttribute("aria-selected","true")};g.deactivate=function(){this.root.classList.remove("isActive");this.root.setAttribute("aria-selected","false")};g.isActive=function(){return this.root.classList.contains("isActive")};g.spotlight=function(){this.root.classList.add("isSpotlit")};g.unspotlight=function(){this.root.classList.remove("isSpotlit")};g.disable=function(){this.root.classList.add("isDisabled");this.isDisabledInternal=!0};
g.enable=function(){this.root.classList.remove("isDisabled");this.isDisabledInternal=!1};g.isDisabled=function(){return this.isDisabledInternal};g.drag=function(){this.root.classList.add("isDragged")};g.undrag=function(){this.root.classList.remove("isDragged")};g.edit=function(){};g.unedit=function(){};g.dispose=function(){this.eventHandler.removeAll()};g.getRoot=function(){return this.root};g.getSelection=function(){return this.selection};g.setDisambiguationLabel=function(){};g.onKeyDown=function(){};
g.onContextMenu=function(){return function(){}};g.getAllIds=function(){return[this.selection.id()]};g.updateWaldo=function(){};g.updateHubAvailabilityDot=function(){};g.getSupportedIntelligenceFeatures=function(){return[]};g.initializeIntelligence=function(){};var S7a=function(a){var b=a.id,c=a.label,d=a.avatarSize;return hs(bMc(b,a.name,a.hovercardId,"",!1,a.isDeletionDisabled,hs('<div class="'+is("peoplekitComponentsChipPlaceholderAvatarPlaceholder")+" "+is("peoplekitComponentsChipPlaceholderShimmer")+'" style="width: '+is(FJ(d))+"px; height: "+is(FJ(d))+'px;"></div>'),hs(""+(c?eMc(c):'<div class="'+is("peoplekitComponentsChipPlaceholderLabelPlaceholder")+" "+is("peoplekitComponentsChipPlaceholderShimmer")+'"></div>')),hs(""+fMc(b))))};var zW=function(a){this.delegate=a};g=zW.prototype;g.toggleSelection=function(){this.delegate.toggleSelection()};g.activate=function(){this.delegate.activate()};g.deactivate=function(){this.delegate.deactivate()};g.isActive=function(){return this.delegate.isActive()};g.spotlight=function(){this.delegate.spotlight()};g.unspotlight=function(){this.delegate.unspotlight()};g.disable=function(){this.delegate.disable()};g.enable=function(){this.delegate.enable()};g.isDisabled=function(){return this.delegate.isDisabled()};
g.drag=function(){this.delegate.drag()};g.undrag=function(){this.delegate.undrag()};g.edit=function(){this.delegate.edit()};g.unedit=function(){this.delegate.unedit()};g.dispose=function(){this.delegate.dispose()};g.getRoot=function(){return this.delegate.getRoot()};g.getSelection=function(){return this.delegate.getSelection()};g.setDisambiguationLabel=function(a){this.delegate.setDisambiguationLabel(a)};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};
g.onContextMenu=function(a,b){return this.delegate.onContextMenu(a,b)};g.getAllIds=function(){return this.delegate.getAllIds()};g.updateWaldo=function(a,b){this.delegate.updateWaldo(a,b)};g.updateHubAvailabilityDot=function(a,b){this.delegate.updateHubAvailabilityDot(a,b)};g.getSupportedIntelligenceFeatures=function(){return this.delegate.getSupportedIntelligenceFeatures()};g.initializeIntelligence=function(){this.delegate.initializeIntelligence()};var gMc=Object.freeze(new Qr(NaN,NaN)),hMc=Object.freeze(new MJ(NaN,NaN,NaN,NaN)),Tr=function(a,b){this.root=a;this.options=b;this.lastPosition=gMc;this.lastBounds=hMc;this.anchorUpdateTimer=new iG(15);this.eventHandler=Mr(this);this.attach()};Tr.prototype.attach=function(){var a=this;this.eventHandler.listen(this.anchorUpdateTimer,"tick",function(){return iMc(a)})};Tr.prototype.isShown=function(){return this.root.style.display!="none"};Tr.prototype.dispose=function(){this.hide();this.eventHandler.removeAll()};
Tr.prototype.show=function(a){this.anchor=a;this.lastPosition=gMc;this.lastBounds=hMc;QJ(this.root,!0);iMc(this);this.anchorUpdateTimer.start()};
var iMc=function(a){var b;if(b=a.anchor){if(!(b=!a.lastPosition.equals(PJ(a.anchor)))){b=a.lastBounds;var c=Or(a.root);b=!(b==c||b&&c&&b.left==c.left&&b.width==c.width&&b.top==c.top&&b.height==c.height)}b&&(c=a.anchor,b=Or(c),b=(c=Pr(c))?b.intersection(W7a(c)):!1)}if(b){c=a.anchor;b=a.root;var d=a.options,e=d.anchorCorner||9,f=d.popupCorner||8;d=d.moveAboveAnchorIfOffscreen===void 0?!0:d.moveAboveAnchorIfOffscreen;Sr(b,"","");b.style.height=OJ("",!0);var h=a8a(c,e,b,f,d);c=a8a(c,e^1,b,f^1,d);h.height>=
c.height||!d?d8a(b,h):d8a(b,c);a.lastPosition=PJ(a.anchor);a.lastBounds=Or(a.root)}};Tr.prototype.hide=function(){this.root.style.cssText="";QJ(this.root,!1);this.anchorUpdateTimer.stop();this.lastPosition=gMc;this.lastBounds=hMc};var Ur=function(a,b,c){this.tooltip=a;this.showDelayMs=b;this.hideDelayMs=c;this.displayed=!1;this.eventHandler=Mr(this)};Ur.prototype.showTooltip=function(){jMc(this);if(!this.isDisplayed()&&this.anchor){this.displayed=!0;var a;(a=this.showCallback)==null||a.call(this);AW(this)}};Ur.prototype.hideTooltip=function(){AW(this);if(this.isDisplayed()&&this.anchor){this.displayed=!1;var a;(a=this.hideCallback)==null||a.call(this);jMc(this)}else AW(this)};Ur.prototype.isDisplayed=function(){return this.displayed};
Ur.prototype.getAnchorElement=function(){return this.anchor};
var kMc=function(a,b){a.hideCallback=b.hideTooltipCallback;a.showCallback=b.showTooltipCallback},oMc=function(a,b){if(a.anchor)throw Error("rf");a.anchor=b;lMc(a);mMc(a);nMc(a)},pMc=function(a){a.eventHandler.removeAll();a.anchor&&(a.hideTooltip(),a.hideCallback=void 0,a.showCallback=void 0,a.hideTimeout=void 0,a.showTimeout=void 0,a.displayed=!1,a.anchor=void 0)},qMc=function(a){jMc(a);AW(a);a.showTimeout=setTimeout(function(){a.showTooltip()},a.showDelayMs)},rMc=function(a){jMc(a);AW(a);a.hideTimeout=
setTimeout(function(){a.hideTooltip()},a.hideDelayMs)},lMc=function(a){if(!a.anchor)throw Error("sf");a.eventHandler.listen(a.anchor,"mouseover",function(){a.isDisplayed()?a.showTooltip():qMc(a)});a.eventHandler.listen(a.anchor,"touchstart",function(){qMc(a)});a.eventHandler.listen(a.anchor,"focusin",function(b){a.tooltip.contains(b.relatedTarget)||qMc(a)});a.eventHandler.listen(a.anchor,"touchend",function(){AW(a)});a.eventHandler.listen(a.anchor,"touchcancel",function(){AW(a)});a.eventHandler.listen(a.anchor,
"mouseout",function(){rMc(a)});a.eventHandler.listen(a.anchor,"focusout",function(){a.hideTooltip()})},mMc=function(a){a.eventHandler.listen(a.tooltip,"mouseover",function(){qMc(a)});a.eventHandler.listen(a.tooltip,"mouseout",function(){rMc(a)});a.eventHandler.listen(a.tooltip,"focusout",function(b){b=b.relatedTarget;var c,d=!((c=a.anchor)==null||!c.contains(b));a.tooltip.contains(b)||d||a.hideTooltip()})},nMc=function(a){a.eventHandler.listen(window,"touchmove",function(){rMc(a)});a.eventHandler.listen(window,
"focus",function(b){b.target!==a.anchor&&rMc(a)});a.eventHandler.listen(window,"blur",function(b){b.target===window&&a.hideTooltip()});a.eventHandler.listen(window,"keydown",function(b){b.key==="Escape"&&a.hideTooltip()})},AW=function(a){clearTimeout(a.showTimeout);a.showTimeout=void 0},jMc=function(a){clearTimeout(a.hideTimeout);a.hideTimeout=void 0};var g8a=function(a,b){this.tooltip=a;this.tooltipEventTracker=b;this.popupService=e8a(this.tooltip,{anchorCorner:3,popupCorner:2})},b9a=function(a,b){oMc(a.tooltipEventTracker,b);kMc(a.tooltipEventTracker,{showTooltipCallback:function(){a.showTooltipCallback()},hideTooltipCallback:function(){a.hideTooltipCallback()}})};g=g8a.prototype;g.showTooltip=function(){this.tooltipEventTracker.showTooltip()};g.hideTooltip=function(){this.tooltipEventTracker.hideTooltip()};g.getRoot=function(){return this.tooltip};
g.isDisplayed=function(){return this.tooltipEventTracker.isDisplayed()};g.showTooltipCallback=function(){this.popupService.show(this.tooltipEventTracker.getAnchorElement())};g.hideTooltipCallback=function(){this.popupService.hide()};var f8a=function(a){var b=a.label,c=a.ariaLabel,d=a.classes,e=a.attributes;return hs('<div id="'+is(a.id)+'" peoplekit-id="'+is("suEOdc")+'" class="'+is("peoplekitComponentsTooltipImplTooltip")+(d?" "+is(d):"")+'" style="display: none;" aria-hidden="true"'+(c?' aria-label="'+is(c)+'"':"")+(CJ(e)?Mmc(BJ(e,wmc)?e.getContent():Vmc(e)):"")+">"+Rs(b)+"</div>")};var Vr=function(a,b,c){this.delegate=a;var d=a.getRoot();/-[a-z]/.test("hovercardId")||(XLc&&d.dataset?(/-[a-z]/.test("hovercardId")?0:XLc&&d.dataset?"hovercardId"in d.dataset:d.hasAttribute?d.hasAttribute("data-"+t_b("hovercardId")):d.getAttribute("data-"+t_b("hovercardId")))&&delete d.dataset.hovercardId:d.removeAttribute("data-"+t_b("hovercardId")));d="tt-"+a.getSelection().id().toString();this.tooltip=h8a(a.getRoot(),d,{label:b,ariaLabel:c});b9a(this.tooltip,a.getRoot())};Y(Vr,zW);
Vr.prototype.dispose=function(){pMc(this.tooltip.tooltipEventTracker);zW.prototype.dispose.call(this)};Vr.prototype.spotlight=function(){zW.prototype.spotlight.call(this);this.tooltip.showTooltip()};Vr.prototype.unspotlight=function(){zW.prototype.unspotlight.call(this);this.tooltip.hideTooltip()};Vr.prototype.drag=function(){zW.prototype.drag.call(this);this.tooltip.hideTooltip()};var H8a=function(a){this.root=a;this.length=0;a=this.root;if(a.firstElementChild!==void 0)a=a.firstElementChild;else for(a=a.firstChild;a&&a.nodeType!=1;)a=a.nextSibling;this.marker=a};g=H8a.prototype;g.append=function(a){this.root.insertBefore(a,this.marker);++this.length};g.insert=function(a,b){if(a<0||a>this.length)throw new RangeError("tf");a===this.length?this.append(b):(this.root.insertBefore(b,this.root.childNodes[a]),++this.length)};
g.remove=function(a){if(a<0||a>=this.length)throw new RangeError("tf");this.removeItem(this.root.childNodes[a])};g.removeItem=function(a){try{this.root.removeChild(a),--this.length}catch(b){}};g.clear=function(){for(;this.root.firstChild&&this.root.firstChild!==this.marker;)this.root.removeChild(this.root.firstChild);this.length=0};g.getRoot=function(){return this.root};g.getItems=function(){return Array.from(this.root.childNodes)};var sMc=function(a,b,c,d){this.loggingToken=d;this.lookupWithOverride=Fab((new Us(a)).setDisplayName(b),c)};sMc.prototype.getLoggingToken=function(){return this.loggingToken};var tMc=function(){};tMc.prototype.getDisplayNameMatches=function(){return[]};tMc.prototype.getDisplayValueMatches=function(){return[]};tMc.prototype.getGivenNameMatches=function(){return[]};var uMc=new tMc;var k8a=function(a,b,c){this.resultType_=a;this.targets_=b;this.memberCount_=c};g=k8a.prototype;g.getResultType=function(){return this.resultType_};g.getTargetList=function(){return this.targets_};g.getMemberList=function(){return[]};g.getTotalMemberCount=function(){return this.memberCount_};g.getPrimaryTarget=function(){throw Error("vf");};g.getDisplayName=function(){return""};g.getDisplayValue=function(){return""};g.getDescription=function(){return""};g.getPhotoUrl=function(){return""};
g.getIsBoosted=function(){return!1};g.getMatchInfo=function(){return uMc};g.getExtendedData=function(){return null};var vMc=new Map([[1,1],[2,1],[3,1],[4,1],[5,2],[6,1],[7,1],[8,1],[9,3],[10,5],[11,6],[12,4],[13,4],[14,4],[15,4],[16,4],[17,1],[18,7],[19,7]]);var ht=function(){this.url_="";this.sourceType_=this.type_=0;this.glyph_=""};g=ht.prototype;g.getUrl=function(){return this.url_};g.setUrl=function(a){this.url_=a||"";return this};g.getType=function(){return this.type_};g.setType=function(a){this.type_=a;return this};g.getSourceType=function(){return this.sourceType_};g.setSourceType=function(a){this.sourceType_=a||0;return this};g.getGlyph=function(){return this.glyph_};g.setGlyph=function(a){this.glyph_=a||"";return this};
var wMc=(new ht).setType(1).setUrl("https://lh3.googleusercontent.com/a/default-user"),xMc=new ht;var yMc=function(a){this.id_=a;this.value_=this.id_.getOriginalValue();this.description_=this.canonicalValue_="";this.name_=null;this.photo_=et(this.id_)?xMc:wMc;this.tags_=[];this.sourceIds_=zbb.includes(this.id_.getType())?[this.id_]:[];this.id_.getType()===8&&this.sourceIds_.push(wbb(this.id_.getOriginalValue()));this.isMe_=this.id_.getType()===17;this.dataSource_=0;this.resultType_=vMc.get(this.id_.getType())||0;this.personLoggingId_=this.fieldLoggingId_="";this.orgState_=0;this.extendedData_=
this.reachabilityInfo_=this.originatingField_=this.emailSecurityInfo_=null};g=yMc.prototype;g.getId=function(){return this.id_};g.getTargetType=function(){return this.id_.getType()};g.getValue=function(){return this.value_};g.setValue=function(a){this.value_=Wr(a);return this};g.getDisplayValue=function(){switch(this.getTargetType()){case 8:var a=this.getOriginatingField();return Wr(a&&a.getValue());case 1:case 2:case 6:case 7:return this.getValue();default:return""}};
g.getCanonicalValue=function(){return this.canonicalValue_||this.value_};g.setCanonicalValue=function(a){this.canonicalValue_=Wr(a);return this};g.getName=function(){return this.name_};g.setName=function(a){this.name_=a;return this};g.getDescription=function(){return this.description_};g.setDescription=function(a){this.description_=Wr(a);return this};g.getPhoto=function(){return this.photo_};g.setPhoto=function(a){a&&a.getUrl()&&a.getType()!==1?this.photo_=a:this.photo_=et(this.id_)?xMc:wMc};
g.getTagList=function(){return this.tags_};g.setTagList=function(a){this.tags_=a||[]};g.getSourceIdList=function(){return this.sourceIds_};g.getProfileId=function(){return this.getSourceIdList().filter(function(a){return a.getType()===3}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};g.getContactId=function(){return this.getSourceIdList().filter(function(a){return a.getType()===4}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};g.getLoggingToken=function(){return new Ft};
g.getIsMe=function(){return this.isMe_};g.setIsMe=function(a){this.isMe_=a;return this};g.getDataSource=function(){return this.dataSource_};g.setDataSource=function(a){this.dataSource_=a;return this};g.getResultType=function(){return this.resultType_};g.setResultType=function(a){this.resultType_=a;return this};g.getFieldLoggingId=function(){return this.fieldLoggingId_};g.setFieldLoggingId=function(a){this.fieldLoggingId_=Wr(a)};g.getPersonLoggingId=function(){return this.personLoggingId_};
g.setPersonLoggingId=function(a){this.personLoggingId_=Wr(a)};g.getOrgState=function(){return this.orgState_};g.setOrgState=function(a){this.orgState_=a};g.getOriginatingField=function(){return this.originatingField_};var pcb=function(a,b){a.originatingField_=b;return a};g=yMc.prototype;g.getEmailSecurityInfo=function(){return this.emailSecurityInfo_};g.setEmailSecurityInfo=function(a){this.emailSecurityInfo_=a};g.getReachabilityInfo=function(){return this.reachabilityInfo_};
g.setReachabilityInfo=function(a){this.reachabilityInfo_=a};g.getExtendedData=function(){return this.extendedData_};g.setExtendedData=function(a){this.extendedData_=a};var gt=function(a){return new yMc(a)};var m8a=function(a,b,c,d){this.internalId=a;this.displayNameOverride=b;this.forceDisplayNameOverride=c;a=gt(this.internalId).setDataSource(3);this.internalResult=new Eq(l8a(0,[a]));this.internalSelectionToken=new sMc(this.internalId,this.displayNameOverride,this.forceDisplayNameOverride,d)};g=m8a.prototype;g.id=function(){return this.internalId};g.selectionToken=function(){return this.internalSelectionToken};g.targets=function(){return this.internalResult.getTargetList()};g.result=function(){return this.internalResult};
g.getDisplayNameOverride=function(){return this.displayNameOverride};g.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};g.getDisplayNameWithOverrideApplied=function(){return this.displayNameOverride};g.isPlaceholder=function(){return!0};var v8a=function(a,b){this.root=a;this.options=b};g=v8a.prototype;g.activate=function(){this.root.classList.add("isActive")};g.deactivate=function(){this.root.classList.remove("isActive")};g.spotlight=function(){};g.unspotlight=function(){};g.getRoot=function(){return this.root};g.getSelection=function(){return Xr(ybb(this.options.id))};g.toggleSelection=function(){};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};var u8a=function(a){var b=a.iconUrl,c=a.label,d=a.keyboardShortcut,e=a.densityClass,f=a.ariaLabel;a='<div role="menuitem" id="'+is(a.id)+'" peoplekit-id="'+is("UhZROb")+'" class="'+is("peoplekitComponentsContextmenuitemImplMenuItem")+" "+is(e)+'"'+(f?' aria-label="'+is(f)+'"':"")+'><div class="'+is("peoplekitComponentsContextmenuitemImplRow")+'">'+(CJ(b)?'<img class="'+is("peoplekitComponentsContextmenuitemImplIcon")+" "+is("peoplekitComponentsContextmenuitemImplLeft")+'" src="'+is(Rmc(b))+'" draggable="false" alt=""/>':
"")+'<div class="'+is("peoplekitComponentsContextmenuitemImplLabel")+" "+is("peoplekitComponentsContextmenuitemImplCenter")+'">'+Rs(c)+"</div>";d.length>0&&(a+='<div class="'+is("peoplekitComponentsContextmenuitemImplKeyboardShortcut")+" "+is("peoplekitComponentsContextmenuitemImplRight")+'"><span dir="ltr">',a+=Rs(d.join("+"))+"</span></div>");return hs(a+"</div></div>")};var mab=new Map([["pcw-select",3],["pcw-deselect",3],["pcw-click",3],["pcw-input",15]]);var $r=new Map([[0,new Map([["jCCvxc","https://www.gstatic.com/people/peoplekit/icons/light_theme/content_copy_grey700.svg"],["RkeQbd","https://www.gstatic.com/people/peoplekit/icons/light_theme/phone_copy_grey700.svg"],["N1uSwe","https://www.gstatic.com/people/peoplekit/icons/light_theme/email_copy_grey700.svg"],["UkZFS","https://www.gstatic.com/people/peoplekit/icons/light_theme/content_cut_grey700.svg"],["YCRBfe","https://www.gstatic.com/people/peoplekit/icons/light_theme/change_name_grey700.svg"],
["l1309","https://www.gstatic.com/people/peoplekit/icons/light_theme/change_email_address_grey700.svg"],["xTCd3","https://www.gstatic.com/people/peoplekit/icons/light_theme/info_outline_grey700.svg"],["ENOWEf","https://www.gstatic.com/people/peoplekit/icons/light_theme/visibility_off_grey700.svg"]])],[1,new Map([["jCCvxc","https://www.gstatic.com/people/peoplekit/icons/dark_theme/content_copy_grey300.svg"],["RkeQbd","https://www.gstatic.com/people/peoplekit/icons/dark_theme/phone_copy_grey300.svg"],
["N1uSwe","https://www.gstatic.com/people/peoplekit/icons/dark_theme/email_copy_grey300.svg"],["UkZFS","https://www.gstatic.com/people/peoplekit/icons/dark_theme/content_cut_grey300.svg"],["YCRBfe","https://www.gstatic.com/people/peoplekit/icons/dark_theme/change_name_grey300.svg"],["l1309","https://www.gstatic.com/people/peoplekit/icons/dark_theme/change_email_address_grey300.svg"],["xTCd3","https://www.gstatic.com/people/peoplekit/icons/dark_theme/info_outline_grey300.svg"],["ENOWEf","https://www.gstatic.com/people/peoplekit/icons/dark_theme/visibility_off_grey200.svg"]])]]);var cs=function(a,b){this.ariaParent=a;this.delegate=b};g=cs.prototype;g.update=function(){var a=this.getSpotlitItem();a?(a=a.getRoot(),XH(this.ariaParent,a)):XH(this.ariaParent,null)};g.prev=function(a){a=this.delegate.prev(a);this.update();return a};g.next=function(a){a=this.delegate.next(a);this.update();return a};g.size=function(){return this.delegate.size()};g.goToItem=function(a,b){a=this.delegate.goToItem(a,b);this.update();return a};
g.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);this.update();return a};g.activateAll=function(){this.delegate.activateAll()};g.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};g.getActiveItems=function(){return this.delegate.getActiveItems()};g.getItem=function(a){return this.delegate.getItem(a)};g.getIndexOf=function(a){return this.delegate.getIndexOf(a)};g.clear=function(){this.delegate.clear();this.update()};g.reset=function(){this.delegate.reset();this.update()};
g.setSecondaryEventTargets=function(a){this.delegate.setSecondaryEventTargets(a)};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.onContextMenu=function(a,b){var c=this;this.delegate.onContextMenu(a,function(){c.update();b()})};g.remove=function(a,b){this.delegate.remove(a,b);this.update()};g.insert=function(a,b,c){this.delegate.insert(a,b,c);this.update()};var z8a=function(a,b){this.isActive=!1;this.multiActivateAnchorIndex=this.spotlightIndex=-1;this.secondaryEventTargets=[];this.list=[].concat(w(a));this.shouldWrap=!!b.shouldWrap;this.activeItems=new Set([]);this.hideContextMenu=function(){}};g=z8a.prototype;
g.remove=function(a,b){var c=-1;a=k(a);for(var d=a.next();!d.done;d=a.next())d=d.value,c=this.list.indexOf(d),this.list.splice(c,1),this.activeItems.delete(d),b||(c<this.spotlightIndex?--this.spotlightIndex:c===this.spotlightIndex&&this.reset());c>=0&&b&&(this.isActive=!1,this.goToIndex(c,0))};
g.insert=function(a,b,c){this.list.splice.apply(this.list,[a,0].concat(w(b)));c?(zMc(this),AMc(this,a,a+b.length-1),this.spotlightIndex=a,this.list[this.spotlightIndex].spotlight()):a>=0&&a<=this.spotlightIndex&&(this.spotlightIndex+=b.length)};g.size=function(){return this.list.length};
g.prev=function(a){var b=this.spotlightIndex===0&&(!this.shouldWrap||a===1);!this.list.length||b?a=!1:(this.isActive?(b=this.spotlightIndex-1,b=b>=0?b:this.list.length+b):b=this.list.length-1,a=this.goToIndex(b,a));return a};g.next=function(a){var b=this.spotlightIndex===this.list.length-1&&(!this.shouldWrap||a===1);if(!this.list.length||b)a=!1;else{var c;this.isActive?c=(this.spotlightIndex+1)%this.list.length:c=0;a=this.goToIndex(c,a)}return a};
g.goToItem=function(a,b){a=this.list.indexOf(a);return this.goToIndex(a,b)};
g.goToIndex=function(a,b){this.hideContextMenu();if(!this.list.length||a===void 0||a<0)return!1;var c=this.isActive?this.spotlightIndex:-1;this.spotlightIndex=Math.max(Math.min(this.list.length-1,a),0);this.isActive&&this.list[c].unspotlight();this.isActive||(this.multiActivateAnchorIndex=a);this.isActive=!0;switch(b){case 0:zMc(this);BMc(this);break;case 3:BMc(this);break;case 1:a=y8a(this.spotlightIndex,c,this.multiActivateAnchorIndex);b=y8a(this.multiActivateAnchorIndex,c,this.spotlightIndex);
if(c>=0&&(a||b||this.multiActivateAnchorIndex===this.spotlightIndex))for(b=b?this.multiActivateAnchorIndex:this.spotlightIndex,c<b?(a=c,c=b-1):a=b+1;a<=c;a++)b=this.list[a],b.deactivate(),this.activeItems.delete(b);AMc(this,this.multiActivateAnchorIndex,this.spotlightIndex)}this.list[this.spotlightIndex].spotlight();return!0};
g.activateAll=function(){if(!(this.list.length<=0)){var a=this.spotlightIndex>=0?this.spotlightIndex:this.list.length-1;zMc(this);for(var b=k(this.list),c=b.next();!c.done;c=b.next())c=c.value,c.activate(),this.activeItems.add(c);this.goToIndex(a,2)}};g.getSpotlitItem=function(){return this.isActive?this.list[this.spotlightIndex]:void 0};g.getActiveItems=function(){var a=this;return this.list.filter(function(b){return a.activeItems.has(b)})};
g.getItem=function(a){for(var b=k(this.list),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.getRoot();if(d===a||d.contains(a))return c}};g.getIndexOf=function(a){return this.list.indexOf(a)};g.clear=function(){this.reset();this.list.length=0};g.reset=function(){this.hideContextMenu();zMc(this);var a=this.getSpotlitItem();a&&a.unspotlight();this.spotlightIndex=-1;this.isActive=!1};g.setSecondaryEventTargets=function(a){this.secondaryEventTargets=a};
g.onKeyDown=function(a){var b=[this.getSpotlitItem()].concat(w(this.secondaryEventTargets));b=k(b);for(var c=b.next();!c.done;c=b.next()){var d=void 0;(d=c.value)==null||d.onKeyDown(a);if(a.hasStoppedPropagationInternal)break}};g.onContextMenu=function(a,b){this.hideContextMenu();var c=a.event;if(c=c.target===c.currentTarget?this.getSpotlitItem():this.getItem(c.target))this.hideContextMenu=c.onContextMenu(a,b)};
var BMc=function(a){var b=a.list[a.spotlightIndex];a.activeItems.has(b)?(b.deactivate(),a.activeItems.delete(b)):(b.activate(),a.activeItems.add(b));a.multiActivateAnchorIndex=a.spotlightIndex},zMc=function(a){for(var b=k(a.activeItems),c=b.next();!c.done;c=b.next())c=c.value,c.deactivate(),c.unspotlight();a.activeItems.clear()},AMc=function(a,b,c){var d=Math.max(b,c)+1;for(b=Math.min(b,c);b<d;b++)c=a.list[b],c.activate(),a.activeItems.add(c)};var B8a=function(a){this.event=a;this.hasStoppedPropagationInternal=!1};B8a.prototype.stopPropagation=function(){this.event.stopPropagation();this.hasStoppedPropagationInternal=!0};B8a.prototype.preventDefault=function(){this.event.preventDefault()};var C8a=function(a,b){this.input=this.navigatable=null;this.prevKeyCode=a.getPrevKeyCode();this.nextKeyCode=a.getNextKeyCode();this.navigatePastEndCallback=a.navigatePastEnd||function(){};this.options=Object.assign({},{shouldReactToHomeEnd:!0},b);this.eventHandler=Mr(this)};g=C8a.prototype;
g.attach=function(a,b){var c=this;this.detach();this.navigatable=b;this.input=a;this.eventHandler.listen(this.input,"keydown",function(d){return c.onKeyDown(ds(d))});this.eventHandler.listen(this.input,"contextmenu",function(d){return c.onContextMenu(ds(d))});this.eventHandler.listen(this.input,"blur",function(d){return c.onBlur(d)})};g.detach=function(){this.eventHandler.removeAll();this.navigatable=this.input=null};
g.onKeyDown=function(a){if(this.navigatable&&(this.navigatable.onKeyDown(a),!a.hasStoppedPropagationInternal))switch(a.event.keyCode){case this.nextKeyCode:this.navigatable.next(0)||this.navigatePastEndCallback();a.stopPropagation();a.preventDefault();break;case this.prevKeyCode:this.navigatable.prev(0);a.stopPropagation();a.preventDefault();break;case 36:if(!this.options.shouldReactToHomeEnd)break;this.navigatable.goToIndex(0,0);a.stopPropagation();a.preventDefault();break;case 35:this.options.shouldReactToHomeEnd&&
(this.navigatable.goToIndex(this.navigatable.size()-1,0),a.stopPropagation(),a.preventDefault())}};g.onClick=function(a,b){if(!this.navigatable)return!1;this.navigatable.goToItem(a,0);b.stopPropagation();return!0};g.onContextMenu=function(a){if(this.navigatable)this.navigatable.onContextMenu(a,function(){})};g.reset=function(){this.navigatable&&this.navigatable.reset()};g.onBlur=function(){this.reset()};var CMc=new cG;CMc.altKey=!0;CMc.keyCode=39;(new cG).keyCode=13;var DMc=function(){PF.call(this)};Y(DMc,PF);DMc.prototype.init=function(){};new DMc;var EMc=ya.URL,FMc;try{new EMc("http://example.com"),FMc=!0}catch(a){FMc=!1}
var GMc=FMc,HMc=function(a){var b=function(c){return encodeURIComponent(c).replace(/[!()~']|(%20)/g,function(d){return{"!":"%21","(":"%28",")":"%29","%20":"+","'":"%27","~":"%7E"}[d]})};return Array.from(a,function(c){return b(c[0])+"="+b(c[1])}).join("&")},JMc=function(a){var b=or(document,"A");try{Nea(b,new Kc(a));var c=b.protocol}catch(e){throw Error("zf`"+a);}if(c===""||c===":"||c[c.length-1]!=":")throw Error("zf`"+a);if(!IMc.has(c))throw Error("zf`"+a);if(!b.hostname)throw Error("zf`"+a);var d=
b.href;a={href:d,protocol:b.protocol,username:"",password:"",hostname:b.hostname,pathname:"/"+b.pathname,search:b.search,hash:b.hash,toString:function(){return d}};IMc.get(b.protocol)===b.port?(a.host=a.hostname,a.port="",a.origin=a.protocol+"//"+a.hostname):(a.host=b.host,a.port=b.port,a.origin=a.protocol+"//"+a.hostname+":"+a.port);return a},KMc=function(a){if(GMc){try{var b=new EMc(a)}catch(d){throw Error("zf`"+a);}var c=IMc.get(b.protocol);if(!c)throw Error("zf`"+a);if(!b.hostname)throw Error("zf`"+
a);b.origin=="null"&&(a={href:b.href,protocol:b.protocol,username:"",password:"",host:b.host,port:b.port,hostname:b.hostname,pathname:b.pathname,search:b.search,hash:b.hash},a.origin=c===b.port?b.protocol+"//"+b.hostname:b.protocol+"//"+b.hostname+":"+b.port,b=a)}else b=JMc(a);return b},IMc=new Map([["http:","80"],["https:","443"],["ws:","80"],["wss:","443"],["ftp:","21"]]),LMc=function(a){var b=KMc("https://contacts.google.com"),c={};b&&(c.protocol=b.protocol,c.username=b.username,c.password=b.password,
c.hostname=b.hostname,c.port=b.port,c.pathname=b.pathname,c.search=b.search,c.hash=b.hash);Object.assign(c,a);if(c.port&&c.port[0]===":")throw Error("Af");c.hash&&c.hash[0]!="#"&&(c.hash="#"+c.hash);a.search?a.search[0]!="?"&&(c.search="?"+a.search):a.searchParams&&(c.search="?"+HMc(a.searchParams),c.searchParams=void 0);a="";c.protocol&&(a+=c.protocol+"//");b=c.username;var d=c.password;a=a+(b&&d?b+":"+d+"@":b?b+"@":d?":"+d+"@":"")+(c.hostname||"");c.port&&(a+=":"+c.port);a+=c.pathname||"";a+=c.search||
"";a+=c.hash||"";return KMc(a)};var es=function(a,b,c,d,e){this.root=a;this.anchor=b;this.container=d;this.appearanceConfig=e;this.popup=e8a(this.root,{});this.navigatable=x8a(c,A8a([],{shouldWrap:!0}));this.navigationEventHandler=D8a({getPrevKeyCode:function(){return 38},getNextKeyCode:function(){return 40}},{});this.itemSelectedCallbacks=new Set;this.beforeShowCallbacks=new Set;this.afterHideCallbacks=new Set;this.contextMenuItemOptions=new Map;this.eventHandler=Mr(this);this.eventHandler.listen(this.root,"mouseover",function(f){f.stopPropagation()});
this.eventHandler.listen(this.root,"mouseout",function(f){f.stopPropagation()});this.eventHandler.listen(this.root,"mouseenter",function(f){f.stopPropagation()});this.hide()};
es.prototype.append=function(a){var b=this;this.contextMenuItemOptions.set(a.id,a);var c=w8a(a,this.appearanceConfig);this.container.append(c.getRoot());this.eventHandler.listen(c.getRoot(),"click",function(d){if(d.currentTarget){var e=d.currentTarget;e.dispatchEvent(Zr(e))}d.stopPropagation();MMc(b,a);b.hide()});this.navigatable.insert(this.navigatable.size(),[c],!1)};
es.prototype.show=function(){for(var a=k(this.beforeShowCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b();this.popup.show(this.anchor);this.navigationEventHandler.attach(this.root,this.navigatable);this.navigatable.next(0)};es.prototype.hide=function(){this.popup.hide();this.navigatable.reset();this.navigationEventHandler.detach();for(var a=k(this.afterHideCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b()};
es.prototype.onKeyDown=function(a){this.navigationEventHandler.onKeyDown(a);switch(a.event.keyCode){case 27:this.hide();a.stopPropagation();break;case 13:var b=this.navigatable.getSpotlitItem();if(b){var c=b.getRoot();c.dispatchEvent(Zr(c));b=b.getSelection().id().getValue();b=this.contextMenuItemOptions.get(b);MMc(this,b);this.hide();a.stopPropagation();a.preventDefault()}}};
var NMc=function(a,b){a.itemSelectedCallbacks.add(b)},OMc=function(a,b){a.afterHideCallbacks.add(b)},MMc=function(a,b){a=k(a.itemSelectedCallbacks.values());for(var c=a.next();!c.done;c=a.next())c=c.value,c(b)};es.prototype.dispose=function(){this.popup.dispose();this.container.clear();this.navigatable.clear();this.eventHandler.removeAll();this.itemSelectedCallbacks.clear();this.root.parentNode&&this.root.parentNode.removeChild(this.root)};var G8a=function(){return hs('<div peoplekit-id="'+is("xl07Ob")+'" class="'+is("peoplekitComponentsContextmenuImplMenu")+'" role="menu"></div>')};var K8a=function(a){var b=this;this.root=a;this.internalIsDisabled=!1;this.eventHandler=Mr(this);this.eventHandler.listen(this.root,"click",function(c){var d;(d=b.onClick)==null||d.call(b,c)})};g=K8a.prototype;g.getRoot=function(){return this.root};g.enable=function(){this.root.classList.remove("isDisabled");this.root.disabled=!1;this.root.setAttribute("aria-disabled","false");this.internalIsDisabled=!1};
g.disable=function(){this.root.classList.add("isDisabled");this.root.disabled=!0;this.root.setAttribute("aria-disabled","true");this.internalIsDisabled=!0};g.isDisabled=function(){return this.internalIsDisabled};g.dispose=function(){this.eventHandler.removeAll();this.onClick=void 0};var J8a=function(a){a=a.label;return hs('<button class="'+is("peoplekitComponentsButtonLabelLabelButton")+'">'+Rs(a)+"</button>")};var P8a=function(a,b,c){var d=this;this.root=a;this.actionListeners=[];this.eventHandler=Mr(this);this.actionButtons=new Map;this.actionButtons.set(0,b);this.actionButtons.set(1,c);b.onClick=function(){return d.onButtonClick(0)};c.onClick=function(){d.onButtonClick(1)};this.dialog=Fr(this.root,"Sx9Kwc");this.startFocusableElement=Fr(this.root,"tYwGbe");this.endFocusableElement=Fr(this.root,"dYgZK");this.eventHandler.listen(this.root,"click",function(){return d.onScrimClick()});this.eventHandler.listen(this.dialog,
"click",function(e){return d.onDialogClick(e)});this.eventHandler.listen(this.dialog,"keydown",function(e){return d.onDialogKeyDown(e)});this.eventHandler.listen(this.startFocusableElement,"focus",function(){return d.onStartFocusableElementFocus()});this.eventHandler.listen(this.endFocusableElement,"focus",function(){return d.onEndFocusableElementFocus()});this.focusFirstFocusableElement()};g=P8a.prototype;g.subscribeToAction=function(a){this.actionListeners.push(a)};
g.dispatchAction=function(a){var b=this.actionButtons.get(a);if(b&&!b.isDisabled()){for(var c=k(this.actionListeners),d=c.next();!d.done;d=c.next())d=d.value,d(a);a=b.getRoot();a.dispatchEvent(Zr(a))}};g.disableAction=function(a){(a=this.actionButtons.get(a))&&a.disable()};g.enableAction=function(a){(a=this.actionButtons.get(a))&&a.enable()};g.getRoot=function(){return this.root};g.onDialogClick=function(a){a.stopPropagation()};
g.onDialogKeyDown=function(a){a.keyCode===27&&(this.dispatchAction(0),a.stopPropagation())};g.onStartFocusableElementFocus=function(){this.focusLastFocusableElement()};g.onEndFocusableElementFocus=function(){this.focusFirstFocusableElement()};g.focusFirstFocusableElement=function(){var a=s7a(this.dialog);a.length&&a[0].focus()};g.focusLastFocusableElement=function(){var a=s7a(this.dialog);a.length&&a[a.length-1].focus()};g.onScrimClick=function(){this.dispatchAction(0)};g.onButtonClick=function(a){this.dispatchAction(a)};
g.dispose=function(){this.eventHandler.removeAll();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.actionListeners.length=0;for(var a=k(this.actionButtons.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.actionButtons.clear()};var O8a=function(a){var b=a.content,c=a.header;a=a.confirmAction;return hs('<div peoplekit-id="'+is("GGAcbc")+'" class="'+is("peoplekitComponentsDialogImplScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+is("tYwGbe")+'" tabindex="0" role="application"></div><div peoplekit-id="'+is("Sx9Kwc")+'" class="'+is("peoplekitComponentsDialogImplDialog")+'" tabindex="-1" role="dialog">'+(CJ(c)?Rs(c):"")+'<div class="'+is("peoplekitComponentsDialogImplContent")+'">'+Rs(b)+'</div><div class="'+
is("peoplekitComponentsDialogImplActions")+'">'+hs(PMc("IbE0S"))+(a?hs('<div class="'+is("peoplekitComponentsDialogImplActionDivider")+'"></div>')+hs(PMc("McfNlf")):"")+'</div></div><div peoplekit-id="'+is("dYgZK")+'" tabindex="0" role="application"></div></div>')},PMc=function(a){return hs('<div peoplekit-id="'+is(a)+'"></div>')},X8a=function(a){var b=a.hovercardId,c=a.name,d=a.label,e=a.sublabel;a=hs;b='<div peoplekit-id="'+is("tJHJj")+'" class="'+is("peoplekitComponentsDialogImplAvatarHeader")+
'" data-hovercard-id="'+is(b)+'" data-name="'+is(c)+'"><div class="'+is("peoplekitComponentsDialogImplHeaderRow")+'"><div class="'+is("peoplekitComponentsDialogImplLeft")+'">'+hs('<div class="'+is("peoplekitComponentsDialogImplAvatar")+'"><div class="'+is("peoplekitComponentsDialogImplAvatarContainer")+'" peoplekit-id="'+is("d6MZcd")+'"></div></div>')+'</div><div class="'+is("peoplekitComponentsDialogImplCenter")+'">';d=hs('<div class="'+is("peoplekitComponentsDialogImplLabelContainer")+'"><div peoplekit-id="'+
is("E0kCZc")+'" class="'+is("peoplekitComponentsDialogImplLabel")+" "+is("peoplekitComponentsDialogImplLabelRow")+'" translate="no">'+Rs(DJ(d))+"</div>"+(e?'<div class="'+is("peoplekitComponentsDialogImplSublabel")+" "+is("peoplekitComponentsDialogImplLabelRow")+'" translate="no">'+Rs(DJ(e))+"</div>":"")+"</div>");return a(b+d+"</div></div></div>")},T8a=function(a){a=a.header;return hs('<div class="'+is("peoplekitComponentsDialogImplTextHeader")+'">'+Rs(a)+"</div>")};var R8a=function(a,b){var c=this;this.root=a;this.closeButton=b;this.actionListeners=[];this.eventHandler=Mr(this);this.dialog=Fr(this.root,"Sx9Kwc");this.startFocusableElement=Fr(this.root,"tYwGbe");this.endFocusableElement=Fr(this.root,"dYgZK");b.onClick=function(){c.dispatchAction(2)};this.eventHandler.listen(this.root,"click",function(){c.onScrimClick()});this.eventHandler.listen(this.dialog,"click",function(d){c.onDialogClick(d)});this.eventHandler.listen(this.dialog,"keydown",function(d){c.onDialogKeyDown(d)});
this.eventHandler.listen(this.startFocusableElement,"focus",function(){c.onStartFocusableElementFocus()});this.eventHandler.listen(this.endFocusableElement,"focus",function(){c.onEndFocusableElementFocus()});this.focusFirstFocusableElement()};g=R8a.prototype;g.subscribeToAction=function(a){this.actionListeners.push(a)};g.dispatchAction=function(a){if(!this.closeButton.isDisabled()&&a===2)for(var b=k(this.actionListeners),c=b.next();!c.done;c=b.next())c=c.value,c(a)};g.disableAction=function(){this.closeButton.disable()};
g.enableAction=function(){this.closeButton.enable()};g.getRoot=function(){return this.root};g.dispose=function(){this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.eventHandler.removeAll();this.actionListeners.length=0;this.closeButton.dispose()};g.onDialogClick=function(a){a.stopPropagation()};g.onDialogKeyDown=function(a){a.keyCode===27&&(this.dispatchAction(2),a.stopPropagation())};g.onStartFocusableElementFocus=function(){this.focusLastFocusableElement()};
g.onEndFocusableElementFocus=function(){this.focusFirstFocusableElement()};g.focusFirstFocusableElement=function(){var a=s7a(this.dialog);a.length&&a[0].focus()};g.focusLastFocusableElement=function(){var a=s7a(this.dialog);a.length&&a[a.length-1].focus()};g.onScrimClick=function(){this.dispatchAction(2)};var M8a=new Map([[0,"peoplekitStyleLegacy"],[1,"peopleKitStyleGm3"]]);var N8a=new Map([[0,"peoplekitThemeLight"],[1,"peoplekitThemeDark"]]);var Y8a=function(a){this.dialog=a};g=Y8a.prototype;g.subscribeToAction=function(a){this.dialog.subscribeToAction(a)};g.dispatchAction=function(a){this.dialog.dispatchAction(a)};g.enableAction=function(a){this.dialog.enableAction(a)};g.disableAction=function(a){this.dialog.disableAction(a)};g.getRoot=function(){return this.dialog.getRoot()};g.dispose=function(){this.dialog.dispose()};var BW=function(a){this.delegate=a};g=BW.prototype;g.getAllIds=function(){return this.delegate.getAllIds()};g.toggleSelection=function(){this.delegate.toggleSelection()};g.activate=function(){this.delegate.activate()};g.deactivate=function(){this.delegate.deactivate()};g.spotlight=function(){this.delegate.spotlight()};g.unspotlight=function(){this.delegate.unspotlight()};g.getRoot=function(){return this.delegate.getRoot()};g.getSelection=function(){return this.delegate.getSelection()};
g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.onContextMenu=function(a,b){return this.delegate.onContextMenu(a,b)};g.updateWaldo=function(a,b){this.delegate.updateWaldo(a,b)};g.updateHubAvailabilityDot=function(a,b){this.delegate.updateHubAvailabilityDot(a,b)};g.getSupportedIntelligenceFeatures=function(){return this.delegate.getSupportedIntelligenceFeatures()};g.initializeIntelligence=function(){this.delegate.initializeIntelligence()};g.addTag=function(a){this.delegate.addTag(a)};
g.setMetaIcon=function(a){this.delegate.setMetaIcon(a)};g.dispose=function(){this.delegate.dispose()};var ks=function(a,b,c,d,e){this.delegate=a;var f=this;this.appearanceConfig=b;this.clientConfig=c;this.result=d;this.ariaParent=e;this.groupMembers=this.result.getMemberList();this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher;this.contextMenuContainer=Fr(a.getRoot(),"QL45qe");this.eventHandler=Mr(this);this.eventHandler.listen(document,"click",function(h){f.contextMenuContainer.contains(h.target)||f.disposeContextMenu()});this.eventHandler.listen(document,"keydown",function(h){if(f.contextMenu)f.contextMenu.onKeyDown(ds(h))})};
Y(ks,BW);ks.prototype.onKeyDown=function(a){if(this.contextMenu)this.contextMenu.onKeyDown(a);else BW.prototype.onKeyDown.call(this,a)};
ks.prototype.onContextMenu=function(a,b){var c=this;a.stopPropagation();a.preventDefault();this.activate();this.contextMenu&&this.disposeContextMenu();this.contextMenu=I8a(this.contextMenuContainer,this.getRoot(),this.ariaParent,this.appearanceConfig);a=this.appearanceConfig.getTheme();this.contextMenu.append(s8a(a));NMc(this.contextMenu,function(d){c.onContextMenuItemSelected(d)});OMc(this.contextMenu,function(){c.disposeContextMenu();b()});this.contextMenu.show();return function(){c.disposeContextMenu()}};
ks.prototype.dispose=function(){this.eventHandler.removeAll();BW.prototype.dispose.call(this)};ks.prototype.onContextMenuItemSelected=function(a){switch(a.id){case "ENOWEf":this.groupMembers.length<2?QMc(this):RMc(this);break;default:throw Error("Bf`"+a.id);}this.disposeContextMenu()};
var QMc=function(a){SMc(a);a.dispatcher.notify(8);a.hideConfirmationDialog=Z8a(t7a(a.getRoot()),a.getSelection(),a.appearanceConfig,0);a.hideConfirmationDialog.subscribeToAction(function(b){b===1&&(b=a.getAllIds(),a.groupMembers.length===1&&(b=[a.groupMembers[0].getPrimaryTarget().getId()]),a.dispatcher.notify(1,b));SMc(a)})},SMc=function(a){var b;(b=a.hideConfirmationDialog)==null||b.dispose();a.hideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())},RMc=function(a){TMc(a);a.dispatcher.notify(8);
a.hideGroupErrorDialog=V8a(a.getRoot().ownerDocument.body,a.appearanceConfig);a.hideGroupErrorDialog.subscribeToAction(function(){TMc(a)})},TMc=function(a){var b;(b=a.hideGroupErrorDialog)==null||b.dispose();a.hideGroupErrorDialog=void 0;a.dispatcher.notify(9,a.getRoot())};ks.prototype.disposeContextMenu=function(){var a;(a=this.contextMenu)==null||a.dispose();this.contextMenu=void 0;this.dispatcher.notify(7,this.getRoot())};var js=new wW({coreTypeOrder:[1,3,2,0],decoratorTypeOrder:[0,1,2],extractor:function(a){return a},getCompatibleTypes:function(a){return a===0||a===2||a===3?new Set([0,1,2]):new Set}});var Vbb=function(a){this.internalArray_=m(a)};Y(Vbb,V);var Wbb=new Bw(417869137,Vbb);var ls=function(){};ls.prototype.filterResult=function(a){var b,c;return((b=a.getExtendedData())==null?void 0:(c=b.getExtension(Wbb))==null?void 0:Bt(c,1))===1?a:null};ls.prototype.reset=function(){};var UMc=function(a){return"To unhide this suggestion, press "+a.shortcutKey+" + Enter.  "};var c9a=function(a,b,c,d,e,f){var h=this;this.root=a;this.enabledIcon=b;this.disabledIcon=c;this.tooltip=d;this.disableDomNavigation=e;this.internalIsDisabled=!1;this.eventHandler=Mr(this);this.onClick=f;this.eventHandler.listen(this.root,"click",function(l){var q;(q=h.onClick)==null||q.call(h,l)});this.disableDomNavigation?this.root.tabIndex=-1:(this.eventHandler.listen(this.root,"focus",function(){h.activate()}),this.eventHandler.listen(this.root,"blur",function(){h.deactivate()}))};g=c9a.prototype;
g.getRoot=function(){return this.root};g.enable=function(){this.root.disabled=!1;var a=this.root.querySelector("img");a&&(a.src=this.enabledIcon);this.internalIsDisabled=!1};g.disable=function(){this.root.disabled=!0;var a=this.root.querySelector("img");a&&this.disabledIcon&&(a.src=this.disabledIcon);this.internalIsDisabled=!0};g.isDisabled=function(){return this.internalIsDisabled};g.dispose=function(){this.eventHandler.removeAll();this.onClick=void 0;this.tooltip&&pMc(this.tooltip.tooltipEventTracker)};
g.activate=function(){this.root.classList.add("isFocused");this.tooltip&&this.tooltip.showTooltip()};g.deactivate=function(){this.root.classList.remove("isFocused");this.tooltip&&this.tooltip.hideTooltip()};g.isActive=function(){return this.root.classList.contains("isFocused")};var VMc=0;var a9a=function(a){var b=a.icon,c=a.ariaLabel,d="";c=(a=a.tooltipLabel?"tt-c"+VMc++:"")?' data-tooltip-id="'+is(a)+'" aria-labelledby="'+is(a)+'"':c?' aria-label="'+is(c)+'"':"";d+='<button class="'+is("peoplekitComponentsButtonIconIconButton")+'"'+c+">"+hs('<span><img src="'+is(Rmc(b))+'" draggable="false" aria-hidden="true" alt="" class="'+is("peoplekitComponentsButtonIconAdaptableIcon")+'"/></span>')+"</button>";return hs(d)};var e9a=function(a,b,c){this.delegate=a;var d=this;this.secondaryActionConfig=c;for(var e=Fr(a.getRoot(),"QChpEe");e.firstChild;)e.removeChild(e.firstChild);this.secondaryActionButton=d9a(e,Object.assign({},{density:b.getDensity()},c));this.buttonRoot=this.secondaryActionButton.getRoot();this.buttonRoot.style.display="none";this.buttonRoot.id=a.getRoot().id+"-2ab";c.disableDomNavigation&&VH(this.buttonRoot,"menuitem");Yr({element:this.buttonRoot,veid:163534,actions:["impression","pcw-click"],componentId:"peoplekitweb"});
this.secondaryActionButton.onClick=function(f){var h;(h=c.onClick)==null||h.call(c,f);d.buttonRoot.dispatchEvent(Zr(d.buttonRoot))};this.eventHandler=Mr(this);this.eventHandler.listen(a.getRoot(),"mouseover",this.displaySecondaryActionButton);this.eventHandler.listen(a.getRoot(),"mouseleave",this.hideSecondaryActionButton)};Y(e9a,BW);g=e9a.prototype;g.activate=function(){this.getRoot().classList.add("isActive");this.displaySecondaryActionButton()};
g.deactivate=function(){this.getRoot().classList.remove("isActive");this.secondaryActionButton.deactivate();this.hideSecondaryActionButton()};
g.onKeyDown=function(a){var b=a.event.keyCode===13,c=b&&a.event.platformModifierKey;if(this.secondaryActionConfig.disableDomNavigation){var d=a.event.keyCode===9;!d||a.event.shiftKey||this.secondaryActionButton.isActive()?d&&this.secondaryActionButton.isActive()&&(this.secondaryActionButton.deactivate(),WH(this.buttonRoot,"hidden","true"),a.stopPropagation(),a.preventDefault()):(this.secondaryActionButton.activate(),WH(this.buttonRoot,"hidden","false"),a.stopPropagation(),a.preventDefault())}if(c||
b&&this.secondaryActionButton.isActive())this.buttonRoot.click(),a.stopPropagation(),a.preventDefault()};g.dispose=function(){this.eventHandler.removeAll();this.secondaryActionButton.dispose();BW.prototype.dispose.call(this)};g.displaySecondaryActionButton=function(){this.buttonRoot.style.display=""};g.hideSecondaryActionButton=function(){this.getRoot().classList.contains("isActive")||(this.buttonRoot.style.display="none")};var WMc={LIGHT_THEME:"https://www.gstatic.com/people/peoplekit/icons/light_theme/visibility_grey700.svg",DARK_THEME:"https://www.gstatic.com/people/peoplekit/icons/dark_theme/visibility_grey300.svg"},XMc=UMc({shortcutKey:"Ctrl"}),YMc=UMc({shortcutKey:"\u2318"}),g9a=function(a,b,c,d){var e=b.getTheme()===0?WMc.LIGHT_THEME:WMc.DARK_THEME,f=Aba()?YMc:XMc;BW.call(this,f9a(a,b,{icon:e,tooltipLabel:"Unhide suggestion",ariaLabel:f,onClick:function(l){h.onButtonClick(l)},disableDomNavigation:!0},d));var h=
this;this.appearanceConfig=b;this.clientConfig=c;this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher};Y(g9a,BW);g9a.prototype.onButtonClick=function(a){ZMc(this);a.stopPropagation()};
var ZMc=function(a){a.unhideConfirmationDialog&&$Mc(a);a.dispatcher.notify(8);a.unhideConfirmationDialog=Z8a(t7a(a.getRoot()),a.getSelection(),a.appearanceConfig,1);a.unhideConfirmationDialog.subscribeToAction(function(b){b===1&&a.dispatcher.notify(4,a.getAllIds());$Mc(a)})},$Mc=function(a){var b;(b=a.unhideConfirmationDialog)==null||b.dispose();a.unhideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())};var aNc=function(){this.label="";this.type=0};g=aNc.prototype;g.getAutocompleteGroupingType=function(){return this.type};g.setAutocompleteGroupingType=function(a){this.type=a};g.getAutocompleteGroupingLabel=function(){return this.label};g.setAutocompleteGroupingLabel=function(a){this.label=a};g.getAutocompleteCustomGrouping=function(){return this.customGrouping};var bNc=function(){this.warnForExternalSelections=!1;this.decorationConfigRequest=function(){};this.resultCustomizationCallback=function(){return{}}};g=bNc.prototype;g.getAllowResultDeselection=function(){return!1};g.getWarnForExternalSelections=function(){return this.warnForExternalSelections};g.getResultDecorationConfigRequestCallback=function(){return this.decorationConfigRequest};g.getResultCustomizationCallback=function(){return this.resultCustomizationCallback};
g.setResultCustomizationCallback=function(a){this.resultCustomizationCallback=a};var cNc=function(a){this.header="";this.showSuggestions=!1;this.autoActivateFirstSuggestion=!0;this.maxResultsBeforeScroll=7;this.moveAutocompleteAboveAnchorIfOffscreen=!0;this.entryPoint=0;this.noResultsMessage=null;this.autoActivateFirstSearchResult=!0;this.clearSelectionsOnSearch=!1;this.environmentConfig=a;this.grouping=new aNc;this.result=new bNc;this.appearance=new v7a};g=cNc.prototype;g.getEnvironmentConfig=function(){return this.environmentConfig};g.getAutocompleteHeader=function(){return this.header};
g.setAutocompleteHeader=function(a){this.header=a};g.getShowSuggestions=function(){return this.showSuggestions};g.setShowSuggestions=function(a){this.showSuggestions=a};g.getAutocompleteMaxResultsBeforeScroll=function(){return this.maxResultsBeforeScroll};g.setAutocompleteMaxResultsBeforeScroll=function(a){this.maxResultsBeforeScroll=Math.max(Math.min(20,a),3)};g.getMoveAutocompleteAboveAnchorIfOffscreen=function(){return this.moveAutocompleteAboveAnchorIfOffscreen};
g.setMoveAutocompleteAboveAnchorIfOffscreen=function(a){this.moveAutocompleteAboveAnchorIfOffscreen=a};g.getAutoActivateFirstSuggestion=function(){return this.autoActivateFirstSuggestion};g.setAutoActivateFirstSuggestion=function(a){this.autoActivateFirstSuggestion=a};g.getAutoActivateFirstSearchResult=function(){return this.autoActivateFirstSearchResult};g.setAutoActivateFirstSearchResult=function(a){this.autoActivateFirstSearchResult=a};g.setEntryPoint=function(a){this.entryPoint=a};
g.getEntryPoint=function(){return this.entryPoint};g.getNoResultsMessage=function(){return this.noResultsMessage};g.setNoResultsMessage=function(a){this.noResultsMessage=a};g.getUseTabForResultSelection=function(){return!0};g.getClearSelectionsOnSearch=function(){return this.clearSelectionsOnSearch};g.setClearSelectionsOnSearch=function(a){this.clearSelectionsOnSearch=a};g.getAutocompleteGroupingType=function(){return this.grouping.getAutocompleteGroupingType()};g.setAutocompleteGroupingType=function(a){this.grouping.setAutocompleteGroupingType(a)};
g.getAutocompleteGroupingLabel=function(){return this.grouping.getAutocompleteGroupingLabel()};g.setAutocompleteGroupingLabel=function(a){this.grouping.setAutocompleteGroupingLabel(a)};g.getAutocompleteCustomGrouping=function(){return this.grouping.getAutocompleteCustomGrouping()};g.getAllowResultDeselection=function(){return this.result.getAllowResultDeselection()};g.getWarnForExternalSelections=function(){return this.result.getWarnForExternalSelections()};
g.getResultDecorationConfigRequestCallback=function(){return this.result.getResultDecorationConfigRequestCallback()};g.getResultCustomizationCallback=function(){return this.result.getResultCustomizationCallback()};g.setResultCustomizationCallback=function(a){this.result.setResultCustomizationCallback(a)};g.getDensity=function(){return this.appearance.getDensity()};g.setDensity=function(a){this.appearance.setDensity(a)};g.getTheme=function(){return this.appearance.getTheme()};g.setTheme=function(a){this.appearance.setTheme(a)};
g.getStyle=function(){return this.appearance.getStyle()};g.setStyle=function(a){this.appearance.setStyle(a)};var dNc=function(a){this.environmentConfig=a;this.autocomplete=new cNc(a);this.autocomplete.setClearSelectionsOnSearch(!0)};g=dNc.prototype;g.getEnvironmentConfig=function(){return this.environmentConfig};g.getAutocompleteHeader=function(){return this.autocomplete.getAutocompleteHeader()};g.setAutocompleteHeader=function(a){this.autocomplete.setAutocompleteHeader(a)};g.getShowSuggestions=function(){return this.autocomplete.getShowSuggestions()};g.setShowSuggestions=function(a){this.autocomplete.setShowSuggestions(a)};
g.getAutocompleteMaxResultsBeforeScroll=function(){return this.autocomplete.getAutocompleteMaxResultsBeforeScroll()};g.setAutocompleteMaxResultsBeforeScroll=function(a){this.autocomplete.setAutocompleteMaxResultsBeforeScroll(a)};g.getMoveAutocompleteAboveAnchorIfOffscreen=function(){return this.autocomplete.getMoveAutocompleteAboveAnchorIfOffscreen()};g.setMoveAutocompleteAboveAnchorIfOffscreen=function(a){this.autocomplete.setMoveAutocompleteAboveAnchorIfOffscreen(a)};
g.getAutoActivateFirstSuggestion=function(){return this.autocomplete.getAutoActivateFirstSuggestion()};g.setAutoActivateFirstSuggestion=function(a){this.autocomplete.setAutoActivateFirstSuggestion(a)};g.getAutoActivateFirstSearchResult=function(){return this.autocomplete.getAutoActivateFirstSearchResult()};g.setAutoActivateFirstSearchResult=function(a){this.autocomplete.setAutoActivateFirstSearchResult(a)};g.setEntryPoint=function(a){this.autocomplete.setEntryPoint(a)};g.getEntryPoint=function(){return this.autocomplete.getEntryPoint()};
g.getNoResultsMessage=function(){return this.autocomplete.getNoResultsMessage()};g.setNoResultsMessage=function(a){this.autocomplete.setNoResultsMessage(a)};g.getUseTabForResultSelection=function(){return this.autocomplete.getUseTabForResultSelection()};g.getClearSelectionsOnSearch=function(){return this.autocomplete.getClearSelectionsOnSearch()};g.setClearSelectionsOnSearch=function(a){this.autocomplete.setClearSelectionsOnSearch(a)};g.getAutocompleteGroupingType=function(){return this.autocomplete.getAutocompleteGroupingType()};
g.setAutocompleteGroupingType=function(a){this.autocomplete.setAutocompleteGroupingType(a)};g.getAutocompleteGroupingLabel=function(){return this.autocomplete.getAutocompleteGroupingLabel()};g.setAutocompleteGroupingLabel=function(a){this.autocomplete.setAutocompleteGroupingLabel(a)};g.getAutocompleteCustomGrouping=function(){return this.autocomplete.getAutocompleteCustomGrouping()};g.getAllowResultDeselection=function(){return this.autocomplete.getAllowResultDeselection()};
g.getWarnForExternalSelections=function(){return this.autocomplete.getWarnForExternalSelections()};g.getResultDecorationConfigRequestCallback=function(){return this.autocomplete.getResultDecorationConfigRequestCallback()};g.getResultCustomizationCallback=function(){return this.autocomplete.getResultCustomizationCallback()};g.setResultCustomizationCallback=function(a){this.autocomplete.setResultCustomizationCallback(a)};g.getDensity=function(){return this.autocomplete.getDensity()};g.setDensity=function(a){this.autocomplete.setDensity(a)};
g.getTheme=function(){return this.autocomplete.getTheme()};g.setTheme=function(a){this.autocomplete.setTheme(a)};g.getStyle=function(){return this.autocomplete.getStyle()};g.setStyle=function(a){this.autocomplete.setStyle(a)};var o9a=function(a){this.root=a;this.length=0};g=o9a.prototype;g.getItems=function(){return Array.from(this.root.childNodes)};g.append=function(a){this.root.appendChild(a);++this.length};g.insert=function(a,b){if(a<0||a>this.length)throw new RangeError("tf");if(a===this.length)this.append(b);else{var c=this.getItems();this.root.insertBefore(b,c[a]);++this.length}};g.remove=function(a){if(a<0||a>=this.length)throw new RangeError("tf");var b=this.getItems();this.root.removeChild(b[a]);--this.length};
g.clear=function(){OA(this.root);this.length=0};g.getRoot=function(){return this.root};var m9a=function(a){return hs('<ul id="'+is(a.id)+'" peoplekit-id="'+is("rymPhb")+'" role="listbox" aria-multiselectable="true" class="'+is("peoplekitComponentsListImplList")+'"></ul>')};var n9a=bs.getInstance();var eNc=function(a){this.delegate=a};g=eNc.prototype;g.prev=function(a){a=this.delegate.prev(a);fNc(this);return a};g.next=function(a){a=this.delegate.next(a);fNc(this);return a};g.size=function(){return this.delegate.size()};g.goToItem=function(a,b){a=this.delegate.goToItem(a,b);fNc(this);return a};g.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);fNc(this);return a};g.activateAll=function(){this.delegate.activateAll()};g.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};
g.getActiveItems=function(){return this.delegate.getActiveItems()};g.getItem=function(a){return this.delegate.getItem(a)};g.getIndexOf=function(a){return this.delegate.getIndexOf(a)};g.clear=function(){this.delegate.clear()};g.reset=function(){this.delegate.reset()};g.setSecondaryEventTargets=function(a){this.delegate.setSecondaryEventTargets(a)};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.onContextMenu=function(a,b){this.delegate.onContextMenu(a,b)};
g.remove=function(a,b){this.delegate.remove(a,b)};g.insert=function(a,b,c){this.delegate.insert(a,b,c)};var fNc=function(a){(a=a.delegate.getSpotlitItem())&&s9a(a.getRoot())};var ts=function(a){this.internalArray_=m(a)};Y(ts,V);ts.prototype.getRequestType=function(){return Kj(this,1,0)};ts.prototype.setRequestType=function(a){return hk(this,1,a)};var gNc=[0,P1b,99,[0,Aw,K1b],[0],[0],[0,Aw,-5],[0,Aw],[0,Aw,zw],LLc,[0,Aw],[0,Aw]];var hNc=function(){var a=new ts,b=new tW;this.experimentFlags_=X(a,tW,107,b)};hNc.prototype.getExperimentFlags=function(){return this.experimentFlags_};hNc.prototype.getExperimentIds=function(){return[]};var gab=function(a,b){this.cache=b;this.overriddenExperiments=W(a,tW,3)||new tW};gab.prototype.getExperiments=function(){var a,b=((a=this.cache.getExperimentFlags())==null?void 0:W(a,tW,107))||new tW;a=this.overriddenExperiments;Ej(a,3)&&(a=Fj(a,3,!1),dk(b,3,a));return b};gab.prototype.getExperimentIds=function(){return this.cache.getExperimentIds()};var iNc=function(a){this.internalArray_=m(a)};Y(iNc,V);g=iNc.prototype;g.getCacheStaleSec=function(){return Zi(this,4,14400)};g.getCacheExpiredSec=function(){return Zi(this,5,1209600)};g.getRpcTimeoutSec=function(){return Zi(this,7,60)};g.getApiKey=function(){return Gh(this,8,"")};g.setApiKey=function(a){return gk(this,8,a)};g.getEnableClearcut=function(){return Fj(this,13,!0)};g.setEnableClearcut=function(a){return dk(this,13,a)};var eab=xna(iNc);var dab;var jNc=function(){};jNc.prototype.getExperimentFlags=function(){return new ts};jNc.prototype.getExperimentIds=function(){return[]};var Js=function(){};Js.prototype.prefetch=function(){};Js.prototype.loadExperiments=function(){return new jNc};var CW=function(a){this.internalArray_=m(a)};Y(CW,V);CW.prototype.setVersion=function(a){return nk(this,1,a)};CW.prototype.getVersionOrUndefined_asString=function(){return dWa(this,1)};var DW=function(a){this.internalArray_=m(a)};Y(DW,V);g=DW.prototype;g.getApplication=function(){return Kj(this,1,0)};g.setApplication=function(a){return hk(this,1,a)};g.getApplicationOrUndefined=function(){return Qt(this,1)};g.setVersion=function(a){return nk(this,2,a)};g.getVersionOrUndefined_asString=function(){return dWa(this,2)};var kNc=function(a){this.internalArray_=m(a)};Y(kNc,V);g=kNc.prototype;g.getRequestType=function(){return Kj(this,1,0)};g.setRequestType=function(a){return hk(this,1,a)};g.getProfileId=function(){return Gh(this,2)};g.getProfileId_legacyNullable=function(){return uk(this,2)};g.setProfileId=function(a){return gk(this,2,a)};g.hasProfileId=function(){return Hj(this,2)};g.getCaller=function(){return W(this,CW,3)};g.setCaller=function(a){return X(this,CW,3,a)};
g.getInstanceId=function(){return Gh(this,4)};g.setInstanceId=function(a){return gk(this,4,a)};g.clearInstanceId=function(){Zp(this,4)};g.hasInstanceId=function(){return Hj(this,4)};g.getInstanceIdOrUndefined=function(){return Pm(this,4)};g.getClient=function(){return W(this,DW,5)};g.setClient=function(a){return X(this,DW,5,a)};g.hasClient=function(){return Oj(this,DW,5)};var qs=function(a){this.internalArray_=m(a)};Y(qs,V);g=qs.prototype;g.getErrorType=function(){return Kj(this,2,1)};g.setErrorType=function(a){return hk(this,2,a)};g.hasErrorType=function(){return Ij(this,2)};g.getErrorMessage=function(){return Gh(this,3)};g.setErrorMessage=function(a){gk(this,3,a)};g.getStatusCode=function(){return Kj(this,4,0)};g.setStatusCode=function(a){hk(this,4,a)};g.hasStatusCode=function(){return Ij(this,4)};var ss=function(a){this.internalArray_=m(a)};Y(ss,V);g=ss.prototype;g.getExperimentFlags=function(){return W(this,ts,1)};g.setExperimentFlags=function(a){return X(this,ts,1,a)};g.hasExperimentFlags=function(){return Oj(this,ts,1)};g.getError=function(){return W(this,qs,2)};g.setError=function(a){X(this,qs,2,a)};g.hasError=function(){return Oj(this,qs,2)};g.getSource=function(){return Kj(this,3,0)};g.setSource=function(a){return hk(this,3,a)};g.hasSource=function(){return Ij(this,3)};
g.getSourceOrUndefined=function(){return Qt(this,3)};g.getInstanceId=function(){return Gh(this,4)};g.setInstanceId=function(a){return gk(this,4,a)};g.clearInstanceId=function(){Zp(this,4)};g.hasInstanceId=function(){return Hj(this,4)};g.getInstanceIdOrUndefined=function(){return Pm(this,4)};g.getExperimentIdsList=function(a){return $i(this,5,Wi(a))};g.setExperimentIdsList=function(a){return wc(this,5,a,Gb)};g.getExperimentIds=function(){return Iv(this,5)};
g.setExperimentIds=function(a){Lv(this,5,a)};var lNc=function(a,b){this.client_=a;this.runtime_=b;u9a();this.apiKey_=a.getApiKey();this.apiRoot_=Gh(this.client_,10)||QGa("peoplestackwebexperiments-pa",this.runtime_.getPeopleApiEnv())};lNc.prototype.getClient=function(){return this.client_};lNc.prototype.getApiKey=function(){return this.apiKey_};var EW=function(a){this.internalArray_=m(a)};Y(EW,V);g=EW.prototype;g.getExperimentFlags=function(){return W(this,ts,1)};g.setExperimentFlags=function(a){return X(this,ts,1,a)};g.hasExperimentFlags=function(){return Oj(this,ts,1)};g.getObfuscatedGaiaId=function(){return uk(this,2)};g.getObfuscatedGaiaId_legacyNullable=function(){return uk(this,2)};g.setObfuscatedGaiaId=function(a){return gk(this,2,a)};g.getExperimentIdsList=function(a){return $i(this,3,Wi(a))};
g.setExperimentIdsList=function(a){return wc(this,3,a,Gb)};g.getExperimentIds=function(){return Iv(this,3)};g.setExperimentIds=function(a){Lv(this,3,a)};var mNc=Ih(EW);var nNc=[0,gNc,O1b,L1b];var oNc=function(a){var b=void 0;b=b===void 0?Date.now:b;this.clientConfig_=a;this.now_=b},pNc=function(a,b,c){a=a.now_()-c*1E3;return b>a};oNc.prototype.getCacheState=function(a){var b=Zi(this.clientConfig_.getClient(),3,1800);if(pNc(this,a,b))return 1;b=this.clientConfig_.getClient().getCacheStaleSec();if(pNc(this,a,b))return 2;b=this.clientConfig_.getClient().getCacheExpiredSec();return pNc(this,a,b)?3:4};var qNc=function(a){this.internalArray_=m(a)};Y(qNc,V);g=qNc.prototype;g.getExperiments=function(){return W(this,EW,2)};g.setExperiments=function(a){return X(this,EW,2,a)};g.hasExperiments=function(){return Oj(this,EW,2)};g.getInstanceId=function(){return Gh(this,4)};g.setInstanceId=function(a){return gk(this,4,a)};g.clearInstanceId=function(){Zp(this,4)};g.hasInstanceId=function(){return Hj(this,4)};g.getInstanceIdOrUndefined=function(){return Pm(this,4)};var rNc=[0,O1b,nNc,K1b,O1b];var sNc=wna(qNc,rNc),tNc=function(a){return function(b){ec(b);var c=new G1b;rna(b.internalArray_,c,Dh(a));return Xba(H1b(c))}}(rNc);var rs=function(a,b,c){c=Error.call(this,c===void 0?"":c);this.message=c.message;"stack"in c&&(this.stack=c.stack);this.type=a;this.statusCode=b===void 0?2:b};Y(rs,Error);var uNc=new rs(6);var vNc=function(){};var FW=function(){};qv(FW,vNc);FW.prototype.getCount=function(){for(var a=0,b=k(this),c=b.next();!c.done;c=b.next())a++;return a};FW.prototype[Symbol.iterator]=function(){return ccc(this.__iterator__(!0)).toEs6()};FW.prototype.clear=function(){var a=Array.from(this);a=k(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};var wNc=function(a){this.storage_=a;this.cachedIsStorageAvailable_=null};qv(wNc,FW);g=wNc.prototype;g.set=function(a,b){GW(this);try{this.storage_.setItem(a,b)}catch(c){if(this.storage_.length==0)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};g.get=function(a){GW(this);a=this.storage_.getItem(a);if(typeof a!=="string"&&a!==null)throw"Storage mechanism: Invalid value was encountered";return a};g.remove=function(a){GW(this);this.storage_.removeItem(a)};
g.getCount=function(){GW(this);return this.storage_.length};g.__iterator__=function(a){GW(this);var b=0,c=this.storage_,d=new TE;d.next=function(){if(b>=c.length)return bcc;var e=c.key(b++);if(a)return{value:e,done:!1};e=c.getItem(e);if(typeof e!=="string")throw"Storage mechanism: Invalid value was encountered";return{value:e,done:!1}};return d};g.clear=function(){GW(this);this.storage_.clear()};g.key=function(a){GW(this);return this.storage_.key(a)};
var GW=function(a){if(a.storage_==null)throw Error("Cf");var b;((b=a.cachedIsStorageAvailable_)!=null?b:a.cachedIsStorageAvailable_=J9a(a.storage_))||za(Error("Cf"))},J9a=function(a){if(!a)return!1;try{return a.setItem("__sak","1"),a.removeItem("__sak"),!0}catch(b){return b instanceof DOMException&&(b.name==="QuotaExceededError"||b.code===22||b.code===1014||b.name==="NS_ERROR_DOM_QUOTA_REACHED")&&a&&a.length!==0}};var F9a=function(){var a=null;try{a=ya.localStorage||null}catch(b){}wNc.call(this,a)};qv(F9a,wNc);var ps=function(a,b){this.mechanism_=a;this.prefix_=b+"::"};qv(ps,FW);ps.prototype.set=function(a,b){this.mechanism_.set(this.prefix_+a,b)};ps.prototype.get=function(a){return this.mechanism_.get(this.prefix_+a)};ps.prototype.remove=function(a){this.mechanism_.remove(this.prefix_+a)};
ps.prototype.__iterator__=function(a){var b=this.mechanism_[Symbol.iterator](),c=this,d=new TE;d.next=function(){var e=b.next();if(e.done)return e;for(e=e.value;e.slice(0,c.prefix_.length)!=c.prefix_;){e=b.next();if(e.done)return e;e=e.value}return{value:a?e.slice(c.prefix_.length):c.mechanism_.get(e),done:!1}};return d};var y9a=["PeopleStackExperiments"],vs=function(a,b){b=b===void 0?new F9a:b;this.clientConfig_=a;this.transformer_=new oNc(this.clientConfig_);this.localStorage_=b;this.storage_=new ps(this.localStorage_,"pse/591286274")};vs.prototype.set=function(a,b){var c=x9a(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw uNc;var d=new qNc;b=gk(d,1,c).setExperiments(b);d=Date.now();a=nk(b,3,d).setInstanceId(a.getInstanceId());this.storage_.set(c,ida(tNc(a)));return c};
vs.prototype.get=function(a){a=x9a(a);if(!a)return null;a=this.storage_.get(a);if(!a)return null;a=xNc(a);if(a&&this.transformer_.getCacheState(Vj(a,3))!==4){var b=this.transformer_,c;var d={keyPath:Gh(a,1),experiments:(c=a.getExperiments())!=null?c:new EW,lastUpdated:new Date(Vj(a,3)),state:b.getCacheState(Vj(a,3)),instanceId:a.getInstanceId()}}else d=null;return d};var xNc=function(a){if(!a)return null;try{return sNc(a)}catch(b){return null}};
vs.prototype.delete=function(a){this.storage_.remove(a);return!0};vs.prototype.clean=function(){var a=[].concat(w(this.storage_));a=k(a);for(var b=a.next();!b.done;b=a.next())b=b.value,yNc(this,b)!==4&&yNc(this,b)!==0||this.delete(b);a=k(z9a(this.localStorage_));for(b=a.next();!b.done;b=a.next())b.value.clear()};var yNc=function(a,b){return b&&(b=xNc(a.storage_.get(b)),b==null?0:Uj(b,3))?a.transformer_.getCacheState(Vj(b,3)):0};var ws=function(a){var b=void 0;b=b===void 0?new Map:b;this.clientConfig_=a;this.transformer_=new oNc(this.clientConfig_);this.cache_=b};ws.prototype.set=function(a,b){var c=x9a(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw uNc;a={keyPath:c,experiments:b,lastUpdated:new Date,state:1,instanceId:a.getInstanceId()};this.cache_.set(c,a);return c};
ws.prototype.get=function(a){a=x9a(a);if(!a)return null;a=this.cache_.get(a);if(!a)return null;var b=this.transformer_.getCacheState(a.lastUpdated.getTime());if(b===4)return null;a.state=b;return a};ws.prototype.delete=function(a){this.cache_.delete(a);return!0};ws.prototype.clean=function(){var a=this;this.cache_.forEach(function(b,c){a.transformer_.getCacheState(b.lastUpdated.getTime())===4&&a.cache_.delete(c)})};var zNc=function(){};g=zNc.prototype;g.start=function(){};g.stop=function(){};g.count=function(){};g.latency=function(){};g.error=function(){};g.status=function(){};g.logError=function(){};var ANc=function(a){this.internalArray_=m(a)};Y(ANc,V);g=ANc.prototype;g.getCaller=function(){return W(this,CW,1)};g.setCaller=function(a){return X(this,CW,1,a)};g.getClient=function(){return W(this,DW,2)};g.setClient=function(a){return X(this,DW,2,a)};g.hasClient=function(){return Oj(this,DW,2)};var BNc=function(a){this.internalArray_=m(a)};Y(BNc,V);g=BNc.prototype;g.getRequestType=function(){return Kj(this,1,0)};g.setRequestType=function(a){return hk(this,1,a)};g.setProperties=function(a){return X(this,ANc,3,a)};g.getInstanceId=function(){return Gh(this,4)};g.setInstanceId=function(a){return gk(this,4,a)};g.clearInstanceId=function(){Zp(this,4)};g.hasInstanceId=function(){return Hj(this,4)};g.getInstanceIdOrUndefined=function(){return Pm(this,4)};var CNc=new $U("/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",BNc,EW,function(a){return a.serialize()},mNc);var DNc=function(a){this.client_=new cKc({format:"jspb"});this.hostname_=a==void 0?a:a.replace(/\/+$/,"")};DNc.prototype.getExperimentFlags=function(a,b){return hV(this.client_,this.hostname_+"/$rpc/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",a,b||{},CNc)};var ENc=function(a,b){this.clientRequest_=a;this.rpcClient_=b;this.metric_=new zNc};ENc.prototype.getMetric=function(){return this.metric_};ENc.prototype.send=function(a){var b=this,c;return ve(function(d){var e=(new ANc).setCaller(b.clientRequest_.getCaller()).setClient(b.clientRequest_.getClient());c=(new BNc).setRequestType(b.clientRequest_.getRequestType()).setInstanceId(b.clientRequest_.getInstanceIdOrUndefined()).setProperties(e);return d.return(b.rpcClient_.getExperimentFlags(c,a))})};
ENc.prototype.close=function(){};ENc.prototype.processResponse=function(a){return a};var FNc=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var GNc=function(a,b){this.config_=a;this.request_=b;this.resolver_=new FNc;this.state_=0};g=GNc.prototype;g.resultPromise=function(){return this.resolver_.promise};g.isPending=function(){return this.state_===1};g.cancel=function(){switch(this.state_){case 1:this.state_=2;this.onError_("CANCELLED");break;case 0:this.state_=3,this.resolver_.reject(1)}};
g.send=function(){var a=this;if(this.state_!==0)return this.resultPromise();var b=PGa(this.config_.apiKey);this.config_.customAuthHeaders&&(b=Object.assign({},b,this.config_.customAuthHeaders));this.state_=1;b=this.request_.send(b);D9a(b,this.config_.timeoutSec*1E3).finally(function(){a.state_=2}).then(function(c){return a.onResponse_(c)},function(c){return a.onError_(c)});return this.resultPromise()};
g.onResponse_=function(a){if(this.state_!==3)if(a){try{var b=this.request_.processResponse(a)}catch(c){this.onError_(c,2);return}try{this.resolver_.resolve(b),this.request_.close(0)}finally{this.state_=3}}else this.onError_(a)};
g.onError_=function(a,b){b=b===void 0?0:b;if(this.state_!==3){if(a==="TIMEOUT")var c=4;else a==="CANCELLED"?c=1:a&&typeof a==="object"?(c=a.code||2,c===2&&(c=sp("result.error.code",a)||a.status,c=Number(c),c=Ekc.has(c)?Ekc.get(c):c>=200&&c<300?0:c>=400&&c<500?9:c>=500&&c<600?13:2,c!==2||b||(b=(a.message||"").startsWith("Rpc failed due to xhr error.")?3:0))):c=2;try{!this.config_.authErrorHandler||c!==16&&c!==7||this.config_.authErrorHandler(),this.resolver_.reject(c),this.request_.close(c,b)}finally{this.state_=
3}}};var HNc=Symbol("Df"),INc=function(){};INc.prototype.intercept=function(a,b){return b(a).then(function(c){var d=c.getMetadata();if(d){d=Number(d["content-length"])||0;var e=c.responseMessage_;e&&isFinite(d)&&(e[HNc]=d)}return c})};var JNc=function(a){this.request_=a;this.metric_=this.request_.getMetric();this.metric_.start("total");this.metric_.start("blocked");this.contentLength_=0};JNc.prototype.getMetric=function(){return this.metric_};JNc.prototype.send=function(a){this.metric_.stop("blocked");this.metric_.count();this.metric_.start("network");return this.request_.send(a)};
JNc.prototype.processResponse=function(a){this.metric_.stop("network");this.metric_.start("processed");try{return this.request_.processResponse(a)}catch(b){throw this.metric_.logError(b&&b.message||"processResponse",b),b;}finally{this.metric_.stop("processed"),this.contentLength_=a&&a[HNc]||0}};JNc.prototype.close=function(a,b){b=b===void 0?0:b;this.request_.close(a,b);this.metric_.stop("total");this.metric_.status(a,b,this.contentLength_)};var KNc=function(a){this.config_=a;this.pendingRpcs_=new Set},MNc=function(a,b){b=new JNc(b);b=new GNc(a.config_,b);a.pendingRpcs_.add(b);LNc(a,b);return b.resultPromise()},LNc=function(a,b){ve(function(c){if(c.nextAddress==1)return we(c,2,3),xe(c,b.send(),3);if(c.nextAddress!=2)return ye(c),a.pendingRpcs_.delete(b),ze(c,0);Be(c);return c.jumpTo(3)})};var H9a=function(a){this.clientConfig_=a;this.inflightRequests_=new Map;a={apiKey:this.clientConfig_.getApiKey(),timeoutSec:this.clientConfig_.getClient().getRpcTimeoutSec()};this.dispatcher_=new KNc(a);this.rpcClient_=new DNc(this.clientConfig_.apiRoot_)},ONc=function(a,b){var c,d,e,f,h;return ve(function(l){switch(l.nextAddress){case 1:var q=NNc(b);if(c=a.inflightRequests_.get(q)||null)return l.return(c);d=new ENc(b,a.rpcClient_);we(l,2,3);e=MNc(a.dispatcher_,d);q=NNc(b);a.inflightRequests_.set(q,
e);return xe(l,e,5);case 5:return f=l.yieldResult,l.return(f);case 3:ye(l);q=NNc(b);a.inflightRequests_.delete(q);ze(l,0);break;case 2:h=Be(l);if(Number.isFinite(h))throw new rs(7,h);throw new rs(7);}})},NNc=function(a){a=w9a(a);if(!a)throw uNc;return a};var PNc=function(a){this.internalArray_=m(a)};Y(PNc,V);g=PNc.prototype;g.getInstanceId=function(){return Gh(this,1)};g.setInstanceId=function(a){return gk(this,1,a)};g.clearInstanceId=function(){Zp(this,1)};g.hasInstanceId=function(){return Hj(this,1)};g.getInstanceIdOrUndefined=function(){return Pm(this,1)};g.getRequestId=function(){return Gh(this,2)};g.getRequestType=function(){return Kj(this,4,0)};g.setRequestType=function(a){return hk(this,4,a)};g.getSourceType=function(){return Kj(this,6,0)};
g.setSourceType=function(a){return hk(this,6,a)};g.getClient=function(){return Kj(this,7,0)};g.setClient=function(a){return hk(this,7,a)};g.hasClient=function(){return Ij(this,7)};g.getErrorType=function(){return Kj(this,8,0)};g.setErrorType=function(a){return hk(this,8,a)};g.hasErrorType=function(){return Ij(this,8)};g.getStatusCode=function(){return Kj(this,10,0)};g.setStatusCode=function(a){hk(this,10,a)};g.hasStatusCode=function(){return Ij(this,10)};var I9a=function(a){var b=a.getClient();a=a.runtime_.getPeopleApiEnv();this.logContext_=Mt(new Nt,"PeopleExperiments").setEnvironment(a).setLogSource(1250).setVersion("1.0.1").setBaselineCl(683703728).setEnableClearcut(b.getEnableClearcut())};g=I9a.prototype;g.getLogContext=function(){return this.logContext_};g.createCountMetric=function(){throw Error("Ef");};g.createStatusMetric=function(){throw Error("Ef");};g.createErrorMetric=function(){throw Error("Ef");};
g.createLatencyMetric=function(a,b){a=b.source();b=Math.round(b.duration()*1E3);nk(a,3,b);return a};var HW=function(a,b){this.metrics_=a;this.state_=new kJ(b);this.label_="total";this.source=b};HW.prototype.start=function(){this.metrics_.start(this.state_,this.label_)};HW.prototype.stop=function(){this.metrics_.stop(this.state_,this.label_);this.metrics_.latency(this.state_)};var K9a=function(a,b,c){this.worker_=a;this.metrics_=Fs(b);this.runtimeConfig_=c},QNc=function(a,b,c){var d=new PNc,e=u9a();d=gk(d,2,e).setRequestType(b.getRequestType());b=hk(d,5,c).setClient(b.getClient().getApplicationOrUndefined());return hk(b,9,a.runtimeConfig_.getPeopleApiEnv())},RNc=function(a,b){b.setSourceType(a.getSourceOrUndefined());b.setInstanceId(a.getInstanceIdOrUndefined());a=a.getError();(a==null?0:a.hasErrorType())&&b.setErrorType(a.getErrorType());(a==null?0:a.hasStatusCode())&&
b.setStatusCode(a.getStatusCode())};K9a.prototype.updateExperimentsCache=function(a,b){b=b===void 0?2:b;var c=this,d,e,f;return ve(function(h){if(h.nextAddress==1)return d=QNc(c,a,b),e=new HW(c.metrics_,d),e.start(),xe(h,c.worker_.updateExperimentsCache(a,b),2);f=h.yieldResult;RNc(f,d);e.stop();return h.return(f)})};K9a.prototype.getCachedExperiments=function(a,b){b=b===void 0?0:b;var c=QNc(this,a,b),d=new HW(this.metrics_,c);d.start();a=this.worker_.getCachedExperiments(a,b);RNc(a,c);d.stop();return a};var SNc=function(a){this.timer=a;this.count=0},M9a=function(a,b){this.clientConfig_=a;this.worker_=b;this.refreshers_=new Map;this.refreshRateMs_=Zi(this.clientConfig_.getClient(),11,14400)*1E3;this.eventHandler_=new Lr(this)};M9a.prototype.updateExperimentsCache=function(a,b){try{return TNc(this,a),this.worker_.updateExperimentsCache(a,b)}catch(c){return Promise.resolve(us(c))}};M9a.prototype.getCachedExperiments=function(a,b){try{return TNc(this,a),this.worker_.getCachedExperiments(a,b)}catch(c){return us(c)}};
var TNc=function(a,b){var c=w9a(b);if(!c)throw new rs(6);if(a.refreshers_.has(c))a.refreshers_.get(c).count=0;else{var d=new iG(a.refreshRateMs_);a.eventHandler_.listen(d,"tick",function(){if(a.worker_){b.clearInstanceId();a.worker_.updateExperimentsCache(b,1);var e=a.refreshers_.get(c);e.count++;var f=Zi(a.clientConfig_.getClient(),12,18);e.count>=f&&(e.timer.stop(),a.refreshers_.delete(c))}});d.start();a.refreshers_.set(c,new SNc(d))}a.refreshers_.get(c)};var UNc=function(){},L9a=function(a,b){this.cache_=a;this.loader_=b};
L9a.prototype.updateExperimentsCache=function(a,b){var c=this,d,e,f,h;return ve(function(l){if(l.nextAddress==1){e=d=null;try{d=VNc(c,a)}catch(E){e=E}if(d&&d.state!==3)return l.return(c.getCachedExperiments(a,b));we(l,3);return xe(l,WNc(c,a),5)}if(l.nextAddress!=3){f=l.yieldResult;var q=l.return,v=f,y=e;y=y===void 0?null:y;v=(new ss).setExperimentFlags(v.getExperimentFlags()).setExperimentIdsList(v.getExperimentIdsList()).setSource(1).setInstanceId(a.getInstanceIdOrUndefined());y&&v.setError(E9a(y));
return q.call(l,v)}h=Be(l);return l.return(us(h))})};L9a.prototype.getCachedExperiments=function(a){try{var b=VNc(this,a);if(b){var c=(new ss).setExperimentFlags(b.experiments.getExperimentFlags()).setExperimentIdsList(b.experiments.getExperimentIdsList()).setInstanceId(b.instanceId).setSource(2);b.state!==1&&WNc(this,a).catch(UNc);return c}WNc(this,a).catch(UNc);return us()}catch(d){return us(d)}};
var VNc=function(a,b){try{var c=a.cache_.get(b);return c&&c.experiments.hasExperimentFlags()?c:null}catch(d){if(d instanceof rs)throw d;throw new rs(3);}},WNc=function(a,b){var c,d;return ve(function(e){if(e.nextAddress==1)return we(e,2),b.hasInstanceId()||b.setInstanceId(u9a()),xe(e,ONc(a.loader_,b),4);if(e.nextAddress!=2)return c=e.yieldResult,a.cache_.set(b,c),e.return(c);d=Be(e);if(d instanceof rs)throw d;throw new rs(2);})};var G9a;var XNc=function(a){this.clientConfig_=a;this.worker_=N9a(this.clientConfig_)};XNc.prototype.getCachedExperiments=function(a){return this.worker_.getCachedExperiments(a,0)};var Ks=function(){this.peopleApiEnv_=4};Ks.prototype.getPeopleApiEnv=function(){return this.peopleApiEnv_};Ks.prototype.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};var YNc=function(a,b){this.client_=a;this.request_=b;this.response_=null};YNc.prototype.getExperimentFlags=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentFlags()};YNc.prototype.getExperimentIds=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentIdsList(Xi)};var fab=function(a,b){this.clientConfig_=a;this.requestType_=b};fab.prototype.prefetch=function(a){var b=new lNc(this.clientConfig_,new Ks);a=ZNc(this,a,"");N9a(b).updateExperimentsCache(a,2)};fab.prototype.loadExperiments=function(a,b,c){var d=new lNc(this.clientConfig_,b),e=ZNc(this,a,c);N9a(d).updateExperimentsCache(e,2);b=new XNc(new lNc(this.clientConfig_,b));a=ZNc(this,a,c);return new YNc(b,a)};var ZNc=function(a,b,c){var d=new CW;b=(new DW).setApplication(b);return(new kNc).setProfileId(c).setRequestType(a.requestType_).setCaller(d).setClient(b)};var Q9a=new gab(new uW,new hNc);var R9a=bs.getInstance();var S9a=bs.getInstance();var $Nc=new PC(KM.WEEKDAY_MONTH_DAY_MEDIUM),aOc=new PC(7);new PC(KM.WEEKDAY_MONTH_DAY_MEDIUM);var bOc=new Map([[0,2],[1,1],[2,3],[3,4],[4,2],[5,5]]);var cOc=function(a){var b=a.iconUrl,c=a.altText,d=a.persistentText;a=a.styleClass;return hs('<div class="'+is("peoplekitComponentsTagTag")+" "+(a?is(a):"")+'" peoplekit-id="'+is("mQXP")+'">'+(CJ(b)?'<img class="'+is("peoplekitComponentsTagIcon")+'" src="'+is(Rmc(b))+'" alt="'+is(c)+'"><div'+(d?"":' class="'+is("peoplekitComponentsTagUnrollingAltText")+'"')+'><div class="'+is("peoplekitComponentsTagText")+'">'+Rs(c)+"</div></div>":'<div class="'+is("peoplekitComponentsTagText")+'">'+Rs(c)+"</div>")+
"</div>")};var U9a=function(a,b,c,d,e,f){var h=this;this.root=a;this.avatar=e;this.features=f;this.isIntelligenceInitialized=this.isOutOfOffice=!1;dOc(this,{tags:d});k9a(a,b.getPrimaryTarget());c.getResultDecorationConfigRequestCallback()(b,function(l){dOc(h,l)})};g=U9a.prototype;g.getAllIds=function(){return[]};g.toggleSelection=function(){};g.activate=function(){this.root.classList.add("isActive")};g.deactivate=function(){this.root.classList.remove("isActive")};g.spotlight=function(){};g.unspotlight=function(){};
g.getRoot=function(){return this.root};g.getSelection=function(){throw Error("Gf");};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};
g.updateWaldo=function(a){if(this.getSupportedIntelligenceFeatures().includes(1)){var b=Fr(this.root,"Z306Oe");if(this.isOutOfOffice=a.getCurrentStatus()===4){if(a.getCurrentStatus()!==4)throw Error("Ff");var c=c!=null?c:a.getCurrentStatusEndTime();a=new Date(Date.now());c=a.getYear()===c.getYear()&&a.getMonth()===c.getMonth()&&a.getDate()===c.getDate()?"Out of office - back at "+aOc.format(c):"Out of office - back on "+$Nc.format(c);RA(b,String(c));this.root.classList.add("isOutOfOffice")}else RA(b,
""),this.root.classList.remove("isOutOfOffice")}};g.updateHubAvailabilityDot=function(a){this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:bOc.get(a.getType()||0)||2})};g.getSupportedIntelligenceFeatures=function(){return this.features};g.addTag=function(a){var b=Fr(this.root,"x00ATb");a:switch(a.style||0){case 1:var c="isWarning";break a;default:c=""}a=Cp(cOc,Object.assign({},a,{styleClass:c}));b.appendChild(a)};
g.setMetaIcon=function(a){var b=r7a(this.root,"SC3Htd")[0];b&&(b.src=a.iconUrl,b.alt=a.altText)};var dOc=function(a,b){for(var c=k(b.tags||[]),d=c.next();!d.done;d=c.next())a.addTag(d.value);b.metaIcon&&a.setMetaIcon(b.metaIcon)};U9a.prototype.initializeIntelligence=function(){this.isIntelligenceInitialized||(this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:2}),this.isIntelligenceInitialized=!0)};U9a.prototype.dispose=function(){};var eOc=function(a,b,c,d,e){this.delegate=V9a(a,b,c,d,e,[2]);this.root=a;this.root.setAttribute("aria-selected","true");this.id=b.getPrimaryTarget().getId();this.selection=Xr(rt)};Y(eOc,BW);eOc.prototype.getAllIds=function(){return[this.id]};eOc.prototype.getSelection=function(){return this.selection};var fOc=function(a,b,c,d,e,f,h,l){d=d===void 0?"":d;e=e===void 0?!1:e;return hs('<div role="option" class="'+is("peoplekitComponentsResultlistitemResultListItem")+" "+is(d)+'" id="'+is(a)+'" peoplekit-id="'+is(a)+'" aria-disabled="'+is(e)+'" aria-selected="false"><div class="'+is("peoplekitComponentsResultlistitemResultListItemRow")+'"><div class="'+is("peoplekitComponentsResultlistitemLeft")+'" data-hovercard-id="'+is(b)+'" data-name="'+is(DJ(c))+'">'+Rs(f)+'</div><div class="'+is("peoplekitComponentsResultlistitemCenter")+
'">'+Rs(h)+'</div><div class="'+is("peoplekitComponentsResultlistitemRight")+'" peoplekit-id="'+is("QChpEe")+'">'+Rs(l)+'</div></div><div peoplekit-id="'+is("Z306Oe")+'" class="'+is("peoplekitComponentsResultlistitemOutOfOffice")+'"></div><div peoplekit-id="'+is("QL45qe")+'"></div></div>')},gOc=function(a,b,c,d){return hs('<div class="'+is("peoplekitComponentsResultlistitemLabelContainer")+'"><div class="'+is("peoplekitComponentsResultlistitemLabel")+" "+is("peoplekitComponentsResultlistitemLabelRow")+
'"><div class="'+is("peoplekitComponentsResultlistitemLabelText")+'" data-hovercard-id="'+is(b)+'" data-name="'+is(DJ(a))+'" translate="no">'+Rs(DJ(a))+'</div><div peoplekit-id="'+is("x00ATb")+'" class="'+is("peoplekitComponentsResultlistitemTags")+'"></div></div>'+(c?'<div class="'+is("peoplekitComponentsResultlistitemSublabel")+" "+is("peoplekitComponentsResultlistitemLabelRow")+'"><div class="'+is("peoplekitComponentsResultlistitemSublabelText")+'" data-hovercard-id="'+is(b)+'" data-name="'+is(DJ(a))+
'"'+(d?"":' translate="no"')+">"+Rs(DJ(c))+"</div></div>":"")+"</div>")},hOc=function(a){return hs('<div class="'+is("peoplekitComponentsResultlistitemAvatar")+'"><div class="'+is("peoplekitComponentsResultlistitemAvatarContainer")+'" peoplekit-id="'+is("d6MZcd")+'"></div>'+(CJ(a)?Rs(a):"")+"</div>")},iOc=function(){var a=hs,b=hs,c='<div class="'+is("peoplekitComponentsResultlistitemAvatarSelectionOverlay")+'"><div class="'+is("peoplekitComponentsResultlistitemWhiteCheck")+'">';var d=hs('<svg viewBox="0 0 24 24" class="'+
(is("peoplekitComponentsResultlistitemWhiteCheckSvg")+'"><path d="M0 0h24v24H0z" fill="none"/><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>'));return a(hOc(b(c+d+"</div></div>")))},jOc=function(){return hs('<img class="'+is("peoplekitComponentsResultlistitemMetaIcon")+'" peoplekit-id="'+is("SC3Htd")+'" alt="" src=""/>')};var kOc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.disableReason,f=a.allowSublabelTranslation;return hs(fOc(a.id,b,c,"isDisabled "+a.densityClass,!0,hs(""+hOc()),hs(""+gOc(c,b,d,f)),hs('<div class="'+is("peoplekitComponentsResultlistitemDisabledDisableReasonContainer")+'">'+Rs(e)+"</div>")))},lOc=function(){var a=hs,b='<div class="'+is("peoplekitComponentsResultlistitemDisabledIconIndicator")+'" aria-label="'+is(". Already selected")+'">';var c=hs('<svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 0 24 24" width="18px" class="'+
(is("peoplekitComponentsResultlistitemDisabledSelectedIcon")+'"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></svg>'));return a(b+c+"</div>")};var mOc=function(a){this.delegate=a;var b=this;this.eventHandler=Mr(this);this.eventHandler.listen(this.getRoot(),"click",function(c){b.onClick(c)})};Y(mOc,BW);mOc.prototype.onClick=function(){this.toggleSelection()};var X9a=function(a,b,c,d){this.internalResult=a;this.displayNameOverride=b;this.forceDisplayNameOverride=c;a=this.internalResult.getTargetList()[0];if(!a)throw new RangeError("Hf");this.target=a;d=d||this.target.getLoggingToken();a=this.target.getId();this.internalSelectionToken=new sMc(a,this.displayNameOverride,this.forceDisplayNameOverride,d)};g=X9a.prototype;g.id=function(){return this.target.getId()};g.selectionToken=function(){return this.internalSelectionToken};g.targets=function(){return[this.target]};
g.result=function(){return this.internalResult};g.getDisplayNameOverride=function(){return this.displayNameOverride};g.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};g.getDisplayNameWithOverrideApplied=function(){return this.forceDisplayNameOverride?this.displayNameOverride:this.displayNameOverride||this.internalResult.getDisplayName()};g.isPlaceholder=function(){return!1};var nOc=function(a,b,c,d,e,f){this.delegate=V9a(a,b,d,e,f,[]);this.root=a;this.result=b;this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=Xr(rt)};Y(nOc,BW);nOc.prototype.getAllIds=function(){return[this.id]};nOc.prototype.toggleSelection=function(){for(var a=k(this.result.getMemberList()),b=a.next();!b.done;b=a.next())b=xs(b.value),this.selectionsState.select(b);this.root.dispatchEvent(L7a("pcw-select",this.root))};nOc.prototype.getSelection=function(){return this.selection};var oOc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return hs(fOc(a.id,b,c,a.densityClass,void 0,hs(""+hOc()),hs(""+gOc(c,b,d,e)),hs(""+jOc())))};var qOc=function(a,b){this.delegate=a;var c=this;this.selectionsState=b;this.id=a.getAllIds()[0];b.get(this.id)&&pOc(this,this.getSelection());this.onDeselectionCallback=function(d){d.id().equals(c.id)&&(c.getRoot().classList.remove("isSelected"),c.getRoot().setAttribute("aria-selected","false"))};this.onSelectionCallback=function(d){pOc(c,d)};IW(this.selectionsState,this.onDeselectionCallback);JW(this.selectionsState,this.onSelectionCallback)};Y(qOc,BW);
qOc.prototype.toggleSelection=function(){var a=this.selectionsState.get(this.id)?L7a("pcw-deselect",this.getRoot()):L7a("pcw-select",this.getRoot());this.getRoot().dispatchEvent(a);this.selectionsState.toggle(this.getSelection(),1)};var pOc=function(a,b){b.id().equals(a.id)&&(a.getRoot().classList.add("isSelected"),a.getRoot().setAttribute("aria-selected","true"))};qOc.prototype.dispose=function(){this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback)};var rOc=function(a,b,c,d,e,f,h){this.delegate=V9a(a,b,d,e,f,[2]);this.selectionsState=c;this.clientConfig=h;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||xs(b,b.getDisplayName())};Y(rOc,BW);rOc.prototype.onContextMenu=function(a,b){Fj(this.clientConfig.internal,7,!1)&&a.preventDefault();return BW.prototype.onContextMenu.call(this,a,b)};rOc.prototype.getAllIds=function(){return[this.id]};rOc.prototype.getSelection=function(){return this.selection};var sOc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return hs(fOc(a.id,b,c,a.densityClass,void 0,hs(""+iOc()),hs(""+gOc(c,b,d,e)),hs(""+jOc())))};var tOc=function(a,b,c,d,e,f,h){this.delegate=V9a(a,b,d,e,f,[]);this.selectionsState=c;this.clientConfig=h;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||xs(b)};Y(tOc,BW);tOc.prototype.onContextMenu=function(a,b){Fj(this.clientConfig.internal,7,!1)&&a.preventDefault();return BW.prototype.onContextMenu.call(this,a,b)};tOc.prototype.getAllIds=function(){return[this.id]};tOc.prototype.getSelection=function(){return this.selection};var uOc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return hs(fOc(a.id,b,c,a.densityClass,void 0,hs(""+iOc()),hs(""+gOc(c,b,d,e)),hs(""+jOc())))};js.addCoreFactory({type:0,factory:{create:function(a){var b=a.result,c=a.resultConfig,d=a.resultCustomizationConfig,e=a.appearanceConfig,f=a.selectionsState,h=a.clientConfig;a=P9a(a);var l=Cp(sOc,a);Yr({element:l,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[Y9a(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var q=Fr(l,"d6MZcd"),v=os(e.getDensity()),y;d=(y=d.backupAvatarUrl)!=null?y:"";e=Gr(q,a.photos,v,v,e,d);b=new rOc(l,b,f,c,a.tags,e,h);return new mOc(new qOc(b,
f))},shouldCreate:function(){return!0}},configurationKey:void 0});
js.addCoreFactory({type:1,factory:{create:function(a){var b=W9a(a),c=a.result,d=a.resultConfig,e=a.appearanceConfig,f=a.resultCustomizationConfig,h=c.getPrimaryTarget().getId();a=et(h)||qkc(h)?T9a(a):P9a(a);h=Object;var l=h.assign;a:switch(b){case 1:b=lOc();break a;case 2:b=f.showSelectedIndicatorForDisabled?lOc():hs("");break a;default:b='<div class="'+is("peoplekitComponentsResultlistitemDisabledTextIndicator")+'">',b=hs(b+"DISABLED</div>")}b=Cp(kOc,l.call(h,{},a,{disableReason:b}));h=Fr(b,"d6MZcd");
l=os(e.getDensity());var q;f=(q=f.backupAvatarUrl)!=null?q:"";e=Gr(h,a.photos,l,l,e,f);return new eOc(b,c,d,a.tags,e)},shouldCreate:function(a){return W9a(a)!==0}},configurationKey:void 0});
js.addCoreFactory({type:2,factory:{create:function(a){var b=a.result,c=a.resultConfig,d=a.appearanceConfig,e=a.resultCustomizationConfig,f=a.clientConfig,h=a.selectionsState;a=T9a(a);var l=Cp(uOc,a);Yr({element:l,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[Y9a(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var q=Fr(l,"d6MZcd"),v=os(d.getDensity()),y;e=(y=e.backupAvatarUrl)!=null?y:"";d=Gr(q,a.photos,v,v,d,e);b=new tOc(l,b,h,c,a.tags,d,f);return new mOc(new qOc(b,
h))},shouldCreate:function(a){return et(a.result.getPrimaryTarget().getId())}},configurationKey:void 0});
js.addCoreFactory({type:3,factory:{create:function(a){var b=a.result,c=a.resultConfig,d=a.resultCustomizationConfig,e=a.appearanceConfig,f=a.selectionsState;a=T9a(a);var h=Cp(oOc,a);Yr({element:h,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[Y9a(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var l=Fr(h,"d6MZcd"),q=os(e.getDensity()),v;d=(v=d.backupAvatarUrl)!=null?v:"";e=Gr(l,a.photos,q,q,e,d);return new mOc(new nOc(h,b,f,c,a.tags,e))},shouldCreate:function(a){return qkc(a.result.getPrimaryTarget().getId())}},
configurationKey:void 0});var j$a=function(a,b,c,d,e,f,h,l){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=h;this.ariaParent=l;this.results=[];this.intelligentCollection=f.create();this.navigatable=new eNc(A8a(this.results,{shouldWrap:!0}))};g=j$a.prototype;g.register=function(a){this.results.push(a);this.navigatable.insert(this.navigatable.size(),[a],!1);this.intelligentCollection.append([a])};
g.append=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())c=$9a(c.value,b,this.selectionsState,this.resultConfig,this.appearanceConfig,this.clientConfig,Zs(this.list.getRoot()),this.interactions,this.ariaParent),this.list.append(c.getRoot()),this.register(c)};g.clear=function(){this.list.clear();this.navigatable.clear();this.intelligentCollection.clear();for(var a=k(this.results),b=a.next();!b.done;b=a.next())b.value.dispose();this.results.length=0};g.reset=function(){this.navigatable.reset()};
g.getNavigatable=function(){return this.navigatable};g.getResultListItems=function(){return this.results};var KW=function(a){this.delegate=a};g=KW.prototype;g.getHeader=function(){return this.delegate.getHeader()};g.getActionItems=function(){return this.delegate.getActionItems()};g.dispose=function(){this.delegate.dispose()};g.getRoot=function(){return this.delegate.getRoot()};g.activate=function(){this.delegate.activate()};g.deactivate=function(){this.delegate.deactivate()};g.spotlight=function(){this.delegate.spotlight()};g.unspotlight=function(){this.delegate.unspotlight()};g.getSelection=function(){return this.delegate.getSelection()};
g.toggleSelection=function(){this.delegate.toggleSelection()};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.onContextMenu=function(a,b){return this.delegate.onContextMenu(a,b)};var vOc=function(a){var b=a.id,c=a.groupName;a=a.classes;return hs('<div class="'+is("peoplekitComponentsGroupingHeaderCollapsibleChevronContainer")+" "+(a?" "+is(a):"")+'" peoplekit-id="'+is("wgPSWd")+'" id="'+is(b)+'" aria-expanded="false" role="menuitem" aria-label="'+is("To expand "+c+" group, press enter")+'"><svg class="'+is("peoplekitComponentsGroupingHeaderCollapsibleChevron")+'" viewBox="0 0 24 24" height="24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/></svg></div>')},
wOc=function(a){return"To "+a.action+" "+a.groupName+" group, press enter"};var zs=function(a,b,c){this.delegate=a;var d=this;this.isCollapsed=b;this.interactionListener=c;this.eventHandler=Mr(this);this.chevron=Cp(vOc,{id:Ir(bs.getInstance()),groupName:this.getHeader(),classes:"TdcT2c"});this.groupingHeaderActionItems=a.getActionItems().slice();this.groupingHeaderActionItems.push({focus:function(){d.chevron.classList.add("isSpotlit")},unfocus:function(){d.chevron.classList.remove("isSpotlit")},onKeyDown:function(e){e.event.keyCode===13&&(d.toggleView(),e.stopPropagation())}});
this.eventHandler.listen(this.getRoot(),"click",this.toggleView);Fr(this.getRoot(),"QChpEe").appendChild(this.chevron);b||(this.chevron.classList.toggle("rotate"),WH(this.chevron,"expanded",!0),Jgc(this.chevron,wOc({groupName:this.getHeader(),action:"collapse"})))};Y(zs,KW);zs.prototype.getActionItems=function(){return this.groupingHeaderActionItems};zs.prototype.dispose=function(){this.eventHandler.removeAll();KW.prototype.dispose.call(this)};
zs.prototype.toggleView=function(){this.isCollapsed=!this.isCollapsed;this.chevron.classList.toggle("rotate");this.interactionListener(this.isCollapsed);var a=this.isCollapsed?"expand":"collapse";WH(this.chevron,"expanded",!this.isCollapsed);Jgc(this.chevron,wOc({groupName:this.getHeader(),action:a}))};var xOc=function(a){var b=a.learnMoreLinkUrl,c=a.learnMoreLinkText;return hs("<div>"+Rs(a.description)+'  <a href="'+is(Ss(b))+'" target="_blank" class="'+is("peoplekitComponentsGroupingHeaderInfoLearnMoreLink")+'" peoplekit-id="'+is("lh87ke")+'">'+Rs(c)+"</a></div>")},yOc=function(a){var b=a.id,c=a.ariaLabel;a=a.classes;return hs('<div class="'+is("peoplekitComponentsGroupingHeaderInfoInfoIconContainer")+" "+(a?" "+is(a):"")+'" peoplekit-id="'+is("CLghmc")+'" id="'+is(b)+'" aria-label="'+is(c)+'"><svg class="'+
is("peoplekitComponentsGroupingHeaderInfoInfoIcon")+'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></svg></div>')};var AOc=function(a,b,c,d){this.delegate=a;var e=this;this.infoGroupConfig=b;this.appearanceConfig=c;this.infoGroupingHeaderVeIds=d;this.infoIcon=Cp(yOc,{id:Ir(bs.getInstance()),ariaLabel:"For more information about "+this.getHeader()+", press enter.",classes:"TdcT2c"});Fr(this.getRoot(),"xiK4Cd").appendChild(this.infoIcon);this.infoGroupingHeaderVeIds.infoIconVeId!==void 0&&Yr({element:this.infoIcon,veid:this.infoGroupingHeaderVeIds.infoIconVeId,actions:["impression","pcw-click"],componentId:"peoplekitweb"});
this.eventHandler=Mr(this);this.eventHandler.listen(this.infoIcon,"click",function(){zOc(e)});this.groupingHeaderActionItems=a.getActionItems().slice();this.groupingHeaderActionItems.push({focus:function(){e.infoIcon.classList.add("isSpotlit")},unfocus:function(){e.infoIcon.classList.remove("isSpotlit")},onKeyDown:function(f){f.event.keyCode===13&&(zOc(e),f.stopPropagation(),f.preventDefault())}})};Y(AOc,KW);
var zOc=function(a){a.infoIcon.dispatchEvent(Zr(a.infoIcon));var b=T8a({header:a.infoGroupConfig.infoDialogHeader}),c=xOc({description:a.infoGroupConfig.learnMoreMessage,learnMoreLinkUrl:a.infoGroupConfig.learnMoreUrl,learnMoreLinkText:a.infoGroupConfig.learnMoreLinkText}),d=a.getRoot().ownerDocument.activeElement,e=t7a(a.getRoot()),f=S8a(e,c,a.appearanceConfig,b),h=Fr(f.getRoot(),"lh87ke");a.infoGroupingHeaderVeIds.learnMoreLinkVeId!==void 0&&Yr({element:h,veid:a.infoGroupingHeaderVeIds.learnMoreLinkVeId,
actions:["impression","pcw-click"],componentId:"peoplekitweb"});a.eventHandler.listen(h,"click",function(){h.dispatchEvent(Zr(h))});f.subscribeToAction(function(l){l===2&&(f.dispose(),d&&d.focus())})};AOc.prototype.getActionItems=function(){return this.groupingHeaderActionItems};AOc.prototype.dispose=function(){this.eventHandler.removeAll();KW.prototype.dispose.call(this)};var b$a=function(a,b){this.root=a;this.header=b};g=b$a.prototype;g.getHeader=function(){return this.header};g.getActionItems=function(){return[]};g.dispose=function(){};g.getRoot=function(){return this.root};g.activate=function(){};g.deactivate=function(){};g.spotlight=function(){};g.unspotlight=function(){};g.getSelection=function(){throw Error("Gf");};g.toggleSelection=function(){};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};var a$a=function(a){var b=hs;var c=a.id;a=a.header;c=hs('<div class="'+is("peoplekitComponentsGroupingHeaderGroupingHeader")+'" id="'+is(c)+'" peoplekit-id="'+is("XLuqBd")+'" role="menu"><div class="'+is("peoplekitComponentsGroupingHeaderGroupingHeaderRow")+'"><div class="'+is("peoplekitComponentsGroupingHeaderHeader")+'">'+Rs(a)+'</div><div class="'+is("peoplekitComponentsGroupingHeaderAction")+'"><div class="'+is("peoplekitComponentsGroupingHeaderActionRow")+'"><div class="'+is("peoplekitComponentsGroupingHeaderLeft")+
'" peoplekit-id="'+is("xiK4Cd")+'"></div><div class="'+is("peoplekitComponentsGroupingHeaderRight")+'" peoplekit-id="'+is("QChpEe")+'"></div></div></div></div></div>');return b(c)};var BOc=function(a){this.delegate=a};Y(BOc,KW);BOc.prototype.spotlight=function(){var a=this.getActionItems();a.length&&(this.activeActionItemIndex=0,a[this.activeActionItemIndex].focus())};BOc.prototype.unspotlight=function(){this.activeActionItemIndex!==void 0&&(this.getActionItems()[this.activeActionItemIndex].unfocus(),this.activeActionItemIndex=void 0)};
BOc.prototype.onKeyDown=function(a){if(this.activeActionItemIndex!==void 0){var b=this.getActionItems(),c=b[this.activeActionItemIndex];c.onKeyDown(a);if(!a.hasStoppedPropagationInternal)switch(a.event.keyCode){case 9:c.unfocus(),this.activeActionItemIndex=(this.activeActionItemIndex+1)%b.length,b[this.activeActionItemIndex].focus(),a.stopPropagation(),a.preventDefault()}}};var LW=function(a){this.delegate=a};g=LW.prototype;g.append=function(a){this.delegate.append(a)};g.isInteractive=function(){return this.delegate.isInteractive()};g.getHeader=function(){return this.delegate.getHeader()};g.getItems=function(){return this.delegate.getItems()};g.getRoot=function(){return this.delegate.getRoot()};g.dispose=function(){this.delegate.dispose()};var Bs=function(a,b){this.delegate=a;var c=this;this.listContainer=Fr(this.getRoot(),"tjneg");a=a.getHeader();if(!a)throw Error("If");this.collapsibleHeader=d$a(a,b.isInitiallyCollapsed,function(d){c.interactionListener(d)});Fr(this.collapsibleHeader.getRoot(),"wgPSWd").setAttribute("aria-controls",this.listContainer.id);b.isInitiallyCollapsed&&this.listContainer.classList.add("collapsed")};Y(Bs,LW);Bs.prototype.isInteractive=function(){return!0};Bs.prototype.getHeader=function(){return this.collapsibleHeader};
Bs.prototype.dispose=function(){this.collapsibleHeader.dispose();LW.prototype.dispose.call(this)};Bs.prototype.interactionListener=function(a){a?(this.listContainer.classList.add("collapsed"),this.listContainer.style.height=""):(this.listContainer.classList.remove("collapsed"),this.listContainer.style.height=this.listContainer.scrollHeight+"px")};var As=function(a,b,c){this.delegate=a;a=a.getHeader();if(!a)throw Error("Jf");var d={};b.infoType===1&&(d={infoIconVeId:185198,learnMoreLinkVeId:185199});this.infoHeader=new AOc(a,b,c,d)};Y(As,LW);As.prototype.isInteractive=function(){return!0};As.prototype.getHeader=function(){return this.infoHeader};As.prototype.dispose=function(){this.infoHeader.dispose();LW.prototype.dispose.call(this)};var e$a=function(a,b){this.delegate=a;this.groupName=b;this.header=c$a(b);Fr(a.getRoot(),"Bm3u4d").appendChild(this.header.getRoot())};Y(e$a,LW);e$a.prototype.getHeader=function(){return this.header};e$a.prototype.dispose=function(){this.header.dispose();LW.prototype.dispose.call(this)};var COc=function(a){this.root=a;this.items=[];this.list=p9a(Fr(a,"tjneg"))};g=COc.prototype;g.append=function(a){this.items.push(a);this.list.append(a.getRoot())};g.isInteractive=function(){return!1};g.getHeader=function(){};g.getItems=function(){return this.items};g.getRoot=function(){return this.root};g.dispose=function(){for(var a=k(this.items),b=a.next();!b.done;b=a.next())b.value.dispose();this.list.clear();this.items=[]};var DOc=function(a,b,c){this.delegate=a;var d=this;this.resultListGroupConfig=b;this.navigatable=c;this.listContainer=Fr(this.getRoot(),"tjneg");var e,f;this.isCollapsed=(f=(e=this.resultListGroupConfig.collapsibleGroupConfig)==null?void 0:e.isInitiallyCollapsed)!=null?f:!1;(this.header=a.getHeader())&&this.header.getActionItems().length&&(this.header=new BOc(this.header),this.navigatable.insert(this.navigatable.size(),[this.header],!1));this.mutationObserver=new MutationObserver(function(h){d.onMutation(h)});
this.mutationObserver.observe(this.listContainer,{attributes:!0})};Y(DOc,LW);g=DOc.prototype;g.append=function(a){this.isCollapsed||this.navigatable.insert(this.navigatable.size(),[a],!1);LW.prototype.append.call(this,a)};g.getHeader=function(){return this.header};g.dispose=function(){this.mutationObserver.disconnect();LW.prototype.dispose.call(this)};g.getItems=function(){return this.isCollapsed?[]:LW.prototype.getItems.call(this)};
g.onMutation=function(a){if(this.header){a=k(a);for(var b=a.next();!b.done;b=a.next())b=b.value,b.type==="attributes"&&b.attributeName==="class"&&(b.target.classList.contains("collapsed")?(this.navigatable.remove(this.getItems(),!1),this.isCollapsed=!0):(this.isCollapsed=!1,b=this.navigatable.getIndexOf(this.header),this.navigatable.insert(b+1,this.getItems(),!1),s9a(this.getRoot())))}};var EOc=function(a){var b=a.listId;return hs('<div id="'+is(a.id)+'" peoplekit-id="'+is("E9WxSb")+'" role="group"><div peoplekit-id="'+is("Bm3u4d")+'"></div><div id="'+is(b)+'" role="region" class="'+is("peoplekitComponentsResultListGroupListContainer")+'" peoplekit-id="'+is("tjneg")+'"></div></div>')};var o$a=function(a,b,c,d,e,f,h,l,q){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=f;this.grouping=h;this.ariaParent=q;this.groups=new Map;this.navigatable=new eNc(A8a([],{shouldWrap:!0}));this.intelligentComponentCollection=l.create();this.list.getRoot().removeAttribute("role")};g=o$a.prototype;
g.append=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=this.grouping.getGroupId(d);var e=this.groups.get(c);d=$9a(d,b,this.selectionsState,this.resultConfig,this.appearanceConfig,this.clientConfig,Zs(this.list.getRoot()),this.interactions,this.ariaParent);if(c&&!e){var f=void 0;e=this.grouping;var h=c,l=this.navigatable,q=this.appearanceConfig,v=[f$a,g$a,h$a],y=Ir(bs.getInstance()),E=Ir(bs.getInstance());E=Cp(EOc,{id:y,listId:E});y=(f=e.groupConfigs[h])!=null?f:{};f=
new COc(E);v=k(v);for(E=v.next();!E.done;E=v.next())E=E.value,f=E(f,e,h,q);e=new DOc(f,y,l);this.groups.set(c,e);this.list.append(e.getRoot())}e.append(d);this.intelligentComponentCollection.append([d])}};g.clear=function(){this.list.clear();this.navigatable.clear();this.intelligentComponentCollection.clear();for(var a=k(this.groups.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.groups.clear()};g.reset=function(a){this.navigatable.reset();this.grouping.reset(a)};g.getNavigatable=function(){return this.navigatable};
g.getResultListItems=function(){for(var a=[],b=k(this.groups.values()),c=b.next();!c.done;c=b.next())a.push.apply(a,w(c.value.getItems()));return a};var l$a=function(a,b,c){this.delegate=a;this.list=b;this.grouping=c;this.renderedGroups=new Set};g=l$a.prototype;
g.append=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.grouping.getGroupId(c);if(d&&!this.renderedGroups.has(d)){var e=void 0,f=(e=this.grouping.groupConfigs[d])==null?void 0:e.headerText;f&&(e=c$a(f),this.list.append(e.getRoot()),e.getActionItems().length&&(f=this.getNavigatable(),f.insert(f.size(),[e],!1)));this.renderedGroups.add(d)}this.delegate.append([c],b)}};g.clear=function(){this.renderedGroups.clear();this.delegate.clear()};
g.reset=function(a){this.grouping.reset(a);this.renderedGroups.clear();this.delegate.reset(a)};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getResultListItems=function(){return this.delegate.getResultListItems()};var m$a=function(a,b,c){this.delegate=a;this.interactions=b;this.health=c};g=m$a.prototype;g.append=function(a,b){try{for(var c=k(a),d=c.next();!d.done;d=c.next()){var e=d.value;this.delegate.append([e],b);this.interactions.display(e)}}catch(f){throw this.health.createError(3,Cs(f)),f;}};g.clear=function(){try{this.delegate.clear()}catch(a){throw this.health.createError(4,Cs(a)),a;}};g.reset=function(a){try{this.delegate.reset(a)}catch(b){throw this.health.createError(5,Cs(b)),b;}};
g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getResultListItems=function(){return this.delegate.getResultListItems()};var i$a=function(a){a=a.header;return hs('<div peoplekit-id="'+is("aittld")+'">'+(a.length>0?'<div class="'+is("peoplekitUiResultlistHeader")+'">'+Rs(a)+"</div>":"")+'<div peoplekit-id="'+is("tjneg")+'"></div></div>')};var FOc=function(){return"Google makes suggestions based on your interactions."};var GOc=function(a){this.labels=a;this.isSuggest=!1;this.hiddenSuggestionsLabel=hs("Hidden suggestions").toString();a={infoType:1,infoDialogHeader:"How suggestions work",learnMoreMessage:FOc(),learnMoreUrl:q$a(),learnMoreLinkText:"Learn more about suggestions."};var b={};this.groupConfigs=(b.CUSTOM={headerText:this.labels.custom},b.SUGGEST={headerText:this.labels.suggest,infoGroupConfig:a},b.SEARCH={headerText:this.labels.search,infoGroupConfig:a},b.HIDDEN={headerText:this.hiddenSuggestionsLabel,
collapsibleGroupConfig:{isInitiallyCollapsed:!0}},b)};GOc.prototype.getGroupId=function(a){if(a.getResultType()===7)var b="CUSTOM";else{if(this.isSuggest)a="SUGGEST";else{var c;a=((b=a.getExtendedData())==null?void 0:(c=b.getExtension(Wbb))==null?void 0:Qt(c,1))===1?"HIDDEN":"SEARCH"}b=a}return b};GOc.prototype.reset=function(a){this.isSuggest=!a.trim()};var r$a=[GOc];var w$a=function(){this.isSuggest=!1;var a={infoType:1,infoDialogHeader:"How suggestions work",learnMoreMessage:FOc(),learnMoreUrl:q$a(),learnMoreLinkText:"Learn more about suggestions."},b={};this.groupConfigs=(b.SUGGEST={headerText:"Suggestions",infoGroupConfig:a},b.SEARCH={headerText:"Search Results",infoGroupConfig:a},b)};w$a.prototype.getGroupId=function(a){return a.getResultType()===7?"CUSTOM":this.isSuggest?"SUGGEST":"SEARCH"};w$a.prototype.reset=function(a){this.isSuggest=!a.trim()};var x$a=function(a){this.label=a;a={};this.groupConfigs=(a.directory={headerText:this.label},a.non_directory={},a)};x$a.prototype.getGroupId=function(a){return a.getTargetList().some(function(b){return b.getDataSource()!==2})?"non_directory":"directory"};x$a.prototype.reset=function(){};var y$a=function(a){this.label=a;a={};this.groupConfigs=(a.suggestions={headerText:this.label},a)};y$a.prototype.getGroupId=function(a){return a.getResultType()!==7?"suggestions":"non_suggestions"};y$a.prototype.reset=function(){};var HOc=function(a){this.delegate=a};g=HOc.prototype;g.search=function(a,b,c,d){this.delegate.search(a,b,c,d)};g.attach=function(){this.delegate.attach()};g.detach=function(){this.delegate.detach()};g.isShown=function(){return this.delegate.isShown()};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.dispose=function(){this.delegate.dispose()};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getRoot=function(){return this.delegate.getRoot()};g.canHide=function(){return this.delegate.canHide()};var Ds=function(a,b,c,d,e,f){this.delegate=a;var h=this;this.peopleStore=b;this.clientConfig=d;this.autocompleteConfig=e;this.navigationInput=f;this.navigatable=this.getNavigatable();this.previouslyActiveElement=null;this.hideListener=function(l){return IOc(h,l)};this.unhideListener=function(l){return JOc(h,l)};this.onContextMenuDisposedListener=function(l){if(h.navigationInput!==document.activeElement){var q;(q=h.navigatable.getItem(l))==null||q.deactivate();h.navigatable.reset()}};this.saveActiveElement=
function(){h.previouslyActiveElement=document.activeElement};this.onDialogDisposedListener=function(l){h.navigationInput===h.previouslyActiveElement&&(l=h.navigatable.getItem(l))&&h.navigatable.goToItem(l,0);var q;(q=h.previouslyActiveElement)==null||q.focus();h.previouslyActiveElement=null};this.hide=c.getHide();this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher;this.dispatcher.subscribe(1,this.hideListener);this.dispatcher.subscribe(4,this.unhideListener);this.dispatcher.subscribe(7,
this.onContextMenuDisposedListener);this.dispatcher.subscribe(8,this.saveActiveElement);this.dispatcher.subscribe(9,this.onDialogDisposedListener)};Y(Ds,HOc);Ds.prototype.search=function(a,b,c,d){this.currentSearchState={query:a,anchor:b,showSuggestions:c,listener:d};HOc.prototype.search.call(this,a,b,c,d)};
Ds.prototype.dispose=function(){this.dispatcher.unsubscribe(1,this.hideListener);this.dispatcher.unsubscribe(4,this.unhideListener);this.dispatcher.unsubscribe(7,this.onContextMenuDisposedListener);this.dispatcher.unsubscribe(8,this.saveActiveElement);this.dispatcher.unsubscribe(9,this.onDialogDisposedListener);HOc.prototype.dispose.call(this)};
var IOc=function(a,b){return ve(function(c){switch(c.nextAddress){case 1:return we(c,2),xe(c,a.hide.hideResults(b),4);case 4:return xe(c,a.refreshResults(),5);case 5:jv(c,0);break;case 2:Be(c),KOc(a),Ce(c)}})},JOc=function(a,b){return ve(function(c){switch(c.nextAddress){case 1:return we(c,2),xe(c,a.hide.unhideResults(b),4);case 4:return xe(c,a.refreshResults(),5);case 5:jv(c,0);break;case 2:Be(c),LOc(a),Ce(c)}})};
Ds.prototype.refreshResults=function(){var a=this;return ve(function(b){if(b.nextAddress==1)return a.getRoot().classList.add("isLoading"),a.peopleStore.flushCache(3),xe(b,a.peopleStore.warmUpCache(),2);a.currentSearchState?HOc.prototype.search.call(a,a.currentSearchState.query,a.currentSearchState.anchor,a.currentSearchState.showSuggestions,a.currentSearchState.listener):a.getRoot().classList.remove("isLoading");Ce(b)})};
var KOc=function(a){a.hideErrorDialog=U8a(a.getRoot(),a.autocompleteConfig);a.hideErrorDialog.subscribeToAction(function(){var b;(b=a.hideErrorDialog)==null||b.dispose()})},LOc=function(a){a.unhideErrorDialog=W8a(a.getRoot(),a.autocompleteConfig);a.unhideErrorDialog.subscribeToAction(function(){var b;(b=a.unhideErrorDialog)==null||b.dispose()})};var MOc=function(a,b){cs.call(this,a,b)};Y(MOc,cs);MOc.prototype.onKeyDown=function(a){if(a.event.keyCode===9){var b=this.getSpotlitItem();if(b){b=b.getRoot();var c=this.ariaParent;var d=Igc(c,"activedescendant");c=GA(c).getElementById(d);(d=b.querySelector('[id="'+(b.id+'-2ab"]')))?XH(this.ariaParent,c===d?b:d):t$a(b)&&(b=Array.from(b.querySelectorAll('[class~="TdcT2c"]')),c=c?b.indexOf(c):-1,c!==-1&&XH(this.ariaParent,b[(c+1)%b.length]))}}cs.prototype.onKeyDown.call(this,a)};
MOc.prototype.next=function(a){a=cs.prototype.next.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),t$a(b)&&NOc(this,b));return a};MOc.prototype.prev=function(a){a=cs.prototype.prev.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),t$a(b)&&NOc(this,b));return a};var NOc=function(a,b){(b=b.querySelector('[class~="TdcT2c"]'))&&XH(a.ariaParent,b)};var E$a=function(a,b,c,d,e,f,h,l){this.root=a;this.navigationInput=b;this.resultList=c;this.session=d;this.health=e;this.config=f;this.noResultsMessage=h;this.clientConfig=l;this.attached=!1;this.resultsLoadingCompleteListeners=[];this.navigatable=new MOc(this.navigationInput,this.resultList.getNavigatable());this.navigatable.setSecondaryEventTargets([this]);this.navigationEventHandler=D8a({getPrevKeyCode:function(){return 38},getNextKeyCode:function(){return 40}},{shouldReactToHomeEnd:!1});this.eventHandler=
Mr(this);ms(this.root,0)};g=E$a.prototype;g.search=function(a,b,c,d){var e=this;this.resultList.reset(a);this.resultList.clear();this.root.classList.remove("noResults");this.root.classList.add("isLoading");ms(this.root,1);if(a){var f=OOc(this.health);f.start();this.session.search(a,function(l){e.update(l,d,f,!0)})}else if(c){var h=OOc(this.health);h.start();this.session.suggest(function(l){e.update(l,d,h,!1)})}};
g.attach=function(){var a=this;this.attached||(this.attached=!0,this.navigationEventHandler.attach(this.navigationInput,this.navigatable),this.eventHandler.listen(this.root,"mousedown",function(b){b.preventDefault();b.stopPropagation()}),Fj(this.clientConfig.internal,9,!1)&&this.eventHandler.listen(this.root,"contextmenu",function(b){var c=a.navigatable.getItem(b.target);c&&(a.navigatable.getSpotlitItem()!==c&&a.navigatable.goToItem(c,0),a.navigatable.onContextMenu(ds(b),function(){}))}))};
g.detach=function(){this.attached=!1;this.navigatable.reset();this.navigationEventHandler.detach();this.eventHandler.removeAll();this.session.cancel();ms(this.root,0)};g.isShown=function(){return!0};g.canHide=function(){return!1};g.dispose=function(){this.detach();this.root.parentNode&&this.root.parentNode.removeChild(this.root)};
g.update=function(a,b,c,d){var e=a.getResults();a=a.getMetadata();this.root.classList.remove("isLoading");var f=a.getQuery();this.resultList.append(e,{query:f});e=this.resultList.getResultListItems();this.attach();var h=!1;e.length>0||this.navigatable.size()?(h=!0,this.root.classList.remove("noResults")):a.getIsLastCallback()&&(h=this.noResultsMessage.update({query:f}),this.root.classList.add("noResults"));b({count:e.length,hasContent:h});Fj(this.clientConfig.internal,7,!1)&&document.activeElement!==
this.navigationInput||(d&&this.config.getAutoActivateFirstSearchResult()||!d&&this.config.getAutoActivateFirstSuggestion())&&!this.navigatable.getSpotlitItem()&&(e.length?this.navigatable.goToItem(e[0],0):this.navigatable.size()&&this.navigatable.goToIndex(0,0));if(a.getIsLastCallback())for(ms(this.root,a.getCode()===0?2:3,a.getCode()),b={query:f,resultCount:e.length},d=k(this.resultsLoadingCompleteListeners),a=d.next();!a.done;a=d.next())a=a.value,a(b);else ms(this.root,4);c.stop()};
g.onKeyDown=function(a){var b=a.event.keyCode===9&&!a.event.shiftKey;if(a.event.keyCode===13||b&&this.config.getUseTabForResultSelection()){if(b=this.navigatable.getActiveItems(),b.length){b=k(b);for(var c=b.next();!c.done;c=b.next())c.value.toggleSelection();a.preventDefault();a.stopPropagation()}}else a.event.keyCode!==40||this.navigatable.getSpotlitItem()||(b=this.resultList.getResultListItems(),b.length&&(this.navigatable.goToItem(b[0],0),a.preventDefault(),a.stopPropagation()))};
g.getNavigatable=function(){return this.navigatable};g.getRoot=function(){return this.root};var POc=function(a){return hs('<div tabindex="-1" class="'+is("peoplekitComponentsScrollboxScrollbar")+'" peoplekit-id="'+is("I8ejUe")+'">'+Rs(a)+"</div>")};var v$a=function(){var a=hs,b='<div class="'+is("peoplekitComponentsAutocompleteInlineContainer")+'" peoplekit-id="'+is("yDHfq")+'"><div class="'+is("peoplekitComponentsAutocompleteInlineListContainer")+'">'+POc(hs('<div peoplekit-id="'+is("tjneg")+'"></div>'))+'</div><div class="'+is("peoplekitComponentsAutocompleteInlineCircularProgress")+'">';var c='<div class="'+is("peoplekitComponentsCircularprogressCircularProgress")+(" "+is("isActive"))+'" data-loadingmessage="'+is("Loading...")+'" data-active="true"'+
(CJ()?Mmc(BJ(void 0,wmc)?(void 0).getContent():Vmc()):"")+'><div class="'+is("peoplekitComponentsCircularprogressMessageContainer")+'" aria-live="polite" jsname="'+is("vyyg5")+'">'+Rs("Loading...")+'</div><div class="'+is("peoplekitComponentsCircularprogressCircularProgressContainer")+'"><div class="'+is("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+is("peoplekitComponentsCircularprogressColorOne")+" "+is("exportColorOne")+'"><div class="'+is("peoplekitComponentsCircularprogressCircleClipper")+
" "+is("peoplekitComponentsCircularprogressLeft")+'"><div class="'+is("peoplekitComponentsCircularprogressCircle")+" "+is("exportCircle")+'"></div></div><div class="'+is("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+is("peoplekitComponentsCircularprogressCircle")+" "+is("exportCircle")+'"></div></div><div class="'+is("peoplekitComponentsCircularprogressCircleClipper")+" "+is("peoplekitComponentsCircularprogressRight")+'"><div class="'+is("peoplekitComponentsCircularprogressCircle")+
" "+is("exportCircle")+'"></div></div></div><div class="'+is("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+is("peoplekitComponentsCircularprogressColorTwo")+" "+is("exportColorTwo")+'"><div class="'+is("peoplekitComponentsCircularprogressCircleClipper")+" "+is("peoplekitComponentsCircularprogressLeft")+'"><div class="'+is("peoplekitComponentsCircularprogressCircle")+" "+is("exportCircle")+'"></div></div><div class="'+is("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+
is("peoplekitComponentsCircularprogressCircle")+" "+is("exportCircle")+'"></div></div><div class="'+is("peoplekitComponentsCircularprogressCircleClipper")+" "+is("peoplekitComponentsCircularprogressRight")+'"><div class="'+is("peoplekitComponentsCircularprogressCircle")+" "+is("exportCircle")+'"></div></div></div><div class="'+is("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+is("peoplekitComponentsCircularprogressColorThree")+" "+is("exportColorThree")+'"><div class="'+is("peoplekitComponentsCircularprogressCircleClipper")+
" "+is("peoplekitComponentsCircularprogressLeft")+'"><div class="'+is("peoplekitComponentsCircularprogressCircle")+" "+is("exportCircle")+'"></div></div><div class="'+is("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+is("peoplekitComponentsCircularprogressCircle")+" "+is("exportCircle")+'"></div></div><div class="'+is("peoplekitComponentsCircularprogressCircleClipper")+" "+is("peoplekitComponentsCircularprogressRight")+'"><div class="'+is("peoplekitComponentsCircularprogressCircle")+
" "+is("exportCircle")+'"></div></div></div><div class="'+is("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+is("peoplekitComponentsCircularprogressColorFour")+" "+is("exportColorFour")+'"><div class="'+is("peoplekitComponentsCircularprogressCircleClipper")+" "+is("peoplekitComponentsCircularprogressLeft")+'"><div class="'+is("peoplekitComponentsCircularprogressCircle")+" "+is("exportCircle")+'"></div></div><div class="'+is("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+
is("peoplekitComponentsCircularprogressCircle")+" "+is("exportCircle")+'"></div></div><div class="'+is("peoplekitComponentsCircularprogressCircleClipper")+" "+is("peoplekitComponentsCircularprogressRight")+'"><div class="'+is("peoplekitComponentsCircularprogressCircle")+" "+is("exportCircle")+'"></div></div></div></div></div>';c=hs(c);return a(b+c+"</div></div>")},z$a=function(){return hs('<div class="'+is("peoplekitComponentsAutocompleteInlineNoResultsContainer")+'"></div>')};var B$a=function(a){a=a||{};var b=a.primaryMessage,c=a.contextMessage,d=a.learnMoreUrl,e=a.urlText;a=a.jsname;a='<div class="'+is("peoplekitComponentsNoResultsMessageNoResultsMessage")+'"'+(a?' jsname="'+is(a)+'"':"")+'><p class="'+is("peoplekitComponentsNoResultsMessageHeader")+'">';a=b?a+Rs(b):a+"No results";a+="</p>";if(c||d)a+='<p class="'+is("peoplekitComponentsNoResultsMessageExplanation")+'">'+(c?Rs(c)+(d?" ":""):""),d&&(a+='<a jsname="'+is("viORvd")+'" class="'+is("peoplekitComponentsNoResultsMessageLearnMoreLink")+
'" target="_blank" href="'+is(Ss(d))+'">',a=e?a+Rs(e):a+"Learn more",a+="</a>"),a+="</p>";return hs(a+"</div>")};var A$a=function(a,b){this.parent=a;this.config=b};A$a.prototype.update=function(a){this.root&&this.root.remove();a=this.config.display(a);if(!a)return!1;this.root=Cp(B$a,a);this.parent.appendChild(this.root);return!0};var D$a=function(){};D$a.prototype.update=function(){return!1};var C$a=function(){};C$a.prototype.update=function(){return!0};var F$a=function(a,b,c,d,e){var f=this;this.root=a;this.navigationInput=b;this.inlineAutocomplete=c;this.selectionsState=d;this.config=e;this.lastShowTime=0;this.popup=e8a(this.root,{moveAboveAnchorIfOffscreen:this.config.getMoveAutocompleteAboveAnchorIfOffscreen()});this.inlineAutocomplete.getNavigatable().setSecondaryEventTargets([this.inlineAutocomplete,this]);this.eventHandler=Mr(this);this.onSelectionCallback=function(){f.onSelect()};this.onSelectionAttemptedCallback=function(){f.onSelectAttempt()};
this.attach()};g=F$a.prototype;g.search=function(a,b,c,d){var e=this;this.hide();this.inlineAutocomplete.search(a,b,c,function(f){e.anchor=b;e.update(f);d(f)})};g.attach=function(){var a=this;JW(this.selectionsState,this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.add(this.onSelectionAttemptedCallback,2);this.eventHandler.listen(this.root,"mouseover",function(b){Date.now()-a.lastShowTime<100&&(b.preventDefault(),b.stopPropagation())})};g.onSelect=function(){this.hide()};
g.onSelectAttempt=function(){this.hide()};g.onKeyDown=function(a){this.isShown()&&a.event.keyCode===27&&(this.hide(),a.preventDefault(),a.stopPropagation())};g.detach=function(){this.hide()};g.isShown=function(){return this.popup.isShown()};g.canHide=function(){return!0};
g.dispose=function(){this.detach();this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.remove(this.onSelectionAttemptedCallback);this.eventHandler.removeAll();this.inlineAutocomplete.dispose();this.root.parentNode&&this.root.parentNode.removeChild(this.root)};g.getNavigatable=function(){return this.inlineAutocomplete.getNavigatable()};g.getRoot=function(){return this.root};g.update=function(a){a.hasContent&&this.show()};
g.show=function(){this.navigationInput.setAttribute("aria-expanded","true");this.lastShowTime=Date.now();var a=this.navigationInput.clientWidth;a:{var b=this.config.getDensity();switch(b){case 0:b=300;break a;case 1:b=300;break a;case 2:b=240;break a;default:throw Error("uf`"+b);}}a:{var c=this.config.getDensity();switch(c){case 0:c=420;break a;case 1:c=420;break a;case 2:c=320;break a;default:throw Error("uf`"+c);}}this.root.style.width=OJ(Math.max(Math.min(c,a),b),!0);a:switch(a=this.config.getDensity(),
a){case 0:a=Number("64");break a;case 1:a=Number("52");break a;case 2:a=Number("44");break a;default:throw Error("uf`"+a);}this.root.style.maxHeight=this.config.getAutocompleteMaxResultsBeforeScroll()*a+"px";this.root.style.minHeight=a+"px";this.popup.show(this.anchor)};g.hide=function(){this.popup.hide();this.navigationInput.setAttribute("aria-expanded","false");this.inlineAutocomplete.detach()};var u$a=function(){return hs('<div class="'+is("peoplekitComponentsAutocompletePopupContainer")+'" peoplekit-id="'+is("noeiCf")+'" style="display: none;"></div>')};var QOc=function(){this.batches=new Map};QOc.prototype.add=function(a,b){var c=b.sort().join("-");this.batches.has(c)||this.batches.set(c,{ids:[],features:b});this.batches.get(c).ids.push(a)};var H$a=function(a,b){this.service=a;this.resolveComponents=b};
H$a.prototype.update=function(a){var b=this;a=k([].concat(w(a.batches.values())));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d.features.length){c=this.service.for(d.ids);d=k(d.features);for(var e=d.next();!e.done;e=d.next())switch(e.value){case 1:c=c.withWaldo(function(f){ROc(b,f.values,function(h,l,q){q.updateWaldo(l,h)})});break;case 2:c=c.withHubAvailabilityDot(function(f){ROc(b,f.values,function(h,l,q){q.updateHubAvailabilityDot(l,h)})})}c.execute()}}};
var ROc=function(a,b,c){b=k(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;for(var e=d.getLookupId(),f=k(a.resolveComponents(e)),h=f.next();!h.done;h=f.next())c(e,d,h.value)}};var SOc=new Set([1,3,20]),TOc=function(a){var b=this;this.idToComponent=new Map;this.updater=I$a(a,function(c){return b.resolveComponents(c)})};g=TOc.prototype;
g.append=function(a){var b=a.filter(function(f){return f.getAllIds().some(function(h){return SOc.has(h.getType())})});a=[];b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;c.initializeIntelligence();for(var d=k(c.getAllIds()),e=d.next();!e.done;e=d.next())e=e.value,a.push(e),e=String(e),this.idToComponent.has(e)||this.idToComponent.set(e,[]),this.idToComponent.get(e).push(c)}this.refresh(a)};
g.remove=function(a){a=k(a);for(var b=a.next(),c={};!b.done;c={component$jscomp$90:void 0},b=a.next()){c.component$jscomp$90=b.value;b=k(c.component$jscomp$90.getAllIds());for(var d=b.next();!d.done;d=b.next()){d=String(d.value);var e=this.idToComponent.get(d);e&&this.idToComponent.set(d,e.filter(function(f){return function(h){return h!==f.component$jscomp$90}}(c)))}}};g.resolveComponents=function(a){return this.idToComponent.get(String(a))||[]};
g.refresh=function(a){var b=new QOc;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.resolveComponents(c);d=k(d);for(var e=d.next();!e.done;e=d.next())b.add(c,e.value.getSupportedIntelligenceFeatures())}this.updater.update(b)};g.clear=function(){this.idToComponent.clear()};var UOc=function(){};UOc.prototype.append=function(){};UOc.prototype.remove=function(){};UOc.prototype.refresh=function(){};UOc.prototype.clear=function(){};var lab=function(a){this.peopleIntelligence=a};lab.prototype.create=function(){return this.peopleIntelligence?new TOc(this.peopleIntelligence):new UOc};var VOc=Object.freeze(new Map([[5,1]]));var WOc=function(){this.entryPoint_=0};WOc.prototype.getPeoplekitEntryPoint=function(){return this.entryPoint_};WOc.prototype.setPeoplekitEntryPoint=function(a){this.entryPoint_=a;return this};WOc.prototype.serialize=function(){return[this.entryPoint_].toString()};var XOc=Object.freeze(new WOc);var YOc=function(){this.originator_=0};YOc.prototype.setOriginator=function(a){this.originator_=a;return this};YOc.prototype.getOriginator=function(){return this.originator_};var L$a=function(a,b,c){var d=this;this.reporter=a.getReporter((new WOc).setPeoplekitEntryPoint(c));JW(b,function(e,f,h){d.select(e,h)},0);IW(b,function(e,f,h){d.deselect(e,h)},0);ZOc(b,function(e,f,h,l){d.replace(e,l)},0)};g=L$a.prototype;g.display=function(a){this.reporter.reportDisplay(J$a(a.getTargetList()))};g.select=function(a,b){if(!a.isPlaceholder())switch(b){case 1:case 12:case 5:this.reporter.reportSelect(Es([a]),(new YOc).setOriginator(VOc.get(b)||0));break;case 6:this.reporter.reportExternalSelect(Es([a]))}};
g.deselect=function(a,b){if(!a.isPlaceholder())switch(b){case 7:case 8:case 1:this.reporter.reportDeselect(Es([a]))}};g.dismiss=function(a){this.reporter.reportDismiss(Es(a))};g.save=function(a){this.reporter.reportSave(Es(a))};g.send=function(a){this.reporter.reportSend(Es(a))};g.replace=function(a,b){switch(b){case 5:case 6:this.select(a,b)}};var $Oc=function(){this.isBatchingInternal=!1;this.timerId=this.lastBatchTime=0};$Oc.prototype.call=function(a){var b=this;if(!this.isBatchingInternal){var c=Date.now(),d=c-this.lastBatchTime;this.lastBatchTime=c;this.isBatchingInternal=!0;this.timerId=Nq(function(){b.isBatchingInternal=!1;a()},d>100?0:100)}};$Oc.prototype.cancel=function(){Oq(this.timerId);this.isBatchingInternal=!1};var nab=function(a,b,c,d,e,f){var h=this;this.root=a;this.autocomplete=b;this.selectionsState=c;this.interactions=d;this.tracker=e;this.config=f;this.selectionChangedListeners=[];this.selectionChangedAutoBatcher=new $Oc;JW(this.selectionsState,function(){h.notifySelectionChanged(!1)});IW(this.selectionsState,function(){h.notifySelectionChanged(!0)})};g=nab.prototype;
g.search=function(a,b){this.config.getClearSelectionsOnSearch()&&this.selectionsState.clear();var c=!1;this.autocomplete.search(a,b,this.config.getShowSuggestions(),function(d){d.count>0&&!c&&(c=!0)})};g.select=function(a){this.selectionsState.select(a)};g.deselect=function(a){this.selectionsState.deselect(a)};g.isShown=function(){return this.autocomplete.isShown()};g.report=function(a){var b=b===void 0?[]:b;b=b.length?b:this.selectionsState.asArray();K$a(this.interactions,a,b)};g.cancel=function(){this.autocomplete.detach()};
g.dispose=function(){this.tracker.stop();this.selectionChangedListeners.length=0;this.selectionsState.clear();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.autocomplete.dispose()};g.subscribeToSelectionChanged=function(a){this.selectionChangedListeners.push({listener:a,listenToDeselections:!1})};
g.notifySelectionChanged=function(a){var b=this;this.selectionChangedAutoBatcher.call(function(){for(var c=b.selectionsState.asArray(),d=k(b.selectionChangedListeners),e=d.next();!e.done;e=d.next()){var f=e.value;e=f.listener;f=f.listenToDeselections;a&&!f||e(c,a)}})};var kab=function(a){a=a||{};a=a.classes;return hs('<div peoplekit-id="'+is("nVhUhf")+'"'+(a?' class="'+is(a)+'"':"")+"></div>")};var aPc=function(a){this.internalArray_=m(a)};Y(aPc,V);g=aPc.prototype;g.getClientId=function(){return Kj(this,1,0)};g.setClientId=function(a){return hk(this,1,a)};g.getEntryPoint=function(){return Kj(this,5,0)};g.setEntryPoint=function(a){return hk(this,5,a)};g.getSocialClient=function(){return W(this,bJ,2)};g.setSocialClient=function(a){return X(this,bJ,2,a)};g.setVersionName=function(a){return gk(this,3,a)};g.setBaselineCl=function(a){return nk(this,4,a)};
g.hasBaselineCl=function(){return Uj(this,4)};g.getComponentFlow=function(){return Kj(this,7,0)};g.setComponentFlow=function(a){return hk(this,7,a)};var MW=function(a){this.internalArray_=m(a)};Y(MW,V);var bPc=function(a){this.internalArray_=m(a)};Y(bPc,V);g=bPc.prototype;g.getLabel=function(){return Kj(this,1,0)};g.setLabel=function(a){return hk(this,1,a)};g.hasLabel=function(){return Ij(this,1)};g.getCause=function(){return Kj(this,2,0)};g.setCause=function(a){hk(this,2,a)};var cPc=function(a){this.internalArray_=m(a)};Y(cPc,V);g=cPc.prototype;g.getLabel=function(){return Kj(this,1,0)};g.setLabel=function(a){return hk(this,1,a)};g.hasLabel=function(){return Ij(this,1)};g.getValue_asLegacyNumberOrString=function(){return Vj(this,2,1)};g.setValue=function(a){return nk(this,2,a)};g.hasValue=function(){return Uj(this,2)};var dPc=function(a){this.internalArray_=m(a)};Y(dPc,V);g=dPc.prototype;g.getLabel=function(){return Gh(this,1)};g.setLabel=function(a){return gk(this,1,a)};g.hasLabel=function(){return Hj(this,1)};g.getCause=function(){return Gh(this,2)};g.setCause=function(a){gk(this,2,a)};var ePc=function(a){this.internalArray_=m(a)};Y(ePc,V);g=ePc.prototype;g.getLabel=function(){return Kj(this,1,0)};g.setLabel=function(a){return hk(this,1,a)};g.hasLabel=function(){return Ij(this,1)};g.setLatencyUsec=function(a){nk(this,2,a)};g.getCacheStatus=function(){return Kj(this,3,0)};g.setCacheStatus=function(a){return hk(this,3,a)};var fPc=function(a){this.internalArray_=m(a)};Y(fPc,V);fPc.prototype.getInterfaceType=function(){return Kj(this,1,0)};fPc.prototype.setInterfaceType=function(a){return hk(this,1,a)};var gPc=function(a){this.internalArray_=m(a)};Y(gPc,V);g=gPc.prototype;g.getCount=function(){return W(this,cPc,3)};g.getMutableCount=function(){return Av(this,cPc,3)};g.setCount=function(a){return X(this,cPc,3,a)};g.getMutableLatency=function(){return Av(this,ePc,4)};g.setLatency=function(a){X(this,ePc,4,a)};g.getError=function(){return W(this,dPc,5)};g.setError=function(a){X(this,dPc,5,a)};g.hasError=function(){return Oj(this,dPc,5)};var hPc=function(a){this.internalArray_=m(a)};Y(hPc,V);hPc.prototype.setElementIndex=function(a){ek(this,2,a)};var iPc=function(a){this.internalArray_=m(a)};Y(iPc,V);g=iPc.prototype;g.getClientInterface=function(){return W(this,aPc,3)};g.setClientInterface=function(a){return X(this,aPc,3,a)};g.getMetadata=function(){return W(this,MW,4)};g.getMutableMetadata=function(){return Av(this,MW,4)};g.setMetadata=function(a){X(this,MW,4,a)};var N$a=function(a,b){this.entryPoint=b;this.logContext=edb(Mt(new Nt,"peoplekit.health").setLogSource(624).setApplication(a.getSocialApplicationOrUndefined()).setEnvironment(0).setVersion("1.0").setBaselineCl(683703728).setEnableClearcut(a.getEnableClearcut()),Q9a.getExperimentIds());this.clientId=a.getClientId();this.componentFlow=a.getComponentFlow()};g=N$a.prototype;g.getLogContext=function(){return this.logContext};
g.createCountMetric=function(a,b,c){b.source().getMutableCount().setValue(c);return jPc(this,a,b)};g.createStatusMetric=function(){throw Error("Ef");};g.createLatencyMetric=function(a,b){b.source().getMutableLatency().setLatencyUsec(lJ(b,"total"));return jPc(this,a,b)};g.createErrorMetric=function(a,b){return jPc(this,a,b)};
var jPc=function(a,b,c){a=(new iPc).setClientInterface((new aPc).setClientId(a.clientId).setSocialClient(b.getSocialClient()).setVersionName(a.getLogContext().getVersionOrUndefined()).setBaselineCl(Kv(a.getLogContext(),5)).setComponentFlow(a.componentFlow).setEntryPoint(a.entryPoint));c=c.source();return X(a,gPc,2,c)};var kPc=function(a,b){this.metrics_=a;this.state_=new kJ(b);this.source=b};kPc.prototype.increment=function(a){this.metrics_.count(this.state_,a===void 0?1:a)};var lPc=function(a,b){this.metrics_=a;this.state_=new kJ(b);this.source=b};lPc.prototype.report=function(){this.metrics_.error(this.state_)};var P$a=function(a,b){this.metrics=a;this.userInterfaceType=b};P$a.prototype.createCount=function(a,b){a=mPc(this,a,3);a.getMutableCount().setLabel(b);return new kPc(this.metrics,a)};P$a.prototype.createError=function(a,b,c){a=mPc(this,a,5);Av(a,bPc,8).setLabel(b).setCause(c);return new lPc(this.metrics,a)};var mPc=function(a,b,c){var d=new gPc;c=hk(d,1,c);a=(new fPc).setInterfaceType(a.userInterfaceType);b=hk(a,2,b);return X(c,fPc,2,b)};var O$a=function(a){this.trackers=a},OOc=function(a){a=a.trackers;var b=mPc(a,2,4);b.getMutableLatency().setLabel(8);return new HW(a.metrics,b)};O$a.prototype.createCount=function(a,b){return this.trackers.createCount(b===void 0?0:b,a)};O$a.prototype.createError=function(a,b,c){return this.trackers.createError(c===void 0?0:c,a,b===void 0?0:b)};var NW=function(){this.itemsByPriority=[]};NW.prototype.add=function(a,b){this.itemsByPriority[b]||(this.itemsByPriority[b]=new Set);this.itemsByPriority[b].add(a)};NW.prototype.remove=function(a){for(var b=k(this.itemsByPriority),c=b.next();!c.done;c=b.next())(c=c.value)&&c.delete(a)};NW.prototype.asArray=function(){return this.itemsByPriority.flatMap(function(a){return[].concat(w(a))})};var Ms=function(){this.selectionCallbacks=new NW;this.deselectionCallbacks=new NW;this.selectionReplacedCallbacks=new NW;this.selectionAttemptedCallbacks=new NW;this.selectionsState=[]};
Ms.prototype.select=function(a,b,c){b=b===void 0?-1:b;c=c===void 0?0:c;var d=String(a.id());if(this.selectionsState.find(function(e){return d===String(e.id())}))return Gs(a,b,c,this.selectionAttemptedCallbacks.asArray()),!1;b>=0?(this.selectionsState.splice(b,0,a),Gs(a,b,c,this.selectionCallbacks.asArray())):(this.selectionsState.push(a),Gs(a,this.selectionsState.length-1,c,this.selectionCallbacks.asArray()));return!0};
Ms.prototype.deselect=function(a,b){b=b===void 0?0:b;var c=String(a.id()),d=this.selectionsState.findIndex(function(e){return c===String(e.id())});d<0||(this.selectionsState.splice(d,1),Gs(a,d,b,this.deselectionCallbacks.asArray()))};Ms.prototype.toggle=function(a,b){b=b===void 0?0:b;var c=String(a.id());if(this.selectionsState.findIndex(function(d){return c===String(d.id())})<0)return this.select(a,-1,b),!0;this.deselect(a,b);return!1};
var JW=function(a,b,c){a.selectionCallbacks.add(b,c===void 0?2:c)},IW=function(a,b,c){a.deselectionCallbacks.add(b,c===void 0?2:c)},ZOc=function(a,b,c){a.selectionReplacedCallbacks.add(b,c===void 0?2:c)};g=Ms.prototype;g.get=function(a){var b=String(a);return this.selectionsState.find(function(c){return b===String(c.id())})};g.at=function(a){return this.selectionsState[a]};
g.replace=function(a,b,c){c=c===void 0?0:c;var d=String(a),e=this.selectionsState.findIndex(function(f){return d===String(f.id())});if(e<0||!a.equals(b.id())&&this.get(b.id()))return!1;this.selectionsState[e]=b;R$a(b,e,a,c,this.selectionReplacedCallbacks.asArray());return!0};g.pop=function(a){a=a===void 0?0:a;var b=this.selectionsState.pop();if(b)return Gs(b,this.selectionsState.length,a,this.deselectionCallbacks.asArray()),b};
g.indexOf=function(a){var b=String(a);return this.selectionsState.findIndex(function(c){return b===String(c.id())})};g.asArray=function(){return this.selectionsState.slice()};g.size=function(){return this.selectionsState.length};g.clear=function(){for(;this.selectionsState.length>0;)this.deselect(this.selectionsState[0])};for(var nPc={CLICK:{string:"click",xid:"cOuCgd"},GENERIC_CLICK:{string:"generic_click",xid:"szJgjc"},IMPRESSION:{string:"impression",xid:"xr6bB"},HOVER:{string:"hover",xid:"ZmdkE"},KEYPRESS:{string:"keypress",xid:"Kr2w4b"},KEYBOARD_ENTER:{string:"keyboard_enter",xid:"SYhH9d"},VIS:{string:"vis",xid:"HkgBsf"}},S$a=W$a(nPc),oPc=new Map,pPc=k(Object.keys(nPc)),qPc=pPc.next();!qPc.done;qPc=pPc.next()){var rPc=qPc.value;oPc.set(nPc[rPc].xid,nPc[rPc].string)}
var U$a=W$a({TRACK:{string:"track",xid:"u014N"},INDEX:{string:"index",xid:"cQYSPc"},MUTABLE:{string:"mutable",xid:"dYFj7e"},COMPONENT_ID:{string:"cid",xid:"cOuyq"},TEST_CODE:{string:"tc",xid:"DM6Eze"}});var OW=function(a,b){this.visualElementID=a;this.index_=null;this.testCodes_=[];this.componentID_=void 0;this.retain_cached_impression_=this.mutable_=!1;this.attribute_=null;this.metadataHandlers_=[];this.xidTagComponents_=b||!1;this.tracks_=new Set},PW=function(a,b){return b?a.tracks_.has(a.maybeXidEventLabel_(b)):a.tracks_.size!=0};g=OW.prototype;g.setIndex=function(a){this.index_=a};g.getIndex=function(){return this.index_};g.setComponentID=function(a){this.componentID_=a};g.getComponentID=function(){return this.componentID_};
g.isMutable=function(){return this.mutable_};g.setAttribute=function(a){this.attribute_=a;return this};g.getAttribute=function(){return this.attribute_};var sPc=function(a,b){for(var c=0;c<a.metadataHandlers_.length;++c)a.metadataHandlers_[c](b)};OW.prototype.maybeXidEventLabel_=function(a){return this.xidTagComponents_?T$a(a):a};OW.prototype.maybeXidPartLabel_=function(a){return this.xidTagComponents_?V$a(a):a};OW.prototype.isMutable=OW.prototype.isMutable;var tPc=function(a){OW.call(this,a)};Y(tPc,OW);var uPc=wna(AA,D5b),vPc=function(a){return function(b){ec(b);var c=new G1b;rna(b.internalArray_,c,Dh(a));return H1b(c)}}(D5b);var wPc=function(a,b){this.el_=a;this.veTag_=b;this.loggedImpression_=!1;this.rootImpressionEventID=this.impressionEventID=void 0;this.neverShown=this.hidden=!0;this.serverVed_=this.parent_=this.traversalOrder_=void 0};wPc.prototype.getTag=function(){return this.veTag_};wPc.prototype.getElement=function(){return this.el_};var yPc=function(a){var b=xPc++;a.traversalOrder_=b};wPc.prototype.setParent=function(a){this.parent_=a};wPc.prototype.getParent=function(){return this.parent_};
var zPc=function(a){if(a.impressionEventID){var b=new AA;b.setVeIndex(a.traversalOrder_);C5b(b,a.getTag().visualElementID);X(b,xA,13,a.impressionEventID);a=vPc(b);return"0"+DZb(a,4)}};var $$a=function(a){this.internalArray_=m(a)};Y($$a,V);g=$$a.prototype;g.getClientId=function(){return Kj(this,1,0)};g.setClientId=function(a){return hk(this,1,a)};g.getEntryPoint=function(){return Kj(this,2,0)};g.setEntryPoint=function(a){return hk(this,2,a)};g.getApplication=function(){return Kj(this,3,0)};g.setApplication=function(a){return hk(this,3,a)};g.getApplicationOrUndefined=function(){return Qt(this,3)};g.setVersionName=function(a){return gk(this,4,a)};
g.setBaselineCl=function(a){return nk(this,5,a)};g.hasBaselineCl=function(){return Uj(this,5)};g.getMetadata=function(){return W(this,MW,6)};g.getMutableMetadata=function(){return Av(this,MW,6)};g.setMetadata=function(a){X(this,MW,6,a)};g.setSharekitEntryPoint=function(a){hk(this,7,a)};g.getSharekitEntryPointOrUndefined=function(){return Qt(this,7)};var aab=function(a){this.context_=a};aab.prototype.createNewTag=function(a){return new tPc(a)};aab.prototype.addEventMetadata=function(a){ldc(a,this.context_.serialize())};var APc=function(){this.client_info=this.global_metadata=this.ve_metadata=void 0;this.testCodes=[]};var BPc=function(){};BPc.prototype.impressionEvent=function(){return[]};BPc.prototype.interactionEvent=function(){return[]};BPc.prototype.visibilityEvent=function(){return[]};var EPc=function(){if(!CPc){var a=CPc=new z5b,b=Date.now()*1E3;nk(a,1,b);Zp(CPc,2,0);Zp(CPc,3,0)}a=(new xA).setBase(CPc);b=++DPc;return nk(a,2,b)},DPc=0,CPc=void 0;var QW=function(a){this.internalArray_=m(a,1)};Y(QW,V);var RW=function(a){this.internalArray_=m(a)};Y(RW,V);var FPc=function(a){this.internalArray_=m(a,7)};Y(FPc,V);g=FPc.prototype;g.getTarget=function(){return W(this,BA,1)};g.setTarget=function(a){return X(this,BA,1,a)};g.getType=function(){return Kj(this,2,0)};g.setType=function(a){return hk(this,2,a)};g.hasType=function(){return Ij(this,2)};var GPc=function(a){var b=Date.now();b=Number.isFinite(b)?b*1E3:void 0;nk(a,4,b)};var HPc=function(a){this.internalArray_=m(a)};Y(HPc,V);var SW=function(a){this.internalArray_=m(a,17)};Y(SW,V);g=SW.prototype;g.setVed=function(a){return gk(this,11,a)};g.setUiType=function(a){return ek(this,1,a)};g.setVeIndex=function(a){ek(this,2,a)};g.getResultIndex=function(){return Zi(this,7,-1)};g.setResultIndex=function(a){ek(this,7,a)};g.setElementIndex=function(a){ek(this,8,a)};var IPc=function(a,b){$l(a,14,b)};var TW=function(a){this.internalArray_=m(a)};Y(TW,V);TW.prototype.setEventId=function(a){X(this,xA,1,a)};TW.prototype.setParentEventId=function(a){X(this,xA,3,a)};var JPc=function(a){this.userAction=a};var LPc=function(a,b){this.userAction=a;this.visualElementID=b;KPc++},KPc=0;var MPc=function(){};MPc.prototype.createNewTag=function(a){return new OW(a)};MPc.prototype.addEventMetadata=function(){};var UW=function(a){this.internalArray_=m(a)};Y(UW,V);var NPc=function(a,b){$l(a,1,b)};UW.prototype.addPath=function(a,b){return Bv(this,1,CA,a,b)};UW.prototype.setPath=function(a,b){return yv(this,1,CA,a,b)};var OPc=new Bw(100,UW);var VW=function(a){this.internalArray_=m(a)};Y(VW,V);var WW=function(a){this.internalArray_=m(a)};Y(WW,V);WW.prototype.getTimestamp=function(){return W(this,VW,1)};WW.prototype.setTimestamp=function(a){return X(this,VW,1,a)};WW.prototype.hasTimestamp=function(){return Oj(this,VW,1)};var PPc=new Bw(126,WW);var QPc=new Bw(618,WW);var RPc=function(a){this.internalArray_=m(a,2)};Y(RPc,V);var SPc=new Bw(273,RPc);var TPc=function(){this.nextPtr_=0;this.maxSize_=50;this.buff_=[]};g=TPc.prototype;g.add=function(a){var b=this.buff_[this.nextPtr_];this.buff_[this.nextPtr_]=a;this.nextPtr_=(this.nextPtr_+1)%this.maxSize_;return b};g.get=function(a){a=UPc(this,a);return this.buff_[a]};g.set=function(a,b){a=UPc(this,a);this.buff_[a]=b};g.getCount=function(){return this.buff_.length};g.isEmpty=function(){return this.buff_.length==0};g.clear=function(){this.nextPtr_=this.buff_.length=0};
g.getValues=function(){var a=this.getCount(),b=this.getCount(),c=[];for(a=this.getCount()-a;a<b;a++)c.push(this.get(a));return c};g.getKeys=function(){for(var a=[],b=this.getCount(),c=0;c<b;c++)a[c]=c;return a};g.containsKey=function(a){return a<this.getCount()};g.containsValue=function(a){for(var b=this.getCount(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};var UPc=function(a,b){if(b>=a.buff_.length)throw Error("Of");return a.buff_.length<a.maxSize_?b:(a.nextPtr_+Number(b))%a.maxSize_};var Hs=function(a,b,c,d){this.enableAncestryLogging_=a===void 0?!0:a;this.enableAncestryLoggingForGrafts_=c===void 0?!1:c;this.enableBatching_=b===void 0?!1:b;this.enableAttentionLogging_=d===void 0?!1:d;this.recentInteractions_=new TPc};Y(Hs,BPc);Hs.prototype.impressionEvent=function(a,b){for(var c=[],d=[],e=0;e<a.length;++e)a[e].keys().next().value.impressionEventID?d.push(a[e]):c.push(a[e]);a=VPc(this,c,b);b=this.enableBatching_?WPc(this,d,b):XPc(this,d,b);return a.concat(b)};
Hs.prototype.interactionEvent=function(a,b){var c=new TW,d=EPc();c.setEventId(d);d=new SW;a.serverVed_?d.setVed(a.serverVed_):d.setUiType(a.getTag().visualElementID).setVeIndex(a.traversalOrder_);IPc(ek(d,3,b.userAction),this.getAncestry_(a));a.getTag();this.setTimestamp(d);var e=new RW;X(e,xA,1,a.impressionEventID);c.setParentEventId(a.impressionEventID);X(c,SW,4,d);X(c,RW,9,e);this.recentInteractions_.add(new LPc(b.userAction,a.getTag().visualElementID));a=new WF;mdc(a,c.serialize());return[a]};
Hs.prototype.visibilityEvent=function(a,b){for(var c=[],d=new Map,e=0;e<a.length;++e){var f=a[e],h=f.getElement(),l=f.rootImpressionEventID,q=d.get(l);q=q?q:[];var v=new UW;this.enableAncestryLoggingForGrafts_&&NPc(v,this.getAncestry_(f));if(f.neverShown||PW(f.getTag(),"vis"))if(h=this.isVisible_(h,b),f.hidden&&h){h=new FPc;h.setType(1);var y=YPc(f);h.setTarget(y);GPc(h);this.enableAncestryLoggingForGrafts_&&vt(h,OPc,v);q.push(h);f.hidden=!1;f.neverShown=!1}else f.hidden||h||(h=new FPc,h.setType(2),
y=YPc(f),h.setTarget(y),GPc(h),this.enableAncestryLoggingForGrafts_&&vt(h,OPc,v),q.push(h),f.hidden=!0);d.set(l,q)}a=k(d.keys());for(b=a.next();!b.done;b=a.next())b=b.value,f=d.get(b),f.length&&(e=new HPc,$l(e,1,f),f=new TW,l=EPc(),q=new RW,X(q,xA,1,b),f.setEventId(l),f.setParentEventId(b),X(f,HPc,7,e),X(f,RW,9,q),b=new WF,mdc(b,f.serialize()),c.push(b));return c};
Hs.prototype.isVisible_=function(a,b){if(a.hasAttribute("ve-visible"))return a.getAttribute("ve-visible")=="true";if(a instanceof HTMLElement&&(a.offsetWidth<=0||a.offsetHeight<=0))return!1;a=a.getBoundingClientRect();return(b=xnc(b,new MJ(a.left,a.top,a.width,a.height)))&&b.width>=10&&b.height>=10?!0:!1};
var VPc=function(a,b,c){for(var d=[],e={},f=b.length-1;f>=0;e={impressionEventID:void 0,clientVeProto$jscomp$7:void 0,testCodes$jscomp$1:void 0},f--){e.clientVeProto$jscomp$7=new TW;e.testCodes$jscomp$1=[];e.impressionEventID=EPc();e.clientVeProto$jscomp$7.setEventId(e.impressionEventID);var h=new RW;X(h,xA,1,e.impressionEventID);X(e.clientVeProto$jscomp$7,RW,9,h);if(h=ehc(window.location.href,"ved"))h=(new SW).setVed(h),X(e.clientVeProto$jscomp$7,SW,4,h);b[f].forEach(function(l){return function(q,
v){v.impressionEventID=l.impressionEventID;v.rootImpressionEventID=l.impressionEventID;var y=this.getVisualElementLiteProto_(v);q.length&&G5b(y,q);q=v.getElement();this.isVisible_(q,c)?(v.neverShown=!1,v.hidden=!1):y.setVisible(1);this.enableAttentionLogging_&&PW(v.getTag(),"hover")&&v.traversalOrder_!==void 0&&(q.setAttribute("data-hveid",Number(v.traversalOrder_)),nj(l.clientVeProto$jscomp$7,CA,2,Wi()).length===0&&zPc(v)&&(q.setAttribute("decode-data-ved","1"),q.setAttribute("data-ved",zPc(v)+"")));
this.setTimestamp(y);Bv(l.clientVeProto$jscomp$7,2,CA,y);l.testCodes$jscomp$1=l.testCodes$jscomp$1.concat(v.getTag().testCodes_)}}(e),a);h=new WF;mdc(h,e.clientVeProto$jscomp$7.serialize());wc(h,20,e.testCodes$jscomp$1,Gb);d.push(h)}return d},WPc=function(a,b,c){for(var d=[],e=new Map,f=b.length-1;f>=0;f--){var h=b[f],l=h.keys().next().value.rootImpressionEventID,q=e.get(l)||[];q.push(h);e.set(l,q)}e.forEach(function(v,y){var E=0,H=[],O=new TW,N=[],T=EPc();O.setEventId(T);O.setParentEventId(y);var da=
new RW;X(da,xA,1,y);X(O,RW,9,da);for(da=0;da<v.length;da++)for(var ja=v[da],na=ja.keys(),Ia=na.next().value,Pa=ja.get(Ia),Na={},bb=0;bb<Pa.length;Na={startingOffset:void 0,cloneTreeRootIndex:void 0},++bb){var ma=Ia;Na.cloneTreeRootIndex=0;Na.startingOffset=Pa[bb];var Da=ja.size;bb!=Pa.length-1&&(Da=Pa[bb+1]);for(var Ea=Na.startingOffset;Ea<Da;++Ea){var zb=na.next().value;Ea==Na.startingOffset&&(ma=zb,Na.cloneTreeRootIndex=E);zb.impressionEventID=T;zb.rootImpressionEventID=y;zb.traversalOrder_=E;var qb=
ja.get(zb),dc=this.getVisualElementLiteProto_(zb);qb.length&&G5b(dc,qb.map(function(fc){return function(qc){return qc-fc.startingOffset+fc.cloneTreeRootIndex}}(Na)));qb=zb.getElement();this.isVisible_(qb,c)?(zb.neverShown=!1,zb.hidden=!1):dc.setVisible(1);this.setTimestamp(dc);Bv(O,2,CA,dc);N=N.concat(zb.getTag().testCodes_);E++}Na=new FPc;Na.setType(3);Da=YPc(Ia);Na.setTarget(Da);Da=new BA;Ea=new AA;zb=new UW;Ea.setVeIndex(ma.traversalOrder_);C5b(Ea,ma.getTag().visualElementID);Fl(Da,2,E5b,Ea);X(Na,
BA,3,Da);this.enableAncestryLoggingForGrafts_&&(NPc(zb,this.getAncestry_(ma)),vt(Na,OPc,zb));H.push(Na)}H.length&&(v=new HPc,$l(v,1,H),X(O,HPc,7,v));H=new WF;mdc(H,O.serialize());wc(H,20,N,Gb);d.push(H)},a);return d},XPc=function(a,b,c){for(var d=[],e=b.length-1;e>=0;e--)for(var f=b[e],h=f.keys(),l=h.next().value,q=f.get(l),v={},y=0;y<q.length;v={startingOffset$jscomp$1:void 0},++y){v.startingOffset$jscomp$1=q[y];var E=f.size;y!=q.length-1&&(E=q[y+1]);var H=new TW,O=[],N=EPc(),T=new RW;X(T,xA,1,l.impressionEventID);
H.setEventId(N);H.setParentEventId(l.impressionEventID);hk(H,5,3);X(H,RW,9,T);T=new SW;l.serverVed_?T.setVed(l.serverVed_):T.setUiType(l.getTag().visualElementID).setVeIndex(l.traversalOrder_);IPc(T,a.getAncestry_(l));X(H,SW,4,T);for(T=v.startingOffset$jscomp$1;T<E;++T){var da=h.next().value;da.impressionEventID=N;da.rootImpressionEventID=l.rootImpressionEventID;da.traversalOrder_!=void 0&&(da.traversalOrder_-=v.startingOffset$jscomp$1);var ja=f.get(da),na=a.getVisualElementLiteProto_(da);ja.length&&
G5b(na,ja.map(function(Ia){return function(Pa){return Pa-Ia.startingOffset$jscomp$1}}(v)));ja=da.getElement();a.isVisible_(ja,c)?(da.neverShown=!1,da.hidden=!1):na.setVisible(1);a.enableAttentionLogging_&&PW(da.getTag(),"hover")&&da.traversalOrder_!==void 0&&(ja.setAttribute("data-hveid",Number(da.traversalOrder_)),nj(H,CA,2,Wi()).length===0&&zPc(da)&&(ja.setAttribute("decode-data-ved","1"),ja.setAttribute("data-ved",zPc(da)+"")));a.setTimestamp(na);Bv(H,2,CA,na);O=O.concat(da.getTag().testCodes_)}v=
new WF;mdc(v,H.serialize());wc(v,20,O,Gb);d.push(v)}return d};Hs.prototype.getAncestry_=function(a){if(!this.enableAncestryLogging_)return[];for(var b=[],c=new Set;a&&!c.has(a);){var d=this.getVisualElementLiteProto_(a);b.unshift(d);c.add(a);a=a.getParent()}return b};
Hs.prototype.getVisualElementLiteProto_=function(a){var b=(new CA).setUiType(a.getTag().visualElementID);Number.isFinite(a.getTag().getIndex())&&b.setElementIndex(a.getTag().getIndex());sPc(a.getTag(),b);this.enableAttentionLogging_&&PW(a.getTag(),"hover")&&(a=new RPc,dk(a,1,!0),vt(b,SPc,a));return b};
var YPc=function(a){var b=new BA;if(a.serverVed_)b.setVed(a.serverVed_);else{var c=new AA;Fl(b,3,F5b,a.impressionEventID);c.setVeIndex(a.traversalOrder_);C5b(c,a.getTag().visualElementID);Fl(b,2,E5b,c)}return b};
Hs.prototype.setTimestamp=function(a){var b=Date.now();b=Number.isFinite(b)?b.toString():void 0;if(a instanceof SW&&(!W(a,QW,15)||!W(a,QW,15).getExtension(PPc))){var c=new WW,d=new VW,e=W(a,QW,15);e||(e=new QW);lk(d,1,b);c.setTimestamp(d);vt(e,PPc,c);X(a,QW,15,e)}a instanceof CA&&(c=new WW,d=new VW,lk(d,1,b),c.setTimestamp(d),vt(a,QPc,c))};var ZPc=1;var $Pc=function(){},aQc=[[],[]],bQc=0,cQc=new Set,dQc=null,eQc=0,fQc=0,gQc=0,hQc=0,iQc=0,jQc=function(a){this.mutate_=this.measure_=void 0;this.runInCurrentFrameIfPossible_=!1;this.window_=window;this.context_=a;this.state_ctor_=$Pc};g=jQc.prototype;g.measure=function(a){this.measure_=a;return this};g.mutate=function(a){this.mutate_=a;return this};g.runInCurrentFrameIfPossible=function(){this.runInCurrentFrameIfPossible_=!0;return this};g.window=function(a){this.window_=a;return this};
g.build=function(){return kQc({measure:this.measure_,mutate:this.mutate_,stateCtor:this.state_ctor_,window:this.window_,runInCurrentFrameIfPossible:this.runInCurrentFrameIfPossible_},this.context_)};
var kQc=function(a,b){var c=iQc++,d=Math.max(a.measure?a.measure.length:0,a.mutate?a.mutate.length:0),e={id:c,measureFn:a.measure,mutateFn:a.mutate,context:b,args:[]},f=e;return function(){var h=f.phase!==0;h&&(f=Object.assign({phase:0},e));b||(f.context=this);f.args=Array.prototype.slice.call(arguments);d>arguments.length&&f.args.push(new a.stateCtor);h&&(h=bQc,!a.runInCurrentFrameIfPossible||hQc==0||a.measure&&hQc!=1||(h=(h+1)%2),aQc[h].push(f));return lQc(a.window)}},mQc=function(a,b){var c={};
hQc=1;for(var d=0;d<a.length;++d){var e=a[d];var f=e.args[e.args.length-1];f&&typeof f==="object"&&(f.now=b);if(e.measureFn){e.phase=1;try{e.measureFn.apply(e.context,e.args)}catch(h){c[d]=!0,za(h)}}}hQc=2;for(d=0;d<a.length;++d)if(e=a[d],(f=e.args[e.args.length-1])&&typeof f==="object"&&(f.now=b),!c[d]&&e.mutateFn){e.phase=2;try{e.mutateFn.apply(e.context,e.args)}catch(h){za(h)}}eQc>0&&b>1&&(a=b-eQc,a<500&&(ZPc++,a>100&&fQc++,gQc<a&&(gQc=a)));eQc=cQc.size&&b>1?b:0},lQc=function(a){if(!cQc.has(a)){cQc.size||
(dQc=new FNc);cQc.add(a);var b=dQc.resolve;a.requestAnimationFrame(function(c){cQc.clear();var d=aQc[bQc];bQc=(bQc+1)%2;try{mQc(d,c)}finally{hQc=0,d.length=0}b()})}return dQc.promise};var nQc=function(a,b){this.visualElementProvider=a;this.traverseShadowDom=b===void 0?!1:b},pQc=function(a,b){return oQc(a,b).filter(function(c){return XW(this.visualElementProvider,c)!=null},a)},qQc=function(a,b){var c=a.visualElementProvider;a=[];for(var d=void 0,e={},f=0;f<b.length;e={parent$jscomp$183:void 0},++f){var h=XW(c,b[f]);h.traversalOrder_==void 0&&h.serverVed_==void 0&&(e.parent$jscomp$183=void 0,Z$a(b[f],function(l){return function(q){q=XW(c,q);return q!=null?(l.parent$jscomp$183=q,
!0):!1}}(e),!1),e.parent$jscomp$183?d&&d.has(e.parent$jscomp$183)||(d=new Map,a.unshift(d),d.set(e.parent$jscomp$183,[]),xPc=1):(d=new Map,a.unshift(d),xPc=0),yPc(h),h.setParent(e.parent$jscomp$183),d.set(h,[]),e.parent$jscomp$183&&d.get(e.parent$jscomp$183).push(h.traversalOrder_))}return a},rQc=function(a,b){var c=a.visualElementProvider;return b.map(function(d){return XW(c,d)})},oQc=function(a,b){if(a.traverseShadowDom){var c=[];a=[];for(c.push.apply(c,b.querySelectorAll("*"));c.length>0;){var d=
c.shift();d.getAttribute("jslog")&&a.push(d);d.shadowRoot&&c.unshift.apply(c,d.shadowRoot.querySelectorAll("*"))}}else a=[].slice.call(b.querySelectorAll("[jslog]"));a.unshift(b);return a},xPc=0;var sQc=function(a,b){this.tagPopulator_=a;this.expectXidTagComponents_=b||!1;this.componentID_=void 0},XW=function(a,b){var c=b.LSWHIf||null;if(c&&(c.getTag().getComponentID()||a.componentID_)&&c.getTag().getComponentID()!=a.componentID_)return null;var d;!(d=c&&c.getTag().isMutable&&!c.getTag().isMutable())&&(d=c&&c.getTag().isMutable&&c.getTag().isMutable())&&(d=b.getAttribute("jslog"),d=!(!d||iu(d)||d!=c.getTag().getAttribute()));if(d)return c;d=b.getAttribute("jslog");if(!d)return null;d=tQc(a,
d);if(!d||(d.getComponentID()||a.componentID_)&&d.getComponentID()!=a.componentID_)return null;a=new wPc(b,d);c&&c.getTag().retain_cached_impression_&&c.loggedImpression_&&(a.loggedImpression_=!0);if(c=a.getElement().getAttribute("data-ved")){a.serverVed_=c;if(!c||c.charAt(0)!="0"&&c.charAt(0)!="2")var e=null;else{c=c.substring(1);try{var f=uPc(c);e=W(f,xA,13)}catch(h){e=null}}e&&(a.impressionEventID=e,a.rootImpressionEventID=e)}return b.LSWHIf=a},tQc=function(a,b){if(iu(b))return null;var c=b.split(";"),
d=Number(c[0].trim());if(isNaN(d))return null;d=a.tagPopulator_.createNewTag(d);for(var e=1;e<c.length;e++){var f=c[e].trim();if(!iu(f)){var h=u_b(f);if(h.length<2)return null;f=h[0].trim();h=h[1].trim();if(iu(f)||iu(h))return null;switch(f){case a.maybeXidPartLabel_("track"):f=h.split(",");for(h=0;h<f.length;++h){var l=d,q=f[h].trim();if(a.expectXidTagComponents_){if(!l.xidTagComponents_)throw Error("Mf");if(!oPc.has(q))throw Error("Nf`"+q);l.tracks_.add(q)}else l.tracks_.add(l.maybeXidEventLabel_(q))}break;
case a.maybeXidPartLabel_("index"):d.setIndex(Number(h));break;case a.maybeXidPartLabel_("tc"):f=h.split(",");f=f.map(Number);f=f.filter(Number.isInteger);d.testCodes_=f;break;case "cid":d.setComponentID(h);break;case a.maybeXidPartLabel_("mutable"):h=="true"?d.mutable_=!0:h=="rci"&&(d.mutable_=!0,d.retain_cached_impression_=!0)}}}return d.setAttribute(b)};sQc.prototype.maybeXidPartLabel_=function(a){return this.expectXidTagComponents_?V$a(a):a};
sQc.prototype.setComponentID=function(a){this.componentID_=a};sQc.prototype.getComponentID=function(){return this.componentID_};var uQc=function(a,b){bG.call(this,"visibilitychange");this.hidden=a;this.visibilityState=b};Y(uQc,bG);var vQc=function(a){yp.call(this);this.domHelper_=a||Bp();if(this.eventType_=this.getBrowserEventType_())this.eventKey_=zp(this.domHelper_.document_,this.eventType_,ov(this.handleChange_,this))};qv(vQc,yp);g=vQc.prototype;g.getBrowserEventType_=wp(function(){var a=!!this.getHiddenPropertyName_(),b=this.getHiddenPropertyName_()!="hidden";if(a){var c;b?c=((Lab()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});
g.getHiddenPropertyName_=wp(function(){return wnc("hidden",this.domHelper_.document_)});g.getVisibilityStatePropertyName_=wp(function(){return wnc("visibilityState",this.domHelper_.document_)});g.handleChange_=function(){var a=this.getHiddenPropertyName_()?this.domHelper_.document_[this.getVisibilityStatePropertyName_()]:null;a=new uQc(!!this.domHelper_.document_[this.getHiddenPropertyName_()],a);this.dispatchEvent(a)};g.disposeInternal=function(){hG(this.eventKey_);vQc.superClass_.disposeInternal.call(this)};var YW=function(a,b,c,d,e,f,h){var l=d===void 0?{}:d;var q=l.backgroundJobDeferrer===void 0?void 0:l.backgroundJobDeferrer;d=l.expectXidTagComponents===void 0?!1:l.expectXidTagComponents;l=l.traverseShadowDom===void 0?!1:l.traverseShadowDom;Lr.call(this);var v=this;this.eventBuilder=a;this.transport=c;this.root_=this.domHelper_=this.invariantData_=this.appInfo_=void 0;this.listeners_=[];this.impressionListeners_=[];this.expectXidTagComponents_=d;this.metadataHandler_=b||new MPc;this.visualElementProvider_=
new sQc(this.metadataHandler_,this.expectXidTagComponents_);this.eventToActionMap_={click:3};this.eventToTracksLabelMap_={click:this.maybeXidEventLabel_("generic_click")};this.pageVisibilityMonitor_=new vQc;this.logImpressionsTask_=(new jQc(this)).measure(q?function(){return q().then(v.handleImpressions_.bind(v))}:this.handleImpressions_).runInCurrentFrameIfPossible().build();this.logImpressionsThrottle_=new QBc(this.logImpressionsTask_,500,this);this.traverser_=h||new nQc(this.visualElementProvider_,
l);this.eventBuilder instanceof BPc&&(this.eventHandler_=this.eventBuilder);this.zwiebackId_=e;this.windowProvider_=f};Y(YW,Lr);YW.prototype.setComponentID=function(a){this.visualElementProvider_.setComponentID(a)};YW.prototype.logImpressions=function(){this.domHelper_&&this.logImpressionsThrottle_.fire()};
var xQc=function(a,b,c,d){var e=wQc(d),f=a.getIndex(c);var h=new hPc;h=hk(h,4,b);var l=c.getTag().visualElementID;h=ek(h,1,l);e=wc(h,3,e,Gb);f!=null&&e.setElementIndex(f);f=new APc;f.ve_metadata=a.getMetadata(c,d);f.global_metadata=a.invariantData_;f.client_info=a.appInfo_;c=ldc(new WF,e.serialize());c=wc(c,20,f.testCodes,Gb);a.transport&&$F(a.transport,c);if(b!=null)for(b=new JPc(b),c=0;c<a.listeners_.length;c++)a.listeners_[c](b)};YW.prototype.log=function(a){this.transport&&$F(this.transport,a)};
var yQc=function(a){for(var b=0;b<a.impressionListeners_.length;b++)a.impressionListeners_[b]()};YW.prototype.getIndex=function(a){return a.getTag().getIndex()};var wQc=function(a){return a.map(function(b){return b.getTag().visualElementID})};YW.prototype.getMetadata=function(a,b){var c=new CA;sPc(a.getTag(),c);for(a=0;a<b.length;++a)sPc(b[a].getTag(),c);return c};
var zQc=function(a,b,c){var d,e=a.visualElementProvider_,f=a.eventToTracksLabelMap_[b];Z$a(c,function(h){if(!QA(h))return!1;h=XW(e,h);var l;if(l=h!=null)if(l=h.getTag(),a.expectXidTagComponents_){if(!l.xidTagComponents_)throw Error("Mf");if(!oPc.has(f))throw Error("Nf`"+f);l=l.tracks_.has(f)}else l=PW(l,f);return l?(d=h,!0):!1},!0);return d};g=YW.prototype;
g.getAncestry_=function(a){var b=[],c=this.visualElementProvider_;Z$a(a,function(d){if(!QA(d))return!1;d=XW(c,d);d!=null&&b.push(d);return!1},!1);return b};
g.handleImpressions_=function(){var a=this.pageVisibilityMonitor_;if(!a.domHelper_.document_[a.getHiddenPropertyName_()]&&this.root_){if(a=!(!window.performance||!window.performance.clearMarks))window.performance.clearMeasures("ZVwBtb"),window.performance.clearMarks("KtiTlc"),window.performance.mark("KtiTlc");var b=pQc(this.traverser_,this.root_);if(this.eventHandler_){var c=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):this.domHelper_.getViewportSize();c=new MJ(0,0,
c.width,c.height);var d=qQc(this.traverser_,b);if(d.length){d=this.eventHandler_.impressionEvent(d,c);for(var e=0;e<d.length;++e)this.metadataHandler_.addEventMetadata(d[e]),gk(d[e],28,this.zwiebackId_),this.transport&&$F(this.transport,d[e])}b=rQc(this.traverser_,b);b=this.eventHandler_.visibilityEvent(b,c);if(b.length)for(c=0;c<b.length;++c)this.metadataHandler_.addEventMetadata(b[c]),this.zwiebackId_&&gk(b[c],28,this.zwiebackId_),this.transport&&$F(this.transport,b[c]);yQc(this)}else{c=[];d=this.windowProvider_?
this.domHelper_.getViewportSize(this.windowProvider_()):this.domHelper_.getViewportSize();d=new MJ(0,0,d.width,d.height);for(e=0;e<b.length;e++){var f=b[e];this.isVisible_(f,d)&&(f=XW(this.visualElementProvider_,f))&&PW(f.getTag(),"impression")&&c.push(f)}for(b=0;b<c.length;b++)d=c[b],d.loggedImpression_||(e=this.getAncestry_(d.getElement()),xQc(this,void 0,d,e),yQc(this),d.loggedImpression_=!0)}a&&window.performance.measure("ZVwBtb","KtiTlc")}};
g.isVisible_=function(a,b){if(a.hasAttribute("ve-visible"))return a.getAttribute("ve-visible")==="true";a=a.getBoundingClientRect();return(b=xnc(b,new MJ(a.left,a.top,a.width,a.height)))&&b.width>=10&&b.height>=10?!0:!1};g.maybeXidEventLabel_=function(a){return this.expectXidTagComponents_?T$a(a):a};
g.tearDown=function(){if(this.domHelper_){var a=this.domHelper_.document_;this.unlisten(a,"scroll",this.logImpressions,!0);this.unlisten(a,"resize",this.logImpressions,!0);this.unlisten(a,"load",this.logImpressions,!1);this.unlisten(a,"DOMContentLoaded",this.logImpressions,!1)}this.unlisten(this.pageVisibilityMonitor_,"visibilitychange",this.logImpressions,!1);this.logImpressionsThrottle_.dispose()};var Is=function(a,b,c,d,e,f,h,l,q,v,y,E,H){e=e===void 0?!1:e;q=q===void 0?!1:q;l||(b=new xp(b,c),d&&(b.destinationUrl=d),f&&(b.backgroundJobDeferrer=f),l=b.build());YW.call(this,a,h||null,l,{expectXidTagComponents:e,backgroundJobDeferrer:f,traverseShadowDom:q},v,y,E);this.clearcut_=l;this.clearcut_.setClientSideLogOnlyForDevelopment(!1);a=this.clearcut_;a.useSendBeaconForFinalFlush=a.isSendBeaconSupported;this.clearcut_.useGetRequestForFinalFlush=!0;H&&this.clearcut_.setProductID(H)};Y(Is,YW);
Is.prototype.setClearcutClientInfo=function(a){this.clearcut_.setClearcutClientInfo(a)};Is.prototype.setBuildLabel=function(a){this.clearcut_.setBuildLabel(a)};Is.prototype.setClientSideLogOnlyForDevelopment=function(a){this.clearcut_.setClientSideLogOnlyForDevelopment(a)};var AQc=function(a){this.tracker=a};var BQc=function(a,b){this.root=a;this.handler=b;this.eventHandler=new Lr(this)};
BQc.prototype.observe=function(a){var b=this;this.observer||(this.observer=new MutationObserver(function(c){b.onMutation(c)}),this.observer.observe(this.root,{childList:!0,subtree:!0}),this.eventHandler.listen(this.root,a,function(c){var d=b.handler.tracker,e=c.type,f=d.eventToActionMap_[e];if(f&&(e=zQc(d,e,c.target)))if(d.eventHandler_)for(f=d.eventHandler_.interactionEvent(e,new JPc(f)),e=0;e<f.length;++e)d.metadataHandler_.addEventMetadata(f[e]),d.zwiebackId_&&gk(f[e],28,d.zwiebackId_),d.transport&&
$F(d.transport,f[e]);else{var h=d.getAncestry_(e.getElement());xQc(d,f,e,h)}c.stopPropagation()}))};BQc.prototype.dispose=function(){var a;(a=this.observer)==null||a.disconnect();this.eventHandler.removeAll()};BQc.prototype.onMutation=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.type==="childList"){b=k(b.addedNodes);for(var c=b.next();!c.done;c=b.next())c=c.value,c instanceof Element&&(c.querySelectorAll("[jsLog]").length||c.getAttribute("jsLog"))&&this.handler.tracker.logImpressions()}};var bab=function(a,b){this.root=a;this.tracker=b;this.observer=new BQc(this.root,new AQc(this.tracker))};
bab.prototype.start=function(a){var b=this.tracker,c=this.root;b.domHelper_=new FA;b.root_=c||b.domHelper_.document_.body;c=b.domHelper_.document_;c.readyState!=="interactive"&&c.readyState!=="complete"||b.logImpressions();b.listenOnce(c,"load",b.logImpressions,!1);b.listenOnce(c,"DOMContentLoaded",b.logImpressions,!1);b.listen(b.pageVisibilityMonitor_,"visibilitychange",b.logImpressions,!1);b.listen(c,"scroll",b.logImpressions,!0);b.listen(c,"resize",b.logImpressions,!0);b=k(a);for(c=b.next();!c.done;c=
b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;var e=this.tracker;e.eventToActionMap_[c]=d;e.eventToTracksLabelMap_[c]=e.maybeXidEventLabel_(c)}this.observer.observe([].concat(w(a.keys())))};bab.prototype.stop=function(){this.observer.dispose();this.tracker.dispose()};var ZW=function(){this.queryScope_=0;this.targetCount_=1;this.displayNameWithOverrideApplied_=null},CQc=function(a,b){a.displayNameWithOverrideApplied_=b;return a},DQc=function(a,b){a.targetCount_=b;return a};ZW.prototype.getTargetCount=function(){return this.targetCount_};ZW.prototype.getQueryScope=function(){return this.queryScope_};ZW.prototype.setQueryScope=function(a){this.queryScope_=a;return this};ZW.prototype.getDisplayNameWithOverrideApplied=function(){return this.displayNameWithOverrideApplied_};var Ut=function(a){this.internalArray_=m(a)};Y(Ut,V);var $W=function(a,b){return dk(a,1,b)};g=Ut.prototype;g.getProvenance=function(){return Kj(this,2,0)};g.setProvenance=function(a){return hk(this,2,a)};g.getCode=function(){return Kj(this,3,0)};g.setCode=function(a){return hk(this,3,a)};g.getCodeOrUndefined=function(){return Qt(this,3)};var aX=function(a){this.internalArray_=m(a)};Y(aX,V);aX.prototype.getSource=function(){return W(this,Ut,1)};aX.prototype.setSource=function(a){return X(this,Ut,1,a)};aX.prototype.hasSource=function(){return Oj(this,Ut,1)};var bX=function(a,b){return hk(a,2,b)},cX=function(a,b){return hk(a,3,b)};var EQc=function(){this.code_=2;this.cacheState_=new aX;this.similarIds_=[]};g=EQc.prototype;g.getCode=function(){return this.code_};g.getCacheState=function(){return this.cacheState_};g.getSimilarIds=function(){return this.similarIds_};g.setCode=function(a){this.code_=a;return this};g.setCacheState=function(a){this.cacheState_=a;return this};var FQc=function(a,b){this.disambiguationLabel_=a;this.metadata_=b};FQc.prototype.getDisambiguationLabel=function(){return this.disambiguationLabel_};FQc.prototype.getMetadata=function(){return this.metadata_};var bt=function(){this.filter_=null;this.originator_=this.queryScope_=0;this.useOriginalDisplayValue_=!1};g=bt.prototype;g.getFilter=function(){return this.filter_};g.setFilter=function(a){this.filter_=a;return this};g.getQueryScope=function(){return this.queryScope_};g.setQueryScope=function(a){this.queryScope_=a;return this};g.getOriginator=function(){return this.originator_};g.setOriginator=function(a){this.originator_=a;return this};g.getUseOriginalDisplayValue=function(){return this.useOriginalDisplayValue_};
g.setUseOriginalDisplayValue=function(a){this.useOriginalDisplayValue_=a;return this};g.clone=function(){return(new bt).setFilter(this.getFilter()).setOriginator(this.getOriginator()).setQueryScope(this.getQueryScope()).setUseOriginalDisplayValue(this.getUseOriginalDisplayValue())};var GQc=function(){this.isLastCallback_=this.isFirstCallback_=!1;this.notFoundIdList_=[];this.code_=2;this.cacheState_=new aX};g=GQc.prototype;g.getIsFirstCallback=function(){return this.isFirstCallback_};g.getIsLastCallback=function(){return this.isLastCallback_};g.getCode=function(){return this.code_};g.getCacheState=function(){return this.cacheState_};g.setIsFirstCallback=function(a){this.isFirstCallback_=a;return this};g.setIsLastCallback=function(a){this.isLastCallback_=a;return this};
g.setCallbackNumber=function(){return this};g.setCode=function(a){this.code_=a;return this};g.setCacheState=function(a){this.cacheState_=a;return this};var HQc=function(a,b){this.results_=a;this.metadata_=b};HQc.prototype.getResults=function(){return this.results_};HQc.prototype.getMetadata=function(){return this.metadata_};var dX=function(a){this.internalArray_=m(a)};Y(dX,V);g=dX.prototype;g.getQuery=function(){return Gh(this,1,"")};g.setQuery=function(a){return gk(this,1,a)};g.clearQuery=function(){Zp(this,1)};g.hasQuery=function(){return Hj(this,1)};g.getIsFirstCallback=function(){return Fj(this,2,!1)};g.setIsFirstCallback=function(a){return dk(this,2,a)};g.getIsLastCallback=function(){return Fj(this,3,!1)};g.setIsLastCallback=function(a){return dk(this,3,a)};g.setCallbackNumber=function(a){return ek(this,4,a)};
g.getNextPageToken=function(){return Gh(this,5,"")};g.getCode=function(){return Kj(this,6,2)};g.setCode=function(a){return hk(this,6,a)};g.getCodeOrUndefined=function(){return Qt(this,6)};g.getCacheState=function(){return W(this,aX,7)};g.setCacheState=function(a){return X(this,aX,7,a)};g.hasCacheState=function(){return Oj(this,aX,7)};var eX=function(a,b){this.results_=a;this.metadata_=b};eX.prototype.getResults=function(){return this.results_};eX.prototype.getMetadata=function(){return this.metadata_};var IQc={create:function(a,b,c,d,e){e=e===void 0?new Ls:e;return jab(a,b,c,d,new RLc,{sessionOptions:e})},createWith:function(a,b,c,d,e){e=e===void 0?{}:e;return jab(a,b,c,d,new RLc,e)},createConfig:function(a){a=a===void 0?new ukc(sJ.apiEnv,new vkc(sJ.userProfileId)):a;return new dNc(a)}};var JQc=function(){this.warnForExternalSelections=!1;this.allowContactMethodEditing=!0;this.chipCustomizationCallback=function(){return{}}};g=JQc.prototype;g.getWarnForExternalSelections=function(){return this.warnForExternalSelections};g.getAllowDisplayNameEditing=function(){return!1};g.getAllowContactMethodEditing=function(){return this.allowContactMethodEditing};g.setAllowContactMethodEditing=function(a){this.allowContactMethodEditing=a};g.getAllowChipDeletion=function(){return!0};
g.getShouldDisplayExternalSelectionIcon=function(){return!0};g.getAllowChipDragAndDrop=function(){return!0};g.getChipCustomizationCallback=function(){return this.chipCustomizationCallback};g.getAllowChipDisambiguation=function(){return!0};var KQc=function(a){this.entryPoint=0;this.environmentConfig=a;this.appearance=new v7a;this.chip=new JQc;this.chip.setAllowContactMethodEditing(!1);this.useOriginalDisplayValue=!1};g=KQc.prototype;g.setEntryPoint=function(a){this.entryPoint=a};g.getEntryPoint=function(){return this.entryPoint};g.getEnvironmentConfig=function(){return this.environmentConfig};g.getUseOriginalDisplayValue=function(){return this.useOriginalDisplayValue};
g.setUseOriginalDisplayValue=function(a){this.useOriginalDisplayValue=a};g.getWarnForExternalSelections=function(){return this.chip.getWarnForExternalSelections()};g.getAllowDisplayNameEditing=function(){return this.chip.getAllowDisplayNameEditing()};g.getAllowContactMethodEditing=function(){return this.chip.getAllowContactMethodEditing()};g.setAllowContactMethodEditing=function(a){this.chip.setAllowContactMethodEditing(a)};g.getAllowChipDeletion=function(){return this.chip.getAllowChipDeletion()};
g.getShouldDisplayExternalSelectionIcon=function(){return this.chip.getShouldDisplayExternalSelectionIcon()};g.getAllowChipDragAndDrop=function(){return this.chip.getAllowChipDragAndDrop()};g.getChipCustomizationCallback=function(){return this.chip.getChipCustomizationCallback()};g.getAllowChipDisambiguation=function(){return this.chip.getAllowChipDisambiguation()};g.getDensity=function(){return this.appearance.getDensity()};g.setDensity=function(a){this.appearance.setDensity(a)};g.getTheme=function(){return this.appearance.getTheme()};
g.setTheme=function(a){this.appearance.setTheme(a)};g.getStyle=function(){return this.appearance.getStyle()};g.setStyle=function(a){this.appearance.setStyle(a)};var LQc=function(a){this.entryPoint=0;this.helpText="";this.shouldAutofocus=!1;this.environmentConfig=a;this.autocomplete=new cNc(this.environmentConfig);this.chipsBar=new KQc(this.environmentConfig);this.chipsBar.setAllowContactMethodEditing(!0)};g=LQc.prototype;g.getEnvironmentConfig=function(){return this.environmentConfig};g.setEntryPoint=function(a){this.entryPoint=a};g.getEntryPoint=function(){return this.entryPoint};g.getWarnForExternalSelections=function(){return this.chipsBar.getWarnForExternalSelections()};
g.getAllowDisplayNameEditing=function(){return this.chipsBar.getAllowDisplayNameEditing()};g.getAllowContactMethodEditing=function(){return this.chipsBar.getAllowContactMethodEditing()};g.setAllowContactMethodEditing=function(a){this.chipsBar.setAllowContactMethodEditing(a)};g.getAllowChipDeletion=function(){return this.chipsBar.getAllowChipDeletion()};g.getShouldDisplayExternalSelectionIcon=function(){return this.chipsBar.getShouldDisplayExternalSelectionIcon()};g.getAllowChipDragAndDrop=function(){return this.chipsBar.getAllowChipDragAndDrop()};
g.getChipCustomizationCallback=function(){return this.chipsBar.getChipCustomizationCallback()};g.getAllowChipDisambiguation=function(){return this.chipsBar.getAllowChipDisambiguation()};g.getUseOriginalDisplayValue=function(){return this.chipsBar.getUseOriginalDisplayValue()};g.setUseOriginalDisplayValue=function(a){this.chipsBar.setUseOriginalDisplayValue(a)};g.getAutocompleteHeader=function(){return this.autocomplete.getAutocompleteHeader()};g.setAutocompleteHeader=function(a){this.autocomplete.setAutocompleteHeader(a)};
g.getShowSuggestions=function(){return this.autocomplete.getShowSuggestions()};g.setShowSuggestions=function(a){this.autocomplete.setShowSuggestions(a)};g.getAutocompleteMaxResultsBeforeScroll=function(){return this.autocomplete.getAutocompleteMaxResultsBeforeScroll()};g.setAutocompleteMaxResultsBeforeScroll=function(a){this.autocomplete.setAutocompleteMaxResultsBeforeScroll(a)};g.getMoveAutocompleteAboveAnchorIfOffscreen=function(){return this.autocomplete.getMoveAutocompleteAboveAnchorIfOffscreen()};
g.setMoveAutocompleteAboveAnchorIfOffscreen=function(a){this.autocomplete.setMoveAutocompleteAboveAnchorIfOffscreen(a)};g.getAutoActivateFirstSuggestion=function(){return this.autocomplete.getAutoActivateFirstSuggestion()};g.setAutoActivateFirstSuggestion=function(a){this.autocomplete.setAutoActivateFirstSuggestion(a)};g.getAutoActivateFirstSearchResult=function(){return this.autocomplete.getAutoActivateFirstSearchResult()};g.setAutoActivateFirstSearchResult=function(a){this.autocomplete.setAutoActivateFirstSearchResult(a)};
g.getNoResultsMessage=function(){return this.autocomplete.getNoResultsMessage()};g.setNoResultsMessage=function(a){this.autocomplete.setNoResultsMessage(a)};g.getUseTabForResultSelection=function(){return this.autocomplete.getUseTabForResultSelection()};g.getAutocompleteGroupingType=function(){return this.autocomplete.getAutocompleteGroupingType()};g.setAutocompleteGroupingType=function(a){this.autocomplete.setAutocompleteGroupingType(a)};g.getAutocompleteGroupingLabel=function(){return this.autocomplete.getAutocompleteGroupingLabel()};
g.setAutocompleteGroupingLabel=function(a){this.autocomplete.setAutocompleteGroupingLabel(a)};g.getAutocompleteCustomGrouping=function(){return this.autocomplete.getAutocompleteCustomGrouping()};g.getAllowResultDeselection=function(){return this.autocomplete.getAllowResultDeselection()};g.getResultDecorationConfigRequestCallback=function(){return this.autocomplete.getResultDecorationConfigRequestCallback()};g.getResultCustomizationCallback=function(){return this.autocomplete.getResultCustomizationCallback()};
g.setResultCustomizationCallback=function(a){this.autocomplete.setResultCustomizationCallback(a)};g.getDensity=function(){return this.autocomplete.getDensity()};g.setDensity=function(a){this.autocomplete.setDensity(a)};g.getTheme=function(){return this.autocomplete.getTheme()};g.setTheme=function(a){this.autocomplete.setTheme(a)};g.getStyle=function(){return this.autocomplete.getStyle()};g.setStyle=function(a){this.autocomplete.setStyle(a)};var abb=function(a){var b=a.multiSelectable,c=a.orientation,d=a.isKeyboardFocusable;a=a.ariaLabel;return hs('<div class="'+is("peoplekitComponentsArialistboxAriaListBox")+'" peoplekit-id="'+is("pQPeT")+'" tabindex="'+is(d?0:-1)+'" role="listbox" aria-multiselectable="'+is(b)+'" aria-orientation="'+is(c)+'" aria-label="'+is(a)+'"></div>')};var MQc=new Map([[5,12],[12,8],[11,13],[13,14],[2,15],[6,7]]);var $s=function(a,b,c,d){this.selectionsState=a;this.peopleStore=b;this.lookupOptions=c;this.health=d;this.disposed=!1};$s.prototype.select=function(a,b,c){var d=this;c=c===void 0?-1:c;return this.disposed?Promise.reject():new Promise(function(e,f){NQc(d,a,b,c,e,f)})};
var NQc=function(a,b,c,d,e,f){var h=[],l=[];d=d>=0?d:a.selectionsState.size();b=k(b);for(var q=b.next();!q.done;q=b.next()){var v=OQc(q.value);q=v.lookupId;v=Xr(q,v.displayNameOverride,v.forceDisplayNameOverride,v.loggingTokenOverride);a.selectionsState.select(v,d,c)&&(h.push(q),d++)}d=a.lookupOptions.clone().setOriginator(VOc.get(c)||0);a.peopleStore.lookup(h,function(y){PQc(a,y,l,c,e,f)},d)},PQc=function(a,b,c,d,e,f){if(a.disposed)f();else{for(var h=f=0,l=k(b.getResults().entries()),q=l.next();!q.done;q=
l.next()){var v=k(q.value);q=v.next().value;var y=v=v.next().value,E=a.selectionsState.get(q);E&&(v=E.getDisplayNameOverride(),y=xs(y,v,E.getForceDisplayNameOverride(),E.selectionToken().getLoggingToken()),a.selectionsState.replace(q,y,d),v&&f++,y.getDisplayNameWithOverrideApplied()&&h++)}f=h-f;f>0&&(h=a.health,l=h.createCount,q=6,q=q===void 0?0:q,d=MQc.get(d)||q,l.call(h,53,d).increment(f));b=b.getMetadata();c.push.apply(c,w(b.notFoundIdList_));b.getIsLastCallback()&&(a.deselect(c),e(c))}};
$s.prototype.deselect=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())(b=this.selectionsState.get(b.value))&&this.selectionsState.deselect(b)};$s.prototype.replace=function(a,b){var c=this;return this.disposed?Promise.reject():new Promise(function(d,e){QQc(c,a,b,d,e)})};
var QQc=function(a,b,c,d,e){var f=[],h=[];b=k(b.entries());for(var l=b.next();!l.done;l=b.next()){var q=k(l.value);l=q.next().value;q=q.next().value;var v=OQc(q);q=v.lookupId;v=Xr(q,v.displayNameOverride,v.forceDisplayNameOverride,v.loggingTokenOverride);a.selectionsState.replace(l,v)&&h.push(q)}a.peopleStore.lookup(h,function(y){PQc(a,y,f,c,d,e)},a.lookupOptions)};$s.prototype.dispose=function(){this.disposed=!0};
var OQc=function(a){if(a instanceof sMc){var b=a.lookupWithOverride.getId();var c=a.lookupWithOverride.getDisplayName();var d=a.lookupWithOverride.getForceDisplayNameOverride();a=a.getLoggingToken()}else a instanceof Us?(b=a.getId(),c=a.getDisplayName(),d=a.getForceDisplayNameOverride()):(b=a,c="",d=!1),a=null;return{lookupId:b,displayNameOverride:c,forceDisplayNameOverride:d,loggingTokenOverride:a}};var Rab=function(a,b,c,d,e,f){var h=this;this.chipSet=a;this.selectionsState=b;this.undoRedoStack=c;this.lookupSelector=new $s(b,d,e,f);this.onSelectionCallback=function(l,q,v){h.onSelect(v)};this.onSelectionReplacedCallback=function(l,q,v,y){y===9&&h.undoRedoStack.push()};this.onDeselectionCallback=function(l,q,v){h.onDeselect(v)};this.attach()};g=Rab.prototype;
g.attach=function(){JW(this.selectionsState,this.onSelectionCallback);ZOc(this.selectionsState,this.onSelectionReplacedCallback);IW(this.selectionsState,this.onDeselectionCallback)};g.select=function(a){a=this.lookupSelector.select(a,6);this.undoRedoStack.push();return a};g.deselect=function(a){this.lookupSelector.deselect(a);this.undoRedoStack.push()};g.replace=function(a){a=this.lookupSelector.replace(a,6);this.undoRedoStack.push();return a};g.focusLastChip=function(){return this.chipSet.focusLastChip()};
g.activateAllChips=function(){this.chipSet.activateAllChips()};g.dispose=function(){this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback);this.selectionsState.selectionReplacedCallbacks.remove(this.onSelectionReplacedCallback);this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.lookupSelector.dispose();this.chipSet.dispose()};g.onSelect=function(a){a===1&&this.undoRedoStack.push()};g.onDeselect=function(a){switch(a){case 1:case 8:this.undoRedoStack.push()}};var RQc=function(a,b,c,d,e,f,h){this.delegate=a;this.ariaParent=b;this.actionRequestCallbacks=c;this.chipConfig=d;this.appearanceConfig=e;this.clientConfig=f;this.chipCustomization=h;this.contextMenuContainer=Fr(zW.prototype.getRoot.call(this),"QL45qe");a=zW.prototype.getRoot.call(this).parentElement;zW.prototype.getRoot.call(this).removeChild(this.contextMenuContainer);a.appendChild(this.contextMenuContainer)};Y(RQc,zW);g=RQc.prototype;g.deactivate=function(){zW.prototype.deactivate.call(this);this.disposeContextMenu()};
g.drag=function(){this.disposeContextMenu();zW.prototype.drag.call(this)};g.dispose=function(){this.disposeContextMenu();zW.prototype.dispose.call(this)};g.onKeyDown=function(a){var b;(b=this.contextMenu)==null||b.onKeyDown(a);zW.prototype.onKeyDown.call(this,a)};
g.onContextMenu=function(a,b){var c=this;a.stopPropagation();a.preventDefault();this.isActive()?this.actionRequestCallbacks.spotlight():this.actionRequestCallbacks.activate();this.contextMenu&&this.disposeContextMenu();this.contextMenu=I8a(this.contextMenuContainer,this.getRoot(),this.ariaParent,this.appearanceConfig);a=this.appearanceConfig.getTheme();this.contextMenu.append(n8a(a));Fj(this.clientConfig.internal,4,!1)&&SQc(this,a);this.chipConfig.getAllowChipDeletion()&&this.contextMenu.append(o8a(a));
var d;!this.chipConfig.getAllowDisplayNameEditing()||((d=this.chipCustomization.chipAction)==null?0:d.disableDisplayNameEditing)||this.contextMenu.append(p8a(a));mkc.includes(this.getSelection().id().getType())&&this.chipConfig.getAllowContactMethodEditing()&&this.contextMenu.append(q8a(a));E8a(this.getRoot())&&this.contextMenu.append(r8a(a));NMc(this.contextMenu,function(e){c.onContextMenuItemSelected(e)});OMc(this.contextMenu,function(){c.disposeContextMenu();b()});this.contextMenu.show();return function(){c.disposeContextMenu()}};
g.onContextMenuItemSelected=function(a){switch(a.id){case "jCCvxc":this.actionRequestCallbacks.copyMethod(this);break;case "RkeQbd":case "N1uSwe":this.actionRequestCallbacks.copyContactMethod(this);break;case "UkZFS":this.actionRequestCallbacks.cut(this);break;case "xTCd3":this.showHovercard();break;case "YCRBfe":this.edit();break;case "l1309":this.actionRequestCallbacks.editContactMethod(this);break;default:throw Error("Bf`"+a.id);}this.disposeContextMenu()};
var SQc=function(a,b){var c=a.getSelection().result().getDisplayValue();if(c){var d;if((d=a.contextMenu)!=null){var e=d.append;nkc.includes(a.getSelection().id().getType())?(a=$r.get(b),c=Object.freeze({id:"RkeQbd",iconUrl:a==null?void 0:a.get("RkeQbd"),label:'Copy "'+c+'"',keyboardShortcut:[18,67],veid:134816})):(a=$r.get(b),c=Object.freeze({id:"N1uSwe",iconUrl:a==null?void 0:a.get("N1uSwe"),label:'Copy "'+c+'"',keyboardShortcut:[18,67],veid:134816}));e.call(d,c)}}};
RQc.prototype.showHovercard=function(){this.isActive();this.getRoot();this.getSelection()};RQc.prototype.disposeContextMenu=function(){var a;(a=this.contextMenu)==null||a.dispose();this.contextMenu=void 0};var TQc=function(a){this.internalArray_=m(a)};Y(TQc,V);var UQc=function(a){this.internalArray_=m(a)};Y(UQc,V);UQc.prototype.getGroupIdHex=function(){return Gh(this,1)};var VQc=function(a){this.internalArray_=m(a)};Y(VQc,V);VQc.prototype.getGroupIdHex=function(){return Gh(this,1)};var Ps=function(a){this.internalArray_=m(a)};Y(Ps,V);g=Ps.prototype;g.getGivenName=function(){return Gh(this,1)};g.setGivenName=function(a){return cj(this,1,a)};g.getFamilyName=function(){return Gh(this,2)};g.setFamilyName=function(a){return cj(this,2,a)};g.getEmailList=function(){return Vi(this,3,Wi())};g.setEmailList=function(a){return dj(this,3,a)};g.addEmail=function(a){return yc(this,3,Qb,a,void 0,Vi)};g.removeEmail=function(a){return yc(this,3,Qb,void 0,a,Vi,void 0,1,!1,!0)};
g.getEmail=function(a){return Jv(this,3,a)};g.setEmail=function(a){return Nv(this,3,a)};var wab=function(a,b){return dj(a,4,b)};Ps.prototype.getPhone=function(){return Jv(this,4)};Ps.prototype.setPhone=function(a){return Nv(this,4,a)};var fX=function(a){this.internalArray_=m(a)};Y(fX,V);var tab=function(a){var b=new fX;return cj(b,1,a)};fX.prototype.getEdit=function(){return Fj(this,2)};fX.prototype.setEdit=function(a){return Hl(this,2,a)};fX.prototype.getIncludeTrash=function(){return Fj(this,3)};var Ns=function(a){this.internalArray_=m(a)};Y(Ns,V);g=Ns.prototype;g.getObfuscatedGaiaId=function(){return Gh(this,1)};g.setObfuscatedGaiaId=function(a){return cj(this,1,a)};g.getEdit=function(){return Fj(this,2)};g.setEdit=function(a){return Hl(this,2,a)};g.getIncludeTrash=function(){return Fj(this,3)};var gX=function(a){this.internalArray_=m(a)};Y(gX,V);gX.prototype.getEdit=function(){return Fj(this,2)};gX.prototype.setEdit=function(a){return Hl(this,2,a)};gX.prototype.getIncludeTrash=function(){return Fj(this,3)};var WQc=function(a){this.internalArray_=m(a)};Y(WQc,V);WQc.prototype.getQuery=function(){return Gh(this,1)};WQc.prototype.setQuery=function(a){return cj(this,1,a)};WQc.prototype.clearQuery=function(){Zp(this,1)};var XQc=function(a){this.internalArray_=m(a)};Y(XQc,V);XQc.prototype.getQuery=function(){return Gh(this,1)};XQc.prototype.setQuery=function(a){return cj(this,1,a)};XQc.prototype.clearQuery=function(){Zp(this,1)};var Os=function(a){this.internalArray_=m(a)};Y(Os,V);var sab=function(){var a=new Os;return kl(a,1,YQc,"0")};Os.prototype.getAuthUser=function(){return hl(this,17,YQc)};var vab=function(a,b){return Fl(a,3,hX,b)},uab=function(a,b){return Fl(a,9,hX,b)},rab=function(a,b){return Fl(a,10,hX,b)};Os.prototype.getSearchParams=function(){return Al(this,WQc,13,hX)};Os.prototype.setSearchParams=function(a){Fl(this,13,hX,a)};var YQc=[1,17],hX=[2,3,4,5,6,7,8,9,10,11,13,14,15,16];var qab=function(a){switch(fl(a,hX)){case 2:return iX(a,"",Fj(Al(a,TQc,2,hX),1)?[["multisend_welcome","1"]]:null);case 3:return ZQc(a);case 4:return iX(a,"/frequent");case 5:return iX(a,"/other");case 6:return iX(a,"/directory");case 7:return iX(a,"/label/"+jX(Al(a,VQc,7,hX).getGroupIdHex(),"GroupParams.GroupIdHex"));case 8:var b="/person/"+jX(Gh(Al(a,gX,8,hX),1),"PersonByPersonIdParams.PersonId"),c=Al(a,gX,8,hX).getEdit()?[["edit","1"]]:Al(a,gX,8,hX).getIncludeTrash()?[["includeTrash","1"]]:[];return iX(a,
b,c);case 9:return b="/p/"+jX(Al(a,Ns,9,hX).getObfuscatedGaiaId(),"PersonByObfuscatedGaiaIdParams.ObfuscatedGaiaId"),c=Al(a,Ns,9,hX).getEdit()?[["edit","1"]]:Al(a,Ns,9,hX).getIncludeTrash()?[["includeTrash","1"]]:[],iX(a,b,c);case 10:return b="/contact/"+jX(Gh(Al(a,fX,10,hX),1),"PersonByContactIdParams.ContactIdHex"),c=Al(a,fX,10,hX).getEdit()?[["edit","1"]]:Al(a,fX,10,hX).getIncludeTrash()?[["includeTrash","1"]]:[],iX(a,b,c);case 11:return iX(a,"/group/"+jX(Al(a,UQc,11,hX).getGroupIdHex(),"DelegatedContactListParams.GroupIdHex")+
"/"+jX(Gh(Al(a,UQc,11,hX),2),"DelegatedContactListParams.SyntheticGroupId"));case 13:return iX(a,"/search/"+jX(a.getSearchParams().getQuery(),"SearchParams.Query"));case 14:return iX(a,"/trash");case 15:return iX(a,"/trashsearch/"+jX(Al(a,XQc,15,hX).getQuery(),"TrashSearchParams.Query"));case 16:return iX(a,"/suggestions");default:throw Error("Qf`"+fl(a,hX));}},ZQc=function(a){var b=[],c=hu(Al(a,Ps,3,hX).getGivenName());iu(c)||b.push(["givenname",c]);c=hu(Al(a,Ps,3,hX).getFamilyName());iu(c)||b.push(["familyname",
c]);c=Al(a,Ps,3,hX).getEmailList().filter(function(d){return!iu(d)}).toString();iu(c)||b.push(["email",c]);c=Vi(Al(a,Ps,3,hX),4,Wi()).filter(function(d){return!iu(d)}).toString();iu(c)||b.push(["phone",c]);return iX(a,"/new",b)},jX=function(a,b){if(iu(hu(a)))throw Error("Rf`"+b);return a},iX=function(a,b,c){b=b===void 0?"":b;var d=hu(a.getAuthUser()).trim(),e=d||iu(hu(hl(a,1,YQc)))||hl(a,1,YQc)==="0"?"":"/u/"+hl(a,1,YQc),f=[];d&&f.push(["authuser",d]);(a=Kj(a,18,0))&&f.push(["bdSource",a]);c&&c.length>
0&&f.push.apply(f,w(c));return(f.length>0?LMc({searchParams:f,pathname:e+b}):LMc({pathname:e+b})).href.substring(0,16384)};var Bab=function(a,b){var c=this;this.dialog=a;this.textField=b;this.textField.checkValidity=yab;this.textField.onValidityChanged=function(d){return c.onValidityChanged(d)};this.textField.onInput=function(){c.nameLabel.textContent=c.textField.getValue()};this.nameLabel=Fr(this.dialog.getRoot(),"E0kCZc");this.eventHandler=Mr(this);this.textField.focus();this.textField.select();$Qc(this.textField);this.eventHandler.listen(this.textField.getInput(),"keydown",function(d){switch(d.keyCode){case 13:c.dialog.dispatchAction(1),
d.stopPropagation(),d.preventDefault()}})};g=Bab.prototype;g.subscribeToAction=function(a){this.dialog.subscribeToAction(a)};g.dispatchAction=function(a){this.dialog.dispatchAction(a)};g.enableAction=function(a){this.dialog.enableAction(a)};g.disableAction=function(a){this.dialog.disableAction(a)};g.getRoot=function(){return this.dialog.getRoot()};g.dispose=function(){this.dialog.dispose();this.textField.dispose();this.eventHandler.removeAll()};
g.onValidityChanged=function(a){a?this.dialog.enableAction(1):this.dialog.disableAction(1)};var Ts=function(a){var b=this;this.root=a;this.input=Fr(this.root,"YPqjbf");this.invalidMessage=Fr(this.root,"kyLNld");this.eventHandler=Mr(this);this.eventHandler.listen(this.input,"input",function(c){var d;(d=b.onInput)==null||d.call(b,c);$Qc(b)})};g=Ts.prototype;g.getRoot=function(){return this.root};g.getInput=function(){return this.input};g.focus=function(){this.input.focus()};g.select=function(){this.input.select()};g.getValue=function(){return this.input.value};
var $Qc=function(a){if(a.checkValidity){var b=a.checkValidity(a.input.value);a.updateValidity(b)}};Ts.prototype.updateValidity=function(a){a.isValid?this.validate():this.invalidate(a.errorMessage||"")};Ts.prototype.validate=function(){this.root.classList.remove("isInvalid");this.invalidMessage.textContent="";var a;(a=this.onValidityChanged)==null||a.call(this,!0)};
Ts.prototype.invalidate=function(a){this.root.classList.add("isInvalid");this.invalidMessage.textContent=a;var b;(b=this.onValidityChanged)==null||b.call(this,!1)};Ts.prototype.dispose=function(){this.eventHandler.removeAll();this.onInput=this.onValidityChanged=this.checkValidity=void 0};var zab=function(a){var b=a.label,c=a.initialValue;a=a.id;return hs('<div class="'+is("peoplekitComponentsTextfieldImplTextField")+'"><div class="'+is("peoplekitComponentsTextfieldImplInputContainer")+'"><label class="'+is("peoplekitComponentsTextfieldImplLabel")+'" for="'+is(a)+'">'+Rs(b)+'</label><input peoplekit-id="'+is("YPqjbf")+'" id="'+is(a)+'" class="'+is("peoplekitComponentsTextfieldImplInput")+'" value="'+is(c)+'" autocomplete="off" spellcheck="false"></div><div peoplekit-id="'+is("kyLNld")+
'" class="'+is("peoplekitComponentsTextfieldImplInvalidMessage")+'" role="alert"></div></div>')};var Aab=bs.getInstance();var aRc=function(a,b,c,d,e,f){var h=this;this.root=a;this.selection=b;this.selectionsState=c;this.actionRequestCallbacks=d;this.appearanceConfig=e;this.chipCustomization=f;this.isDisabledInternal=!1;this.nameEditDialog=null;this.deleteButton=Fr(this.root,"bxvLg");this.eventHandler=Mr(this);this.eventHandler.listen(this.deleteButton,"click",function(){return h.onDeleteButtonClick()})};g=aRc.prototype;g.onDeleteButtonClick=function(){this.selectionsState.deselect(this.selection,8)};
g.toggleSelection=function(){};g.activate=function(){this.root.classList.add("isActive");this.root.setAttribute("aria-selected","true")};g.deactivate=function(){this.root.classList.remove("isActive");this.root.setAttribute("aria-selected","false")};g.isActive=function(){return this.root.classList.contains("isActive")};g.spotlight=function(){this.root.classList.add("isSpotlit")};g.unspotlight=function(){this.root.classList.remove("isSpotlit")};
g.disable=function(){this.root.classList.add("isDisabled");this.isDisabledInternal=!0};g.enable=function(){this.root.classList.remove("isDisabled");this.isDisabledInternal=!1};g.isDisabled=function(){return this.isDisabledInternal};g.drag=function(){this.root.classList.add("isDragged")};g.undrag=function(){this.root.classList.remove("isDragged")};
g.edit=function(){var a=this;this.nameEditDialog&&this.nameEditDialog.dispose();var b=this.root.classList.contains("isActive"),c;this.nameEditDialog=Cab(this.root.ownerDocument.body,this.selection,this.appearanceConfig,{description:(c=this.chipCustomization.chipAction)==null?void 0:c.displayNameEditingDescription});this.nameEditDialog.subscribeToAction(function(d){if(d===1){var e;d=xs(a.selection.result(),((e=a.nameEditDialog)==null?void 0:e.textField.getValue().trim())||"",!0);a.selectionsState.replace(d.id(),
d,9)}a.unedit();b&&a.actionRequestCallbacks.activate()})};g.unedit=function(){this.nameEditDialog&&(this.nameEditDialog.dispose(),this.nameEditDialog=null)};g.dispose=function(){this.eventHandler.removeAll();this.unedit()};g.getRoot=function(){return this.root};g.getSelection=function(){return this.selection};g.setDisambiguationLabel=function(a){var b=r7a(this.root,"hyPgpe")[0];b&&(a?(b.classList.add("hasDisambiguationLabel"),RA(b,"("+a+")")):b.classList.remove("hasDisambiguationLabel"))};
g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};g.getAllIds=function(){return[this.selection.id()]};g.updateWaldo=function(){};g.updateHubAvailabilityDot=function(){};g.getSupportedIntelligenceFeatures=function(){return[]};g.initializeIntelligence=function(){};var bRc=function(a){var b=a.id,c=a.label,d=a.stateClass;return hs(bMc(b,a.name,a.hovercardId,d,a.isWarning,a.isDeletionDisabled,hs(""+(d?dMc(d):cMc())),hs(""+eMc(c)),hs(""+fMc(b))))};Nr.addCoreFactory({type:2,factory:{create:function(a){var b=H7a(a.selection,a.chipConfig,a.chipCustomization),c=Cp(bRc,b);Gr(Fr(c,"d6MZcd"),b.photos,a.avatarSize,a.resultListItemAvatarSize,a.appearanceConfig);a.parent.appendChild(c);return{chip:new aRc(c,a.selection,a.selectionsState,a.actionRequestCallbacks,a.appearanceConfig,a.chipCustomization),root:c,state:0}},shouldCreate:function(){return!0}},configurationKey:void 0});
Nr.addDecoratorFactory({type:2,configurationKey:void 0,factory:{create:function(a,b){return{chip:new RQc(b.chip,a.ariaParent,a.actionRequestCallbacks,a.chipConfig,a.appearanceConfig,a.clientConfig,a.chipCustomization),root:b.root,state:b.state}},shouldCreate:function(){return!0}}});
Nr.addDecoratorFactory({type:1,configurationKey:void 0,factory:{create:function(a,b){a=b.root;a:{var c=b.state;switch(c){case 0:c=25286;break a;case 1:c=169606;break a;case 3:c=169617;break a;default:throw Error("Pf`"+c);}}Yr({element:a,veid:c,actions:["impression"],componentId:"peoplekitweb"});return b},shouldCreate:function(){return!0}}});var dRc=function(){return hs('<div draggable="true" peoplekit-id="'+is("Svajxe")+'" class="'+is("peoplekitComponentsChipsetImplDraggableChip")+'">'+cRc()+"</div>")},eRc=function(){return hs('<div draggable="false" peoplekit-id="'+is("shtr1e")+'" class="'+is("peoplekitComponentsChipsetImplNonDraggableChip")+'">'+cRc()+"</div>")},fRc=function(a){a=a.height;return hs('<div peoplekit-id="'+is("tozrW")+'" class="'+is("peoplekitComponentsChipsetImplDropMarker")+'" style="height: '+is(FJ(a))+'px"></div>')},
gRc=function(){return hs('<div peoplekit-id="'+is("DOyw7")+'" class="'+is("peoplekitComponentsChipsetImplDraggedChips")+'"></div>')},cRc=function(){return hs('<div peoplekit-id="'+is("ubaLBe")+'" class="'+is("peoplekitComponentsChipsetImplChipContainer")+'"></div>')};var Ws=function(a,b,c,d,e,f,h,l,q,v){this.selectionsState=a;this.undoRedoStack=b;this.container=c;this.dragImageRenderSandbox=d;this.navigatable=e;this.chipDropCallback=l;this.appearanceConfig=q;this.draggedChipsContainer=document.createElement("div");this.currentDropIndex=-1;this.draggedLookupIds=[];this.chipControllers=new Map;this.chipEventHandlers=new Map;this.eventHandler=Mr(this);this.lookupSelector=new $s(a,f,h,v);this.dropMarker=Cp(fRc,{height:pab(this.appearanceConfig.getDensity())});this.attach()};
Ws.prototype.attach=function(){var a=this;this.eventHandler.listen(this.container.getRoot(),"dragover",function(b){b=b.event_;if(b.dataTransfer.types.includes("text/lookupids")){a.container.getRoot().classList.add("isDraggedOver");var c=hRc(a,a.chipControllers.size);kX(a);iRc(a,c);b.stopPropagation();b.preventDefault()}a.container.getRoot()});this.eventHandler.listen(this.container.getRoot(),"dragleave",function(b){b=b.event_;b.dataTransfer.types.includes("text/lookupids")&&!a.container.getRoot().contains(b.relatedTarget)&&
(a.container.getRoot().classList.remove("isDraggedOver"),kX(a),b.stopPropagation(),b.preventDefault())});this.eventHandler.listen(this.container.getRoot(),"drop",function(b){jRc(a,b)});gs(this.draggedChipsContainer,this.appearanceConfig.getTheme());this.dragImageRenderSandbox.appendChild(this.draggedChipsContainer)};
Ws.prototype.listen=function(a,b,c){var d=this,e=String(a.id()),f=Mr(c);f.listen(b,"dragstart",function(h){kRc(d,a,h)});f.listen(b,"dragend",function(h){lRc(d,h)});f.listen(b,"dragover",function(h){d.container.getRoot().classList.add("isDraggedOver");h=h.event_;if(h.dataTransfer.types.includes("text/lookupids")){var l=d.selectionsState.indexOf(a.id());var q=Fr(h.currentTarget,"ubaLBe").clientWidth,v=Zs(d.container.getRoot());l=hRc(d,h.offsetX<q/2?v?l+1:l:v?l:l+1);kX(d);iRc(d,l);h.stopPropagation();
h.preventDefault()}d.container.getRoot()});f.listen(b,"drop",function(h){mRc(d,h)});this.chipEventHandlers.set(e,f);this.chipControllers.set(e,c)};Ws.prototype.unlisten=function(a){a=String(a);this.chipEventHandlers.get(a).removeAll();this.chipEventHandlers.delete(a);this.chipControllers.delete(a)};
var kRc=function(a,b,c){c=c.event_;var d=a.chipControllers.get(String(b.id())),e=a.navigatable.getActiveItems();e.includes(d)?a.draggedLookupIds=e.map(function(f){return Hab(f.getSelection())}):a.draggedLookupIds=[Hab(b)];a.draggedChips=Cp(gRc);b=k(a.draggedLookupIds);for(d=b.next();!d.done;d=b.next())d=a.chipControllers.get(String(d.value.getId())),d.drag(),a.draggedChips.appendChild(d.getRoot().cloneNode(!0)),d.undrag(),d.disable();OA(a.draggedChipsContainer);a.draggedChipsContainer.appendChild(a.draggedChips);
c.dataTransfer.setDragImage(a.draggedChips,0,0);c.dataTransfer.setData("text/lookupids",Eab(a.draggedLookupIds));c.dataTransfer.effectAllowed="move";F8a(a.container.getRoot())},lRc=function(a,b){if(b.event_.dataTransfer.dropEffect==="move")a.lookupSelector.deselect(a.draggedLookupIds.map(function(d){return d.getId()})),a.navigatable.reset(),a.undoRedoStack.push();else{b=k(a.draggedLookupIds);for(var c=b.next();!c.done;c=b.next())a.chipControllers.get(String(c.value.getId())).enable()}kX(a);OA(a.draggedChipsContainer);
a.container.getRoot().classList.remove("isDraggedOver")},hRc=function(a,b){for(;b>0;){var c=a.selectionsState.at(b-1);if(a.chipControllers.get(String(c.id())).isDisabled())b--;else break}return b},iRc=function(a,b){b!==a.currentDropIndex&&(a.container.insert(b,a.dropMarker),a.currentDropIndex=b)},kX=function(a){a.container.removeItem(a.dropMarker);a.currentDropIndex=-1},mRc=function(a,b){a.container.getRoot().classList.remove("isDraggedOver");b=b.event_;var c=b.dataTransfer.getData("text/lookupids");
if(c){c=Gab(c);a.draggedLookupIds=[];for(var d=a.currentDropIndex,e=k(c),f=e.next();!f.done;f=e.next())f=a.selectionsState.indexOf(f.value.getId()),f>=0&&f<a.currentDropIndex&&d--;kX(a);a.lookupSelector.deselect(c.map(function(h){return h.getId()}));a.lookupSelector.select(c,2,d);b.stopPropagation();b.preventDefault();b.dataTransfer.dropEffect="move";a.currentDropIndex=-1;a.undoRedoStack.push()}else kX(a);OA(a.draggedChipsContainer);a.chipDropCallback()},jRc=function(a,b){a.container.getRoot().classList.remove("isDraggedOver");
b=b.event_;var c=b.dataTransfer.getData("text/lookupids");c&&(c=Gab(c),a.draggedLookupIds=[],kX(a),a.lookupSelector.deselect(c.map(function(d){return d.getId()})),a.currentDropIndex=a.chipControllers.size,a.lookupSelector.select(c,2,a.currentDropIndex),b.stopPropagation(),b.preventDefault(),b.dataTransfer.dropEffect="move",a.currentDropIndex=-1,a.undoRedoStack.push());OA(a.draggedChipsContainer);a.chipDropCallback()};
Ws.prototype.dispose=function(){this.eventHandler.removeAll();this.draggedChipsContainer.parentNode&&this.draggedChipsContainer.parentNode.removeChild(this.draggedChipsContainer);this.lookupSelector.dispose()};var nRc=function(){};nRc.prototype.listen=function(){};nRc.prototype.unlisten=function(){};nRc.prototype.dispose=function(){};var oRc=function(){this.listeners=new Map},lX=function(a,b,c){b=JSON.stringify(b);var d=a.listeners.get(b)||[];a.listeners.set(b,[].concat(w(d),[c]))};oRc.prototype.handleEvent=function(a){var b=a.event,c=[];b.platformModifierKey&&c.push(512);b.altKey&&c.push(18);b.shiftKey&&c.push(16);c.push(b.keyCode);b=k(this.listeners.get(JSON.stringify(c))||[]);for(c=b.next();!c.done;c=b.next())c=c.value,c(a)};oRc.prototype.dispose=function(){this.listeners.clear()};var Ys=function(a,b,c,d,e,f,h,l,q,v,y){var E=this;this.selectionsState=a;this.undoRedoStack=b;this.container=c;this.peopleStore=d;this.appearanceConfig=f;this.chipConfig=h;this.clientConfig=l;this.callbacks=q;this.chipElements=new Map;this.chips=new Map;this.chipCustomizations=new Map;this.navigatable=x8a(c.getRoot(),new eNc(A8a([],{shouldWrap:!1})));this.navigatable.setSecondaryEventTargets([this]);this.eventHandler=Mr(this);this.chipEventHandlers=new Map;this.intelligentCollection=e.create();this.keyboardShortcutHandler=
new oRc;pRc(this);this.dragonDropHandler=this.chipConfig.getAllowChipDragAndDrop()?Iab(a,b,c,this.container.getRoot().ownerDocument.body,this.navigatable,d,v,this.callbacks.chipDrop,this.appearanceConfig,y):new nRc;this.eventHandler.listen(c.getRoot(),"keyup",function(H){H.keyCode!==9||H.target!==E.container.getRoot()||E.navigatable.getSpotlitItem()||(H.shiftKey?E.navigatable.prev(0):E.navigatable.next(0))});this.onSelectionCallback=function(H,O){E.insert(H,O)};this.onDeselectionCallback=function(H){E.remove(H.id())};
this.onSelectionReplacedCallback=function(H,O,N){E.replace(H,O,N)};JW(this.selectionsState,this.onSelectionCallback);IW(this.selectionsState,this.onDeselectionCallback);ZOc(this.selectionsState,this.onSelectionReplacedCallback)},pRc=function(a){lX(a.keyboardShortcutHandler,[512,67],function(c){var d=a.navigatable.getSpotlitItem();a.copyMethod(d);a.navigatable.goToItem(d,2);c.stopPropagation()});lX(a.keyboardShortcutHandler,[18,67],function(c){var d=a.navigatable.getSpotlitItem();a.copyContactMethod(d);
a.navigatable.goToItem(d,2);c.stopPropagation()});lX(a.keyboardShortcutHandler,[512,88],function(c){a.chipConfig.getAllowChipDeletion()&&(a.cut(a.navigatable.getSpotlitItem(),3),c.stopPropagation())});lX(a.keyboardShortcutHandler,[18,39],function(c){var d=a.navigatable.getSpotlitItem();d&&(d.getSelection(),d.getRoot());c.stopPropagation();c.preventDefault()});var b=function(c){if(a.chipConfig.getAllowDisplayNameEditing()&&(c.stopPropagation(),c.preventDefault(),c=a.navigatable.getSpotlitItem())){c=
String(c.getSelection().id());var d;((d=a.chipCustomizations.get(c).chipAction)==null?0:d.disableDisplayNameEditing)||a.chips.get(c).edit()}};lX(a.keyboardShortcutHandler,[16,69],b);lX(a.keyboardShortcutHandler,[113],b);lX(a.keyboardShortcutHandler,[16,70],function(c){a.chipConfig.getAllowContactMethodEditing()&&(c.stopPropagation(),c.preventDefault(),qRc(a))});b=function(c){if(a.chipConfig.getAllowChipDeletion()){c.stopPropagation();c.preventDefault();c=k(a.navigatable.getActiveItems());for(var d=
c.next();!d.done;d=c.next())a.selectionsState.deselect(d.value.getSelection(),7);a.undoRedoStack.push()}};lX(a.keyboardShortcutHandler,[46],b);lX(a.keyboardShortcutHandler,[8],b);lX(a.keyboardShortcutHandler,[13],function(c){c.stopPropagation();c.preventDefault();a.callbacks.chipContextMenu(a.navigatable.getSpotlitItem(),c.event)})};Ys.prototype.insert=function(a,b){var c=String(a.id());this.chipElements.has(c)||rRc(this,a,b)};
Ys.prototype.remove=function(a){var b=String(a);if(this.chipElements.has(b)){var c=this.chipElements.get(b);this.chipEventHandlers.get(b).removeAll();this.container.removeItem(c);this.chipElements.delete(b);this.dragonDropHandler.unlisten(a,c);this.navigatable.remove([this.chips.get(b)],!!this.navigatable.getSpotlitItem());this.intelligentCollection.remove([this.chips.get(b)]);var d;(d=this.chips.get(b))==null||d.dispose();this.chips.delete(b);this.chipEventHandlers.delete(b);this.chipCustomizations.delete(b);
this.container.getRoot()}};Ys.prototype.replace=function(a,b,c){this.remove(c);rRc(this,a,b)};
var rRc=function(a,b,c){var d=String(b.id()),e=a.chipConfig.getAllowChipDragAndDrop()?Cp(dRc):Cp(eRc);a.container.insert(c,e);a.chipElements.set(d,e);var f=Fr(e,"ubaLBe"),h=a.chipConfig.getChipCustomizationCallback()(b.result());a.chipCustomizations.set(d,h);var l=Dab(f,a.container.getRoot(),b,a.selectionsState,{activate:function(){var q=b.id();q=a.chips.get(String(q));a.container.getRoot().focus();a.navigatable.goToItem(q,0)},spotlight:function(){var q=b.id();q=a.chips.get(String(q));a.container.getRoot().focus();
a.navigatable.goToItem(q,2)},copyMethod:function(q){a.copyMethod(q)},copyContactMethod:function(q){a.copyContactMethod(q)},cut:function(q){a.cut(q,4)},editContactMethod:function(){qRc(a)}},a.appearanceConfig,a.chipConfig,a.clientConfig,h,Zs(a.container.getRoot()));f=Mr(l);a.dragonDropHandler.listen(b,e,l);f.listen(e,"click",function(q){a.callbacks.chipClick(l,q)});f.listen(e,"dblclick",function(q){a.callbacks.chipContextMenu(l,q)});a.chips.set(d,l);a.chipEventHandlers.set(d,f);a.navigatable.insert(c,
[l],!!a.navigatable.getSpotlitItem());a.intelligentCollection.append([l]);a.chipConfig.getAllowChipDisambiguation()&&Promise.resolve().then(function(){a.chips.get(d)===l&&a.peopleStore.disambiguate(b.result().getPrimaryTarget(),CQc(DQc(new ZW,a.selectionsState.size()),b.getDisplayNameWithOverrideApplied())).then(function(q){l.setDisambiguationLabel(q.getDisambiguationLabel())})})};Ys.prototype.getNavigatable=function(){return this.navigatable};
Ys.prototype.focusLastChip=function(){this.container.getRoot().focus();return this.navigatable.goToIndex(this.navigatable.size()-1,0)};Ys.prototype.activateAllChips=function(){this.navigatable.activateAll()};
Ys.prototype.dispose=function(){this.eventHandler.removeAll();for(var a=k(this.chips.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback);this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.selectionsState.selectionReplacedCallbacks.remove(this.onSelectionReplacedCallback);this.dragonDropHandler.dispose();this.keyboardShortcutHandler.dispose()};
var sRc=function(a,b){return a.navigatable.getActiveItems().includes(b)?a.navigatable.getActiveItems().map(function(c){return c.getSelection()}):[b.getSelection()]};Ys.prototype.copyMethod=function(a){a=sRc(this,a);Nab(a,this.container.getRoot())};Ys.prototype.copyContactMethod=function(a){a=a.getSelection();a.result().getDisplayValue()&&Mab(a.result().getDisplayValue(),this.container.getRoot())};
Ys.prototype.cut=function(a,b){a=sRc(this,a);Nab(a,this.container.getRoot());a=k(a);for(var c=a.next();!c.done;c=a.next())this.selectionsState.deselect(c.value,b);this.undoRedoStack.push()};var qRc=function(a){var b=a.navigatable.getSpotlitItem();b&&(b=b.getSelection(),a.selectionsState.deselect(b,10),b=b.result().getDisplayValue(),a.callbacks.chipEditContactMethod(b),a.undoRedoStack.push())};
Ys.prototype.onKeyDown=function(a){a.event.target===this.container.getRoot()&&this.navigatable.getSpotlitItem()&&(this.keyboardShortcutHandler.handleEvent(a),this.undoRedoStack.onKeyDown(a))};var Oab=function(a,b){this.delegate=a;this.health=b};g=Oab.prototype;g.insert=function(a,b){try{this.delegate.insert(a,b)}catch(c){throw this.health.createError(6,Cs(c)),c;}};g.remove=function(a){try{this.delegate.remove(a)}catch(b){throw this.health.createError(7,Cs(b)),b;}};g.replace=function(a,b,c){try{this.delegate.replace(a,b,c)}catch(d){throw this.health.createError(8,Cs(d)),d;}};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.focusLastChip=function(){return this.delegate.focusLastChip()};
g.activateAllChips=function(){this.delegate.activateAllChips()};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.dispose=function(){try{this.delegate.dispose()}catch(a){throw this.health.createError(9,Cs(a)),a;}};var Qab=function(a){this.input=this.navigatable=null;this.prevKeyCode=a.getPrevKeyCode();this.nextKeyCode=a.getNextKeyCode();this.navigatePastEndCallback=a.navigatePastEnd||function(){};this.eventHandler=Mr(this)};g=Qab.prototype;
g.attach=function(a,b){var c=this;this.detach();this.navigatable=b;this.input=a;this.eventHandler.listen(this.input,"keydown",function(d){return c.onKeyDown(ds(d))});this.eventHandler.listen(this.input,"contextmenu",function(d){return c.onContextMenu(ds(d))});this.eventHandler.listen(this.input,"blur",function(d){return c.onBlur(d)})};g.detach=function(){this.eventHandler.removeAll();this.navigatable=this.input=null};
g.onKeyDown=function(a){if(this.navigatable&&(this.navigatable.onKeyDown(a),!a.hasStoppedPropagationInternal)){var b=tRc(a);switch(a.event.keyCode){case this.nextKeyCode:this.navigatable&&!this.navigatable.next(b)&&(this.navigatable.getActiveItems().length<2||b!==1)&&this.navigatePastEndCallback();a.stopPropagation();a.preventDefault();break;case this.prevKeyCode:this.navigatable.prev(b);a.stopPropagation();a.preventDefault();break;case 36:case 38:this.navigatable.goToIndex(0,b);a.stopPropagation();
a.preventDefault();break;case 35:case 40:this.navigatable.goToIndex(this.navigatable.size()-1,b);a.stopPropagation();a.preventDefault();break;case 65:a.event.platformModifierKey&&(this.navigatable.activateAll(),a.stopPropagation(),a.preventDefault());break;case 32:var c=this.navigatable.getSpotlitItem();c&&(this.navigatable.goToItem(c,b===2?3:b),a.stopPropagation(),a.preventDefault())}}};
g.onClick=function(a,b){if(!this.navigatable)return!1;this.navigatable.goToItem(a,tRc(b));b.stopPropagation();return!0};g.onContextMenu=function(a){if(this.navigatable)this.navigatable.onContextMenu(a,function(){})};g.reset=function(){this.navigatable&&this.navigatable.reset()};var tRc=function(a){return a.event.shiftKey?1:a.event.platformModifierKey?a.event.type==="keydown"?2:3:0};Qab.prototype.onBlur=function(a){this.navigatable&&(this.navigatable.reset(),a.stopPropagation())};var uRc=function(){};uRc.prototype.call=function(a){a()};uRc.prototype.cancel=function(){};var Vab=RegExp('(([^(\n\r,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a)^"]*)("[^"]*")([^(\n\r,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a)^"]*))+|([^(\n\r,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a)])+',"g"),vRc=RegExp("^([\\s\n\r,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a]*)+","g"),wRc=Object.freeze({startIndex:0,length:0,value:""});var $ab=function(a){a=a||{};a=a.max_height;var b=hs,c;a&&a>0?c=hs('<div class="'+is("peoplekitComponentsSearchbarImplSearchBarContainer")+'" style="max-height: '+is(FJ(a))+'px">'+POc(hs('<div peoplekit-id="'+is("kE8AEc")+'"></div>'))+"</div>"):c=hs('<div class="'+is("peoplekitComponentsSearchbarImplSearchBarContainer")+'"><div peoplekit-id="'+is("kE8AEc")+'"></div></div>');return b(c)},bbb=function(a){var b=a.id,c=a.ariaLabel,d=a.helpText,e=a.shouldAutofocus,f=a.height;a=a.densityClass;return hs('<div class="'+
is("peoplekitComponentsSearchbarImplSearchInputContainer")+'" style="height: '+is(FJ(f))+'px" role="presentation"><input id="'+is(b)+'" class="'+is("peoplekitComponentsSearchbarImplSearchInput")+" "+is(a)+'" peoplekit-id="'+is("BbVjBd")+'" autocomplete="off" autocapitalize="off" autocorrect="off" spellcheck="false" aria-label="'+is(c)+'" aria-autocomplete="list" aria-haspopup="listbox" aria-expanded="false" placeholder="'+is(d)+'" size="'+is(d.length)+'" type="text" role="combobox"'+(e?" autofocus":
"")+'><span class="'+is("peoplekitComponentsSearchbarImplSearchInputWidthMeasurer")+" "+is(a)+'" peoplekit-id="'+is("nl4wje")+'"></span></div>')};var xRc=[[37],[512,37],[16,37],[18,37],[18,16,37],[512,16,37],[39],[512,39],[16,39],[18,39],[18,16,39],[512,16,39],[46],[8],[13],[36],[16,36],[512,36],[35],[16,35],[512,35],[38],[512,38],[512,16,38],[16,38],[40],[512,40],[512,16,40],[16,40],[113],[512,67],[512,88],[512,65],[16,69],[16,70]],at=function(a,b,c,d,e,f,h,l,q,v){var y=this;this.searchBarElement=a;this.chipsBar=b;this.inputContainer=c;this.autocomplete=d;this.selectionsState=e;this.undoRedoStack=f;this.config=q;this.prevQueryValue="";this.inputElement=
Fr(c,"BbVjBd");this.inputWidthMeasurer=Fr(c,"nl4wje");this.scrollBarElement=a.querySelector('[peoplekit-id="I8ejUe"]');this.updateMinWidthBatcher=new $Oc;this.autocompleteBatcher=new uRc;this.lookupSelector=new $s(this.selectionsState,h,l,v);this.eventHandler=Mr(this);this.keyboardShortcutHandler=new oRc;this.enterKeyDownListeners=[];this.query=wRc;this.onSelectionCallback=function(){y.onSelect()};this.onSelectionAttemptedCallback=function(){y.onSelectAttempt()};this.onDeselectionCallback=function(){y.onDeselect()};
this.attach();mX(this);yRc(this)};g=at.prototype;g.select=function(a){return this.chipsBar.select(a)};g.deselect=function(a){this.chipsBar.deselect(a)};g.replace=function(a){return this.chipsBar.replace(a)};g.focus=function(){this.inputElement.focus()};
g.dispose=function(){this.detach();this.autocomplete.dispose();this.chipsBar.dispose();this.lookupSelector.dispose();this.updateMinWidthBatcher.cancel();this.autocompleteBatcher.cancel();this.keyboardShortcutHandler.dispose();this.enterKeyDownListeners.length=0};g.search=function(){nX(this,!1,!0)};
g.attach=function(){var a=this;JW(this.selectionsState,this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.add(this.onSelectionAttemptedCallback,2);IW(this.selectionsState,this.onDeselectionCallback);this.eventHandler.listen(this.inputElement,"keydown",function(b){b=ds(b);a.keyboardShortcutHandler.handleEvent(b);if(!a.inputElement.value)a.undoRedoStack.onKeyDown(b)});this.eventHandler.listen(this.inputElement,"keyup",function(b){b.keyCode!==37&&b.keyCode!==39||nX(a)});this.eventHandler.listen(this.inputElement,
"input",function(){a.onInput()});this.eventHandler.listen(this.inputElement,"paste",function(b){zRc(a,b)});this.eventHandler.listen(this.inputElement,"blur",function(){a.onInputBlur()});this.eventHandler.listen(this.inputElement,"focus",function(){a.onInputFocus()});this.eventHandler.listen(this.inputElement,"click",function(){nX(a)});this.eventHandler.listen(this.searchBarElement,"click",function(){a.inputElement.focus()});ARc(this)};
g.detach=function(){this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.remove(this.onSelectionAttemptedCallback);this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.eventHandler.removeAll()};
var nX=function(a,b,c){b=b===void 0?!1:b;c=c===void 0?!1:c;a.autocompleteBatcher.call(function(){a.query=Xab(a.inputElement.value,a.inputElement.selectionStart||0);if(c||a.prevQueryValue!==a.query.value||!a.autocomplete.isShown())a.prevQueryValue=a.query.value,a.autocomplete.search(a.query.value,a.inputElement,b||a.config.getShowSuggestions(),function(){})})},BRc=function(a){var b=a.inputElement.value;a.inputElement.value="";a.detachAutocomplete();var c=Qs(b);c=(new Us(mt(c.getAddress()))).setDisplayName(c.getName());
a.lookupSelector.select([c],13).then(function(d){d.length&&(a.inputElement.value=b);a.inputElement.setSelectionRange(a.inputElement.value.length,a.inputElement.value.length);mX(a);nX(a)});a.undoRedoStack.push()};at.prototype.onInput=function(){mX(this);nX(this)};
var CRc=function(a,b){if(ns)return a.searchBarElement.ownerDocument.defaultView.clipboardData;a=b.event_;return a.type==="paste"?a.clipboardData:null},zRc=function(a,b){var c=(a.inputElement.selectionEnd||0)-(a.inputElement.selectionStart||0),d=a.inputElement.value.length;if(!(d>0&&c<d)){var e;c=((e=CRc(a,b))==null?void 0:e.getData("text"))||"";e=Wab(c);var f=new Map;e=e.map(function(h){var l=Qs(h.value),q=l.getAddress()?l.getName():"";l=l.getAddress()||l.getName();l=l.includes("@")?mt(l):nt(l);q=
(new Us(l)).setDisplayName(q);f.set(String(l),h);return q});b.preventDefault();b.stopPropagation();a.lookupSelector.select(e,5).then(function(h){a.inputElement.value=h.map(function(l){var q;return((q=f.get(String(l)))==null?void 0:q.value.trim())||""}).join(", ");a.inputElement.setSelectionRange(a.inputElement.value.length,a.inputElement.value.length);mX(a);nX(a)});a.undoRedoStack.push()}};at.prototype.onInputFocus=function(){nX(this)};at.prototype.onInputBlur=function(){this.detachAutocomplete()};
var mX=function(a){a.updateMinWidthBatcher.call(function(){a.inputWidthMeasurer.textContent=a.inputElement.value.length>a.inputElement.placeholder.length?a.inputElement.value:a.inputElement.placeholder;a.inputContainer.style.flexBasis=Math.max(a.inputWidthMeasurer.clientWidth,50)-2+"px"})},ARc=function(a){var b=Zs(a.searchBarElement)?39:37,c=function(d){!a.inputElement.value&&a.selectionsState.size()>0&&(a.chipsBar.focusLastChip(),d.stopPropagation())};lX(a.keyboardShortcutHandler,[8],c);lX(a.keyboardShortcutHandler,
[b],c);lX(a.keyboardShortcutHandler,[16,b],c);lX(a.keyboardShortcutHandler,[512,16,b],c);lX(a.keyboardShortcutHandler,[18,16,b],c);lX(a.keyboardShortcutHandler,[512,65],function(d){a.inputElement.value||(a.chipsBar.focusLastChip(),a.chipsBar.activateAllChips(),d.preventDefault(),d.stopPropagation())});lX(a.keyboardShortcutHandler,[40],function(d){a.inputElement.value||a.autocomplete.isShown()||(nX(a,!0),d.preventDefault(),d.stopPropagation())});lX(a.keyboardShortcutHandler,[13],function(d){if(a.inputElement.value){var e=
a.inputElement.value;e=e==null?!1:Qs(e).isValid();var f=!a.autocomplete.getNavigatable().size();e&&f&&(BRc(a),d.preventDefault(),d.stopPropagation())}else if(!a.autocomplete.getNavigatable().getActiveItems().length){e=a.selectionsState.asArray();f=k(a.enterKeyDownListeners);for(var h=f.next();!h.done;h=f.next())h=h.value,h(e);d.preventDefault();d.stopPropagation()}});b=k(xRc);for(c=b.next();!c.done;c=b.next())lX(a.keyboardShortcutHandler,c.value,function(d){d.stopPropagation()})};
at.prototype.detachAutocomplete=function(){this.autocompleteBatcher.cancel();this.autocomplete.canHide()&&(this.autocomplete.detach(),this.prevQueryValue="")};
at.prototype.onSelect=function(){DRc(this);yRc(this);this.scrollBarElement&&(this.scrollBarElement.scrollTop=this.scrollBarElement.scrollHeight);var a;if(((a=this.inputElement.getRootNode())==null?void 0:a.activeElement)===this.inputElement){this.autocomplete.getNavigatable().reset();a=this.inputElement.value;var b=this.query;this.inputElement.value=(a.slice(0,Math.max(b.startIndex-1,0))+a.slice(b.startIndex+b.length)).replace(vRc,"");this.inputElement.setSelectionRange(this.query.startIndex,this.query.startIndex);
nX(this,!1,!1);mX(this)}};at.prototype.onSelectAttempt=function(){this.onSelect()};at.prototype.onDeselect=function(){this.autocomplete.isShown()&&nX(this,!1,!1);DRc(this);yRc(this);mX(this);this.selectionsState.size()<=0&&this.inputElement.focus()};
var DRc=function(a){var b,c=a.selectionsState.size()>0?(b=a.config.helpTextWithSelections)!=null?b:a.config.helpText:a.config.helpText;a.inputElement.placeholder!==c&&(a.inputElement.placeholder=c,mX(a))},yRc=function(a){var b=a.inputElement,c=b.setAttribute;a=a.selectionsState.size();c.call(b,"aria-description",(a===0?"None":""+a)+" selected")};var Zab=function(a,b,c){this.selectionsState=a;this.lookupSelector=b;this.undoStack=[];this.redoStack=[];a=10;a=a===void 0?0:a;this.maxUndoStackSize=Ac(Gca(Mj(c.internal,3)),a);this.push()};Zab.prototype.push=function(){var a=this.selectionsState.asArray().map(Hab),b=!1;this.undoStack.length!==0&&Yab(this.undoStack[this.undoStack.length-1],a)||(this.undoStack.push(a),b=!0);this.undoStack.length>this.maxUndoStackSize&&this.undoStack.shift();this.redoStack.length=0;return b};
Zab.prototype.clear=function(){this.undoStack.length=0;this.push()};
Zab.prototype.onKeyDown=function(a){var b=a.event.keyCode===90&&a.event.platformModifierKey&&a.event.shiftKey;if(a.event.keyCode===89&&a.event.platformModifierKey||b)this.redoStack.length!==0&&(b=this.redoStack.pop(),this.undoStack.push(b),this.selectionsState.clear(),this.lookupSelector.select(b,11)),a.preventDefault(),a.stopPropagation();a.event.keyCode===90&&a.event.platformModifierKey&&!a.event.shiftKey&&(this.undoStack.length<=1||(b=this.undoStack.pop(),this.redoStack.push(b),b=this.undoStack[this.undoStack.length-
1],this.selectionsState.clear(),this.lookupSelector.select(b,11)),a.preventDefault(),a.stopPropagation())};var cbb=bs.getInstance();var fbb=function(a,b,c,d,e){var f=this;this.root=a;this.searchBar=b;this.selectionsState=c;this.interactionReporter=d;this.searchbarTracker=e;this.selectionChangedListeners=[];this.selectionChangedAutoBatcher=new $Oc;JW(this.selectionsState,function(){f.notifySelectionChanged()});IW(this.selectionsState,function(){f.notifySelectionChanged()});ZOc(this.selectionsState,function(){f.notifySelectionChanged()})};g=fbb.prototype;g.select=function(a){return this.searchBar.select(a)};g.deselect=function(a){this.searchBar.deselect(a)};
g.replace=function(a){return this.searchBar.replace(a)};g.subscribeToSelectionChanged=function(a){this.selectionChangedListeners.push(a)};g.notifySelectionChanged=function(){var a=this;this.selectionChangedAutoBatcher.call(function(){for(var b=a.selectionsState.asArray(),c=k(a.selectionChangedListeners),d=c.next();!d.done;d=c.next())d=d.value,d(b)})};g.focus=function(){this.searchBar.focus()};g.report=function(a){var b=this.selectionsState.asArray();K$a(this.interactionReporter,a,b)};
g.dispose=function(){this.searchbarTracker.stop();this.selectionChangedListeners.length=0;this.selectionsState.clear();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.searchBar.dispose()};var ebb=function(a){a=a||{};a=a.classes;return hs('<div peoplekit-id="'+is("P3anae")+'"'+(a?' class="'+is(a)+'"':"")+"></div>")};var ERc={create:function(a,b,c,d){d=d===void 0?new Ls:d;return ibb(a,b,c,new RLc,{sessionOptions:d})},createWith:function(a,b,c,d){d=d===void 0?{}:d;return ibb(a,b,c,new RLc,d)},createConfig:function(a){a=a===void 0?new ukc(sJ.apiEnv,new vkc(sJ.userProfileId)):a;return new LQc(a)}};var Jt=function(a){this.internalArray_=m(a)};Y(Jt,V);g=Jt.prototype;g.getTimestamp_asLegacyNumberOrString=function(){return Vj(this,1)};g.setTimestamp=function(a){return nk(this,1,a)};g.hasTimestamp=function(){return Uj(this,1)};g.getAffinityVersion=function(){return Zi(this,2)};g.setAffinityVersion=function(a){ek(this,2,a)};g.getAffinityVersionOrUndefined=function(){return Kv(this,2)};g.getNextPageToken=function(){return Gh(this,4)};var oX=function(a){return dk(a,5,!0)};
Jt.prototype.getCode=function(){return Kj(this,6,0)};Jt.prototype.setCode=function(a){return hk(this,6,a)};Jt.prototype.getCodeOrUndefined=function(){return Qt(this,6)};var FRc=function(){this.bits_=[]};g=FRc.prototype;g.and=function(a){for(var b=new FRc,c=k(this),d=c.next();!d.done;d=c.next())d=d.value,a.bits_[d]&&(b.bits_[d]=!0);return b};g.or=function(a){for(var b=new FRc,c=k(this),d=c.next();!d.done;d=c.next())b.bits_[d.value]=!0;a=k(a);for(c=a.next();!c.done;c=a.next())b.bits_[c.value]=!0;return b};g.get=function(a){return!!this.bits_[a]};g.set=function(a){this.bits_[a]=!0};g.setAll=function(a){var b=a;for(a+=NaN;b<a;b++)this.bits_[b]=!0};
g.clear=function(a){this.bits_[a]=!1};FRc.prototype[Symbol.iterator]=function(){var a=this,b=-1;return{next:function(){a:{for(var c=b+1,d=a.bits_.length;c<d;c++)if(a.bits_[c]){b=c;break a}b=-1}return b<0?{done:!0}:{value:b,done:!1}}}};var obb=RegExp("[\\s,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a]+","g"),nbb=/^[<"']|[>"']$/g,lbb=RegExp("[^a-z0-9@\u00c0-\u02ff\u0370-\u1aaf\u1b00-\u1fff\u2070-\u218f\u2460-\u24ff\u2c00-\u2dff\u2e80-\u2fef\u3040-\u4dbf\u4e00-\ud7ff\uf900-\ufdff\ufe70-\uffef]+","gi"),GRc=/[^a-z0-9]+/gi,mbb=String.prototype.normalize?function(a){return a.normalize("NFKC")}:function(a){return a};var HRc=function(a,b){this.key=a;this.terms=pbb(b)};var pX=function(a,b,c){b=b===void 0?"":b;c=c===void 0?new FRc:c;this.items_=a;this.prefix_=b;this.matchIndices_=c;this.childNodes_={};this.isExpanded_=b==="\u2026"};pX.prototype.cloneNode=function(a){for(var b=[],c=k(this.items_),d=c.next();!d.done&&(d=d.value,!a.loadOrSkip(d.key)||(b.push(d),!a.isDone()));d=c.next());return new pX(b)};
pX.prototype.getMatches=function(a){for(var b=[],c=k(this.prefix_?this.matchIndices_:rbb(this.items_.length)),d=c.next();!d.done&&(d=a.loadOrSkip(this.items_[d.value].key),d==null||(b.push(d),!a.isDone()));d=c.next());return b};
pX.prototype.search=function(a){var b=this;return a.length?a.map(function(c){for(var d=b,e=0;e<c.length;e++){var f=c.charAt(e),h=d;if(!h.isExpanded_){for(var l=k(h.prefix_?h.matchIndices_:rbb(h.items_.length)),q=l.next();!q.done;q=l.next()){var v=h;q=q.value;for(var y=v.prefix_+"\ufdc7",E=k(v.items_[q].terms),H=E.next();!H.done;H=E.next())H=H.value,H.length<=v.prefix_.length||H<v.prefix_||H>y||(H=H.charAt(v.prefix_.length),v.childNodes_[H]||(v.childNodes_[H]=new pX(v.items_,v.prefix_+H)),v.childNodes_[H].matchIndices_.set(q))}h.isExpanded_=
!0}d=d.childNodes_[f]||qX;if(d===qX)break}return d}).reduce(function(c,d){return c.and(d)}):this};var IRc=function(a){a.isExpanded_=!1;for(var b=k(Object.keys(a.childNodes_)),c=b.next();!c.done;c=b.next())c=a.childNodes_[c.value],c.isExpanded_&&IRc(c)};pX.prototype.and=function(a){a=this.matchIndices_.and(a.matchIndices_);return new pX(this.items_,"\u2026",a)};pX.prototype.or=function(a){a=this.matchIndices_.or(a.matchIndices_);return new pX(this.items_,"\u2026",a)};var qX=new pX([]);
qX.isExpanded_=!0;var JRc=function(a,b,c){this.expiry_=a;this.value_=b;this.stale_=c};JRc.prototype.getExpiry=function(){return this.expiry_};JRc.prototype.getValue=function(){return this.value_};JRc.prototype.isExpired=function(){return this.expiry_<Date.now()};JRc.prototype.isStale=function(){return this.stale_<Date.now()};var KRc=function(a){this.shouldEvictItem_=a;this.items_=new Map};g=KRc.prototype;g.size=function(){return this.items_.size};g.clear=function(){this.items_.clear()};g.has=function(a){return this.items_.has(a)};g.get=function(a){var b=this.items_.get(a);this.items_.has(a)&&(this.items_.delete(a),this.items_.set(a,b));return b};
g.set=function(a,b){this.items_.has(a)&&this.items_.delete(a);this.items_.set(a,b);b=k(this.items_.entries().next().value);a=b.next().value;b=b.next().value;this.shouldEvictItem_(a,b)&&this.items_.delete(a);return this};g.delete=function(a){return this.items_.delete(a)};g.compact=function(){for(var a=0,b=k(this.items_),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;this.shouldEvictItem_(c,d)&&(this.items_.delete(c),a++)}return a};
var LRc=function(){var a=new KRc(function(){return a.size()>1E3});return a};var MRc=function(a,b){var c=this;this.capacity_=a;this.itemFactory_=b;this.delegate_=new KRc(function(d,e){return e.isExpired()||c.delegate_.size()>c.capacity_})};g=MRc.prototype;g.get=function(a){var b=this.delegate_.get(a);if(b)if(b.isExpired())this.delegate_.delete(a);else return b.getValue()};g.set=function(a,b){b=this.itemFactory_(b);this.delegate_.set(a,b);return this};g.has=function(a){return!!this.get(a)};g.size=function(){return this.delegate_.size()};g.clear=function(){this.delegate_.clear()};
g.delete=function(a){return this.delegate_.delete(a)};g.compact=function(){return this.delegate_.compact()};var rX=function(a,b){return new MRc(a,function(c){var d=Date.now()+b;return new JRc(d,c,d)})};var sX=function(a){this.internalArray_=m(a)};Y(sX,V);g=sX.prototype;g.getSuggestMaxResults=function(){return Zi(this,1,10)};g.getSearchMaxResults=function(){return Zi(this,2,10)};g.getCacheSize=function(){return Zi(this,3,500)};g.setCacheSize=function(a){ek(this,3,a)};g.hasCacheSize=function(){return Gj(this,3)};g.getCacheStaleSec=function(){return zl(this,4,86400)};g.getCacheExpiredSec=function(){return zl(this,5,1209600)};g.getRpcTimeoutSec=function(){return zl(this,12,60)};
g.getSuggestFormat=function(){return Kj(this,15,1)};g.getSearchFormat=function(){return Kj(this,16,1)};var tbb=new Set([10,11]);var NRc=function(a){this.interleaveGroups_=Fj(a,33,!1)},ORc=function(a,b,c){return b.filter(function(d){return d.provenance!==8}).sort(function(d,e){a:{var f=a.interleaveGroups_;switch(c){case 2:d=ubb(d,e,f,!0);break a;default:d=vbb(d,e,f)}}return d}).map(function(d){return String(d.id)})};var PRc=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new NRc(e);this.indexes_=rX(Zi(e,8,250),zl(e,9,3600)*1E3);this.maxResults_=e.getSearchMaxResults()};g=PRc.prototype;g.getCacheType=function(){return 3};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d;return ve(function(e){switch(e.nextAddress){case 1:c=$W(new Ut,!0).setProvenance(7).setCode(0);if(b.canSkipFetch_(a))return e.return($W(c,!1));we(e,2);return xe(e,b.adapter_.search(a.getPrefix(),b.maxResults_),4);case 4:d=e.yieldResult;jv(e,3);break;case 2:return Be(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new Jt),e.return(c)}catch(f){return e.return(c.setCode(13))}}})};
g.canSkipFetch_=function(a){return a.isSuggestQuery()?!0:a.queryScope()===3?!1:this.indexes_.has(a.getPrefix())?!0:!1};g.index=function(a,b){for(var c=ORc(this.ranker_,b,1),d=k(b),e=d.next();!e.done;e=d.next())this.targetFactory_.processItem(e.value);d=a.queryScope()===3;this.storage_.storeItems(1,b,d);b=QRc(this.trieFactory_,c);this.indexes_.set(a.getPrefix(),b)};g.search=function(a){return a.isSuggestQuery()||!this.indexes_.has(a.getPrefix())?[]:this.indexes_.get(a.getPrefix()).search([]).getMatches(a.getCollector())};
g.getName=function(){return this.adapter_.getName()};var RRc=function(a,b,c){this.adapter_=a;this.targetFactory_=b;this.indexer_=c};RRc.prototype.getStageType=function(){return 2};RRc.prototype.index_=function(a,b){for(var c=k(a),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.indexer_.storeItems(a,b)};
RRc.prototype.lookup=function(a){var b=this,c,d,e,f,h,l,q,v,y;return ve(function(E){switch(E.nextAddress){case 1:return c=new Map,d=$W(new Ut,!0).setProvenance(7).setCode(0),e=a.queryScope()===3,f=SRc(a),we(E,2),xe(E,b.adapter_.lookup(f),4);case 4:h=E.yieldResult;jv(E,3);break;case 2:return Be(E),d.setCode(13),a.notify(c,[],d),E.return();case 3:b.index_(h,e);l=k(f);for(q=l.next();!q.done;q=l.next())v=q.value,(y=b.indexer_.load(v,a.getFormat(),a.getOptions().getUseOriginalDisplayValue()))&&c.set(v,
y);a.notify(c,[],d);Ce(E)}})};var Lt=function(a){this.internalArray_=m(a)};Y(Lt,V);Lt.prototype.getSessionState=function(){return W(this,NP,1)};Lt.prototype.setSessionState=function(a){return X(this,NP,1,a)};Lt.prototype.hasSessionState=function(){return Oj(this,NP,1)};var xt=function(a){this.internalArray_=m(a)};Y(xt,V);xt.prototype.hasNoChanges=function(){return Ej(this,12)};var wt=function(a){this.internalArray_=m(a)};Y(wt,V);wt.prototype.getEventType=function(){return Kj(this,1,0)};wt.prototype.setEventType=function(a){return hk(this,1,a)};var yt=function(a,b){return hk(a,2,b)},acb=function(a,b){return hk(a,3,b)};g=wt.prototype;g.getErrorType=function(){return Kj(this,6,0)};g.setErrorType=function(a){return hk(this,6,a)};g.hasErrorType=function(){return Ij(this,6)};g.getIdType=function(){return Kj(this,8,0)};g.setIdType=function(a){hk(this,8,a)};
g.getResultIndex=function(){return Zi(this,9,0)};g.setResultIndex=function(a){ek(this,9,a)};g.getToken=function(){return Gh(this,10,"")};g.setToken=function(a){return gk(this,10,a)};g.getCacheState=function(){return W(this,aX,11)};g.setCacheState=function(a){return X(this,aX,11,a)};g.hasCacheState=function(){return Oj(this,aX,11)};g.getQueryLength=function(){return Zi(this,14)};g.setQueryLength=function(a){return ek(this,14,a)};g.hasQueryLength=function(){return Gj(this,14)};
g.getItemCount=function(){return Zi(this,15)};g.setItemCount=function(a){return ek(this,15,a)};g.hasItemCount=function(){return Gj(this,15)};g.getLookupInfo=function(){return W(this,xt,16)};g.getMutableLookupInfo=function(){return Av(this,xt,16)};g.setLookupInfo=function(a){return X(this,xt,16,a)};g.hasLookupInfo=function(){return Oj(this,xt,16)};g.getQueryScope=function(){return Kj(this,17,0)};g.setQueryScope=function(a){return hk(this,17,a)};g.hasQueryScope=function(){return Ij(this,17)};var TRc=function(a,b){this.delegate_=a;this.trackers_=b;this.name=a.name};TRc.prototype.search=function(a){var b=this,c,d;return ve(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(66),c.start(),we(e,2,3),xe(e,b.delegate_.search(a),5);case 5:return e.return(e.yieldResult);case 3:ye(e);c.stop();ze(e,0);break;case 2:throw d=Be(e),b.trackers_.error(36,11).report(),d;}})};
TRc.prototype.lookup=function(a){var b=this,c,d;return ve(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(67),c.start(),we(e,2,3),xe(e,b.delegate_.lookup(a),5);case 5:return e.return(e.yieldResult);case 3:ye(e);c.stop();ze(e,0);break;case 2:throw d=Be(e),b.trackers_.error(37,11).report(),d;}})};var URc=function(a,b){this.delegate_=a;this.trackers_=b;this.name=a.name};URc.prototype.getPosition=function(){try{return this.delegate_.getPosition()}catch(a){throw this.trackers_.error(38,11).report(),a;}};
URc.prototype.warmUpCache=function(){var a=this,b,c;return ve(function(d){switch(d.nextAddress){case 1:return b=a.trackers_.latency(65),b.start(),we(d,2,3),xe(d,a.delegate_.warmUpCache(),5);case 5:return d.return(d.yieldResult);case 3:ye(d);b.stop();ze(d,0);break;case 2:throw c=Be(d),a.trackers_.error(35,11).report(),c;}})};URc.prototype.needsWarmUp=function(){try{return this.delegate_.needsWarmUp()}catch(a){throw this.trackers_.error(38,11).report(),a;}};var VRc=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new NRc(e);this.index_=qX};g=VRc.prototype;g.getCacheType=function(){switch(this.adapter_.getPosition()){case 1:return 2;case 2:return 3;default:return 0}};g.flush=function(){this.index_=qX};
g.fetch=function(a){var b=this,c,d;return ve(function(e){switch(e.nextAddress){case 1:c=$W(new Ut,!0).setProvenance(7).setCode(0);if(b.index_!=qX&&!b.adapter_.needsWarmUp())return e.return($W(c,!1));we(e,2);return xe(e,b.adapter_.warmUpCache(),4);case 4:d=e.yieldResult;jv(e,3);break;case 2:return Be(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new Jt),e.return(c)}catch(f){return e.return(c.setCode(13))}}})};
g.index=function(a,b){a=ORc(this.ranker_,b,1);for(var c=k(b),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.storage_.storeItems(1,b);this.index_=QRc(this.trieFactory_,a)};g.search=function(a){var b=this;this.adapter_.needsWarmUp()&&Promise.resolve().then(function(){return b.fetch(a)});return this.index_.search(a.getTerms()).getMatches(a.getCollector())};g.getName=function(){return this.adapter_.getName()};var WRc=function(a,b,c){this.indexLatency_=a;this.searchLatency_=b;this.errorType_=c};WRc.prototype.getErrorType=function(){return this.errorType_};var tX=function(a,b,c){this.delegate_=a;this.trackers_=b;this.indexingLabel_=c.indexLatency_;this.searchLabel_=c.searchLatency_;this.errorLabel_=c.getErrorType()};g=tX.prototype;g.getCacheType=function(){return this.delegate_.getCacheType()};g.flush=function(){try{this.delegate_.flush()}catch(a){throw this.trackers_.error(this.errorLabel_,15).report(),a;}};g.fetch=function(a){try{return this.delegate_.fetch(a)}catch(b){throw this.trackers_.error(this.errorLabel_,14).report(),b;}};
g.index=function(a,b,c){var d=this.trackers_.latency(this.indexingLabel_);d.start();try{this.delegate_.index(a,b,c)}catch(e){throw this.trackers_.error(this.errorLabel_,10).report(),e;}finally{d.stop()}};g.search=function(a){var b=this.trackers_.latency(this.searchLabel_);b.start();try{return this.delegate_.search(a)}catch(c){throw this.trackers_.error(this.errorLabel_,13).report(),c;}finally{b.stop()}};g.getName=function(){return this.delegate_.getName()};var XRc=function(a,b){this.provider_=a;this.itemFactory_=b};XRc.prototype.search=function(a,b){var c=this,d;return ve(function(e){if(e.nextAddress==1)return b<1?e.return([]):xe(e,c.provider_.search((new Gyc).setQuery(a).setMaxResults(b)),2);d=e.yieldResult;return e.return(YRc(d))})};XRc.prototype.lookup=function(a){var b=this,c;return ve(function(d){if(d.nextAddress==1)return a.length?xe(d,b.provider_.lookup(a),2):d.return([]);c=d.yieldResult;return d.return(YRc(c))})};XRc.prototype.getName=function(){return this.provider_.name};var ZRc=function(a,b){this.provider_=a;this.itemFactory_=b};ZRc.prototype.getPosition=function(){return this.provider_.getPosition()};ZRc.prototype.needsWarmUp=function(){return this.provider_.needsWarmUp()};ZRc.prototype.warmUpCache=function(){var a=this,b;return ve(function(c){if(c.nextAddress==1)return xe(c,a.provider_.warmUpCache(),2);b=c.yieldResult;return c.return(YRc(b))})};ZRc.prototype.getName=function(){return this.provider_.name};var $Rc=new WRc(68,69,38);var aSc=function(){},bSc=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=void 0,e=[],f=k(c.getTargetList()),h=f.next();!h.done;h=f.next())h=Abb(c,h.value,7),e.push(String(h.id)),h.coalescedKeys=e,d||(d=h),b.push(h);d&&et(d.id)&&(e=void 0,d.totalMemberCount=(e=Kv(c,4))!=null?e:void 0,d.memberKeys=c.getMemberList().map(function(l){var q=k(l.getTargetList());for(q=q.next();!q.done;q=q.next())return l=Abb(l,q.value,8),b.push(l),String(l.id)}))}return b},YRc=function(a){a=
nj(a,lB,1,Wi());return bSc(a)};var cSc=function(){};cSc.prototype.processItem=function(){};var dSc=new cSc;var eSc=function(a,b){this.isOrgStateEnabled_=a.runtimeConfig_.isOrgStateEnabled_;this.delegate_=b};eSc.prototype.processItem=function(a){this.delegate_.processItem(a);a=a.target;this.isOrgStateEnabled_||a.setOrgState(0)};var fSc=function(a,b){this.encryptionSupport_=a;this.certificateStatus_=b};fSc.prototype.getEncryptionSupport=function(){return this.encryptionSupport_};fSc.prototype.getCertificateStatus=function(){return this.certificateStatus_};var Dbb=function(a,b,c){a=a===void 0?1:a;b=b===void 0?0:b;c=c===void 0?!1:c;a===4&&Date.now()/1E3>b&&(a=3);return new fSc(a===4?c?4:3:c?2:1,a)};var Ebb=function(a,b){this.reachabilityStatus=a;this.clientData=b};Ebb.prototype.getReachabilityStatus=function(){return this.reachabilityStatus};Ebb.prototype.getClientData=function(){return this.clientData};var it=function(){this.iconUrl_=this.altText_=""};it.prototype.getAltText=function(){return this.altText_};it.prototype.setAltText=function(a){this.altText_=a||"";return this};it.prototype.getIconUrl=function(){return this.iconUrl_};it.prototype.setIconUrl=function(a){this.iconUrl_=a||"";return this};var gSc=function(a){this.delegate_=a};gSc.prototype.processItem=function(a){a.target=Fbb(a);this.delegate_.processItem(a);a.resultData&&delete a.resultData;a.targetData&&delete a.targetData};var hSc=function(){};
hSc.prototype.configure=function(a){var b=a.clientConfig,c=a.trackers,d=a.storage,e=a.indexer,f=a.trieFactory,h=a.prefixCaches;a=a.lookupStages;var l=b.runtimeConfig_.customDataConfig_;if(l){var q=b.getClient(),v=new aSc;var y=y===void 0?dSc:y;b=new eSc(b,new gSc(y));y=[];for(var E=k(l.staticDataProviders_.reverse()),H=E.next();!H.done;H=E.next()){H=H.value;var O=c,N=H;N=new URc(N,O);N=new VRc(new ZRc(N,v),b,f,d,q);O=new tX(N,O,$Rc);switch(H.getPosition()){case 1:y.push(O);break;case 2:h.push(O);
break;default:throw Error("Sf");}}y.length&&h.splice.apply(h,[0,0].concat(w(y)));l=k(l.dynamicDataProviders_);for(y=l.next();!y.done;y=l.next())y=y.value,E=c,H=y,H=new TRc(H,E),H=new PRc(new XRc(H,v),b,f,d,q),E=new tX(H,E,$Rc),h.push(E),y=new TRc(y,c),a.push(new RRc(new XRc(y,v),b,e))}};var uX=function(a){this.internalArray_=m(a)};Y(uX,V);g=uX.prototype;g.getEnableClearcut=function(){return Fj(this,1,!1)};g.setEnableClearcut=function(a){return dk(this,1,a)};g.getSocialApplication=function(){return Kj(this,2,0)};g.getSocialApplicationOrUndefined=function(){return Qt(this,2)};g.setEventSources=function(a){yv(this,5,Pt,a)};var vX=function(a){this.internalArray_=m(a)};Y(vX,V);vX.prototype.getApplication=function(){return Kj(this,1,0)};vX.prototype.setApplication=function(a){return hk(this,1,a)};vX.prototype.getApplicationOrUndefined=function(){return Qt(this,1)};vX.prototype.getIsEnabled=function(){return Fj(this,2,!1)};var wX=function(a){this.internalArray_=m(a)};Y(wX,V);wX.prototype.getApiKey=function(){return Gh(this,1,"")};wX.prototype.setApiKey=function(a){return gk(this,1,a)};var xX=function(a){this.internalArray_=m(a)};Y(xX,V);g=xX.prototype;g.getClientId=function(){return Gh(this,1,"CLIENT_UNSPECIFIED")};g.setClientId=function(a){return gk(this,1,a)};g.getAffinityType=function(){return Gh(this,4,"AFFINITY_TYPE_UNKNOWN")};g.setAffinityType=function(a){return gk(this,4,a)};g.getContainerType=function(){return d_b(this,7)};g.setPhoneCanonicalizationInference=function(a){return hk(this,19,a)};g.getPhoneCanonicalizationInferenceOrUndefined=function(){return Qt(this,19)};var iSc=function(a){this.internalArray_=m(a)};Y(iSc,V);g=iSc.prototype;g.getClient=function(){return W(this,sX,1)};g.setClient=function(a){return X(this,sX,1,a)};g.hasClient=function(){return Oj(this,sX,1)};g.getGapi=function(){return W(this,wX,2)};g.getPeopleApi=function(){return W(this,xX,3)};g.getClearcut=function(){return W(this,uX,4)};g.setClearcut=function(a){X(this,uX,4,a)};g.hasClearcut=function(){return Oj(this,uX,4)};g.getExperiments=function(){return W(this,vX,5)};
g.setExperiments=function(a){return X(this,vX,5,a)};g.hasExperiments=function(){return Oj(this,vX,5)};var jSc=xna(iSc);var kSc;var yX=function(a,b){this.delegate_=a;this.runtimeConfig_=b||new Myc;a=this.getPeopleApi();bk(a,7,Wi()).length||ok(a,7,[2,8,1,7,10,11]);Vi(a,8,Wi()).length||dj(a,8,["person.name","person.photo","person.email","person.phone","person.metadata"]);b=k(Vi(a,8,Wi()));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,c){case "person.name":case "person.email":case "person.phone":yc(a,8,Qb,c+".metadata.verified",void 0,Vi)}};
yX.prototype.getClient=function(){this.delegate_.hasClient()||this.delegate_.setClient(new sX);return this.delegate_.getClient()};yX.prototype.getGapi=function(){if(!Oj(this.delegate_,wX,2)){var a=this.delegate_,b=new wX;X(a,wX,2,b)}return this.delegate_.getGapi()};yX.prototype.getPeopleApi=function(){if(!Oj(this.delegate_,xX,3)){var a=this.delegate_,b=new xX;X(a,xX,3,b)}return this.delegate_.getPeopleApi()};
yX.prototype.getClearcut=function(){this.delegate_.hasClearcut()||this.delegate_.setClearcut(new uX);return this.delegate_.getClearcut()};var lSc=function(a){a.delegate_.hasExperiments()||a.delegate_.setExperiments(new vX);return a.delegate_.getExperiments()};yX.prototype.getAuthErrorHandler=function(){return this.runtimeConfig_.getAuthErrorHandler()};var mSc=function(a){a=a.getClient();return Zi(a,6,500)?Math.min(Math.round(Zi(a,6,500)/4),500):500};var nSc;var Ot=null;var zX=function(a){this.internalArray_=m(a)};Y(zX,V);zX.prototype.setPhoneCanonicalizationInference=function(a){return hk(this,1,a)};zX.prototype.getPhoneCanonicalizationInferenceOrUndefined=function(){return Qt(this,1)};var lt=function(a){this.internalArray_=m(a)};Y(lt,V);lt.prototype.setDevice=function(a){return hk(this,1,a)};var oSc=function(a){this.internalArray_=m(a)};Y(oSc,V);var pSc=function(){var a=new oSc;return hk(a,1,1)},qSc=function(a,b){return gk(a,2,b)};var rSc=function(a){this.internalArray_=m(a)};Y(rSc,V);g=rSc.prototype;g.getAffinityType=function(){return Bt(this,1)};g.setAffinityType=function(a){return hk(this,1,a)};g.getQuery=function(){return uk(this,2)};g.setQuery=function(a){return gk(this,2,a)};g.clearQuery=function(){Zp(this,2)};g.hasQuery=function(){return Hj(this,2)};g.setClientInformation=function(a){X(this,lt,3,a)};g.setMaxResults=function(a){return ek(this,4,a)};g.setFormattingOptions=function(a){X(this,zX,5,a)};
g.setDelegation=function(a){X(this,oSc,6,a)};var sSc=function(a){this.internalArray_=m(a)};Y(sSc,V);g=sSc.prototype;g.getAffinityVersion=function(){return Gv(this,1)};g.setAffinityVersion=function(a){ek(this,1,a)};g.getAffinityVersionOrUndefined=function(){return Kv(this,1)};g.getAffinityType=function(){return uk(this,4)};g.setAffinityType=function(a){return gk(this,4,a)};var Ybb=function(a){this.internalArray_=m(a)};Y(Ybb,V);var AX=function(a){this.internalArray_=m(a)};Y(AX,V);AX.prototype.getValue=function(){return uk(this,1)};AX.prototype.getValue_legacyNullable=function(){return uk(this,1)};AX.prototype.setValue=function(a){return gk(this,1,a)};AX.prototype.hasValue=function(){return Hj(this,1)};var BX=function(a){this.internalArray_=m(a)};Y(BX,V);g=BX.prototype;g.getLoggingId=function(){return Dt(this,1)};g.setLoggingId=function(a){Zp(this,1,kb(a,!1,!0,!1))};g.getValue=function(){return zv(this,2)};g.getValue_legacyNullable=function(){return zv(this,2)};g.setValue=function(a){return Zp(this,2,yb(a))};g.hasValue=function(){return zv(this,2)!=null};var tSc=function(a){this.internalArray_=m(a)};Y(tSc,V);g=tSc.prototype;g.getValue=function(){return uk(this,1)};g.getValue_legacyNullable=function(){return uk(this,1)};g.setValue=function(a){return gk(this,1,a)};g.hasValue=function(){return Hj(this,1)};g.getGivenName=function(){return uk(this,2)};g.setGivenName=function(a){return gk(this,2,a)};g.hasGivenName=function(){return Hj(this,2)};g.getFamilyName=function(){return uk(this,3)};g.setFamilyName=function(a){return gk(this,3,a)};
g.hasFamilyName=function(){return Hj(this,3)};g.getSourceType=function(){return Bt(this,4)};g.setSourceType=function(a){return hk(this,4,a)};var uSc=function(a){this.internalArray_=m(a)};Y(uSc,V);g=uSc.prototype;g.getUrl=function(){return uk(this,1)};g.setUrl=function(a){return gk(this,1,a)};g.hasUrl=function(){return Hj(this,1)};g.getType=function(){return Bt(this,2)};g.setType=function(a){return hk(this,2,a)};g.hasType=function(){return Ij(this,2)};g.getGlyph=function(){return uk(this,3)};g.setGlyph=function(a){return gk(this,3,a)};var CX=function(a){this.internalArray_=m(a)};Y(CX,V);g=CX.prototype;g.getPhoto=function(){return W(this,uSc,1)};g.setPhoto=function(a){X(this,uSc,1,a)};g.hasPhoto=function(){return Oj(this,uSc,1)};g.getName=function(){return W(this,tSc,2)};g.setName=function(a){return X(this,tSc,2,a)};g.hasName=function(){return Oj(this,tSc,2)};g.getAffinity=function(){return W(this,BX,3)};g.hasAffinity=function(){return Oj(this,BX,3)};g.getPrimary=function(){return tt(this,4)};var DX=function(a){this.internalArray_=m(a)};Y(DX,V);DX.prototype.getStatus=function(){return Bt(this,2)};DX.prototype.setStatus=function(a){return hk(this,2,a)};DX.prototype.hasStatus=function(){return Ij(this,2)};var vSc=function(a){this.internalArray_=m(a)};Y(vSc,V);var kcb=function(a){this.internalArray_=m(a)};Y(kcb,V);kcb.prototype.getState=function(){return Bt(this,2)};kcb.prototype.setState=function(a){return hk(this,2,a)};var EX=function(a){this.internalArray_=m(a)};Y(EX,V);EX.prototype.getApplication=function(){return Kj(this,1,0)};EX.prototype.setApplication=function(a){return hk(this,1,a)};EX.prototype.getApplicationOrUndefined=function(){return Qt(this,1)};var FX=function(a){this.internalArray_=m(a)};Y(FX,V);FX.prototype.getValue=function(){return uk(this,1)};FX.prototype.getValue_legacyNullable=function(){return uk(this,1)};FX.prototype.setValue=function(a){return gk(this,1,a)};FX.prototype.hasValue=function(){return Hj(this,1)};var Jbb=function(a){this.internalArray_=m(a)};Y(Jbb,V);g=Jbb.prototype;g.getProfileId=function(){return uk(this,1)};g.getProfileId_legacyNullable=function(){return uk(this,1)};g.setProfileId=function(a){return gk(this,1,a)};g.hasProfileId=function(){return Hj(this,1)};g.getEmail=function(){return Ko(this,2,qt)};g.getEmail_legacyNullable=function(){return Ko(this,2,qt)};g.setEmail=function(a){return kl(this,2,qt,a)};g.hasEmail=function(){return Ko(this,2,qt)!=null};
g.getPhone=function(){return Ko(this,3,qt)};g.getPhone_legacyNullable=function(){return Ko(this,3,qt)};g.setPhone=function(a){return kl(this,3,qt,a)};g.hasPhone=function(){return Ko(this,3,qt)!=null};g.getClientData=function(){return uk(this,4)};g.hasClientData=function(){return Hj(this,4)};var qt=[2,3];var wSc=function(a){this.internalArray_=m(a)};Y(wSc,V);g=wSc.prototype;g.getDisplayValue=function(){return uk(this,1)};g.getCanonicalValue=function(){return uk(this,2)};g.setCanonicalValue=function(a){return gk(this,2,a)};g.hasCanonicalValue=function(){return Hj(this,2)};g.getOriginalValue=function(){return uk(this,3)};var xSc=function(a){this.internalArray_=m(a)};Y(xSc,V);g=xSc.prototype;g.getStatus=function(){return Bt(this,1)};g.setStatus=function(a){return hk(this,1,a)};g.hasStatus=function(){return Ij(this,1)};g.getClientData=function(){return uk(this,2)};g.hasClientData=function(){return Hj(this,2)};var Mbb=function(a){this.internalArray_=m(a)};Y(Mbb,V);g=Mbb.prototype;g.getIdCase=function(){return fl(this,GX)};g.getProfileId=function(){return Ko(this,1,GX)};g.getProfileId_legacyNullable=function(){return Ko(this,1,GX)};g.setProfileId=function(a){return kl(this,1,GX,a)};g.hasProfileId=function(){return Ko(this,1,GX)!=null};g.getContactId=function(){return Ko(this,2,GX)};g.setContactId=function(a){return kl(this,2,GX,a)};var GX=[1,2];var ySc=function(a){this.internalArray_=m(a)};Y(ySc,V);g=ySc.prototype;g.getValueCase=function(){return fl(this,ot)};g.getDisplayInfo=function(){return W(this,CX,1)};g.hasDisplayInfo=function(){return Oj(this,CX,1)};g.getEmail=function(){return Al(this,FX,2,ot)};g.setEmail=function(a){return Fl(this,2,ot,a)};g.hasEmail=function(){return Nl(this,FX,2,ot)};g.getPhone=function(){return Al(this,wSc,3,ot)};g.setPhone=function(a){return Fl(this,3,ot,a)};g.hasPhone=function(){return Nl(this,wSc,3,ot)};
g.getIsSelf=function(){return tt(this,6)};g.getTypeLabel=function(){return uk(this,10)};g.getDisambiguationLabel=function(){return W(this,AX,14)};g.setDisambiguationLabel=function(a){X(this,AX,14,a)};var ot=[2,3,4];var zSc=function(a){this.internalArray_=m(a)};Y(zSc,V);g=zSc.prototype;g.getDisplayInfo=function(){return W(this,CX,1)};g.hasDisplayInfo=function(){return Oj(this,CX,1)};g.getMembersList=function(){return nj(this,ySc,2,Wi())};g.setMembersList=function(a){return $l(this,2,a)};g.getLabelId=function(){return uk(this,3)};var st=function(a){this.internalArray_=m(a,5)};Y(st,V);st.prototype.getIsPlaceholder=function(){return Fj(this,2)};st.prototype.setIsPlaceholder=function(a){dk(this,2,a)};st.prototype.setContactId=function(a){return nk(this,4,a)};var ASc=function(a){this.internalArray_=m(a)};Y(ASc,V);ASc.prototype.getAffinity=function(){return W(this,BX,2)};ASc.prototype.hasAffinity=function(){return Oj(this,BX,2)};var rcb=function(a){this.internalArray_=m(a)};Y(rcb,V);rcb.prototype.getIdCase=function(){return fl(this,scb)};var scb=[1,2];var BSc=function(a){this.internalArray_=m(a)};Y(BSc,V);g=BSc.prototype;g.getDisplayInfo=function(){return W(this,CX,1)};g.hasDisplayInfo=function(){return Oj(this,CX,1)};g.getMembersList=function(){return nj(this,ASc,2,Wi())};g.setMembersList=function(a){return $l(this,2,a)};g.getGroupId=function(){return uk(this,4)};g.setGroupId=function(a){gk(this,4,a)};g.hasGroupId=function(){return Hj(this,4)};var HX=function(a){this.internalArray_=m(a)};Y(HX,V);HX.prototype.getDataCase=function(){return fl(this,CSc)};HX.prototype.getGroup=function(){return Al(this,BSc,2,CSc)};HX.prototype.setGroup=function(a){Fl(this,2,CSc,a)};var CSc=[1,2,3];var IX=function(a){this.internalArray_=m(a)};Y(IX,V);IX.prototype.getResultsList=function(){return nj(this,HX,1,Wi())};var DSc=new $U("/peoplestack.PeopleStackAutocompleteService/Autocomplete",rSc,IX,function(a){return a.serialize()},Ih(IX));var ESc=function(a){this.internalArray_=m(a)};Y(ESc,V);g=ESc.prototype;g.getAffinityType=function(){return Bt(this,1)};g.setAffinityType=function(a){return hk(this,1,a)};g.setClientInformation=function(a){X(this,lt,2,a)};g.getName=function(){return uk(this,3)};g.setName=function(a){return gk(this,3,a)};g.hasName=function(){return Hj(this,3)};g.getNameOrUndefined=function(){return Pm(this,3)};var FSc=function(a){this.internalArray_=m(a)};Y(FSc,V);FSc.prototype.getGroup=function(){return W(this,BSc,1)};FSc.prototype.setGroup=function(a){X(this,BSc,1,a)};var GSc=new $U("/peoplestack.PeopleStackAutocompleteService/CreateGroup",ESc,FSc,function(a){return a.serialize()},Ih(FSc));var zt=function(a){this.internalArray_=m(a)};Y(zt,V);g=zt.prototype;g.getIdCase=function(){return fl(this,At)};g.getEmail=function(){return Ko(this,1,At)};g.getEmail_legacyNullable=function(){return Ko(this,1,At)};g.setEmail=function(a){return kl(this,1,At,a)};g.hasEmail=function(){return Ko(this,1,At)!=null};g.getPhone=function(){return Ko(this,2,At)};g.getPhone_legacyNullable=function(){return Ko(this,2,At)};g.setPhone=function(a){return kl(this,2,At,a)};
g.hasPhone=function(){return Ko(this,2,At)!=null};g.getProfileId=function(){return Ko(this,3,At)};g.getProfileId_legacyNullable=function(){return Ko(this,3,At)};g.setProfileId=function(a){return kl(this,3,At,a)};g.hasProfileId=function(){return Ko(this,3,At)!=null};g.getContactId=function(){return Ko(this,5,At)};g.setContactId=function(a){return kl(this,5,At,a)};var At=[1,2,3,4,5];var JX=function(a){this.internalArray_=m(a)};Y(JX,V);JX.prototype.getAffinityType=function(){return Bt(this,1)};JX.prototype.setAffinityType=function(a){return hk(this,1,a)};JX.prototype.setClientInformation=function(a){X(this,lt,2,a)};var HSc=function(a,b){$l(a,3,b)};JX.prototype.setIds=function(a){return yv(this,3,zt,a)};JX.prototype.setFormattingOptions=function(a){X(this,zX,4,a)};JX.prototype.setDelegation=function(a){X(this,oSc,5,a)};var ISc=function(a){this.internalArray_=m(a)};Y(ISc,V);ISc.prototype.getId=function(){return W(this,zt,1)};ISc.prototype.setId=function(a){return X(this,zt,1,a)};var JSc=[2,3];var KSc=function(a){this.internalArray_=m(a)};Y(KSc,V);var LSc=new $U("/peoplestack.PeopleStackAutocompleteService/Lookup",JX,KSc,function(a){return a.serialize()},Ih(KSc));var KX=function(a){this.internalArray_=m(a)};Y(KX,V);KX.prototype.getAffinityType=function(){return Bt(this,1)};KX.prototype.setAffinityType=function(a){return hk(this,1,a)};KX.prototype.setClientInformation=function(a){X(this,lt,2,a)};KX.prototype.setDelegation=function(a){X(this,oSc,3,a)};var MSc=function(a){this.internalArray_=m(a)};Y(MSc,V);var NSc=new $U("/peoplestack.PeopleStackAutocompleteService/Warmup",KX,MSc,function(a){return a.serialize()},Ih(MSc));var OSc=function(a){var b={unaryInterceptors:[new INc]};b=b||{};b.format="jspb";this.client_=new cKc(b);this.hostname_=a==void 0?a:a.replace(/\/+$/,"")};OSc.prototype.autocomplete=function(a,b){return hV(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Autocomplete",a,b||{},DSc)};OSc.prototype.lookup=function(a,b){return hV(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Lookup",a,b||{},LSc)};
OSc.prototype.createGroup=function(a,b){return hV(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/CreateGroup",a,b||{},GSc)};var Ubb=new Bw(417869898,st);var Zbb=new Bw(417866180,Ybb);var PSc=function(a){a=a==null?"":String(a);for(var b=0,c=0,d=a.length;c<d;c++)b=(b<<5)-b+a.codePointAt(c);return b},Sbb=function(a){if(!a)return 0;a=Array.from(a).map(PSc);a.sort();for(var b=1,c=0,d=a.length;c<d;c++)b=(b<<5)-b+a[c];return b};var Hbb=new Map([["CONTACT_GROUP",9],["FAMILY",11],["MEDIA_COLLECTION",10],["CHAT",12],["GROUP_DM",12],["ROOM",13],["DYNAMITE_ROOM",13],["DYNAMITE_NAMED_ROOM",13],["DYNAMITE_UNNAMED_ROOM",14],["DYNAMITE_CLASSIC_NAMED_ROOM",15],["DYNAMITE_CLASSIC_UNNAMED_ROOM",16]]);var QSc=function(a){this.leanResponseProcessorConfig_=a},RSc=function(a,b,c,d){d=d===void 0?!1:d;for(var e=[],f=Xbb(b),h=[],l=k(nj(b,ySc,1,Wi())),q=l.next();!q.done;q=l.next()){q=q.value;var v=Lbb(q);if(v.equals(rt)){if(!a.leanResponseProcessorConfig_.allowEmptyTargets&&!d)continue;var y=Tbb(q);if(!y)continue;v=ybb(y)}h.push(String(v));var E=y=void 0;v={id:v,containerIds:Nbb(q),coalescedKeys:h,isMe:!!q.getIsSelf(),dataSource:Obb(b,q),provenance:c,isPrimary:Rbb((y=q.getDisplayInfo())!=null?y:null),
itemAffinity:Qbb(b),fieldAffinity:Pbb((E=q.getDisplayInfo())!=null?E:null),contactMethod:q,person:b};f&&(v.resultExtendedData=f);if(q=$bb(q))v.targetExtendedData=q;e.push(v)}e.length&&e.every(function(H){return!H.isPrimary})&&(e[0].isPrimary=!0);return e},SSc=function(a,b,c){var d=ft(Ibb(uk(b,5)),b.getGroupId()||""),e=b.getMembersList().map(function(q){return RSc(a,q,8,!0)}),f=e.filter(function(q){return q&&q.length}).map(function(q){return String(q[0].id)}),h,l;d=[{id:d,containerIds:[d],memberKeys:f,
totalMemberCount:(h=Kv(b,3))!=null?h:void 0,provenance:c,isPrimary:!0,itemAffinity:Pbb((l=b.getDisplayInfo())!=null?l:null),fieldAffinity:-Infinity,group:b}];b=k(e);for(c=b.next();!c.done;c=b.next())d.push.apply(d,w(c.value));return d},TSc=function(a,b){var c=rkc(a.getLabelId()||""),d=a.getMembersList().map(function(h){if(h.hasEmail()&&h.getEmail().getValue()){var l,q;var v={id:mt(h.getEmail().getValue()),containerIds:Nbb(h),contactMethod:h,provenance:8,isMe:!1,dataSource:1,isPrimary:Rbb((l=h.getDisplayInfo())!=
null?l:null),itemAffinity:-Infinity,fieldAffinity:Pbb((q=h.getDisplayInfo())!=null?q:null)};if(h=$bb(h))v.targetExtendedData=h}else v=null;return v}).filter(Boolean),e=d.map(function(h){return String(h.id)}),f;return[{id:c,containerIds:[c],memberKeys:e,totalMemberCount:d.length,provenance:b,dataSource:1,isPrimary:!0,itemAffinity:Pbb((f=a.getDisplayInfo())!=null?f:null),fieldAffinity:-Infinity,isMe:!1,contactLabel:a}].concat(w(d))},USc=function(a,b,c){switch(b.getDataCase()){case 1:return RSc(a,Al(b,
ASc,1,CSc),c);case 2:return SSc(a,b.getGroup(),c);case 3:return TSc(Al(b,zSc,3,CSc),c);default:return[]}},VSc=function(a,b,c){return b.getResultsList().flatMap(function(d){return USc(a,d,c)})};var ccb=new Map([[0,1],[1,2],[2,3],[3,4]]);var WSc=function(a){this.internalArray_=m(a)};Y(WSc,V);g=WSc.prototype;g.getLabel=function(){return Bt(this,1)};g.setLabel=function(a){return hk(this,1,a)};g.hasLabel=function(){return Ij(this,1)};g.getItemCount=function(){return Gv(this,2)};g.setItemCount=function(a){return ek(this,2,a)};g.hasItemCount=function(){return Gj(this,2)};g.getLookupInfo=function(){return W(this,xt,3)};g.getMutableLookupInfo=function(){return Av(this,xt,3)};g.setLookupInfo=function(a){return X(this,xt,3,a)};
g.hasLookupInfo=function(){return Oj(this,xt,3)};g.getQueryLength=function(){return Gv(this,4)};g.setQueryLength=function(a){return ek(this,4,a)};g.hasQueryLength=function(){return Gj(this,4)};g.getQueryScope=function(){return Kj(this,5,0)};g.setQueryScope=function(a){return hk(this,5,a)};g.hasQueryScope=function(){return Ij(this,5)};var XSc=function(a){this.internalArray_=m(a)};Y(XSc,V);g=XSc.prototype;g.getLabel=function(){return Bt(this,1)};g.setLabel=function(a){return hk(this,1,a)};g.hasLabel=function(){return Ij(this,1)};g.getStatus=function(){return Bt(this,2)};g.setStatus=function(a){return hk(this,2,a)};g.hasStatus=function(){return Ij(this,2)};g.setLatencyUsec=function(a){nk(this,3,a)};g.getResultIndex=function(){return Gv(this,4)};g.setResultIndex=function(a){ek(this,4,a)};
g.getDataSource=function(){return Bt(this,7)};g.setDataSource=function(a){return hk(this,7,a)};g.hasDataSource=function(){return Ij(this,7)};g.getItemCount=function(){return Gv(this,8)};g.setItemCount=function(a){return ek(this,8,a)};g.hasItemCount=function(){return Gj(this,8)};g.getLookupInfo=function(){return W(this,xt,10)};g.getMutableLookupInfo=function(){return Av(this,xt,10)};g.setLookupInfo=function(a){return X(this,xt,10,a)};g.hasLookupInfo=function(){return Oj(this,xt,10)};
g.getStatusCode=function(){return Kj(this,11,2)};g.setStatusCode=function(a){hk(this,11,a)};g.hasStatusCode=function(){return Ij(this,11)};g.getQueryLength=function(){return Gv(this,13)};g.setQueryLength=function(a){return ek(this,13,a)};g.hasQueryLength=function(){return Gj(this,13)};g.getQueryScope=function(){return Kj(this,14,0)};g.setQueryScope=function(a){return hk(this,14,a)};g.hasQueryScope=function(){return Ij(this,14)};var YSc=function(a){this.internalArray_=m(a)};Y(YSc,V);var LX=function(a){this.internalArray_=m(a)};Y(LX,V);g=LX.prototype;g.getDataSource=function(){return Bt(this,3)};g.setDataSource=function(a){return hk(this,3,a)};g.hasDataSource=function(){return Ij(this,3)};g.getType=function(){return Bt(this,4)};g.setType=function(a){return hk(this,4,a)};g.hasType=function(){return Ij(this,4)};g.getValue_asLegacyNumberOrString=function(){return Vj(this,2,1)};g.setValue=function(a){return nk(this,2,a)};g.hasValue=function(){return Uj(this,2)};
g.getLabel=function(){return uk(this,1)};g.setLabel=function(a){return gk(this,1,a)};g.hasLabel=function(){return Hj(this,1)};var MX=function(a){this.internalArray_=m(a)};Y(MX,V);g=MX.prototype;g.getStatusCode=function(){return Kj(this,5,2)};g.setStatusCode=function(a){hk(this,5,a)};g.hasStatusCode=function(){return Ij(this,5)};g.getLabel=function(){return uk(this,1)};g.setLabel=function(a){return gk(this,1,a)};g.hasLabel=function(){return Hj(this,1)};g.getCause=function(){return uk(this,2)};g.setCause=function(a){gk(this,2,a)};g.getType=function(){return Bt(this,3)};g.setType=function(a){return hk(this,3,a)};
g.hasType=function(){return Ij(this,3)};var ZSc=function(a){this.internalArray_=m(a)};Y(ZSc,V);g=ZSc.prototype;g.getType=function(){return Bt(this,3)};g.setType=function(a){return hk(this,3,a)};g.hasType=function(){return Ij(this,3)};g.setLatencyUsec=function(a){nk(this,2,a)};g.getLabel=function(){return uk(this,1)};g.setLabel=function(a){return gk(this,1,a)};g.hasLabel=function(){return Hj(this,1)};var NX=function(a){this.internalArray_=m(a)};Y(NX,V);NX.prototype.getLabel=function(){return Bt(this,1)};NX.prototype.setLabel=function(a){return hk(this,1,a)};NX.prototype.hasLabel=function(){return Ij(this,1)};var $Sc=function(a){this.internalArray_=m(a)};Y($Sc,V);g=$Sc.prototype;g.getLabel=function(){return Bt(this,1)};g.setLabel=function(a){return hk(this,1,a)};g.hasLabel=function(){return Ij(this,1)};g.getStatus=function(){return Bt(this,2)};g.setStatus=function(a){return hk(this,2,a)};g.hasStatus=function(){return Ij(this,2)};g.setLatencyUsec=function(a){nk(this,3,a)};g.hasErrorCode=function(){return Uj(this,4)};g.getStatusCode=function(){return Kj(this,7,2)};g.setStatusCode=function(a){hk(this,7,a)};
g.hasStatusCode=function(){return Ij(this,7)};g.setBlockedUsec=function(a){return nk(this,8,a)};var adb=function(a){this.internalArray_=m(a)};Y(adb,V);g=adb.prototype;g.getClientInterface=function(){return W(this,cJ,1)};g.setClientInterface=function(a){return X(this,cJ,1,a)};g.getEventType=function(){return Bt(this,3)};g.getEventType_legacyNullable=function(){return Bt(this,3)};g.setEventType=function(a){return hk(this,3,a)};g.getCacheStatus=function(){return W(this,YSc,12)};g.setCacheStatus=function(a){return X(this,YSc,12,a)};g.getCount=function(){return W(this,LX,4)};
g.getMutableCount=function(){return Av(this,LX,4)};g.setCount=function(a){return X(this,LX,4,a)};g.getMutableLatency=function(){return Av(this,ZSc,5)};g.setLatency=function(a){X(this,ZSc,5,a)};g.getError=function(){return W(this,MX,6)};g.setError=function(a){X(this,MX,6,a)};g.hasError=function(){return Oj(this,MX,6)};g.setRpcRequest=function(a){return X(this,NX,7,a)};g.setRpcResponse=function(a){return X(this,$Sc,8,a)};g.setApiCall=function(a){return X(this,WSc,9,a)};
g.setApiResult=function(a){return X(this,XSc,10,a)};var OX=function(a,b,c,d,e){this.leanResponseProcessor_=a;this.grpcClient_=b;e?a=bcb(e):(a=new wt,acb(a.setEventType(4),4));this.sourceInfo_=a;this.provenance_=e?2:1;this.trackers_=d;this.query_=e;this.affinity_=Kj(c.getPeopleApi(),5,0);this.searchMaxResults_=c.getClient().getSearchMaxResults();this.cacheSize_=c.getClient().getCacheSize();this.phoneCanonicalizationInference_=c.getPeopleApi().getPhoneCanonicalizationInferenceOrUndefined();this.requestCorpHeaders_=c.runtimeConfig_.requestCorpHeaders_;
var f;this.delegatorId_=(f=c.runtimeConfig_.getDelegatorId())!=null?f:""};OX.prototype.getMetric=function(){return aTc(this.trackers_,this.sourceInfo_)};
OX.prototype.send=function(a){var b=new rSc;b.setAffinityType(this.affinity_).setQuery(this.query_).setClientInformation(Gbb({requestCorpHeaders:this.requestCorpHeaders_}));this.query_.length?b.setMaxResults(this.searchMaxResults_):b.setMaxResults(this.cacheSize_);this.phoneCanonicalizationInference_!=null&&b.setFormattingOptions((new zX).setPhoneCanonicalizationInference(this.phoneCanonicalizationInference_));this.delegatorId_&&b.setDelegation(qSc(pSc(),this.delegatorId_));return this.grpcClient_.autocomplete(b,
a)};OX.prototype.processResponse=function(a){var b=VSc(this.leanResponseProcessor_,a,this.provenance_),c=new Jt;Oj(a,sSc,2)&&c.setAffinityVersion(W(a,sSc,2).getAffinityVersion());return{data:b,metadata:c}};OX.prototype.close=function(){};var bTc=function(a,b,c,d,e,f){this.leanResponseProcessor_=a;this.grpcClient_=b;a=new wt;acb(a.setEventType(4),7).setIdType(e);this.sourceInfo_=a;this.provenance_=3;this.keys_=f;this.type_=e;this.trackers_=d;this.affinity_=Kj(c.getPeopleApi(),5,0);this.phoneCanonicalizationInference_=c.getPeopleApi().getPhoneCanonicalizationInferenceOrUndefined();this.requestCorpHeaders_=c.runtimeConfig_.requestCorpHeaders_;var h;this.delegatorId_=(h=c.runtimeConfig_.getDelegatorId())!=null?h:""};
bTc.prototype.getMetric=function(){return aTc(this.trackers_,this.sourceInfo_)};
bTc.prototype.send=function(a){var b=this,c=new JX;c.setAffinityType(this.affinity_).setClientInformation(Gbb({requestCorpHeaders:this.requestCorpHeaders_}));HSc(c,this.keys_.map(function(d){return jcb(b.type_,d)}).filter(function(d){return!!d}));this.phoneCanonicalizationInference_!=null&&c.setFormattingOptions((new zX).setPhoneCanonicalizationInference(this.phoneCanonicalizationInference_));this.delegatorId_&&c.setDelegation(qSc(pSc(),this.delegatorId_));return this.grpcClient_.lookup(c,a)};
bTc.prototype.processResponse=function(a){var b=this.leanResponseProcessor_,c=this.provenance_,d=new Map;a=k(nj(a,ISc,1,Wi()));for(var e=a.next();!e.done;e=a.next())if(e=e.value,Nl(e,HX,2,JSc)){var f=USc(b,Al(e,HX,2,JSc),c);switch(e.getId().getIdCase()){case 1:d.set(e.getId().getEmail_legacyNullable(),f);break;case 2:d.set(e.getId().getPhone_legacyNullable(),f);break;case 3:d.set(e.getId().getProfileId_legacyNullable(),f);break;case 4:d.set(Ko(e.getId(),4,At),f);break;case 5:d.set(e.getId().getContactId(),
f)}}return{data:d,metadata:new Jt}};bTc.prototype.close=function(){};var cTc=function(a){this.internalArray_=m(a)};Y(cTc,V);var dTc=new Bw(342338249,cTc);var eTc=function(){};eTc.prototype.write=function(a,b){var c=new cTc;b=X(c,IX,1,b);vt(a,dTc,b)};eTc.prototype.read=function(a){return(a=a.getExtension(dTc))?W(a,IX,1):null};var fTc=function(a,b,c){this.grpcClient_=a;this.sourceInfo_=bcb("");this.trackers_=c;this.affinity_=Kj(b.getPeopleApi(),5,0);var d;this.delegatorId_=(d=b.runtimeConfig_.getDelegatorId())!=null?d:""};fTc.prototype.getMetric=function(){return aTc(this.trackers_,this.sourceInfo_)};
fTc.prototype.send=function(a){var b=new KX;b.setAffinityType(this.affinity_).setClientInformation(Gbb());this.delegatorId_&&b.setDelegation(qSc(pSc(),this.delegatorId_));var c=this.grpcClient_;return hV(c.client_,c.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Warmup",b,a||{},NSc)};fTc.prototype.processResponse=function(){return{data:[],metadata:new Jt}};fTc.prototype.close=function(){};var gTc=function(a){this.internalArray_=m(a)};Y(gTc,V);var hTc=new gTc;var PX=function(a,b,c){this.delegate_=a;this.runtimeConfig_=b;this.offlineResponse_=c};PX.prototype.send=function(a){var b=this;return ve(function(c){return b.runtimeConfig_.isOffline_()?c.return(hTc):c.return(b.delegate_.send(a))})};PX.prototype.getMetric=function(){return this.delegate_.getMetric()};PX.prototype.processResponse=function(a){return a===hTc?this.offlineResponse_:this.delegate_.processResponse(a)};PX.prototype.close=function(a){this.delegate_.close(a)};
var iTc={data:[],metadata:oX(new Jt).setCode(14)},jTc={data:new Map,metadata:oX(new Jt).setCode(14)};oX(new Jt).setCode(14);oX(new Jt).setCode(14);oX(new Jt).setCode(14);oX(new Jt).setCode(14);oX(new Jt).setCode(14);oX(new Jt).setCode(14);var kTc=function(a){this.internalArray_=m(a)};Y(kTc,V);g=kTc.prototype;g.getTimestamp_asLegacyNumberOrString=function(){return Vj(this,1)};g.setTimestamp=function(a){return nk(this,1,a)};g.hasTimestamp=function(){return Uj(this,1)};g.getOwner=function(){return Gh(this,2)};g.setOwner=function(a){return gk(this,2,a)};var lTc=new Bw(342656659,kTc);var QX=function(a,b,c,d,e){this.delegate_=a;this.offlineStorage_=b;this.offlineDataTransformer_=c;this.owner_=d;this.storageTaskDelayMillis_=e;this.offlineMetadata_=null};QX.prototype.store_=function(a,b){var c=new Iyc;vt(c,lTc,(new kTc).setTimestamp(b).setOwner(String(this.owner_)));this.offlineDataTransformer_.write(c,a);this.offlineStorage_.store(c)};
var mTc=function(a){var b,c;return ve(function(d){if(d.nextAddress==1)return we(d,2),xe(d,a.offlineStorage_.fetch(),4);if(d.nextAddress!=2){b=d.yieldResult;if(!b)return d.return(null);a.offlineMetadata_=b.getExtension(lTc);c=a.offlineMetadata_?Vs(a.offlineMetadata_.getOwner()):rt;return a.owner_.equals(c)?d.return(a.offlineDataTransformer_.read(b)):d.return(null)}Be(d);return d.return(null)})};
QX.prototype.send=function(a){var b=this,c,d,e,f,h;return ve(function(l){switch(l.nextAddress){case 1:return we(l,2),xe(l,b.delegate_.send(a),4);case 4:c=l.yieldResult;d=Date.now();if(c!==hTc){l.jumpTo(5);break}return xe(l,mTc(b),6);case 6:return e=l.yieldResult,l.return(e||hTc);case 5:return setTimeout(function(){b.store_(c,d)},b.storageTaskDelayMillis_),l.return(c);case 2:return f=Be(l),xe(l,mTc(b),7);case 7:return(h=l.yieldResult)?l.return(h):l.return(Promise.reject(f))}})};
QX.prototype.getMetric=function(){return this.delegate_.getMetric()};QX.prototype.processResponse=function(a){a=this.delegate_.processResponse(a);if(!a||!this.offlineMetadata_||!this.offlineMetadata_.hasTimestamp())return a;a.metadata.setTimestamp(this.offlineMetadata_.getTimestamp_asLegacyNumberOrString());return a};QX.prototype.close=function(a){this.delegate_.close(a)};var nTc=function(a,b){this.config_=a;this.trackers_=b;b=this.config_;b={apiKey:b.runtimeConfig_.getApiKey()||(b.runtimeConfig_.getPeopleApiEnv()===7?Gh(b.getGapi(),2,""):b.getGapi().getApiKey()),timeoutSec:a.getClient().getRpcTimeoutSec(),authErrorHandler:a.runtimeConfig_.getAuthErrorHandler(),customAuthHeaders:a.runtimeConfig_.customAuthHeaders_};this.dispatcher_=new KNc(b);b=QGa("peoplestack-pa",a.runtimeConfig_.getPeopleApiEnv());this.grpcPeopleStackClient_=new OSc(b);this.offlineDataTransformer_=
new eTc;a=Fj(a.getClient(),22,!1);this.leanResponseProcessor_=new QSc({allowEmptyTargets:a})};nTc.prototype.loadRankedItems=function(){var a=new OX(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,"");a=new PX(a,this.config_.runtimeConfig_,iTc);var b=this.config_,c=this.offlineDataTransformer_,d=b.runtimeConfig_.offlineStorage_;if(d){var e=b.runtimeConfig_.getUserEmail();e&&(e=mt(e),b=Zi(b.getPeopleApi(),14,5E3),a=new QX(a,d,c,e,b))}return MNc(this.dispatcher_,a)};
nTc.prototype.warmUpServer=function(){var a=new fTc(this.grpcPeopleStackClient_,this.config_,this.trackers_);a=new PX(a,this.config_.runtimeConfig_,iTc);return MNc(this.dispatcher_,a)};nTc.prototype.loadAutocompleteItems=function(a){var b=this.leanResponseProcessor_;var c=this.grpcPeopleStackClient_,d=this.config_,e=this.trackers_;a=a.getPrefix();b=new OX(b,c,d,e,a);b=new PX(b,this.config_.runtimeConfig_,iTc);return MNc(this.dispatcher_,b)};
nTc.prototype.loadLookupItems=function(a,b){a=new bTc(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a,b);a=new PX(a,this.config_.runtimeConfig_,jTc);return MNc(this.dispatcher_,a)};var lcb=new Map([[1,1],[2,2]]);var ncb=new Map([[3,3],[1,2],[2,1]]),oTc=new Map([[2,1],[4,2],[3,3],[1,4]]),pTc=function(a){this.delegate_=a};
pTc.prototype.processItem=function(a){if(a.person||a.contactMethod){switch(a.contactMethod.getValueCase()){case 2:var b=a.contactMethod.getEmail();var c=Ct(b.getValue()),d=a.id.normalizedValue_;c=gt(a.id).setValue(c).setCanonicalValue(d);if(nj(b,DX,2,Wi()).length||Oj(b,vSc,3)){d=1;var e=0;if(nj(b,DX,2,Wi()).length){var f=nj(b,DX,2,Wi())[0];e=Ev(f,1)||e;d=oTc.get(f.getStatus())||d}f=Oj(b,vSc,3)&&!!tt(W(b,vSc,3),1);d=Dbb(d,e,f)}else d=null;d&&c.setEmailSecurityInfo(d);Oj(b,EX,4)&&(b=mcb(W(b,EX,4)),
c.setOrgState(b));tt(a.contactMethod,7)&&c.setResultType(2);b=c;break;case 3:c=a.contactMethod.getPhone();b=Ct(c.getCanonicalValue());c=Ct(c.getOriginalValue())||Ct(c.getDisplayValue())||b;b=gt(a.id).setValue(c).setCanonicalValue(b);break;case 4:b=Al(a.contactMethod,Jbb,4,ot);b=qcb(a,b);break;default:b=gt(a.id||rt)}b.setDataSource(a.dataSource||0);a.containerIds&&(b.sourceIds_=a.containerIds||[]);b.setIsMe(!!a.isMe);a.person&&a.person.hasAffinity()&&b.setPersonLoggingId(ya.atob(tna(Dt(a.person.getAffinity(),
1))||""));a.contactMethod.hasDisplayInfo()&&ocb(b,a.contactMethod.getDisplayInfo());Hj(a.contactMethod,10)&&b.setTagList([(new it).setAltText(a.contactMethod.getTypeLabel())]);if(Oj(a.contactMethod,xSc,13)){d=W(a.contactMethod,xSc,13);switch(d.getStatus()){case 1:c=1;break;default:c=0}d=d.hasClientData()?d.getClientData():void 0;b.setReachabilityInfo(new Ebb(c,d))}a.targetExtendedData&&b.setExtendedData(a.targetExtendedData);a.target=b}else a.group?tcb(a,a.group.getDisplayInfo()):a.contactLabel&&
tcb(a,a.contactLabel.getDisplayInfo());this.delegate_.processItem(a);a.contactMethod&&delete a.contactMethod;a.person&&delete a.person;a.group&&delete a.group;a.contactLabel&&delete a.contactLabel};var qTc=function(a,b){this.metrics_=a;this.state_=new kJ(b);this.source=b;this.label_="total"};qTc.prototype.call=function(){this.metrics_.count(this.state_);this.metrics_.start(this.state_,this.label_)};qTc.prototype.result=function(a){this.metrics_.stop(this.state_,this.label_);this.metrics_.status(this.state_,a)};var rTc=function(a,b){this.metrics_=a;this.state_=new kJ(b)};g=rTc.prototype;g.start=function(a){this.metrics_.start(this.state_,a)};g.stop=function(a){this.metrics_.stop(this.state_,a)};g.count=function(){this.metrics_.count(this.state_)};g.latency=function(){this.metrics_.latency(this.state_)};g.error=function(){this.metrics_.error(this.state_)};
g.status=function(a,b,c){b=b===void 0?0:b;c=c===void 0?0:c;if(b){var d=this.state_.source();hk(d,13,b)}c&&(b=this.state_.source(),ek(b,12,c));this.metrics_.status(this.state_,a)};g.logError=function(a,b){this.metrics_.logError(a,b)};var sTc=function(a){this.getSessionState=a};sTc.prototype.attach=function(a,b){var c,d;b=(new Lt).setSessionState((d=b==null?void 0:(c=W(b,Lt,18))==null?void 0:c.getSessionState())!=null?d:this.getSessionState().clone());X(a,Lt,18,b);return a};var tTc=function(){};tTc.prototype.attach=function(a){return a};var uTc=new tTc;var RX=function(a,b){b=b===void 0?uTc:b;this.metrics_=a;this.sessioninfo_=b};RX.prototype.error=function(a,b,c){var d=this.metrics_,e=this.sessioninfo_,f=e.attach,h=new wt;a=h.setEventType(3).setErrorType(a);hk(a,7,b);return new lPc(d,f.call(e,h,c))};RX.prototype.latency=function(a,b){var c=this.metrics_,d=this.sessioninfo_,e=d.attach,f=new wt,h=f.setEventType(2);hk(h,5,a);return new HW(c,e.call(d,f,b))};
RX.prototype.count=function(a){var b=this.metrics_,c=this.sessioninfo_,d=c.attach,e=new wt,f=e.setEventType(1);hk(f,4,a);return new kPc(b,d.call(c,e))};RX.prototype.api=function(a){return new qTc(this.metrics_,this.sessioninfo_.attach(a))};var aTc=function(a,b){return new rTc(a.metrics_,a.sessioninfo_.attach(b))},vTc=function(a,b){return new RX(a.metrics_,b)};var wTc=function(a,b){this.ranker_=new NRc(a.getClient());this.loader_=new nTc(a,b);b=dSc;b=b===void 0?dSc:b;this.targetFactory_=new eSc(a,new pTc(b))};var xTc=function(){this.cacheConfigurators_=[];this.grpcClient_=null};var ucb=function(a){this.delegate_=a};Y(ucb,OP);ucb.prototype.getIsBoosted=function(){return!0};var yTc=function(a){this.keys_=new Set(a)};yTc.prototype.loadOrSkip=function(a){return this.keys_.delete(a)?a:null};yTc.prototype.isDone=function(){return!this.keys_.size};var zTc=function(a){this.keys_=a;this.foundKeys_=new Set;this.delegate_=new yTc(a)};zTc.prototype.loadOrSkip=function(a){return this.delegate_.loadOrSkip(a)?(this.foundKeys_.add(a),!0):!1};zTc.prototype.isDone=function(){return this.delegate_.isDone()};var ATc=function(a){return a.keys_.filter(function(b){return!a.foundKeys_.has(b)})};var BTc=new Ut,CTc=function(a,b,c){this.itemResolver_=a;this.trieFactory_=b;this.indexes_=rX(Zi(c,31,5),zl(c,32,3600)*1E3)};g=CTc.prototype;g.getCacheType=function(){return 2};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d,e,f;return ve(function(h){if(h.nextAddress==1){c=a.getBoostKey();if(!c.cacheKey||b.indexes_.get(c.cacheKey))return h.return(BTc);d=c.ids.map(function(l){if(pkc.includes(Vs(l).getType()))return l;var q=SX(b.itemResolver_,l);return q?String(q.id):l});e=new zTc(d);return xe(h,DTc(b.trieFactory_,e,a.getFormat(),c.primingTimeoutMillis),2)}f=h.yieldResult;b.indexes_.set(c.cacheKey,f);return h.return(BTc)})};
g.search=function(a){var b=a.getBoostKey();if(!b.cacheKey)return[];this.indexes_.has(b.cacheKey)||this.fetch(a);return(this.indexes_.get(b.cacheKey)||qX).search(a.getTerms()).getMatches(a.getCollector()).map(vcb)};g.index=function(){};g.getName=function(){};var ETc=new WRc(60,61,34);var FTc=function(){};FTc.prototype.configure=function(a){var b=a.storage,c=a.trackers,d=a.trieFactory,e=a.prefixCaches;a=a.clientConfig.getClient();Fj(a,30,!1)&&(b=new CTc(b,d,a),c=new tX(b,c,ETc),e.unshift(c))};var GTc=function(){return Date.now()},HTc=function(a,b,c){this.staleMillis_=a*1E3;this.expiredMillis_=b*1E3;this.nowFn_=c;this.timestamp_=0};g=HTc.prototype;g.isStale=function(){return this.timestamp_+this.staleMillis_<=this.nowFn_()};g.isExpired=function(){return this.timestamp_+this.expiredMillis_<=this.nowFn_()};g.getStatus=function(){return this.isExpired()?1:this.isStale()?3:2};g.getTimestamp=function(){return this.timestamp_};g.setTimestamp=function(a){this.timestamp_=a};
g.markAsFresh=function(){this.timestamp_=this.nowFn_()};g.markAsStale=function(){var a=this.nowFn_()-this.staleMillis_;a<this.timestamp_&&(this.timestamp_=a)};var xcb=new Map([[1,1],[2,2],[3,3],[8,6],[6,7],[7,5],[4,4],[9,9]]),wcb=new Map([[1,7],[2,5]]);var ITc=function(a,b){this.delegate_=a;this.extendedData_=b};Y(ITc,OP);ITc.prototype.getExtendedData=function(){return this.extendedData_};var JTc=function(a,b,c){this.group_=a;this.members_=b;this.totalMemberCount_=qkc(this.group_.getId())?this.members_.length:c;this.resultType_=vMc.get(this.group_.getTargetType())||0};g=JTc.prototype;g.getResultType=function(){return this.resultType_};g.getTargetList=function(){return[this.group_]};g.getMemberList=function(){return this.members_};g.getTotalMemberCount=function(){return this.totalMemberCount_};g.getPrimaryTarget=function(){throw Error("vf");};g.getDisplayName=function(){return""};
g.getDisplayValue=function(){return""};g.getDescription=function(){return""};g.getPhotoUrl=function(){return""};g.getIsBoosted=function(){return!1};g.getMatchInfo=function(){return uMc};g.getExtendedData=function(){return null};var zcb=function(a,b){this.delegate_=a;this.loggingToken_=b};Y(zcb,Ayc);zcb.prototype.getLoggingToken=function(){return this.loggingToken_};var KTc=function(a){this.itemResolver_=a};KTc.prototype.create=function(a,b){var c=this,d=Vs(a);a=SX(this.itemResolver_,a);if(!a)return null;if(et(d))return d=(a.memberKeys||[]).map(function(h){return c.create(h,b)}).filter(Boolean),this.createGroup(a,d,b);var e,f=b===2&&((e=a.coalescedKeys)==null?void 0:e.length)>1?a.coalescedKeys.map(function(h){return SX(c.itemResolver_,h)}).filter(Boolean):[a];return LTc(f,d,b)};
var LTc=function(a,b,c){var d=[],e=0,f=null,h=null;a=k(a);for(var l=a.next();!l.done;l=a.next()){l=l.value;var q=l.target,v=q.getId().equals(b);if(!e||v)e=q.getResultType();q=Acb(q,l.provenance,c);v?(h=void 0,f=(h=l.totalMemberCount)!=null?h:null,d.unshift(q),h=l.resultExtendedData):d.push(q)}b=l8a(e,d,f);return h?new ITc(b,h):b};
KTc.prototype.createGroup=function(a,b,c){c=Acb(a.target,a.provenance,c);var d,e=(d=a.totalMemberCount)!=null?d:null;b=new Eq(new JTc(c,b!=null?b:[],e!=null?e:null));return(a=a.resultExtendedData)?new ITc(b,a):b};var Bcb=[1,2,3,4,5,6,9,7,8],MTc=function(a,b){this.targetFactory_=a;this.resultFactory_=new KTc(this);a=b.getCacheStaleSec();var c=b.getCacheExpiredSec();var d=d===void 0?GTc:d;this.expiry_=new HTc(a,c,d);this.affinityVersion_=0;this.ttlStorage_=new Map;this.lruStorage_=rX(Zi(b,6,500),Zi(b,7,43200)*1E3);d=Set;b=bk(b,25,Wi());this.idTypes_=new d(b)};MTc.prototype.load=function(a,b){var c;return(c=this.resultFactory_.create(a,b))!=null?c:null};
var SX=function(a,b){return a.ttlStorage_.get(b)||a.lruStorage_.get(b)||null};g=MTc.prototype;g.getExpiry=function(){return this.expiry_};g.getAffinityVersion=function(){return this.affinityVersion_};g.markAsFresh=function(a){this.affinityVersion_=a.getAffinityVersion();a.hasTimestamp()?this.expiry_.setTimestamp(a.getTimestamp_asLegacyNumberOrString()):this.expiry_.markAsFresh();this.lruStorage_.compact()};g.markAsStale=function(){this.expiry_.markAsStale()};
g.flush=function(){this.ttlStorage_.clear();this.lruStorage_.clear();this.affinityVersion_=0;this.expiry_.timestamp_=0};g.storeItems=function(a,b,c,d){c=c===void 0?!1:c;if(d=d===void 0?"":d){var e=b.findIndex(function(h){return String(h.id)===d});if(e>0){var f=b[e];b.splice(e,1);b.unshift(f)}}c&&b.reverse();b=k(b);for(e=b.next();!e.done;e=b.next())this.store_(a,e.value,c,d)};
g.store_=function(a,b,c,d){if(!this.idTypes_.size||!pkc.includes(b.id.getType())||this.idTypes_.has(b.id.getType())){var e=!1,f=String(b.id),h=(b.containerIds||[]).map(String),l=NTc(this,a,f);OTc(this,a,f,b,c)&&(l(f,b),e=!0);h=k(h);for(var q=h.next();!q.done;q=h.next())q=q.value,OTc(this,a,q,b,c)&&(l(q,b),e=!0);b.isMe&&(h=String(skc),OTc(this,a,h,b,c)&&(l(h,b),e=!0));d&&f!==d&&OTc(this,a,d,b,c)&&(l(d,b),e=!0);e&&!b.target&&this.targetFactory_.processItem(b)}};
var OTc=function(a,b,c,d,e){var f=SX(a,c);if(!f)return!0;b===1&&a.lruStorage_.has(c)&&(b=a.lruStorage_.get(c),a.ttlStorage_.set(c,b),a.lruStorage_.delete(c));return d.provenance===8&&f.provenance!==8?!1:e&&(f.id.equals(d.id)||String(f.id)!==c)?!0:f.id.equals(d.id)?Dcb(d)&&!Dcb(f)||PTc(a,f)<PTc(a,d)||Ccb(d)<Ccb(f)||d.id.getType()===18&&f.id.getType()===18||Ecb(d)>Ecb(f)?!0:!1:String(d.id)===c},PTc=function(a,b){b.target||a.targetFactory_.processItem(b);a=b.target;b=0;if(a.getPhoto())switch(a.getPhoto().getType()){case 3:b|=
2;break;case 2:b|=1}a.getName()&&a.getName().getDisplayName()&&(b|=4);return b},NTc=function(a,b,c){return a.ttlStorage_.has(c)||b===1?function(d,e){return a.ttlStorage_.set(d,e)}:function(d,e){return a.lruStorage_.set(d,e)}};var Fcb=function(a,b){this.delegate_=a;this.displayValue_=b};Y(Fcb,Ayc);Fcb.prototype.getDisplayValue=function(){return this.displayValue_};var Hcb=function(){};Hcb.prototype.createFromLookupId=function(a){if(a.getType()!==1||!ikc(a.getOriginalValue()))return null;a=gt(a).setValue(a.getOriginalValue()).setDataSource(3);return l8a(a.getResultType(),[a],null)};var QTc=function(){};QTc.prototype.createFromLookupId=function(){return null};var Icb=new QTc;var RTc=function(a,b,c,d,e){this.format=b;this.listener=c;this.options=d;this.callbackNumber=0;this.hasErrorCode=!1;this.remainingIds=new Map(a.map(function(f){return[String(f),f]}));this.notNotifiedIds=new Map(a.map(function(f){return[String(f),f]}));this.placeholderFactory=Jcb(e.getClient())};g=RTc.prototype;g.isCancelled=function(){return!1};g.getFormat=function(){return this.format};g.getOptions=function(){return this.options};g.queryScope=function(){return this.options.getQueryScope()};
g.getResultFilter=function(){return this.options.getFilter()};g.isDone=function(){return this.remainingIds.size===0};var SRc=function(a){return Array.from(a.remainingIds.values())};RTc.prototype.hasError=function(){return this.hasErrorCode};
RTc.prototype.notify=function(a,b,c){if(a.size||b.length||this.isDone()||Kcb(c.getCode())){var d=new Map,e=this.getResultFilter();a=k(a);for(var f=a.next();!f.done;f=a.next()){var h=k(f.value);f=h.next().value;h=h.next().value;this.notNotifiedIds.delete(String(f));(h=e?e.filterResult(h):h)&&h.getTargetList().length&&(d.set(f,h),this.remainingIds.delete(String(f)))}a=[];b=k(b);for(f=b.next();!f.done;f=b.next())f=f.value,this.notNotifiedIds.delete(String(f)),this.remainingIds.delete(String(f)),(h=this.placeholderFactory.createFromLookupId(f))&&
e&&(h=e.filterResult(h)),h&&h.getTargetList().length?d.set(f,h):a.push(f);d=Gcb(d,this.options);Kcb(c.getCode())&&(this.hasErrorCode=!0);e=(new GQc).setCallbackNumber(this.callbackNumber).setIsFirstCallback(this.callbackNumber===0).setIsLastCallback(this.isDone()).setCode(c.getCode());e.notFoundIdList_=a;d=new HQc(d,e);this.callbackNumber++;this.listener(d,c)}};var STc=function(a,b,c){this.stages=a;this.indexer=b;this.clientConfig=c};STc.prototype.flush=function(){this.indexer.flush()};
STc.prototype.lookup=function(a,b,c,d){var e=this,f,h,l,q,v,y;return ve(function(E){switch(E.nextAddress){case 1:(f=d.getFilter())==null||f.reset(""),h=new RTc(a,b,c,d,e.clientConfig),l=new Set,h.queryScope()!==1&&h.queryScope()!==2||l.add(2),h.queryScope()===3&&l.add(1),q=k(e.stages),v=q.next();case 2:if(v.done){E.jumpTo(4);break}y=v.value;if(h.isDone()||h.isCancelled()){E.jumpTo(4);break}if(l.has(y.getStageType())){E.jumpTo(3);break}return xe(E,y.lookup(h),3);case 3:v=q.next();E.jumpTo(2);break;
case 4:if(!h.isDone()){if(h.queryScope()===0&&!h.hasError()){var H=e.indexer,O=Array.from(h.notNotifiedIds.values());O=k(O);for(var N=O.next();!N.done;N=O.next())N=String(N.value),H.notFoundIds.set(N,N)}h.notify(new Map,SRc(h),$W((new Ut).setProvenance(10),!1).setCode(0))}e.indexer.compact();return E.return()}})};var TTc=function(a,b){this.storage=a;a=b.getClient();this.notFoundIds=rX(Zi(a,10,500),zl(a,11,600)*1E3)};g=TTc.prototype;g.compact=function(){this.notFoundIds.compact()};g.flush=function(){this.notFoundIds.clear()};g.store=function(a,b,c,d){if(!Fj(c,5))for(oX(c),b=k(b),c=b.next();!c.done;c=b.next()){var e=k(c.value);c=e.next().value;e=e.next().value;c=String(ft(a,String(c)));this.storeItems(e,d,c)}};g.storeItems=function(a,b,c){this.storage.storeItems(2,a,b,c)};
g.load=function(a,b,c){b=this.storage.load(String(a),b);c&&b&&(b=ISa(a).filterResult(b));return b};var UTc={ids:[],cacheKey:"",primingTimeoutMillis:0};var VTc=function(){};VTc.prototype.loadOrSkip=function(){return null};VTc.prototype.resultCount=function(){return 0};VTc.prototype.isDone=function(){return!0};var WTc=new VTc;var XTc=function(){this.prefix_="";this.terms_=[];this.format_=0;this.collector_=WTc;this.boostKey_=UTc;this.listener_=function(){}};g=XTc.prototype;g.getPrefix=function(){return this.prefix_};g.getTerms=function(){return this.terms_};g.getFormat=function(){return this.format_};g.getCollector=function(){return this.collector_};g.getBoostKey=function(){return this.boostKey_};g.getListener=function(){return this.listener_};g.isDone=function(){return!0};g.isCancelled=function(){return!0};
g.isSuggestQuery=function(){return!0};g.isEmailAddress=function(){return!1};g.queryScope=function(){return 0};g.getResultFilter=function(){return null};g.shouldSkipCache=function(){return!1};var YTc=new XTc;var ZTc=function(){this.fetchDone_=Promise.resolve((new Ut).setCode(0))};g=ZTc.prototype;g.getCacheType=function(){return 0};g.flush=function(){};g.fetch=function(){return this.fetchDone_};g.index=function(){};g.search=function(){return[]};g.getName=function(){};var $Tc=new ZTc;var aUc=function(a){a=Array.from(new Set(a));this.primary_=a.find(function(b){return b.getCacheType()===1})||$Tc;this.prefetched_=a.filter(function(b){return b.getCacheType()===2||b.getCacheType()===1});this.lazyLoaded_=a.filter(function(b){return b.getCacheType()===3})};
aUc.prototype.prefetch=function(a){var b=this,c,d,e,f,h;return ve(function(l){if(l.nextAddress==1)return xe(l,b.primary_.fetch(a),2);if(l.nextAddress!=3){c=l.yieldResult;if(c.getCode()!==0)return l.return(c);d=k(b.lazyLoaded_);for(e=d.next();!e.done;e=d.next())f=e.value,f.flush();h=b.prefetched_.filter(function(q){return q!==b.primary_}).map(function(q){q.flush();return q.fetch(a)});return h.length?xe(l,Promise.all(h),3):l.jumpTo(3)}return l.return(c)})};
aUc.prototype.warmUpSession=function(a){var b=this;if(a.queryScope()===1)return Promise.resolve([(new Ut).setProvenance(2).setCode(1)]);var c=this.prefetched_.filter(function(d){return d!==b.primary_});a.queryScope()!==2&&c.push.apply(c,w(this.lazyLoaded_));return Promise.all(c.map(function(d){return d.fetch(a)}))};
var bUc=function(a){var b=[a.primary_].concat(w(a.prefetched_.filter(function(d){return d!==a.primary_})),w(a.lazyLoaded_)).reverse();b=k(b);for(var c=b.next();!c.done;c=b.next())c.value.flush()},cUc=function(a,b){var c=[];a=k(a.prefetched_);for(var d=a.next();!d.done;d=a.next()){d=d.value;if(b.isDone()||b.isCancelled())break;b.shouldSkipCache(d.getName())||c.push.apply(c,w(d.search(b)))}return c},eUc=function(a,b,c){var d,e,f,h,l;return ve(function(q){if(q.nextAddress==1){if(b.queryScope()===2)return q.return();
d=a.lazyLoaded_.filter(function(v){return!b.shouldSkipCache(v.getName())});e=d[d.length-1];f=k(d);h=f.next()}if(q.nextAddress!=3){if(h.done)return q.jumpTo(0);l=h.value;return b.isDone()||b.isCancelled()?q.return():xe(q,dUc(l,b,c,e===l),3)}h=f.next();return q.jumpTo(2)})},dUc=function(a,b,c,d){var e,f;return ve(function(h){if(h.nextAddress==1)return b.queryScope()===1?(e=$W((new Ut).setProvenance(6).setCode(0),!1),h.jumpTo(2)):xe(h,a.fetch(b),3);h.nextAddress!=2&&(e=h.yieldResult);if(b.isCancelled())return h.return();
f=a.search(b);c(f,e,d);Ce(h)})};var fUc=function(a,b,c,d,e){this.clientInfo_=a.getClient();this.trackers_=b;this.storage_=e;this.lookupCache_=d;this.prefixSearch_=c;this.sessionWarming_=this.cacheWarming_=null};g=fUc.prototype;g.getLastUpdatedTimestamp=function(){return this.storage_.getExpiry().getTimestamp()};g.getAffinityVersion=function(){return this.storage_.getAffinityVersion()};
g.warmUpCache=function(a){gUc(this,YTc);return this.cacheWarming_&&(a||this.storage_.getExpiry().isExpired())?this.cacheWarming_:Promise.resolve(cX(bX((new aX).setSource($W(new Ut,!1).setProvenance(1).setCode(0)),TX(this)),TX(this)))};g.flushCache=function(a){switch(a){case 3:return hUc(this),this.warmUpCache(!0);case 2:return this.storage_.markAsStale(),this.warmUpCache(!0);case 1:return this.storage_.markAsStale(),Promise.resolve(new aX);default:return this.warmUpCache(!0)}};
g.warmUpSession=function(a){var b=this,c,d,e,f,h;return ve(function(l){switch(l.nextAddress){case 1:c=bX(new aX,TX(b));gUc(b,a);if(!b.cacheWarming_){l.jumpTo(2);break}return xe(l,b.cacheWarming_,2);case 2:return we(l,4,5),b.sessionWarming_||(b.sessionWarming_=b.prefixSearch_.warmUpSession(a)),xe(l,b.sessionWarming_,7);case 7:return d=l.yieldResult,e=d.find(function(q){return q.getProvenance()===2})||(new Ut).setProvenance(2).setCode(0),l.return(cX(c.setSource(e),TX(b)));case 5:ye(l);b.sessionWarming_=
null;ze(l,0);break;case 4:return f=Be(l),h=f instanceof Ut?f:(new Ut).setProvenance(2).setCode(13),l.return(Promise.reject(cX(c.setSource(h),TX(b))))}})};
g.search=function(a){var b=this,c,d,e,f,h;return ve(function(l){switch(l.nextAddress){case 1:iUc(b);we(l,2);d=TX(b);gUc(b,a);if(!a.isSuggestQuery()){l.jumpTo(4);break}if(!b.cacheWarming_){l.jumpTo(5);break}e=b.storage_.getExpiry().isExpired();if(!e){l.jumpTo(5);break}return xe(l,b.cacheWarming_,7);case 7:c=l.yieldResult;case 5:if(!b.sessionWarming_){l.jumpTo(4);break}return xe(l,b.sessionWarming_,4);case 4:return c||(c=cX(bX((new aX).setSource($W(new Ut,!1).setProvenance(1).setCode(0)),d),TX(b)),
gUc(b,a)),xe(l,jUc(b,a,c),10);case 10:jv(l,0);break;case 2:f=Be(l);if(a.isCancelled())return l.return();f instanceof aX?c=f:(h=f instanceof Ut?f:(new Ut).setCode(13),cX(c.setSource(h),TX(b)));a.getListener()(new eX([],(new dX).setQuery(a.getPrefix()).setIsLastCallback(!0).setCacheState(c).setCode(c.getSource().getCode())));Ce(l)}})};
var jUc=function(a,b,c){var d,e,f,h;return ve(function(l){if(l.nextAddress==1){if(b.isCancelled())return l.return();d=cUc(a.prefixSearch_,b);e=(new dX).setIsLastCallback(b.isSuggestQuery()).setQuery(b.getPrefix()).setCode(c.getSource().getCode()).setCacheState(c);b.getListener()(new eX(d,e));if(e.getIsLastCallback())return l.return();f=!1;return xe(l,eUc(a.prefixSearch_,b,function(q,v,y){v=(new dX).setIsLastCallback(y).setQuery(b.getPrefix()).setCode(v.getCode()).setCacheState(cX(bX((new aX).setSource(v),
Qt(c,2)),TX(a)));b.getListener()(new eX(q,v));v.getIsLastCallback()&&(f=!0)}),2)}f||b.isCancelled()||(h=(new dX).setIsLastCallback(!0).setQuery(b.getPrefix()).setCode(0).setCacheState(cX(bX((new aX).setSource((new Ut).setProvenance(10).setCode(0)),Qt(c,2)),TX(a))),b.getListener()(new eX([],h)));Ce(l)})};
fUc.prototype.lookup=function(a,b,c){var d=this;iUc(this);gUc(this,YTc);var e=bX(new aX,TX(this));this.lookupCache_.lookup(a,Kj(this.clientInfo_,17,1),function(f,h){e.setSource(h);cX(e,TX(d));f.getMetadata().setCacheState(e);b(f)},c)};
var gUc=function(a,b){if(a.storage_.getExpiry().isStale()&&(a.storage_.getExpiry().isExpired()&&a.storage_.getExpiry().getTimestamp()&&hUc(a),!a.cacheWarming_)){var c=TX(a);a.cacheWarming_=new Promise(function(d,e){var f,h,l,q;return ve(function(v){switch(v.nextAddress){case 1:return f=bX(new aX,c),we(v,2,3),xe(v,a.prefixSearch_.prefetch(b),5);case 5:h=v.yieldResult,cX(f,TX(a)).setSource(h),d(f);case 3:ye(v);a.cacheWarming_=null;ze(v,0);break;case 2:l=Be(v),q=l instanceof Ut?l:(new Ut).setCode(13),
cX(f,TX(a)).setSource(q),e(f),v.jumpTo(3)}})})}},TX=function(a){return a.storage_.getExpiry().getStatus()},hUc=function(a){bUc(a.prefixSearch_);a.lookupCache_.flush();a.storage_.flush()},iUc=function(a){var b=TX(a)===1?1:2;a.trackers_.count(b).increment()};var kUc=function(a){this.itemResolver_=a},lUc=function(a,b,c){c=c===void 0?[]:c;var d=b.target,e=d.getName();e&&(c.push(e.getDisplayName()),c.push(e.getGivenName()),c.push(e.getFamilyName()));if(e=d.getDisplayValue())switch(d.getTargetType()){case 2:case 7:var f=c.push,h=f.apply,l=e.split(GRc).filter(Boolean),q=l.length-1;if(q>0){var v=l.join(".");l.push(l.join("-"));for(l.push(v);q>0;q--)l[q-1]+=l[q]}l.push(e);l.push(e.replace(obb,""));e[0]==="+"&&l.push("+"+l[0]);h.call(f,c,w(l));break;default:c.push(e)}if(!c.length&&
b.memberKeys&&b.memberKeys.length&&d.getTargetType()!==10)for(b=k(b.memberKeys),d=b.next();!d.done;d=b.next())(d=SX(a.itemResolver_,d.value))&&lUc(a,d,c);return c};var mUc=new bt,nUc=function(a,b,c){this.itemResolver_=a;this.lookupCache_=b;this.trackers_=c;this.indexer_=new kUc(a);this.trieRoots_=new Map},DTc=function(a,b,c,d){var e=(a.trieRoots_.get(c)||qX).cloneNode(b);if(b.isDone())return a.trackers_.count(120).increment(),Promise.resolve(e);var f=a.trackers_.latency(95);f.start();var h=new Promise(function(l){var q=ATc(b).map(Vs);a.lookupCache_.lookup(q,c,function(v){var y=Array.from(v.getResults().keys(),String);y=oUc(a,y);Array.prototype.push.apply(e.items_,
y);IRc(e);v.getMetadata().getIsLastCallback()&&(f.stop(),l(e))},mUc)});return C9a(h,e,d)},QRc=function(a,b){a=oUc(a,b);return new pX(a)},oUc=function(a,b){var c=[];b=k(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=SX(a.itemResolver_,d);e&&(e=lUc(a.indexer_,e),c.push(new HRc(d,e)))}return c};var pUc=function(a,b){this.target_=a;this.displayName_=b;this.similarTargets_=[]};pUc.prototype.getSimilarIds=function(){return this.similarTargets_.map(function(a){return a.getId()})};
pUc.prototype.getDisambiguationLabel=function(){var a="";if(this.similarTargets_.length){var b=Lcb(this.target_.getDisplayValue());a=this.similarTargets_.some(function(d){return Lcb(d.getDisplayValue())===b});var c=this.similarTargets_.some(function(d){return Lcb(d.getDisplayValue())!==b});a=a&&c?this.target_.getDisplayValue():c?b:Mcb(this.target_.getDisplayValue())}return a};
pUc.prototype.filterResult=function(a){var b=this,c=dt(this.target_.getDisplayValue());this.similarTargets_.push.apply(this.similarTargets_,w(a.getTargetList().filter(function(d){return d.getTargetType()===1&&dt(d.getDisplayValue())!==c&&d.getName()&&dt(d.getName().getDisplayName())===b.displayName_})));return null};pUc.prototype.reset=function(){this.similarTargets_=[]};var Ncb=/\S+@\S+\.\S+/,Ocb=/<|>|\(|\)/g;var qUc=function(){this.queryId_=0};var rUc=function(a,b){var c=new qUc;this.cache_=a;this.queryFactory_=b;this.querySession_=c};
rUc.prototype.disambiguate=function(a,b){var c=this,d=a.getName()&&a.getName().getDisplayName()||"",e=b.getDisplayNameWithOverrideApplied()===null?d:b.getDisplayNameWithOverrideApplied()||"";return!e||a.getTargetType()!==1||e.includes(a.getDisplayValue())?Promise.resolve(new FQc("",(new EQc).setCode(0).setCacheState((new aX).setSource($W(new Ut,!1).setProvenance(8).setCode(0))))):b.getTargetCount()>25||Pcb(e,a.getDisplayValue())?Promise.resolve(new FQc(a.getDisplayValue(),(new EQc).setCode(0).setCacheState((new aX).setSource($W(new Ut,
!1).setProvenance(8).setCode(0))))):new Promise(function(f){var h=new pUc(a,dt(e)),l=sUc(c.queryFactory_,e,c.querySession_,(new Ls).setFilter(h).setQueryScope(b.getQueryScope()),function(q){if(q.getMetadata().getIsLastCallback()){var v=h.getDisambiguationLabel(),y=new EQc,E=h.getSimilarIds();y.similarIds_=E;f(new FQc(v,y.setCode(q.getMetadata().getCode()).setCacheState(q.getMetadata().getCacheState()||new aX)))}});c.cache_.search(l)})};var tUc=function(a){this.delegate=a};g=tUc.prototype;g.getLastUpdatedTimestamp=function(){return this.delegate.getLastUpdatedTimestamp()};g.getAffinityVersion=function(){return this.delegate.getAffinityVersion()};g.warmUpCache=function(a){return this.delegate.warmUpCache(a)};g.flushCache=function(a){return this.delegate.flushCache(a)};g.warmUpSession=function(a){var b=this;return ve(function(c){return c.return(b.delegate.warmUpSession(a))})};g.search=function(a){var b=this;return ve(function(c){return c.return(b.delegate.search(a))})};
g.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};var uUc=function(){this.delegate=Dyc};uUc.prototype.filterResult=function(a){return this.delegate.filterResult(a)};uUc.prototype.reset=function(a){this.delegate.reset(a)};var vUc=function(a,b){a.delegate=b!=null?b:Dyc};var wUc=function(a){this.delegate=a};g=wUc.prototype;g.getPrefix=function(){return this.delegate.getPrefix()};g.getTerms=function(){return this.delegate.getTerms()};g.getFormat=function(){return this.delegate.getFormat()};g.getCollector=function(){return this.delegate.getCollector()};g.getBoostKey=function(){return this.delegate.getBoostKey()};g.getListener=function(){return this.delegate.getListener()};g.isDone=function(){return this.delegate.isDone()};g.isCancelled=function(){return this.delegate.isCancelled()};
g.isSuggestQuery=function(){return this.delegate.isSuggestQuery()};g.isEmailAddress=function(){return this.delegate.isEmailAddress()};g.queryScope=function(){return this.delegate.queryScope()};g.getResultFilter=function(){return this.delegate.getResultFilter()};g.shouldSkipCache=function(a){return this.delegate.shouldSkipCache(a)};var xUc=function(a,b){this.delegate_=a;this.limit_=b;this.count_=0};xUc.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);if(!a)return null;this.count_++;return a};xUc.prototype.resultCount=function(){return this.count_};xUc.prototype.isDone=function(){return this.count_>=this.limit_||this.delegate_.isDone()};var yUc=function(a,b,c,d){this.delegate=a;var e=this;this.isLastSlot=d;d=a.getCollector();c.limit>0&&(d=new xUc(d,c.limit));this.collector=d;this.listener=function(h){var l=h.getMetadata();l.getIsLastCallback()&&l.setIsLastCallback(e.isLastSlot);e.delegate.getListener()(h)};d=[];c.filter&&(d.push(c.filter),c.filter.reset(a.getPrefix()));b&&d.push(b);this.resultFilter=d.length?KSa.apply(null,w(d)):null;var f;this.scope=(f=c.scope)!=null?f:a.queryScope()};Y(yUc,wUc);g=yUc.prototype;g.getCollector=function(){return this.collector};
g.getListener=function(){return this.listener};g.isDone=function(){return this.collector.isDone()};g.getResultFilter=function(){return this.resultFilter};g.queryScope=function(){return this.scope};var zUc=function(a,b,c,d){this.delegate=a;this.slots=b;this.filterInterceptor=c;this.originalFilter=d};Y(zUc,tUc);
zUc.prototype.search=function(a){var b=this,c,d,e,f,h,l;return ve(function(q){switch(q.nextAddress){case 1:c=new Set,a.isSuggestQuery()?c.add(2):c.add(1),a.isEmailAddress()||c.add(3),d=b.slots.filter(function(v){return!c.has(v.visibility)}),e=d.map(function(v,y){return new yUc(a,b.originalFilter,v,y===d.length-1)}),f=k(e),h=f.next();case 2:if(h.done){q.jumpTo(4);break}l=h.value;if(a.isCancelled()||a.isDone()){q.jumpTo(4);break}vUc(b.filterInterceptor,l.getResultFilter());return xe(q,b.delegate.search(l),
3);case 3:h=f.next();q.jumpTo(2);break;case 4:return q.return()}})};var AUc=function(a,b,c){this.delegate=a;var d=this;this.query_=b;this.terms_=pbb([b]);this.id_=mt(b);this.listener_=function(e){var f=e.getResults().map(function(h){if(d.id_.equals(h.getPrimaryTarget().getId())&&h.getDisplayName()!==c){var l=(new Cbb).setDisplayName(c),q=h.getPrimaryTarget();h=FSa(h,new Byc(q,l))}return h});e=new eX(f,e.getMetadata());a.getListener()(e)}};Y(AUc,wUc);AUc.prototype.getPrefix=function(){return this.query_};AUc.prototype.getTerms=function(){return this.terms_};
AUc.prototype.getListener=function(){return this.listener_};var BUc=function(a,b,c){this.cache_=a;this.queryFactory_=b;this.querySession_=new qUc;this.clientInfo_=c};g=BUc.prototype;g.warmUpSession=function(a){a=sUc(this.queryFactory_,"",this.querySession_,a,function(){});return this.cache_.warmUpSession(a)};g.suggest=function(a,b){a=sUc(this.queryFactory_,"",this.querySession_,b,a);this.cache_.search(a)};
g.search=function(a,b,c){a=sUc(this.queryFactory_,a,this.querySession_,c,b);Fj(this.clientInfo_,28,!1)&&(b=a.getPrefix(),b.includes("<")&&(c=Qs(b),c.isValid()||(c=Qs(b+">")),a=c.isValid()&&c.getName()?new AUc(a,c.getAddress(),c.getName()):a));this.cache_.search(a)};g.cancel=function(){++this.querySession_.queryId_};g.getLastUpdatedTimestamp=function(){return this.cache_.getLastUpdatedTimestamp()};g.getAffinityVersion=function(){return this.cache_.getAffinityVersion()};
g.getReporter=function(){throw Error("Ef");};g.getSessionState=function(){throw Error("Ef");};g.getHide=function(){throw Error("Ef");};var CUc=function(a,b,c){var d=this;this.cache_=a;this.queryFactory_=b;this.clientInfo_=c;this.getSessionCache_=Fj(c,34,!1)?function(e){var f=d.cache_,h=e.slots_;if(h.length){var l=e.getFilter(),q=new uUc;e.setFilter(q);e=new zUc(f,h,q,l)}else e=f;return e}:function(){return d.cache_}};g=CUc.prototype;g.warmUpCache=function(){return this.cache_.warmUpCache(!1)};g.flushCache=function(a){this.cache_.flushCache(a)};g.lookup=function(a,b,c){this.cache_.lookup(a,b,c)};
g.disambiguate=function(a,b){return(new rUc(this.cache_,this.queryFactory_)).disambiguate(a,b)};g.beginSession=function(a){a=this.getSessionCache_(a);return new BUc(a,this.queryFactory_,this.clientInfo_)};var DUc=function(){};g=DUc.prototype;g.getCacheType=function(){return 3};g.flush=function(){};g.fetch=function(){return ve(function(a){return a.return($W(new Ut,!1).setProvenance(12).setCode(0))})};g.index=function(){};g.search=function(a){return a.isEmailAddress()?(a=a.getCollector().loadOrSkip(String(mt(a.getPrefix()))))?[a]:[]:[]};g.getName=function(){};var EUc=function(){};EUc.prototype.configure=function(a){var b=a.prefixCaches;Fj(a.clientConfig.getClient(),21,!1)&&b.push(new DUc)};var FUc=function(a,b,c,d,e,f,h,l){this.delegate_=a;this.prefix_=b;this.terms_=c;this.collector_=d;this.boostKey_=e;this.filter_=h;this.listener_=Qcb(this,f);this.isEmailAddress_=null;this.selectedCustomProviderNames_=l?new Set(l):null};g=FUc.prototype;g.getPrefix=function(){return this.prefix_};g.getTerms=function(){return this.terms_};g.getFormat=function(){return this.delegate_.getFormat()};g.getCollector=function(){return this.collector_};g.getBoostKey=function(){return this.boostKey_};
g.getListener=function(){return this.listener_};g.isDone=function(){return this.collector_.isDone()};g.isCancelled=function(){return this.delegate_.isCancelled()};g.isSuggestQuery=function(){return!this.prefix_};g.isEmailAddress=function(){this.isEmailAddress_===null&&(this.isEmailAddress_=ikc(this.prefix_));return this.isEmailAddress_};g.queryScope=function(){return this.delegate_.queryScope()};g.getResultFilter=function(){return this.filter_};
g.shouldSkipCache=function(a){return!(!this.selectedCustomProviderNames_||!a||this.selectedCustomProviderNames_.has(a))};var GUc=function(a,b,c){this.format_=a;this.querySession_=b;this.queryScope_=c;this.id_=++this.querySession_.queryId_};GUc.prototype.getFormat=function(){return this.format_};GUc.prototype.isCancelled=function(){return this.querySession_.queryId_!==this.id_};GUc.prototype.queryScope=function(){return this.queryScope_};var UX=function(){this.foundKeys_=new Set};Y(UX,Cyc);UX.prototype.shouldRemove=function(a){return this.foundKeys_.has(String(a.getId()))};UX.prototype.has=function(a){return this.foundKeys_.has(a)};UX.prototype.add=function(a){this.foundKeys_.add(a)};UX.prototype.reset=function(){this.foundKeys_.clear()};var HUc=function(a){this.delegate_=a;this.filter_=new UX};HUc.prototype.loadOrSkip=function(a){if(this.filter_.has(a))return null;a=this.delegate_.loadOrSkip(a);if(!a)return null;a=this.filter_.filterResult(a);if(!a)return null;for(var b=k(a.getTargetList()),c=b.next();!c.done;c=b.next())this.filter_.add(String(c.value.getId()));return a};HUc.prototype.resultCount=function(){return this.delegate_.resultCount()};HUc.prototype.isDone=function(){return this.delegate_.isDone()};var IUc=function(a,b,c){this.delegate_=a;this.filter_=b;this.filter_.reset(c)};IUc.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);return a?(a=this.filter_.filterResult(a))&&a.getTargetList().length?a:null:null};IUc.prototype.resultCount=function(){return this.delegate_.resultCount()};IUc.prototype.isDone=function(){return this.delegate_.isDone()};var JUc=function(a,b){this.storage_=a;this.format_=b};JUc.prototype.loadOrSkip=function(a){return this.storage_.load(a,this.format_)||null};JUc.prototype.resultCount=function(){return 0};JUc.prototype.isDone=function(){return!1};var KUc=[198,230,306,307,338,339],LUc=function(a){this.matchers_=a.map(function(b){return new RegExp("(?:^|[^a-z0-9@\u00c0-\u02ff\u0370-\u1aaf\u1b00-\u1fff\u2070-\u218f\u2460-\u24ff\u2c00-\u2dff\u2e80-\u2fef\u3040-\u4dbf\u4e00-\ud7ff\uf900-\ufdff\ufe70-\uffef]+|\\b)"+cq(b),"g")})},Rcb=function(a,b){var c=[];if(!b||!a.matchers_.length)return c;var d=dt(b),e=d.indexOf("@"),f=e<0?-1:d.indexOf(".",e);a=k(a.matchers_);for(var h=a.next();!h.done;h=a.next()){h=h.value;h.lastIndex=0;for(var l=h.exec(d);l;l=
h.exec(d)){l=l.index;if((e>0||e===0&&f>e)&&l>e)break;c.push([l,h.lastIndex])}}c.sort(function(q,v){return q[0]-v[0]});for(e=c.length-1;e>0;e--)f=c[e-1],a=c[e],f[1]>=a[0]&&(f[1]=a[1],c.splice(e,1));if(c.length&&d.length!==b.length){d=[];e=[];for(f=0;f<b.length;f++)a=b.codePointAt(f),a>65535||a>=768&&a<=879?(d.push(f),f++):KUc.includes(a)&&e.push(f);b=k(c);for(f=b.next();!f.done;f=b.next()){f=f.value;a=k(d);for(h=a.next();!h.done;h=a.next())h=h.value,h<f[0]&&f[0]++,h<f[1]&&f[1]++;a=k(e);for(h=a.next();!h.done;h=
a.next())h=h.value,h<f[0]&&f[0]--,h<f[1]&&f[1]--}}return c};var It=function(a,b){this.start_=a;this.end_=b};It.prototype.getStart=function(){return this.start_};It.prototype.getEnd=function(){return this.end_};var Scb=function(a,b,c){this.displayNameMatches_=a;this.displayValueMatches_=b;this.givenNameMatches_=c};Scb.prototype.getDisplayNameMatches=function(){return this.displayNameMatches_};Scb.prototype.getDisplayValueMatches=function(){return this.displayValueMatches_};Scb.prototype.getGivenNameMatches=function(){return this.givenNameMatches_};var MUc=function(a,b){this.delegate_=a;this.matcher_=b;this.memberList_=a.getMemberList().map(function(c){return new MUc(c,b)});this.matchInfo_=null};Y(MUc,OP);MUc.prototype.getMemberList=function(){return this.memberList_};MUc.prototype.getMatchInfo=function(){if(!this.matchInfo_){var a,b=((a=this.getDelegate().getPrimaryTarget().getName())==null?void 0:a.getGivenName())||"";this.matchInfo_=Tcb(this.matcher_,this.getDelegate().getDisplayName(),this.getDelegate().getDisplayValue(),b)}return this.matchInfo_};var NUc=function(a,b){this.delegate_=a;this.matcher_=new LUc(b)};NUc.prototype.loadOrSkip=function(a){return(a=this.delegate_.loadOrSkip(a))?new MUc(a,this.matcher_):null};NUc.prototype.resultCount=function(){return this.delegate_.resultCount()};NUc.prototype.isDone=function(){return this.delegate_.isDone()};var OUc=function(a){var b=new Hcb;this.delegate=a;this.placeholderFactory=b};OUc.prototype.loadOrSkip=function(a){var b;return(b=this.delegate.loadOrSkip(a))!=null?b:this.placeholderFactory.createFromLookupId(Vs(a))};OUc.prototype.resultCount=function(){return this.delegate.resultCount()};OUc.prototype.isDone=function(){return this.delegate.isDone()};var PUc=/\s+/g,QUc=function(a,b){this.clientInfo_=a;this.storage_=b},sUc=function(a,b,c,d,e){var f=pbb([b]);b=(b||"").replace(PUc," ").trim();var h=!f.length;var l=a.clientInfo_;l=h?d.getSuggestFormat()||l.getSuggestFormat():d.getSearchFormat()||l.getSearchFormat();var q=a.clientInfo_;h=h?d.getSuggestMaxResults()||q.getSuggestMaxResults():d.getSearchMaxResults()||q.getSearchMaxResults();var v=d.boostIds_;q=d.primingTimeoutMillis_;if(v.length){v=v.map(String);var y=Sbb(v)+":"+v.length;q={ids:v,cacheKey:y,
primingTimeoutMillis:q}}else q=UTc;v=d.getFilter();y=b;var E=new JUc(a.storage_,l);Fj(a.clientInfo_,21,!1)&&ikc(y)&&(E=new OUc(E));v&&(E=new IUc(E,v,y));E=new HUc(E);E=new xUc(E,h);a=f.length?new NUc(E,f):E;h=d.getQueryScope();c=new GUc(l,c,h);return new FUc(c,b,f,a,q,e,v,d.selectedCustomProviderNames_)};var RUc=function(a){this.fetcher=a};RUc.prototype.getStageType=function(){return 2};RUc.prototype.lookup=function(a){var b=this,c,d,e,f,h,l,q,v,y;return ve(function(E){switch(E.nextAddress){case 1:c=Vcb(SRc(a)),d=k(c),e=d.next();case 2:if(e.done){E.jumpTo(4);break}f=e.value;h=k(f);l=h.next().value;q=h.next().value;v=l;y=q;if(!v){E.jumpTo(3);break}return xe(E,b.fetcher.fetch(y,v,a.getFormat(),function(H,O){a.notify(H,[],O)},a.getOptions()),3);case 3:e=d.next();E.jumpTo(2);break;case 4:return E.return()}})};var SUc=function(a,b){this.delegate=a;this.maxLookupChunkSize=mSc(b)};SUc.prototype.fetch=function(a,b,c,d,e){var f=this,h,l,q;return ve(function(v){switch(v.nextAddress){case 1:var y=f.maxLookupChunkSize;if(a.length)if(a.length<=y)y=[a];else{for(var E=[],H=0;H<a.length;H+=y){var O=a.slice(H,H+y);O.length&&E.push(O)}y=E}else y=[];h=k(y);l=h.next();case 2:if(l.done){v.jumpTo(4);break}q=l.value;return xe(v,f.delegate.fetch(q,b,c,d,e),3);case 3:l=h.next();v.jumpTo(2);break;case 4:return v.return()}})};var TUc=function(a){this.qos=a};TUc.prototype.getIndex=function(){return String(this.qos)};var UUc=new TUc(1),VUc=new TUc(2);var WUc=function(a,b,c){this.trackers=a;this.loader=b;this.indexer=c};
WUc.prototype.fetch=function(a,b,c,d,e){var f=this,h,l,q,v,y,E,H,O,N,T,da;return ve(function(ja){switch(ja.nextAddress){case 1:return h=b===3?4:3,l=$W((new Ut).setProvenance(h),!0).setCode(0),we(ja,2),xe(ja,f.loader.loadLookupItems(b,a.map(function(na){return na.getOriginalValue()}),VUc),4);case 4:q=ja.yieldResult;q.metadata.getCode()&&l.setCode(q.metadata.getCode());v=e.getQueryScope()===3;try{f.indexer.store(b,q.data,q.metadata,v)}catch(na){f.trackers.error(21,10).report(),l.setCode(13)}jv(ja,3);
break;case 2:y=Be(ja),E=Number(y),l.setCode(isFinite(E)&&E?E:13);case 3:H=new Map;O=k(a);for(N=O.next();!N.done;N=O.next())T=N.value,(da=f.indexer.load(T,c,e.getUseOriginalDisplayValue()))&&H.set(T,da);d(H,l);return ja.return()}})};var XUc=function(a){this.indexer=a};XUc.prototype.getStageType=function(){return 1};XUc.prototype.lookup=function(a){var b=this,c,d,e,f,h,l;return ve(function(q){c=new Map;d=[];e=k(SRc(a));for(f=e.next();!f.done;f=e.next())if(h=f.value,l=b.indexer.load(h,a.getFormat(),a.getOptions().getUseOriginalDisplayValue()))c.set(h,l);else{var v=b.indexer;(tkc(h)?v.notFoundIds.get(String(h)):1)&&d.push(h)}a.notify(c,d,$W((new Ut).setProvenance(6),!1).setCode(0));return q.return()})};var YUc=RegExp("^[^a-z0-9@\u00c0-\u02ff\u0370-\u1aaf\u1b00-\u1fff\u2070-\u218f\u2460-\u24ff\u2c00-\u2dff\u2e80-\u2fef\u3040-\u4dbf\u4e00-\ud7ff\uf900-\ufdff\ufe70-\uffef]+$","i"),ZUc=function(a,b,c,d,e){this.loader_=a;this.ranker_=b;this.trieFactory_=c;this.storage_=d;this.indexes_=rX(Zi(e,8,250),zl(e,9,3600)*1E3);this.notFound_=rX(Zi(e,10,500),zl(e,11,600)*1E3)};g=ZUc.prototype;g.getCacheType=function(){return 3};g.flush=function(){this.indexes_.clear();this.notFound_.clear()};
g.fetch=function(a){var b=this,c,d,e;return ve(function(f){switch(f.nextAddress){case 1:c=$W(new Ut,!0).setProvenance(2).setCode(0);if(a.isSuggestQuery())return b.loader_.warmUpServer(UUc).catch(function(){}),f.return(c);if(b.canSkipFetch_(a))return f.return($W(c,!1));we(f,2);return xe(f,b.loader_.loadAutocompleteItems(a,VUc),4);case 4:d=f.yieldResult;jv(f,3);break;case 2:return e=Be(f),f.return(c.setCode(isFinite(e)?e:13));case 3:try{b.index(a,d.data,d.metadata)}catch(h){return f.return(c.setCode(13))}return f.return(c)}})};
g.search=function(a){return a.isSuggestQuery()||!this.indexes_.has(a.getPrefix())?[]:this.indexes_.get(a.getPrefix()).search([]).getMatches(a.getCollector())};g.index=function(a,b,c){if(!Fj(c,5))if(oX(c),b.length){c=ORc(this.ranker_,b,1);var d=a.queryScope()===3;this.storage_.storeItems(1,b,d);b=QRc(this.trieFactory_,c);this.indexes_.set(a.getPrefix(),b)}else this.notFound_.set(a.getPrefix(),a.getPrefix())};
g.canSkipFetch_=function(a){if(a.queryScope()===3)return!1;var b=a.getPrefix();if(this.indexes_.has(b)||this.notFound_.has(b))return!0;if(a.isEmailAddress())return!1;for(a=b.length-1;a>0;a--){var c=b.substr(0,a);if(c.match(YUc))break;if(this.notFound_.has(c))return!0}return!1};g.getName=function(){};var $Uc=function(a,b,c,d,e){this.loader_=a;this.ranker_=b;this.trieFactory_=c;this.storage_=d;this.coalescedSortOrder_=e;this.indexes_=new Map;this.trieFactory_.trieRoots_=this.indexes_};g=$Uc.prototype;g.getCacheType=function(){return 1};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d,e,f;return ve(function(h){switch(h.nextAddress){case 1:return c=$W(new Ut,!0).setProvenance(1).setCode(0),d=b.storage_.getExpiry().isExpired()?VUc:UUc,we(h,2),xe(h,b.loader_.loadRankedItems(d),4);case 4:e=h.yieldResult;jv(h,3);break;case 2:return f=Be(h),h.return(c.setCode(isFinite(f)?f:13));case 3:try{b.index(a,e.data,e.metadata)}catch(l){c.setCode(13)}return h.return(c)}})};
g.search=function(a){return a.isSuggestQuery()||a.getTerms().length?(this.indexes_.get(a.getFormat())||qX).search(a.getTerms()).getMatches(a.getCollector()):[]};g.index=function(a,b,c){if(!Fj(c,5)){oX(c);a=this.coalescedSortOrder_!==1?ORc(this.ranker_,b,this.coalescedSortOrder_):null;var d=ORc(this.ranker_,b,1);this.storage_.flush();this.storage_.storeItems(1,b);this.storage_.markAsFresh(c);b=QRc(this.trieFactory_,d);c=a?QRc(this.trieFactory_,a):b;this.indexes_.set(1,b);this.indexes_.set(2,c)}};
g.getName=function(){};var aVc=new WRc(27,32,33),bVc=new WRc(24,23,20);var cVc=function(){};cVc.prototype.configure=function(a){var b=a.trackers,c=a.storage,d=a.indexer,e=a.loader,f=a.trieFactory,h=a.prefixCaches,l=a.lookupStages,q=a.loaderFactory.ranker_,v=a.clientConfig.getClient();if(v.getCacheSize()>0){var y=Kj(v,19,1);y=new $Uc(e,q,f,c,y);y=new tX(y,b,bVc);h.push(y);l.push(new XUc(d))}v.getSearchMaxResults()>0&&(c=new ZUc(e,q,f,c,v),b=new tX(c,b,aVc),h.push(b));h=new WUc(a.trackers,a.loader,a.indexer);h=new SUc(h,a.clientConfig);l.push(new RUc(h))};var dVc=function(a){this.delegate=a};g=dVc.prototype;g.warmUpSession=function(a){return this.delegate.warmUpSession(a)};g.suggest=function(a,b){this.delegate.suggest(a,b)};g.search=function(a,b,c){this.delegate.search(a,b,c)};g.cancel=function(){this.delegate.cancel()};g.getLastUpdatedTimestamp=function(){return this.delegate.getLastUpdatedTimestamp()};g.getAffinityVersion=function(){return this.delegate.getAffinityVersion()};g.getReporter=function(a){return this.delegate.getReporter(a)};
g.getSessionState=function(){return this.delegate.getSessionState()};g.getHide=function(){return this.delegate.getHide()};var eVc=function(a){this.delegate=a};g=eVc.prototype;g.warmUpCache=function(){return this.delegate.warmUpCache()};g.flushCache=function(a){this.delegate.flushCache(a)};g.disambiguate=function(a,b){return this.delegate.disambiguate(a,b)};g.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};g.beginSession=function(a){return this.delegate.beginSession(a)};var fVc=function(a,b,c){this.idType_=a;this.id_=b;this.options_=c};fVc.prototype.getId=function(){return this.id_};fVc.prototype.getIndex=function(){return this.getId()+":"+this.idType_+":"+this.options_.getIndex()};var gVc=function(a,b,c){this.idType_=a;this.ids_=b;this.options_=c};g=gVc.prototype;g.getIds=function(){return this.ids_};g.getIdType=function(){return this.idType_};g.getOptions=function(){return this.options_};
g.getKeys=function(){var a=this;return this.getIds().map(function(b){return new fVc(a.getIdType(),b,a.getOptions())})};g.setIds=function(a){this.ids_=a;return this};g.setIdType=function(a){this.idType_=a};g.setOptions=function(a){this.options_=a};g.clone=function(){var a=this.getIdType(),b=this.getIds(),c=this.getOptions();return new gVc(a,b,c)};var hVc=function(a,b){this.ids_=new Set(b.getIds());this.parameters_=b.clone();this.loader_=a;this.resolver_=new FNc;this.isSent_=!1};hVc.prototype.send=function(){if(!this.isSent_){this.isSent_=!0;var a=Array.from(this.ids_);this.loader_.load(this.parameters_.setIds(a)).then(this.resolver_.resolve,this.resolver_.reject)}};hVc.prototype.promise=function(){return this.resolver_.promise};
hVc.prototype.merge=function(a,b){var c;(c=this.isSent_)||(c=this.parameters_,c=!(a.getIdType()===c.getIdType()&&a.getOptions()===c.getOptions()));if(c||a.getIds().length+this.ids_.size>b)return!1;a=k(a.getIds());for(b=a.next();!b.done;b=a.next())this.ids_.add(b.value);return!0};var iVc=function(a,b,c){this.delegate_=a;this.batchedRequest_=null;this.tracker_=b;this.maxRequestSize_=mSc(c);this.lastRequestCreationTime_=0};
iVc.prototype.load=function(a){var b=this;this.batchedRequest_&&(this.batchedRequest_.merge(a,this.maxRequestSize_)?this.tracker_.count(89).increment():(this.batchedRequest_.send(),this.batchedRequest_=null));if(!this.batchedRequest_){this.tracker_.count(90).increment();var c=this.batchedRequest_=new hVc(this.delegate_,a);a=Date.now();var d=a-this.lastRequestCreationTime_;this.lastRequestCreationTime_=a;Nq(function(){c===b.batchedRequest_&&(c.send(),b.batchedRequest_=null)},d>30?0:30)}return this.batchedRequest_.promise()};var jVc=function(a,b){this.delegate_=a;this.inflightRequests_=LRc();this.tracker_=b};
jVc.prototype.load=function(a){for(var b=this,c=new Set,d=[],e=k(a.getKeys()),f=e.next();!f.done;f=e.next()){f=f.value;var h=f.getIndex();this.inflightRequests_.has(h)?c.add(this.inflightRequests_.get(h)):d.push(f.getId())}d.length===a.getKeys().length?this.tracker_.count(93).increment():d.length?this.tracker_.count(92).increment():this.tracker_.count(91).increment();if(d.length){var l=a.clone().setIds(d);var q=new hVc(this.delegate_,l);q.send();c.add(q);a=k(l.getKeys());for(d=a.next();!d.done;d=
a.next())this.inflightRequests_.set(d.value.getIndex(),q);q.promise().catch(function(){}).finally(function(){for(var v=k(l.getKeys()),y=v.next();!y.done;y=v.next())b.inflightRequests_.delete(y.value.getIndex())})}c=Array.from(c);return Promise.all(c.map(function(v){return v.promise()})).then(function(v){return q?q.promise().then(function(y){return Wcb(v,y.metadata)}):Wcb(v)})};var kVc=function(a){this.peopleLoader_=a};kVc.prototype.load=function(a){return this.peopleLoader_.loadLookupItems(a.getIdType(),a.getIds(),a.getOptions())};var lVc=function(a,b,c){this.peopleLoader_=a;this.gatedLoaders_=new Map;this.tracker_=b;this.clientConfig_=c};lVc.prototype.load=function(a){if(!this.gatedLoaders_.has(a.getIdType())){var b=new kVc(this.peopleLoader_);b=new iVc(b,this.tracker_,this.clientConfig_);b=new jVc(b,this.tracker_);this.gatedLoaders_.set(a.getIdType(),b)}return this.gatedLoaders_.get(a.getIdType()).load(a)};var mVc=function(a,b,c){this.delegate_=a;this.trackers_=b;this.searchRequests_=new Map;this.lookupLoader_=new lVc(this.delegate_,this.trackers_,c)},nVc=function(a,b,c,d){var e,f;return ve(function(h){if(h.nextAddress==1){e=b+":"+c;if(a.searchRequests_.has(e))return a.trackers_.count(b).increment(),h.return(a.searchRequests_.get(e));f=d();a.searchRequests_.set(e,f);h.catchAddress_=0;h.finallyAddress_=2;return xe(h,f,4)}if(h.nextAddress!=2)return h.return(h.yieldResult);ye(h);a.searchRequests_.delete(e);
return ze(h,0)})};mVc.prototype.loadRankedItems=function(a){var b=this;return nVc(this,81,"",function(){return b.delegate_.loadRankedItems(a)})};mVc.prototype.warmUpServer=function(a){var b=this;return nVc(this,82,"",function(){return b.delegate_.warmUpServer(a)})};mVc.prototype.loadAutocompleteItems=function(a,b){var c=this;return nVc(this,82,a.getPrefix(),function(){return c.delegate_.loadAutocompleteItems(a,b)})};
mVc.prototype.loadLookupItems=function(a,b,c){return this.lookupLoader_.load(new gVc(a,b,c))};var oVc=function(){return Date.now()},pVc=function(a,b,c){this.delegate_=a;this.nowFn_=c;this.cacheFlushRateMillis_=zl(b.getClient(),14,300)*1E3;this.serverWarmupRateMillis_=zl(b.getClient(),13,60)*1E3;this.lastServerWarmup_=this.lastCacheFlush_=0};pVc.prototype.loadRankedItems=function(a){var b=a.qos;var c=this.nowFn_();b===1&&this.lastCacheFlush_+this.cacheFlushRateMillis_>c?b=!0:(this.lastCacheFlush_=c,b=!1);return b?Promise.reject(1):this.delegate_.loadRankedItems(a)};
pVc.prototype.warmUpServer=function(a){var b=a.qos;var c=this.nowFn_();b===1&&this.lastServerWarmup_+this.serverWarmupRateMillis_>c?b=!0:(this.lastServerWarmup_=c,b=!1);return b?Promise.reject(1):this.delegate_.warmUpServer(a)};pVc.prototype.loadAutocompleteItems=function(a,b){return this.delegate_.loadAutocompleteItems(a,b)};pVc.prototype.loadLookupItems=function(a,b,c){return this.delegate_.loadLookupItems(a,b,c)};var qVc=function(a,b,c){this.delegate_=a;this.listener_=b;this.options_=c;this.delegate_.warmUpSession(c)};g=qVc.prototype;g.suggest=function(a){a=a===void 0?this.listener_:a;this.delegate_.suggest(a,this.options_);return this};g.search=function(a,b){b=b===void 0?this.listener_:b;this.delegate_.search(a,b,this.options_);return this};g.cancel=function(){this.delegate_.cancel();return this};g.getReporter=function(a){a=a===void 0?XOc:a;return this.delegate_.getReporter(a)};g.getHide=function(){return this.delegate_.getHide()};var rVc=function(a,b){this.delegate_=a;this.members_=b;this.totalMemberCount_=qkc(a.getPrimaryTarget().getId())?b.length:a.getTotalMemberCount()};Y(rVc,OP);rVc.prototype.getMemberList=function(){return this.members_};rVc.prototype.getTotalMemberCount=function(){return this.totalMemberCount_};var sVc=function(a,b){this.filter_=a;this.filterEmptyExplodingGroups_=b};sVc.prototype.filterResult=function(a){var b=this;if(!qkc(a.getPrimaryTarget().getId()))return a;var c=a.getMemberList().map(function(d){return b.filter_.filterResult(d)}).filter(Boolean);return this.filterEmptyExplodingGroups_&&c.length===0?null:a.getMemberList().every(function(d,e){return d===c[e]})?a:new Eq(new rVc(a,c))};sVc.prototype.reset=function(a){this.filter_.reset(a)};
var Xcb=function(a,b){this.filter_=KSa(a,new sVc(a,b))};Xcb.prototype.filterResult=function(a){return this.filter_.filterResult(a)};Xcb.prototype.reset=function(a){this.filter_.reset(a)};var tVc=function(a){this.delegate_=a};g=tVc.prototype;g.warmUpCache=function(){return this.delegate_.warmUpCache().then(function(){return Promise.resolve()},function(a){var b=2;a instanceof aX&&(a=a.getSource())&&(b=a.getCode());return Promise.reject(b)})};g.flushCache=function(a){this.delegate_.flushCache(a)};g.disambiguate=function(a,b){b=b===void 0?new ZW:b;return this.delegate_.disambiguate(a,b)};
g.lookup=function(a,b,c){c=c===void 0?new bt:c;c.setFilter(Ycb(c.getFilter(),!0));this.delegate_.lookup(a,b,c);return this};g.beginSession=function(a,b){b=b===void 0?new Ls:b;b=b.clone();b.setFilter(Ycb(b.getFilter(),b.filterEmptyExplodingGroups_));var c=this.delegate_.beginSession(b);return new qVc(c,a,b)};var uVc=new Map([[2,0],[0,1],[1,3],[3,10],[4,7],[5,9],[7,5],[16,5],[8,11],[9,2],[10,4],[11,2],[12,2],[13,11],[14,11],[15,11]]),vVc=new Map([[2,13],[3,6]]),wVc=new Map([[2,0],[0,1],[1,2],[3,3],[4,3],[5,2],[7,3],[16,3],[8,3],[9,3],[10,3],[11,3],[12,3],[13,3],[14,3],[15,3]]);var cdb=new Map([[1,1],[2,3],[3,5]]),xVc=new Map([[1,2],[2,4],[3,5],[4,8],[6,15],[7,19],[12,21],[10,20]]),yVc=new Map([[1,2],[2,9],[3,6],[4,6],[6,15],[7,19],[12,21],[10,20]]),zVc=function(a,b){this.logContext_=fdb(a,b)};g=zVc.prototype;g.getLogContext=function(){return this.logContext_};
g.createCountMetric=function(a,b,c){var d=b.source();AVc(d,a);var e=bdb(d);switch(d.getEventType()){case 1:d=e.setCount;b=Kj(b.source(),4,0);var f=new LX;f.setType(b);f.setValue(c);d.call(e,f);e.setEventType(1);break;case 4:case 5:c=e.setRpcRequest;b=Kj(b.source(),3,0);d=new NX;d.setLabel(b);c.call(e,d);e.setEventType(4);break;case 6:case 7:c=e.setApiCall;b=b.source();d=Kj(b,2,0);f=new WSc;b.hasItemCount()&&f.setItemCount(b.getItemCount());b.hasQueryLength()&&f.setQueryLength(b.getQueryLength());
b.hasLookupInfo()&&f.setLookupInfo(b.getLookupInfo());b.hasQueryScope()&&f.setQueryScope(b.getQueryScope());f.setLabel(d);c.call(e,f);e.setEventType(6);break;default:return null}e.setClientInterface(a);return e};
g.createStatusMetric=function(a,b,c){var d=b.source();AVc(d,a);var e=bdb(d);switch(d.getEventType()){case 4:case 5:d=e.setRpcResponse;var f=b.source(),h=Kj(f,3,0);var l=Kj(f,13,0)||0;l=vVc.get(l)||uVc.get(c)||0;var q=lJ(b,"blocked"),v=lJ(b,"network"),y=lJ(b,"processed");b=new $Sc;b.setLabel(h);b.setStatus(l);b.setBlockedUsec(q);b.setLatencyUsec(v);nk(b,9,y);b.setStatusCode(c);Zi(f,12,0)&&(c=Zi(f,12,0),nk(b,6,c));d.call(e,b);e.setEventType(5);break;case 6:case 7:d=e.setApiResult;h=b.source();l=Kj(h,
2,0);f=new XSc;f.setLabel(l);f.setStatusCode(c);h.hasItemCount()&&f.setItemCount(h.getItemCount());h.hasQueryLength()&&f.setQueryLength(h.getQueryLength());h.hasLookupInfo()&&f.setLookupInfo(h.getLookupInfo());h.hasQueryScope()&&f.setQueryScope(h.getQueryScope());c===0&&(b=lJ(b,"total"),f.setLatencyUsec(b));c=wVc.get(c)||0;f.setStatus(c);c=h.getResultIndex();f.setResultIndex(c);if(b=h.getCacheState())c=ddb(Bt(b,2)),hk(f,5,c),c=ddb(Bt(b,3)),hk(f,6,c),c=f.setDataSource,h=b.getSource(),b=!Fj(h,1),h=
h.getProvenance(),b=(b?yVc.get(h):xVc.get(h))||0,c.call(f,b);d.call(e,f);e.setEventType(7);break;default:return null}e.setClientInterface(a);return e};g.createLatencyMetric=function(a,b){var c=b.source();AVc(c,a);if(c.getEventType()!==2)return null;var d=bdb(c);d.setClientInterface(a);a=d.setLatency;var e=Kj(b.source(),5,0);b=lJ(b,"total");var f=new ZSc;f.setType(e);f.setLatencyUsec(b);a.call(d,f);d.setEventType(c.getEventType());return d};
g.createErrorMetric=function(a,b){var c=b.source();AVc(c,a);if(c.getEventType()!==3)return null;var d=bdb(c);d.setClientInterface(a);a=d.setError;var e=b.source();b=e.getErrorType();e=Kj(e,7,0);var f=new MX;f.setType(b);hk(f,4,e);a.call(d,f);d.setEventType(c.getEventType());return d};var AVc=function(a,b){var c,d,e;a=(c=W(a,Lt,18))==null?void 0:(d=c.getSessionState())==null?void 0:(e=d.getSources())==null?void 0:Qt(e,4);a!=null&&(b.setEventSource(a),b.setEventSourceId(a))};var BVc=function(a,b){this.delegate_=a;this.trackers_=b};g=BVc.prototype;g.reportDisplay=function(a){this.delegate_.reportDisplay(a)};g.reportSelect=function(a,b){b=b===void 0?new YOc:b;this.delegate_.reportSelect(a,b)};g.reportExternalSelect=function(a){this.delegate_.reportExternalSelect(a)};g.reportDeselect=function(a){this.delegate_.reportDeselect(a)};g.reportProceed=function(a){this.delegate_.reportProceed(a)};g.reportDismiss=function(){this.delegate_.reportDismiss();CVc(this)};
g.reportSave=function(a){this.delegate_.reportSave(a);CVc(this)};g.reportSecondaryAction=function(a){this.delegate_.reportSecondaryAction(a);CVc(this)};g.reportSend=function(a){this.delegate_.reportSend(a);CVc(this)};var CVc=function(a){a=a.trackers_;var b=a.api,c=new wt;yt(c.setEventType(6),3);b.call(a,c).call()};var Rt=function(a,b){this.delegate_=this.delegate=a;this.trackers_=b};Y(Rt,dVc);
Rt.prototype.suggest=function(a,b){var c=this;try{var d=!1,e=!1,f=this.trackers_.api(icb(b.getQueryScope()));f.call();this.delegate_.suggest(function(h){var l=h.getMetadata(),q=l.getCacheState();f.source.setCacheState(q);f.source.setItemCount(h.getResults().length);f.result(q.getSource().getCode());l.getIsFirstCallback()&&(d&&l.getCode()===0&&c.trackers_.error(22,19,f.source).report(),d=!0);l.getIsLastCallback()&&(e&&l.getCode()===0&&c.trackers_.error(22,20,f.source).report(),e=!0);l=c.trackers_.latency(90,
f.source);l.start();try{a(h)}catch(v){throw c.trackers_.error(22,11,f.source).report(),v;}finally{l.stop()}},b)}catch(h){throw this.trackers_.error(22,1).report(),h;}};
Rt.prototype.search=function(a,b,c){var d=this;try{var e=!1,f=!1,h=this.trackers_.api(hcb(a,c.getQueryScope()));h.call();this.delegate_.search(a,function(l){var q=l.getMetadata(),v=q.getCacheState();h.source.setCacheState(v);h.source.setItemCount(l.getResults().length);h.result(v.getSource().getCode());q.getIsFirstCallback()&&(e&&q.getCode()===0&&d.trackers_.error(23,19,h.source).report(),e=!0);q.getIsLastCallback()&&(f&&q.getCode()===0&&d.trackers_.error(23,20,h.source).report(),f=!0);q=d.trackers_.latency(91,
h.source);q.start();try{b(l)}catch(y){throw d.trackers_.error(23,11,h.source).report(),y;}finally{q.stop()}},c)}catch(l){throw this.trackers_.error(23,1).report(),l;}};Rt.prototype.getReporter=function(a){a=this.delegate_.getReporter(a);return new BVc(a,this.trackers_)};var DVc=function(a,b){this.delegate_=this.delegate=a;a=this.trackers_=b;b=a.api;var c=new wt;yt(c.setEventType(6),1);b.call(a,c).call()};Y(DVc,eVc);g=DVc.prototype;
g.warmUpCache=function(){var a=this,b=this.trackers_.api(ecb());b.call();return this.delegate_.warmUpCache().then(function(c){b.source.setCacheState(c);b.result(c.getSource().getCode());return c},function(c){c instanceof aX?(b.source.setCacheState(c),b.result(c.getSource().getCode())):(a.trackers_.error(17,1).report(),c=(new aX).setSource((new Ut).setCode(2)));return Promise.reject(c)})};
g.flushCache=function(a){var b=this.trackers_,c=b.api;switch(a){case 3:var d=12;break;case 2:case 1:d=4;break;default:d=10}var e=new wt;yt(e.setEventType(6),d);b=c.call(b,e);b.call();try{this.delegate_.flushCache(a),b.result(0)}catch(f){throw this.trackers_.error(57,1).report(),f;}};
g.lookup=function(a,b,c){var d=this;try{var e=!1,f=!1,h=this.trackers_.api(dcb(a,c.getQueryScope()));h.call();this.delegate_.lookup(a,function(l){var q=l.getMetadata(),v=q.getCacheState();h.source.setCacheState(v);h.source.setItemCount(l.getResults().size);for(var y=0,E=0,H=0,O=0,N=k(l.getResults().keys()),T=N.next();!T.done;T=N.next()){T=T.value;mkc.includes(T.getType())?y++:nkc.includes(T.getType())?E++:okc.includes(T.getType())&&H++;var da=void 0;((da=l.getResults().get(T))==null?0:da.getDisplayName())&&
O++}N=T=da=0;for(var ja=k(q.notFoundIdList_),na=ja.next();!na.done;na=ja.next())na=na.value,mkc.includes(na.getType())?da++:nkc.includes(na.getType())?T++:okc.includes(na.getType())&&N++;ja=h.source.getMutableLookupInfo();y=ek(ja,2,y);E=ek(y,1,E);H=ek(E,3,H);H=ek(H,5,da);H=ek(H,4,T);H=ek(H,6,N);ek(H,14,O);h.result(v.getSource().getCode());q.getIsFirstCallback()&&(e&&q.getCode()===0&&d.trackers_.error(8,19).report(),e=!0);q.getIsLastCallback()&&(f&&q.getCode()===0&&d.trackers_.error(8,20).report(),
f=!0);q=d.trackers_.latency(89);q.start();try{b(l)}catch(Ia){throw d.trackers_.error(8,11).report(),Ia;}finally{q.stop()}},c)}catch(l){throw this.trackers_.error(8,1).report(),l;}};g.disambiguate=function(a,b){var c=this.trackers_.api(gcb());c.call();return this.delegate_.disambiguate(a,b).then(function(d){var e=d.getMetadata().getCacheState();c.source.setCacheState(e);c.result(e.getSource().getCode());return d})};
g.beginSession=function(a){this.trackers_.api(fcb()).call();var b=this.delegate_.beginSession(a);return gdb(b,vTc(this.trackers_,new sTc(function(){return b.getSessionState()})))};var EVc=function(a,b){this.clearcut_=a;this.logEventFactory_=b};EVc.prototype.report=function(a){var b=Bkc(this.clearcut_);a=this.logEventFactory_.eventsFactory_.create(b,a);a=k(a);for(b=a.next();!b.done;b=a.next())Ckc(this.clearcut_,b.value)};var FVc=function(a){this.clearcut_=a};FVc.prototype.report=function(a){this.clearcut_.report(a)};var GVc=function(a){this.writer_=a};var HVc=function(){};HVc.prototype.create=function(a,b,c){var d=$cb(b),e=new Sjc;X(e,Kt,3,d);c!==7&&b.hasQuery()&&(d=b.getQuery(),c===2&&e.setQuery(d),e.setQueryLength(d.length));var f=new Tjc;d=VGa(zl(b,9,0)-zl(b,8,0));ek(f,2,d);d=new rJ;X(d,Sjc,1,e);X(d,Tjc,6,f);e=new Rjc;if(f=Vj(b,6,0)){nk(e,3,f*1E3);var h=(Date.now()-f)*1E3;nk(e,2,h)}dk(e,1,!!f);X(d,Rjc,3,e);d.setAffinityVersion(b.getAffinityVersionOrUndefined());b=new Vjc;b.setEventType(c);b.setMetadata(d);b.setClientInterface(a.clone());return b};var IVc=function(){};IVc.prototype.extractPersonEventSource=function(a){return Bt(hdb(a),4)};IVc.prototype.extractFieldEventSource=function(a){return Bt(hdb(a),3)};var JVc=function(){};JVc.prototype.extractPersonEventSource=function(a){var b=a.getSources()||new Pt;return(a.getQuery()||"").length?Bt(b,2):Bt(b,4)};JVc.prototype.extractFieldEventSource=function(a){var b=a.getSources()||new Pt;return(a.getQuery()||"").length?Bt(b,1):Bt(b,3)};var KVc=function(){};KVc.prototype.extractPersonEventSource=function(a){return Bt(idb(a),4)};KVc.prototype.extractFieldEventSource=function(a){return Bt(idb(a),3)};var kdb=new Set([8]);var LVc=function(a,b,c){this.defaultTokenGroups_=a;this.additionTokenGroups_=b;this.replacementTokenGroups_=c};var MVc=new Map([[1,11],[2,12],[0,0]]),NVc=function(){};NVc.prototype.write=function(a,b,c){var d=new mJ;ek(d,1,c);c=new nJ;c.setPosition(d);c.setExistingSelectionsCount(b.getExistingSelectionsCount());X(a,nJ,8,c);b=MVc.get(b.getContext());ok(a,3,[b])};var OVc=new Map([[1,5],[2,4],[3,6],[7,13]]),PVc=function(){};PVc.prototype.write=function(a,b,c,d){var e=new mJ;ek(e,1,c);a.setPosition(e);c=OVc.get(b.getProvenance())||0;Kj(b,4,0)===1?c=14:d?c=3:Kj(b,4,0)===2?c=10:Kj(b,4,0)===3&&(c=15);ok(a,3,[c])};var QVc=new Set([9,1,2]),RVc=function(){};RVc.prototype.write=function(a,b,c,d,e){var f=a.getMutableMetadata();if(e===3||c===8||c===10||c===9||c===2&&QVc.has(d))c=new oJ,Bt(b,7)!==1&&Bt(b,7)!==7||c.setEmail(Pm(b,3)),Bt(b,7)!==2&&Bt(b,7)!==5||c.setPhone(Pm(b,3)),b.hasProfileId()&&c.setObfuscatedGaiaId(b.getProfileId()),b.hasGroupId()&&c.setGroupId(b.getGroupId()),X(a,oJ,4,c),a=new pJ,a.setName(b.getNameOrUndefined()),X(f,pJ,2,a);f.setIsBoosted(b.getIsBoosted())};var SVc=function(a){var b=new RVc;this.metadataStateWriter_=a;this.contactInfoWriter_=b},TVc=function(a){var b;return((b=W(a,Ht,1))==null?0:b.getIsPlaceholder())?!0:!1};var qdb=function(a){this.internalArray_=m(a)};Y(qdb,V);g=qdb.prototype;g.getEventType=function(){return Kj(this,1,0)};g.getEventType_legacyNullable=function(){return Bt(this,1)};g.setEventType=function(a){return hk(this,1,a)};g.getSessionState=function(){return W(this,NP,2)};g.setSessionState=function(a){return X(this,NP,2,a)};g.hasSessionState=function(){return Oj(this,NP,2)};g.setEventSources=function(a){X(this,Pt,4,a)};var UVc=function(){this.defaultEntityFactory_=new GVc(new SVc(new PVc));this.contextualEntityFactory_=new GVc(new SVc(new NVc));this.extensionFactory_=new HVc;this.defaultEventSourceExtractor_=new JVc;this.additionEventSourceExtractor_=new IVc;this.replacementEventSourceExtractor_=new KVc};
UVc.prototype.create=function(a,b){var c=b.getSessionState()||new NP,d=b.getEventType_legacyNullable();b=nj(b,Ft,3,Wi(Xi));var e=mdb(b,odb);var f=e.get(0);b=e.get(1);e=e.get(2);f=f?[].concat(w(mdb(f,ndb).values())):[];b=b?[].concat(w(mdb(b,ndb).values())):[];e=e?[].concat(w(mdb(e,ndb).values())):[];e=new LVc(f,b,e);b=[];f=k(e.defaultTokenGroups_);for(var h=f.next();!h.done;h=f.next())b.push.apply(b,w(VVc(this,a,d,h.value,c,this.defaultEventSourceExtractor_,this.defaultEntityFactory_)));f=k(e.additionTokenGroups_);
for(h=f.next();!h.done;h=f.next())b.push.apply(b,w(VVc(this,a,d,h.value,c,this.additionEventSourceExtractor_,this.contextualEntityFactory_)));e=k(e.replacementTokenGroups_);for(f=e.next();!f.done;f=e.next())b.push.apply(b,w(VVc(this,a,d,f.value,c,this.replacementEventSourceExtractor_,this.contextualEntityFactory_)));return b};
var VVc=function(a,b,c,d,e,f,h){var l=[];e=d[0].getSessionState()||e;var q=jdb(d).map(function(v){var y=new Ujc,E=h.writer_,H=y.getMetadata()||new qJ;y.setMetadata(H);var O=ys(v)||new Gt,N=W(v,Ht,1)||new Ht;E.metadataStateWriter_.write(H,O,Zi(O,2,0)||0,TVc(v));E.contactInfoWriter_.write(y,N,c,O.getProvenance()||0,Kj(O,4,0)||0);y.setLoggingId(Pm(N,1));v=W(y,oJ,4)||new oJ;X(y,oJ,4,v);v.setType(Qt(N,8));return y});q.length&&l.push(WVc(a,b,c,f.extractPersonEventSource(e),q,e));d=ldb(d).map(function(v){var y=
new Ujc,E=h.writer_,H=y.getMetadata()||new qJ;y.setMetadata(H);var O=ys(v)||new Gt,N=W(v,Ht,1)||new Ht;E.metadataStateWriter_.write(H,O,(Fj(N,9,!0)?Zi(O,2,0):Zi(O,1,0))||0,TVc(v));E.contactInfoWriter_.write(y,N,c,O.getProvenance()||0,Kj(O,4,0)||0);v=W(y,oJ,4)||new oJ;X(y,oJ,4,v);W(y,oJ,4).setType(Qt(N,7));y.setLoggingId(Pm(N,2));return y});d.length&&l.push(WVc(a,b,c,f.extractFieldEventSource(e),d,e));return l},WVc=function(a,b,c,d,e,f){a=a.extensionFactory_.create(b,f,c);a.getClientInterface().setEventSource(d);
a.getClientInterface().setEventSourceId(d);$l(a,2,e);return a};var XVc=function(a,b){this.logContext_=edb(Mt(new Nt,"PeopleStore.BigBug").setLogSource(Kj(a.getClearcut(),3,41)).setApplication(a.getClearcut().getSocialApplication()).setEnvironment(a.runtimeConfig_.getPeopleApiEnv()).setVersion("1004").setBaselineCl(683703728).setEnableClearcut(a.getClearcut().getEnableClearcut()),[].concat(w(a.runtimeConfig_.getExperiments().getExperimentIdsList()),w(Ot?Ot.getExperimentIds():[]))).setPeoplekitEntryPoint(b.getPeoplekitEntryPoint()).setClientAgent(2);this.eventsFactory_=
new UVc};XVc.prototype.getLogContext=function(){return this.logContext_};var YVc=function(a){this.clientConfig_=a;this.reportingCache_=new Map};YVc.prototype.create=function(a){var b=a.serialize();this.reportingCache_.has(a.serialize())||(a=new XVc(this.clientConfig_,a),a=new FVc(new EVc(Akc(a),a)),this.reportingCache_.set(b,a));return this.reportingCache_.get(b)};var ZVc=function(a,b,c){this.reporting_=a;this.sharedSessionState_=b;this.peopleStore_=c};g=ZVc.prototype;g.reportDisplay=function(a){VX(this,Tt(a,1))};g.reportSelect=function(a,b){b=b===void 0?new YOc:b;if(b.getOriginator()!==0)for(var c=k(a),d=c.next();!d.done;d=c.next()){d=d.value;if(!Oj(d,Gt,2)){var e=d,f=new Gt;X(e,Gt,2,f)}d=ys(d);hk(d,4,b.getOriginator())}b=this.sharedSessionState_;c=Vj(this.sharedSessionState_,4,0)+1;nk(b,4,c);VX(this,Tt(a,2,this.sharedSessionState_))};
g.reportExternalSelect=function(a){for(var b=k(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!Oj(c,Gt,2)){var d=c,e=new Gt;X(d,Gt,2,e)}c=ys(c);hk(c,4,2)}b=this.sharedSessionState_;c=Vj(this.sharedSessionState_,4,0)+1;nk(b,4,c);VX(this,Tt(a,15,this.sharedSessionState_))};g.reportDeselect=function(a){VX(this,Tt(a,17,this.sharedSessionState_))};g.reportProceed=function(a){VX(this,Tt(a,10,this.sharedSessionState_))};
g.reportDismiss=function(){var a=this.sharedSessionState_,b=new qdb;a=a.clone();b.setSessionState(a);b.setEventType(7);b.setEventSources(a.getSources());VX(this,[b])};g.reportSave=function(a){VX(this,Tt(a,9,this.sharedSessionState_))};g.reportSecondaryAction=function(a){VX(this,Tt(a,19,this.sharedSessionState_))};g.reportSend=function(a){VX(this,Tt(a,8,this.sharedSessionState_,!0))};var VX=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next())a.reporting_.report(c.value)};var WX=function(a,b,c,d){this.delegate_=this.delegate=a;this.sharedSessionState_=c;nk(this.sharedSessionState_,5,Math.floor(Math.random()*9007199254740991));nk(this.sharedSessionState_,4,0);yyc(this.sharedSessionState_,0);this.reportingFactory_=b;this.peopleStore_=d};Y(WX,dVc);
WX.prototype.suggest=function(a,b){var c=this,d=this.sharedSessionState_.clone();yyc(this.sharedSessionState_,Vj(this.sharedSessionState_,3,0)+1);d.setQuery("");zyc(d);var e=0;this.delegate_.suggest(function(f){e=$Vc(c,f.getResults(),rdb(f),d,e);a(f)},b)};
WX.prototype.search=function(a,b,c){var d=this,e=this.sharedSessionState_.clone();yyc(this.sharedSessionState_,Vj(this.sharedSessionState_,3,0)+1);e.setQuery(a);zyc(e);var f=0;this.delegate_.search(a,function(h){f=$Vc(d,h.getResults(),rdb(h),e,f);b(h)},c)};WX.prototype.getReporter=function(a){return new ZVc(this.reportingFactory_.create(a),this.sharedSessionState_,this.peopleStore_)};WX.prototype.getSessionState=function(){return this.sharedSessionState_};
var $Vc=function(a,b,c,d,e){d=d.clone();var f=Ojc();Zp(d,9,yb(f));f=a.delegate_.getLastUpdatedTimestamp();nk(d,6,f);d.setAffinityVersion(a.delegate_.getAffinityVersion());a=k(b);for(b=a.next();!b.done;b=a.next()){var h=b.value;b=h.getIsBoosted();f=0;h=k(h.getTargetList());for(var l=h.next();!l.done;l=h.next()){l=l.value.getLoggingToken();Av(l,Ht,1).setIsBoosted(b);var q=ys(l)||new Gt;q.getProvenance()!==7&&q.setProvenance(c.getProvenance());ek(q,2,e);ek(q,1,f);X(l,Gt,2,q);l.setSessionState(d);f++}e++}return e};var aWc=function(a,b,c){this.delegate_=this.delegate=a;this.reportingFactory_=b;this.instanceId_=u9a();this.clearcutConfig_=c};Y(aWc,eVc);
aWc.prototype.lookup=function(a,b,c){this.delegate_.lookup(a,function(d){var e=Array.from(d.getResults().values()),f,h=d.getMetadata();h.getCacheState()&&(h=h.getCacheState(),h.hasSource()&&(f=h.getSource()));f=f||new Ut;h=c.getOriginator();e=k(e);for(var l=e.next();!l.done;l=e.next()){l=k(l.value.getTargetList());for(var q=l.next();!q.done;q=l.next()){q=q.value.getLoggingToken();var v=ys(q)||new Gt;v.getProvenance()!==7&&v.setProvenance(f.getProvenance());hk(v,4,h);X(q,Gt,2,v)}}b(d)},c)};
aWc.prototype.beginSession=function(a){var b=new NP,c=bWc(this,a);X(b,Pt,10,c);c=cWc(this,a);X(b,St,12,c);b.setInstanceId(this.instanceId_);a=this.delegate_.beginSession(a);return new WX(a,this.reportingFactory_,b,this)};
var bWc=function(a,b){a=nj(a.clearcutConfig_,Pt,5,Wi());return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return c.getEntryPoint()===0})||new Pt},cWc=function(a,b){a=nj(a.clearcutConfig_,St,6,Wi());return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return c.getEntryPoint()===0})||new St};var dWc={create:function(a){var b=bc(kSc||(kSc=jSc('[[15,15],["AIzaSyClMyMjdjUv-Z9gej4bgUQoU3CSbak7a9s","ANVavNKl4mkR3DMa8R68PqYrNFuTUEjFCzfJB_o"],["BUGANIZER","BUGANIZER",null,"ISSUE_TRACKER_AFFINITY",47,null,null,["person.name","person.photo","person.email","person.metadata"]],[null,740,null,null,[[180,181,178,179]]],[7,true]]')));a=new yX(b,a);a.runtimeConfig_.getExperiments().getProfileId()?lSc(a).getIsEnabled()?(b=bc(nSc||(nSc=eab('[null,null,null,null,null,null,null,"AIzaSyABqJ85_R2irnKzMtGBL0iHuyFBi6Efk1w"]'))),
b=new fab(b,1)):b=new Js:b=new Js;var c=a.runtimeConfig_.getExperiments().getProfileId_legacyNullable(),d=a.runtimeConfig_;Ot=b.loadExperiments(lSc(a).getApplication(),(new Ks).setPeopleApiEnv(d.getPeopleApiEnv()),c);b=new xTc;b.cacheConfigurators_.push(new hSc);c=b;c=c===void 0?new xTc:c;b=a.getClearcut();b=new zVc(b,a.runtimeConfig_);b=Fs(b);b=new RX(b);d=new wTc(a,b);var e=c;c=d.targetFactory_;var f=a.getClient();c=new MTc(c,f);var h=h===void 0?oVc:h;h=new pVc(d.loader_,a,h);f=new mVc(h,b,a);var l=
[new cVc,new FTc].concat(w(e.cacheConfigurators_),[new EUc]);e=[];var q=[],v=new TTc(c,a);h=new STc(q,v,a);d={clientConfig:a,trackers:b,storage:c,indexer:v,loader:f,loaderFactory:d,trieFactory:new nUc(c,h,b),prefixCaches:e,lookupStages:q};f=k(l);for(l=f.next();!l.done;l=f.next())l.value.configure(d);d=new aUc(e);h=new fUc(a,b,d,h,c);d=a.getClient();c=new QUc(d,c);d=a.getClient();h=new CUc(h,c,d);c=new YVc(a);a=a.getClearcut();h=new aWc(h,c,a);h=new DVc(h,b);return new tVc(h)}};var XX=function(){};XX.\u0275fac=function(a){return new (a||XX)};XX.\u0275mod=u({type:XX});XX.\u0275inj=p({imports:[Qw,tx,xy,sy,UK]});var YX=function(){};YX.\u0275fac=function(a){return new (a||YX)};YX.\u0275mod=u({type:YX});YX.\u0275inj=p({imports:[Qw,Qz,XX,DR]});var ZX=function(){};ZX.\u0275fac=function(a){return new (a||ZX)};ZX.\u0275mod=u({type:ZX});ZX.\u0275inj=p({imports:[RE,BM,YX]});var $X=function(){};$X.\u0275fac=function(a){return new (a||$X)};$X.\u0275mod=u({type:$X});$X.\u0275inj=p({imports:[Qw]});var aY=function(){};aY.\u0275fac=function(a){return new (a||aY)};aY.\u0275mod=u({type:aY});aY.\u0275inj=p({imports:[Qw,NR]});var bY=function(){};bY.\u0275fac=function(a){return new (a||bY)};bY.\u0275mod=u({type:bY});bY.\u0275inj=p({imports:[$X,Qw,NR,aY]});var cY=function(){};cY.\u0275fac=function(a){return new (a||cY)};cY.\u0275mod=u({type:cY});cY.\u0275inj=p({});var dY=function(){};dY.\u0275fac=function(a){return new (a||dY)};dY.\u0275mod=u({type:dY});dY.\u0275inj=p({imports:[Qw,UK,NR,ZN,tx,cY]});var eY=function(){};eY.\u0275fac=function(a){return new (a||eY)};eY.\u0275mod=u({type:eY});eY.\u0275inj=p({imports:[Qw]});var fY=function(){};fY.\u0275fac=function(a){return new (a||fY)};fY.\u0275mod=u({type:fY});fY.\u0275inj=p({imports:[VI,RE,ZJ,aO,bY,VK,WK,gM,LH,JH,FN,dY,BM,ZX,AM,TN,LN,NN,{ngModule:eY,providers:[gU,{provide:rHc,useFactory:function(){return{authRealm:1,peopleApiEnv:4,peopleStoreClient:dWc,searchBarFactory:ERc}}}]},Qz]});var gY=function(){};gY.\u0275fac=function(a){return new (a||gY)};gY.\u0275mod=u({type:gY});gY.\u0275inj=p({imports:[VI,RE,ZJ,QM,bY,aI,WK,gM,BM,ZX]});var hY=function(){};hY.\u0275fac=function(a){return new (a||hY)};hY.\u0275mod=u({type:hY});hY.\u0275inj=p({imports:[RE,bU,cW,QM,Qz,JH,yN,EI,mR,LH,aI,hW,VK,pM,IR,aO,bP,fY,rW,gY,LO,BM]});var iY=function(){};iY.\u0275fac=function(a){return new (a||iY)};iY.\u0275mod=u({type:iY});iY.\u0275inj=p({});var jY=function(){};jY.\u0275fac=function(a){return new (a||jY)};jY.\u0275mod=u({type:jY});jY.\u0275inj=p({imports:[RE]});var kY=function(){};kY.\u0275fac=function(a){return new (a||kY)};kY.\u0275mod=u({type:kY});kY.\u0275inj=p({imports:[RE,EI,JH,ML,MM,NN,nN,LH,aS,bP,yN,Qz,uR]});var lY=function(){};lY.\u0275fac=function(a){return new (a||lY)};lY.\u0275mod=u({type:lY});lY.\u0275inj=p({imports:[iY,RE,tV,jY,AM,JH,LH,kY,uR]});var mY=function(){};mY.\u0275fac=function(a){return new (a||mY)};mY.\u0275mod=u({type:mY});mY.\u0275inj=p({imports:[RE,pR,JH,KH,LO]});var nY=function(){};nY.\u0275fac=function(a){return new (a||nY)};nY.\u0275mod=u({type:nY});nY.\u0275inj=p({imports:[RE,JH]});var oY=function(){};oY.\u0275fac=function(a){return new (a||oY)};oY.\u0275mod=u({type:oY});oY.\u0275inj=p({imports:[tV,lY,pR,RE,$M,mY,VK,pM,JH,LH,kY,LO,BM,nY]});var pY=function(){};pY.\u0275fac=function(a){return new (a||pY)};pY.\u0275mod=u({type:pY});pY.\u0275inj=p({imports:[RE]});var qY=function(){};qY.\u0275fac=function(a){return new (a||qY)};qY.\u0275mod=u({type:qY});qY.\u0275inj=p({imports:[RE,vR]});var rY=function(){};rY.\u0275fac=function(a){return new (a||rY)};rY.\u0275mod=u({type:rY});rY.\u0275inj=p({imports:[RE,VK,HR,$M,BM,qY,pR]});var sY=function(){};sY.\u0275fac=function(a){return new (a||sY)};sY.\u0275mod=u({type:sY});sY.\u0275inj=p({imports:[RE,pR]});var tY=function(){};tY.\u0275fac=function(a){return new (a||tY)};tY.\u0275mod=u({type:tY});tY.\u0275inj=p({imports:[tV,lY,pR,RE,$M,VK,rY,pM,kY,BM,LH,sY,JH,pY]});var uY=function(){};uY.\u0275fac=function(a){return new (a||uY)};uY.\u0275mod=u({type:uY});uY.\u0275inj=p({imports:[RE,tY,rY,JH,LO]});var sdb=function(a){return{stage:a}},Bdb=function(a){return{summary:a}},Idb=function(a){return{"has-reacted-icon":a}},vY=function(){Z.apply(this,arguments);var a=this;this.llmIssueSummaryService=r(FV);this.userFeedback=r(HU);this.GENERATING="GENERATING";this.SUMMARY_VISIBLE="SUMMARY_VISIBLE";this.isIssueSummaryExpanded=!0;this.stage$=this.llmIssueSummaryService.stage$;this.summary$=this.llmIssueSummaryService.summary$.pipe(Pf(function(b){b&&b.summary&&a.llmIssueSummaryService.trackEvent("display",
"issueDetailsPage")}),Kf({refCount:!0,bufferSize:1}));this.thumbsDownClicked=this.thumbsUpClicked=this.hasReacted=!1};Y(vY,Z);vY.\u0275dir=Z.\u0275dir;g=vY.prototype;g.ngOnInit=function(){var a=this;this.llmIssueSummaryService.summarizable$.pipe(Of(this.destroyed$)).subscribe(function(b){b.isSummarizable&&a.llmIssueSummaryService.trackEvent("viewSummarizableIssue","issueDetailsPage")})};
g.trackThumbsUp=function(a){rj("thumbsup");this.thumbsUpClicked=this.hasReacted=!0;this.llmIssueSummaryService.trackThumbsUp(a,"issueDetailsPage")};g.trackThumbsDown=function(a){rj("thumbsdown");this.thumbsDownClicked=this.hasReacted=!0;this.llmIssueSummaryService.trackThumbsDown(a,"issueDetailsPage")};g.openFeedbackDialog=function(a){this.userFeedback.startFeedback();a&&GV(this.llmIssueSummaryService,a,"FEEDBACK")};
g.copySummary=function(a){navigator.clipboard.writeText(a.summary);var b=this.llmIssueSummaryService;b.trackEvent("copy","issueDetailsPage");GV(b,a,"COPY")};vY.\u0275fac=function(){var a;return function(b){return(a||(a=de(vY)))(b||vY)}}();
vY.\u0275cmp=t({type:vY,selectors:[["llm-summary"]],features:[cg],decls:10,vars:3,consts:[["showHeader",""],["showBody",""],["renderedSummary",""],["showingSummary",""],["aiHelp",""],[1,"summary","main-div","carded","margin-s-sides","margin-s-bottom","flex-kids-x","padded-sides"],["svgIcon","chat_spark_24px","color","primary",1,"margin-s-right","shrink-0"],[1,"flex-kids-y","gap-s","full-width"],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"summary-header"],[1,"uppercase"],
[3,"panelTemplate"],["svgIcon","help-outline",1,"icon-s"],["mat-icon-button","","aria-label","Toggle the AI-generated summary for this issue","matTooltip","Toggle the AI-generated summary for this issue","matTooltipPosition","above",1,"small","expand-button",3,"click","matTooltipShowDelay"],["svgIcon","arrow-up",1,"icon-s"],["svgIcon","arrow-down",1,"icon-s"],[3,"content"],[1,"white-space-pre-wrap","overflow"],[1,"flex-kids-x","space-between","full-width"],[1,"type-s","instructional"],[1,"flex-kids-x",
"gap-s"],["mat-icon-button","","matTooltip","Copy","aria-label","copy summary",1,"feedback-button","copy-issue-summary",3,"click"],["svgIcon","copy",1,"icon-s"],["mat-icon-button","","matTooltip","Send feedback","aria-label","send feedback",1,"feedback-button","summary-feedback",3,"click"],["svgIcon","feedback-outline",1,"icon-s"],["mat-icon-button","","aria-label","thumb up",1,"feedback-button","summary-thumbs-up",3,"click","disabled"],["svgIcon","thumb_up_24px",1,"icon-s",3,"ngClass"],["mat-icon-button",
"","aria-label","thumb down",1,"feedback-button","summary-thumbs-down",3,"click","disabled"],["svgIcon","thumb_down_24px",1,"icon-s",3,"ngClass"],[1,"instructional"],["mat-icon-button","","matTooltip","Send feedback","aria-label","send feedback",1,"feedback-button",3,"click"],["svgIcon","feedback-outline"]],template:function(a,b){a&1&&(D(0,vdb,1,1),S(1,"async"),D(2,zdb,11,4,"ng-template",null,0,fh)(4,Edb,2,1,"ng-template",null,1,fh)(6,Hdb,2,1,"ng-template",null,2,fh)(8,Ldb,2,1,"ng-template",null,
3,fh));if(a&2){var c;G((c=U(1,1,b.stage$))?0:-1,c)}},dependencies:[Ew,Hw,$D,JO,vD,Xy,FH,HH,bO,SN,EP,Iw],styles:[".main-div[_ngcontent-%COMP%]{background-color:#edfbf1;background-color:var(--green-bg)}.summary-header[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.expand-button[_ngcontent-%COMP%]{margin-left:auto}.feedback-button[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;border-radius:24px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:1.75em;line-height:1.75em;padding:0 0 0 0;color:#3c4043;color:var(--gfx);min-width:20px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:8px}.feedback-button[_ngcontent-%COMP%]   .has-reacted-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.instructional[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}mat-icon[_ngcontent-%COMP%]{vertical-align:bottom}\n/*# sourceMappingURL=llm_summary.css.map */"]});var wY=function(){};wY.\u0275fac=function(a){return new (a||wY)};wY.\u0275mod=u({type:wY});wY.\u0275inj=p({imports:[RE,LO,JH,ML,LH,uR,TN,pR]});var xY=function(){};xY.\u0275fac=function(a){return new (a||xY)};xY.\u0275mod=u({type:xY});xY.\u0275inj=p({imports:[RE,JH,NN,wY,mR]});var yY=function(){};yY.\u0275fac=function(a){return new (a||yY)};yY.\u0275mod=u({type:yY});yY.\u0275inj=p({imports:[RE,hW,fW,aI,JH]});var zY=function(){};zY.\u0275fac=function(a){return new (a||zY)};zY.\u0275mod=u({type:zY});zY.\u0275inj=p({imports:[RE,JH,LH,NN,PN]});var AY=function(){this.LIMIT_INCREMENT=32;this.limit=8;this.emails=[]};AY.\u0275fac=function(a){return new (a||AY)};
AY.\u0275cmp=t({type:AY,selectors:[["avatar-bunch"]],inputs:{emails:"emails"},decls:4,vars:5,consts:[["size","medium",3,"email"],[1,"link-button","subtle-link",3,"title"],[1,"link-button","subtle-link",3,"click","title"]],template:function(a,b){a&1&&(tg(0,Mdb,1,1,"b-user-image",0,sg),S(2,"slice"),D(3,Odb,1,1));a&2&&(ug(nma(2,1,b.emails,b.limit)),C(3),G(b.emails.length-b.limit>0?3:-1))},dependencies:[wM,Pw],styles:["[_nghost-%COMP%]{display:block;margin-bottom:-8px}b-user-image[_ngcontent-%COMP%]{margin-right:8px;margin-bottom:8px}b-user-image.medium[_ngcontent-%COMP%]{width:24px}\n/*# sourceMappingURL=avatar_bunch.css.map */"]});var Pdb=function(){return[]},BY=function(){this.makeCritiqueUrl=V4a;this.submitted=[];this.pending=[]};BY.\u0275fac=function(a){return new (a||BY)};
BY.\u0275cmp=t({type:BY,selectors:[["cl-counts"]],inputs:{submitted:"submitted",pending:"pending"},decls:1,vars:1,consts:[[1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",1,"logo"],["target","_blank","title","Number of total CLs and pending CLs associated with all of these issues",1,"subtle-link",3,"href"],["target","_blank","title","Number of pending CLs associated with all of these issues",1,"subtle-link",
3,"href"]],template:function(a,b){a&1&&D(0,Rdb,7,3,"div",0);if(a&2){var c;G((c=b.submitted.length+b.pending.length)?0:-1,c)}},styles:["[_nghost-%COMP%] {\n      white-space: nowrap;\n    }\n    .logo[_ngcontent-%COMP%] {\n      width: 20px;\n    }\n    a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:focus {\n      color: var(--text-good)\n    }"],changeDetection:0});var eWc=function(){this.changes=[]};eWc.\u0275fac=function(a){return new (a||eWc)};eWc.\u0275cmp=t({type:eWc,selectors:[["gerrit-changes-count"]],inputs:{changes:"changes"},decls:5,vars:2,consts:[[1,"flex-kids-x","align-items-center"],["svgIcon","gerrit-logo",1,"icon-xs"]],template:function(a,b){a&1&&(I(0,"div",0),K(1,"mat-icon",1),Q(2," \u00a0 "),I(3,"p"),Q(4),J()());a&2&&(C(4),Ug("",b.changes.length," ",b.changes.length>1?"Gerrit changes":"Gerrit change",""))},dependencies:[$D],styles:["a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:focus {\n      color: var(--text-good);\n    }"]});var CY=function(){this.imageUrls=r(iO);this.LOGO_LIGHT=this.imageUrls.LOGO_LIGHT};ea.Object.defineProperties(CY.prototype,{ref:{configurable:!0,enumerable:!0,set:function(a){this.searchPageUrl=a?Z4a(a):void 0}}});CY.\u0275fac=function(a){return new (a||CY)};
CY.\u0275cmp=t({type:CY,selectors:[["issue-count"]],inputs:{ref:"ref",count:"count"},decls:5,vars:2,consts:[["title","Total issues in this area, in any status",1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","",1,"logo",3,"src"],[1,"subtle-link",3,"routerLink"]],template:function(a,b){a&1&&(I(0,"div",0),K(1,"img",1),Q(2," \u00a0 "),D(3,Tdb,1,1)(4,Udb,1,1),J());a&2&&(C(),F("src",b.LOGO_LIGHT,of),C(2),G(b.searchPageUrl?3:4))},dependencies:[JE],styles:["[_nghost-%COMP%] {\n      white-space: nowrap;\n    }\n    .logo[_ngcontent-%COMP%] {\n      width: 20px; \n\n      max-width: 20px; \n\n    }"],
changeDetection:0});var DY=function(){};DY.\u0275fac=function(a){return new (a||DY)};DY.\u0275mod=u({type:DY});DY.\u0275inj=p({imports:[RE,aP,QE,JH,BM]});var EY=function(){};EY.\u0275fac=function(a){return new (a||EY)};EY.\u0275mod=u({type:EY});EY.\u0275inj=p({providers:[xLc],imports:[yy]});var FY=function(){};FY.\u0275fac=function(a){return new (a||FY)};FY.\u0275mod=u({type:FY});FY.\u0275inj=p({imports:[tx,RK,YD,RE,Qz,JH,EY,aS,aP,LH,DY,Rz,tV,UR,MH,VR,QI,LO,cQ,BM,IR,$M]});var GY=function(){};GY.\u0275fac=function(a){return new (a||GY)};GY.\u0275mod=u({type:GY});GY.\u0275inj=p({imports:[RE,FY,LO]});var HY=function(){};HY.\u0275fac=function(a){return new (a||HY)};HY.\u0275mod=u({type:HY});HY.\u0275inj=p({imports:[RE,JH]});var IY=function(){};IY.\u0275fac=function(a){return new (a||IY)};IY.\u0275mod=u({type:IY});IY.\u0275inj=p({imports:[gM,RE,pR,xY,uY,HY,JH,LH,hW,oY,yY,PR,IR,zY,MM,gY,GY,hY,BM]});var beb=Date.now(),JY=function(){var a=this;this.issueFridge=r(OF);this.router=r(HE);this.ROUTES=tq;this.phaseToUrlSlug=Wt;this.FETCH_SIZE=500;this.teamId$=new If(1);this.phase$=new bo("NEW");this.heading$=this.phase$.pipe(B(function(b){return M7b.get(b)}));this.searchFilter$=Me([this.teamId$,this.phase$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return"teamid:"+b+"+ "+N7b[c]}));this.issues$=this.searchFilter$.pipe(Nf(function(b){return a.issueFridge.watchMany({filter:b,pageSize:500})}),
B(function(b){return b.results}));this.daysOld$=this.issues$.pipe(B(function(b){return b.map(function(c){var d,e;return(e=(d=c.aggregatedData)==null?void 0:d.modifiedTimeMicros)!=null?e:0})}),B(function(b){return b.map(ceb)}));this.avgAge$=this.daysOld$.pipe(B(Ita),B(function(b){return Math.round(b*10)/10}));this.countsByDaysOld$=this.daysOld$.pipe(B(function(b){var c=b.map(function(e){return Math.floor(e)});b=[];c=k(c);for(var d=c.next();!d.done;d=c.next())d=d.value,b[d]=~~b[d]+1;return Array.from(b,
function(e){return e!=null?e:0}).reverse()}));this.ratioDaysOld$=this.countsByDaysOld$.pipe(B(function(b){var c=Math.max.apply(Math,w(b));return b.map(function(d){return d/c})}))};ea.Object.defineProperties(JY.prototype,{teamId:{configurable:!0,enumerable:!0,set:function(a){this.teamId$.next(a)}},phase:{configurable:!0,enumerable:!0,set:function(a){this.phase$.next(a)}}});JY.\u0275fac=function(a){return new (a||JY)};
JY.\u0275cmp=t({type:JY,selectors:[["phase-card-contents"]],inputs:{teamId:"teamId",phase:"phase"},decls:19,vars:12,consts:[[1,"flex-kids-x"],[1,"flex-kids-x","margin-s-bottom"],[1,"padded-s-y","padded-right","border-right"],[1,"type-s","muted"],[1,"type-l"],[1,"padded-s-y","padded-sides"],[1,"bar-chart"],[1,"heading-s","subtle-link","align-self-center",3,"href"],["mat-button","","color","primary margin-left-auto","title","View issues",3,"click"],["svgIcon","arrow-forward","iconPositionEnd",""],[3,
"title","style"],[3,"title"]],template:function(a,b){a&1&&(D(0,Wdb,7,4,"div",0),S(1,"async"),I(2,"div",1)(3,"div",2)(4,"p",3),Q(5,"Total Issues"),J(),I(6,"p",4),D(7,Xdb,1,2),S(8,"async"),D(9,Ydb,1,0),J()(),I(10,"div",5)(11,"p",3),Q(12,"Avg Last Modified"),J(),I(13,"p",4),Q(14),S(15,"async"),J()()(),I(16,"div",6),D(17,aeb,2,3),S(18,"async"),J());if(a&2){var c,d,e;G((c=U(1,4,b.teamId$))?0:-1,c);C(7);G((d=U(8,6,b.issues$))?7:9,d);C(7);R(" ",U(15,8,b.avgAge$)," days ");C(3);G((e=U(18,10,b.countsByDaysOld$))?
17:-1,e)}},dependencies:[$D,vD,Vy,Iw],styles:["[_nghost-%COMP%]{overflow:auto}.bar-chart[_ngcontent-%COMP%]{margin:0;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;-moz-box-align:end;-ms-flex-align:end;align-items:flex-end;gap:1px;height:96px}.bar-chart[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary);min-height:1px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1}\n/*# sourceMappingURL=phase_card_contents.css.map */"]});var fWc=/^\s*(?:hotlistid|h):(\d+)\s*$/i,gWc=/(?:\s|^)(?:componentid|c):(\d+)\s*/i,hWc=/^\s*savedsearchid:(\d+)\s*$/i,KY=function(){Z.call(this);var a=this;this.$log=r(iE);this.activeSession=r(dv);this.contextSensitiveRegistry=r(WL);this.analytics=r(wG);this.currentQuery="";this.currentTrackerScope=[];this.queryState$=new bo({query:"",cursorPosition:void 0,setViaInteraction:!1});this.currentTrackerIdList$=Re(function(){var b;return Fe((b=a.activeSession.getTracker())==null?void 0:b.trackerId)}).pipe(B(function(b){return b?
[b]:[]}));this.selectedTrackerIds$=new Jf;this.trackerScope$=Xe(this.currentTrackerIdList$,this.selectedTrackerIds$);this.searchHandlerStack=[];this.searchTriggered$=new Jf;this.subscriptions.add(this.queryState$.pipe(Of(this.destroyed$)).subscribe(function(b){a.currentQuery=b.query;(b=a.currentQuery.match(gWc))?a.contextSensitiveRegistry.componentIdOverride$.next(Number(b[1])):a.contextSensitiveRegistry.componentIdOverride$.next(null);(b=a.currentQuery.match(fWc))?a.contextSensitiveRegistry.hotlistIdOverride$.next(Number(b[1])):
a.contextSensitiveRegistry.hotlistIdOverride$.next(null)}));this.subscriptions.add(this.trackerScope$.pipe(Of(this.destroyed$)).subscribe(function(b){a.currentTrackerScope=b}))};Y(KY,Z);KY.\u0275dir=Z.\u0275dir;KY.prototype.clear=function(){LY(this,"")};var LY=function(a,b){a.queryState$.next({query:b,cursorPosition:void 0,setViaInteraction:!1})},iWc=function(a){return"assignee:"+a+" status:open"},jWc=function(a,b){return a.currentQuery===iWc("me")||a.currentQuery===iWc(b===void 0?"":b)};
KY.prototype.getStarred=function(){return"star:true"};KY.prototype.isStarred=function(){return this.currentQuery===this.getStarred()};var kWc=function(a){return"verifier:"+a+" status:open | status:fixed"},lWc=function(a){return(a=a.currentQuery.match(fWc))?Number(a[1]):0},mWc=function(a){return(a=a.currentQuery.match(hWc))?Number(a[1]):0},nWc=function(a){return(a=a.currentQuery.match(gWc))?Number(a[1]):0};KY.prototype.track=function(a,b,c){this.analytics.trackEvent("global-search",a,b,c)};
var oWc=function(a,b){a.searchHandlerStack.push(b);return function(){Sa(a.searchHandlerStack,b)}};KY.\u0275fac=function(a){return new (a||KY)};KY.\u0275prov=n({token:KY,factory:KY.\u0275fac,providedIn:"root"});var MY=function(){var a=this;this.activatedRoute=r(ao);this.appSearchState=r(KY);this.teamFridge=r(qH);this.ROUTES=tq;this.TriagePhase=x7b;this.id$=this.activatedRoute.params.pipe(B(function(b){return b.teamId}));this.team$=this.id$.pipe(Nf(function(b){return a.teamFridge.watch(b)}));this.query$=this.id$.pipe(B(function(b){return"teamid:"+b+"+"}))};MY.prototype.ngOnInit=function(){var a=this;setTimeout(function(){a.appSearchState.clear()})};MY.\u0275fac=function(a){return new (a||MY)};
MY.\u0275cmp=t({type:MY,selectors:[["triage-dashboard"]],decls:13,vars:9,consts:[[1,"pos-fill","overflow","overflow-on-print-media"],[1,"border-bottom","padded-s-sides"],[1,"left","flex-kids-x","align-items-center","gap-s"],["mat-icon-button","","aria-label","Back to Triage",1,"medium",3,"href"],["color","primary","svgIcon","arrow-backward",1,"icon-m","back-btn"],[3,"title"],[1,"muted"],[1,"main-content","padded","grid"],[1,"carded","bg-off-main",3,"phase","teamId"]],template:function(a,b){a&1&&(I(0,
"div",0)(1,"header",1)(2,"div",2)(3,"a",3),S(4,"async"),K(5,"mat-icon",4),J(),I(6,"h2"),Q(7," Dashboard: "),D(8,geb,2,2,"span",5),S(9,"async"),D(10,heb,3,3,"code",6),J()()(),D(11,ieb,6,10,"div",7),S(12,"async"),J());if(a&2){var c,d;C(3);F("href",b.ROUTES.viewTriage.makeHref(U(4,3,b.id$)),of);C(5);G((c=U(9,5,b.team$))?8:10,c);C(3);G((d=U(12,7,b.id$))?11:-1,d)}},dependencies:[$D,vD,Yy,JY,Iw],styles:["[_nghost-%COMP%]{display:block;padding:16px}.grid[_ngcontent-%COMP%]{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}@media (min-width:1100px){.grid[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:1500px){.grid[_ngcontent-%COMP%]{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:2200px){.grid[_ngcontent-%COMP%]{grid-template-columns:repeat(5,minmax(0,1fr))}}.screen-logo-icon[_ngcontent-%COMP%]{width:40px}.phase-card[_ngcontent-%COMP%]{min-height:200px}a.mat-mdc-icon-button[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}\n/*# sourceMappingURL=triage_dashboard.css.map */"]});var pWc="comment priority status assignee self-assign self-unassign unassign".split(" "),qWc=["create"],NY=function(){this.paths=r(zO);this.issueFullFridge=r(yG);this.toIssuePriority=Ni;this.getResponsibleEmailAddress=neb;this.getChangelistNumber=jeb;this.getLink=keb;this.getPreviousDiffValue=oeb;this.getNewDiffValue=meb;this.shorthandAllDiffs=leb;this.getClMetadata=Yt;this.isCritiqueComment=dl;this.isFullGerritComment=el;this.STATUS_CODE_FROM_DISPLAY_STRING=R7b;this.type="default"};
NY.prototype.ngOnInit=function(){this.type=peb(this.event)};NY.\u0275fac=function(a){return new (a||NY)};
NY.\u0275cmp=t({type:NY,selectors:[["recent-event-row"]],inputs:{event:"event"},decls:15,vars:5,consts:[[3,"ldapOnly","email"],[3,"href","issueId"],["mode","relativepast",3,"timestamp"],[3,"id"],["target","_blank",3,"href"],[1,"cl-title","muted",3,"title"],[3,"issuePriority"],[1,"status-update","muted",3,"title"],[3,"title"],[1,"comment-text","muted",3,"title"],[1,"issue-title","muted",3,"title"]],template:function(a,b){a&1&&(K(0,"b-user-email",0),D(1,qeb,4,4)(2,ueb,5,4)(3,veb,4,4)(4,web,6,5)(5,yeb,
4,5)(6,Aeb,5,5)(7,Beb,6,6)(8,Ceb,4,4)(9,Deb,4,4)(10,Eeb,6,6)(11,Feb,5,4)(12,Geb,5,5)(13,Ieb,1,1)(14,Keb,1,1));if(a&2){var c;F("ldapOnly",!0)("email",b.getResponsibleEmailAddress(b.event));C();G((c=b.type)==="create"?1:c==="changelist"?2:c==="comment"?3:c==="priority"?4:c==="status"?5:c==="statusUpdate"?6:c==="assignee"?7:c==="self-assign"?8:c==="self-unassign"?9:c==="unassign"?10:c==="component"?11:12);C(12);G(pWc.includes(b.type)?13:-1);C();G(qWc.includes(b.type)?14:-1)}},dependencies:[xM,VM,BP,
pP,muc],styles:["[_nghost-%COMP%]{display:block;min-height:20px;padding:2px 0;font-size:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}b-user-email[_ngcontent-%COMP%]{font-weight:500}[_nghost-%COMP%]     .cl-link{color:#1e8e3e;color:var(--good-link)}"],changeDetection:0});var OY=function(){Z.apply(this,arguments);var a=this;this.recentEventsForIssuesFridge=r(aH);this.quickFilter=new Az("");this.printStats=Yeb;this.defaultNumEvents=6;this.numDisplayed$=new bo(this.defaultNumEvents);this.query$=new If(1);this.renderDelay$=Fe(!0).pipe(Df(1E3));this.allEvents$=this.query$.pipe(Ye(kj),Of(this.destroyed$),B(function(b){return[b,100].join("___")}),Nf(function(b){return a.recentEventsForIssuesFridge.watch(b)}),B(function(b){var c;return(c=b==null?void 0:b.events)!=null?c:
[]}));this.events$=Me([this.allEvents$,this.quickFilter.valueChanges.pipe(Mf(""))]).pipe(B(function(b){var c=k(b);b=c.next().value;b=b===void 0?[]:b;c=c.next().value;return b.filter(Xeb(c))}));this.bucketedEvents$=Me([this.events$,this.numDisplayed$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b.slice(0,c)}),B(Zeb));this.allBucketedEvents$=this.events$.pipe(B(Zeb));this.bucketedEventStats$=this.allBucketedEvents$.pipe(B(function(b){return{"<24h":$eb("<24h",b),"24h-7d":$eb("24h-7d",
b),"7d-30d":$eb("7d-30d",b),">30d":$eb(">30d",b)}}))};Y(OY,Z);OY.\u0275dir=Z.\u0275dir;ea.Object.defineProperties(OY.prototype,{numEvents:{configurable:!0,enumerable:!0,set:function(a){var b;a=(b=a)!=null?b:6;this.numDisplayed$.next(a);this.defaultNumEvents=a}},query:{configurable:!0,enumerable:!0,set:function(a){a!=null&&this.query$.next(a)}}});OY.\u0275fac=function(){var a;return function(b){return(a||(a=de(OY)))(b||OY)}}();
OY.\u0275cmp=t({type:OY,selectors:[["recent-events"]],inputs:{numEvents:"numEvents",query:"query"},features:[cg],decls:2,vars:3,consts:[[1,"heading-xs","margin-bottom"],["type","search","placeholder","filter","aria-label","filter recent activity",1,"margin-s-left","subtle","b-input-style",3,"formControl"],[1,"link-button","margin-s-top"],[1,"muted","bold","margin-s-bottom"],[3,"event"],[1,"muted","bold","margin-s-bottom","margin-top"],[1,"link-button","margin-s-top",3,"click"]],template:function(a,
b){a&1&&(D(0,Web,5,4),S(1,"async"));a&2&&G(U(1,1,b.renderDelay$)?0:-1)},dependencies:[ki,tz,Gz,NY,Iw],styles:["[_nghost-%COMP%]{display:block}input[type=search].subtle[_ngcontent-%COMP%]{vertical-align:baseline;width:80px;-webkit-transition:width .2s ease-out;transition:width .2s ease-out}input[type=search].subtle[_ngcontent-%COMP%]:focus{width:140px}.ai-summary[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg)}.ai-summary[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin-top:0}.ai-summary[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]   .muted[_ngcontent-%COMP%]{font-weight:400}.ai-summary[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:middle}"],
changeDetection:0});var PY=function(){};PY.\u0275fac=function(a){return new (a||PY)};PY.\u0275mod=u({type:PY});PY.\u0275inj=p({imports:[Rz,Qz,RE,BM,$M,pR,IR,aN]});var cfb=function(a,b){return b.searchId},QY=function(){Z.apply(this,arguments);this.dialogRef=r(dL);this.currentUserBookmarksFridge=r(rF);this.selectedIds=new Set;this.savedSearches$=Bcc(this.currentUserBookmarksFridge)};Y(QY,Z);QY.\u0275dir=Z.\u0275dir;QY.prototype.onChangeMatList=function(a){var b=this;a.options.forEach(function(c){c.selected?b.selectedIds.add(c.value):b.selectedIds.delete(c.value)})};QY.prototype.onSave=function(){var a=[].concat(w(this.selectedIds)).map(String);this.dialogRef.close(a)};
QY.prototype.onCancel=function(){this.dialogRef.close()};QY.\u0275fac=function(){var a;return function(b){return(a||(a=de(QY)))(b||QY)}}();
QY.\u0275cmp=t({type:QY,selectors:[["saved-search-picker-dialog"]],features:[cg],decls:10,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["aria-label","Add a Saved Search"],["mat-dialog-actions",""],["mat-button","",1,"medium","cancel",3,"click"],["mat-flat-button","","color","primary","data-test","save",1,"medium",3,"click","disabled"],["aria-label","Add a Saved Search",3,"selectionChange"],["checkboxPosition","before",3,"selected","value","height"],["checkboxPosition","before",
3,"selected","value"],[1,"savedsearch-name","type-m","flex-kids-x","align-items-center"],[1,"overflow-ellipsis"],[1,"line-clamp-2","muted","type-s"]],template:function(a,b){a&1&&(I(0,"header",0),Q(1," Add a Saved Search "),J(),I(2,"div",1),D(3,dfb,3,0,"mat-selection-list",2),S(4,"async"),J(),I(5,"div",3)(6,"button",4),M("click",function(){return b.onCancel()}),Q(7," Cancel "),J(),I(8,"button",5),M("click",function(){return b.onSave()}),Q(9),J()());if(a&2){var c;C(3);G((c=U(4,3,b.savedSearches$))?
3:-1,c);C(5);F("disabled",b.selectedIds.size===0);C();R(" Save ",b.selectedIds.size>1?"("+b.selectedIds.size+")":""," ")}},dependencies:[vD,Vy,nL,pL,oL,cN,jN,iN,Iw],styles:["[_nghost-%COMP%]     .mat-mdc-dialog-title{margin-bottom:8px}.mat-mdc-dialog-content[_ngcontent-%COMP%]{width:500px;padding:0}\n/*# sourceMappingURL=saved_search_picker_dialog.css.map */"]});var RY=function(){};RY.\u0275fac=function(a){return new (a||RY)};RY.\u0275mod=u({type:RY});RY.\u0275inj=p({imports:[RE,JH,ML,LH,yN,nN,Qz,Rz,gM,JH,wN,HR,VK]});var SY=function(){this.dialog=r(kL)};SY.prototype.open=function(a){var b=this,c={panelClass:"no-jitter"};return new Promise(function(d){eL(b.dialog.open(QY,c)).subscribe(function(e){e=e===void 0?[]:e;a==null||a(e);d(e)})})};SY.\u0275fac=function(a){return new (a||SY)};SY.\u0275prov=n({token:SY,factory:SY.\u0275fac,providedIn:"root"});var rWc=function(){return[]},TY=function(){Z.apply(this,arguments);var a=this;this.issueFridge=r(OF);this.changelistFridge=r(lC);this.activeSession=r(dv);this.query$=new If(1);this.issues$=this.query$.pipe(Nf(function(b){return a.issueFridge.watchMany(b)}),B(function(b){return b.results}));this.emails$=this.issues$.pipe(B(function(b){return b.map(Nta).filter(kj)}),B(Dta));this.submittedClLinks$=this.issues$.pipe(B(function(b){return b.flatMap(function(c){var d,e,f;return(f=(d=c.snapshot)==null?void 0:
(e=d[0])==null?void 0:e.changelist)!=null?f:[]})}));this.pendingCls$=this.issues$.pipe(B(function(b){return b.map(function(c){return c.issueId})}),Nf(function(b){return a.changelistFridge.watchMany({pendingForIssues:b})}),B(function(b){return b.results}))};Y(TY,Z);TY.\u0275dir=Z.\u0275dir;TY.prototype.getHotlistId=function(){if(Cr(this.ref)==="hotlist")return Br(this.ref)};ea.Object.defineProperties(TY.prototype,{query:{configurable:!0,enumerable:!0,set:function(a){a!=null&&this.query$.next(a)}}});
TY.\u0275fac=function(){var a;return function(b){return(a||(a=de(TY)))(b||TY)}}();
TY.\u0275cmp=t({type:TY,selectors:[["rollups-list"]],inputs:{ref:"ref",query:"query"},features:[cg],decls:11,vars:16,consts:[[1,"flex-kids-x","align-items-center"],[1,"flex-kids-x","align-items-center","dividers-between"],[3,"ref","count"],[3,"submitted","pending"],[3,"emails"],[1,"shrink-0","margin-left-auto"],["mat-stroked-button","","target","_blank",1,"small","pop-out-link",3,"href"],["svgIcon","pop-out",1,"icon-xs"]],template:function(a,b){a&1&&(I(0,"section",0)(1,"div",1),K(2,"issue-count",
2),S(3,"async"),K(4,"cl-counts",3),S(5,"async"),S(6,"async"),D(7,efb,1,1,"avatar-bunch",4),S(8,"async"),J(),I(9,"div",5),D(10,ffb,3,1,"a",6),J()());if(a&2){var c,d,e,f,h;C(2);F("ref",b.ref)("count",(c=U(3,6,b.issues$))==null?null:c.length);C(2);F("submitted",(d=U(5,8,b.submittedClLinks$))!==null&&d!==void 0?d:ah(14,rWc))("pending",(e=U(6,10,b.pendingCls$))!==null&&e!==void 0?e:ah(15,rWc));C(3);G((f=U(8,12,b.emails$))?7:-1,f);C(3);a:{if(Kk(b.activeSession.session)&&(a=b.getHotlistId(),a!=null)){a=
"https://taskflow.corp.google.com/hotlists/"+a;break a}a=void 0}G((h=a)?10:-1,h)}},dependencies:[$D,vD,Wy,AY,BY,CY,Iw],styles:["[_nghost-%COMP%]{display:block}.dividers-between[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding-right:16px;margin-right:16px;border-right:1px solid;border-right-color:#dadce0;border-right-color:var(--divider)}.dividers-between[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:empty, .dividers-between[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{border-right:none;padding-right:0;margin-right:0}\n/*# sourceMappingURL=rollups_list.css.map */"],
changeDetection:0});var hfb=function(){return[]},UY=function(){Z.call(this);var a=this;this.issueRelationshipsFridge=r(KG);this.metadataFridge=r($B);this.issueFullFridge=r(yG);this.changelistFridge=r(lC);this.id$=new If(1);this.issue$=this.id$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}));this.metadata$=this.id$.pipe(Nf(function(b){return a.metadataFridge.watch(b)}));this.closedAndTotal$=this.metadata$.pipe(B(uua));this.metadata$.pipe(B(wua));this.gerritChanges$=this.metadata$.pipe(B(xua));this.emails$=this.metadata$.pipe(B(yua));
this.pendingCls$=Me([this.id$,this.metadata$]).pipe(Nf(function(b){var c=k(b);b=c.next().value;c=c.next().value;var d;c=(d=c==null?void 0:c.issueIds)!=null?d:[];d=[b].concat(w(c));return a.changelistFridge.watchMany({pendingForIssues:d})}),B(function(b){return b.results}));this.subscriptions.add(Xe(this.issueRelationshipsFridge.memoryWasSet$,this.issueRelationshipsFridge.collectiveMemoryWasSet$,this.issueFullFridge.memoryWasSet$,this.issueFullFridge.collectiveMemoryWasSet$).pipe(yf(this.id$),Af(2E3)).subscribe(function(b){return void a.metadataFridge.poke(b[1])}))};
Y(UY,Z);UY.\u0275dir=Z.\u0275dir;ea.Object.defineProperties(UY.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});UY.\u0275fac=function(a){return new (a||UY)};
UY.\u0275cmp=t({type:UY,selectors:[["rollups-project"]],inputs:{id:"id"},features:[cg],decls:11,vars:15,consts:[[1,"flex-kids-x","align-items-center","dividers-between"],[3,"closed","total"],[3,"issue"],[3,"submitted","pending"],[3,"changes"],[3,"emails"]],template:function(a,b){a&1&&(I(0,"section",0),D(1,gfb,1,2,"progress-pie",1),S(2,"async"),K(3,"issue-timeframe",2),S(4,"async"),D(5,ifb,2,5,"cl-counts",3),S(6,"async"),D(7,kfb,1,1),S(8,"async"),D(9,mfb,1,1),S(10,"async"),J());if(a&2){var c,d,e,f;
C();G((c=U(2,5,b.closedAndTotal$))?1:-1,c);C(2);F("issue",U(4,7,b.issue$));C(2);G((d=U(6,9,b.metadata$))?5:-1,d);C(2);G((e=U(8,11,b.gerritChanges$))?7:-1,e);C(2);G((f=U(10,13,b.emails$))?9:-1,f)}},dependencies:[AY,BY,QV,PV,eWc,Iw],styles:["[_nghost-%COMP%]{display:block}.dividers-between[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding-right:16px;margin-right:16px;border-right:1px solid;border-right-color:#dadce0;border-right-color:var(--divider)}.dividers-between[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:empty, .dividers-between[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{border-right:none;padding-right:0;margin-right:0}\n/*# sourceMappingURL=rollups_project.css.map */"],
changeDetection:0});var sWc=(new fM).transform,VY=function(){this.kansasPrefsManager=r(yH);this.destroyed$=new If(1);this.prefs$=this.kansasPrefsManager.preferences$.pipe(B(function(a){var b;return(b=a==null?void 0:a.missionControlPreferences)!=null?b:{}}));this.prefsSubject$=Wo(this.prefs$.pipe(Of(this.destroyed$)),{});this.myTasksSources$=this.prefs$.pipe(B(function(a){var b,c=(b=a==null?void 0:a.myTasksSources)!=null?b:[];a=a==null?void 0:a.isMyTasksSourcesConfigured;return c.length!==0||a?c.map(ofb):[].concat(w(nLc))}));
this.needsAttentionSources$=this.prefs$.pipe(B(function(a){var b,c=(b=a==null?void 0:a.needsAttentionSources)!=null?b:[];a=a==null?void 0:a.isNeedsAttentionSourcesConfigured;return c.length!==0||a?c.map(ofb):[].concat(w(mLc))}));this.needsAttentionTimeBoundary$=this.prefs$.pipe(B(function(a){var b;return(b=a==null?void 0:a.needsAttentionDaysOld)!=null?b:30}))};VY.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var eu=function(a,b){a.kansasPrefsManager.save({missionControlPreferences:Object.assign({},a.prefs,b)}).subscribe()},Ghb=function(a,b,c){switch(b){case "mc-my-tasks":a.prefs.myTasksTab=c;eu(a,{myTasksTab:c});break;case "work-areas-wrapper-card":a.prefs.workAreaTab=c;eu(a,{workAreaTab:c});break;default:console.error("unhandled tab key, cannot save preference")}};
VY.prototype.toggleCollapsed=function(a){var b;this.prefs.collapsed=(b=this.prefs.collapsed)!=null?b:{};this.prefs.collapsed[a]=!this.prefs.collapsed[a];eu(this,{collapsed:this.prefs.collapsed})};VY.prototype.isCollapsed=function(a){var b;return!((b=this.prefs.collapsed)==null||!b[a])};var tWc=function(a,b){switch(b){case "mc-my-tasks":return a.prefs.myTasksTab;case "work-areas-wrapper-card":return a.prefs.workAreaTab;default:console.error("unhandled tab key, cannot get preference")}};
VY.prototype.getMyTasksSources=function(){var a,b=(a=this.prefs.myTasksSources)!=null?a:[];a=this.prefs.isMyTasksSourcesConfigured;return b.length!==0||a?b.map(ofb):[].concat(w(nLc))};var uWc=function(a,b){var c;(a=(c=a.prefs.workAreaQuickFilters)==null?void 0:c[b])?(a==="UNKNOWN_KEY"&&console.error("an UNKNOWN QuickIssueFilterKey snuck in"),b=[a]):b=[];return b};VY.prototype.addHotlist=function(a){WY(this,zr(a))};VY.prototype.hasHotlist=function(a){return a==null?!1:vWc(this,zr(a))};
VY.prototype.hasSavedSearch=function(a){return a==null?!1:vWc(this,Ar(a))};
var vWc=function(a,b){var c;return((c=a.prefs.workAreaUrls)!=null?c:[]).indexOf(b)>=0},WY=function(a,b){typeof b==="string"&&(b=[b]);if(b!=null&&b.length!==0){var c,d=(c=a.prefs.workAreaUrls)!=null?c:[];d=zta(b,d);eu(a,{workAreaUrls:d})}},Chb=function(a,b,c){var d,e=((d=a.prefs.workAreaUrls)!=null?d:[]).slice();sWc(b,e,c)?console.info('Cannot move "'+b+'" by '+c+". peers: ["+e+"]"):(d=e.indexOf(b),e[d]=e[d+c],e[d+c]=b,eu(a,{workAreaUrls:e}))};
ea.Object.defineProperties(VY.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.prefsSubject$.value}}});VY.\u0275fac=function(a){return new (a||VY)};VY.\u0275prov=n({token:VY,factory:VY.\u0275fac,providedIn:"root"});var XY=function(){this.issueFridge=r(OF);this.candidateIssues$=this.issueFridge.watchMany(pLc);this.suggestions$=this.candidateIssues$.pipe(B(b5a))};XY.\u0275fac=function(a){return new (a||XY)};XY.\u0275prov=n({token:XY,factory:XY.\u0275fac,providedIn:"root"});var wWc=function(){this.dataStore=new Map};wWc.prototype.getKeys=function(){return Array.from(this.dataStore.keys())};var xWc=function(a,b){for(a.dataStore.has(b)&&a.dataStore.delete(b);a.dataStore.size>=50;)a.dataStore.delete(a.dataStore.keys().next().value);a.dataStore.set(b,void 0)},yWc=function(a,b){var c;b=(c=b==null?void 0:b.split(","))!=null?c:[];a.dataStore.clear();c=k(b);for(b=c.next();!b.done;b=c.next())a.dataStore.set(b.value,void 0)};var YY=function(){var a=this;this.prefsService=r(VY);this.isNumeric=Xt;this.isActive=function(){return zWc(a,a.prefsService.prefs,a.filter.key)};this.active$=this.prefsService.prefs$.pipe(B(function(b){var c;return zWc(a,b,(c=a.filter)==null?void 0:c.key)}))};
YY.prototype.onClick=function(){var a=!this.isActive();if(this.prefKey!=null){var b=this.prefsService,c=this.prefKey;a=a?this.filter.key:void 0;var d;b.prefs.workAreaQuickFilters=(d=b.prefs.workAreaQuickFilters)!=null?d:{};a?b.prefs.workAreaQuickFilters[c]=a:delete b.prefs.workAreaQuickFilters[c];eu(b,{workAreaQuickFilters:b.prefs.workAreaQuickFilters})}};YY.prototype.isDisabled=function(){return String(this.countDisplay)==="0"&&!this.isActive()};
var zWc=function(a,b,c){if(b==null||a.prefKey==null)return!1;var d;return((d=b.workAreaQuickFilters)==null?void 0:d[a.prefKey])===c};
ea.Object.defineProperties(YY.prototype,{metadata:{configurable:!0,enumerable:!0,set:function(a){this.metadataInternal=a;if(a!=null)if(this.filter.key==="OPEN"){if(a==null)var b=0;else{b=0;a=k(a.aggregatedStatus);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.issueIds===void 0?[]:c.issueIds,e=void 0;if((e=$k[c.status])==null?0:e.open)b+=d.length}}this.countDisplay=b}else if(this.filter.key==="BROAD_IN_PROGRESS")b=vua(a,"ASSIGNED"),a=vua(a,"ACCEPTED"),this.countDisplay=b+a;else throw Error("Tf`"+
this.filter.key);},get:function(){return this.metadataInternal}},key:{configurable:!0,enumerable:!0,set:function(a){this.filter=Dr[a]}},computeCountFor:{configurable:!0,enumerable:!0,set:function(a){if(a==null)this.countDisplay="-";else{var b,c,d=(c=Dr[(b=this.filter)==null?void 0:b.key])==null?void 0:c.check;this.countDisplay=a.filter(d).length}}}});YY.\u0275fac=function(a){return new (a||YY)};
YY.\u0275cmp=t({type:YY,selectors:[["qif-stat"]],hostBindings:function(a,b){a&1&&M("click",function(){return b.onClick()})},inputs:{metadata:"metadata",key:"key",prefKey:"prefKey",computeCountFor:"computeCountFor"},decls:5,vars:7,consts:[[1,"unstyled-button","stat-card",3,"title"],[1,"big-number",3,"muted"],[1,"big-number"]],template:function(a,b){a&1&&(I(0,"button",0),S(1,"async"),I(2,"label"),Q(3),J(),D(4,pfb,2,3,"div",1),J());if(a&2){var c;F("title",(c=b.filter.tooltip)!==null&&c!==void 0?c:"");
eg("aria-pressed",U(1,5,b.active$))("disabled",b.isDisabled()?"true":null);C(3);Tg(b.filter.displayAs);C();G(b.metadata||b.countDisplay!==void 0?4:-1)}},dependencies:[Iw],styles:["[_nghost-%COMP%], label[_ngcontent-%COMP%]{display:block}.big-number[_ngcontent-%COMP%]{font-size:1.5rem;line-height:1;margin-top:4px;color:#1a73e8;color:var(--text-primary)}.big-number.muted[_ngcontent-%COMP%]{color:#80868b;color:var(--gfx-muted)}button.stat-card[_ngcontent-%COMP%]{border-radius:4px;border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:8px 16px;cursor:pointer}button.stat-card[_ngcontent-%COMP%]:focus-visible, button.stat-card[_ngcontent-%COMP%]:hover{box-shadow:0 0 0 1px #1a73e8;box-shadow:0 0 0 1px var(--primary)}button.stat-card[aria-pressed=true][_ngcontent-%COMP%]{background-color:#e8f0fe;background-color:var(--primary-c50);border-color:#1a73e8;border-color:var(--primary)}button.stat-card[aria-pressed=true][_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}button.stat-card[disabled][_ngcontent-%COMP%]{cursor:default;background-color:#f8f9fa;background-color:var(--c50);border-color:transparent;box-shadow:none}button.stat-card[disabled][_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}\n/*# sourceMappingURL=qif_stat.css.map */"],
changeDetection:0});var ZY=function(){};ZY.\u0275fac=function(a){return new (a||ZY)};ZY.\u0275mod=u({type:ZY});ZY.\u0275inj=p({imports:[RE,aP,QE,JH]});var $Y=function(){var a=this;this.issueFridge=r(OF);this.query$=new If(1);this.issues$=this.query$.pipe(Nf(function(b){return a.issueFridge.watchMany(b)}),B(function(b){return b.results}))};ea.Object.defineProperties($Y.prototype,{query:{configurable:!0,enumerable:!0,set:function(a){a!=null&&this.query$.next(a)}}});$Y.\u0275fac=function(a){return new (a||$Y)};
$Y.\u0275cmp=t({type:$Y,selectors:[["stat-cards-list"]],inputs:{prefKey:"prefKey",query:"query"},decls:17,vars:32,consts:[[1,"flex-kids-x","gap"],["key","OPEN",3,"prefKey","computeCountFor"],["key","BROAD_IN_PROGRESS",3,"prefKey","computeCountFor"],["key","ASSIGNED_TO_ME",3,"prefKey","computeCountFor"],["key","NEWLY_FILED",3,"prefKey","computeCountFor"],["key","RECENTLY_ACTIVE",3,"prefKey","computeCountFor"],["key","HIGH_PRIORITY",3,"prefKey","computeCountFor"],["key","TRENDING",3,"prefKey","computeCountFor"],
["key","PROGRESS",3,"prefKey","computeCountFor"]],template:function(a,b){a&1&&(I(0,"div",0),K(1,"qif-stat",1),S(2,"async"),K(3,"qif-stat",2),S(4,"async"),K(5,"qif-stat",3),S(6,"async"),K(7,"qif-stat",4),S(8,"async"),K(9,"qif-stat",5),S(10,"async"),K(11,"qif-stat",6),S(12,"async"),K(13,"qif-stat",7),S(14,"async"),K(15,"qif-stat",8),S(16,"async"),J());a&2&&(C(),F("prefKey",b.prefKey)("computeCountFor",U(2,16,b.issues$)),C(2),F("prefKey",b.prefKey)("computeCountFor",U(4,18,b.issues$)),C(2),F("prefKey",
b.prefKey)("computeCountFor",U(6,20,b.issues$)),C(2),F("prefKey",b.prefKey)("computeCountFor",U(8,22,b.issues$)),C(2),F("prefKey",b.prefKey)("computeCountFor",U(10,24,b.issues$)),C(2),F("prefKey",b.prefKey)("computeCountFor",U(12,26,b.issues$)),C(2),F("prefKey",b.prefKey)("computeCountFor",U(14,28,b.issues$)),C(2),F("prefKey",b.prefKey)("computeCountFor",U(16,30,b.issues$)))},dependencies:[YY,Iw],styles:["[_nghost-%COMP%]{display:block;padding-left:1px}\n/*# sourceMappingURL=stat_cards_list.css.map */"],
changeDetection:0});var aZ=function(){var a=this;this.metadataFridge=r($B);this.id$=new If(1);this.metadata$=this.id$.pipe(Nf(function(b){return a.metadataFridge.watch(b)}));this.hasDescendants$=this.metadata$.pipe(B(function(b){var c;return((c=b==null?void 0:b.descendantCount)!=null?c:0)>0}))};ea.Object.defineProperties(aZ.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a);this.idInternal=a},get:function(){return this.idInternal}}});aZ.\u0275fac=function(a){return new (a||aZ)};
aZ.\u0275cmp=t({type:aZ,selectors:[["stat-cards-project"]],inputs:{id:"id"},decls:2,vars:3,consts:[[1,"flex-kids-x","gap"],["key","OPEN",3,"prefKey","metadata"],["key","BROAD_IN_PROGRESS",3,"prefKey","metadata"]],template:function(a,b){a&1&&(D(0,qfb,5,8,"div",0),S(1,"async"));a&2&&G(U(1,1,b.hasDescendants$)?0:-1)},dependencies:[YY,Iw],styles:["[_nghost-%COMP%]{display:block;padding-left:1px}\n/*# sourceMappingURL=stat_cards_project.css.map */"],changeDetection:0});var bZ=function(){};bZ.\u0275fac=function(a){return new (a||bZ)};bZ.\u0275mod=u({type:bZ});bZ.\u0275inj=p({imports:[RE,aP,QE,JH,DY,ZY]});var AWc={CANCEL:"CANCEL",ARCHIVE_ALL:"ARCHIVE_ALL",ARCHIVE_ONE:"ARCHIVE_ONE"},BWc=function(){this.data=r(jL);this.paths=r(zO);this.descendantIssuesUrl=this.paths.listIssues({q:"parentId:"+this.data.issueId+"+"});this.numberOfDescendants=this.data.numberOfDescendants;this.ActionType=AWc};BWc.\u0275fac=function(a){return new (a||BWc)};
BWc.\u0275cmp=t({type:BWc,selectors:[["b-issue-archive-dialog"]],decls:18,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["href","http://go/b-issue-archive","target","_blank"],["mat-dialog-actions",""],["mat-button","",1,"medium",3,"matDialogClose"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium",3,"matDialogClose"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"Archive with all descendant issues?"),J(),I(2,"div",1),Q(3),K(4,"br")(5,
"br"),I(6,"a",2),Q(7,"View all descendant issues"),J(),K(8,"br"),I(9,"a",3),Q(10,"Learn more"),J()(),I(11,"div",4)(12,"button",5),Q(13,"Cancel"),J(),I(14,"button",5),Q(15," Just this one "),J(),I(16,"button",6),Q(17," Archive all "),J()());a&2&&(C(3),R(" This issue has ",b.numberOfDescendants," descendant issues. Archiving only this issue may make it difficult to find them later. Do you want to archive this issue with all descendant issues? "),C(3),Gg("href",b.descendantIssuesUrl,of),C(6),F("matDialogClose",
b.ActionType.CANCEL),C(2),F("matDialogClose",b.ActionType.ARCHIVE_ONE),C(2),F("matDialogClose",b.ActionType.ARCHIVE_ALL))},dependencies:[vD,Vy,lL,nL,pL,oL],encapsulation:2});var cZ=function(){this.issueApi=r(uD);this.dialog=r(kL);this.confirmationDialogService=r(rL);this.issueRelationshipsFridge=r(KG);this.issueFullFridge=r(yG);this.eventsForIssueFridge=r(yF);this.paths=r(zO);this.butterBar=r(hE);this.editIssueService=r(jM)};
cZ.prototype.submitArchivalState=function(a,b){var c=this;return ve(function(d){if(d.nextAddress==1)return b?xe(d,c.archive(a),5):xe(d,c.editIssueService.unarchive(a),0);c.issueFullFridge.poke(a);c.eventsForIssueFridge.poke(a);Ce(d)})};
cZ.prototype.archive=function(a){var b=this,c,d,e,f,h,l,q,v,y,E;return ve(function(H){if(H.nextAddress==1)return xe(H,Promise.all([b.getDescendants(a),Je(b.issueFullFridge.watch(a))]),2);c=H.yieldResult;d=k(c);e=d.next().value;f=d.next().value;h=e;l=f;q=h;v=q.childToParents;y=q.completeResult;E=[].concat(w(v.keys()));v.set(a,l.parentIssueIds||[]);return E.length===0?H.return(CWc(b,a,v)):y?H.return(DWc(b,a,E,v)):H.return(EWc(b,a,v))})};
var DWc=function(a,b,c,d){var e,f,h;return ve(function(l){if(l.nextAddress==1)return e={numberOfDescendants:c.length,issueId:b},f={data:e,width:"500px"},xe(l,Je(eL(a.dialog.open(BWc,f))),2);h=l.yieldResult;switch(h){case "ARCHIVE_ALL":return l.return(FWc(a,[b].concat(w(c)),d));case "ARCHIVE_ONE":return l.return(CWc(a,b,d));case "CANCEL":return l.return();default:return l.return(xb(h))}})},FWc=function(a,b,c){var d=[{issueIds:b,actions:[{fieldName:"isArchived",value:"true"}]}];GWc(a,c);du(a.butterBar,
"Archiving "+b.length+" issues...");return a.issueApi.issueBulkEdit({bulkEditOps:d}).then(function(){du(a.butterBar,"Archived "+b.length+" issues successfully.")}).catch(function(e){a.butterBar.showWarning(e);HWc(a,c)})},CWc=function(a,b,c){GWc(a,c);return a.issueApi.updateIssue(b,{issueId:b,actions:[{fieldName:"isArchived",value:"true"}]}).then(function(){du(a.butterBar,"Archived successfully.")}).catch(function(d){a.butterBar.showWarning(d);HWc(a,c)})},EWc=function(a,b,c){return new Promise(function(d){a.confirmationDialogService.open({title:"Archive issue with descendant issues?",
content:ui([ti("This issue has more than 1000 descendant issues. Archiving only\n                      this issue may make it difficult to find them later. Go to\n                      issue list page and archive issues there."),vi("br",{}),vi("br",{}),vi("a",{href:a.paths.listIssues({q:"parentId:"+b+"+"}),target:"_blank"},"View all descendant issues"),vi("br",{}),vi("a",{href:"http://go/b-issue-archive",target:"_blank"},"Learn more")]),cancelButtonText:"Cancel",confirmButtonText:"Just this one",
onConfirm:function(){CWc(a,b,c).then(d)},onDismiss:d})})},GWc=function(a,b){b=k(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;d=k(d);for(var e=d.next();!e.done;e=d.next())a.issueRelationshipsFridge.unlinkFromParent(c,e.value,!0)}},HWc=function(a,b){b=[].concat(w(b.values())).flat();b=k(b);for(var c=b.next();!c.done;c=b.next())a.issueRelationshipsFridge.poke(c.value)};
cZ.prototype.getDescendants=function(a){var b=this,c,d,e,f,h,l,q,v,y,E,H,O;return ve(function(N){if(N.nextAddress==1)return xe(N,Je(Qec(b.issueRelationshipsFridge,a)),2);c=N.yieldResult;d=c.results;e=!0;f=new Map;h=k(d);for(l=h.next();!l.done;l=h.next()){q=l.value;v=k(q.relatedChildren);for(y=v.next();!y.done;y=v.next())E=y.value,H=void 0,O=(H=f.get(E.targetIssueId))!=null?H:[],O.push(q.issueId),f.set(E.targetIssueId,O);q.totalChildCount===q.relatedChildren.length||(e=!1)}return N.return({childToParents:f,
completeResult:e})})};cZ.\u0275fac=function(a){return new (a||cZ)};cZ.\u0275prov=n({token:cZ,factory:cZ.\u0275fac,providedIn:"root"});var dZ=function(a){this.pathToAncestor=a},$t=function(a){return new dZ(a.split(">"))},IWc=function(a,b){return new dZ([].concat(w(a.pathToAncestor),[b]))};dZ.prototype.hash=function(){return this.pathToAncestor.join(">")};dZ.prototype.equals=function(a){return!!a&&yi(this.pathToAncestor,a.pathToAncestor)};var JWc=function(a,b){a=k(a.pathToAncestor.entries());for(var c=a.next();!c.done;c=a.next()){c=k(c.value);var d=c.next().value;if(c.next().value!==b.pathToAncestor[d])return!1}return!0};
dZ.prototype.contains=function(a){return this.pathToAncestor.join(",").includes(a.pathToAncestor.join(","))};dZ.prototype.some=function(a){return this.pathToAncestor.some(a)};dZ.prototype.toString=function(){return this.hash()};
ea.Object.defineProperties(dZ.prototype,{size:{configurable:!0,enumerable:!0,get:function(){return this.pathToAncestor.length}},nodeId:{configurable:!0,enumerable:!0,get:function(){return this.pathToAncestor[this.size-1]}},parentNodeId:{configurable:!0,enumerable:!0,get:function(){return this.pathToAncestor[this.size-2]}},parentChain:{configurable:!0,enumerable:!0,get:function(){return new dZ(this.pathToAncestor.slice(0,this.size-1))}},root:{configurable:!0,enumerable:!0,get:function(){return this.pathToAncestor[0]}}});var eZ=function(){var a=this;this.draftRows=new Map;this.changed$=new Jf;this.counter=0;this.createId=function(){return String(a.counter++)}};eZ.prototype.create=function(a,b,c){var d=this.createId();b={type:"draft-issue",title:"",ancestorChain:IWc(a,d),level:a.size-1,issue$:b,afterDraftId:c==null?void 0:c.afterDraftId,afterIssueId:c==null?void 0:c.afterIssueId,id:d,saving:!1,draftStartedAt:new Date};this.set(a,b);return b};
eZ.prototype.get=function(a){var b;return(b=this.draftRows.get(a.hash()))!=null?b:[]};eZ.prototype.remove=function(a){var b=a.ancestorChain.parentChain,c=this.get(b),d=c.filter(function(f){return f.id!==a.id});if(c.length!==d.length){c=k(d);for(var e=c.next();!e.done;e=c.next())e=e.value,e.afterDraftId===a.id&&(e.afterDraftId=a.afterDraftId);this.draftRows.set(b.hash(),d);this.changed$.next(this.draftRows)}};
var KWc=function(a,b){return ve(function(c){return c.return(Je(a.changed$.pipe(Mf(a.draftRows),B(function(d){return![].concat(w(d.values())).flat().some(function(e){return e.issueId===b||e.id===b})}),Ye(Boolean),B(function(){}))))})};eZ.prototype.isSaving=function(){return[].concat(w(this.draftRows.values())).flat().some(function(a){return a.saving})};eZ.prototype.set=function(a,b){var c=this.get(a);this.draftRows.set(a.hash(),[].concat(w(c),[b]));this.changed$.next(this.draftRows)};var LWc={defaultExpandedChildren:10,defaultExpansionLevel:3,maxExpansion:500},MWc=function(a){var b=void 0;b=b===void 0?LWc:b;a=a===void 0?{}:a;this.config=b;this.expansionState=this.initialState=a;this.changed$=new If(1)},NWc=function(a,b){b=b.hash();return a.expansionState[b]},OWc=function(a,b,c){b=b.hash();c===void 0?delete a.expansionState[b]:a.expansionState[b]=c;a.changed$.next(a.expansionState)},PWc=function(a,b,c){var d=!1;c=k(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;var f=IWc(b,
e.nodeId);e.size<=a.config.defaultExpansionLevel&&NWc(a,e)===void 0&&(a.expansionState[f.hash()]=a.config.defaultExpandedChildren,d=!0);for(var h=k(Object.entries(a.expansionState)),l=h.next();!l.done;l=h.next()){l=k(l.value);var q=l.next().value;l=l.next().value;q=$t(q);q.contains(e)&&(d=q.pathToAncestor.join(",").replace(e.pathToAncestor.join(","),f.pathToAncestor.join(",")).split(","),d=new dZ(d),delete a.expansionState[q.hash()],a.expansionState[d.hash()]=l,d=!0)}}if(!NWc(a,b)){var v;a.expansionState[b.hash()]=
(v=a.config.defaultExpandedChildren)!=null?v:a.config.maxExpansion;d=!0}d&&a.changed$.next(a.expansionState)};var fZ=function(){this.issueApi=r(uD);this.activeSession=r(dv);this.issueFullFridge=r(yG);this.componentFridge=r(AC);this.componentTemplatesFridge=r(SE);this.currentUser=Yi(this.activeSession.getUserEmail())},RWc=function(a,b){var c,d,e;return ve(function(f){if(f.nextAddress==1)return xe(f,QWc(a,b),2);c=f.yieldResult;d=c.component;e=c.defaultTemplate;return f.return(zua(d,e))})},TWc=function(a,b){return SWc(a,b).pipe(B(function(c){return{snapshot:[c],issueId:"",version:0,userData:void 0,aggregatedData:void 0,
accessLimit:void 0,customFields:[],visibleFields:[],majorModifiedTimeMicros:0,parentIssueIds:[],ancestors:new Map,childIssueCount:0,isArchived:!1,relatedLinks:[],descendantCount:0,openDescendantCount:0}}))},UWc=function(a,b,c){var d;return ve(function(e){if(e.nextAddress==1)return xe(e,Je(SWc(a,b)),2);d=e.yieldResult;d.title=c;return e.return(a.create(d))})};
fZ.prototype.create=function(a){var b=this,c,d;return ve(function(e){return e.nextAddress==1?xe(e,b.issueApi.createIssue({snapshot:a}),2):e.nextAddress!=3?(c=e.yieldResult,d=c.issueId,xe(e,b.issueFullFridge.poke(String(d)),3)):e.return({issueId:String(d)})})};
var SWc=function(a,b){return a.issueFullFridge.watch(b).pipe(Ye(kj),Nf(function(c){var d,e;return ve(function(f){if(f.nextAddress==1)return xe(f,QWc(a,String(c.snapshot[0].componentId)),2);d=f.yieldResult;if(c){var h={};c.snapshot[0].priority&&(h.priority=c.snapshot[0].priority);c.snapshot[0].severity&&(h.severity=c.snapshot[0].severity);c.snapshot[0].type&&(h.type=Mec[c.snapshot[0].type])}else h={};e=Object.assign({},{componentId:d.component.componentId},{inProd:!1,status:"NEW",isDeleted:!1,deletionReason:"DELETION_REASON_UNSPECIFIED",
isArchived:!1,formattingMode:"UNSPECIFIED_FORMATTING_MODE",reporterUser:a.currentUser,ccUsers:[a.currentUser]},h,VWc(d.defaultTemplate),WWc(d.component,d.defaultTemplate));e.assigneeUser&&(e.status="ASSIGNED");return f.return(e)})}))},VWc=function(a){if(!a)return{};a=Dc(a.snapshot,function(b){return b==null||typeof b==="string"&&iu(b)?!1:!0});delete a.componentId;return a},WWc=function(a,b){var c=[],d,e;a=k((e=(d=a.componentPathInfo)==null?void 0:d.allCustomField)!=null?e:[]);e=a.next();for(d={};!e.done;d=
{customField$jscomp$12:void 0},e=a.next())if(d.customField$jscomp$12=e.value,d.customField$jscomp$12.required){var f=void 0;e=(f=d.customField$jscomp$12.typedDefaultValue)!=null?f:{customFieldId:d.customField$jscomp$12.customFieldId};var h=f=void 0,l=void 0,q=(l=(f=b)==null?void 0:(h=f.snapshot.customField)==null?void 0:h.find(function(v){return function(y){return y.customFieldId===v.customField$jscomp$12.customFieldId}}(d)))!=null?l:e;q&&c.push(Object.assign({},q))}return c.length===0?{}:{customField:c}},
QWc=function(a,b){var c,d,e,f,h,l;return ve(function(q){if(q.nextAddress==1)return xe(q,Promise.all([Je(a.componentTemplatesFridge.defaultTemplate$(b)),Je(a.componentFridge.watch(b).pipe(Ye(kj)))]),2);c=q.yieldResult;d=k(c);e=d.next().value;f=d.next().value;h=e;l=f;return q.return({component:l,defaultTemplate:h})})};fZ.\u0275fac=function(a){return new (a||fZ)};fZ.\u0275prov=n({token:fZ,factory:fZ.\u0275fac,providedIn:"root"});var gZ=function(a,b,c,d,e,f,h,l,q,v,y,E,H,O){c=c===void 0?1:c;Z.call(this);var N=this;this.rootIssueId=a;this.quickFilters=b;this.defaultExpansionLevel=c;this.saveExpansionAtKey=d;this.analytics=e;this.butterBar=f;this.issueFullFridge=h;this.issuePicker=l;this.issueRelationshipsFridge=q;this.paths=v;this.router=y;this.issueCreationService=E;this.clearcut=H;this.refreshMonitor=O;this.defaultApiRequestDepth=this.defaultExpansionLevel+2;this.defaultExpandedChildren=10;this.saveExpansion=this.saveExpansionAtKey?
Fk(this.saveExpansionAtKey):function(){};this.expansion=new MWc(XWc(this));this.draftRows=new eZ;this.refetchingAll$=new bo(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe(Nf(function(){N.refetchingAll$.next(!0);var T=Xo(N.rows$),da=[];if(!T)return Promise.resolve();da.push(Rec(N.issueRelationshipsFridge,N.rootIssueId,N.defaultApiRequestDepth));T=k(T);for(var ja=T.next();!ja.done;ja=T.next())ja=ja.value,ja.type==="data"&&da.push(N.issueFullFridge.poke(ja.id)),ja.level>N.defaultExpansionLevel&&
da.push(N.issueRelationshipsFridge.poke(ja.id));return Promise.all(da).then(function(){N.refetchingAll$.next(!1)})}));this.rows$=Xe(this.draftRows.changed$,this.expansion.changed$,this.userRequestedRefresh$,yha(Fe({}),Zo)).pipe(Nf(function(){return Qec(N.issueRelationshipsFridge,N.rootIssueId,N.defaultApiRequestDepth)}),Nf(function(){for(var T=new Map,da=k(Object.entries(N.expansion.expansionState)),ja=da.next();!ja.done;ja=da.next()){ja=k(ja.value);var na=ja.next().value;ja=ja.next().value;na=$t(na).nodeId;
var Ia=void 0;ja=Math.max(ja,(Ia=T.get(na))!=null?Ia:0);T.set(na,ja)}return YWc(N,T)}),yf(this.quickFilters.value$),Nf(function(T){T=k(T);var da=T.next().value;var ja=T.next().value;return ja.size===0?(N.hiddenRowCount$.next(0),Fe(da)):ZWc(N,da).pipe(B(function(na){return $Wc(N,da,ja,na)}))}),B(function(T){return aXc(N,T)}),Kf({refCount:!0,bufferSize:1}));this.hiddenRowCount$=new bo(0);this.rootIssue$=this.issueFullFridge.watch(this.rootIssueId).pipe(Ye(kj));this.ROOT_ROW={type:"data",id:this.rootIssueId,
level:-1,ancestorChain:new dZ([this.rootIssueId]),expandedCount:500,issue$:gw,hasChildren$:gw};this.supportsOneLineCreation=Je(this.rootIssue$).then(function(T){return dq(T.snapshot[0].componentId)}).then(function(T){return RWc(N.issueCreationService,T)});this.isOneLineCreationSupported=function(){return N.supportsOneLineCreation};this.saveExpansionAtKey&&this.subscriptions.add(this.expansion.changed$.pipe(Af(100)).subscribe(this.saveExpansion))};Y(gZ,Z);gZ.\u0275dir=Z.\u0275dir;gZ.\u0275fac=Z.\u0275fac;
var XWc=function(a){a=a.saveExpansionAtKey;if(a!=null){a=Msa(a)();a:if(typeof a!=="object"||Object.getPrototypeOf(a)!==Object.prototype)var b=!1;else{b=k(Object.getOwnPropertyNames(a));for(var c=b.next();!c.done;c=b.next())if(c=c.value,!c||typeof a[c]!=="number"){b=!1;break a}b=!0}return b?a:void 0}},bXc=function(a,b,c){b=b===void 0?a.ROOT_ROW.ancestorChain:b;var d,e,f,h,l,q,v;ve(function(y){switch(y.nextAddress){case 1:return d=b.nodeId,xe(y,Je(a.issueFullFridge.watch(d)),2);case 2:return(e=y.yieldResult)?
xe(y,a.supportsOneLineCreation,3):y.return();case 3:if(f=y.yieldResult)return h=TWc(a.issueCreationService,d),y.return(a.draftRows.create(b,h,c));l=e.snapshot[0].componentId;v={};return xe(y,Vt(a.router,a.paths.createIssue((v.component=l?String(l):void 0,v.parentIssueId=e.issueId,v.redirectUrl=tq.issueDependencies.makeHref(a.rootIssueId),v.afterIssueId=(q=c)==null?void 0:q.afterIssueId,v))),4);case 4:return y.return()}})};
gZ.prototype.addExistingChild=function(a){var b=this,c,d,e,f;ve(function(h){if(h.nextAddress==1)return xe(h,Je((d=(c=a)==null?void 0:c.issue$)!=null?d:b.rootIssue$),2);e=h.yieldResult;if(!e)return h.return();f=String(e.issueId);return xe(h,b.issuePicker.open({title:"Add Children of b/"+f,allowMultipleIds:!0,edgeType:"child"},function(l){return ve(function(q){if(q.nextAddress==1){if(l.length===0)return q.return();b.assignParentToIssues(f,l);b.analytics.trackEvent("editIssue","add","existing-child-issue");
return xe(q,rq(0),2)}a&&OWc(b.expansion,a.ancestorChain,500);Ce(q)})}),0)})};gZ.prototype.saveDraft=function(a){var b=this,c;return ve(function(d){if(d.nextAddress==1){if(a.saving||!a.title)return d.return();a.saving=!0;return xe(d,cXc(b,a),2)}return(c=d.yieldResult)?d.return(dXc(b,a,c)):d.return()})};
var cXc=function(a,b){var c,d,e,f;return ve(function(h){switch(h.nextAddress){case 1:return c=b.ancestorChain.parentNodeId,we(h,2),xe(h,UWc(a.issueCreationService,c,b.title),4);case 4:e=h.yieldResult;d=e.issueId;jv(h,3);break;case 2:return f=Be(h),a.butterBar.showWarning("Could not create issue. Error: "+JSON.stringify(f)),a.draftRows.remove(b),h.return();case 3:var l=(new Date).getTime()-b.draftStartedAt.getTime();if(l>0){var q=Math.min(l,108E5);pec("createIssue",q,"from-tree");a.analytics.trackEvent("createIssue",
"createIssue","time-to-create-from-tree",q);lG(a.clearcut,l,"createIssue-fromTree")}OWc(a.expansion,b.ancestorChain.parentChain,500);l=a.draftRows;q=d;b.issueId=q;for(var v=k(l.draftRows.values()),y=v.next();!y.done;y=v.next()){y=k(y.value);for(var E=y.next();!E.done;E=y.next())E=E.value,E.afterDraftId===b.id&&(E.afterIssueId=q)}l.changed$.next(l.draftRows);return h.return(d)}})},dXc=function(a,b,c){var d,e,f,h,l,q;return ve(function(v){if(v.nextAddress==1)return d=b.ancestorChain.parentNodeId,f=
(e=b.afterIssueId)!=null?e:b.afterDraftId,f===void 0||f==="-1"?v.jumpTo(2):xe(v,KWc(a.draftRows,f),2);if(v.nextAddress!=4)return xe(v,a.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:c,afterIssueId:b.afterIssueId}]),4);h=v.yieldResult;l=h.errors;((q=l)==null?0:q.length)&&a.butterBar.showWarning("Could not create issue relationship. Error: "+JSON.stringify(l));a.draftRows.remove(b);Ce(v)})},YWc=function(a,b,c){c=c===void 0?0:c;return Me([a.rootIssueId].concat(w(b.keys())).map(function(d){return a.refetchingAll$.pipe(Ye(function(e){return!e}),
Nf(function(){return Pec(a.issueRelationshipsFridge,d)}))})).pipe(Nf(function(d){var e=new Map;d=k(d);for(var f=d.next();!f.done;f=d.next())(f=f.value)&&e.set(f.issueId,f);if(c===a.defaultExpansionLevel)return Fe(e);d=eXc(a,e,c);d=new Map(d.map(function(h){return[h,a.defaultExpandedChildren]}));return YWc(a,d,c+1).pipe(B(function(h){var l=new Map(e);h=k(h.entries());for(var q=h.next();!q.done;q=h.next()){var v=k(q.value);q=v.next().value;v=v.next().value;l.set(q,v)}return l}))}))},eXc=function(a,
b,c){var d=[];a=[{id:a.rootIssueId,level:-1}];for(var e={};a.length>0;e={current$jscomp$48:void 0})if(e.current$jscomp$48=a.pop(),e.current$jscomp$48.level===c&&d.push(e.current$jscomp$48.id),!(e.current$jscomp$48.level>c)){var f=void 0,h=void 0,l=(h=(f=b.get(e.current$jscomp$48.id))==null?void 0:f.relatedChildren)!=null?h:[];a.push.apply(a,w(l.map(function(q){return function(v){return{id:v.targetIssueId,level:q.current$jscomp$48.level+1}}}(e))))}return d},aXc=function(a,b){for(var c=[],d=[a.ROOT_ROW],
e={};d.length>0;e={parentRow$jscomp$1:void 0,childrenLevel:void 0})if(e.parentRow$jscomp$1=d.pop(),e.parentRow$jscomp$1.type==="load-more-children"||e.parentRow$jscomp$1.type==="draft-issue")c.push(e.parentRow$jscomp$1);else{e.parentRow$jscomp$1.id!==a.rootIssueId&&c.push(e.parentRow$jscomp$1);var f=void 0,h=void 0,l=(h=(f=b.get(e.parentRow$jscomp$1.id))==null?void 0:f.relatedChildren)!=null?h:[];f=l.slice(0,e.parentRow$jscomp$1.expandedCount);e.childrenLevel=e.parentRow$jscomp$1.level+1;e.parentRow$jscomp$1.expandedCount&&
f.length<l.length&&(h=IWc(e.parentRow$jscomp$1.ancestorChain,"load-more-children"),d.push({type:"load-more-children",id:h.hash(),level:e.childrenLevel,parentIssue$:e.parentRow$jscomp$1.issue$,ancestorChain:h,truncatedSiblingCount:l.length-f.length}));l=f.map(function(q){return function(v){var y=IWc(q.parentRow$jscomp$1.ancestorChain,v.targetIssueId),E=v.targetIssueId,H=q.childrenLevel,O=a.issueRelationshipsFridge.watch(v.targetIssueId).pipe(B(PDa));var N=q.childrenLevel;var T=y.nodeId,da=NWc(a.expansion,
y);if(da!==void 0)N=da;else if(N<a.defaultExpansionLevel){var ja,na;N=Math.min(a.defaultExpandedChildren,(na=(ja=b.get(T))==null?void 0:ja.relatedChildren.length)!=null?na:0)}else N=0;return{type:"data",id:E,level:H,hasChildren$:O,ancestorChain:y,expandedCount:N,issue$:a.issueFullFridge.watch(v.targetIssueId)}}}(e));d.push.apply(d,w(fXc(a,l,e.parentRow$jscomp$1.ancestorChain).reverse()))}return c},fXc=function(a,b,c){var d=[].concat(w(b));a=a.draftRows.get(c);a=k(a);var e=a.next();for(c={};!e.done;c=
{draft$jscomp$7:void 0},e=a.next())c.draft$jscomp$7=e.value,b.some(function(f){return function(h){return h.id===f.draft$jscomp$7.issueId}}(c))||(e=d.findIndex(function(f){return function(h){return h.id===f.draft$jscomp$7.afterDraftId||h.id===f.draft$jscomp$7.afterIssueId}}(c)),d.splice(e===-1?d.length:e+1,0,c.draft$jscomp$7));return d};
gZ.prototype.assignParentToIssues=function(a,b){var c=this,d,e,f,h;return ve(function(l){if(l.nextAddress==1)return b.length===0?l.return():xe(l,c.issueRelationshipsFridge.assignParentToIssues(a,b.map(function(q){return{issueId:q,afterIssueId:"-1"}})),2);d=l.yieldResult;e=d.notAdded;f=d.errors;if(e.length)return c.butterBar.showWarning("Could not add "+e+" as child of b/"+a+". "+((h=f)==null?void 0:h.map(function(q){return Kn(q)}))),l.return();Ce(l)})};
var ZWc=function(a,b){for(var c=new Set,d=k(b.keys()),e=d.next();!e.done;e=d.next())c.add(e.value);b=k(b.values());for(d=b.next();!d.done;d=b.next())for(d=d.value.relatedChildren.map(function(f){return f.targetIssueId}),d=k(d),e=d.next();!e.done;e=d.next())c.add(e.value);return Me([].concat(w(c)).map(function(f){return a.issueFullFridge.watch(f)})).pipe(B(function(f){return f.filter(kj)}))},$Wc=function(a,b,c,d){function e(q){if(!q)return!1;var v=f.get(q),y=h.get(q);if(!v||v.relatedChildren.length===
0)return y;var E=v.relatedChildren.filter(function(H){return e(H.targetIssueId)});l+=v.relatedChildren.length-E.length;f.set(q,Object.assign({},v,{relatedChildren:E}));return E.length!==0||y}var f=new Map(b.entries()),h=new Map(d.map(function(q,v,y){return[q.issueId,d5a(c,v,y)]})),l=0;e(a.rootIssueId);a.hiddenRowCount$.next(l);return f},hZ=function(){this.analytics=r(wG);this.butterBar=r(hE);this.issueFullFridge=r(yG);this.issuePicker=r(hS);this.issueRelationshipsFridge=r(KG);this.paths=r(zO);this.router=
r(HE);this.issueCreationService=r(fZ);this.clearcut=r(kG);this.refreshMonitor=r(MF)};hZ.prototype.create=function(a,b,c,d){b=b===void 0?new KB:b;return new gZ(a,b,c,d,this.analytics,this.butterBar,this.issueFullFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor)};hZ.\u0275fac=function(a){return new (a||hZ)};hZ.\u0275prov=n({token:hZ,factory:hZ.\u0275fac,providedIn:"root"});var iZ=function(a,b,c,d){var e=this;this.rootElement=a;this.rows=b;this.ngZone=c;this.rowSelectionModel=d;this.onLongHover$=new Jf;this.onRowsMoved$=new Jf;this.placeholder=this.rootElement.querySelector(".placeholder");this.insertionBar=this.rootElement.querySelector(".insertion-bar");this.dragPreviewTemplate=this.rootElement.querySelector(".drag-preview");this.activeDrag=!1;this.onDragOver=o6b(function(f,h){if(e.activeDrag){var l=f||0,q=h.getBoundingClientRect();f=q.height;l-=q.top;f=tfb(l<=f*.25?
"top":l>=f*.75?"bottom":"middle",h);h=f.position;f=f.rowElement;switch(h){case "current":e.placeholder.style.display="block";e.insertionBar.style.display="none";e.placeholder.style.left=f.offsetLeft+"px";e.placeholder.style.top=f.offsetTop+"px";e.placeholder.style.height=f.offsetHeight+"px";break;case "before":case "after":var v=(l=(v=f.querySelector(".title-location"))==null?void 0:v.getBoundingClientRect().left)?l-f.getBoundingClientRect().left:0;v=f.offsetLeft+v;l=h==="after"?f.offsetTop+f.offsetHeight:
f.offsetTop;q=f.getBoundingClientRect().width;e.insertionBar.style.display="block";e.placeholder.style.display="none";e.insertionBar.style.left=v+"px";e.insertionBar.style.top=l-1+"px";e.insertionBar.style.width=q-v+"px";break;case "none":e.placeholder.style.display="none",e.insertionBar.style.display="none"}e.currentReorderingGuide={rowElement:f,position:h};gXc(e,f,h)}},10);this.ngZone.runOutsideAngular(function(){a.addEventListener("dragover",function(f){var h,l=(h=f.target)==null?void 0:h.closest("tr");
if(l&&(e.onDragOver(f.clientY,l),l.classList.contains("dragging")||l.classList.contains("nodrop")))return!0;var q;if(((q=e.currentReorderingGuide)==null?void 0:q.position)==="none")return!0;f.preventDefault();return!1});a.addEventListener("dragend",function(){hXc(e)});a.addEventListener("drop",function(){e.reorder(e.currentReorderingGuide,iXc(e.rowSelectionModel),"mouse",4);hXc(e)})})};
iZ.prototype.handleDragStart=function(a){var b=this;this.activeDrag=!0;var c=a.target.closest("tr");this.rowSelectionModel.select(ufb(c));jXc(this.rowSelectionModel);kXc(this);this.dragPreview=this.dragPreviewTemplate.cloneNode(!0);document.body.appendChild(this.dragPreview);this.dragPreview.style.display="block";this.dragPreview.style.top="-1000px";this.dragPreview.innerText=this.rowSelectionModel.selectedCount===1?"Moving 1 issue":"Moving "+this.rowSelectionModel.selectedCount+" issues";a.dataTransfer.setDragImage(this.dragPreview,
0,0);a.dataTransfer.dropEffect="move";a=this.rows.toArray().filter(function(d){return b.rowSelectionModel.isSelected(d.row.ancestorChain)});a=k(a);for(c=a.next();!c.done;c=a.next())c.value.element.classList.add("dragging")};
var lXc=function(a,b){var c=b.row.ancestorChain.parentChain,d=a.rows.toArray().find(function(e){return c.equals(e.row.ancestorChain)});d&&a.reorder({position:"after",rowElement:d.element},[b.row.ancestorChain],"keyboard",3)},mXc=function(a,b){var c=a.rows.toArray(),d=c.findIndex(function(f){return f.row.ancestorChain.equals(b.row.ancestorChain)});if(d!==-1&&d!==0){c=c.slice(0,d).reverse();c=k(c);for(d=c.next();!d.done;d=c.next()){d=d.value;if(d.row.type==="load-more-children"){d=d.element.previousElementSibling;
if(!d)continue;var e={position:"before",rowElement:d};break}if(d.row.ancestorChain.parentChain.parentChain.equals(b.row.ancestorChain.parentChain)){e={position:"after",rowElement:d.element};break}if(d.row.ancestorChain.parentChain.equals(b.row.ancestorChain.parentChain)){e={position:"current",rowElement:d.element};break}}a.reorder(e,[b.row.ancestorChain],"keyboard",2)}};
iZ.prototype.moveUp=function(a){var b=a.element.previousElementSibling;if(b){if(b.dataset.type==="load-more-children"){b=b.previousElementSibling;if(!b)return;b={position:"before",rowElement:b}}else b={position:"before",rowElement:b};this.reorder(b,[a.row.ancestorChain],"keyboard",0)}};
iZ.prototype.moveDown=function(a){var b=this.rows.toArray();if(b=b.slice(b.findIndex(function(d){return d.row.ancestorChain.equals(a.row.ancestorChain)})+1).find(function(d){return d.row.level<=a.row.level})){var c=b.element.nextElementSibling;b.row.type==="load-more-children"?lXc(this,a):(b=c&&b.row.level<sfb(c)?{position:"before",rowElement:c}:{position:"after",rowElement:b.element},this.reorder(b,[a.row.ancestorChain],"keyboard",1))}};
iZ.prototype.onKeydown=function(a){if(a.ctrlKey){var b,c=(b=a.target)==null?void 0:b.closest("tr");if(c){var d=ufb(c);if(b=this.rows.toArray().find(function(e){return e.row.ancestorChain.equals(d)}))switch(a.key){case "ArrowLeft":lXc(this,b);break;case "ArrowRight":mXc(this,b);break;case "ArrowUp":this.moveUp(b);break;case "ArrowDown":this.moveDown(b)}}}};
iZ.prototype.reorder=function(a,b,c,d){var e=this;if(a){var f=ufb(a.rowElement),h=void 0,l=f;switch(a.position){case "current":l=f;h={parentId:f.nodeId};break;case "before":case "after":l=f.parentChain,h={parentId:f.parentNodeId,position:{issueId:f.nodeId,position:a.position}}}this.ngZone.run(function(){b.length&&h&&e.onRowsMoved$.next({movedRows:b,insertAt:h,parentAncestorChain:l,origin:c,actionMessage:rfb(d)})})}};
var hXc=function(a){for(var b=k(a.rootElement.querySelectorAll("tr.dragging")),c=b.next();!c.done;c=b.next())c.value.classList.remove("dragging");b=k(a.rootElement.querySelectorAll("tr.nodrop"));for(c=b.next();!c.done;c=b.next())c.value.classList.remove("nodrop");a.rowSelectionModel.clear();a.placeholder.style.display="none";a.insertionBar.style.display="none";var d;(d=a.updatingNoDropRows)==null||d.unsubscribe();var e,f;(e=a.dragPreview)==null||(f=e.parentElement)==null||f.removeChild(a.dragPreview);
a.activeDrag=!1},gXc=function(a,b,c){if(c!=="current")a.longHoveredRow=void 0;else if(!b.classList.contains("dragging")&&!b.classList.contains("nodrop"))if(!a.longHoveredRow||a.longHoveredRow.row!==b)a.longHoveredRow={row:b,enterTime:Date.now()};else if(Date.now()-a.longHoveredRow.enterTime>=1E3&&!a.longHoveredRow.emitted){var d=a.rows.toArray().find(function(e){return ufb(b).equals(e.row.ancestorChain)});d&&(a.ngZone.run(function(){a.onLongHover$.next(d)}),a.longHoveredRow.emitted=!0)}},kXc=function(a){var b;
(b=a.updatingNoDropRows)==null||b.unsubscribe();a.updatingNoDropRows=a.rows.changes.pipe(Mf(null)).subscribe(function(){var c=a.rows.toArray(),d=new Set(a.rowSelectionModel.selectedRows.map(function(f){return f.nodeId}));c=k(c);for(var e=c.next();!e.done;e=c.next())e=e.value,e.row.ancestorChain.some(function(f){return d.has(f)})&&e.element.classList.add("nodrop")})};var jZ=function(){Z.call(this);var a=this;this.analytics=r(wG);this.dragStarted$=new Jf;this.onRowsMoved$=new Jf;Xe(this.dragStarted$,this.onRowsMoved$).pipe(aFa(),Of(this.destroyed$)).subscribe(function(b){var c=b[b.length-1].timestamp-b[0].timestamp;b=Rk(b.map(function(d){return d.event.origin}));b=b.length===1?b[0]:"mixed";a.analytics.trackEvent("editIssue","reorderChildren",b);pec("reorderChildren",c,b)})};Y(jZ,Z);jZ.\u0275dir=Z.\u0275dir;jZ.\u0275fac=function(a){return new (a||jZ)};
jZ.\u0275prov=n({token:jZ,factory:jZ.\u0275fac,providedIn:"root"});var kZ=function(){this.changed$=new Jf;this.selectedRowHashes=new Set;this.isSelectedObservableMap=new Map};kZ.prototype.init=function(a){this.visibleRows=a};kZ.prototype.isSelected=function(a){return this.selectedRowHashes.has(a.hash())};var igb=function(a,b){var c=b.hash(),d,e=(d=a.isSelectedObservableMap.get(c))!=null?d:a.changed$.pipe(Mf(a.selectedRowHashes),B(function(f){return f.has(b.hash())}),Ef(),Kf({refCount:!0,bufferSize:1}));a.isSelectedObservableMap.set(c,e);return e};
kZ.prototype.select=function(a){this.selectedRowHashes.add(a.hash());this.changed$.next(this.selectedRowHashes)};kZ.prototype.clear=function(){this.selectedRowHashes.clear();this.changed$.next(this.selectedRowHashes)};
var jXc=function(a){for(var b=a.visibleRows.toArray().map(function(l){return l.row.ancestorChain}),c=!1,d=k(a.selectedRowHashes.values()),e=d.next();!e.done;e=d.next()){e=$t(e.value);for(var f=k(b),h=f.next();!h.done;h=f.next())h=h.value,JWc(e,h)&&(a.selectedRowHashes.add(h.hash()),c=!0)}c&&a.changed$.next(a.selectedRowHashes)},iXc=function(a){var b=a.visibleRows.toArray().map(function(f){return f.row});b=new Map(b.filter(function(f){return f.type==="data"}).map(function(f){return[f.ancestorChain.hash(),
f]}));var c=new Set([].concat(w(a.selectedRowHashes.values())).map(function(f){return $t(f)}).map(function(f){return f.nodeId})),d=[];a=k(a.selectedRowHashes.values());for(var e=a.next();!e.done;e=a.next())(e=b.get(e.value))&&(e.ancestorChain.parentChain.some(function(f){return c.has(f)})||d.push(e.ancestorChain));return d};
ea.Object.defineProperties(kZ.prototype,{selectedRows:{configurable:!0,enumerable:!0,get:function(){return[].concat(w(this.selectedRowHashes)).map(function(a){return $t(a)})}},selectedCount:{configurable:!0,enumerable:!0,get:function(){return this.selectedRowHashes.size}}});var nXc=function(){return["active-indicator","load-more-children"]},oXc=tq.listIssues.makeHref,pXc={type:"data",id:"",issue$:gw,hasChildren$:gw,ancestorChain:new dZ([]),level:0,expandedCount:0},lZ=function(){var a=r(iT);Z.call(this);var b=this;this.issueRelationshipsFridge=r(KG);this.router=r(HE);this.butterBar=r(hE);this.analytics=r(wG);this.issueArchiveService=r(cZ);this.ngZone=r(hh);this.elementRef=r(ge);this.domSafe=r(mM);this.reorderingSessionTracker=r(jZ);this.cdr=r(sG);this.relationsTableModelFactory=
r(hZ);this.liveAnnouncer=r(sx);this.clearcut=r(kG);this.paths=r(zO);this.defaultExpansionLevel=1;this.internalFilters=new KB;this.isClosed=Sta;this.tableColumns=[].concat(w(gLc));this.options={};this.trackBy=function(c,d){return d.ancestorChain.hash()+d.type};this.isLoadMoreRow=function(c,d){return d.type==="load-more-children"};this.isDataRow=function(c,d){return d.type==="data"};this.isDraftRow=function(c,d){return d.type==="draft-issue"};this.selectionModel=new kZ;this.hasLogged=!1;this.correctedDisplayedRows=
new Lg;this.TITLE_FIXED_OFFSET_PX=42;this.rowDirectiveMap=new Map;this.getRowIndex=function(c){var d;return((d=Xo(b.rows$))!=null?d:[]).findIndex(function(e){return Zt(e,c)})};this.showError=function(c){return function(d){b.butterBar.showWarning(c+". "+(Jn(d)?Kn(d):d))}};this.subscriptions.add(jT(a,function(){return b.tableModel.draftRows.isSaving()||b.issueRelationshipsFridge.isSaving()},!1))};Y(lZ,Z);lZ.\u0275dir=Z.\u0275dir;
lZ.prototype.ngOnInit=function(){var a=this;this.tableModel=this.relationsTableModelFactory.create(this.rootIssueId,this.internalFilters,this.defaultExpansionLevel,this.saveExpansionAtKey);this.rows$=yha([this.tableModel.rows$,Fe([pXc])],Ue).pipe(Pe(1),Kf({refCount:!0,bufferSize:1}));var b=this.rows$.pipe(Nf(function(c){return Me(c.filter(function(d){return d.type==="data"}).map(function(d){return d.issue$}))}),Af(0,Zo));this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();qXc(a,c)}));
this.rowReorderingModel=new iZ(this.elementRef.nativeElement,this.correctedDisplayedRows,this.ngZone,this.selectionModel);this.subscriptions.add(this.rowReorderingModel.onLongHover$.subscribe(function(c){var d=c.row;d.type==="load-more-children"?bgb(a,d):d.type==="data"&&(c=a.tableModel.expansion,d=d.ancestorChain,NWc(c,d)||OWc(c,d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;return ve(function(e){if(e.nextAddress==1)return Vec(a.issueRelationshipsFridge,
c.insertAt,c.movedRows.map(function(f){return{issueId:f.nodeId,parentId:f.parentNodeId}})).then(function(){return a.liveAnnouncer.announce(c.actionMessage+" successfully.")}).catch(a.showError("Unable to reorder issues")),PWc(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),xe(e,Je(a.correctedDisplayedRows.changes.pipe(B(function(f){return f.find(function(h){return h.row.type==="data"&&h.row.ancestorChain.nodeId===c.movedRows[0].nodeId&&h.row.ancestorChain.parentNodeId===c.insertAt.parentId})}),
Ye(Boolean),Ze(6E4))),2);d=e.yieldResult;d.focus();Ce(e)})}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){a.reorderingSessionTracker.onRowsMoved$.next(c)}))};
var qXc=function(a,b){if(!a.hasLogged&&b.length!==0){a.hasLogged=!0;var c=b.length,d=document.querySelectorAll("b-issue-relations-table b-expandable-issue-title-cell .collapsed").length+document.querySelectorAll('b-issue-relations-table [data-type="load-more-children"]').length===0;bec(a.clearcut,"view-relations-"+(d?"all-loaded":"some-loaded"));a.analytics.trackEvent("editIssue","view-relations","visible-count",c);d&&(b=b.filter(function(e){var f;return(e==null?void 0:(f=e.snapshot[0])==null?void 0:
f.effort)!=null}).length/c,c=b>.5?"most-estimated":"most-unestimated",bec(a.clearcut,"view-relations-"+c),a.analytics.trackEvent("editIssue","view-relations","ratio-estimated",b),a.analytics.trackEvent("editIssue","view-relations",c))}};
lZ.prototype.ngAfterViewInit=function(){var a=this;this.selectionModel.init(this.displayedRows);Me([this.rows$,this.displayedRows.changes]).pipe(Of(this.destroyed$)).subscribe(function(b){b=k(b).next().value;a.rowDirectiveMap=new Map(a.displayedRows.map(function(c){return[c.row.ancestorChain.hash(),c]}));b=b.map(function(c){return a.rowDirectiveMap.get(c.ancestorChain.hash())}).filter(Boolean);a.correctedDisplayedRows.reset(b);Pg(a.correctedDisplayedRows)});this.focusManager=Ex(new nzc(this.correctedDisplayedRows,
Zt))};lZ.prototype.toggleExpansion=function(a){OWc(this.tableModel.expansion,a.ancestorChain,a.expandedCount?0:10)};lZ.prototype.navigateToIssue=function(a,b){!b.id||a.defaultPrevented||a.type==="mouseup"&&a instanceof MouseEvent&&a.button!==1||a.target.tagName==="A"||(this.analytics.trackEvent("editIssue","navigate","to-child-issue"),b=tq.viewIssue.makeHref(b.id),zm(a)?this.domSafe.openInNewTab(b):a&&a.shiftKey?Dq(this.domSafe,b):Vt(this.router,b))};
var bgb=function(a,b){var c;return ve(function(d){if(d.nextAddress==1)return c=a.getRowIndex(b),OWc(a.tableModel.expansion,b.ancestorChain.parentChain,500),xe(d,rq(0),2);a.focusManager.setActiveItem(c);Ce(d)})},Xfb=function(a,b){return[{type:"action",label:"Continue on the create issue page",action:function(c){return rXc(a,c,b)},title:"Continue on the create issue page",icon:"arrow-forward"}]};
lZ.prototype.getMenuItems=function(a){var b=this;return[{type:"action",label:"Go to issue",action:function(c){b.navigateToIssue(c,a)},title:"Go to issue",icon:"arrow-forward"},{type:"action",label:"View Children",disabled:!Xo(a.hasChildren$),action:function(){var c=oXc({q:"parentid:"+a.id});b.domSafe.openInNewTab(c)},title:"View the children of this issue on the main search page",icon:"pop-out"},{type:"action",label:"Create child",action:function(){return ve(function(c){if(c.nextAddress==1)return xe(c,
rq(0),2);ohb(b,a);Ce(c)})},title:"Create child",icon:"add",hintText:"Shift+Enter"},{type:"action",label:"Add child",action:function(){b.addExistingChild(a)},title:"Add existing issue as child",icon:"add"},{type:"action",label:"Create sibling",action:function(){return ve(function(c){if(c.nextAddress==1)return xe(c,rq(0),2);sXc(b,a);Ce(c)})},title:"Create sibling",icon:"add",hintText:"Enter"},{type:"submenu",label:"Reorder",icon:"reorder_24px",items:[{type:"action",label:"Move up",action:function(){b.rowReorderingModel.moveUp(b.rowDirectiveMap.get(a.ancestorChain.hash()))},
title:"Move up",icon:"arrow-up",hintText:"shift+ctrl+up"},{type:"action",label:"Move down",action:function(){b.rowReorderingModel.moveDown(b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Move down",icon:"arrow-down",hintText:"shift+ctrl+down"},{type:"action",label:"Indent",action:function(){mXc(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},{type:"action",label:"Unindent",action:function(){lXc(b.rowReorderingModel,
b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Unindent",icon:"arrow-left",hintText:"shift+ctrl+left"}]},{type:"action",label:"Unlink from parent",action:function(){b.unlinkFromParent(a)},title:"Unlink from parent",icon:"link-off"},{type:"action",label:"Archive",action:function(){tXc(b,a)},title:"Archive issue",icon:"archive_24px"}]};
lZ.prototype.saveDraft=function(a){var b=this,c,d;return ve(function(e){if(e.nextAddress==1){if(!a.title)return e.return();b.tableModel.saveDraft(a);b.focusManager.setActiveItem(b.getRowIndex(a));return xe(e,Je(b.displayedRows.changes.pipe(B(function(f){return f.find(function(h){return h.row.type==="data"&&h.row.id===a.issueId})}),Ye(Boolean),Ze(6E4))),2)}c=e.yieldResult;Zt((d=b.focusManager.activeItem)==null?void 0:d.row,a)&&b.focusManager.setActiveItem(c);Ce(e)})};
var au=function(a,b){if(!b.saving){a.tableModel.draftRows.remove(b);var c;Zt((c=a.focusManager.activeItem)==null?void 0:c.row,b)&&a.focusManager.setPreviousItemActive()}},ohb=function(a,b){bXc(a.tableModel,b==null?void 0:b.ancestorChain,{afterIssueId:"-1"})},sXc=function(a,b){b.type==="data"?bXc(a.tableModel,b.ancestorChain.parentChain,{afterIssueId:b.id}):bXc(a.tableModel,b.ancestorChain.parentChain,{afterDraftId:b.id})};lZ.prototype.addExistingChild=function(a){this.tableModel.addExistingChild(a)};
var uXc=function(a){return a.tableColumns.map(function(b){return b==="title"?"editable-title":b==="menu"?"save":b==="id"?"empty-id":b})};lZ.prototype.handleDragStart=function(a){this.reorderingSessionTracker.dragStarted$.next({origin:"mouse"});this.rowReorderingModel.handleDragStart(a)};
lZ.prototype.onRowKeydown=function(a,b){var c=this,d;return ve(function(e){switch(e.nextAddress){case 1:switch(b.keyCode){case 39:case 37:if(b.ctrlKey)break;a.type==="data"&&(c.toggleExpansion(a),b.preventDefault());a.type==="load-more-children"&&(bgb(c,a),b.preventDefault());break;case 13:return e.jumpTo(2)}e.jumpTo(3);break;case 2:return b.target.tagName!=="BUTTON"||b.shiftKey||b.metaKey?xe(e,c.tableModel.isOneLineCreationSupported(),4):e.return();case 4:d=e.yieldResult;if(!d)return e.return();
a.type==="data"&&(b.shiftKey?ohb(c,a):sXc(c,a));a.type==="draft-issue"&&a.saving&&sXc(c,a);b.preventDefault();e.jumpTo(3);break;case 3:if(b.target.tagName==="INPUT")return e.return();c.focusManager.onKeydown(b);c.rowReorderingModel.onKeydown(b);Ce(e)}})};
var rXc=function(a,b,c){var d,e,f,h,l,q,v,y;return ve(function(E){if(E.nextAddress==1)return b.defaultPrevented||b.type==="mouseup"&&b instanceof MouseEvent&&b.button!==1?E.return():xe(E,Je(c.issue$),2);d=E.yieldResult;v={};y=a.paths.createIssue((v.component=String((e=d)==null?void 0:e.snapshot[0].componentId),v.parentIssueId=c.ancestorChain.parentChain.nodeId,v.redirectUrl=tq.issueDependencies.makeHref(a.rootIssueId),v.afterIssueId=c.afterIssueId,v.title=c.title,v.priority=(l=(f=d)==null?void 0:
f.snapshot[0].priority)!=null?l:void 0,v.type=(q=(h=d)==null?void 0:h.snapshot[0].type)!=null?q:void 0,v));if(zm(b))return au(a,c),a.domSafe.openInNewTab(y),E.return();if(b&&b.shiftKey)return au(a,c),Dq(a.domSafe,y),E.return();Vt(a.router,y);Ce(E)})},tXc=function(a,b){var c,d;ve(function(e){if(e.nextAddress==1)return a.analytics.trackEvent("editIssue","update","archive-child-issue"),c=a.getRowIndex(b),a.issueArchiveService.archive(b.id),xe(e,Je(a.rows$.pipe(B(function(f){return!f.find(function(h){return h.type===
"data"&&h.id===b.id})}),Ye(Boolean),Ze(6E4))),2);Zt((d=a.focusManager.activeItem)==null?void 0:d.row,b)&&a.focusManager.setActiveItem(c);Ce(e)})};
lZ.prototype.unlinkFromParent=function(a){var b=this,c,d;return ve(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;b.analytics.trackEvent("editIssue","update","unlink-child-issue");return xe(e,b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){du(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};lZ.prototype.isOpen=function(a){return al(a)};
lZ.prototype.getAssigneeString=function(a){var b,c;return rKa(Ui(a==null?void 0:(b=a.snapshot)==null?void 0:(c=b[0])==null?void 0:c.assigneeUser)||void 0)};ea.Object.defineProperties(lZ.prototype,{filters:{configurable:!0,enumerable:!0,set:function(a){this.internalFilters.reset(a!=null?a:[])}},hiddenRowCount$:{configurable:!0,enumerable:!0,get:function(){return this.tableModel.hiddenRowCount$}}});lZ.\u0275fac=function(a){return new (a||lZ)};
lZ.\u0275cmp=t({type:lZ,selectors:[["b-issue-relations-table"]],viewQuery:function(a,b){a&1&&Mg(bQ,5);if(a&2){var c;Qg(c=Rg())&&(b.displayedRows=c)}},inputs:{rootIssueId:"rootIssueId",defaultExpansionLevel:"defaultExpansionLevel",saveExpansionAtKey:"saveExpansionAtKey",filters:"filters",tableColumns:"tableColumns",options:"options"},features:[Yg([sG]),cg],decls:46,vars:10,consts:[["focusIndicator",""],["dragHandle",""],["saving",""],["mat-table","","multiTemplateDataRows","",1,"full-width",3,"dataSource",
"trackBy"],["matColumnDef","active-indicator"],["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","drag-handle"],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",4,"matCellDef"],["matColumnDef","empty-id"],["matColumnDef","title"],["matColumnDef","type"],["matColumnDef","assignee"],["matColumnDef","status"],["matColumnDef","team"],["matColumnDef","menu"],["matColumnDef",
"save"],["mat-cell","","class","text-center",4,"matCellDef"],["matColumnDef","load-more-children"],["mat-cell","",3,"padding-left",4,"matCellDef"],["matColumnDef","editable-title"],["mat-header-row",""],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","selected","closed","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","",3,"row","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","","class","draft",
"cdkTrapFocus","",3,"row","keydown","keydown.escape","keydown.backspace","focusin",4,"matRowDef","matRowDefColumns","matRowDefWhen"],[1,"drag-preview"],[1,"placeholder"],[1,"insertion-bar"],["mat-header-cell",""],["tabindex","-1","mat-cell","",3,"click"],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart"],["svgIcon","drag-indicator",1,"icon-s"],["mat-cell",""],[3,"id"],[3,"expansionChange","issue","expandable","expanded","level"],[3,"issue"],["size","medium",3,"email"],[3,"issue",
"showPendingFix"],["buttonLabel","More options",3,"click","menuItems"],["mat-cell","",1,"text-center"],["buttonLabel","More options",3,"menuItems"],[3,"isReady"],["format","flat",3,"onAction"],[1,"title-location"],[1,"flex-kids-x","align-items-center","gap-s"],["placeholder","Start typing the title...",1,"grow-1",3,"valueChange","commit","value","readonly"],["color","primary","format","fill","size","small","title","Create issue","matTooltip","(Shortcut: Enter)",3,"onAction","disabled"],["format",
"flat","size","small","title","Cancel","matTooltip","(Shortcut: Esc)",3,"onAction","disabled"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","selectionPreventsClick","",1,"clickable",3,"click","mouseup","focusin","keydown","row"],["mat-row","",3,"focusin","keydown","row"],["mat-row","","cdkTrapFocus","",1,"draft",3,"keydown","keydown.escape","keydown.backspace","focusin","row"]],template:function(a,b){a&1&&(I(0,"table",3),vg(1,4),D(2,vfb,1,0,"th",5)(3,wfb,2,0,"td",6),wg(),vg(4,7),D(5,xfb,
1,0,"th",5)(6,yfb,3,0,"td",8),wg(),vg(7,9),D(8,zfb,2,0,"th",5)(9,Afb,2,1,"td",10),wg(),vg(10,11),D(11,Bfb,2,0,"th",5)(12,Cfb,2,0,"td",10),wg(),vg(13,12),D(14,Dfb,2,0,"th",5)(15,Efb,4,8,"td",10),wg(),vg(16,13),D(17,Ffb,2,0,"th",5)(18,Gfb,3,3,"td",10),wg(),vg(19,14),D(20,Jfb,3,1,"th",5)(21,Pfb,3,1,"td",10),wg(),vg(22,15),D(23,Qfb,2,0,"th",5)(24,Rfb,3,4,"td",10),wg(),vg(25,16),D(26,Sfb,2,0,"th",5)(27,Tfb,3,3,"td",10),wg(),vg(28,17),D(29,Ufb,1,0,"th",5)(30,Vfb,2,1,"td",10),wg(),vg(31,18),D(32,Wfb,1,0,
"th",5)(33,agb,5,1,"td",19),wg(),vg(34,20),D(35,cgb,6,7,"td",21),wg(),vg(36,22),D(37,dgb,2,0,"th",5)(38,egb,7,6,"td",21),wg(),D(39,ggb,1,1,"tr",23)(40,jgb,3,12,"tr",24)(41,kgb,1,4,"tr",25)(42,lgb,1,2,"tr",26),J(),K(43,"div",27)(44,"div",28)(45,"div",29));a&2&&(F("dataSource",b.rows$)("trackBy",b.trackBy),C(39),G(b.options.hideColumnHeaders?-1:39),C(),F("matRowDefColumns",b.tableColumns)("matRowDefWhen",b.isDataRow),C(),F("matRowDefColumns",ah(9,nXc))("matRowDefWhen",b.isLoadMoreRow),C(),F("matRowDefColumns",
uXc(b))("matRowDefWhen",b.isDraftRow))},dependencies:[jx,$D,fQ,bR,OQ,UQ,QQ,NQ,WQ,RQ,TQ,XQ,ZQ,FH,HH,UU,hP,IH,dR,gR,oP,rP,hR,jR,SR,OI,JO,bQ,wM,Iw],styles:['.mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:32px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%], th.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-mdc-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0px}.mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0px}.mat-mdc-row[_ngcontent-%COMP%]:last-of-type   .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-mdc-row[_ngcontent-%COMP%]   .mat-column-active-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-mdc-row[_ngcontent-%COMP%]:focus-within   .mat-column-active-indicator[_ngcontent-%COMP%], tr.mat-mdc-row.active[_ngcontent-%COMP%]   .mat-column-active-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}tr.mat-mdc-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]{box-sizing:border-box;cursor:move;outline-width:0;padding:0px;width:18px}tr.mat-mdc-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{line-height:32px;opacity:.2}.mat-mdc-header-cell.mat-column-title[_ngcontent-%COMP%]{padding-left:36px;min-width:250px}.insertion-bar[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);display:none;height:2px;pointer-events:none;position:absolute}.insertion-bar[_ngcontent-%COMP%]::before{content:"";border-bottom:5px solid rgba(0,0,0,0);border-left:8px solid;border-left-color:#1a73e8;border-left-color:var(--primary-btn-bg);border-top:5px solid rgba(0,0,0,0);display:block;height:0;position:relative;top:-4px;width:0}.placeholder[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);border-radius:4px;box-sizing:border-box;display:none;opacity:.7;pointer-events:none;position:absolute;top:0;width:100%}.drag-preview[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--inverse-text);border-radius:4px;display:none;padding:7px 13px;position:absolute}tr.dragging[_ngcontent-%COMP%], tr.nodrop[_ngcontent-%COMP%]{opacity:.5}tr.closed[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--row-fixed-bg)}tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-mdc-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-mdc-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#1a73e8;color:var(--link)}[_nghost-%COMP%]{position:relative;padding-bottom:5px;overflow-y:hidden}'],
changeDetection:0});var ogb=function(a){this.internalArray_=m(a)};Y(ogb,V);g=ogb.prototype;g.getFilename=function(){return Gh(this,1)};g.setFilename=function(a){gk(this,1,a)};g.getLineNumber=function(a){return Iv(this,2,a)};g.getChangeNumber_asLegacyNumberOrString=function(){return Vj(this,3)};g.setChangeNumber=function(a){return nk(this,3,a)};var qgb=function(a){this.internalArray_=m(a)};Y(qgb,V);var vXc=function(a){this.internalArray_=m(a,0,vXc.messageId)};Y(vXc,V);vXc.messageId="b.MentionSearchResult";var mZ=function(){this.executor=r(PB)};mZ.\u0275fac=function(a){return new (a||mZ)};mZ.\u0275prov=n({token:mZ,factory:mZ.\u0275fac,providedIn:"root"});var nZ=function(){this.mentionsApi=r(mZ);this.refreshMonitor=r(MF);this.analytics=r(wG)},wXc=function(a,b){var c=a.getLink(b);a.cachedId===b&&a.cachedEntry||(a.cachedId=b,a.cachedEntry=Ncc(a.refreshMonitor,Re(function(){return a.mentionsApi.executor.get({url:"action/issues/"+b+"/mentions",responseConstructor:vXc}).then(rgb).then(function(d){return{mentions:d,link:c}}).catch(function(){return{link:c}})}).pipe(Mf({link:c}))).pipe(Kf({refCount:!0,bufferSize:1})));return a.cachedEntry};
nZ.prototype.displayPackageNames=function(a){var b;a=(b=a.mentions)==null?void 0:b.packageMentionSet;var c;return(a==null?void 0:a.length)>1||(a==null?void 0:(c=a[0])==null?void 0:c.packageName)!=="piper"};nZ.prototype.getLink=function(a){return"https://todo.corp.google.com/?issue="+a};nZ.prototype.trackSqueegeeClick=function(){this.analytics.trackEvent("codeMentions","clickSqueegeeLink")};nZ.\u0275fac=function(a){return new (a||nZ)};nZ.\u0275prov=n({token:nZ,factory:nZ.\u0275fac,providedIn:"root"});var pZ=function(){var a=this;this.paramsService=r(OL);this.issueRelationshipsFridge=r(KG);this.issueFullFridge=r(yG);this.issueFridge=r(OF);this.codeMentions=r(nZ);this.eventsForIssue=r(yF);this.activeSession=r(dv);this.id$=this.paramsService.issueId$.pipe(Df(1E3));this.issue$=this.id$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}));this.issueEvents$=this.id$.pipe(Nf(function(b){return a.eventsForIssue.watch(b)}),B(function(b){var c;return(c=b==null?void 0:b.events)!=null?c:[]}));this.blockerIssueIds$=
this.issue$.pipe(B(function(b){var c;return(c=b==null?void 0:b.snapshot[0].blockedByIssueId)!=null?c:[]}),Ef(yi));this.blockedIssueIds$=this.issue$.pipe(B(function(b){var c;return(c=b==null?void 0:b.snapshot[0].blockingIssueId)!=null?c:[]}),Ef(yi));this.parentIds$=this.issue$.pipe(B(function(b){var c;return(c=b==null?void 0:b.parentIssueIds)!=null?c:[]}),Ef(yi));this.childrenIds$=this.id$.pipe(Nf(function(b){return a.issueRelationshipsFridge.watch(b)}),B(function(b){var c;return(c=b==null?void 0:
b.relatedChildren.map(function(d){return d.targetIssueId}))!=null?c:[]}));this.duplicateIssueIds$=this.issue$.pipe(B(function(b){var c;return(c=b==null?void 0:b.snapshot[0].duplicateIssueId)!=null?c:[]}),Ef(yi));this.blockersDualCount$=Me([this.id$,this.blockerIssueIds$]).pipe(Nf(function(b){var c=k(b);b=c.next().value;c=c.next().value;return oZ(a,b,c,["BLOCKED_BY"])}),Kf({bufferSize:1,refCount:!0}));this.countBlockersDisplay$=this.blockersDualCount$.pipe(B(bu),Kf({bufferSize:1,refCount:!0}));this.blockedDualCount$=
Me([this.id$,this.blockedIssueIds$]).pipe(Nf(function(b){var c=k(b);b=c.next().value;c=c.next().value;return oZ(a,b,c,["BLOCKING"])}),Kf({bufferSize:1,refCount:!0}));this.countBlockedDisplay$=this.blockedDualCount$.pipe(B(bu),Kf({bufferSize:1,refCount:!0}));this.childrenDualCount$=Me([this.id$,this.childrenIds$]).pipe(Nf(function(b){var c=k(b);b=c.next().value;c=c.next().value;return oZ(a,b,c,["CHILDREN"])}),Kf({bufferSize:1,refCount:!0}));this.countChildrenDisplay$=this.childrenDualCount$.pipe(B(bu),
Kf({bufferSize:1,refCount:!0}));this.parentsDualCount$=Me([this.id$,this.parentIds$]).pipe(Nf(function(b){var c=k(b);b=c.next().value;c=c.next().value;return oZ(a,b,c,["PARENT"])}),Kf({bufferSize:1,refCount:!0}));this.countParentsDisplay$=this.parentsDualCount$.pipe(B(bu),Kf({bufferSize:1,refCount:!0}));this.dependenciesDualCount$=Me([this.id$,this.blockerIssueIds$,this.childrenIds$]).pipe(Nf(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;return oZ(a,b,[].concat(w(c),
w(d)),["CHILDREN","BLOCKED_BY"])}));this.countDependenciesDisplay$=this.dependenciesDualCount$.pipe(B(bu),Kf({bufferSize:1,refCount:!0}));this.duplicatesDualCount$=Me([this.id$,this.duplicateIssueIds$]).pipe(Nf(function(b){var c=k(b);b=c.next().value;c=c.next().value;return oZ(a,b,c,["DUPLICATE"])}),Kf({bufferSize:1,refCount:!0}));this.countDuplicateDisplay$=this.duplicatesDualCount$.pipe(B(function(b){return b.total}),B(tgb),Kf({bufferSize:1,refCount:!0}));this.countResourcesDisplay$=this.issue$.pipe(B(function(b){var c;
return(c=b==null?void 0:b.relatedLinks)!=null?c:[]}),B(function(b){return a.activeSession.isInternalSession()?b:b.filter(function(c){return!dGa(c)})}),B(function(b){return cu(b.length)}),B(tgb),Kf({bufferSize:1,refCount:!0}));this.countTodosDisplay$=this.id$.pipe(Ye(kj),Nf(function(b){return wXc(a.codeMentions,b)}),B(function(b){var c,d;return cu((d=(c=b.mentions)==null?void 0:c.totalMentions)!=null?d:0)}),B(tgb),Kf({bufferSize:1,refCount:!0}));this.countCommentsDisplay$=this.issueEvents$.pipe(B(function(b){return cu(b.filter(Xk).length)}),
B(tgb),Kf({bufferSize:1,refCount:!0}))},oZ=function(a,b,c,d){d=d===void 0?[]:d;c=Rk(c);if(!b||c.length===0)return Fe({open:{count:0,exact:!0},total:{count:0,exact:!0}});d=d.map(function(e){return ugb(b,e)}).filter(kj).map(function(e){return"("+e+")"}).join(" OR ");return c.length>99&&d?a.issueFridge.watchMany({filter:d,pageSize:100}).pipe(B(function(e){e=e.results.filter(al).filter(bl).length;return{open:cu(e),total:cu(c.length)}})):Me(c.map(function(e){return a.issueFullFridge.watch(e)})).pipe(B(function(e){return{open:cu(e.filter(kj).filter(al).filter(bl).length),
total:cu(e.filter(function(f){return!f||bl(f)}).length)}}))};pZ.\u0275fac=function(a){return new (a||pZ)};pZ.\u0275prov=n({token:pZ,factory:pZ.\u0275fac,providedIn:"root"});var qZ=function(){Z.call(this);var a=this;this.issueFullFridge=r(yG);this.butterBar=r(hE);this.analytics=r(wG);this.refreshMonitor=r(MF);this.contextSensitiveRegistry=r(WL);this.issuePermissionService=r(ZL);this.issuePicker=r(hS);this.errorHandler=r(jE);this.counts=r(pZ);this.issueId$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.issueId$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}));this.filters=[];this.shouldResetFilters=new rG;this.tableColumns=[].concat(w(fLc));this.initialSort=
{column:"status",direction:"ASCENDING"};this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.blockerIds$=this.issue$.pipe(B(function(b){return b==null?void 0:b.snapshot[0]}),B(function(b){var c,d;return(d=b==null?void 0:(c=b.blockedByIssueId)==null?void 0:c.map(String))!=null?d:[]}));this.blockersCount$=this.blockerIds$.pipe(Nf(function(b){return b.length===0?Fe(0):a.counts.blockersDualCount$.pipe(B(function(c){return c.total.count}))}));this.showBlockersTable$=this.blockersCount$.pipe(B(function(b){return b>
0}),Mf(!0));this.tableOptions={menu:{includeGoToIssueItem:!0},deEmphasizeClosedIssues:!0};this.getMenuItems=function(b){return[{type:"action",label:"Remove blocker",action:function(){xXc(a,b)},title:"Remove blocker",icon:"clear"}]};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){var b=Xo(a.blockerIds$);if(b!=null){b=k(b);for(var c=b.next();!c.done;c=b.next())a.issueFullFridge.poke(c.value)}}))};Y(qZ,Z);qZ.\u0275dir=Z.\u0275dir;
var Cgb=function(a){var b;return ve(function(c){b=Xo(a.issueId$);if(b==null)return c.return();a.analytics.trackEvent("editIssue","update","add-blocker");return xe(c,a.issuePicker.open({title:"Add Blockers of "+b,allowMultipleIds:!0,edgeType:"blocker"},function(d){yXc(a,b,d)}),0)})},yXc=function(a,b,c){ve(function(d){return c.length===0?d.return():xe(d,a.issueFullFridge.addBlockedBy(b,c).catch(function(e){lE(a.errorHandler,e)}),0)})},xXc=function(a,b){var c,d;ve(function(e){if(e.nextAddress==1){c=
Xo(a.issueId$);if(c==null)return e.return();a.analytics.trackEvent("editIssue","update","remove-blocker");we(e,2);return xe(e,a.issueFullFridge.removeBlockedBy(c,[b]),4)}if(e.nextAddress!=2)return jv(e,0);d=Be(e);a.butterBar.showWarning("Could not remove blocker "+b+". "+(Jn(d)?Kn(d):d));Ce(e)})};qZ.\u0275fac=function(a){return new (a||qZ)};
qZ.\u0275cmp=t({type:qZ,selectors:[["b-blockers-table"]],viewQuery:function(a,b){a&1&&Mg(UV,5);if(a&2){var c;Qg(c=Rg())&&(b.issuesTable=c.first)}},inputs:{filters:"filters"},outputs:{shouldResetFilters:"shouldResetFilters"},features:[cg],decls:15,vars:12,consts:[["addBlocker",""],[1,"table-header","blockers-count","flex-kids-x","align-items-center"],[1,"muted","margin-s-y","flex-kids-x","align-items-center"],["role","status","tabindex","0","matTooltip","Use blockers for issues that are preventing this issue from being resolved.",
1,"b-chip","nowrap","bad","squared","xs","keep-focus-ring"],["svgIcon","slo-status-no-data",1,"icon-xxs"],[1,"muted"],[4,"ngTemplateOutlet"],[3,"issueIds","tableColumns","menuItemFactory","filters","initialSort","options"],[1,"emoji"],[1,"subtle-link","unstyled",3,"click"],["size","small","title","Mark an existing issue as blocker",1,"add",3,"onAction","disabled"]],template:function(a,b){a&1&&(I(0,"div",1)(1,"h4",2)(2,"div",3),K(3,"mat-icon",4),J(),Q(4),S(5,"async"),J(),D(6,wgb,1,1,"ng-container"),
S(7,"async"),J(),D(8,ygb,2,3),S(9,"async"),D(10,Agb,6,1,"div")(11,Bgb,4,2,"p",5),S(12,"async"),D(13,Dgb,3,3,"ng-template",null,0,fh));if(a&2){var c;C(4);R(" Blockers ",U(5,4,b.counts.countBlockersDisplay$)," ");C(2);G(U(7,6,b.showBlockersTable$)?6:-1);C(2);G(U(9,8,b.showBlockersTable$)?8:10);C(3);G((c=U(12,10,b.issuesTable==null?null:b.issuesTable.hiddenRowCount$))?11:-1,c)}},dependencies:[Hw,$D,FH,HH,IH,UV,Iw],styles:["[_nghost-%COMP%] {\n      display: block;\n    }\n    b-issues-table[_ngcontent-%COMP%] {\n      display: block;\n      overflow-x: auto;\n    }"],
changeDetection:0});var sZ=function(){Z.apply(this,arguments);var a=this;this.routerEvents=r(vG);this.documentVisibility=r(rZ);this.validNavigations=0;this.ignoringNextNav=!1;this.mostRecentlyMeasured="";this.tabWasHidden=!1;this.onNavStart=function(){a.ignoringNextNav||(Occ("appNavStart"),a.mostRecentlyMeasured="")};this.onNavSuccess=function(){a.ignoringNextNav?a.ignoringNextNav=!1:a.validNavigations++}};Y(sZ,Z);sZ.\u0275dir=Z.\u0275dir;
sZ.prototype.install=function(){var a=this;to()&&(this.subscriptions.add(this.routerEvents.routeChangeStart.subscribe(this.onNavStart)),this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(this.onNavSuccess)),this.subscriptions.add(this.routerEvents.routeUpdate.subscribe(function(){a.onNavStart();a.onNavSuccess()})),this.subscriptions.add(this.documentVisibility.visibilityState$.pipe(Ye(function(b){return b!=="visible"}),Cf()).subscribe(function(){a.tabWasHidden=!0})))};
var zXc=function(a,b){Occ(b);if(b!==a.mostRecentlyMeasured){var c=a.validNavigations<=1?void 0:"appNavStart",d=c?"appNavStart-to-CF":"browserStart-to-CF",e=d+" -> "+b;a.mostRecentlyMeasured=b;if((d!=="browserStart-to-CF"||!a.tabWasHidden)&&to())if(b===null)console.warn("window.performance does not support endMark `null`");else try{window.performance.measure(e,c,b)}catch(f){console.warn("route_performance",f)}}};sZ.\u0275fac=function(){var a;return function(b){return(a||(a=de(sZ)))(b||sZ)}}();
sZ.\u0275prov=n({token:sZ,factory:sZ.\u0275fac,providedIn:"root"});var rZ=function(){var a=this;this.window=r(aL);this.visibilityState$=Te(this.window.document,"visibilityChange").pipe(Mf(void 0),B(function(){return a.currentVisibility}))};ea.Object.defineProperties(rZ.prototype,{currentVisibility:{configurable:!0,enumerable:!0,get:function(){return this.window.document.visibilityState}}});rZ.\u0275fac=function(a){return new (a||rZ)};rZ.\u0275prov=n({token:rZ,factory:rZ.\u0275fac,providedIn:"root"});var AXc=function(){this.imageUrls=r(iO);this.EMPTY_BLOCKER_LIGHT=this.imageUrls.EMPTY_BLOCKER_LIGHT;this.EMPTY_BLOCKER_DARK=this.imageUrls.EMPTY_BLOCKER_DARK;this.EMPTY_CHILD_LIGHT=this.imageUrls.EMPTY_CHILD_LIGHT;this.EMPTY_CHILD_DARK=this.imageUrls.EMPTY_CHILD_DARK};AXc.\u0275fac=function(a){return new (a||AXc)};
AXc.\u0275cmp=t({type:AXc,selectors:[["b-issue-dependencies-onboarding-dialog"]],decls:16,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"flex-kids-x","centered-inside"],["width","601","height","480","aria-hidden","true","alt","",1,"light-only",3,"src"],["width","601","height","480","aria-hidden","true","alt","",1,"dark-only",3,"src"],[1,"centered"],["href","https://developers.google.com/issue-tracker/concepts/parent-child-relationships","target","_blank",1,"nowrap"],["mat-dialog-actions",
""],"mat-flat-button  color primary matDialogClose  cdkFocusInitial ".split(" ")],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"About Dependencies"),J(),I(2,"div",1)(3,"div",2),K(4,"img",3)(5,"img",3)(6,"img",4)(7,"img",4),J(),I(8,"article")(9,"p",5),Q(10," Children are used to separate a large work item (like a project) into smaller pieces. Blockers indicate that something prevents work from starting on this issue. "),I(11,"a",6),Q(12,"Learn more"),J()()()(),I(13,"div",7)(14,"button",8),Q(15,"Ok"),
J()());a&2&&(C(4),F("src",b.EMPTY_CHILD_LIGHT,of),C(),F("src",b.EMPTY_BLOCKER_LIGHT,of),C(),F("src",b.EMPTY_CHILD_DARK,of),C(),F("src",b.EMPTY_BLOCKER_DARK,of))},dependencies:[vD,Vy,lL,nL,pL,oL],styles:["[_nghost-%COMP%]{padding:24px;display:block}article[_ngcontent-%COMP%]{text-align:center;max-width:30rem}img[_ngcontent-%COMP%]{flex-grow:1;max-width:45%;height:35.9400998336%}a[_ngcontent-%COMP%]:visited{color:#1a73e8;color:var(--link)}.mat-mdc-dialog-content[_ngcontent-%COMP%], .mat-mdc-dialog-actions[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.mat-dialog-actions[_ngcontent-%COMP%]{padding-top:8px;margin-bottom:8px}"],
changeDetection:0});var tZ=function(){Z.call(this);var a=this;this.issueFullFridge=r(yG);this.butterBar=r(hE);this.analytics=r(wG);this.refreshMonitor=r(MF);this.issueRelationshipsFridge=r(KG);this.ROUTES=tq;this.parentIssueIds$=new bo([]);this.filters=[];this.tableColumns=[].concat(w(fLc));this.tableOptions={menu:{includeGoToIssueItem:!0},deEmphasizeClosedIssues:!0};this.getMenuItems=function(b){return[{type:"action",label:"Unlink parent",action:function(){return BXc(a,b)},title:"Unlink parent",icon:"link"}]};this.showError=
function(b){return function(c){a.butterBar.showWarning(b+". "+(Jn(c)?Kn(c):c))}};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){for(var b=k(a.parentIssueIds$.value),c=b.next();!c.done;c=b.next())a.issueFullFridge.poke(c.value)}))};Y(tZ,Z);tZ.\u0275dir=Z.\u0275dir;tZ.prototype.ngOnInit=function(){};
var BXc=function(a,b){var c;return ve(function(d){a.analytics.trackEvent("editIssue","update","remove-parent");c=a.issueId;return xe(d,a.issueRelationshipsFridge.unlinkFromParent(c,b).catch(a.showError("Failed to unlink child "+c+" from parent "+b)),0)})};ea.Object.defineProperties(tZ.prototype,{parentIds:{configurable:!0,enumerable:!0,set:function(a){this.parentIssueIds$.next(a!=null?a:[])}},hiddenRowCount$:{configurable:!0,enumerable:!0,get:function(){return this.issuesTable.hiddenRowCount$}}});
tZ.\u0275fac=function(a){return new (a||tZ)};
tZ.\u0275cmp=t({type:tZ,selectors:[["b-parents-table"]],viewQuery:function(a,b){a&1&&Mg(UV,5);if(a&2){var c;Qg(c=Rg())&&(b.issuesTable=c.first)}},inputs:{parentIds:"parentIds",filters:"filters",issueId:"issueId"},features:[cg],decls:2,vars:3,consts:[[3,"issueIds","tableColumns","options","filters","issueUrlFactory","menuItemFactory"]],template:function(a,b){a&1&&(D(0,Egb,1,6,"b-issues-table",0),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.parentIssueIds$))?0:-1,c)}},dependencies:[UV,Iw],encapsulation:2,
changeDetection:0});var uZ=function(){this.buttonSize="large";this.buttonTooltip=this.buttonSvgIcon="";this.showActiveState=!1;this.options=[];this.confirmButtonLabel="Apply";this.cancelButtonLabel="Cancel";this.showActionButtons=!0;this.onChange=new rG;this.onConfirm=new rG;this.onCancel=new rG;this.internalSelectedOptions=new KB};uZ.prototype.confirm=function(a){this.onConfirm.emit(new Set(this.internalSelectedOptions));a.close()};uZ.prototype.cancel=function(a){this.onCancel.emit();a.close()};
ea.Object.defineProperties(uZ.prototype,{selectedOptions:{configurable:!0,enumerable:!0,set:function(a){this.internalSelectedOptions.reset(a)}}});uZ.\u0275fac=function(a){return new (a||uZ)};
uZ.\u0275cmp=t({type:uZ,selectors:[["select-menu"]],inputs:{buttonSize:"buttonSize",buttonAriaLabel:"buttonAriaLabel",buttonSvgIcon:"buttonSvgIcon",buttonTooltip:"buttonTooltip",showActiveState:"showActiveState",overlayTitle:"overlayTitle",options:"options",selectedOptions:"selectedOptions",confirmButtonLabel:"confirmButtonLabel",cancelButtonLabel:"cancelButtonLabel",showActionButtons:"showActionButtons"},outputs:{onChange:"onChange",onConfirm:"onConfirm",onCancel:"onCancel"},decls:12,vars:14,consts:[["trigger",
"onedevPopupPanelTrigger"],["optionsPanel","onedevPopupPanel"],["mat-icon-button","","onedevPopupPanelTrigger","","aria-haspopup","true",3,"click","onedevPopupPanelTriggerFor","color","matTooltip"],[3,"svgIcon"],["role","region","className","select-menu-popup"],[1,"padded-s","flex-kids-y"],[1,"title","margin-s-x","padded-s"],[1,"flex-kids-x"],[1,"badge",3,"title"],[1,"option","grow-1","flex-kids-x","align-items-center","padded-x","padded-s-y","gap"],[3,"change","checked"],[1,"flex-kids-x","justify-flex-end",
"padded-s","gap-s"],["mat-stroked-button","",1,"cancel",3,"click"],["mat-flat-button","","color","primary",1,"confirm",3,"click"]],template:function(a,b){if(a&1){var c=x();I(0,"button",2,0);S(2,"async");M("click",function(){z(c);var d=L(1),e;(e=d.isOpen)!=null&&e?d.close():d.open();return A()});K(3,"mat-icon",3);D(4,Ggb,2,3);J();I(5,"onedev-popup-panel",4,1)(7,"div",5);D(8,Hgb,2,1,"h1",6);tg(9,Kgb,7,5,"div",7,sg);D(11,Lgb,6,2);J()()}a&2&&(a=L(6),ng("large",b.buttonSize==="large")("small",b.buttonSize===
"small"),F("onedevPopupPanelTriggerFor",a)("color",b.showActiveState&&U(2,12,b.internalSelectedOptions.size$)?"primary":null)("matTooltip",b.buttonTooltip),eg("aria-label",b.buttonAriaLabel),C(3),F("svgIcon",b.buttonSvgIcon),C(),G(b.showActiveState?4:-1),C(4),G(b.overlayTitle?8:-1),C(),ug(b.options),C(2),G(b.showActionButtons?11:-1))},dependencies:[$D,vD,Vy,Xy,qN,uN,DM,FH,HH,kP,lP,Iw],styles:[".select-menu-popup{flex-direction:column;max-width:18rem;max-height:calc(100vh - 100px);overflow-y:auto;margin-top:10px}.select-menu-popup .title{font-weight:500}.select-menu-popup .option:hover{background-color:#e8f0fe;background-color:var(--primary-c50)}select-menu button:not(.mat-primary) mat-icon{color:#5f6368;color:var(--icon)}select-menu button[aria-expanded=true]{background-color:#d2e3fc;background-color:var(--selected-bg)}select-menu button span.badge{font-size:.6875rem;display:inline-block;bottom:-4px;right:-9px;position:absolute;padding:0px 6px;border-radius:30px;margin-top:0px;box-sizing:border-box;height:16px;line-height:16px;color:#fff;color:var(--text-inverse);background-color:#1a73e8;background-color:var(--primary-btn-bg)}/*# sourceMappingURL=select_menu.css.map */\n"],
encapsulation:2,changeDetection:0});var CXc=function(){return[]},Tgb=function(a){return{filteredCount:a}},vZ=function(){Z.call(this);var a=this;this.brain=r(XL);this.issuePicker=r(hS);this.issueRelationshipsFridge=r(KG);this.issueFullFridge=r(yG);this.router=r(HE);this.routePerformance=r(sZ);this.element=r(ge);this.analytics=r(wG);this.issuePermissionService=r(ZL);this.activeSession=r(dv);this.counts=r(pZ);this.matDialog=r(kL);this.butterBar=r(hE);this.makeIlpUrlForParentIssue=$4a;this.recallFilters=Msa("deps-filters");this.saveFilters=
Fk("deps-filters");this.isThinking$=Me([this.issueFullFridge.saving$,this.issueRelationshipsFridge.saving$]).pipe(B(function(b){return b.some(Boolean)}));this.issueId$=this.brain.id$.pipe(Ye(kj),B(dq));this.issue$=this.brain.issueJs$.pipe(Ye(kj));this.parentIds$=this.issue$.pipe(B(function(b){var c;return(c=b==null?void 0:b.parentIssueIds)!=null?c:[]}));this.parentIssues$=this.parentIds$.pipe(Nf(function(b){return a.issueFullFridge.watchSet(b)}));this.parentsCount$=this.parentIssues$.pipe(B(function(b){return b.filter(bl).length}));
this.childrenIds$=this.issueId$.pipe(Nf(function(b){return a.issueRelationshipsFridge.watch(b)}),B(function(b){var c;return(c=b==null?void 0:b.relatedChildren.map(function(d){return d.targetIssueId}))!=null?c:[]}));this.totalDaysOpen$=this.issue$.pipe(B(function(b){var c,d;return((c=Zk(b))==null?void 0:(d=c.effort)==null?void 0:d.totalOpen)||0}));this.totalDaysComplete$=this.issue$.pipe(B(function(b){var c,d;return((c=Zk(b))==null?void 0:(d=c.effort)==null?void 0:d.totalComplete)||0}));this.unarchivedChildIssueCount$=
this.childrenIds$.pipe(B(function(b){return b.length}));this.isTotalEstimatesEnabled=lu(this.activeSession,"enableAggregationRules");this.isNonPublicSession=this.activeSession.isNonPublicSession();this.isInternalSession=this.activeSession.isInternalSession();this.enableRollupStatsUi=lu(this.activeSession,"enableRollupStatsUi");this.totalDaysCount$=Me([this.totalDaysOpen$,this.totalDaysComplete$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b+c}));this.totalDaysDisplayPercent$=
lhb(this.totalDaysComplete$,this.totalDaysCount$);this.progressHovercardContent$=Me([this.totalDaysComplete$,this.totalDaysOpen$,this.totalDaysDisplayPercent$]).pipe(B(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;return mhb(Math.round(b*100)/100)+" completed | "+mhb(Math.round(d*100)/100)+" open | "+c+"% completed"}));this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.rowCreated$=new Jf;this.issueFilters=new KB;this.ISSUE_FILTER_OPTIONS=[{key:Dr.OPEN.key,
title:Dr.OPEN.displayAs,description:"Hides closed issues"},{key:Dr.ASSIGNED_TO_ME.key,title:Dr.ASSIGNED_TO_ME.displayAs,description:"Hides issues not assigned to me"}];Je(mxa("b-issue-relations-table tr .mat-column-title a",this.element.nativeElement).pipe(Of(Xe(this.destroyed$,this.rowCreated$)))).then(function(){var b=function(){zXc(a.routePerformance,"issue-details-w-tree")};requestAnimationFrame(b);setTimeout(b)}).catch(function(){});try{this.issueFilters.reset(this.recallFilters().filter(e5a))}catch(b){}this.subscriptions.add(this.issueFilters.value$.subscribe(function(b){a.saveFilters([].concat(w(b)))}))};
Y(vZ,Z);vZ.\u0275dir=Z.\u0275dir;
var hhb=function(a){var b,c;return ve(function(d){if(d.nextAddress==1)return a.analytics.trackEvent("editIssue","update","add-parent"),xe(d,Je(a.issue$),2);b=d.yieldResult;c=b.issueId;return xe(d,a.issuePicker.open({title:"Add Parent to b/"+c,allowMultipleIds:!1,edgeType:"parent"},function(e){DXc(a,c,e)}),0)})},DXc=function(a,b,c){var d=k(c).next().value;var e,f,h,l;ve(function(q){if(q.nextAddress==1)return(e=d)?xe(q,a.issueRelationshipsFridge.assignParentToOneIssue(e,b),2):q.return();f=q.yieldResult;
h=f.errors;return((l=h)==null?0:l.length)?(a.butterBar.showWarning("Could not add parent"),q.return()):xe(q,a.issueFullFridge.poke(b),0)})};vZ.prototype.shouldResetFilters=function(){this.issueFilters.reset([])};vZ.prototype.addChild=function(){this.rowCreated$.next();var a;(a=this.relationsTable)==null||a.addExistingChild()};vZ.prototype.createChild=function(){this.rowCreated$.next();var a;(a=this.relationsTable)==null||ohb(a)};
vZ.prototype.openLearnMore=function(){this.matDialog.open(AXc,{maxWidth:"1300px",width:"90%"})};vZ.\u0275fac=function(a){return new (a||vZ)};
vZ.\u0275cmp=t({type:vZ,selectors:[["b-issue-dependencies"]],viewQuery:function(a,b){a&1&&(Mg(lZ,5),Mg(qZ,5),Mg(tZ,5));if(a&2){var c;Qg(c=Rg())&&(b.relationsTable=c.first);Qg(c=Rg())&&(b.blockersTable=c.first);Qg(c=Rg())&&(b.parentsTable=c.first)}},features:[cg],decls:15,vars:13,consts:[["filterInfo",""],["addParent",""],["addChildren",""],["progressHovercard","onedevHovercard"],["effortHovercard","onedevHovercard"],[1,"status","flex-kids-x","gap-s","align-items-center","justify-flex-end"],["buttonSize",
"small","buttonSvgIcon","filter-alt","buttonTooltip","Filter issues","buttonAriaLabel","Filter issues","overlayTitle","Only show issues that are",3,"onChange","options","selectedOptions","showActionButtons","showActiveState"],["mat-icon-button","","matTooltip","Learn more","aria-label","Open dialog to learn more about the Dependencies tab",1,"small",3,"click"],["svgIcon","info",1,"icon-s"],[1,"pos-rel","carded","margined-s","bg-main","flex-kids-y","gap-l"],[1,"parents"],[1,"table-header","flex-kids-x",
"align-items-center"],[1,"muted","margin-s-y","flex-kids-x","align-items-center"],["role","status",1,"b-chip","nowrap","squared","xs","keep-focus-ring"],["svgIcon","arrow_upward_24px",1,"icon-xxs"],[3,"issueId","parentIds","filters"],[3,"shouldResetFilters","filters"],[1,"table-header","child-issue-header","flex-kids-x","align-items-center"],["role","status","tabindex","0","matTooltip","Use child issues to break down this issue into smaller units of work.",1,"b-chip","nowrap","squared","xs","keep-focus-ring"],
["svgIcon","account_tree_24px",1,"icon-xxs"],[1,"progress-header"],[1,"margin-s-bottom",3,"id"],[3,"rootIssueId","filters","saveExpansionAtKey"],[4,"ngTemplateOutlet"],[1,"muted"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"flex-kids-x","align-items-center"],[1,"margin-s-right"],[1,"label"],[1,"progress","margin-s-right",3,"onedevHovercardTrigger"],[1,"completion"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body","progress-hover-card"],["svgIcon","info","aria-hidden",
"false","aria-label","The progress of child issues takes into consideration all child issues and descendant issues\n                  which have estimation data. If a child issue doesn\u2019t have an estimate, their progress is\n                  not reflected in the progress bar.",1,"icon-s",3,"onedevHovercardTrigger"],[1,"onedev-hovercard-body"],[1,"margin-s-top"],["title","View the search results page for this issue and all descendants",3,"href"],[1,"subtle-link","unstyled",3,"click"],["size",
"small","title","Add a parent of the current issue",1,"add",3,"onAction","disabled"],["size","small","title","Create an issue as a child",1,"add",3,"disabled"],["size","small","title","Add an existing issue as a child",1,"add",3,"onAction","disabled"],["size","small","title","Create an issue as a child",1,"add",3,"onAction","disabled"]],template:function(a,b){if(a&1){var c=x();I(0,"div",5);D(1,Mgb,1,0,"b-spinner");S(2,"async");I(3,"select-menu",6);S(4,"async");M("onChange",function(f){z(c);return A(b.issueFilters.reset(f))});
J();I(5,"button",7);M("click",function(){z(c);return A(b.openLearnMore())});K(6,"mat-icon",8);J()();D(7,ehb,40,47,"div",9);S(8,"async");D(9,ghb,1,1,"ng-template",null,0,fh)(11,ihb,3,3,"ng-template",null,1,fh)(13,khb,4,4,"ng-template",null,2,fh)}if(a&2){var d,e;C();G(U(2,6,b.isThinking$)?1:-1);C(2);F("options",b.ISSUE_FILTER_OPTIONS)("selectedOptions",(d=U(4,8,b.issueFilters.value$))!==null&&d!==void 0?d:ah(12,CXc))("showActionButtons",!1)("showActiveState",!0);C(4);G((e=U(8,10,b.issueId$))?7:-1,e)}},
dependencies:[Hw,$D,bK,hK,vD,Xy,FH,HH,IH,uZ,JO,UY,qZ,lZ,tZ,Iw,Ow],styles:["b-issue-dependencies h4 button{margin:-8px 0}b-issue-dependencies h4 button.gmat-mdc-button.mat-mdc-outlined-button.small{line-height:21px}b-issue-dependencies .carded{padding-top:0;margin-top:0}b-issue-dependencies .table-header{margin-top:0;margin-bottom:4px}b-issue-dependencies .status{padding:4px 16px}b-issue-dependencies .status b-spinner{margin-top:4px}b-issue-dependencies .status mat-icon{margin-top:-1px}b-issue-dependencies b-issue-relations-table{display:block;overflow-x:auto}b-issue-dependencies b-button.add{margin-left:16px}b-issue-dependencies .emoji{font-size:1rem;padding:0 4px}b-issue-dependencies .progress-header{padding-top:12px;font-size:.75rem;padding-bottom:16px}b-issue-dependencies .progress{border-radius:6px;border:1px solid;border-color:#137333;border-color:var(--good-text);height:8px;width:132px;position:relative}b-issue-dependencies .progress>.completion{background-color:#137333;background-color:var(--good-text);height:100%;border-radius:9px}b-issue-dependencies .progress-hover-card{font-weight:bold}b-issue-dependencies button.subtle-link.unstyled{color:#1a73e8;color:var(--link)}\n"],
encapsulation:2,changeDetection:0});var wZ=function(){};wZ.\u0275fac=function(a){return new (a||wZ)};wZ.\u0275mod=u({type:wZ});wZ.\u0275inj=p({imports:[RE,JH,yN,MM,LH,OR]});var xZ=function(){};xZ.\u0275fac=function(a){return new (a||xZ)};xZ.\u0275mod=u({type:xZ});xZ.\u0275inj=p({imports:[tx,RK,YD,RE,Qz,VK,JH,ML,EY,aS,aP,LH,Rz,tV,UR,MH,HR,FY,VR,wZ,QI,LO,bZ,cQ,BM]});var yZ=function(){Z.apply(this,arguments);var a=this;this.prefsService=r(VY);this.issueFullFridge=r(yG);this.savedSearchFridge=r(qF);this.analytics=r(wG);this.TREE_COLUMNS=[].concat(w(jLc));this.TREE_OPTIONS=Object.assign({},lLc);this.refreshWorkArea=new Jf;this.hideRecentActivity=!1;this.typeAndId$=new bo([void 0,void 0]);this.typeAndId$.pipe(Nf(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b==="savedsearch"?a.savedSearchFridge.watch(c):Fe(void 0)}));this.issue$=this.typeAndId$.pipe(Nf(function(b){var c=
k(b);b=c.next().value;c=c.next().value;return b==="issue"?a.issueFullFridge.watch(c):Fe(void 0)}));this.issueFilter$=this.typeAndId$.pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;if(b==="issue")return"parentid:"+c+"+ | id:"+c;if(b==="savedsearch")return"savedsearchid:"+c;if(b==="hotlist")return"hotlistid:"+c}))};Y(yZ,Z);yZ.\u0275dir=Z.\u0275dir;
yZ.prototype.ngOnInit=function(){var a=this;this.refreshWorkArea.pipe(Of(this.destroyed$)).subscribe(function(){a.typeAndId$.next([a.entityType,a.referencedId])})};yZ.prototype.getFilters=function(){return uWc(this.prefsService,this.entityReference)};yZ.prototype.showTable=function(){return this.onlyShowTableWhenFiltered?this.getFilters().length>0:!0};
ea.Object.defineProperties(yZ.prototype,{reference:{configurable:!0,enumerable:!0,set:function(a){this.entityReference=a;this.referencedId=Br(a);this.entityType=Cr(a);this.analytics.trackEvent("missionControl","view","work-area-"+this.entityType);this.typeAndId$.next([this.entityType,this.referencedId])}}});yZ.\u0275fac=function(){var a;return function(b){return(a||(a=de(yZ)))(b||yZ)}}();
yZ.\u0275cmp=t({type:yZ,selectors:[["one-work-area"]],viewQuery:function(a,b){a&1&&Mg(lZ,5);if(a&2){var c;Qg(c=Rg())&&(b.relationsTable=c.first)}},inputs:{reference:"reference",refreshWorkArea:"refreshWorkArea",hideRecentActivity:"hideRecentActivity",numRecentActivityEvents:"numRecentActivityEvents",onlyShowTableWhenFiltered:"onlyShowTableWhenFiltered"},features:[cg],decls:1,vars:1,consts:[[3,"searchString","prefKey","reference","onlyShowTableWhenFiltered"],[1,"margin-top",3,"query","numEvents"],
[1,"margin-bottom",3,"id"],[3,"saveExpansionAtKey","rootIssueId","filters","tableColumns","options","defaultExpansionLevel"],[1,"bg-off-main","margin-bottom","rounded","padded"],[1,"muted","margin-s-bottom"],["mat-flat-button","","color","primary","title","Create an issue as a child in this work area",1,"small","gmat-button",3,"click"],["mat-button","","title","Add an existing issue as a child in this work area",1,"small","gmat-button",3,"click"]],template:function(a,b){a&1&&D(0,vhb,4,2);if(a&2){var c;
G((c=b.referencedId)?0:-1,c)}},styles:["[_nghost-%COMP%] { display: block; }"]});var EXc=Object.assign({},kLc,{showTrending:!0}),FXc={column:"modifiedTime",direction:"DESCENDING"},zZ=function(){var a=this;this.prefsService=r(VY);this.issueFridge=r(OF);this.DEFAULT_COLUMNS=[].concat(w(hLc));this.PROGRESS_COLUMNS=[].concat(w(iLc));this.TABLE_OPTIONS=Object.assign({},EXc);this.INITIAL_SORT=FXc;this.searchString$=new bo(void 0);this.issueQuery$=this.searchString$.pipe(B(whb));this.issueIds$=this.issueQuery$.pipe(Nf(function(b){return a.issueFridge.watchMany(b)}),B(function(b){return b.results.map(function(c){return c.issueId})}))};
zZ.prototype.getFilters=function(){return this.prefKey==null?[]:uWc(this.prefsService,this.prefKey)};zZ.prototype.showTable=function(){return this.onlyShowTableWhenFiltered?this.getFilters().length>0:!0};ea.Object.defineProperties(zZ.prototype,{searchString:{configurable:!0,enumerable:!0,set:function(a){this.searchString$.next(a!=null?a:void 0)}}});zZ.\u0275fac=function(a){return new (a||zZ)};
zZ.\u0275cmp=t({type:zZ,selectors:[["one-work-area-list"]],inputs:{searchString:"searchString",prefKey:"prefKey",reference:"reference",onlyShowTableWhenFiltered:"onlyShowTableWhenFiltered"},decls:5,vars:9,consts:[[1,"margin-bottom",3,"ref","query"],[1,"margin-bottom",3,"prefKey","query"],[3,"issueIds","options","filters","tableColumns","initialSort"]],template:function(a,b){a&1&&(K(0,"rollups-list",0),S(1,"async"),K(2,"stat-cards-list",1),S(3,"async"),D(4,xhb,2,7,"b-issues-table",2));a&2&&(F("ref",
b.reference)("query",U(1,5,b.issueQuery$)),C(2),F("prefKey",b.prefKey)("query",U(3,7,b.issueQuery$)),C(2),G(b.showTable()?4:-1))},dependencies:[TY,$Y,UV,Iw],styles:["[_nghost-%COMP%] { display: block; }"]});var AZ=function(){Z.call(this);var a=this;this.prefsService=r(VY);this.issueFullFridge=r(yG);this.hotlistFridge=r(mF);this.savedSearchFridge=r(qF);this.hotlistPicker=r(CU);this.issuePicker=r(hS);this.savedSearchPicker=r(SY);this.analytics=r(wG);this.clipboard=r(mP);this.butterBar=r(hE);this.parentIssueSuggestions=r(XY);this.imageUrls=r(iO);this.refreshData=new Jf;this.SECTION_SLUG="work-areas-wrapper-card";this.EMPTY_STATE_IMG=this.imageUrls.WORK_AREA_EXAMPLE_ILLUSTRATION;this.inferEntityType=Cr;
this.makeBuganizerUrl=Z4a;this.makeIlpUrlForParentIssue=$4a;this.getEntityTypeName=Y4a;this.extractLastDigits=Br;this.suggestions=[];this.titles={};this.INITIAL_TAB_INDEX=tWc(this.prefsService,"work-areas-wrapper-card");this.workAreaReferences$=this.prefsService.prefs$.pipe(B(function(d){var e;return(e=d==null?void 0:d.workAreaUrls)!=null?e:[]}));this.issues$=this.workAreaReferences$.pipe(B(function(d){return d.filter(function(e){return Cr(e)==="issue"})}),B(function(d){return d.map(Br)}),Ef(yi),
B(function(d){return d.filter(kj)}),Nf(function(d){return a.issueFullFridge.watchSet(d)}));this.hotlists$=this.workAreaReferences$.pipe(B(function(d){return d.filter(function(e){return Cr(e)==="hotlist"})}),B(function(d){return d.map(Br)}),Ef(yi),B(function(d){return d.filter(kj)}),Nf(function(d){return a.hotlistFridge.watchSet(d)}));this.savedSearches$=this.workAreaReferences$.pipe(B(function(d){return d.filter(function(e){return Cr(e)==="savedsearch"})}),B(function(d){return d.map(Br)}),Ef(yi),
B(function(d){return d.filter(kj)}),Nf(function(d){return a.savedSearchFridge.watchSet(d)}));this.issues$.pipe(Of(this.destroyed$)).subscribe(this.updateTitlesForIssues.bind(this));this.hotlists$.pipe(Of(this.destroyed$)).subscribe(this.updateTitlesForHotlists.bind(this));this.savedSearches$.pipe(Of(this.destroyed$)).subscribe(this.updateTitlesForSavedSearches.bind(this));var b=this.workAreaReferences.length;this.analytics.trackEvent("missionControl","display","num-work-areas-"+b,b);var c;b=Object.values((c=
this.prefsService.prefs.workAreaQuickFilters)!=null?c:{}).flat();b.length>0&&this.analytics.trackEvent("missionControl","view","workAreas-filters-"+b.join(","));Ve(2E3).pipe(Nf(function(){return a.parentIssueSuggestions.suggestions$}),Of(this.destroyed$),Cf()).subscribe(function(d){var e=3;e=e===void 0?3:e;if(d.length!==0){var f=d.slice(0,e*2),h=[].concat(w(f));if(!(f.length<=1))for(f=h.length-1;f>0;--f){var l=Math.floor(Math.random()*(f+1)),q=h[f];h[f]=h[l];h[l]=q}e=h.slice(0,e);d=d[0];e.includes(d)||
(e.pop(),e.unshift(d));d=e}a.suggestions=d;a.workAreaReferences.length===0&&(d=d.length,a.analytics.trackEvent("missionControl","suggestions-shown",String(d),d))})};Y(AZ,Z);AZ.\u0275dir=Z.\u0275dir;AZ.prototype.toggleCollapsed=function(){this.prefsService.toggleCollapsed("work-areas-wrapper-card")};AZ.prototype.updateTitlesForIssues=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=void 0;this.titles[b.issueId]=(c=b.snapshot[0])==null?void 0:c.title}};
AZ.prototype.updateTitlesForHotlists=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.titles[zr(b.hotlistId)]=b.name};AZ.prototype.updateTitlesForSavedSearches=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.titles[Ar(b.searchId)]=b.name};
var GXc=function(a){var b,c,d,e,f,h,l,q,v;return ve(function(y){if(y.nextAddress==1)return b=a.workAreaReferences.filter(function(E){return Cr(E)==="hotlist"}).map(Br).map(Number),xe(y,VHc(a.hotlistPicker,b,Fe([])),2);c=y.yieldResult;f=((e=(d=c)==null?void 0:d.added)!=null?e:[]).map(zr);q=((l=(h=c)==null?void 0:h.removed)!=null?l:[]).map(zr);v=a.workAreaReferences.slice();v=xta(q,v);v=zta(f,v);eu(a.prefsService,{workAreaUrls:v});Ce(y)})},HXc=function(a){var b;return ve(function(c){if(c.nextAddress==
1)return xe(c,a.issuePicker.open({title:"Choose a parent issue",allowMultipleIds:!0}),2);b=c.yieldResult;b!=null&&WY(a.prefsService,b);Ce(c)})},Jhb=function(a,b){var c=a.suggestions.map(function(d){return d.ref}).indexOf(b);a.analytics.trackEvent("missionControl","suggestion-chosen",String(c));b!=null&&WY(a.prefsService,b)},IXc=function(a){var b,c,d,e;return ve(function(f){if(f.nextAddress==1)return xe(f,a.savedSearchPicker.open(),2);b=f.yieldResult;d=(c=b)!=null?c:[];if(d.length===0)return f.return();
e=d.map(Ar);WY(a.prefsService,e);Ce(f)})};ea.Object.defineProperties(AZ.prototype,{workAreaReferences:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this.prefsService.prefs.workAreaUrls)!=null?a:[]}},isEmpty:{configurable:!0,enumerable:!0,get:function(){return this.workAreaReferences.length===0}},isCollapsed:{configurable:!0,enumerable:!0,get:function(){return this.prefsService.isCollapsed("work-areas-wrapper-card")}}});AZ.\u0275fac=function(a){return new (a||AZ)};
AZ.\u0275cmp=t({type:AZ,selectors:[["work-areas-wrapper-card"]],hostVars:4,hostBindings:function(a,b){a&2&&ng("is-empty",b.isEmpty)("collapsed",b.isCollapsed)},inputs:{refreshData:"refreshData"},features:[cg],decls:18,vars:2,consts:[["addMenu","matMenu"],["editMenu","matMenu"],["issueHovercard","onedevHovercard"],[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center"],[1,"heading-s"],["svgIcon","info","tabindex","0","role","button","aria-hidden","false","aria-label","Keeping a close eye on the projects, hotlists, or saved searches that you are focusing on",
"matTooltip","Keeping a close eye on the projects, hotlists, or saved searches that you are focusing on",1,"info","margin-s-left"],["mat-icon-button","","aria-label","Toggle expansion state",1,"small","collapse-btn","margin-s-left",3,"click"],["svgIcon","arrow-up",1,"icon-m"],["mat-stroked-button","","title","Add a work area",1,"small","add-work-area","margin-s-left",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click"],["gmat-tabs","",1,"main-content","margin-s-top",3,"selectedIndex"],[1,"flex-kids-y",
"align-items-center","text-align-center","empty-state","main-content"],["svgIcon","add",1,"icon-s"],["gmat-tabs","",1,"main-content","margin-s-top",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],["matTabContent",""],["mat-icon-button","","aria-label","More options","aria-haspopup","true",1,"small","muted","menu-trigger",3,"click","matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-xs"],["data-test","edit-menu",1,"foo"],["mat-menu-item","","title","View the work area full screen",
3,"routerLink"],["mat-menu-item",""],["mat-menu-item","",3,"click","disabled"],["svgIcon","arrow-backward",1,"icon-s"],["svgIcon","arrow-forward",1,"icon-s"],["mat-menu-item","",3,"click","title"],["svgIcon","close",1,"icon-s"],["mat-menu-item","","title","View the issue details page",3,"routerLink"],["svgIcon","link",1,"icon-s"],["mat-menu-item","","title","View the search results page for this issue and all descendants",3,"href"],["svgIcon","copy",1,"icon-s"],[1,"margin-top",3,"reference","refreshWorkArea"],
[1,"inline-block","pos-rel"],["aria-hidden","true","alt","",3,"src"],[1,"pos-abs","work-area-suggestions"],[1,"type-l","muted","margin-y","match-image-width"],["mat-flat-button","","color","primary","title","Add a work area",3,"matMenuTriggerFor"],["svgIcon","add"],[1,"unstyled"],["tabindex","0",1,"elevated","rounded","padded-s","margined-s","slide-in",3,"title"],["tabindex","0",1,"elevated","rounded","padded-s","margined-s","slide-in",3,"click","title"],[1,"line-clamp-2"],[1,"muted","type-s",3,"onedevHovercardTrigger"],
[3,"issueId"]],template:function(a,b){if(a&1){var c=x();I(0,"div",3)(1,"header",4)(2,"h3",5);Q(3," Work areas ");J();K(4,"mat-icon",6);I(5,"button",7);M("click",function(){z(c);return A(b.toggleCollapsed())});K(6,"mat-icon",8);J();D(7,yhb,3,1,"button",9);I(8,"mat-menu",null,0)(10,"button",10);M("click",function(){z(c);return A(HXc(b))});Q(11,"Issue (parent/child project)");J();I(12,"button",10);M("click",function(){z(c);return A(GXc(b))});Q(13,"Hotlist");J();I(14,"button",10);M("click",function(){z(c);
return A(IXc(b))});Q(15,"Saved Search");J()()();D(16,Hhb,3,1,"mat-tab-group",11)(17,Mhb,9,3,"section",12);J()}a&2&&(C(7),G(b.workAreaReferences.length>0?7:-1),C(9),G(b.workAreaReferences.length>0?16:17))},dependencies:[$D,JE,vI,yI,wI,zI,vD,Vy,Xy,DM,ZO,NO,TO,UO,VO,FH,HH,XP,bK,hK,yZ],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     issue-as-project-card>.carded{border:none;padding-left:0}.add-work-area[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{--mat-outlined-button-icon-spacing:4px;--mat-outlined-button-icon-offset:0}.add-work-area.gmat-mdc-button[_ngcontent-%COMP%], .add-work-area.gmat-mdc-button.gmat-mdc-button.gmat-mdc-button[_ngcontent-%COMP%]{padding-left:4px}.info[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);height:20px;width:20px}.empty-state[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:32px}.empty-state[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:320px;box-shadow:0 0 0 10px var(--background),0 0 0 20px var(--primary-c50);margin:20px 0;border-radius:8px}[_nghost-%COMP%]     .mat-mdc-tab-label .mat-mdc-tab-label-content{padding-left:4px;margin-right:-4px}[_nghost-%COMP%]     .mat-mdc-tab-label .menu-trigger{visibility:hidden}[_nghost-%COMP%]     .mat-mdc-tab-label.mat-mdc-tab-label-active .menu-trigger, [_nghost-%COMP%]     .mat-mdc-tab-label:hover .menu-trigger{visibility:visible}.collapsed[_nghost-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_nghost-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_nghost-%COMP%]   footer[_ngcontent-%COMP%], .collapsed[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .add-work-area[_ngcontent-%COMP%]{display:none}.collapse-btn[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .1s ease-in-out;transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out}.collapsed[_nghost-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}[_nghost-%COMP%] > .carded[_ngcontent-%COMP%]{-webkit-transition:none .1s ease-in-out;transition:none .1s ease-in-out;-webkit-transition-property:padding;transition-property:padding}.collapsed[_nghost-%COMP%] > .carded[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}[_nghost-%COMP%]{min-height:800px}.collapsed[_nghost-%COMP%], .is-empty[_nghost-%COMP%]{min-height:0}.match-image-width[_ngcontent-%COMP%]{max-width:360px}.work-area-suggestions[_ngcontent-%COMP%]{position:absolute;top:0;left:100%;width:200px;margin-left:48px;overflow-x:hidden;overflow-y:visible}.work-area-suggestions[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin-top:0}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{-moz-box-sizing:border-box;box-sizing:border-box;text-align:center;cursor:pointer}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus-visible{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{-webkit-transform:translateX(120%);transform:translateX(120%)}.work-area-suggestions[_ngcontent-%COMP%]   li.slide-in[_ngcontent-%COMP%]{-webkit-animation:_ngcontent-%COMP%_slide-in .5s forwards;animation:_ngcontent-%COMP%_slide-in .5s forwards}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:0ms;animation-delay:0ms}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.1s;animation-delay:.1s}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:.2s;animation-delay:.2s}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:.3s;animation-delay:.3s}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:.4s;animation-delay:.4s}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:.5s;animation-delay:.5s}@-webkit-keyframes _ngcontent-%COMP%_slide-in{to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes _ngcontent-%COMP%_slide-in{to{-webkit-transform:translateX(0);transform:translateX(0)}}"]});var BZ=function(){};BZ.\u0275fac=function(a){return new (a||BZ)};BZ.\u0275mod=u({type:BZ});BZ.\u0275inj=p({imports:[RE,EI,QE,JH,MM,aP,LH,bZ,FY,RY,xZ,PY,HR,VK]});oma(yZ,[vD,Vy,UY,aZ,lZ,OY,zZ],[Iw]);var JXc=ni("transform",[qi("open, open-instant",pi({transform:"none",visibility:"visible"})),qi("void",pi({"box-shadow":"none",visibility:"hidden"})),si("void => open-instant",oi("0ms")),si("void <=> open, open-instant => void",oi("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))]);var KXc=["*"],LXc=["content"],MXc=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],NXc=new Bd("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:Phb}),OXc=new Bd("MAT_DRAWER_CONTAINER"),DZ=function(){var a=r(ge),b=r(Ux),c=r(hh);Vx.call(this,a,b,c);this._changeDetectorRef=r(rw);this._container=r(CZ)};Y(DZ,Vx);DZ.\u0275dir=Vx.\u0275dir;DZ.prototype.ngAfterContentInit=function(){var a=this;this._container._contentMarginChanges.subscribe(function(){a._changeDetectorRef.markForCheck()})};
DZ.\u0275fac=function(a){return new (a||DZ)};DZ.\u0275cmp=t({type:DZ,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(a,b){a&2&&mg("margin-left",b._container._contentMargins.left,"px")("margin-right",b._container._contentMargins.right,"px")},standalone:!0,features:[Yg([{provide:Vx,useExisting:DZ}]),cg,$g],ngContentSelectors:KXc,decls:1,vars:0,template:function(a){a&1&&(Dg(),Eg(0))},encapsulation:2,changeDetection:0});
var EZ=function(){var a=this;this._elementRef=r(ge);this._focusTrapFactory=r(ix);this._focusMonitor=r(ax);this._platform=r(Xw);this._ngZone=r(hh);this._interactivityChecker=r(dx);this._doc=r(ei,{optional:!0});this._container=r(OXc,{optional:!0});this._elementFocusedBeforeDrawerWasOpened=this._focusTrap=null;this._enableAnimations=!1;this._position="start";this._mode="over";this._opened=this._disableClose=!1;this._animationStarted=new Jf;this._animationEnd=new Jf;this._animationState="void";this.openedChange=
new kw(!0);this._openedStream=this.openedChange.pipe(Ye(function(b){return b}),B(function(){}));this.openedStart=this._animationStarted.pipe(Ye(function(b){return b.fromState!==b.toState&&b.toState.indexOf("open")===0}),Bf());this._closedStream=this.openedChange.pipe(Ye(function(b){return!b}),B(function(){}));this.closedStart=this._animationStarted.pipe(Ye(function(b){return b.fromState!==b.toState&&b.toState==="void"}),Bf());this._destroyed=new Jf;this.onPositionChanged=new kw;this._modeChanged=
new Jf;this._injector=r(Sf);this._changeDetectorRef=r(rw);this.openedChange.pipe(Of(this._destroyed)).subscribe(function(b){b?(a._doc&&(a._elementFocusedBeforeDrawerWasOpened=a._doc.activeElement),a._takeFocus()):a._isFocusWithinDrawer()&&a._restoreFocus(a._openedVia||"program")});this._ngZone.runOutsideAngular(function(){Te(a._elementRef.nativeElement,"keydown").pipe(Ye(function(b){return b.keyCode===27&&!a.disableClose&&!Yh(b)}),Of(a._destroyed)).subscribe(function(b){return a._ngZone.run(function(){a.close();
b.stopPropagation();b.preventDefault()})})});this._animationEnd.pipe(Ef(function(b,c){return b.fromState===c.fromState&&b.toState===c.toState})).subscribe(function(b){var c=b.fromState;b=b.toState;(b.indexOf("open")===0&&c==="void"||b==="void"&&c.indexOf("open")===0)&&a.openedChange.emit(a._opened)})};g=EZ.prototype;
g._forceFocus=function(a,b){this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(function(){var c=function(){a.removeEventListener("blur",c);a.removeEventListener("mousedown",c);a.removeAttribute("tabindex")};a.addEventListener("blur",c);a.addEventListener("mousedown",c)}));a.focus(b)};g._focusByCssSelector=function(a,b){(a=this._elementRef.nativeElement.querySelector(a))&&this._forceFocus(a,b)};
g._takeFocus=function(){var a=this;if(this._focusTrap){var b=this._elementRef.nativeElement;switch(this.autoFocus){case !1:case "dialog":break;case !0:case "first-tabbable":Uf(function(){a._focusTrap.focusInitialElement()||typeof b.focus!=="function"||b.focus()},{injector:this._injector});break;case "first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}};
g._restoreFocus=function(a){this.autoFocus!=="dialog"&&(this._elementFocusedBeforeDrawerWasOpened?bx(this._focusMonitor,this._elementFocusedBeforeDrawerWasOpened,a):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)};g._isFocusWithinDrawer=function(){var a=this._doc.activeElement;return!!a&&this._elementRef.nativeElement.contains(a)};
g.ngAfterViewInit=function(){this._isAttached=!0;this._position==="end"&&this._updatePositionInParent("end");this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())};g.ngAfterContentChecked=function(){this._platform.isBrowser&&(this._enableAnimations=!0)};
g.ngOnDestroy=function(){var a;(a=this._focusTrap)==null||a.destroy();var b;(b=this._anchor)==null||b.remove();this._anchor=null;this._animationStarted.complete();this._animationEnd.complete();this._modeChanged.complete();this._destroyed.next();this._destroyed.complete()};g.open=function(a){return this.toggle(!0,a)};g.close=function(){return this.toggle(!1)};g._closeViaBackdropClick=function(){return this._setOpen(!1,!0,"mouse")};
g.toggle=function(a,b){(a=a===void 0?!this.opened:a)&&b&&(this._openedVia=b);b=this._setOpen(a,!a&&this._isFocusWithinDrawer(),this._openedVia||"program");a||(this._openedVia=null);return b};
g._setOpen=function(a,b,c){var d=this;(this._opened=a)?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",b&&this._restoreFocus(c));this._changeDetectorRef.markForCheck();this._updateFocusTrapState();return new Promise(function(e){d.openedChange.pipe(Cf()).subscribe(function(f){return e(f?"open":"close")})})};g._getWidth=function(){return this._elementRef.nativeElement?this._elementRef.nativeElement.offsetWidth||0:0};
g._updateFocusTrapState=function(){if(this._focusTrap){var a;this._focusTrap.enabled=!((a=this._container)==null||!a.hasBackdrop)&&this.opened}};g._updatePositionInParent=function(a){if(this._platform.isBrowser){var b=this._elementRef.nativeElement,c=b.parentNode;a==="end"?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),c.insertBefore(this._anchor,b)),c.appendChild(b)):this._anchor&&this._anchor.parentNode.insertBefore(b,this._anchor)}};
ea.Object.defineProperties(EZ.prototype,{position:{configurable:!0,enumerable:!0,get:function(){return this._position},set:function(a){a=a==="end"?"end":"start";a!==this._position&&(this._isAttached&&this._updatePositionInParent(a),this._position=a,this.onPositionChanged.emit())}},mode:{configurable:!0,enumerable:!0,get:function(){return this._mode},set:function(a){this._mode=a;this._updateFocusTrapState();this._modeChanged.next()}},disableClose:{configurable:!0,enumerable:!0,get:function(){return this._disableClose},
set:function(a){this._disableClose=$h(a)}},autoFocus:{configurable:!0,enumerable:!0,get:function(){var a=this._autoFocus;return a==null?this.mode==="side"?"dialog":"first-tabbable":a},set:function(a){if(a==="true"||a==="false"||a==null)a=$h(a);this._autoFocus=a}},opened:{configurable:!0,enumerable:!0,get:function(){return this._opened},set:function(a){this.toggle($h(a))}}});EZ.\u0275fac=function(a){return new (a||EZ)};
EZ.\u0275cmp=t({type:EZ,selectors:[["mat-drawer"]],viewQuery:function(a,b){a&1&&Mg(LXc,5);if(a&2){var c;Qg(c=Rg())&&(b._content=c.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(a,b){a&1&&Cg("@transform.start",function(c){return b._animationStarted.next(c)})("@transform.done",function(c){return b._animationEnd.next(c)});a&2&&(zg("@transform",b._animationState),eg("align",null),ng("mat-drawer-end",b.position==="end")("mat-drawer-over",b.mode==="over")("mat-drawer-push",
b.mode==="push")("mat-drawer-side",b.mode==="side")("mat-drawer-opened",b.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],standalone:!0,features:[$g],ngContentSelectors:KXc,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],
template:function(a){a&1&&(Dg(),I(0,"div",1,0),Eg(2),J())},dependencies:[Vx],encapsulation:2,data:{animation:[JXc]},changeDetection:0});
var CZ=function(){var a=this;this._dir=r(Jx,{optional:!0});this._element=r(ge);this._ngZone=r(hh);this._changeDetectorRef=r(rw);this._animationMode=r(Zv,{optional:!0});this._drawers=new Lg;this._autosize=r(NXc);this.backdropClick=new kw;this._destroyed=new Jf;this._doCheckSubject=new Jf;this._contentMargins={left:null,right:null};this._contentMarginChanges=new Jf;this._injector=r(Sf);var b=r(Yx),c;(c=this._dir)==null||c.change.pipe(Of(this._destroyed)).subscribe(function(){a._validateDrawers();FZ(a)});
b.change().pipe(Of(this._destroyed)).subscribe(function(){return FZ(a)})};
CZ.prototype.ngAfterContentInit=function(){var a=this;this._allDrawers.changes.pipe(Mf(this._allDrawers),Of(this._destroyed)).subscribe(function(b){a._drawers.reset(b.filter(function(c){return!c._container||c._container===a}));Pg(a._drawers)});this._drawers.changes.pipe(Mf(null)).subscribe(function(){a._validateDrawers();a._drawers.forEach(function(b){a._watchDrawerToggle(b);a._watchDrawerPosition(b);a._watchDrawerMode(b)});(!a._drawers.length||a._isDrawerOpen(a._start)||a._isDrawerOpen(a._end))&&
FZ(a);a._changeDetectorRef.markForCheck()});this._ngZone.runOutsideAngular(function(){a._doCheckSubject.pipe(Af(10),Of(a._destroyed)).subscribe(function(){return FZ(a)})})};CZ.prototype.ngOnDestroy=function(){this._contentMarginChanges.complete();this._doCheckSubject.complete();this._drawers.destroy();this._destroyed.next();this._destroyed.complete()};CZ.prototype.open=function(){this._drawers.forEach(function(a){return a.open()})};CZ.prototype.close=function(){this._drawers.forEach(function(a){return a.close()})};
var FZ=function(a){var b=0,c=0;if(a._left&&a._left.opened)if(a._left.mode=="side")b+=a._left._getWidth();else if(a._left.mode=="push"){var d=a._left._getWidth();b+=d;c-=d}a._right&&a._right.opened&&(a._right.mode=="side"?c+=a._right._getWidth():a._right.mode=="push"&&(d=a._right._getWidth(),c+=d,b-=d));b=b||null;c=c||null;if(b!==a._contentMargins.left||c!==a._contentMargins.right)a._contentMargins={left:b,right:c},a._ngZone.run(function(){return a._contentMarginChanges.next(a._contentMargins)})};
g=CZ.prototype;g.ngDoCheck=function(){var a=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(function(){return a._doCheckSubject.next()})};
g._watchDrawerToggle=function(a){var b=this;a._animationStarted.pipe(Ye(function(c){return c.fromState!==c.toState}),Of(this._drawers.changes)).subscribe(function(c){c.toState!=="open-instant"&&b._animationMode!=="NoopAnimations"&&b._element.nativeElement.classList.add("mat-drawer-transition");FZ(b);b._changeDetectorRef.markForCheck()});a.mode!=="side"&&a.openedChange.pipe(Of(this._drawers.changes)).subscribe(function(){return b._setContainerClass(a.opened)})};
g._watchDrawerPosition=function(a){var b=this;a&&a.onPositionChanged.pipe(Of(this._drawers.changes)).subscribe(function(){Uf(function(){b._validateDrawers()},{injector:b._injector,phase:3})})};g._watchDrawerMode=function(a){var b=this;a&&a._modeChanged.pipe(Of(Xe(this._drawers.changes,this._destroyed))).subscribe(function(){FZ(b);b._changeDetectorRef.markForCheck()})};g._setContainerClass=function(a){var b=this._element.nativeElement.classList;a?b.add("mat-drawer-container-has-open"):b.remove("mat-drawer-container-has-open")};
g._validateDrawers=function(){var a=this;this._start=this._end=null;this._drawers.forEach(function(b){b.position=="end"?a._end=b:a._start=b});this._right=this._left=null;this._dir&&this._dir.value==="rtl"?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)};g._isPushed=function(){return this._isDrawerOpen(this._start)&&this._start.mode!="over"||this._isDrawerOpen(this._end)&&this._end.mode!="over"};
g._onBackdropClicked=function(){this.backdropClick.emit();this._closeModalDrawersViaBackdrop()};g._closeModalDrawersViaBackdrop=function(){var a=this;[this._start,this._end].filter(function(b){return b&&!b.disableClose&&a._drawerHasBackdrop(b)}).forEach(function(b){return b._closeViaBackdropClick()})};g._isShowingBackdrop=function(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)};
g._isDrawerOpen=function(a){return a!=null&&a.opened};g._drawerHasBackdrop=function(a){return this._backdropOverride==null?!!a&&a.mode!=="side":this._backdropOverride};
ea.Object.defineProperties(CZ.prototype,{start:{configurable:!0,enumerable:!0,get:function(){return this._start}},end:{configurable:!0,enumerable:!0,get:function(){return this._end}},autosize:{configurable:!0,enumerable:!0,get:function(){return this._autosize},set:function(a){this._autosize=$h(a)}},hasBackdrop:{configurable:!0,enumerable:!0,get:function(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)},set:function(a){this._backdropOverride=a==null?null:$h(a)}},scrollable:{configurable:!0,
enumerable:!0,get:function(){return this._userContent||this._content}}});CZ.\u0275fac=function(a){return new (a||CZ)};
CZ.\u0275cmp=t({type:CZ,selectors:[["mat-drawer-container"]],contentQueries:function(a,b,c){a&1&&(Ng(c,DZ,5),Ng(c,EZ,5));if(a&2){var d;Qg(d=Rg())&&(b._content=d.first);Qg(d=Rg())&&(b._allDrawers=d)}},viewQuery:function(a,b){a&1&&Mg(DZ,5);if(a&2){var c;Qg(c=Rg())&&(b._userContent=c.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(a,b){a&2&&ng("mat-drawer-container-explicit-backdrop",b._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},
exportAs:["matDrawerContainer"],standalone:!0,features:[Yg([{provide:OXc,useExisting:CZ}]),$g],ngContentSelectors:["mat-drawer","mat-drawer-content","*"],decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(a,b){a&1&&(Dg(MXc),D(0,Nhb,1,2,"div",0),Eg(1),Eg(2,1),D(3,Ohb,2,0,"mat-drawer-content"));a&2&&(G(b.hasBackdrop?0:-1),C(3),G(b._content?-1:3))},dependencies:[DZ],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-app-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-app-background));box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-app-neutral-variant20) 40%, transparent))}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-app-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-app-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));width:var(--mat-sidenav-container-width, 360px);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n'],
encapsulation:2,changeDetection:0});var PXc=["*"],QXc=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],GZ=function(){DZ.apply(this,arguments)};Y(GZ,DZ);GZ.\u0275dir=DZ.\u0275dir;GZ.\u0275fac=function(){var a;return function(b){return(a||(a=de(GZ)))(b||GZ)}}();
GZ.\u0275cmp=t({type:GZ,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(a,b){a&2&&mg("margin-left",b._container._contentMargins.left,"px")("margin-right",b._container._contentMargins.right,"px")},standalone:!0,features:[Yg([{provide:Vx,useExisting:GZ}]),cg,$g],ngContentSelectors:PXc,decls:1,vars:0,template:function(a){a&1&&(Dg(),Eg(0))},encapsulation:2,changeDetection:0});
var HZ=function(){EZ.apply(this,arguments);this._fixedInViewport=!1;this._fixedBottomGap=this._fixedTopGap=0};Y(HZ,EZ);
ea.Object.defineProperties(HZ.prototype,{fixedInViewport:{configurable:!0,enumerable:!0,get:function(){return this._fixedInViewport},set:function(a){this._fixedInViewport=$h(a)}},fixedTopGap:{configurable:!0,enumerable:!0,get:function(){return this._fixedTopGap},set:function(a){this._fixedTopGap=ci(a)}},fixedBottomGap:{configurable:!0,enumerable:!0,get:function(){return this._fixedBottomGap},set:function(a){this._fixedBottomGap=ci(a)}}});
HZ.\u0275fac=function(){var a;return function(b){return(a||(a=de(HZ)))(b||HZ)}}();
HZ.\u0275cmp=t({type:HZ,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(a,b){a&2&&(eg("align",null),mg("top",b.fixedInViewport?b.fixedTopGap:null,"px")("bottom",b.fixedInViewport?b.fixedBottomGap:null,"px"),ng("mat-drawer-end",b.position==="end")("mat-drawer-over",b.mode==="over")("mat-drawer-push",b.mode==="push")("mat-drawer-side",b.mode==="side")("mat-drawer-opened",b.opened)("mat-sidenav-fixed",b.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",
fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],standalone:!0,features:[Yg([{provide:EZ,useExisting:HZ}]),cg,$g],ngContentSelectors:PXc,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(a){a&1&&(Dg(),I(0,"div",1,0),Eg(2),J())},dependencies:[Vx],encapsulation:2,data:{animation:[JXc]},changeDetection:0});var IZ=function(){CZ.apply(this,arguments);this._content=this._allDrawers=void 0};Y(IZ,CZ);
IZ.\u0275fac=function(){var a;return function(b){return(a||(a=de(IZ)))(b||IZ)}}();
IZ.\u0275cmp=t({type:IZ,selectors:[["mat-sidenav-container"]],contentQueries:function(a,b,c){a&1&&(Ng(c,GZ,5),Ng(c,HZ,5));if(a&2){var d;Qg(d=Rg())&&(b._content=d.first);Qg(d=Rg())&&(b._allDrawers=d)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(a,b){a&2&&ng("mat-drawer-container-explicit-backdrop",b._backdropOverride)},exportAs:["matSidenavContainer"],standalone:!0,features:[Yg([{provide:OXc,useExisting:IZ},{provide:CZ,useExisting:IZ}]),cg,$g],ngContentSelectors:["mat-sidenav",
"mat-sidenav-content","*"],decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(a,b){a&1&&(Dg(QXc),D(0,Qhb,1,2,"div",0),Eg(1),Eg(2,1),D(3,Rhb,2,0,"mat-sidenav-content"));a&2&&(G(b.hasBackdrop?0:-1),C(3),G(b._content?-1:3))},dependencies:[GZ],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-app-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-app-background));box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-app-neutral-variant20) 40%, transparent))}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-app-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-app-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));width:var(--mat-sidenav-container-width, 360px);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n'],
encapsulation:2,changeDetection:0});var JZ=function(){};JZ.\u0275fac=function(a){return new (a||JZ)};JZ.\u0275mod=u({type:JZ});JZ.\u0275inj=p({imports:[yy,Zx,Zx,yy]});var KZ=function(){};KZ.\u0275fac=function(a){return new (a||KZ)};KZ.\u0275mod=u({type:KZ});KZ.\u0275inj=p({imports:[RE,Qz,oR,aP,LH,JH,JZ,Rz,PY,LO,BZ]});var LZ=function(){this.geminiApi=r(mV)},RXc=function(a,b){var c,d;return ve(function(e){if(e.nextAddress==1)return c={prompt:b},xe(e,a.geminiApi.generate(c),2);d=e.yieldResult;return e.return(d.output)})},SXc=function(a,b){var c;return ve(function(d){if(b.length<3)return d.return(Promise.resolve("Unknown (cluster is too small)"));c="Analyze the following list of topics and summarize them into one common theme.Please respond in 2 to 3 words, plain text no markdown. Here's the list of topics: "+b.map(function(e){return e.snapshot[0].title}).join("\n");
return d.return(RXc(a,c))})};LZ.\u0275fac=function(a){return new (a||LZ)};LZ.\u0275prov=n({token:LZ,factory:LZ.\u0275fac,providedIn:"root"});var MZ=function(){this.showPageSizeSelector=!1;this.pageSizeOptions=[10,25,50,100,250];this.pageSize=1;this.hasNextPage=this.hasPreviousPage=!1;this.previousPageLabel="Previous page";this.nextPageLabel="Next page";this.nextPage=new rG;this.prevPage=new rG;this.pageSizeChange=new rG};MZ.prototype.ngOnInit=function(){};MZ.\u0275fac=function(a){return new (a||MZ)};
MZ.\u0275cmp=t({type:MZ,selectors:[["b-paginator"]],inputs:{showPageSizeSelector:"showPageSizeSelector",pageSizeOptions:"pageSizeOptions",pageSize:"pageSize",startIndex:"startIndex",endIndex:"endIndex",totalNumber:"totalNumber",hasPreviousPage:"hasPreviousPage",hasNextPage:"hasNextPage",previousPageLabel:"previousPageLabel",nextPageLabel:"nextPageLabel"},outputs:{nextPage:"nextPage",prevPage:"prevPage",pageSizeChange:"pageSizeChange"},decls:13,vars:8,consts:[["pageSizeMenu","matMenu"],[1,"page-number"],
["mat-icon-button","","color","primary",3,"click","matTooltip","disabled"],["svgIcon","chevron-left"],["svgIcon","chevron-right"],["mat-icon-button","","matTooltip","Change page size",3,"matMenuTriggerFor"],["svgIcon","arrow-dropdown"],[1,"b-menu-header"],["mat-menu-item","","role","menuitemcheckbox",3,"b-menu-item-checked"],["mat-menu-item","","role","menuitemcheckbox",3,"click"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"]],template:function(a,b){a&1&&(D(0,Thb,8,1),I(1,"span",1)(2,
"strong"),Q(3),J(),D(4,Uhb,4,1,"span"),I(5,"span"),Q(6," of "),I(7,"strong"),Q(8),J()(),I(9,"button",2),M("click",function(){return b.prevPage.emit()}),K(10,"mat-icon",3),J(),I(11,"button",2),M("click",function(){return b.nextPage.emit()}),K(12,"mat-icon",4),J()());a&2&&(G(b.showPageSizeSelector?0:-1),C(3),Tg(b.startIndex),C(),G(b.endIndex!=null?4:-1),C(4),Tg(b.totalNumber),C(),F("matTooltip",b.previousPageLabel)("disabled",!b.hasPreviousPage),C(2),F("matTooltip",b.nextPageLabel)("disabled",!b.hasNextPage))},
dependencies:[$D,vD,Xy,vI,yI,wI,zI,FH,HH],styles:["[_nghost-%COMP%] {\n      display: flex;\n      align-items: center;\n    }\n    .page-number[_ngcontent-%COMP%] {\n      white-space: nowrap;\n    }"]});var hib=function(a,b){return b.id},fib=function(a,b){return{issueIds:a,teamId:b}},nib=function(){return[]},NZ=function(){Z.call(this);var a=this;this.activeSession=r(dv);this.paramsService=r(OL);this.appSearchState=r(KY);this.userPreferencesManager=r(yH);this.imageUrls=r(iO);this.teamExperimentalFieldsFridge=r(pH);this.triageService=r(DH);this.llmService=r(LZ);this.punctualService=r(US);this.issueFullFridge=r(yG);this.bLocation=r(WI);this.issueExperimentalFieldsFridge=r(KF);this.starredTeamsService=
r(AH);this.ROUTES=tq;this.SUBPHASE_TO_DISPLAY_NAME=I7b;this.EMPTY_STATE_IMG=this.imageUrls.EMPTY_TRIAGE;this.HOTKEYS=ep;this.RIGHT_SIDEBAR_MIN_WIDTH=500;this.RIGHT_SIDEBAR_MAX_WIDTH=1400;this.groupByCluster=!1;this.selectedFilterKeys=new KB;this.teamId=this.paramsService.params.teamId;this.enableTeamScope=lu(this.activeSession,"enableTeamScope");this.phase$=Krc(this.paramsService,"phase").pipe(B(function(c){var d;return(d=L7b.get(c))!=null?d:"NEW"}),Ef());this.subphase$=Krc(this.paramsService,"subphase").pipe(B(function(c){var d;
return(d=K7b.get(c))!=null?d:void 0}),Ef());this.pageSize$=this.userPreferencesManager.resultsPerPage$;this.pageNumber$=new bo(1);this.activeSort$=new bo(void 0);this.data=this.triageService.triageDataFactory.get(this.teamId);this.phaseData$=this.phase$.pipe(B(function(c){return a.data.phase(c)}));this.allIssuesInPhase$=this.phaseData$.pipe(Nf(function(c){return c.issues$}));this.allIssuesInSubphase$=Me([this.allIssuesInPhase$,this.subphase$]).pipe(B(function(c){var d,e=k(c);c=e.next().value;return(d=
e.next().value)?c.filter(function(f){var h,l,q=(l=(h=f.experimentalFields)==null?void 0:h.triage.phase)!=null?l:"NEW",v,y;h=(y=(v=f.experimentalFields)==null?void 0:v.triage.subphase)!=null?y:"TRIAGE_SUBPHASE_UNSPECIFIED";if(q==="NEW"||q==="UNSPECIFIED"){if(tua(f))q="REPORTER_RESPONDED";else{var E,H;q=((E=f.experimentalFields)==null?0:E.triage.needsInfo)||((H=f.experimentalFields)==null?void 0:H.triage.subphase)==="NEEDS_INFO"?"NEEDS_INFO":"PENDING_TRIAGE"}f=q}else if(q==="CONFIRMED"||q==="IN_PROGRESS")f=
h;else if(q==="FIXED"||q==="WONT_FIX")f=al(f)?"REOPENED":h;else throw Error("Eb");return f===d}):c}));this.selectedFilters$=this.selectedFilterKeys.value$.pipe(B(function(c){return[].concat(w(c)).map(function(d){return s8b[d]})}));this.filteredIssuesInPhase$=Me([this.allIssuesInSubphase$,this.selectedFilters$]).pipe(B(function(c){var d=k(c);c=d.next().value;d=d.next().value;return Fua(c,d)}));this.filteredTotalCount$=this.filteredIssuesInPhase$.pipe(B(function(c){return c.length}),Kf({refCount:!0,
bufferSize:1}));this.startIndex$=Me([this.pageSize$,this.pageNumber$]).pipe(B(function(c){var d=k(c);c=d.next().value;return(d.next().value-1)*c+1}),Kf({refCount:!0,bufferSize:1}));this.endIndex$=Me([this.pageSize$,this.startIndex$,this.filteredTotalCount$]).pipe(B(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return Math.min(e+c-1,d)}),Kf({refCount:!0,bufferSize:1}));this.sortedFilteredIssuesInPhase$=Me([this.filteredIssuesInPhase$,this.activeSort$,this.phase$]).pipe(B(function(c){var d=
k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return sib(c,e,d)}),Kf({refCount:!0,bufferSize:1}));this.issuesToRender$=Me([this.sortedFilteredIssuesInPhase$,this.startIndex$,this.endIndex$]).pipe(B(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return c.slice(e-1,d)}),Ef(yi),Kf({refCount:!0,bufferSize:1}));this.issueIdsToRender$=this.issuesToRender$.pipe(B(function(c){return c.map(function(d){return d.issueId})}));this.availableFiltersInCurrentPhase$=Me([this.phase$,
this.allIssuesInSubphase$]).pipe(B(function(c){var d=k(c);c=d.next().value;var e=d.next().value;var f;return((f=r8b.get(c))!=null?f:[]).map(function(h){return Object.assign({},h,{count:e.filter(h.check).length})})}),B(function(c){return c.filter(function(d){return d.count||a.selectedFilterKeys.has(d.key)})}));this.issueAlertsForCurrentPhase$=this.phase$.pipe(B(function(c){return tib.get(c)}));this.clusters$=this.issuesToRender$.pipe(B(function(c){return Vdb(c,function(d){return SXc(a.llmService,d)})}));
this.tableOptions={modes:{createdTime:"relativepastshort"},navigationOptions:{clickTargets:"NONE",alwaysOpenNewTab:!0},sortMode:"EXTERNAL_SORT",activeRowMode:"REMAIN_ACTIVE"};this.tableColumns$=Me([this.teamExperimentalFieldsFridge.watch(this.teamId),this.phase$]).pipe(B(function(c){var d=k(c);c=d.next().value;d=d.next().value;d=O7b[d];var e;return(c==null?0:(e=c.triage)==null?0:e.showComponentColumn)?d:d.filter(function(f){return f!=="componentName"})}));var b;this.sidebarWidthPreference$=new bo(Math.max(this.RIGHT_SIDEBAR_MIN_WIDTH,
(b=d8b("triage-sidebar-width")())!=null?b:0));this.sidebarWidth$=Me([this.triageService.isSidebarOpen$,this.sidebarWidthPreference$]).pipe(B(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c?d:0}));this.subphases$=this.phase$.pipe(B(function(c){return H7b[c]}));this.subphaseDisplayName$=this.subphase$.pipe(B(function(c){return c?I7b[c]:"All subphases"}));this.subphaseSelectorTooltip$=this.subphase$.pipe(B(function(c){return c?"Showing issues in the "+I7b[c].toLowerCase()+" subphase.":
"Showing issues in all subphases"}));this.starred$=this.starredTeamsService.starredTeamIds$.pipe(B(function(c){return c.includes(a.teamId)}));this.savingStar=!1;this.punctualSubscriptions=new me;this.subscriptions.add(this.phase$.subscribe(function(){a.selectedFilterKeys.reset([])}));this.subscriptions.add(this.data.allIssues$.subscribe(function(c){for(var d=k(c.entries()),e=d.next();!e.done;e=d.next()){var f=k(e.value);e=f.next().value;f=f.next().value;pua(e,c)&&h8b.add(f.issueId)}}));this.subscriptions.add(this.issueIdsToRender$.subscribe(function(c){TXc(a,
c)}))};Y(NZ,Z);NZ.\u0275dir=Z.\u0275dir;
var TXc=function(a,b){a.punctualSubscriptions.unsubscribe();a.punctualSubscriptions=new me;b=k(b);for(var c=b.next(),d={};!c.done;d={issueId$jscomp$281:void 0},c=b.next())d.issueId$jscomp$281=c.value,a.punctualSubscriptions.add(a.punctualService.watch("issue-edit",d.issueId$jscomp$281).subscribe(function(e){return function(){a.issueFullFridge.poke(e.issueId$jscomp$281,{trustMemory:!1})}}(d))),a.punctualSubscriptions.add(a.punctualService.watch("issue-experimental-field-edit",d.issueId$jscomp$281).subscribe(function(e){return function(){a.issueExperimentalFieldsFridge.poke(e.issueId$jscomp$281,
{trustMemory:!1})}}(d)))};NZ.prototype.ngOnInit=function(){var a=this;setTimeout(function(){a.appSearchState.clear()})};NZ.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.punctualSubscriptions.unsubscribe()};var UXc=function(a,b){return ve(function(c){if(c.nextAddress==1)return xe(c,Je(a.userPreferencesManager.saveResultsPerPage(b)),2);a.pageNumber$.next(1);Ce(c)})};NZ.prototype.onSortChange=function(a){this.activeSort$.next(a)};
NZ.prototype.toggleStar=function(){var a=this;return ve(function(b){if(b.nextAddress==1)return a.savingStar=!0,xe(b,a.starredTeamsService.toggle(a.teamId),2);a.savingStar=!1;Ce(b)})};NZ.prototype.refreshTable=function(){this.data.reload()};var Yhb=function(a,b){var c=Xo(a.phase$);b=tq.viewTriage.makeHref(a.teamId,Wt[c],b&&J7b[b]);a.bLocation.setUrl(b,!0)};NZ.\u0275fac=function(a){return new (a||NZ)};
NZ.\u0275cmp=t({type:NZ,selectors:[["b-triage-phase"]],features:[cg],decls:55,vars:66,consts:[["subphaseMenu","matMenu"],["issuesTable",""],[1,"pos-fill","flex-kids-y"],[1,"border-bottom","padded-s-sides","flex-kids-x","align-items-center","gap-xs"],["mat-icon-button","","matTooltip","Refresh","aria-label","Refresh",1,"medium",3,"onHotkey","click","hotkey"],["color","primary","svgIcon","refresh",1,"icon-m"],[3,"starClicked","starred","disabled","starMessage","unStarMessage"],[1,"margin-none","nowrap"],
["svgIcon","chevron-right",1,"icon-s","muted"],[1,"flex-kids-x","align-items-center","gap-s"],["mat-stroked-button","","color","neutral",1,"small","gmat-button",3,"matMenuTriggerFor","matTooltip"],[1,"margin-xs-right"],["name","arrow-dropdown","size","small"],["mat-menu-item","",3,"click"],["mat-menu-item",""],[1,"margin-left-auto",3,"pageSizeChange","prevPage","nextPage","showPageSizeSelector","startIndex","endIndex","totalNumber","hasPreviousPage","hasNextPage","pageSize"],[1,"flex-kids-x"],["mat-icon-button",
"","aria-label","Go to the triage dashboard for your team","matTooltip","Go to the triage dashboard for your team",1,"medium","gfx-muted","settings-btn",3,"href"],["svgIcon","bar-chart",1,"icon-s"],["mat-icon-button","","aria-label","Configure triage for your team","matTooltip","Configure triage for your team",1,"medium","gfx-muted","settings-btn",3,"href"],["svgIcon","settings",1,"icon-s"],["mode","indeterminate"],[1,"flex-1","flex-kids-x","overflow","overflow-on-print-media"],[1,"flex-1","pos-rel",
"overflow","overflow-on-print-media"],["direction","rtl",3,"widthChanged","disableToggleBtn","hideToggleBtnOnOpen","minWidth","maxWidth","size"],[3,"refreshable"],[1,"type-xs","flex-kids-x","align-items-center"],[1,"b-chip","xs","alert-chip"],[1,"flex-kids-x","align-items-center"],["aria-label","Select filter",1,"padded-s-sides",3,"change","multiple"],["appearance","hairline-filter",3,"value","selected"],[3,"ngModelChange","ngModel"],[3,"matTooltip"],[1,"flex-kids-y","gap-s","padded-s"],[1,"carded"],
[1,"heading-s"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"refreshTable"],[3,"issueIds","tableColumns","options","teamId","showReadStatus","alerts"],[1,"full-height","flex-kids-y","align-items-center","justify-content-center","gap"],[3,"activeIssueChange","rowClick","sortChange","issueIds","tableColumns","options","teamId","showReadStatus","alerts"],["aria-hidden","true","alt","","height","232","width","321",3,"src"]],template:function(a,b){if(a&1){var c=x();I(0,"div",2)(1,"header",3)(2,
"button",4);M("onHotkey",function(){z(c);return A(b.refreshTable())})("click",function(){z(c);return A(b.refreshTable())});K(3,"mat-icon",5);J();I(4,"b-star-toggle",6);S(5,"async");M("starClicked",function(){z(c);return A(b.toggleStar())});J();I(6,"h2",7);Q(7);S(8,"async");J();K(9,"mat-icon",8);D(10,Xhb,9,7,"div",9);S(11,"async");K(12,"mat-icon",8);I(13,"button",10);S(14,"async");I(15,"span",11);Q(16);S(17,"async");J();K(18,"b-icon",12);J();I(19,"mat-menu",null,0)(21,"button",13);M("click",function(){z(c);
return A(Yhb(b))});Q(22,"All subphases");J();K(23,"hr");tg(24,Zhb,2,1,"button",14,sg);S(26,"async");J();I(27,"b-paginator",15);S(28,"async");S(29,"async");S(30,"async");S(31,"async");S(32,"async");S(33,"async");S(34,"async");S(35,"async");M("pageSizeChange",function(H){z(c);return A(UXc(b,H))})("prevPage",function(){z(c);b.pageNumber$.next(b.pageNumber$.value-1);return A()})("nextPage",function(){z(c);b.pageNumber$.next(b.pageNumber$.value+1);return A()});J();I(36,"div",16)(37,"a",17);K(38,"mat-icon",
18);J();I(39,"a",19);K(40,"mat-icon",20);J()()();D(41,$hb,1,0,"mat-progress-bar",21);S(42,"async");I(43,"div",22)(44,"div",23);D(45,dib,2,3);S(46,"async");D(47,iib,2,0);S(48,"async");D(49,lib,2,3);J();I(50,"b-resizable-sidebar",24);S(51,"async");M("widthChanged",function(H){z(c);H<b.RIGHT_SIDEBAR_MIN_WIDTH||(b.sidebarWidthPreference$.next(H),e8b("triage-sidebar-width")(H));return A()});D(52,mib,1,0,"ng-template",25);J()()();D(53,qib,2,1,"ng-template",null,1,fh)}if(a&2){var d,e,f,h,l,q,v,y,E;a=L(20);
C(2);F("hotkey",b.HOTKEYS.REFRESH_ISSUE);C(2);F("starred",U(5,30,b.starred$))("disabled",b.savingStar)("starMessage","Star this team to add it to the Triage section on the left sidebar")("unStarMessage","Unstar this team to remove it from the Triage section on the left sidebar");C(3);R(" ",U(8,32,b.data.teamName$)," ");C(3);G((d=U(11,34,b.phaseData$))?10:-1,d);C(3);Gg("matTooltip",U(14,36,b.subphaseSelectorTooltip$));F("matMenuTriggerFor",a);C(3);Tg(U(17,38,b.subphaseDisplayName$));C(8);ug(U(26,40,
b.subphases$));C(3);ng("invisible",!((e=U(28,42,b.issueIdsToRender$))==null?0:e.length));F("showPageSizeSelector",!0)("startIndex",(f=U(29,44,b.startIndex$))!==null&&f!==void 0?f:1)("endIndex",(h=U(30,46,b.endIndex$))!==null&&h!==void 0?h:0)("totalNumber",(l=U(31,48,b.filteredTotalCount$))!==null&&l!==void 0?l:0)("hasPreviousPage",U(32,50,b.pageNumber$)>1)("hasNextPage",U(33,52,b.filteredTotalCount$)>U(34,54,b.endIndex$))("pageSize",(q=U(35,56,b.pageSize$))!==null&&q!==void 0?q:0);C(10);F("href",
b.ROUTES.viewTriageDashboard.makeHref(b.teamId),of);C(2);F("href",b.ROUTES.editTeam.makeHref(b.teamId,"triage"),of);C(2);G(U(42,58,b.data.isLoading$)?41:-1);C(4);G(((v=U(46,60,b.allIssuesInSubphase$))==null?0:v.length)?45:-1);C(2);G((y=b.groupByCluster&&U(48,62,b.clusters$))?47:49,y);C(3);F("disableToggleBtn",!0)("hideToggleBtnOnOpen",!0)("minWidth",b.RIGHT_SIDEBAR_MIN_WIDTH)("maxWidth",b.RIGHT_SIDEBAR_MAX_WIDTH)("size",(E=U(51,64,b.sidebarWidth$))!==null&&E!==void 0?E:0);C(2);F("refreshable",b.triageService.currentIssueId$)}},
dependencies:[Hw,$D,tz,Bz,vD,Vy,Yy,Xy,dQ,lQ,jQ,vI,yI,wI,zI,rO,pO,FH,HH,$H,yM,UV,XV,OH,MZ,II,bI,xU,Iw],styles:[".settings-btn[_ngcontent-%COMP%]{line-height:38px}.left[_ngcontent-%COMP%]{height:100;overflow:hidden auto}.alert-chip[_ngcontent-%COMP%]{background-color:#c5221f;background-color:var(--text-bad);color:#fff;color:var(--text-inverse);margin-right:0;padding-top:2px;padding-left:5px;padding-bottom:2px;line-height:inherit}[_nghost-%COMP%]     .mat-column-title{width:100%}[_nghost-%COMP%]     .mat-column-componentName{max-width:150px}[_nghost-%COMP%]     .mat-column-title .pop-out-link{display:none}\n/*# sourceMappingURL=triage_phase.css.map */"],
changeDetection:0});var OZ=function(){};OZ.\u0275fac=function(a){return new (a||OZ)};OZ.\u0275mod=u({type:OZ});OZ.\u0275inj=p({});var PZ=function(){};PZ.\u0275fac=function(a){return new (a||PZ)};PZ.\u0275mod=u({type:PZ});PZ.\u0275inj=p({imports:[RE,AM,JH,LH,OZ]});var QZ=function(){};QZ.\u0275fac=function(a){return new (a||QZ)};QZ.\u0275mod=u({type:QZ});QZ.\u0275inj=p({imports:[RE,JH,EI,LH]});var RZ=function(){};RZ.\u0275fac=function(a){return new (a||RZ)};RZ.\u0275mod=u({type:RZ});RZ.\u0275inj=p({imports:[RE,Qz,JH,ZR,EI,aW,oR,LH,aI,AM,FY,IY,PH,QZ,Rz,PY,QI,LO,PZ]});var VXc=function(a,b){return b.teamId},SZ=function(){Z.apply(this,arguments);this.starredTeamsService=r(AH);this.teamUserActivity=r(BH);this.ROUTES=tq;this.INITIAL_TEAMS=this.starredTeamsService.starredTeamIds.join(", ");this.teamIdInput=new Az(this.INITIAL_TEAMS);this.suggestedTeams$=this.teamUserActivity.mostActiveTeams$};Y(SZ,Z);SZ.\u0275dir=Z.\u0275dir;SZ.prototype.onClickRemove=function(a){a=xta([a],this.starredTeamsService.starredTeamIds);this.starredTeamsService.save(a);this.teamIdInput.setValue(a.join(", "))};
SZ.prototype.onClickAdd=function(a){a=[].concat(w(this.starredTeamsService.starredTeamIds),[a]);this.starredTeamsService.save(a);this.teamIdInput.setValue(a.join(", "))};var WXc=function(a,b){var c=[];b&&b.split(",").map(function(d){return d.trim()}).filter(Boolean).forEach(function(d){c.push(d)});a.starredTeamsService.save(c)};SZ.\u0275fac=function(){var a;return function(b){return(a||(a=de(SZ)))(b||SZ)}}();
SZ.\u0275cmp=t({type:SZ,selectors:[["ng-component"]],features:[cg],decls:27,vars:6,consts:[[1,"pos-fill","overflow","overflow-on-print-media"],[1,"border-bottom","padded-sides"],[1,"main-content","padded"],[1,"margin-bottom"],[1,"unstyled","starred-teams","border-top"],[1,"margin-top"],[3,"submit"],["for","teamIdUserInput",1,"muted"],["mat-input","","id","teamIdUserInput","type","text","placeholder","Moma Team ID",1,"wide",3,"formControl"],["mat-button","","type","submit",1,"medium"],[1,"unstyled"],
[1,"border-bottom"],[1,"team-name"],[1,"muted"],[1,"hover-link",3,"href"],["mat-icon-button","","aria-label","Team Settings",1,"small","gfx-muted",3,"href"],["svgIcon","settings",1,"icon-s"],["mat-icon-button","","aria-label","Remove (Unstar) Team",1,"small","gfx-muted",3,"click"],["svgIcon","close",1,"icon-s"],[1,"link-button",3,"click"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"header",1)(2,"h2"),Q(3," Settings Screen - Triage "),J()(),I(4,"div",2)(5,"div",3)(6,"h4"),Q(7," Starred Team(s) "),
J(),D(8,xib,3,0,"ol",4),S(9,"async"),I(10,"div",5)(11,"form",6),M("submit",function(){WXc(b,b.teamIdInput.value)}),I(12,"label",7),Q(13," Edit Teams: "),J(),K(14,"br")(15,"input",8),I(16,"button",9),Q(17,"Save"),J()()()(),K(18,"br")(19,"br")(20,"br"),I(21,"h4"),Q(22," Suggested Teams "),J(),I(23,"ol",10),tg(24,yib,6,2,"li",null,VXc),S(26,"async"),J()()());if(a&2){var c;C(8);G((c=U(9,2,b.starredTeamsService.starredTeams$))?8:-1,c);C(7);F("formControl",b.teamIdInput);C(9);ug(U(26,4,b.suggestedTeams$))}},
dependencies:[$D,Cz,ki,tz,uz,zz,vD,Vy,Yy,Xy,Gz,Iw],styles:["[_nghost-%COMP%]{display:block;padding:16px}.starred-teams[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{line-height:2rem}.team-name[_ngcontent-%COMP%]{display:inline-block;min-width:260px}input.wide[_ngcontent-%COMP%]{min-width:400px}.mat-mdc-icon-button[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}\n/*# sourceMappingURL=triage_settings.css.map */"]});var TZ=function(){};TZ.\u0275fac=function(a){return new (a||TZ)};TZ.\u0275mod=u({type:TZ});TZ.\u0275inj=p({imports:[RE,Qz,oR,LH,JH,Rz,LO]});var UZ=function(){};UZ.\u0275fac=function(a){return new (a||UZ)};UZ.\u0275mod=u({type:UZ});UZ.\u0275inj=p({imports:[RE,KZ,RZ,TZ]});var VZ=function(){this.roundCorners=this.showDividers=!1};VZ.\u0275fac=function(a){return new (a||VZ)};
VZ.\u0275cmp=t({type:VZ,selectors:[["b-button-group"]],hostVars:4,hostBindings:function(a,b){a&2&&ng("show-dividers",b.showDividers)("round-corners",b.roundCorners)},inputs:{showDividers:"showDividers",roundCorners:"roundCorners"},ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Dg(),Eg(0))},styles:["[_nghost-%COMP%]{display:flex;flex-wrap:nowrap}.show-dividers[_nghost-%COMP%]     button.gmat-mdc-button:not(:last-of-type), .show-dividers[_nghost-%COMP%]     :not(:last-child) button.gmat-button{border-right:1px solid #dadce0}.show-dividers[_nghost-%COMP%]     button.gmat-mdc-button:not(:first-of-type), .show-dividers[_nghost-%COMP%]     :not(:first-child) button.gmat-button{border-left:1px solid #dadce0}[_nghost-%COMP%]    >:not(:last-child){margin-right:0}[_nghost-%COMP%]    >:not(:first-child){margin-left:0}[_nghost-%COMP%]:not(.round-corners)     button.gmat-mdc-button:not(:last-of-type), [_nghost-%COMP%]:not(.round-corners)     :not(:last-child) button.gmat-mdc-button{margin-right:-1px;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}[_nghost-%COMP%]:not(.round-corners)     button.gmat-mdc-button:not(:first-of-type), [_nghost-%COMP%]:not(.round-corners)     :not(:first-child) button.gmat-mdc-button{border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}[_nghost-%COMP%]:not(.round-corners)     button.gmat-mdc-button:hover{z-index:2}[_nghost-%COMP%]:not(.round-corners)     button.gmat-mdc-button:focus{z-index:3}/*# sourceMappingURL=button-group.css.map */"],changeDetection:0});var WZ=function(){this.constants=r(uL);this.activeSession=r(dv);this.ISSUE_TYPES=Zqc;this.STATUS_JS_FULL_TEXT=Pi;this.STATUSES=Yqc;this.SEVERITIES_VALUES=brc;this.PRIORITIES_VALUES=Xqc;this.enableBulkEstimatedEffortOption=!1;this.onBulkEdit=new rG;this.onQuickBulkEdit=new rG;this.onBulkEditIssueRelation=new rG;this.onBulkMarkIssueRead=new rG;this.isAnonymous=this.activeSession.isAnonymous();this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha()};WZ.prototype.bulkEdit=function(a){this.onBulkEdit.emit(a)};
WZ.prototype.quickBulkEdit=function(a,b){this.onQuickBulkEdit.emit({field:a,newValue:b})};WZ.prototype.bulkEditIssueRelation=function(a,b){this.onBulkEditIssueRelation.emit({issueRelation:a,isMarking:b===void 0?!0:b})};WZ.prototype.bulkMarkIssueRead=function(){this.onBulkMarkIssueRead.emit()};var XXc=function(a){return a.ISSUE_TYPES.filter(function(b){return b!=="VULNERABILITY"})};WZ.\u0275fac=function(a){return new (a||WZ)};
WZ.\u0275cmp=t({type:WZ,selectors:[["b-app-bar-bulk-edit-menus"]],inputs:{readStatePrompt:"readStatePrompt",enableBulkEstimatedEffortOption:"enableBulkEstimatedEffortOption"},outputs:{onBulkEdit:"onBulkEdit",onQuickBulkEdit:"onQuickBulkEdit",onBulkEditIssueRelation:"onBulkEditIssueRelation",onBulkMarkIssueRead:"onBulkMarkIssueRead"},decls:96,vars:12,consts:[["editMenu","matMenu"],["prioritySubmenu","matMenu"],["severitySubmenu","matMenu"],["statusSubmenu","matMenu"],["typeSubmenu","matMenu"],["ArchiveSubmenu",
"matMenu"],["inProdSubmenu","matMenu"],["linkMenu","matMenu"],["ccMenu","matMenu"],["mat-button","",1,"medium",3,"disabled","matMenuTriggerFor"],["mat-button","",1,"medium",3,"click","disabled"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item",""],["mat-menu-item","",3,"matTooltip"],["name","arrow-dropdown","size","small"],["mat-menu-item","",3,"click","matTooltip"]],template:function(a,b){if(a&1){var c=x();I(0,"b-button-group");D(1,zib,4,2,"button",9);I(2,
"button",10);M("click",function(){z(c);return A(b.bulkMarkIssueRead())});Q(3);J();D(4,Aib,4,2,"button",9)(5,Bib,4,2,"button",9);J();I(6,"mat-menu",null,0)(8,"button",11);M("click",function(){z(c);return A(b.bulkEdit("ASSIGNEE"))});Q(9,"Assignee");J();I(10,"button",11);M("click",function(){z(c);return A(b.bulkEdit("COMPONENT"))});Q(11,"Component");J();I(12,"button",12);Q(13,"Priority");J();I(14,"button",12);Q(15,"Severity");J();I(16,"button",12);Q(17,"Status");J();I(18,"button",12);Q(19,"Type");J();
I(20,"button",11);M("click",function(){z(c);return A(b.bulkEdit("VERIFIER"))});Q(21,"Verifier");J();I(22,"button",11);M("click",function(){z(c);return A(b.bulkEdit("REPORTER"))});Q(23,"Reporter");J();I(24,"button",11);M("click",function(){z(c);return A(b.bulkEdit("CHANGELIST"))});Q(25,"Changelist");J();I(26,"button",11);M("click",function(){z(c);return A(b.bulkEdit("CUSTOM_FIELDS"))});Q(27,"Custom Fields");J();I(28,"button",12);Q(29," Archival state ");J();I(30,"button",11);M("click",function(){z(c);
return A(b.bulkEdit("FOUND_IN"))});Q(31,"Found In");J();I(32,"button",11);M("click",function(){z(c);return A(b.bulkEdit("SLO_START_TIME"))});Q(33,"SLO Start Time");J();D(34,Cib,2,0,"button",13);I(35,"button",11);M("click",function(){z(c);return A(b.bulkEdit("VERIFIED_IN"))});Q(36,"Verified In");J();I(37,"button",11);M("click",function(){z(c);return A(b.bulkEdit("TARGETED_TO"))});Q(38,"Targeted To");J();I(39,"button",12);Q(40,"In Prod");J();K(41,"mat-divider");I(42,"button",11);M("click",function(){z(c);
return A(b.bulkEdit("COMMENT"))});Q(43,"Add Comment");J()();I(44,"mat-menu",null,1);tg(46,Dib,2,1,"button",13,sg);J();I(48,"mat-menu",null,2);tg(50,Eib,2,1,"button",13,sg);J();I(52,"mat-menu",null,3);tg(54,Fib,2,1,"button",13,sg);J();I(56,"mat-menu",null,4);tg(58,Gib,2,2,"button",14,sg);J();I(60,"mat-menu",null,5)(62,"button",11);M("click",function(){z(c);return A(b.quickBulkEdit("IS_ARCHIVED",!0))});Q(63,"Archive");J();I(64,"button",11);M("click",function(){z(c);return A(b.quickBulkEdit("IS_ARCHIVED",
!1))});Q(65,"Unarchive");J()();I(66,"mat-menu",null,6)(68,"button",11);M("click",function(){z(c);return A(b.quickBulkEdit("IN_PROD",!0))});Q(69,"In Prod");J();I(70,"button",11);M("click",function(){z(c);return A(b.quickBulkEdit("IN_PROD",!1))});Q(71,"Not in Prod");J()();I(72,"mat-menu",null,7)(74,"button",11);M("click",function(){z(c);return A(b.bulkEditIssueRelation("BLOCKED_BY",!0))});Q(75,"Mark as Blocked By");J();I(76,"button",11);M("click",function(){z(c);return A(b.bulkEditIssueRelation("BLOCKING",
!0))});Q(77,"Mark as Blocking");J();I(78,"button",11);M("click",function(){z(c);return A(b.bulkEditIssueRelation("PARENT",!0))});Q(79,"Add Parent");J();I(80,"button",11);M("click",function(){z(c);return A(b.bulkEditIssueRelation("DUPLICATE"))});Q(81,"Duplicate");J();I(82,"button",11);M("click",function(){z(c);return A(b.bulkEditIssueRelation("BLOCKED_BY",!1))});Q(83,"Unmark as Blocked By");J();I(84,"button",11);M("click",function(){z(c);return A(b.bulkEditIssueRelation("BLOCKING",!1))});Q(85,"Unmark as Blocking");
J();I(86,"button",11);M("click",function(){z(c);return A(b.bulkEditIssueRelation("PARENT",!1))});Q(87,"Remove Parent");J()();I(88,"mat-menu",null,8)(90,"button",11);M("click",function(){z(c);return A(b.quickBulkEdit("CC",!0))});Q(91,"CC me");J();I(92,"button",11);M("click",function(){z(c);return A(b.quickBulkEdit("CC",!1))});Q(93,"Un-CC me");J();I(94,"button",11);M("click",function(){z(c);return A(b.bulkEdit("CC"))});Q(95,"Edit CC");J()()}if(a&2){a=L(45);var d=L(49),e=L(53),f=L(57),h=L(61),l=L(67);
C();G(b.enableBulkEditUi?1:-1);C();F("disabled",b.isAnonymous);C();R(" ",b.readStatePrompt," ");C();G(b.enableBulkEditUi?4:-1);C();G(b.enableBulkEditUi?5:-1);C(7);F("matMenuTriggerFor",a);C(2);F("matMenuTriggerFor",d);C(2);F("matMenuTriggerFor",e);C(2);F("matMenuTriggerFor",f);C(10);F("matMenuTriggerFor",h);C(6);G(b.enableBulkEstimatedEffortOption?34:-1);C(5);F("matMenuTriggerFor",l);C(7);ug(b.PRIORITIES_VALUES);C(4);ug(b.SEVERITIES_VALUES);C(4);ug(b.STATUSES);C(4);ug(XXc(b))}},dependencies:[vI,yI,
wI,zI,yM,VZ,vD,Vy,DM,FH,HH],encapsulation:2,changeDetection:0});var XZ=function(){this.activeSession=r(dv);this.showFlagIssuesAsSpam=this.showExportCsv=!1;this.exportCsvClicked=new rG;this.flagAsSpamClicked=new rG;this.isAnonymous=this.activeSession.isAnonymous()};XZ.\u0275fac=function(a){return new (a||XZ)};
XZ.\u0275cmp=t({type:XZ,selectors:[["b-app-bar-more-menu"]],inputs:{showExportCsv:"showExportCsv",showFlagIssuesAsSpam:"showFlagIssuesAsSpam"},outputs:{exportCsvClicked:"exportCsvClicked",flagAsSpamClicked:"flagAsSpamClicked"},decls:1,vars:1,consts:[["moreMenu","matMenu"],["mat-button","",1,"medium",3,"disabled","matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["mat-menu-item",""],["mat-menu-item","",3,"click"]],template:function(a,b){a&1&&D(0,Jib,8,4);a&2&&G(b.showExportCsv||b.showFlagIssuesAsSpam?
0:-1)},dependencies:[vI,yI,wI,zI,yM,vD,Vy],encapsulation:2,changeDetection:0});var YZ=function(){};YZ.\u0275fac=function(a){return new (a||YZ)};YZ.\u0275mod=u({type:YZ});YZ.\u0275inj=p({imports:[RE]});var ZZ=function(){};ZZ.\u0275fac=function(a){return new (a||ZZ)};ZZ.\u0275mod=u({type:ZZ});ZZ.\u0275inj=p({imports:[EI,RE,AM,YZ,JH,MM,LH]});var b_=function(){var a=this;this.activeSession=r(dv);this.connectionChecker=r($Z);this.ssoInterceptorState=r(a_);this.notifyUserAndWaitForGoodConnection$=new re(function(b){a.ssoInterceptorState.showRefreshSso$.next(!0);var c=a.watchForRestoredConnection$.subscribe(b);a.watchForRestoredConnection$.subscribe(function(){a.ssoInterceptorState.showRefreshSso$.next(!1)});return function(){c.unsubscribe()}});this.watchForRestoredConnection$=Te(window,"focus").pipe(Nf(function(){return a.connectionChecker.ok$}),
Ye(function(b){return b}),Cf(),B(function(){}),oka())};b_.prototype.intercept=function(a,b){return lu(this.activeSession,"enableRefreshSsoPopup")&&a.url&&a.url.startsWith("action/")?YXc(this,b,a):b.handle(a)};
var YXc=function(a,b,c){return new re(function(d){var e=b.handle(c).subscribe({next:function(h){d.next(h)},complete:function(){d.complete()},error:function(h){ZXc(a,b,c,h).pipe(Of(f)).subscribe(d)}}),f=new If(1);return function(){f.next();e.unsubscribe()}})},ZXc=function(a,b,c,d){return d.status===403||d.status===404||d.status===429?Ge(function(){return d}):a.connectionChecker.ok$.pipe(Nf(function(e){return e?Ge(function(){return d}):a.notifyUserAndWaitForGoodConnection$.pipe(Nf(function(){return b.handle(c)}))}))};
b_.\u0275fac=function(a){return new (a||b_)};b_.\u0275prov=n({token:b_,factory:b_.\u0275fac,providedIn:"root"});var a_=function(){this.showRefreshSso$=new bo(!1)};a_.\u0275fac=function(a){return new (a||a_)};a_.\u0275prov=n({token:a_,factory:a_.\u0275fac,providedIn:"root"});var $Z=function(){var a=this;this.ngZone=r(hh);this.ok$=new re(function(b){var c=m_a("action/yes",function(){a.ngZone.run(function(){c.isSuccess()?b.next(c.getResponseText()==="yes"):b.next(!1);b.complete()})});return function(){c.dispose()}})};
$Z.\u0275fac=function(a){return new (a||$Z)};$Z.\u0275prov=n({token:$Z,factory:$Z.\u0275fac,providedIn:"root"});var $Xc={provide:QD,useClass:b_,multi:!0};var aYc=function(){this.activeSession=r(dv);this.ssoInterceptorState=r(a_);this.showRefreshSsoMessage$=this.ssoInterceptorState.showRefreshSso$;this.isAnonymous=this.activeSession.isAnonymous()};aYc.\u0275fac=function(a){return new (a||aYc)};
aYc.\u0275cmp=t({type:aYc,selectors:[["b-sso-expired-callout-outlet"]],decls:2,vars:3,consts:[["format","app",3,"messageType"],["mat-flat-button",""],["mat-flat-button","",3,"click"]],template:function(a,b){a&1&&(D(0,Nib,6,3,"b-callout",0),S(1,"async"));a&2&&G(U(1,1,b.showRefreshSsoMessage$)?0:-1)},dependencies:[ZP,$P,vD,Vy,Iw],encapsulation:2,changeDetection:0});var bYc=function(){var a=this;this.session=r(dv);this.principalTypes=r(YG);this.cdr=r(sG,{self:!0});this.showHiringBanner=!1;lu(this.session,"weAreHiring")&&ZG(this.principalTypes,this.session.getUserEmail(),!0).then(function(b){a.showHiringBanner=b.detailedUserType==="UNRESTRICTED_GOOGLER";a.cdr.detectChanges()}).catch(function(){})};bYc.\u0275fac=function(a){return new (a||bYc)};
bYc.\u0275cmp=t({type:bYc,selectors:[["b-hiring-banner"]],features:[Yg([sG])],decls:1,vars:1,consts:[["title","See jobs related to Buganizer","href","http://goto.google.com/buganizer-hiring","target","_blank",1,"hiring-banner"]],template:function(a,b){a&1&&D(0,Oib,2,0,"a",0);a&2&&G(b.showHiringBanner?0:-1)},styles:[".hiring-banner[_ngcontent-%COMP%]{background:#a02160;color:#fff!important;display:block;font-size:.6875rem;left:50px;overflow:hidden;padding-bottom:3px;position:absolute;text-align:center;top:-76px;-webkit-transform:rotate(-45deg) translate(-100%);transform:rotate(-45deg) translate(-100%);-webkit-transform-origin:0 0;transform-origin:0 0;width:10em;z-index:1000}"],
changeDetection:0});var c_=function(){};c_.\u0275fac=function(a){return new (a||c_)};c_.\u0275mod=u({type:c_});c_.\u0275inj=p({imports:[RE]});var d_=function(){this.hotkeys=r(YH)};d_.prototype.ngOnInit=function(){this.hotkeys.pause()};d_.prototype.ngOnDestroy=function(){this.hotkeys.unpause()};d_.\u0275fac=function(a){return new (a||d_)};
d_.\u0275cmp=t({type:d_,selectors:[["b-hotkeys-dialog"]],decls:9,vars:0,consts:[["mat-dialog-title",""],["mat-button","","mat-dialog-close","","type","button",1,"medium","primary"],["colspan","2"],[1,"bv2-hotkeys-header"],[1,"bv2-hotkeys-key"],[1,"bv2-hotkeys-value"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"Keyboard shortcuts"),J(),I(2,"mat-dialog-content")(3,"table"),tg(4,Qib,7,1,"thead",null,sg),J()(),I(6,"mat-dialog-actions")(7,"button",1),Q(8,"Close"),J()());a&2&&(C(4),ug(Pgc(b.hotkeys)))},
dependencies:[vD,Vy,lL,nL,pL,oL],encapsulation:2});var e_=function(){};e_.\u0275fac=function(a){return new (a||e_)};e_.\u0275mod=u({type:e_});e_.\u0275inj=p({imports:[RE,JH,ML]});var fu=function(a){this.type=a.type;this.customFieldId=a.customFieldId||void 0;this.customFieldName=a.customFieldName||void 0};fu.prototype.isCustomField=function(){return this.type==="CUSTOM_FIELD"};fu.prototype.toApiUrlParam=function(){return this.isCustomField()?this.type.toLowerCase()+"."+this.customFieldId:this.type.toLowerCase()};fu.prototype.toString=function(){return this.toApiUrlParam()};var ju=function(a,b){this.fieldId=a;this.direction=b};ju.prototype.toApiUrlParam=function(){return this.fieldId.toApiUrlParam()+":"+(this.direction==="ASCENDING"?"asc":"desc")};ju.prototype.toString=function(){return this.toApiUrlParam()};var Uib=function(){this.assignee=this.reporter=this.team=null;this.assigneeEmail=void 0;this.verifier=null;this.verifierEmail=void 0;this.duplicateOfIssueId=this.inProd=this.verifiedInVersion=this.targetedToVersion=this.foundInVersion=this.lastViewedTime=this.verifiedTime=this.resolvedTime=this.blockedByIssueId=this.blockingIssueId=this.hotlistId=this.postmortem=this.changelist=this.collaborator=this.cc=null;this.customFieldMap={};this.customFieldNameToIdMap={};this.customFieldValueMap={};this.lastModifier=
this.ccCount=this.collaboratorCount=this.duplicateCount=this.voteCount=null;this.isClosed=this.isRead=this.selected=!1;this.issueAccessLevel=this.sloEndTime=this.sloStartTime=this.sloStatus=this.position=this.effort=null};var f_=function(a,b,c){this.internalIssues=a;this.params=b;this.responseMetadata=c;this.numResults=this.responseMetadata.numTotalResults;this.numPages=Math.ceil(this.numResults/b.resultsPerPage);this.startIndex=(b.page-1)*b.resultsPerPage+1;this.endIndex=Math.min(this.startIndex+b.resultsPerPage-1,this.numResults);this.maySkipResults=this.responseMetadata.maySkipResults;this.totalText=this.responseMetadata.totalSizeAccurate?this.numResults.toString():"many";this.changed$=new bo(this)},cYc=function(a,
b){var c=b.positionMap||{},d=b.issues.map(function(e){var f=Wib(e,null);c&&c[e.issueId]&&(f.position=c[e.issueId]);return f});return new f_(d,a,b)};f_.prototype.hasPreviousPage=function(){return this.params.page>1};f_.prototype.hasNextPage=function(){return!!this.responseMetadata.nextPageToken};
var g_=function(a,b){var c=a.issues.findIndex(function(d){return d.issueId===b});return c!==-1?c+a.startIndex:-1},dYc=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value;c=d.issue;d=d.component;var e=g_(a,c.issueId);e!==-1&&(e-=a.startIndex,Vib(a.issues[e],c,d))}a.changed$.next(a)},eYc=function(a,b,c,d){b=g_(a,b);b!==-1&&(b-=a.startIndex,d!==void 0&&(a.issues[b].lastViewedTime=d!=null?d:null),c!==void 0&&(a.issues[b].isRead=c),c===void 0&&d===void 0&&(a.issues[b].isRead=!!a.issues[b].lastViewedTime&&
a.issues[b].lastViewedTime>=a.issues[b].majorModifiedTime));a.changed$.next(a)};f_.prototype.clone=function(){var a=new f_(this.internalIssues,this.params,this.responseMetadata);a.changed$.next(a);return a};ea.Object.defineProperties(f_.prototype,{issues:{configurable:!0,enumerable:!0,get:function(){return this.internalIssues},set:function(a){this.internalIssues=a;this.changed$.next(this)}}});var h_=function(){this.issueApi=r(uD);this.hotlistApi=r(hF);this.paths=r(zO)};h_.prototype.create=function(a){return new fYc(this.issueApi,this.hotlistApi,this.paths,a)};h_.\u0275fac=function(a){return new (a||h_)};h_.\u0275prov=n({token:h_,factory:h_.\u0275fac,providedIn:"root"});
var fYc=function(a,b,c,d){this.issueApi=a;this.hotlistApi=b;this.paths=c;this.params=d;this.resultPromise=this.searchResultsPage=null},i_=function(a){if(a.params.page<1)return Promise.reject(Error("Vf"));if(!a.resultPromise)if(a.params.hotlistId)a.resultPromise=a.hotlistApi.getPagedHotlistContent(a.params.hotlistId,a.params.page,a.params.resultsPerPage,a.params.sortColumns,a.params.trackerIds);else{var b={p:a.params.page,count:a.params.resultsPerPage,trackerIds:a.params.trackerIds},c=eRa(a.params.sortColumns);
c&&(b.s=c);var d;a.resultPromise=a.issueApi.listIssues((d=a.params.query)!=null?d:"",b)}return a.resultPromise.then(function(e){a.searchResultsPage||(a.searchResultsPage=cYc(a.params,e));return a.searchResultsPage},function(e){return Promise.reject(e)})},gYc=function(a){return a.searchResultsPage?a.searchResultsPage.hasNextPage():!0};var j_=function(){this.$window=r(aL);this.searchResultsPageFetcherFactory=r(h_);this.previousResultsFetcher=this.nextResultsFetcher=this.currentResultsFetcher=null;this.focusedIssueIndex=-1},iYc=function(a,b){var c=Ak();hYc(b.page)?(a.setSearchParams(b),i_(a.currentResultsFetcher).then(function(d){d.numPages&&b.page>d.numPages?c.reject(d.numPages):c.resolve(d)},function(d){c.reject(d)})):c.reject(1);return c.promise},kYc=function(a){var b=Ak(),c=null;a.currentResultsFetcher?c=a.currentResultsFetcher.params:
c=jYc(a);c?(a.setSearchParams(c),i_(a.currentResultsFetcher).then(function(d){b.resolve(d)},function(d){b.reject(d)})):b.reject("No related search results available.");return b.promise},lYc=function(a){a.currentResultsFetcher=null;a.nextResultsFetcher=null;a.previousResultsFetcher=null;a.focusedIssueIndex=-1},mYc=function(a,b){var c=Ak();a.focusedIssueIndex=-1;if(!a.currentResultsFetcher)return c.reject("No search results available."),c.promise;var d=Math.floor((b-1)/a.currentResultsFetcher.params.resultsPerPage)+
1;if(Math.abs(d-a.currentResultsFetcher.params.page)>1)return c.reject("Requested index is out of range."),c.promise;var e=zi(a.currentResultsFetcher.params);e.page=d;a.setSearchParams(e);i_(a.currentResultsFetcher).then(function(f){a:{if(b>=f.startIndex&&b<=f.endIndex){var h=b-f.startIndex;if(h<f.issues.length){f=f.issues[h].issueId;break a}}f=void 0}f?(a.focusedIssueIndex=b,c.resolve(f)):c.reject("No issue available at index "+b)},function(f){c.reject(f)});return c.promise};
j_.prototype.getFocusedIssue=function(){return this.focusedIssueIndex};
var nYc=function(a){a.currentResultsFetcher?i_(a.currentResultsFetcher).then(function(b){a.focusedIssueIndex=b.endIndex>=b.startIndex?b.startIndex:-1}).catch(function(b){sj("unexpected error fetching:",b)}):a.focusedIssueIndex=-1},jYc=function(a){if(a=a.$window.sessionStorage.getItem("buganizer.searchParams")){a=JSON.parse(a);if(!a.query||!a.page||!a.resultsPerPage)return null;a.sortColumns&&(a.sortColumns=a.sortColumns.map(function(b){return new ju(new fu(b.fieldId),b.direction)}));return a}return null},
oYc=function(a,b,c){b=zi(b);b.page=c;return a.searchResultsPageFetcherFactory.create(b)},pYc=function(a,b){a.currentResultsFetcher||(a.currentResultsFetcher=oYc(a,b,b.page),i_(a.currentResultsFetcher).catch(function(c){sj("unexpected error fetching:",c)}));!a.previousResultsFetcher&&b.page>1&&(a.previousResultsFetcher=oYc(a,b,b.page-1),rq(2E3).then(function(){var c;return(c=a.previousResultsFetcher)==null?void 0:i_(c)}).catch(function(c){sj("unexpected error fetching:",c)}));!a.nextResultsFetcher&&
gYc(a.currentResultsFetcher)&&(a.nextResultsFetcher=oYc(a,b,b.page+1),rq(2E3).then(function(){var c;return(c=a.nextResultsFetcher)==null?void 0:i_(c)}).catch(function(c){sj("unexpected error fetching:",c)}))};
j_.prototype.setSearchParams=function(a){a.page=Ei(a.page);if(!a.resultsPerPage||isNaN(a.resultsPerPage))throw Error("Wf");this.previousResultsFetcher&&a.page===this.previousResultsFetcher.params.page?(this.nextResultsFetcher=this.currentResultsFetcher,this.currentResultsFetcher=this.previousResultsFetcher,this.previousResultsFetcher=null):this.nextResultsFetcher&&a.page===this.nextResultsFetcher.params.page&&(this.previousResultsFetcher=this.currentResultsFetcher,this.currentResultsFetcher=this.nextResultsFetcher,
this.nextResultsFetcher=null);if(this.currentResultsFetcher){var b=this.currentResultsFetcher.params;a.page===b.page&&a.query===b.query&&yi(a.sortColumns,b.sortColumns)&&a.resultsPerPage===b.resultsPerPage&&yi(a.trackerIds,b.trackerIds)?this.currentResultsFetcher.params.returnUrl=a.returnUrl:lYc(this)}pYc(this,a);a=JSON.stringify(this.currentResultsFetcher.params);this.$window.sessionStorage.setItem("buganizer.searchParams",a)};
var hYc=function(a){var b=Ei(""+a);return isNaN(b)||b!=Number(a)||b<1||b>2147483647?!1:!0};j_.\u0275fac=function(a){return new (a||j_)};j_.\u0275prov=n({token:j_,factory:j_.\u0275fac,providedIn:"root"});var k_=function(){this.$window=r(aL);this.activeSession=r(dv)};k_.prototype.setTitle=function(a){a=ku(a,this.activeSession.session);this.$window.document.title=a};k_.\u0275fac=function(a){return new (a||k_)};k_.\u0275prov=n({token:k_,factory:k_.\u0275fac,providedIn:"root"});var l_=function(){Z.apply(this,arguments);var a=this;this.paramsService=r(OL);this.issueFullFridge=r(yG);this.pageTitle=r(k_);this.accessIndicatorService=r(UP);this.newTitle$=this.paramsService.routeParams$.pipe(Ef(yi),Nf(function(b){return a.onRouteParamsChanged(b)}));this.init=function(){a.subscriptions.add(a.newTitle$.subscribe(function(b){a.pageTitle.setTitle(b)}))};this.initOnce=Bk(this.init)};Y(l_,Z);l_.\u0275dir=Z.\u0275dir;
l_.prototype.onRouteParamsChanged=function(a){return a.issueId?qYc(this,a.issueId):Fe()};var qYc=function(a,b){return Me([a.issueFullFridge.watch(b),jzc(a.accessIndicatorService,b).pipe(Mf(void 0),xf(function(){return Fe(void 0)}))]).pipe(Mf([void 0,void 0]),B(function(c){c=k(c);var d=c.next().value;c=c.next().value;d=d==null?void 0:d.snapshot[0].title;if(!d)return"View issue";d=d+" ["+b+"]";if(c==null?0:c.displayText)d=d+" - "+c.displayText;return d}))};
l_.\u0275fac=function(){var a;return function(b){return(a||(a=de(l_)))(b||l_)}}();l_.\u0275prov=n({token:l_,factory:l_.\u0275fac,providedIn:"root"});var uYc=function(a){var b=this;this.parentElement=a;this.lastTimestamp=this.state=this.y=this.x=0;this.animate=function(c){b.state!==3&&requestAnimationFrame(b.animate);if(!(c-b.lastTimestamp<30)){b.lastTimestamp=c;if(b.state===2){if(rYc(b),b.x<-50||b.x>document.documentElement.clientWidth+50||b.y<-50||b.y>document.documentElement.clientHeight+50)b.element.remove(),b.state=3}else{b.moveFlipCounter--;b.moveFlipCounter<=0&&(b.state===0?b.state=1:b.state===1&&(b.state=0),b.moveFlipCounter=50+100*Math.random(),
sYc(b));if(b.state===1)return;b.turnCounter--;b.turnCounter<=0&&(b.direction=360*Math.random(),b.turnCounter=40*Math.random());b.x<0&&b.direction>90&&b.direction<270&&(b.direction=(180-b.direction)%360);b.x>document.documentElement.clientWidth&&(b.direction<90||b.direction>270)&&(b.direction=(180-b.direction)%360);b.y<0&&b.direction>180&&(b.direction=360-b.direction);b.y>document.documentElement.clientHeight&&b.direction<180&&(b.direction=360-b.direction);rYc(b)}b.transform()}};this.speed=2+3*Math.random();
this.size=14+16*Math.random();this.turnCounter=40*Math.random();this.moveFlipCounter=50+100*Math.random();this.direction=360*Math.random();this.flip=1;this.element=this.createElement();sYc(this);tYc(this)};uYc.prototype.start=function(){this.parentElement.appendChild(this.element);requestAnimationFrame(this.animate)};
uYc.prototype.stop=function(){this.state=2;sYc(this);this.direction=Math.atan2(this.y-document.documentElement.clientHeight/2,this.x-document.documentElement.clientWidth/2)*180/Math.PI+(Math.random()-.5)*90;this.speed=15+10*Math.random()};
var tYc=function(a){var b=Math.floor(Math.random()*4);switch(b){case 0:a.x=document.documentElement.clientWidth*Math.random();a.y=-50;break;case 1:a.x=document.documentElement.clientWidth*Math.random();a.y=document.documentElement.clientHeight+50;break;case 2:a.x=document.documentElement.clientWidth+50;a.y=document.documentElement.clientHeight*Math.random();break;case 3:a.x=-50;a.y=document.documentElement.clientHeight*Math.random();break;default:console.warn("Illegal mode: "+b)}};
uYc.prototype.createElement=function(){var a=document.createElement("img");a.style.height=this.size+"px";a.style.width=this.size+"px";a.style.backgroundColor="transparent";a.style.zIndex="9999";a.style.position="fixed";a.style.top="0px";a.style.left="0px";return a};
var sYc=function(a){a.element.src=a.state===1?"https://www.gstatic.com/buganizer/img/v0/logo.svg":"https://www.gstatic.com/buganizer/img/v0/bug-move.svg"},rYc=function(a){a.flip*=-1;var b=a.direction*Math.PI/180;a.x+=Math.cos(b)*a.speed;a.y+=Math.sin(b)*a.speed};uYc.prototype.transform=function(){this.element.style.transform="translate("+this.x+"px,"+this.y+"px) rotate("+(this.direction+90)%360+"deg) scaleX("+this.flip};var vYc=function(a){this.element=a;this.bugs=[]};vYc.prototype.start=function(){for(var a=this,b=0;b<3;b++)wYc(this);this.intervalSubscription=Yha(1E4).subscribe(function(){wYc(a);a.bugs.length>=10&&a.intervalSubscription&&a.intervalSubscription.unsubscribe()})};vYc.prototype.stop=function(){this.intervalSubscription&&this.intervalSubscription.unsubscribe();for(var a=k(this.bugs),b=a.next();!b.done;b=a.next())b.value.stop();this.bugs=[]};var wYc=function(a){var b=new uYc(a.element);b.start();a.bugs.push(b)};var m_=function(){var a=this;this.ngZone=r(hh);this.userPreferencesManager=r(yH);this.snackBar=r(eE);this.elementRef=r(ge);this.destroyed$=new If(1);this.active$=new bo(!0);this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY;this.bugAnimation=new vYc(this.elementRef.nativeElement);this.active$.pipe(Of(this.destroyed$),Ef()).subscribe(function(b){b?xYc(a):yYc(a)})};m_.prototype.ngOnInit=function(){document.visibilityState==="visible"&&zYc(this)};m_.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var zYc=function(a){a.timeoutId=setTimeout(function(){a.active$.next(!1)},18E4)};m_.prototype.onUserEvent=function(){var a=Date.now();a<this.lastTimeoutResetTimestamp+1E4||(this.lastTimeoutResetTimestamp=a,this.active$.next(!0),clearTimeout(this.timeoutId),zYc(this))};m_.prototype.onVisibilityChange=function(){this.onUserEvent();switch(document.visibilityState){case "hidden":clearTimeout(this.timeoutId),this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY}};
var yYc=function(a){a.snackBar.open("Bug screensaver started because of inactivity.","Disable",{duration:5E3}).onAction().subscribe(function(){var b=Object.assign({},a.userPreferencesManager.bugScreensaverSubject$.value,{enableBugScreensaver:!1});a.userPreferencesManager.save({bugScreensaverPreferences:b}).subscribe()});a.ngZone.runOutsideAngular(function(){a.bugAnimation.start()})},xYc=function(a){a.ngZone.runOutsideAngular(function(){a.bugAnimation.stop()})};
m_.\u0275fac=function(a){return new (a||m_)};
m_.\u0275cmp=t({type:m_,selectors:[["bug-screensaver"]],hostBindings:function(a,b){a&1&&M("click",function(){return b.onUserEvent()},!1,ie)("keydown",function(){return b.onUserEvent()},!1,ie)("mousemove",function(){return b.onUserEvent()},!1,ie)("wheel",function(){return b.onUserEvent()},!1,ie)("touchstart",function(){return b.onUserEvent()},!1,ie)("focus",function(){return b.onUserEvent()},!1,ie)("visibilitychange",function(){return b.onVisibilityChange()},!1,hha)},decls:0,vars:0,template:function(){},
encapsulation:2});var AYc=function(){var a=r(yH),b=r(dv).isInternalSession();this.isEnabled$=a.bugScreensaverSubject$.pipe(B(function(c){return(c.enableBugScreensaver||!1)&&b}))};AYc.\u0275fac=function(a){return new (a||AYc)};AYc.\u0275cmp=t({type:AYc,selectors:[["bug-screensaver-manager"]],decls:2,vars:3,template:function(a,b){a&1&&(D(0,Xib,1,0,"bug-screensaver"),S(1,"async"));a&2&&G(U(1,1,b.isEnabled$)?0:-1)},dependencies:[m_,Iw],encapsulation:2});var n_=function(){};n_.\u0275fac=function(a){return new (a||n_)};n_.\u0275mod=u({type:n_});n_.\u0275inj=p({imports:[RE,oR,MH,WR]});var BYc=function(){this.activeSession=r(dv);this.currentTracker=this.activeSession.getTracker();var a,b;this.trackerName=(b=(a=this.currentTracker)==null?void 0:a.name)!=null?b:"";var c,d,e;this.trackerLogo=(e=(c=this.currentTracker)==null?void 0:(d=c.branding)==null?void 0:d.logoUrl)!=null?e:"";var f,h,l;this.trackerCoc=(l=(f=this.currentTracker)==null?void 0:(h=f.branding)==null?void 0:h.cocUrl)!=null?l:""};BYc.\u0275fac=function(a){return new (a||BYc)};
BYc.\u0275cmp=t({type:BYc,selectors:[["b-footer"]],decls:1,vars:1,consts:[["href","https://policies.google.com/privacy","target","_blank"],[1,"padded-s-sides"],["href","https://policies.google.com/terms","target","_blank"],["alt","",1,"logo",3,"src"],[1,"title"],["id","code-of-conduct","target","_blank",3,"href"]],template:function(a,b){a&1&&D(0,$ib,9,2,"footer");a&2&&G(b.currentTracker||b.activeSession.isExternalSession()?0:-1)},styles:["footer[_ngcontent-%COMP%]{border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider);-moz-box-sizing:border-box;box-sizing:border-box;width:100%;padding:8px 16px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.logo[_ngcontent-%COMP%]{width:24px;height:24px;padding:3px;margin-right:12px}a[_ngcontent-%COMP%]{color:#202124;color:var(--text-default)}a[_ngcontent-%COMP%]:hover{text-decoration:underline}.title[_ngcontent-%COMP%]{margin-right:56px}"]});var o_=function(){};o_.\u0275fac=function(a){return new (a||o_)};o_.\u0275mod=u({type:o_});o_.\u0275inj=p({imports:[RE]});var p_=function(){var a=this;this.paths=r(zO);this.context=r(WL);this.activeSession=r(dv);this.componentFridge=r(AC);this.createIssuePath=this.paths.createIssue();this.currentTracker=this.activeSession.getTracker();this.component$=this.context.getComponentId().pipe(Nf(function(d){return d?a.componentFridge.watch(d):Fe(void 0)}),B(function(d){return d&&!d.archived?d:void 0}));this.visibleOptions$=Me([this.component$,this.context.getIssueId(),this.context.getHotlistId()]).pipe(Df(0),B(function(d){var e=
k(d);d=e.next().value;var f=e.next().value;e=e.next().value;return CYc(a,a.currentTracker,d,f,e)}));this.buttonLabel$=this.visibleOptions$.pipe(B(function(d){return d.length?"Create":"Create Issue"}));var b,c;this.buttonIcon=((b=this.currentTracker)==null?void 0:(c=b.branding)==null?void 0:c.theme)==="OPEN_SOURCE"?"create-open-source-36px":"create-color-36px"};p_.prototype.ngOnInit=function(){};p_.prototype.trackClick=function(a){vo("create","click",a)};
var CYc=function(a,b,c,d,e){var f=new Map;b=b&&c&&b.trackerId&&b.trackerId!==c.trackerId;c=(c==null?0:c.componentId)?String(c.componentId):void 0;if(e!==null){var h={};f.set("in_same_hotlist",a.paths.createIssue((h.hotlistIds=String(e),h)))}b||c===void 0||(e={},f.set("in_same_component",a.paths.createIssue((e.component=c,e))));b||d===null||(e={},f.set("similar_to_current_issue",a.paths.createIssue((e.template_issue=d,e))),e={},f.set("blocked_by_current_issue",a.paths.createIssue((e.blockedByIssueIds=
d,e.component=c,e))),e={},f.set("blocking_current_issue",a.paths.createIssue((e.blockingIssueIds=d,e.component=c,e))),e={},f.set("parent_of_current_issue",a.paths.createIssue((e.childrenIssueIds=d,e.component=c,e))),e={},f.set("child_of_current_issue",a.paths.createIssue((e.parentIssueId=d,e.component=c,e))));return[].concat(w(f.entries())).map(function(l){var q=k(l);l=q.next().value;q=q.next().value;return{name:kKa(l),path:q}})};p_.\u0275fac=function(a){return new (a||p_)};
p_.\u0275cmp=t({type:p_,selectors:[["b-create-issue-button"]],decls:2,vars:3,consts:[[3,"label","icon","href","segments"],[3,"clickMain","clickSegment","label","icon","href","segments"]],template:function(a,b){a&1&&(D(0,bjb,2,3),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.visibleOptions$))?0:-1,c)}},dependencies:[BI,Iw],encapsulation:2,changeDetection:0});var q_=function(){this.router=r(HE);this.location=r(WI)},THb=function(a){var b=a.location.getUrl();Vt(a.router,"/",{skipLocationChange:!0}).then(function(){return Vt(a.router,b,{skipLocationChange:!0})})};q_.\u0275fac=function(a){return new (a||q_)};q_.\u0275prov=n({token:q_,factory:q_.\u0275fac,providedIn:"root"});var s_=function(){Z.call(this);var a=this;this.reloadService=r(q_);this.activeSession=r(dv);this.bLocation=r(WI);this.paths=r(zO);this.issuePagination=r(j_);this.sidebarItemFactory=r(r_);this.appEvents=r(nE);this.analytics=r(wG);this.currentUserBookmarksFridge=r(rF);this.sidebarData={hotlists:[],bookmarkGroups:[],archivedHotlists:[],archivedBookmarkGroups:[],userSearches:[]};this.userSavedSearches=[];this.userHotlists=[];this.subscriptions.add(Acc(this.currentUserBookmarksFridge).subscribe(function(b){a.sidebarData.hotlists=
DYc(a,b.hotlists);a.sidebarData.bookmarkGroups=EYc(a,b.bookmarkGroups);a.sidebarData.archivedHotlists=DYc(a,b.archivedHotlists);a.sidebarData.archivedBookmarkGroups=EYc(a,b.archivedBookmarkGroups);a.appEvents.sidebarUpdated.next()}));this.subscriptions.add(Bcc(this.currentUserBookmarksFridge).subscribe(function(b){b=FYc(a,b);a.sidebarData.userSearches=b;Eba(a.userSavedSearches);Fba(a.userSavedSearches,b);a.appEvents.sidebarUpdated.next()}));this.subscriptions.add(sF(this.currentUserBookmarksFridge).subscribe(function(b){GYc(a,
b);a.appEvents.sidebarUpdated.next()}))};Y(s_,Z);s_.\u0275dir=Z.\u0275dir;
var DYc=function(a,b){return b.map(function(c){return HYc(a.sidebarItemFactory,c)}).sort(function(c,d){return c.name.localeCompare(d.name)})},EYc=function(a,b){return b.map(function(c){var d=a.sidebarItemFactory;return new IYc(c,d.activeSession,d.analytics,d.userApi,d.bookmarkGroupsApi,d.butterBar,d.paths,d.userPreferencesManager,d.errorHandler,d,d.confirmationDialogService,d.appEvents)})},FYc=function(a,b){return b.map(function(c){return{id:String(c.searchId),name:c.name,adminUsers:c.adminUsers,
description:c.description,starred:!1,resourceType:"SAVED_SEARCH"}}).map(function(c){return JYc(a.sidebarItemFactory,c)})},GYc=function(a,b){b=b.map(function(c){c={id:String(c.hotlistId),name:c.name,description:c.description,adminUsers:c.adminUsers,starred:c.adminUsers.every(function(d){return d.emailAddress!==a.activeSession.getUserEmail()}),resourceType:"HOTLIST"};return HYc(a.sidebarItemFactory,c)});Eba(a.userHotlists);Fba(a.userHotlists,b)};
s_.prototype.onAnchorClick=function(a,b){var c,d=(c=b.target)==null?void 0:c.innerText;d=(d===void 0?"":d).replace(/\b(\d+)\b/g,"");this.analytics.trackEvent("nav","click",d.trim());b.metaKey||b.ctrlKey||b.shiftKey||b.button!==0||(lYc(this.issuePagination),Zwc(this.paths,a)&&THb(this.reloadService),this.bLocation.setUrl(a),b.preventDefault(),b.stopPropagation())};s_.\u0275fac=function(a){return new (a||s_)};s_.\u0275prov=n({token:s_,factory:s_.\u0275fac,providedIn:"root"});
var t_=function(a,b,c,d,e,f,h,l){this.item=a;this.analytics=c;this.userApi=d;this.bookmarkGroupsApi=e;this.butterBar=f;this.paths=h;this.userPreferencesManager=l;this.id=a.id;this.name=a.name;this.description=a.description;this.adminUsers=a.adminUsers;this.starred=a.starred;this.userEmail=b.getUserEmail()};t_.prototype.getDisplayName=function(){return this.item.name?this.item.name:"resourceType"in this.item?Ji(this.item.resourceType.toLowerCase())+" "+this.item.id:this.item.id};
t_.prototype.isEditable=function(){return KYc(this)};t_.prototype.isSelected=function(){var a=this.paths,b=this.href;b=b.charAt(0)!=="/"?"/"+b:b;return a.bLocation.path()===b};t_.prototype.isUnstarable=function(){return!KYc(this)&&this.starred};
var KYc=function(a){return a.adminUsers.some(function(b){return b.emailAddress===a.userEmail})},LYc=function(a,b){var c=zH(a.userPreferencesManager).homepagePreferences;return(c==null?void 0:c.resourceId)===a.id&&c.resourceType===b},MYc=function(a,b){du(a.butterBar,"Updating homepage...",0);ggc(a.userPreferencesManager,{resourceType:b,resourceId:a.id}).pipe(Cf()).subscribe(function(){du(a.butterBar,"Homepage updated")})},NYc=function(a,b,c,d,e,f,h,l,q,v,y,E){t_.call(this,a,b,c,d,e,h,l,q);this.hotlistApi=
f;this.errorHandler=v;this.confirmationDialogService=y;this.appEvents=E;this.href=tq.viewHotlist.makeHref(a.id);this.type="HOTLIST"};Y(NYc,t_);g=NYc.prototype;g.isPreferredHomepage=function(){return LYc(this,"HOTLIST")};g.setAsPreferredHomepage=function(){MYc(this,"HOTLIST")};
g.archive=function(){var a=this;du(this.butterBar,'Archiving hotlist "'+this.name+'"...');this.hotlistApi.get(this.id).then(function(b){b.archived=!0;return a.hotlistApi.archiveHotlist(a.id,b)}).then(function(){a.appEvents.hotlistChanged.next({hotlistId:a.id});du(a.butterBar,'Archived hotlist "'+a.name+'".');a.analytics.trackEvent("sidebarItem","archived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unarchive=function(){var a=this;du(this.butterBar,'Unarchiving hotlist "'+this.name+'"...');this.hotlistApi.get(this.id).then(function(b){b.archived=!1;return a.hotlistApi.archiveHotlist(a.id,b)}).then(function(){a.appEvents.hotlistChanged.next({hotlistId:a.id});du(a.butterBar,'Unarchived hotlist "'+a.name+'".');a.analytics.trackEvent("sidebarItem","unarchived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unstar=function(){var a=this;this.confirmationDialogService.open({title:"Unstar hotlist: "+this.name,content:ti("Unstarring a hotlist will remove it from your sidebar. You can restore the hotlist at any time from the hotlist's page."),onConfirm:function(){a.doUnstar()}})};
g.doUnstar=function(){var a=this;du(this.butterBar,"Unstarring hotlist ID "+this.id+"...");this.userApi.removeUserBookmark({resourceType:"HOTLIST",resourceId:this.id}).then(function(){du(a.butterBar,"Unstarred hotlist ID "+a.id);a.appEvents.hotlistChanged.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};var u_=function(a,b,c,d,e,f,h,l){t_.call(this,a,b,c,d,e,f,h,l);this.href=h.viewSavedSearch(a.id);this.type="SAVED_SEARCH"};Y(u_,t_);u_.prototype.isUnstarable=function(){return!1};
u_.prototype.unstar=function(){};u_.prototype.isPreferredHomepage=function(){return LYc(this,"SAVED_SEARCH")};u_.prototype.setAsPreferredHomepage=function(){MYc(this,"SAVED_SEARCH")};
var IYc=function(a,b,c,d,e,f,h,l,q,v,y,E){t_.call(this,a,b,c,d,e,f,h,l);this.errorHandler=q;this.sidebarItemFactory=v;this.confirmationDialogService=y;this.appEvents=E;this.items=[];a=k(a.sublinks||[]);for(b=a.next();!b.done;b=a.next())switch(b=b.value,b.resourceType){case "HOTLIST":this.items.push(HYc(this.sidebarItemFactory,b));break;case "SAVED_SEARCH":this.items.push(JYc(this.sidebarItemFactory,b))}this.items.sort(function(H,O){return H.name.localeCompare(O.name)})};Y(IYc,t_);g=IYc.prototype;
g.isPreferredHomepage=function(){return LYc(this,"BOOKMARK_GROUP")};g.setAsPreferredHomepage=function(){MYc(this,"BOOKMARK_GROUP")};
g.archive=function(){var a=this;du(this.butterBar,'Archiving bookmark group "'+this.name+'"...');this.bookmarkGroupsApi.get(this.id).then(function(b){b.archived=!0;return a.bookmarkGroupsApi.update(b)}).then(function(){a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.id});du(a.butterBar,'Archived bookmark group "'+a.name+'".');a.analytics.trackEvent("sidebarItem","archived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unarchive=function(){var a=this;du(this.butterBar,'Unarchiving bookmark group "'+this.name+'"...');this.bookmarkGroupsApi.get(this.id).then(function(b){b.archived=!1;return a.bookmarkGroupsApi.update(b)}).then(function(){a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.id});du(a.butterBar,'Unarchived bookmark group "'+a.name+'".');a.analytics.trackEvent("sidebarItem","unarchived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unstar=function(){var a=this;this.confirmationDialogService.open({title:"Unstar bookmark group: "+this.name,content:ti("Unstarring a bookmark group will remove it from your sidebar. You can restore it at any time from the bookmark group's page."),onConfirm:function(){a.doUnstar()}})};
g.doUnstar=function(){var a=this;du(this.butterBar,"Unstarring bookmark group ID "+this.id+"...");this.userApi.removeUserBookmark({resourceType:"BOOKMARK_GROUP",resourceId:this.id}).then(function(){du(a.butterBar,"Unstarred bookmark group ID "+a.id);a.appEvents.bookmarkGroupModified.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var r_=function(){this.activeSession=r(dv);this.userApi=r(lF);this.bookmarkGroupsApi=r(dC);this.hotlistApi=r(hF);this.errorHandler=r(jE);this.paths=r(zO);this.analytics=r(wG);this.butterBar=r(hE);this.userPreferencesManager=r(yH);this.confirmationDialogService=r(rL);this.appEvents=r(nE)},HYc=function(a,b){return new NYc(b,a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.hotlistApi,a.butterBar,a.paths,a.userPreferencesManager,a.errorHandler,a.confirmationDialogService,a.appEvents)},JYc=
function(a,b){return new u_(b,a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.butterBar,a.paths,a.userPreferencesManager)};r_.\u0275fac=function(a){return new (a||r_)};r_.\u0275prov=n({token:r_,factory:r_.\u0275fac,providedIn:"root"});var v_=function(){this.prefs=r(yH);this.expanded=!0;this.content=this.header=null;this.onExpand=new rG};v_.prototype.ngOnInit=function(){this.prefKey&&(this.expanded=!igc(this.prefs,this.prefKey))};v_.prototype.onClick=function(){var a=this,b,c;return ve(function(d){if(d.nextAddress==1){b=!a.expanded;a.expanded=b;if(!a.prefKey)return d.jumpTo(2);c={};return xe(d,Je(hgc(a.prefs,(c[a.prefKey]=!b,c))),2)}a.expanded&&a.onExpand.next();Ce(d)})};v_.\u0275fac=function(a){return new (a||v_)};
v_.\u0275cmp=t({type:v_,selectors:[["sidebar-zippy"]],inputs:{expanded:"expanded",header:"header",content:"content",prefKey:"prefKey"},outputs:{onExpand:"onExpand"},decls:3,vars:7,consts:[["tabindex","0","role","tab",1,"bv2-nav-expandable-header",3,"click","keydown.enter","keydown.space"],[4,"ngTemplateOutlet"]],template:function(a,b){a&1&&(I(0,"div",0),M("click",function(){return b.onClick()})("keydown.enter",function(c){b.onClick();return c.stopPropagation()})("keydown.space",function(c){b.onClick();
return c.preventDefault()}),D(1,cjb,1,0,"ng-container",1),J(),D(2,ejb,1,1,"ng-container"));a&2&&(ng("opened",b.expanded)("closed",!b.expanded),eg("aria-expanded",b.expanded),C(),F("ngTemplateOutlet",b.header),C(),G(b.expanded?2:-1))},dependencies:[Hw],encapsulation:2});var OYc=function(){return[]},w_=function(){var a=this;this.location=r(Ww);this.starredTeamsService=r(AH);this.bLocation=r(WI);this.triageService=r(DH);this.sidebar=r(s_);this.routeParamsService=r(OL);this.teamFridge=r(qH);this.ROUTES=tq;this.ALL_PHASES=G7b;this.phaseToUrlSlug=Wt;this.triageTeamIdFromUrl$=this.routeParamsService.routeParams$.pipe(B(function(b){return b.phase&&b.teamId}));this.sidebarTriageIds$=Me([this.starredTeamsService.starredTeamIds$,this.triageTeamIdFromUrl$]).pipe(B(function(b){var c=
k(b);b=c.next().value;c=c.next().value;return[].concat(w(b),[c])}),B(function(b){return Rk(b.filter(kj))}));this.sidebarTriageTeams$=this.sidebarTriageIds$.pipe(B(function(b){return b.map(function(c){var d=a.teamFridge.watch(c);return{teamId:c,name$:d.pipe(B(function(e){return(e==null?void 0:e.name)||c}))}})}))},ojb=function(a,b){return a.routeParamsService.routeParams$.pipe(B(function(c){return!(c.teamId!==b||!c.phase)}))};
w_.prototype.isTriageUrlFor=function(a,b){return this.location.path().startsWith(tq.viewTriage.makeHref(a,Wt[b],""))};w_.prototype.goToTriageSettingsPage=function(){this.bLocation.setUrl(tq.triageSettings.makeHref())};w_.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};w_.\u0275fac=function(a){return new (a||w_)};
w_.\u0275cmp=t({type:w_,selectors:[["nav-sidebar-triage"]],decls:2,vars:4,consts:[["mainZippyHeader",""],["mainZippyContent",""],["triageMenu",""],["teamZippyHeader",""],["teamZippyContent",""],[1,"canned-searches"],[3,"href"],["svgIcon","story-point-24px",1,"canned-search-icon"],["prefKey","nav-triage",3,"header","content"],["mat-icon-button","","disableRipple","true","aria-label","Configure triage",1,"bv2-nav-item-menubutton",3,"click","matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["matMenuContent",
""],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"],[1,"triage-teams-list"],[3,"title"],[3,"onExpand","header","content","expanded"],[1,"bv2-nav-item","bv2-nav-triage-team","full-width"],[1,"bv2-nav-item-text","no-indent"],[1,"bv2-nav-links-no-indent","triage-team-phase-list"],[1,"bv2-nav-item",3,"selected-indented","title"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-indented","flex-kids-x","padded-s-right",3,"href"],[1,"bv2-nav-indented","flex-kids-x","padded-s-right",3,"click",
"href"],[1,"margin-left-auto"]],template:function(a,b){a&1&&(D(0,sjb,2,1),S(1,"async"));if(a&2){var c;G((c=(c=U(1,1,b.sidebarTriageTeams$))!==null&&c!==void 0?c:ah(3,OYc))?0:-1,c)}},dependencies:[$D,vD,Xy,vI,yI,wI,xI,zI,v_,Iw],styles:[".triage-teams-list[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.triage-teams-list[_ngcontent-%COMP%]   .bv2-nav-item-text[_ngcontent-%COMP%]{padding-right:0}\n/*# sourceMappingURL=nav_sidebar_triage.css.map */"]});var x_=function(){this.location=r(WI);this.analytics=r(wG);this.paths=r(zO);this.sidebar=r(s_);this.bookmarkGroups=[];this.hotlists=[]};g=x_.prototype;g.handleBookmarkGroupOpen=function(a){this.analytics.trackEvent("sidebarArchived","open");this.location.setUrl(this.paths.viewBookmarkGroup(a))};g.handleBookmarkGroupDashboard=function(a){this.analytics.trackEvent("sidebarArchived","dashboard");this.location.setUrl(xq(tq.viewDashboard.routeDeclarationPath,{id:a}))};g.openEditHotlist=function(a){this.location.setUrl(tq.editHotlist.makeHref(a))};
g.openEditBookmarkGroup=function(a){this.location.setUrl(this.paths.editBookmarkGroup(a))};g.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};x_.\u0275fac=function(a){return new (a||x_)};
x_.\u0275cmp=t({type:x_,selectors:[["sidebar-archived"]],inputs:{bookmarkGroups:"bookmarkGroups",hotlists:"hotlists"},decls:1,vars:1,consts:[["zippyHeader",""],["zippyContent",""],["bgZippyHeader",""],["bgZippyContent",""],["groupMenu",""],["hotlistMenu",""],["prefKey","nav-archived",3,"header","content"],[1,"archived-list"],[3,"title"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",3,"selected","id","title"],[3,"header","content"],[1,"bv2-nav-item","bv2-nav-bookmark-group"],[1,"bv2-nav-item-text"],
["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"matMenuTriggerFor"],["matMenuContent",""],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"click","matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem"],[1,"bv2-nav-links-no-indent",
"bookmark-group-content-list"],[1,"bv2-nav-item",3,"selected-indented","bv2-bookmark-group-hotlist-item","bv2-bookmark-group-saved-search-item","title"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-indented",3,"click","href"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",3,"id","title"],[3,"click","href"],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"matMenuTriggerFor"]],template:function(a,b){a&1&&D(0,Ijb,7,2,"div");
a&2&&G(b.hotlists.length||b.bookmarkGroups.length?0:-1)},dependencies:[$D,vD,Xy,vI,yI,wI,xI,zI,v_],encapsulation:2,changeDetection:0});var y_=function(){this.admins=[]};y_.prototype.ngOnInit=function(){this.url="bookmark-groups/"+this.bookmarkGroup.bookmarkGroupId;this.admins=Si(this.bookmarkGroup.adminUsers)};y_.\u0275fac=function(a){return new (a||y_)};
y_.\u0275cmp=t({type:y_,selectors:[["b-bookmark-group-card"]],inputs:{bookmarkGroup:"bookmarkGroup"},decls:14,vars:6,consts:[["role","dialog","aria-label","Bookmark group hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bookmark-group-card"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),Q(5),J()(),I(6,"ul")(7,"li"),Q(8),J(),I(9,"li"),Q(10),J()(),I(11,"div")(12,"p"),Q(13),J()()()()());a&2&&(C(4),F("href",b.url,
of),C(),Tg(b.bookmarkGroup.name),C(3),R("ID: ",b.bookmarkGroup.bookmarkGroupId,""),C(2),Ug("",b.admins.length===1?"Admin":"Admins",": ",b.admins.join(", "),""),C(3),Tg(b.bookmarkGroup.description))},styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}.bookmark-group-card[_ngcontent-%COMP%]{max-width:450px}.bookmark-group-card[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:5px 0}.bookmark-group-card[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none;padding:0;margin:5px 0}"]});var PYc=["searchBox"],z_=function(){this.cdr=r(sG,{self:!0});this.activeSession=r(dv);this.userApi=r(lF);this.bookmarkGroupsApi=r(dC);this.hotlistApi=r(hF);this.paths=r(zO);this.analytics=r(wG);this.errorHandler=r(jE);this.appEvents=r(nE);this.currentUserBookmarksFridge=r(rF);this.allowStarring=this.showHotlists=this.showGroups=!0;this.focusOnInit=!1;this.itemSelect=new rG;this.lastProcessedIndex=-1;this.nextRequestIndex=0;this.favoriteBookmarkGroups=new Set;this.favoriteHotlists=new Set;this.currentUserEmail=
this.activeSession.getUserEmail();this.query="";this.matches=[]};z_.prototype.ngOnInit=function(){this.allowStarring&&QYc(this)};z_.prototype.onSpace=function(a){var b;if((b=this.autocomplete)==null?0:b.activeOption)this.toggleStar(this.autocomplete.activeOption.value),a.preventDefault(),a.stopPropagation()};
var QYc=function(a){a.favoriteBookmarkGroups.clear();a.favoriteHotlists.clear();Je(Acc(a.currentUserBookmarksFridge)).then(function(b){if(a.showGroups)for(var c=k(b.bookmarkGroups),d=c.next();!d.done;d=c.next()){d=d.value;d.starred&&a.favoriteBookmarkGroups.add(d.id);var e=void 0;d=k((e=d.sublinks)!=null?e:[]);for(e=d.next();!e.done;e=d.next())e=e.value,e.starred&&a.favoriteHotlists.add(e.id)}if(a.showHotlists)for(b=k(b.hotlists),c=b.next();!c.done;c=b.next())c=c.value,c.starred&&a.favoriteHotlists.add(c.id);
a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};g=z_.prototype;g.reset=function(){this.query="";this.matches=[]};g.isLoading=function(){return this.lastProcessedIndex+1!==this.nextRequestIndex};g.onQueryChange=function(){this.matches=[];this.query&&typeof this.query!=="string"&&(this.query="");this.search()};
g.search=function(){var a=this,b=this.nextRequestIndex++;if(this.query){var c=this.showGroups?this.bookmarkGroupsApi.query(this.query):Promise.resolve([]);var d=this.showHotlists?this.hotlistApi.queryHotlists(this.query):Promise.resolve([]);Promise.all([c,d]).then(function(e){var f=k(e);e=f.next().value;f=f.next().value;if(b===a.nextRequestIndex-1){for(var h=k(e),l=h.next();!l.done;l=h.next()){l=l.value;var q=l.bookmarkGroupId;l.href=a.paths.viewBookmarkGroup(q);l.isGroup=!0;l.isStarred=a.favoriteBookmarkGroups.has(q)}h=
k(f);for(l=h.next();!l.done;l=h.next())l=l.value,q=l.hotlistId,l.href=tq.viewHotlist.makeHref(q),l.isGroup=!1,l.isStarred=a.favoriteHotlists.has(q);a.matches=[].concat(w(e),w(f));a.lastProcessedIndex=b;a.cdr.detectChanges()}})}else this.lastProcessedIndex=b};g.shouldShowStar=function(a){return this.allowStarring&&!Si(a.adminUsers).includes(this.currentUserEmail)};
g.toggleStar=function(a){var b=this;if(a.isGroup){var c=a.bookmarkGroupId;var d="BOOKMARK_GROUP"}else c=a.hotlistId,d="HOTLIST";a.isStarred=!a.isStarred;var e=function(){b.appEvents.hotlistChanged.next();b.appEvents.favoritesModified.next();QYc(b);b.cdr.detectChanges()};c={resourceId:c,resourceType:d};a.isStarred?(this.analytics.trackEvent("hotlistSearch","starItem"),this.userApi.addUserBookmark(c).then(e)):(this.analytics.trackEvent("hotlistSearch","unstarItem"),this.userApi.removeUserBookmark(c).then(e))};
z_.\u0275fac=function(a){return new (a||z_)};
z_.\u0275cmp=t({type:z_,selectors:[["b-hotlist-search"]],viewQuery:function(a,b){a&1&&(Mg(PYc,5),Mg(sN,5));if(a&2){var c;Qg(c=Rg())&&(b.searchBoxEl=c.first);Qg(c=Rg())&&(b.autocomplete=c.first)}},hostAttrs:[1,"'bv2-hotlist-search'"],inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",focusOnInit:"focusOnInit"},outputs:{itemSelect:"itemSelect"},features:[Yg([sG])],decls:14,vars:5,consts:[["searchBox",""],["auto","matAutocomplete"],["itemHovercard","onedevHovercard"],
[1,"bv2-hotlist-search"],["id","hotlist-search-input-box","type","text","placeholder","Enter query","role","combobox",3,"ngModelChange","keydown.space","ngModel","matAutocomplete"],[1,"bv2-hotlist-search-dropdown",3,"optionSelected"],[1,"bv2-hotlist-search-dropdown-item",3,"value"],[1,"bv2-hotlist-search-subtext"],[1,"flex-kids-x","align-items-center","gap-xxs"],[3,"starMessage","unStarMessage","starred"],[3,"hotlist"],[3,"bookmarkGroup"],[1,"bv2-hotlist-name",3,"onedevHovercardTrigger"],[3,"starClicked",
"starMessage","unStarMessage","starred"]],template:function(a,b){if(a&1){var c=x();I(0,"div",3)(1,"input",4,0);Xg("ngModelChange",function(d){z(c);Wg(b.query,d)||(b.query=d);return A(d)});M("ngModelChange",function(){z(c);return A(b.onQueryChange())})("keydown.space",function(d){z(c);return A(b.onSpace(d))});J();D(3,Jjb,1,0,"b-spinner");I(4,"mat-autocomplete",5,1);M("optionSelected",function(d){z(c);b.itemSelect.emit(d.option.value);return A()});tg(6,Njb,9,7,"mat-option",6,sg);J();I(8,"div",7);Q(9,
' e.g., "foo bar admin:user@google.com" ');K(10,"br");Q(11,' or "foo bar admin:group@google.com" ');K(12,"br");Q(13," Only identities directly listed as Admins can be searched. ");J()()}a&2&&(a=L(5),C(),Vg("ngModel",b.query),F("matAutocomplete",a),eg("autofocus",b.focusOnInit)("aria-label","Add query for searching "+(b.showGroups?"bookmark groups":"hotlists")),C(2),G(b.isLoading()?3:-1),C(3),ug(b.matches))},dependencies:[y_,pT,bK,hK,JO,xU,ki,tz,Bz,pN,rN,My,sN],encapsulation:2});var A_=function(){this.allowStarring=this.showHotlists=this.showGroups=!0;this.ariaLabel="";this.itemSelect=new rG};A_.\u0275fac=function(a){return new (a||A_)};
A_.\u0275cmp=t({type:A_,selectors:[["b-hotlist-search-popup"]],viewQuery:function(a,b){a&1&&Mg(KN,5);if(a&2){var c;Qg(c=Rg())&&(b.dialog=c.first)}},inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",ariaLabel:[0,"aria-label","ariaLabel"]},outputs:{itemSelect:"itemSelect"},decls:4,vars:2,consts:[["popup",""],["matTooltip","Search","dialogLabel","Search",3,"xapInlineDialogClick"],["svgIcon","search"],[3,"itemSelect","showGroups","showHotlists","allowStarring",
"focusOnInit"]],template:function(a,b){a&1&&(I(0,"xap-icon-trigger",1),K(1,"mat-icon",2),J(),D(2,Ojb,3,4,"ng-template",null,0,fh));a&2&&(a=L(3),F("xapInlineDialogClick",a),eg("aria-label",b.ariaLabel))},dependencies:[$D,HN,GN,FH,HH,KN,SN,z_],styles:["xap-dialog-layout[_ngcontent-%COMP%] { padding: 16px; }","xap-dialog-layout-content[_ngcontent-%COMP%] { padding: 0; }"]});var B_=function(){this.location=r(WI);this.analytics=r(wG);this.paths=r(zO);this.sidebar=r(s_);this.bookmarkGroups=[]};B_.prototype.handleBookmarkGroupOpen=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","open");this.location.setUrl(this.paths.viewBookmarkGroup(a))};B_.prototype.handleBookmarkGroupDashboard=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","dashboard");this.location.setUrl(xq(tq.viewDashboard.routeDeclarationPath,{id:a}))};
B_.prototype.editBookmarkGroup=function(a){this.location.setUrl(this.paths.editBookmarkGroup(a))};B_.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};B_.\u0275fac=function(a){return new (a||B_)};
B_.\u0275cmp=t({type:B_,selectors:[["sidebar-bookmark-groups"]],inputs:{bookmarkGroups:"bookmarkGroups"},decls:7,vars:2,consts:[["zippyHeader",""],["zippyContent",""],["bgZippyHeader",""],["bgZippyContent",""],["topMenu",""],["innerMenu",""],[1,"bv2-nav-section"],["prefKey","nav-bkg",3,"header","content"],["aria-label","Search for bookmark groups",3,"itemSelect","click","showHotlists"],[1,"bookmark-group-list"],[3,"title"],[3,"header","content","expanded"],[1,"bv2-nav-item","bv2-nav-bookmark-group"],
[1,"bv2-nav-item-text"],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"matMenuTriggerFor"],["matMenuContent",""],["mat-icon-button","","disableRipple","true","aria-label","Bookmark group actions",1,"bv2-nav-item-menubutton","keep-focus-ring",3,"click","matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem"],
[1,"bv2-nav-links-no-indent","bookmark-group-content-list"],[1,"bv2-nav-item",3,"selected-indented","bv2-bookmark-group-hotlist-item","bv2-bookmark-group-saved-search-item","title"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-indented",3,"click","href"],["mat-icon-button","","disableRipple","true","aria-label","Bookmark item actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"]],template:function(a){a&1&&(I(0,"div",6),K(1,"hr"),I(2,"sidebar-zippy",7),D(3,Pjb,3,1,"ng-template",null,0,fh)(5,dkb,
1,1,"ng-template",null,1,fh),J()());if(a&2){a=L(4);var b=L(6);C(2);F("header",a)("content",b)}},dependencies:[$D,A_,vD,Xy,vI,yI,wI,xI,zI,v_],encapsulation:2,changeDetection:0});var C_=function(){Z.call(this);var a=this;this.location=r(WI);this.activeSession=r(dv);this.analytics=r(wG);this.sidebar=r(s_);this.paths=r(zO);this.routerEvents=r(vG);this.cdr=r(rw);this.mcPrefs=r(VY);this.ENABLE_MISSION_CONTROL=this.activeSession.isInternalSession();this.userEmail=this.activeSession.getUserEmail();this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(function(){a.cdr.detectChanges()}))};Y(C_,Z);C_.\u0275dir=Z.\u0275dir;C_.prototype.getUserEmail=function(){return this.userEmail};
C_.prototype.openEditHotlist=function(a){this.location.setUrl(tq.editHotlist.makeHref(a))};C_.prototype.addToMissionControl=function(a){this.mcPrefs.addHotlist(a);this.location.setUrl(this.paths.home())};C_.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};C_.\u0275fac=function(a){return new (a||C_)};
C_.\u0275cmp=t({type:C_,selectors:[["sidebar-hotlists"]],inputs:{hotlists:"hotlists"},features:[cg],decls:7,vars:2,consts:[["zippyHeader",""],["zippyContent",""],["menu",""],[1,"bv2-nav-section"],["prefKey","nav-hotlists",3,"header","content"],["aria-label","Search for hotlists",3,"itemSelect","click","showGroups"],[1,"hotlist-list"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",3,"selected","id","title"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",3,"id","title"],[3,"click","href"],[1,
"bv2-nav-item-text"],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions keep-focus-ring",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["matMenuContent",""],["svgIcon","more-settings-vertical"],["mat-menu-item",""],["mat-menu-item","",3,"click"],["svgIcon","settings",1,"icon-s"],["svgIcon","home",1,"icon-s"],["svgIcon","save",1,"icon-s"],["svgIcon","star-empty",1,"icon-s"]],template:function(a){a&1&&(I(0,"div",3),K(1,"hr"),I(2,"sidebar-zippy",4),D(3,ekb,3,1,"ng-template",
null,0,fh)(5,mkb,1,1,"ng-template",null,1,fh),J()());if(a&2){a=L(4);var b=L(6);C(2);F("header",a)("content",b)}},dependencies:[$D,A_,vD,Xy,vI,yI,wI,xI,zI,v_],encapsulation:2,changeDetection:0});var D_=function(){Z.call(this);var a=this;this.cdr=r(sG,{self:!0});this.location=r(WI);this.savedSearchApi=r(pF);this.paths=r(zO);this.butterBar=r(hE);this.analytics=r(wG);this.sidebar=r(s_);this.errorHandler=r(jE);this.routerEvents=r(vG);this.confirmationDialogService=r(rL);this.appEvents=r(nE);this.mcPrefs=r(VY);this.activeSession=r(dv);this.ENABLE_MISSION_CONTROL=this.activeSession.isInternalSession();this.searches=[];this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(function(){a.cdr.detectChanges()}))};
Y(D_,Z);D_.\u0275dir=Z.\u0275dir;D_.prototype.openEditSavedSearch=function(a){this.location.setUrl(this.paths.editSavedSearch(a))};D_.prototype.addToMissionControl=function(a){WY(this.mcPrefs,Ar(a));this.location.setUrl(this.paths.home())};
var qkb=function(a,b){a.confirmationDialogService.open({title:"Deleting saved search: "+b.name,content:ti("Are you sure you want to delete this search?"),onConfirm:function(){RYc(a,b)}})},RYc=function(a,b){var c=b.id;du(a.butterBar,'Deleting saved search "'+b.name+'"...');a.savedSearchApi.delete(c).then(function(){a.appEvents.savedSearchModified.next({savedSearchId:c,action:"delete"});du(a.butterBar,'Deleted saved search "'+b.name+'".');a.analytics.trackEvent("sidebarSavedSearches","deleted");a.cdr.detectChanges()}).catch(function(d){a.errorHandler.errorHandler(null,
d)})};D_.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};D_.\u0275fac=function(a){return new (a||D_)};
D_.\u0275cmp=t({type:D_,selectors:[["sidebar-saved-searches"]],inputs:{searches:"searches"},features:[Yg([sG]),cg],decls:7,vars:2,consts:[["zippyHeader",""],["zippyContent",""],["menu",""],[1,"bv2-nav-section","bv2-nav-section-savedsearches"],["prefKey","nav-ss",3,"header","content"],[1,"saved-search-list"],[1,"bv2-nav-item",3,"selected","title"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-item-link",3,"click","href"],[1,"bv2-nav-item-text"],["mat-icon-button","","disableRipple","true","aria-label",
"Saved search actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["matMenuContent",""],["mat-menu-item",""],["mat-menu-item","",3,"click"],["svgIcon","settings",1,"icon-s"],["svgIcon","delete",1,"icon-s"],["svgIcon","home",1,"icon-s"],["svgIcon","save",1,"icon-s"]],template:function(a){a&1&&(I(0,"div",3),K(1,"hr"),I(2,"sidebar-zippy",4),D(3,nkb,2,0,"ng-template",null,0,fh)(5,ukb,1,1,"ng-template",null,1,fh),J()());if(a&2){a=L(4);var b=L(6);C(2);F("header",
a)("content",b)}},dependencies:[$D,vD,Xy,vI,yI,wI,xI,zI,v_],encapsulation:2,changeDetection:0});var SYc=0,TYc=function(){};TYc.\u0275fac=function(a){return new (a||TYc)};
TYc.\u0275cmp=t({type:TYc,selectors:[["ng-component"]],standalone:!0,features:[$g],decls:0,vars:0,template:function(){},styles:[".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color, var(--mat-app-error));color:var(--mat-badge-text-color, var(--mat-app-on-error));font-family:var(--mat-badge-text-font, var(--mat-app-label-small-font));font-weight:var(--mat-badge-text-weight, var(--mat-app-label-small-weight));border-radius:var(--mat-badge-container-shape, var(--mat-app-corner-full))}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}@media(forced-colors: active){.mat-badge-content{outline:solid 1px;border-radius:0}}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color, color-mix(in srgb, var(--mat-app-error) 38%, transparent));color:var(--mat-badge-disabled-state-text-color, var(--mat-app-on-error))}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, 16px);height:var(--mat-badge-legacy-small-size-container-size, 16px);min-width:var(--mat-badge-small-size-container-size, 6px);min-height:var(--mat-badge-small-size-container-size, 6px);line-height:var(--mat-badge-legacy-small-size-container-size, 16px);padding:var(--mat-badge-small-size-container-padding, 0);font-size:var(--mat-badge-small-size-text-size, 0);margin:var(--mat-badge-small-size-container-offset, -6px 0)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset, -6px)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, 16px);height:var(--mat-badge-legacy-container-size, 16px);min-width:var(--mat-badge-container-size, 16px);min-height:var(--mat-badge-container-size, 16px);line-height:var(--mat-badge-legacy-container-size, 16px);padding:var(--mat-badge-container-padding, 0 4px);font-size:var(--mat-badge-text-size, var(--mat-app-label-small-size));margin:var(--mat-badge-container-offset, -12px 0)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset, -12px)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, 16px);height:var(--mat-badge-legacy-large-size-container-size, 16px);min-width:var(--mat-badge-large-size-container-size, 16px);min-height:var(--mat-badge-large-size-container-size, 16px);line-height:var(--mat-badge-legacy-large-size-container-size, 16px);padding:var(--mat-badge-large-size-container-padding, 0 4px);font-size:var(--mat-badge-large-size-text-size, var(--mat-app-label-small-size));margin:var(--mat-badge-large-size-container-offset, -12px 0)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset, -12px)}\n"],encapsulation:2,
changeDetection:0});var E_=function(){this._ngZone=r(hh);this._elementRef=r(ge);this._ariaDescriber=r(ux);this._renderer=r($v);this._animationMode=r(Zv,{optional:!0});this._color="primary";this.overlap=!0;this.position="above after";this.size="medium";this._id=SYc++;this._isInitialized=!1;this._interactivityChecker=r(dx);this._document=r(ei);r(Yw).load(TYc)};g=E_.prototype;
g.ngOnInit=function(){this._clearExistingBadges();this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content));this._isInitialized=!0};g.ngOnDestroy=function(){if(this._renderer.destroyNode){this._renderer.destroyNode(this._badgeElement);var a;(a=this._inlineBadgeDescription)==null||a.remove()}wx(this._ariaDescriber,this._elementRef.nativeElement,this.description)};
g._isHostInteractive=function(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})};
g._createBadgeElement=function(){var a=this._renderer.createElement("span");a.setAttribute("id","mat-badge-content-"+this._id);a.setAttribute("aria-hidden","true");a.classList.add("mat-badge-content");this._animationMode==="NoopAnimations"&&a.classList.add("_mat-animation-noopable");this._elementRef.nativeElement.appendChild(a);typeof requestAnimationFrame==="function"&&this._animationMode!=="NoopAnimations"?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){a.classList.add("mat-badge-active")})}):
a.classList.add("mat-badge-active");return a};g._updateRenderedContent=function(a){a=(""+(a!=null?a:"")).trim();this._isInitialized&&a&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement());this._badgeElement&&(this._badgeElement.textContent=a);this._content=a};
g._updateDescription=function(a){wx(this._ariaDescriber,this._elementRef.nativeElement,this.description);a&&!this._isHostInteractive()||this._removeInlineDescription();this._description=a;this._isHostInteractive()?vx(this._ariaDescriber,this._elementRef.nativeElement,a):this._updateInlineDescription()};
g._updateInlineDescription=function(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden"));this._inlineBadgeDescription.textContent=this.description;var a;(a=this._badgeElement)==null||a.appendChild(this._inlineBadgeDescription)};g._removeInlineDescription=function(){var a;(a=this._inlineBadgeDescription)==null||a.remove();this._inlineBadgeDescription=void 0};
g._setColor=function(a){var b=this._elementRef.nativeElement.classList;b.remove("mat-badge-"+this._color);a&&b.add("mat-badge-"+a)};g._clearExistingBadges=function(){for(var a=k(Array.from(this._elementRef.nativeElement.querySelectorAll(":scope > .mat-badge-content"))),b=a.next();!b.done;b=a.next())b=b.value,b!==this._badgeElement&&b.remove()};
ea.Object.defineProperties(E_.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color},set:function(a){this._setColor(a);this._color=a}},content:{configurable:!0,enumerable:!0,get:function(){return this._content},set:function(a){this._updateRenderedContent(a)}},description:{configurable:!0,enumerable:!0,get:function(){return this._description},set:function(a){this._updateDescription(a)}}});E_.\u0275fac=function(a){return new (a||E_)};
E_.\u0275dir=ud({type:E_,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(a,b){a&2&&ng("mat-badge-overlap",b.overlap)("mat-badge-above",b.position.indexOf("below")===-1)("mat-badge-below",b.position.indexOf("below")!==-1)("mat-badge-before",b.position.indexOf("before")!==-1)("mat-badge-after",b.position.indexOf("before")===-1)("mat-badge-small",b.size==="small")("mat-badge-medium",b.size==="medium")("mat-badge-large",b.size==="large")("mat-badge-hidden",b.hidden||
!b.content)("mat-badge-disabled",b.disabled)},inputs:{color:[0,"matBadgeColor","color"],overlap:[2,"matBadgeOverlap","overlap",rh],disabled:[2,"matBadgeDisabled","disabled",rh],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",rh]},standalone:!0,features:[dg]});var F_=function(){var a=this;this.cdr=r(sG,{self:!0});this.activeSession=r(dv);this.butterBar=r(hE);this.appSearchState=r(KY);this.paths=r(zO);this.userPreferencesManager=r(yH);this.sidebar=r(s_);this.location=r(Ww);this.appEvents=r(nE);this.missionControlPrefs=r(VY);this.needsAttentionTaskFridge=r(VG);this.starredTeamsService=r(AH);this.bLocation=r(WI);this.ROUTES=tq;this.appName=this.activeSession.getAppName();this.userEmail=this.activeSession.getUserEmail();this.environmentType=this.activeSession.getEnvironmentType();
this.missionControlTaskCount$=this.appEvents.missionControlTaskCount;this.assignedPath=this.paths.listIssues({q:iWc(this.userEmail)});this.starredPath=this.paths.listIssues({q:this.appSearchState.getStarred()});this.ccdPath=this.paths.listIssues({q:"cc:"+this.userEmail});this.collaborateOnPath=this.paths.listIssues({q:"collaborator:"+this.userEmail});this.verifiedPath=this.paths.listIssues({q:kWc(this.userEmail)});this.reportedPath=this.paths.listIssues({q:"reporter:"+this.userEmail});this.componentsPath=
tq.listComponents.makeHref();this.createBookmarkGroupPath=this.paths.createBookmarkGroup();this.missionControlPath=this.paths.home();this.sidebarData=this.sidebar.sidebarData;this.enableTriageView=lu(this.activeSession,"enableTeamScope")&&this.activeSession.isInternalSession();this.enableHomepage=this.activeSession.isInternalSession();this.enableMissionControlInTrackers=lu(this.activeSession,"enableMissionControlInTrackers");this.paths.listIssues({q:"vote:true"});this.homepagePreferences$=this.userPreferencesManager.preferences$.pipe(B(function(d){return(d||
JB).homepagePreferences}));this.hasPreferredHomepage$=this.homepagePreferences$.pipe(B(function(d){return!(!d||!d.resourceType)}),Ef());this.isHomepageMissionControl$=this.homepagePreferences$.pipe(B(function(d){return d.resourceType==="MISSION_CONTROL"}),Ef());this.isHomepageAssignedToMe$=this.homepagePreferences$.pipe(B(function(d){return!a.enableHomepage&&!d.resourceType||d.resourceType==="ASSIGNED_TO_ME"}),Ef());this.hideBadgeInNav$=this.userPreferencesManager.preferences$.pipe(B(function(d){var e;
return d==null?void 0:(e=d.missionControlPreferences)==null?void 0:e.hideBadgeInNav}),B(Boolean));this.destroyed$=new rG;var b,c=!!this.location.path().match(/^\/home\b/)&&!((b=this.missionControlPrefs.prefs.collapsed)==null?0:b["needs-attention-wrapper"]);lu(this.activeSession,"runQueryForSidebarIssueCount")&&setTimeout(function(){a.enableHomepage&&!c&&Me([a.missionControlPrefs.needsAttentionTimeBoundary$,a.missionControlPrefs.needsAttentionSources$]).pipe(Of(a.destroyed$),Ef(function(d,e){return d[0]===
e[0]&&yi(d[1],e[1])}),Nf(function(d){var e=k(d);d=e.next().value;e=e.next().value.map(function(f){return yr(f)});return a.needsAttentionTaskFridge.watchMany({maxTaskAgeDays:d,sources:e,signalFilter:0})}),B(function(d){return d.results.length})).subscribe(function(d){a.appEvents.missionControlTaskCount.next(d)})},1E3)};F_.prototype.ngOnInit=function(){var a=this;this.hasPreferredHomepage$.pipe(Of(this.destroyed$)).subscribe(function(){setTimeout(function(){a.cdr.detectChanges()})})};
F_.prototype.ngOnDestroy=function(){this.destroyed$.next()};var ykb=function(a,b){du(a.butterBar,"Updating homepage...",0);ggc(a.userPreferencesManager,{resourceType:b}).subscribe(function(){du(a.butterBar,"Homepage updated")})};F_.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};F_.prototype.isTriageUrlFor=function(a){if(!this.location.path().match(/^\/triage\b/))return!1;a=new RegExp("\\b"+a+"\\b");return!!this.location.path().match(a)};
F_.prototype.goToTriageSettingsPage=function(){this.bLocation.setUrl(tq.triageSettings.makeHref())};F_.\u0275fac=function(a){return new (a||F_)};
F_.\u0275cmp=t({type:F_,selectors:[["b-sidebar"]],features:[Yg([sG])],decls:50,vars:31,consts:[["menu",""],["homepageMenu",""],[1,"bv2-nav-header"],[1,"bv2-nav-bar"],["role","region",1,"bv2-nav-links"],["aria-label","Canned searches",1,"canned-searches"],["id","mission-control-sidebar-link",1,"bv2-nav-item",3,"selected"],["id","assigned-to-me-sidebar-link",1,"bv2-nav-item"],[3,"click","href"],["svgIcon","issue-status-accepted",1,"canned-search-icon"],["mat-icon-button","","disableRipple","true","aria-label",
"Assigned issues actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["matMenuContent",""],["svgIcon","star-filled",1,"canned-search-icon"],["svgIcon","person-add-18px",1,"canned-search-icon"],["svgIcon","user-attributes",1,"canned-search-icon"],["svgIcon","issue-status-fixed",1,"canned-search-icon"],[3,"bookmarkGroups"],[3,"searches"],[3,"hotlists"],[3,"hotlists","bookmarkGroups"],[1,"bv2-nav-manage-link"],[3,"href"],["id","mission-control-sidebar-link",1,"bv2-nav-item"],["svgIcon","home",
"matBadgeColor","warn","matBadgeSize","small",1,"canned-search-icon",3,"matBadge","matBadgeHidden","matBadgeDescription"],["svgIcon","home",1,"canned-search-icon"],["mat-icon-button","","disableRipple","true","aria-label","More settings",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"]],template:function(a,b){if(a&1){var c=x();I(0,"div",2);K(1,"b-create-issue-button");J();I(2,"div",3)(3,"div",
4)(4,"ul",5);D(5,Akb,12,11,"li",6);I(6,"li",7)(7,"a",8);M("click",function(d){z(c);return A(b.onAnchorClick(b.assignedPath,d))});K(8,"mat-icon",9);Q(9," Assigned to me ");J();D(10,Bkb,2,1,"button",10);S(11,"async");I(12,"mat-menu",null,0);D(14,Ckb,2,0,"ng-template",11);J()();I(15,"li")(16,"a",8);M("click",function(d){z(c);return A(b.onAnchorClick(b.starredPath,d))});K(17,"mat-icon",12);Q(18," Starred by me ");J()();I(19,"li")(20,"a",8);M("click",function(d){z(c);return A(b.onAnchorClick(b.ccdPath,
d))});K(21,"mat-icon",13);Q(22," CC'd to me ");J()();I(23,"li")(24,"a",8);M("click",function(d){z(c);return A(b.onAnchorClick(b.collaborateOnPath,d))});K(25,"mat-icon",13);Q(26," Collaborating ");J()();I(27,"li")(28,"a",8);M("click",function(d){z(c);return A(b.onAnchorClick(b.reportedPath,d))});K(29,"mat-icon",14);Q(30," Reported by me ");J()();I(31,"li")(32,"a",8);M("click",function(d){z(c);return A(b.onAnchorClick(b.verifiedPath,d))});K(33,"mat-icon",15);Q(34," To be verified ");J()()();D(35,Dkb,
1,0,"nav-sidebar-triage");K(36,"sidebar-bookmark-groups",16)(37,"sidebar-saved-searches",17)(38,"sidebar-hotlists",18)(39,"sidebar-archived",19)(40,"hr");I(41,"div",20)(42,"a",21);Q(43," Create hotlist ");J()();I(44,"div",20)(45,"a",21);Q(46," Create bookmark group ");J()();I(47,"div",20)(48,"a",21);Q(49," Browse components ");J()()()()}a&2&&(C(5),G(b.enableHomepage&&!vq(b.activeSession)||b.enableMissionControlInTrackers?5:-1),C(),ng("selected",jWc(b.appSearchState,b.userEmail)),C(),F("href",b.assignedPath,
of),C(3),G(U(11,29,b.isHomepageAssignedToMe$)?-1:10),C(5),ng("selected",b.appSearchState.isStarred()),C(),F("href",b.starredPath,of),C(3),ng("selected",b.appSearchState.currentQuery==="cc:"+b.userEmail),C(),F("href",b.ccdPath,of),C(3),ng("selected",b.appSearchState.currentQuery==="collaborator:"+b.userEmail),C(),F("href",b.collaborateOnPath,of),C(3),ng("selected",b.appSearchState.currentQuery==="reporter:"+b.userEmail),C(),F("href",b.reportedPath,of),C(3),ng("selected",b.appSearchState.currentQuery===
kWc(b.userEmail)),C(),F("href",b.verifiedPath,of),C(3),G(b.enableTriageView?35:-1),C(),F("bookmarkGroups",b.sidebarData.bookmarkGroups),C(),F("searches",b.sidebarData.userSearches),C(),F("hotlists",b.sidebarData.hotlists),C(),F("hotlists",b.sidebarData.archivedHotlists)("bookmarkGroups",b.sidebarData.archivedBookmarkGroups),C(3),F("href",b.ROUTES.createHotlist.makeHref(),of),C(3),F("href",b.createBookmarkGroupPath,of),C(3),F("href",b.componentsPath,of))},dependencies:[p_,$D,vD,Xy,vI,yI,wI,xI,zI,E_,
w_,x_,B_,C_,D_,Iw],encapsulation:2});var G_=function(){};G_.\u0275fac=function(a){return new (a||G_)};G_.\u0275mod=u({type:G_});G_.\u0275inj=p({imports:[RE]});var H_=function(){};H_.\u0275fac=function(a){return new (a||H_)};H_.\u0275mod=u({type:H_});H_.\u0275inj=p({imports:[RE,G_,gW,VK,LO,PZ,LN,LH,Qz,TN,wN]});var I_=function(){};I_.\u0275fac=function(a){return new (a||I_)};I_.\u0275mod=u({type:I_});I_.\u0275inj=p({imports:[RE,FI]});var J_=function(){};J_.\u0275fac=function(a){return new (a||J_)};J_.\u0275mod=u({type:J_});J_.\u0275inj=p({});var K_=function(){};K_.\u0275fac=function(a){return new (a||K_)};K_.\u0275mod=u({type:K_});K_.\u0275inj=p({});var L_=function(){};L_.\u0275fac=function(a){return new (a||L_)};L_.\u0275mod=u({type:L_});L_.\u0275inj=p({});var M_=function(){};M_.\u0275fac=function(a){return new (a||M_)};M_.\u0275mod=u({type:M_});M_.\u0275inj=p({imports:[L_]});var UYc=new Bd("Feature Tooltip Controller Config");new Bd("TooltipAnchor");new Bd("TooltipPeventer");var N_=function(){};N_.\u0275fac=function(a){return new (a||N_)};N_.\u0275mod=u({type:N_});N_.\u0275inj=p({imports:[tx,J_,Qw,M_,UK,QE,xy,K_]});var O_=function(){};O_.\u0275fac=function(a){return new (a||O_)};O_.\u0275mod=u({type:O_});O_.\u0275inj=p({imports:[tx,yy,yy]});var P_=function(){};P_.\u0275fac=function(a){return new (a||P_)};P_.\u0275mod=u({type:P_});P_.\u0275inj=p({imports:[I_,RE,H_,JH,EI,O_,N_,NE]});var Q_=function(){this.executor=r(OB)};Q_.\u0275fac=function(a){return new (a||Q_)};Q_.\u0275prov=n({token:Q_,factory:Q_.\u0275fac,providedIn:"root"});var R_=function(){Z.apply(this,arguments);this.dialogRef=r(dL);this.tosApi=r(Q_);this.ackChecked=!1};Y(R_,Z);R_.\u0275dir=Z.\u0275dir;R_.prototype.accept=function(){var a=this;this.tosApi.executor.post({url:"action/terms_ack",body:null,responseConstructor:null}).pipe(Of(this.destroyed$)).subscribe(function(){a.dialogRef.close()})};R_.\u0275fac=function(){var a;return function(b){return(a||(a=de(R_)))(b||R_)}}();
R_.\u0275cmp=t({type:R_,selectors:[["b-terms-of-service-dialog"]],features:[cg],decls:16,vars:2,consts:[["mat-dialog-title",""],[1,"b-tos-content"],[3,"ngModelChange","ngModel"],["href","https://www.google.com/policies/terms/","target","_blank"],["href","/terms","target","_blank"],["mat-flat-button","",3,"click","disabled"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"Google IssueTracker Terms of Service"),J(),I(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",2),Xg("ngModelChange",function(c){Wg(b.ackChecked,
c)||(b.ackChecked=c);return c}),J(),I(5,"span"),Q(6," I acknowledge and agree to the "),I(7,"a",3),Q(8,"Google Terms of Service"),J(),Q(9," and the "),I(10,"a",4),Q(11,"Google IssueTracker Conduct Policy"),J(),Q(12,". "),J()()(),I(13,"mat-dialog-actions")(14,"button",5),M("click",function(){return b.accept()}),Q(15," OK "),J()());a&2&&(C(4),Vg("ngModel",b.ackChecked),C(10),F("disabled",!b.ackChecked))},dependencies:[tz,Bz,vD,Vy,qN,uN,nL,pL,oL],styles:[".b-tos-content[_ngcontent-%COMP%]{padding-top:1em}.b-tos-content[_ngcontent-%COMP%]   mat-checkbox[_ngcontent-%COMP%]{padding-right:8px}"]});var S_=function(){Z.apply(this,arguments);this.activeSession=r(dv);this.matDialogService=r(kL)};Y(S_,Z);S_.\u0275dir=Z.\u0275dir;S_.prototype.ngOnInit=function(){this.activeSession.getMustAcknowledgeTerms()&&eL(this.matDialogService.open(R_,{width:"400px",disableClose:!0})).pipe(Of(this.destroyed$))};S_.\u0275fac=function(){var a;return function(b){return(a||(a=de(S_)))(b||S_)}}();S_.\u0275cmp=t({type:S_,selectors:[["b-terms-of-service"]],features:[cg],decls:0,vars:0,template:function(){},encapsulation:2});var T_=function(){};T_.\u0275fac=function(a){return new (a||T_)};T_.\u0275mod=u({type:T_});T_.\u0275inj=p({imports:[Qz,RE,JH,yN,ML]});var U_=function(){};U_.\u0275fac=function(a){return new (a||U_)};U_.\u0275mod=u({type:U_});U_.\u0275inj=p({imports:[RE,T_]});var Gkb=0;var VYc=Ek("blinkers-activated"),WYc=Dk("blinkers-activated"),XYc=Dk("log-xhrs-to-console"),YYc=Ek("log-xhrs-to-console"),ZYc=Hkb("debug-dom-mutation","var(--c400)"),$Yc=Hkb("debug-ng-zone","var(--red-400)"),aZc=Hkb("debug-xhr","var(--green-500)",1200),bZc=function(a,b,c){b=b===void 0?"#ccc":b;c=c===void 0?400:c;Gkb++;var d=156;d+=(Gkb-1)*12;return function(e,f){f=f===void 0?b:f;var h,l=(h=document.getElementById(a))!=null?h:Ekb(a,d);l.style.transition="opacity "+c+"ms";l.style.backgroundColor=f;
l.style.opacity=e?"1":"0"}}("active-user","var(--yellow-500)"),V_=function(){var a=this;this.activityMonitor=r(qG);this.userActivity=r(tG);this.destroyed$=new Jf;this.xhrLog=[];this.publicApi={isEnabled:this.isEnabled.bind(this),enable:this.enable.bind(this),disable:this.disable.bind(this)};this.onAnyClick=function(b){b.target.id==="debug-xhr"&&(b=!XYc(),YYc(b),b?cZc(a):clearInterval(a.loggingInterval))};this.printXhrLog=function(){var b=a.xhrLog.length;if(b>0){var c=Array(b).fill("\u2588").join("");
console.log(window.location.pathname.padEnd(20)+" XHRs: "+c+" "+(b>0?"("+b+")":""))}a.xhrLog=[]};this.isEnabled()&&dZc(this)};V_.prototype.ngOnDestroy=function(){eZc(this)};V_.prototype.isEnabled=function(){return WYc()};V_.prototype.enable=function(){this.isEnabled()||(VYc(!0),dZc(this))};V_.prototype.disable=function(){VYc(!1);eZc(this)};
var dZc=function(a){a.activityMonitor.dom$.pipe(Of(a.destroyed$)).subscribe(function(){return void ZYc()});jec(a.activityMonitor);a.activityMonitor.cdr$.pipe(Of(a.destroyed$)).subscribe(function(){return void $Yc()});a.activityMonitor.xhr$.pipe(Of(a.destroyed$)).subscribe(function(){aZc();var b=a.xhrLog,c=Date.now();b.push(c);c=c===void 0?Date.now():c;var d=d===void 0?5E3:d;for(var e=0;e<b.length&&!(c-b[e]<=d);e++);b.splice(0,e)});a.userActivity.active$.pipe(Of(a.destroyed$)).subscribe(function(b){return void bZc(b)});
document.addEventListener("click",a.onAnyClick);XYc()&&cZc(a)},eZc=function(a){a.destroyed$.next();a.activityMonitor.domObserver.disconnect();document.removeEventListener("click",a.onAnyClick)},cZc=function(a){clearInterval(a.loggingInterval);a.loggingInterval=setInterval(a.printXhrLog,1E3)};V_.\u0275fac=function(a){return new (a||V_)};V_.\u0275prov=n({token:V_,factory:V_.\u0275fac,providedIn:"root"});var W_=function(){this.teamDigestFridge=r(oH);this.activeSession=r(dv);this.destroyed$=new Jf;this.email=this.activeSession.getUserEmail();this.user=Yi(this.activeSession.getUserEmail());this.isInternal=this.activeSession.isInternalSession();this.teams$=this.teamDigestFridge.watchMany({myTeams:!0}).pipe(B(function(a){return a.results}));this.teams$.pipe(B(function(a){return a.map(function(b){return b.teamId})}));this.allTeamIds$=this.teams$.pipe(B(function(a){return a.flatMap(function(b){return b.pathIds})}),
B(function(a){return[].concat(w(new Set(a))).filter(kj)}));Wo(this.allTeamIds$.pipe(Of(this.destroyed$)),[])};W_.prototype.ngOnDestroy=function(){this.destroyed$.next()};W_.\u0275fac=function(a){return new (a||W_)};W_.\u0275prov=n({token:W_,factory:W_.\u0275fac,providedIn:"root"});var X_=function(){var a=this;this.activeSession=r(dv);this.appEvents=r(nE);this.ngZone=r(hh);this.window=r(aL);this.buganizerBlinkers=r(V_);this.currentUser=r(W_);this.routeParamsService=r(OL);this.componentPicker=r($V);this.userPreferencesManager=r(yH);this.router=r(HE);this.issueFullFridge=r(yG);this.eventsForIssueFridge=r(yF);this.fridges=[r(CF),r(yF),r(qF),r(qH),r(WG),r(mF),r(SE),r(fH),r(xF),r(AC),r($B),r(vH),r(yG),r(oH),r(DF),r(lC),r(KG),r(aH),r(qC),r(VG),r(UG)];this.getCurrentIssueId=function(){var b;
return(b=a.routeParamsService.routeParams$.value)==null?void 0:b.issueId};this.getCurrentIssue=function(){return a.issueFullFridge.peek(a.getCurrentIssueId())};this.getCurrentIssueEvents=function(){return a.eventsForIssueFridge.peek(a.getCurrentIssueId())};this.getCurrentIssueAsText=function(){var b=a.getCurrentIssue();if(b==null)return"";var c,d=(c=a.eventsForIssueFridge.peek(b.issueId))==null?void 0:c.events;return Tkb(b,d)}};
X_.prototype.install=function(){var a=this;if(this.activeSession.isInternalSession()){var b=this;this.window.bedbug=Object.assign({},this,{ngZone:this.ngZone,appEvents:this.appEvents,router:this.router,requestKeeper:hec,activeSession:this.activeSession,blinkers:this.buganizerBlinkers.publicApi,toggleDebugLogging:g8b("debug-logging"),toggleLeanFeMigrationDebugLogging:g8b("lean-fe-debug-logging"),toggleOptOutExperiments:g8b("opt-out-experiments"),currentUser:this.currentUser,userPreferencesManager:this.userPreferencesManager,
modals:{componentPicker:this.componentPicker},setFlagOverrideForOneDay:Qsa,clearFlagOverride:Rsa,clearAllFlagOverrides:Nsa,getCurrentIssueAsText:this.getCurrentIssueAsText,printCurrentIssueAsText:function(){var c=a.getCurrentIssueAsText();console.log(c)},get initialSession(){return Jk()},get initialPrefs(){return Jk().userPreferences},get currentPrefs(){return zH(b.userPreferencesManager)},get currentIssue(){return b.getCurrentIssue()},get currentIssueEvents(){return b.getCurrentIssueEvents()},get flags(){return Object.fromEntries(Jk().config.enabledFlags)},
showFridgeGuts:function(){console.log("\ud83e\uddca Fridge: printing the values for each fridge. \nTo see details on cache age look for methods like debug() and debugTable() on each fridge instance.");console.log();b.fridges.forEach(function(c){var d=c.peekAllRecords();d!=null&&d.length!==0&&console.log(c.recordType,d)})},toggleVerboseFridge:function(){return E8b=!E8b},setTrackerOverride:function(c){Wkb(String(c),1)},clearTrackerOverride:function(){Wkb("")}})}};
X_.\u0275fac=function(a){return new (a||X_)};X_.\u0275prov=n({token:X_,factory:X_.\u0275fac,providedIn:"root"});var fZc=function(a){this.delegate_=a};fZc.prototype.getDelegate=function(){return this.delegate_};var gZc=function(a,b){this.delegate_=a;this.currentTarget_=b;this.target_=null};Y(gZc,fZc);gZc.prototype.getTarget=function(){if(this.target_)return this.target_;for(var a=[],b=this.getDelegate().xb;b instanceof gbar.I&&b!=this.currentTarget_.getDelegate();)a.push(b.ic()),b=b.zb();for(b=this.currentTarget_;a.length>0;)b=tFc(b,a.pop());return this.target_=b};gZc.prototype.getType=function(){return this.getDelegate().xa};var hZc=function(a){this.delegate_=a};Y(hZc,fZc);g=hZc.prototype;g.listen=function(a,b,c,d){var e=this;return this.getDelegate().za(a,function(f){return b.call(d||ya,new gZc(f,e))},c)};g.listenOnce=function(){throw Error("Xf");};g.unlisten=function(){throw Error("Xf");};g.unlistenByKey=function(){throw Error("Xf");};g.dispatchEvent=function(){throw Error("Xf");};g.removeAllListeners=function(){throw Error("Xf");};g.getParentEventTarget=function(){throw Error("Xf");};
g.fireListeners=function(){throw Error("Xf");};g.getListener=function(){throw Error("Xf");};g.hasListener=function(){throw Error("Xf");};hZc.prototype[Hdc]=!0;var Y_=function(a){this.delegate_=a};Y(Y_,hZc);Y_.prototype.getHeight=function(){return this.getDelegate().pa()};Y_.prototype.setPageTitle=function(){this.getDelegate().pb(void 0)};Y_.prototype.setBackgroundColor=function(a){this.getDelegate().pd(a)};Y_.prototype.getBackgroundColor=function(){return this.getDelegate().pn()};var iZc=function(a,b){this.delegate_=a;this.wrapperConstructor_=b||null};Y(iZc,fZc);iZc.prototype.then=function(a,b,c){var d;a&&(d=jZc(this,a));this.getDelegate().aa(d,b,c)};var jZc=function(a,b){var c=a.wrapperConstructor_;return c?function(d){b.call(this,new c(d))}:b};var Z_=function(a){this.delegate_=a||gbar.a;this.gapiPromise_=this.barPromise_=null};Y(Z_,fZc);Z_.prototype.getGapi=function(){this.gapiPromise_||(this.gapiPromise_=new iZc(this.getDelegate().bh()));return this.gapiPromise_};Z_.getInstance=function(){var a="instance_";Z_.instance_&&Z_.hasOwnProperty(a)?a=Z_.instance_:(a=new Z_,Z_.instance_=a);return a};var a0=function(){Z.apply(this,arguments);this.router=r(HE);this.window=r(aL)};Y(a0,Z);a0.\u0275dir=Z.\u0275dir;a0.prototype.start=function(){var a=this;return(new Promise(function(b,c){var d=Z_.getInstance();d.barPromise_||(d.barPromise_=new iZc(d.getDelegate().bf(),Y_));d.barPromise_.then(b,c)})).then(function(b){kZc(a,b)})};var kZc=function(a,b){a.router.events.pipe(Ye(Co),Of(a.destroyed$)).subscribe(function(){b.getDelegate().pl(a.window.location.href)})};
a0.\u0275fac=function(){var a;return function(b){return(a||(a=de(a0)))(b||a0)}}();a0.\u0275prov=n({token:a0,factory:a0.\u0275fac,providedIn:"root"});var b0=function(){Z.apply(this,arguments);var a=this;this.paramsService=r(OL);this.issueFullFridge=r(yG);this.eventsForIssueFridge=r(yF);this.handlers$=this.paramsService.routeParams$.pipe(Ef(yi),Nf(function(b){return a.onRouteParamsChanged(b)}));this.init=function(){a.subscriptions.add(a.handlers$.subscribe(function(){}))};this.initOnce=Bk(this.init)};Y(b0,Z);b0.\u0275dir=Z.\u0275dir;
b0.prototype.onRouteParamsChanged=function(a){var b=this,c,d;return ve(function(e){if(e.nextAddress==1){c={trustUncertainMemory:!0};if(!a.issueId)return e.jumpTo(2);d=a.issueId;return xe(e,Promise.all([b.issueFullFridge.poke(d,c),b.eventsForIssueFridge.poke(d,c)]),3)}return e.return()})};b0.\u0275fac=function(){var a;return function(b){return(a||(a=de(b0)))(b||b0)}}();b0.\u0275prov=n({token:b0,factory:b0.\u0275fac,providedIn:"root"});var c0=function(){var a=r(vG);Z.call(this);var b=this;this.scrollTimingMap=new Map;a.routeChangeSuccess.pipe(Of(this.destroyed$)).subscribe(function(){b.scrollTimingMap.clear()})};Y(c0,Z);c0.\u0275dir=Z.\u0275dir;c0.prototype.start=function(){var a=this;document.addEventListener("scroll",function(b){b&&b.target&&(b=b.target.className,a.scrollTimingMap.has(b)?a.scrollTimingMap.get(b).push(Date.now()):a.scrollTimingMap.set(b,[Date.now()]))},!0)};c0.\u0275fac=function(a){return new (a||c0)};
c0.\u0275prov=n({token:c0,factory:c0.\u0275fac,providedIn:"root"});var d0=function(){Z.call(this);var a=this;this.appSearchState=r(KY);this.appEvents=r(nE);this.performanceToClearcut=r(pG);this.window=r(aL);this.issueComments=r(IL);this.oneGoogleBar=r(a0);this.scrollTiming=r(c0);this.pageTitleUpdaterService=r(l_);this.pageLoadOptimizerService=r(b0);this.bedbugService=r(X_);this.userActivity=r(tG);this.activatedRoute=r(ao);this.router=r(HE);this.bLocation=r(WI);this.reloadService=r(q_);this.timeout=r(UC);this.activeSession=r(dv);this.hotkeys=r(YH);this.paths=r(zO);
this.userPrefs=r(yH);this.issuePagination=r(j_);this.userFeedback=r(HU);this.ngZone=r(hh);this.matDialogService=r(kL);this.renderer=r($v);this.densityClass="d-comfort";this.announcement=this.dismissedMessageId=null;this.matSidebarWidth=this.sidebarDragPosition=220;this.isAnonymous=this.activeSession.isAnonymous();this.navigationEnd$=this.router.events.pipe(Ye(Co));this.hideAppChrome=!1;this.sidebarDragOffset=null;this.lastOpenPosition=this.sidebarDragPosition;this.sidebarDragSaver=null;this.bedbugService.install();
this.userActivity.install();Mk("enableGapiRedirect")&&Sib();gec(this.performanceToClearcut);this.subscriptions.add(this.appEvents.onClickAppMenuIcon.subscribe(function(){a.matSidebarWidth=a.matSidebarWidth<185?"open":0}));this.renderer.addClass(document.body,this.densityClass);this.userPrefs.themePreferences$.pipe(Of(this.destroyed$)).subscribe(function(v){v=dlb(v.density);v!==a.densityClass&&(a.renderer.addClass(document.body,v),a.renderer.removeClass(document.body,a.densityClass),a.densityClass=
v)});this.subscriptions.add(oWc(this.appSearchState,function(v){a.doSearch(v)}));var b=[{keys:["/","F3"],displayAs:"/ or F3",description:"Search",onPress:function(){var v=document.querySelector(".search-box-container .search-box");v==null||v.focus();v==null||v.select()}},{keys:[cp("2"),tFa()],displayAs:"@ or Alt+Shift+f",description:"Send feedback",onPress:function(){a.startFeedback()}},{keys:["c"],displayAs:"c",description:"Create issue",onPress:function(){a.bLocation.setUrl(c)}}];this.activeSession.isInternalSession()&&
b.push({keys:[dp("g","p")],displayAs:"g then p",description:"Go to your preferred homepage",onPress:function(){a.bLocation.setUrl("/")}},{keys:[dp("g","h")],displayAs:"g then h",description:'Go to "Home"',onPress:function(){a.bLocation.setUrl(a.paths.home())}});var c=this.paths.createIssue(),d=this.paths.listIssues({q:iWc(this.activeSession.getUserEmail())}),e=this.paths.listIssues({q:"cc:"+this.activeSession.getUserEmail()}),f=this.paths.listIssues({q:kWc(this.activeSession.getUserEmail())}),h=this.paths.listIssues({q:"reporter:"+
this.activeSession.getUserEmail()}),l=this.paths.listIssues({q:this.appSearchState.getStarred()}),q=this.paths.listIssues({q:"vote:true"});b.push({keys:[dp("g","a")],displayAs:"g then a",description:'Go to "Assigned to me"',onPress:function(){a.bLocation.setUrl(d)}},{keys:[dp("g","c")],displayAs:"g then c",description:'Go to "CC\'d to me"',onPress:function(){a.bLocation.setUrl(e)}},{keys:[dp("g","r")],displayAs:"g then r",description:'Go to "Reported by me"',onPress:function(){a.bLocation.setUrl(h)}},
{keys:[dp("g","s")],displayAs:"g then s",description:'Go to "Starred by me"',onPress:function(){a.bLocation.setUrl(l)}},{keys:[dp("g","1")],displayAs:"g then 1",description:'Go to "Upvoted by me"',onPress:function(){a.bLocation.setUrl(q)}},{keys:[dp("g","v")],displayAs:"g then v",description:'Go to "To be verified"',onPress:function(){a.bLocation.setUrl(f)}},{keys:[],displayAs:"Ctrl+Enter",description:"Submit entered text (while focused)",onPress:function(){}},{keys:[],displayAs:"Alt+Right",description:"Opens hovercard (if available)",
onPress:function(){}},{keys:["<",">"],displayAs:"< / >",description:"Collapse/expand sidebar",onPress:function(v){if(v===0&&a.sidebarDragPosition>20||v===1&&!(a.sidebarDragPosition>20))a.sidebarDragPosition>20?lZc(a,20,1):lZc(a,a.lastOpenPosition,1);a.matSidebarWidth=v===0?0:"open"}},{keys:["?",sFa("F1")],displayAs:"? or Ctrl+F1",description:"Display the keyboard shortcuts pop-up",onPress:function(){a.matDialogService.open(d_,{minWidth:512})}});this.subscriptions.add(ZH(this.hotkeys,{title:"General",
hotkeys:b}));this.announcement=this.activeSession.getAnnouncement();this.userPrefs.preferences$.pipe(Cf(),Of(this.destroyed$)).subscribe(function(v){a.dismissedMessageId=v.bannerMessageId||"";v=(v.layoutPreferences||{}).leftSidebarWidth;a.matSidebarWidth=v||220;if(v===void 0)a.sidebarDragPosition=220;else if(v<90)a.sidebarDragPosition=20;else{if(v>220){var y=mZc(a);v>y&&(v=y)}v<185&&(v=185);a.sidebarDragPosition=v}});Te(document,"mouseup",{capture:!0}).pipe(Of(this.destroyed$)).subscribe(function(){a.sidebarDragOffset&&
(a.sidebarDragOffset=null,lZc(a,a.sidebarDragPosition,1))});Te(this.window,"resize").pipe(Of(this.destroyed$)).subscribe(function(){if(a.sidebarDragPosition>220){var v=mZc(a);a.sidebarDragPosition>v&&lZc(a,v,3E3)}});this.ngZone.runOutsideAngular(function(){Te(document,"mousemove").pipe(Of(a.destroyed$)).subscribe(function(v){if(a.sidebarDragOffset){v=v.pageX-a.sidebarDragOffset;if(v<90)v=20;else if(v<185)v=185;else{var y=mZc(a);v>y&&(v=y)}lZc(a,v,0)}})});this.oneGoogleBar.start();to()&&(Pcc!=null&&
Pcc.disconnect(),Pcc=new uo.PerformanceObserver(kDa),Pcc.observe({entryTypes:["measure"]}));setTimeout(Rib,6E4);this.scrollTiming.start();this.pageTitleUpdaterService.initOnce();this.pageLoadOptimizerService.initOnce();this.window.emergencyBugjugglerWorkaround={session:this.activeSession,issueComments:this.issueComments};nZc(this);this.subscriptions.add(this.navigationEnd$.subscribe(function(){nZc(a)}))};Y(d0,Z);d0.\u0275dir=Z.\u0275dir;
d0.prototype.startDragging=function(a){this.sidebarDragOffset=a.pageX-this.sidebarDragPosition;a.preventDefault()};d0.prototype.isDragging=function(){return this.sidebarDragOffset!==null};
var mZc=function(a){a=a.window.innerWidth;return a>=1075?a-855:220},alb=function(a,b){a.userPrefs.layoutPreferences$.pipe(Nf(function(c){return a.userPrefs.save({layoutPreferences:Object.assign({},c,{leftSidebarWidth:b})})})).pipe(Cf(),Of(a.destroyed$)).subscribe()},lZc=function(a,b,c){if(b!==a.sidebarDragPosition||c)b>=185&&(a.lastOpenPosition=b),a.sidebarDragPosition=b,c&&(a.sidebarDragSaver&&a.timeout.cancel(a.sidebarDragSaver),a.sidebarDragSaver=a.timeout.schedule(function(){alb(a,a.sidebarDragPosition===
20?0:a.sidebarDragPosition);a.sidebarDragSaver=null},c).catch(function(){}))};d0.prototype.doSearch=function(a){a=this.paths.listIssues({q:a});var b=Zwc(this.paths,a);lYc(this.issuePagination);b&&THb(this.reloadService);this.bLocation.setUrl(a)};var Ykb=function(a){a.announcement!==null&&(a.dismissedMessageId=a.announcement.messageId,a.userPrefs.save({bannerMessageId:a.dismissedMessageId}).pipe(Cf(),Of(a.destroyed$)).subscribe())};d0.prototype.startFeedback=function(){this.userFeedback.startFeedback()};
var nZc=function(a){var b,c=(b=a.activatedRoute.snapshot.firstChild)==null?void 0:b.routeConfig;a.hideAppChrome=c&&c.hideAppChrome?!0:!1;a.hideAppChrome?a.renderer.addClass(document.body,"hide-topbar"):a.renderer.removeClass(document.body,"hide-topbar")};d0.\u0275fac=function(a){return new (a||d0)};
d0.\u0275cmp=t({type:d0,selectors:[["app-root"]],features:[cg],decls:2,vars:1,consts:[["role","main",1,"full-width","full-height"],[1,"bv2-announce-bar"],[1,"bv2-content","flex-kids-x","border-top"],["id","main-app-nav",3,"size","disableToggleBtn"],["id","skiplink-navigation-target","role","main",1,"flex","pos-rel"],"aria-live polite role status aria-atomic true".split(" "),[3,"innerHtml"],["role","button","tabindex","0",1,"announce-dismiss"],["role","button","tabindex","0",1,"announce-dismiss",3,
"keydown.enter","keydown.space","click"],["id","main-app-nav",3,"widthChanged","size","disableToggleBtn"]],template:function(a,b){a&1&&D(0,Xkb,2,0,"div",0)(1,clb,10,2);a&2&&G(b.hideAppChrome?0:1)},dependencies:function(){return[vE,II,F_,S_,bYc,AYc,BYc,aYc]},encapsulation:2});var e0=function(){};e0.\u0275fac=function(a){return new (a||e0)};e0.\u0275mod=u({type:e0});e0.\u0275inj=p({imports:[RE,QI,P_,U_,c_,n_,o_,WR,JH,e_]});var f0=function(){};f0.\u0275fac=function(a){return new (a||f0)};f0.\u0275mod=u({type:f0});f0.\u0275inj=p({imports:[RE]});var g0=function(){};g0.\u0275fac=function(a){return new (a||g0)};g0.\u0275mod=u({type:g0});g0.\u0275inj=p({imports:[RE,JH,ML,KO,MH,f0]});var oZc=["pickerToggle"],h0=function(){this.customAriaLabelledBy=this.customFormId=void 0;this.required=!1;this.valueChange=new rG};h0.\u0275fac=function(a){return new (a||h0)};
h0.\u0275cmp=t({type:h0,selectors:[["b-date-time-input"]],viewQuery:function(a,b){a&1&&Mg(oZc,7);if(a&2){var c;Qg(c=Rg())&&(b.pickerToggle=c.first)}},inputs:{customFormId:"customFormId",customAriaLabelledBy:"customAriaLabelledBy",value:"value",required:"required"},outputs:{valueChange:"valueChange"},exportAs:["bDateTimeInput"],decls:4,vars:6,consts:[["pickerToggle","bDateTimePickerToggle"],["mat-stroked-button","","type","button","bDateTimePickerToggle","",3,"bDateTimePickerToggleSelectedChange",
"id","bDateTimePickerToggleRequired","bDateTimePickerToggleSelected","bDateTimePickerToggleFocusTrapHost"],["mode","date",3,"date"]],template:function(a,b){if(a&1){var c=x();I(0,"button",1,0);M("bDateTimePickerToggleSelectedChange",function(d){z(c);b.value=d;b.valueChange.emit(d);return A()});D(2,elb,1,1,"b-formatted-date-time",2)(3,flb,2,0,"ng-container");J()}a&2&&(F("id",b.customFormId)("bDateTimePickerToggleRequired",b.required)("bDateTimePickerToggleSelected",b.value)("bDateTimePickerToggleFocusTrapHost",
!1),eg("aria-labelledby",b.customAriaLabelledBy),C(2),G(b.value?2:3))},dependencies:[GM,VM,vD,Vy],styles:["/*# sourceMappingURL=date_time_input.css.map */"]});var pZc=["filterInput"],i0=function(){Z.apply(this,arguments);this.dateFormatter=r(vL);this.enumChoices=[];this.onSave=new rG;this.valueMap=new Map;this.sortedValues=[];this.filterValue=null;this.currentSelectedDate=void 0};Y(i0,Z);i0.\u0275dir=Z.\u0275dir;g=i0.prototype;g.ngOnInit=function(){this.initValues()};g.ngOnChanges=function(a){a.originalValueMap&&this.initValues()};g.ngAfterViewInit=function(){var a=this,b;(b=this.trigger)==null||b.menuOpened.pipe(Nf(function(){return Ve(0)}),Of(this.destroyed$)).subscribe(function(){a.focusFilterBox()})};
g.showMenu=function(){this.trigger.openMenu()};g.closeMenu=function(){this.trigger.closeMenu()};g.focusFilterBox=function(){var a;(a=this.filterElement)==null||a.nativeElement.focus()};var qZc=function(a){return a.filterValue&&a.type!=="REPEATED_DATE"?a.sortedValues.filter(function(b){return a.getDisplayString(b).includes(String(a.filterValue))}):a.sortedValues};
i0.prototype.addValue=function(){var a=this.filterValue;this.filterValue=null;a&&!this.valueMap.get(a)&&(this.valueMap.set(a,!0),rZc(this),this.onSave.emit({valueMap:this.valueMap,valueChanged:this.valueChanged()}))};i0.prototype.changeSelection=function(a){this.focusFilterBox();var b=this.valueMap.get(a);b?this.valueMap.set(a,!1):b===!1?(b=this.originalValueMap.get(a)===null,this.valueMap.set(a,b?null:!0)):this.valueMap.set(a,!0);this.onSave.emit({valueMap:this.valueMap,valueChanged:this.valueChanged()})};
i0.prototype.valueChanged=function(){var a=this;return Array.from(this.valueMap.keys()).some(function(b){var c=a.valueMap.get(b);b=a.originalValueMap.get(b);return c||b!==void 0?c!==b:!1})};i0.prototype.initValues=function(){this.valueMap=new Map(this.originalValueMap||[]);this.enumChoices=this.enumChoices||[];for(var a=k(this.enumChoices),b=a.next();!b.done;b=a.next())b=b.value,this.valueMap.has(b)||this.valueMap.set(b,!1);rZc(this)};
var rZc=function(a){a.sortedValues=Array.from(a.valueMap.keys()).sort(function(b,c){b=a.valueMap.get(b);c=a.valueMap.get(c);return(c?1:c===!1?-1:0)-(b?1:b===!1?-1:0)})},hlb=function(a){return!!a.filterValue&&a.type!=="REPEATED_ENUM"&&a.type!=="REPEATED_DATE"};i0.prototype.getDisplayString=function(a){return this.type==="REPEATED_DATE"?this.dateFormatter.formatUserCalendar(Fi(a)):a};i0.prototype.getLabel=function(){return this.valueChanged()?"Changed":"Unchanged"};
i0.\u0275fac=function(){var a;return function(b){return(a||(a=de(i0)))(b||i0)}}();
i0.\u0275cmp=t({type:i0,selectors:[["b-bulk-repeated-field-picker"]],viewQuery:function(a,b){a&1&&(Mg(zI,5),Mg(pZc,5));if(a&2){var c;Qg(c=Rg())&&(b.trigger=c.first);Qg(c=Rg())&&(b.filterElement=c.first)}},inputs:{type:"type",originalValueMap:"originalValueMap",enumChoices:"enumChoices"},outputs:{onSave:"onSave"},features:[cg,Hd],decls:14,vars:6,consts:[["customFieldMenu","matMenu"],["filterInput",""],["mat-button","","type","button",1,"medium","primary",3,"matMenuTriggerFor"],["name","arrow-dropdown",
"size","small"],["role","option",1,"multi-edit-menuitem",3,"title"],[1,"filter"],["mat-input","","step","any",3,"type","ngModel","placeholder"],["mat-menu-item",""],[3,"change","click","checked","indeterminate"],["mat-input","","step","any",3,"keydown","click","ngModelChange","type","ngModel","placeholder"],["mat-menu-item","",3,"click"],[3,"valueChange","value"],["mat-menu-item","","aria-label","Add a date value","tabindex","0","aria-haspopup","true",3,"click"]],template:function(a,b){a&1&&(I(0,
"button",2)(1,"span"),Q(2),J(),K(3,"b-icon",3),J(),I(4,"mat-menu",null,0),tg(6,glb,3,4,"div",4,sg),K(8,"mat-divider"),I(9,"div",5),D(10,ilb,2,3,"input",6),J(),D(11,jlb,1,0,"mat-divider")(12,klb,2,0,"div",7)(13,llb,4,1,"div"),J());a&2&&(a=L(5),F("matMenuTriggerFor",a),C(2),Tg(b.getLabel()),C(4),ug(qZc(b)),C(4),G(b.type!=="REPEATED_DATE"?10:-1),C(),G(hlb(b)?11:-1),C(),G(hlb(b)?12:-1),C(),G(b.type==="REPEATED_DATE"?13:-1))},dependencies:[vI,yI,wI,zI,DM,yM,vD,Vy,qN,uN,ki,tz,Bz,h0],styles:[".multi-edit-menuitem[_ngcontent-%COMP%]{padding:0 5px}.filter[_ngcontent-%COMP%]{padding:0 5px}/*# sourceMappingURL=bulk_repeated_field_picker.css.map */"]});var sZc=0,j0=function(a){this.changeDetectorRef=a;this.active=!1;this.id="b-list-option-"+sZc;sZc+=1};j0.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};j0.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};j0.\u0275fac=function(a){return new (a||j0)(af(rw))};
j0.\u0275dir=ud({type:j0,selectors:[["","onedevListOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(yg("id",b.id),ng("active",b.active))},inputs:{option:"option"},exportAs:["onedevListOption"]});var k0=function(){};k0.\u0275fac=function(a){return new (a||k0)};k0.\u0275mod=u({type:k0});k0.\u0275inj=p({});var olb=function(a){return{$implicit:a}},l0=function(a){var b=this;this.includeEmptyOption=this.disabled=!1;this.emptyOptionValue=void 0;this.showFilterBar=!1;this.options$=new bo([]);this.filterText$=new bo("");this.filteredOptions$=Me([this.options$,this.filterText$]).pipe(B(function(c){var d=k(c);c=d.next().value;var e=d.next().value;return b.filterFunction!==void 0&&b.filterFunction!==null?c.filter(function(f){return b.filterFunction(e,f)}):c}));this.valueChange=new kw;this.selected=new kw;this.destroyed$=
new If(1);a&&this.handleKeydown(a.keydown$)};g=l0.prototype;g.ngOnInit=function(){};g.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};g.ngAfterViewInit=function(){this.keyManager=Cx(Bx(new Gx(this.viewOptions)))};g.ngOnChanges=function(a){a.value&&tZc(this);a.options&&this.options$.next(this.options)};g.isSelected=function(a){return this.value===a};g.select=function(a){this.disabled||(this.isSelected(a)||this.valueChange.emit(a),this.selected.emit())};
var tZc=function(a){if(a.keyManager)if(a.includeEmptyOption&&a.isSelected(a.emptyOptionValue))a.keyManager.setActiveItem(0);else{var b=a.options.findIndex(function(c){return a.isSelected(c)});b!==-1&&(a.keyManager.setActiveItem(a.includeEmptyOption?b+1:b),uZc(a))}};l0.prototype.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&this.keyManager.setActiveItem(-1)};
l0.prototype.handleKeydown=function(a){var b=this;a.pipe(Of(this.destroyed$)).subscribe(function(c){if(!b.disabled&&b.keyManager){var d=c.code;d==="ArrowUp"||d==="ArrowDown"?(c.preventDefault(),b.keyManager.onKeydown(c),uZc(b)):d==="Home"||d==="End"?(c.preventDefault(),d==="Home"?b.keyManager._setActiveItemByIndex(0,1):P2b(b.keyManager),uZc(b)):d!=="Enter"&&d!=="Space"||!b.keyManager.activeItem||(c.preventDefault(),b.select(b.keyManager.activeItem.option))}})};
var uZc=function(a){var b,c;if(a=(b=a.keyManager)==null?void 0:(c=b.activeItem)==null?void 0:c.id){var d;(d=document.getElementById(a))==null||d.scrollIntoView({block:"nearest"})}};l0.\u0275fac=function(a){return new (a||l0)(af(jP,8))};
l0.\u0275cmp=t({type:l0,selectors:[["onedev-selectable-list"]],viewQuery:function(a,b){a&1&&Mg(j0,5);if(a&2){var c;Qg(c=Rg())&&(b.viewOptions=c)}},hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(a,b){a&1&&M("focus",function(){return tZc(b)})("blur",function(){return b.clearActiveItem()});a&2&&(a=b.keyManager&&b.keyManager.activeItem?b.keyManager.activeItem.id:void 0,eg("aria-activedescendant",a)("aria-disabled",b.disabled)("aria-label",b.label))},inputs:{value:"value",options:"options",
optionTemplate:"optionTemplate",disabled:"disabled",includeEmptyOption:"includeEmptyOption",emptyOptionValue:"emptyOptionValue",label:"label",showFilterBar:"showFilterBar",filterFunction:"filterFunction"},outputs:{valueChange:"valueChange",selected:"selected"},features:[Hd],decls:3,vars:4,consts:[["filterEl",""],["optionDisplay",""],["customOptionDisplay",""],["emptyOption",""],["class","filter-bar","onedevListOption","",4,"ngIf"],[4,"ngIf"],["onedevListOption","",1,"filter-bar"],["xmlns","http://www.w3.org/2000/svg",
"viewBox","0 0 24 24"],["d","M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"],["placeholder","Type to filter","spellcheck","false",3,"input"],["role","option","onedevListOption","",3,"option","click",4,"ngIf"],[4,"ngFor","ngForOf"],["role","option","onedevListOption","",3,"click","option"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf","ngIfElse"],["aria-label","empty"]],template:function(a,b){a&1&&(D(0,mlb,5,0,"div",4)(1,zlb,5,2,"ng-container",5),S(2,"async"));a&2&&(F("ngIf",b.showFilterBar),
C(),F("ngIf",U(2,2,b.filteredOptions$)))},dependencies:[Fw,Gw,Hw,j0,Iw],styles:["[role=option][_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;font-size:13px;padding:6px 8px;font-weight:400;letter-spacing:.185714px;line-height:normal;color:var(--text-default)}[role=option][_ngcontent-%COMP%]:hover{cursor:pointer}[role=option].active[_ngcontent-%COMP%], [role=option][_ngcontent-%COMP%]:active{background-color:var(--option-active-bg,#e8f0fe)}[role=option][aria-selected=true][_ngcontent-%COMP%]{background-color:var(--option-selected-bg,#d2e3fc)}.filter-bar[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;font-size:13px;padding:6px 8px;font-weight:400;letter-spacing:.185714px;line-height:normal;color:var(--text-default);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;border-bottom:1px solid var(--hairline,#dadce0)}.filter-bar[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{height:18px;width:18px;color:var(--icon,#5f6368);fill:currentColor}.filter-bar[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:none;background-color:var(--surface-default,#fff);color:var(--text-default,#202124);outline:none;width:100%;padding-left:4px}"],
changeDetection:0});var vZc=["trigger"],Blb=function(a){return{$implicit:a}},wZc=0,m0=function(a){this.includeEmptyOption=this.disabled=!1;this.emptyOptionValue=void 0;this.showFilterBar=!1;this.label="";this.valueChange=new kw;this.displayArrowIcon=!0;this.focused=this.required=this.openPopupOnInit=!1;this.contentId="onedev-single-select-"+wZc;this.onChange=function(){};this.onTouched=function(){};if(a===""||a==="true"||a==="required")this.required=!0;wZc++};Y(m0,jU);g=m0.prototype;g.ngOnInit=function(){};
g.ngAfterViewInit=function(){this.openPopupOnInit&&(this.popupTrigger.open(),this.focused=!0)};g.writeValue=function(a){this.val=a};g.onSelectionChange=function(a){a!==this.val&&(this.onChange(a),this.value=a,this.valueChange.emit(a))};g.isActive=function(){return this.popupTrigger.isOpen||this.focused};g.contentAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.contentId};g.registerOnChange=function(a){this.onChange=a};
g.registerOnTouched=function(a){this.onTouched=a};var xZc=function(a){var b="";a.label&&(b+=a.label+", ");a.required&&(b+="required, ");return b};m0.prototype.setDisabledState=function(a){this.disabled=a};ea.Object.defineProperties(m0.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});m0.\u0275fac=function(a){return new (a||m0)(Zd("required"))};
m0.\u0275cmp=t({type:m0,selectors:[["onedev-single-select"]],viewQuery:function(a,b){a&1&&Mg(vZc,7);if(a&2){var c;Qg(c=Rg())&&(b.popupTrigger=c.first)}},inputs:{value:"value",options:"options",disabled:"disabled",includeEmptyOption:"includeEmptyOption",emptyOptionValue:"emptyOptionValue",showFilterBar:"showFilterBar",filterFunction:"filterFunction",label:"label",labelledById:"labelledById",valueTemplate:"valueTemplate",optionTemplate:"optionTemplate",displayArrowIcon:"displayArrowIcon",openPopupOnInit:"openPopupOnInit"},
outputs:{valueChange:"valueChange"},features:[Yg([{provide:mz,useExisting:id(function(){return m0}),multi:!0},{provide:jU,useExisting:id(function(){return m0}),multi:!0}]),cg],decls:13,vars:20,consts:[["trigger","onedevPopupPanelTrigger"],["optionTemplateOrTextLabel",""],["textLabel",""],["panel","onedevPopupPanel"],["emptyValue",""],["onedevPopupPanelTrigger","",3,"focus","blur","click","closed","onedevPopupPanelTriggerDisabled","disabled","onedevPopupPanelTriggerFor"],[1,"cdk-visually-hidden"],
[4,"ngIf","ngIfElse"],["class","arrow-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],["onedevKeyEventReceiver","",3,"relayOnly"],["tabindex","0",1,"single-select-panel",3,"valueChange","selected","value","includeEmptyOption","emptyOptionValue","options","optionTemplate","label","showFilterBar","filterFunction"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-label","empty"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"arrow-icon"],["d","M7 10l5 5 5-5H7z"]],
template:function(a,b){if(a&1){var c=x();I(0,"button",5,0);M("focus",function(){z(c);return A(b.focused=!0)})("blur",function(){z(c);return A(b.focused=!1)})("click",function(){z(c);var e=L(1);return A(e.open())})("closed",function(){z(c);b.onTouched();return A()});I(2,"span",6);Q(3);J();D(4,Clb,2,4,"ng-container",7)(5,Flb,1,2,"ng-template",null,1,fh)(7,Ilb,3,2,"ng-template",null,2,fh)(9,Jlb,2,0,"svg",8);J();I(10,"onedev-popup-panel",9,3)(12,"onedev-selectable-list",10);M("valueChange",function(e){z(c);
return A(b.onSelectionChange(e))})("selected",function(){z(c);var e=L(1);return A(e.close())});J()()}if(a&2){a=L(6);var d=L(11);ng("active",b.isActive());F("onedevPopupPanelTriggerDisabled",b.disabled)("disabled",b.disabled)("onedevPopupPanelTriggerFor",d);eg("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());C(3);Tg(xZc(b));C();F("ngIf",b.valueTemplate)("ngIfElse",a);C(5);F("ngIf",b.displayArrowIcon);C();F("relayOnly",!0);C(2);F("value",b.value)("includeEmptyOption",b.includeEmptyOption)("emptyOptionValue",
b.emptyOptionValue)("options",b.options)("optionTemplate",b.optionTemplate)("label",b.label)("showFilterBar",b.showFilterBar)("filterFunction",b.filterFunction)}},dependencies:[Gw,Hw,jP,l0,kP,lP],styles:["[_nghost-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}button[_ngcontent-%COMP%]{background:none;border:1px solid transparent;color:var(--text-default,#202124);padding:4px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;line-height:18px;border-radius:5px;width:100%;min-height:27px;min-width:100px;font-size:13px;padding:4px 4px 4px 6px;text-align:start}button[_ngcontent-%COMP%]:hover{cursor:pointer;border-color:var(--field-hover-border,#d2e3fc)}button[_ngcontent-%COMP%]:disabled{cursor:not-allowed}button.active[_ngcontent-%COMP%], button[_ngcontent-%COMP%]:focus{outline:0;border-color:var(--primary-default,#1a73e8)}.ng-invalid.ng-touched[_nghost-%COMP%]   button[_ngcontent-%COMP%]{border-color:var(--warn-default,#d93025)}.arrow-icon[_ngcontent-%COMP%]{margin-left:auto;width:18px;height:18px;color:var(--icon,#5f6368);fill:currentColor}.single-select-panel[_ngcontent-%COMP%]{display:block;min-width:85px;max-height:300px}.single-select-panel[_ngcontent-%COMP%]:focus{outline:0}"]});var Qlb=function(){return[]},n0=function(){this.data=r(jL);this.dialogRef=r(dL);this.customFields=[];this.originalCustomFields=new Map;this.repeatedCustomFieldsMap=new Map;this.issues=this.data;this.bulkEditOps=[]};g=n0.prototype;
g.ngOnInit=function(){for(var a=new Map,b=null,c=k(this.issues),d=c.next();!d.done;d=c.next()){var e=d.value;d=e.customFieldMap;e=e.customFieldValueMap;if(!b){b=new Map;for(var f=k(Object.keys(d)),h=f.next();!h.done;h=f.next())h=h.value,b.set(Ei(h),e[h]||void 0)}f=k(b);for(h=f.next();!h.done;h=f.next()){var l=k(h.value);h=l.next().value;l=l.next().value;var q=d[h],v=e[h],y=void 0,E=(y=q)==null?void 0:y.type;if(q)if(E==="REPEATED_DATE"||E==="REPEATED_ENUM"||E==="REPEATED_NUMERIC"||E==="REPEATED_TEXT"){l=
this.repeatedCustomFieldsMap.get(h)||new Map;q=l.size===0;v=yZc(v);y=Array.from(l.keys()).concat(v);y=k(y);for(E=y.next();!E.done;E=y.next())E=E.value,v.includes(E)?l.has(E)||l.set(E,q||null):l.set(E,null);this.repeatedCustomFieldsMap.set(h,l)}else(!v&&l!==void 0||v&&!yi(v,l))&&b.set(h,null);else b.delete(h)}d=k(Object.entries(d));for(e=d.next();!e.done;e=d.next())f=k(e.value),e=f.next().value,f=f.next().value,a.set(Number(e),zi(f))}this.customFields=Array.from(b.keys()).map(function(H){return a.get(H)}).filter(function(H){return H});
this.customFields=this.customFields.map(function(H){var O=b.get(H.customFieldId);H.hasMultipleValues=O===null;O?H=Object.assign(O,H):H.hasMultipleValues||H.type!=="ENUM"||(H.enumValue="");return H});c=k(this.customFields);for(d=c.next();!d.done;d=c.next())d=d.value,this.originalCustomFields.set(d.customFieldId,zi(d))};
g.clearCustomFieldValue=function(a){a.hasMultipleValues=!1;switch(a.type){case "TEXT":a.textValue="";break;case "DATE":a.dateValue=null;break;case "ENUM":a.enumValue="";break;case "NUMERIC":a.numericValue=null}};g.getCustomFieldName=function(a){return a.name};g.isCustomFieldRequired=function(a){return a.required};g.getCustomFieldAllowedValues=function(a){return a.allowedValue};g.getCustomFieldType=function(a){return a.type};
var mu=function(a){return"bv2-custom-field-"+a.customFieldId+"-label"},yZc=function(a){if(!a)return[];var b=a.repeatedTextValue||a.repeatedDateValue||a.repeatedEnumValue||a.repeatedNumericValue;return b?b.values.map(function(c){return a.repeatedDateValue?c.month+"/"+c.day+"/"+c.year:c.toString()}):[]},Olb=function(a){return a?zn(a):null},Slb=function(a,b,c){for(var d=k(a.bulkEditOps),e=d.next();!e.done;e=d.next())e=e.value,e.actions=e.actions.filter(function(y){return y.customFieldValue.customFieldId!==
b});a.bulkEditOps=a.bulkEditOps.filter(function(y){return y.actions.length});if(c.valueChanged){d=k(a.issues);var f=d.next();for(e={};!f.done;e={issueValues$jscomp$1:void 0,action$jscomp$134:void 0},f=d.next()){f=f.value;var h=xea(f.customFieldValueMap,function(y){return y.customFieldId===b});e.issueValues$jscomp$1=yZc(h);c.valueMap.forEach(function(y){return function(E,H){E&&!y.issueValues$jscomp$1.includes(H)?y.issueValues$jscomp$1.push(H):E===!1&&(y.issueValues$jscomp$1=y.issueValues$jscomp$1.filter(function(O){return O!==
H}))}}(e));h=a.originalCustomFields.get(b).type;var l=[],q=[];h=="REPEATED_DATE"?l=e.issueValues$jscomp$1.map(function(y){return An(Fi(y))}):h=="REPEATED_NUMERIC"&&(q=e.issueValues$jscomp$1.map(function(y){return Number(y)}));var v={customFieldId:b};switch(h){case "REPEATED_TEXT":v.repeatedTextValue={values:e.issueValues$jscomp$1};break;case "REPEATED_DATE":v.repeatedDateValue={values:l};break;case "REPEATED_ENUM":v.repeatedEnumValue={values:e.issueValues$jscomp$1};break;case "REPEATED_NUMERIC":v.repeatedNumericValue=
{values:q}}e.action$jscomp$134={fieldName:"customField",customFieldValue:v,actionType:Cn(v)?"REMOVE":"ADD"};h=a.bulkEditOps.findIndex(function(y){return function(E){return E.actions.some(function(H){return yi(y.action$jscomp$134,H)})}}(e));h!==-1?a.bulkEditOps[h].issueIds.push(f.issueId):a.bulkEditOps.push({actions:[e.action$jscomp$134],issueIds:[f.issueId]})}}},zZc=function(a){var b=a.customFields.filter(function(l){return!l.type.includes("REPEATED")&&!yi(l,a.originalCustomFields.get(l.customFieldId))}),
c=[];b=k(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;d={customFieldId:e.customFieldId};switch(e.type){case "TEXT":d.textValue=e.textValue;break;case "DATE":d.dateValue=e.dateValue||void 0;break;case "ENUM":d.enumValue=e.enumValue;break;case "NUMERIC":var f=void 0;d.numericValue=(f=e.numericValue)!=null?f:void 0}if(e=Cn(d))d.textValue="";c.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}if(c.length){var h=a.issues.map(function(l){return l.issueId});b=a.bulkEditOps.findIndex(function(l){a:if(l=
l.issueIds,Va(h)&&Va(l)&&h.length==l.length){for(var q=h.length,v=0;v<q;v++)if(h[v]!==l[v]){l=!1;break a}l=!0}else l=!1;return l});b!==-1?a.bulkEditOps[b].actions=a.bulkEditOps[b].actions.concat(c):a.bulkEditOps.push({actions:c,issueIds:h})}};n0.\u0275fac=function(a){return new (a||n0)};
n0.\u0275cmp=t({type:n0,selectors:[["b-bulk-custom-field-dialog"]],decls:11,vars:1,consts:[["mat-dialog-title",""],[1,"bv2-create-adv-field"],["mat-button","","mat-dialog-close","","type","button",3,"class"],["mat-flat-button","","type","button","color","primary",1,"medium","dialog-primary-action","save",3,"click"],[1,"bv2-top-field-label"],["matTooltipPosition","right",3,"matTooltip"],["name","customInput","placeholder","no value","type","text",3,"ngModel"],["step","any","name","customInput","type",
"number",3,"ngModel"],[3,"value","options"],[3,"type","originalValueMap","enumChoices"],["name","customInput","placeholder","no value","type","text",3,"ngModelChange","ngModel"],["step","any","name","customInput","type","number",3,"ngModelChange","ngModel"],[3,"valueChange","value","required","customAriaLabelledBy","customFormId"],[3,"valueChange","value","options"],[3,"onSave","type","originalValueMap","enumChoices"],["title","Clear values",3,"click"]],template:function(a,b){a&1&&(I(0,"h2",0),Q(1,
"Update custom fields"),J(),I(2,"mat-dialog-content"),D(3,Klb,2,0,"div"),tg(4,Wlb,7,5,"div",1,sg),J(),I(6,"mat-dialog-actions")(7,"button",2),M("class",function(){return b.dialogRef.close()}),Q(8,"Cancel"),J(),I(9,"button",3),M("click",function(){zZc(b);b.bulkEditOps.length?b.dialogRef.close(b.bulkEditOps):b.dialogRef.close()}),Q(10," Save "),J()());a&2&&(C(3),G(b.customFields.length===0?3:-1),C(),ug(b.customFields))},dependencies:[lL,nL,pL,oL,m0,i0,ki,Dz,tz,Bz,h0,vD,Vy,FH,HH],encapsulation:2});var o0=function(){};o0.\u0275fac=function(a){return new (a||o0)};o0.\u0275mod=u({type:o0});o0.\u0275inj=p({imports:[NM,$M,JH,RE]});var p0=function(){};p0.\u0275fac=function(a){return new (a||p0)};p0.\u0275mod=u({type:p0});p0.\u0275inj=p({imports:[RE,EI,MM,nN,AM,JH,PN,yN,Qz,o0]});var q0=function(){};q0.\u0275fac=function(a){return new (a||q0)};q0.\u0275mod=u({type:q0});q0.\u0275inj=p({imports:[Qw]});var r0=function(){};r0.\u0275fac=function(a){return new (a||r0)};r0.\u0275mod=u({type:r0});r0.\u0275inj=p({imports:[Qw,UK,k0]});var s0=function(){};s0.\u0275fac=function(a){return new (a||s0)};s0.\u0275mod=u({type:s0});s0.\u0275inj=p({imports:[Qw,QE,UK,Qz,q0,r0,OR]});var t0=function(){};t0.\u0275fac=function(a){return new (a||t0)};t0.\u0275mod=u({type:t0});t0.\u0275inj=p({imports:[RE,ML,s0,p0,Qz,o0,JH,LH]});var u0=function(){};u0.\u0275fac=function(a){return new (a||u0)};u0.\u0275mod=u({type:u0});u0.\u0275inj=p({imports:[RE,$M,yN,JH,ML,WK,tR,LO,BM]});var AZc=new Map([["name","Name"],["description","Description"],["parentComponentId","Parent component ID"],["slo","SLO"],["team","Team"],["commentEditState","Editable comments"],["isArchived","Archived"],["defaultTemplateId","Default template ID"],["retentionSettings","Retention Settings"]]),BZc=new Map([["ENABLED","Enabled"],["DISABLED","Disabled"]]),Zlb=new Map([["BUGANIZER_DEFAULT","Default (10 years)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Indefinite"]]),$lb=new Map([["BUGANIZER_DEFAULT",
"Default (60 days)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Match Issue Retention"]]),v0=function(){this.$log=r(iE);this.activeSession=r(dv);this.sessionIsInternal=this.activeSession.isInternalSession()};v0.\u0275fac=function(a){return new (a||v0)};v0.\u0275prov=n({token:v0,factory:v0.\u0275fac,providedIn:"root"});var bmb=new Map([["SLO_SOURCE_UNSPECIFIED","--"],["USER","User"],["BUGSCOPE","Bugscope"]]);var CZc=new Bd("GMAT_PAGINATOR_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var DZc=function(a){this.options=a};DZc.\u0275fac=function(a){return new (a||DZc)(af(CZc))};DZc.\u0275dir=ud({type:DZc,selectors:[["mat-paginator"]],hostVars:2,hostBindings:function(a,b){a&2&&ng("gmat-mdc-paginator",!b.options.disableGmatStyle)}});var w0=function(){this.changes=new Jf;this.itemsPerPageLabel="Items per page:";this.nextPageLabel="Next page";this.previousPageLabel="Previous page";this.firstPageLabel="First page";this.lastPageLabel="Last page";this.getRangeLabel=function(a,b,c){if(c==0||b==0)return"0 of "+c;c=Math.max(c,0);a*=b;return a+1+" \u2013 "+(a<c?Math.min(a+b,c):a+b)+" of "+c}};w0.\u0275fac=function(a){return new (a||w0)};w0.\u0275prov=n({token:w0,factory:w0.\u0275fac,providedIn:"root"});
var EZc={provide:w0,deps:[[new Wv,new Xv,w0]],useFactory:function(a){return a||new w0}};var FZc=new Bd("MAT_PAGINATOR_DEFAULT_OPTIONS"),GZc=0,x0=function(a,b,c){var d=this;this._intl=a;this._changeDetectorRef=b;this._pageSizeLabelId="mat-paginator-page-size-label-"+GZc++;this._isInitialized=!1;this._initializedStream=new If(1);this._length=this._pageIndex=0;this._pageSizeOptions=[];this.showFirstLastButtons=this.hidePageSize=!1;this.selectConfig={};this.disabled=!1;this.page=new kw;this.initialized=this._initializedStream;this._intlChanges=a.changes.subscribe(function(){return d._changeDetectorRef.markForCheck()});
if(c){var e=c.pageSize,f=c.pageSizeOptions,h=c.hidePageSize,l=c.showFirstLastButtons;e!=null&&(this._pageSize=e);f!=null&&(this._pageSizeOptions=f);h!=null&&(this.hidePageSize=h);l!=null&&(this.showFirstLastButtons=l)}this._formFieldAppearance=(c==null?void 0:c.formFieldAppearance)||"outline"};g=x0.prototype;g.ngOnInit=function(){this._isInitialized=!0;this._updateDisplayedPageSizeOptions();this._initializedStream.next()};g.ngOnDestroy=function(){this._initializedStream.complete();this._intlChanges.unsubscribe()};
g.nextPage=function(){if(this.hasNextPage()){var a=this.pageIndex;this.pageIndex+=1;this._emitPageEvent(a)}};g.hasPreviousPage=function(){return this.pageIndex>=1&&this.pageSize!=0};g.hasNextPage=function(){return this.pageIndex<(this.pageSize?Math.ceil(this.length/this.pageSize):0)-1&&this.pageSize!=0};g._changePageSize=function(a){var b=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/a)||0;this.pageSize=a;this._emitPageEvent(b)};
g._nextButtonsDisabled=function(){return this.disabled||!this.hasNextPage()};g._previousButtonsDisabled=function(){return this.disabled||!this.hasPreviousPage()};
g._updateDisplayedPageSizeOptions=function(){this._isInitialized&&(this.pageSize||(this._pageSize=this.pageSizeOptions.length!=0?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),this._displayedPageSizeOptions.indexOf(this.pageSize)===-1&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort(function(a,b){return a-b}),this._changeDetectorRef.markForCheck())};
g._emitPageEvent=function(a){this.page.emit({previousPageIndex:a,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})};
ea.Object.defineProperties(x0.prototype,{pageIndex:{configurable:!0,enumerable:!0,get:function(){return this._pageIndex},set:function(a){this._pageIndex=Math.max(a||0,0);this._changeDetectorRef.markForCheck()}},length:{configurable:!0,enumerable:!0,get:function(){return this._length},set:function(a){this._length=a||0;this._changeDetectorRef.markForCheck()}},pageSize:{configurable:!0,enumerable:!0,get:function(){return this._pageSize},set:function(a){this._pageSize=Math.max(a||0,0);this._updateDisplayedPageSizeOptions()}},
pageSizeOptions:{configurable:!0,enumerable:!0,get:function(){return this._pageSizeOptions},set:function(a){this._pageSizeOptions=(a||[]).map(function(b){return sh(b,0)});this._updateDisplayedPageSizeOptions()}}});x0.\u0275fac=function(a){return new (a||x0)(af(w0),af(rw),af(FZc,8))};
x0.\u0275cmp=t({type:x0,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",sh],length:[2,"length","length",sh],pageSize:[2,"pageSize","pageSize",sh],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",rh],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",rh],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",rh]},outputs:{page:"page"},exportAs:["matPaginator"],
standalone:!0,features:[dg,$g],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button","disabledInteractive",
"",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],
["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],
["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(a,
b){a&1&&(I(0,"div",1)(1,"div",2),D(2,hmb,5,4,"div",3),I(3,"div",4)(4,"div",5),Q(5),J(),D(6,imb,3,5,"button",6),I(7,"button",7),M("click",function(){if(b.hasPreviousPage()){var c=b.pageIndex;--b.pageIndex;b._emitPageEvent(c)}}),Wd(),I(8,"svg",8),K(9,"path",9),J()(),Pd.currentNamespace=null,I(10,"button",10),M("click",function(){return b.nextPage()}),Wd(),I(11,"svg",8),K(12,"path",11),J()(),D(13,jmb,3,5,"button",12),J()()());a&2&&(C(2),G(b.hidePageSize?-1:2),C(3),R(" ",b._intl.getRangeLabel(b.pageIndex,
b.pageSize,b.length)," "),C(),G(b.showFirstLastButtons?6:-1),C(),F("matTooltip",b._intl.previousPageLabel)("matTooltipDisabled",b._previousButtonsDisabled())("matTooltipPosition","above")("disabled",b._previousButtonsDisabled()),eg("aria-label",b._intl.previousPageLabel),C(3),F("matTooltip",b._intl.nextPageLabel)("matTooltipDisabled",b._nextButtonsDisabled())("matTooltipPosition","above")("disabled",b._nextButtonsDisabled()),eg("aria-label",b._intl.nextPageLabel),C(3),G(b.showFirstLastButtons?13:
-1))},dependencies:[$z,mQ,My,Xy,HH],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-app-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-app-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-app-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-app-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-app-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-app-body-small-tracking));--mat-form-field-container-height:var(--mat-paginator-form-field-container-height, 40px);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding, 8px)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-app-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size, 56px)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}@media(forced-colors: active){.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display, block);position:absolute;top:50%;left:50%;width:84px;height:48px;background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}\n"],
encapsulation:2,changeDetection:0});var y0=function(){this.paths=r(zO);this.ROUTES=tq;this.children=[];this.onVisit=new rG;this.pageSize=25;this.pageSizeOptions=[10,25,100];this.childrenOnPage=[]};y0.prototype.ngOnInit=function(){this.childrenOnPage=this.children.slice(0,this.pageSize)};y0.\u0275fac=function(a){return new (a||y0)};
y0.\u0275cmp=t({type:y0,selectors:[["b-component-children-list"]],inputs:{children:"children"},outputs:{onVisit:"onVisit"},decls:4,vars:1,consts:[["card","onedevHovercard"],[3,"length","pageSize","pageSizeOptions"],[1,"component-children"],[3,"page","length","pageSize","pageSizeOptions"],[1,"keep-underline","keep-focus-ring",3,"click","onedevHovercardTrigger","href"],[3,"componentId"]],template:function(a,b){a&1&&(D(0,kmb,1,3,"mat-paginator",1),I(1,"ul",2),tg(2,lmb,6,4,"li",null,sg),J());a&2&&(G(b.children.length>
b.pageSize?0:-1),C(2),ug(b.childrenOnPage))},dependencies:[bK,hK,dO,DZc,x0],encapsulation:2});var z0=function(){};z0.\u0275fac=function(a){return new (a||z0)};z0.\u0275mod=u({type:z0});z0.\u0275inj=p({providers:[EZc],imports:[Zy,lR,KH,x0]});var A0=function(){};A0.\u0275fac=function(a){return new (a||A0)};A0.\u0275mod=u({type:A0});A0.\u0275inj=p({providers:[iAc],imports:[z0]});var B0=function(){};B0.\u0275fac=function(a){return new (a||B0)};B0.\u0275mod=u({type:B0});B0.\u0275inj=p({imports:[RE,VK,qY,A0]});var C0=function(){this.shouldShowCopyIssueShortLinks=!1;this.shortLinkPrefix="b/";this.onClickCopyIssueIds=new rG;this.onClickCopyIssueShortLinks=new rG;this.onClickCopyAsIssueSearch=new rG};C0.\u0275fac=function(a){return new (a||C0)};
C0.\u0275cmp=t({type:C0,selectors:[["b-copy-issue-id-button"]],inputs:{shouldShowCopyIssueShortLinks:"shouldShowCopyIssueShortLinks",shortLinkPrefix:"shortLinkPrefix"},outputs:{onClickCopyIssueIds:"onClickCopyIssueIds",onClickCopyIssueShortLinks:"onClickCopyIssueShortLinks",onClickCopyAsIssueSearch:"onClickCopyAsIssueSearch"},decls:10,vars:2,consts:[["splitMenu","matMenu"],["mat-button","","aria-label","Copy selected issue IDs",1,"medium","icon-only",3,"click"],["name","copy","size","small"],["mat-button",
"","aria-label","More copy issue ID options",1,"medium","compact",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["mat-menu-item",""],["mat-menu-item","",3,"click"]],template:function(a,b){if(a&1){var c=x();I(0,"b-button-group")(1,"button",1);M("click",function(){z(c);return A(b.onClickCopyIssueIds.emit())});K(2,"b-icon",2);J();I(3,"button",3);K(4,"b-icon",4);J();I(5,"mat-menu",null,0);D(7,mmb,2,1,"button",5);I(8,"button",6);M("click",function(){z(c);return A(b.onClickCopyAsIssueSearch.emit())});
Q(9," Copy as issue search ");J()()()}a&2&&(a=L(6),C(3),F("matMenuTriggerFor",a),C(4),G(b.shouldShowCopyIssueShortLinks?7:-1))},dependencies:[vI,yI,wI,zI,vD,Vy,VZ,yM],encapsulation:2,changeDetection:0});UIa(WIa(VIa(function(a){this._elementRef=a})));w(["disabled","disableRipple","color","tabIndex"]);var HZc=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var IZc=function(a,b){var c=this;this._overlayRef=b;this._afterDismissed=new Jf;this._afterOpened=new Jf;this._onAction=new Jf;this._dismissedByAction=!1;this.containerInstance=a;a._onExit.subscribe(function(){return c._finishDismiss()})};g=IZc.prototype;g.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit();clearTimeout(this._durationTimeoutId)};
g.dismissWithAction=function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss());clearTimeout(this._durationTimeoutId)};g._dismissAfter=function(a){var b=this;this._durationTimeoutId=setTimeout(function(){return b.dismiss()},Math.min(a,2147483647))};g._open=function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())};
g._finishDismiss=function(){this._overlayRef.dispose();this._onAction.closed||this._onAction.complete();this._afterDismissed.next({dismissedByAction:this._dismissedByAction});this._afterDismissed.complete();this._dismissedByAction=!1};g.afterDismissed=function(){return this._afterDismissed};g.afterOpened=function(){return this.containerInstance._onEnter};g.onAction=function(){return this._onAction};var JZc=ni("state",[qi("void, hidden",pi({transform:"scale(0.8)",opacity:0})),qi("visible",pi({transform:"scale(1)",opacity:1})),si("* => visible",oi("150ms cubic-bezier(0, 0, 0.2, 1)")),si("* => void, * => hidden",oi("75ms cubic-bezier(0.4, 0.0, 1, 1)",pi({opacity:0})))]);var KZc=0,D0=function(a,b,c,d,e){this._isDisposed=!1;this._ngZone=a;this._elementRef=b;this._changeDetectorRef=c;this._platform=d;this.snackBarConfig=e;this._document=r(ei);this._trackedModals=new Set;this._announceDelay=150;this._destroyed=!1;this._onAnnounce=new Jf;this._onExit=new Jf;this._onEnter=new Jf;this._animationState="void";this._liveElementId="mat-snack-bar-container-live-"+KZc++;this._live=e.politeness!=="assertive"||e.announcementMessage?e.politeness==="off"?"off":"polite":"assertive";
this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))};Y(D0,oy);g=D0.prototype;g.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._afterPortalAttached();return a};g.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._afterPortalAttached();return a};
g.onAnimationEnd=function(a){var b=a.fromState;a=a.toState;(a==="void"&&b!=="void"||a==="hidden")&&this._completeExit();if(a==="visible"){var c=this._onEnter;this._ngZone.run(function(){c.next();c.complete()})}};g.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())};g.exit=function(){var a=this;this._ngZone.run(function(){a._animationState="hidden";a._elementRef.nativeElement.setAttribute("mat-exit","");clearTimeout(a._announceTimeoutId)})};
g.ngOnDestroy=function(){this._destroyed=!0;this._clearFromModals();this._completeExit()};g._completeExit=function(){var a=this;this._ngZone.onMicrotaskEmpty.pipe(Cf()).subscribe(function(){a._ngZone.run(function(){a._onExit.next();a._onExit.complete()})})};g._afterPortalAttached=function(){var a=this._elementRef.nativeElement,b=this.snackBarConfig.panelClass;b&&(Array.isArray(b)?b.forEach(function(c){return a.classList.add(c)}):a.classList.add(b));this._exposeToModals()};
g._exposeToModals=function(){for(var a=this._liveElementId,b=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]'),c=0;c<b.length;c++){var d=b[c],e=d.getAttribute("aria-owns");this._trackedModals.add(d);e?e.indexOf(a)===-1&&d.setAttribute("aria-owns",e+" "+a):d.setAttribute("aria-owns",a)}};
g._clearFromModals=function(){var a=this;this._trackedModals.forEach(function(b){var c=b.getAttribute("aria-owns");c&&(c=c.replace(a._liveElementId,"").trim(),c.length>0?b.setAttribute("aria-owns",c):b.removeAttribute("aria-owns"))});this._trackedModals.clear()};g._assertNotAttached=function(){};
g._screenReaderAnnounce=function(){var a=this;this._announceTimeoutId||this._ngZone.runOutsideAngular(function(){a._announceTimeoutId=setTimeout(function(){var b=a._elementRef.nativeElement.querySelector("[aria-hidden]"),c=a._elementRef.nativeElement.querySelector("[aria-live]");if(b&&c){var d=null;a._platform.isBrowser&&document.activeElement instanceof HTMLElement&&b.contains(document.activeElement)&&(d=document.activeElement);b.removeAttribute("aria-hidden");c.appendChild(b);var e;(e=d)==null||
e.focus();a._onAnnounce.next();a._onAnnounce.complete()}},a._announceDelay)})};D0.\u0275fac=function(a){return new (a||D0)(af(hh),af(ge),af(rw),af(Xw),af(HZc))};D0.\u0275dir=ud({type:D0,viewQuery:function(a,b){a&1&&Mg(ry,7);if(a&2){var c;Qg(c=Rg())&&(b._portalOutlet=c.first)}},features:[cg]});var E0=function(a,b,c,d,e,f){this._overlay=a;this._live=b;this._injector=c;this._breakpointObserver=d;this._parentSnackBar=e;this._defaultConfig=f;this._snackBarRefAtThisLevel=null};g=E0.prototype;g.openFromComponent=function(a,b){return this._attach(a,b)};g.open=function(a,b,c){b=b===void 0?"":b;var d=Object.assign({},this._defaultConfig,c);d.data={message:a,action:b};d.announcementMessage===a&&(d.announcementMessage=void 0);return this.openFromComponent(this.simpleSnackBarComponent,d)};
g.dismiss=function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()};g.ngOnDestroy=function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()};g._attachSnackBarContainer=function(a,b){var c=qh({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:HZc,useValue:b}]});a=a.attach(new my(this.snackBarContainerComponent,b.viewContainerRef,c));a.instance.snackBarConfig=b;return a.instance};
g._attach=function(a,b){var c=this,d=Object.assign({},new HZc,this._defaultConfig,b),e=this._createOverlay(d);b=this._attachSnackBarContainer(e,d);var f=new IZc(b,e);if(a instanceof Jg)f.instance=b.attachTemplatePortal(new ny(a,null,{$implicit:d.data,snackBarRef:f}));else{var h=this._createInjector(d,f);a=b.attachComponentPortal(new my(a,void 0,h));f.instance=a.instance}this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(Of(e._detachments)).subscribe(function(l){e.overlayElement.classList.toggle(c.handsetCssClass,
l.matches)});d.announcementMessage&&b._onAnnounce.subscribe(function(){c._live.announce(d.announcementMessage,d.politeness)});this._animateSnackBar(f,d);return this._openedSnackBarRef=f};
g._animateSnackBar=function(a,b){var c=this;a.afterDismissed().subscribe(function(){c._openedSnackBarRef==a&&(c._openedSnackBarRef=null);b.announcementMessage&&c._live.clear()});this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){a.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):a.containerInstance.enter();b.duration&&b.duration>0&&a.afterOpened().subscribe(function(){return a._dismissAfter(b.duration)})};
g._createOverlay=function(a){var b=new cy;b.direction=a.direction;var c=this._overlay.position().global(),d=a.direction==="rtl";d=a.horizontalPosition==="left"||a.horizontalPosition==="start"&&!d||a.horizontalPosition==="end"&&d;var e=!d&&a.horizontalPosition!=="center";d?c.left("0"):e?c.right("0"):iy(c);a.verticalPosition==="top"?c.top("0"):c.bottom("0");b.positionStrategy=c;return this._overlay.create(b)};
g._createInjector=function(a,b){return qh({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:IZc,useValue:b},{provide:aE,useValue:a.data}]})};ea.Object.defineProperties(E0.prototype,{_openedSnackBarRef:{configurable:!0,enumerable:!0,get:function(){var a=this._parentSnackBar;return a?a._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(a){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=a:this._snackBarRefAtThisLevel=a}}});
E0.\u0275fac=function(a){return new (a||E0)(md(ty),md(sx),md(Sf),md(mx),md(E0,12),md(cac))};E0.\u0275prov=n({token:E0,factory:E0.\u0275fac});var F0=function(a,b){this.snackBarRef=a;this.data=b};F0.prototype.action=function(){this.snackBarRef.dismissWithAction()};ea.Object.defineProperties(F0.prototype,{hasAction:{configurable:!0,enumerable:!0,get:function(){return!!this.data.action}}});F0.\u0275fac=function(a){return new (a||F0)(af(IZc),af(aE))};
F0.\u0275cmp=t({type:F0,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],hostVars:1,hostBindings:function(a){a&2&&eg("mat-id-collision",null)},decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(a,b){a&1&&(I(0,"span",0),Q(1),J(),D(2,nmb,3,1,"div",1));a&2&&(C(),Tg(b.data.message),C(),F("ngIf",b.hasAction))},dependencies:[Gw,SK],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}\n"],
encapsulation:2,changeDetection:0});var G0=function(){D0.apply(this,arguments)};Y(G0,D0);G0.\u0275dir=D0.\u0275dir;G0.prototype._afterPortalAttached=function(){D0.prototype._afterPortalAttached.call(this);this.snackBarConfig.horizontalPosition==="center"&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center");this.snackBarConfig.verticalPosition==="top"&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")};G0.\u0275fac=function(){var a;return function(b){return(a||(a=de(G0)))(b||G0)}}();
G0.\u0275cmp=t({type:G0,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:2,hostBindings:function(a,b){a&1&&Cg("@state.done",function(c){return b.onAnimationEnd(c)});a&2&&(zg("@state",b._animationState),eg("mat-id-collision",null))},features:[cg],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,b){a&1&&(I(0,"div",0),D(1,omb,0,0,"ng-template",1),J(),K(2,"div"));a&2&&(C(2),eg("aria-live",b._live)("role",b._role)("id",b._liveElementId))},
dependencies:[ry],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}@media(forced-colors: active){.mat-snack-bar-container{border:solid 1px}}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[JZc]}});var H0=function(){};H0.\u0275fac=function(a){return new (a||H0)};H0.\u0275mod=u({type:H0});H0.\u0275inj=p({imports:[xy,sy,Qw,UK,yy,yy]});var I0=function(a,b,c,d,e,f){E0.call(this,a,b,c,d,e,f);this.simpleSnackBarComponent=F0;this.snackBarContainerComponent=G0;this.handsetCssClass="mat-snack-bar-handset"};Y(I0,E0);I0.\u0275fac=function(a){return new (a||I0)(md(ty),md(sx),md(Sf),md(mx),md(I0,12),md(cac))};I0.\u0275prov=n({token:I0,factory:I0.\u0275fac,providedIn:H0});var LZc={duration:1E3},MZc=new Bd("xap-clipboard-snackbar-options"),J0=function(a,b,c){this.clipboard=a;this.snackBar=b;this.snackBarConfig=c;this.textJob=""},NZc=function(a){var b,c,d,e;return ve(function(f){if(f.nextAddress==1){b=Object.assign({},LZc,a.snackBarConfig);c=a.text;if(!a.clipboard.copy(c))return a.snackBar.open("Failed to copy.",void 0,b),f.jumpTo(0);if(typeof a.textJob==="string"||(d=a.textJob)==null||!d.richText)return f.jumpTo(3);e=a.textJob.richText instanceof Function?a.textJob.richText():
a.textJob.richText;if(typeof ClipboardItem!=="undefined"){var h=new ClipboardItem({"text/html":new Blob([e],{type:"text/html"}),"text/plain":new Blob([c],{type:"text/plain"})});h=navigator.clipboard.write([h])}else h=Promise.resolve();return xe(f,h,3)}a.snackBar.open("Copied to clipboard.",void 0,b);Ce(f)})};
ea.Object.defineProperties(J0.prototype,{text:{configurable:!0,enumerable:!0,get:function(){return typeof this.textJob==="object"?this.textJob.plainText instanceof Function?this.textJob.plainText():this.textJob.plainText:this.textJob}}});J0.\u0275fac=function(a){return new (a||J0)(af(mP),af(I0),af(MZc,8))};J0.\u0275dir=ud({type:J0,selectors:[["","xapCopyToClipboard",""]],hostBindings:function(a,b){a&1&&M("click",function(){return NZc(b)})},inputs:{textJob:[0,"xapCopyToClipboard","textJob"]},standalone:!0});var K0=function(){};K0.prototype.getAriaLabel=function(){return this.ariaLabel?this.ariaLabel:this.ariaLabelledBy||this.ariaDescribedBy?null:"Copy content to clipboard"};K0.\u0275fac=function(a){return new (a||K0)};
K0.\u0275cmp=t({type:K0,selectors:[["xap-copy-button"]],hostAttrs:[1,"xap-copy-button"],hostVars:2,hostBindings:function(a,b){a&2&&ng("clipboard-unthemed",!b.color)},inputs:{copyText:"copyText",disabled:"disabled",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledBy:[0,"aria-labelledby","ariaLabelledBy"],ariaDescribedBy:[0,"aria-describedby","ariaDescribedBy"],tabIndex:[0,"tabindex","tabIndex"],color:"color"},standalone:!0,features:[$g],decls:3,vars:7,consts:[["mat-icon-button","","type","button",
3,"xapCopyToClipboard","disabled","color"],[1,"xap-clipboard-icon"]],template:function(a,b){a&1&&(I(0,"button",0)(1,"mat-icon",1),Q(2," content_copy "),J()());a&2&&(F("xapCopyToClipboard",b.copyText)("disabled",b.disabled)("color",b.color),eg("tabindex",b.tabIndex)("aria-label",b.getAriaLabel())("aria-labelledby",b.ariaLabelledBy)("aria-describedby",b.ariaDescribedBy))},dependencies:[Qw,UK,SK,QE,$D,H0,J0],encapsulation:2,changeDetection:0});var L0=function(){};L0.\u0275fac=function(a){return new (a||L0)};L0.\u0275mod=u({type:L0});L0.\u0275inj=p({imports:[K0]});var M0=function(){};M0.\u0275fac=function(a){return new (a||M0)};M0.\u0275mod=u({type:M0});M0.\u0275inj=p({imports:[RE,EI,JH,YZ,AM,L0]});var N0=function(){this.clipboard=r(mP);this.analytics=r(wG);this.butterBar=r(hE);this.window=r(aL);this.activeSession=r(dv);this.shortLinkPrefix=Kk(this.activeSession.session)?"b/":"b-qa/"},Wnb=function(a,b){a.clipboard.copy(b.join(", "));du(a.butterBar,"Issue IDs copied.",2E3);a.analytics.trackEvent("listIssues","copyIssueId","IDs")},Xnb=function(a,b){a.clipboard.copy(b.map(function(c){return a.shortLinkPrefix+c}).join(", "));du(a.butterBar,"'"+a.shortLinkPrefix+"' links copied.",2E3);a.analytics.trackEvent("listIssues",
"copyIssueId","b/ links")},Ynb=function(a,b){b=tq.listIssues.makeHref({q:"id:("+b.join("|")+")"});a.clipboard.copy(a.window.location.origin+b);du(a.butterBar,"Issue search link copied.",2E3);a.analytics.trackEvent("listIssues","copyIssueId","Issue search link")};N0.\u0275fac=function(a){return new (a||N0)};N0.\u0275prov=n({token:N0,factory:N0.\u0275fac,providedIn:"root"});var O0=function(){};O0.\u0275fac=function(a){return new (a||O0)};O0.\u0275mod=u({type:O0});O0.\u0275inj=p({imports:[RE,VK,qY]});var P0=function(){};P0.\u0275fac=function(a){return new (a||P0)};P0.\u0275mod=u({type:P0});P0.\u0275inj=p({imports:[RE,Qz,JH,bP,yN,ML,vR]});var Q0=function(){this.componentActions=r(gO);this.errorHandler=r(jE);this.cdr=r(sG)};Q0.prototype.showChildren=function(a){var b=this;a.showChildren=!0;a.children?this.cdr.detectChanges():this.componentActions.getChildren(a.componentId,this.includeArchived).then(function(c){a.children=c;c.length===0&&(a.noChildren=!0);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
var R0=function(a,b){a.selectedId&&OZc(a,a.selectedId);a.selectedId=b;if(a=PZc(a.selectedId))a.focus(),a.setAttribute("aria-selected","true")},S0=function(a){if(!a.selectedId||a.selectedId<1)return null;var b;return(b=a.components.find(function(c){return c.componentId==a.selectedId}))!=null?b:null},QZc=function(a){return!a.selectedId||a.selectedId<1?-1:a.components.findIndex(function(b){return b.componentId==a.selectedId})},OZc=function(a,b){b&&(a=PZc(a.selectedId))&&a.setAttribute("aria-selected",
"false")},PZc=function(a){return a?document.getElementById("component-"+a):null},RZc=function(a){for(a=a.target;;){if(!a)return!1;if(a.tagName==="A")return!0;a=a.parentNode}};Q0.\u0275fac=function(a){return new (a||Q0)};Q0.\u0275cmp=t({type:Q0,selectors:[["component-subtree-list-base"]],decls:0,vars:0,template:function(){},encapsulation:2});var smb=function(a){return{q:a}},T0=function(){Q0.apply(this,arguments);this.paths=r(zO);this.ROUTES=tq;this.includeArchived=!1;this.childClosed=new rG;this.selectedId=null};Y(T0,Q0);T0.prototype.ngOnInit=function(){};T0.prototype.ngOnDestroy=function(){this.parentComponent.focusOnChildren=void 0};T0.prototype.ngOnChanges=function(a){a.components&&SZc(this)};T0.prototype.onSubtreeChildClosed=function(a){this.selectedId=a;R0(this,a);this.rootController.selectionChanged(this,a)};
var SZc=function(a){a.parentComponent.focusOnChildren||(a.parentComponent.focusOnChildren=function(){a.selectNext()})};g=T0.prototype;
g.selectNext=function(){if(this.components)if(this.selectedId){var a=QZc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(OZc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(R0(this,this.components[a+1].componentId),this.rootController.selectionChanged(this,this.selectedId))}else R0(this,this.components[0].componentId),this.rootController.selectionChanged(this,this.selectedId)};
g.selectPrevious=function(){var a=QZc(this);a==0?(this.selectedId=null,this.childClosed.emit(this.parentComponent.componentId)):(R0(this,this.components[a-1].componentId),this.rootController.selectionChanged(this,this.selectedId))};g.closeSubtree=function(){if(this.selectedId){var a=S0(this);a.showChildren?a.showChildren=!1:(this.selectedId=null,this.parentComponent.showChildren=!1,this.childClosed.emit(this.parentComponent.componentId));this.cdr.detectChanges()}};
g.showChildrenForSelectedId=function(){var a=S0(this);a&&this.showChildren(a)};g.setSelected=function(a,b){RZc(b)||(R0(this,a),this.rootController.selectionChanged(this,a),b.preventDefault(),b.stopPropagation())};g.toggleChildrenForSelectedId=function(){var a=S0(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};T0.\u0275fac=function(){var a;return function(b){return(a||(a=de(T0)))(b||T0)}}();
T0.\u0275cmp=t({type:T0,selectors:[["component-subtree-list"]],inputs:{parentComponent:"parentComponent",rootController:"rootController",components:"components",includeArchived:"includeArchived"},outputs:{childClosed:"childClosed"},features:[Yg([sG]),cg,Hd],decls:3,vars:0,consts:[[1,"components-list"],["tabindex","-1","role","treeitem","aria-selected","false",3,"id"],["tabindex","-1","role","treeitem","aria-selected","false",3,"click","id"],[1,"component-row"],[1,"selected-indicator"],[1,"component-tree-toggle"],
["matTooltip","Hide child components"],["matTooltip","Show child components"],[1,"component-info"],[1,"component-name",3,"href"],[3,"href"],[3,"accessLevel"],[3,"trackerId"],[1,"component-description"],[1,"component-buttons"],["mat-raised-button","","color","primary",3,"href"],["role","group","aria-expanded","true",1,"child-component-list"],["matTooltip","Hide child components",3,"click"],["svgIcon","arrow-dropdown"],["matTooltip","Show child components",3,"click"],["svgIcon","arrow-dropdown",2,"transform",
"rotate(-90deg)"],[1,"component-no-children"],[1,"bv2-view-loading"],[3,"components","parentComponent","rootController","includeArchived"],[3,"childClosed","components","parentComponent","rootController","includeArchived"]],template:function(a,b){a&1&&(I(0,"ol",0),tg(1,zmb,19,11,"li",1,sg),J());a&2&&(C(),ug(b.components))},dependencies:[$D,FH,HH,vD,Wy,JO,cO,kO,T0],encapsulation:2});var Dmb=function(a){return{q:a}},U0=function(){Q0.call(this);this.paths=r(zO);this.hotkeys=r(YH);this.elementRef=r(ge);this.ROUTES=tq;this.scrollArea=this.elementRef.nativeElement.parentElement;this.selectedId=null;this.includeArchived=!1;this.init=new rG;this.subscriptions=new me;this.destroyed$=new If(1);this.registerKeys()};Y(U0,Q0);g=U0.prototype;
g.ngOnInit=function(){var a=this;this.rootController=this;Ve(0).pipe(Of(this.destroyed$)).subscribe(function(){TZc(a)&&!a.selectedId&&R0(a,a.components[0].componentId)});this.init.emit(this)};g.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};g.ngOnChanges=function(a){a.components&&UZc(this)};g.onSubtreeChildClosed=function(a){var b=this;R0(this,a);this.focusedController=void 0;Ve(0).pipe(Of(this.destroyed$)).subscribe(function(){V0(b)})};
g.fireSelectionEvent=function(a){var b=PZc(a);b&&b.click();V0(this,a)};var UZc=function(a){Ve(0).pipe(Of(a.destroyed$)).subscribe(function(){TZc(a)&&!a.selectedId&&R0(a,a.components[0].componentId)})};g=U0.prototype;g.selectionChanged=function(a,b){b&&V0(this,b);a!==this.focusedController&&(this.focusedController&&(b=this.focusedController,b.selectedId&&OZc(b,b.selectedId),b.selectedId=null),this.focusedController=a||void 0)};
g.setSelected=function(a,b){RZc(b)||(R0(this,a),this.selectionChanged(null),V0(this),b.preventDefault(),b.stopPropagation())};
g.registerKeys=function(){var a=this;this.subscriptions.add(ZH(this.hotkeys,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next component",onPress:function(){a.selectNext()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous component",onPress:function(){a.selectPrevious()}},{keys:["RIGHT"],displayAs:"Right",description:"View the components children",onPress:function(){a.showChildrenForSelectedId()}},{keys:["LEFT"],displayAs:"Left",
description:"Close the components children",onPress:function(){a.closeSubtree()}},{keys:["SPACE","ENTER"],displayAs:"Space / Enter",description:"Toggle component children display",onPress:function(){a.toggleChildrenForSelectedId()}}]}))};g.showChildrenForSelectedId=function(){if(this.focusedController)this.focusedController.showChildrenForSelectedId();else{var a=S0(this);a&&this.showChildren(a)}};
g.toggleChildrenForSelectedId=function(){this.focusedController&&this.focusedController.toggleChildrenForSelectedId();var a=S0(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};g.closeSubtree=function(){this.focusedController?this.focusedController.closeSubtree():this.selectedId&&(S0(this).showChildren=!1,this.cdr.detectChanges())};
g.selectPrevious=function(){if(this.focusedController)this.focusedController.selectPrevious();else{var a=QZc(this);TZc(this)&&a>=1&&(R0(this,this.components[a-1].componentId),V0(this))}};
g.selectNext=function(){if(TZc(this))if(this.focusedController)this.focusedController.selectNext();else if(this.selectedId){var a=QZc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(OZc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(R0(this,this.components[a+1].componentId),V0(this))}else R0(this,this.components[0].componentId),V0(this)};
var V0=function(a,b){var c=VZc(a.scrollArea),d=c+a.scrollArea.offsetHeight;if(a=PZc(b||a.selectedId)){b=VZc(a);var e=b+a.offsetHeight;b<c?a.scrollIntoView(!1):e>d&&a.scrollIntoView(!0)}},VZc=function(a){for(var b=0;a&&a instanceof HTMLElement;)b+=a.offsetTop,a=a.offsetParent;return b},TZc=function(a){return!!(a.components&&a.components.length>0)};U0.\u0275fac=function(a){return new (a||U0)};
U0.\u0275cmp=t({type:U0,selectors:[["component-tree-list"]],inputs:{components:"components",includeArchived:"includeArchived"},outputs:{init:"init"},features:[Yg([sG]),cg,Hd],decls:3,vars:0,consts:[["role","tree",1,"components-list"],["tabindex","-1","role","treeitem","aria-selected","false",3,"id"],["tabindex","-1","role","treeitem","aria-selected","false",3,"click","id"],[1,"component-row"],[1,"selected-indicator"],[1,"component-tree-toggle"],["matTooltip","Hide child components"],["matTooltip",
"Show child components"],[1,"component-info"],[1,"component-name",3,"href"],[3,"href"],[3,"accessLevel"],[3,"trackerId"],[1,"component-description"],[1,"component-buttons"],["mat-raised-button","","color","primary",3,"href"],["role","group","aria-expanded","true",1,"child-component-list"],["matTooltip","Hide child components",3,"click"],["svgIcon","arrow-dropdown"],["matTooltip","Show child components",3,"click"],["svgIcon","arrow-dropdown",2,"transform","rotate(-90deg)"],[1,"component-no-children"],
[1,"bv2-view-loading"],[3,"components","parentComponent","rootController","includeArchived"],[3,"childClosed","components","parentComponent","rootController","includeArchived"]],template:function(a,b){a&1&&(I(0,"ol",0),tg(1,Kmb,19,10,"li",1,sg),J());a&2&&(C(),ug(b.components))},dependencies:[$D,FH,HH,vD,Wy,JO,cO,kO,T0],encapsulation:2});var W0=function(){};W0.\u0275fac=function(a){return new (a||W0)};W0.\u0275mod=u({type:W0});W0.\u0275inj=p({imports:[RE,LH,JH,LO,vR,TR]});var Omb=function(){return[]},X0=function(){this.disabled=this.readonly=!1;this.save=new rG},WZc=function(a){return a.issue.customFieldMap[a.field.customFieldId]};X0.prototype.getDisplayValue=function(){var a,b,c=(b=(a=WZc(this).displayValues)==null?void 0:a[0])!=null?b:null;c==="0.0"&&(c="0");return c};X0.prototype.getTooltip=function(){var a=this.field.customFieldId;a=this.field.shared?"(Shared Field "+a+". see go/b-scf)":"[ID: "+a+"]";var b;return((b=this.field.description)!=null?b:"")+" "+a};
var Nmb=function(a){return(a=Bn(WZc(a)))&&a.values===void 0?a:null},Lmb=function(a){return(a=Bn(WZc(a)))&&a.values!==void 0?a.values:null};ea.Object.defineProperties(X0.prototype,{isShared:{configurable:!0,enumerable:!0,get:function(){return this.field.shared}}});X0.\u0275fac=function(a){return new (a||X0)};
X0.\u0275cmp=t({type:X0,selectors:[["b-custom-field-editor"]],viewQuery:function(a,b){a&1&&Mg(OM,5);if(a&2){var c;Qg(c=Rg())&&(b.editField=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&ng("is-shared-field",b.isShared)},inputs:{issue:"issue",field:"field",readonly:"readonly",disabled:"disabled"},outputs:{save:"save"},decls:1,vars:1,consts:[[3,"readonly","defaultLineCount","title","type","customFieldId","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled"],[3,"readonly",
"name","title","type","tooltip","clearable","value","displayValueOverride","choices","showEnumTitle","disabled","customFieldId"],[3,"valuesChange","readonly","defaultLineCount","title","type","customFieldId","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled"],[3,"valueChange","readonly","name","title","type","tooltip","clearable","value","displayValueOverride","choices","showEnumTitle","disabled","customFieldId"]],template:function(a,b){a&1&&D(0,Qmb,2,1);if(a&2){var c;G((c=
WZc(b))?0:-1,c)}},dependencies:[$N,OM],encapsulation:2});var Y0=function(){};Y0.\u0275fac=function(a){return new (a||Y0)};Y0.\u0275mod=u({type:Y0});Y0.\u0275inj=p({imports:[RE,aO,QM]});var Z0=function(){this.customFields=this.selectedComponent=null;this.fieldSelected=new rG;this.filter=function(){return!0}};Z0.prototype.onComponentSelect=function(a){var b=this;if(this.selectedComponent=a){var c;this.customFields=(((c=a.componentPathInfo)==null?void 0:c.allCustomField)||[]).filter(function(d){return b.filter(d)}).sort(function(d,e){return d.name.localeCompare(e.name)})}else this.customFields=null};Z0.\u0275fac=function(a){return new (a||Z0)};
Z0.\u0275cmp=t({type:Z0,selectors:[["b-custom-field-picker"]],inputs:{filter:"filter"},outputs:{fieldSelected:"fieldSelected"},decls:5,vars:4,consts:[[1,"bv2-custom-field-picker"],[1,"bv2-custom-field-picker-message"],[3,"selectedComponentChange","selectedComponent","placeholder","isRequired"],[1,"bv2-custom-field-picker-select-box"],["appearance","outline"],[1,"mat-select","bv2-custom-field-picker-select",3,"selectionChange"],[3,"value"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1),Q(2,
" First, select a component that contains the custom field. "),J(),I(3,"b-team-component-picker",2),M("selectedComponentChange",function(c){return b.onComponentSelect(c!==null&&c!==void 0?c:null)}),J(),D(4,Vmb,4,3,"div",3),J());a&2&&(C(3),F("selectedComponent",b.selectedComponent)("placeholder","Choose Component")("isRequired",!0),C(),G(b.selectedComponent?4:-1))},dependencies:[eQ,$z,Uz,mQ,My,MN,sO],encapsulation:2});var a1=function(){};a1.\u0275fac=function(a){return new (a||a1)};a1.\u0275mod=u({type:a1});
a1.\u0275inj=p({imports:[RE,mR,bW]});var XZc=function(a){return{value:a}},b1=function(){this.isNonemptyJsonDateValue=Jza};b1.prototype.toDate=function(a){return zn(a)};b1.\u0275fac=function(a){return new (a||b1)};
b1.\u0275cmp=t({type:b1,selectors:[["b-custom-field-value-display"]],inputs:{customFieldValue:"customFieldValue"},decls:6,vars:4,consts:[["null",""],["nonNull",""],[1,"bv2-custom-field-value-display"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["mode","date",3,"date"]],template:function(a,b){a&1&&(I(0,"span",2),D(1,Wmb,1,0,"ng-container",3),J(),D(2,Xmb,0,0,"ng-template",null,0,fh)(4,jnb,8,8,"ng-template",null,1,fh));a&2&&(a=L(5),C(),F("ngTemplateOutlet",b.customFieldValue==null?null:a)("ngTemplateOutletContext",
bh(2,XZc,b.customFieldValue)))},dependencies:[Hw,VM],encapsulation:2});var c1=function(){};c1.\u0275fac=function(a){return new (a||c1)};c1.\u0275mod=u({type:c1});c1.\u0275inj=p({imports:[RE,$M]});var d1=function(){this.documentationLinks=r(cL);this.userAccess=r(YC);this.errorHandler=r(jE);this.data=r(jL);this.issuesToFlag=this.data.issuesToFlag;this.issuesChecked=0;this.protectedIssues=[];this.permissionsCheckComplete=!1};d1.prototype.ngOnInit=function(){YZc(this,this.issuesToFlag)};
var YZc=function(a,b){b.length<=0?a.permissionsCheckComplete=!0:$C(a.userAccess,"admin","components/"+b[0].componentId).then(function(c){a.issuesChecked++;c||a.protectedIssues.push(b[0]);YZc(a,b.slice(1))},function(c){a.errorHandler.errorHandler(null,c)})};d1.\u0275fac=function(a){return new (a||d1)};
d1.\u0275cmp=t({type:d1,selectors:[["b-bulk-flag-as-spam-dialog"]],decls:19,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"bv2-bulk-flag-as-spam-prompt"],["target","_blank",1,"keep-underline",3,"href"],[1,"bv2-bulk-flag-as-spam-warning"],["mat-dialog-actions",""],["mat-button","","mat-dialog-close","",1,"medium"],["mat-flat-button","","cdkFocusInitial","",1,"dialog-primary-action",3,"disabled","mat-dialog-close"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"Flag Issues as Spam"),
J(),I(2,"div",1)(3,"div",2)(4,"p"),Q(5),I(6,"a",3),Q(7,"see here"),J(),Q(8,". "),J(),I(9,"p"),Q(10," This operation cannot be undone in bulk. "),J()(),I(11,"div",4),D(12,knb,3,2,"div")(13,mnb,6,1,"div"),J()(),I(14,"div",5)(15,"button",6),Q(16," Close "),J(),I(17,"button",7),Q(18," Flag as Spam "),J()());a&2&&(C(5),R(" Flagging these ",b.issuesToFlag.length," issues as spam will cause them to drop out of regular search results, and they will be deleted after 30 days. For more information on remediating spam at scale, "),
C(),F("href",Dqc(b.documentationLinks),of),C(6),G(b.permissionsCheckComplete?-1:12),C(),G(b.permissionsCheckComplete&&b.protectedIssues.length>0?13:-1),C(4),F("disabled",!b.permissionsCheckComplete)("mat-dialog-close",!0))},dependencies:[vD,Vy,lL,nL,pL,oL],encapsulation:2});var e1=function(){this.cdr=r(sG,{self:!0});this.dialogRef=r(dL);this.component=null};e1.prototype.updateComponent=function(a){this.component=a;this.cdr.detectChanges()};e1.prototype.save=function(){this.dialogRef.close(this.component)};e1.prototype.cancel=function(){this.dialogRef.close()};e1.\u0275fac=function(a){return new (a||e1)};
e1.\u0275cmp=t({type:e1,selectors:[["b-bulk-move-dialog"]],features:[Yg([sG])],decls:13,vars:4,consts:[["mat-dialog-title",""],[1,"bv2-bulk-move-warning"],[3,"selectedComponentChange","selectedComponent","placeholder","isRequired"],["mat-button","",3,"click"],["mat-flat-button","",3,"click","disabled"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"Change Component"),J(),I(2,"mat-dialog-content")(3,"p"),Q(4,"Choose new component for these issues."),J(),I(5,"p",1),Q(6," Warning: If these issues have custom fields, their values will be lost if you move the issues outside the component subtree that defines those custom fields. "),
J(),I(7,"b-team-component-picker",2),M("selectedComponentChange",function(c){return b.updateComponent(c!==null&&c!==void 0?c:null)}),J()(),I(8,"mat-dialog-actions")(9,"button",3),M("click",function(){return b.cancel()}),Q(10," Cancel "),J(),I(11,"button",4),M("click",function(){return b.save()}),Q(12," Save "),J()());a&2&&(C(7),F("selectedComponent",b.component)("placeholder","Choose Component")("isRequired",!0),C(4),F("disabled",b.component==null))},dependencies:[vD,Vy,nL,pL,oL,sO],styles:[".bv2-bulk-move-warning[_ngcontent-%COMP%]{font-weight:bold}mat-dialog-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:var(--text)}"]});var f1=function(){this.renderPanel=!0;this.sloEditCommit=new rG;this.closePicker=new rG};f1.prototype.ngOnChanges=function(a){if(a.sloEditTime){var b;this.currentPickerDate=(b=new Uk(qKa(this.sloEditTime)))!=null?b:void 0}};f1.prototype.setDate=function(a){this.currentPickerDate=a};f1.\u0275fac=function(a){return new (a||f1)};
f1.\u0275cmp=t({type:f1,selectors:[["slo-edit-date-time-picker"]],inputs:{sloEditTime:"sloEditTime",sloStatus:"sloStatus",renderPanel:"renderPanel"},outputs:{sloEditCommit:"sloEditCommit",closePicker:"closePicker"},features:[Yg([sG]),Hd],decls:2,vars:3,consts:[[3,"clickOutside"],[3,"dateTimeChange","saveClicked","cancelClicked","renderPanel","dateTime","includeTimePicker"]],template:function(a,b){a&1&&(I(0,"div",0),M("clickOutside",function(){b.closePicker.emit()}),I(1,"b-date-time-picker-content",
1),M("dateTimeChange",function(c){return b.setDate(c)})("saveClicked",function(){var c=(c=b.currentPickerDate)?{seconds:c.getTime()/1E3,nanos:0}:null;b.sloEditCommit.emit({date:c!=null?c:null});b.closePicker.emit()})("cancelClicked",function(){b.closePicker.emit()}),J()());a&2&&(C(),F("renderPanel",b.renderPanel)("dateTime",b.currentPickerDate)("includeTimePicker",!0))},dependencies:[uP,EM],styles:["b-date-time-picker-content[_ngcontent-%COMP%]{right:10px;z-index:100}[_nghost-%COMP%]     .mat-mdc-form-field{width:9rem;margin-left:1rem}/*# sourceMappingURL=slo_edit_date_time_picker.css.map */"],
changeDetection:0});var g1=function(){this.data=r(jL);this.dialogRef=r(dL);this.fieldDisplayName=this.data.fieldDisplayName;this.commitEvent=void 0};g1.prototype.close=function(){this.dialogRef.close(this.commitEvent)};g1.\u0275fac=function(a){return new (a||g1)};
g1.\u0275cmp=t({type:g1,selectors:[["b-edit-calendar-modal"]],decls:3,vars:2,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"sloEditCommit","closePicker","renderPanel"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1),J(),I(2,"slo-edit-date-time-picker",1),M("sloEditCommit",function(c){b.commitEvent=c})("closePicker",function(){return b.close()}),J());a&2&&(C(),R("Edit ",b.fieldDisplayName,""),C(),F("renderPanel",!1))},dependencies:[nL,oL,f1],encapsulation:2});var h1=function(){this.data=r(jL);this.dialogRef=r(dL);this.fieldDisplayName=this.data.fieldDisplayName;this.effortSpec=this.data.effortSpec;this.numericEstimatedEffort="";this.effortSpecName=this.effortSpec.name;this.currentEnumLabel="";this.enumSpec=this.effortSpec.enumSpec;var a,b;this.enumOptions=(b=(a=this.enumSpec)==null?void 0:a.options)!=null?b:[];this.isEnumSpec=!!this.enumSpec;var c;this.allowedLabels=((c=this.enumOptions)!=null?c:[]).map(function(d){return d.label})};
h1.prototype.enableSubmit=function(){return this.isEnumSpec&&this.currentEnumLabel!==""||!this.isEnumSpec};h1.prototype.cancel=function(){this.dialogRef.close(void 0)};h1.prototype.save=function(){if(this.enumSpec)var a={estimate:this.currentEnumLabel};else a=this.numericEstimatedEffort,a={estimate:a.length===0||isNaN(Number(a))?"":String(Number(a))};this.dialogRef.close(a)};h1.\u0275fac=function(a){return new (a||h1)};
h1.\u0275cmp=t({type:h1,selectors:[["b-edit-estimated-effort-modal"]],decls:9,vars:4,consts:[["mat-dialog-title",""],[1,"bv2-top-field-label"],["mat-button","",3,"click"],["mat-flat-button","",3,"click","disabled"],["matInput","",3,"ngModelChange","keypress","ngModel"],[3,"valueChange","value","includeEmptyOption","options"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1),J(),D(2,nnb,5,2,"mat-dialog-content")(3,onb,4,4,"div",1),I(4,"mat-dialog-actions")(5,"button",2),M("click",function(){return b.cancel()}),
Q(6," Cancel "),J(),I(7,"button",3),M("click",function(){return b.save()}),Q(8," Save "),J()());a&2&&(C(),R("Edit ",b.fieldDisplayName,""),C(),G(b.isEnumSpec?-1:2),C(),G(b.isEnumSpec?3:-1),C(4),F("disabled",!b.enableSubmit()))},dependencies:[ki,tz,Bz,vD,Vy,nL,pL,oL,ON,hA,$z,Uz,MN,m0],encapsulation:2});var i1=function(){this.data=r(jL);this.dialogRef=r(dL);this.removeItems=this.addItems="";this.fieldDisplayName=this.data.fieldDisplayName};i1.prototype.save=function(){this.dialogRef.close({addItems:this.addItems,removeItems:this.removeItems})};i1.prototype.close=function(){this.dialogRef.close()};i1.\u0275fac=function(a){return new (a||i1)};
i1.\u0275cmp=t({type:i1,selectors:[["b-edit-item-modal"]],decls:20,vars:6,consts:[["mat-dialog-title",""],[1,"bv2-modal-form"],["appearance","outline","subscriptSizing","dynamic"],["matInput","","type","text",3,"ngModelChange","ngModel"],["mat-button","",3,"click"],["mat-flat-button","",3,"click"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1),J(),I(2,"mat-dialog-content")(3,"p"),Q(4),J(),I(5,"div",1)(6,"mat-form-field",2)(7,"mat-label"),Q(8),J(),I(9,"input",3),Xg("ngModelChange",function(c){Wg(b.addItems,
c)||(b.addItems=c);return c}),J()(),K(10,"br"),I(11,"mat-form-field",2)(12,"mat-label"),Q(13),J(),I(14,"input",3),Xg("ngModelChange",function(c){Wg(b.removeItems,c)||(b.removeItems=c);return c}),J()()()(),I(15,"mat-dialog-actions")(16,"button",4),M("click",function(){return b.close()}),Q(17," Cancel "),J(),I(18,"button",5),M("click",function(){return b.save()}),Q(19," Save "),J()());a&2&&(C(),R("Edit ",b.fieldDisplayName,""),C(3),R("Enter ",b.fieldDisplayName," to add or remove"),C(4),R(" ",b.fieldDisplayName,
" to Add "),C(),Vg("ngModel",b.addItems),C(4),R(" ",b.fieldDisplayName," to Remove "),C(),Vg("ngModel",b.removeItems))},dependencies:[ki,tz,Bz,vD,Vy,ON,hA,$z,Uz,MN,nL,pL,oL],styles:["mat-form-field[_ngcontent-%COMP%]{margin-top:8px}"]});var ZZc=["hotlistFilterInput"],$Zc=["hotlistCreate"],a_c=["hotlistApply"],b_c=["hotlistLoad"],c_c=["menuitem"],j1=function(){Z.apply(this,arguments);this.liveAnnouncer=r(sx);this.butterBar=r(hE);this.userAccess=r(YC);this.analytics=r(wG);this.activeSession=r(dv);this.cdr=r(sG,{self:!0});this.selectedHotlistIds=[[]];this.choices=[];this.checkEditAcl=!0;this.onCreate=new rG;this.onApply=new rG;this.onLoad=new rG;this.hotlistEditAcls={};this.validHotlistIds=new Set;this.pendingChanges=this.canLoad=this.canCreate=
!1;this.oldSelectedHotlistMap={};this.selectedHotlistMap={};this.shouldShowHotlist={};this.filterText="";this.focusedRowIndex=-1;this.isAnonymous=this.activeSession.isAnonymous()};Y(j1,Z);j1.\u0275dir=Z.\u0275dir;j1.prototype.ngAfterViewInit=function(){var a=this,b;(b=this.trigger)==null||b.menuOpened.pipe(Of(this.destroyed$)).subscribe(function(){Ve(0).pipe(Of(a.destroyed$)).subscribe(function(){a.focusFilterBox()})});var c;(c=this.trigger)==null||c.menuClosed.pipe(Of(this.destroyed$)).subscribe(function(){d_c(a)})};
j1.prototype.focusFilterBox=function(){this.filterElement.nativeElement.focus()};j1.prototype.ngOnChanges=function(){e_c(this);this.oldSelectedHotlistMap=Object.assign({},this.selectedHotlistMap);this.pendingChanges=this.canCreate=!1;f_c(this)};
var e_c=function(a){var b={};yea(a.selectedHotlistMap);if(a.choices){a.validHotlistIds.clear();for(var c=k(a.choices),d=c.next();!d.done;d=c.next())d=d.value,b[d.hotlistId]=0,a.validHotlistIds.add(d.hotlistId);if(a.selectedHotlistIds){c=a.selectedHotlistIds.length;d=k(a.selectedHotlistIds);for(var e=d.next();!e.done;e=d.next())if(e=e.value){e=k(e);for(var f=e.next();!f.done;f=e.next())b[f.value]++}d=k(Object.entries(b));for(e=d.next();!e.done;e=d.next())f=k(e.value),e=f.next().value,f=f.next().value,
a.selectedHotlistMap[Number(e)]=f?f===c?!0:null:!1;Kba(a.choices,function(h,l){var q=b[h.hotlistId],v=b[l.hotlistId];return q>v?-1:q<v?1:Gu(h.name,l.name)})}}};j1.prototype.open=function(){this.trigger.openMenu();this.cdr.detectChanges()};j1.prototype.close=function(){this.trigger.closeMenu()};
j1.prototype.hasAclToEdit=function(a){var b=this;if(vea(this.hotlistEditAcls,a.hotlistId))return this.hotlistEditAcls[a.hotlistId];$C(this.userAccess,"appender","hotlists/"+a.hotlistId).then(function(c){b.hotlistEditAcls[a.hotlistId]=c})};
var pnb=function(a,b){if(!a.checkEditAcl)return!1;a=a.hasAclToEdit(b);return a===void 0?!0:!a},qu=function(a,b){var c=a.selectedHotlistMap[b.hotlistId];a.selectedHotlistMap[b.hotlistId]=c===null?!0:!c;wnb(a);a.close()},wnb=function(a){a.onApply.emit({oldSelectionMap:a.oldSelectedHotlistMap,newSelectionMap:a.selectedHotlistMap})},f_c=function(a){for(var b=a.filterText,c=!1,d=k(a.choices),e=d.next();!e.done;e=d.next())e=e.value,a.shouldShowHotlist[e.hotlistId]=Fa(e.name.toLowerCase(),b.toLowerCase()),
e.name===b&&(c=!0);a.canCreate=!(!b||c);a.canLoad=Xt(Ii(b))&&!!b&&!!a.onLoad},d_c=function(a){a.trigger.menuOpen||(e_c(a),a.filterText="",f_c(a),a.pendingChanges=!1,a.focusedRowIndex=-1)},g_c=function(a){var b=a.selectedHotlistIds;return b&&b.length===1?"Hotlists ("+Bba(b[0],function(c){return a.validHotlistIds.has(c)})+")":"Hotlists"};
j1.prototype.createHotlist=function(){var a=this,b=this.filterText;this.canCreate&&(this.filterText="",f_c(this),this.onCreate.emit({name:b,successCallback:function(c){qu(a,c)},errorCallback:function(){a.butterBar.showWarning("Failed to create hotlist "+b)}}))};
j1.prototype.loadHotlist=function(){var a=this,b=this.filterText;if(this.canLoad){this.analytics.trackEvent("hotlistPicker","loadHotlist");du(this.butterBar,"Loading hotlist "+b.toString());this.filterText="";f_c(this);for(var c=Ei(b),d=k(this.choices),e=d.next();!e.done;e=d.next())if(e=e.value,c===e.hotlistId){qu(this,e);return}this.onLoad.emit({hotlistId:c,successCallback:function(f){qu(a,f)},errorCallback:function(){a.butterBar.showWarning("Failed to load hotlist "+b)}})}};
j1.prototype.handleSelectionChange=function(){this.focusFilterBox();this.pendingChanges=!yi(this.oldSelectedHotlistMap,this.selectedHotlistMap)};
var qnb=function(a,b){pnb(a,b)||(a.selectedHotlistMap[b.hotlistId]=!a.selectedHotlistMap[b.hotlistId],a.handleSelectionChange())},n_c=function(a,b){b=b===void 0?0:b;var c=h_c(a).filter(function(e,f){return f>a.focusedRowIndex&&a.shouldShowHotlist[Number(e.id.substring(13))]}),d=a.choices.length;c.length?(b=b>=c.length?c[c.length-1]:c[b],a.focusedRowIndex=Dba(h_c(a),b),i_c(a),j_c(a,b)):a.focusedRowIndex<d&&a.canCreate?k_c(a,d):a.focusedRowIndex<d+1&&a.canLoad?l_c(a,d):a.focusedRowIndex<d+2&&a.pendingChanges&&
m_c(a,d)},h_c=function(a){return a.menuItems.map(function(b){return b.nativeElement})},o_c=function(a,b){b=b===void 0?0:b;if(a.focusedRowIndex===a.choices.length+1&&a.canCreate)k_c(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canLoad)l_c(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canCreate)k_c(a,a.choices.length);else{var c=h_c(a).filter(function(d,e){return e<a.focusedRowIndex&&a.shouldShowHotlist[Number(d.id.substring(13))]});c.length?(b=b>=c.length?
c[0]:c[c.length-b-1],a.focusedRowIndex=Dba(h_c(a),b),i_c(a),j_c(a,b)):(a.focusedRowIndex=-1,j_c(a,null))}},j_c=function(a,b){a.filterElement&&XH(a.filterElement.nativeElement,b);a.focusFilterBox()},k_c=function(a,b){a.focusedRowIndex=b;XH(a.filterElement.nativeElement,null);var c;(c=a.createElement)==null||c.focus();a.liveAnnouncer.announce("Create new hotlist "+a.filterText);a.focusFilterBox()},l_c=function(a,b){a.focusedRowIndex=b+1;XH(a.filterElement.nativeElement,null);var c;(c=a.loadElement)==
null||c.focus();a.liveAnnouncer.announce("Load hotlist "+a.filterText);a.focusFilterBox()},m_c=function(a,b){a.focusedRowIndex=b+2;XH(a.filterElement.nativeElement,null);var c;(c=a.applyElement)==null||c.focus();a.liveAnnouncer.announce("Apply");a.focusFilterBox()},i_c=function(a){a.focusedRowIndex===-1||a.focusedRowIndex>=a.choices.length||(a=h_c(a)[a.focusedRowIndex],a.scrollIntoViewIfNeeded?a.scrollIntoViewIfNeeded():a.scrollIntoView({block:"end"}))},rnb=function(a){return a==null?"mixed":a.toString()},
snb=function(a){return a==null?"indeterminate":a?"checked":"unchecked"};j1.\u0275fac=function(){var a;return function(b){return(a||(a=de(j1)))(b||j1)}}();
j1.\u0275cmp=t({type:j1,selectors:[["b-hotlist-picker"]],viewQuery:function(a,b){a&1&&(Mg(zI,5),Mg(ZZc,5),Mg($Zc,5),Mg(a_c,5),Mg(b_c,5),Mg(c_c,5));if(a&2){var c;Qg(c=Rg())&&(b.trigger=c.first);Qg(c=Rg())&&(b.filterElement=c.first);Qg(c=Rg())&&(b.createElement=c.first);Qg(c=Rg())&&(b.applyElement=c.first);Qg(c=Rg())&&(b.loadElement=c.first);Qg(c=Rg())&&(b.menuItems=c)}},inputs:{selectedHotlistIds:"selectedHotlistIds",choices:"choices",checkEditAcl:"checkEditAcl"},outputs:{onCreate:"onCreate",onApply:"onApply",
onLoad:"onLoad"},features:[Yg([sG]),cg,Hd],decls:13,vars:4,consts:[["hotlistMenu","matMenu"],["hotlistFilterInput",""],["hotlistChoices",""],["hotlistCreate",""],["menuitem",""],["hotlistLoad",""],["hotlistApply",""],["mat-button","","id","hotlist-picker-button","aria-describedby","hotlist-picker-label-text",1,"medium","primary",3,"matMenuTriggerFor","disabled"],["id","hotlist-picker-label-text"],["name","arrow-dropdown","size","small"],[1,"menu"],[1,"menu-control"],[1,"hotlist-filter"],["mat-input",
"","type","text","id","hotlist-filter-input","maxlength","255","role","combobox","aria-autocomplete","list","aria-expanded","true","placeholder","Type to filter hotlists from your sidebar","autocomplete","off",3,"ngModelChange","mousedown","blur","click","keydown","ngModel"],["matMenuContent",""],["role","listbox",1,"multi-edit-scrollarea"],["role","option",1,"multi-edit-menuitem",3,"display","focused","title"],["mat-menu-item","","matTooltip","Type a new name to create a hotlist","matTooltipPosition",
"right","title","Type a new hotlist name above and then click here to create a new hotlist.",1,"hotlist-create",3,"click","keydown.enter","disabled"],["mat-menu-item","","matTooltip","Type a hotlist id number to load a hotlist by id.","matTooltipPosition","right",3,"focused"],["mat-menu-item","","id","hotlist-apply","aria-label","apply",1,"hotlist-apply",3,"focused"],["role","option",1,"multi-edit-menuitem",3,"click","title"],["role","checkbox",3,"click","state","disabled"],["mat-menu-item","","matTooltip",
"Type a hotlist id number to load a hotlist by id.","matTooltipPosition","right",3,"click","keydown.enter"],["mat-menu-item","","id","hotlist-apply","aria-label","apply",1,"hotlist-apply",3,"click","keydown.enter"]],template:function(a,b){if(a&1){var c=x();I(0,"button",7)(1,"span",8);Q(2);J();K(3,"b-icon",9);J();I(4,"mat-menu",null,0)(6,"div",10)(7,"div",11)(8,"div",12)(9,"input",13,1);Xg("ngModelChange",function(d){z(c);Wg(b.filterText,d)||(b.filterText=d);return A(d)});M("ngModelChange",function(){z(c);
return A(f_c(b))})("mousedown",function(d){z(c);return A(d.stopPropagation())})("blur",function(){z(c);return A(d_c(b))})("click",function(d){z(c);return A(d.stopPropagation())})("keydown",function(d){z(c);d.stopImmediatePropagation();d.key==="Escape"?b.close():d.key==="ArrowDown"?(n_c(b),d.preventDefault()):d.key==="ArrowUp"?(o_c(b),d.preventDefault()):d.key==="PageUp"?o_c(b,11):d.key==="PageDown"?n_c(b,11):d.key===" "?b.focusedRowIndex===-1||b.focusedRowIndex>=b.choices.length||(qnb(b,b.choices[b.focusedRowIndex]),
d.preventDefault()):d.key==="Enter"&&(b.focusedRowIndex===b.choices.length?b.createHotlist():b.focusedRowIndex===b.choices.length+1?b.loadHotlist():b.pendingChanges?(b.close(),wnb(b)):0<=b.focusedRowIndex&&b.focusedRowIndex<b.choices.length&&b.hasAclToEdit(b.choices[b.focusedRowIndex])&&qu(b,b.choices[b.focusedRowIndex]));return A()});J()()();K(11,"mat-divider");D(12,ynb,12,7,"ng-template",14);J()()}a&2&&(a=L(5),F("matMenuTriggerFor",a)("disabled",b.isAnonymous),C(2),Tg(g_c(b)),C(7),Vg("ngModel",
b.filterText))},dependencies:[vI,yI,wI,xI,zI,vD,Vy,ki,tz,Nz,Bz,Ly,FH,HH,DM,yM],styles:[".menu[_ngcontent-%COMP%]{max-height:400px;width:280px;overflow-x:hidden;overflow-y:hidden}.menu-control[_ngcontent-%COMP%]{line-height:19px;padding:0 6px}.menu-control[_ngcontent-%COMP%]   .hotlist-filter[_ngcontent-%COMP%]{padding:8px 0}.menu-control[_ngcontent-%COMP%]   .hotlist-filter[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{height:29px;line-height:16px;padding-left:9px;vertical-align:top;width:100%;box-sizing:border-box;border-radius:4px;border:1px solid #dadce0}.multi-edit-scrollarea[_ngcontent-%COMP%]{display:flex;flex-direction:column;max-height:246px;overflow-y:scroll;overflow-x:hidden}.multi-edit-scrollarea[_ngcontent-%COMP%]::-webkit-scrollbar-track{border:0}.multi-edit-scrollarea[_ngcontent-%COMP%]   .multi-edit-menuitem[_ngcontent-%COMP%]{border-width:0;line-height:19px;margin:0 6px;padding:0}.multi-edit-scrollarea[_ngcontent-%COMP%]   .multi-edit-menuitem.focused[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--surface-secondary);border:0}.multi-edit-scrollarea[_ngcontent-%COMP%]   .multi-edit-menuitem[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg);cursor:pointer}.mat-mdc-menu-item.focused[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg);border:0}/*# sourceMappingURL=hotlist_picker.css.map */"]});var r_c=function(a,b){this.origCommonDuplicateOf=this.origCommonVerifier=this.origCommonAssignee=this.lastCommonAssignee="";this.overwriteVerifier=this.overwriteAssignee=!1;this.commonDuplicateOf=this.commonVerifier=this.commonAssignee="";this.issueState=void 0;this.recaptchaResponse="";this.userEmail=a;this.origIssues=b;this.comment=new NL;this.selectedVerifiersStatus=this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";p_c(this,b);q_c(this,b)},p_c=function(a,b){var c=b[0],d=$k[c.status],
e=c.duplicateOfIssueId;if(d)for(b.every(function(f){return f.status==="DUPLICATE"&&e===f.duplicateOfIssueId})&&e&&(a.commonDuplicateOf=e,a.origCommonDuplicateOf=e),c=1;c<b.length;c++)if(b[0].status!==b[c].status){d=void 0;break}a.issueState=d;a.origCommonIssueState=d},s_c=function(a){if(a.length===1)return"IDENTICAL_EMAILS";var b=!a.every(function(c){return c===a[0]});return a.every(function(c){return c===void 0||Pk(c)})?b?"MULTIPLE":"IDENTICAL_EMAILS":"POSSIBLY_MULTIPLE"},q_c=function(a,b){var c=
b.map(function(d){return d.assigneeEmail});b=b.map(function(d){return d.verifierEmail});a.selectedAssigneesStatus=s_c(c);a.selectedVerifiersStatus=s_c(b);a.selectedAssigneesStatus==="IDENTICAL_EMAILS"&&(a.commonAssignee=c[0],a.origCommonAssignee=c[0]);a.selectedVerifiersStatus==="IDENTICAL_EMAILS"&&(a.commonVerifier=b[0],a.origCommonVerifier=b[0])};
r_c.prototype.clearAssignee=function(){this.commonAssignee="";this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteAssignee=!0;Jnb(this)};r_c.prototype.clearVerifier=function(){this.commonVerifier="";this.selectedVerifiersStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteVerifier=!0};
var ru=function(a){return a.origIssues.every(function(b){return!!b.verifierEmail})},Fnb=function(a,b){(a.origCommonIssueState=b)?(b.status==="NEW"?t_c(a.selectedAssigneesStatus)?a.clearAssignee():a.commonAssignee&&(a.lastCommonAssignee=a.commonAssignee,a.commonAssignee=""):b.status==="DUPLICATE"?(a.commonAssignee=a.origCommonAssignee,a.commonVerifier=a.origCommonVerifier):(b.assigneeRequirement!=="REQUIRED"||a.commonAssignee||t_c(a.selectedAssigneesStatus)||(a.commonAssignee=a.lastCommonAssignee?
a.lastCommonAssignee:a.userEmail),t_c(a.selectedVerifiersStatus)||a.commonVerifier||b.status!=="VERIFIED"||(a.commonVerifier=a.userEmail)),a.issueState=a.origCommonIssueState):a.issueState=void 0},t_c=function(a){return a==="MULTIPLE"||a==="POSSIBLY_MULTIPLE"},Jnb=function(a){var b=$k.NEW,c=$k.ASSIGNED;a.issueState===b&&a.commonAssignee?a.issueState=a.origCommonIssueState===b?c:a.origCommonIssueState:a.commonAssignee||a.issueState&&!Y7b.has(a.issueState)||(a.issueState=b)},u_c=function(a){var b=a.issueState;
return b?a.origIssues.some(function(c){return b.status!==c.status}):!1},Snb=function(a){var b=new Map;b.set("assignee",a.overwriteAssignee||a.commonAssignee!==a.origCommonAssignee?a.commonAssignee:void 0);(a.overwriteVerifier||a.commonVerifier!==a.origCommonVerifier)&&b.set("verifier",a.commonVerifier);a.commonDuplicateOf!==a.origCommonDuplicateOf&&b.set("duplicateOfIssueId",a.commonDuplicateOf);u_c(a)&&b.set("status",a.issueState.status);a.comment.value&&b.set("comment",a.comment.value);return b};var k1=function(){this.activeSession=r(dv);this.externalWarnings=[];this.enableNewVisibilityChips=lu(this.activeSession,"enableNewVisibilityChips")};k1.\u0275fac=function(a){return new (a||k1)};
k1.\u0275cmp=t({type:k1,selectors:[["b-external-warnings"]],inputs:{externalWarnings:"externalWarnings"},decls:1,vars:1,consts:[[1,"bv2-external-component-modal-warning"],[3,"href"],[3,"issueId"],[3,"accessLevel"]],template:function(a,b){a&1&&D(0,Enb,8,1,"div",0);a&2&&G(b.externalWarnings.length>0?0:-1)},dependencies:[cO,VP],styles:[".bv2-external-component-modal-warning[_ngcontent-%COMP%] {\n  padding-top: 10px;\n\n  ul {\n    padding-left: 0;\n  }\n}"],changeDetection:0});var l1=function(){};
l1.\u0275fac=function(a){return new (a||l1)};l1.\u0275mod=u({type:l1});l1.\u0275inj=p({imports:[vR,FR]});var v_c=["dialog"],m1=function(){Z.call(this);this.matDialog=r(kL);this.activeSession=r(dv);this.hotkeys=r(YH);this.userPreferencesManager=r(yH);this.comment=new NL;this.save=new rG;this.close=new rG;this.externalWarnings=[];this.issueStates=W7b;this.issueEditBuilder=null;this.FocusableField=w_c;this.enableRecaptcha=this.activeSession.userRequiresCaptcha()&&lu(this.activeSession,"enableBulkEditCaptchaUi");var a;this.comment.formattingMode=oj((a=zH(this.userPreferencesManager).textDisplayPreferences)==
null?void 0:a.lastPublishMode)};Y(m1,Z);m1.\u0275dir=Z.\u0275dir;m1.prototype.showDialog=function(a,b,c){var d=this;this.issueEditBuilder=new r_c(this.activeSession.getUserEmail(),a);this.issueEditBuilder.comment=this.comment;b&&Fnb(this.issueEditBuilder,b);this.focus=c;this.hotkeys.pause();this.matDialogRef=this.matDialog.open(this.dialog,{minWidth:512,maxWidth:512});eL(this.matDialogRef).pipe(Of(this.destroyed$)).subscribe(function(e){d.hotkeys.unpause();e&&d.save.emit();d.close.emit()})};
m1.\u0275fac=function(a){return new (a||m1)};
m1.\u0275cmp=t({type:m1,selectors:[["b-state-modal"]],viewQuery:function(a,b){a&1&&Mg(v_c,5);if(a&2){var c;Qg(c=Rg())&&(b.dialog=c.first)}},inputs:{externalWarnings:"externalWarnings"},outputs:{save:"save",close:"close"},features:[cg],decls:2,vars:0,consts:[["dialog",""],["statusForm","ngForm"],["statusMenu",""],["mat-dialog-title",""],["mat-dialog-content",""],[1,"bv2-modal-form"],[1,"flex-kids-x","justify-flex-end"],["mat-dialog-actions",""],["type","button","mat-button","",1,"medium",3,"mat-dialog-close"],
["type","submit","color","primary","mat-flat-button","",1,"medium","confirm",3,"mat-dialog-close","disabled"],["type","button","mat-button","",1,"medium","primary","status-select",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["mat-menu-item","","type","button",3,"click","disabled"],["mat-menu-item","","type","button",3,"disabled"],[1,"bv2-modal-text-field"],["placeholder","Add a comment (optional)",3,"onSubmit","comment","showToolbar"],[1,"float-clear"],[3,"externalWarnings"],["for",
"bv2-state-modal-assignee",1,"bv2-top-field-label"],[1,"bv2-multiple-user-chip"],["for","bv2-state-modal-verifier",1,"bv2-top-field-label"],[1,"bv2-multiple-user-chip",3,"bv2-invalid-multiple-user-chip"],["title","Clear assignees",3,"click"],["type","text","name","assignee",3,"ngModelChange","ngModel","bContactAutocomplete"],["title","Clear verifiers",3,"click"],["type","text","name","verifier",3,"ngModelChange","ngModel","required","bContactAutocomplete"],["for","bv2-state-modal-issue-id",1,"bv2-top-field-label"],
["type","text","name","duplicateOf",3,"ngModelChange","ngModel"],[3,"onUpdate"]],template:function(a){a&1&&D(0,Tnb,14,5,"ng-template",null,0,fh)},dependencies:[lL,nL,pL,oL,Cz,ki,tz,uz,Mz,Bz,zz,vD,Vy,yM,vI,yI,wI,zI,YJ,dU,aT,k1],encapsulation:2});var w_c={ASSIGNEE:0,VERIFIER:1,COMMENT:2,DUPE_ID:3,0:"ASSIGNEE",1:"VERIFIER",2:"COMMENT",3:"DUPE_ID"};var n1=function(){this.dialogRef=r(dL);this.reporter="";this.autocompleteActive=!1};n1.prototype.enableSubmit=function(){return this.reporter!==""};n1.prototype.cancel=function(){this.dialogRef.close()};n1.prototype.save=function(){this.dialogRef.close(this.reporter)};n1.\u0275fac=function(a){return new (a||n1)};
n1.\u0275cmp=t({type:n1,selectors:[["b-reporter-picker-dialog"]],decls:12,vars:3,consts:[["mat-dialog-title",""],["appearance","outline","subscriptSizing","dynamic"],["matInput","",3,"ngModelChange","autocompleteActive","keydown","bContactAutocomplete","ngModel"],["mat-button","",3,"click"],["mat-flat-button","",3,"click","disabled"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"Change Reporter"),J(),I(2,"mat-dialog-content")(3,"mat-form-field",1)(4,"mat-label"),Q(5," Reporter "),J(),I(6,"input",
2),Xg("ngModelChange",function(c){Wg(b.reporter,c)||(b.reporter=c);return c}),M("autocompleteActive",function(c){return b.autocompleteActive=c})("keydown",function(c){c.key==="Enter"&&!b.autocompleteActive&&b.enableSubmit()&&b.save()}),J()()(),I(7,"mat-dialog-actions")(8,"button",3),M("click",function(){return b.cancel()}),Q(9," Cancel "),J(),I(10,"button",4),M("click",function(){return b.save()}),Q(11," Save "),J()());a&2&&(C(6),F("bContactAutocomplete","SINGLE"),Vg("ngModel",b.reporter),C(4),F("disabled",
!b.enableSubmit()))},dependencies:[ki,tz,Bz,vD,Vy,nL,pL,oL,ON,hA,$z,Uz,MN,YJ],styles:["mat-dialog-content[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{margin-top:8px}"]});var x_c=["addCommentDialog"],o1=function(){Z.apply(this,arguments);var a=this;this.componentFridge=r(AC);this.cdr=r(sG);this.activeSession=r(dv);this.analytics=r(wG);this.hotkeys=r(YH);this.componentActions=r(gO);this.issueTypeDialog=r(sL);this.copyIssueIdService=r(N0);this.matDialog=r(kL);this.$log=r(iE);this.issuePicker=r(hS);this.userPreferencesManager=r(yH);this.accessIndicatorService=r(UP);this.currentUserEmail=this.activeSession.getUserEmail();this.uniqueComponentIds$=new Jf;this.effortSpec$=
this.uniqueComponentIds$.pipe(Nf(function(b){return a.componentFridge.watchSet(b)}),B(function(b){return a.getCommonEffortSpec(b)}),Kf({bufferSize:1,refCount:!0}));this.enableBulkEstimatedEffortOption$=this.effortSpec$.pipe(B(function(b){return b!==void 0}));this.hotlistIdMatrix=[];this.hotlistChoices=[];this.onSave=new rG;this.onCreateHotlist=new rG;this.onLoadHotlist=new rG;this.externalWarnings=[];this.enableRecaptcha=this.activeSession.userRequiresCaptcha()&&lu(this.activeSession,"enableBulkEditCaptchaUi");
this.recaptchaResponse="";this.controllerName="baseControls"};Y(o1,Z);o1.\u0275dir=Z.\u0275dir;var y_c=function(a){var b=new NL,c;b.formattingMode=oj((c=zH(a.userPreferencesManager).textDisplayPreferences)==null?void 0:c.lastPublishMode);return b};o1.prototype.hasSelectedIssues=function(){return this.getSelectedIssues().length>0};var z_c=function(a){return a.getSelectedIssues().some(function(b){return!b.isRead})},Unb=function(a){return z_c(a)?"Mark as read":"Mark as unread"},su=function(a){return a.getSelectedIssues().map(function(b){return b.issueId})};
o1.prototype.onSelectionChange=function(){for(var a=this.getSelectedIssues(),b=k(a),c=b.next();!c.done;c=b.next()){var d=void 0;(d=c.value).hotlistId!=null||(d.hotlistId=[])}this.hotlistIdMatrix=a.map(function(e){return e.hotlistId});this.cdr.detectChanges();a=A_c(a);this.uniqueComponentIds$.next(a)};
var A_c=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b.includes(c.componentId)||b.push(c.componentId);return b},B_c=function(a){if(!uC(a.activeSession)){a.externalWarnings=[];var b=Me(a.getSelectedIssues().map(function(e){return jzc(a.accessIndicatorService,e.issueId,e.componentId).pipe(B(function(f){return{issue:e,indicator:f}}))}));Je(b).then(function(e){e=k(e);for(var f=e.next();!f.done;f=e.next()){f=f.value;var h=f.issue;f.indicator.type!=="no_indicator"&&a.externalWarnings.push({type:"issue",
issueId:h.issueId})}}).then(function(){a.cdr.detectChanges()});b=new Set(a.getSelectedIssues().map(function(e){return e.componentId}));b=k(b);for(var c=b.next(),d={};!c.done;d={id$jscomp$627:void 0},c=b.next())d.id$jscomp$627=c.value,a.componentActions.get(d.id$jscomp$627).then(function(e){if(a.activeSession.isInternalSession()&&cr(e)||tC(a.activeSession)&&dr(e)){var f,h={type:"component",path:YWa((f=e.componentPathInfo)==null?void 0:f.componentPathName,e.componentId),accessLevel:e.accessLimit.accessLevel};
a.externalWarnings.push(h);a.cdr.detectChanges()}}).catch(function(e){return function(){a.$log.warn("Could not retrieve component "+e.id$jscomp$627+".")}}(d))}};g=o1.prototype;g.getCommonEffortSpec=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;if(!b.effortSpec)return;b=b.effortSpec;var c=b.id;if(!d){var d=c;var e=b}else if(d!==c)return}return e};
g.bulkEdit=function(a){switch(a){case "ASSIGNEE":p1(this,null,0);break;case "COMPONENT":C_c(this);break;case "VERIFIER":p1(this,null,1);break;case "REPORTER":D_c(this);break;case "CHANGELIST":E_c(this,"changelists","Changelists",!0);break;case "CUSTOM_FIELDS":F_c(this);break;case "FOUND_IN":E_c(this,"foundInVersion","Found In");break;case "VERIFIED_IN":E_c(this,"verifiedInVersion","Verified In");break;case "TARGETED_TO":E_c(this,"targetedToVersion","Targeted To");break;case "COMMENT":G_c(this);break;
case "SLO_START_TIME":H_c(this);break;case "ESTIMATED_EFFORT":I_c(this);break;case "CC":E_c(this,"ccs","CCs");break;default:this.$log.error("unsupported bulk edit field: "+a)}};
g.quickBulkEdit=function(a){switch(a.field){case "PRIORITY":(a=a.newValue)&&q1(this,"priority",a);break;case "SEVERITY":(a=a.newValue)&&q1(this,"severity",a);break;case "STATUS":(a=a.newValue)&&p1(this,$k[a],a==="DUPLICATE"?3:void 0);break;case "TYPE":(a=a.newValue)&&q1(this,"type",a);break;case "IS_ARCHIVED":q1(this,"isArchived",""+a.newValue);break;case "IN_PROD":q1(this,"inProd",""+a.newValue);break;case "CC":q1(this,"ccs",this.currentUserEmail,a.newValue?"ADD":"REMOVE");break;default:this.$log.error("unsupported bulk edit field: "+
a.field)}};
g.bulkEditIssueRelation=function(a){switch(a.issueRelation){case "BLOCKED_BY":a.isMarking?r1(this,{actionType:"ADD",fieldName:"blockedByIssueId",title:"Mark all selected issues as blocked by:",edgeType:"blocker"}):r1(this,{actionType:"REMOVE",fieldName:"blockedByIssueId",title:"Unmark all selected issues as blocked by:",edgeType:"un-blocker"});break;case "BLOCKING":a.isMarking?r1(this,{actionType:"ADD",fieldName:"blockingIssueId",title:"Mark all selected issues as blocking:",edgeType:"blocking"}):r1(this,
{actionType:"REMOVE",fieldName:"blockingIssueId",title:"Unmark all selected issues as blocking:",edgeType:"un-blocking"});break;case "PARENT":a.isMarking?r1(this,{actionType:"ADD",fieldName:"parentId",title:"Mark all selected issues as children of:",edgeType:"child"}):r1(this,{actionType:"REMOVE",fieldName:"parentId",title:"Unlink all selected issues from this parent:",edgeType:"un-parent"});break;case "DUPLICATE":p1(this,$k.DUPLICATE,3);break;default:this.$log.error("unsupported issue relation: "+
a.issueRelation)}};g.bulkMarkIssueRead=function(){var a=z_c(this);q1(this,"readState",a?"true":"")};
var q1=function(a,b,c,d){var e={fieldName:b,value:c};d!==void 0&&(e.actionType=d);var f=su(a),h=[e];b==="deletionReason"&&h.push({fieldName:"isDeleted",value:"true"});d=function(){var l={bulkEditOps:[{issueIds:f,actions:h}]};a.enableRecaptcha&&a.recaptchaResponse!==""&&(l.recaptchaToken=a.recaptchaResponse);a.onSave.emit(l)};b!=="type"||c!=="VULNERABILITY"&&c!=="PRIVACY_ISSUE"?d():(c==="VULNERABILITY"&&Sqc(a.issueTypeDialog,"VULNERABILITY",d,function(){}),c==="PRIVACY_ISSUE"&&Sqc(a.issueTypeDialog,
"PRIVACY_ISSUE",d,function(){}))},p1=function(a,b,c){a.hasSelectedIssues()&&(B_c(a),a.stateModal.showDialog(a.getSelectedIssues(),b,c))},J_c=function(a){var b=a.onSave,c=b.emit,d=su(a),e=a.stateModal.issueEditBuilder,f=[];e.issueState||Fnb(e);e=k(Snb(e));for(var h=e.next();!h.done;h=e.next()){var l=k(h.value);h=l.next().value;l=l.next().value;l!==void 0&&f.push({fieldName:h,value:l})}c.call(b,{bulkEditOps:[{issueIds:d,actions:f}],recaptchaToken:a.stateModal.issueEditBuilder.recaptchaResponse})},D_c=
function(a){a.hasSelectedIssues()&&(B_c(a),eL(a.matDialog.open(n1,{width:"400px"})).pipe(Of(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&q1(a,"reporter",b)}),a.hotkeys.pause())},E_c=function(a,b,c,d){d=d===void 0?!1:d;a.hasSelectedIssues()&&(eL(a.matDialog.open(i1,{width:"400px",data:{fieldDisplayName:c}})).pipe(Of(a.destroyed$)).subscribe(function(e){a.hotkeys.unpause();e&&K_c(a,b,e.addItems,e.removeItems,d)}),a.hotkeys.pause())},H_c=function(a){a.hasSelectedIssues()&&(eL(a.matDialog.open(g1,
{width:"330px",data:{fieldDisplayName:"SLO Start Time"}})).pipe(Of(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();if(b&&(b=b.date)){var c=[];c.push({fieldName:"sloStartTime",value:String(b.seconds)});c.length&&a.onSave.emit({bulkEditOps:[{issueIds:su(a),actions:c}]})}}),a.hotkeys.pause())},I_c=function(a){var b=Xo(a.effortSpec$);a.hasSelectedIssues()&&b!==void 0&&(eL(a.matDialog.open(h1,{width:"400px",data:{fieldDisplayName:"Estimated Effort",effortSpec:b}})).pipe(Of(a.destroyed$)).subscribe(function(c){a.hotkeys.unpause();
if(c){var d=[];d.push({fieldName:"effortEstimate",value:c.estimate});a.onSave.emit({bulkEditOps:[{issueIds:su(a),actions:d}]})}}),a.hotkeys.pause())},K_c=function(a,b,c,d,e){e=e===void 0?!1:e;c=hu(c);d=hu(d);var f=[],h=!["foundInVersion","targetedToVersion","verifiedInVersion"].includes(b),l=function(q){return jra(q,h).map(function(v){return v.trim()})};iu(c)||(c=l(c),e&&(c=c.filter(function(q){return!isNaN(q)})),f.push.apply(f,w(c.map(function(q){return{fieldName:b,value:q,actionType:"ADD"}}))));
iu(d)||(d=l(d),f.push.apply(f,w(d.map(function(q){return{fieldName:b,value:q,actionType:"REMOVE"}}))));f.length&&a.onSave.emit({bulkEditOps:[{issueIds:su(a),actions:f}]})},C_c=function(a){a.hasSelectedIssues()&&(eL(a.matDialog.open(e1,{width:"600px",position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(Of(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.onSave.emit({bulkEditOps:[{issueIds:su(a),actions:[{fieldName:"componentId",value:String(b.componentId)}]}]}),a.analytics.trackEvent(a.controllerName,
"bulkMove"))}),a.hotkeys.pause())},L_c=function(a){a.hasSelectedIssues()&&(eL(a.matDialog.open(d1,{width:"600px",data:{issuesToFlag:a.getSelectedIssues()}})).pipe(Of(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.analytics.trackEvent(a.controllerName,"bulkFlagAsSpam"),q1(a,"deletionReason","ABUSE"))}),a.hotkeys.pause())},G_c=function(a){a.hasSelectedIssues()&&a.addCommentDialog&&(a.comment||(a.comment=y_c(a)),a.addCommentDialogRef=a.matDialog.open(a.addCommentDialog,{panelClass:"no-jitter",
minWidth:512,maxWidth:512}),eL(a.addCommentDialogRef).pipe(Of(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();a.comment&&(b&&Grc(a.comment)&&q1(a,"comment",a.comment.value),a.comment.reset())}),a.hotkeys.pause(),B_c(a))},aob=function(a){var b;(b=a.addCommentDialogRef)==null||b.close(!0)},F_c=function(a){a.hasSelectedIssues()&&eL(a.matDialog.open(n0,{data:a.getSelectedIssues(),width:"500px"})).pipe(Of(a.destroyed$)).subscribe(function(b){b&&(a.onSave.emit({bulkEditOps:b}),a.analytics.trackEvent(a.controllerName,
"bulkCustomField"))})};
o1.prototype.handleHotlistPickerSave=function(a){var b=a.newSelectionMap;var c=a.oldSelectionMap;var d=[],e=[],f=0;Object.entries(b).forEach(function(h){var l=k(h);h=l.next().value;l=l.next().value;l!==c[h]&&(l?d.push(h):e.push(h),f++)});a=[];d.length&&a.push({fieldName:"hotlists",actionType:"ADD",value:d.join(",")});e.length&&a.push({fieldName:"hotlists",actionType:"REMOVE",value:e.join(",")});a.length&&(this.onSave.emit({bulkEditOps:[{issueIds:su(this),actions:a}]}),this.analytics.trackEvent(this.controllerName,"applyHotlists",
"numHotlists",f))};var r1=function(a,b){var c=b.actionType;var d=b.fieldName;a.issuePicker.open({title:b.title,edgeType:b.edgeType,originIsBulk:!0},function(e){a.hotkeys.unpause();e.length!==0&&(e=e[0],a.onSave.emit({bulkEditOps:[{issueIds:su(a),actions:[{fieldName:d,value:e,actionType:c}]}]}))});a.hotkeys.pause()};o1.\u0275fac=function(){var a;return function(b){return(a||(a=de(o1)))(b||o1)}}();
o1.\u0275cmp=t({type:o1,selectors:[["b-grid-controls-base"]],viewQuery:function(a,b){a&1&&(Mg(x_c,5),Mg(j1,5),Mg(m1,5));if(a&2){var c;Qg(c=Rg())&&(b.addCommentDialog=c.first);Qg(c=Rg())&&(b.hotlistPicker=c.first);Qg(c=Rg())&&(b.stateModal=c.first)}},inputs:{hotlistChoices:"hotlistChoices"},outputs:{onSave:"onSave",onCreateHotlist:"onCreateHotlist",onLoadHotlist:"onLoadHotlist"},features:[cg],decls:0,vars:0,template:function(){},encapsulation:2});var s1=function(){};s1.\u0275fac=function(a){return new (a||s1)};s1.\u0275mod=u({type:s1});s1.\u0275inj=p({imports:[RE,EI,JH,PN,Qz,Oy,LH,MM,nN,AM]});var t1=function(){};t1.\u0275fac=function(a){return new (a||t1)};t1.\u0275mod=u({type:t1});t1.\u0275inj=p({imports:[RE,ML,vR,Qz,JH,AM,EI,ZJ,mW,qW,l1]});var u1=function(){o1.apply(this,arguments);this.panels=[];this.isNonPublicSession=this.activeSession.isNonPublicSession();this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha();this.controllerName="dashboardControls";this.onSelectionChange.bind(this);this.getCommonEffortSpec.bind(this)};Y(u1,o1);u1.\u0275dir=o1.\u0275dir;u1.prototype.ngOnChanges=function(a){if(a.panels)this.onSelectionChange()};
u1.prototype.getSelectedIssues=function(){var a=this.panels.flatMap(function(b){return b.selectedIssues});Iba(a,null,function(b){return b.issueId.toString()});return a};u1.\u0275fac=function(){var a;return function(b){return(a||(a=de(u1)))(b||u1)}}();
u1.\u0275cmp=t({type:u1,selectors:[["b-dashboard-controls"]],inputs:{panels:"panels"},features:[Yg([sG]),cg,Hd],decls:7,vars:5,consts:[["addCommentDialog",""],[3,"readStatePrompt","enableBulkEstimatedEffortOption"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks"],[1,"bv2-grid-hotlist-picker"],[1,"bv2-appbar-menu",3,"flagAsSpamClicked","showFlagIssuesAsSpam"],[3,"save","close","externalWarnings"],[3,"onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead","readStatePrompt",
"enableBulkEstimatedEffortOption"],[3,"onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch","shortLinkPrefix","shouldShowCopyIssueShortLinks"],[3,"onApply","onCreate","onLoad","selectedHotlistIds","choices"],["mat-dialog-title",""],[3,"comment","showToolbar"],[3,"externalWarnings"],[1,"flex-kids-x","justify-flex-end"],["mat-button","",1,"medium",3,"mat-dialog-close"],["mat-flat-button","","cdkFocusInitial","",1,"medium","primary",3,"disabled","mat-dialog-close"],[3,"commentChange",
"onSubmit","comment","showToolbar"],[3,"onUpdate"]],template:function(a,b){if(a&1){var c=x();D(0,Vnb,2,4,"b-app-bar-bulk-edit-menus",1)(1,Znb,1,2,"b-copy-issue-id-button",2)(2,$nb,2,2,"div",3);I(3,"b-app-bar-more-menu",4);M("flagAsSpamClicked",function(){z(c);return A(L_c(b))});J();I(4,"b-state-modal",5);M("save",function(){z(c);return A(J_c(b))})("close",function(){z(c);return A(b.hotkeys.unpause())});J();D(5,dob,11,6,"ng-template",null,0,fh)}a&2&&(G(b.hasSelectedIssues()?0:-1),C(),G(b.hasSelectedIssues()?
1:-1),C(),G(b.enableBulkEditUi&&b.hasSelectedIssues()?2:-1),C(),F("showFlagIssuesAsSpam",b.isNonPublicSession&&b.hasSelectedIssues()),C(),F("externalWarnings",b.externalWarnings))},dependencies:[XZ,WZ,dU,C0,j1,vD,Vy,lL,nL,pL,oL,m1,aT,k1,Iw],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var v1=function(){};v1.\u0275fac=function(a){return new (a||v1)};v1.\u0275mod=u({type:v1});v1.\u0275inj=p({imports:[ZZ,MH,mW,RE,vR,M0,s1,AM,JH,ML,t1,qW,l1]});var M_c=function(a,b,c){this.index=a;this.inherited=c;this.editableTemplate=this.template=null;this.name=b.name||"(unnamed template)";this.issueType="--";b.snapshot?this.template=b:(this.editableTemplate=b,this.issueType=this.editableTemplate.type);this.componentId=b.componentId},N_c=function(a,b){this.cellType=b;this.enumFields=null;this.id=a.customFieldId;this.name=a.name;this.type=a.type;if(this.type==="ENUM"||this.type==="REPEATED_ENUM")this.enumFields=(a.allowedValue||[]).map(function(c){return{displayText:c,
value:c}});this.repeated=["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(a.type)},w1=function(a,b){this.dirty=!1;this.collaboratorGroups=[];var c=b.snapshot||{};this.customFields=a;this.new=b.templateId==null;this.componentId=b.componentId;this.name=b.name||"";this.description=b.description||"";this.inheritable=b.inheritable||!1;this.type=c.type||"--";this.priority=c.priority||"--";this.severity=c.severity||"--";this.assignee=Ui(c.assigneeUser)||"";this.verifier=Ui(c.verifierUser)||
"";this.collaborators=Ti(c.collaboratorsUsers)||[];this.staffing=c.plannedAllocations||null;this.cc=Ti(c.ccUsers)||[];this.title=c.title||"";this.comment=c.comment||"";this.formattingMode=c.formattingMode?c.formattingMode:"PLAIN";this.hotlistId=c.hotlistId||[];this.inProd=c.inProd||!1;this.issueAccessLimitLevel=c.issueAccessLimitLevel||"LIMIT_NONE";this.customFieldValues=Object.create(null);a=k(c.customField||[]);for(b=a.next();!b.done;b=a.next())b=b.value,this.customFieldValues[b.customFieldId.toString()]=
b;a=k(Object.entries(this.customFields));for(b=a.next();!b.done;b=a.next())c=k(b.value),b=c.next().value,c=c.next().value,b=Number(b),this.customFieldValues[b]||(this.customFieldValues[b]=c.typedDefaultValue!=null?c.typedDefaultValue:{customFieldId:b})},P_c=function(a,b){b.name=a.name;b.description=a.description;b.inheritable=a.inheritable;var c=b.snapshot||{};c.componentId=a.componentId;O_c(a.type)?delete c.type:c.type=a.type;O_c(a.priority)?delete c.priority:c.priority=a.priority;O_c(a.severity)?
delete c.severity:c.severity=a.severity;c.assigneeUser=Yi(a.assignee);c.verifierUser=Yi(a.verifier);c.collaboratorsUsers=a.collaborators.map(function(f){return Yi(f)});a.collaboratorGroups.length>0&&(c.collaboratorsUsers=yra(a.collaboratorGroups).concat(c.collaboratorsUsers||[]));c.plannedAllocations=a.staffing;c.ccUsers=a.cc.map(function(f){return Yi(f)});c.comment=a.comment;c.formattingMode=a.formattingMode;c.title=a.title;c.hotlistId=a.hotlistId;c.inProd=a.inProd;c.customField=[];c.issueAccessLimitLevel=
a.issueAccessLimitLevel;for(var d=k(Object.keys(a.customFields)),e=d.next();!e.done;e=d.next())(e=a.customFieldValues[e.value])&&!Cn(e)&&c.customField.push(e);b.snapshot=c};
w1.prototype.setCustomField=function(a,b){a=String(a);if(this.customFieldValues[a]){var c=this.customFields[a].type;if(!c)return;switch(c){case "TYPE_UNSPECIFIED":break;case "TEXT":this.customFieldValues[a].textValue=b;break;case "DATE":this.customFieldValues[a].dateValue=b;break;case "ENUM":this.customFieldValues[a].enumValue=b;break;case "NUMERIC":this.customFieldValues[a].numericValue=b;break;case "REPEATED_TEXT":this.customFieldValues[a].repeatedTextValue={values:b||[]};break;case "REPEATED_DATE":this.customFieldValues[a].repeatedDateValue=
{values:b||[]};break;case "REPEATED_ENUM":this.customFieldValues[a].repeatedEnumValue={values:b||[]};break;case "REPEATED_NUMERIC":this.customFieldValues[a].repeatedNumericValue={values:b||[]};break;default:xb(c,"Unexpected custom field type: "+c)}}tu(this)};w1.prototype.isDirty=function(){return this.dirty};var tu=function(a){a.dirty=!0};w1.prototype.setFormattingMode=function(a){this.formattingMode=a;tu(this)};w1.prototype.onAccessLimitLevelSelected=function(a){this.issueAccessLimitLevel=a;tu(this)};
var O_c=function(a){return iu(a)||a==="--"};w1.prototype.getCollaboratorGroupsString=function(){return this.collaboratorGroups.length===0?"":this.collaboratorGroups.length>1?this.collaboratorGroups.length+" groups selected":this.collaboratorGroups[0]};w1.prototype.separateCollaboratorGroups=function(a){a=new Set(a);for(var b=[],c=k(this.collaborators),d=c.next();!d.done;d=c.next())d=d.value,a.has(d)?this.collaboratorGroups.push(d):b.push(d);this.collaborators=b};
var fpb=function(a,b){a.collaborators=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});tu(a)},gpb=function(a,b){a.cc=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});tu(a)},Q_c={value:"--",displayText:"--"};var R_c=new PC("M/d/yyyy"),x1=function(){this.dateFormatter=r(vL);this.boundValueChange=new rG;this.textValue="";this.ariaLabelledBy=this.inputId=void 0;this.isRequired=!1};x1.prototype.ngOnInit=function(){if(this.boundValue){if(this.boundValue)if(typeof this.boundValue==="string")var a=Fi(this.boundValue);else{var b;a=(b=zn(this.boundValue))!=null?b:void 0}else a=void 0;this.googDate=a;this.change(this.googDate,!0)}};
x1.prototype.change=function(a,b){b=b===void 0?!1:b;var c=this.googDate;if((c&&a?!c.equals(a):c||a)&&!b){this.googDate=a;if(a)if(typeof this.boundValue==="string")a=R_c.format(a);else{var d;a=(d=Lza(R_c.format(a)))!=null?d:void 0}else a=typeof this.boundValue==="string"?"":void 0;this.boundValue=a;this.boundValueChange.emit(this.boundValue);this.textValue=this.googDate?this.dateFormatter.formatUserCalendar(this.googDate):""}};x1.\u0275fac=function(a){return new (a||x1)};
x1.\u0275cmp=t({type:x1,selectors:[["bv2-input-date-picker"]],inputs:{boundValue:"boundValue",inputId:[0,"bv2Id","inputId"],ariaLabelledBy:[0,"bv2AriaLabelledby","ariaLabelledBy"],isRequired:"isRequired"},outputs:{boundValueChange:"boundValueChange"},decls:1,vars:4,consts:[[3,"valueChange","required","value","customFormId","customAriaLabelledBy"]],template:function(a,b){a&1&&(I(0,"b-date-time-input",0),M("valueChange",function(c){return b.change(c)}),J());a&2&&F("required",b.isRequired)("value",b.googDate)("customFormId",
b.inputId)("customAriaLabelledBy",b.ariaLabelledBy)},dependencies:[h0],encapsulation:2});var mob=function(a,b){return b.value},y1=function(){this.rows$=new bo([]);this.tableColumns=["user","involvement","remove-user"];this.involvementOptions=$qc.map(function(a){return{value:a,displayText:mta[a]}});this.allocations=[];this.isAllowedToEdit=!1;this.updatedAllocations=new rG;this.removedUser=new rG};
y1.prototype.ngOnChanges=function(a){if(a.allocations){a=[];for(var b=k(this.allocations),c=b.next();!c.done;c=b.next()){var d=c.value,e=void 0;c=(e=d.user)==null?void 0:e.user;var f=e=void 0;d=(f=(e=d.allocation)==null?void 0:e.involvement)!=null?f:"HIGH";c&&a.push({user:c,involvement:d})}a=a.sort(function(h,l){h=h.user.emailAddress;l=l.user.emailAddress;return!h&&l?-1:!l&&h?1:h.localeCompare(l)});this.rows$.next(a)}};
var lob=function(a,b,c){var d,e,f,h,l;return ve(function(q){d=b.user;e={user:{user:d},allocation:{involvement:c,aggregationValue:0}};f=Vp(e);if(!f)return q.return();h=[].concat(w(a.allocations));l=h.findIndex(function(v){return Vp(v)===f});if(l<0)return q.return();h[l]=e;a.updatedAllocations.emit(h);Ce(q)})},pob=function(a,b){var c,d,e,f;return ve(function(h){c={user:{user:b.user}};d=Vp(c);if(!d)return h.return();e=[].concat(w(a.allocations));f=e.findIndex(function(l){return Vp(l)===d});if(f<0)return h.return();
e.splice(f,1);a.updatedAllocations.emit(e);a.removedUser.emit(b.user.emailAddress);Ce(h)})};y1.\u0275fac=function(a){return new (a||y1)};
y1.\u0275cmp=t({type:y1,selectors:[["b-allocated-users-table"]],inputs:{allocations:"allocations",isAllowedToEdit:"isAllowedToEdit"},outputs:{updatedAllocations:"updatedAllocations",removedUser:"removedUser"},standalone:!0,features:[Hd,$g],decls:13,vars:4,consts:[["mat-table","","recycleRows","",3,"dataSource"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["matColumnDef","user"],["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",
4,"matCellDef"],["matColumnDef","involvement"],["matColumnDef","remove-user"],["mat-header-row",""],["mat-row",""],["mat-header-cell",""],["tabindex","-1","mat-cell",""],["size","small",3,"email"],[1,"user-name",3,"email","hovercardFocusEnabled","availabilityChipEnabled"],[1,"involvement-header"],["name","help-outline","size","small","role","button","tabindex","0",1,"involvement-help-icon",3,"matTooltip"],[1,"involvement-select",3,"selectionChange","disabled","value"],[3,"value"],["mat-icon-button",
"","aria-label","Remove allocated user","matTooltip","Remove allocated user",1,"remove-user-btn","xs",3,"click","disabled"],["svgIcon","delete","fill","none"]],template:function(a,b){a&1&&(I(0,"table",0),D(1,eob,1,0,"tr",1)(2,fob,1,0,"tr",2),vg(3,3),D(4,gob,2,0,"th",4)(5,iob,2,1,"td",5),wg(),vg(6,6),Bg(7),D(8,job,4,2,"th",4)(9,nob,4,2,"td",5),wg(),vg(10,7),D(11,oob,2,0,"th",4)(12,qob,3,1,"td",5),wg(),J());a&2&&(F("dataSource",b.rows$),C(),F("matHeaderRowDef",b.tableColumns),C(),F("matRowDefColumns",
b.tableColumns),C(5),Ela("Set the involvement level of people\n    allocated to this issue. Zero involvement levels are useful when a person is involved in the\n    work but does not spend a significant portion of their time on it."))},dependencies:[RE,$D,JH,vD,Xy,aS,fQ,bR,aR,OQ,UQ,QQ,NQ,WQ,RQ,TQ,XQ,ZQ,LH,FH,HH,AM,yM,lR,mQ,My,BM,wM,tM],styles:[".mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:32px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%], th.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-mdc-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-mdc-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-mdc-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}.mat-mdc-row[_ngcontent-%COMP%]:last-of-type   .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}td.mat-mdc-cell.mat-column-involvement[_ngcontent-%COMP%], td.mat-mdc-footer-cell.mat-column-involvement[_ngcontent-%COMP%], th.mat-mdc-header-cell.mat-column-involvement[_ngcontent-%COMP%]{padding-right:75px}.user-name[_ngcontent-%COMP%]{margin-left:4px}.involvement-header[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.involvement-help-icon[_ngcontent-%COMP%]{margin-left:4px}.mat-column-involvement[_ngcontent-%COMP%]{width:150px}.mat-column-remove-user[_ngcontent-%COMP%]{width:36px}mat-select[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}mat-select[_ngcontent-%COMP%]:focus-visible{box-shadow:inset 0 0 0 2px #1a73e8;box-shadow:inset 0 0 0 2px var(--primary);outline:none}\n/*# sourceMappingURL=allocated_users_table.css.map */"],
changeDetection:0});var z1=function(){this.isAllowedToEdit=!1;this.editPlaceholder=new rG;this.removePlaceholder=new rG};ea.Object.defineProperties(z1.prototype,{placeholderLabel:{configurable:!0,enumerable:!0,get:function(){var a=this.placeholder.role;return"Placeholder: "+this.placeholder.count+" "+(a&&a!=="JOB_ROLE_UNSPECIFIED"?Ok[a]:"Other")}}});z1.\u0275fac=function(a){return new (a||z1)};
z1.\u0275cmp=t({type:z1,selectors:[["b-placeholder-chip"]],inputs:{placeholder:"placeholder",isAllowedToEdit:"isAllowedToEdit"},outputs:{editPlaceholder:"editPlaceholder",removePlaceholder:"removePlaceholder"},standalone:!0,features:[$g],decls:6,vars:3,consts:[[1,"placeholder-chip"],["size","small",3,"email"],[1,"placeholder-text",3,"click"],["mat-icon-button","","aria-label","'Remove placeholder'",1,"remove-btn","xs",3,"click","disabled"],["svgIcon","close"]],template:function(a,b){a&1&&(I(0,"span",
0),K(1,"b-user-image",1),I(2,"span",2),M("click",function(){b.isAllowedToEdit&&b.editPlaceholder.emit(b.placeholder)}),Q(3),J(),I(4,"button",3),M("click",function(){b.removePlaceholder.emit(b.placeholder)}),K(5,"mat-icon",4),J()());a&2&&(C(),F("email",void 0),C(2),R(" ",b.placeholderLabel," "),C(),F("disabled",!b.isAllowedToEdit))},dependencies:[RE,$D,JH,vD,Xy,QE,KH,BM,wM],styles:[".placeholder-chip[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;border-radius:24px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:1.75em;line-height:1.75em;padding:0 0 0 0;background-color:#fff;background-color:var(--surface-default);align-items:center;border:1px solid var(--hairline);cursor:pointer;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:20px;width:350px}.placeholder-chip[_ngcontent-%COMP%]   b-user-image[_ngcontent-%COMP%]{margin-left:1px;margin-right:4px}.placeholder-chip[_ngcontent-%COMP%]   .placeholder-text[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text-high-contrast);font-style:normal;font-weight:400;letter-spacing:.3px;width:100%}.placeholder-chip[_ngcontent-%COMP%]   .remove-btn[_ngcontent-%COMP%]{margin-right:1px;margin-bottom:1px}\n/*# sourceMappingURL=placeholder_chip.css.map */"],
changeDetection:0});var S_c=function(){return[]},A1=function(){this.matDialog=r(kL)};A1.prototype.show=function(a,b){this.dialog=this.matDialog.open(B1,{width:"325px",panelClass:"no-jitter",data:{allocatedPlaceholders:a,initialRole:b}});return Je(eL(this.dialog))};A1.\u0275fac=function(a){return new (a||A1)};A1.\u0275prov=n({token:A1,factory:A1.\u0275fac,providedIn:"root"});
var B1=function(){var a=this;this.data=r(jL);this.dialogRef=r(dL);this.role="SWE";this.count=new Az(1,{validators:[pz,Hpa(/^\d+$/),Dpa(3E5)]});this.roleToCountMap=new Map;this.JOB_ROLE_JS_TEXT=Ok;this.roleOptions$=new bo(arc.map(function(f){return{value:f,displayText:a.JOB_ROLE_JS_TEXT[f],disabled:!1}}));for(var b=k(this.data.allocatedPlaceholders),c=b.next();!c.done;c=b.next()){var d=c.value;c=d.role;var e=void 0;d=Math.ceil((e=d.count)!=null?e:0);this.roleToCountMap.set(c,d)}this.roleOptions$.next(arc.map(function(f){return{value:f,
displayText:a.JOB_ROLE_JS_TEXT[f],disabled:a.roleToCountMap.has(f)}}));this.data.initialRole&&(this.role=this.data.initialRole);T_c(this)},T_c=function(a){var b=a.roleToCountMap.get(a.role);a.count.setValue(b!=null?b:1)};B1.prototype.apply=function(){var a,b={role:this.role,count:(a=this.count.value)!=null?a:1};this.dialogRef.close(b)};
ea.Object.defineProperties(B1.prototype,{updatingExistingPlaceholder:{configurable:!0,enumerable:!0,get:function(){return this.roleToCountMap.has(this.role)}},title:{configurable:!0,enumerable:!0,get:function(){return this.updatingExistingPlaceholder?"Editing Placeholder":"Adding Placeholder"}},buttonText:{configurable:!0,enumerable:!0,get:function(){return this.updatingExistingPlaceholder?"Update":"Add"}}});B1.\u0275fac=function(a){return new (a||B1)};
B1.\u0275cmp=t({type:B1,selectors:[["b-placeholder-dialog"]],standalone:!0,features:[$g],decls:22,vars:11,consts:[[1,"placeholder-dialog"],["mat-dialog-title",""],["mat-dialog-content","",1,"content"],["appearance","outline",1,"job-role-field"],[3,"selectionChange","value","disabled"],[3,"matTooltip","matTooltipDisabled"],["appearance","outline",1,"count-field"],["type","number","min","1","max","300000","step","1","matInput","","placeholder","Enter number",3,"formControl","required"],["mat-dialog-actions",
"",1,"actions"],["mat-button","","mat-dialog-close","","aria-label","Cancel",1,"cancel"],["mat-flat-button","","color","primary","aria-label","Add allocated placeholder",1,"apply",3,"click","disabled"],[3,"value","disabled"],[1,"role-option"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"h1",1),Q(2),J(),I(3,"section",2)(4,"mat-form-field",3)(5,"mat-label"),Q(6,"Role"),J(),I(7,"mat-select",4),M("selectionChange",function(d){b.role=d.value;T_c(b)}),tg(8,rob,4,5,"span",5,sg),S(10,"async"),J()(),I(11,
"mat-form-field",6)(12,"mat-label"),Q(13,"Number"),J(),K(14,"input",7),D(15,sob,2,0,"mat-error")(16,tob,2,0,"mat-error"),J()(),I(17,"footer",8)(18,"button",9),Q(19," Cancel "),J(),I(20,"button",10),M("click",function(){return b.apply()}),Q(21),J()()());if(a&2){var c;C(2);Tg(b.title);C(5);F("value",b.role)("disabled",b.updatingExistingPlaceholder);C();ug((c=U(10,8,b.roleOptions$))!==null&&c!==void 0?c:ah(10,S_c));C(6);F("formControl",b.count)("required",!0);C();G(b.count.getError("max")?15:b.count.getError("pattern")?
16:-1);C(5);F("disabled",b.count.invalid);C();R(" ",b.buttonText," ")}},dependencies:[RE,Iw,JH,vD,Vy,ML,lL,nL,pL,oL,NN,MN,$z,Uz,Sz,PN,ON,hA,mR,eQ,mQ,My,LH,FH,HH,xy,Rz,ki,Dz,tz,Mz,Lz,Kz,Gz],styles:["mat-form-field[_ngcontent-%COMP%]{width:100%}.job-role-field[_ngcontent-%COMP%]{padding-top:4px}.content[_ngcontent-%COMP%]{padding:0 24px}\n/*# sourceMappingURL=placeholder_dialog.css.map */"],changeDetection:0});var U_c=function(){return[]},C1=function(){this.matDialog=r(kL)};C1.prototype.show=function(a,b,c){this.dialog=this.matDialog.open(D1,{width:"650px",disableClose:!0,panelClass:"no-jitter",data:{issueId:b,plannedAllocations:a,isAllowedToEdit:c}});return Je(eL(this.dialog))};C1.\u0275fac=function(a){return new (a||C1)};C1.\u0275prov=n({token:C1,factory:C1.\u0275fac,providedIn:"root"});
var D1=function(){var a=r(iT);Z.call(this);var b=this;this.data=r(jL);this.dialogRef=r(dL);this.editIssueService=r(jM);this.placeholderDialogService=r(A1);this.userValidators={userNotInGoogleDomain:function(h){return h?h.every(function(l){return l.indexOf("@google.com")>0}):!0},isNotUserType:function(h){return h?h.every(function(l){return l.indexOf("USER:")===0}):!0},userAlreadySelected:function(h){if(h){h=np(h).map(function(q){var v,y;return(y=(v=q.user)==null?void 0:v.emailAddress)!=null?y:""}).filter(function(q){return!!q});
h=k(h);for(var l=h.next();!l.done;l=h.next())if(b.emailsSet.has(l.value))return!1}return!0}};this.plannedAllocations$=new bo([]);this.emailsSet=new Set;this.placeholderAllocations$=this.plannedAllocations$.pipe(B(function(h){return h.filter(function(l){return!!l.placeholder}).map(function(l){return l.placeholder})}));this.availableRolesToAllocate$=this.placeholderAllocations$.pipe(B(function(h){var l=new Set(h.map(function(q){return q.role}));return arc.filter(function(q){return!l.has(q)})}));var c;
this.isAllowedToEdit=(c=this.data.isAllowedToEdit)!=null?c:!1;this.creatingNewIssue=!this.data.issueId;this.title=(this.isAllowedToEdit?"Editing":"Viewing")+" staffing";c=this.data;this.issueId=c.issueId;var d;this.plannedAllocations$.next((d=c.plannedAllocations)!=null?d:[]);d=k(this.plannedAllocations$.value);for(var e=d.next();!e.done;e=d.next()){var f=c=void 0;(e=(c=e.value.user)==null?void 0:(f=c.user)==null?void 0:f.emailAddress)&&this.emailsSet.add(e)}this.subscriptions.add(jT(a,function(){return b.hasChanges()},
!1))};Y(D1,Z);D1.\u0275dir=Z.\u0275dir;D1.prototype.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(Of(this.destroyed$)).subscribe(function(b){b.key==="Escape"&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(Of(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};
var vob=function(a,b,c){var d,e,f,h,l,q,v;return ve(function(y){if(y.nextAddress==1)return e=(d=Xo(a.placeholderAllocations$))!=null?d:[],c||(c=b.length>0?b[0]:"SWE"),xe(y,a.placeholderDialogService.show(e,c),2);f=y.yieldResult;if(!f)return y.return();h={placeholder:f};l=Vp(h);if(!l)return y.return();q=[].concat(w(a.plannedAllocations$.value));v=q.findIndex(function(E){return Vp(E)===l});v<0?q.push(h):q[v]=h;a.plannedAllocations$.next(q);Ce(y)})};
D1.prototype.removePlaceholder=function(a){var b=this,c,d,e,f;return ve(function(h){c={placeholder:a};d=Vp(c);if(!d)return h.return();e=[].concat(w(b.plannedAllocations$.value));f=e.findIndex(function(l){return Vp(l)===d});if(f<0)return h.return();e.splice(f,1);b.plannedAllocations$.next(e);Ce(h)})};D1.prototype.removeEmail=function(a){this.emailsSet.delete(a)};
var V_c=function(a,b){var c,d,e,f,h,l;return ve(function(q){if(b.length<1)return q.return();c=np(b);f=(d=c[0])==null?void 0:(e=d.user)==null?void 0:e.emailAddress;if(!f||a.emailsSet.has(f))return q.return();h={user:{user:{emailAddress:f}},allocation:{involvement:"HIGH",aggregationValue:0}};l=[].concat(w(a.plannedAllocations$.value),[h]);a.plannedAllocations$.next(l);a.emailsSet.add(f);a.usersInput.removeItem(0);Ce(q)})};D1.prototype.hasChanges=function(){return!yi(this.plannedAllocations$.value,this.data.plannedAllocations)};
D1.prototype.closeIfUnmodified=function(){this.hasChanges()||this.dialogRef.close()};D1.prototype.close=function(){this.dialogRef.close()};D1.prototype.save=function(){var a=this;return ve(function(b){if(b.nextAddress==1)return a.creatingNewIssue?(a.dialogRef.close(a.plannedAllocations$.value),b.return()):xe(b,Asc(a.editIssueService,a.issueId,{plannedAllocations:a.plannedAllocations$.value}),2);a.dialogRef.close();Ce(b)})};D1.\u0275fac=function(a){return new (a||D1)};
D1.\u0275cmp=t({type:D1,selectors:[["b-staffing-dialog"]],viewQuery:function(a,b){a&1&&Mg(QP,5);if(a&2){var c;Qg(c=Rg())&&(b.usersInput=c.first)}},standalone:!0,features:[cg,$g],decls:25,vars:24,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["messageType","caution"],[1,"placeholder-display"],[1,"placeholder-chip-set"],[3,"placeholder","isAllowedToEdit"],[1,"add-placeholder-actions"],[3,"matTooltip","matTooltipDisabled"],["mat-stroked-button","","color","primary",1,"add-placeholder-btn",
"small",3,"click","disabled"],["name","help-outline","size","small","role","button","tabindex","0",1,"add-placeholder-help-icon",3,"matTooltip"],[3,"usersChange","maxUserAllowed","placeholderText","customValidators"],[3,"updatedAllocations","removedUser","allocations","isAllowedToEdit"],["mat-dialog-actions",""],["mat-stroked-button","","mat-dialog-close","","aria-label","Cancel",1,"cancel-button",3,"click"],["mat-flat-button","","color","primary",1,"done-button",3,"click","disabled"],[3,"editPlaceholder",
"removePlaceholder","placeholder","isAllowedToEdit"]],template:function(a,b){if(a&1){var c=x();I(0,"h1",0);Q(1);J();I(2,"section",1);D(3,uob,3,0,"b-callout",2);Bg(4);S(5,"async");I(6,"div",3)(7,"div",4);tg(8,wob,1,2,"b-placeholder-chip",5,sg);S(10,"async");J();I(11,"div",6)(12,"span",7)(13,"button",8);M("click",function(){z(c);var h=Fla(4);return A(vob(b,h))});Q(14,"Add placeholder");J()();Bg(15);K(16,"b-icon",9);J()();I(17,"b-multi-user-input",10);M("usersChange",function(h){z(c);return A(V_c(b,
h))});J();I(18,"b-allocated-users-table",11);S(19,"async");M("updatedAllocations",function(h){z(c);b.plannedAllocations$.next(h);return A()})("removedUser",function(h){z(c);return A(b.removeEmail(h))});J()();I(20,"footer",12)(21,"button",13);M("click",function(){z(c);return A(b.close())});Q(22," Cancel ");J();I(23,"button",14);M("click",function(){z(c);return A(b.save())});Q(24," Save ");J()()}if(a&2){var d,e,f;C();Tg(b.title);C(2);G(b.isAllowedToEdit?-1:3);C();a=Ela((d=U(5,14,b.availableRolesToAllocate$))!==
null&&d!==void 0?d:ah(21,U_c));C(4);ug((e=U(10,17,b.placeholderAllocations$))!==null&&e!==void 0?e:ah(22,U_c));C(4);F("matTooltip","All supported roles have already been allocated.")("matTooltipDisabled",a.length>0);C();F("disabled",!b.isAllowedToEdit||!a.length);C(3);F("matTooltip","Allocate placeholder roles when\n      planning how many people are needed to complete this issue but the exact contributors are\n      not yet known.");eg("aria-label","Allocate placeholder roles when\n      planning how many people are needed to complete this issue but the exact contributors are\n      not yet known.");
C();F("maxUserAllowed",1)("placeholderText","Search for a user to allocate")("customValidators",b.userValidators);eg("disabled",b.isAllowedToEdit?null:!0);C();F("allocations",(f=U(19,19,b.plannedAllocations$))!==null&&f!==void 0?f:ah(23,U_c))("isAllowedToEdit",b.isAllowedToEdit);C(5);F("disabled",!b.hasChanges())}},dependencies:[y1,RE,Iw,WR,ZP,$P,JH,vD,Vy,ML,lL,nL,pL,oL,LH,FH,HH,AM,yM,ER,QP,xy,z1],styles:["[_nghost-%COMP%]     .bv2-multi-user-input.bv2-multi-user-input{width:auto}[_nghost-%COMP%]     .bv2-multi-user-input.bv2-multi-user-input input.bv2-multi-user-embedded-input.bv2-multi-user-embedded-input{min-width:100%}b-callout[_ngcontent-%COMP%]{margin-bottom:16px}.placeholder-display[_ngcontent-%COMP%]{border:1px solid var(--hairline);border-radius:8px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-bottom:24px;padding:16px}.placeholder-display[_ngcontent-%COMP%]   .placeholder-chip-set[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.placeholder-display[_ngcontent-%COMP%]   .add-placeholder-actions[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;margin-top:8px;max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.placeholder-display[_ngcontent-%COMP%]   .add-placeholder-actions[_ngcontent-%COMP%]   .add-placeholder-btn[_ngcontent-%COMP%]{font-size:.875rem;padding:12px;width:150px}.placeholder-display[_ngcontent-%COMP%]   .add-placeholder-actions[_ngcontent-%COMP%]   .add-placeholder-help-icon[_ngcontent-%COMP%]{margin-left:8px}b-multi-user-input[_ngcontent-%COMP%]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}b-multi-user-input[_ngcontent-%COMP%]   .bv2-multi-user-errors[_ngcontent-%COMP%]{padding-bottom:0}\n/*# sourceMappingURL=staffing_dialog.css.map */"],
changeDetection:0});var E1=function(){this.confirmationDialogService=r(rL)},W_c=function(a,b,c){return ve(function(d){return d.return(Rqc(a.confirmationDialogService,{title:b,content:ti(c)}))})},X_c=function(a,b){return ve(function(c){if(b.canEditIssuesInComponent){var d;if(d=b.issueAccessLimitLevel==="LIMIT_VIEW"){d=!!b.assigneeUser;var e=!!b.verifierUser,f,h=!((f=b.collaboratorsUsers)==null||!f.length),l;f=!((l=b.ccUsers)==null||!l.length);d=!d&&!e&&!h&&!f}c=d?c.return(W_c(a,b.confirmationDialogText.noListedUsers.title,
b.confirmationDialogText.noListedUsers.content)):b.issueAccessLimitLevel==="LIMIT_VIEW"&&xob(b)?c.return(W_c(a,b.confirmationDialogText.loseAccess.title,b.confirmationDialogText.loseAccess.content)):c.return(!0)}else c=c.return(!0);return c})};E1.\u0275fac=function(a){return new (a||E1)};E1.\u0275prov=n({token:E1,factory:E1.\u0275fac,providedIn:"root"});var Y_c=["saveBeforeClosingDialog"],Z_c=["deleteDialog"],$ob=function(){return[]},$_c={noListedUsers:{title:"Template has no listed users",content:"Due to the Issue Access Limit that you have set, and the lack of any listed user on the template, an issue created with this template could become inaccessible. We strongly recommend defaulting to at least one user with access. Are you sure you still want to proceed?"},loseAccess:{title:"You could lose access to issues created with this template",content:"Due to the Issue Access Limit that you have set, and the fact that you are not listed on the template, an issue created with this template could become inaccessible. Are you sure you still want to proceed?"}},
F1=function(){Z.call(this);var a=this;this.matDialogService=r(kL);this.cdr=r(sG,{self:!0});this.templatesApi=r(DC);this.hotlistApi=r(hF);this.constants=r(uL);this.paths=r(zO);this.butterBar=r(hE);this.analytics=r(wG);this.issueTypeDialog=r(sL);this.componentActions=r(gO);this.documentationLinks=r(cL);this.appEvents=r(nE);this.accessPolicyApi=r(pC);this.trackerFridge=r(vH);this.componentFridge=r(AC);this.currentUserBookmarksFridge=r(rF);this.confirmIssueAccessLimitSettingsService=r(E1);this.activeSession=
r(dv);this.staffingDialogService=r(C1);this.defaultIndex=-1;this.componentId=0;this.supportCustomFields=!1;this.templates=[];this.customFieldRows=[];this.customFieldIds=Object.create(null);this.currentTemplateRow=this.currentTemplate=null;this.currentIndex=-1;this.templateRows=[];this.afterSaveCheckFunc=null;this.hotlists=[];this.selectedHotlists=[];this.hotlistMap={};this.selectedHotlistIds=[[]];this.templateHotlistIds=[];this.componentIdsToPaths={};this.hotlistPickerIndex=0;this.enableTemplateInheritance=
this.implicitAccessEnabled=!1;this.issueTypeChoices=a0c(this);this.priorityChoices=b0c(this);this.severityChoices=c0c(this);this.FieldType=PM;this.componentId$=new If(0);this.component$=this.componentId$.pipe(Nf(function(b){return a.componentFridge.watch(b)}));this.trackerId$=this.component$.pipe(B(function(b){return b==null?void 0:b.trackerId}));this.tracker$=this.trackerId$.pipe(Nf(function(b){return b?a.trackerFridge.watch(b):Fe(void 0)}));this.ROUTES=tq;this.COLLABORATOR_GROUPS_TOOLTIP="Collaborator groups are trusted groups that are configured by tracker admins only. Select and add these groups if they should be given collaborator access to this issue.";
this.trackerCollaboratorGroups=[];this.enablePlannedAllocationsUi=lu(this.activeSession,"enablePlannedAllocationsUi");this.enablePeoplekitAc=lu(this.activeSession,"enablePeoplekitUserAc");this.BASE_AUTOCOMPLETE_CONFIG={showSuggestions:!0,moveAutocompleteAboveAnchorIfOffscreen:!0,density:2};this.SESSION_OPTIONS=(new Ls).setFilter(Fq(1));this.subscriptions.add(this.tracker$.subscribe(function(b){b&&(a.trackerCollaboratorGroups=Si(b.collaboratorGroups));a.currentTemplate&&a.currentTemplate.separateCollaboratorGroups(a.trackerCollaboratorGroups)}));
this.enableTemplateInheritance=lu(this.activeSession,"enableTemplateInheritance")};Y(F1,Z);F1.\u0275dir=Z.\u0275dir;g=F1.prototype;
g.ngOnInit=function(){var a=this,b=function(){a.fetchUserHotlists()};this.fetchUserHotlists();this.accessPolicyApi.checkComponentImplicitAccessEnabled(this.componentId).then(function(c){return a.implicitAccessEnabled=c});this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(b));this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(b));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(b));Promise.all([this.loadCustomFields(),this.loadTemplates()]).finally(function(){G1(a);
a.cdr.detectChanges()})};g.ngAfterViewInit=function(){this.componentId$.next(this.componentId)};g.updateSelectedHotlists=function(){var a=this,b=this.templateHotlistIds[this.hotlistPickerIndex];this.selectedHotlistIds=b?[b]:[[]];this.selectedHotlists=this.hotlists.filter(function(c){return a.selectedHotlistIds[0].includes(c.hotlistId)});Kba(this.selectedHotlists,function(c,d){return Gu(c.name,d.name)})};
g.removeHotlist=function(a){Sa(this.templateHotlistIds[this.hotlistPickerIndex],a);tu(this.currentTemplate);this.updateSelectedHotlists()};g.createHotlist=function(a){var b=this;var c=a.name;var d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent("editTemplate","createHotlist");du(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){du(b.butterBar,"Hotlist "+c+" created successfully.");b.addHotlist(e);b.appEvents.hotlistCreated.next();d(e);b.cdr.detectChanges()}).catch(a)};
g.handleHotlistPickerSave=function(a){var b=this;var c=a.oldSelectionMap;Cc(a.newSelectionMap,function(d,e){e=Ei(e);if(d!==c[e]){tu(b.currentTemplate);var f=b.selectedHotlistIds[0].includes(e);d&&!f?(d=b.templateHotlistIds[b.hotlistPickerIndex],Oa(d,e)||d.push(e)):!d&&f&&Sa(b.templateHotlistIds[b.hotlistPickerIndex],e)}},this);this.updateSelectedHotlists()};
g.loadHotlist=function(a){var b=this;var c=a.hotlistId;var d=a.successCallback;a=a.errorCallback;this.hotlistApi.get(c).then(function(e){b.addHotlist(e);d(e);b.cdr.detectChanges()}).catch(a)};g.fetchUserHotlists=function(){var a=this;Je(sF(this.currentUserBookmarksFridge)).then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);a.cdr.detectChanges()})};g.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&Sa(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};
var a0c=function(a){var b=a.constants.editIssueTypes.map(function(c){return{value:c,displayText:jpb(c),altText:a.constants.issueTypesShortDescriptions.get(c)}});return[Q_c].concat(b)},jpb=function(a){return a===Q_c.value?a:Oi(a)};F1.prototype.getDateValue=function(a){return a};F1.prototype.getListFieldType=function(a){return a};
var cpb=function(a){var b,c,d,e;return((b=a.repeatedTextValue)==null?void 0:b.values)||((c=a.repeatedDateValue)==null?void 0:c.values)||((d=a.repeatedEnumValue)==null?void 0:d.values)||((e=a.repeatedNumericValue)==null?void 0:e.values)||null},Mob=function(a){a.currentTemplateRow.issueType==="VULNERABILITY"||a.currentTemplateRow.issueType==="PRIVACY_ISSUE"?Sqc(a.issueTypeDialog,a.currentTemplateRow.issueType==="VULNERABILITY"?"VULNERABILITY":"PRIVACY_ISSUE",function(){a.currentTemplate.type=a.currentTemplateRow.issueType;
tu(a.currentTemplate)},function(){a.currentTemplateRow.issueType=a.currentTemplate.type}):(a.currentTemplate.type=a.currentTemplateRow.issueType,tu(a.currentTemplate))},b0c=function(a){return[Q_c].concat(a.constants.priorities.map(function(b){return{value:b,displayText:b}}))},c0c=function(a){return[Q_c].concat(a.constants.severities.map(function(b){return{value:b,displayText:b}}))},d0c=function(a){return a.templateRows.filter(function(b){return!b.inherited})},e0c=function(a){return a.templateRows.filter(function(b){return b.inherited})};
F1.prototype.setCustomField=function(a,b,c){a.editableTemplate.setCustomField(b,c!==null?c:void 0)};
var ipb=function(a){a.currentTemplate=null;a.currentTemplateRow=null;a.currentIndex=-1;G1(a)},Bob=function(a,b){var c=a.currentIndex;f0c(a,function(){b.index===c?ipb(a):a.openEditor(b.index)})},g0c=function(a){a.templateHotlistIds.push([]);f0c(a,function(){a.openEditor()})},Dob=function(a,b){return b.index>=0&&b.index===a.currentIndex},Fob=function(a,b){var c;return b.index>=0&&!((c=a.templates[b.index])==null?0:c.default)},hpb=function(a){var b,c,d,e,f,h,l,q,v,y,E,H,O,N;return ve(function(T){if(T.nextAddress==
1){if(!a.currentTemplate)return T.return();c=(b=a.currentTemplate.collaborators)!=null?b:[];e=(d=a.currentTemplate.collaboratorGroups)!=null?d:[];return xe(T,X_c(a.confirmIssueAccessLimitSettingsService,{assigneeUser:a.currentTemplate.assignee,verifierUser:a.currentTemplate.verifier,ccUsers:a.currentTemplate.cc,collaboratorsUsers:[].concat(w(c),w(e)),issueAccessLimitLevel:a.currentTemplate.issueAccessLimitLevel,currentUserEmail:a.activeSession.getUserEmail(),canEditIssuesInComponent:!0,confirmationDialogText:$_c}),
2)}f=T.yieldResult;if(!f)return T.return();a.currentIndex<0?(l="creating",q={componentId:a.componentId,default:!1},h=function(da){du(a.butterBar,da.name?'Template "'+da.name+'" created.':"Template created.");a.analytics.trackEvent("template","create");h0c(a,"create",da.snapshot);i0c(a,"create",da.templateId);j0c(a,"create",da.templateId);a.templates.push(da);a.openEditor(a.templates.length-1)}):(l="updating",v=a.currentIndex,q=a.templates[v],h=function(da){du(a.butterBar,da.name?'Template "'+da.name+
'" updated.':"Template updated.");a.analytics.trackEvent("template","update");h0c(a,"update",da.snapshot);i0c(a,"update",da.templateId);j0c(a,"update",da.templateId);a.templates[v]=da;ipb(a)});a.currentTemplate.hotlistId=a.templateHotlistIds[a.hotlistPickerIndex];P_c(a.currentTemplate,q);du(a.butterBar,"Saving template...");E=y=q;H=E.componentId;N=(O=E.templateId)&&String(O)!=="0"?a.templatesApi.update(H,O,y):a.templatesApi.create(H,y);return T.return(N.then(function(da){a.appEvents.templateModified.next(String(a.componentId));
h(da);a.cdr.detectChanges()}).catch(function(da){da=Kn(da);a.butterBar.showWarning(da?"Error "+l+" template: "+da:"There was an error "+l+" the template.",0)}))})},Cob=function(a,b){eL(a.matDialogService.open(a.deleteDialog,{data:b})).pipe(Of(a.destroyed$)).subscribe(function(c){c&&k0c(a,b)})},k0c=function(a,b){var c=b.index;var d;ve(function(e){switch(e.nextAddress){case 1:d=a.templates[c];if(c<0||d.default)return e.return(Promise.resolve());Ra(a.templateHotlistIds,c);Ra(a.templates,c);a.defaultIndex=
a.templates.findIndex(function(f){return f.default});G1(a);a.cdr.detectChanges();du(a.butterBar,"Deleting...");we(e,2,3);return xe(e,a.templatesApi.delete(d.componentId,d.templateId),5);case 5:a.appEvents.templateModified.next(String(a.componentId)),du(a.butterBar,"Deleted template"),a.analytics.trackEvent("template","delete"),a.currentIndex===c&&ipb(a);case 3:return ye(e),xe(e,a.loadTemplates(),6);case 6:G1(a);a.cdr.detectChanges();ze(e,0);break;case 2:Be(e),a.butterBar.showWarning("Error while deleting template"),
e.jumpTo(3)}})},m0c=function(a,b){b?hpb(a).then(function(){l0c(a);a.cdr.detectChanges()}):l0c(a)},Eob=function(a,b){var c;b=((c=b.template)==null?void 0:c.templateId)||0;c={};c=a.paths.createIssue((c.component=a.componentId?String(a.componentId):void 0,c.template=String(b),c));return a.paths.getBaseUrl()+c};
F1.prototype.openEditor=function(a){var b=this;this.currentIndex=a===void 0?-1:a;if(this.currentIndex<0){this.currentTemplate=n0c(this,{componentId:this.componentId,default:!1,name:"New Template"});tu(this.currentTemplate);this.updateSelectedHotlists();G1(this);this.cdr.detectChanges();var c;(c=document.getElementById("template-name"))==null||c.focus()}else o0c(this,this.templates[this.currentIndex]).then(function(d){b.currentTemplate=n0c(b,d);b.hotlistPickerIndex=b.currentIndex;b.updateSelectedHotlists();
G1(b);b.currentTemplate.separateCollaboratorGroups(b.trackerCollaboratorGroups);b.cdr.detectChanges();var e;(e=document.getElementById("template-name"))==null||e.focus()})};
var o0c=function(a,b){return a.templatesApi.get(b.componentId,b.templateId||0)},f0c=function(a,b){a.currentTemplate&&a.currentTemplate.isDirty()?(a.afterSaveCheckFunc=b,p0c(a)):b()},h0c=function(a,b,c){c&&c.issueAccessLimitLevel&&c.issueAccessLimitLevel!=="LIMIT_NONE"&&a.analytics.trackEvent("issueAccessLimits",b,"template:"+c.issueAccessLimitLevel)},i0c=function(a,b,c){a.currentTemplate&&a.currentTemplate.collaboratorGroups.length>0&&a.analytics.trackEvent("quickAddCollaborators",b,"template:"+c)},
j0c=function(a,b,c){var d;((d=a.currentTemplate)==null?0:d.inheritable)&&a.analytics.trackEvent("templateInheritance",b,"component:"+a.componentId+" template:"+c)},p0c=function(a){eL(a.matDialogService.open(a.saveBeforeClosingDialog,{data:a.currentTemplateRow})).pipe(Of(a.destroyed$)).subscribe(function(b){b!==void 0&&m0c(a,b)})},l0c=function(a){var b=a.afterSaveCheckFunc;a.afterSaveCheckFunc=null;b&&b()},n0c=function(a,b){return new w1(a.customFieldIds,b)};
F1.prototype.loadCustomFields=function(){var a=this;this.customFieldRows=[];this.customFieldIds={};return this.supportCustomFields?this.componentActions.get(this.componentId).then(function(b){a.componentIdsToPaths={};var c=[],d,e=((d=b.componentPathInfo)==null?void 0:d.componentPathId)||[];for(d=0;d<e.length;d++){var f=b.componentPathInfo.componentPathId[d];c.push(b.componentPathInfo.componentPathName[d]);a.componentIdsToPaths[f]=c.join(" > ")}b=k(b.componentPathInfo.allCustomField||[]);for(c=b.next();!c.done;c=
b.next()){c=c.value;if(!c.enabledOnIssues)return;a.customFieldIds[c.customFieldId.toString()]=c;a.customFieldRows.push(new N_c(c,c.type==="TEXT"?"1":"2"))}a.cdr.detectChanges()}).catch(function(){a.butterBar.showWarning("Unable to load custom fields")}):Promise.resolve()};
F1.prototype.loadTemplates=function(){var a=this;this.templates=[];return this.templatesApi.query(this.componentId).then(function(b){a.templates=b;b=k(a.templates);for(var c=b.next();!c.done;c=b.next())c=c.value,c.snapshot.hotlistId?a.templateHotlistIds.push(c.snapshot.hotlistId):a.templateHotlistIds.push([]);a.defaultIndex=a.templates.findIndex(function(d){return d.default});a.cdr.detectChanges()}).catch(function(){a.butterBar.showWarning("Unable to load templates")})};
var G1=function(a){if(a.currentIndex<0)a.templateRows=a.templates.map(function(e,f){return new M_c(f,e,e.componentId!==a.componentId&&e.inheritable)}),a.currentTemplate&&(a.currentTemplateRow=new M_c(-1,a.currentTemplate,!1),a.templateRows.push(a.currentTemplateRow)),a.hotlistPickerIndex=a.templates.length;else{var b=a.currentIndex,c=[];var d=a.templates.slice(0,b+1);c=c.concat(d.map(function(e,f){return new M_c(f,e,e.componentId!==a.componentId&&e.inheritable)}));a.currentTemplate&&(a.currentTemplateRow=
new M_c(b,a.currentTemplate,!1),c.push(a.currentTemplateRow));d=a.templates.slice(b+1);c=c.concat(d.map(function(e,f){return new M_c(b+f+1,e,e.componentId!==a.componentId&&e.inheritable)}));a.templateRows=c;a.hotlistPickerIndex=a.currentIndex}},Aob=function(a,b){var c,d,e,f;return ve(function(h){switch(h.nextAddress){case 1:if(b<0||a.defaultIndex===b)return h.return();c=a.templates[b];if(c.default)return h.return();d=c.name;iu(hu(d))&&(d="(unnamed template)");a.defaultIndex=b;du(a.butterBar,"Changing default template...");
a.analytics.trackEvent("template","changeDefault");we(h,2,3);return xe(h,q0c(a,c.templateId),5);case 5:du(a.butterBar,"Changed default template to "+d);case 3:return ye(h),xe(h,a.loadTemplates(),6);case 6:G1(a);a.cdr.detectChanges();ze(h,0);break;case 2:e=Be(h),f="Error while changing default message"+(Jn(e)?": "+Kn(e):"."),a.butterBar.showWarning(f),h.jumpTo(3)}})},q0c=function(a,b){var c,d;return ve(function(e){if(e.nextAddress==1)return xe(e,Je(a.component$),2);if(e.nextAddress!=3){c=e.yieldResult;
if(!c||c.defaultTemplateId===b)return e.return();c.defaultTemplateId=b;return xe(e,a.componentActions.update(c),3)}d=e.yieldResult;a.componentFridge.announce(d);a.appEvents.templateModified.next(String(d.componentId));Ce(e)})};
F1.prototype.editStaffing=function(){var a=this,b,c,d,e;return ve(function(f){if(f.nextAddress==1)return xe(f,a.staffingDialogService.show((c=(b=a.currentTemplate.staffing)==null?void 0:b.plannedAllocations)!=null?c:[],void 0,!0),2);d=f.yieldResult;if(!d)return f.return();e={plannedAllocations:d};a.currentTemplate.staffing=e;tu(a.currentTemplate);Ce(f)})};
var Sob=function(a,b,c,d){b.length>0&&c&&c.editableTemplate&&(b=b[0].result().getPrimaryTarget().getValue(),d==="verifier"?c.editableTemplate.verifier=b:d==="assignee"&&(c.editableTemplate.assignee=b),tu(c.editableTemplate),a.cdr.detectChanges())};F1.\u0275fac=function(a){return new (a||F1)};
F1.\u0275cmp=t({type:F1,selectors:[["b-edit-templates"]],viewQuery:function(a,b){a&1&&(Mg(Y_c,5),Mg(Z_c,5));if(a&2){var c;Qg(c=Rg())&&(b.saveBeforeClosingDialog=c.first);Qg(c=Rg())&&(b.deleteDialog=c.first)}},inputs:{componentId:"componentId",supportCustomFields:"supportCustomFields"},features:[Yg([sG]),cg],decls:23,vars:2,consts:[["deleteDialog",""],["saveBeforeClosingDialog",""],["typeMenu",""],["priorityMenu",""],["severityMenu",""],["card","onedevHovercard"],["cardBody",""],[1,"component-banner",
"template-help-banner"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[1,"templates-list"],[1,"template-column-tool"],[1,"edit-button-row"],["format","fill","bAriaLabel","Create New template in this component",3,"onAction"],["colspan","4"],["tabindex","-1",1,"template-row-name"],[1,"template-row-new-issue-link"],["tabindex","0",1,"keep-focus-ring",3,"href"],[3,"change","id","checked","aria-label","value"],["format","hairline",3,"onAction","bAriaLabel"],["format","hairline",3,"onAction",
"bAriaLabel","disabled"],[1,"template-edit-pane","template-editor-within-table"],[1,"form-header"],[1,"cell-1"],[1,"template-label"],["for","template-name"],["id","template-name","type","text",1,"template-field",3,"ngModelChange","ngModel"],["for","template-description"],["id","template-description","type","text",1,"template-field",3,"ngModelChange","ngModel"],"role;region;tabindex;0;aria-label;Standard issue fields".split(";"),[1,"cell-1","access-limit-row"],[1,"access-limit-field"],["for","template-issue-access-limits-dropdown"],
["id","template-issue-access-limits-dropdown",3,"updatedAccessLimitLevel","disabled","defaultAccessLimitLevel","implicitAccessEnabled"],[1,"collaborator-group-field"],["for","template-title"],["id","template-title","type","text",1,"template-field",3,"ngModelChange","ngModel"],[1,"cell-3"],["for","template-default-type"],["id","template-default-type","type","button","mat-button","",1,"medium","primary",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],[3,"overlapTrigger"],["mat-menu-item",
"",3,"disabled","matTooltip"],["for","template-default-priority"],["id","template-default-priority","type","button","mat-button","",1,"medium","primary",3,"matMenuTriggerFor"],["mat-menu-item","",3,"disabled"],["for","template-default-severity"],["id","template-default-severity","type","button","mat-button","",1,"medium","primary",3,"matMenuTriggerFor"],[1,"cell-1","bv2-edit-template-hotlists"],["for","template-default-hotlist"],["id","template-default-hotlist",1,"hotlist-picker",3,"onApply","onCreate",
"onLoad","selectedHotlistIds","choices"],[1,"bv2-hotlist-chips"],[1,"float-clear"],[1,"cell-2"],["for","template-assignee"],["id","template-assignee","type","text",1,"template-field",3,"bContactAutocomplete","ngModel"],["id","template-assignee","type","text","peoplekitAutocomplete","",1,"template-field",3,"peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","ngModel"],["for","template-verifier"],["id","template-verifier","type","text",1,"template-field",3,"bContactAutocomplete","ngModel"],
["id","template-verifier","type","text","peoplekitAutocomplete","",1,"template-field",3,"peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","ngModel"],["for","template-collaborators"],["matTooltip","Collaborators are people directly working on this issue. When expanded access is on, this field grants issue edit permissions","svgIcon","help-outline","tabindex","0",1,"icon-xs","valign-middle","margin-xs-left"],["id","template-collaborators","type","text",1,"template-field",3,"ngModelChange",
"bContactAutocomplete","ngModel"],["for","template-cc"],["id","template-cc","type","text",1,"template-field",3,"ngModelChange","bContactAutocomplete","ngModel"],["for","template-comment"],["id","template-comment",1,"template-field",3,"ngModelChange","ngModel"],[3,"change","initialValue"],["for","template-in-prod"],["id","template-in-prod","aria-label","issue in prod",3,"modelChange","model"],[1,"cell-1","staffing-row"],"role;region;tabindex;0;aria-label;Custom issue fields".split(";"),[3,"class"],
[1,"buttons-row"],["format","fill",3,"onAction","disabled"],["format","hairline",3,"onAction"],["id","template-inheritable","aria-label","template inheritable by child components",3,"modelChange","model"],["for","template-inheritable"],["matTooltip","If activated, all child components will inherit this template. Make sure this template meets your organizational needs as sub-components will not be able to hide this template","svgIcon","help-outline","tabindex","0",1,"icon-xs","valign-middle","margin-xs-left"],
["for","template-collaborator-groups-dropdown"],["svgIcon","help-outline","tabindex","0","aria-hidden","false",1,"icon-xs","valign-middle","margin-xs-left",3,"matTooltip"],["appearance","outline",1,"static-label"],["multiple","","aria-label","Collaborator groups",3,"ngModelChange","ngModel"],[3,"value"],["mat-menu-item","",3,"click","disabled","matTooltip"],["mat-menu-item","",3,"click","disabled"],[3,"removeHotlist","hotlist"],["id","template-assignee","type","text",1,"template-field",3,"ngModelChange",
"bContactAutocomplete","ngModel"],["id","template-assignee","type","text","peoplekitAutocomplete","",1,"template-field",3,"peoplekitAutocompleteSelectionChange","ngModelChange","peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","ngModel"],["id","template-verifier","type","text",1,"template-field",3,"ngModelChange","bContactAutocomplete","ngModel"],["id","template-verifier","type","text","peoplekitAutocomplete","",1,"template-field",3,"peoplekitAutocompleteSelectionChange","ngModelChange",
"peoplekitAutocompleteConfig","peoplekitSearchSessionOptions","ngModel"],["for","template-staffing"],["matTooltip","The Staffing field represents planned contributors on this issue.","svgIcon","help-outline","tabindex","0",1,"icon-xs","valign-middle","margin-xs-left"],["type","button",1,"staffing-button","b-input-style",3,"click"],[1,"staffing-text"],["name","edit","size","small"],[3,"for"],["type","text",1,"template-field",3,"ngModel"],["type","number","step","any",1,"template-field",3,"ngModel"],
[3,"type","name","clearable","value","choices"],[3,"boundValue"],[3,"defaultLineCount","type","values","enumChoices","truncate"],["type","text",1,"template-field",3,"ngModelChange","ngModel"],["type","number","step","any",1,"template-field",3,"ngModelChange","ngModel"],[3,"valueChange","type","name","clearable","value","choices"],[3,"boundValueChange","boundValue"],[3,"valuesChange","defaultLineCount","type","values","enumChoices","truncate"],["role","heading","aria-level","3",1,"template-row-name"],
["colspan","2"],[1,"template-component-path"],[1,"header-label"],[3,"onedevHovercardTrigger","href"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-button","",1,"medium","cancel",3,"mat-dialog-close"],["color","primary","mat-flat-button","",1,"medium","confirm",3,"mat-dialog-close"],["mat-button","",1,"medium",3,"mat-dialog-close"],["cdkFocusInitial","","color","primary","mat-flat-button","",1,"medium","confirm",3,
"mat-dialog-close"]],template:function(a,b){if(a&1){var c=x();I(0,"div")(1,"div",7);Q(2," A template is a set of default values for new issues created in this component. ");I(3,"a",8);Q(4,"Learn more");J()();I(5,"table",9)(6,"tr")(7,"th");Q(8,"TEMPLATE");J();I(9,"th",10);Q(10,"DEFAULT");J();K(11,"th",10)(12,"th",10);J();tg(13,lpb,3,1,"tr",null,sg);D(15,ppb,3,1);J();I(16,"div",11)(17,"b-button",12);M("onAction",function(){z(c);return A(g0c(b))});Q(18," Create New Template ");J()();D(19,qpb,7,3,"ng-template",
null,0,fh)(21,rpb,9,4,"ng-template",null,1,fh);J()}if(a&2){var d;C(3);F("href","https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/templates",of);C(10);ug(d0c(b));C(2);G((d=e0c(b))?15:-1,d)}},dependencies:[IH,$D,kR,dO,OM,ki,Dz,tz,Bz,qT,j1,bK,cK,hK,dK,x1,$N,vD,Vy,lL,pL,oL,vO,RH,YJ,eQ,$z,mQ,nQ,My,MN,FH,HH,yM,vI,yI,wI,zI,CR,sT,sR],styles:["[_nghost-%COMP%]     mat-form-field.static-label{width:180px;margin-top:5px;font-size:1rem}[_nghost-%COMP%]     mat-form-field.static-label .mat-mdc-form-field-infix{min-height:initial;padding:0}.buttons-row[_ngcontent-%COMP%]   b-button[_ngcontent-%COMP%]{margin-right:10px}.access-limit-field[_ngcontent-%COMP%]{margin-right:20px}.cell-1.access-limit-row[_ngcontent-%COMP%]{display:inline-flex;min-height:60px}.template-component-path[_ngcontent-%COMP%]{white-space:nowrap}.cell-1.staffing-row[_ngcontent-%COMP%]{width:auto}.cell-1.staffing-row[_ngcontent-%COMP%]   .staffing-text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cell-1.staffing-row[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{align-items:center;cursor:pointer;display:flex;justify-content:space-between;width:100%}"]});var H1=function(){};H1.\u0275fac=function(a){return new (a||H1)};H1.\u0275mod=u({type:H1});H1.\u0275inj=p({imports:[RE,o0]});var I1=function(){};I1.\u0275fac=function(a){return new (a||I1)};I1.\u0275mod=u({type:I1});I1.\u0275inj=p({imports:[MH,RE,pR,qY,QM,Qz,hW,s1,VK,H1,aO,JH,yN,ML,bP,SH,gM,ZJ,mR,Py,LH,AM,EI,DR,nW,tR]});var J1=function(){this.activeSession=r(dv);this.appSearchState=r(KY);this.analytics=r(wG);this.domSafe=r(mM);this.enableEstado=lu(this.activeSession,"enableEstado")};J1.prototype.openInEstado=function(){this.analytics.trackEvent("listIssues","addOns","Estado");this.domSafe.openInNewTab("http://go/estado/dashboard-lite/buganizer?buganizer-query="+encodeURIComponent(this.appSearchState.currentQuery))};J1.\u0275fac=function(a){return new (a||J1)};J1.\u0275prov=n({token:J1,factory:J1.\u0275fac,providedIn:"root"});var K1=function(){this.sloStatusHelpersService=r(SL);this.dateFormatter=r(UM);this.timeDisplayText="--";this.rawObjectiveDisplayText=this.objectiveDisplayText=null;this.cardActionText="--";this.sloEndTimeDisplayText=Fe("--");this.SloRuleDayType=e7b;this.iconName="slo-status-no-data"};K1.prototype.getIconName=function(a){return r0c.has(a)?r0c.get(a):"slo-status-no-data"};
var s0c=function(a,b,c){a.iconName=a.getIconName(b);c=c!==null?fuc(c*1E3).match(/^(\d+\s\D+)(?:\s|$)/)[1]:"";a.cardActionText=b==="COMPLETED"?a.sloMetricDescription==="ASSIGNMENT"?"Assigned on:":a.sloMetricDescription==="RESPONSE"?"Responded on:":a.sloMetricDescription==="CLOSURE"?"Closed on:":"SLO fulfilled on:":a.sloMetricDescription==="ASSIGNMENT"?"Assign by:":a.sloMetricDescription==="RESPONSE"?"Respond by:":a.sloMetricDescription==="CLOSURE"?"Close by:":"Due by:";switch(b){case "COMPLETED":a.timeDisplayText=
a.sloMetricDescription==="ASSIGNMENT"?"Issue assigned":a.sloMetricDescription==="RESPONSE"?"Response recorded":a.sloMetricDescription==="CLOSURE"?"Issue closed":"SLO fulfilled";break;case "SNOOZED_NEAR":case "SNOOZED_HEALTHY":case "HEALTHY":case "NEAR":a.timeDisplayText=a.sloMetricDescription==="ASSIGNMENT"?c+" to assign":a.sloMetricDescription==="RESPONSE"?c+" to respond":a.sloMetricDescription==="CLOSURE"?c+" to close":c+" left";break;case "OUT_OF_SLO":a.timeDisplayText=a.sloMetricDescription===
"ASSIGNMENT"?c+" overdue for assignment":a.sloMetricDescription==="RESPONSE"?c+" overdue for response":a.sloMetricDescription==="CLOSURE"?c+" overdue for closure":c+" overdue";break;case "NO_DATA":a.timeDisplayText=a.sloMetricDescription==="ASSIGNMENT"?"No assignment SLO":a.sloMetricDescription==="RESPONSE"?"No response SLO":a.sloMetricDescription==="CLOSURE"?"No closure SLO":"--";break;default:sj("unknown status type: "+b)}};
K1.prototype.ngOnChanges=function(){var a=Date.now()/1E3;if(this.sloBounds&&TL(this.sloBounds)){var b=this.sloBounds.targetTime.seconds,c=b-this.sloBounds.startTime.seconds;c?this.objectiveDisplayText=fuc(c*1E3):this.objectiveDisplayText=null;var d,e,f;this.rawObjectiveDisplayText=fuc((((e=(d=this.sloBounds.objective)==null?void 0:d.seconds)!=null?e:0)+((f=this.sloBounds.businessDays)!=null?f:0)*86400)*1E3);this.sloEndTimeDisplayText=guc(this.dateFormatter,new Date(b*1E3));c=this.sloBounds;TL(c)&&
c.endTime&&c.endTime.seconds!==0&&c.endTime.seconds<=Date.now()/1E3?(b=this.sloBounds.endTime.seconds,this.sloEndTimeDisplayText=guc(this.dateFormatter,new Date(b*1E3)),s0c(this,"COMPLETED",a-b)):b<a?s0c(this,"OUT_OF_SLO",a-b):(c=this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime),a=b-a,s0c(this,a>259200?c?"SNOOZED_HEALTHY":"HEALTHY":c?"SNOOZED_NEAR":"NEAR",a))}else s0c(this,"NO_DATA",null),this.rawObjectiveDisplayText=this.objectiveDisplayText=null};
K1.\u0275fac=function(a){return new (a||K1)};
K1.\u0275cmp=t({type:K1,selectors:[["b-slo-time-indicator"]],inputs:{sloBounds:"sloBounds",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSnoozeDetails:"includeSnoozeDetails",sloMetricDescription:"sloMetricDescription",includeObjective:"includeObjective"},features:[Hd],decls:15,vars:12,consts:[["card",""],[3,"ngClass","svgIcon"],[1,"slo-time-indicator-text",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"slo-status-text"],["role","dialog","aria-label","More slo information",1,
"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"margin-s-bottom","padded-s-bottom","border-bottom"]],template:function(a,b){a&1&&(K(0,"mat-icon",1),I(1,"span",2)(2,"span",3),Q(3),J()(),I(4,"onedev-hovercard",null,0)(6,"div",4)(7,"div",5)(8,"div"),Q(9),J(),I(10,"div",6),Q(11),S(12,"async"),J(),D(13,spb,4,2)(14,tpb,2,1,"div"),J()()());a&2&&(a=L(5),F("ngClass",b.iconName)("svgIcon",b.iconName),eg("aria-label",b.timeDisplayText==="--"?"No SLO data":""),C(),F("onedevHovercardTrigger",a)("onedevHovercardActive",
!(!b.includeObjective||!b.rawObjectiveDisplayText)),C(2),Tg(b.timeDisplayText),C(6),Tg(b.timeDisplayText),C(2),Ug(" ",b.cardActionText," ",U(12,10,b.sloEndTimeDisplayText)," "),C(2),G((b.sloBounds==null?null:b.sloBounds.dayType)===b.SloRuleDayType.BUSINESS?13:14))},dependencies:[Ew,$D,bK,hK,Iw],styles:[".slo-time-indicator-text[_ngcontent-%COMP%]   span.slo-status-text[_ngcontent-%COMP%]{display:inline-block}mat-icon[_ngcontent-%COMP%]{margin-right:5px;width:18px;height:18px;flex-shrink:0}mat-icon.slo-status-snoozed-near-slo[_ngcontent-%COMP%], mat-icon.slo-status-near[_ngcontent-%COMP%]{color:#fa7b17;color:var(--slo-near)}mat-icon.slo-status-snoozed-healthy[_ngcontent-%COMP%], mat-icon.slo-status-healthy[_ngcontent-%COMP%], mat-icon.slo-status-no-data[_ngcontent-%COMP%], mat-icon.slo-status-completed[_ngcontent-%COMP%]{color:#80868b;color:var(--slo-healthy)}mat-icon.slo-status-out-of-slo[_ngcontent-%COMP%]{color:#ea4335;color:var(--slo-overdue)}[_nghost-%COMP%]{display:inline-flex}.onedev-hovercard-content[_ngcontent-%COMP%]{width:fit-content}"],
changeDetection:0});var r0c=new Map([["SNOOZED_HEALTHY","slo-status-snoozed-healthy"],["SNOOZED_NEAR","slo-status-snoozed-near-slo"],["OUT_OF_SLO","slo-status-out-of-slo"],["HEALTHY","slo-status-healthy"],["NEAR","slo-status-near"],["COMPLETED","slo-status-completed"],["NO_DATA","slo-status-no-data"]]);var L1=function(){this.sloStatusHelpersService=r(SL);this.includeNoSlo=!1};L1.prototype.ngOnInit=function(){t0c(this);this.hasSlo=!!this.sloStatus&&Prc(this.sloStatus)};L1.prototype.ngOnChanges=function(){t0c(this)};var t0c=function(a){a.sloStatus&&(a.assignmentSlo=u0c(jj(a.sloStatus.assignmentBounds)),a.responseSlo=u0c(jj(a.sloStatus.responseBounds)),a.closureSlo=u0c(jj(a.sloStatus.closureBounds)))};L1.prototype.isSloStartTimeApplied=function(){return this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime)};
var u0c=function(a){if(TL(a))return a};L1.\u0275fac=function(a){return new (a||L1)};
L1.\u0275cmp=t({type:L1,selectors:[["b-slo-status-summary"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeNoSlo:"includeNoSlo",onlyShowMetric:"onlyShowMetric"},features:[Hd],decls:3,vars:3,consts:[["sloMetricDescription","ASSIGNMENT",3,"sloStartTime","sloEndTime","sloBounds","includeObjective"],["sloMetricDescription","RESPONSE",3,"sloStartTime","sloEndTime","sloBounds","includeObjective"],["sloMetricDescription","CLOSURE",3,"sloStartTime","sloEndTime",
"sloBounds","includeObjective"]],template:function(a,b){a&1&&D(0,upb,2,4,"div")(1,vpb,2,4,"div")(2,wpb,2,4,"div");a&2&&(G(!b.includeNoSlo&&!b.assignmentSlo||b.onlyShowMetric&&b.onlyShowMetric!="ASSIGNMENT"?-1:0),C(),G(!b.includeNoSlo&&!b.responseSlo||b.onlyShowMetric&&b.onlyShowMetric!="RESPONSE"?-1:1),C(),G(!b.includeNoSlo&&!b.closureSlo||b.onlyShowMetric&&b.onlyShowMetric!="CLOSURE"?-1:2))},dependencies:[K1],encapsulation:2,changeDetection:0});var M1=function(){this.sloStatusHelpersService=r(SL);this.analytics=r(wG);this.sloApi=r(eH)};M1.prototype.ngOnInit=function(){this.hasSlo=!!this.sloStatus&&Qrc(this.sloStatus,this.onlyShowMetric);this.sloId!=="0"?(this.editSloLink=tq.editSlo.makeHref(this.sloId),v0c(this)):this.editSloLink=null};M1.prototype.trackOpenSlo=function(){this.analytics.trackEvent("editSlo","open","fromSloStatusCard")};
var v0c=function(a){a.sloApi.get(a.sloId).then(function(b){a.sloName=b.name}).catch(function(){a.sloName=null})};M1.\u0275fac=function(a){return new (a||M1)};
M1.\u0275cmp=t({type:M1,selectors:[["slo-status-card"]],inputs:{sloId:"sloId",sloStatus:"sloStatus",sloStartTime:"sloStartTime",onlyShowMetric:"onlyShowMetric"},ngContentSelectors:["*"],decls:10,vars:3,consts:[["card",""],[3,"onedevHovercardTrigger"],["role","dialog","aria-label","SLO Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bv2-hovercard-narrow"],[1,"slo-indicators"],[1,"no-slo-message"],[3,"sloStatus","sloStartTime","onlyShowMetric"],[1,"slo-link",3,"href"],[1,"slo-link",
3,"click","href"]],template:function(a,b){a&1&&(Dg(),I(0,"span",1),Eg(1),J(),I(2,"onedev-hovercard",null,0)(4,"div",2)(5,"div",3)(6,"div",4),D(7,xpb,2,3,"div",5)(8,Apb,3,1,"div",6)(9,Dpb,4,1,"span"),J()()()());a&2&&(a=L(3),F("onedevHovercardTrigger",a),C(7),G(b.hasSlo?7:8),C(2),G(b.editSloLink?9:-1))},dependencies:[bK,hK,L1],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}hovercard-content[_ngcontent-%COMP%]   slo-time-indicator[_ngcontent-%COMP%]{display:inline-block;margin:2px 0}hovercard-content[_ngcontent-%COMP%]   .slo-indicators[_ngcontent-%COMP%]{margin-bottom:5px}hovercard-content[_ngcontent-%COMP%]   .no-slo-message[_ngcontent-%COMP%]{margin:2px 0 5px 2px}hovercard-content[_ngcontent-%COMP%]   .slo-link[_ngcontent-%COMP%]{margin-left:2px}/*# sourceMappingURL=slo_status_card.css.map */"]});var w0c=function(){var a=this;this.data=r(jL);this.column=this.data.column;this.columns=this.data.columns;this.selectedCustomField=null;this.isLegalColumn=function(b){return a.columns.find(function(c){return c.name===String(b.customFieldId)})===void 0}};w0c.\u0275fac=function(a){return new (a||w0c)};
w0c.\u0275cmp=t({type:w0c,selectors:[["b-column-picker-custom-dialog"]],decls:9,vars:4,consts:[["mat-dialog-title",""],[3,"fieldSelected","filter"],["mat-button","",1,"medium","cancel",3,"mat-dialog-close"],["mat-flat-button","",1,"medium","dialog-primary-action","confirm",3,"disabled","mat-dialog-close"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1),J(),I(2,"mat-dialog-content")(3,"b-custom-field-picker",1),M("fieldSelected",function(c){return b.selectedCustomField=c}),J()(),I(4,"mat-dialog-actions")(5,
"button",2),Q(6," Cancel "),J(),I(7,"button",3),Q(8," Add "),J()());a&2&&(C(),R("Insert custom field column next to ",b.column.fullLabel,""),C(2),F("filter",b.isLegalColumn),C(4),F("disabled",!b.selectedCustomField)("mat-dialog-close",b.selectedCustomField))},dependencies:[vD,Vy,lL,nL,pL,oL,Z0],encapsulation:2});var Epb="issueId componentPath type status priority severity reporter assignee verifier cc collaborator changelist postmortem blockingIssueId blockedByIssueId createdTime modifiedTime resolvedTime verifiedTime title foundInVersion targetedToVersion verifiedInVersion inProd duplicateOfIssueId voteCount duplicateCount ccCount collaboratorCount lastModifier archived minSlo assignmentSlo responseSlo closureSlo deletionTime team estimate estimateTotalOpen estimateTotalComplete accessLevel descendantCount openDescendantCount oneDayViewCount sevenDayViewCount thirtyDayViewCount".split(" "),
x0c="priority type title assignee status sevenDayViewCount issueId modifiedTime".split(" ");var uu=function(a){this.fullLabel="";this.isCustomField=!1;this.tooltip="";this.moreOptions=[];this.parentLabel="";this.draggable=this.sortable=!0;this.isMetadata=!1;this.label=this.name="";a&&Object.assign(this,a)};uu.prototype.toString=function(){return this.isCustomField?"customfield:"+this.name+"["+this.fullLabel+"]":this.name};
var Kpb={issueId:{defaultSortDirection:"DESC",label:"ID",moreOptions:[{name:"id-link",menuItem:"Plain Link"},{name:"id-copy",menuItem:"Quick Copy Chip"}]},priority:{label:"P",fullLabel:"Priority"},severity:{label:"S",fullLabel:"Severity"},modifiedTime:{defaultSortDirection:"DESC",label:"LAST MODIFIED"},createdTime:{defaultSortDirection:"DESC",label:"CREATED"},verifiedTime:{defaultSortDirection:"DESC",label:"VERIFIED"},resolvedTime:{defaultSortDirection:"DESC",label:"RESOLVED"},blockedByIssueId:{sortable:!1,
label:"BLOCKED BY"},foundInVersion:{label:"FOUND IN"},targetedToVersion:{label:"TARGETED TO"},verifiedInVersion:{label:"VERIFIED IN"},inProd:{label:"IN PROD"},duplicateOfIssueId:{sortable:!1,label:"DUPLICATE OF"},componentPath:{label:"COMPONENT",moreOptions:[{name:"wrapComponents",menuItem:"Wrap components"},{name:"rtlComponentPath",menuItem:"Prefer right alignment"}]},cc:{sortable:!1},collaborator:{sortable:!1},changelist:{sortable:!1},postmortem:{sortable:!1},blockingIssueId:{sortable:!1,label:"BLOCKING"},
title:{moreOptions:[{name:"showHotlists",menuItem:"Show hotlists"},{name:"wrapTitles",menuItem:"Wrap titles"}]},status:{moreOptions:[{name:"showStatusIcons",menuItem:"Icons only"},{name:"status-plain",menuItem:"Plain text (no colors)"}]},voteCount:{defaultSortDirection:"DESC",label:"VOTES",fullLabel:"Vote Count"},duplicateCount:{defaultSortDirection:"DESC",label:"DUPE COUNT",tooltip:"Duplicate Count"},ccCount:{defaultSortDirection:"DESC",label:"CC COUNT"},collaboratorCount:{defaultSortDirection:"DESC",
label:"COLLABORATOR COUNT"},lastModifier:{label:"LAST MODIFIED BY"},minSlo:{defaultSortDirection:"ASC",label:"NEAREST SLO",fullLabel:"Nearest SLO",parentLabel:"SLO"},assignmentSlo:{label:"ASSIGNMENT SLO",fullLabel:"Assignment SLO",parentLabel:"SLO",sortable:!0},responseSlo:{label:"RESPONSE SLO",fullLabel:"Response SLO",parentLabel:"SLO",sortable:!0},closureSlo:{label:"CLOSURE SLO",fullLabel:"Closure SLO",parentLabel:"SLO",sortable:!0},deletionTime:{label:"DELETION DATE",fullLabel:"Deletion Date",
sortable:!0},team:{label:"TEAM",sortable:!0},estimate:{label:"ESTIMATE",fullLabel:"Estimate",parentLabel:"Estimates",sortable:!0},estimateTotalOpen:{label:"TOTAL DAYS OPEN",fullLabel:"Total days open",parentLabel:"Estimates",sortable:!0,tooltip:"Total estimate of all child issues that are open in number of days"},estimateTotalComplete:{label:"TOTAL DAYS COMPLETE",fullLabel:"Total days complete",parentLabel:"Estimates",sortable:!0,tooltip:"Total estimate of all child issues that are complete (fixed or won\u2019t fix) in number of days"},
accessLevel:{label:"ISSUE ACCESS LEVEL",sortable:!0},descendantCount:{defaultSortDirection:"DESC",parentLabel:"Descendant Issue",label:"DESCENDANT COUNT",sortable:!0},openDescendantCount:{defaultSortDirection:"DESC",parentLabel:"Descendant Issue",label:"OPEN DESCENDANT COUNT",sortable:!0},oneDayViewCount:{defaultSortDirection:"DESC",parentLabel:"View Count",label:"24H VIEWS",sortable:!0,tooltip:"Total view count in the past 24 hours"},sevenDayViewCount:{defaultSortDirection:"DESC",parentLabel:"View Count",
label:"7D VIEWS",sortable:!0,tooltip:"Total view count in the past seven days"},thirtyDayViewCount:{defaultSortDirection:"DESC",parentLabel:"View Count",label:"30D VIEWS",sortable:!0,tooltip:"Total view count in the past thirty days"}};var y0c=function(a,b,c){this.target=a;this.eventType=b;this.listener=c;this.target.addEventListener(this.eventType,this.listener)};y0c.prototype.off=function(){this.target.removeEventListener(this.eventType,this.listener)};var z0c=function(){this.bindings=[]};z0c.prototype.off=function(){for(var a=k(this.bindings),b=a.next();!b.done;b=a.next())b.value.off()};
var A0c=function(a){var b=this;this.params=a;this.mask=document.createElement("div");this.eventBindings=new z0c;this.resetDragTarget=function(){b.dragTargetElement&&(b.dragTargetElement.classList.remove("drag-over"),b.dragTargetElement.classList.remove("left"),b.dragTargetElement.classList.remove("right"));b.dragTargetElement=null};this.onDragTargetDragstart=function(c,d){b.draggedElement=d;b.dragIndex=b.params.getColumnIndexForElement(b.draggedElement);b.draggedElement.classList.add("dragging");
b.draggedElement.setAttribute("aria-grabbed","true");if(c=c.dataTransfer)c.setData("text","drag"),c.effectAllowed="move",c.dropEffect="move"};this.onDragTargetDragenter=function(c,d){b.draggedElement&&d&&d.draggable&&d!==b.draggedElement&&(b.resetDragTarget(),b.dragTargetElement=d,b.dragTargetElement&&(d=b.params.getColumnIndexForElement(b.dragTargetElement),b.dragTargetElement.classList.add("drag-over"),b.dragIndex!=null&&(d>b.dragIndex?(b.dragTargetElement.classList.remove("left"),b.dragTargetElement.classList.add("right")):
(b.dragTargetElement.classList.add("left"),b.dragTargetElement.classList.remove("right"))),b.mask.style.width=b.dragTargetElement.offsetWidth+"px",b.mask.style.height=b.dragTargetElement.offsetHeight+"px",b.mask.style.left="0",b.mask.style.top="0",b.dragTargetElement.appendChild(b.mask),b.mask.style.display="block"),c.stopPropagation(),c.preventDefault())};this.onDragTargetDragend=function(c,d){d.classList.remove("dragging");b.draggedElement&&b.draggedElement.setAttribute("aria-grabbed","false");
b.resetDragTarget();b.draggedElement=null;b.mask.style.display="none";c.stopPropagation();c.preventDefault()};this.onDragTargetSelectstart=function(c){c.currentTarget.dragDrop();c.stopPropagation();c.preventDefault()};this.onMaskDragLeave=function(c){b.resetDragTarget();b.mask.style.display="none";c.stopPropagation();c.preventDefault()};this.onMaskDragover=function(c){b.draggedElement&&(c.stopPropagation(),c.preventDefault())};this.onMaskDrop=function(c){if(b.dragTargetElement){var d=b.params.getColumnIndexForElement(b.dragTargetElement);
b.resetDragTarget();b.mask.style.display="none";b.dragIndex!==d&&b.params.ngZone.run(function(){if(b.dragIndex!=null)b.params.onDragDropColumn(b.dragIndex,d)})}c.stopPropagation();c.preventDefault()};this.element=this.params.nativeElement};
A0c.prototype.setup=function(){var a=this;this.mask.style.position="absolute";this.mask.style.zIndex="100";this.mask.style.margin="-2px";this.mask.classList.add("pop-grid-dnd-mask");this.mask.style.display="none";this.params.ngZone.runOutsideAngular(function(){B0c(a,"dragstart",a.onDragTargetDragstart);B0c(a,"dragenter",a.onDragTargetDragenter);B0c(a,"dragend",a.onDragTargetDragend);B0c(a,"selectstart",a.onDragTargetSelectstart);a.eventBindings.bindings.push(new y0c(a.mask,"dragleave",a.onMaskDragLeave));
a.eventBindings.bindings.push(new y0c(a.mask,"dragover",a.onMaskDragover));a.eventBindings.bindings.push(new y0c(a.mask,"drop",a.onMaskDrop))})};var B0c=function(a,b,c){a.eventBindings.bindings.push(new y0c(a.element,b,ym("th.drag-target",c)))};A0c.prototype.tearDown=function(){this.eventBindings.off()};var C0c=["table"],D0c=["defaultHeaderCellTemplate"],E0c=["defaultViewCellTemplate"],F0c=["dataRows"],Spb=function(a,b){return b.name},Upb=function(a,b){return b.id},Npb=function(a){return{column:a}},Qpb=function(a,b,c){return{row:a,column:b,index:c}},N1=function(){var a=this;this.activeSession=r(dv);this.ngZone=r(hh);this.headerCellTemplates={};this.viewCellTemplates={};this.list=[];this.columns=[];this.columnsChange=new rG;this.rowClick=new rG;this.rowLabelRenderer=function(b,c){return"Row "+c};
this.sortChange=new rG;this.focusedRowIndexChange=new rG;this.afterViewInit=new rG;this.enableDragDropHeader=!0;this.readUnreadOptOut=lu(this.activeSession,"readUnreadOptOut");this.onDragDropColumn=function(b,c){var d=[].concat(w(a.columns));b=d.splice(b,1)[0];d.splice(c,0,b);a.columns=d;a.columnsChange.emit([].concat(w(a.columns)))};this.onTdClickableClick=ym("td.clickable",function(b,c){if((b.type!=="mouseup"||b.button===1)&&!vic(c)&&(c=c.closest("tr"))){var d,e=(d=c.dataset.rowId)!=null?d:"";a.rowClick.emit({id:e,
isRead:!!c.dataset.isRead,event:b})}})};N1.prototype.ngOnInit=function(){this.enableDragDropHeader&&G0c(this);this.tableElement.nativeElement.addEventListener("click",this.onTdClickableClick);this.tableElement.nativeElement.addEventListener("mouseup",this.onTdClickableClick)};
var G0c=function(a){a.dragDropHeaderLogic=new A0c({nativeElement:a.tableElement.nativeElement,ngZone:a.ngZone,getColumnIndexForElement:function(b){return a.getColumnIndexForElement(b)},onDragDropColumn:function(b,c){a.onDragDropColumn(b,c)}});a.dragDropHeaderLogic.setup()};
N1.prototype.ngOnChanges=function(a){if(a=a.focusedRowIndex){var b=a.currentValue;b!=null&&b!==a.previousValue&&this.dataRows&&(a=this.dataRows.toArray()[b])&&(YFa(a.nativeElement)||a.nativeElement.scrollIntoView({block:"center"}),this.focus())}};N1.prototype.ngAfterViewInit=function(){this.afterViewInit.emit(this)};
N1.prototype.ngOnDestroy=function(){var a;(a=this.dragDropHeaderLogic)==null||a.tearDown();this.tableElement.nativeElement.removeEventListener("click",this.onTdClickableClick);this.tableElement.nativeElement.removeEventListener("mouseup",this.onTdClickableClick)};var H0c=function(a){return a.columns.map(function(b){b=b.name;return b!=null?a.viewCellTemplates[b]||a.defaultViewCellTemplate:a.defaultViewCellTemplate})};N1.prototype.renderRowLabel=function(a,b){return this.rowLabelRenderer(a,b)};
N1.prototype.focus=function(){if(this.focusedRowIndex!=null&&this.dataRows!=null){var a=this.dataRows.toArray()[this.focusedRowIndex];a&&a.nativeElement.focus()}};N1.prototype.getColumnIndexForElement=function(a){var b=a.dataset.dragTargetColumnName;return this.columns.findIndex(function(c){return c.name===b})};N1.\u0275fac=function(a){return new (a||N1)};
N1.\u0275cmp=t({type:N1,selectors:[["pop-grid"]],viewQuery:function(a,b){a&1&&(Mg(C0c,7),Mg(D0c,7),Mg(E0c,7),Mg(F0c,5,ge));if(a&2){var c;Qg(c=Rg())&&(b.tableElement=c.first);Qg(c=Rg())&&(b.defaultHeaderCellTemplate=c.first);Qg(c=Rg())&&(b.defaultViewCellTemplate=c.first);Qg(c=Rg())&&(b.dataRows=c)}},inputs:{list:"list",columns:"columns",rowLabelRenderer:"rowLabelRenderer",sort:"sort",focusedRowIndex:"focusedRowIndex",scrollContainer:"scrollContainer",enableDragDropHeader:"enableDragDropHeader"},outputs:{columnsChange:"columnsChange",
rowClick:"rowClick",sortChange:"sortChange",focusedRowIndexChange:"focusedRowIndexChange",afterViewInit:"afterViewInit"},features:[Hd],decls:15,vars:1,consts:[["table",""],["defaultHeaderCellTemplate",""],["defaultViewCellTemplate",""],["dataRows",""],[1,"pop-grid",3,"mousedown"],[3,"class"],[1,"header-row"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","0",3,"selected","unread","closed","grid-focus"],["tabindex","0",3,"click","focus"],[3,"column"],[3,"row","column"]],template:function(a,
b){if(a&1){var c=x();I(0,"table",4,0);M("mousedown",function(e){z(c);e.shiftKey&&window.getSelection().removeAllRanges();return A()});I(2,"colgroup");tg(3,Lpb,1,3,"col",5,Spb);J();I(5,"thead")(6,"tr",6);tg(7,Opb,1,4,"ng-container",null,Spb);J()();I(9,"tbody");D(10,Vpb,2,0);J()();D(11,Wpb,2,1,"ng-template",null,1,fh)(13,Xpb,2,2,"ng-template",null,2,fh)}if(a&2){var d;C(3);ug(b.columns);C(4);ug(b.columns);C(3);G((d=H0c(b))?10:-1,d)}},encapsulation:2});
var O1=function(){this.templateRef=r(Jg);this.popGrid=r(N1)};O1.prototype.ngOnInit=function(){this.forHeaderCell&&(this.popGrid.headerCellTemplates[this.forHeaderCell]=this.templateRef)};O1.\u0275fac=function(a){return new (a||O1)};O1.\u0275dir=ud({type:O1,selectors:[["","forHeaderCell",""]],inputs:{forHeaderCell:"forHeaderCell"}});var P1=function(){this.templateRef=r(Jg);this.popGrid=r(N1)};P1.prototype.ngOnInit=function(){this.forViewCell&&(this.popGrid.viewCellTemplates[this.forViewCell]=this.templateRef)};
P1.\u0275fac=function(a){return new (a||P1)};P1.\u0275dir=ud({type:P1,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"}});var Q1=function(){this.templateRef=r(Jg);this.popGrid=r(N1)};Q1.prototype.ngOnInit=function(){this.popGrid.defaultHeaderCellTemplate=this.templateRef};Q1.\u0275fac=function(a){return new (a||Q1)};Q1.\u0275dir=ud({type:Q1,selectors:[["","forHeaderCellDefault",""]]});var R1=function(){this.columnLabel=this.columnName="";this.defaultSortDirection="ASC";this.sortChanged=new rG};R1.prototype.ariaLabel=function(){var a=this.columnLabel+", sortable";return this.isActive()?this.sort.direction==="ASC"?a+", sorted ascending":a+", sorted descending":a};R1.prototype.isActive=function(){return!!this.sort&&this.sort.field===this.columnName};
R1.prototype.activate=function(){var a=this.defaultSortDirection;this.isActive()&&(a=this.sort.direction==="ASC"?"DESC":"ASC");this.sortChanged.emit({field:this.columnName,direction:a})};R1.\u0275fac=function(a){return new (a||R1)};
R1.\u0275cmp=t({type:R1,selectors:[["b-sortable-header"]],inputs:{columnName:"columnName",columnLabel:"columnLabel",sort:"sort",defaultSortDirection:"defaultSortDirection"},outputs:{sortChanged:"sortChanged"},decls:3,vars:8,consts:[["role","button","tabindex","0",1,"keep-focus-ring","pop-grid-sort-header",3,"click","keydown.enter","keydown.space"],[1,"arrow"]],template:function(a,b){a&1&&(I(0,"div",0),M("click",function(){return b.activate()})("keydown.enter",function(c){b.activate();return c.stopPropagation()})("keydown.space",
function(c){b.activate();return c.stopPropagation()}),K(1,"span",1),Q(2),J());a&2&&(ng("current-sort",b.isActive())("direction-asc",b.isActive()&&b.sort.direction==="ASC")("direction-desc",b.isActive()&&b.sort.direction==="DESC"),eg("aria-label",b.ariaLabel()),C(2),R(" ",b.columnLabel," "))},encapsulation:2});var S1=function(){this.elementRef=r(ge);this.grid=r(N1,{optional:!0})};S1.prototype.ngAfterViewInit=function(){if(this.column){var a=this.column;if(a.draggable){var b;a:{for(b=this.elementRef.nativeElement;b.parentElement;){if(b.parentElement.tagName==="TH"){b=b.parentElement;break a}b=b.parentElement}b=void 0}if(this.cellParent=b)this.cellParent.draggable=!0,this.cellParent.classList.add("drag-target"),this.cellParent.dataset.dragTargetColumnName=a.name}}};
S1.prototype.ngOnDestroy=function(){this.cellParent&&delete this.cellParent.dataset.dragTargetColumnName};S1.\u0275fac=function(a){return new (a||S1)};
S1.\u0275cmp=t({type:S1,selectors:[["pop-grid-default-th"]],inputs:{column:"column"},decls:3,vars:1,consts:[[1,"pop-grid-default-th"],[3,"columnLabel","columnName","defaultSortDirection","sort","matTooltip"],["tabindex","0",1,"pop-grid-non-sort-header","keep-focus-ring"],[3,"sortChanged","columnLabel","columnName","defaultSortDirection","sort","matTooltip"],[1,"a11y-only"]],template:function(a,b){a&1&&(I(0,"div",0),D(1,Ypb,1,5,"b-sortable-header",1)(2,$pb,3,3,"div",2),J());a&2&&(C(),G(b.column.sortable?
1:2))},dependencies:[FH,HH,R1],encapsulation:2});var I0c=function(){return{before:!1}},J0c=function(){return{before:!0}},gqb=function(a,b){return{columns:a,before:b}},T1=function(){Z.call(this);var a=this;this.matDialog=r(kL);this.userPreferencesManager=r(yH);this.butterBar=r(hE);this.analytics=r(wG);this.hotkeys=r(YH);this.activeSession=r(dv);this.selectedColumnsChange=new rG;this.onAddTeamColumn=new rG;this.currentAvailableItems=[];this.isRemovable=!0;this.menuOpen=!1;this.listViewPrefs=JB.listViewPreferences;this.userPreferencesManager.preferences$.pipe(Of(this.destroyed$)).subscribe(function(b){a.listViewPrefs=
b.listViewPreferences||JB.listViewPreferences})};Y(T1,Z);T1.\u0275dir=Z.\u0275dir;T1.prototype.ngOnChanges=function(a){a.selectedColumns&&K0c(this)};
var L0c=function(a){a.selectedColumnsChange.emit([].concat(w(a.selectedColumns)));K0c(a)},bqb=function(a,b){var c=Object.assign({},a.listViewPrefs),d=cqb(b),e=d.get;d=d.set;d(c,!e(c));a.activeSession.isAnonymous()||du(a.butterBar,"Saving display preference...",0);a.userPreferencesManager.save({listViewPreferences:c}).pipe(Cf(),Of(a.destroyed$)).subscribe(function(){a.analytics.trackEvent("preferences","setListViewPref:"+b,e(c).toString());a.listViewPrefs=c;a.activeSession.isAnonymous()||du(a.butterBar,
"Display preference saved.",4E3)},function(){a.activeSession.isAnonymous()||a.butterBar.showWarning("Display preference could not be saved.")})},jqb=function(a,b){a.hotkeys.pause();eL(a.matDialog.open(w0c,{data:{column:a.column,columns:a.selectedColumns},position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(Of(a.destroyed$)).subscribe({next:function(c){c&&a.add(c,b)},error:function(){a.hotkeys.unpause()},complete:function(){a.hotkeys.unpause()}})},K0c=function(a){for(var b={},
c=k(a.selectedColumns),d=c.next();!d.done;d=c.next())b[d.value.name]=!0;var e=a.availableColumns.filter(function(f){return!vea(b,f.name)});c=[].concat(w(new Set(e.filter(function(f){return f.parentLabel}).map(function(f){return f.parentLabel})))).map(function(f){return{label:f,columns:e.filter(function(h){return h.parentLabel===f})}});d=e.filter(function(f){return!f.parentLabel});a.currentAvailableItems=[].concat(w(d),w(c));a.currentAvailableItems.sort(function(f,h){return Gu(f instanceof uu?f.fullLabel:
f.label,h instanceof uu?h.fullLabel:h.label)});a.isRemovable=M0c(a)};T1.prototype.isIssueGridColumn=function(a){return a instanceof uu};T1.prototype.remove=function(){var a=this;if(this.isRemovable){var b=this.selectedColumns.filter(function(c){return c.name!==a.column.name});if(b.length!==this.selectedColumns.length)return this.selectedColumns=b,L0c(this),!0}return!1};
T1.prototype.add=function(a,b){var c=this;this.menuTrigger.closeMenu();a="customFieldId"in a&&a.customFieldId?new uu({name:a.customFieldId.toString(),label:a.name,fullLabel:a.name,sortable:!0,draggable:!0,isCustomField:!0}):a;a.label==="TEAM"&&this.onAddTeamColumn.emit();var d=this.selectedColumns.findIndex(function(e){return e.name===c.column.name});if(d===-1)return!1;b=b?d:d+1;this.selectedColumns=[].concat(w(this.selectedColumns));this.selectedColumns.splice(b,0,a);L0c(this);return!0};
var M0c=function(a){return a.selectedColumns.filter(function(b){return!b.isMetadata}).length>1};T1.\u0275fac=function(a){return new (a||T1)};
T1.\u0275cmp=t({type:T1,selectors:[["b-column-picker"]],viewQuery:function(a,b){a&1&&Mg(zI,5);if(a&2){var c;Qg(c=Rg())&&(b.menuTrigger=c.first)}},inputs:{column:"column",availableColumns:"availableColumns",selectedColumns:"selectedColumns"},outputs:{selectedColumnsChange:"selectedColumnsChange",onAddTeamColumn:"onAddTeamColumn"},features:[cg,Hd],decls:21,vars:10,consts:[["pickerMenu","matMenu"],["addColumnMenu","matMenu"],["columnGroupMenu","matMenu"],["menuTrigger","matMenuTrigger"],[1,"bv2-column-picker-container"],
[1,"bv2-columnheader-content"],[3,"column"],["mat-button","","tabindex","0","role","button",1,"columnpicker-button",3,"matMenuTriggerFor","columnpicker-button-active"],[1,"columnpicker-menu"],["mat-menu-item","",1,"checkbox-item",3,"b-menu-item-checked"],["mat-menu-item","",3,"click","disabled"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData"],["matMenuContent",""],["mat-button","","tabindex","0","role","button",1,"columnpicker-button",3,"menuOpened","menuClosed","keydown.enter","keydown.space",
"matMenuTriggerFor"],["mat-menu-item","",1,"checkbox-item",3,"click"],["name","done","size","small",1,"item-checkmark","b-menu-item-check-mark"],[1,"item-description"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"matTooltip"],["mat-menu-item","",3,"click","keydown.enter","matTooltip"],["mat-menu-item",""],["mat-menu-item","",3,"click","keydown.enter"]],template:function(a,b){if(a&1){var c=x();I(0,"div",4)(1,"div",5);K(2,"pop-grid-default-th",6);J();D(3,aqb,2,5,"div",7);I(4,"mat-menu",8,0);
tg(6,dqb,4,3,"button",9,sg);D(8,eqb,1,0,"mat-divider");I(9,"button",10);M("click",function(){z(c);return A(b.remove())});Q(10," Remove column ");J();I(11,"button",11);Q(12," Add column right ");J();I(13,"button",11);Q(14," Add column left ");J()();I(15,"mat-menu",null,1);D(17,kqb,5,0,"ng-template",12);J();I(18,"mat-menu",null,2);D(20,mqb,2,0,"ng-template",12);J()()}a&2&&(a=L(16),C(2),F("column",b.column),C(),G(3),C(3),ug(b.column.moreOptions),C(2),G(b.column.moreOptions.length?8:-1),C(),F("disabled",
!b.isRemovable),C(2),F("matMenuTriggerFor",a)("matMenuTriggerData",ah(8,I0c)),C(2),F("matMenuTriggerFor",a)("matMenuTriggerData",ah(9,J0c)))},dependencies:[vI,yI,wI,xI,zI,DM,FH,HH,yM,S1],styles:['.bv2-columheader-content[_ngcontent-%COMP%]{display:inline-block;height:100%}.columnpicker-button[_ngcontent-%COMP%]{background:none;border:1px solid rgba(0,0,0,0);height:24px;width:24px;opacity:.8}.columnpicker-button[_ngcontent-%COMP%]::before{background:none;border-radius:50%;position:absolute;top:-2px;bottom:-2px;left:-2px;right:-2px;box-sizing:border-box;content:"";display:block}.columnpicker-button[_ngcontent-%COMP%]:hover::before, .columnpicker-button[_ngcontent-%COMP%]:focus::before, .columnpicker-button.columnpicker-button-active[_ngcontent-%COMP%]::before{background-color:#dadce0;background-color:var(--c300);opacity:1}.columnpicker-button[_ngcontent-%COMP%]::after{background:url(https://www.gstatic.com/buganizer/img/v0/arrow_drop_down_black.svg);content:"";cursor:pointer;height:24px;width:24px;opacity:.8;position:absolute}@media(forced-colors: active){.columnpicker-button[_ngcontent-%COMP%]::after{filter:invert(1)}}  .columnpicker-menu .mat-mdc-menu-content button.mat-mdc-menu-item{white-space:normal;font-family:Roboto,Arial,sans-serif}  .columnpicker-menu .mat-mdc-menu-content button.mat-mdc-menu-item.checkbox-item{padding-left:24px}  .columnpicker-menu .mat-mdc-menu-content button.mat-mdc-menu-item .b-menu-item-check-mark{top:50%;transform:translate(0, -50%)}/*# sourceMappingURL=column_picker.css.map */']});var P0c=function(a){var b=this;this.params=a;this.element=this.params.nativeElement;this.dropzone=document.createElement("div");this.onTdDragStart=ym("td.drag-handle",function(c,d){b.draggedRow=d.closest("tr");b.draggedRow.classList.add("dragging");b.draggedRow.setAttribute("aria-grabbed","true");c=c.dataTransfer;c.setData("text","drag");c.setDragImage(b.draggedRow,0,0);c.effectAllowed="move";c.dropEffect="move"});this.onTrDragEnter=ym("tr",function(c,d){if(b.draggedRow&&b.dragTargetRow!==d&&d.closest("tbody")&&
d!==b.draggedRow){N0c(b.dragTargetRow);b.dragTargetRow=d;var e;b.draggedIssueIndex=b.params.rowFinder((e=b.draggedRow.dataset.rowId)!=null?e:void 0);var f;b.dragTargetIndex=b.params.rowFinder((f=b.dragTargetRow.dataset.rowId)!=null?f:void 0);b.dragTargetRow.classList.add("drag-over");b.dragTargetIndex>b.draggedIssueIndex?b.dragTargetRow.classList.add("below"):b.dragTargetRow.classList.add("above");a:{for(c=b.dragTargetRow.parentElement;c;){if(window.getComputedStyle(c).position!=="static")break a;
c=c.parentElement}c=void 0}c&&(d=c.scrollTop||0,c=b.dragTargetRow.getBoundingClientRect().top-c.getBoundingClientRect().top+d,b.dropzone.style.width=b.dragTargetRow.offsetWidth+"px",b.dropzone.style.height=b.dragTargetRow.offsetHeight+"px",b.dropzone.style.left="0",b.dropzone.style.top=c+"px");b.dragTargetRow.appendChild(b.dropzone);b.dropzone.style.display="block"}});this.onTrDragEnd=ym("tr",function(){b.draggedRow&&(N0c(b.draggedRow),N0c(b.dragTargetRow),b.draggedRow.setAttribute("aria-grabbed",
"false"),b.draggedRow=b.dragTargetRow=void 0)});this.onTrDragLeave=ym("tr",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragEnter=ym(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragLeave=ym(".row-dropzone",function(c){N0c(b.dragTargetRow);O0c(b);c.stopPropagation();c.preventDefault()});this.onDropzoneDragOver=ym(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDrop=ym(".row-dropzone",function(c){O0c(b);
b.draggedIssueIndex!==b.dragTargetIndex&&b.params.ngZone.run(function(){if(b.draggedIssueIndex!=null&&b.dragTargetIndex!=null)b.params.onRowDragDrop({srcIndex:b.draggedIssueIndex,destIndex:b.dragTargetIndex})});c.stopPropagation();c.preventDefault()})};
P0c.prototype.setup=function(){var a=this;this.dropzone.style.position="absolute";this.dropzone.style.zIndex="100";this.dropzone.style.margin="-2px";this.dropzone.classList.add("row-dropzone");O0c(this);this.params.ngZone.runOutsideAngular(function(){a.element.addEventListener("dragstart",a.onTdDragStart);a.element.addEventListener("dragenter",a.onTrDragEnter);a.element.addEventListener("dragend",a.onTrDragEnd);a.element.addEventListener("dragleave",a.onTrDragLeave);a.element.addEventListener("dragenter",
a.onDropzoneDragEnter);a.element.addEventListener("dragleave",a.onDropzoneDragLeave);a.element.addEventListener("dragover",a.onDropzoneDragOver);a.element.addEventListener("drop",a.onDropzoneDrop)})};
P0c.prototype.tearDown=function(){this.dropzone.remove();this.element.removeEventListener("dragstart",this.onTdDragStart);this.element.removeEventListener("dragenter",this.onTrDragEnter);this.element.removeEventListener("dragend",this.onTrDragEnd);this.element.removeEventListener("dragleave",this.onTrDragLeave);this.element.removeEventListener("dragenter",this.onDropzoneDragEnter);this.element.removeEventListener("dragleave",this.onDropzoneDragLeave);this.element.removeEventListener("dragover",this.onDropzoneDragOver);
this.element.removeEventListener("drop",this.onDropzoneDrop)};var N0c=function(a){a&&(a.classList.remove("drag-over"),a.classList.remove("above"),a.classList.remove("below"),a.classList.remove("dragging"))},O0c=function(a){a.dropzone.style.display="none"};var U1=function(){this.sloStatusHelpersService=r(SL);this.includeObjective=this.includeSloMetric=!1;this.firstOpenSlo=null;this.firstOpenSloMetric=""};U1.prototype.ngOnInit=function(){Q0c(this)};U1.prototype.ngOnChanges=function(a){(a.sloStatus||a.includeSloMetric)&&Q0c(this)};var Q0c=function(a){var b=Rrc(a.sloStatus);b?(a.firstOpenSlo=b.sloBounds,a.includeSloMetric?a.firstOpenSloMetric=b.sloMetric:a.firstOpenSloMetric=""):(a.firstOpenSlo=null,a.firstOpenSloMetric="")};
U1.\u0275fac=function(a){return new (a||U1)};
U1.\u0275cmp=t({type:U1,selectors:[["b-aggregated-slo-status-indicator"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSloMetric:"includeSloMetric",includeObjective:"includeObjective"},features:[Hd],decls:1,vars:5,consts:[[3,"sloBounds","sloMetricDescription","sloStartTime","sloEndTime","includeObjective"]],template:function(a,b){a&1&&K(0,"b-slo-time-indicator",0);a&2&&F("sloBounds",b.firstOpenSlo)("sloMetricDescription",b.firstOpenSloMetric)("sloStartTime",
b.sloStartTime)("sloEndTime",b.sloEndTime)("includeObjective",b.includeObjective)},dependencies:[K1],encapsulation:2,changeDetection:0});var R0c=function(){};R0c.\u0275fac=function(a){return new (a||R0c)};R0c.\u0275cmp=t({type:R0c,selectors:[["archived-issue-indicator"]],decls:3,vars:0,consts:[["aria-hidden","true","svgIcon","archive_24px"]],template:function(a){a&1&&(I(0,"span"),K(1,"mat-icon",0),Q(2,"Archived "),J())},dependencies:[$D],styles:["span[_ngcontent-%COMP%]{border-radius:8px;display:inline-block;line-height:18px;padding:0 10px;margin-right:6px;color:#202124;color:var(--text-high-contrast);background-color:#feefc3;background-color:var(--archived-bg)}mat-icon[_ngcontent-%COMP%]{height:15px;width:15px;margin:2px;vertical-align:middle;color:#5f6368;color:var(--icon)}"]});
var V1=function(){};V1.\u0275fac=function(a){return new (a||V1)};V1.\u0275mod=u({type:V1});V1.\u0275inj=p({imports:[RE]});var W1=function(){this.bFocus=!0;this.nativeElement=r(ge).nativeElement};W1.prototype.ngOnInit=function(){this.bFocus&&this.nativeElement.focus()};W1.prototype.ngOnChanges=function(){this.bFocus&&this.nativeElement.focus()};W1.\u0275fac=function(a){return new (a||W1)};W1.\u0275dir=ud({type:W1,selectors:[["","bFocus",""]],inputs:{bFocus:"bFocus"},features:[Hd]});var X1=function(){};X1.\u0275fac=function(a){return new (a||X1)};X1.\u0275mod=u({type:X1});X1.\u0275inj=p({});var S0c=function(a){this.internalArray_=m(a)};Y(S0c,V);S0c.prototype.getIssueId_asLegacyNumberOrString=function(){return Vj(this,1)};S0c.prototype.getIssueId_asString=function(){return Oo(this,1)};S0c.prototype.setIssueId=function(a){return pl(this,1,a)};var T0c=function(a){this.internalArray_=m(a)};Y(T0c,V);var Y1=function(a){this.internalArray_=m(a,0,Y1.messageId)};Y(Y1,V);Y1.prototype.getIt=function(){return W(this,T0c,2)};Y1.prototype.setIt=function(a){return X(this,T0c,2,a)};Y1.messageId="b.ListStatusUpdateHistoryResponse";var Z1=function(){this.executor=r(OB)};Z1.prototype.update=function(a){var b=this.executor,c=b.post,d="action/issues/"+a.issueId+"/statusUpdate";a=(new LC).setIt(gwa(a));return c.call(b,{url:d,body:a,responseConstructor:LC}).pipe(B(fza))};Z1.prototype.delete=function(a){return this.executor.delete({url:"action/issues/"+a+"/statusUpdate",responseConstructor:null})};
var U0c=function(a,b){var c=ej((new S0c).setIssueId(Number(b)),2,2);return a.executor.post({url:"action/issues/"+b+"/listStatusUpdates",body:c,responseConstructor:Y1}).pipe(B(function(d){d=d.getIt();return nj(d,fm,1,Wi()).map(fwa)}))};Z1.\u0275fac=function(a){return new (a||Z1)};Z1.\u0275prov=n({token:Z1,factory:Z1.\u0275fac,providedIn:"root"});var V0c=function(a){return[a]},a2=function(){this.matDialog=r(kL)};a2.prototype.show=function(a,b,c){a.formattingMode==="LITERAL"&&(a.formattingMode="PLAIN");this.dialog=this.matDialog.open(b2,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{componentId:c,formattingAudience:b,statusUpdate:a}});return Je(eL(this.dialog))};a2.\u0275fac=function(a){return new (a||a2)};a2.\u0275prov=n({token:a2,factory:a2.\u0275fac,providedIn:"root"});
var b2=function(){Z.apply(this,arguments);this.activeSession=r(dv);this.checkBeforeExit=r(iT);this.data=r(jL);this.dialogService=r(a2);this.dialogRef=r(dL);this.bannedWordsChecker=r(hT);this.CHAR_LIMIT=1E3;this.FormattingMode=cB;this.formattingAudience=this.data.formattingAudience;this.contentRemovalRequestLink=this.activeSession.isInternalSession()?"https://goto.corp.google.com/delete-comments-attachments":"https://issuetracker.google.com/issues/new?component=169992&template=543202";this.origStatusUpdate=
this.data.statusUpdate;this.newStatusUpdate=zi(this.origStatusUpdate)};Y(b2,Z);b2.\u0275dir=Z.\u0275dir;var W0c=function(a){var b,c;return(c=nGa((b=a.newStatusUpdate)==null?void 0:b.updateText))!=null?c:""};g=b2.prototype;g.ngOnInit=function(){var a=this;this.subscriptions.add(jT(this.checkBeforeExit,function(){return a.isModified()},!1));this.dialogRef.keydownEvents().pipe(Of(this.destroyed$)).subscribe(function(b){b.key==="Escape"&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(Of(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};
g.closeIfUnmodified=function(){if(!this.isModified()){var a;(a=this.dialogService.dialog)==null||a.close()}};g.isModified=function(){return!yi(this.newStatusUpdate,this.origStatusUpdate)};g.asNumber=function(a){return Number(a)};
g.closeDialogForSave=function(){var a=this,b,c,d;return ve(function(e){if(e.nextAddress==1)return a.isModified()?xe(e,a.bannedWordsChecker.check(a.newStatusUpdate.updateText,a.formattingAudience==="EXTERNAL",a.data.componentId),2):e.return();b=e.yieldResult;if(!b)return(c=a.commentDraft)==null||QDc(c),e.return();(d=a.dialogService.dialog)==null||d.close(a.newStatusUpdate);Ce(e)})};b2.\u0275fac=function(){var a;return function(b){return(a||(a=de(b2)))(b||b2)}}();
b2.\u0275cmp=t({type:b2,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&Mg(ZS,5);if(a&2){var c;Qg(c=Rg())&&(b.commentDraft=c.first)}},features:[Yg([hT]),cg],decls:19,vars:17,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"muted"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"contentChange","onSubmit","content","textareaClass"],[1,"char-limit-warning"],[1,"banned-words-warning","break-word"],[1,"inline-block",3,"change","initialValue"],["tabindex","0",
1,"clamper","line-clamp-4"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],["mat-flat-button","",1,"save-button",3,"click","disabled","color"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],[3,"comment","issueId","formattingMode","audience"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"Editing Status Update"),J(),I(2,"section",1)(3,"p",2),Q(4," Editing the Status Update will not permanently remove old ones from database history. "),
K(5,"br"),Q(6," For deletion of PII or other sensitive content, please "),I(7,"a",3),Q(8," file a support request. "),J()(),I(9,"b-comment-draft",4),Xg("contentChange",function(d){Wg(b.newStatusUpdate.updateText,d)||(b.newStatusUpdate.updateText=d);return d}),M("contentChange",function(){b.bannedWordsChecker.reset()})("onSubmit",function(){return b.closeDialogForSave()}),J(),D(10,nqb,2,1,"p",5)(11,oqb,4,1,"p",6),I(12,"b-markdown-toggle",7),M("change",function(d){return b.newStatusUpdate.formattingMode=
d}),J(),D(13,pqb,2,4,"div",8),J(),I(14,"footer",9)(15,"button",10),Q(16," Cancel "),J(),I(17,"button",11),M("click",function(){return b.closeDialogForSave()}),Q(18),J()());if(a&2){var c;C(7);F("href",b.contentRemovalRequestLink,of);C(2);og(W0c(b));Vg("content",b.newStatusUpdate.updateText);F("textareaClass",bh(15,V0c,b.bannedWordsChecker.showWarning()?"banned-words-warning":""));C();G(b.newStatusUpdate.updateText.length>1E3?10:-1);C();G(b.bannedWordsChecker.showWarning()?11:-1);C();ng("margin-bottom",
b.newStatusUpdate.formattingMode!==b.FormattingMode.MARKDOWN);F("initialValue",(c=b.origStatusUpdate.formattingMode)!==null&&c!==void 0?c:b.FormattingMode.PLAIN);C();G(b.newStatusUpdate.formattingMode===b.FormattingMode.MARKDOWN?13:-1);C(2);F("mat-dialog-close",void 0);C(2);F("disabled",b.newStatusUpdate.updateText.length===0||b.newStatusUpdate.updateText.length>1E3||!b.isModified())("color",b.bannedWordsChecker.showWarning()?"warn":"primary");C();R(" ",b.bannedWordsChecker.showWarning()?"Save Anyway":
"Save"," ")}},dependencies:[lL,nL,pL,oL,vD,Vy,kR,KP,ZS],styles:['b-comment-draft[_ngcontent-%COMP%]{position:relative;display:block}b-comment-draft[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:0;height:100%;width:4px;border-top-left-radius:4px;border-bottom-left-radius:4px;pointer-events:none}b-comment-draft.good[_ngcontent-%COMP%]:after{background-color:#34a853;background-color:var(--good)}b-comment-draft.warn[_ngcontent-%COMP%]:after{background-color:#fcc934;background-color:var(--warn)}b-comment-draft.bad[_ngcontent-%COMP%]:after{background-color:#ea4335;background-color:var(--bad)}.clamper[_ngcontent-%COMP%]:focus, .clamper[_ngcontent-%COMP%]:focus-within{display:block;-webkit-line-clamp:none}.banned-words-warning[_ngcontent-%COMP%], .char-limit-warning[_ngcontent-%COMP%]{color:#c5221f;color:var(--text-bad)}\n/*# sourceMappingURL=edit_status_update_dialog.css.map */'],
changeDetection:0});var X0c=function(a){this.internalArray_=m(a)};Y(X0c,V);X0c.prototype.getWorkspaceId_asLegacyNumberOrString=function(){return Vj(this,1)};X0c.prototype.getWorkspaceId_asString=function(){return Oo(this,1)};var Y0c=new $U("/google.corp.devtools.worktracker.v1.WorkspaceService/Get",X0c,No,function(a){return a.serialize()},qfc);var Z0c=function(a){this.internalArray_=m(a)};Y(Z0c,V);var a1c=function(a,b){return kl(a,1,$0c,b)},$0c=[1,2];var b1c=function(a){this.internalArray_=m(a)};Y(b1c,V);var c1c=new $U("/google.corp.devtools.worktracker.v1.WorkspaceService/List",Z0c,b1c,function(a){return a.serialize()},Ih(b1c));var d1c=function(a){var b={withCredentials:!0,suppressCorsPreflight:!0};b=b||{};b.format="jspb";this.client_=new cKc(b);this.hostname_=a==void 0?a:a.replace(/\/+$/,"")};d1c.prototype.get=function(a,b){return hV(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/Get",a,b||{},Y0c)};d1c.prototype.list=function(a,b){return hV(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/List",a,b||{},c1c)};var e1c={},f1c;e1c.Authorization=(f1c=OGa([]))!=null?f1c:"";e1c["X-Goog-Api-Key"]="AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c";e1c["X-Goog-AuthUser"]="0";var d2=function(){this.activeSession=r(dv);this.clientFactory=r(c2);this.client=this.clientFactory.create(this.getServiceEndpoint())},g1c=function(a,b){return a.activeSession.isExternalSession()?Fe([]):ue(a.client.list(a1c(new Z0c,"b/"+b),e1c)).pipe(B(qqb(b)),xf(function(){return Fe([])}))};
d2.prototype.getServiceEndpoint=function(){switch(this.activeSession.getEnvironmentType()){case "NIGHTLY":return"https://staging-worktracker-googleapis.corp.google.com";case "PROD":return"https://worktracker-googleapis.corp.google.com";default:return"https://autopush-worktracker-googleapis.corp.google.com"}};d2.\u0275fac=function(a){return new (a||d2)};d2.\u0275prov=n({token:d2,factory:d2.\u0275fac,providedIn:"root"});var c2=function(){};c2.prototype.create=function(a){return new d1c(a)};
c2.\u0275fac=function(a){return new (a||c2)};c2.\u0275prov=n({token:c2,factory:c2.\u0275fac,providedIn:"root"});var h1c=function(){var a=this;this.pressed=new rG;this.disabled=!1;this.getTooltip=function(){return a.disabled?"Deployment status is only available for submitted Boq, Pod & Annealing CLs. For more information, go/devgraph_supported_insights.":"Open the insights graph"}};h1c.\u0275fac=function(a){return new (a||h1c)};
h1c.\u0275cmp=t({type:h1c,selectors:[["insights-graph-btn"]],inputs:{disabled:"disabled"},outputs:{pressed:"pressed"},decls:14,vars:3,consts:[["mat-stroked-button","","color","primary",3,"click","title","disabled"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 18 22"],["fill","none","fill-rule","evenodd"],"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-opacity;.4;d;M17.5 5.41l-8-3.91m0 7.82l-8-3.91".split(";"),"stroke;currentColor;stroke-opacity;.4;d;M9.5 9.32v10".split(";"),
"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-width;1.5;d;M9.5 1.5l-8 3.91v10.01l8 3.91 8-3.91V5.41l-8 3.91".split(";"),"cx 1.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 9.32 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 1.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 19.33 r 1.5 fill currentColor fill-rule nonzero".split(" "),
"cx 9.5 cy 1.5 r 1.5 fill currentColor fill-rule nonzero".split(" ")],template:function(a,b){a&1&&(I(0,"button",0),M("click",function(){return b.pressed.emit()}),Q(1,"Insights "),Wd(),I(2,"svg",1)(3,"g",2),K(4,"path",3)(5,"path",4)(6,"path",5)(7,"circle",6)(8,"circle",7)(9,"circle",8)(10,"circle",9)(11,"circle",10)(12,"circle",11)(13,"circle",12),J()()());a&2&&(F("title",b.getTooltip())("disabled",b.disabled),eg("aria-label",b.getTooltip()))},dependencies:[vD,Vy],styles:["button.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]{line-height:20px;padding:0 5px;font-size:.75rem;font-weight:500;font-family:Roboto,Arial,sans-serif;height:auto}[_nghost-%COMP%]     button.gmat-mdc-button.mat-mdc-outlined-button:not(.gmat-mdc-button-with-prefix){padding:0 5px}[disabled][_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{filter:grayscale(1);opacity:.5}svg[_ngcontent-%COMP%]{height:14px;width:14px;vertical-align:text-bottom}/*# sourceMappingURL=insights_graph_btn.css.map */"],
changeDetection:0});var i1c=["popOver"],sqb=function(a){return{$implicit:a}},e2=function(a){this.disabled=!1;this.displayEditIcon=!0;this.openPopOverOnInit=!1;this.valueChange=new kw;this.required=this.editing=this.headerFocused=!1;this.editingValue="";this.onChange=function(){};this.onTouched=function(){};if(a===""||a==="true"||a==="required")this.required=!0};Y(e2,jU);g=e2.prototype;g.ngOnInit=function(){};g.ngAfterViewInit=function(){var a=this;this.openPopOverOnInit&&setTimeout(function(){a.startEditing()})};
g.valueChanged=function(){return xqb(this.editingValue)!==this.value};g.startEditing=function(){this.disabled||(this.onTouched(),this.editing=!0,this.editingValue=this.value!=null?String(this.value):"",this.popOver.open())};g.stopEditing=function(a){this.editing=!1;a===0&&(this.onChange(this.editingValue),this.value=a=xqb(this.editingValue),this.valueChange.emit(a))};g.writeValue=function(a){var b=xqb(a);if(a!=null||this.val!==b)this.val=b,this.editingValue=a!=null?a:""};
g.isActive=function(){return this.headerFocused||this.editing};g.registerOnChange=function(a){this.onChange=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a};ea.Object.defineProperties(e2.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a!=null?String(a):null)}}});e2.\u0275fac=function(a){return new (a||e2)(Zd("required"))};
e2.\u0275cmp=t({type:e2,selectors:[["onedev-numeric-field"]],viewQuery:function(a,b){a&1&&Mg(i1c,7);if(a&2){var c;Qg(c=Rg())&&(b.popOver=c.first)}},inputs:{value:"value",disabled:"disabled",displayEditIcon:"displayEditIcon",labelledById:"labelledById",openPopOverOnInit:"openPopOverOnInit",valueTemplate:"valueTemplate"},outputs:{valueChange:"valueChange"},features:[Yg([{provide:mz,useExisting:id(function(){return e2}),multi:!0},{provide:jU,useExisting:id(function(){return e2}),multi:!0}]),cg],decls:11,
vars:6,consts:[["anchor",""],["standardValueDisplay",""],["popOver","onedevPopOverEditPanel"],["inputTemplate",""],["aria-label","Edit numeric field",3,"click","focus","blur","disabled"],[4,"ngIf","ngIfElse"],["class","edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",4,"ngIf"],[3,"closedWithAction","anchor","editorTemplate"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"edit-icon"],["d","M20.71,5.63l-2.34-2.34C18.18,3.1,17.92,3,17.67,3c-0.26,0-0.51,0.1-0.71,0.29L3,17.25L3,21h3.75L20.71,7.04 C21.1,6.65,21.1,6.02,20.71,5.63z M5.92,19H5l0-0.92L15.54,7.53l0.92,0.92L5.92,19z"],
["type","number",3,"ngModelChange","ngModel"]],template:function(a,b){if(a&1){var c=x();I(0,"button",4,0);M("click",function(){z(c);return A(b.startEditing())})("focus",function(){z(c);return A(b.headerFocused=!0)})("blur",function(){z(c);return A(b.headerFocused=!1)});I(2,"span");D(3,tqb,2,4,"ng-container",5)(4,uqb,1,1,"ng-template",null,1,fh);J();D(6,vqb,2,0,"svg",6);J();I(7,"onedev-pop-over-edit-panel",7,2);M("closedWithAction",function(f){z(c);return A(b.stopEditing(f))});J();D(9,wqb,1,1,"ng-template",
null,3,fh)}if(a&2){a=L(1);var d=L(5),e=L(10);F("disabled",b.disabled);C(3);F("ngIf",b.valueTemplate)("ngIfElse",d);C(3);F("ngIf",!b.disabled&&b.displayEditIcon);C();F("anchor",a)("editorTemplate",e)}},dependencies:[Gw,Hw,ki,Dz,tz,Bz,kU],styles:["button[_ngcontent-%COMP%]{background:none;border:1px solid transparent;color:var(--text-default,#202124);padding:4px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;line-height:18px;border-radius:5px;width:100%;min-height:27px;min-width:100px}button[_ngcontent-%COMP%]:hover{cursor:pointer;border-color:var(--field-hover-border,#d2e3fc)}button[_ngcontent-%COMP%]:disabled{cursor:not-allowed}button.active[_ngcontent-%COMP%], button[_ngcontent-%COMP%]:focus{outline:0;border-color:var(--primary-default,#1a73e8)}.ng-invalid.ng-touched[_nghost-%COMP%]   button[_ngcontent-%COMP%]{border-color:var(--warn-default,#d93025)}.edit-icon[_ngcontent-%COMP%]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;margin-left:auto;width:16px;height:16px;color:var(--icon,#5f6368);fill:currentColor}input[type=number][_ngcontent-%COMP%]{padding:4px;border-radius:5px;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;color:var(--text-default,#202124);border:1px solid var(--field-hover-border,#d2e3fc);background-color:var(--surface-default,#fff);line-height:18px}input[type=number][_ngcontent-%COMP%]:focus{outline:none;border-color:var(--primary-default,#1a73e8)}"]});var Dqb=function(){return[]},f2=function(){this.disabled=this.thinking=!1;this.effortChange=new rG;this.isCompatibleValue=!0;this.fieldName="";this.fieldType="UNKNOWN";this.isNaN=isNaN};
f2.prototype.ngOnChanges=function(){if(this.getFieldType()==="DROPDOWN"){var a;this.effortSpec&&(a=this.effortSpec.enumSpec)!=null&&a.options&&this.effort&&this.effort.estimate?(a=j1c(this),a=a==="incompatible"?{label:this.effort.estimate,value:0}:a):a=void 0;this.selectedOption=a}else if(this.getFieldType()==="NUMERIC"){var b,c;this.selectedNumericEstimate=((b=this.effort)==null?0:b.estimate)?Number((c=this.effort)==null?void 0:c.estimate):void 0}this.fieldName=this.getFieldName();this.fieldType=
this.getFieldType();this.isCompatibleValue=k1c(this)};f2.prototype.selectOption=function(a){this.selectedOption=a;if(a==null)this.effort=void 0;else{var b,c;this.effort={specId:(c=(b=this.effortSpec)==null?void 0:b.id)!=null?c:0,estimate:a.label}}this.isCompatibleValue=k1c(this);this.effortChange.emit(this.effort)};f2.prototype.getFieldName=function(){return this.effortSpec?this.effortSpec.name||"":this.effort?"Estimate "+this.effort.specId:"Estimate"};
f2.prototype.getFieldType=function(){var a;if((a=this.effortSpec)==null?0:a.numericSpec)return"NUMERIC";var b;return((b=this.effortSpec)==null?0:b.enumSpec)?"DROPDOWN":"UNKNOWN"};
var k1c=function(a){var b;if(!a.effort||(b=a.effort)==null||!b.estimate)return!0;var c,d;if(((c=a.effortSpec)==null?void 0:c.id)!==((d=a.effort)==null?void 0:d.specId)||a.fieldType==="DROPDOWN"&&j1c(a)==="incompatible")return!1;var e,f;return a.getFieldType()==="NUMERIC"&&isNaN(Number((f=(e=a.effort)==null?void 0:e.estimate)!=null?f:""))?!1:!0},j1c=function(a){var b;if((b=a.effort)==null?0:b.estimate){var c,d,e,f;return(f=(c=a.effortSpec)==null?void 0:(d=c.enumSpec)==null?void 0:(e=d.options)==null?
void 0:e.find(function(h){var l;return h.label===((l=a.effort)==null?void 0:l.estimate)}))!=null?f:"incompatible"}};f2.\u0275fac=function(a){return new (a||f2)};
f2.\u0275cmp=t({type:f2,selectors:[["b-estimated-effort-row"]],inputs:{thinking:"thinking",effort:"effort",effortSpec:"effortSpec",disabled:"disabled"},outputs:{effortChange:"effortChange"},features:[Hd],decls:3,vars:1,consts:[["rawNumericValueTemplate",""],["warningHovercard","onedevHovercard"],["optionTemplate",""],["labelTooltip","Estimated effort",3,"thinking"],["svgIcon","error","aria-hidden","false","aria-label","This estimate was made under a different configuration and needs to be \n                          updated.",
1,"icon-xs","effort-warning","align-items-center",3,"onedevHovercardTrigger"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["href","http://go/buganizer/user-guide/concepts/wtdm-home.md?cl=head#stale-effort","target","_blank"],[3,"thinking"],[1,"flex-kids-x",3,"value","valueTemplate","disabled","displayEditIcon"],[1,"flex-kids-x",3,"valueChange","value","valueTemplate","disabled","displayEditIcon"],[3,"valueChange","value","options","includeEmptyOption","optionTemplate",
"disabled","displayArrowIcon"]],template:function(a,b){a&1&&D(0,Hqb,15,5,"onedev-edit-field")(1,Kqb,2,1,"ng-template",null,0,fh);a&2&&G(b.effortSpec?0:-1)},dependencies:[$D,pU,qU,rU,m0,e2,bK,hK],styles:["onedev-numeric-field[_ngcontent-%COMP%], onedev-single-select[_ngcontent-%COMP%]{flex:1;width:100%}.effort-warning[_ngcontent-%COMP%]{color:#e37400;color:var(--warn-gfx);overflow:visible}/*# sourceMappingURL=estimated_effort_row.css.map */"]});var g2=function(){this.staffingDialogService=r(C1);this.tooltipText=this.staffingSummary=this.staffingPlaceholderSummary=this.staffingUserSummary=""};
g2.prototype.ngOnChanges=function(){var a,b,c=(b=(a=this.staffing)==null?void 0:a.plannedAllocations)!=null?b:[];a=c.filter(function(d){return!!d.user});c=c.filter(function(d){return!!d.placeholder}).map(function(d){var e=d.placeholder.role;return d.placeholder.count+" "+(e&&e!=="JOB_ROLE_UNSPECIFIED"?Ok[e]:"Other")});b=c.length?c.join(", "):"0";this.staffingUserSummary=a.length?"Users: "+a.length:"";this.staffingPlaceholderSummary=c.length?"Placeholders: "+b:"";this.staffingSummary=this.staffingUserSummary+
(" - "+this.staffingPlaceholderSummary);this.tooltipText="View"+(this.isAllowedToEdit?" or edit":"")+" staffing"};var l1c=function(a){var b,c,d;a.staffingDialogService.show((c=(b=a.staffing)==null?void 0:b.plannedAllocations)!=null?c:[],a.issueId,(d=a.isAllowedToEdit)!=null?d:!1)};g2.\u0275fac=function(a){return new (a||g2)};
g2.\u0275cmp=t({type:g2,selectors:[["b-staffing-row"]],inputs:{staffing:"staffing",issueId:"issueId",isAllowedToEdit:"isAllowedToEdit"},features:[Hd],decls:25,vars:5,consts:[["fieldContent",""],["infoHovercard","onedevHovercard"],[1,"bv2-issue-metadata-field"],["role","button","tabindex","0",1,"bv2-issue-metadata-field-inner","bv2-issue-metadata-field-staffing","keep-focus-ring",3,"keydown.enter","keyup.space","keydown.space"],[1,"bv2-editable-title","bv2-editable-title-staffing","flex-kids-x",3,
"onedevHovercardTrigger"],[1,"bv2-editable-value",3,"click","matTooltip"],[1,"staffing-summaries"],[1,"issue-metadata-field-edit-icon"],["svgIcon","edit-outline"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["href","http://developers.google.com/issue-tracker/references/glossary-of-fields","target","_blank"],[1,"user-summary"],[1,"placeholder-summary"]],template:function(a,b){if(a&1){var c=x();I(0,"div")(1,"div",2)(2,"div",3);M("keydown.enter",function(){z(c);return A(l1c(b))})("keyup.space",
function(){z(c);return A(l1c(b))})("keydown.space",function(d){z(c);return A(d.preventDefault())});I(3,"div",4)(4,"label");Q(5," Staffing ");J()();I(6,"div",5,0);M("click",function(){z(c);return A(l1c(b))});I(8,"div",6);D(9,Lqb,1,0)(10,Mqb,4,2);J();I(11,"div",7);K(12,"mat-icon",8);J()()()();I(13,"onedev-hovercard",null,1)(15,"div",9)(16,"div",10)(17,"div");Q(18," Use the Staffing field to represent planned contributors on this issue. ");J();K(19,"br");I(20,"div");Q(21," Allocations can be specified by user along with their involvement level on this issue (high, medium, low, or zero). Placeholder allocations can be specified by job role if the user who will be contributing is not yet known. ");
J();K(22,"br");I(23,"a",11);Q(24," Learn more ");J()()()()()}a&2&&(a=L(14),C(2),eg("aria-label","Staffing: "+b.staffingSummary)("aria-disabled",!1),C(),F("onedevHovercardTrigger",a),C(3),Gg("matTooltip",b.tooltipText),C(3),G(b.staffingUserSummary||b.staffingPlaceholderSummary?10:9))},dependencies:[$D,FH,HH,bK,hK],styles:[".staffing-summaries[_ngcontent-%COMP%]{flex-direction:column}/*# sourceMappingURL=staffing_row.css.map */"],changeDetection:0});var m1c=function(a){return{"internal-only":a}},h2=function(){Z.apply(this,arguments);var a=this;this.session=r(dv);this.userPreferencesManager=r(yH);this.sloStatusHelpersService=r(SL);this.paths=r(zO);this.sloFridge=r(fH);this.onSloStartTimeChange=new rG;this.onSloEndTimeChange=new rG;this.showInternalOnlyFieldBadge=!1;this.providedSloId$=new If(1);this.slo$=this.providedSloId$.pipe(Nf(function(b){return a.sloFridge.watch(b)}));this.hasClosureSlo=this.isSloEndEditTimePickerOpen=this.isSloStartEditTimePickerOpen=
this.enableSloEndTime=this.hasSloEndTime=this.hasSloStartTime=this.isAccordionExpanded=!1};Y(h2,Z);h2.\u0275dir=Z.\u0275dir;h2.prototype.ngOnInit=function(){var a=this;n1c(this);this.userPreferencesManager.layoutPreferences$.pipe(Of(this.destroyed$)).subscribe(function(b){a.isAccordionExpanded=!!b.expandIssueSlo})};h2.prototype.ngOnChanges=function(){this.sloId&&this.providedSloId$.next(this.sloId);n1c(this)};
var n1c=function(a){a.hasSlo=!!a.sloStatus&&Prc(a.sloStatus);a.hasClosureSlo=a.hasSlo&&Qrc(a.sloStatus,"CLOSURE");a.enableSloEndTime=lu(a.session,"enableSloEndTime");var b,c;(c=a.sloStatus)?(c=c.closureBounds,c=TL(jj(c))?c.targetTime:void 0):c=void 0;a.closureSloTarget=(b=c==null?void 0:c.seconds)!=null?b:0;b=a.sloStartTime;a.hasSloStartTime=!!b&&b.seconds!==0;b=a.sloEndTime;a.hasSloEndTime=!!b&&b.seconds!==0;a.sloId&&a.sloId!=="0"?a.editSloLink=tq.editSlo.makeHref(a.sloId):a.editSloLink=void 0;a.componentId?
a.componentSloLink=tq.editComponent.makeHref(a.componentId):a.componentSloLink=void 0},o1c=function(a){a.isAccordionExpanded=!a.isAccordionExpanded;fgc(a.userPreferencesManager,{expandIssueSlo:a.isAccordionExpanded}).pipe(Of(a.destroyed$)).subscribe();vo("issueSlo","toggle",a.isAccordionExpanded?"open":"close")};h2.prototype.updateSloStartTime=function(a){this.onSloStartTimeChange.next(a)};h2.prototype.updateSloEndTime=function(a){this.onSloEndTimeChange.next(a)};
h2.prototype.trackOpenSlo=function(){vo("editSlo","open","fromIssueSloBox")};h2.\u0275fac=function(){var a;return function(b){return(a||(a=de(h2)))(b||h2)}}();
h2.\u0275cmp=t({type:h2,selectors:[["b-issue-slo-box"]],inputs:{sloId:"sloId",componentId:"componentId",sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",isEditable:"isEditable",issueCreationTimestamp:"issueCreationTimestamp",showInternalOnlyFieldBadge:"showInternalOnlyFieldBadge"},outputs:{onSloStartTimeChange:"onSloStartTimeChange",onSloEndTimeChange:"onSloEndTimeChange"},features:[cg,Hd],decls:19,vars:22,consts:[["trigger","cdkOverlayOrigin"],[1,"slo-container",3,"ngClass"],
[1,"issue-slo-box-title",3,"click"],["svgIcon","shield_person_24px","matTooltip","Visible to internal only","aria-label","Visible to internal only",1,"icon-xs","internal-only-badge"],[1,"slo-body"],[1,"slo-status"],[3,"hidden"],[3,"sloStatus","sloStartTime","sloEndTime","includeSloMetric","includeObjective"],[3,"sloStatus","sloStartTime","sloEndTime","includeNoSlo"],["mat-icon-button","","aria-label","Toggle the detailed SLO status","matTooltip","Toggle the detailed SLO status",1,"expand-button",
"small",3,"click"],["svgIcon","arrow-up",1,"icon-s"],["svgIcon","arrow-down",1,"icon-s"],[1,"slo-actions",3,"hidden"],["id","start-time-row",1,"slo-action"],["id","end-time-row",1,"slo-action"],[1,"slo-action"],["href","http://go/buganizer/guides/defer-slos","target","_blank","aria-label","View help page on deferring slos","matTooltip","View help page on deferring slos",1,"clear-link"],[1,"slo-edit"],["role","button","tabindex","0","aria-label","Modify the slo start date value","matTooltip","Modify the slo start date value",
"cdkOverlayOrigin","",1,"bv2-metadata-link",3,"keydown.enter","keydown.space","click"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen"],["mode","datetime",3,"timestamp"],[3,"closePicker","sloEditCommit","sloStatus","sloEditTime"],["role","button","tabindex","0","aria-label","Modify the slo end date value","matTooltip","Modify the slo end date value","cdkOverlayOrigin","",1,"bv2-metadata-link",3,"click","keydown.enter","keydown.space"],["aria-label","Navigate to the applied slo page",
"matTooltip","Navigate to the applied slo page",1,"slo-link","bv2-metadata-link","slo-definition"],["aria-label","Navigate to the applied slo page","matTooltip","Navigate to the applied slo page",1,"slo-link","bv2-metadata-link","slo-definition",3,"click"],["aria-label","Open page to select an slo","matTooltip","Open page to select an slo",1,"bv2-metadata-link","bv2-metadata-tool","slo-definition",3,"click"]],template:function(a,b){a&1&&(I(0,"div",1)(1,"span",2),M("click",function(){return o1c(b)}),
I(2,"label"),Q(3,"SLO Status"),J(),D(4,Nqb,1,0,"mat-icon",3),J(),I(5,"div",4)(6,"div",5)(7,"div",6),K(8,"b-aggregated-slo-status-indicator",7),J(),I(9,"div",6),K(10,"b-slo-status-summary",8),J(),I(11,"button",9),M("click",function(){return o1c(b)}),D(12,Oqb,1,0,"mat-icon",10)(13,Pqb,1,0,"mat-icon",11),J()(),I(14,"div",12),D(15,Tqb,9,3,"div",13)(16,Yqb,10,5,"div",14)(17,$qb,4,3,"div",15)(18,arb,3,1,"div",15),J()()());a&2&&(F("ngClass",bh(20,m1c,b.showInternalOnlyFieldBadge)),C(4),G(b.showInternalOnlyFieldBadge?
4:-1),C(3),F("hidden",b.isAccordionExpanded),C(),F("sloStatus",b.sloStatus)("sloStartTime",b.sloStartTime)("sloEndTime",b.sloEndTime)("includeSloMetric",!0)("includeObjective",!0),C(),F("hidden",!b.isAccordionExpanded),C(),F("sloStatus",b.sloStatus)("sloStartTime",b.sloStartTime)("sloEndTime",b.sloEndTime)("includeNoSlo",!0),C(),eg("aria-expanded",b.isAccordionExpanded),C(),G(b.isAccordionExpanded?12:13),C(2),F("hidden",!b.isAccordionExpanded),C(),G(b.isEditable?15:-1),C(),G(b.enableSloEndTime&&b.isEditable?
16:-1),C(),G(b.editSloLink?17:-1),C(),G(!b.editSloLink&&b.componentSloLink?18:-1))},dependencies:[Ew,$D,FH,HH,vD,Xy,U1,VM,L1,f1,wy,vy,Iw],styles:["[_nghost-%COMP%]{align-items:baseline}[_nghost-%COMP%]:focus{outline:0}.slo-container[_ngcontent-%COMP%]{padding-bottom:8px}.internal-only[_ngcontent-%COMP%]{display:flex;flex-direction:column;border-radius:2%;margin:0 5px;background-color:#f4f5f6;background-color:var(--tonal-fill-grey)}.internal-only[_ngcontent-%COMP%]   .issue-slo-box-title[_ngcontent-%COMP%]{margin:0 14px}.internal-only[_ngcontent-%COMP%]   .issue-slo-box-title[_ngcontent-%COMP%]   .internal-only-badge[_ngcontent-%COMP%]{display:inline-block;color:#188038;color:var(--good-bg-inverse);transform:translate(5px, 5px)}.internal-only[_ngcontent-%COMP%]   .slo-body[_ngcontent-%COMP%]{margin:5 14px}[_nghost-%COMP%]:hover   .slo-body[_ngcontent-%COMP%]{box-shadow:0 0 0 1px #d2e3fc;box-shadow:0 0 0 1px var(--primary-c100);border-radius:4px}.internal-only[_ngcontent-%COMP%]:hover   .slo-body[_ngcontent-%COMP%]{box-shadow:0 0 0 1px #9aa0a6;box-shadow:0 0 0 1px var(--c500)}[_nghost-%COMP%]:focus   .slo-body[_ngcontent-%COMP%], [_nghost-%COMP%]:focus-within   .slo-body[_ngcontent-%COMP%]{box-shadow:0 0 0 1px #1a73e8;box-shadow:0 0 0 1px var(--primary);border-radius:4px}[_nghost-%COMP%]:focus   .issue-slo-box-title[_ngcontent-%COMP%], [_nghost-%COMP%]:focus-within   .issue-slo-box-title[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.internal-only[_ngcontent-%COMP%]:focus   .slo-body[_ngcontent-%COMP%]{box-shadow:0 0 0 1px #9aa0a6;box-shadow:0 0 0 1px var(--c500)}.issue-slo-box-title[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400;font-weight:500;margin:0 16px;flex:0 0 23%;min-width:80px;max-width:120px;padding-right:10px;color:#5f6368;color:var(--text-muted)}.slo-body[_ngcontent-%COMP%]{display:inline-block;margin:0 14px;padding:8px 0 8px 4px;width:fill-available;width:-webkit-fill-available}.slo-status[_ngcontent-%COMP%]{display:flex}.slo-actions[_ngcontent-%COMP%]   .slo-action[_ngcontent-%COMP%]{vertical-align:baseline;min-height:24px}.slo-action[_ngcontent-%COMP%]   .slo-edit[_ngcontent-%COMP%]{display:inline-block}.slo-action[_ngcontent-%COMP%]   .slo-definition[_ngcontent-%COMP%]{min-height:24px}.clear-link[_ngcontent-%COMP%]{color:inherit;text-decoration:none;background-color:none}.expand-button[_ngcontent-%COMP%]{margin-left:auto}.expand-button[_ngcontent-%COMP%]   .accordion-icon[_ngcontent-%COMP%]{display:block}.d-cozy[_ngcontent-%COMP%]   issue-slo-box[_ngcontent-%COMP%]{margin:4px 14px 4px 19px}.d-compact[_ngcontent-%COMP%]   issue-slo-box[_ngcontent-%COMP%]{margin:2px 14px 2px 19px}"]});var p1c={MISSING:"MISSING",DELETED:"DELETED",VALID:"VALID"};var i2=function(){Z.call(this);var a=this;this.data=r(jL);this.dialogRef=r(dL);this.teamsService=r(lH);this.componentActions=r(gO);this.userPreferencesManager=r(yH);this.snackBar=r(eE);this.analytics=r(wG);this.errorHandler=r(jE);this.componentFridge=r(AC);this.warningType=this.data.warningType;this.componentId=this.data.componentId;this.parentComponentId=this.data.parentComponentId;this.teamSuggestionIds=this.data.teamSuggestionIds;this.header="";this.suggestedTeams$=Zfc(this.teamsService,this.teamSuggestionIds).pipe(B(function(b){for(var c=
[],d=k(a.teamSuggestionIds),e=d.next();!e.done;e=d.next()){e=e.value;var f=b.get(e);f&&c.push(new q1c(e,f.collapsedPathNames))}return c}),Mf([]));this.myTeams$=nH(this.teamsService,"").pipe(B(function(b){return b.map(function(c){return new q1c(c.teamId,c.pathNames)})}));this.teamOptions=[];this.selectedTeam=new q1c(this.teamSuggestionIds[0]||"0",[]);this.teamAction="CHANGE";this.componentSetting=tq.editComponent.makeHref(this.componentId);this.WarningType=p1c;Me([this.suggestedTeams$,this.myTeams$]).pipe(B(function(b){var c=
k(b);b=c.next().value;c=c.next().value;return[].concat(w(b),w(c))}),B(vta(function(b){return b.teamId})),Of(this.destroyed$)).subscribe(function(b){a.teamOptions=b;a.selectedTeam=b[0]})};Y(i2,Z);i2.\u0275dir=Z.\u0275dir;i2.prototype.ngOnInit=function(){this.warningType==="MISSING"?this.header="Add team to the component":this.warningType==="DELETED"&&(this.header="Change team mapping for this component")};
i2.prototype.confirm=function(){var a=this;if(this.teamAction==="CHANGE")this.parentComponentId>0?this.componentActions.get(this.parentComponentId).then(function(c){var d;r1c(a,((d=c.team)==null?void 0:d.id)||"0",a.selectedTeam.teamId)}):r1c(this,"0",this.selectedTeam.teamId);else{var b=zi(this.userPreferencesManager.teamWarningPreferencesSubject$.value);b.componentTeamWarnings.push({componentId:this.componentId,dismissMillis:(new Date).getTime()});kgc(this.userPreferencesManager,b).pipe(Of(this.destroyed$)).subscribe(function(){a.analytics.trackEvent("teamWarning",
"dismiss","componentId",a.componentId);var c;(c=a.dialogRef)==null||c.close()},function(){})}};var r1c=function(a,b,c){a.componentActions.updateTeam(a.componentId,{inherit:c===b,id:c}).then(function(d){a.componentFridge.announce(d);a.analytics.trackEvent("teamWarning","updateTeam");a.snackBar.open("Team mapping changed","",{duration:4E3});var e;(e=a.dialogRef)==null||e.close(a.selectedTeam.teamId)}).catch(function(d){a.errorHandler.errorHandler(null,d)})};
i2.prototype.selectOption=function(a){this.selectedTeam=a};i2.prototype.trackClick=function(a){this.analytics.trackEvent("teamWarning","click",a)};i2.prototype.getMomaTeamLink=function(){return"https://moma.corp.google.com/team/"+this.selectedTeam.teamId};i2.\u0275fac=function(a){return new (a||i2)};
i2.\u0275cmp=t({type:i2,selectors:[["b-team-warning-dialog"]],features:[cg],decls:11,vars:3,consts:[["suggestedTeamOption",""],["optionTemplate",""],["mat-dialog-title",""],["mat-dialog-content",""],["mat-button","","mat-dialog-close","",1,"medium"],["mat-flat-button","","cdkFocusInitial","",3,"click"],["target","_blank",3,"click","href"],["aria-label","Quick team actions",3,"ngModelChange","ngModel"],["value","NONE"],["value","CHANGE"],[4,"ngTemplateOutlet"],["target","_blank",3,"href"],[1,"suggested-teams"],
[3,"valueChange","disabled","value","options","includeEmptyOption","optionTemplate"],["mat-icon-button","","target","_blank","matTooltip","Go to Moma Team page.",1,"small",3,"click"],["svgIcon","pop-out",1,"icon-s"],[1,"suggested-team-option"]],template:function(a,b){if(a&1){var c=x();I(0,"h1",2);Q(1);J();D(2,drb,13,3,"div",3)(3,frb,6,2,"div",3)(4,krb,1,1,"ng-template",null,0,fh);I(6,"mat-dialog-actions")(7,"button",4);Q(8," Cancel ");J();I(9,"button",5);M("click",function(){z(c);return A(b.confirm())});
Q(10," Confirm ");J()()}a&2&&(C(),Tg(b.header),C(),G(b.warningType===b.WarningType.MISSING?2:-1),C(),G(b.warningType===b.WarningType.DELETED?3:-1))},dependencies:[Hw,$D,tz,Bz,vD,Vy,Yy,lL,nL,pL,oL,uO,vO,FH,HH,m0],styles:["mat-radio-button[_ngcontent-%COMP%]{margin-top:10px}.suggested-teams[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;align-items:center;margin-top:5px}a.mat-mdc-icon-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}[_nghost-%COMP%]     onedev-single-select button{border-color:#bdc1c6}  span.suggested-team-option{display:inline-block;width:490px}"]});
var q1c=function(a,b){this.teamId=a;this.teamPath=b.join(" > ")};var j2=function(){Z.apply(this,arguments);this.matDialogService=r(kL);this.analytics=r(wG);this.teamSuggestions=[];this.messageOnly=!1;this.updateTeam=new rG};Y(j2,Z);j2.\u0275dir=Z.\u0275dir;j2.prototype.ngOnInit=function(){};j2.prototype.ngOnChanges=function(){this.warningType==="MISSING"?(this.warningMessage="Team mapping is missing",this.buttonName="Add"):this.warningType==="DELETED"&&(this.warningMessage="This team no longer exists",this.buttonName="Change")};
j2.prototype.openDialog=function(){var a=this;this.analytics.trackEvent("teamWarning","open");eL(this.matDialogService.open(i2,{width:"580px",data:{warningType:this.warningType,componentId:this.componentId,parentComponentId:this.parentComponentId,teamSuggestionIds:this.teamSuggestions.map(function(b){return String(b.teamId)})}})).pipe(Of(this.destroyed$)).subscribe(function(b){b&&a.updateTeam.emit(b)})};j2.\u0275fac=function(){var a;return function(b){return(a||(a=de(j2)))(b||j2)}}();
j2.\u0275cmp=t({type:j2,selectors:[["b-team-warning"]],inputs:{warningType:"warningType",componentId:"componentId",parentComponentId:"parentComponentId",teamSuggestions:"teamSuggestions",messageOnly:"messageOnly"},outputs:{updateTeam:"updateTeam"},features:[cg,Hd],decls:4,vars:2,consts:[["messageType","caution","format","app"],["format","fill","mat-button","",3,"click"]],template:function(a,b){a&1&&(I(0,"b-callout",0)(1,"b-callout-body"),Q(2),J(),D(3,lrb,3,1,"b-callout-actions"),J());a&2&&(C(2),R(" ",
b.warningMessage," "),C(),G(b.messageOnly?-1:3))},dependencies:[IH,ZP,$P],encapsulation:2});var s1c=new Bd("DevopsGraphLogger",{providedIn:"root",factory:function(){return sj}}),t1c=new Bd("DEV_GRAPH",{providedIn:"root",factory:function(){var a;return ve(function(b){switch(b.nextAddress){case 1:return we(b,2),xe(b,mrb(),4);case 4:a=b.yieldResult;jv(b,3);break;case 2:return Be(b),b.return();case 3:return we(b,5),xe(b,a.loadGraph(),7);case 7:jv(b,6);break;case 5:return Be(b),b.return();case 6:return b.return(google.corp.devops.tools.graph)}})}});var k2=function(){var a=this;this.session=r(dv);this.theme=r($S);this.logger=r(s1c);this.graphBuilder=r(t1c);this.open$=new Jf;this.close$=new Jf;this.getContainer=function(){return document.getElementById("graph-sidebar-host")};this.onGraphClose=function(){var b=a.getContainer();b!=null&&(b.classList.remove("open"),a.close$.next())};this.onGraphOpen=function(){var b=a.getContainer();b!=null&&(b.classList.add("open"),a.open$.next())};this.init()};
k2.prototype.init=function(){var a=this,b,c,d,e,f;return ve(function(h){if(h.nextAddress==1)return b=a.getContainer(),!b||a.graphService&&a.graphController?h.return():xe(h,a.graphBuilder,2);c=h.yieldResult;d=nrb(a.session.getEnvironmentType());if(e=c.createService({environment:d}))f=a.theme.clientDarkmodeSubject.getValue(),a.graphService=e,a.graphController=e.createController({element:b,onClose:a.onGraphClose,onOpen:a.onGraphOpen,theme:f?"dark":void 0}),a.theme.clientDarkmode$.subscribe(function(l){var q;
(q=a.graphController)==null||q.setTheme(l?"dark":"light")});Ce(h)})};var u1c=function(a,b){var c;return ve(function(d){switch(d.nextAddress){case 1:return we(d,2),xe(d,a.init(),4);case 4:return a.graphService==null?d.return(new Set):xe(d,a.graphService.getAvailableIssueContexts(Number(b)),6);case 6:return d.return(d.yieldResult);case 5:jv(d,0);break;case 2:return c=Be(d),a.logger(c),d.return(new Set)}})};
k2.prototype.openSidebar=function(a,b){var c=this,d;return ve(function(e){switch(e.nextAddress){case 1:return xe(e,c.init(),2);case 2:if(!c.graphController)return e.return();we(e,3);return xe(e,c.graphController.openIssueContext(Number(a),b),5);case 5:jv(e,0);break;case 3:d=Be(e),c.logger(d),Ce(e)}})};
k2.prototype.close=function(){var a=this,b;return ve(function(c){switch(c.nextAddress){case 1:return xe(c,a.init(),2);case 2:if(!a.graphController)return c.return();we(c,3);return xe(c,a.graphController.close(),5);case 5:jv(c,0);break;case 3:b=Be(c),a.logger(b),Ce(c)}})};k2.\u0275fac=function(a){return new (a||k2)};k2.\u0275prov=n({token:k2,factory:k2.\u0275fac,providedIn:"root"});var l2=function(){Z.call(this);var a=this;this.devopsGraph=r(k2);this.paramsService=r(OL);this.analytics=r(wG);this.butterBar=r(hE);this.router=r(HE);this.route=r(ao);this.activeSession=r(dv);this.contextSensitiveRegistry=r(WL);this.id$=this.contextSensitiveRegistry.getIssueId().pipe(B(function(b){return b||void 0}));this.contexts$=this.id$.pipe(Nf(function(b){return ve(function(c){return a.devopsGraph.getContainer()!=null&&b?c.return(u1c(a.devopsGraph,b).then(function(d){return{issueId:b,availablePanels:d}})):
c.return(void 0)})}),Kf({refCount:!1,bufferSize:1}));this.availablePanels$=this.contexts$.pipe(B(function(b){return b?b.availablePanels:new Set}));this.shouldShowInsightsGraphMenu$=this.contexts$.pipe(B(function(b){return!!b&&b.availablePanels.size>0&&a.activeSession.isInternalSession()&&a.devopsGraph.getContainer()!=null}));this.shouldShowInsightsGraphButton$=this.contexts$.pipe(B(function(b){return!!b&&b.availablePanels.size>0&&a.activeSession.isInternalSession()&&a.devopsGraph.getContainer()!=
null&&b.availablePanels.has("deployments")}));this.openSidebar.bind(this);this.subscriptions.add(this.contexts$.subscribe(function(b){if(b){b=b.availablePanels;a.track("ingress-view-"+(b.size>0?"enabled":"disabled"));b.has("deployments")&&a.track("ingress-view-deployments-enabled");var c=a.paramsService.params.showInsights;c&&(c==="default"?b.size>0?a.openSidebar():a.butterBar.showWarning("Could not open Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."):b.has(c)?a.openSidebar(c):
a.butterBar.showWarning("Could not open "+c+" Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."))}else a.devopsGraph.close()}));this.subscriptions.add(this.devopsGraph.close$.subscribe(function(){v1c(a,null)}))};Y(l2,Z);l2.\u0275dir=Z.\u0275dir;l2.prototype.onClickButton=function(a){this.analytics.trackEvent("sidebar","ingress-click");this.openSidebar(a)};
l2.prototype.openSidebar=function(a){var b=this,c,d,e,f;return ve(function(h){c=Xo(b.contexts$);if(!c)return h.return();d=c;e=d.issueId;v1c(b,(f=a)!=null?f:"default");return h.return(b.devopsGraph.openSidebar(e,{panel:a}))})};l2.prototype.track=function(a){this.analytics.trackEvent("sidebar",a)};var v1c=function(a,b){a.router.navigationTransitions.currentNavigation==null&&a.router.navigate([],{relativeTo:a.route,queryParams:{showInsights:b},queryParamsHandling:"merge",replaceUrl:!0,preserveFragment:!0})};
l2.\u0275fac=function(a){return new (a||l2)};l2.\u0275prov=n({token:l2,factory:l2.\u0275fac,providedIn:"root"});var trb=function(){return[]},qrb=function(a){return[a]},Prb=function(a){return{$implicit:a}},m2=function(){var a=this;this.activeSession=r(dv);this.editIssueService=r(jM);this.issueService=r(IF);this.issueFullFridge=r(yG);this.issuePermissionService=r(ZL);this.issueDetailsBrain=r(XL);this.constants=r(uL);this.refreshMonitor=r(MF);this.userPreferencesManager=r(yH);this.documentationLinks=r(cL);this.workspaceService=r(d2);this.changelistApi=r(kC);this.issueMarkAsDuplicateDialogService=r(nT);this.analytics=
r(wG);this.issueInsightsSidebarService=r(l2);this.issueLimits=r(uT);this.jspbPrincipalTypes=r(XG);this.issueId$=new If(1);this.distinctIssueId$=this.issueId$.pipe(Ef());this.issue$=this.distinctIssueId$.pipe(Nf(function(b){return a.editIssueService.editableIssue$(b)}));this.enableTriageView=lu(this.activeSession,"enableTeamScope")&&this.activeSession.isInternalSession();this.enablePeoplekitAc=lu(this.activeSession,"enablePeoplekitUserAc");this.isGerritEnabled=lu(this.activeSession,"enableGerritChanges");
this.enablePlannedAllocationsUi=lu(this.activeSession,"enablePlannedAllocationsUi");this.sessionIsInternal=this.activeSession.isInternalSession();this.sessionIsExternal=this.activeSession.isExternalSession();this.defaultAssigneeQuickActionEnabled=this.showSloStatus=this.sessionIsInternal;this.showCodeChanges=!this.sessionIsExternal||this.isGerritEnabled;this.HOTKEYS=ep;this.trackCustomField=function(b,c){return"{"+c.componentId+", "+c.customFieldId+"}"};this.FieldType=PM;this.ListFieldType=bwc;this.codeChangesValidator=
cta;this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;this.isCurrentUserCCd$=this.issuePermissionService.isCurrentUserCCd$;this.isCurrentUserCollaborator$=this.issuePermissionService.isCurrentUserCollaborator$;this.isAllowedToEditCC$=this.issuePermissionService.isAllowedToEditCC$;this.isImplicitAccessEnabled$=this.issuePermissionService.isImplicitAccessEnabled$;this.shouldDisplayWtdmUi$=this.issuePermissionService.isWithinExternalComponent$.pipe(B(function(b){return!a.activeSession.isExternalSession()&&
!b}));this.teamSuggestions$=this.issueDetailsBrain.teamSuggestions$;this.effortSpec$=this.issueDetailsBrain.effortSpec$;this.isEffortEnabled$=this.issueDetailsBrain.isEffortEnabled$;this.canonicalIssueId$=this.issueDetailsBrain.canonicalIssueId$;this.sloId$=this.issueDetailsBrain.sloId$;this.sloStatus$=this.issueDetailsBrain.sloStatus$;this.createdTimeMicros$=this.issueDetailsBrain.createdTimeMicros$;this.teamId$=this.issueDetailsBrain.teamId$;this.teamWarningType$=this.issueDetailsBrain.team$.pipe(B(brb));
this.component$=this.issueDetailsBrain.component$;this.effort$=this.issueDetailsBrain.effort$;this.staffing$=this.issueDetailsBrain.plannedAllocations$;this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.triagePhase$=this.issueId$.pipe(Nf(function(b){return Lcc(a.issueService,b)}),B(function(b){var c,d;return(d=(c=b.triage)==null?void 0:c.phase)!=null?d:"UNSPECIFIED"}));this.triagePhaseUrl$=Me([this.teamId$,this.triagePhase$]).pipe(B(function(b){var c=k(b);b=c.next().value;(c=c.next().value)&&
c!=="UNSPECIFIED"||(c="NEW");return tq.viewTriage.makeHref(b!=null?b:0,Wt[c])}));this.issueFields$=this.distinctIssueId$.pipe(B(function(b){return a.editIssueService.issueFields(b)}),Kf({refCount:!0,bufferSize:1}));this.isForgottenFourPrimary$=this.issueFields$.pipe(Nf(function(b){return b.isForgottenFourPrimary$}));this.showHiddenFieldsLabel$=this.issueFields$.pipe(Nf(function(b){return b.showHiddenFieldsLabel$}));this.hasHiddenFields$=this.issueFields$.pipe(Nf(function(b){return b.hasHiddenFields$}));
this.isChangelistPrimary$=this.issueFields$.pipe(Nf(function(b){return b.isChangelistPrimary$}));this.isSeverityPrimary$=this.issueFields$.pipe(Nf(function(b){return b.isSeverityPrimary$}));this.isSloStatusPrimary$=this.issueFields$.pipe(Nf(function(b){return b.isSloStatusPrimary$}));this.hiddenCustomFields$=this.issueFields$.pipe(Nf(function(b){return b.hiddenCustomFields$}));this.visibleCustomFields$=this.issueFields$.pipe(Nf(function(b){return b.visibleCustomFields$}));this.issueQuickActions$=
this.distinctIssueId$.pipe(B(function(b){return a.editIssueService.issueQuickActions(b)}),Kf({refCount:!0,bufferSize:1}));this.issueAssigneeQuickAction$=this.issueQuickActions$.pipe(Nf(function(b){return b.issueAssigneeQuickAction$}));this.issueStatusQuickAction$=this.issueQuickActions$.pipe(Nf(function(b){return b.issueStatusQuickAction$}));this.trackerId$=this.component$.pipe(B(function(b){return b==null?void 0:b.trackerId}));this.priorityChoices=this.constants.priorities.map(function(b){return{value:b,
displayText:b,hotkey:xFa(b)}});this.severityChoices=this.constants.severities.map(function(b){return{value:b,displayText:b}});this.typeChoices=this.constants.editIssueTypeChoices;this.phaseChoices=Object.values(x7b).map(function(b){return{value:b,displayText:M7b.get(b)}});this.teamHovercardInputs$=Me([this.issueDetailsBrain.componentId$,this.teamId$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return{teamId:c?String(c):"0",componentId:b?String(b):"0"}}));this.isTeamWarningDismissed$=
Me([this.issue$,this.userPreferencesManager.preferences$]).pipe(B(function(b){b=k(b);var c=b.next().value;var d,e;return(d=b.next().value.teamWarningPreferences)==null?void 0:(e=d.componentTeamWarnings)==null?void 0:e.some(function(f){return f.componentId===c.componentId})}));this.shouldDisplayTeamSuggestions$=Me([this.issuePermissionService.userIsComponentAdmin$,this.isTeamWarningDismissed$,this.teamWarningType$]).pipe(B(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;
return b&&!d&&(c==="MISSING"||c==="DELETED")}));this.statusChoices$=this.canonicalIssueId$.pipe(B(function(b){return[].concat(w(X7b.filter(function(c){return c.value!=="DUPLICATE"})),[{value:"DUPLICATE",displayText:b?"Duplicate of "+b:"Duplicate"}])}),B(function(b){return b.map(function(c){return Object.assign({},c,{hotkey:yFa(c.value)})})}));this.workspaces$=this.distinctIssueId$.pipe(Nf(function(b){return g1c(a.workspaceService,b)}),Kf({refCount:!0,bufferSize:1}));this.pendingChangelists$=Ncc(this.refreshMonitor,
this.distinctIssueId$).pipe(Nf(function(b){return a.changelistApi.getPendingChangelistsForIssue(b)}),B(function(b){return b.changelistNumbers.map(String)}),B(function(b){return{cls:b,hasError:!1}}),xf(function(){return Fe({cls:[],hasError:!0})}),Kf({refCount:!0,bufferSize:1}));this.pendingCodeChanges$=this.issue$.pipe(Nf(function(b){return a.activeSession.isExternalSession()?Fe({issue:b,changelists:{cls:[],hasError:!1}}):a.pendingChangelists$.pipe(B(function(c){return{issue:b,changelists:c}}))}),
B(function(b){var c=b.issue;b=b.changelists;c=wqc(c);return{changes:[].concat(w(b.cls),w(c)),hasError:b.hasError}}));this.USER_FIELD_HOVERCARD_CONFIG=Object.assign({},new eK,{position:[foc]});this.ACCESS_LIMITS_HOVERCARD_CONFIG=Object.assign({},new eK,{position:[{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-30}]});this.issueIsOnInternalComponent$=this.component$.pipe(B(function(b){var c;return(b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel)==="INTERNAL"}));
this.shouldDisplayEffort$=this.issueIsOnInternalComponent$.pipe(B(function(b){return a.sessionIsInternal&&b||lu(a.activeSession,"enableEstimatedEffortExternalUi")}));this.collaboratorUserPrincipalValidator=function(b){var c,d,e;return ve(function(f){if(f.nextAddress==1){if(!b)return f.return("This field is required");c=b.split(",").map(function(h){return h.trim()}).filter(Boolean);return xe(f,Gfc(a.jspbPrincipalTypes,c,!1),2)}d=f.yieldResult;e=c.find(function(h){var l;return((l=d[h])==null?void 0:
l.principalType)!=="USER"});return f.return(e?"You can only add users to collaborators.":"")})};this.reconcileView={assignee:function(b){var c,d;b.value=(d=(c=Xo(a.issue$))==null?void 0:c.assignee)!=null?d:""},reporter:function(b){var c,d;b.value=(d=(c=Xo(a.issue$))==null?void 0:c.reporter)!=null?d:""},verifier:function(b){var c,d;b.value=(d=(c=Xo(a.issue$))==null?void 0:c.verifier)!=null?d:""},ccs:function(b){var c,d;b.values=(d=(c=Xo(a.issue$))==null?void 0:c.cc)!=null?d:[]},collaborators:function(b){var c,
d;b.values=(d=(c=Xo(a.issue$))==null?void 0:c.collaborators)!=null?d:[]},issueType:function(b){var c,d;b.value=(d=(c=Xo(a.issue$))==null?void 0:c.type)!=null?d:null}}};m2.prototype.ngOnChanges=function(){this.issueId$.next(this.issueId)};
var Ksb=function(a){var b=a.issuePermissionService.isCurrentUserCCd();a.analytics.trackEvent("editIssue","toggleCC (appbar)",(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.cc.filter(function(e){return!YL(a.issuePermissionService,e)}):[].concat(w(c.cc),[a.activeSession.getUserEmail()]);return ysc(a.editIssueService,a.issueId,d)};
m2.prototype.toggleCollaborators=function(){var a=this,b=this.issuePermissionService.isCurrentUserCollaborator();this.analytics.trackEvent("editIssue","toggleCollaborators (appbar)",(!b).toString());var c=this.editIssueService.editableIssue(this.issueId),d=[];d=b?c.collaborators.filter(function(e){return!YL(a.issuePermissionService,e)}):[].concat(w(c.collaborators),[this.activeSession.getUserEmail()]);return zsc(this.editIssueService,this.issueId,d)};
m2.prototype.toggleAccessLimits=function(){var a=this;return ve(function(b){if(a.issueLimits.isOpen())return b.return();a.issueLimits.open({componentId:Number(Xo(a.issueDetailsBrain.componentId$)),issueId:a.issueId});Ce(b)})};m2.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};
var Fsb=function(a,b){return Gsb(a.editIssueService,a.issueId,b.newEmail).finally(function(){a.reconcileView.assignee(b.editField)})},Asb=function(a,b){return ve(function(c){return c.return(Bsb(a.editIssueService,a.issueId,b.newEmail).finally(function(){a.reconcileView.reporter(b.editField)}))})},Hsb=function(a,b){return ve(function(c){return c.return(Isb(a.editIssueService,a.issueId,b.newEmail).finally(function(){a.reconcileView.verifier(b.editField)}))})},Lsb=function(a,b){return ve(function(c){return c.return(ysc(a.editIssueService,
a.issueId,b.newUsers).finally(function(){b.editField&&a.reconcileView.ccs(b.editField)}))})},Jsb=function(a,b){return ve(function(c){return c.return(zsc(a.editIssueService,a.issueId,b.newUsers).finally(function(){b.editField&&a.reconcileView.collaborators(b.editField)}))})},Csb=function(a,b,c,d){return ve(function(e){return e.return(ssc(a.editIssueService,a.issueId,c,d).finally(function(){a.reconcileView.issueType(b)}))})},vu=function(a,b){a.analytics.trackEvent("editIssue","quickAction (sidebar)",
b==null?void 0:b.displayText);return wsc(a.editIssueService,a.issueId,b)},Esb=function(a,b){var c;return ve(function(d){if(d.nextAddress==1){a:switch(b){case "NEW":case "ASSIGNED":case "ACCEPTED":case "FIXED":case "VERIFIED":case "NOT_REPRODUCIBLE":case "INTENDED_BEHAVIOR":case "OBSOLETE":case "INFEASIBLE":case "DUPLICATE":var e=b;break a;default:e=null}return(c=e)?c!=="DUPLICATE"?d.jumpTo(2):xe(d,jEc(a.issueMarkAsDuplicateDialogService,a.issueId),3):d.return()}if(d.nextAddress!=2)return d.return();
qec(a.analytics,c);return d.return(vsc(a.editIssueService,a.issueId,c))})};m2.prototype.isSaving$=function(a){var b=this;return this.distinctIssueId$.pipe(B(function(c){return b.editIssueService.savingState(c)}),Nf(function(c){return Iq(c.propertiesBeingSaved,dq(String(a)))}))};m2.prototype.getAccessLimitLevelDisplay=function(a){return br(a)};m2.\u0275fac=function(a){return new (a||m2)};
m2.\u0275cmp=t({type:m2,selectors:[["edit-issue-metadata"]],inputs:{issueId:"issueId"},features:[Hd],decls:2,vars:3,consts:[["typeField",""],["priorityField",""],["statusField",""],["canonicalHovercard","onedevHovercard"],["ialCard","onedevHovercard"],["assigneeField",""],["sloField",""],["severityField",""],["codeChangesFields",""],["foundInField",""],["targetedToField",""],["verifiedInField",""],["inProdField",""],["forgottenFourFields",""],["customFieldTemplate",""],["phaseField",""],["canonicalCardBody",
""],["implicitAccessHelpBubble",""],[3,"valueChange","emailChange","name","title","value","user","isSaving"],[3,"valueChange","name","title","type","value","choices","readonly","disabled"],[1,"flex-wrappable","flex-kids-y"],[1,"flex-1",3,"onHotkey","valueChange","name","title","type","tooltip","value","choices","hotkey","readonly","disabled"],[1,"status-field-row"],[3,"onHotkey","valueChange","name","title","type","value","choices","showHotkeyHint","hotkey","readonly","disabled","onedevHovercardActive",
"onedevHovercardTrigger"],[1,"phase-field-row"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"effort","effortSpec","disabled"],[1,"bv2-issue-metadata-field"],["tabindex","0",1,"bv2-issue-metadata-field-inner","bv2-readonly",3,"onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig"],[1,"bv2-editable-title","access-level-title"],[1,"bv2-editable-value","access-level-info"],[1,"access-level-current-val"],["tabindex","0","role","button",1,"bv2-metadata-tool",
"bv2-metadata-link",3,"click","keydown.enter","keydown.space","matTooltip"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],["mat-button","","target","_blank","aria-label","Learn more about issue access limits",1,"primary","bv2-metadata-link","keep-focus-ring",3,"href"],[1,"flex-kids-y"],[1,"implicit-access-header","flex-kids-x","flex-cross-axis-centered","flex-spread","full-width"],[1,"flex-1",3,"onHotkey","valueChange","emailChange","name","title","hotkey","value","user",
"isSaving"],[1,"flex-1",3,"valueChange","emailChange","name","title","value","user","isSaving"],[3,"userInclusionToggle","valueChange","toggleAccessLimits","title","values","users","includeSelfActionDescription","includeSelfActionLongDescription","removeSelfActionDescription","removeSelfActionLongDescription","collectionHovercardDescription","isSaving","isCurrentUserInCollection","isAllowedToEditCollection","iconName","inputValidator","checkAccessLimits"],[3,"userInclusionToggle","valueChange","title",
"values","users","includeSelfActionDescription","includeSelfActionLongDescription","removeSelfActionDescription","removeSelfActionLongDescription","collectionHovercardDescription","isSaving","isCurrentUserInCollection","isAllowedToEditCollection","iconName"],[3,"staffing","issueId","isAllowedToEdit"],[3,"readonly","defaultLineCount","title","type","values","tooltip"],[1,"hidden-fields-separator"],[3,"titleWhenCollapsed","titleWhenExpanded"],[4,"ngTemplateOutlet"],[1,"issue-metadata-field-long",3,
"readonly","defaultLineCount","title","type","values","showInternalOnlyFieldBadge"],[1,"issue-metadata-field-short"],[3,"updateTeam","warningType","componentId","parentComponentId","teamSuggestions"],[1,"bv2-metadata-quick-action"],[1,"bv2-field-label-spacer"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"click","keydown.enter","keydown.space","matTooltip"],["tooltip","Go to triage view",3,"name","title","type","value","choices","showHotkeyHint","disabled"],["matTooltip","Go to triage view",
1,"bv2-metadata-link",3,"href"],[3,"onedevIsHovercardReady","issueId"],[3,"effortChange","effort","effortSpec","disabled"],[1,"implicit-access-header-text"],[3,"panelTemplate"],["svgIcon","help-outline",1,"icon-s"],["target","_blank",3,"href"],["tabindex","0","role","button",1,"bv2-metadata-quick-action",3,"hotkey","matTooltip"],["tabindex","0","role","button",1,"bv2-metadata-quick-action",3,"onHotkey","click","keydown.enter","keydown.space","hotkey","matTooltip"],[1,"bv2-metadata-link",3,"disabled"],
[1,"bv2-metadata-link"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"refreshable"],["tabindex","0",1,"issue-metadata-field-long",3,"onSloStartTimeChange","onSloEndTimeChange","sloStatus","sloStartTime","sloEndTime","sloId","componentId","isEditable","issueCreationTimestamp","showInternalOnlyFieldBadge"],[1,"flex-1",3,"valueChange","name","title","type","tooltip","value","choices","readonly","disabled"],[3,"valuesChange","readonly","defaultLineCount","title","inputValidator","type","values",
"listFieldDisabled"],[1,"title-action"],[3,"pressed"],[1,"issue-metadata-field-short","issue-metadata-field-short-left",3,"valueChange","name","title","type","multiline","tooltip","value","readonly","disabled"],[3,"valueChange","name","title","type","multiline","tooltip","value","readonly","disabled"],[3,"valueChange","name","title","type","value","tooltip","readonly","disabled"],[3,"save","issue","field","readonly","disabled"]],template:function(a,b){a&1&&(D(0,Msb,110,168),S(1,"async"));if(a&2){var c;
G((c=U(1,1,b.issue$))?0:-1,c)}},dependencies:[EN,Hw,$D,X0,OM,f2,g2,$H,bK,cK,hK,dK,h1c,XP,h2,$N,FH,HH,bI,j2,bO,SN,sU,iU,lsc,Iw],styles:["hr.hidden-fields-separator[_ngcontent-%COMP%]{margin-left:16px;margin-right:10px}.bv2-field-label-spacer[_ngcontent-%COMP%]{width:23%;display:inline-block;min-width:80px;max-width:120px;padding-right:10px}/*# sourceMappingURL=edit_issue_metadata.css.map */"]});var w1c=["descriptionArea"],x1c=["container"],n2=function(){Z.call(this);var a=this;this.cdr=r(sG,{self:!0});this.issueFullFridge=r(yG);this.eventsForIssueFridge=r(yF);this.editStatusUpdateDialogService=r(a2);this.statusUpdateService=r(Z1);this.issueCommentDialogsService=r(mT);this.contextSensitiveRegistry=r(WL);this.issuePermissionService=r(ZL);this.clipboard=r(mP);this.snackBar=r(eE);this.llmIssueSummaryService=r(FV);this.analytics=r(wG);this.userFeedback=r(HU);this.closeSidebar=new rG;this.navigateToNextIssue=
new rG;this.navigateToPreviousIssue=new rG;this.issueId$=new If(1);this.issue$=this.issueId$.pipe(Of(this.destroyed$),Nf(function(b){return a.issueFullFridge.watch(b)}),Kf({bufferSize:1,refCount:!0}));this.componentId$=this.issue$.pipe(B(function(b){return b==null?void 0:b.snapshot[0].componentId}));this.accessLevel$=this.issue$.pipe(B(function(b){var c;return b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel}));this.events$=this.issueId$.pipe(Of(this.destroyed$),Nf(function(b){return a.eventsForIssueFridge.watch(b)}),
B(function(b){return(b==null?void 0:b.events)||[]}));this.firstEvent$=this.events$.pipe(B(function(b){return b.length>0?b[0]:void 0}));this.statusUpdate$=this.issue$.pipe(B(function(b){return b==null?void 0:b.statusUpdate}));this.statusUpdateNote$=this.statusUpdate$.pipe(Ye(kj),B(function(b){return{unlinkifiedComment:b.updateText,formattedComment:b.formattedText}}));this.userCanEditStatusUpdate$=this.issuePermissionService.hasAclToEdit$;this.hasStatusUpdate$=this.statusUpdate$.pipe(B(function(b){return!!b&&
b.updateText!==""}));this.firstNote$=this.events$.pipe(Of(this.destroyed$),B(function(b){if(b&&b.length>0&&b[0].commentNumber&&b[0].commentNumber>-1)return{commentNumber:b[0].commentNumber,unlinkifiedComment:b[0].unlinkifiedComment||"",formattedComment:b[0].formattedComment}}),Kf({bufferSize:1,refCount:!0}));this.userCanEditDescription$=this.firstEvent$.pipe(Nf(function(b){return b?a.issuePermissionService.canEditComment$(b):Fe(!1)}));this.hasDescription$=this.events$.pipe(Of(this.destroyed$),B(function(b){return b&&
b.length>0&&b[0].unlinkifiedComment!==""}));this.isFieldsExpanded=this.isDescriptionExpanded=this.isStatusUpdateExpanded=!0;this.editTitleMode=this.isSavingTitle=!1;this.draftTitle="";this.FormattingMode=cB;this.descriptionHasMore=!0;this.showFullDescription=!1;this.HIDDEN="HIDDEN";this.BUTTON="BUTTON";this.GENERATING="GENERATING";this.SUMMARY_VISIBLE="SUMMARY_VISIBLE";this.enableIssueSummarizationNoButton=this.llmIssueSummaryService.enableNoButton;this.summaryThumbsDown=this.summaryThumbsUp=this.hasRatedSummary=
this.isIssueSummaryExpanded=!1;this.stage$=this.llmIssueSummaryService.stage$;this.issueSummary$=this.llmIssueSummaryService.summary$.pipe(Ye(kj),Pf(function(b){b.summary&&a.llmIssueSummaryService.trackEvent("display","issueSidebar")}),Kf({bufferSize:1,refCount:!1}));this.containerScrolled=!1;this.destroyed$.subscribe(function(){wu(a)});this.issueId$.pipe(Of(this.destroyed$)).subscribe(function(){wu(a);a.hasRatedSummary=!1;a.summaryThumbsUp=!1;a.summaryThumbsDown=!1;a.showFullDescription=!1});this.firstNote$.pipe(Of(this.destroyed$)).subscribe(function(){y1c(a)})};
Y(n2,Z);n2.\u0275dir=Z.\u0275dir;
n2.prototype.ngOnInit=function(){var a=this;this.stage$.pipe(Of(this.destroyed$)).subscribe(function(b){switch(b){case "HIDDEN":case "BUTTON":a.isIssueSummaryExpanded=!1;break;case "GENERATING":case "SUMMARY_VISIBLE":a.isIssueSummaryExpanded=!0;break;default:xb(b,"stage had an unknown type")}a.cdr.detectChanges()});this.llmIssueSummaryService.summarizable$.pipe(Of(this.destroyed$)).subscribe(function(b){b.isSummarizable&&a.llmIssueSummaryService.trackEvent("viewSummarizableIssue","issueSidebar")})};
n2.prototype.ngAfterViewInit=function(){var a=this;this.issueId$.pipe(Of(this.destroyed$)).subscribe(function(){a.container.nativeElement.scrollTop=0})};var y1c=function(a){setTimeout(function(){var b;a.descriptionHasMore=((b=a.descriptionArea)==null?void 0:b.nativeElement.scrollHeight)>130;a.cdr.detectChanges()})};g=n2.prototype;g.copyIssueId=function(a){this.clipboard.copy(a);this.snackBar.open("IssueId copied","",{duration:2E3});this.analytics.trackEvent("issueSidebar","copyIssueId")};
g.generateIssueSummary=function(){this.analytics.trackEvent("issueSidebar","generateIssueSummary");this.llmIssueSummaryService.trackEvent("click","issueSidebar");t4a(this.llmIssueSummaryService)};g.trackThumbsUp=function(a){this.summaryThumbsUp=this.hasRatedSummary=!0;this.llmIssueSummaryService.trackThumbsUp(a,"issueSidebar")};g.trackThumbsDown=function(a){this.summaryThumbsDown=this.hasRatedSummary=!0;this.llmIssueSummaryService.trackThumbsDown(a,"issueSidebar")};
g.copySummary=function(a){if(a&&a.summary!==""){this.clipboard.copy(a.summary);this.snackBar.open("Issue summary copied to clipboard","",{duration:2E3});var b=this.llmIssueSummaryService;b.trackEvent("copy","issueSidebar");GV(b,a,"COPY")}};g.openFeedbackDialog=function(a){this.userFeedback.startFeedback();GV(this.llmIssueSummaryService,a,"FEEDBACK")};
g.editStatusUpdate=function(){var a=this,b,c,d,e,f,h,l,q;return ve(function(v){switch(v.nextAddress){case 1:return xe(v,Je(a.issueId$),2);case 2:return b=v.yieldResult,xe(v,Je(a.componentId$),3);case 3:return c=v.yieldResult,d={issueId:b,updateText:"",version:-1},f=(e=Xo(a.statusUpdate$))!=null?e:d,xe(v,Je(a.accessLevel$),4);case 4:return l=(h=v.yieldResult)&&h==="INTERNAL"?"INTERNAL":"EXTERNAL",xe(v,a.editStatusUpdateDialogService.show(f,l,c),5);case 5:q=v.yieldResult;if(!q)return v.return();a.statusUpdateService.update(q).subscribe(function(y){a.analytics.trackEvent("issueSidebar",
"edit","statusUpdate",y.updateText.length===0);a.issueFullFridge.manualUpdate(b,function(E){E.statusUpdate=y});a.issueFullFridge.poke(b)});Ce(v)}})};
var ttb=function(a){var b,c,d;return ve(function(e){switch(e.nextAddress){case 1:return xe(e,Je(a.issueId$),2);case 2:return b=e.yieldResult,(c=Xo(a.firstEvent$))?xe(e,vr(a.issueCommentDialogsService,b,c),3):e.return();case 3:return xe(e,a.eventsForIssueFridge.poke(b),4);case 4:a.analytics.trackEvent("issueSidebar","edit","description",((d=c.unlinkifiedComment)==null?void 0:d.length)===0),Ce(e)}})},Psb=function(a){var b;return ve(function(c){if(c.nextAddress==1)return xe(c,Je(a.issue$),2);b=c.yieldResult;
if(!b)return c.return();a.draftTitle=b.snapshot[0].title;a.editTitleMode=!0;Ce(c)})},wu=function(a){a.isSavingTitle||(a.draftTitle="",a.editTitleMode=!1)};
n2.prototype.saveTitle=function(){var a=this,b;return ve(function(c){if(c.nextAddress==1)return xe(c,Je(a.issue$),2);b=c.yieldResult;if(!b||b.snapshot[0].title===a.draftTitle)return wu(a),c.return();a.isSavingTitle=!0;uec(a.issueFullFridge,b.issueId,a.draftTitle).subscribe(function(){a.analytics.trackEvent("issueSidebar","edit","title");a.isSavingTitle=!1;wu(a)});Ce(c)})};n2.prototype.upvoted=function(a){this.analytics.trackEvent("issueSidebar","toggle","vote",a)};
ea.Object.defineProperties(n2.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){a?(this.issueId$.next(String(a)),this.contextSensitiveRegistry.issueIdOverride$.next(String(a)),this.analytics.trackEvent("issueSidebar","changeIssue")):this.contextSensitiveRegistry.issueIdOverride$.next(null)}},content:{configurable:!0,enumerable:!0,set:function(a){a&&(this.descriptionArea=a,y1c(this))}}});n2.\u0275fac=function(a){return new (a||n2)};
n2.\u0275cmp=t({type:n2,selectors:[["issue-sidebar"]],viewQuery:function(a,b){a&1&&(Mg(w1c,5),Mg(x1c,5));if(a&2){var c;Qg(c=Rg())&&(b.content=c.first);Qg(c=Rg())&&(b.container=c.first)}},inputs:{issueId:"issueId"},outputs:{closeSidebar:"closeSidebar",navigateToNextIssue:"navigateToNextIssue",navigateToPreviousIssue:"navigateToPreviousIssue"},features:[Yg([sG]),cg],decls:24,vars:14,consts:[["container",""],["spinner",""],["aiHelp",""],["descriptionArea",""],[1,"container","flex-kids-y",3,"scroll"],
[1,"top-actions","flex-kids-x","space-between","border-bottom"],[1,"flex-kids-x","align-items-center","margin-s-left","gap-s"],[1,"action-buttons"],[3,"issueId","upvoted","voteCount"],["mat-icon-button","","matTooltip","Previous issue","matTooltipPosition","above","aria-label","Previous issue",3,"click"],["svgIcon","chevron-left"],["mat-icon-button","","matTooltip","Next issue","matTooltipPosition","above","aria-label","Next issue",3,"click"],["svgIcon","chevron-right"],["mat-icon-button","","matTooltip",
"Close sidebar","matTooltipPosition","above","aria-label","Close sidebar",3,"click"],["svgIcon","close"],[1,"title"],[1,"details","flex-kids-y","padded-s-sides"],[1,"card-container"],[1,"heading-xs","muted","hover-link",3,"click","href"],[1,"a11y-only"],["mat-icon-button","","aria-label","copy issue id",1,"small","fade-icon-button","copy-issue-id",3,"click"],["svgIcon","copy",1,"icon-xs"],[3,"onVote","issueId","upvoted","voteCount"],[1,"flex"],["mat-icon-button","","matTooltip","Edit issue title",
"aria-label","Edit issue title",1,"fade-icon-button","small",3,"click","matTooltipShowDelay"],["svgIcon","edit-outline",1,"icon-s"],[1,"full-width"],["matInput","","type","text","aria-label","Edit issue title","rows","3",3,"ngModelChange","cdkTextareaAutosize","cdkAutosizeMinRows","ngModel","bFocus"],[1,"flex-kids-x","gap","justify-flex-end","padded-bottom","border-bottom"],["mat-stroked-button","",1,"small"],["mat-flat-button","","color","primary",1,"small",3,"click","disabled"],["mat-stroked-button",
"",1,"small",3,"click"],[4,"ngTemplateOutlet"],[1,"card","status-update"],[1,"card-header"],[1,"card-header-inner-left"],["svgIcon","group","color","primary",1,"icon-s"],[1,"card-header-inner-right"],["mat-icon-button","","aria-label","Edit the status update","matTooltip","Edit the status update","matTooltipPosition","above",1,"small","edit-button",3,"matTooltipShowDelay"],["mat-icon-button","","aria-label","Toggle the status update view for this issue","matTooltip","Toggle the status update view for this issue",
"matTooltipPosition","above",1,"small","expand-button",3,"matTooltipShowDelay"],[1,"card","description"],[1,"bv2-issue-metadata","card"],["svgIcon","release-notes-default","color","primary",1,"icon-s"],["mat-icon-button","","aria-label","Toggle the fields view for this issue","matTooltip","Toggle the fields view for this issue","matTooltipPosition","above",1,"small",3,"click","matTooltipShowDelay"],["svgIcon","arrow-down",1,"icon-s"],["svgIcon","arrow-up",1,"icon-s"],[1,"fields-area","margin-top",
"flex-kids-y"],[1,"card","no-border","issue-summary"],["svgIcon","chat_spark_24px","color","primary",1,"icon-s"],["mat-icon-button","","aria-label","Show AI generated summary note","dialogLabel","AI generated summary note",1,"small",3,"xapInlineDialog","dialogTabIndex"],["svgIcon","help-outline",1,"icon-s"],["mat-flat-button","",1,"small","generate-summary"],["mat-icon-button","","aria-label","Toggle the AI-generated summary for this issue","matTooltip","Toggle the AI-generated summary for this issue",
"matTooltipPosition","above",1,"small",3,"matTooltipShowDelay"],[1,"issue-summary-area"],["mat-flat-button","",1,"small","generate-summary",3,"click"],["mat-icon-button","","aria-label","Toggle the AI-generated summary for this issue","matTooltip","Toggle the AI-generated summary for this issue","matTooltipPosition","above",1,"small",3,"click","matTooltipShowDelay"],[3,"ngTemplateOutlet"],[1,"flex-kids-x","justify-flex-end","gap-s","margin-s-top"],[3,"content"],["mat-icon-button","","aria-label",
"copy summary","matTooltip","Copy issue summary to clipboard",1,"small","copy-issue-summary",3,"click"],["svgIcon","copy",1,"icon-s"],["mat-icon-button","","aria-label","send feedback","matTooltip","Send feedback",1,"small","summary-feedback",3,"click"],["svgIcon","feedback-outline",1,"icon-s"],["mat-icon-button","","aria-label","rate thumbs up","matTooltip","Rate summary: Good",1,"small","summary-thumbs-up",3,"click","disabled"],["svgIcon","thumb_up_24px",1,"icon-s"],["mat-icon-button","","aria-label",
"rate thumbs down","matTooltip","Rate summary: Bad",1,"gmat-button","small","summary-thumbs-down",3,"click","disabled"],["svgIcon","thumb_down_24px",1,"icon-s"],["mat-icon-button","","aria-label","Edit the status update","matTooltip","Edit the status update","matTooltipPosition","above",1,"small","edit-button",3,"click","matTooltipShowDelay"],["mat-icon-button","","aria-label","Toggle the status update view for this issue","matTooltip","Toggle the status update view for this issue","matTooltipPosition",
"above",1,"small","expand-button",3,"click","matTooltipShowDelay"],[1,"status-update-area"],[3,"issueId","note","issueAccessLevel","formattingMode"],["mat-icon-button","","aria-label","Edit the description","matTooltip","Edit the description","matTooltipPosition","above",1,"small","edit-button",3,"matTooltipShowDelay"],["mat-icon-button","","aria-label","Toggle the description view for this issue","matTooltip","Toggle the description view for this issue","matTooltipPosition","above",1,"small","expand-button",
3,"matTooltipShowDelay"],[1,"description-area"],["mat-icon-button","","aria-label","Edit the description","matTooltip","Edit the description","matTooltipPosition","above",1,"small","edit-button",3,"click","matTooltipShowDelay"],["mat-icon-button","","aria-label","Toggle the description view for this issue","matTooltip","Toggle the description view for this issue","matTooltipPosition","above",1,"small","expand-button",3,"click","matTooltipShowDelay"],[1,"description-note"],[1,"description-show-more",
"margin-s-top"],[3,"click"],[3,"issueId"],[1,"text-center"]],template:function(a,b){if(a&1){var c=x();I(0,"div",4,0);M("scroll",function(){z(c);b.containerScrolled=b.container.nativeElement.scrollTop===0?!1:!0;return A()});I(2,"header")(3,"div",5)(4,"div",6);D(5,Nsb,6,3);S(6,"async");J();I(7,"div",7);D(8,Osb,1,3,"b-app-vote-button",8);S(9,"async");I(10,"button",9);M("click",function(){z(c);return A(b.navigateToPreviousIssue.emit())});K(11,"mat-icon",10);J();I(12,"button",11);M("click",function(){z(c);
return A(b.navigateToNextIssue.emit())});K(13,"mat-icon",12);J();I(14,"button",13);M("click",function(){z(c);return A(b.closeSidebar.emit())});K(15,"mat-icon",14);J()()();D(16,Wsb,4,2,"div",15);S(17,"async");J();I(18,"div",16);D(19,Itb,31,23,"div",17);S(20,"async");D(21,Ktb,1,1,"ng-container");J()();D(22,Ltb,2,0,"ng-template",null,1,fh)}if(a&2){var d,e,f,h;C(2);ng("elevated",b.containerScrolled);C(3);G((d=U(6,6,b.issueId$))?5:-1,d);C(3);G((e=U(9,8,b.issue$))?8:-1,e);C(8);G((f=U(17,10,b.issue$))?16:
-1,f);C(3);G((h=U(20,12,b.issue$))?19:21,h)}},dependencies:[vD,Vy,Xy,FH,HH,ki,tz,Bz,MN,$z,ON,hA,eA,HN,GN,QN,Hw,$D,JO,m2,EP,LP,W1,WP,Iw],styles:["header[_ngcontent-%COMP%]{background-color:#fff;background-color:var(--background);position:-webkit-sticky;position:sticky;top:0;z-index:3}header.elevated[_ngcontent-%COMP%]{box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15)}.action-buttons[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.fade-icon-button[_ngcontent-%COMP%]{vertical-align:bottom;opacity:0;-webkit-transition:opacity .25s ease-in-out;transition:opacity .25s ease-in-out}.fade-icon-button[_ngcontent-%COMP%]:focus{opacity:1}.card[_ngcontent-%COMP%]:hover   .fade-icon-button[_ngcontent-%COMP%], .title[_ngcontent-%COMP%]:hover   .fade-icon-button[_ngcontent-%COMP%], .top-actions[_ngcontent-%COMP%]:hover   .fade-icon-button[_ngcontent-%COMP%]{opacity:1}.container[_ngcontent-%COMP%]{width:440px;height:100%;overflow-y:scroll}.issue-summary[_ngcontent-%COMP%]{background-color:#edfbf1;background-color:var(--green-bg)}.issue-summary-area[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.has-reacted-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.title[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;overflow-wrap:anywhere;font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1rem;letter-spacing:.00625em;font-weight:500;padding:16px 8px}.title[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1rem;letter-spacing:.00625em;font-weight:500;padding:8px}.card-container[_ngcontent-%COMP%]{display:grid}.card[_ngcontent-%COMP%]{padding:8px 8px 8px 16px;border-radius:4px;border:1px solid;border-color:#dadce0;border-color:var(--divider);margin-bottom:16px}.card.no-border[_ngcontent-%COMP%]{border:none}.card-header[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.card-header-inner-left[_ngcontent-%COMP%], .card-header-inner-right[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:8px}.card-header-inner-left[_ngcontent-%COMP%]{font-weight:500;text-transform:uppercase;letter-spacing:.05rem}.card-header-inner-right[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted);font-style:italic}.details[_ngcontent-%COMP%]{width:-webkit-fill-available;width:-moz-fill-available;width:-moz-available;width:fill-available}.status-update[_ngcontent-%COMP%]{padding-left:12px;border-left:4px solid;border-left-color:#1a73e8;border-left-color:var(--primary)}.description[_ngcontent-%COMP%], .status-update[_ngcontent-%COMP%]{overflow-x:auto}.description-note[_ngcontent-%COMP%]{max-height:160px;overflow:hidden}.full-height[_ngcontent-%COMP%]{max-height:100%}.description-area[_ngcontent-%COMP%], .fields-area[_ngcontent-%COMP%], .status-update-area[_ngcontent-%COMP%]{position:relative}.edit-description[_ngcontent-%COMP%], .edit-status-update[_ngcontent-%COMP%]{opacity:0}.edit-description[_ngcontent-%COMP%]:focus, .edit-status-update[_ngcontent-%COMP%]:focus{opacity:1}.description[_ngcontent-%COMP%]:hover   .edit-description[_ngcontent-%COMP%], .status-update[_ngcontent-%COMP%]:hover   .edit-status-update[_ngcontent-%COMP%]{opacity:1}\n/*# sourceMappingURL=issue_sidebar.css.map */"]});var z1c=[[["",8,"tooltip-content"]],[["",8,"chip-content"]]],o2=function(){this.compactMode=this.labelOnlyMode=!1};o2.prototype.ngOnInit=function(){};o2.\u0275fac=function(a){return new (a||o2)};
o2.\u0275cmp=t({type:o2,selectors:[["b-base-chip"]],inputs:{labelOnlyMode:"labelOnlyMode",compactMode:"compactMode",labelClass:"labelClass",hovercardAriaLabel:"hovercardAriaLabel"},ngContentSelectors:[".tooltip-content",".chip-content"],decls:9,vars:6,consts:[["chipHovercard","onedevHovercard"],[1,"bv2-chip"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"field-label-with-help",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"help-label",3,"ngClass"]],template:function(a,
b){a&1&&(Dg(z1c),I(0,"span",1)(1,"onedev-hovercard",null,0)(3,"div",2)(4,"div",3),Eg(5),J()()(),I(6,"div",4)(7,"span",5),Eg(8,1),J()()());if(a&2){var c;a=L(2);C(3);eg("aria-label",b.hovercardAriaLabel);C(3);F("onedevHovercardTrigger",a)("onedevHovercardActive",!b.labelOnlyMode);C();ng("compact-chip",b.compactMode);F("ngClass",(c=b.labelClass)!==null&&c!==void 0?c:"")}},dependencies:[Ew,bK,hK],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}.bv2-chip[_ngcontent-%COMP%]   .field-label-with-help[_ngcontent-%COMP%]{line-height:1em}.bv2-chip[_ngcontent-%COMP%]   .help-label[_ngcontent-%COMP%]{font-weight:normal;border-radius:8px;display:inline-block;line-height:18px;padding:0 10px}.bv2-chip[_ngcontent-%COMP%]   .help-label.compact-chip[_ngcontent-%COMP%]{font-size:.7em;margin-top:0;padding:0 6px;vertical-align:inherit}.bv2-edit-issue-details-scroll[_ngcontent-%COMP%]   .bv2-chip[_ngcontent-%COMP%]   .help-label[_ngcontent-%COMP%]{vertical-align:baseline}.bv2-grid-cell-container[_ngcontent-%COMP%]   .bv2-chip[_ngcontent-%COMP%] > .field-label-with-help[_ngcontent-%COMP%]{line-height:1}.onedev-hovercard-body[_ngcontent-%COMP%]{line-height:1.6em;width:350px}"]});var p2=function(){this.documentationLinks=r(cL);this.documentationLink=Zu()};p2.prototype.ngOnChanges=function(){this.retentionState?this.retentionExpireTime=Sk(this.retentionState.scheduledDeletionTime):this.retentionExpireTime=void 0};p2.\u0275fac=function(a){return new (a||p2)};
p2.\u0275cmp=t({type:p2,selectors:[["retention-help-text"]],inputs:{retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[Hd],decls:1,vars:1,consts:[["target","_blank",3,"href"],[3,"mode","timestamp","paddingLeftPx"]],template:function(a,b){a&1&&D(0,Otb,4,2,"a",0);a&2&&G(b.retentionState&&b.modifiedTime?0:-1)},dependencies:[VM],encapsulation:2});var q2=function(){this.dateFormatter=r(UM);this.compactMode=!1;this.text=""};q2.prototype.ngOnChanges=function(){var a;((a=this.retentionState)==null?void 0:a.scheduledDeletionTime)!=null?this.text=b0a(Sk(this.retentionState.scheduledDeletionTime),!this.compactMode):this.text="Indefinite"};q2.\u0275fac=function(a){return new (a||q2)};
q2.\u0275cmp=t({type:q2,selectors:[["retention-text"]],inputs:{retentionState:"retentionState",compactMode:"compactMode"},features:[Hd],decls:1,vars:1,template:function(a,b){a&1&&Q(0);a&2&&Tg(b.text)},encapsulation:2});var r2=function(){this.showRetentionInfo=this.dangerZone=this.labelOnlyMode=this.compactMode=this.showOnlyInDangerZone=!1;r(cL)};r2.prototype.ngOnChanges=function(){this.retentionState&&this.retentionState.retentionPeriod&&this.retentionState.scheduledDeletionTime?(this.dangerZone=Qtb(this.retentionState),this.showRetentionInfo=this.showOnlyInDangerZone&&this.dangerZone||!this.showOnlyInDangerZone):this.showRetentionInfo=!1};r2.\u0275fac=function(a){return new (a||r2)};
r2.\u0275cmp=t({type:r2,selectors:[["b-retention-chip"]],inputs:{showOnlyInDangerZone:"showOnlyInDangerZone",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode",retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[Hd],decls:1,vars:1,consts:[["hovercardAriaLabel","Retention Chip Hovercard",3,"compactMode","labelClass","labelOnlyMode"],[1,"chip-content"],[3,"retentionState","compactMode"],[1,"tooltip-content"],[3,"retentionState","modifiedTime"]],template:function(a,b){a&1&&D(0,
Ptb,5,7,"b-base-chip",0);a&2&&G(b.showRetentionInfo?0:-1)},dependencies:[o2,q2,p2],styles:["[_nghost-%COMP%]     .help-label{white-space:nowrap;color:#202124;color:var(--text-high-contrast)}[_nghost-%COMP%]     .help-label.expiring{background-color:#e8eaed;background-color:var(--chip-bg)}[_nghost-%COMP%]     .help-label.danger{background-color:#fcad70;background-color:var(--expiring-bg);color:rgba(0,0,0,.7);color:var(--expiring-text)}"]});var A1c=["issueSidenavContainer"],Mwb=function(){return[]},Kub=function(a,b,c){return{low:a,high:b,p0:c}},qvb=function(a){return{id:a}},Wvb=function(a,b){return{"bv2-grid-cell-variable-height":a,"rtl-component-path":b}},s2=function(){var a=this;this.activeSession=r(dv);this.cdr=r(sG,{self:!0});this.elementRef=r(ge);this.teamsService=r(lH);this.ngZone=r(hh);this.userPreferencesManager=r(yH);this.hotlistFridge=r(mF);this.issueFullFridge=r(yG);this.bLocation=r(WI);this.issuePagination=r(j_);this.paths=
r(zO);this.errorHandler=r(jE);this.$log=r(iE);this.domSafe=r(mM);this.trackerHelpers=r(yL);this.anayltics=r(wG);this.ISSUE_STATUS_JS_ICON_NAME=V7b;this.STATUS_JS_FULL_TEXT=Pi;this.STATUS_JS_TERSE=Q7b;this.lastCheckedIndex=null;this.focusedRowIndexChange=new rG;this.columns=[];this.columnsChange=new rG;this.enableColumnSaving=!1;this.sort=null;this.enableSidebar=!1;this.sortChange=new rG;this.rowClick=new rG;this.init=new rG;this.onRowDragDrop=new rG;this.onNextPage=new rG;this.onPrevPage=new rG;this.selectionCallbacks=
[];this.GET_ISSUE_ACCESS_LEVEL_TITLE=br;this.isLoadingTeams=!0;this.isTotalEstimatesEnabled=lu(this.activeSession,"enableAggregationRules");this.enableNewVisibilityChips=lu(this.activeSession,"enableNewVisibilityChips");this.isIssueSidebarOpen=this.isIssueSidebarEnabled=!1;this.destroyed$=new If(1);this.starInProgress={};this.readUnreadOptOut=lu(this.activeSession,"readUnreadOptOut");this.enableAddViewCountColumnsOnIlp=lu(this.activeSession,"enableAddViewCountColumnsOnIlp");var b=Ua(Epb);this.activeSession.isInternalSession()||
(Sa(b,"minSlo"),Sa(b,"responseSlo"),Sa(b,"assignmentSlo"),Sa(b,"closureSlo"),Sa(b,"deletionTime"),Sa(b,"team"),Sa(b,"estimate"),Sa(b,"estimateTotalOpen"),Sa(b,"estimateTotalComplete"));this.enableAddViewCountColumnsOnIlp||(Sa(b,"oneDayViewCount"),Sa(b,"sevenDayViewCount"),Sa(b,"thirtyDayViewCount"));this.availableColumns=b.map(Fpb);this.dragDropLogic=new P0c({ngZone:this.ngZone,nativeElement:this.elementRef.nativeElement,rowFinder:function(c){return B1c(a,c)},onRowDragDrop:function(c){a.onRowDragDrop.emit(c)}})};
g=s2.prototype;g.ngOnInit=function(){var a=this;this.dragDropLogic.setup();this.userPreferencesManager.listViewPreferences$.pipe(Of(this.destroyed$)).subscribe(function(b){a.listViewPrefs=b;a.cdr.detectChanges()});this.isIssueSidebarEnabled=this.enableSidebar&&lu(this.activeSession,"enableIssueSidebar")||!1;this.init.emit(this)};
g.ngOnChanges=function(a){if(a.searchResults){var b,c=Tqa(((b=this.searchResults)==null?void 0:b.issues.map(function(e){return new Set([].concat(w(e.hotlistId||[])))}))||[]);this.hotlistFridge.watchSet([].concat(w(c)))}if(a.searchResults||a.columns)for(b=k(this.columns),c=b.next();!c.done;c=b.next())c.value.label==="TEAM"&&C1c(this);if(a.searchResults){b=a.searchResults.currentValue;var d;a=new Set(((d=a.searchResults.previousValue)==null?void 0:d.issues.filter(function(e){return e.selected}).map(function(e){return e.id}))||
[]);d=new Set((b==null?void 0:b.issues.filter(function(e){return e.selected}).map(function(e){return e.id}))||[]);ira(a,d)||xu(this)}};g.ngOnDestroy=function(){this.dragDropLogic.tearDown();this.destroyed$.next()};g.focus=function(){this.grid.focus()};g.selectAll=function(){if(this.searchResults){for(var a=k(this.searchResults.issues),b=a.next();!b.done;b=a.next())b.value.selected=!0;this.cdr.detectChanges()}xu(this)};
var D1c=function(a){if(a.searchResults){for(var b=k(a.searchResults.issues),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.cdr.detectChanges()}xu(a)};s2.prototype.hasSelectedIssues=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};
var dub=function(a){return a.searchResults?a.searchResults.issues.every(function(b){return b.selected}):!1},E1c=function(a){return a.searchResults?a.searchResults.issues.some(function(b){return b.selected}):!1},cub=function(a){if(!a.searchResults)return"unchecked";var b=!0,c=!1;a=k(a.searchResults.issues);for(var d=a.next();!d.done;d=a.next())d.value.selected?c=!0:b=!1;return b?"checked":c?"indeterminate":"unchecked"};
s2.prototype.getSelectedIssues=function(){return this.searchResults?this.searchResults.issues.filter(function(a){return a.selected}):[]};
var G1c=function(a){if(F1c(a)&&a.focusedRowIndex!=null&&a.searchResults){var b=a.searchResults.issues[a.focusedRowIndex];b&&(b.selected=!b.selected,a.cdr.detectChanges(),xu(a))}},bub=function(a){if(a.searchResults){for(var b=!E1c(a),c=k(a.searchResults.issues),d=c.next();!d.done;d=c.next())d.value.selected=b;a.cdr.detectChanges();xu(a)}},Rtb=function(a){a.focusedRowIndex!=null&&a.searchResults&&a.focusedRowIndex<a.searchResults.issues.length-1?(a.focusedRowIndex++,a.focusedRowIndexChange.emit(a.focusedRowIndex),
a.cdr.detectChanges()):a.searchResults&&a.searchResults.hasNextPage()&&mYc(a.issuePagination,a.searchResults.endIndex+1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onNextPage.emit()})},Stb=function(a){a.focusedRowIndex!=null&&a.focusedRowIndex>0?(a.focusedRowIndex--,a.focusedRowIndexChange.emit(a.focusedRowIndex),a.cdr.detectChanges()):a.searchResults&&a.searchResults.hasPreviousPage()&&mYc(a.issuePagination,a.searchResults.startIndex-1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onPrevPage.emit()})},
t2=function(a,b){b=b===void 0?{}:b;var c=a.getFocusedIssue();c&&(b.openInNewTab?a.domSafe.openInNewTab(wq(c.issueId)):a.bLocation.setUrl(wq(c.issueId)))};s2.prototype.getFocusedIssue=function(){return F1c(this)&&this.focusedRowIndex!=null&&this.searchResults?this.searchResults.issues[this.focusedRowIndex]:null};
var H1c=function(a,b){a.selectionCallbacks.push(b);b()},xu=function(a){a=k(a.selectionCallbacks);for(var b=a.next();!b.done;b=a.next())b=b.value,b()},I1c=function(a){F1c(a)&&a.focusedRowIndex!=null&&a.searchResults&&a.toggleStar(a.searchResults.issues[a.focusedRowIndex])},J1c=function(a,b){b=b===void 0?!0:b;var c=a.getSelectedIssues();if(c.length!==0){for(var d=k(c),e=d.next();!e.done;e=d.next())e.value.isRead=b;a.cdr.detectChanges();AG(a.issueFullFridge,c.map(function(f){return f.issueId}),{markRead:b,
userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(f){for(var h=k(c),l=h.next();!l.done;l=h.next()){var q=void 0;l.value.lastViewedTime=(q=f)!=null?q:null}}).catch(function(){for(var f=k(c),h=f.next();!h.done;h=f.next())h=h.value,h.isRead=!!h.lastViewedTime&&h.lastViewedTime>=h.majorModifiedTime}).finally(function(){a.cdr.detectChanges()})}};
s2.prototype.toggleStar=function(a){var b=this;a&&!this.starInProgress[a.issueId]&&(a.starred=!a.starred,this.starInProgress[a.issueId]=!0,sec(this.issueFullFridge,String(a.issueId),a.starred).pipe(Cf(),Of(this.destroyed$)).subscribe(function(){b.starInProgress[a.issueId]=!1;b.cdr.detectChanges()},function(c){a.starred=!a.starred;b.starInProgress[a.issueId]=!1;b.errorHandler.errorHandler(null,c);b.cdr.detectChanges()}))};
s2.prototype.issueDescription=function(a){return(a.isClosed?"Closed ":this.readUnreadOptOut||a.isRead?"":"Unread ")+"Issue ID "+a.id+" titled: "+a.title};
var F1c=function(a){return a.searchResults!=null&&a.focusedRowIndex!=null&&a.focusedRowIndex>=0&&a.focusedRowIndex<a.searchResults.issues.length},B1c=function(a,b){return b?a.searchResults?a.searchResults.issues.findIndex(function(c){return c.id===b}):-1:-1},C1c=function(a){if(a.searchResults){for(var b=new Set,c=k(a.searchResults.issues),d=c.next();!d.done;d=c.next())d=String(d.value.teamId),d!=="0"&&b.add(d);b.size>0?(a.isLoadingTeams=!0,Zfc(a.teamsService,[].concat(w(b))).pipe(Of(a.destroyed$)).subscribe(function(e){if(a.searchResults)for(var f=
k(a.searchResults.issues),h=f.next();!h.done;h=f.next()){h=h.value;var l=String(h.teamId);l!=="0"&&(l=e.get(l))&&(h.team=l.name)}a.isLoadingTeams=!1;a.cdr.detectChanges()})):a.isLoadingTeams=!1}};s2.prototype.isIssueGridColumn=function(){return!0};s2.prototype.getComponentPath=function(a){return Bi(a)?a.join(" > "):(a=Nu(this.trackerHelpers,a))&&a.componentPathName?a.componentPathName.join(" > "):""};s2.\u0275fac=function(a){return new (a||s2)};
s2.\u0275cmp=t({type:s2,selectors:[["b-issues-grid"]],viewQuery:function(a,b){a&1&&(Mg(N1,7),Mg(A1c,5));if(a&2){var c;Qg(c=Rg())&&(b.grid=c.first);Qg(c=Rg())&&(b.sideNavContainer=c.first)}},inputs:{searchResults:"searchResults",focusedRowIndex:"focusedRowIndex",columns:"columns",enableColumnSaving:"enableColumnSaving",sort:"sort",enableSidebar:"enableSidebar"},outputs:{focusedRowIndexChange:"focusedRowIndexChange",columnsChange:"columnsChange",sortChange:"sortChange",rowClick:"rowClick",init:"init",
onRowDragDrop:"onRowDragDrop",onNextPage:"onNextPage",onPrevPage:"onPrevPage"},features:[Yg([sG]),Hd],decls:7,vars:1,consts:[["issuesGrid",""],["issueWithHovercard",""],["issueSidenavContainer",""],["issueHovercard","onedevHovercard"],["cardBody",""],["hasBackdrop","false",3,"sidebar-enabled"],["hasBackdrop","false"],["mode","side","position","end",3,"openedChange","opened","disableClose"],[3,"issueId"],[4,"ngTemplateOutlet"],[3,"closeSidebar","navigateToNextIssue","navigateToPreviousIssue","issueId"],
[1,"keep-focus-ring",3,"columnsChange","focusedRowIndexChange","sortChange","rowClick","list","columns","focusedRowIndex","scrollContainer","sort","rowLabelRenderer"],["class","focus-indicator",4,"forHeaderCell"],["class","drag-handle",4,"forHeaderCell"],["class","selected-box",4,"forHeaderCell"],[4,"forHeaderCell"],[4,"forHeaderCellDefault"],["class","focus-indicator",4,"forViewCell"],["class","drag-handle","draggable","true",4,"forViewCell"],["class","selected-box",4,"forViewCell"],["class","star-cell",
4,"forViewCell"],[4,"forViewCell"],["data-template","issueId","class","clickable issue-id-cell",4,"forViewCell"],["class","clickable title-cell",3,"bv2-grid-cell-variable-height",4,"forViewCell"],["class","priority-cell clickable",4,"forViewCell"],["class","severity-cell clickable",4,"forViewCell"],["data-stable-cell","status","class","clickable",4,"forViewCell"],["data-stable-cell","type","class","clickable",4,"forViewCell"],["class","clickable",4,"forViewCell"],["class","clickable datetime-cell",
4,"forViewCell"],["class","componentPath-cell clickable",3,"ngClass",4,"forViewCell"],["class","clickable first-letter-capitalized",4,"forViewCell"],[1,"focus-indicator"],[1,"drag-handle"],[1,"selected-box"],["tabindex","0","aria-label","Select all issues","role","checkbox",1,"keep-focus-ring","b-select-all-toggle",3,"state"],["tabindex","0","aria-label","Select all issues","role","checkbox",1,"keep-focus-ring","b-select-all-toggle",3,"click","keydown.enter","keydown.space","state"],[3,"column"],
[3,"column","availableColumns","selectedColumns"],[3,"selectedColumnsChange","column","availableColumns","selectedColumns"],["draggable","true",1,"drag-handle"],["tabindex","-1","role","checkbox",3,"state"],["tabindex","-1","role","checkbox",3,"click","state"],[1,"star-cell"],["tabindex","-1",3,"starred","disabled","starMessage","unStarMessage"],["tabindex","-1",3,"starClicked","starred","disabled","starMessage","unStarMessage"],["data-template","issueId",1,"clickable","issue-id-cell"],[1,"row-issue-id",
3,"issueId","showCopyOptions"],["tabindex","-1",1,"row-issue-id",3,"href"],[1,"row-issue-id",3,"click","issueId","showCopyOptions"],[1,"clickable","title-cell"],[1,"bv2-grid-cell-container",3,"bv2-grid-cell-flex-wrap"],[1,"bv2-grid-cell-container"],[3,"issueId","compactMode"],[3,"accessLevel","compactMode"],[3,"trackerId","compactMode"],[3,"retentionState","showOnlyInDangerZone","compactMode","modifiedTime"],[1,"bv2-grid-cell-text"],[1,"row-issue-title",3,"href"],["svgIcon","input_24px",1,"navigate-to-idp",
"icon-s"],[1,"bv2-hotlist-chips"],[3,"id","removable"],[1,"priority-cell","clickable"],[1,"bv2-priority",3,"ngClass"],[1,"severity-cell","clickable"],["data-stable-cell","status",1,"clickable"],[3,"title"],[1,"icon-s",3,"svgIcon"],[3,"class"],["data-stable-cell","type",1,"clickable"],[1,"clickable"],[3,"email"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"clickable","datetime-cell"],["mode","datetime",3,"timestamp"],[1,"componentPath-cell","clickable",3,"ngClass"],[1,"clickable","first-letter-capitalized"],
[3,"sloId","sloStatus","sloStartTime"],[3,"sloStatus","sloStartTime"],[3,"sloId","sloStatus","sloStartTime","onlyShowMetric"],[3,"sloBounds"],["mode","date",3,"timestamp"],[1,"animated-loading-bar"],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"onedevHovercardTrigger"],[3,"onedevIsHovercardReady","issueId"]],template:function(a,b){a&1&&(I(0,"div"),D(1,Vtb,6,6,"mat-sidenav-container",5)(2,Xtb,1,1,
"ng-container"),J(),D(3,Nwb,54,61,"ng-template",null,0,fh)(5,Pwb,5,2,"ng-template",null,1,fh));a&2&&(C(),G(b.isIssueSidebarEnabled?1:2))},dependencies:[R0c,Ew,Hw,$D,Ly,HZ,IZ,GZ,N1,S1,O1,P1,Q1,K1,M1,VM,U1,HK,rT,r2,kO,cO,xU,bK,cK,hK,dK,XP,n2,CN,nP,VP,T1,bM,aM,jsc,dM],styles:["mat-sidenav-container.sidebar-enabled[_ngcontent-%COMP%]{height:calc(100vh - 100px)}[_nghost-%COMP%]     .title-cell b-hotlist-chip{margin-bottom:1px}/*# sourceMappingURL=issues_grid.css.map */"],changeDetection:0});
var u2=new uu({name:"focused",sortable:!1,draggable:!1,isMetadata:!0}),K1c=new uu({name:"draghandle",sortable:!1,draggable:!1,isMetadata:!0}),v2=new uu({name:"selected",sortable:!1,draggable:!1,isMetadata:!0}),w2=new uu({name:"starred",sortable:!1,draggable:!1,isMetadata:!0}),L1c=new uu({name:"position",sortable:!0,draggable:!1,fullLabel:"Position",label:"POS",isMetadata:!0});var x2=function(){Z.apply(this,arguments);var a=this;this.snackBar=r(eE);this.issuePicker=r(hS);this.issueApi=r(uD);this.issueAddedToHotlist=new rG;this.onCloseIssuePicker=function(b){b=b===void 0?[]:b;if(b.length!==0&&a.id!=null){var c=b.join(", ");a.snackBar.open(b.length===1?"Adding issue "+c+" to this hotlist":"Adding multiple issues to this hotlist: "+c,void 0,{duration:2500});a.issueApi.issueBulkEdit({bulkEditOps:[{actions:[{fieldName:"hotlists",value:a.id,actionType:"ADD"}],issueIds:b}]}).then(a.didSave,
a.gotErr)}};this.didSave=function(){a.issueAddedToHotlist.emit();a.snackBar.open("Successfully added to hotlist",void 0,{duration:2500})};this.gotErr=function(b){var c,d,e,f,h=(f=(e=b==null?void 0:(c=b.error)==null?void 0:c.message)!=null?e:b==null?void 0:(d=b.data)==null?void 0:d.message)!=null?f:"Error adding issues to the hotlist";a.snackBar.open(h,"close",{panelClass:"error"})}};Y(x2,Z);x2.\u0275dir=Z.\u0275dir;x2.\u0275fac=function(){var a;return function(b){return(a||(a=de(x2)))(b||x2)}}();
x2.\u0275cmp=t({type:x2,selectors:[["hotlist-add-issue-btn"]],inputs:{id:[0,"hotlistId","id"]},outputs:{issueAddedToHotlist:"issueAddedToHotlist"},features:[cg],decls:2,vars:0,consts:[["mat-button","","matTooltip","Add issues to this hotlist",1,"medium",3,"click"]],template:function(a,b){a&1&&(I(0,"button",0),M("click",function(){b.issuePicker.open({title:"Add Issues to this Hotlist",allowMultipleIds:!0},b.onCloseIssuePicker)}),Q(1," Add Issue(s) "),J())},dependencies:[vD,Vy,FH,HH],encapsulation:2});var y2=function(){Z.call(this);var a=this;this.fridge=r(mF);this.snackBar=r(eE);this.dialog=r(rL);this.events=r(nE);this.id$=new If(1);this.hotlist$=this.id$.pipe(Nf(function(b){return a.fridge.watch(b)}),Kf({refCount:!0,bufferSize:1}));this.archived$=this.hotlist$.pipe(B(function(b){return!(b==null||!b.archived)}),Ef());this.archiveActionLabel$=this.archived$.pipe(B(function(b){return b?"Unarchive":"Archive"}));this.archiveActionTooltip$=this.archived$.pipe(B(function(b){return b?"Unarchive this hotlist":
"Archive this hotlist, hiding it from most searches"}));this.didSave=function(b){return function(){a.snackBar.open(b?"Hotlist was archived":"Hotlist was unarchived",void 0,{duration:2500});a.events.hotlistChanged.next()}};this.gotErr=function(b){return function(c){var d=b?"archiving":"unarchiving";a.snackBar.open(Kn(c)||"Error "+d+" the hotlist","close",{panelClass:"error"})}};this.hotlist$.pipe(Of(this.destroyed$)).subscribe(function(b){a.latestHotlist=b})};Y(y2,Z);y2.\u0275dir=Z.\u0275dir;
y2.prototype.isThinking=function(a){return this.fridge.isThinking(a)};y2.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};var N1c=function(a){if(a.latestHotlist!=null){var b=!a.latestHotlist.archived;b?a.dialog.open({title:"Archive Hotlist",content:ti("Do you want to archive this hotlist?"),isDestructive:!0,onConfirm:function(){M1c(a,b)}}):M1c(a,b)}},M1c=function(a,b){a.fridge.save(Object.assign({},a.latestHotlist,{archived:b})).subscribe({next:a.didSave(b),error:a.gotErr(b)})};
y2.\u0275fac=function(a){return new (a||y2)};
y2.\u0275cmp=t({type:y2,selectors:[["hotlist-archive-btn"]],inputs:{id:[0,"hotlistId","id"]},features:[cg,Hd],decls:4,vars:7,consts:[["mat-button","",1,"medium",3,"click","disabled","matTooltip"]],template:function(a,b){a&1&&(I(0,"button",0),S(1,"async"),M("click",function(){return N1c(b)}),Q(2),S(3,"async"),J());if(a&2){var c;F("disabled",b.isThinking(b.id))("matTooltip",(c=U(1,3,b.archiveActionTooltip$))!==null&&c!==void 0?c:"");C(2);R(" ",U(3,5,b.archiveActionLabel$)," ")}},dependencies:[vD,Vy,
FH,HH,Iw],encapsulation:2});var z2=function(){o1.apply(this,arguments);this.estadoService=r(J1);this.refreshMonitor=r(MF);this.init=new rG;this.onRefresh=new rG;this.isHotlistAdmin=!1;this.onExportCsv=new rG;this.showHotlistButtons=!1;this.isNonPublicSession=this.activeSession.isNonPublicSession();var a=this.estadoService;this.enableEstadoInAppBar=a.enableEstado&&!vq(a.activeSession);this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha();this.controllerName="gridControls"};Y(z2,o1);z2.\u0275dir=o1.\u0275dir;g=z2.prototype;
g.ngOnInit=function(){this.init.emit(this)};g.ngOnChanges=function(a){var b=this;a.grid&&this.grid&&H1c(this.grid,function(){b.onSelectionChange()})};g.getSelectedIssues=function(){var a,b;return(b=(a=this.grid)==null?void 0:a.getSelectedIssues())!=null?b:[]};g.refresh=function(){this.refreshMonitor.refreshRequest.next();this.onRefresh.emit()};g.openInEstado=function(){this.estadoService.openInEstado()};var O1c=function(a){return a.hasSelectedIssues()&&a.isNonPublicSession};
z2.\u0275fac=function(){var a;return function(b){return(a||(a=de(z2)))(b||z2)}}();
z2.\u0275cmp=t({type:z2,selectors:[["b-grid-controls"]],inputs:{grid:"grid",isHotlistAdmin:"isHotlistAdmin",currentHotlistId:"currentHotlistId",showHotlistButtons:"showHotlistButtons"},outputs:{init:"init",onRefresh:"onRefresh",onExportCsv:"onExportCsv"},features:[Yg([sG]),cg,Hd],decls:11,vars:8,consts:[["addCommentDialog",""],["size","large","format","icon","tooltip","Refresh","bAriaLabel","Refresh",1,"refresh-button",3,"onAction"],["name","refresh","size","large"],[3,"enableBulkEstimatedEffortOption",
"readStatePrompt"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks"],[1,"bv2-grid-hotlist-picker"],["tooltip","Reporting","aria-label","Reporting",1,"compact",3,"size","format"],[1,"bv2-appbar-menu",3,"exportCsvClicked","flagAsSpamClicked","showExportCsv","showFlagIssuesAsSpam"],[3,"save","close","externalWarnings"],[3,"onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead","enableBulkEstimatedEffortOption","readStatePrompt"],[3,"onClickCopyIssueIds","onClickCopyIssueShortLinks",
"onClickCopyAsIssueSearch","shortLinkPrefix","shouldShowCopyIssueShortLinks"],[3,"onApply","onCreate","onLoad","selectedHotlistIds","choices"],[3,"hotlistId"],[3,"issueAddedToHotlist","hotlistId"],["tooltip","Reporting","aria-label","Reporting",1,"compact",3,"onAction","size","format"],["name","bar-chart","size","large"],[1,"bv2-estado-text"],["mat-dialog-title",""],[3,"comment","showToolbar"],[3,"externalWarnings"],[1,"flex-kids-x","justify-flex-end"],["mat-button","",1,"medium",3,"mat-dialog-close"],
["mat-flat-button","","cdkFocusInitial","",1,"medium","primary",3,"disabled","mat-dialog-close"],[3,"commentChange","onSubmit","comment","showToolbar"],[3,"onUpdate"]],template:function(a,b){if(a&1){var c=x();I(0,"b-button",1);M("onAction",function(){z(c);return A(b.refresh())});K(1,"b-icon",2);J();D(2,Qwb,2,4,"b-app-bar-bulk-edit-menus",3)(3,Rwb,1,2,"b-copy-issue-id-button",4)(4,Swb,2,2,"div",5)(5,Vwb,2,2)(6,Xwb,3,3,"b-button",6);I(7,"b-app-bar-more-menu",7);M("exportCsvClicked",function(){z(c);
return A(b.onExportCsv.emit())})("flagAsSpamClicked",function(){z(c);return A(L_c(b))});J();I(8,"b-state-modal",8);M("save",function(){z(c);return A(J_c(b))})("close",function(){z(c);return A(b.hotkeys.unpause())});J();D(9,$wb,11,6,"ng-template",null,0,fh)}a&2&&(C(2),G(b.hasSelectedIssues()?2:-1),C(),G(b.hasSelectedIssues()?3:-1),C(),G(b.enableBulkEditUi&&b.hasSelectedIssues()?4:-1),C(),G(b.showHotlistButtons&&!b.hasSelectedIssues()?5:-1),C(),G(b.enableEstadoInAppBar?6:-1),C(),F("showExportCsv",b.isNonPublicSession||
$8b(b.activeSession))("showFlagIssuesAsSpam",O1c(b)),C(),F("externalWarnings",b.externalWarnings))},dependencies:[XZ,WZ,IH,dU,C0,y2,x2,j1,yM,vD,Vy,lL,nL,pL,oL,m1,aT,k1,Iw],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var P1c=function(a){return{displayText:"Admins",values:a}},Q1c=function(a){return[a]},R1c=function(a){return{displayText:"Appenders",values:a}},S1c=ti("You are about to change the administrator privileges for this hotlist.\nMake sure your changes are correct -- if you revoke your own privileges, you will not be able to undo this action or perform further edits.\nDo you want to proceed?"),A2=function(){var a=r(iT);Z.call(this);var b=this;this.hotlistAccessPolicyFridge=r(DF);this.links=r(cL);this.snackBar=
r(eE);this.events=r(nE);this.dialog=r(rL);this.permissions=r(WG);this.userApi=r(lF);this.activeSession=r(dv);this.id$=new If(1);this.idSubject$=Wo(this.id$.pipe(Of(this.destroyed$)));this.acl$=this.id$.pipe(Nf(function(c){return b.hotlistAccessPolicyFridge.watch(c)}));this.latestCompactPolicy={};this.admins=[];this.appenders=[];this.readers=[];this.accessControlLink=yqc(this.links);this.validity={};this.isValid=function(){return Object.values(b.validity).every(Boolean)};this.isInvalid=function(){return!b.isValid()};
this.allAppenders=[];this.onPressSave=function(){b.isRevokingAdmin()?b.dialog.open({title:"Change Hotlist Admins",content:S1c,isDestructive:!0,onConfirm:b.doSave}):b.doSave()};this.doSave=function(){var c=b.idSubject$.value;if(c!=null){var d=b.isRevokingAdmin();c={id:c,admins:np(b.admins),appenders:np(b.appenders),editors:null,readers:np(b.readers),implicitAccess:null,restrictedReaders:null,restrictedPlusReaders:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null};
b.hotlistAccessPolicyFridge.save(c).subscribe({next:b.didSave(d,c.id),error:b.gotErr})}};this.didSave=function(c,d){return function(){b.snackBar.open("Access control saved",void 0,{duration:2500});b.events.hotlistChanged.next();b.permissions.poke(d);c&&b.doStar()}};this.gotErr=function(c){b.snackBar.open(Kn(c)||"Error saving the hotlist access policy","close",{panelClass:"error"})};this.doStar=function(){var c=b.idSubject$.value;c&&b.userApi.addUserBookmark({resourceType:"HOTLIST",resourceId:c}).then(function(){b.events.hotlistChanged.next()})};
this.onPressRevert=function(){b.resetEdits()};this.gotAcl=function(c){b.latestPolicy=c;var d,e,f;b.latestCompactPolicy={admins:mp((d=b.latestPolicy)==null?void 0:d.admins),appenders:mp((e=b.latestPolicy)==null?void 0:e.appenders),readers:mp((f=b.latestPolicy)==null?void 0:f.readers)};b.resetEdits()};this.isChanged=function(){var c=b.latestCompactPolicy,d;if(!yi((d=c.admins)!=null?d:[],b.admins))return!0;var e;if(!yi((e=c.appenders)!=null?e:[],b.appenders))return!0;var f;return yi((f=c.readers)!=null?
f:[],b.readers)?!1:!0};this.hasNoChanges=function(){return!b.isChanged()};this.acl$.pipe(Of(this.destroyed$)).subscribe(this.gotAcl);this.subscriptions.add(jT(a,this.isChanged,!1))};Y(A2,Z);A2.\u0275dir=Z.\u0275dir;var T1c=function(a){return[].concat(w(new Set([].concat(w(a.admins),w(a.appenders)))))};A2.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};
A2.prototype.resetEdits=function(){var a;this.admins=[].concat(w((a=this.latestCompactPolicy.admins)!=null?a:[]));var b;this.appenders=[].concat(w((b=this.latestCompactPolicy.appenders)!=null?b:[]));var c;this.readers=[].concat(w((c=this.latestCompactPolicy.readers)!=null?c:[]));this.allAppenders=T1c(this)};A2.prototype.isRevokingAdmin=function(){var a=this.admins,b,c=(b=this.latestCompactPolicy.admins)!=null?b:[];return this.isRevokingDirectAdmin(a,c,this.activeSession.getUserEmail())};
A2.prototype.isRevokingDirectAdmin=function(a,b,c){c=c===void 0?"":c;if(yta(a,b))return!1;c="USER:"+c;b=b.includes(c);a=!a.includes(c);return b&&a};A2.\u0275fac=function(a){return new (a||A2)};
A2.\u0275cmp=t({type:A2,selectors:[["b-edit-hotlist-acl"]],inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[cg,Hd],decls:22,vars:24,consts:[[1,"flex-kids-y"],[1,"muted","type-s","margin-s-bottom"],[3,"usersChange","isValid","users"],[3,"usersChange","isValid","users","includeAliases","containerChips"],[3,"usersChange","isValid","users","includeAliases","includeViewAliases","containerChips"],["target","_blank",3,"href"],[1,"margin-top","flex-kids-x","gap-s"],["mat-flat-button","","color",
"primary","type","submit",1,"medium",3,"click","disabled","matTooltip"],["mat-button","","type","button",1,"medium",3,"click","disabled","matTooltip"]],template:function(a,b){a&1&&(I(0,"form",0)(1,"label"),Q(2,"Admins"),J(),I(3,"p",1),Q(4,"Edit access controls, edit name and description, reorder hotlist, add/remove issues"),J(),I(5,"b-multi-user-input",2),M("usersChange",function(c){b.admins=c;b.allAppenders=T1c(b)})("isValid",function(c){return b.validity.admins=c}),J(),I(6,"label"),Q(7,"View and append"),
J(),I(8,"p",1),Q(9,"Reorder hotlist, add/remove issues"),J(),I(10,"b-multi-user-input",3),M("usersChange",function(c){b.appenders=c;b.allAppenders=T1c(b)})("isValid",function(c){return b.validity.appenders=c}),J(),I(11,"label"),Q(12,"View only"),J(),I(13,"p",1),Q(14,"View the hotlist"),J(),I(15,"b-multi-user-input",4),M("usersChange",function(c){b.readers=c})("isValid",function(c){return b.validity.readers=c}),J()(),I(16,"p"),Q(17," Users can see which issues are in a hotlist, even when they don't have view access to the hotlist. See "),
I(18,"a",5),Q(19,"access control documentation"),J(),Q(20," for an explanation of the settings.\n"),J(),D(21,axb,5,4,"div",6));a&2&&(C(5),ng("disabled",b.isReadOnly),F("users",b.admins),C(5),ng("disabled",b.isReadOnly),F("users",b.appenders)("includeAliases",!0)("containerChips",bh(18,Q1c,bh(16,P1c,b.admins))),C(5),ng("disabled",b.isReadOnly),F("users",b.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",bh(22,Q1c,bh(20,R1c,b.allAppenders))),C(3),F("href",b.accessControlLink,
of),C(3),G(b.isReadOnly?-1:21))},dependencies:[Cz,uz,zz,vD,Vy,FH,HH,QP],styles:["[_nghost-%COMP%] {\n      display: block;\n      max-width: 600px;\n      padding: 16px; \n\n    }\n    label[_ngcontent-%COMP%] {\n      font-weight: bold;\n      line-height: 2em;\n    }"]});var U1c=["hotlistName"],B2=function(){Z.call(this);var a=this;this.fridge=r(mF);this.snackBar=r(eE);this.events=r(nE);this.checkBeforeExit=r(iT);this.isReadOnly=!1;this.id$=new If(1);this.hotlist$=this.id$.pipe(Nf(function(b){return a.fridge.watch(b)}));this.isArchived=!1;this.localEdits={};this.gotHotlist=function(b){a.latestHotlist=b;var c;a.isArchived=(c=b==null?void 0:b.archived)!=null?c:!1;a.resetEdits(b)};this.gotErr=function(b){a.snackBar.open(Kn(b)||"Error saving the hotlist","close",{panelClass:"error"})};
this.didSave=function(){a.snackBar.open("Hotlist saved",void 0,{duration:2500});a.events.hotlistChanged.next()};this.isChanged=function(){var b,c=(b=a.latestHotlist)!=null?b:{};return!yi(c,a.localEdits)};this.hasNoChanges=function(){return!a.isChanged()};this.save=function(){a.fridge.save(a.localEdits).subscribe({next:a.didSave,error:a.gotErr})};this.revert=function(){a.resetEdits(a.latestHotlist)};this.hotlist$.pipe(Of(this.destroyed$)).subscribe(function(b){a.gotHotlist(b)});this.subscriptions.add(jT(this.checkBeforeExit,
this.isChanged,!1))};Y(B2,Z);B2.\u0275dir=Z.\u0275dir;B2.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){var b;(b=a.hotlistName)==null||b.nativeElement.focus()})};B2.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};B2.prototype.resetEdits=function(a){var b;this.localEdits=(b=zi(a))!=null?b:{}};B2.\u0275fac=function(a){return new (a||B2)};
B2.\u0275cmp=t({type:B2,selectors:[["b-edit-hotlist-basic"]],viewQuery:function(a,b){a&1&&Mg(U1c,5);if(a&2){var c;Qg(c=Rg())&&(b.hotlistName=c.first)}},inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[cg,Hd],decls:10,vars:5,consts:[["hotlistName",""],["name","hotlist",1,"flex-kids-y"],["for","hotlist-name",1,"required"],["type","text","id","hotlist-name","name","name","required","","aria-required","true","autocomplete","off",3,"ngModelChange","disabled","ngModel"],["for","hotlist-description",
1,"margin-top"],["id","hotlist-description","name","description",3,"ngModelChange","disabled","ngModel"],[1,"margin-top","flex-kids-x","gap-s"],["mat-flat-button","","color","primary","type","submit",1,"medium",3,"click","disabled","matTooltip"],["mat-button","","type","button",1,"medium",3,"click","disabled","matTooltip"],[3,"hotlistId"]],template:function(a,b){if(a&1){var c=x();I(0,"form",1)(1,"label",2);Q(2,"Name");J();I(3,"input",3,0);Xg("ngModelChange",function(d){z(c);Wg(b.localEdits.name,d)||
(b.localEdits.name=d);return A(d)});J();I(5,"label",4);Q(6,"Description");J();I(7,"textarea",5);Xg("ngModelChange",function(d){z(c);Wg(b.localEdits.description,d)||(b.localEdits.description=d);return A(d)});Q(8,"  ");J();D(9,bxb,7,7,"div",6);J()}a&2&&(C(3),F("disabled",b.isReadOnly||b.isArchived),Vg("ngModel",b.localEdits.name),C(4),F("disabled",b.isReadOnly||b.isArchived),Vg("ngModel",b.localEdits.description),C(2),G(b.isReadOnly?-1:9))},dependencies:[Cz,ki,tz,uz,Mz,Bz,zz,vD,Vy,FH,HH,y2,Iw],styles:["[_nghost-%COMP%]{display:block;max-width:600px;padding:16px}label[_ngcontent-%COMP%]{font-weight:bold;line-height:2em}textarea[_ngcontent-%COMP%]{min-height:150px;resize:vertical}input.ng-invalid[_ngcontent-%COMP%], input.ng-invalid.ng-touched[_ngcontent-%COMP%]:not(.mat-mdc-input-element){border:1px solid;border-color:#ea4335;border-color:var(--bad)}/*# sourceMappingURL=edit_hotlist_basic.css.map */"]});var C2=function(){Z.apply(this,arguments);var a=this;this.hotlists=r(mF);this.acls=r(DF);this.id$=new If(1);this.hotlist$=this.id$.pipe(Nf(function(b){return a.hotlists.watch(b)}))};Y(C2,Z);C2.\u0275dir=Z.\u0275dir;C2.prototype.isThinking=function(a){var b=a?"hotlists/"+a:void 0;return this.hotlists.isThinking(a)||this.acls.isThinking(b)};C2.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};C2.\u0275fac=function(){var a;return function(b){return(a||(a=de(C2)))(b||C2)}}();
C2.\u0275cmp=t({type:C2,selectors:[["b-edit-hotlist-header"]],inputs:{id:[0,"hotlistId","id"]},features:[cg,Hd],decls:9,vars:8,consts:[[1,"flex-kids-x","align-items-center","gap-s","padded-x"],[1,"muted"],[1,"color-bad-text"]],template:function(a,b){a&1&&(I(0,"header",0)(1,"h2")(2,"span",1),Q(3),J(),D(4,cxb,1,1),S(5,"async"),J(),D(6,dxb,2,0,"strong",2),S(7,"async"),D(8,exb,1,0,"b-spinner"),J());if(a&2){var c,d;C(3);R(" Hotlist ",b.id,": ");C();G((c=U(5,4,b.hotlist$))?4:-1,c);C(2);G(((d=U(7,6,b.hotlist$))==
null?0:d.archived)?6:-1);C(2);G(b.isThinking(b.id)?8:-1)}},dependencies:[JO,Iw],styles:["[_nghost-%COMP%] {\n      display: block;\n    }"]});var D2=function(){Z.apply(this,arguments);this.activeSession=r(dv);this.ROUTES=tq;this.id$=new If(1);this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha()};Y(D2,Z);D2.\u0275dir=Z.\u0275dir;D2.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};D2.prototype.onPressBack=function(){var a;(a=window.history)==null||a.back()};D2.\u0275fac=function(){var a;return function(b){return(a||(a=de(D2)))(b||D2)}}();
D2.\u0275cmp=t({type:D2,selectors:[["b-edit-hotlist-toolbar"]],inputs:{id:[0,"hotlistId","id"]},features:[cg,Hd],decls:6,vars:2,consts:[[1,"button-bar","border-bottom","padded-s"],["format","icon","size","large","tooltip","Go back","bAriaLabel","Go back",3,"onAction"],["name","arrow-backward","size","large"],["mat-button","","matTooltip","View the issues tagged with this hotlist",1,"medium","no-visited-no-active",3,"href"],[3,"hotlistId"]],template:function(a,b){a&1&&(I(0,"section",0)(1,"b-button",
1),M("onAction",function(){return b.onPressBack()}),K(2,"b-icon",2),J(),I(3,"a",3),Q(4," View Issues "),J(),D(5,fxb,2,3,"hotlist-add-issue-btn",4),J());a&2&&(C(3),F("href",b.ROUTES.viewHotlist.makeHref(b.id),of),C(2),G(b.enableBulkEditUi?5:-1))},dependencies:[vD,Wy,FH,HH,IH,yM,x2,Iw],styles:[".button-bar[_ngcontent-%COMP%] {\n      display: flex;\n      align-items: center;\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var V1c=new Map([[403,"You do not have permission to view this Hotlist."],[404,"This Hotlist does not exist."]]),E2=function(){this.routeParams=r(PL);this.pageTitle=r(k_);this.permissions=r(WG);this.hotlists=r(mF);this.window=r(aL);this.id=this.routeParams.hotlistId;this.resourceId="hotlists/"+this.id;this.isAdmin$=this.permissions.watch(this.resourceId).pipe(B(function(a){return a==null?void 0:a.admin}));this.hotlistErrorMsg$=this.hotlists.error$.pipe(B(function(a){var b;return(b=a.status)!=null?
b:-1}),B(function(a){var b;return(b=V1c.get(a))!=null?b:"unknown error"}),Mf(void 0));this.tabIndex=0};E2.prototype.ngOnInit=function(){this.pageTitle.setTitle("Edit Hotlist "+this.id);this.window.location.hash.includes("access")&&(this.tabIndex=1)};E2.\u0275fac=function(a){return new (a||E2)};
E2.\u0275cmp=t({type:E2,selectors:[["edit-hotlist"]],decls:4,vars:6,consts:[[3,"hotlistId"],[1,"bv2-view"],["gmat-tabs","",3,"selectedIndex"],["label","Basic Information"],[3,"hotlistId","isReadOnly"],["label","Access Control"],[1,"muted","padded-x"],[1,"padded-x"]],template:function(a,b){a&1&&(D(0,hxb,12,14),S(1,"async"),D(2,ixb,6,1),S(3,"async"));if(a&2){var c;G(U(1,2,b.hotlistErrorMsg$)===void 0?0:-1);C(2);G((c=U(3,4,b.hotlistErrorMsg$))?2:-1,c)}},dependencies:[ZO,UO,VO,GI,A2,B2,C2,D2,Iw],encapsulation:2});var F2=function(){};F2.\u0275fac=function(a){return new (a||F2)};F2.\u0275cmp=t({type:F2,selectors:[["b-error-banner"]],inputs:{error:"error"},decls:1,vars:1,consts:[["messageType","error"]],template:function(a,b){a&1&&D(0,jxb,3,1,"b-callout",0);a&2&&G(b.error?0:-1)},dependencies:[ZP,$P],encapsulation:2});var G2=function(){};G2.\u0275fac=function(a){return new (a||G2)};G2.\u0275mod=u({type:G2});G2.\u0275inj=p({imports:[RE,WR]});var H2=function(){};H2.\u0275fac=function(a){return new (a||H2)};H2.\u0275mod=u({type:H2});H2.\u0275inj=p({imports:[RE,Qz,JH,LH,MH,oR,aP,AM,LO,G2,ER,QI]});var I2=function(){};I2.\u0275fac=function(a){return new (a||I2)};I2.\u0275mod=u({type:I2});I2.\u0275inj=p({imports:[ZZ,MH,mW,RE,vR,M0,H2,s1,AM,JH,ML,LH,t1,qW,l1]});var J2=function(){Z.call(this);this.element=r(ge);this.bLocation=r(WI);this.hotkeys=r(YH);this.cdr=r(sG,{self:!0});this.focusedIndex=0;this.convertUserToString=Ui;this.hotlists=[];this.registerKeys()};Y(J2,Z);J2.\u0275dir=Z.\u0275dir;g=J2.prototype;g.setFocusOnIndex=function(a){this.focusedIndex=a};g.isFocused=function(a){return this.focusedIndex===a};g.selectNext=function(){this.focusedIndex+1>=this.hotlists.length||(this.focusedIndex++,this.scrollToFocusedIndex())};
g.selectPrevious=function(){this.focusedIndex-1<0||(this.focusedIndex--,this.scrollToFocusedIndex())};
g.registerKeys=function(){var a=this,b=ZH(this.hotkeys,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next hotlist",onPress:function(){a.selectNext();a.cdr.detectChanges()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous hotlist",onPress:function(){a.selectPrevious();a.cdr.detectChanges()}},{keys:["ENTER"],displayAs:"Enter",description:"View hotlist detail",onPress:function(){var c=a.hotlists[a.focusedIndex];c&&a.editHotlist(c)}}]});
this.destroyed$.subscribe(b)};g.scrollToFocusedIndex=function(){var a=this.element.nativeElement.parentElement;if(a){var b,c,d=(b=this.element.nativeElement.querySelector("table"))==null?void 0:(c=b.rows)==null?void 0:c[this.focusedIndex];if(d){b=a.getBoundingClientRect();a=b.top;b=b.bottom;c=d.getBoundingClientRect();var e=c.bottom;c.top<a?d.scrollIntoView(!1):e>b&&d.scrollIntoView(!0)}}};g.renderRowLabel=function(a){return this.hotlists[a].name};g.editHotlist=function(a){this.bLocation.path(tq.editHotlist.makeHref(a.hotlistId))};
J2.\u0275fac=function(a){return new (a||J2)};
J2.\u0275cmp=t({type:J2,selectors:[["b-hotlist-grid"]],inputs:{hotlists:"hotlists"},features:[Yg([sG]),cg],decls:27,vars:0,consts:[[1,"pop-grid","bv2-resource-list"],[1,"header-row"],[1,"focus-indicator"],[1,"bv2-columnheader-content"],[1,"pop-grid-default-th"],[1,"pop-grid-non-sort-header"],["tabindex","0",1,"bv2-resource-list-row",3,"grid-focus"],["tabindex","0",1,"bv2-resource-list-row",3,"click","focus"],[1,"bv2-resource-list-cell","hotlist-name","clickable"],["tabindex","-1",1,"grid-link",3,
"click","href"],[1,"bv2-resource-list-cell","hotlist-description","clickable"],[1,"bv2-resource-list-cell","resource-admins","clickable"],[1,"bv2-resource-list-cell","hotlist-id","clickable"]],template:function(a,b){a&1&&(I(0,"table",0)(1,"thead")(2,"tr",1),K(3,"th",2),I(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),Q(8," Hotlist name "),J()()()(),I(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),Q(13," Description "),J()()()(),I(14,"th")(15,"div",3)(16,"div",4)(17,"div",5),Q(18," Admins "),J()()()(),I(19,
"th")(20,"div",3)(21,"div",4)(22,"div",5),Q(23," ID "),J()()()()()(),I(24,"tbody"),tg(25,mxb,12,8,"tr",6,sg),J()());a&2&&(C(25),ug(b.hotlists))},encapsulation:2});var K2=function(){};K2.\u0275fac=function(a){return new (a||K2)};K2.\u0275mod=u({type:K2});K2.\u0275inj=p({imports:[RE]});var L2=function(){this.bLocation=r(WI);this.butterBar=r(hE)},W1c=function(a,b){var c=a.bLocation.search()[b];return c!=null?Array.isArray(c)?(a.butterBar.showWarning("Given multiple values for parameter "+b+"; using the first."),c[0]):typeof c==="boolean"?"":c:null};L2.prototype.getCount=function(){var a=W1c(this,"c");return a?Ei(a):null};var X1c=function(a){return(a=W1c(a,"p"))?Ei(a):null};L2.prototype.getQuery=function(){return W1c(this,"q")};
L2.prototype.getDisplayColumns=function(){var a=this.bLocation.search().d;return a?(Array.isArray(a)?a:[a]).map(gu).filter(kj):null};L2.prototype.getSortColumns=function(){var a=this.bLocation.search().s;return a?(Array.isArray(a)?a:[a]).map(Tib).filter(kj):null};
var M2=function(a,b,c){c=c===void 0?!1:c;var d=function(e,f){c?a.bLocation.search(e,f,!0):a.bLocation.search(e,f)};b.displayColumns!==void 0&&d("d",b.displayColumns==null?null:(b.displayColumns||[]).map(function(e){return Y1c(e)}));b.sortColumns!==void 0&&d("s",b.sortColumns==null?null:(b.sortColumns||[]).map(function(e){var f=e.direction=="ASCENDING"?"asc":"desc";return Y1c(e.fieldId)+":"+f}));b.page!==void 0&&d("p",b.page);b.resultsPerPage!==void 0&&d("c",b.resultsPerPage);b.query!==void 0&&d("q",
b.query)},Y1c=function(a){return a.isCustomField()?String(a.customFieldId):a.type.toLowerCase()};L2.\u0275fac=function(a){return new (a||L2)};L2.\u0275prov=n({token:L2,factory:L2.\u0275fac,providedIn:"root"});var N2=function(){this.urlPreferences=r(L2);this.userPreferencesManager=r(yH);this.customFieldApi=r(wF)};N2.prototype.fetch=function(a,b){a=this.getParameters(a,b===void 0?null:b);return{searchPreferences:qq({page:a.page,query:a.query,resultsPerPage:a.resultsPerPage,sortColumns:a.sortColumns}),displayColumns:a.displayColumns}};
N2.prototype.getParameters=function(a,b){var c=this,d=b?function(){return Z1c(b)}:function(){return $1c(c)},e=b?function(){return a2c(b)}:function(){return b2c(c)};d=Promise.resolve(this.urlPreferences.getDisplayColumns()).then(function(l){return O2(l)}).then(null,d).then(function(l){return O2(l)}).then(null,TA(a.displayColumns)).then(function(l){return c2c(c,l)});e=Promise.resolve(this.urlPreferences.getSortColumns()).then(function(l){return O2(l)}).then(null,e).then(function(l){return O2(l)}).then(null,
TA(a.sortColumns));var f=Promise.resolve(this.urlPreferences.getCount()).then(function(l){return O2(l)}).then(null,function(){return d2c(c)}).then(function(l){return O2(l)}).then(null,TA(a.resultsPerPage)),h=Promise.resolve(this.urlPreferences.getQuery()).then(function(l){return O2(l)}).then(null,function(){return e2c(b,function(l){return l.query})}).then(null,TA(a.query));a=X1c(this.urlPreferences)||a.page;return{displayColumns:d,sortColumns:e,resultsPerPage:f,query:h,page:a}};
var O2=function(a){return a==null?Promise.reject(null):a},Z1c=function(a){return e2c(a,function(b){return b.displayColumn}).then(function(b){return f2c(b)})},a2c=function(a){return e2c(a,function(b){return b.sortOrder}).then(function(b){return g2c(b)})},b2c=function(a){return Je(a.userPreferencesManager.sortColumnsPreferences$).then(function(b){return O2(b)}).then(function(b){return g2c(b)})},$1c=function(a){return Je(a.userPreferencesManager.displayColumnsPreferences$).then(function(b){return O2(b)}).then(function(b){return f2c(b)})},
d2c=function(a){return Je(a.userPreferencesManager.preferences$.pipe(B(function(b){var c;return(c=b.resultsPerPage)!=null?c:null}))).then(function(b){return O2(b)})},e2c=function(a,b){return a?a.then(function(c){c=b(c);return c==null?Promise.reject(null):c}):Promise.reject(null)},f2c=function(a){if(!a||!a.length)return null;a=Qk(a,function(b){return b.customFieldId||b.customFieldName||b.type});return a.map(function(b){return new fu({customFieldId:b.customFieldId||void 0,customFieldName:b.customFieldName||
void 0,type:b.type})})},g2c=function(a){return a&&a.length?a.map(function(b){return b.column!==void 0?new ju(new fu(b.column),b.order):new ju(new fu(b.field),b.direction)}).filter(function(b){return b.fieldId.type!="CUSTOM_FIELD"||b.fieldId.customFieldId!=null}):null},c2c=function(a,b){function c(){for(var l=k(b),q=l.next();!q.done;q=l.next())if(q=q.value,q.isCustomField()&&!q.customFieldName){var v=d[q.customFieldId];q.customFieldName=v?v:"Custom field "+q.customFieldId}return b}if(!b)return Promise.resolve([]);
for(var d={},e=[],f=k(b),h=f.next();!h.done;h=f.next())h=h.value,h.customFieldId&&h.isCustomField()&&(h.customFieldName?d[h.customFieldId]=h.customFieldName:e.push(a.customFieldApi.get(h.customFieldId).then(function(l){d[l.customFieldId]=l.name})));return Promise.all(e).then(c,c)};N2.\u0275fac=function(a){return new (a||N2)};N2.\u0275prov=n({token:N2,factory:N2.\u0275fac,providedIn:"root"});var P2=function(){Z.call(this);var a=this;this.cdr=r(sG);this.bLocation=r(WI);this.$log=r(iE);this.butterBar=r(hE);this.analytics=r(wG);this.issuePagination=r(j_);this.gridPreferencesFetcher=r(N2);this.paths=r(zO);this.errorHandler=r(jE);this.domSafe=r(mM);this.timeout=r(UC);this.hotkeys=r(YH);this.appSearchState=r(KY);this.componentFridge=r(AC);this.issueFullFridge=r(yG);this.activeSession=r(dv);this.window=r(aL);this.ANALYTICS_CATEGORY="panel";this.initialSortPreferences=this.initialIssueColumns=
this.displayColumns=null;this.currentUserEmail=this.activeSession.getUserEmail();this.resource=this.searchResults=null;this.isLoading=!1;this.page=1;this.issueColumnsInternal=[];this.sortPreferences=[];this.last=this.first=this.isDashboardEditable=!1;this.focusedRowIndexInternal=null;this.focusedRowIndexChange=new rG;this.resultsLoaded=new rG;this.selectionChange=new rG;this.isColumnSaveEnabled=!1;this.cachedSort=null;this.BASE_HOTKEYS=[{keys:["j"],displayAs:"j",description:"Move to the next issue in the current panel",
onPress:function(){var b;(b=a.issuesGrid)==null||Rtb(b)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue in the current panel",onPress:function(){var b;(b=a.issuesGrid)==null||Stb(b)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var b;(b=a.issuesGrid)==null||G1c(b)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var b;(b=a.issuesGrid)==null||I1c(b)}},{keys:[cp("i")],displayAs:"Shift+i",description:"Mark as read",
onPress:function(){var b;(b=a.issuesGrid)==null||J1c(b,!0)}},{keys:[cp("u")],displayAs:"Shift+u",description:"Mark as unread",onPress:function(){var b;(b=a.issuesGrid)==null||J1c(b,!1)}},{keys:[dp("*","a")],displayAs:"* then a",description:"Select all issues in the current panel",onPress:function(){var b;(b=a.issuesGrid)==null||b.selectAll()}},{keys:[dp("*","n")],displayAs:"* then n",description:"Deselect all issues in the current panel",onPress:function(){var b;(b=a.issuesGrid)==null||D1c(b)}},{keys:["o",
"ENTER"],displayAs:"o / Enter",description:"Open the current issue",onPress:function(b){var c=a.window.document.activeElement;if(b===1&&(c==null?void 0:c.tagName)==="A")if(c.href)b=a.paths.getBaseUrl(),c.href.startsWith(b)?a.bLocation.setUrl(c.href.slice(b.length)):a.domSafe.openInNewTab(c.href);else{var d;(d=a.issuesGrid)==null||t2(d)}else{var e;(e=a.issuesGrid)==null||t2(e)}}}];this.destroyed$.subscribe(function(){var b;(b=a.unregisterHotkeys)==null||b.call(a)})};Y(P2,Z);P2.\u0275dir=Z.\u0275dir;
P2.prototype.columnsChange=function(a){this.issueColumns=a};P2.prototype.ngOnInit=function(){this.getIssues();h2c(this)};var h2c=function(a){var b;(b=a.unregisterHotkeys)==null||b.call(a);a.isFocused?a.unregisterHotkeys=ZH(a.hotkeys,{title:"Bookmark Group Dashboard",hotkeys:a.BASE_HOTKEYS}):a.unregisterHotkeys=void 0},Jxb=function(a,b){a.issuesGrid=b;H1c(a.issuesGrid,function(){var c,d={panelId:a.panel.panelId,selectedIssues:(c=a.issuesGrid)==null?void 0:c.getSelectedIssues()};a.selectionChange.emit(d)})};
g=P2.prototype;g.setSort=function(a,b,c){c=c===void 0?!0:c;var d=gu(a);if(d==null)this.$log.warn("WARNING: Invalid column name: "+a);else{var e=new ju(d,b=="ASC"?"ASCENDING":"DESCENDING");Ta(this.sortPreferences,function(f){return yi(f.fieldId,e.fieldId)});this.sortPreferences=c?[e].concat(this.sortPreferences.slice(0,2)):[e];this.page=1;this.refreshResults()}};
g.getSort=function(){if(!this.sortPreferences.length)return null;var a=this.sortPreferences[0];a={field:a.fieldId.type=="CUSTOM_FIELD"?String(a.fieldId.customFieldId):Ci(a.fieldId.type),direction:a.direction=="ASCENDING"?"ASC":"DESC"};yi(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};g.initColumns=function(a,b){this.displayColumns=a;this.issueColumnsInternal=[].concat(w(b),w(Ipb(a)));this.initialIssueColumns=zi(this.issueColumns);this.isColumnSaveEnabled=!0};
g.goToIssue=function(a,b,c){c&&c.target.tagName==="A"||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"viewIssue",b?"read":"unread"),a=wq(a),c&&zm(c)?this.domSafe.openInNewTab(a):this.bLocation.setUrl(a))};g.goToPage=function(a){this.page=a;this.getIssues()};g.refreshResults=function(){lYc(this.issuePagination);this.getIssues()};g.exportCsv=function(){nM(this.domSafe,this.getCsvUrl())};g.getCsvUrl=function(){this.$log.warn("WARNING: Method getCsvUrl() not implemented.");return""};
g.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;var b=this.resource?Promise.resolve(this.resource):this.loadResource();return this.doSearch(b).catch(function(c){a.$log.warn("WARNING: unable to doSearch()",c)}).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
g.doSearch=function(a){var b=this,c=this.getGridPreferencesDefaults(),d=this.gridPreferencesFetcher.fetch(c,a.then(function(){return{query:b.resource.query!=null?b.resource.query:null,displayColumn:b.resource.displayColumn,sortOrder:b.resource.sortOrder}}));a=d.searchPreferences.then(function(e){if(!e.query)return Promise.reject(null);e=b.getSearchParams(e);b.searchParams=e;e.trackerIds=b.appSearchState.currentTrackerScope;return iYc(b.issuePagination,e)});a.catch(function(e){typeof e==="number"?
b.goToPage(e):e&&b.errorHandler.errorHandler(null,e)});return qq({searchResultsPage:a,displayColumns:d.displayColumns}).then(function(e){var f=e.searchResultsPage;b.searchResults=f;b.page=f.params.page;b.searchResults&&b.subscribeToIssueChanges(b.searchResults.issues);b.sortPreferences=f.params.sortColumns||[];b.initialSortPreferences||(b.initialSortPreferences=zi(b.sortPreferences));d.displayColumns.then(function(h){b.initColumns(h,b.getMetaColumns(f))});b.resultsLoaded.emit(b.searchResults.issues);
b.timeout.schedule(function(){var h=b.issuePagination.getFocusedIssue();h!=-1&&(b.focusedRowIndex=h-f.startIndex)})})};
g.subscribeToIssueChanges=function(a){var b=this,c;(c=this.issueSubscriptions)==null||c.unsubscribe();this.issueSubscriptions=new me;a=k(a);for(c=a.next();!c.done;c=a.next())this.issueSubscriptions.add(this.issueFullFridge.watch(c.value.id).pipe(Ye(kj),Of(this.destroyed$)).subscribe(function(d){var e;return ve(function(f){if(f.nextAddress==1)return b.searchResults?xe(f,Je(b.componentFridge.watch(d.snapshot[0].componentId,{trustUncertainMemory:!0})),3):f.jumpTo(2);if(f.nextAddress!=2){e=f.yieldResult;
if(!e||!b.searchResults)return f.return();dYc(b.searchResults,[{issue:d,component:e}]);b.searchResults=b.searchResults.clone()}b.cdr.detectChanges();Ce(f)})}))};g.getGridPreferencesDefaults=function(){return{page:this.page,displayColumns:i2c,sortColumns:[],query:"",resultsPerPage:25}};
g.save=function(){var a=this,b=Jpb(this.issueColumns.slice((this.searchResults?this.getMetaColumns(this.searchResults):j2c).length)).map(function(c){return new fu(c)});this.resource.displayColumn=b;b=this.sortPreferences.map(function(c){return{direction:c.direction,field:c.fieldId}});this.resource.sortOrder=b;du(this.butterBar,"Saving changes to panel...");this.saveResource().then(function(){a.initialIssueColumns=zi(a.issueColumns);a.initialSortPreferences=zi(a.sortPreferences);a.cdr.detectChanges()})};
g.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");this.issueColumns=[].concat(w(this.initialIssueColumns||[]));this.initialSortPreferences&&!yi(this.initialSortPreferences,this.sortPreferences)&&(Eba(this.sortPreferences),pv(Hba,this.sortPreferences,void 0,0).apply(null,this.initialSortPreferences),this.refreshResults())};
g.hasParamChanges=function(){return this.resource&&this.isEditable()?this.initialIssueColumns&&!yi(this.initialIssueColumns,this.issueColumns)?!0:!!this.initialSortPreferences&&!yi(this.initialSortPreferences,this.sortPreferences):!1};g.isEditable=function(){var a=this;return!!this.resource&&this.resource.adminUsers.some(function(b){return b.emailAddress===a.currentUserEmail})};g.getMetaColumns=function(){return j2c};
g.getSearchParams=function(a){a=zi(a);a.resultsPerPage=10;a.page=this.page;this.sortPreferences.length&&(a.sortColumns=this.sortPreferences);a.returnUrl=this.bLocation.getUrl();return a};
ea.Object.defineProperties(P2.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){yi(a,this.issueColumnsInternal)||(this.issueColumnsInternal=a,this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"columnModification"))}},focusedRowIndex:{configurable:!0,enumerable:!0,set:function(a){var b=this.isFocused;this.focusedRowIndexInternal!==a&&(this.focusedRowIndexInternal=a,this.focusedRowIndexChange.emit(a));this.isFocused!==b&&h2c(this)},
get:function(){return this.focusedRowIndexInternal}},isFocused:{configurable:!0,enumerable:!0,get:function(){return this.focusedRowIndex!==null}}});var j2c=[u2,v2,w2],i2c=x0c.map(gu).filter(kj);P2.\u0275fac=function(a){return new (a||P2)};
P2.\u0275cmp=t({type:P2,selectors:[["b-base-issues-list"]],viewQuery:function(a,b){a&1&&Mg(s2,5);if(a&2){var c;Qg(c=Rg())&&(b.issuesGrid=c.first)}},inputs:{panel:"panel",isDashboardEditable:"isDashboardEditable",first:"first",last:"last",focusedRowIndex:"focusedRowIndex"},outputs:{focusedRowIndexChange:"focusedRowIndexChange",resultsLoaded:"resultsLoaded",selectionChange:"selectionChange"},features:[cg],decls:0,vars:0,template:function(){},encapsulation:2});var Q2=function(){this.dialog=r(rL);this.appEvents=r(nE);this.last=this.first=!1};Q2.prototype.removePanel=function(){var a=this;this.dialog.open({title:"Remove Item?",content:ti("Are you sure you want to remove this item? It will be removed from the bookmark group permanently."),onConfirm:function(){a.appEvents.dashboardPanels.remove.next(a.panelId)}})};Q2.\u0275fac=function(a){return new (a||Q2)};
Q2.\u0275cmp=t({type:Q2,selectors:[["b-panel-controls"]],inputs:{panelId:"panelId",first:"first",last:"last"},decls:6,vars:1,consts:[["menu",""],["mat-icon-button","","aria-label","Customize list view",1,"small","bv2-grid-settings-button",3,"matMenuTriggerFor"],["svgIcon","arrow-dropdown",1,"icon-s"],["matMenuContent",""],["mat-menu-item","",1,"bv2-panel-move-to-top-menuitem"],["mat-menu-item","",1,"bv2-panel-move-up-menuitem"],["mat-menu-item","",1,"bv2-panel-move-down-menuitem"],["mat-menu-item",
"",1,"bv2-panel-move-to-bottom-menuitem"],["mat-menu-item","",1,"bv2-panel-remove-edit-menuitem",3,"click"],["mat-menu-item","",1,"bv2-panel-move-to-top-menuitem",3,"click"],["mat-menu-item","",1,"bv2-panel-move-up-menuitem",3,"click"],["mat-menu-item","",1,"bv2-panel-move-down-menuitem",3,"click"],["mat-menu-item","",1,"bv2-panel-move-to-bottom-menuitem",3,"click"]],template:function(a){a&1&&(I(0,"div")(1,"button",1),K(2,"mat-icon",2),J(),I(3,"mat-menu",null,0),D(5,rxb,6,4,"ng-template",3),J()());
a&2&&(a=L(4),C(),F("matMenuTriggerFor",a))},dependencies:[$D,vI,yI,wI,xI,zI,vD,Xy],encapsulation:2});var R2=function(){};R2.\u0275fac=function(a){return new (a||R2)};R2.\u0275mod=u({type:R2});R2.\u0275inj=p({imports:[RE,EI,JH]});var S2=function(){};S2.\u0275fac=function(a){return new (a||S2)};S2.\u0275mod=u({type:S2});S2.\u0275inj=p({imports:[RE,VK]});var T2=function(){};T2.\u0275fac=function(a){return new (a||T2)};T2.\u0275mod=u({type:T2});T2.\u0275inj=p({imports:[RE,S2]});var U2=function(){};U2.\u0275fac=function(a){return new (a||U2)};U2.\u0275mod=u({type:U2});U2.\u0275inj=p({imports:[RE,VK,T2]});var V2=function(){};V2.\u0275fac=function(a){return new (a||V2)};V2.\u0275mod=u({type:V2});V2.\u0275inj=p({imports:[RE,S2]});var k2c=function(){this.availablePanels=new Set;this.iconOnly=!1;this.buttonClassname="";this.openSidebar=new rG};k2c.\u0275fac=function(a){return new (a||k2c)};
k2c.\u0275cmp=t({type:k2c,selectors:[["b-insights-graph-menu"]],inputs:{availablePanels:"availablePanels",iconOnly:"iconOnly",buttonClassname:"buttonClassname"},outputs:{openSidebar:"openSidebar"},decls:14,vars:5,consts:[["mat-button","","matTooltip","Insight Graph menu",1,"main-button","gmat-mdc-button","square-right",3,"click","ngClass","disabled"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 18 22"],["fill","none","fill-rule","evenodd"],"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-opacity;.4;d;M17.5 5.41l-8-3.91m0 7.82l-8-3.91".split(";"),
"stroke;currentColor;stroke-opacity;.4;d;M9.5 9.32v10".split(";"),"stroke;currentColor;stroke-linecap;round;stroke-linejoin;round;stroke-width;1.5;d;M9.5 1.5l-8 3.91v10.01l8 3.91 8-3.91V5.41l-8 3.91".split(";"),"cx 1.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 5.41 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 9.32 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 1.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 17.5 cy 15.43 r 1.5 fill currentColor fill-rule nonzero".split(" "),
"cx 9.5 cy 19.33 r 1.5 fill currentColor fill-rule nonzero".split(" "),"cx 9.5 cy 1.5 r 1.5 fill currentColor fill-rule nonzero".split(" ")],template:function(a,b){a&1&&(I(0,"button",0),M("click",function(){b.openSidebar.emit({panel:void 0})}),Wd(),I(1,"svg",1)(2,"g",2),K(3,"path",3)(4,"path",4)(5,"path",5)(6,"circle",6)(7,"circle",7)(8,"circle",8)(9,"circle",9)(10,"circle",10)(11,"circle",11)(12,"circle",12),J()(),D(13,sxb,2,0,"ng-container"),J());a&2&&(ng("icon-only-mode",b.iconOnly),F("ngClass",
b.buttonClassname)("disabled",b.availablePanels.size===0),C(13),G(b.iconOnly?-1:13))},dependencies:[Ew,vD,Vy,FH,HH],styles:["[_nghost-%COMP%]{white-space:nowrap}svg[_ngcontent-%COMP%]{height:14px;width:14px;vertical-align:middle;margin-right:3px}.gmat-mdc-button[_ngcontent-%COMP%]{min-width:unset;height:32px;line-height:32px}.main-button[_ngcontent-%COMP%]{padding-right:4px}.main-button[disabled][_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{filter:grayscale(1);opacity:.5}.gmat-mdc-button.icon-only-mode[_ngcontent-%COMP%]{padding:0 2px}.gmat-mdc-button.icon-only-mode.main-button[_ngcontent-%COMP%]{padding:0 4px}.gmat-mdc-button.icon-only-mode[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-right:0;height:16px;width:16px}.gmat-mdc-button.icon-only-mode.mat-mdc-button[_ngcontent-%COMP%]:not([disabled]){color:#5f6368;color:var(--icon)}.gmat-mdc-button.icon-only-mode[_ngcontent-%COMP%]:not(.mat-mdc-icon-button).small{padding:0 2px}.gmat-mdc-button.icon-only-mode[_ngcontent-%COMP%]:not(.mat-mdc-icon-button).small.main-button{padding:0 4px}"],
changeDetection:0});var W2=function(){this.issueInsightsSidebarService=r(l2);this.iconOnly=!1;this.buttonClassname="";this.availablePanels$=this.issueInsightsSidebarService.availablePanels$;this.shouldShowInsightsGraphMenu$=this.issueInsightsSidebarService.shouldShowInsightsGraphMenu$};W2.prototype.openSidebar=function(a){this.issueInsightsSidebarService.openSidebar(a)};W2.\u0275fac=function(a){return new (a||W2)};
W2.\u0275cmp=t({type:W2,selectors:[["insights-graph-menu-smart"]],inputs:{iconOnly:"iconOnly",buttonClassname:"buttonClassname"},decls:2,vars:3,consts:[[3,"availablePanels","iconOnly","buttonClassname"],[3,"openSidebar","availablePanels","iconOnly","buttonClassname"]],template:function(a,b){a&1&&(D(0,uxb,2,3),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.availablePanels$))?0:-1,c)}},dependencies:[k2c,Iw],encapsulation:2,changeDetection:0});var X2=function(){};X2.\u0275fac=function(a){return new (a||X2)};X2.\u0275mod=u({type:X2});X2.\u0275inj=p({imports:[RE,JH,EI,LH]});var Y2=function(){};Y2.\u0275fac=function(a){return new (a||Y2)};Y2.\u0275mod=u({type:Y2});Y2.\u0275inj=p({imports:[Qw,Qz,XX]});var Z2=function(){};Z2.\u0275fac=function(a){return new (a||Z2)};Z2.\u0275mod=u({type:Z2});Z2.\u0275inj=p({imports:[RE,LH,bY,s0,Y2,VK]});var a3=function(){};a3.\u0275fac=function(a){return new (a||a3)};a3.\u0275mod=u({type:a3});a3.\u0275inj=p({imports:[RE,LH,bY,VK]});var b3=function(){};b3.\u0275fac=function(a){return new (a||b3)};b3.\u0275mod=u({type:b3});b3.\u0275inj=p({imports:[RE,vP,NM,Rz,mR]});var c3=function(){};c3.\u0275fac=function(a){return new (a||c3)};c3.\u0275mod=u({type:c3});c3.\u0275inj=p({imports:[RE,LH,JH,V2,$M,T2,b3,xy]});var d3=function(){};d3.\u0275fac=function(a){return new (a||d3)};d3.\u0275mod=u({type:d3});d3.\u0275inj=p({imports:[MH,WR,RE,Qz,JH,ML,bP,oR,LH,s0]});var l2c={},m2c=(l2c.COMFORTABLE=330,l2c.COZY=300,l2c.COMPACT=270,l2c),e3=function(){Z.call(this);var a=this;this.userPreferencesManager=r(yH);this.RIGHT_SIDEBAR_MIN_WIDTH=245;this.density$=this.userPreferencesManager.preferences$.pipe(B(function(b){var c;return(c=b.themePreferences)==null?void 0:c.density}));this.sidebarWidthPreference$=this.userPreferencesManager.preferences$.pipe(B(function(b){var c;return(c=b.layoutPreferences)==null?void 0:c.rightSidebarWidth}));this.rightSidebarWidthChanged$=
new Jf;this.currentSidebarWidth$=Me([this.density$,this.sidebarWidthPreference$,this.rightSidebarWidthChanged$.pipe(Mf(void 0))]).pipe(B(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;return c!=null?c:d!=null?d:m2c[b!=null?b:"COMFORTABLE"]}));Me([this.rightSidebarWidthChanged$.pipe(Ef()),this.sidebarWidthPreference$]).pipe(Ye(function(b){var c=k(b);b=c.next().value;return c.next().value!==b}),Nf(function(b){var c=k(b);b=c.next().value;c.next();return fgc(a.userPreferencesManager,
{rightSidebarWidth:b})}),Of(this.destroyed$)).subscribe()};Y(e3,Z);e3.\u0275dir=Z.\u0275dir;e3.prototype.ngOnInit=function(){};e3.\u0275fac=function(a){return new (a||e3)};
e3.\u0275cmp=t({type:e3,selectors:[["issue-metadata-sidebar"]],inputs:{issueId:"issueId"},features:[cg],decls:7,vars:7,consts:[[1,"a11y-only"],["direction","rtl",3,"widthChanged","disableToggleBtn","hideToggleBtnOnOpen","minWidth","size"],[1,"bv2-issue-metadata"],[1,"flex-kids-y"],[3,"issueId"]],template:function(a,b){a&1&&(I(0,"h3",0),Q(1,"Issue metadata"),J(),I(2,"b-resizable-sidebar",1),S(3,"async"),M("widthChanged",function(d){return b.rightSidebarWidthChanged$.next(d)}),I(4,"div",2)(5,"div",
3),D(6,vxb,1,1,"edit-issue-metadata",4),J()()());if(a&2){var c;C(2);F("disableToggleBtn",!1)("hideToggleBtnOnOpen",!0)("minWidth",b.RIGHT_SIDEBAR_MIN_WIDTH)("size",(c=U(3,5,b.currentSidebarWidth$))!==null&&c!==void 0?c:0);C(4);G(b.issueId?6:-1)}},dependencies:[II,m2,Iw],styles:["[_nghost-%COMP%] {\n      display: inherit;\n    }"],changeDetection:0});var f3=function(){};f3.\u0275fac=function(a){return new (a||f3)};f3.\u0275mod=u({type:f3});f3.\u0275inj=p({imports:[gM,FN,RE,Y0,QM,Z2,a3,bY,aI,VK,X2,HR,c3,aO,LH,QI,d3,ZX,uR,TN,N_,oW,gY,fY]});var g3=function(){};g3.\u0275fac=function(a){return new (a||g3)};g3.\u0275mod=u({type:g3});g3.\u0275inj=p({imports:[JH,LH,Qz,NN,PN,gA,LN,TN,RE,IR,BM,gM,LO,f3,pR,X1,GR]});var h3=function(){};h3.prototype.getValue=function(){return this.row[this.column.name]||""};h3.prototype.isCustomField=function(){return this.column.isCustomField};h3.prototype.getCustomFieldValue=function(){var a;if(!(a=this.row.customFieldValueMap[this.column.name])){a=this.row;var b=this.column.name;a.customFieldMap&&b?(b=b.toLowerCase(),a=(b=a.customFieldNameToIdMap[b])?a.customFieldValueMap[String(b)]||null:null):a=null}if(a)return yi(this.customFieldValue,a)||(this.customFieldValue=a),this.customFieldValue};
h3.\u0275fac=function(a){return new (a||h3)};h3.\u0275cmp=t({type:h3,selectors:[["pop-grid-default-cell"]],inputs:{row:"row",column:"column"},decls:2,vars:2,consts:[[3,"customFieldValue"]],template:function(a,b){a&1&&D(0,wxb,2,2,"span")(1,xxb,1,1,"b-custom-field-value-display",0);a&2&&(G(b.isCustomField()?-1:0),C(),G(b.isCustomField()?1:-1))},dependencies:[b1],encapsulation:2,changeDetection:0});var i3=function(){};i3.\u0275fac=function(a){return new (a||i3)};i3.\u0275mod=u({type:i3});i3.\u0275inj=p({imports:[RE,LH,c1]});oma(N1,[Hw,S1,h3],[]);var j3=function(){};j3.\u0275fac=function(a){return new (a||j3)};j3.\u0275mod=u({type:j3});j3.\u0275inj=p({imports:[RE,VK]});var k3=function(){};k3.\u0275fac=function(a){return new (a||k3)};k3.\u0275mod=u({type:k3});k3.\u0275inj=p({imports:[RE,j3,$M]});var l3=function(){};l3.\u0275fac=function(a){return new (a||l3)};l3.\u0275mod=u({type:l3});l3.\u0275inj=p({imports:[V1,RE,EI,MM,LH,JH,ML,Oy,JZ,AM,i3,S2,U2,$M,V2,gM,WK,hW,k3,TR,vR,PZ,a1,VK,HR,g3,DN,PR,FR]});var m3=function(){this.hotlistsApi=r(hF);this.butterBar=r(hE);this.appEvents=r(nE)};
m3.prototype.repositionIssue=function(a,b,c,d,e,f){var h=this,l=b[0].position,q=l>b[1].position,v=b[c],y=b[d].position;Nba(b,c,d);f==null||f();du(this.butterBar,"Saving...",0);return this.hotlistsApi.repositionHotlistIssue(a,v.issueId,y).then(function(){for(var E=l,H=k(b),O=H.next();!O.done;O=H.next())O.value.position=E,E+=q?-1:1;f==null||f();du(h.butterBar,"Saved issue position.",4E3);h.appEvents.hotlistChanged.next({hotlistId:a,origin:e});return h.hotlistsApi.get(a)})};
m3.\u0275fac=function(a){return new (a||m3)};m3.\u0275prov=n({token:m3,factory:m3.\u0275fac,providedIn:"root"});var n3=function(){this.pageChange=new rG;this.resultsPerPageChange=new rG;this.resultsPerPageFixed=!1;this.resultsPerPageOptions=[10,25,50,100,250]};n3.prototype.nextPage=function(){this.searchResults&&this.pageChange.emit({page:this.searchResults.params.page+1})};n3.prototype.prevPage=function(){this.searchResults&&this.pageChange.emit({page:this.searchResults.params.page-1})};
ea.Object.defineProperties(n3.prototype,{menuItems:{configurable:!0,enumerable:!0,get:function(){var a=this;return this.resultsPerPageOptions.map(function(b){return{type:"select",label:String(b),action:function(){a.resultsPerPageChange.emit({option:b})},selected:!!a.searchResults&&a.searchResults.params.resultsPerPage===b,disabled:!!a.searchResults&&a.searchResults.params.resultsPerPage===b}})}}});n3.\u0275fac=function(a){return new (a||n3)};
n3.\u0275cmp=t({type:n3,selectors:[["b-pagination"]],inputs:{searchResults:"searchResults",resultsPerPageFixed:"resultsPerPageFixed"},outputs:{pageChange:"pageChange",resultsPerPageChange:"resultsPerPageChange"},decls:7,vars:4,consts:[[1,"bv2-appbar-page"],["header","Results per page:","buttonLabel","Results per page","buttonIcon","arrow-dropdown",3,"menuItems"],["aria-live","polite","role","alert",1,"bv2-appbar-pagenums"],["mat-icon-button","","focusBack","","color","primary","mat-tooltip","Go to previous page",
"aria-label","Go to previous page",1,"large","left","compact",3,"click","keydown.enter","disabled"],["svgIcon","arrow-left",1,"large"],["mat-icon-button","","focusBack","","color","primary","mat-tooltip","Go to next page","aria-label","Go to next page",1,"large","right","compact",3,"click","keydown.enter","disabled"],["svgIcon","arrow-right",1,"large"]],template:function(a,b){a&1&&(I(0,"div",0),D(1,yxb,1,1,"b-actions-menu",1)(2,zxb,6,3,"span",2),I(3,"button",3),M("click",function(){return b.prevPage()})("keydown.enter",
function(c){b.prevPage();return c.stopPropagation()}),K(4,"mat-icon",4),J(),I(5,"button",5),M("click",function(){return b.nextPage()})("keydown.enter",function(c){b.nextPage();return c.stopPropagation()}),K(6,"mat-icon",6),J()());a&2&&(C(),G(b.searchResults&&b.searchResults.issues.length>0&&!b.resultsPerPageFixed?1:-1),C(),G(b.searchResults&&b.searchResults.issues.length>0?2:-1),C(),F("disabled",!(b.searchResults==null?0:b.searchResults.hasPreviousPage())),C(2),F("disabled",!(b.searchResults==null?
0:b.searchResults.hasNextPage())))},dependencies:[$D,vD,Xy,UU,wU],encapsulation:2});var o3=function(){};o3.\u0275fac=function(a){return new (a||o3)};o3.\u0275mod=u({type:o3});o3.\u0275inj=p({imports:[RE,JH,tV,OZ]});var p3=function(){P2.apply(this,arguments);this.hotlists=r(m3);this.hotlistApi=r(hF);this.appEvents=r(nE);this.ROUTES=tq;this.resource=null};Y(p3,P2);p3.\u0275dir=P2.\u0275dir;g=p3.prototype;g.ngOnInit=function(){P2.prototype.ngOnInit.call(this)};g.setSort=function(a,b){var c=this.getSort();a==="position"||c&&c.field==="position"?P2.prototype.setSort.call(this,a,b,!1):P2.prototype.setSort.call(this,a,b)};
g.loadResource=function(){var a=this,b=this.hotlistApi.get(this.hotlistId);b.then(function(c){a.resource=c;a.cdr.detectChanges()}).catch(function(c){a.errorHandler.errorHandler(null,c);a.resource=null});return b};
g.saveResource=function(){var a=this;if(this.resource)return this.hotlistApi.updateMetadata(this.hotlistId,this.resource).then(function(b){a.resource=b;a.appEvents.hotlistChanged.next({hotlistId:b.hotlistId,origin:"hotlist-panel"});du(a.butterBar,'Saved changes to hotlist "'+b.name+'".');a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"savedParams");a.cdr.detectChanges();return b}).catch(function(b){a.errorHandler.errorHandler(null,b);return Promise.reject(b)});this.butterBar.showWarning("Hotlist is not set at this time.");
return Promise.resolve()};g.getGridPreferencesDefaults=function(){return Object.assign({},P2.prototype.getGridPreferencesDefaults.call(this),{query:"hotlistId:"+this.hotlistId})};g.getMetaColumns=function(a){a=a.params.sortColumns||[];return a.length==0||a.length==1&&a[0].fieldId.type=="POSITION"?n2c:o2c};g.getSearchParams=function(a){a=P2.prototype.getSearchParams.call(this,a);a.hotlistId=this.hotlistId;return a};
g.repositionIssue=function(a,b){var c=this;this.searchResults&&this.hotlists.repositionIssue(this.hotlistId,this.searchResults.issues,a,b,"hotlist-panel",function(){c.searchResults&&(c.searchResults=c.searchResults.clone())}).then(function(d){c.resource=d;c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"issueDragDrop")})};p3.\u0275fac=function(){var a;return function(b){return(a||(a=de(p3)))(b||p3)}}();
p3.\u0275cmp=t({type:p3,selectors:[["b-hotlist-panel"]],inputs:{hotlistId:"hotlistId"},features:[Yg([sG]),cg],decls:9,vars:8,consts:[[1,"bv2-panel","bv2-view-hotlist-grid"],[1,"bv2-view-hotlist-title"],[1,"bv2-view-hotlist-title-text"],[1,"bv2-view-hotlist-save-form"],[3,"pageChange","searchResults","resultsPerPageFixed"],[1,"bv2-panel-controls",3,"panelId"],["tabindex","0"],[3,"href"],[3,"matTooltip"],["matTooltip","Display preferences have changed"],["mat-flat-button","","type","button","color",
"primary","matTooltip","Save changes to display preferences",1,"medium",3,"click"],["mat-stroked-button","","type","button","color","primary","matTooltip","Discard changes to display preferences",1,"medium",3,"click"],[1,"bv2-view-loading"],["tabindex","0",1,"bv2-view-loading"],[1,"bv2-grid-container"],[3,"large"],[3,"init","focusedRowIndexChange","columnsChange","sortChange","onRowDragDrop","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving","sort"]],
template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,"div",2),D(3,Axb,2,0,"div")(4,Bxb,2,0,"div")(5,Exb,8,5,"div"),J(),D(6,Fxb,5,0,"div",3),I(7,"b-pagination",4),M("pageChange",function(c){return b.goToPage(c.page)}),J()(),D(8,Lxb,4,3,"div"),J());a&2&&(eg("aria-busy",b.isLoading),C(3),G(b.resource||b.isLoading?-1:3),C(),G(!b.resource&&b.isLoading?4:-1),C(),G(b.resource?5:-1),C(),G(b.hasParamChanges()?6:-1),C(),F("searchResults",b.searchResults)("resultsPerPageFixed",!0),C(),G(b.resource?8:-1))},
dependencies:[s2,vD,Vy,FH,HH,n3,Q2,JO],encapsulation:2});var o2c=[u2,v2,w2,L1c],n2c=[u2,K1c,v2,w2,L1c],q3=function(){};q3.\u0275fac=function(a){return new (a||q3)};q3.\u0275mod=u({type:q3});q3.\u0275inj=p({imports:[RE,l3,JH,LH,o3,R2,LO]});var r3=function(){P2.apply(this,arguments);this.savedSearchApi=r(pF);this.resource=null};Y(r3,P2);r3.\u0275dir=P2.\u0275dir;r3.prototype.ngOnInit=function(){P2.prototype.ngOnInit.call(this)};r3.prototype.loadResource=function(){var a=this,b=this.savedSearchApi.get(this.savedSearchId);b.then(function(c){a.resource=c;a.cdr.detectChanges()}).catch(function(c){a.errorHandler.errorHandler(null,c);a.resource=null});return b};r3.prototype.saveResource=function(){return Promise.resolve()};
r3.\u0275fac=function(){var a;return function(b){return(a||(a=de(r3)))(b||r3)}}();
r3.\u0275cmp=t({type:r3,selectors:[["b-saved-search-panel"]],inputs:{savedSearchId:"savedSearchId"},features:[Yg([sG]),cg],decls:8,vars:7,consts:[[1,"bv2-panel","bv2-view-savedsearch-grid"],[1,"bv2-view-savedsearch-title"],[1,"bv2-view-savedsearch-title-text"],["tabindex","0"],[3,"pageChange","searchResults","resultsPerPageFixed"],[1,"bv2-panel-controls",3,"panelId"],[3,"href"],[3,"matTooltip"],["matTooltip","Display preferences or search query have changed"],[1,"bv2-view-loading"],["tabindex","0",
"role","region",1,"bv2-view-loading"],[1,"bv2-grid-container"],[3,"large"],[3,"init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving","sort"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,"div",2),D(3,Mxb,2,0,"div")(4,Nxb,2,0,"div")(5,Qxb,8,5,"div",3),J(),I(6,"b-pagination",4),M("pageChange",function(c){return b.goToPage(c.page)}),J()(),D(7,Vxb,4,3,"div"),J());a&2&&(eg("aria-busy",b.isLoading),
C(3),G(b.resource||b.isLoading?-1:3),C(),G(!b.resource&&b.isLoading?4:-1),C(),G(b.resource?5:-1),C(),F("searchResults",b.searchResults)("resultsPerPageFixed",!0),C(),G(b.resource?7:-1))},dependencies:[s2,FH,HH,n3,Q2,JO],encapsulation:2});var s3=function(){};s3.\u0275fac=function(a){return new (a||s3)};s3.\u0275mod=u({type:s3});s3.\u0275inj=p({imports:[RE,l3,LH,o3,R2,LO]});var t3=function(){this.label="Team"};t3.prototype.ngOnInit=function(){};t3.\u0275fac=function(a){return new (a||t3)};
t3.\u0275cmp=t({type:t3,selectors:[["b-team-breadcrumb"]],inputs:{teamPath:"teamPath",label:"label"},decls:4,vars:1,consts:[["role","navigation",1,"breadcrumb"],[1,"breadcrumb-items"],[1,"breadcrumb-item"],[1,"keep-focus-ring",3,"routerLink","preserveFragment"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"span",1),tg(2,Wxb,3,4,"span",2,sg),J()());a&2&&(eg("aria-label",b.label),C(2),ug(b.teamPath))},dependencies:[JE],encapsulation:2});var u3=function(){};u3.\u0275fac=function(a){return new (a||u3)};u3.\u0275mod=u({type:u3});u3.\u0275inj=p({imports:[RE,BN]});var p2c=["form"],q2c=["numberInput"],r2c=/^\d+\.?\d*$/,s2c={DAYS:0,YEARS:1,0:"DAYS",1:"YEARS"},v3=function(){this.disabled=!1;this.ariaLabel="";this.durationDaysChange=new rG;this.displayUnits=0;this.TimeUnit=s2c};
v3.prototype.ngOnInit=function(){var a=this;this.durationDays&&(this.displayUnits=this.durationDays%365===0?1:0,this.displayNumber=this.displayUnits===1?this.durationDays/365:this.durationDays);this.formSubscription=this.form.valueChanges.subscribe(function(){var b=a.form.form.getRawValue();a.displayNumber=b.numbers;a.displayUnits=b.unit;a.onValueChange()})};v3.prototype.ngAfterViewInit=function(){};
v3.prototype.onValueChange=function(){if(this.displayNumber!==void 0){switch(this.displayUnits){case 1:var a=this.displayNumber*365;break;default:a=this.displayNumber}a=Math.ceil(a)}else a=void 0;a!==this.durationDays&&(this.durationDays=a,this.durationDaysChange.emit(this.durationDays))};v3.prototype.ngOnDestroy=function(){this.formSubscription&&this.formSubscription.unsubscribe()};v3.\u0275fac=function(a){return new (a||v3)};
v3.\u0275cmp=t({type:v3,selectors:[["b-duration-picker"]],viewQuery:function(a,b){a&1&&(Mg(p2c,7),Mg(q2c,7));if(a&2){var c;Qg(c=Rg())&&(b.form=c.first);Qg(c=Rg())&&(b.numberInput=c.first)}},inputs:{durationDays:"durationDays",disabled:"disabled",ariaLabel:"ariaLabel"},outputs:{durationDaysChange:"durationDaysChange"},decls:14,vars:7,consts:[["form","ngForm"],["numberInput",""],[1,"duration-picker-form"],"color primary appearance outline subscriptSizing dynamic".split(" "),["matInput","","type","number",
"step","1","min","0","name","numbers",3,"keydown","paste","ngModel","disabled"],["name","unit",3,"ngModel","disabled"],["color","accent",3,"value"]],template:function(a,b){if(a&1){var c=x();I(0,"form",null,0)(2,"div",2)(3,"mat-form-field",3)(4,"mat-label");Q(5," Custom Duration ");J();I(6,"input",4,1);M("keydown",function(d){z(c);switch(d.key){case "-":case "e":case "E":d.preventDefault()}return A()})("paste",function(d){z(c);var e=d.clipboardData.getData("Text");r2c.test(e)||d.preventDefault();return A()});
J()();I(8,"mat-form-field",3)(9,"mat-select",5)(10,"mat-option",6);Q(11,"days");J();I(12,"mat-option",6);Q(13,"year(s)");J()()()()()}a&2&&(C(6),F("ngModel",b.displayNumber)("disabled",b.disabled),eg("aria-label",b.ariaLabel),C(3),F("ngModel",b.displayUnits)("disabled",b.disabled),C(),F("value",b.TimeUnit.DAYS),C(2),F("value",b.TimeUnit.YEARS))},dependencies:[Cz,ki,Dz,tz,uz,Lz,Bz,zz,ON,hA,$z,Uz,MN,eQ,mQ,My],styles:["[_nghost-%COMP%]     .duration-picker-form{display:flex;flex-direction:row;width:250px}[_nghost-%COMP%]     .duration-picker-form .mat-mdc-form-field{height:fit-content;min-width:150px;padding-right:10px;--mat-form-field-container-height: 24px}[_nghost-%COMP%]     .duration-picker-form .mat-mdc-form-field .mat-mdc-input-element{width:100%}[_nghost-%COMP%]     .duration-picker-form .mat-mdc-form-field .mat-mdc-floating-label mat-label{font-size:.813rem}[_nghost-%COMP%]     .duration-picker-form .mat-mdc-form-field .mat-mdc-form-field-infix{min-height:initial;padding:2px}[_nghost-%COMP%]     .duration-picker-form .gmat-mdc-select{--mat-select-trigger-text-size: .813rem}"],
changeDetection:0});var w3=function(){};w3.\u0275fac=function(a){return new (a||w3)};w3.\u0275mod=u({type:w3});w3.\u0275inj=p({imports:[RE,Qz,PN,NN,mR,X1]});var x3=function(){this.dialogRef=r(dL);this.data=r(jL);this.documentationLinks=r(cL)};x3.prototype.getDisablingFieldsHelpLink=function(){return this.documentationLinks.getDisablingFieldsHelpLink()};x3.prototype.onNoClick=function(){this.dialogRef.close(!1)};x3.\u0275fac=function(a){return new (a||x3)};
x3.\u0275cmp=t({type:x3,selectors:[["b-field-state-change-confirmation-dialog"]],decls:22,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-stroked-button","",1,"medium",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium","dialog-primary-action",3,"mat-dialog-close"],[1,"notice"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1),J(),I(2,"div",1)(3,"p"),Q(4," The "),I(5,"strong"),Q(6),J(),Q(7," field will change state from "),
I(8,"strong"),Q(9),J(),Q(10," to "),I(11,"strong"),Q(12),J(),Q(13,". "),J(),D(14,Xxb,6,2,"p"),I(15,"p"),Q(16,"Are you sure?"),J()(),I(17,"div",2)(18,"button",3),M("click",function(){return b.onNoClick()}),Q(19," Cancel "),J(),I(20,"button",4),Q(21," Confirm "),J()());a&2&&(C(),R("Field State Change for ",b.data.fieldName,""),C(5),Tg(b.data.fieldName),C(3),Tg(b.data.oldFieldState),C(3),Tg(b.data.newFieldState),C(2),G(b.data.noteText?14:-1),C(6),F("mat-dialog-close",!0))},dependencies:[vD,Vy,lL,nL,
pL,oL],styles:[".notice[_ngcontent-%COMP%]{font-weight:bold}"]});var t2c=["fieldStateMenuButton"],u2c=function(a){return{"mat-stroked-button":a}},y3=function(){this.dialog=r(kL);this.fieldName="";this.fieldState="INHERIT";this.confirmationDialog=this.enabledOnParent=!0;this.disabled=!1;this.fieldStateChange=new rG;this.FieldState=h7b;this.defaultLabel="Default";this.menuLabel="Error";this.msgs={visibleName:"Visible",hiddenName:"Hidden",visibleDescription:"the field will always be in the main field section",hiddenDescription:"the field will always be in the hidden field section",
inheritDescription:"allow the parent component to determine whether the field is visible or hidden",becomesHiddenWarning:"Hiding this field will not result in any loss of data, but the field value will no longer be visible by  default for issues in this component and its subcomponents.",becomesInheritedWarning:"If a parent component hides this field in the future, the field will no longer be visible by default for issues in this component and its subcomponents."}};y3.prototype.ngOnInit=function(){this.updateMenuButton()};
y3.prototype.ngOnChanges=function(){this.updateMenuButton()};
var w2c=function(a,b){b!==a.fieldState&&(a.confirmationDialog?v2c(a,b):(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b)))},v2c=function(a,b){var c=b==="DISABLED"||b==="INHERIT"&&!a.enabledOnParent,d=a.fieldState!=="INHERIT"&&b==="INHERIT",e=void 0;a.fieldState!=="DISABLED"&&(a.fieldState!=="INHERIT"||a.enabledOnParent)&&c?e=a.msgs.becomesHiddenWarning:d&&(e=a.msgs.becomesInheritedWarning);eL(a.dialog.open(x3,{width:"500px",data:{fieldName:a.fieldName,oldFieldState:x2c(a,a.fieldState),
newFieldState:x2c(a,b),noteText:e}})).pipe(Cf()).subscribe(function(f){f?(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b),a.disabled=!0):a.focus()})};y3.prototype.updateMenuButton=function(){this.defaultLabel="Default ("+(this.enabledOnParent?this.msgs.visibleName:this.msgs.hiddenName)+")";this.menuLabel=x2c(this,this.fieldState)};
var x2c=function(a,b){switch(b){case "INHERIT":return a.defaultLabel;case "DISABLED":return a.msgs.hiddenName;case "ENABLED":return a.msgs.visibleName;default:xb(b,"Unknown FieldState.")}};y3.prototype.focus=function(){this.disabled=!1;this.fieldStateMenuButton.nativeElement.focus()};y3.\u0275fac=function(a){return new (a||y3)};
y3.\u0275cmp=t({type:y3,selectors:[["b-field-state-menu"]],viewQuery:function(a,b){a&1&&Mg(t2c,5,ge);if(a&2){var c;Qg(c=Rg())&&(b.fieldStateMenuButton=c.first)}},inputs:{fieldName:"fieldName",fieldState:"fieldState",enabledOnParent:"enabledOnParent",confirmationDialog:"confirmationDialog",disabled:"disabled"},outputs:{fieldStateChange:"fieldStateChange"},features:[Hd],decls:33,vars:18,consts:[["fieldStateMenuButton",""],["fieldStateMenu","matMenu"],["mat-button","",1,"field-state-menu-button","medium",
3,"ngClass","disabled","matMenuTriggerFor"],[1,"field-state-menu-button-inner"],[1,"field-state-menu-label",3,"innerHTML"],["name","arrow-dropdown","size","small",1,"field-state-dropdown-icon"],[1,"field-state-menu"],[1,"menu-row-container","default-container"],["mat-menu-item","",1,"default-button","field-state-option",3,"click"],["name","done","size","small",1,"item-checkmark","b-menu-item-check-mark"],[1,"item-title","gmat-subhead-2"],[1,"item-description","gmat-caption"],["mat-menu-item","",1,
"field-state-option",3,"click"],[1,"menu-row-container"],[1,"state-info"]],template:function(a,b){if(a&1){var c=x();I(0,"div")(1,"button",2,0)(3,"div",3);K(4,"span",4)(5,"b-icon",5);J()()();I(6,"mat-menu",null,1)(8,"div",6)(9,"div",7)(10,"button",8);M("click",function(){z(c);return A(w2c(b,b.FieldState.INHERIT))});K(11,"b-icon",9);I(12,"div",10);Q(13);J();I(14,"div",11);Q(15);J()()();K(16,"mat-divider");I(17,"button",12);M("click",function(){z(c);return A(w2c(b,b.FieldState.DISABLED))});I(18,"div",
13)(19,"div",14);K(20,"b-icon",9);I(21,"div",10);Q(22);J();I(23,"div",11);Q(24);J()()()();I(25,"button",12);M("click",function(){z(c);return A(w2c(b,b.FieldState.ENABLED))});I(26,"div",13)(27,"div",14);K(28,"b-icon",9);I(29,"div",10);Q(30);J();I(31,"div",11);Q(32);J()()()()()()}a&2&&(a=L(7),C(),F("ngClass",bh(16,u2c,!b.disabled))("disabled",b.disabled)("matMenuTriggerFor",a),C(3),F("innerHTML",b.menuLabel,nf),C(6),ng("b-menu-item-checked",b.fieldState===b.FieldState.INHERIT),C(3),R(" ",b.defaultLabel,
" "),C(2),R(" ",b.msgs.inheritDescription," "),C(2),ng("b-menu-item-checked",b.fieldState===b.FieldState.DISABLED),C(5),R(" ",b.msgs.hiddenName," "),C(2),R(" ",b.msgs.hiddenDescription," "),C(),ng("b-menu-item-checked",b.fieldState===b.FieldState.ENABLED),C(5),R(" ",b.msgs.visibleName," "),C(2),R(" ",b.msgs.visibleDescription," "))},dependencies:[Ew,vD,Vy,DM,vI,yI,wI,zI,yM],styles:[".field-state-menu[_ngcontent-%COMP%]{max-width:210px}.field-state-menu[_ngcontent-%COMP%]   button.mat-mdc-menu-item[_ngcontent-%COMP%]{height:auto;padding:5px 0px 5px 24px;white-space:normal}.field-state-menu[_ngcontent-%COMP%]   button.mat-mdc-menu-item[_ngcontent-%COMP%]   .item-description[_ngcontent-%COMP%]{white-space:normal}.field-state-menu[_ngcontent-%COMP%]   button.mat-mdc-menu-item[_ngcontent-%COMP%]   .item-checkmark[_ngcontent-%COMP%]{height:18px;line-height:0px;width:18px}.field-state-menu[_ngcontent-%COMP%]   button.mat-mdc-menu-item[_ngcontent-%COMP%]   .item-description[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}.field-state-menu[_ngcontent-%COMP%]   button.mat-mdc-menu-item[_ngcontent-%COMP%]   .item-icon[_ngcontent-%COMP%]{display:block;margin:auto;width:18px}.field-state-menu[_ngcontent-%COMP%]   button.mat-mdc-menu-item[_ngcontent-%COMP%]   .item-title[_ngcontent-%COMP%]{line-height:normal}.field-state-menu-button-inner[_ngcontent-%COMP%]{align-items:center;display:inline-flex}.field-state-menu-button[disabled][_ngcontent-%COMP%]{border:none}.field-state-menu-button[disabled][_ngcontent-%COMP%]   .field-state-dropdown-icon[_ngcontent-%COMP%]{display:none}"]});var z3=function(){};z3.\u0275fac=function(a){return new (a||z3)};z3.\u0275mod=u({type:z3});z3.\u0275inj=p({imports:[RE,JH,ML,MM,EI,AM,MH]});var A3=function(){this.dialogRef=r(dL);var a=r(jL);this.issueId=a.issueId;this.issueTitle=a.issueTitle};A3.prototype.close=function(){this.dialogRef.close(!1)};A3.\u0275fac=function(a){return new (a||A3)};
A3.\u0275cmp=t({type:A3,selectors:[["b-unsubscribe-dialog"]],decls:21,vars:4,consts:[["mat-dialog-title",""],[1,"gmat-body-2"],[1,"gmat-body-1"],["target","_blank",3,"href"],["mat-button","",3,"click"],["mat-flat-button","","cdkFocusInitial","",1,"dialog-primary-action",3,"click"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"Unsubscribe From Issue"),J(),I(2,"mat-dialog-content")(3,"div",1),Q(4," Are you sure you would like to unsubscribe from the following issue? "),J(),K(5,"br"),I(6,"div",2)(7,
"a",3)(8,"span"),Q(9),J()(),Q(10," - "),I(11,"span"),Q(12),J()(),K(13,"br"),I(14,"div",1),Q(15," By unsubscribing, you will no longer receive email updates about this issue. "),J()(),I(16,"mat-dialog-actions")(17,"button",4),M("click",function(){return b.close()}),Q(18," Cancel "),J(),I(19,"button",5),M("click",function(){b.dialogRef.close(!0)}),Q(20," Unsubscribe "),J()());a&2&&(C(7),Fg("href","/issues/",b.issueId,"",of),C(2),R("b/",b.issueId,""),C(3),Tg(b.issueTitle))},dependencies:[vD,Vy,nL,pL,
oL],encapsulation:2});var y2c=function(a,b){return{small:a,medium:b}},z2c=function(a){return{black:a}},B3=function(){this.activeSession=r(dv);this.matDialogService=r(kL);this.issueFullFridge=r(yG);this.analytics=r(wG);this.routeParams=r(PL);this.iconOnly=!1;this.subscriptionChange=new rG;this.showNotificationSettings=new rG;this.menuLabel="Default";this.menuIcon="notifications_none_24px";this.isAnonymous=this.activeSession.isAnonymous();this.subscriptionInternal="UNKNOWN_SUBSCRIPTION";this.NotificationSubscription=m7b;
this.bubblePosition=[{originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:5},{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-5}];this.subscriptions=new Map([["UNKNOWN_SUBSCRIPTION",{label:"Default",icon:"notifications_none_24px"}],["SUBSCRIBED_ALL_UPDATES",{label:"All Updates",icon:"notifications-active"}],["SUBSCRIBED_MAJOR_UPDATES",{label:"Major Updates",icon:"notifications-active"}],["SUBSCRIBED_CLOSURE_ONLY",{label:"Closure Only",icon:"notifications-active"}],
["UNSUBSCRIBED",{label:"Muted",icon:"notifications-off"}]])};B3.prototype.ngOnInit=function(){A2c(this)};B3.prototype.ngOnChanges=function(){this.updateMenuButton()};B3.prototype.updateSubscription=function(a){a!==this.subscriptionInternal&&this.subscriptionChange.emit(a)};B3.prototype.updateMenuButton=function(){var a=this.subscriptions.get(this.subscriptionInternal);a&&(this.menuLabel=a.label,this.menuIcon=a.icon)};
var A2c=function(a){var b,c;ve(function(d){if(d.nextAddress==1)return a.routeParams.unsubscribe!=="true"||a.subscription&&a.subscription==="UNSUBSCRIBED"?d.return():xe(d,Je(a.issueFullFridge.watch(a.issueId)),2);if(d.nextAddress!=3){b=d.yieldResult;if(!b)return d.return();a.matDialogService.closeAll();return xe(d,Je(eL(a.matDialogService.open(A3,{width:"400px",data:{issueId:a.issueId,issueTitle:b.snapshot[0].title}}))),3)}if(c=d.yieldResult)a.updateSubscription("UNSUBSCRIBED"),a.analytics.trackEvent("editIssue",
"unsubscribeUsingDialog");Ce(d)})};ea.Object.defineProperties(B3.prototype,{subscription:{configurable:!0,enumerable:!0,set:function(a){a!=null&&(this.subscriptionInternal=a)},get:function(){return this.subscriptionInternal}}});B3.\u0275fac=function(a){return new (a||B3)};
B3.\u0275cmp=t({type:B3,selectors:[["b-notification-menu"]],inputs:{subscription:"subscription",iconOnly:"iconOnly",issueId:"issueId"},outputs:{subscriptionChange:"subscriptionChange",showNotificationSettings:"showNotificationSettings"},features:[Hd],decls:63,vars:31,consts:[["notificationMenu","matMenu"],["allUpdates",""],["all",""],["majorUpdates",""],["major",""],["mat-button","","matTooltip","Notification menu",1,"notification-menu-button",3,"ngClass","matMenuTriggerFor","disabled"],[1,"notification-menu-button-inner"],
["size","small",1,"icon",3,"name","ngClass"],[1,"notification-menu"],[1,"menu-row-container","default-container"],["mat-menu-item","",1,"default-button","notification-option",3,"click"],["name","done","size","small",1,"item-checkmark","b-menu-item-check-mark"],[1,"item-title","gmat-subhead-2"],[1,"item-description","gmat-caption"],[1,"default-divider",3,"vertical"],["mat-menu-item","","aria-label","Settings",1,"default-settings",3,"click"],["name","settings-outline","size","small",1,"item-icon"],
[1,"menu-row-container"],["mat-menu-item","","aria-label","All Updates. Receive emails for major and minor updates.","aria-describedby","all-updates-help",1,"notification-option",3,"click"],[1,"subscription-info"],["mat-menu-item","",1,"subscription-help","help-icon",3,"click","focus","blur"],[3,"panelTemplate","overlayPositions"],["svgIcon","help-outline",1,"subscription-help","item-icon","small"],["mat-menu-item","","aria-label","Major Updates. Receive emails for major updates only.","aria-describedby",
"major-updates-help",1,"notification-option",3,"click"],["mat-menu-item","",1,"notification-option",3,"click"],[1,"notification-menu-label",3,"innerHTML"],["name","arrow-dropdown","size","small",1,"notification-dropdown-icon"],["id","all-updates-help",1,"subscription-help-bubble"],[1,"subscription-help-list"],["id","major-updates-help",1,"subscription-help-bubble"]],template:function(a,b){if(a&1){var c=x();I(0,"div")(1,"button",5)(2,"div",6);K(3,"b-icon",7);D(4,Yxb,2,1);J()()();I(5,"mat-menu",null,
0)(7,"div",8)(8,"div",9)(9,"button",10);M("click",function(){z(c);return A(b.updateSubscription(b.NotificationSubscription.UNKNOWN_SUBSCRIPTION))});K(10,"b-icon",11);I(11,"div",12);Q(12," Default ");J();I(13,"div",13);Q(14," receive emails based on your default settings. ");J()();K(15,"mat-divider",14);I(16,"button",15);M("click",function(f){z(c);return A(b.showNotificationSettings.emit(f))});K(17,"b-icon",16);J()();K(18,"mat-divider");I(19,"div",17)(20,"button",18);M("click",function(){z(c);return A(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES))});
I(21,"div",19);K(22,"b-icon",11);I(23,"div",12);Q(24," All Updates ");J();I(25,"div",13);Q(26," receive emails for major and minor updates. ");J()()();I(27,"button",20);M("click",function(){z(c);return A(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES))})("focus",function(){z(c);var f=L(29);return A(f.toggle(!0))})("blur",function(){z(c);var f=L(29);return A(f.toggle(!1))});I(28,"xap-bubble",21,1);K(30,"mat-icon",22);D(31,Zxb,13,0,"ng-template",null,2,fh);J()()();I(33,"div",
17)(34,"button",23);M("click",function(){z(c);return A(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES))});I(35,"div",19);K(36,"b-icon",11);I(37,"div",12);Q(38," Major Updates ");J();I(39,"div",13);Q(40," receive emails for major updates only. ");J()()();I(41,"button",20);M("click",function(){z(c);return A(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES))})("focus",function(){z(c);var f=L(43);return A(f.toggle(!0))})("blur",function(){z(c);var f=L(43);
return A(f.toggle(!1))});I(42,"xap-bubble",21,3);K(44,"mat-icon",22);D(45,$xb,17,0,"ng-template",null,4,fh);J()()();I(47,"button",24);M("click",function(){z(c);return A(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY))});I(48,"div",17)(49,"div",19);K(50,"b-icon",11);I(51,"div",12);Q(52," Closure Only ");J();I(53,"div",13);Q(54," only receive emails when the issue is closed. ");J()()()();I(55,"button",24);M("click",function(){z(c);return A(b.updateSubscription(b.NotificationSubscription.UNSUBSCRIBED))});
I(56,"div",17)(57,"div",19);K(58,"b-icon",11);I(59,"div",12);Q(60," None ");J();I(61,"div",13);Q(62," unsubscribe from further email updates. ");J()()()()()()}if(a&2){a=L(6);var d=L(32),e=L(46);C();ng("icon-only",b.iconOnly);F("ngClass",ch(26,y2c,b.iconOnly,!b.iconOnly))("matMenuTriggerFor",a)("disabled",b.isAnonymous);eg("aria-label","Notifications Menu, current value is "+b.subscriptions.get(b.subscriptionInternal||"UNKNOWN_SUBSCRIPTION").label);C(2);F("name",b.menuIcon)("ngClass",bh(29,z2c,b.menuIcon===
"notifications-off"));C();G(b.iconOnly?-1:4);C(5);ng("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNKNOWN_SUBSCRIPTION);C(6);F("vertical",!0);C(5);ng("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES);C(7);eg("aria-label","This includes emails about major updates and All title, hotlist, and status changes, Blocking, Blocked By, or Duplicate changes, Changes to Reporter, Verifier, and CCs, changes to Type, Found In, Targeted To, Verified In, In Prod, and Changes to custom fields marked as minor.");
C();F("panelTemplate",d)("overlayPositions",b.bubblePosition);C(6);ng("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES);C(7);eg("aria-label","This includes emails about New comments, New status updates, Priority or Severity changes, Assignee changes, Component changes, Issue closure or reopening, and Changes to custom fields marked as major.");C();F("panelTemplate",e)("overlayPositions",b.bubblePosition);C(5);ng("b-menu-item-checked",b.subscriptionInternal===
b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY);C(8);ng("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNSUBSCRIBED)}},dependencies:[Ew,$D,vD,Vy,DM,vI,yI,wI,zI,yM,bO,FH,HH],styles:[".notification-menu[_ngcontent-%COMP%]{max-width:210px}.notification-menu[_ngcontent-%COMP%]   button.mat-mdc-menu-item[_ngcontent-%COMP%]{height:auto;padding:5px 0px 5px 24px;white-space:normal}.notification-menu[_ngcontent-%COMP%]   button.mat-mdc-menu-item[_ngcontent-%COMP%]   .item-checkmark[_ngcontent-%COMP%]{height:18px;line-height:0px;width:18px}.notification-menu[_ngcontent-%COMP%]   button.mat-mdc-menu-item[_ngcontent-%COMP%]   .item-description[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted);white-space:normal}.notification-menu[_ngcontent-%COMP%]   button.mat-mdc-menu-item[_ngcontent-%COMP%]   .item-icon[_ngcontent-%COMP%]{display:block;margin:auto;width:18px;height:100%}.notification-menu[_ngcontent-%COMP%]   button.mat-mdc-menu-item[_ngcontent-%COMP%]   .item-title[_ngcontent-%COMP%]{line-height:normal}.notification-menu[_ngcontent-%COMP%]   .menu-row-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto 1px 40px}.notification-menu[_ngcontent-%COMP%]   .menu-row-container[_ngcontent-%COMP%]   .default-button[_ngcontent-%COMP%]{grid-column:1}.notification-menu[_ngcontent-%COMP%]   .menu-row-container[_ngcontent-%COMP%]   .default-divider[_ngcontent-%COMP%]{grid-column:2;margin:0px}.notification-menu[_ngcontent-%COMP%]   .menu-row-container[_ngcontent-%COMP%]   .default-settings[_ngcontent-%COMP%]{grid-column:3;padding:0px}.notification-menu[_ngcontent-%COMP%]   .menu-row-container[_ngcontent-%COMP%]   .help-icon[_ngcontent-%COMP%]{align-self:center;grid-column:3;height:100%;padding:0px}.notification-menu[_ngcontent-%COMP%]   .menu-row-container[_ngcontent-%COMP%]   .subscription-help[_ngcontent-%COMP%]{align-self:center;grid-column:3}.notification-menu[_ngcontent-%COMP%]   .menu-row-container[_ngcontent-%COMP%]   .subscription-info[_ngcontent-%COMP%]{grid-column:1}.icon-only[_ngcontent-%COMP%]{padding:0 2px}.icon-only[_ngcontent-%COMP%]   .icon.black[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}  .subscription-help-bubble{max-width:300px}  .subscription-help-bubble ul.subscription-help-list{margin-top:.5em;list-style:disc}  .notification-menu .subscription-help .mat-icon{margin:0px}  .notification-menu .subscription-help .mat-icon:hover{color:#202124;color:var(--text-high-contrast)}"]});var C3=function(){};C3.\u0275fac=function(a){return new (a||C3)};C3.\u0275mod=u({type:C3});C3.\u0275inj=p({imports:[RE,JH,MM,EI,AM,MH,uR,LH]});var D3=function(){this.sloApi=r(eH);this.cdr=r(sG,{self:!0});this.isDisabled=!1;this.dropdownChoices=null;this.onSloSelect=new rG;this.internalBoundId=this.selectedSlo=null;this.lastProcessedIndex=-1;this.requestIndex=0},B2c=function(a,b){if(b){var c=a.requestIndex++;a.sloApi.search(b).then(function(d){c>a.lastProcessedIndex&&(a.lastProcessedIndex=c,a.dropdownChoices=d,a.cdr.detectChanges())})}else a.dropdownChoices=[],a.onSloSelect.emit(null),a.cdr.detectChanges()};
D3.prototype.displayFn=function(a){return(a==null?void 0:a.name)||(a==null?void 0:a.sloId)||""};D3.prototype.updateSelectionOnChange=function(a){if(a=a.option.value)this.boundId=a.sloId;this.onSloSelect.emit(a);this.cdr.detectChanges()};
ea.Object.defineProperties(D3.prototype,{boundId:{configurable:!0,enumerable:!0,get:function(){return this.internalBoundId},set:function(a){var b=this;(this.internalBoundId=a)&&this.internalBoundId!=="0"?this.sloApi.get(this.internalBoundId).then(function(c){b.dropdownChoices=c?[c]:[];b.selectedSlo=c}).catch(function(){b.selectedSlo={sloId:b.internalBoundId}}):(this.dropdownChoices=[],this.selectedSlo=null)}}});D3.\u0275fac=function(a){return new (a||D3)};
D3.\u0275cmp=t({type:D3,selectors:[["slo-picker"]],inputs:{isDisabled:[0,"bv2Disabled","isDisabled"],placeholder:[0,"bv2Placeholder","placeholder"],boundId:"boundId"},outputs:{onSloSelect:"onSloSelect"},features:[Yg([sG])],decls:7,vars:5,consts:[["searchInput",""],["auto","matAutocomplete"],[1,"bv2-slo-picker"],["matInput","","type","text","autocomplete","slo-name",1,"bv2-picker-input","form-control",3,"ngModelChange","click","input","placeholder","ngModel","disabled","matAutocomplete"],["panelWidth",
"574px",3,"optionSelected","displayWith"],[1,"slo-search-result",3,"value"]],template:function(a,b){if(a&1){var c=x();I(0,"div",2)(1,"input",3,0);Xg("ngModelChange",function(d){z(c);Wg(b.selectedSlo,d)||(b.selectedSlo=d);return A(d)});M("click",function(){z(c);var d=L(2);return A(B2c(b,d.value))})("input",function(){z(c);var d=L(2);return A(B2c(b,d.value))});J();I(3,"mat-autocomplete",4,1);M("optionSelected",function(d){z(c);return A(b.updateSelectionOnChange(d))});tg(5,ayb,2,2,"mat-option",5,sg);
J()()}a&2&&(a=L(4),C(),F("placeholder",b.placeholder),Vg("ngModel",b.selectedSlo),F("disabled",b.isDisabled)("matAutocomplete",a),C(2),F("displayWith",b.displayFn),C(2),ug(b.dropdownChoices))},dependencies:[pN,rN,My,sN,ki,tz,Bz],encapsulation:2});var E3=function(){};E3.\u0275fac=function(a){return new (a||E3)};E3.\u0275mod=u({type:E3});E3.\u0275inj=p({imports:[RE,wN,Qz]});var C2c=function(a){return{"empty-list-field-indication":a}},F3=function(){this.documentationLinks=r(cL);this.activeSession=r(dv);this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.issueRetentionDisabled=!1;this.modelChange=new rG;this.validChange=new rG;this.indefiniteRetentionComponentsAllowlist=new Set(this.activeSession.session.config.indefiniteRetentionComponentsAllowlist);this.RetentionSelection=t7b};
F3.prototype.ngOnInit=function(){this.initialModel?this.model=this.initialModel:this.model={retentionSelection:"UNSPECIFIED_RETENTION",retentionPeriodDays:null,piiRetentionSelection:"UNSPECIFIED_RETENTION",piiRetentionPeriodDays:null,spiiRetentionPeriodDays:null};yu(this)};F3.prototype.updateSelectionOnChange=function(a){this.model.retentionSelection=a;this.model.retentionPeriodDays=null;this.modelChange.emit(this.model);yu(this)};
var yu=function(a){var b;if(b=zu(a))b=(b=a.model.piiRetentionSelection)&&b!==a.RetentionSelection.UNSPECIFIED_RETENTION&&(a.model.piiRetentionSelection!==a.RetentionSelection.BUGANIZER_DEFAULT||!D2c(a))&&(a.model.piiRetentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||E2c(a));a.validChange.emit(b)},F2c=function(a){if(!a.isExternal)return!0;var b=a.componentId&&a.indefiniteRetentionComponentsAllowlist.has(a.componentId),c,d,e=((d=(c=a.componentPathInfo)==null?void 0:c.componentPathId)!=null?d:
[]).some(function(f){return a.indefiniteRetentionComponentsAllowlist.has(f)});return b||e},zu=function(a){var b=a.model.retentionSelection;return b&&b!==a.RetentionSelection.UNSPECIFIED_RETENTION&&(a.model.retentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||!!a.model.retentionPeriodDays&&a.model.retentionPeriodDays>=30&&a.model.retentionPeriodDays<=7300)},cyb=function(a){return a?Tk(a):"[unset period]"},E2c=function(a){if(!a.model.piiRetentionPeriodDays||!a.model.spiiRetentionPeriodDays||a.model.piiRetentionPeriodDays<
30||a.model.spiiRetentionPeriodDays<30)return!1;var b=a.model.retentionSelection,c=a.model.retentionPeriodDays,d=a.model.piiRetentionPeriodDays;return a.model.spiiRetentionPeriodDays>d||b===a.RetentionSelection.BUGANIZER_DEFAULT&&d>3650||b===a.RetentionSelection.CUSTOM_PERIOD&&(c==null||d>c)?!1:!0},hyb=function(a){if(!zu(a)||E2c(a))return"";var b=a.model.retentionSelection,c=a.model.piiRetentionPeriodDays,d=a.model.spiiRetentionPeriodDays;if(!c||!d||c<30||d<30)return"must be at least 30 days";if(b===
a.RetentionSelection.BUGANIZER_DEFAULT)var e=3650;else b===a.RetentionSelection.CUSTOM_PERIOD&&(e=a.model.retentionPeriodDays);return e&&c>e?e===30?"must be 30 days":"must be between 30 days and "+cyb(e):"Restricted+ retention must not exceed Restricted retention."},D2c=function(a){return a.model.retentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&(!a.model.retentionPeriodDays||a.model.retentionPeriodDays<60)},kyb=function(a){var b=a.model.piiRetentionSelection,c=a.model.piiRetentionPeriodDays,
d=a.model.retentionSelection,e=a.model.retentionPeriodDays;d=b===a.RetentionSelection.INDEFINITE_RETENTION&&(d===a.RetentionSelection.INDEFINITE_RETENTION||d===a.RetentionSelection.BUGANIZER_DEFAULT||d===a.RetentionSelection.CUSTOM_PERIOD&&!!e&&e>120);return b===a.RetentionSelection.CUSTOM_PERIOD&&!!c&&c>120||d};F3.\u0275fac=function(a){return new (a||F3)};
F3.\u0275cmp=t({type:F3,selectors:[["b-retention-settings-form"]],inputs:{initialModel:"initialModel",isExternal:"isExternal",issueRetentionDisabled:"issueRetentionDisabled",componentId:"componentId",componentPathInfo:"componentPathInfo"},outputs:{modelChange:"modelChange",validChange:"validChange"},decls:31,vars:33,consts:[["aria-label","Retention settings form",1,"issue-retention-form",3,"ngModelChange","ngClass","disabled","name","ngModel"],[3,"value"],["aria-label","Custom retention period, must be between 30 days and 20 years",
3,"value"],[1,"duration-error"],[1,"custom-duration"],["id","custom-retention-warning-box",1,"warning-box"],[3,"disabled","value"],["id","indefinite-retention-warning-box",1,"warning-box"],["aria-label","PII Retention settings form",1,"pii-retention-form",3,"ngModelChange","ngClass","disabled","name","ngModel"],["target","_blank","aria-label","Learn more about restricted access",1,"keep-underline","keep-focus-ring",3,"rel"],[3,"aria-label","disabled","value"],["id","indefinite-pii-retention-warning-box",
1,"warning-box"],["ariaLabel","Custom duration",3,"durationDaysChange","disabled","durationDays"],[1,"duration-description"],[1,"b-restricted-retention-duration-label"],["ariaLabel","Restricted retention duration",3,"durationDaysChange","disabled","durationDays"],[1,"warning-box"],["ariaLabel","Restricted+ retention duration",3,"durationDaysChange","disabled","durationDays"],["id","custom-pii-retention-warning-box",1,"warning-box"]],template:function(a,b){a&1&&(I(0,"mat-radio-group",0),M("ngModelChange",
function(c){return b.updateSelectionOnChange(c)}),I(1,"p")(2,"b"),Q(3,"Issue Retention"),J()(),I(4,"mat-radio-button",1),Q(5," Buganizer default retention period (for minimal or no PII/SPII): 10 years "),J(),I(6,"mat-radio-button",2),Q(7," Custom retention period "),D(8,byb,2,0,"span",3)(9,dyb,4,3,"div",4)(10,eyb,13,0,"div",5),J(),I(11,"mat-radio-button",6),Q(12),D(13,fyb,13,0,"div",7),J()(),I(14,"mat-radio-group",8),M("ngModelChange",function(c){b.model.piiRetentionSelection=c;b.model.piiRetentionPeriodDays=
null;b.model.spiiRetentionPeriodDays=null;b.modelChange.emit(b.model);yu(b)}),I(15,"p"),K(16,"br"),I(17,"b"),Q(18,"Restricted Comments/Attachments Retention "),J(),I(19,"a",9),Q(20,"Learn more "),J()(),I(21,"mat-radio-button",1),Q(22," Buganizer default retention period : 60 days "),D(23,gyb,2,0,"span",3),J(),I(24,"mat-radio-button",10),Q(25," Custom retention period "),D(26,iyb,2,1,"span",3)(27,lyb,16,7,"div",4),J(),I(28,"mat-radio-button",6),Q(29," Match Issue Retention "),D(30,myb,3,0,"div",11),
J()());a&2&&(F("ngClass",bh(29,C2c,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name","retentionForm")("ngModel",b.model.retentionSelection),C(4),F("value",b.RetentionSelection.BUGANIZER_DEFAULT),C(2),F("value",b.RetentionSelection.CUSTOM_PERIOD),C(2),G(b.model.retentionSelection!==b.RetentionSelection.CUSTOM_PERIOD||b.model.retentionPeriodDays&&b.model.retentionPeriodDays>=30&&b.model.retentionPeriodDays<=7300?-1:8),C(),G(b.model.retentionSelection===
b.RetentionSelection.CUSTOM_PERIOD?9:-1),C(),G(b.model.retentionPeriodDays&&b.model.retentionPeriodDays>3650?10:-1),C(),F("disabled",!F2c(b))("value",b.RetentionSelection.INDEFINITE_RETENTION),C(),R(" Indefinite retention period ",F2c(b)?"":"(Internal components only)"," "),C(),G(b.model.retentionSelection===b.RetentionSelection.INDEFINITE_RETENTION?13:-1),C(),F("ngClass",bh(31,C2c,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name",
"piiRetentionForm")("ngModel",b.model.piiRetentionSelection),C(5),F("rel",b.EXTERNAL_LINK_REL),eg("href",b.documentationLinks.getRestrictedAccessHelpLink(),of),C(2),F("value",b.RetentionSelection.BUGANIZER_DEFAULT),C(2),G(b.model.piiRetentionSelection===b.RetentionSelection.BUGANIZER_DEFAULT&&D2c(b)?23:-1),C(),F("aria-label","Custom Retention Period,"+hyb(b))("disabled",!zu(b))("value",b.RetentionSelection.CUSTOM_PERIOD),C(2),G(b.model.piiRetentionSelection!==b.RetentionSelection.CUSTOM_PERIOD||E2c(b)?
-1:26),C(),G(b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD?27:-1),C(),F("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),C(2),G(b.model.piiRetentionSelection===b.RetentionSelection.INDEFINITE_RETENTION&&kyb(b)?30:-1))},dependencies:[Ew,tz,Bz,uO,vO,v3],styles:[".mat-mdc-radio-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;max-width:588px}.duration-error[_ngcontent-%COMP%]{color:#c5221f;color:var(--text-bad);font-weight:bold}.warning-box[_ngcontent-%COMP%]{white-space:normal}.b-restricted-retention-duration-label[_ngcontent-%COMP%]{display:inline-block;width:12em}b-duration-picker[_ngcontent-%COMP%]{display:inline-block}[_nghost-%COMP%]     .mat-mdc-radio-button .mat-internal-form-field{--mdc-radio-state-layer-size: 2.2em;align-items:flex-start}"],
changeDetection:0});var G3=function(){};G3.\u0275fac=function(a){return new (a||G3)};G3.\u0275mod=u({type:G3});G3.\u0275inj=p({imports:[RE,Qz,bP,w3]});var G2c=function(){this.type="component";this.includeChildren=!1},H2c=function(){this.type="tracker"},I2c=function(){this.type="team";this.includeChildren=!1},J2c=function(){this.type="hotlist"},K2c=function(){this.type="savedsearch"},L2c=function(){this.type="customfield"};var M2c=function(a,b){this.query=a;this.cursorIdx=b;this.label=null;this.value={val:"",idx:0};this.value.idx=b},N2c="componentid c hotlistid h savedsearchid teamid trackerid".split(" "),O2c=N2c.concat("accesslevel archived assignee attachment blockedbyid blockingid canonicalid cc cccount collaborator collaboratorcount cl comment commentcount commenter created customfield descendantcount deleted deletionreason deletiontime duplicatecount effortlabel foundin inprod is lastcommenter lastmodifier mention modified modifier mute onedayviewcount opendescendantcount p parentid postmortem priority reporter resolved s sevendayviewcount severity staffingplaceholder staffingplaceholdercount staffinguser staffingusercount star status t targetedto thirtydayviewcount title type verified verifiedin verifier vote votecount nearestslo".split(" ")),
P2c="cl deleted deletionreason deletiontime nearestslo postmortem teamid".split(" "),Q2c="(?:\\s|^)(-?)(customfield\\d+|"+O2c.join("|")+")(:|>|<|>=|<=|=)";var H3=function(){Z.call(this);var a=this;this.appSearchState=r(KY);this.trackerFridge=r(vH);this.trackerHelpers=r(yL);this.customFieldsApi=r(wF);this.hotlistApi=r(hF);this.savedSearchApi=r(pF);this.componentActions=r(gO);this.teamsService=r(lH);this.activeSession=r(dv);this.currentUserBookmarksFridge=r(rF);this.query="";this.requestIndex=0;this.atomsWithoutOp=Object.freeze(new Set(["customfield"]));this.producers=[{match:function(e){return R2c(a,e)}},{updateHeader:function(e){return S2c(a,e)}},{updateHeader:function(e){return T2c(a,
e)}},{updateHeader:function(e){return U2c(a,e)}},{updateHeader:function(e){return V2c(a,e)}},{updateHeader:function(e){return W2c(a,e)}},{updateHeader:function(e){return X2c(a,e)}}];this.currentSearchContext=null;this.items=[];this.acHeader=null;this.acRefreshed$=new Jf;this.refreshRequest$=new Jf;this.refreshRequest$.pipe(Af(250),Of(this.destroyed$)).subscribe(function(e){Y2c(a,e.currentRequestIndex,e.currentSearchContext)});this.sessionIsInternal=this.activeSession.isInternalSession();var b=new Set(O2c);
this.sessionIsInternal||b.delete("mention");if(!this.sessionIsInternal)for(var c=k(P2c),d=c.next();!d.done;d=c.next())b.delete(d.value);this.isTrackerSearchEnabled()||b.delete("trackerid");lu(this.activeSession,"enablePlannedAllocationsUi")||(b.delete("staffingplaceholder"),b.delete("staffingplaceholdercount"),b.delete("staffinguser"),b.delete("staffingusercount"));this.atoms=Object.freeze(b)};Y(H3,Z);H3.\u0275dir=Z.\u0275dir;H3.prototype.isTrackerSearchEnabled=function(){return!vq(this.activeSession)};
var Y2c=function(a,b,c){for(var d=!1,e=!1,f=[],h=k(a.producers),l=h.next();!l.done;l=h.next())l=l.value,l.match&&f.push(l.match(c).then(function(q){d||(d=!0,a.items=[]);b<a.requestIndex||a.items.push.apply(a.items,w(q))}).catch(function(q){return q})),l.updateHeader&&f.push(l.updateHeader(c).then(function(q){e||(e=!0,a.acHeader=null);b<a.requestIndex||(a.acHeader=q)}).catch(function(q){return q}));Promise.all(f).finally(function(){d||(a.items=[]);e||(a.acHeader=null);a.acRefreshed$.next()})},R2c=
function(a,b){if(!b.value.val){var c=b.value.idx;if(c<b.query.length&&b.query.charAt(c).search("\\s")===-1)return Promise.reject(null)}var d,e;if(((d=b.value)==null?0:d.val.startsWith("cf"))||((e=b.value)==null?0:e.val.startsWith("customfield")))return Z2c(a,b);if(b.label){if(b.label.customFieldId)return $2c(a,b);switch(b.label.val){case "archived":return Promise.resolve(Cu(a3c,b.value,!0));case "componentid":case "c":return b3c(a,b);case "deleted":return c3c(b);case "deletionreason":return Promise.resolve(Cu(d3c,
b.value,!0));case "hotlistid":case "h":return e3c(a,b);case "savedsearchid":return f3c(a,b);case "status":case "is":return Promise.resolve(Cu(g3c,b.value,!0));case "trackerid":return h3c(a,b);case "teamid":return i3c(a,b);case "type":case "t":return a.matchType(b);case "priority":case "p":return Promise.resolve(Cu(j3c,b.value,!0));case "severity":case "s":return Promise.resolve(Cu(k3c,b.value,!0));case "inprod":case "star":case "mute":return c3c(b);case "accesslevel":return Promise.resolve(Cu(l3c,
b.value,!0));case "staffingplaceholder":return Promise.resolve(Cu(m3c,b.value,!0));default:return Promise.reject(null)}}if(!b.value.val)return Promise.reject(null);c=[];d=pyb(b.value.val);e=k(a.atoms);for(var f=e.next();!f.done;f=e.next())if(f=f.value,d.token!==f&&f.startsWith(d.token)){var h=b.value.idx+(d.negated?1:0);h={type:"atom",startIdx:h,endIdx:h+b.value.val.length,completionValue:f+(a.atomsWithoutOp.has(f)?"":":"),enableShadowPlaceholder:!0};c.push({trackId:"atom:"+f,name:f,completionCfg:h})}c.sort(function(l,
q){return Gu(l.name,q.name)});return Promise.resolve(c)},Z2c=function(a,b){var c=b.value.val.replace(/^(cf|customfield)/,""),d=nWc(a.appSearchState);if(!c&&!d)return Promise.reject(null);var e=mrc(a.trackerHelpers)||[];return a.customFieldsApi.query({query:d?"componentid:"+d+" "+c:c,trackerIds:e}).then(function(f){return n3c(a,b,f)})},n3c=function(a,b,c){var d=c.customFields.map(function(h){return h.componentId}).filter(kj);d.length>0&&a.componentActions.bulkLoad(d);d=[];c=k(c.customFields);for(var e=
c.next(),f={};!e.done;f={customField$jscomp$21:void 0},e=c.next())f.customField$jscomp$21=e.value,e=a.getComponentPathNames(f.customField$jscomp$21).then(function(h){return function(l){var q=h.customField$jscomp$21,v=b.value.val,y=q.customFieldId,E=b.value.idx;return{id:y,componentPathNames:l,name:q.name,trackId:"customField:"+y,completionCfg:{type:"customField",startIdx:E,endIdx:E+v.length,completionValue:"customfield"+y+":",matchingString:v}}}}(f)),d.push(e);return Promise.all(d)};
H3.prototype.getComponentPathNames=function(a){if(a.componentId){var b=a.componentId;return this.componentActions.get(b).then(function(c){var d;return((d=c.componentPathInfo)==null?void 0:d.componentPathName)||[]}).catch(function(){return[b]})}return Promise.resolve([])};
var $2c=function(a,b){return b.label&&b.label.customFieldId?a.customFieldsApi.get(b.label.customFieldId).then(function(c){if(c.type!=="ENUM"&&c.type!=="REPEATED_ENUM"||!c.allowedValue)return[];var d=c.allowedValue.map(function(e){return{trackId:"customfieldvalue:"+e,id:e,label:"Custom field "+c.name,name:e,completionCfg:{type:"customfieldvalue",completionValue:'"'+e+'"'}}});return Cu(d,b.value,!1,!1)}):Promise.reject(null)};
H3.prototype.matchType=function(a){return Promise.resolve(Cu(o3c,a.value,!0))};
var c3c=function(a){if(!a.label)return Promise.reject(null);var b=a.label.val;return Promise.resolve(Cu([{trackId:"booleanAtom:"+b+":true",label:b,name:"true",completionCfg:{enableShadowPlaceholder:!0,completionValue:"true",type:b}},{trackId:"booleanAtom:"+b+":false",label:b,name:"false",completionCfg:{enableShadowPlaceholder:!0,completionValue:"false",type:b}}],a.value,!0))},b3c=function(a,b){var c=b.value.val;return!c||Bu(c,!0)?Promise.reject(null):a.componentActions.search(c,!1).then(function(d){return a.processResponse(b,
d)})};
H3.prototype.processResponse=function(a,b){var c=a.value.val,d=[];b=k(b);for(var e=b.next(),f={};!e.done;f={paths$jscomp$21:void 0,startIdx$jscomp$4:void 0,endIdx$jscomp$4:void 0},e=b.next()){e=e.value;var h=e.componentId;f.startIdx$jscomp$4=a.value.idx;f.endIdx$jscomp$4=f.startIdx$jscomp$4+c.length;f.paths$jscomp$21=Nu(this.trackerHelpers,e.componentPathInfo);f={id:h,name:e.name,description:e.description,trackId:"component:"+h,accessLimit:e.accessLimit,trackerId:e.trackerId,completionCfg:{type:"component",startIdx:f.startIdx$jscomp$4,
endIdx:f.endIdx$jscomp$4,completionValue:""+h,matchingString:c},componentPath:f.paths$jscomp$21.componentPathId.map(function(l){return function(q,v){return{trackId:"subcomponent:"+q,id:""+q,name:String(l.paths$jscomp$21.componentPathName[v]),completionCfg:{type:"component",completionValue:String(q),startIdx:l.startIdx$jscomp$4,endIdx:l.endIdx$jscomp$4}}}}(f))};d.push(f)}return d};
var i3c=function(a,b){var c=b.value.val;if(!a.sessionIsInternal||!c||Bu(c,!0))return Promise.reject(null);var d=Ak();nH(a.teamsService,c).pipe(Of(a.destroyed$)).subscribe(function(e){var f=b.value.idx,h=f+c.length,l=[];e=k(e);for(var q=e.next(),v={};!q.done;v={pathNames$jscomp$3:void 0},q=e.next())q=q.value,v.pathNames$jscomp$3=q.pathNames,v={trackId:"team:"+q.teamId,name:q.name,id:q.teamId,label:"Team "+q.teamId,pathIds:q.pathIds,pathNames:q.pathNames,description:q.description,completionCfg:{type:"team",
startIdx:f,endIdx:h,completionValue:String(q.teamId),matchingString:c},teamPath:q.pathIds.map(function(y){return function(E,H){return{trackId:"team:"+E,id:E,name:y.pathNames$jscomp$3[H],completionCfg:{type:"team",completionValue:String(E),startIdx:f,endIdx:h}}}}(v))},l.push(v);d.resolve(l)},function(){d.reject()});return d.promise},S2c=function(a,b){if(!b.label||b.label.val!=="componentid"&&b.label.val!=="c")return Promise.reject(null);var c=new G2c;b=b.value.val;return Bu(b,!0)?(rv(b,"+")&&(b=b.slice(0,
b.length-1),c.includeChildren=!0),a.componentActions.get(Number(b)).then(function(d){var e;vq(a.activeSession)&&d.trackerId!==((e=a.activeSession.getTracker())==null?void 0:e.trackerId)||(c.component=d);return c})):Promise.resolve(c)},V2c=function(a,b){if(!a.isTrackerSearchEnabled()||!b.label||b.label.val!=="trackerid")return Promise.reject(null);var c=new H2c,d=Ak();b=b.value.val;Bu(b)?a.trackerFridge.watch(b).pipe(Of(a.destroyed$)).subscribe(function(e){c.tracker=e;d.resolve(c)}):b&&d.resolve(c);
return d.promise},X2c=function(a,b){if(!a.sessionIsInternal||!b.label||b.label.val!=="teamid")return Promise.reject(null);var c=new I2c,d=Ak(),e=b.value.val;Bu(e,!0)?(rv(e,"+")&&(e=e.slice(0,e.length-1),c.includeChildren=!0),nH(a.teamsService,e).pipe(Of(a.destroyed$)).subscribe(function(f){f.length>0?(f=f[0],c.team={pathNames:f.pathNames,name:f.name,description:f.description}):c.team={pathNames:[e],name:e,description:""};d.resolve(c)},function(){c.team={pathNames:[e],name:e,description:""};d.resolve(c)})):
d.resolve(c);return d.promise},T2c=function(a,b){if(!b.label||b.label.val!=="hotlistid"&&b.label.val!=="h")return Promise.reject(null);var c=new J2c;b=b.value.val;return Bu(b)?a.hotlistApi.get(b).then(function(d){c.hotlist=d;return c}):b?Promise.reject(null):Promise.resolve(c)},U2c=function(a,b){if(!b.label||b.label.val!=="savedsearchid")return Promise.reject(null);var c=new K2c;b=b.value.val;return Bu(b)?a.savedSearchApi.get(b).then(function(d){c.savedSearch=d;return c}):b?Promise.reject(null):Promise.resolve(c)},
W2c=function(a,b){if(b.label&&b.label.customFieldId)var c=b.label.customFieldId;else if(b.value.val.startsWith("customfield"))(b=b.value.val.match("^customfield(\\d+)"))&&(c=b[1]),vo("search-usage","customfield");else return Promise.reject(null);var d=new L2c;return c?a.customFieldsApi.get(c).then(function(e){d.customField=e;return d}):Promise.resolve(d)},h3c=function(a,b){var c=b.value.val;if(!a.isTrackerSearchEnabled()||!c||Bu(c,!0))return Promise.reject(null);var d=Ak();a.trackerFridge.watchMany({filter:c,
pageSize:5}).pipe(Of(a.destroyed$)).subscribe(function(e){var f=b.value.idx,h=f+c.length,l=[];e=k(e.results);for(var q=e.next();!q.done;q=e.next())q=q.value,l.push({trackId:"trackerid:"+q.trackerId,name:q.name,id:q.trackerId,label:"Tracker "+q.trackerId,completionCfg:{type:"tracker",startIdx:f,endIdx:h,completionValue:q.trackerId,matchingString:c}});d.resolve(l)});return d.promise},e3c=function(a,b){return Bu(b.value.val)?Promise.reject(null):Je(sF(a.currentUserBookmarksFridge)).then(function(c){c=
c.map(function(d){var e=d.hotlistId;return{id:e,name:d.name,trackId:"hotlist:"+e,completionCfg:{type:"hotlist",completionValue:""+e}}});return Cu(c,b.value,!1,!0)})},f3c=function(a,b){return Bu(b.value.val)?Promise.reject(null):Je(Bcc(a.currentUserBookmarksFridge)).then(function(c){c=c.map(function(d){var e=d.searchId;return{id:e,name:d.name,query:d.query,trackId:"savedsearch:"+e,completionCfg:{type:"savedsearch",completionValue:""+e}}});return Cu(c,b.value,!1,!0)})};
H3.\u0275fac=function(a){return new (a||H3)};H3.\u0275prov=n({token:H3,factory:H3.\u0275fac,providedIn:"root"});
var g3c="accepted assigned closed duplicate fixed infeasible intended_behavior new not_reproducible obsolete open verified".split(" ").map(function(a){return Du({name:a,label:"Status",type:"status"})}),o3c="bug customer_issue feature_request internal_cleanup process vulnerability privacy_issue program project feature milestone epic story task".split(" ").map(function(a){return Du({name:a,label:"Type",type:"type",trackIdPrefix:"bugType"})}),j3c=["p0","p1","p2","p3","p4"].map(function(a){return Du({name:a,
label:"Priority",type:"priority"})}),k3c=["s0","s1","s2","s3","s4"].map(function(a){return Du({name:a,label:"Severity",type:"severity"})}),a3c=["all","true","false"].map(function(a){return Du({name:a,label:"Archived",type:"archived"})}),d3c=["abuse","pii","user_request","retention"].map(function(a){return Du({name:a,label:"Deletion Reason",type:"deletionreason",trackIdPrefix:"deletionReason"})}),l3c=[["limit_none","Default access"],["limit_view","Limited visibility"],["limit_append","Limited commenting"],
["limit_view_trusted","Limited visibility + Google"]].map(function(a){var b=k(a);a=b.next().value;b=b.next().value;return Du({name:b,label:"Issue access level",type:"accesslevel",id:a})}),m3c=[["swe",Ok.SWE],["sre",Ok.SRE],["pm",Ok.PM],["tpgm",Ok.TPGM],["ux",Ok.UX]].map(function(a){var b=k(a);a=b.next().value;b=b.next().value;return Du({name:b,label:"Staffing - Placeholder",type:"staffingplaceholder",id:a})});var I3=function(){this.cdr=r(sG,{self:!0});this.optionsChange=new rG};I3.prototype.ngOnInit=function(){qyb(this)};
var qyb=function(a){var b=null,c;for(c in a.options.propertyValues){var d=a.options.propertyValues[c].value;if(b===null)b=d;else if(b!=d){a.selectAllValue=null;return}}a.selectAllValue=b},ryb=function(a){a.validator&&(a.errorString=a.validator(),a.cdr.detectChanges())},p3c=function(a,b){if(b=b===void 0?null:b)b.preventDefault(),b.stopPropagation();a.selectAllValue=a.selectAllValue===null?!0:!a.selectAllValue;a.options.setAll(a.selectAllValue);a.optionsChange.emit(a.options);ryb(a)},q3c=function(a){var b=
[],c=!0,d;for(d in a.options.propertyValues){var e=a.options.propertyValues[d];e.value?b.push(e.displayString):c=!1}return c?a.selectAllText:b.join(", ")};I3.\u0275fac=function(a){return new (a||I3)};
I3.\u0275cmp=t({type:I3,selectors:[["slo-element-property-picker"]],inputs:{selectAllText:"selectAllText",validator:"validator",options:"options"},outputs:{optionsChange:"optionsChange"},features:[Yg([sG])],decls:17,vars:11,consts:[["menu","matMenu"],["mat-stroked-button","",1,"bv2-appbar-menu",3,"matMenuTriggerFor"],[1,"flex-kids-x","flex-cross-axis-centered"],[1,"bv2-property-picker-summary-text"],["svgIcon","arrow-dropdown"],["mat-menu-item","","role","menuitemcheckbox",1,"bv2-property-picker-selectall",
"bv2-property-picker-option-row",3,"click"],[3,"change","checked","indeterminate"],["mat-menu-item","","role","menuitemcheckbox",1,"bv2-property-picker-options"],[1,"bv2-property-picker-error-message"],["title","option",1,"bv2-property-picker-option-row",3,"click"],[3,"change","click","checked"]],template:function(a,b){if(a&1){var c=x();I(0,"div")(1,"button",1)(2,"div",2)(3,"span",3);Q(4);Q(5," \u00a0 ");J();K(6,"mat-icon",4);J()();I(7,"mat-menu",null,0)(9,"div",5);M("click",function(d){z(c);return A(p3c(b,
d))});I(10,"mat-checkbox",6);M("change",function(d){z(c);b.selectAllValue=d.checked;return A(p3c(b))});Q(11);J()();K(12,"mat-divider");tg(13,syb,4,3,"div",7,sg);S(15,"keyvalue");J();D(16,tyb,2,1,"div",8);J()}a&2&&(a=L(8),C(),ng("ng-invalid",!!b.errorString),F("matMenuTriggerFor",a),C(3),R(" ",q3c(b)," "),C(5),eg("aria-checked",b.selectAllValue),C(),F("checked",!!b.selectAllValue)("indeterminate",b.selectAllValue===null),C(),R(" ",b.selectAllText," "),C(2),ug(U(15,9,b.options.propertyValues)),C(3),
G(b.errorString?16:-1))},dependencies:[$D,qN,uN,vI,yI,wI,zI,DM,vD,Vy,Nw],styles:["[_nghost-%COMP%]   .gmat-mdc-button[_ngcontent-%COMP%] {padding: 0 10px;}\n[_nghost-%COMP%]   .bv2-property-picker-summary-text[_ngcontent-%COMP%] {text-align: left;}"]});
var r3c=function(a,b){this.displayString=a;this.value=b},s3c=function(a){this.propertyValues=a},t3c=function(a){for(var b=k(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(a.propertyValues[c.value].value)return!0;return!1},Wyb=function(a){for(var b=k(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(!a.propertyValues[c.value].value)return!1;return!0};s3c.prototype.setAll=function(a){for(var b in this.propertyValues)this.propertyValues[b].value=a};var J3=function(){};J3.\u0275fac=function(a){return new (a||J3)};J3.\u0275mod=u({type:J3});J3.\u0275inj=p({imports:[RE,yN,EI,MM,JH]});var u3c=function(a,b){this.name=a;this.secondsPerUnit=b},Eu=new u3c("minute",60),Fu=new u3c("hour",3600),Byb=new u3c("day",86400),K3=function(){this.errorString=null;this.objectiveDurationChange=new rG;this.objectiveBusinessDaysChange=new rG;this.intervalUnit=Byb};K3.prototype.ngOnInit=function(){v3c(this)};K3.prototype.ngOnChanges=function(a){[a.objectiveBusinessDays,a.objectiveDuration,a.dayType].some(function(b){return b&&!b.firstChange})&&v3c(this)};
var wyb=function(a,b){b=b.name;Ei(a.intervalString)!==1&&(b+="s");return b},Ayb=function(a){return a.dayType==="BUSINESS"},v3c=function(a){!Ayb(a)&&w3c(a,Byb)||w3c(a,Fu)||w3c(a,Eu);if(a.objectiveBusinessDays!=0||a.businessDayString!="")a.businessDayString=""+a.objectiveBusinessDays},w3c=function(a,b){var c=a.objectiveDuration.seconds;return c%b.secondsPerUnit==0?(c/=b.secondsPerUnit,c!=0||a.intervalString!=""?(a.intervalString=""+c,a.intervalUnit=b):(Ayb(a)?[Eu,Fu]:[Eu,Fu,Byb]).includes(a.intervalUnit)||
(a.intervalUnit=b),!0):!1},uyb=function(a){a.errorString=a.validator(a.intervalString,a.businessDayString);yyb(a);zyb(a)},yyb=function(a){a.objectiveDuration.seconds=a.intervalUnit.secondsPerUnit*(Ei(a.intervalString)||0);a.objectiveDurationChange.emit(a.objectiveDuration)},zyb=function(a){a.objectiveBusinessDays=Ei(a.businessDayString)||0;a.objectiveBusinessDaysChange.emit(a.objectiveBusinessDays)};K3.\u0275fac=function(a){return new (a||K3)};
K3.\u0275cmp=t({type:K3,selectors:[["slo-objective-selector"]],inputs:{isDisabled:"isDisabled",validator:"validator",dayType:"dayType",objectiveDuration:"objectiveDuration",objectiveBusinessDays:"objectiveBusinessDays"},outputs:{objectiveDurationChange:"objectiveDurationChange",objectiveBusinessDaysChange:"objectiveBusinessDaysChange"},features:[Hd],decls:2,vars:2,consts:[[1,"enabled","bv2-slo-objective"],[1,"disabled"],[1,"bv2-slo-objective-interval"],["type","text",3,"ngModelChange","ngModel"],
[1,"bv2-slo-objective-unit",3,"ngModelChange","selectionChange","ngModel"],[3,"value"],[1,"bv2-slo-objective-unit"],[1,"bv2-slo-objective-biz-day-text"]],template:function(a,b){a&1&&D(0,Cyb,7,5,"span",0)(1,Gyb,3,2,"span",1);a&2&&(G(b.isDisabled?-1:0),C(),G(b.isDisabled?1:-1))},dependencies:[ki,tz,Bz,eQ,mQ,My],styles:['[_nghost-%COMP%]{width:200px;line-height:29px}.bv2-slo-objective[_ngcontent-%COMP%]{display:flex}.bv2-slo-objective-interval[_ngcontent-%COMP%]{display:flex}.bv2-slo-objective-unit[_ngcontent-%COMP%]{padding-right:4px;padding-left:4px}[_nghost-%COMP%]     .mat-mdc-select-value{font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500;color:#1a73e8;color:var(--link);min-width:60px}input.ng-invalid.ng-dirty[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-high-contrast);border-width:2px}/*# sourceMappingURL=slo_objective_selector.css.map */']});var L3=function(){this.typeStringToEnum=new Map([["BUG","BUG"],["FEATURE_REQUEST","FEATURE_REQUEST"],["CUSTOMER_ISSUE","CUSTOMER_ISSUE"],["INTERNAL_CLEANUP","INTERNAL_CLEANUP"],["PROCESS","PROCESS"],["VULNERABILITY","VULNERABILITY"],["PRIVACY_ISSUE","PRIVACY_ISSUE"],["PROGRAM","PROGRAM"],["PROJECT","PROJECT"],["FEATURE","FEATURE"],["MILESTONE","MILESTONE"],["EPIC","EPIC"],["STORY","STORY"],["TASK","TASK"]]);this.enumTypeToString=new Map([["BUG","BUG"],["FEATURE_REQUEST","FEATURE_REQUEST"],["CUSTOMER_ISSUE",
"CUSTOMER_ISSUE"],["INTERNAL_CLEANUP","INTERNAL_CLEANUP"],["PROCESS","PROCESS"],["VULNERABILITY","VULNERABILITY"],["PRIVACY_ISSUE","PRIVACY_ISSUE"],["PROGRAM","PROGRAM"],["PROJECT","PROJECT"],["FEATURE","FEATURE"],["MILESTONE","MILESTONE"],["EPIC","EPIC"],["STORY","STORY"],["TASK","TASK"]]);this.priorityStringToEnum=new Map([["P0","P0"],["P1","P1"],["P2","P2"],["P3","P3"],["P4","P4"]]);this.enumPriorityToString=new Map([["P0","P0"],["P1","P1"],["P2","P2"],["P3","P3"],["P4","P4"]]);this.postmortemValuesToCanonical=
new Map([["TRUE","ANY"],["FALSE","NONE"],["ANY","ANY"],["NONE","NONE"]]);this.canonicalGroupQueryKeywordToQueryValue=new Map([["ANY","any"],["NONE","none"]])},A3c=function(a,b){var c=new x3c,d=y3c(b,"type",function(f){var h=f.toUpperCase(),l=new z3c;a.typeStringToEnum.has(h)?l.value=h:l.error='The string "'+f+'" is not a valid type';return l});if(d.error)return c.error=d.error,c;d=k(d.values);for(var e=d.next();!e.done;e=d.next())c.types.push(a.typeStringToEnum.get(e.value));d=y3c(b,"priority",function(f){var h=
f.toUpperCase(),l=new z3c;a.priorityStringToEnum.has(h)?l.value=h:l.error='The string "'+f+'" is not a valid priority';return l});if(d.error)return c.error=d.error,c;d=k(d.values);for(e=d.next();!e.done;e=d.next())c.priorities.push(a.priorityStringToEnum.get(e.value));b=y3c(b,"postmortem",function(f){var h=f.toUpperCase(),l=new z3c;a.postmortemValuesToCanonical.has(h)?l.value=h:l.error='The string "'+f+'" is not a valid postmortem value';return l});if(b.error)c.error=b.error;else for(b=k(b.values),
d=b.next();!d.done;d=b.next())c.postmortemValues.push(a.postmortemValuesToCanonical.get(d.value));return c},y3c=function(a,b,c){var d=new B3c;if(a=(new RegExp(b+":(\\S+)")).exec(a))for(a=a[1],a.startsWith("(")&&a.endsWith(")")&&(a=a.substring(1,a.length-1)),a=a.split("|"),b=0;b<a.length;b++){var e=c(a[b]);if(e.error){d.error=e.error;break}d.values.push(e.value)}return d};L3.\u0275fac=function(a){return new (a||L3)};L3.\u0275prov=n({token:L3,factory:L3.\u0275fac,providedIn:"root"});
var x3c=function(){this.types=[];this.priorities=[];this.postmortemValues=[];this.error=""},B3c=function(){this.values=[];this.error=""},z3c=function(){this.error=this.value=""};var M3=function(){};M3.prototype.validate=function(a){for(var b={},c=k(Object.entries(this.validators)),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;e(a.value)||(b[d]=!0)}return Object.keys(b).length?b:null};M3.\u0275fac=function(a){return new (a||M3)};M3.\u0275dir=ud({type:M3,selectors:[["","customValidators",""]],inputs:{validators:[0,"customValidators","validators"]},features:[Yg([{provide:nz,useExisting:M3,multi:!0}])]});var N3=function(){this.constants=r(uL);this.sloParseService=r(L3);this.confirmationDialogService=r(rL);this.collection=[];this.boundCollection=[];this.onCollectionUpdate=new rG;this.onValidation=new rG;this.metricChoices=["METRIC_UNSPECIFIED"].concat(Hfc);this.dayTypes=["CALENDAR","BUSINESS"];Hfc.map(function(a,b){return[a,b]});this.selectedMetric="METRIC_UNSPECIFIED";this.selectedDayType="CALENDAR";this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.anyNoneDisplayValues=new Map([["ANY",
"Has postmortem"],["NONE","No postmortem"]]);this.postmortemAllSummaryValue="Either";this.canPerformActionsInternal=!1;this.openRow=null;this.selectedMetric=this.metricChoices[0];this.selectedDayType="CALENDAR";this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.canPerformActions=!0};N3.prototype.updateValidity=function(){this.canPerformActions=!this.openRow};
var rzb=function(a,b,c){Xyb(a);a=k(a.collection);for(var d=a.next();!d.done;d=a.next())d.value.canEdit=!1;b.startEditing();c&&c.stopPropagation()},uzb=function(a,b,c){c=xzb(a,b,c);var d=c.newOffset;c.valid&&(Xyb(a),Sa(a.collection,b),Sa(a.boundCollection,b.sloElement),a.collection.splice(d,0,b),a.boundCollection.splice(d,0,b.sloElement),C3c(a))},xzb=function(a,b,c){b=a.collection.indexOf(b)+c;return{valid:b>=0&&b<a.collection.length,newOffset:b}},Xyb=function(a){a=k(a.collection);for(var b=a.next();!b.done;b=
a.next())b=b.value,b.stopEditing(),b.canEdit=!0},D3c=function(a,b){var c=b.map(function(d){return new O3(d,a)});a.openRow=null;a.collection=c;a.boundCollection=b;a.updateValidity()},Pyb=function(a){return a==="METRIC_UNSPECIFIED"?" - ":Ifc.get(a)},czb=function(a,b){return b!=="TYPE_UNSPECIFIED"&&a.constants.issueTypesDisplayNames.has(b)?a.constants.issueTypesDisplayNames.get(b):" - "},hzb=function(a,b){return b!=="PRIORITY_UNSPECIFIED"&&a.constants.issuePrioritiesDisplayNames.has(b)?a.constants.issuePrioritiesDisplayNames.get(b):
" - "},Yyb=function(a,b){Xyb(a);Sa(a.collection,b);Sa(a.boundCollection,b.sloElement);C3c(a)},Jyb=function(a,b){a.confirmationDialogService.open({title:"Are you sure you'd like to clear all the rules?",content:ti("This won't take effect until you save the changes, but any local changes will be lost."),onConfirm:function(){a.collection=[];a.boundCollection=[];C3c(a)},onDismiss:function(){}});b.stopPropagation()},Hyb=function(a,b){var c=new O3({metric:"METRIC_UNSPECIFIED",matcher:"",dayType:"DAY_TYPE_UNSPECIFIED",
objective:{seconds:0,nanos:0},businessDays:0},a,!0);rzb(a,c);a.collection.splice(b,0,c);a.boundCollection.splice(b,0,c.sloElement);C3c(a)};N3.prototype.onDrop=function(a){uzb(this,this.collection[a.previousIndex],a.currentIndex-a.previousIndex)};var C3c=function(a){a.onCollectionUpdate.emit(a.boundCollection)};
ea.Object.defineProperties(N3.prototype,{collectionInput:{configurable:!0,enumerable:!0,set:function(a){D3c(this,a)}},canPerformActions:{configurable:!0,enumerable:!0,set:function(a){this.canPerformActionsInternal=a;this.onValidation.emit(a)},get:function(){return this.canPerformActionsInternal}},isDisabled:{configurable:!0,enumerable:!0,set:function(a){this.isDisabledInternal=a;if(this.collection)for(var b=k(this.collection),c=b.next();!c.done;c=b.next())c=c.value,c.canEdit=!a||this.openRow===c},
get:function(){return this.isDisabledInternal}}});N3.\u0275fac=function(a){return new (a||N3)};
N3.\u0275cmp=t({type:N3,selectors:[["slo-elements-picker"]],inputs:{collectionInput:[0,"collection","collectionInput"],isDisabled:"isDisabled"},outputs:{onCollectionUpdate:"onCollectionUpdate",onValidation:"onValidation"},decls:29,vars:5,consts:[["settingsMenu","matMenu"],[1,"bv2-slo-elements-picker"],[1,"bv2-slo-elements-table-label","edit-field-header"],["href","http://g3doc/company/teams/buganizer/user-guide/guides/define-slo#creating-a-new-slo-rule"],["matTooltip","These ordered rules determine the objectives for each type of issue for this SLO",
1,"bv2-slo-elements-table-help-icon",3,"name","size"],[1,"bv2-slo-elements-actionbar"],["cellspacing","0",1,"bv2-slo-elements-table"],[1,"header-row"],[1,"bv2-slo-elements-table-order-header"],[1,"bv2-slo-elements-table-type-header"],[1,"bv2-slo-elements-table-priority-header"],[1,"bv2-slo-elements-table-postmortem-header"],[1,"bv2-slo-elements-table-metric-header"],[1,"bv2-slo-elements-table-objective-header"],[1,"bv2-slo-elements-table-daytype-header"],[1,"bv2-slo-elements-table-actions-header"],
["cdkDropList","",3,"cdkDropListData","cdkDropListDisabled"],[1,"bv2-slo-elements-table-empty-list-description"],[1,"slo-picker-actions"],[1,"slo-picker-icon-action-icon-container"],["matTooltip","Add a new rule",1,"hoverable",3,"name","size"],["matTooltip","Clear all rules",1,"hoverable",3,"click","name","size"],["matTooltip","Add a new rule",1,"hoverable",3,"click","name","size"],["cdkDropList","",3,"cdkDropListDropped","cdkDropListData","cdkDropListDisabled"],["cdkDrag","",1,"bv2-slo-element-row",
3,"draggable"],["cdkDrag","",1,"bv2-slo-element-row"],[1,"bv2-slo-element-row-counter","editable-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-type-column","bv2-editable-slo-element","editable-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-priority-column","bv2-editable-slo-element","editable-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-postmortem-column","bv2-editable-slo-element","editable-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-metric","bv2-editable-slo-element",
"editable-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-objective","bv2-editable-slo-element","editable-row"],[1,"bv2-slo-element-picker-column","bv2-slo-element-daytype","bv2-editable-slo-element","editable-row"],[1,"bv2-slo-element-action","editable-row"],[1,"bv2-slo-element-row-counter","display-row"],[1,"bv2-slo-element-type-column","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-priority-column","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-postmortem-column",
"bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-metric","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-objective","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-daytype","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-action","display-row"],[1,"bv2-type-property-picker",3,"optionsChange","selectAllText","validator","options"],[1,"bv2-priority-property-picker",3,"optionsChange","selectAllText","validator","options"],[1,"bv2-postmortem-property-picker",
3,"optionsChange","selectAllText","validator","options"],["appearance","outline","subscriptSizing","dynamic"],["required","true",1,"bv2-enum-field","bv2-slo-elements-picker-metric-selector",3,"ngModelChange","ngModel","customValidators"],[3,"value"],["required","",3,"objectiveDurationChange","objectiveBusinessDaysChange","dayType","objectiveDuration","objectiveBusinessDays","validator","isDisabled"],[1,"bv2-enum-field","bv2-slo-elements-picker-daytype-selector",3,"ngModelChange","selectionChange",
"ngModel"],["matTooltip","Finish editing",1,"bv2-slo-element-action",3,"click","name","size"],["matTooltip","Remove row",1,"bv2-slo-element-action",3,"click","name","size"],[1,"bv2-property-display-chips"],[1,"bv2-property-display-chip-container"],[1,"matcher-chip-content"],["required","",3,"objectiveDurationChange","objectiveBusinessDaysChange","dayType","objectiveDuration","objectiveBusinessDays","isDisabled"],["matTooltip","Edit this rule",1,"hoverable","bv2-slo-element-action-edit",3,"name","size"],
["matTooltip","More options",1,"hoverable","bv2-slo-element-action-more-settings",3,"name","size","matMenuTriggerFor"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-down"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-up"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-add-row-below",3,"click"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-add-row-above",3,"click"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-remove",
3,"click"],["matTooltip","Edit this rule",1,"hoverable","bv2-slo-element-action-edit",3,"click","name","size"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-down",3,"click"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-up",3,"click"]],template:function(a,b){a&1&&(I(0,"div",1)(1,"div")(2,"div")(3,"label",2),Q(4,"Rules"),J(),I(5,"a",3),K(6,"b-icon",4),J(),D(7,Kyb,6,3,"span",5),J(),I(8,"table",6)(9,"thead")(10,"tr",7)(11,"th",8),Q(12,"Order"),J(),I(13,"th",9),Q(14,
"Type"),J(),I(15,"th",10),Q(16,"Priority"),J(),I(17,"th",11),Q(18,"Postmortem"),J(),I(19,"th",12),Q(20,"Metric"),J(),I(21,"th",13),Q(22,"Objective"),J(),I(23,"th",14),Q(24," Day Type "),J(),K(25,"th",15),J()(),D(26,Azb,3,2,"tbody",16),J(),I(27,"div"),D(28,Bzb,2,0,"div",17),J()()());a&2&&(C(6),F("name","help-outline")("size","small"),C(),G(b.isDisabled?-1:7),C(19),G(b.collection&&b.collection.length!=0?26:-1),C(2),G(b.collection&&b.collection.length!=0?-1:28))},dependencies:[M3,YN,XN,tz,Mz,Bz,yM,MN,
$z,vI,yI,wI,zI,eQ,mQ,My,FH,HH,I3,K3],styles:['.bv2-slo-elements-picker[_ngcontent-%COMP%]{display:block}.bv2-slo-elements-picker[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]{width:1270px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{cursor:pointer}.bv2-slo-elements-picker[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:inherit}.bv2-slo-elements-picker[_ngcontent-%COMP%]     .bv2-slo-elements-picker-metric-selector .mat-mdc-select-value-text, .cdk-drag-preview[_ngcontent-%COMP%]     .bv2-slo-elements-picker-metric-selector .mat-mdc-select-value-text{padding-left:4px;text-align:left;width:8em}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-slo-elements-table-empty-list-description[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-slo-elements-table-empty-list-description[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);color:#5f6368;color:var(--muted);line-height:32px;text-align:center}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]{cursor:default;display:inline-block;font-size:.8125rem;padding-top:2px;vertical-align:top}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]   span.bv2-property-display-chip-container[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]   span.bv2-property-display-chip-container[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--c100);border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:3px;display:inline-block;height:20px;margin-right:4px;white-space:nowrap}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]   span.bv2-property-display-chip-container[_ngcontent-%COMP%]   .matcher-chip-content[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-property-display-chips[_ngcontent-%COMP%]   span.bv2-property-display-chip-container[_ngcontent-%COMP%]   .matcher-chip-content[_ngcontent-%COMP%]{display:inline-block;line-height:16px;margin:2px 5px;max-width:550px;overflow:hidden;text-overflow:ellipsis}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .ng-dirty.ng-invalid[_ngcontent-%COMP%] > .jfk-select[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .ng-dirty.ng-invalid[_ngcontent-%COMP%] > .jfk-select[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-high-contrast);border-width:2px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-slo-elements-table-label[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-slo-elements-table-label[_ngcontent-%COMP%]{font-weight:bold;padding-left:8px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-slo-elements-table-help-icon[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-slo-elements-table-help-icon[_ngcontent-%COMP%]{display:inline-block;padding-bottom:4px;padding-left:4px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .slo-picker-actions[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .slo-picker-actions[_ngcontent-%COMP%]{float:right}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .slo-picker-actions[_ngcontent-%COMP%]   .slo-picker-icon-action-icon-container[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .slo-picker-actions[_ngcontent-%COMP%]   .slo-picker-icon-action-icon-container[_ngcontent-%COMP%]{display:inline-block;padding-right:8px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .bv2-slo-elements-actionbar[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .bv2-slo-elements-actionbar[_ngcontent-%COMP%]{float:right}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);counter-reset:rulenumber;width:100%}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]{counter-increment:rulenumber}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{border-bottom:0;border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider)}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]:last-child, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]:last-child{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]:last-child.drag-over-after, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]:last-child.drag-over-after{border-bottom-color:#1a73e8;border-bottom-color:var(--primary)}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-action[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-action[_ngcontent-%COMP%]{padding-left:8px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-action.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-action.editable-row[_ngcontent-%COMP%]{padding-top:10px;vertical-align:top}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]::after, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]::after{content:counter(rulenumber) ""}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row.draggable[_ngcontent-%COMP%]:hover > td.bv2-slo-element-row-counter[_ngcontent-%COMP%]::before, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row.draggable[_ngcontent-%COMP%]:hover > td.bv2-slo-element-row-counter[_ngcontent-%COMP%]::before{background:url("https://www.gstatic.com/buganizer/img/v0/grippy_large.png") no-repeat 3px 50%;content:"";cursor:grab;float:left;height:14px;width:5px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]{line-height:14px;padding-left:initial;padding-right:initial;text-align:right;width:28px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter.editable-row[_ngcontent-%COMP%]{padding-top:12px;vertical-align:top}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]{text-align:left;padding-left:16px;padding-right:16px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-summary-text, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-summary-text{width:190px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-option-row, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-option-row{width:212px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-summary-text, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-summary-text{width:102px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-option-row, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-option-row{width:124px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-summary-text, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-summary-text{width:88px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-option-row, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-option-row{width:110px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:100%}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column.editable-row[_ngcontent-%COMP%]{padding-top:6px;vertical-align:top}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]{text-align:left;padding-left:16px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{width:135px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field[_ngcontent-%COMP%]{padding-bottom:0px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .goog-flat-menu-button[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .goog-flat-menu-button[_ngcontent-%COMP%]{background-color:initial;background-image:initial}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector{float:left}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector input, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector input{margin:auto;padding-right:4px;text-align:right;width:3em}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector .goog-flat-menu-button, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector .goog-flat-menu-button{background-color:initial;background-image:initial}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-objective.editable-row[_ngcontent-%COMP%]{padding-top:6px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype{text-align:left;padding-left:16px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype mat-form-field, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype mat-form-field{width:111px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field{padding-bottom:0px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .goog-flat-menu-button, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .goog-flat-menu-button{background-color:initial;background-image:initial}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-daytype.editable-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]   td.bv2-slo-element-daytype.editable-row[_ngcontent-%COMP%]{padding-top:6px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-mdc-form-field, .bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-mdc-form-field, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-mdc-form-field, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-mdc-form-field{padding-right:10px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-mdc-form-field-infix, .bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-mdc-form-field-infix, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-mdc-form-field-infix, .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.bv2-slo-element-row[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-mdc-form-field-infix{min-height:initial;padding-top:6px;padding-bottom:6px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--surface-secondary)}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   .header-row[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   .header-row[_ngcontent-%COMP%]{border:0px;height:28px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-order-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-order-header[_ngcontent-%COMP%]{padding-left:16px;text-align:right;width:28px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-type-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-type-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:212px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-postmortem-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-postmortem-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:96px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-priority-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-priority-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:96px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-metric-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-metric-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:96px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-objective-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-objective-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:200px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-daytype-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-daytype-header[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;text-align:left;width:96px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-actions-header[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.bv2-slo-elements-table-actions-header[_ngcontent-%COMP%]{padding-left:16px;text-align:left;width:60px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .custom-menu-button[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .custom-menu-button[_ngcontent-%COMP%]{height:18px}.bv2-slo-elements-picker[_ngcontent-%COMP%]   .custom-menu-button[_ngcontent-%COMP%]   .goog-inline-block[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%]   .custom-menu-button[_ngcontent-%COMP%]   .goog-inline-block[_ngcontent-%COMP%]{background:none;border:none;box-shadow:none;line-height:initial;min-width:initial;padding:0;vertical-align:initial}.cdk-drag-preview[_ngcontent-%COMP%]{counter-increment:rulenumber;background-color:#fff;background-color:var(--surface-default);box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);display:table}.cdk-drag-preview[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{border-bottom:0;border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider)}.cdk-drag-preview[_ngcontent-%COMP%]:last-child{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}.cdk-drag-preview[_ngcontent-%COMP%]:last-child.drag-over-after{border-bottom-color:#1a73e8;border-bottom-color:var(--primary)}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-action[_ngcontent-%COMP%]{padding-left:8px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-action.editable-row[_ngcontent-%COMP%]{padding-top:10px;vertical-align:top}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]::after{content:counter(rulenumber) ""}.cdk-drag-preview.draggable[_ngcontent-%COMP%]:hover > td.bv2-slo-element-row-counter[_ngcontent-%COMP%]::before{background:url("https://www.gstatic.com/buganizer/img/v0/grippy_large.png") no-repeat 3px 50%;content:"";cursor:grab;float:left;height:14px;width:5px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]{line-height:14px;padding-left:initial;padding-right:initial;text-align:right;width:28px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter.editable-row[_ngcontent-%COMP%]{padding-top:12px;vertical-align:top}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]{text-align:left;padding-left:16px;padding-right:16px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-summary-text{width:190px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-type-property-picker .bv2-property-picker-option-row{width:212px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-summary-text{width:102px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-postmortem-property-picker .bv2-property-picker-option-row{width:124px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-summary-text{width:88px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]     .bv2-priority-property-picker .bv2-property-picker-option-row{width:110px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:100%}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-picker-column.editable-row[_ngcontent-%COMP%]{padding-top:6px;vertical-align:top}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]{text-align:left;padding-left:16px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{width:135px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .bv2-enum-field[_ngcontent-%COMP%]{padding-bottom:0px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-metric[_ngcontent-%COMP%]   .goog-flat-menu-button[_ngcontent-%COMP%]{background-color:initial;background-image:initial}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector{float:left}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector input{margin:auto;padding-right:4px;text-align:right;width:3em}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective[_ngcontent-%COMP%]     slo-objective-selector .goog-flat-menu-button{background-color:initial;background-image:initial}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-objective.editable-row[_ngcontent-%COMP%]{padding-top:6px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype{text-align:left;padding-left:16px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype mat-form-field{width:111px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .bv2-enum-field{padding-bottom:0px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .goog-flat-menu-button{background-color:initial;background-image:initial}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-daytype.editable-row[_ngcontent-%COMP%]{padding-top:6px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-mdc-form-field, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-mdc-form-field{padding-right:10px}.cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-metric .mat-mdc-form-field-infix, .cdk-drag-preview[_ngcontent-%COMP%]     td.bv2-slo-element-daytype .mat-mdc-form-field-infix{min-height:initial;padding-top:6px;padding-bottom:6px}.cdk-drag-preview[_ngcontent-%COMP%]   td.bv2-slo-element-row-counter[_ngcontent-%COMP%]::after{content:""}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform 250ms cubic-bezier(0, 0, 0.2, 1)}/*# sourceMappingURL=slo-elements-picker.css.map */']});
var O3=function(a,b,c){var d=this;this.sloElement=a;this.controllerReference=b;this.isNewElement=c===void 0?!1:c;this.metricSelectorValid=this.postmortemPickerValid=this.priorityPickerValid=this.typePickerValid=this.isEditingInternal=!1;this.objectiveValid=!0;this.validatePriorityPicker=function(){var e=t3c(d.priorityPickerValues)?null:"Priority can't be empty";d.priorityPickerValid=e===null;return e};this.validateTypePicker=function(){var e=t3c(d.typePickerValues)?null:"Type can't be empty";d.typePickerValid=
e===null;return e};this.validatePostmortemPicker=function(){var e=t3c(d.postmortemPickerValues)?null:"Postmortem can't be empty";d.postmortemPickerValid=e===null;return e};this.validateObjective=function(e,f){if(d.selectedDayType!=="BUSINESS"){if(!e.match(/^\d+$/)||e==="0")return d.objectiveValid=!1,"Objective must be a positive integer"}else{if(!e.match(/^\d*$/)||!f.match(/^\d*$/))return d.objectiveValid=!1,"Objective must be a positive integer";if(!(e!==""&&e!=="0"||f!==""&&f!=="0"))return d.objectiveValid=
!1,"A business day or time based duration must be specified."}d.objectiveValid=!0;return null};this.matcherText=a.matcher;this.selectedMetric=a.metric;this.selectedDayType=a.dayType||"CALENDAR";this.selectedObjectiveDuration=E3c(a.objective);this.selectedObjectiveBusinessDays=a.businessDays;this.canEdit=!b.isDisabled;this.metricValidators={required:function(e){return F3c(d,e)}};G3c(this);this.typePickerValues=H3c(this.controllerReference.sloParseService.enumTypeToString.keys(),function(e){return d.parseResult.types.length===
0||d.parseResult.types.includes(e)},function(e){return czb(d.controllerReference,e)});this.priorityPickerValues=H3c(this.controllerReference.sloParseService.enumPriorityToString.keys(),function(e){return d.parseResult.priorities.length===0||d.parseResult.priorities.includes(e)},function(e){return hzb(d.controllerReference,e)});this.postmortemPickerValues=H3c(this.controllerReference.anyNoneDisplayValues.keys(),function(e){return d.parseResult.postmortemValues.length===0||d.parseResult.postmortemValues.includes(e)},
function(e){return d.controllerReference.anyNoneDisplayValues.get(e)});this.validateTypePicker();this.validatePriorityPicker();this.validatePostmortemPicker();F3c(this,this.selectedMetric)},E3c=function(a){return a?a:{seconds:86400,nanos:0}};O3.prototype.isValid=function(){return this.priorityPickerValid&&this.typePickerValid&&this.postmortemPickerValid&&this.metricSelectorValid&&this.objectiveValid};var F3c=function(a,b){b=b!=="METRIC_UNSPECIFIED";return a.metricSelectorValid=b};
O3.prototype.stopEditing=function(){this.isEditingInternal&&(this.isValid()||this.isNewElement)&&(this.controllerReference.openRow=null,this.controllerReference.updateValidity(),this.isEditingInternal=this.isNewElement=!1,this.canEdit=!0,I3c(this),this.sloElement.metric=this.selectedMetric,this.sloElement.dayType=this.selectedDayType,this.sloElement.objective=this.selectedObjectiveDuration,this.sloElement.businessDays=this.selectedObjectiveBusinessDays,G3c(this))};
var I3c=function(a){var b=a.getEnumValues(a.typePickerValues),c=a.getEnumValues(a.priorityPickerValues),d=a.getEnumValues(a.postmortemPickerValues);b=J3c(b,function(f){return a.controllerReference.sloParseService.enumTypeToString.get(f)});c=J3c(c,function(f){return a.controllerReference.sloParseService.enumPriorityToString.get(f)});d=J3c(d,function(f){return a.controllerReference.sloParseService.canonicalGroupQueryKeywordToQueryValue.get(f)});var e=[];b&&e.push("type:"+b);c&&e.push("priority:"+c);
d&&e.push("postmortem:"+d);a.matcherText=e.join(" ");a.sloElement.matcher=a.matcherText};O3.prototype.getEnumValues=function(a){var b=[],c=!0,d=!0,e;for(e in a.propertyValues)a.propertyValues[e].value?(b.push(e),d=!1):c=!1;return c||d?[]:b};var J3c=function(a,b){if(a.length===0)return"";if(a.length===1)return b(a[0]);var c=[];a=k(a);for(var d=a.next();!d.done;d=a.next())c.push(b(d.value));return"("+c.join("|")+")"};
O3.prototype.startEditing=function(){this.isEditingInternal||(this.controllerReference.canPerformActions=!1,this.controllerReference.openRow=this,this.controllerReference.updateValidity(),this.canEdit=!1,this.isEditingInternal=!0,G3c(this))};var G3c=function(a){a.parseResult=A3c(a.controllerReference.sloParseService,a.matcherText)},H3c=function(a,b,c){var d={};a=k(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=b(e),h=c(e);d[""+e]=new r3c(h,f)}return new s3c(d)};var P3=function(){};P3.\u0275fac=function(a){return new (a||P3)};P3.\u0275mod=u({type:P3});P3.\u0275inj=p({imports:[RE,Qz,mR]});var Q3=function(){};Q3.\u0275fac=function(a){return new (a||Q3)};Q3.\u0275mod=u({type:Q3});Q3.\u0275inj=p({imports:[RE]});var R3=function(){};R3.\u0275fac=function(a){return new (a||R3)};R3.\u0275mod=u({type:R3});R3.\u0275inj=p({imports:[RE,Q3,ZN,Qz,AM,NN,EI,mR,LH,J3,P3]});var S3=function(){Z.apply(this,arguments);this.element=r(ge);this.cdr=r(sG,{self:!0});this.location=r(WI);this.hotkeys=r(YH);this.focusedIndex=0;this.slos=[]};Y(S3,Z);S3.\u0275dir=Z.\u0275dir;g=S3.prototype;g.setFocusOnIndex=function(a){this.focusedIndex=a};g.isFocused=function(a){return this.focusedIndex===a};g.selectNext=function(){this.focusedIndex+1>=this.slos.length||(this.focusedIndex++,this.scrollToFocusedIndex())};g.selectPrevious=function(){this.focusedIndex-1<0||(this.focusedIndex--,this.scrollToFocusedIndex())};
g.ngOnInit=function(){var a=this,b=ZH(this.hotkeys,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next SLO",onPress:function(){a.selectNext();a.cdr.detectChanges()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous SLO",onPress:function(){a.selectPrevious();a.cdr.detectChanges()}},{keys:["ENTER"],displayAs:"Enter",description:"View SLO detail",onPress:function(){var c=a.slos[a.focusedIndex];c&&a.editSlo(c);a.cdr.detectChanges()}}]});
this.destroyed$.subscribe(b)};g.scrollToFocusedIndex=function(){var a=this.element.nativeElement.parentElement;if(a){var b,c,d=(b=this.element.nativeElement.querySelector("table"))==null?void 0:(c=b.rows)==null?void 0:c[this.focusedIndex];if(d){b=a.getBoundingClientRect();a=b.top;b=b.bottom;c=d.getBoundingClientRect();var e=c.bottom;c.top<a?d.scrollIntoView(!1):e>b&&d.scrollIntoView(!0)}}};g.renderRowLabel=function(a){return this.slos[a].name};g.editSlo=function(a){this.location.path(tq.editSlo.makeHref(a.sloId))};
S3.\u0275fac=function(){var a;return function(b){return(a||(a=de(S3)))(b||S3)}}();
S3.\u0275cmp=t({type:S3,selectors:[["b-slo-grid"]],inputs:{slos:"slos"},features:[Yg([sG]),cg],decls:17,vars:0,consts:[[1,"pop-grid","bv2-resource-list","bv2-slo-grid"],[1,"header-row"],[1,"focus-indicator"],[1,"bv2-columnheader-content"],[1,"pop-grid-default-th"],[1,"pop-grid-non-sort-header"],["tabindex","0",1,"bv2-resource-list-row",3,"grid-focus"],["tabindex","0",1,"bv2-resource-list-row",3,"click","focus"],[1,"bv2-resource-list-cell","slo-name","clickable"],["tabindex","-1",1,"grid-link",3,"href"],
[1,"bv2-resource-list-cell","slo-description","clickable"]],template:function(a,b){a&1&&(I(0,"table",0)(1,"thead")(2,"tr",1),K(3,"th",2),I(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),Q(8," SLO name "),J()()()(),I(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),Q(13," Description "),J()()()()()(),I(14,"tbody"),tg(15,Czb,7,7,"tr",6,sg),J()());a&2&&(C(15),ug(b.slos))},styles:[".bv2-slo-grid[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--surface-secondary)}.bv2-slo-grid[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{text-transform:initial}"]});var T3=function(){};T3.\u0275fac=function(a){return new (a||T3)};T3.\u0275mod=u({type:T3});T3.\u0275inj=p({imports:[RE]});var U3=function(){this.log=r(iE);this.dateFormatter=r(UM)},L3c=function(a,b){var c=Xlb(b.addMask.paths),d=Xlb(b.removeMask.paths),e={author:b.author||null,timestamp:b.timestamp||null,diffs:[]},f=b.add;b=b.remove;for(var h=k(new Set([].concat(w(c),w(d)))),l=h.next();!l.done;l=h.next()){var q=l.value;l=Jfc.get(q);if(q==="name"){var v=ou(d,q,b.name);q=ou(c,q,f.name);e.diffs.push(pu(l,v,q))}else if(q==="description")v=ou(d,q,b.description),q=ou(c,q,f.description),e.diffs.push(pu(l,v,q));else if(q==="parentId")v=
ou(d,q,String(b.parentId)),q=ou(c,q,String(f.parentId)),e.diffs.push(pu(l,v,q));else if(q==="elements"){var y=f.elements;v=Ylb(d,q,b.elements.map(function(E){return K3c(E)}));q=Ylb(c,q,y.map(function(E){return K3c(E)}));e.diffs.push({fieldName:l,diffType:"COLLECTION",diff:{removed:v,added:q}})}else a.log.error("Unsupported diff field.")}return e},K3c=function(a){var b=a.matcher,c=Ifc.get(a.metric),d=Tyb.get(a.dayType),e=[];a.businessDays>0&&e.push(a.businessDays+" day"+(a.businessDays>1?"s":""));
a.objective.seconds>0&&e.push(fuc(a.objective.seconds*1E3));return'("'+b+'", '+c+") - "+(d+" days - "+e.join(", "))};U3.\u0275fac=function(a){return new (a||U3)};U3.\u0275prov=n({token:U3,factory:U3.\u0275fac,providedIn:"root"});var V3=function(){};V3.\u0275fac=function(a){return new (a||V3)};V3.\u0275mod=u({type:V3});V3.\u0275inj=p({imports:[RE,JH,ML]});var O3c=function(a,b){this.$log=b;this.templateAttributes={};this.templateCustomFields={};b=k(M3c);for(var c=b.next();!c.done;c=b.next())if(c=c.value,a[c]){var d=a[c],e=void 0;Array.isArray(d)?e=d.map(function(f){return typeof f==="string"?Ii(f):""}):e=typeof d==="string"?Ii(d):"";this.templateAttributes[c]=e}b=k(N3c);for(c=b.next();!c.done;c=b.next())c=c.value,a[c]&&(this.templateAttributes[c]=a[c]);if(a=a.customFields)for(a=Array.isArray(a)?a:[a],a=k(a),b=a.next();!b.done;b=a.next())b=b.value.split(":"),
c=b.slice(1).join(":"),iu(c)||(this.templateCustomFields[b[0]]=c)},Q3c=function(a){return Object.keys(a.templateCustomFields||{}).length!==0||P3c.some(function(b){return a.templateAttributes[b]!=null})},V3c=function(a,b,c){c!=null&&(R3c(a,c),S3c(a,b,c),T3c(b,c));c=k(Object.entries(a.templateAttributes));for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;U3c[d](b,e)}a.templateAttributes={};a.templateCustomFields={}},S3c=function(a,b,c){b.customField==null&&(b.customField=
[]);for(var d={},e=k(b.customField),f=e.next();!f.done;f=e.next())f=f.value,d[f.customFieldId]=f;e=k(Object.entries(a.templateCustomFields));var h=e.next();for(f={};!h.done;f={customFieldId$jscomp$22:void 0},h=e.next()){var l=k(h.value);h=l.next().value;l=l.next().value;f.customFieldId$jscomp$22=Ei(h);l={customFieldId:f.customFieldId$jscomp$22,value:l};h=a.getCustomFieldValue(l,c);d[f.customFieldId$jscomp$22]!=null?(f=b.customField.findIndex(function(q){return function(v){return v.customFieldId===
q.customFieldId$jscomp$22}}(f)),b.customField[f]=h):(b.customField.push(h),d[l.customFieldId]=h)}};
O3c.prototype.getCustomFieldValue=function(a,b){var c={customFieldId:a.customFieldId};if(a.value){b=this.getCustomFieldType(c,b);var d=[];switch(b){case "TEXT":c.textValue=a.value;break;case "DATE":c.dateValue=Lza(a.value)||void 0;break;case "ENUM":c.enumValue=a.value;break;case "NUMERIC":c.numericValue=Mza(a.value)||void 0;break;case "REPEATED_TEXT":d=a.value.split(",");c.repeatedTextValue={values:d};break;case "REPEATED_DATE":d=a.value.split(",").map(function(e){return Lza(e)}).filter(function(e){return e!==
null});c.repeatedDateValue={values:d};break;case "REPEATED_ENUM":d=a.value.split(",");c.repeatedEnumValue={values:d};break;case "REPEATED_NUMERIC":d=a.value.split(",").map(function(e){return Mza(e)}).filter(function(e){return e!==null});c.repeatedNumericValue={values:d};break;default:this.$log.warn("Invalid custom field type '"+b+"'.")}}return c};O3c.prototype.getCustomFieldType=function(a,b){var c,d;return(d=(c=b[a.customFieldId])==null?void 0:c.type)!=null?d:""};
var R3c=function(a,b){a.templateCustomFields=Dc(a.templateCustomFields,function(c,d){return!!b[d]})},T3c=function(a,b){if(a.customField!=null){a=k(a.customField);for(var c=a.next(),d={};!c.done;d={allowedValues:void 0},c=a.next()){c=c.value;var e=b[c.customFieldId];if(e&&e.type&&e.type.includes("ENUM")){d.allowedValues=e.allowedValue||[];var f=e.required&&e.typedDefaultValue;e.type.includes("REPEATED")?(c.repeatedEnumValue=c.repeatedEnumValue||{values:[]},c.repeatedEnumValue.values=c.repeatedEnumValue.values.filter(function(h){return function(l){return h.allowedValues.includes(l)}}(d)),
!c.repeatedEnumValue.values.length&&f&&(c.repeatedEnumValue=e.typedDefaultValue.repeatedEnumValue)):d.allowedValues.includes(c.enumValue)||(c.enumValue=f?e.typedDefaultValue.enumValue:"")}}}},M3c="title type priority severity assignee verifier reporter collaborators cc hotlistIds blockedByIssueIds blockingIssueIds foundIn targetedTo".split(" "),N3c=["inProd"],P3c="severity foundIn inProd reporter verifier targetedTo blockedByIssueIds blockingIssueIds".split(" "),W3={},U3c=(W3.cc=function(a,b){a.ccUsers=
Gzb(b,a.ccUsers||[])},W3.collaborators=function(a,b){a.collaboratorsUsers=Gzb(b,a.collaboratorsUsers||[])},W3.title=function(a,b){typeof b==="string"&&(a.title=b)},W3.assignee=function(a,b){Fzb(b,function(c){a.assigneeUser=c})},W3.reporter=function(a,b){Fzb(b,function(c){a.reporterUser=c})},W3.verifier=function(a,b){Fzb(b,function(c){a.verifierUser=c})},W3.hotlistIds=function(a,b){if(b=Dzb(b)){a.hotlistId||(a.hotlistId=[]);b=k(b);for(var c=b.next();!c.done;c=b.next())a.hotlistId.push(c.value)}},W3.blockingIssueIds=
function(a,b){if(b=Dzb(b))a.blockingIssueId=b.map(String)},W3.blockedByIssueIds=function(a,b){if(b=Dzb(b))a.blockedByIssueId=b.map(String)},W3.foundIn=function(a,b){typeof b==="string"&&(a.foundInVersion=b.split(","))},W3.targetedTo=function(a,b){typeof b==="string"&&(a.targetedToVersion=b.split(","))},W3.inProd=function(a,b){a.inProd=b==="true"},W3.priority=function(a,b){if(b=Ezb(Xqc,b))a.priority=Ni(b)},W3.severity=function(a,b){if(b=Ezb(brc,b))a.severity=sra(b)},W3.type=function(a,b){if(b=Ezb(Zqc,
b))a.type=rra(b)},W3);var X3=function(){this.issueRelationshipApi=r(IG);this.issueApi=r(uD)};
X3.prototype.bulkEdit=function(a){var b=this,c,d,e,f,h,l,q,v,y,E,H,O,N;return ve(function(T){switch(T.nextAddress){case 1:c=a.actions[0];d=String(c.value);e=a.issueIds;f=c.actionType;if(f!=="ADD"&&f!=="REMOVE")throw Error("$f");h={};l=[];q=[];v=Cta(e);y=k(v.reverse());E=y.next();case 2:if(E.done){T.jumpTo(4);break}H=E.value;we(T,5);return f==="ADD"?(O=H.map(function(da){return{targetIssueId:da,afterIssueId:void 0}}),xe(T,Je(Kec(b.issueRelationshipApi,d,O)),8)):xe(T,Je(Lec(b.issueRelationshipApi,d,
H)),8);case 8:return xe(T,b.issueApi.batchGetIssuesFull(H).then(function(da){return da.map(function(ja){return h[ja.issueId]=ja})}),11);case 11:jv(T,3);break;case 5:N=Be(T);if(!Jn(N))throw N;q.push(N);l.push.apply(l,w(H));case 3:E=y.next();T.jumpTo(2);break;case 4:return T.return({finishedIssues:h,notFinishedIssueIds:l,errors:q})}})};X3.\u0275fac=function(a){return new (a||X3)};X3.\u0275prov=n({token:X3,factory:X3.\u0275fac,providedIn:"root"});var Y3=function(){Z.apply(this,arguments);this.routerEvents=r(vG);this.bLocation=r(WI);this.history=[]};Y(Y3,Z);Y3.\u0275dir=Z.\u0275dir;Y3.prototype.install=function(){var a=this;this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(function(){a.history.push(a.bLocation.getUrl());a.history.length>21&&a.history.shift()}))};Y3.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()};Y3.prototype.hasPreviousPage=function(){return this.history.length>1};
var Z3=function(a){if(a.hasPreviousPage()){a.history.pop();var b=a.history.pop();b?a.bLocation.setUrl(b):a.bLocation.setUrl("/")}else a.bLocation.setUrl("/")};Y3.\u0275fac=function(){var a;return function(b){return(a||(a=de(Y3)))(b||Y3)}}();Y3.\u0275prov=n({token:Y3,factory:Y3.\u0275fac,providedIn:"root"});var a4=function(){this.bLocation=r(WI);this.routeParams=r(PL);this.domSafe=r(mM)},W3c=function(a,b,c){var d=a.routeParams.redirectUrl;if(d&&d.startsWith("http")){if(c&&rv(d,"id=")||rv(d,"bugId="))d+=c;nM(a.domSafe,d)}else{var e;a.bLocation.replaceUrl((e=d)!=null?e:b)}};a4.\u0275fac=function(a){return new (a||a4)};a4.\u0275prov=n({token:a4,factory:a4.\u0275fac,providedIn:"root"});var X3c={provide:ncc,useValue:function(a){return a.replace(/(action\/components\/[0-9]+)\/(move|updateSlo|updateTeam)/,"$1")},multi:!0},Y3c={provide:ncc,useValue:function(a){return a.replace(/(action\/hotlists\/[0-9]+)\/archive/,"$1")},multi:!0};var b4=function(){this.activeSession=r(dv)};b4.prototype.intercept=function(a,b){var c=a.method;return c==="POST"||c==="PUT"||c==="DELETE"?(a=a.clone({setHeaders:{"X-XSRF-TOKEN":this.activeSession.getXsrfToken()}}),b.handle(a)):b.handle(a)};b4.\u0275fac=function(a){return new (a||b4)};b4.\u0275prov=n({token:b4,factory:b4.\u0275fac,providedIn:"root"});var Z3c={provide:QD,useClass:b4,multi:!0};var c4=function(){this.http=r(OD)};Y(c4,OB);g=c4.prototype;g.get=function(a){return this.request("get",a)};g.delete=function(a){return this.request("delete",a)};g.post=function(a){return this.request("post",a,a.body)};g.put=function(a){return this.request("put",a,a.body)};g.request=function(a,b,c){var d=b.options;d=d===void 0?{}:d;d={headers:d.headers||{},params:Object.assign({},d.params)};var e;c==null?c=void 0:c=qea(c);c=(e=c)!=null?e:null;return this.http.request(a,b.url,Object.assign({},d,{body:c})).pipe(B(Hzb(b.responseConstructor)))};
c4.\u0275fac=function(){var a;return function(b){return(a||(a=de(c4)))(b||c4)}}();c4.\u0275prov=n({token:c4,factory:c4.\u0275fac,providedIn:"root"});var d4=function(){this.jspbExecutor=r(c4)};Y(d4,PB);d4.prototype.get=function(a){return Je(this.jspbExecutor.get(a))};d4.prototype.delete=function(a){return Je(this.jspbExecutor.delete(a))};d4.prototype.post=function(a){return Je(this.jspbExecutor.post(a))};d4.prototype.put=function(a){return Je(this.jspbExecutor.put(a))};
d4.\u0275fac=function(){var a;return function(b){return(a||(a=de(d4)))(b||d4)}}();d4.\u0275prov=n({token:d4,factory:d4.\u0275fac,providedIn:"root"});var e4=function(){};e4.\u0275fac=function(a){return new (a||e4)};e4.\u0275mod=u({type:e4});e4.\u0275inj=p({providers:[{provide:OB,useClass:c4},{provide:PB,useClass:d4}],imports:[RE]});var f4=function(){var a=this;this.fridge=r(AC);this.userAccess=r(YC);this.currentComponentId="";this.providedComponentId$=new If(1);this.accessCheckIsThinking$=new bo(!0);this.component$=this.providedComponentId$.pipe(Nf(function(b){return a.fridge.watch(b)}));this.userIsComponentReader$=this.providedComponentId$.pipe(Nf(function(b){b!==a.currentComponentId&&(a.accessCheckIsThinking$.next(!0),a.currentComponentId=b);return $C(a.userAccess,"reader","components/"+b).then(function(c){return c},function(){return!1}).finally(function(){a.accessCheckIsThinking$.next(!1)})}));
this.isReady$=Me([this.fridge.thinking$,this.accessCheckIsThinking$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return!b&&!c}),Mf(!1));this.manageComponentLink=""};f4.prototype.ngOnInit=function(){this.currentComponentId=this.componentId};f4.prototype.ngOnChanges=function(){this.providedComponentId$.next(this.componentId);this.manageComponentLink="/components/"+this.componentId};f4.\u0275fac=function(a){return new (a||f4)};
f4.\u0275cmp=t({type:f4,selectors:[["b-async-component"]],inputs:{componentId:"componentId"},features:[Hd],decls:5,vars:6,consts:[[3,"isReady"],[3,"href"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",0),S(1,"async"),D(2,Izb,3,4,"a",1),S(3,"async"),D(4,Jzb,2,1,"output"),J());a&2&&(F("isReady",U(1,2,b.isReady$)),C(2),G(U(3,4,b.userIsComponentReader$)?2:4))},dependencies:[hP,Iw],encapsulation:2});var h4=function(){this.documentationLinks=r(cL);this.activeSession=r(dv);this.loginRedirector=r(g4);this.isAnonymous=this.activeSession.isAnonymous();this.enableSignInAnonymousAccessDenied=lu(this.activeSession,"enableSignInAnonymousAccessDenied");this.showIssueMetadataContainer=!1};
ea.Object.defineProperties(h4.prototype,{issueMetadata:{configurable:!0,enumerable:!0,set:function(a){if(a){this.issueId=a.issueId;this.issueLastModified=Sk(a.modifiedTime);a.teamId&&a.teamId!==0&&(this.issueTeamId=String(a.teamId));if(a=a.issueState)this.issueType=Oi(a.type),this.issueStatus=Pi[a.status],this.issuePriority=a.priority,this.issueSeverity=U7b[a.severity],this.issueComponentId=String(a.componentId),this.accessLimitLevel=br(a.accessLimitLevel);this.showIssueMetadataContainer=!0}else this.showIssueMetadataContainer=
!1}}});h4.\u0275fac=function(a){return new (a||h4)};
h4.\u0275cmp=t({type:h4,selectors:[["b-access-denied-metadata"]],inputs:{issueMetadata:"issueMetadata"},decls:9,vars:2,consts:[["issueMetadataContainer",""],["anonymousMessage",""],[1,"b-access-denied"],[1,"heading-l","margin-bottom"],[4,"ngTemplateOutlet"],[1,"carded","margin-top"],[3,"issuePriority"],["target","_blank","aria-label","Learn more about issue access limits",3,"href"],[3,"componentId"],[3,"teamId"],["mat-flat-button","","color","primary"],["mat-flat-button","","color","primary",3,"click"]],
template:function(a,b){a&1&&(I(0,"div",2)(1,"h3",3),Q(2," Access is denied to this issue "),J(),D(3,Lzb,1,1,"ng-container")(4,Nzb,1,1,"ng-container"),J(),D(5,Qzb,40,13,"ng-template",null,0,fh)(7,Szb,3,1,"ng-template",null,1,fh));a&2&&(C(3),G(b.showIssueMetadataContainer?3:-1),C(),G(b.isAnonymous?4:-1))},dependencies:[Hw,f4,pP,CN,vD,Vy,Lw],styles:[".b-access-denied[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}ol[_ngcontent-%COMP%]{box-sizing:border-box;max-width:400px;min-width:300px;padding-right:8px;word-break:break-word}li[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:16px;line-height:21px}li[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}label[_ngcontent-%COMP%]{min-width:120px;font-weight:bold;color:#5f6368;color:var(--text-muted);margin-right:8px;font-size:.8125rem}"],
changeDetection:0});var g4=function(){this.bLocation=r(WI)};g4.prototype.redirect=function(){var a=Oc("/loginRedirect?continue="+encodeURIComponent(this.bLocation.getUrl())),b=window.location;a=Pc(a);a!==void 0&&b.replace(a)};g4.\u0275fac=function(a){return new (a||g4)};g4.\u0275prov=n({token:g4,factory:g4.\u0275fac,providedIn:"root"});var i4=function(){};i4.\u0275fac=function(a){return new (a||i4)};i4.\u0275mod=u({type:i4});i4.\u0275inj=p({imports:[RE,UR]});var j4=function(){};j4.\u0275fac=function(a){return new (a||j4)};j4.\u0275mod=u({type:j4});j4.\u0275inj=p({imports:[RE,i4,IR,DN,JH]});var $3c=Symbol("bg"),a4c=RegExp("today([+-]\\d+)?"),l4=function(){this.ruleConfigService=r(k4)};
l4.prototype.build=function(a){if(a.customField)var b=a.customField.type==="DATE"?new m4(a,n4(this.ruleConfigService)):a.customField.type==="ENUM"?new b4c(a,n4(this.ruleConfigService)):a.customField.type==="REPEATED_ENUM"?new c4c(a,n4(this.ruleConfigService)):a.customField.type==="NUMERIC"?new o4(a,n4(this.ruleConfigService)):new p4(a,n4(this.ruleConfigService));else b=a.label.field,b=n4(this.ruleConfigService)[b],b=new (b&&b.ruleCtor||q4)(a,n4(this.ruleConfigService));b[$3c](a);return b};
var BBb=function(a,b,c){return a.build({label:{field:b,customFieldId:c&&c.customFieldId||void 0},operator:"EQ",negated:!1,type:"",customField:c})};l4.\u0275fac=function(a){return new (a||l4)};l4.\u0275prov=n({token:l4,factory:l4.\u0275fac,providedIn:"root"});
var d4c=["OR","AND","NAND"],e4c=["OR","NAND"],f4c="LT GT LE GE RANGE NRANGE DURATION NDURATION OR".split(" "),g4c=["AND","OR","NAND"],h4c=["OR","LT","GT","LE","GE"],q4=function(a,b){this.ruleConfigLookup=b;this.values=[];this.type="";this.isPendingCustomField=!1;this.label=a.label};q4.prototype[$3c]=function(a){this.initType(a);this.initValues(a)};
q4.prototype.initType=function(a){if(a.type)switch(a.operator){case "LT":this.type=a.negated?"GE":"LT";break;case "GT":this.type=a.negated?"LE":"GT";break;case "LE":this.type=a.negated?"GT":"LE";break;case "GE":this.type=a.negated?"LT":"GE";break;default:this.type=a.type==="OR"?a.negated?"NOR":"OR":a.type==="AND"?a.negated?"NAND":"AND":a.negated?"NAND":"OR"}else this.type=this.getLegalTypes()[0]};q4.prototype.initValues=function(a){this.values=(a.values||[]).map(function(b){return{value:b.simpleValues[0].value}})};
var i4c=function(a){var b=a.type==="NAND"||a.type==="NOR"||a.type==="NDURATION"||a.type==="NRANGE",c="EQ";if(a.type==="AND"||a.type==="NAND")var d="AND";else if(a.type==="OR"||a.type==="NOR")d="OR";else if(d="NIL",a.type==="LE"||a.type==="LT"||a.type==="GE"||a.type==="GT")c=a.type;b&&(d==="AND"?d="OR":d==="OR"&&(d="AND"));return{operator:c,joinType:d,negated:b}};
q4.prototype.toString=function(){var a=i4c(this),b=this.valuesToStrings().filter(function(e){return e}),c={GT:">",LT:"<",GE:">=",LE:"<=",EQ:":"};if(b.length===1)b=b[0];else if(b.length>1)b="("+b.join(a.joinType==="AND"?" ":" | ")+")";else return"";var d=j4c(this);return(a.negated?"-":"")+d+(d?c[a.operator]:"")+b};var j4c=function(a){var b=a.label.field,c=a.ruleConfigLookup[b];return c&&(c=c.queryLabel,c!=null)?c:Ci(b).toLowerCase()+(a.label.customFieldId||"")};q4.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value}).filter(function(a){return a})};
q4.prototype.getWidgetType=function(){return"default"};q4.prototype.isValid=function(){return this.getLegalTypes().includes(this.type)};q4.prototype.getLegalTypes=function(){return d4c};var k4c=[],r4=function(a,b){q4.call(this,a,b);this.enumValues={}};Y(r4,q4);g=r4.prototype;g.getLegalTypes=function(){return e4c};g.getWidgetType=function(){return"enum"};
g.initValues=function(a){this.enumValues={};for(var b=k(this.getOptions()),c=b.next();!c.done;c=b.next())this.enumValues[c.value.id]=!1;a=k(a.values||[]);for(b=a.next();!b.done;b=a.next())this.enumValues[Tzb(b.value.simpleValues[0].value)]=!0};g.valuesToStrings=function(){return Object.keys(Dc(this.enumValues,function(a){return a}))};g.getOptions=function(){return k4c};var l4c=Mba().map(function(a){return{id:"p"+a,label:"P"+a}}),m4c=function(a,b){r4.call(this,a,b)};Y(m4c,r4);
m4c.prototype.getOptions=function(){return l4c};var n4c=Mba().map(function(a){return{id:"s"+a,label:"S"+a}}),o4c=function(a,b){r4.call(this,a,b)};Y(o4c,r4);o4c.prototype.getOptions=function(){return n4c};
var p4c=[{id:"bug"},{id:"customer_issue",label:"customer issue"},{id:"feature_request",label:"feature request"},{id:"internal_cleanup",label:"internal cleanup"},{id:"process"},{id:"vulnerability"},{id:"privacy_issue",label:"privacy issue"},{id:"program"},{id:"project"},{id:"feature"},{id:"milestone"},{id:"epic"},{id:"story"},{id:"task"}],q4c=function(a,b){r4.call(this,a,b)};Y(q4c,r4);q4c.prototype.getOptions=function(){return p4c};
var r4c=[{id:"open"},{id:"new",group:"open"},{id:"assigned",group:"open"},{id:"accepted",group:"open"},{id:"closed"},{id:"fixed"},{id:"verified"},{id:"duplicate"},{id:"infeasible"},{id:"intended_behavior",label:"intended behavior"},{id:"not_reproducible",label:"not reproducible"},{id:"obsolete"}],s4c=function(a,b){r4.call(this,a,b)};Y(s4c,r4);s4c.prototype.getOptions=function(){return r4c};
var t4c=[{id:"abuse"},{id:"pii"},{id:"user_request",label:"user request"},{id:"retention"}],u4c=function(a,b){r4.call(this,a,b)};Y(u4c,r4);u4c.prototype.getOptions=function(){return t4c};var v4c=[{id:"limit_none",label:"default access"},{id:"limit_view",label:"limited visibility"},{id:"limit_append",label:"limited commenting"},{id:"limit_view_trusted",label:"limited visibility + Google"}],w4c=function(a,b){r4.call(this,a,b)};Y(w4c,r4);w4c.prototype.getOptions=function(){return v4c};
var x4c=[{id:"swe",label:Ok.SWE},{id:"sre",label:Ok.SRE},{id:"pm",label:Ok.PM},{id:"tpgm",label:Ok.TPGM},{id:"ux",label:Ok.UX}],y4c=function(a,b){r4.call(this,a,b)};Y(y4c,r4);y4c.prototype.getOptions=function(){return x4c};var b4c=function(a,b){r4.call(this,a,b);this.allowedValues=[]};Y(b4c,r4);b4c.prototype[$3c]=function(a){this.allowedValues=a.customField.allowedValue.map(function(b){return{label:b,id:Tzb(b)}});r4.prototype[$3c].call(this,a)};
b4c.prototype.valuesToStrings=function(){return Object.keys(Dc(this.enumValues,function(a){return a})).map(function(a){return'"'+a+'"'})};b4c.prototype.getOptions=function(){return this.allowedValues};var c4c=function(a,b){q4.call(this,a,b);this.allowedValues=[];var c,d;this.allowedValues=(d=(c=a.customField)==null?void 0:c.allowedValue)!=null?d:[]};Y(c4c,q4);c4c.prototype.getWidgetType=function(){return"repeated-enum"};c4c.prototype.getOptions=function(){return this.allowedValues};
var Mu=function(a,b){q4.call(this,a,b);this.csv=""};Y(Mu,q4);Mu.prototype.getWidgetType=function(){return"csv"};Mu.prototype.initValues=function(a){this.csv=(a.values||[]).map(function(b){return b.simpleValues[0].value}).join(",")};Mu.prototype.valuesToStrings=function(){return this.csv.split(",").map(function(a){return a.trim()}).filter(function(a){return a})};var s4=function(a,b){Mu.call(this,a,b)};Y(s4,Mu);s4.prototype.getWidgetType=function(){return"id"};
s4.prototype.valuesToStrings=function(){return Mu.prototype.valuesToStrings.call(this).map(function(a){return a.toLowerCase()==="none"?"none":a.toLowerCase()==="any"?"any":String(Ei(a))})};var z4c=function(a,b){Mu.call(this,a,b)};Y(z4c,s4);z4c.prototype.getLegalTypes=function(){return e4c};var t4=function(a,b){Mu.call(this,a,b)};Y(t4,Mu);t4.prototype.getWidgetType=function(){return"user"};var u4=function(a,b){Mu.call(this,a,b)};Y(u4,t4);u4.prototype.getLegalTypes=function(){return e4c};
var m4=function(a,b){q4.call(this,a,b);this.dateTo=this.dateFrom=this.duration=""};Y(m4,q4);var gBb=function(a){return a&&typeof a==="string"?a:""};m4.prototype.initType=function(a){q4.prototype.initType.call(this,a);var b=a.values&&a.values[0];b&&(b.type==="RANGE"?this.type=a.negated?"NRANGE":"RANGE":rv(b.simpleValues[0].value,"d")&&(this.type=a.negated?"NDURATION":"DURATION"))};m4.prototype.getWidgetType=function(){return"date"};
m4.prototype.initValues=function(a){if(a.values){var b=a.values[0].simpleValues[0].value;if(this.type==="DURATION"||this.type==="NDURATION")this.duration=b.slice(0,b.length-1);else if(this.dateFrom=A4c(b),this.type==="RANGE"||this.type==="NRANGE")this.dateTo=A4c(a.values[0].simpleValues[1].value)}};
m4.prototype.valuesToStrings=function(){if(this.type==="DURATION"||this.type==="NDURATION"){var a=Ei(this.duration);return!a||isNaN(a)?[]:[a+"d"]}if(this.type==="RANGE"||this.type==="NRANGE"){a=this.dateFrom&&B4c(this.dateFrom)||(new Di).toIsoString(!0);var b=this.dateTo&&B4c(this.dateTo)||(new Di).toIsoString(!0);return[a+".."+b]}return[this.dateFrom&&B4c(this.dateFrom)||(new Di).toIsoString(!0)]};
var C4c=function(a){return String(a.getMonth()+1)+"/"+String(a.getDate())+"/"+String(a.getFullYear())},A4c=function(a){if(a4c.test(a))return a;var b=new Uk(2E3);a=Ii(a);var c=a.indexOf("T")==-1?" ":"T";a=a.split(c);var d=a[0].match(R1b);if(d){var e=Number(d[2]),f=Number(d[3]),h=Number(d[4]);c=Number(d[5]);var l=Number(d[6])||1;b.setFullYear(Number(d[1]));h?(b.setDate(1),b.setMonth(0),b.add(new Dw("d",h-1))):c?(b.setMonth(0),b.setDate(1),d=b.getDay()||7,b.add(new Dw("d",(d<=4?1-d:8-d)+(Number(l)+7*
(Number(c)-1))-1))):(e&&(b.setDate(1),b.setMonth(e-1)),f&&b.setDate(f));c=!0}else c=!1;if(c&&!(c=a.length<2)){c=a[1];a=c.match(T1b);if(a)if(c=c.substring(0,c.length-a[0].length),a[0]==="Z")var q=0;else q=Number(a[2])*60+Number(a[3]),q*=a[1]=="-"?1:-1;if(h=c.match(S1b)){if(a){a=b.getYear();c=b.getMonth();l=b.getDate();d=Number(h[1]);e=Number(h[2])||0;f=Number(h[3])||0;var v=h[4]?Number(h[4])*1E3:0;(h=a>=0&&a<100)&&(a+=400);a=Date.UTC(a,c,l,d,e,f,v);h&&(a-=126227808E5);b.setTime(a+q*6E4)}else b.setHours(Number(h[1])),
b.setMinutes(Number(h[2])||0),b.setSeconds(Number(h[3])||0),b.setMilliseconds(h[4]?Number(h[4])*1E3:0);c=!0}else c=!1}return C4c(c?b:null)},B4c=function(a){if(a4c.test(a))return a;a=a.split("/").map(Number);return(new Di(a[2],a[0]-1,a[1])).toIsoString(!0)};m4.prototype.getLegalTypes=function(){return f4c};var v4=function(a,b){q4.call(this,a,b)};Y(v4,q4);v4.prototype.getWidgetType=function(){return"bool"};
v4.prototype.initType=function(a){var b=a.type==="OR"||a.type==="";a.values&&(b=a.values[0].simpleValues[0].value.toLowerCase()==="true");a.negated&&(b=!b);this.type=b?"OR":"NAND"};v4.prototype.toString=function(){return j4c(this)+":"+(this.type==="OR")};v4.prototype.getLegalTypes=function(){return e4c};var w4=function(a,b){q4.call(this,a,b)};Y(w4,q4);w4.prototype.getWidgetType=function(){return"boolwithall"};
w4.prototype.initType=function(a){this.getLegalTypes().indexOf(a.type)===-1?this.type=this.getLegalTypes()[0]:this.type=a.type;if(a.values)switch(a.values[0].simpleValues[0].value){case "true":this.type="OR";break;case "false":this.type="NAND";break;case "all":this.type="AND"}a.negated&&this.type!=="AND"&&(this.type=this.type==="OR"?"NAND":"OR")};w4.prototype.toString=function(){var a=j4c(this)+":";switch(this.type){case "OR":return a+"true";case "NAND":return a+"false";default:return a+"all"}};
w4.prototype.getLegalTypes=function(){return g4c};var p4=function(a,b){q4.call(this,a,b)};Y(p4,q4);p4.prototype.getWidgetType=function(){return"text"};p4.prototype.initValues=function(a){this.values=(a.values||[]).map(function(b){b=b.simpleValues[0];var c=b.value;b.type==="QUOTED_TEXT"&&(c=c.slice(1,c.length-1));return{value:c}})};p4.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value.indexOf(" ")>-1?'"'+a.value+'"':a.value})};
var D4c=function(a,b){q4.call(this,a,b)};Y(D4c,q4);D4c.prototype.getWidgetType=function(){return"component"};D4c.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};rv(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};D4c.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};
var E4c=function(a,b){q4.call(this,a,b)};Y(E4c,q4);E4c.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};rv(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};E4c.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};var F4c=function(a,b){q4.call(this,a,b)};Y(F4c,q4);F4c.prototype.getWidgetType=function(){return"tracker"};
var G4c=function(a,b){q4.call(this,a,b)};Y(G4c,E4c);G4c.prototype.getWidgetType=function(){return"team"};var H4c=function(a,b){q4.call(this,a,b)};Y(H4c,q4);H4c.prototype.getWidgetType=function(){return"hotlist"};var I4c=function(a,b){q4.call(this,a,b)};Y(I4c,q4);I4c.prototype.getWidgetType=function(){return"savedsearch"};var o4=function(a,b){Mu.call(this,a,b)};Y(o4,Mu);o4.prototype.getWidgetType=function(){return"number"};o4.prototype.getLegalTypes=function(){return h4c};
var J4c=function(a,b){m4.call(this,a,b)};Y(J4c,m4);J4c.prototype.initType=function(a){m4.prototype.initType.call(this,a);a.negated&&(this.type="ERR")};
var x4={},K4c=(x4.ATTACHMENT={ruleCtor:p4,name:"Attachment name"},x4.COMMENT={ruleCtor:p4},x4.TITLE={ruleCtor:p4},x4.ASSIGNEE={ruleCtor:u4},x4.MODIFIER={ruleCtor:t4},x4.REPORTER={ruleCtor:u4},x4.VERIFIER={ruleCtor:u4},x4.CC={ruleCtor:t4},x4.COLLABORATOR={ruleCtor:t4},x4.COMPONENT_ID={ruleCtor:D4c,name:"Component"},x4.TRACKER_ID={ruleCtor:F4c,name:"Tracker"},x4.TYPE={ruleCtor:q4c},x4.STATUS={ruleCtor:s4c},x4.PRIORITY={ruleCtor:m4c},x4.SEVERITY={ruleCtor:o4c},x4.BLOCKED_BY_ID={ruleCtor:s4},x4.BLOCKING_ID=
{ruleCtor:s4},x4.PARENT_ID={ruleCtor:s4},x4.CANONICAL_ID={ruleCtor:z4c},x4.ID={ruleCtor:z4c},x4.FOUND_IN={ruleCtor:Mu},x4.TARGETED_TO={ruleCtor:Mu},x4.VERIFIED_IN={ruleCtor:Mu},x4.CL={ruleCtor:Mu,name:"Changelists"},x4.MODIFIED={ruleCtor:m4},x4.RESOLVED={ruleCtor:J4c},x4.CREATED={ruleCtor:m4},x4.VERIFIED={ruleCtor:J4c},x4.DELETION_TIME={ruleCtor:m4,name:"Deletion time"},x4.SAVED_SEARCH_ID={ruleCtor:I4c,name:"Saved search"},x4.HOTLIST_ID={ruleCtor:H4c,name:"Hotlist"},x4.STAR={ruleCtor:v4,name:"Starred"},
x4.MUTE={ruleCtor:v4,name:"Muted"},x4.VOTE={ruleCtor:v4,name:"Upvoted by me"},x4.IN_PROD={ruleCtor:v4,name:"In production"},x4.CC_COUNT={ruleCtor:o4},x4.COLLABORATOR_COUNT={ruleCtor:o4},x4.DUPLICATE_COUNT={ruleCtor:o4},x4.VOTE_COUNT={ruleCtor:o4},x4.COMMENT_COUNT={ruleCtor:o4},x4.DESCENDANT_COUNT={ruleCtor:o4},x4.OPEN_DESCENDANT_COUNT={ruleCtor:o4},x4.ONE_DAY_VIEW_COUNT={ruleCtor:o4},x4.SEVEN_DAY_VIEW_COUNT={ruleCtor:o4},x4.THIRTY_DAY_VIEW_COUNT={ruleCtor:o4},x4.LAST_MODIFIER={ruleCtor:u4,name:"Last Modified By"},
x4.COMMENTER={ruleCtor:t4},x4.LAST_COMMENTER={ruleCtor:u4},x4.ARCHIVED={ruleCtor:w4},x4.IS_DELETED={ruleCtor:v4,name:"Deleted",queryLabel:"deleted"},x4.DELETION_REASON={ruleCtor:u4c,name:"Deletion reason"},x4.ACCESS_LEVEL={ruleCtor:w4c,name:"Issue access level"},x4._TEXT_={ruleCtor:p4,queryLabel:"",name:"All fields"},x4),L4c=Object.assign({},K4c,{EFFORT_LABEL:{ruleCtor:Mu},MENTION:{ruleCtor:t4},MIN_SLO_TARGET:{ruleCtor:m4,name:"Nearest SLO",queryLabel:"nearestslo"},POSTMORTEM:{ruleCtor:Mu,name:"Postmortems"},
TEAM_ID:{ruleCtor:G4c,name:"Team"}}),M4c={STAFFING_PLACEHOLDER:{ruleCtor:y4c,name:"Staffing - Placeholder",queryLabel:"staffingplaceholder"},STAFFING_PLACEHOLDER_COUNT:{ruleCtor:o4,name:"Staffing - Placeholder Count",queryLabel:"staffingplaceholdercount"},STAFFING_USER:{ruleCtor:t4,name:"Staffing - User",queryLabel:"staffinguser"},STAFFING_USER_COUNT:{ruleCtor:o4,name:"Staffing - User Count",queryLabel:"staffingusercount"}},k4=function(){this.activeSession=r(dv);this.plannedAllocationsUiEnabled=lu(this.activeSession,
"enablePlannedAllocationsUi")},n4=function(a){var b=a.activeSession.isExternalSession()?K4c:L4c;return a.plannedAllocationsUiEnabled?Object.assign({},b,M4c):b};k4.\u0275fac=function(a){return new (a||k4)};k4.\u0275prov=n({token:k4,factory:k4.\u0275fac,providedIn:"root"});var N4c=function(a){this.internalArray_=m(a)};Y(N4c,V);g=N4c.prototype;g.getField=function(){return Kj(this,1,0)};g.clearField=function(){return Zp(this,1)};g.getCustomFieldId_asLegacyNumberOrString=function(){return Hv(this,2)};g.getCustomFieldId_asString=function(){return Nj(this,2)};g.setCustomFieldId=function(a){return lk(this,2,a)};g.hasCustomFieldId=function(){return Pb(Mj(this,2))!=null};var Zzb=function(a){this.internalArray_=m(a)};Y(Zzb,V);g=Zzb.prototype;g.getType=function(){return Kj(this,1,0)};g.setType=function(a){return hk(this,1,a)};g.hasType=function(){return Ij(this,1)};g.getValue=function(){return Gh(this,2)};g.setValue=function(a){return gk(this,2,a)};g.hasValue=function(){return Hj(this,2)};var y4=function(a){this.internalArray_=m(a)};Y(y4,V);g=y4.prototype;g.getType=function(){return Kj(this,1,0)};g.setType=function(a){return hk(this,1,a)};g.hasType=function(){return Ij(this,1)};g.getValuesList=function(a){return nj(this,y4,2,Wi(a))};g.setValuesList=function(a){return $l(this,2,a)};g.setValues=function(a,b){yv(this,2,y4,a,b)};var gAb=function(a){this.internalArray_=m(a)};Y(gAb,V);g=gAb.prototype;g.getType=function(){return Kj(this,1,0)};g.setType=function(a){return hk(this,1,a)};g.hasType=function(){return Ij(this,1)};g.getValuesList=function(a){return nj(this,y4,2,Wi(a))};g.setValuesList=function(a){return $l(this,2,a)};g.setValues=function(a,b){yv(this,2,y4,a,b)};g.getLabel=function(){return W(this,N4c,4)};g.setLabel=function(a){return X(this,N4c,4,a)};g.hasLabel=function(){return Oj(this,N4c,4)};var Hu=function(a){this.internalArray_=m(a,0,Hu.messageId)};Y(Hu,V);Hu.prototype.getType=function(){return Kj(this,1,0)};Hu.prototype.setType=function(a){return hk(this,1,a)};Hu.prototype.hasType=function(){return Ij(this,1)};Hu.messageId="b.QueryBuilderResponse";var dAb=function(a){this.internalArray_=m(a,0,dAb.messageId)};Y(dAb,V);dAb.messageId="b.SyntaxErrorResponse";var O4c=function(a){this.internalArray_=m(a,0,O4c.messageId)};Y(O4c,V);O4c.prototype.getKindCase=function(){return fl(this,eAb)};var eAb=[1,2];O4c.messageId="b.QueryBuilderResponseOrError";var z4=function(){this.executor=r(PB)},P4c=function(a,b){b=Am(b);return a.executor.get({url:"action/issue_query_parse/"+b,responseConstructor:O4c}).then(hAb).then(function(c){var d;(d=c.syntaxErrorResponse)!=null?c=d:(c=c.queryBuilderResponse,c={type:c.type,expressions:c.expressions.map(Uzb)});return c})};z4.\u0275fac=function(a){return new (a||z4)};z4.\u0275prov=n({token:z4,factory:z4.\u0275fac,providedIn:"root"});var A4=function(){var a=this;this.teamsService=r(lH);this.placeholder="Choose Team";this.panelWidth="574px";this.disabled=!1;this.onTeamSelect=new rG;this.onEmptyQuery=new rG;this.searchQuery$=new Jf;this.teamSuggestions$=this.searchQuery$.pipe(Af(300),Ef(),Nf(function(b){return nH(a.teamsService,b)}),B(function(b){return b.map(function(c){return new jAb(c.pathIds,c.pathNames,c.description)})}))};A4.prototype.updateSelectionOnChange=function(a){this.onTeamSelect.emit(a.option.value)};
A4.prototype.search=function(a){a||this.onEmptyQuery.emit();this.searchQuery$.next(a)};A4.prototype.displayFn=function(a){return a?a.name:""};A4.prototype.ngAfterViewInit=function(){};A4.\u0275fac=function(a){return new (a||A4)};
A4.\u0275cmp=t({type:A4,selectors:[["b-team-picker"]],viewQuery:function(a,b){a&1&&Mg(sN,7);if(a&2){var c;Qg(c=Rg())&&(b.autocompleteTrigger=c.first)}},inputs:{teamSelected:"teamSelected",placeholder:"placeholder",panelWidth:"panelWidth",disabled:"disabled"},outputs:{onTeamSelect:"onTeamSelect",onEmptyQuery:"onEmptyQuery"},decls:8,vars:9,consts:[["searchInput",""],["auto","matAutocomplete"],[1,"team-id-select"],["id","team-id","matInput","","type","text","autocomplete","off","aria-label","Team selection",
3,"click","input","placeholder","ngModel","disabled","matAutocomplete"],[3,"optionSelected","panelWidth","displayWith"],[1,"team-search-result",3,"value"],[1,"description",3,"matTooltip"],[1,"path-names",3,"click","matTooltip"],[1,"path-names-separator"]],template:function(a,b){if(a&1){var c=x();I(0,"div",2)(1,"input",3,0);M("click",function(){z(c);var d=L(2);return A(b.search(d.value))})("input",function(){z(c);var d=L(2);return A(b.search(d.value))});J();I(3,"mat-autocomplete",4,1);M("optionSelected",
function(d){z(c);return A(b.updateSelectionOnChange(d))});tg(5,mAb,7,7,"mat-option",5,sg);S(7,"async");J()()}a&2&&(a=L(4),C(),Gg("placeholder",b.placeholder),F("ngModel",b.teamSelected)("disabled",b.disabled)("matAutocomplete",a),eg("aria-disabled",b.disabled),C(2),F("panelWidth",b.panelWidth)("displayWith",b.displayFn),C(2),ug(U(7,7,b.teamSuggestions$)))},dependencies:[pN,rN,My,sN,FH,HH,ki,tz,Bz,Iw,Pw],styles:["input[type=text][_ngcontent-%COMP%]{width:100%}.team-search-result[_ngcontent-%COMP%]{line-height:16px;border:1px solid;border-color:#dadce0;border-color:var(--divider);.path-names-separator-color:#202124;.path-names-separator-color:var(--text)}.team-search-result[_ngcontent-%COMP%]   .path-names[_ngcontent-%COMP%]{color:#202124;color:var(--text);font-size:.8125rem;font-weight:500;overflow-wrap:break-word;white-space:pre-wrap}.team-search-result[_ngcontent-%COMP%]   .path-names[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link);text-decoration:underline}.team-search-result[_ngcontent-%COMP%]   .path-names[_ngcontent-%COMP%]:first-of-type{margin-left:0}.team-search-result[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{font-size:.75rem;color:#5f6368;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}"],
changeDetection:0});var jAb=function(a,b,c){this.pathIds=a;this.pathNames=b;this.id=a[a.length-1];this.name=b[b.length-1];this.description=c||"";this.teamPath=b.map(function(d,e){return new Q4c(a.slice(0,e+1),b.slice(0,e+1))})},Q4c=function(a,b){this.pathIds=a;this.pathNames=b;this.name=b.length>0?b[b.length-1]:"";this.pathNameText=b.join(" > ")};var B4=function(){var a=this;this.trackerFridge=r(vH);this.placeholder="Choose Tracker";this.disabled=!1;this.onTrackerSelect=new rG;this.searchQuery$=new Jf;this.trackerSuggestions$=this.searchQuery$.pipe(Af(300),Ef(),Nf(function(b){return a.trackerFridge.watchMany({filter:b,pageSize:5})}),B(function(b){return b.results}));this.displayFn=function(b){return b?b.name:""}};B4.prototype.ngAfterViewInit=function(){};B4.prototype.updateSelectionOnChange=function(a){this.onTrackerSelect.emit(a.option.value)};
B4.prototype.search=function(a){this.searchQuery$.next(a)};B4.\u0275fac=function(a){return new (a||B4)};
B4.\u0275cmp=t({type:B4,selectors:[["b-tracker-picker"]],viewQuery:function(a,b){a&1&&Mg(sN,7);if(a&2){var c;Qg(c=Rg())&&(b.autocompleteTrigger=c.first)}},inputs:{selectedTracker:"selectedTracker",placeholder:"placeholder",disabled:"disabled"},outputs:{onTrackerSelect:"onTrackerSelect"},decls:7,vars:8,consts:[["trackerSearchInput",""],["auto","matAutocomplete"],["id","tracker-id","type","text","autocomplete","off","aria-label","Tracker selection",3,"click","input","placeholder","ngModel","disabled",
"matAutocomplete"],[3,"optionSelected","displayWith"],[1,"tracker-search-result",3,"value"],[1,"tracker-name"]],template:function(a,b){if(a&1){var c=x();I(0,"input",2,0);M("click",function(){z(c);var d=L(1);return A(b.search(d.value))})("input",function(){z(c);var d=L(1);return A(b.search(d.value))});J();I(2,"mat-autocomplete",3,1);M("optionSelected",function(d){z(c);return A(b.updateSelectionOnChange(d))});tg(4,nAb,3,2,"mat-option",4,sg);S(6,"async");J()}a&2&&(a=L(3),F("placeholder",b.placeholder)("ngModel",
b.selectedTracker)("disabled",b.disabled)("matAutocomplete",a),eg("aria-disabled",b.disabled),C(2),F("displayWith",b.displayFn),C(2),ug(U(6,6,b.trackerSuggestions$)))},dependencies:[pN,rN,My,sN,ki,tz,Bz,Iw],styles:[".tracker-search-result.mat-mdc-option[_ngcontent-%COMP%]{line-height:normal;height:auto;padding:0 8px}.tracker-search-result.mat-mdc-option.mat-active[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.16);background-color:var(--active-bg)}.tracker-search-result[_ngcontent-%COMP%]   .tracker-name[_ngcontent-%COMP%]{color:#202124;color:var(--text);font-size:.8125rem;padding:4px 0;overflow-wrap:break-word;white-space:pre-wrap}"],
changeDetection:0});var C4=function(){Z.apply(this,arguments);this.analytics=r(wG);this.customFieldsApi=r(wF);this.savedSearchApi=r(pF);this.hotlistApi=r(hF);this.trackerFridge=r(vH);this.issueSearchResources=r(z4);this.activeSession=r(dv);this.elementRef=r(ge);this.errorHandler=r(jE);this.componentActions=r(gO);this.teamsService=r(lH);this.searchRuleConfigService=r(k4);this.searchRuleFactory=r(l4);this.cdr=r(sG,{self:!0});this.trackerHelpers=r(yL);this.currentUserBookmarksFridge=r(rF);this.sessionIsInternal=this.activeSession.isInternalSession();
this.isTrackerSearchEnabled=!1;this.typeLabels=R4c;this.globalTypeLabels=S4c;this.availableLabels=[];this.state="INIT";this.expressions=[];this.components={};this.trackers={};this.teams={};this.hotlists={};this.savedSearches={};this.customFields={};this.userHotlists=[];this.userSavedSearches=[];this.trackerUnderEdit=this.teamUnderEdit=this.componentUnderEdit=this.chipUnderEdit=null};Y(C4,Z);C4.\u0275dir=Z.\u0275dir;
var T4c=function(a){var b=[];Cc(n4(a.searchRuleConfigService),function(c,d){d==="SAVED_SEARCH_ID"||d==="TRACKER_ID"&&!a.isTrackerSearchEnabled||d==="TEAM_ID"&&!a.sessionIsInternal||(c.name?b.push([d,c.name]):b.push([d,kKa(d)]))},a);b.sort(function(c,d){return Jba(c[1],d[1])});b.push(["SAVED_SEARCH_ID","Saved search"]);b.push(["CUSTOM_FIELD","Custom field"]);return b};C4.prototype.schedule=function(a){this.subscriptions.add(Ue.schedule(a))};C4.prototype.ngOnInit=function(){this.cdr.detectChanges()};
C4.prototype.ngOnChanges=function(a){a.isTrackerSearchEnabled&&(this.availableLabels=T4c(this))};
var W4c=function(a,b){a.reset();b?U4c(a,b):(a.expressions=V4c.map(function(c){return BBb(a.searchRuleFactory,c)}),a.state="SUCCESS");Je(Bcc(a.currentUserBookmarksFridge)).then(function(c){a.userSavedSearches=c;c=k(a.userSavedSearches);for(var d=c.next();!d.done;d=c.next())d=d.value,a.savedSearches[d.searchId]=d;a.cdr.detectChanges()});Je(sF(a.currentUserBookmarksFridge)).then(function(c){a.userHotlists=c;c=k(a.userHotlists);for(var d=c.next();!d.done;d=c.next())d=d.value,a.hotlists[d.hotlistId]=d;
a.cdr.detectChanges()});a.cdr.detectChanges()},U4c=function(a,b){P4c(a.issueSearchResources,b).then(function(c){if(c.syntaxError)return a.state="SYNTAX_ERROR",a.analytics.trackEvent("adv-search","adv-search-syntax-error"),a.cdr.detectChanges(),null;a.expressionType=c.type;a.expressions=[];c=c.expressions.map(function(d){return X4c(a,d)});return Promise.all(c).then(function(d){if(d.every(function(f){return!!f})){a.state="SUCCESS";d=k(d);for(var e=d.next();!e.done;e=d.next())a.expressions.push(e.value)}else a.state=
"NOT_REPRESENTABLE",a.analytics.trackEvent("adv-search","adv-search-not-rep-error");a.cdr.detectChanges()})}).catch(function(c){a.state="SERVER_ERROR";a.errorHandler.errorHandler(null,c);a.cdr.detectChanges()})},X4c=function(a,b){b.label&&b.label.field==="TRACKER_ID"&&!a.isTrackerSearchEnabled&&(b.label.field="_TEXT_");b.label&&b.label.field==="TEAM_ID"&&!a.sessionIsInternal&&(b.label.field="_TEXT_");return b.label&&b.label.field==="CUSTOM_FIELD"&&b.label.customFieldId!==void 0?Y4c(a,b.label.customFieldId).then(function(c){b.customField=
c;return Z4c(a,b)}):Promise.resolve(Z4c(a,b))},Y4c=function(a,b){return a.customFields[b]?Promise.resolve(a.customFields[b]):a.customFieldsApi.get(b).then(function(c){return a.customFields[b]=c})},Z4c=function(a,b){b=b.type==="ERR"?null:a.searchRuleFactory.build(b);if(!b||b&&!b.isValid())return null;$4c(a,b);return b},$4c=function(a,b){switch(b.label.field){case "COMPONENT_ID":b=k(b.values);for(var c=b.next();!c.done;c=b.next())c=cm(c.value.value),a.components[c]||a.fetchComponent(c);break;case "TRACKER_ID":if(a.isTrackerSearchEnabled)for(b=
k(b.values),c=b.next();!c.done;c=b.next())c=c.value.value,a.trackers[c]||a5c(a,c);break;case "TEAM_ID":if(a.sessionIsInternal)for(b=k(b.values),c=b.next();!c.done;c=b.next())c=c.value.value,a.teams[c]||b5c(a,c);break;case "SAVED_SEARCH_ID":b=k(b.values);for(c=b.next();!c.done;c=b.next())c=c.value,a.savedSearches[c.value]||a.savedSearchApi.get(c.value).then(function(d){a.savedSearches[d.searchId]=d});break;case "HOTLIST_ID":for(b=k(b.values),c=b.next();!c.done;c=b.next())c=c.value,a.hotlists[c.value]||
a.hotlistApi.get(c.value).then(function(d){a.hotlists[d.hotlistId]=d})}};C4.prototype.fetchComponent=function(a){var b=this;this.componentActions.get(a).then(function(c){var d;vq(b.activeSession)&&c.trackerId!==((d=b.activeSession.getTracker())==null?void 0:d.trackerId)||(b.components[a]=c)})};
var a5c=function(a,b){a.trackerFridge.watch(b).pipe(Of(a.destroyed$)).subscribe(function(c){c&&(a.trackers[b]=c)})},b5c=function(a,b){nH(a.teamsService,b).pipe(xf(function(){return Fe([])}),Of(a.destroyed$)).subscribe(function(c){c.length>0?(c=c[0],a.teams[b]={id:c.teamId,pathNames:c.pathNames,name:c.name,description:c.description}):a.teams[b]={id:b,pathNames:[b],name:b,description:""}})},c5c=function(a){var b=a.expressionType==="AND"?" ":" | ";return aZb(a.expressions.map(function(c){return c.label?
c.toString():""}),m6b).join(b)};C4.prototype.getState=function(){return this.state};C4.prototype.reset=function(){this.expressionType="AND";this.expressions=[];this.state="INIT"};
var EBb=function(a,b){var c=a.expressions[b],d=c.label;d.field==="CUSTOM_FIELD"?c.isPendingCustomField=!0:(a.expressions[b]=BBb(a.searchRuleFactory,d.field),CBb(a,a.expressions[b]));a.cdr.detectChanges()},CBb=function(a,b){var c=b.getWidgetType();c==="component"||c==="savedsearch"||c==="hotlist"||c==="text"||c==="team"||c==="tracker"||c==="repeatedenum"?Ku(a,b):c==="date"&&(b.dateFrom||(b.dateFrom=C4c(new Di)),b.dateTo||(b.dateTo=C4c(new Di)))};
C4.prototype.removeExpression=function(a){Sa(this.expressions,a);this.cdr.detectChanges()};var Ku=function(a,b){var c={value:""};b.values.push(c);b.label.field==="COMPONENT_ID"?KAb(a,c):b.label.field==="TRACKER_ID"?RAb(a,c):b.label.field==="TEAM_ID"?YAb(a,c):b.label.field==="CUSTOM_FIELD"?tAb(a,c):Lu(a,c);a.cdr.detectChanges()},Ju=function(a,b,c){Sa(b.values,c);b.values.length||a.removeExpression(b);a.cdr.detectChanges()};
C4.prototype.getDateValue=function(a){var b,c=a.match(a4c);return c?(b||(b=new Date),c[1]&&b.setDate(b.getDate()+ +c[1]),String(b.getUTCMonth()+1)+"/"+String(b.getUTCDate())+"/"+String(b.getUTCFullYear())):a};
var Lu=function(a,b){a.chipUnderEdit=b;a.cdr.detectChanges()},KAb=function(a,b){Lu(a,b);a.componentUnderEdit=b.value?zi(a.components[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-component-picker input").focus()})},tAb=function(a,b){Lu(a,b);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-adv-search-custom-repeated-enum-chip input").focus()})},RAb=function(a,b){Lu(a,b);a.trackerUnderEdit=b.value?zi(a.trackers[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-tracker-picker input").focus()})},
YAb=function(a,b){Lu(a,b);a.teamUnderEdit=b.value?zi(a.teams[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})},Iu=function(a){a.chipUnderEdit=null;a.cdr.detectChanges()},$Ab=function(a,b){a.analytics.trackEvent("search","builder-autocomplete-select","team",isNaN(Number(b.id))?0:Number(b.id));a.chipUnderEdit.value=b.id;a.teams[b.id]=b;a.teamUnderEdit=null;Iu(a);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})};
C4.prototype.getTypeLabel=function(a,b){var c,d;return((c=this.typeLabels[a.label.field])==null?void 0:c[b])||((d=this.typeLabels[a.getWidgetType()])==null?void 0:d[b])||this.typeLabels.DEFAULT[b]};C4.prototype.getCustomFieldName=function(a){return(a=a.label.customFieldId)?this.customFields[a].name||String(a):""};C4.prototype.getComponentPath=function(a){if(!a)return"";var b=Nu(this.trackerHelpers,a.componentPathInfo);return b&&b.componentPathName?b.componentPathName.join(" > "):a.name};
var S4c={AND:"Match all (AND)",OR:"Match any (OR)"},R4c={DEFAULT:{AND:"All of",OR:"Any of",NOR:"Not all of",NAND:"None of",LT:"Before",GT:"After",LE:"On or before",GE:"On or after",DURATION:"Within (days)",NDURATION:"Not within (days)",RANGE:"Between",NRANGE:"Not between"},bool:{OR:"Is true",NAND:"Is false"},boolwithall:{OR:"Is true",NAND:"Is false",AND:"Include all"},text:{OR:"Matches any",NAND:"Doesn't match",AND:"Matches all"},date:{OR:"On"},number:{LT:"Less than",GT:"Greater than",LE:"Less or equal",
GE:"Greater or equal"}},V4c=["COMPONENT_ID","ASSIGNEE","STATUS","_TEXT_"];C4.\u0275fac=function(){var a;return function(b){return(a||(a=de(C4)))(b||C4)}}();
C4.\u0275cmp=t({type:C4,selectors:[["b-advanced-search"]],inputs:{isTrackerSearchEnabled:"isTrackerSearchEnabled"},features:[Yg([sG]),cg,Hd],decls:1,vars:1,consts:[["newExpressionMenu","matMenu"],[1,"bv2-adv-search"],[1,"bv2-adv-search-title-container"],[1,"bv2-adv-search-title"],["appearance","outline","subscriptSizing","dynamic"],[1,"bv2-adv-search-rule"],[1,"bv2-adv-search-rule","bv2-adv-search-rule-new"],["mat-stroked-button","","type","button",1,"bv2-adv-search-rule-type","bv2-adv-search-rule-jfk-select",
3,"matMenuTriggerFor"],[1,"mat-select-panel"],["mat-menu-item","","type","button"],["color","primary",1,"bv2-adv-search-join-type",3,"ngModelChange","ngModel"],[3,"value"],[1,"bv2-adv-search-rule-title"],[1,"bv2-adv-search-rule-type","bv2-adv-search-rule-jfk-select",3,"ngModelChange","selectionChange","ngModel"],[1,"bv2-adv-search-rule-content"],[1,"bv2-adv-search-custom-field-label"],[1,"bv2-adv-search-custom-field-selection"],["aria-label","Delete search rule",1,"bv2-remove-icon","keep-focus-ring",
"bv2-adv-search-rule-delete-btn",3,"click"],[1,"bv2-adv-search-rule-op","bv2-adv-search-rule-jfk-select",3,"ngModelChange","ngModel"],[1,"bv2-adv-search-chip-container"],[1,"bv2-adv-search-enum-rule"],["mat-stroked-button","",1,"bv2-adv-search-chip-add-btn"],[1,"bv2-adv-search-chip","bv2-adv-search-custom-repeated-enum-chip"],[1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-btn",3,"title"],[1,"bv2-adv-search-chip-content"],["aria-label","Remove the value",1,"bv2-adv-search-chip-delete-btn",
"bv2-remove-icon",3,"click"],[1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-btn",3,"click","title"],[1,"bv2-adv-search-chip-content-text"],[1,"bv2-search-custom-repeated-enum-picker",3,"onValueChange","showPlaceholder","customFieldTitle","currentInputValue","allowedValues"],["mat-stroked-button","",1,"bv2-adv-search-chip-add-btn",3,"click"],[1,"bv2-adv-search-enum-item"],[3,"change","checked"],["type","text","aria-label","Add one or more user names, separated by comma","placeholder",
"One or more user names, comma-separated",3,"ngModelChange","ngModel","bContactAutocomplete"],["type","text","aria-label","Add one or more values, separated by comma","placeholder","One or more values, comma-separated",3,"ngModelChange","ngModel"],["type","text","placeholder","One or more IDs, comma-separated - e.g., 1,2,3",3,"ngModelChange","ngModel"],["type","text","aria-label","Add the condition",3,"ngModelChange","ngModel"],[1,"bv2-adv-search-chip","bv2-adv-search-chip-text"],["aria-label","Remove the condition",
1,"bv2-adv-search-chip-delete-btn","bv2-remove-icon",3,"click"],[1,"bv2-adv-search-chip","bv2-adv-search-component-chip"],["role","switch","aria-label","Include subcomponents",1,"unstyled-button",3,"click","title"],[3,"svgIcon"],[1,"bv2-search-component-picker",3,"selectedComponentChange","selectedComponent","placeholder","isRequired"],[1,"bv2-adv-search-chip","bv2-adv-search-tracker-chip"],[1,"bv2-search-tracker-picker",3,"onTrackerSelect","selectedTracker"],[1,"bv2-adv-search-chip","bv2-adv-search-team-chip"],
["role","switch","aria-label","Include subteams",1,"unstyled-button",3,"click","title"],[1,"bv2-search-team-picker",3,"onTeamSelect","teamSelected"],[3,"boundValueChange","boundValue","isRequired"],["type","text","maxlength","3",1,"bv2-duration-field",3,"ngModelChange","ngModel"],[1,"bv2-adv-search-chip","bv2-adv-search-bookmark-item-chip"],["appearance","outline","subscriptSizing","dynamic",1,"bv2-adv-search-bookmark-item-form-field"],["placeholder","Select hotlist",1,"bv2-adv-search-chip-content",
"bv2-adv-search-chip-content-selectable",3,"ngModelChange","selectionChange","ngModel"],["placeholder","Select search",1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-selectable",3,"ngModelChange","selectionChange","ngModel"],[3,"fieldSelected"],["mat-menu-item","","type","button",3,"click"]],template:function(a,b){a&1&&D(0,HBb,14,3,"div",1);a&2&&G(b.getState()==="SUCCESS"?0:-1)},dependencies:[$D,YJ,Z0,ki,tz,Nz,Bz,x1,vD,Vy,MN,$z,vI,yI,wI,zI,eQ,mQ,My,qN,uN,A4,B4,sO,vN,Nw,hsc],styles:['[_nghost-%COMP%]     .mat-mdc-form-field-infix{width:unset;min-width:105px;border:0}[_nghost-%COMP%]     .mat-mdc-select-value-text{max-width:unset;color:#5f6368;color:var(--muted);font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;font-weight:500;letter-spacing:0.0107142857em;font-variant-ligatures:none}[_nghost-%COMP%]     .bv2-custom-field-picker{width:unset}[_nghost-%COMP%]     .bv2-adv-search-title-container .mat-mdc-form-field-infix{min-width:120px}.mat-mdc-form-field[_ngcontent-%COMP%]{margin-right:5px;text-align:center;display:inline-block}.mat-mdc-form-field[_ngcontent-%COMP%]{--mat-form-field-container-height:36px;--mat-form-field-filled-label-display:none;--mat-form-field-container-vertical-padding:6px;--mat-form-field-filled-with-label-container-padding-top:6px;--mat-form-field-filled-with-label-container-padding-bottom:6px}.bv2-adv-search-title-container[_ngcontent-%COMP%]{display:flex;align-items:center}.bv2-adv-search-title[_ngcontent-%COMP%]{font-weight:bold;padding-left:8px;margin-right:5px;display:inline-block;min-width:254px}.bv2-adv-search-bookmark-item-chip[_ngcontent-%COMP%]{align-items:baseline}.bv2-adv-search-bookmark-item-form-field[_ngcontent-%COMP%]{text-align:left;width:100%}div.bv2-adv-search-enum-item[_ngcontent-%COMP%]{max-width:170px;min-width:170px;padding:0}']});var D4=function(){};D4.\u0275fac=function(a){return new (a||D4)};D4.\u0275mod=u({type:D4});D4.\u0275inj=p({imports:[RE,wN,yN,LH,Qz]});var E4=function(){};E4.\u0275fac=function(a){return new (a||E4)};E4.\u0275mod=u({type:E4});E4.\u0275inj=p({imports:[RE,wN,yN,LH,Qz]});var F4=function(){};F4.\u0275fac=function(a){return new (a||F4)};F4.\u0275mod=u({type:F4});F4.\u0275inj=p({imports:[RE,ZJ,a1,Qz,H1,JH,NN,PN,EI,mR,yN,gM,D4,E4,bW,zN]});var G4=function(){this.domSafe=r(mM);this.buttonLabel="";this.alertMode=this.menuMode=!1},IBb=function(a){Dq(a.domSafe,"https://g3doc.corp.google.com/company/teams/buganizer/release-notes/b3-releasenotes.md")};G4.\u0275fac=function(a){return new (a||G4)};
G4.\u0275cmp=t({type:G4,selectors:[["b-whats-new-button"]],inputs:{buttonLabel:"buttonLabel",menuMode:"menuMode",alertMode:"alertMode"},decls:2,vars:1,consts:[["mat-menu-item","","aria-label","Open release notes in a new tab"],["mat-icon-button","","aria-label","Open release notes in a new tab",3,"matTooltip"],["mat-menu-item","","aria-label","Open release notes in a new tab",3,"click"],["mat-icon-button","","aria-label","Open release notes in a new tab",3,"click","matTooltip"],[3,"svgIcon"]],template:function(a,
b){a&1&&D(0,JBb,2,1,"button",0)(1,KBb,3,3,"button",1);a&2&&G(b.menuMode?0:1)},dependencies:[$D,vD,Xy,wI,FH,HH],styles:["[_nghost-%COMP%] { display: flex; }"]});var d5c=function(){};d5c.\u0275fac=function(a){return new (a||d5c)};d5c.\u0275cmp=t({type:d5c,selectors:[["b-feature-stage-label"]],inputs:{featureStage:"featureStage"},decls:2,vars:1,consts:[[1,"badged","teamfood"],[1,"badged","early-access"]],template:function(a,b){a&1&&D(0,LBb,1,0,"div",0)(1,MBb,1,0,"div",1);if(a&2){var c;G((c=b.featureStage)==="TEAM_FOOD"?0:c==="EARLY_ACCESS"?1:-1)}},styles:[".badged[_ngcontent-%COMP%]::after{margin-left:0}"]});var H4=function(){Z.apply(this,arguments);this.session=r(dv);this.appsEvents=r(nE);this.prefsManager=r(yH);this.enableWhatsNewDialog=lu(this.session,"enableWhatsNewDialog");this.enableBeap=lu(this.session,"enableBeap");this.ThemePreferencesDensity=f7b;this.density="COMFORTABLE"};Y(H4,Z);H4.\u0275dir=Z.\u0275dir;g=H4.prototype;g.ngOnInit=function(){var a=this;this.prefsManager.preferences$.pipe(Of(this.destroyed$)).subscribe(function(b){if(b==null?0:b.themePreferences)a.density=b.themePreferences.density})};
g.setDensity=function(a){this.appsEvents.topBarEvents.setDensity.next(a)};g.browseComponents=function(a){this.appsEvents.topBarEvents.browseComponents.next({newTab:a.ctrlKey||a.metaKey})};g.manageHotlists=function(a){this.appsEvents.topBarEvents.manageHotlists.next({newTab:a.ctrlKey||a.metaKey})};g.manageSlos=function(a){this.appsEvents.topBarEvents.manageSlos.next({newTab:a.ctrlKey||a.metaKey})};H4.\u0275fac=function(){var a;return function(b){return(a||(a=de(H4)))(b||H4)}}();
H4.\u0275cmp=t({type:H4,selectors:[["b-app-settings-menu"]],features:[cg],decls:28,vars:13,consts:[["settingsMenu","matMenu"],["mat-icon-button","","matTooltip","Settings","aria-label","Settings",3,"disabled","matMenuTriggerFor"],["svgIcon","settings-outline",1,"icon-m"],[1,"b-menu-header"],["mat-menu-item","","role","menuitemcheckbox","aria-label","set display density to comfortable",3,"click"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],["mat-menu-item","","role","menuitemcheckbox",
"aria-label","set display density to cozy",3,"click"],["mat-menu-item","","role","menuitemcheckbox","aria-label","set display density to compact",3,"click"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"click",4,"internalOnly"],["mat-menu-item","","href","/settings/early-access"],["featureStage","TEAM_FOOD","matTooltip","Teamfood"],["buttonLabel","Release Notes",3,"menuMode"]],template:function(a,b){if(a&1){var c=x();I(0,"button",1);K(1,"mat-icon",2);J();I(2,"mat-menu",null,0)(4,"div",3);
Q(5,"Display Density");J();I(6,"button",4);M("click",function(){z(c);return A(b.setDensity(b.ThemePreferencesDensity.COMFORTABLE))});I(7,"span",5);K(8,"mat-icon",6);J();Q(9," Comfortable ");J();I(10,"button",7);M("click",function(){z(c);return A(b.setDensity(b.ThemePreferencesDensity.COZY))});I(11,"span",5);K(12,"mat-icon",6);J();Q(13," Cozy ");J();I(14,"button",8);M("click",function(){z(c);return A(b.setDensity(b.ThemePreferencesDensity.COMPACT))});I(15,"span",5);K(16,"mat-icon",6);J();Q(17," Compact ");
J();K(18,"mat-divider");I(19,"button",9);M("click",function(d){z(c);return A(b.browseComponents(d))});Q(20,"Browse components");J();I(21,"button",9);M("click",function(d){z(c);return A(b.manageHotlists(d))});Q(22,"Manage hotlists");J();D(23,NBb,2,0,"button",10);I(24,"button",9);M("click",function(d){z(c);b.appsEvents.topBarEvents.openSettings.next({newTab:d.ctrlKey||d.metaKey});return A()});Q(25,"Settings");J();D(26,OBb,3,0,"a",11)(27,PBb,2,1);J()}a&2&&(a=L(3),F("disabled",b.session.isAnonymous())("matMenuTriggerFor",
a),C(6),ng("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COMFORTABLE),eg("aria-checked",b.density===b.ThemePreferencesDensity.COMFORTABLE),C(4),ng("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COZY),eg("aria-checked",b.density===b.ThemePreferencesDensity.COZY),C(4),ng("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COMPACT),eg("aria-checked",b.density===b.ThemePreferencesDensity.COMPACT),C(12),G(b.enableBeap?26:-1),C(),G(b.enableWhatsNewDialog?27:-1))},dependencies:[$D,
vI,yI,wI,zI,vD,Xy,DM,FH,HH,G4,MU,d5c],encapsulation:2,changeDetection:0});var I4=function(){this.theme=r($S);this.isDark=!1;this.iconName="dark-mode-filled"};I4.prototype.ngOnInit=function(){this.theme.loadLocalDarkmode();e5c(this)};var e5c=function(a){a.isDark=a.theme.clientDarkmodeSubject.getValue();a.iconName=a.isDark?"brightness-high":"dark-mode-filled"};I4.\u0275fac=function(a){return new (a||I4)};
I4.\u0275cmp=t({type:I4,selectors:[["theme-change-btn"]],decls:2,vars:1,consts:[["mat-icon-button","","matTooltip","Change theme","aria-label","Change the application's visual theme",3,"click"],[3,"svgIcon"]],template:function(a,b){a&1&&(I(0,"button",0),M("click",function(){var c=b.theme;c.setLocalDarkmode(!c.clientDarkmodeSubject.getValue());c.clientStreamzService&&soc(c.clientStreamzService,"toggleDarkmode",!c.clientDarkmodeSubject.getValue());RDc(c,!c.clientDarkmodeSubject.getValue());e5c(b)}),
K(1,"mat-icon",1),J());a&2&&(C(),F("svgIcon",b.iconName))},dependencies:[$D,vD,Xy,FH,HH],encapsulation:2});var J4=function(){this.session=r(dv);this.userFeedback=r(HU);this.domSafe=r(mM);this.docLinks=r(cL);this.enableWhatsNewDialog=lu(this.session,"enableWhatsNewDialog");this.majorReleaseNotesUpdated=lu(this.session,"majorReleaseNotesUpdated")};J4.prototype.openFeedbackDialog=function(){this.userFeedback.startFeedback()};J4.\u0275fac=function(a){return new (a||J4)};
J4.\u0275cmp=t({type:J4,selectors:[["b-app-actions"]],decls:6,vars:1,consts:[["id","whatsNewButton",3,"alertMode"],["mat-icon-button","","class","feedback-button","matTooltip","Send feedback","aria-label","send feedback",3,"click",4,"internalOnly"],["mat-icon-button","","matTooltip","Help","aria-label","help",3,"click"],["svgIcon","help-outline"],["mat-icon-button","","matTooltip","Send feedback","aria-label","send feedback",1,"feedback-button",3,"click"],["svgIcon","feedback-outline"]],template:function(a,
b){a&1&&(K(0,"theme-change-btn"),D(1,QBb,1,1,"b-whats-new-button",0)(2,RBb,2,0,"button",1),I(3,"button",2),M("click",function(){var c=b.domSafe,d=c.openInNewTab;var e=b.docLinks;e=e.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide":e.baseDocumentationUrl;d.call(c,e)}),K(4,"mat-icon",3),J(),K(5,"b-app-settings-menu"));a&2&&(C(),G(b.enableWhatsNewDialog?1:-1))},dependencies:[$D,vD,Xy,FH,HH,G4,MU,I4,H4],styles:["[_nghost-%COMP%]{display:flex;align-items:center;flex-wrap:nowrap;color:#5f6368;color:var(--icon)}.new-feature-link[_ngcontent-%COMP%]{color:#3c4043;color:var(--c800)}/*# sourceMappingURL=app_actions.css.map */"],
changeDetection:0});var TBb=function(a){return[a]},UBb=function(){return[]},K4=function(){this.activeSession=r(dv);this.clickMenu=new rG;this.showMenu=!1;this.clickLogo=new rG;this.chips=[]};K4.prototype.ngOnInit=function(){this.showMenu=!this.activeSession.isAnonymous()&&this.clickMenu.observed};K4.\u0275fac=function(a){return new (a||K4)};
K4.\u0275cmp=t({type:K4,selectors:[["app-logo"]],inputs:{imgSrc:"imgSrc",imgSrcDark:"imgSrcDark",href:"href",name:"name",chips:"chips"},outputs:{clickMenu:"clickMenu",clickLogo:"clickLogo"},ngContentSelectors:["*"],decls:9,vars:5,consts:[["mat-icon-button","","aria-label","Expand/Collapse Navigation",1,"menu"],[3,"click"],["alt","",1,"logo","light",3,"src"],["alt","",1,"logo","dark",3,"src"],[1,"b-chip",3,"ngClass"],["mat-icon-button","","aria-label","Expand/Collapse Navigation",1,"menu",3,"click"],
["svgIcon","menu-18px"]],template:function(a,b){a&1&&(Dg(),D(0,SBb,2,0,"button",0),I(1,"a",1),M("click",function(){return b.clickLogo.emit()}),K(2,"img",2)(3,"img",3),I(4,"h1"),Q(5),J()(),Eg(6),tg(7,VBb,2,5,"output",4,sg));a&2&&(G(b.showMenu?0:-1),C(),eg("href",b.href?b.href:void 0,of),C(),F("src",b.imgSrc,of),C(),F("src",b.imgSrcDark||b.imgSrc,of),C(2),Tg(b.name),C(2),ug(b.chips))},dependencies:[Ew,$D,vD,Xy],styles:['[_nghost-%COMP%]{box-sizing:border-box;height:48px;padding:0 16px;min-width:300px}[_nghost-%COMP%], a[_ngcontent-%COMP%]{display:flex;align-items:center}.menu[_ngcontent-%COMP%]{color:#3c4043;color:var(--gfx);margin-right:12px}.logo[_ngcontent-%COMP%]{width:30px;height:30px;padding:3px;margin-right:12px}h1[_ngcontent-%COMP%]{font-family:"Google Sans",Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1rem;letter-spacing:.00625em;font-weight:500;color:#3c4043;color:var(--gfx);font-size:1.375rem;font-weight:normal;display:inline-block;margin:0;padding:0;margin-right:8px;white-space:nowrap}.dark-mode   [_nghost-%COMP%]     .logo{filter:brightness(1.1) contrast(1.3)}.logo.dark[_ngcontent-%COMP%]{display:none}.dark-mode   [_nghost-%COMP%]     .logo.light{display:none}.dark-mode   [_nghost-%COMP%]     .logo.dark{display:inline-block}/*# sourceMappingURL=app_logo.css.map */'],
changeDetection:0});var L4=function(){this.events=r(nE);this.imageUrls=r(iO);this.environmentType="QA";this.frontendAccessMode="INTERNAL";this.href="/";this.chips=[];this.name="Buganizer"};L4.prototype.ngOnInit=function(){var a=this.environmentType==="QA"?this.frontendAccessMode==="INTERNAL"||this.frontendAccessMode==="PARTNER"?"QA":"sandbox":this.environmentType==="NIGHTLY"?"nightly":this.environmentType==="DEV"?"dev":"";a&&this.chips.push({name:a,color:"purple"})};
L4.prototype.ngOnChanges=function(a){if(a.tracker||a.frontendAccessMode)this.name=this.getAppName()};L4.prototype.getAppName=function(){if(this.tracker)return this.tracker.name;switch(this.frontendAccessMode){case "INTERNAL":return"Buganizer";case "PARTNER":return"Partner IssueTracker";case "PUBLIC":return"IssueTracker";default:xb(this.frontendAccessMode,"unknown frontend access mode.")}};
ea.Object.defineProperties(L4.prototype,{useNewLogo:{configurable:!0,enumerable:!0,get:function(){return this.frontendAccessMode==="INTERNAL"}},imgSrc:{configurable:!0,enumerable:!0,get:function(){var a=this.useNewLogo?this.imageUrls.LOGO_LIGHT:"https://www.gstatic.com/buganizer/img/v0/logo.svg",b,c;return((b=this.tracker)==null?void 0:(c=b.branding)==null?void 0:c.logoUrl)||a}},imgSrcDark:{configurable:!0,enumerable:!0,get:function(){var a,b;return((a=this.tracker)==null?void 0:(b=a.branding)==null?
void 0:b.logoUrl)||"https://www.gstatic.com/buganizer/img/v3/logo_dark.svg"}}});L4.\u0275fac=function(a){return new (a||L4)};
L4.\u0275cmp=t({type:L4,selectors:[["b-app-logo"]],inputs:{environmentType:"environmentType",frontendAccessMode:"frontendAccessMode",tracker:"tracker",href:"href"},features:[Hd],decls:1,vars:5,consts:[[3,"clickMenu","name","href","chips","imgSrc","imgSrcDark"]],template:function(a,b){a&1&&(I(0,"app-logo",0),M("clickMenu",function(){return b.events.onClickAppMenuIcon.next()}),J());a&2&&F("name",b.name)("href",b.href)("chips",b.chips)("imgSrc",b.imgSrc)("imgSrcDark",b.imgSrcDark)},dependencies:[K4],
encapsulation:2,changeDetection:0});var M4=function(){this.isActive=!1;this.optionClicked=new rG};M4.prototype.ngOnInit=function(){};M4.prototype.onClick=function(){this.optionClicked.emit(this.index)};M4.\u0275fac=function(a){return new (a||M4)};
M4.\u0275cmp=t({type:M4,selectors:[["b-app-search-auto-complete-option"]],hostVars:2,hostBindings:function(a,b){a&1&&M("click",function(){return b.onClick()});a&2&&ng("active",b.isActive)},inputs:{isActive:"isActive",index:"index"},outputs:{optionClicked:"optionClicked"},ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"content","gmat-subtitle-2"]],template:function(a){a&1&&(Dg(),I(0,"div",0),Eg(1),J())},styles:["[_nghost-%COMP%]{cursor:pointer;display:flex;position:relative}.active[_nghost-%COMP%]{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}[_nghost-%COMP%]:hover:not(.active){background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.content[_ngcontent-%COMP%]{flex-grow:1;overflow:hidden;padding:8px 16px 8px 36px;text-overflow:ellipsis}.mat-ripple[_ngcontent-%COMP%]{pointer-events:none;position:absolute;height:100%;width:100%}/*# sourceMappingURL=app_search_auto_complete_option.css.map */"],
changeDetection:0});var N4=function(){this.ref=r(sG,{self:!0});this.hostElement=r(ge);this.trackerHelpers=r(yL);this.items=[];this.header=null;this.itemSelected=new rG;this.activeItemChanged=new rG;this.SPECIAL_ITEM_TYPES="issue hotlist savedsearch atom component customField team tracker".split(" ")};N4.prototype.ngOnChanges=function(a){a.items&&(this.items.length>0?(this.activeItemIndex=0,this.activeItemChanged.emit(this.items[0])):this.clearActiveItem(),this.ref.markForCheck())};N4.prototype.ngAfterViewInit=function(){};
var vCb=function(a){var b=P(3);GCb(a);b.itemSelected.emit(a)};N4.prototype.setNextItemActive=function(){this.items.length>0&&this.activeItemIndex!=null&&(this.activeItemIndex=(this.activeItemIndex+1)%this.items.length,this.activeItemChanged.emit(this.items[this.activeItemIndex]),this.ref.markForCheck(),f5c(this))};
N4.prototype.setPreviousItemActive=function(){this.items.length>0&&this.activeItemIndex!=null&&(this.activeItemIndex=(this.activeItemIndex-1+this.items.length)%this.items.length,this.activeItemChanged.emit(this.items[this.activeItemIndex]),this.ref.markForCheck(),f5c(this))};var g5c=function(a){a.activeItemIndex!=null&&a.itemSelected.emit(a.items[a.activeItemIndex])};N4.prototype.clearActiveItem=function(){this.activeItemIndex=void 0;this.activeItemChanged.emit(void 0)};
var h5c=function(a){if(a.activeItemIndex!=null&&a.itemElements){var b,c;return(c=(b=a.itemElements.get(a.activeItemIndex))==null?void 0:b.nativeElement.id)!=null?c:void 0}},f5c=function(a){var b=a.itemElements.find(function(c,d){return d===a.activeItemIndex});b&&r9a(b.nativeElement,a.hostElement.nativeElement)},GCb=function(a){vo("search","autocomplete-select",a.completionCfg.type||"unknown_type",isNaN(Number(a.id))?1:Number(a.id))};N4.\u0275fac=function(a){return new (a||N4)};
N4.\u0275cmp=t({type:N4,selectors:[["b-app-search-auto-complete-list"]],viewQuery:function(a,b){a&1&&Mg(M4,5,ge);if(a&2){var c;Qg(c=Rg())&&(b.itemElements=c)}},inputs:{items:"items",header:"header"},outputs:{itemSelected:"itemSelected",activeItemChanged:"activeItemChanged"},features:[Yg([sG]),Hd],decls:4,vars:1,consts:[[1,"header","gmat-caption"],"role;listbox;aria-label;Search autocomplete list;id;b-search-box-autocomplete".split(";"),["role","option",3,"index","isActive"],[1,"margin-s-right"],[3,
"accessLevel"],[3,"trackerId"],["role","option",3,"optionClicked","index","isActive"],[1,"monospaced","item-description"],[1,"item-description"],["role","button",3,"click","title"],[1,"item-description","item-de-emphasized"]],template:function(a,b){a&1&&(D(0,pCb,7,6,"div",0),I(1,"div",1),tg(2,HCb,10,13,"b-app-search-auto-complete-option",2,sg),J());a&2&&(G(b.header&&b.header.type?0:-1),C(2),ug(b.items))},dependencies:[cO,kO,M4,Jw],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;max-height:inherit;overflow-y:auto}.header[_ngcontent-%COMP%]{padding:4px 16px 4px 36px}.item-description[_ngcontent-%COMP%]{display:block;margin-top:5px}.item-de-emphasized[_ngcontent-%COMP%]{font-weight:lighter}span[role=button][_ngcontent-%COMP%]{cursor:pointer}span[role=button][_ngcontent-%COMP%]:hover{text-decoration:underline}/*# sourceMappingURL=app_search_auto_complete_list.css.map */"],
changeDetection:0});var i5c=["box"],j5c=["initialFocus"],k5c=["finalFocus"],O4=function(){this.documentationLinks=r(cL);this.appSearchState=r(KY);this.activeSession=r(dv);this.placeholder="";this.isSearchDisabled=!1;this.autoCompleteItems=[];this.autoCompleteHeader=null;this.onAdvancedSearchOpen=new rG;this.onAdvancedSearchClose=new rG;this.onAdvancedSearchSubmit=new rG;this.onSaveSearch=new rG;this.dropdownStatus="closed";this.searchName="";this.searchHelpLink=this.documentationLinks.baseDocumentationUrl+"/guides/search-editor";
this.destroyed$=new Jf;this.currentQuery$=this.appSearchState.queryState$.pipe(B(function(a){return a.query}));this.autoCompleteItemSelected$=new Jf;this.isAnonymous=this.activeSession.isAnonymous()};
O4.prototype.ngOnInit=function(){var a=this;this.autoCompleteItemSelected$.pipe(Qf(this.currentQuery$),Of(this.destroyed$)).subscribe(function(b){var c=k(b);b=c.next().value;c=c.next().value;b=b.completionCfg;a.appSearchState.queryState$.next({query:c.slice(0,b.startIdx)+b.completionValue+c.slice(b.endIdx),cursorPosition:b.cursorIdx!=null?b.cursorIdx:b.startIdx==null?b.completionValue.length:b.startIdx+b.completionValue.length,setViaInteraction:!1});a.inputBox.nativeElement.focus()})};
O4.prototype.ngAfterViewInit=function(){var a=this;this.appSearchState.queryState$.pipe(Ye(function(b){return!b.setViaInteraction}),Of(this.destroyed$)).subscribe(function(b){var c=b.query;b=b.cursorPosition;a.inputBox.nativeElement.value=c;b!=null&&(c=a.inputBox.nativeElement,bnc(c)&&(c.selectionStart=b,c.selectionEnd=b))})};O4.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var l5c=function(a){a.appSearchState.searchTriggered$.next("keyboard")},m5c=function(a,b){a.dropdownStatus="auto_complete";a.acList.clearActiveItem();a.appSearchState.queryState$.next({query:b,cursorPosition:a.getCursorPosition(),setViaInteraction:!0})};O4.prototype.onInputFocus=function(){this.dropdownStatus="auto_complete"};
O4.prototype.handleKeydown=function(a){switch(a.key){case "Escape":if(!P4(this))return;n5c(this);break;case "ArrowUp":if(!P4(this))return;this.acList.setPreviousItemActive();break;case "ArrowDown":if(!P4(this))return;this.acList.setNextItemActive();break;case "Tab":case "ArrowRight":if(!P4(this)){m5c(this,this.inputBox.nativeElement.value);return}g5c(this.acList);break;case "ArrowLeft":m5c(this,this.inputBox.nativeElement.value);return;case "Enter":P4(this)?this.acList.activeItemIndex!=null?g5c(this.acList):
l5c(this):l5c(this);break;default:return}a.preventDefault();a.stopPropagation()};O4.prototype.submitAdvancedSearch=function(){this.onAdvancedSearchSubmit.emit();o5c(this)};O4.prototype.getCursorPosition=function(){var a=cnc(this.inputBox.nativeElement,!0)[0];if(a===cnc(this.inputBox.nativeElement,!1)[1])return a};
var n5c=function(a){a.dropdownStatus==="auto_complete"&&(a.dropdownStatus="closed")},o5c=function(a){a.dropdownStatus==="advanced_search"&&(a.dropdownStatus="closed",a.onAdvancedSearchClose.emit())},P4=function(a){return a.dropdownStatus==="auto_complete"&&a.autoCompleteItems.length>0},p5c=function(a){return a.dropdownStatus==="auto_complete"&&a.autoCompleteHeader!=null},q5c=function(a){return a.dropdownStatus==="advanced_search"};
O4.prototype.saveSearch=function(){this.searchName&&(this.onSaveSearch.emit(this.searchName),this.searchName="",o5c(this))};var r5c=function(a,b){b.shiftKey&&b.key==="Tab"&&a.advancedSearchFinalFocus&&setTimeout(function(){return a.advancedSearchFinalFocus.nativeElement.focus()})},ICb=function(a){a.advancedSearchInitialFocus&&setTimeout(function(){return a.advancedSearchInitialFocus.nativeElement.focus()})};O4.\u0275fac=function(a){return new (a||O4)};
O4.\u0275cmp=t({type:O4,selectors:[["b-app-search-box"]],viewQuery:function(a,b){a&1&&(Mg(N4,7),Mg(i5c,5),Mg(j5c,7,ge),Mg(k5c,7));if(a&2){var c;Qg(c=Rg())&&(b.acList=c.first);Qg(c=Rg())&&(b.inputBox=c.first);Qg(c=Rg())&&(b.advancedSearchInitialFocus=c.first);Qg(c=Rg())&&(b.advancedSearchFinalFocus=c.first)}},inputs:{placeholder:"placeholder",isSearchDisabled:"isSearchDisabled",autoCompleteItems:"autoCompleteItems",autoCompleteHeader:"autoCompleteHeader"},outputs:{onAdvancedSearchOpen:"onAdvancedSearchOpen",
onAdvancedSearchClose:"onAdvancedSearchClose",onAdvancedSearchSubmit:"onAdvancedSearchSubmit",onSaveSearch:"onSaveSearch"},ngContentSelectors:["*"],decls:24,vars:19,consts:[["box",""],["initialFocus",""],["finalFocus",""],[1,"search-form-container","keep-focus-ring",3,"clickOutside"],[1,"search-box-container"],["mat-icon-button","","aria-label","Search","matTooltip","Search",3,"click"],["svgIcon","search",1,"icon-m"],["spellcheck","false","autocomplete","off","cdkTextareaAutosize","","cdkAutosizeMinRows",
"1","cdkAutosizeMaxRows","6","aria-label","Search issues","role","combobox","aria-autocomplete","list","aria-haspopup","true","aria-owns","b-search-box-autocomplete",1,"search-box",3,"keydown","input","click","focus","placeholder"],["mat-icon-button","","aria-label","Show search options","matTooltip","Show search options",3,"click"],["svgIcon","arrow-dropdown",1,"icon-m"],["role","search",1,"search-dropdown"],[3,"itemSelected","items","header"],[1,"advanced-search"],["align","right",1,"advanced-search-header"],
["mat-icon-button","","aria-label","Close advanced search","matTooltip","Close advanced search",3,"keydown","click","disabled"],["svgIcon","close",1,"icon-s"],["cdkScrollable","",1,"advanced-search-content"],[1,"advanced-search-footer"],["mat-flat-button","",1,"medium",3,"click","disabled"],["target","_blank",1,"keep-underline","search-help-link"],["svgIcon","pop-out",1,"icon-xs"],[1,"save-search-container"],["type","text","aria-label","Enter the name for saving this search.","placeholder","Save search as",
3,"ngModelChange","keydown.Tab","keydown.enter","ngModel"],["mat-icon-button","","aria-label","Save search","matTooltip","Save search",3,"click","disabled"],["svgIcon","saved-search-18px",1,"icon-s"]],template:function(a,b){if(a&1){var c=x();Dg();I(0,"div",3);M("clickOutside",function(){z(c);n5c(b);return A()});I(1,"div",4)(2,"button",5);M("click",function(){z(c);return A(l5c(b))});K(3,"mat-icon",6);J();I(4,"textarea",7,0);M("keydown",function(d){z(c);return A(b.handleKeydown(d))})("input",function(){z(c);
var d=L(5);return A(m5c(b,d.value))})("click",function(){z(c);var d=L(5);return A(m5c(b,d.value))})("focus",function(){z(c);return A(b.onInputFocus())});J();I(6,"button",8);M("click",function(){z(c);b.dropdownStatus="advanced_search";b.onAdvancedSearchOpen.emit();return A()});K(7,"mat-icon",9);J()();I(8,"aside",10)(9,"b-app-search-auto-complete-list",11);M("itemSelected",function(d){z(c);return A(b.autoCompleteItemSelected$.next(d))});J();I(10,"div",12)(11,"div",13)(12,"button",14,1);M("keydown",
function(d){z(c);return A(r5c(b,d))})("click",function(){z(c);return A(o5c(b))});K(14,"mat-icon",15);J()();I(15,"div",16);Eg(16);J();I(17,"div",17)(18,"button",18);M("click",function(){z(c);return A(b.submitAdvancedSearch())});Q(19," Search ");J();I(20,"a",19);Q(21,"Search help ");K(22,"mat-icon",20);J();D(23,JCb,5,2,"div",21);J()()()()}a&2&&(ng("dropdown-opened",P4(b)||p5c(b)||q5c(b)),C(),ng("hidden",q5c(b)),C(3),F("placeholder",b.placeholder),eg("aria-activedescendant",h5c(b.acList))("aria-expanded",
P4(b)||p5c(b)),C(4),ng("advanced-search-open",q5c(b)),C(),ng("hidden",!(P4(b)||p5c(b))),F("items",b.autoCompleteItems)("header",b.autoCompleteHeader),C(),ng("hidden",!q5c(b)),C(2),F("disabled",b.isSearchDisabled),C(6),F("disabled",b.isSearchDisabled),C(2),eg("href",b.searchHelpLink,of),C(3),G(b.isAnonymous?-1:23))},dependencies:[$D,Vx,vD,Vy,Xy,FH,HH,ki,tz,Bz,uP,eA,N4],styles:['[_nghost-%COMP%]{display:flex;align-items:center;flex-grow:1;position:relative;min-width:320px;height:40px}.search-form-container[_ngcontent-%COMP%]{position:absolute;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:#f1f3f4;background-color:var(--main-search-bg);border-radius:8px;min-width:320px;overflow:hidden;top:0;transition:all .1s ease-in-out;transition-property:box-shadow,height,max-height,overflow;width:100%}@media(forced-colors: active){.search-form-container[_ngcontent-%COMP%]{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color}}.search-box-container[_ngcontent-%COMP%]{display:flex;flex-grow:1;width:calc(100% - 16px);min-height:40px;height:auto}.search-dropdown[_ngcontent-%COMP%]{max-height:0;overflow:hidden;top:40px;width:100%;transition:max-height .2s ease-in-out}.search-form-container.dropdown-opened[_ngcontent-%COMP%]   .search-dropdown[_ngcontent-%COMP%]{max-height:600px;padding-bottom:6px}.search-dropdown[_ngcontent-%COMP%]{padding-bottom:0}.search-form-container[_ngcontent-%COMP%]:focus-within, .search-form-container.dropdown-opened[_ngcontent-%COMP%]{box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);background-color:#fff;background-color:var(--surface-default)}.search-form-container[_ngcontent-%COMP%]:focus-within   textarea[_ngcontent-%COMP%], .search-form-container.dropdown-opened[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{color:#202124;color:var(--text-default)}.search-form-container[_ngcontent-%COMP%]:focus-within   input[_ngcontent-%COMP%], .search-form-container.dropdown-opened[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{color:#202124;color:var(--text-default)}.search-form-container[_ngcontent-%COMP%]:not(:focus-within):not(.dropdown-opened)   textarea[_ngcontent-%COMP%]{height:auto !important;overflow:hidden}.mat-mdc-icon-button[_ngcontent-%COMP%]{height:24px;width:24px;line-height:24px}.search-box-container[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}.search-box-container[_ngcontent-%COMP%]   .mat-mdc-icon-button[_ngcontent-%COMP%]{margin-top:8px}textarea[_ngcontent-%COMP%]{border:0;background-color:initial;outline:none;resize:none;padding:0;cursor:auto;color:#202124;color:var(--text-high-contrast);margin:10px 0;margin-left:5px;height:20px;line-height:20px;width:100%;overflow:auto}textarea[_ngcontent-%COMP%]:focus{border:0;padding:0;outline:none}textarea[_ngcontent-%COMP%]::-webkit-scrollbar{width:10px}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-track{background-color:rgba(0,0,0,0);border-radius:10px;border:0}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-track:vertical{margin:5px 0}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-track:horizontal{margin:0 5px}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:10px;background-color:rgba(0,0,0,.2)}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.4)}textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background-color:rgba(0,0,0,.5)}.advanced-search[_ngcontent-%COMP%]{padding:6px 6px 0 6px}.advanced-search-content[_ngcontent-%COMP%]{overflow:auto;max-height:532px}.advanced-search-footer[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:6px}.search-help-link[_ngcontent-%COMP%]{margin-left:10px}.save-search-container[_ngcontent-%COMP%]{display:inline-flex;align-items:center;margin-left:auto;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:2px;padding:0 5px}.save-search-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:0;outline:none}[_nghost-%COMP%]     .bv2-adv-search-rule{background-color:#fff;background-color:var(--surface-default);display:flex;border-radius:10px;width:initial}[_nghost-%COMP%]     .bv2-adv-search-rule-title{display:flex}[_nghost-%COMP%]     .bv2-adv-search-rule-content{flex-grow:1;padding-right:25px;width:100%}[_nghost-%COMP%]     .bv2-adv-search-enum-item{min-width:130px;max-width:130px}[_nghost-%COMP%]     .bv2-adv-search-chip-content input:not(.override){border-radius:5px;border:1px solid;border-color:#dadce0;border-color:var(--divider);outline:0}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select{border-radius:5px;letter-spacing:0;min-width:105px;padding-right:24px}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select .goog-flat-menu-button-dropdown{border:0;height:initial;margin-top:initial;position:relative;right:initial;top:initial;width:initial}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled){border:1px solid;border-color:#dadce0;border-color:var(--divider);color:#3c4043;color:var(--gfx);padding-right:24px}[_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled):hover, [_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled):active, [_nghost-%COMP%]     .goog-flat-menu-button.jfk-select:not(:disabled):not(.mdc-ripple-upgraded):focus{padding-right:24px;border-color:#3c4043;border-color:var(--gfx);color:#202124;color:var(--text-default);box-shadow:none}[_nghost-%COMP%]     .goog-flat-menu-button.goog-flat-menu-button-open.jfk-select{background-color:#fff;background-color:var(--surface-default)}[_nghost-%COMP%]     .bv2-adv-search-custom-field-selection input:not(.override), [_nghost-%COMP%]     .bv2-adv-search-rule-content input:not(.override){border-radius:5px;border:1px solid;border-color:#dadce0;border-color:var(--divider);height:28px;margin:0;padding-left:10px;width:100%}[_nghost-%COMP%]     .bv2-adv-search-custom-field-selection input:not(.override):focus, [_nghost-%COMP%]     .bv2-adv-search-rule-content input:not(.override):focus{border-color:#3c4043;border-color:var(--gfx);outline:0}[_nghost-%COMP%]     .bv2-adv-search-chip-add-btn{margin-right:20px}[_nghost-%COMP%]     .bv2-adv-search-chip{display:inline-flex;border:none;background-color:#fff;background-color:var(--surface-default);height:100%;width:100%;margin-bottom:10px}[_nghost-%COMP%]     .bv2-adv-search-chip button{align-self:center}[_nghost-%COMP%]     .bv2-adv-search-chip-container{display:flex;flex-direction:column;width:100%}[_nghost-%COMP%]     .bv2-adv-search-chip-content{width:100%}[_nghost-%COMP%]     .bv2-adv-search-chip-content input[type=text]:not(.override){width:calc(100% - 10px)}[_nghost-%COMP%]     .bv2-adv-search-chip-content .bv2-adv-search-chip-delete-btn{margin-left:10px}[_nghost-%COMP%]     .bv2-adv-search-chip-content-selectable .goog-flat-menu-button{height:32px;margin:0;width:100%;text-align:left}[_nghost-%COMP%]     .bv2-adv-search-chip-content-btn{display:inline-flex;align-items:center;font-family:"Google Sans",Roboto,Arial,sans-serif;height:32px;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:5px;box-sizing:border-box;color:#3c4043;color:var(--gfx)}[_nghost-%COMP%]     .bv2-adv-search-chip-content-btn:hover, [_nghost-%COMP%]     .bv2-adv-search-chip-content-btn:active, [_nghost-%COMP%]     .bv2-adv-search-chip-content-btn:focus{border-color:#3c4043;border-color:var(--gfx);color:#202124;color:var(--text-default)}[_nghost-%COMP%]     .bv2-adv-search-chip-content-btn::after{margin-left:auto;content:"";width:16px;height:16px;background:no-repeat url("https://www.gstatic.com/buganizer/img/v0/edit.svg") 0 -2px;margin-right:5px;opacity:.6}[_nghost-%COMP%]     .bv2-adv-search-chip-content-text{font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;font-weight:500;line-height:1rem;padding-left:12px;vertical-align:middle}/*# sourceMappingURL=app_search_box.css.map */'],
changeDetection:0});var s5c=function(){this.activeSession=r(dv);this.logoEnvironmentType="QA";this.logoFrontendAccessMode="INTERNAL";this.isSearchDisabled=!1;this.searchBoxPlaceholder="";this.searchBoxAutoCompleteItems=[];this.searchBoxAutoCompleteHeader=null;this.searchBoxOnAdvancedSearchOpen=new rG;this.searchBoxOnAdvancedSearchClose=new rG;this.searchBoxOnAdvancedSearchSubmit=new rG;this.searchBoxOnSaveSearch=new rG;this.currentTracker=this.activeSession.getTracker()},t5c=function(){setTimeout(function(){var a;(a=
document.getElementById("skiplink-navigation-target").querySelectorAll('div[role="tab"],a[href],button:not([tabindex="-1"],input')[0])==null||a.focus()})};s5c.\u0275fac=function(a){return new (a||s5c)};
s5c.\u0275cmp=t({type:s5c,selectors:[["b-app-top-bar"]],inputs:{logoEnvironmentType:"logoEnvironmentType",logoFrontendAccessMode:"logoFrontendAccessMode",isSearchDisabled:"isSearchDisabled",searchBoxPlaceholder:"searchBoxPlaceholder",searchBoxAutoCompleteItems:"searchBoxAutoCompleteItems",searchBoxAutoCompleteHeader:"searchBoxAutoCompleteHeader"},outputs:{searchBoxOnAdvancedSearchOpen:"searchBoxOnAdvancedSearchOpen",searchBoxOnAdvancedSearchClose:"searchBoxOnAdvancedSearchClose",searchBoxOnAdvancedSearchSubmit:"searchBoxOnAdvancedSearchSubmit",
searchBoxOnSaveSearch:"searchBoxOnSaveSearch"},ngContentSelectors:["*"],decls:7,vars:7,consts:[[3,"environmentType","frontendAccessMode","tracker"],[1,"skip-navigation-wrapper"],["mat-button","","color","primary","aria-label","Skip to main content",1,"skip-to-main-content-link",3,"click","keydown.enter"],[3,"onAdvancedSearchOpen","onAdvancedSearchClose","onAdvancedSearchSubmit","onSaveSearch","placeholder","autoCompleteItems","autoCompleteHeader","isSearchDisabled"]],template:function(a,b){a&1&&(Dg(),
K(0,"b-app-logo",0),I(1,"div",1)(2,"button",2),M("click",function(){return t5c()})("keydown.enter",function(){return t5c()}),Q(3," Skip Navigation "),J()(),I(4,"b-app-search-box",3),M("onAdvancedSearchOpen",function(){return b.searchBoxOnAdvancedSearchOpen.emit()})("onAdvancedSearchClose",function(){return b.searchBoxOnAdvancedSearchClose.emit()})("onAdvancedSearchSubmit",function(){return b.searchBoxOnAdvancedSearchSubmit.emit()})("onSaveSearch",function(c){return b.searchBoxOnSaveSearch.emit(c)}),
Eg(5),J(),K(6,"b-app-actions"));a&2&&(F("environmentType",b.logoEnvironmentType)("frontendAccessMode",b.logoFrontendAccessMode)("tracker",b.currentTracker),C(4),F("placeholder",b.searchBoxPlaceholder)("autoCompleteItems",b.searchBoxAutoCompleteItems)("autoCompleteHeader",b.searchBoxAutoCompleteHeader)("isSearchDisabled",b.isSearchDisabled))},dependencies:[vD,Vy,L4,J4,O4],styles:["[_nghost-%COMP%]{display:flex;align-items:center;gap:32px}@media(max-width: 1099px){[_nghost-%COMP%]{gap:8px}}b-app-search-box[_ngcontent-%COMP%]{display:flex;flex-grow:1;justify-content:center}div.skip-navigation-wrapper[_ngcontent-%COMP%]   button.skip-to-main-content-link[_ngcontent-%COMP%]{position:absolute;background-color:#e8f0fe;background-color:var(--selected-bg-muted);clip:rect(1px, 1px, 1px, 1px);overflow:hidden;transform:translateX(-50%)}div.skip-navigation-wrapper[_ngcontent-%COMP%]   button.skip-to-main-content-link[_ngcontent-%COMP%]:active, div.skip-navigation-wrapper[_ngcontent-%COMP%]   button.skip-to-main-content-link[_ngcontent-%COMP%]:focus, div.skip-navigation-wrapper[_ngcontent-%COMP%]   button.skip-to-main-content-link[_ngcontent-%COMP%]:focus-visible, div.skip-navigation-wrapper[_ngcontent-%COMP%]   button.skip-to-main-content-link[_ngcontent-%COMP%]:focus-within{transform:translate(-50%, -50%);position:absolute;clip:auto;overflow:visible;z-index:1}/*# sourceMappingURL=app_top_bar.css.map */"],
changeDetection:0});var Q4=function(){};Q4.\u0275fac=function(a){return new (a||Q4)};Q4.\u0275mod=u({type:Q4});Q4.\u0275inj=p({imports:[RE,ML,JH,KO]});var R4=function(){};R4.\u0275fac=function(a){return new (a||R4)};R4.\u0275mod=u({type:R4});R4.\u0275inj=p({imports:[RE,JH,EI,LH]});var S4=function(){};S4.\u0275fac=function(a){return new (a||S4)};S4.\u0275mod=u({type:S4});S4.\u0275inj=p({imports:[RE,JH,LH]});var T4=function(){};T4.\u0275fac=function(a){return new (a||T4)};T4.\u0275mod=u({type:T4});T4.\u0275inj=p({imports:[RE]});var U4=function(){};U4.\u0275fac=function(a){return new (a||U4)};U4.\u0275mod=u({type:U4});U4.\u0275inj=p({providers:[$S]});var V4=function(){};V4.\u0275fac=function(a){return new (a||V4)};V4.\u0275mod=u({type:V4});V4.\u0275inj=p({imports:[RE,JH,LH,U4]});var W4=function(){};W4.\u0275fac=function(a){return new (a||W4)};W4.\u0275mod=u({type:W4});W4.\u0275inj=p({imports:[RE,EI,JH,MM,LH,ay,Qz,vP,R4,f0,S4,vR,gA,T4,V4,Q4,TR]});var X4=function(){};X4.\u0275fac=function(a){return new (a||X4)};X4.\u0275mod=u({type:X4});X4.\u0275inj=p({imports:[RE,JH,ML]});var Y4=function(){};Y4.\u0275fac=function(a){return new (a||Y4)};Y4.\u0275mod=u({type:Y4});Y4.\u0275inj=p({imports:[RE,Qz,JH,PN,NN,ML,bW]});var Z4=function(){this.cardTitle="";this.dropdownOptions=[];this.inheritedDisabled=this.isInherited=this.showInheritedToggle=this.showDeleteButton=this.showRequiredToggle=this.isSaveButtonDisabled=this.disabled=this.selected=!1;this.inheritedDisabledTooltipText="";this.placeholderForCardTitle="Enter the card title (Required)";this.ariaLabelForCardTitle="Card title";this.dropdownSelectionChanged=new rG;this.selectedChange=new rG;this.cardTitleChange=new rG;this.onSaveButtonClicked=new rG;this.onCancelButtonClicked=
new rG;this.isInheritedChange=new rG;this.isExpanded=!1};Z4.prototype.expand=function(){this.isExpanded=!0};Z4.prototype.collapse=function(){this.isExpanded=!1};Z4.prototype.onSave=function(){this.collapse();this.onSaveButtonClicked.emit()};Z4.prototype.onCancel=function(){this.collapse();this.onCancelButtonClicked.emit()};Z4.\u0275fac=function(a){return new (a||Z4)};
Z4.\u0275cmp=t({type:Z4,selectors:[["b-collapsible-card"]],inputs:{cardTitle:"cardTitle",dropdownOptions:"dropdownOptions",selectedOption:"selectedOption",selected:"selected",disabled:"disabled",isSaveButtonDisabled:"isSaveButtonDisabled",showRequiredToggle:"showRequiredToggle",showDeleteButton:"showDeleteButton",showInheritedToggle:"showInheritedToggle",isInherited:"isInherited",inheritedDisabled:"inheritedDisabled",inheritedDisabledTooltipText:"inheritedDisabledTooltipText",placeholderForCardTitle:"placeholderForCardTitle",
ariaLabelForCardTitle:"ariaLabelForCardTitle"},outputs:{dropdownSelectionChanged:"dropdownSelectionChanged",selectedChange:"selectedChange",cardTitleChange:"cardTitleChange",onSaveButtonClicked:"onSaveButtonClicked",onCancelButtonClicked:"onCancelButtonClicked",isInheritedChange:"isInheritedChange"},ngContentSelectors:["*"],decls:10,vars:12,consts:[[1,"carded"],[1,"flex-kids-x","flex-cross-axis-centered","card-header"],[1,"collapsible-card-checkbox",3,"change","disabled","checked","aria-label"],[1,
"card-title","heading-s",3,"muted"],["mat-icon-button","",3,"click","ngClass"],["svgIcon","chevron-left"],["svgIcon","arrow-down"],[1,"expanded-card-container"],[1,"expanded-card-actions"],[1,"card-title","heading-s"],["appearance","fill","subscriptSizing","dynamic",1,"card-title"],["matInput","","type","text","required","","aria-required","true","maxlength","40","autocomplete","off",1,"heading-s",3,"ngModelChange","placeholder","disabled","ngModel"],["appearance","outline",1,"type-dropdown"],[3,
"valueChange","selectionChange","disabled","value"],[1,"ee-config-option",3,"value"],[1,"icon-s",3,"svgIcon"],["mat-raised-button","","color","primary",3,"click","disabled"],["mat-button","","color","primary",1,"cancel-button",3,"click","disabled"],["mat-icon-button","","aria-label","Delete",1,"delete-button",3,"disabled"],[3,"vertical"],["labelPosition","before",3,"disabled"],["labelPosition","before",1,"inherited-toggle",3,"checked","disabled","matTooltip","matTooltipDisabled"],["svgIcon","delete",
1,"icon-m"],["labelPosition","before",1,"inherited-toggle",3,"change","checked","disabled","matTooltip","matTooltipDisabled"]],template:function(a,b){a&1&&(Dg(),I(0,"div",0)(1,"div",1)(2,"mat-checkbox",2),M("change",function(c){b.selected=c.checked;b.expand();b.selectedChange.emit(b.selected)}),J(),D(3,KCb,2,3,"span",3)(4,PCb,3,7),I(5,"button",4),M("click",function(){b.isExpanded?b.collapse():b.expand()}),D(6,QCb,1,0,"mat-icon",5)(7,RCb,1,0,"mat-icon",6),J()(),D(8,SCb,2,0,"div",7)(9,XCb,9,6,"div",
8),J());a&2&&(eg("aria-expanded",b.isExpanded),C(2),ng("expanded-checkbox",b.isExpanded),F("disabled",b.disabled)("checked",b.selected)("aria-label",b.cardTitle),C(),G(b.isExpanded?4:3),C(2),F("ngClass",b.isExpanded?"collapse-toggle":"expand-toggle"),eg("aria-label",b.isExpanded?"Collapse editor":"Expand editor"),C(),G(b.isExpanded?6:7),C(2),G(b.isExpanded?8:-1),C(),G(b.isExpanded?9:-1))},dependencies:[Ew,$D,ki,tz,Mz,Nz,Bz,qN,uN,vD,Vy,Xy,NH,OH,eQ,$z,Uz,mQ,nQ,My,MN,DM,ON,hA,FH,HH],styles:['.card-title[_ngcontent-%COMP%]{margin-left:10px;width:440px}.expand-toggle[_ngcontent-%COMP%]{margin-left:auto}.collapse-toggle[_ngcontent-%COMP%]{align-self:baseline}.expanded-card-container[_ngcontent-%COMP%]{padding:18px}.expanded-card-actions[_ngcontent-%COMP%]{display:flex;align-items:center;border-top:1px solid;border-top-color:#9aa0a6;border-top-color:var(--c500);padding-top:16px}.expanded-card-actions[_ngcontent-%COMP%]   .cancel-button[_ngcontent-%COMP%]{width:80px;margin-left:16px}.expanded-card-actions[_ngcontent-%COMP%]   .delete-button[_ngcontent-%COMP%]{margin-left:auto;margin-right:16px}.expanded-card-actions[_ngcontent-%COMP%]   mat-slide-toggle[_ngcontent-%COMP%]{margin-left:16px}.expanded-card-actions[_ngcontent-%COMP%]   mat-divider[_ngcontent-%COMP%]{height:40px}.expanded-card-actions[_ngcontent-%COMP%]   .inherited-toggle[_ngcontent-%COMP%]{margin-left:auto}[_nghost-%COMP%]     .mat-mdc-select-value, .ee-config-option[_ngcontent-%COMP%]{font-family:"Google Sans Display",Roboto,Arial,sans-serif;font-weight:500;color:#5f6368;color:var(--text-muted)}.type-dropdown[_ngcontent-%COMP%]{margin-left:auto;margin-right:8px}mat-select-trigger[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}mat-select-trigger[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{vertical-align:middle}mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}']});var a5=function(){};a5.\u0275fac=function(a){return new (a||a5)};a5.\u0275mod=u({type:a5});a5.\u0275inj=p({imports:[RE,Qz,yN,JH,QH,mR,MM,PN,LH]});var u5c=function(){this.dialogRef=r(dL);this.options=[];var a=r(jL);a&&a.sharedFields.length>0&&(this.selected=a.sharedFields[0],this.options=a.sharedFields)};u5c.\u0275fac=function(a){return new (a||u5c)};
u5c.\u0275cmp=t({type:u5c,selectors:[["activate-shared-field-dialog"]],decls:11,vars:2,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],["mat-button","",1,"medium",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"medium",3,"click"],[3,"valueChange","value"],[3,"value"],["href","http://go/buganizer/concepts/custom-fields#shared-custom-field","target","_blank"]],template:function(a,b){a&1&&(I(0,"h1",0),Q(1,"Activate a shared field"),J(),I(2,
"div",1),D(3,ZCb,4,1,"mat-form-field")(4,$Cb,1,0)(5,aDb,4,0,"div"),J(),I(6,"footer",2)(7,"button",3),M("click",function(){return b.dialogRef.close()}),Q(8,"Cancel"),J(),I(9,"button",4),M("click",function(){return b.dialogRef.close(b.selected)}),Q(10,"Confirm"),J()());a&2&&(C(3),G(b.options.length>0?3:4),C(2),G(b.options.length>0?5:-1))},dependencies:[vD,Vy,eQ,$z,mQ,My,MN,nL,pL,oL],encapsulation:2});var b5=function(a){this.internalArray_=m(a,0,b5.messageId)};Y(b5,V);b5.prototype.getIt=function(){return W(this,Hm,4)};b5.prototype.setIt=function(a){return X(this,Hm,4,a)};b5.messageId="b.FieldConfig";var c5=function(a){this.internalArray_=m(a)};Y(c5,V);c5.prototype.getComponentId_asLegacyNumberOrString=function(){return Vj(this,1)};c5.prototype.getComponentId_asString=function(){return Oo(this,1)};c5.prototype.setComponentId=function(a){return pl(this,1,a)};c5.prototype.setFieldId=function(a){return yv(this,2,wl,a)};var d5=function(a){this.internalArray_=m(a,0,d5.messageId)};Y(d5,V);d5.prototype.getIt=function(){return W(this,c5,2)};d5.prototype.setIt=function(a){return X(this,c5,2,a)};d5.messageId="b.ReorderFieldsRequest";var e5=function(){this.executor=r(OB)};e5.prototype.updateCustomFieldState=function(a,b,c){var d={customFieldId:b};var e=new b5;var f=e.setIt;d=(new Hm).setFieldId(kva(d));c=ej(d,4,i7b[c]);c=Hl(c,5,!1);e=f.call(e,c);return this.executor.post({url:"action/components/"+a+"/field_configs/custom_field_id/"+b,body:e,responseConstructor:b5}).pipe(B(bDb))};
e5.prototype.reorder=function(a,b){var c=new d5,d=c.setIt;var e=(new c5).setComponentId(a);b=b.map(kva);e=$l(e,2,b);c=d.call(c,e);return this.executor.post({url:"action/components/"+a+"/reorder",body:c,responseConstructor:null})};e5.\u0275fac=function(a){return new (a||e5)};e5.\u0275prov=n({token:e5,factory:e5.\u0275fac,providedIn:"root"});var v5c=function(a){this.internalArray_=m(a)};Y(v5c,V);g=v5c.prototype;g.getComponentId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getComponentId_asString=function(){return Oo(this,1)};g.setComponentId=function(a){return pl(this,1,a)};g.getCustomFieldId_asLegacyNumberOrString=function(){return Vj(this,2)};g.getCustomFieldId_asString=function(){return Oo(this,2)};g.setCustomFieldId=function(a){return pl(this,2,a)};var w5c=function(a){this.internalArray_=m(a)};Y(w5c,V);g=w5c.prototype;g.getComponentId_asLegacyNumberOrString=function(){return Vj(this,1)};g.getComponentId_asString=function(){return Oo(this,1)};g.setComponentId=function(a){return pl(this,1,a)};g.getCustomFieldId_asLegacyNumberOrString=function(){return Vj(this,2)};g.getCustomFieldId_asString=function(){return Oo(this,2)};g.setCustomFieldId=function(a){return pl(this,2,a)};var f5=function(a){this.internalArray_=m(a,0,f5.messageId)};Y(f5,V);f5.prototype.getIt=function(){return W(this,v5c,1)};f5.prototype.setIt=function(a){return X(this,v5c,1,a)};f5.messageId="b.AddSharedCustomFieldToComponentRequest";var g5=function(a){this.internalArray_=m(a,0,g5.messageId)};Y(g5,V);g5.prototype.getIt=function(){return W(this,w5c,1)};g5.prototype.setIt=function(a){return X(this,w5c,1,a)};g5.messageId="b.RemoveSharedCustomFieldFromComponentRequest";var h5=function(){this.executor=r(PB)};h5.prototype.add=function(a,b){var c="/action/components/"+a+"/add_shared_custom_field";a=(new f5).setIt((new v5c).setComponentId(a).setCustomFieldId(b));return this.executor.post({url:c,body:a,responseConstructor:null})};h5.prototype.remove=function(a,b){var c="/action/components/"+a+"/remove_shared_custom_field";a=(new g5).setIt((new w5c).setComponentId(a).setCustomFieldId(b));return this.executor.post({url:c,body:a,responseConstructor:null})};
h5.\u0275fac=function(a){return new (a||h5)};h5.\u0275prov=n({token:h5,factory:h5.\u0275fac,providedIn:"root"});var x5c=["fieldStateMenu"],fDb=function(a){return{type:a}},y5c=["SILENT","MINOR","MAJOR"],z5c=[{customFieldId:1049928,name:"Start Date"},{customFieldId:1049953,name:"End Date"},{customFieldId:1049954,name:"Risk"},{customFieldId:1255458,name:"Commitment Level"}],A5c=[{customFieldId:209963,name:"Start Date"},{customFieldId:209989,name:"End Date"},{customFieldId:210015,name:"Risk"},{customFieldId:207778,name:"Commitment Level"}],i5=function(){Z.apply(this,arguments);this.customFieldsApi=r(wF);this.checkBeforeExit=
r(iT);this.butterBar=r(hE);this.analytics=r(wG);this.routeParams=r(PL);this.componentActions=r(gO);this.fieldConfigService=r(e5);this.sharedCustomFieldApi=r(h5);this.documentationLinks=r(cL);this.paths=r(zO);this.confirmationDialog=r(rL);this.appEvents=r(nE);this.dialog=r(kL);this.activeSession=r(dv);this.ROUTES=tq;this.FieldType=PM;this.ListFieldType=bwc;this.getSingleEditFieldType=qMa;this.getListFieldType=FOa;this.isRepeated=gva;this.typeChoices=["TEXT","DATE","ENUM","NUMERIC"];this.secondaryTypes=
["Single","Multiple"];this.significanceChoices=y5c;this.customFields=[];this.inheritedCustomFields=[];this.sharedFields=[];this.componentIdsToNames={};this.isLoading=!1;this.editableField=null;this.allowedValues=[];this.originalEditableFieldValue=null;this.componentId=Ei(this.routeParams.componentId);this.msgFieldStateTip="Whether the field is visible in this component"};Y(i5,Z);i5.\u0275dir=Z.\u0275dir;
i5.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(jT(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!0));this.loadCustomFields()};i5.prototype.ngOnChanges=function(){var a=new Map;if(this.parentComponent)for(var b=this.parentComponent.componentPathInfo.allCustomField,c=0;c<b.length;c++){var d=b[c];a.set(d.customFieldId,d.enabledOnIssues)}this.fieldsEnabledOnParentComponent=a};
i5.prototype.editField=function(a){window.scrollTo({top:0,behavior:"smooth"});if(!this.hasUnsavedChanges()||WDc(this.checkBeforeExit))this.editableField=zi(this.customFields[a]),this.originalEditableFieldValue=zi(this.editableField),this.serverError=null,this.setType(this.editableField.type),jDb(this,this.editableField.allowedValue)};
var vDb=function(a,b){var c=a.customFields[b];a.confirmationDialog.open({title:"Deleting field: "+c.name,content:ti("Deleting a custom field is permanent and will remove display of this custom field on all issues in this component and child components. However, data will remain in the system and may be visible through other means (ex: extracts or direct API calls). If you have sensitive data concerns, please file a support request to have the data deleted from affected issues. Are you sure you want to delete this field definition?"),onConfirm:function(){a.doDelete(c)}})};
i5.prototype.doDelete=function(a){var b=this;du(this.butterBar,"Deleting field: "+a.name,2E3);this.customFieldsApi.delete(this.componentId,a.customFieldId).then(function(){b.appEvents.componentModified.next(b.componentId);b.analytics.trackEvent("customField","delete");du(b.butterBar,"Deleted field: "+a.name,2E3);b.loadCustomFields()})};
i5.prototype.save=function(){var a=this;this.isLoading=!0;var b=function(){a.appEvents.componentModified.next(a.componentId);a.loadCustomFields();a.analytics.trackEvent("customField",d)},c=function(e){a.serverError=Kn(e);a.isLoading=!1};["REPEATED_ENUM","ENUM"].includes(this.editableField.type)?this.editableField.allowedValue=this.allowedValues.map(function(e){return e.value}):this.editableField.allowedValue=void 0;if(this.editableField.customFieldId){var d="update";this.customFieldsApi.update(this.componentId,
this.editableField.customFieldId,this.editableField).then(b).catch(c)}else d="create",this.editableField.componentId=this.componentId,this.customFieldsApi.create(this.componentId,this.editableField).then(b).catch(c)};
i5.prototype.updateCustomFieldState=function(a,b,c){var d=this;return new Promise(function(e,f){d.fieldConfigService.updateCustomFieldState(d.componentId,a.customFieldId,b).pipe(Of(d.destroyed$)).subscribe(function(){a:{switch(b){case "INHERIT":var h="Inherit ("+(d.fieldsEnabledOnParentComponent.get(a.customFieldId)?"Enabled":"Disabled")+")";break a;case "DISABLED":h="Disabled";break a;case "ENABLED":h="Enabled";break a}h=void 0}d.analytics.trackEvent("customField","updateFieldConfig",h);d.componentActions.getUncached(d.componentId).then(function(){return d.loadCustomFields(!0)}).then(function(){setTimeout(function(){var l,
q;(l=d.fieldStateMenus)==null||(q=l.get(c))==null||q.focus()})}).then(function(){e(void 0)})},function(h){d.serverError=Kn(h);d.isLoading=!1;f(h)})})};i5.prototype.cancel=function(){this.originalEditableFieldValue=this.editableField=null};
var mDb=function(a,b){var c=a.editableField.type,d=c==="TEXT"&&Ai(b)?b:void 0,e=c==="DATE"&&b&&Jza(b)?b:void 0,f=c==="ENUM"&&Ai(b)?b:void 0,h=c==="NUMERIC"&&cra(b)?b:void 0,l=c==="REPEATED_TEXT"&&Bi(b)?{values:b}:void 0,q=c==="REPEATED_DATE"&&Array.isArray(b)&&b.every(Jza)?{values:b}:void 0,v=c==="REPEATED_ENUM"&&Bi(b)?{values:b}:void 0;b=c==="REPEATED_NUMERIC"&&dra(b)?{values:b}:void 0;a.editableField.typedDefaultValue={customFieldId:a.editableField.customFieldId,textValue:d,dateValue:e,enumValue:f,
numericValue:h,repeatedTextValue:l,repeatedDateValue:q,repeatedEnumValue:v,repeatedNumericValue:b}};i5.prototype.setType=function(a,b){var c=this.editableField.type;if(b===void 0?0:b)switch(a){case "TEXT":this.editableField.type="REPEATED_TEXT";break;case "DATE":this.editableField.type="REPEATED_DATE";break;case "ENUM":this.editableField.type="REPEATED_ENUM";break;case "NUMERIC":this.editableField.type="REPEATED_NUMERIC"}else this.editableField.type=a;a!=c&&(this.editableField.typedDefaultValue=void 0)};
var jDb=function(a,b){b=b==null?void 0:b.map(function(c){return c.toString()});a.editableField.allowedValue=b;a.allowedValues=b?b.map(function(c){return{value:c,displayText:c}}):[]};i5.prototype.hasUnsavedChanges=function(){return this.editableField&&!yi(this.editableField,this.originalEditableFieldValue)?!0:!1};
i5.prototype.loadCustomFields=function(a){var b=this;a=a===void 0?!1:a;a||(this.isLoading=!0);return this.componentActions.get(this.componentId).then(function(c){var d,e=((d=c.componentPathInfo)==null?void 0:d.allCustomField)||[];d=[];b.componentIdsToNames={};var f,h=((f=c.componentPathInfo)==null?void 0:f.componentPathId)||[];for(f=0;f<h.length;f++)d.push(c.componentPathInfo.componentPathName[f]),b.componentIdsToNames[c.componentPathInfo.componentPathId[f]]=d.join(" > ");b.editableField=null;b.originalEditableFieldValue=
null;a||(b.isLoading=!1);c=function(l,q){return Gu(l.name,q.name)};b.customFields=e.filter(function(l){return b.componentId===l.componentId}).sort(c);b.inheritedCustomFields=e.filter(function(l){return b.componentId!==l.componentId&&!l.shared}).sort(c);b.sharedFields=e.filter(function(l){return b.componentId!==l.componentId&&l.shared});b.appEvents.customFieldsModified.next(e)})};var BDb=function(a,b){return a.fieldsEnabledOnParentComponent.has(b)?a.fieldsEnabledOnParentComponent.get(b):!0};
i5.prototype.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};var nDb=function(a){var b;return(a=(b=a.editableField)==null?void 0:b.typedDefaultValue)?Bn(a):null};i5.prototype.getListFieldValues=function(){var a,b=(a=this.editableField)==null?void 0:a.typedDefaultValue,c,d;return(d=(c=b?Bn(b):null)==null?void 0:c.values)!=null?d:null};i5.prototype.setFieldSignificance=function(a){this.editableField.fieldSignificance=a};
var LDb=function(a){var b={sharedFields:MDb(a)};eL(a.dialog.open(u5c,{data:b,width:"450px"})).subscribe(function(c){c&&a.sharedCustomFieldApi.add(a.componentId,c.customFieldId).then(function(){a.appEvents.componentModified.next(a.componentId);a.loadCustomFields()})})},GDb=function(a,b){a.confirmationDialog.open({title:"Deactivate shared field",content:ti("Deactivating a shared custom field will hide this shared field when there is no value set on the issue. However, data will remain in the system. Are you sure you want to deactivate this shared field?"),
onConfirm:function(){a.sharedCustomFieldApi.remove(a.componentId,b).then(function(){a.appEvents.componentModified.next(a.componentId);a.loadCustomFields()})}})},MDb=function(a){if(!a.activeSession.isInternalSession())return[];var b=Kk(a.activeSession.session)?z5c:A5c,c=a.sharedFields.map(function(d){return d.customFieldId});return b.filter(function(d){return!c.includes(d.customFieldId)})};i5.\u0275fac=function(){var a;return function(b){return(a||(a=de(i5)))(b||i5)}}();
i5.\u0275cmp=t({type:i5,selectors:[["b-component-custom-fields"]],viewQuery:function(a,b){a&1&&Mg(x5c,5);if(a&2){var c;Qg(c=Rg())&&(b.fieldStateMenus=c)}},inputs:{editMode:"editMode",isSaving:"isSaving",component:"component",parentComponent:"parentComponent"},features:[cg,Hd],decls:4,vars:2,consts:[["typeHelp",""],["enumMenu","matMenu"],["secondaryMenu","matMenu"],["significanceHelp",""],["significanceMenu","matMenu"],["card","onedevHovercard"],["cardBody",""],["fieldStateMenu",""],[1,"edit-resource-panel",
"edit-component-field-parent"],[1,"edit-custom-field-panel"],[1,"custom-fields-loader"],[1,"bv2-validation-error-banner"],["name","editForm",1,"edit-custom-field-form"],[1,"edit-field"],["for","field-name",1,"help-label"],["name","fieldName","type","text","required","","id","field-name",3,"ngModelChange","bFocus","ngModel","disabled"],["for","field-description",1,"help-label"],["name","fieldDescription","id","field-description",3,"ngModelChange","ngModel","disabled"],[1,"edit-custom-field-table"],
[1,"field-label-with-help","bv2-component-custom-field-label"],["id","field-type-label",1,"help-label",3,"onedevHovercardTrigger"],["role","dialog","aria-label","Type help hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["mat-button","","mat-stroked-button","","aria-labelledby","field-type-label",1,"bv2-enum-field",3,"matMenuTriggerFor","disabled"],["name","arrow-dropdown","size","small"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData"],["matMenuContent",""],["id",
"field-default-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-default-label",3,"name","type","tooltip","value","choices","showEnumTitle","disabled","truncate","clearable"],["id","field-repeated-default-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-repeated-default-label",3,"defaultLineCount","type","tooltip","values","enumChoices","isDefaultOrAllowedValues","listFieldDisabled","truncate"],["id","field-required-label",1,"bv2-component-custom-field-label"],
["aria-labelledby","field-required-label",3,"valueChange","name","type","tooltip","value"],["id","field-significance-label","tabindex","0","aria-label","Field Significance - Press alt+right arrow to learn more.",1,"help-label",3,"onedevHovercardTrigger"],[1,"onedev-hovercard-content"],["aria-label","See email settings for more details.","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["mat-button","","mat-stroked-button","","type","button","aria-labelledby","field-significance-label",
1,"keep-focus-ring","bv2-enum-field",3,"matMenuTriggerFor"],["mat-menu-item","","type","button"],["mat-raised-button","","color","primary","type","button",3,"click","disabled"],["mat-stroked-button","","type","button",3,"click"],["mat-menu-item",""],["mat-menu-item","",3,"click"],["id","field-enums-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-enums-label",3,"valuesChange","defaultLineCount","type","values","listFieldDisabled","preventDuplicates","isDefaultOrAllowedValues",
"truncate"],["aria-labelledby","field-default-label",3,"valueChange","name","type","tooltip","value","choices","showEnumTitle","disabled","truncate","clearable"],["aria-labelledby","field-repeated-default-label",3,"valuesChange","defaultLineCount","type","tooltip","values","enumChoices","isDefaultOrAllowedValues","listFieldDisabled","truncate"],["mat-menu-item","","type","button",3,"click"],[3,"large"],[1,"custom-fields-table"],[3,"ngClass"],[1,"edit-button-row"],[3,"customFieldValue"],[1,"action-buttons"],
["mat-stroked-button","",3,"click"],["colspan","9",1,"custom-fields-inherited-parent"],["colspan","9"],[1,"ancestor-component-note"],[1,"header-label"],[3,"click","onedevHovercardTrigger","href"],[4,"onedevHovercardLazyBody"],[3,"fieldName","fieldState","enabledOnParent","disabled","matTooltip"],[3,"onedevIsHovercardReady","componentId"],[3,"fieldStateChange","fieldName","fieldState","enabledOnParent","disabled","matTooltip"],[1,"enabled-field"],["mat-stroked-button","",3,"click","disabled","matTooltip"],
["routerLink","./","fragment","fieldOrdering",1,"keep-underline"],["mat-raised-button","","color","primary",3,"click"],["mat-flat-button","",3,"click","disabled"]],template:function(a,b){a&1&&(I(0,"div",8),D(1,sDb,70,29,"div",9)(2,tDb,2,1,"div",10)(3,ODb,29,8,"div"),J());a&2&&(C(),G(b.editableField&&!b.isLoading?1:-1),C(),G(b.isLoading?2:3))},dependencies:[Ew,JE,Cz,ki,tz,uz,Mz,Bz,zz,$N,OM,yM,y3,bK,cK,hK,dK,dO,FH,HH,vI,yI,wI,xI,zI,vD,Vy,W1,b1,JO,bM,aM,dM],styles:["button[_ngcontent-%COMP%]{margin-right:3px}button.bv2-enum-field[_ngcontent-%COMP%]{padding:0px 12px;margin-bottom:32px;height:32px;line-height:32px}b-spinner[_ngcontent-%COMP%]{position:absolute}"]});var j5=function(){};j5.\u0275fac=function(a){return new (a||j5)};j5.\u0275mod=u({type:j5});j5.\u0275inj=p({imports:[RE,Qz,aO,QM,AM,z3,VK,qY,LH,EI,JH,mR,X1,c1,gM,LO,ML]});var k5=function(){this.options=[];this.disabled=!1;this.removeAtIndex=new rG;this.addRow=new rG;this.optionsChange=new rG};k5.prototype.valueChange=function(a,b){this.options[b].value=Number(a.target.value);this.optionsChange.emit(this.options)};k5.prototype.drop=function(a){jq(this.options,a.previousIndex,a.currentIndex);this.optionsChange.emit(this.options)};k5.\u0275fac=function(a){return new (a||k5)};
k5.\u0275cmp=t({type:k5,selectors:[["b-config-grid"]],inputs:{options:"options",disabled:"disabled"},outputs:{removeAtIndex:"removeAtIndex",addRow:"addRow",optionsChange:"optionsChange"},decls:12,vars:6,consts:[["displayInput","matInput"],["valueInput","matInput"],[1,"flex-kids-x"],[1,"padded-sides","heading-xs","flex-kids-y"],[1,"config-title","config-title-container"],[1,"padded-sides","heading-xs","config-title-container","flex-kids-x"],["aria-label","Average days. All estimated effort types map to an average number of days.",
1,"config-title"],["svgIcon","help-outline","tabindex","0","aria-hidden","false","aria-label","All estimated effort types map to an average number of days.",1,"icon-xs",3,"matTooltip"],["cdkDropList","",1,"options-container",3,"cdkDropListDropped"],["cdkDrag",""],["mat-button","",1,"add-row-button"],[1,"flex-kids-x","flex-cross-axis-centered","option-row"],["cdkDragHandle","","svgIcon","drag-indicator",1,"drag-handle"],["subscriptSizing","dynamic",3,"appearance"],["matInput","","aria-label","Dropdown value",
"autocomplete","off","maxlength","40",1,"input-text",3,"change","value","placeholder","disabled"],["matInput","","aria-label","Average days","autocomplete","off","type","number",1,"input-text",3,"change","value","placeholder","disabled"],["mat-icon-button",""],["mat-icon-button","",3,"click"],["svgIcon","close",1,"icon-s","delete-icon"],["mat-button","",1,"add-row-button",3,"click"]],template:function(a,b){a&1&&(I(0,"div",2)(1,"div",3)(2,"span",4),Q(3," Dropdown value "),J()(),I(4,"div",5)(5,"span",
6),Q(6," Average days "),J(),K(7,"mat-icon",7),J()(),I(8,"div",8),M("cdkDropListDropped",function(c){return b.drop(c)}),tg(9,QDb,12,13,"div",9,sg),J(),D(11,RDb,2,0,"button",10));a&2&&(C(2),ng("muted",b.disabled),C(3),ng("muted",b.disabled),C(2),F("matTooltip","All estimated effort types map to an average number of days."),C(2),ug(b.options),C(2),G(b.disabled?-1:11))},dependencies:[$D,ON,hA,$z,MN,vD,Vy,Xy,FH,HH,YN,XN,UN],styles:[".delete-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}[_nghost-%COMP%]     mat-form-field .mat-mdc-form-field-flex{--gm-outlinedtextfield-outline-color:transparent}.add-row-button[_ngcontent-%COMP%]{font-size:1rem;color:#5f6368;color:var(--text-muted);font-style:normal;font-weight:400;font-family:Roboto,Arial,sans-serif}.options-container[_ngcontent-%COMP%]{margin-left:-32px}.option-row[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.option-row[_ngcontent-%COMP%]   .drag-handle[_ngcontent-%COMP%]{cursor:move;visibility:hidden;margin-top:8px;margin-left:8px}.option-row[_ngcontent-%COMP%]:hover   .drag-handle[_ngcontent-%COMP%]{visibility:visible;color:#dadce0;color:var(--c300)}\n/*# sourceMappingURL=config_grid.css.map */"]});var l5=function(){this.disabled=!1;this.valueChange=new rG};l5.prototype.onValueChange=function(a){this.valueChange.emit(Number(a.target.value))};l5.\u0275fac=function(a){return new (a||l5)};
l5.\u0275cmp=t({type:l5,selectors:[["b-numeric-config"]],inputs:{disabled:"disabled",value:"value"},outputs:{valueChange:"valueChange"},decls:14,vars:8,consts:[["timeInput","matInput"],[1,"flex-kids-x"],[1,"padded-sides","heading-xs","flex-kids-y"],[1,"config-title","config-title-container"],[1,"type-m","margin-y","disabled-time-val"],[1,"config-title-container","flex-kids-x"],["id","config-label","aria-label","Average days. All estimated effort types map to an average number of days.",1,"config-title"],
["svgIcon","help-outline","tabindex","0","aria-hidden","false","aria-label","All estimated effort types map to an average number of days.",1,"icon-xs",3,"matTooltip"],[3,"appearance"],["matInput","","type","number","aria-labelledby","config-label",1,"input-text",3,"change","disabled","value"]],template:function(a,b){if(a&1){var c=x();I(0,"div",1)(1,"div",2)(2,"span",3);Q(3," Time ");J();I(4,"span",4);Q(5,"1");J()();I(6,"div",2)(7,"div",5)(8,"span",6);Q(9," Average days ");J();K(10,"mat-icon",7);J();
I(11,"mat-form-field",8)(12,"input",9,0);M("change",function(d){z(c);return A(b.onValueChange(d))});J()()()()}a&2&&(C(2),ng("muted",b.disabled),C(6),ng("muted",b.disabled),C(2),F("matTooltip","All estimated effort types map to an average number of days."),C(),F("appearance","outline"),C(),F("disabled",b.disabled)("value",b.value))},dependencies:[$D,ON,hA,$z,MN,FH,HH],styles:[".disabled-time-val[_ngcontent-%COMP%]{color:#bdc1c6;color:var(--text-disabled);font-size:1rem;line-height:24px;font-weight:400;width:168px;margin-top:4px}\n/*# sourceMappingURL=numeric_config.css.map */"]});var n5=function(){this.activeSession=r(dv);this.disabled=!1;this.updateEffortSpec=new rG;this.configurationOptions=[B5c,C5c,m5];this.estimatedEffortFieldEnabled=this.inherit=!1;this.name="Estimated effort";this.numericSpecMultiplier=1;this.enumSpecOptions=[];this.aggregationRules=F7b;this.selectedAggregationRule=this.aggregationRules.SUM;this.enableAggregationRules=lu(this.activeSession,"enableAggregationRules")};
n5.prototype.ngOnInit=function(){(this.originalEffortSpec=this.effortSpec)&&this.effortSpec.numericSpec&&(this.originalSelectedEffortConfig=m5)};n5.prototype.ngOnChanges=function(a){a.effortSpec&&this.effortSpec&&(this.originalEffortSpec=zi(this.effortSpec),this.setValues(this.effortSpec))};
n5.prototype.setValues=function(a){if(a.numericSpec){this.selectedEffortConfig=m5;var b,c,d;this.numericSpecMultiplier=(d=(b=this.effortSpec)==null?void 0:(c=b.numericSpec)==null?void 0:c.multiplier)!=null?d:1}if(a.enumSpec){this.selectedEffortConfig=void 0;var e,f;this.enumSpecOptions=((f=(e=a.enumSpec)==null?void 0:e.options)!=null?f:[]).map(function(l){return{label:l.label,value:l.value}})}var h;this.inherit=(h=a.inherit)!=null?h:!1;this.name=a.name===""?"Estimated effort":a.name||"";if(a.enumSpec||
a.numericSpec)this.estimatedEffortFieldEnabled=!0;a.aggregationType!==void 0&&a.aggregationType!==this.aggregationRules.AGGREGATION_TYPE_UNSPECIFIED&&(this.selectedAggregationRule=a.aggregationType)};
var D5c=function(a){var b,c,d;if(((b=a.effortSpec)==null?0:b.enumSpec)&&!a.selectedEffortConfig||((c=a.selectedEffortConfig)==null?void 0:c.displayText)===B5c.displayText||((d=a.selectedEffortConfig)==null?void 0:d.displayText)===C5c.displayText)return"enum";var e;return((e=a.selectedEffortConfig)==null?void 0:e.displayText)===m5.displayText?"numeric":"empty"};n5.prototype.addRow=function(){this.enumSpecOptions.push({label:null,value:null})};
n5.prototype.isSaveButtonDisabled=function(){var a;if(!(a=this.disabled||this.selectedEffortConfig===void 0&&this.effortSpec===void 0&&this.estimatedEffortFieldEnabled&&!this.inherit||this.name==="")){a:{a=k(this.enumSpecOptions);for(var b=a.next();!b.done;b=a.next())if(b=b.value,!b.label||b.value===null){a=!1;break a}a=!0}a=!a}return a};var E5c=function(a){a.selectedEffortConfig=void 0;a.enumSpecOptions=[];a.effortSpec=void 0;a.name="Estimated effort"};n5.\u0275fac=function(a){return new (a||n5)};
n5.\u0275cmp=t({type:n5,selectors:[["b-estimated-effort-config"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateEffortSpec:"updateEffortSpec"},features:[Hd],decls:8,vars:11,consts:[["enumConfig",""],["placeholderForCardTitle","Enter the estimated effort field title (required)","ariaLabelForCardTitle","Estimated effort field title",3,"cardTitleChange","dropdownSelectionChanged","onSaveButtonClicked","selectedChange","onCancelButtonClicked",
"isInheritedChange","cardTitle","dropdownOptions","selectedOption","disabled","selected","isSaveButtonDisabled","showInheritedToggle","isInherited","inheritedDisabled"],[1,"content"],[3,"disabled","value"],[1,"margin-top"],[4,"ngTemplateOutlet"],[3,"valueChange","disabled","value"],["id","aggregation-rule-label",1,"aggregation-rule-label","config-label","heading-xs","margined"],"mat-icon-button;;matTooltip;Learn more about the aggregation rules;href;http://go/wtdm-home#aggregation;target;_blank".split(";"),
["svgIcon","help-outline",1,"icon-s","gfx-muted"],["appearance","outline",1,"static-label","margined"],["aria-labelledby","aggregation-rule-label","panelClass","multi-line-select",3,"valueChange","value","disabled"],[1,"multi-line",3,"value"],[1,"title"],[1,"help-text"],[3,"optionsChange","addRow","removeAtIndex","options","disabled"]],template:function(a,b){if(a&1){var c=x();I(0,"b-collapsible-card",1);Xg("cardTitleChange",function(e){z(c);Wg(b.name,e)||(b.name=e);return A(e)});M("dropdownSelectionChanged",
function(e){z(c);b.selectedEffortConfig=e;e.displayText===B5c.displayText?(b.enumSpecOptions=[].concat(w(F5c)),b.name="Story points"):e.displayText===C5c.displayText?(b.enumSpecOptions=[].concat(w(G5c)),b.name="T-shirt sizes"):e.displayText===m5.displayText&&(b.numericSpecMultiplier=1,b.name="Days");b.estimatedEffortFieldEnabled=!0;return A()})("onSaveButtonClicked",function(){z(c);if(b.estimatedEffortFieldEnabled){var e={name:b.name,inherit:b.inherit};b.enableAggregationRules&&(e.aggregationType=
b.selectedAggregationRule);b.originalEffortSpec&&b.originalEffortSpec.customFieldId!==0&&(e.customFieldId=b.originalEffortSpec.customFieldId);var f;if(((f=b.selectedEffortConfig)==null?void 0:f.displayText)===m5.displayText)e.numericSpec={multiplier:b.numericSpecMultiplier};else if(b.enumSpecOptions.length>0){f=[];for(var h=k(b.enumSpecOptions),l=h.next();!l.done;l=h.next())l=l.value,l.label&&l.value!==null&&f.push({label:l.label,value:l.value});e.enumSpec={options:f}}b.updateEffortSpec.emit(e)}else b.updateEffortSpec.emit({name:"",
inherit:!1});return A()})("selectedChange",function(e){z(c);b.estimatedEffortFieldEnabled=e;b.estimatedEffortFieldEnabled||E5c(b);return A()})("onCancelButtonClicked",function(){z(c);b.effortSpec=b.originalEffortSpec;b.selectedEffortConfig=b.originalSelectedEffortConfig;b.effortSpec?b.setValues(b.effortSpec):(b.estimatedEffortFieldEnabled=!1,E5c(b));return A()})("isInheritedChange",function(e){z(c);(e=e.checked)?(b.setValues(b.parentEffortSpec?b.parentEffortSpec:{name:"Estimated effort"}),b.effortSpec=
b.parentEffortSpec,b.effortSpec||E5c(b)):b.effortSpec&&(b.setValues({}),E5c(b));b.inherit=e;return A()});I(1,"div",2);D(2,TDb,1,1,"ng-container")(3,UDb,1,2,"b-numeric-config",3)(4,VDb,0,0);J();D(5,WDb,23,13,"div",4);J();D(6,XDb,1,2,"ng-template",null,0,fh)}if(a&2){var d;Vg("cardTitle",b.name);F("dropdownOptions",b.configurationOptions)("selectedOption",b.selectedEffortConfig)("disabled",b.disabled||b.inherit)("selected",b.estimatedEffortFieldEnabled)("isSaveButtonDisabled",b.isSaveButtonDisabled())("showInheritedToggle",
!0)("isInherited",b.inherit)("inheritedDisabled",b.disabled);C(2);G((d=D5c(b))==="enum"?2:d==="numeric"?3:d==="empty"?4:-1);C(3);G(b.enableAggregationRules&&b.estimatedEffortFieldEnabled?5:-1)}},dependencies:function(){return[Hw,$D,$z,MN,vD,Yy,Z4,FH,HH,eQ,mQ,nQ,My,k5,l5,o5]},styles:["[_nghost-%COMP%]     .content .config-title-container{width:168px}[_nghost-%COMP%]     .content .config-title-container mat-icon{margin-left:8px}[_nghost-%COMP%]     .content mat-form-field{width:168px}[_nghost-%COMP%]     .content mat-form-field .mat-mdc-form-field-infix{margin:-3px 0}[_nghost-%COMP%]     .content .input-text{font-weight:400;font-size:1rem}.aggregation-rule-label[_ngcontent-%COMP%]{margin-right:2px}\n/*# sourceMappingURL=estimated_effort_config.css.map */"]});
var F5c=[{label:"1",value:1},{label:"2",value:2},{label:"3",value:3},{label:"5",value:5},{label:"8",value:8},{label:"13",value:13},{label:"21",value:21},{label:"34",value:34}],G5c=[{label:"XS",value:1},{label:"S",value:3},{label:"M",value:5},{label:"L",value:10},{label:"XL",value:20}],B5c={displayText:"Story points",icon:"story-point-24px"},C5c={displayText:"T-shirt sizes",icon:"t-shirt-24px"},m5={displayText:"Time",icon:"time-24px"},o5=function(){};
o5.prototype.transform=function(a){switch(a){case "MAX":return"Max Point";default:return"Simple Sum"}};o5.\u0275fac=function(a){return new (a||o5)};o5.\u0275pipe=vd({name:"aggregationRuleText",type:o5,pure:!0});var H5c=function(){this.disabled=!1;this.updateComponent=new rG};H5c.\u0275fac=function(a){return new (a||H5c)};
H5c.\u0275cmp=t({type:H5c,selectors:[["b-component-standard-fields"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateComponent:"updateComponent"},decls:4,vars:3,consts:[[1,"padded","field-container"],[1,"margin-bottom"],[3,"updateEffortSpec","effortSpec","parentEffortSpec","disabled"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1),Q(2,"Once activated, standard fields appear in the right panel of all issues."),J(),I(3,"b-estimated-effort-config",
2),M("updateEffortSpec",function(c){b.updateComponent.emit(c)}),J()());a&2&&(C(3),F("effortSpec",b.effortSpec)("parentEffortSpec",b.parentEffortSpec)("disabled",b.disabled))},dependencies:[n5],styles:[".field-container[_ngcontent-%COMP%]{max-width:1100px}"]});var p5=function(){};p5.\u0275fac=function(a){return new (a||p5)};p5.\u0275mod=u({type:p5});p5.\u0275inj=p({imports:[RE,PN,JH,yN,a5,LH,mR,ZN]});var q5=function(){};q5.\u0275fac=function(a){return new (a||q5)};q5.\u0275mod=u({type:q5});q5.\u0275inj=p({imports:[RE,a5,p5]});var r5=function(){var a=this;this.teamsService=r(lH);this.anchorTarget="_blank";this.useInternalLink=this.isTopLevel=this.isAdmin=!1;this.modelChange=new rG;this.inherit=!1;this.selectedTeam$=new Jf;this.teamIdChanged$=new If(1);this.placeholder$=this.teamIdChanged$.pipe(B(function(b){return b==="0"?!a.isAdmin||!a.isTopLevel&&a.inherit?"No team selected":"Type to search for a team (leave blank to disable)":""}),Mf(""));this.teamFromId$=this.teamIdChanged$.pipe(Nf(function(b){return b==="0"?Fe(new jAb([b],
[""],"")):mH(a.teamsService,b).pipe(B(function(c){return new jAb([],c.collapsedPathNames,c.description)}))}));this.displayedTeam$=Xe(this.teamFromId$,this.selectedTeam$);this.warningType$=this.teamIdChanged$.pipe(Nf(function(b){return b==="0"?Fe("MISSING"):a.teamsService.getTeam(b).pipe(B(function(c){return!c||c.deleted?"DELETED":"VALID"}))}))};
r5.prototype.updateSelectionOnChange=function(a){vo("component","autocomplete-select","team",isNaN(Number(a.id))?0:Number(a.id));this.selectedTeam$.next(a);this.model.id=a.id;this.modelChange.emit(this.model);I5c(this)};var I5c=function(a){a.inherit=a.model.inherit;a.teamIdChanged$.next(a.model.id)};r5.prototype.ngOnInit=function(){Object.assign({},this.model);I5c(this)};var aEb=function(a){return a.model.id&&a.model.id!=="0"};
r5.prototype.getMomaTeamLink=function(){return aEb(this)?"https://moma.corp.google.com/team/"+this.model.id:null};r5.\u0275fac=function(a){return new (a||r5)};
r5.\u0275cmp=t({type:r5,selectors:[["b-component-team-picker"]],inputs:{parentModel:"parentModel",model:"model",anchorTarget:"anchorTarget",isAdmin:"isAdmin",isTopLevel:"isTopLevel",useInternalLink:"useInternalLink"},outputs:{modelChange:"modelChange"},decls:12,vars:12,consts:[[1,"edit-field"],[1,"edit-field","component-team-id-select"],["for","component-team-id"],["id","component-team-id","panelWidth","479px",3,"onTeamSelect","onEmptyQuery","placeholder","disabled","teamSelected"],[1,"team-warning"],
[3,"warningType","messageOnly"],[3,"change","disabled","checked"],["mat-icon-button","","aria-label","Go to Team page.","matTooltip","Go to Team page.",1,"small",3,"routerLink","target"],["mat-icon-button","","aria-label","Go to Team page.","matTooltip","Go to Team page.",1,"small",3,"click","routerLink","target"],["svgIcon","pop-out",1,"icon-s"],["mat-icon-button","","target","_blank","aria-label","Go to Moma Team page.","matTooltip","Go to Moma Team page.",1,"small"],["mat-icon-button","","target",
"_blank","aria-label","Go to Moma Team page.","matTooltip","Go to Moma Team page.",1,"small",3,"click"]],template:function(a,b){a&1&&(I(0,"div"),D(1,ZDb,1,1),S(2,"async"),D(3,$Db,3,2,"div",0),I(4,"div",1)(5,"label",2),Q(6,"Team selection"),J(),I(7,"b-team-picker",3),S(8,"async"),S(9,"async"),M("onTeamSelect",function(d){return b.updateSelectionOnChange(d)})("onEmptyQuery",function(){b.model.id="0";b.modelChange.emit(b.model);I5c(b)}),J(),D(10,cEb,1,1)(11,eEb,1,1),J()());if(a&2){var c;C();G((c=U(2,
6,b.warningType$))?1:-1,c);C(2);G(b.isTopLevel?-1:3);C(4);F("placeholder",U(8,8,b.placeholder$))("disabled",!b.isAdmin||!b.isTopLevel&&b.inherit)("teamSelected",U(9,10,b.displayedTeam$));C(3);G(b.useInternalLink?10:11)}},dependencies:[$D,JE,qN,uN,FH,HH,A4,j2,vD,Yy,Iw],styles:[".component-team-id-select[_ngcontent-%COMP%]{display:flex;align-items:center}.component-team-id-select[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{width:95px}.component-team-id-select[_ngcontent-%COMP%]   #component-team-id[_ngcontent-%COMP%]{display:inline-block;width:479px}.component-team-id-select[_ngcontent-%COMP%]   a.mat-mdc-icon-button[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center}.team-warning[_ngcontent-%COMP%]{width:240px}"],
changeDetection:0});var s5=function(){};s5.\u0275fac=function(a){return new (a||s5)};s5.\u0275mod=u({type:s5});s5.\u0275inj=p({imports:[RE,wN,yN,LH,D4,d3,Qz,JH]});var t5=function(){};t5.\u0275fac=function(a){return new (a||t5)};t5.\u0275mod=u({type:t5});t5.\u0275inj=p({imports:[RE,NM,ML,b3]});var u5=function(){};u5.\u0275fac=function(a){return new (a||u5)};u5.\u0275mod=u({type:u5});u5.\u0275inj=p({imports:[RE,Qz,JH,ML,PN,NN,s0]});var v5=function(){};v5.\u0275fac=function(a){return new (a||v5)};v5.\u0275mod=u({type:v5});v5.\u0275inj=p({imports:[RE,Qz,JH,PN,NN,ML]});var w5=function(){this.data=r(jL);this.dialogRef=r(dL);this.liveAnnouncer=r(sx);this.originalFields=this.data.fields.concat();this.fields=this.data.fields.concat();this.fieldOrdering=this.data.orderingCustomized;this.grabbed=this.hasChanges=!1},J5c=function(a){a.fields.sort(function(b,c){return b.name.localeCompare(c.name)});a.detectChanges()};w5.prototype.drop=function(a){jq(this.fields,a.previousIndex,a.currentIndex);this.detectChanges()};
var fEb=function(a,b){return b>0?(jq(a.fields,b,b-1),a.detectChanges(),!0):!1},gEb=function(a,b){return b<a.fields.length-1?(jq(a.fields,b,b+1),a.detectChanges(),!0):!1};w5.prototype.trackByFn=function(){return-1};w5.prototype.onFocus=function(a){this.liveAnnouncer.announce(this.fields[a].name+" focused at position "+(a+1)+" of "+this.fields.length+". Press space to grab the item.")};
w5.prototype.onKeyDown=function(a,b){switch(a.key){case " ":a.preventDefault();K5c(this,b);break;case "Tab":this.grabbed&&K5c(this,b);break;case "ArrowUp":L5c(this,a);break;case "ArrowDown":L5c(this,a)}};
var K5c=function(a,b){a.grabbed?(a.grabbed=!1,a.grabbedIndex=void 0,a.liveAnnouncer.announce(a.fields[b].name+" dropped at position "+(b+1)+" of "+a.fields.length+".")):(a.grabbed=!0,a.grabbedIndex=b,a.liveAnnouncer.announce(a.fields[b].name+" grabbed at position "+(b+1)+" of "+a.fields.length+". Press up and down arrow to move the item."))},L5c=function(a,b){if(a.grabbed){var c=document.activeElement;if(c&&a.grabbedIndex!==void 0){if(b.key==="ArrowUp"){if(fEb(a,a.grabbedIndex)){var d=c.previousElementSibling;
a.grabbedIndex--}}else gEb(a,a.grabbedIndex)&&(d=c.nextElementSibling,a.grabbedIndex++);d&&(d.focus(),a.liveAnnouncer.announce(a.fields[a.grabbedIndex].name+" moved to position "+(a.grabbedIndex+1)+" of "+a.fields.length+". Press space to drop the item."))}}};w5.prototype.detectChanges=function(){this.hasChanges=!yi(this.fields,this.originalFields)};w5.\u0275fac=function(a){return new (a||w5)};
w5.\u0275cmp=t({type:w5,selectors:[["b-field-reorder-dialog"]],decls:15,vars:1,consts:[["mat-dialog-title",""],[1,"flex-kids-x","space-between","align-items-center"],[1,"margin-none"],["mat-icon-button","","aria-label","Sorts the fields alphabetically","matTooltip","Sort alphabetically",3,"click"],["svgIcon","sort_by_alpha_24px"],["mat-dialog-content",""],["cdkDropList","",3,"cdkDropListDropped"],["cdkDrag","","tabindex","0"],["mat-dialog-actions",""],["mat-stroked-button","",1,"medium","cancel",
3,"click"],["mat-flat-button","","color","primary",1,"medium","dialog-primary-action","save",3,"click","disabled"],["cdkDrag","","tabindex","0",3,"keydown","focus"],["cdkDragHandle","","svgIcon","drag-indicator",1,"drag-handle"],[1,"arrows"],["mat-icon-button","","aria-label","Move the field up",3,"click"],["svgIcon","arrow-up"],["mat-icon-button","","aria-label","Move the field down",3,"click"],["svgIcon","arrow-down"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,"h1",2),Q(3," Reorder custom fields "),
J(),I(4,"button",3),M("click",function(){return J5c(b)}),K(5,"mat-icon",4),J()()(),I(6,"div",5)(7,"ol",6),M("cdkDropListDropped",function(c){return b.drop(c)}),tg(8,hEb,9,7,"li",7,b.trackByFn,!0),J()(),I(10,"div",8)(11,"button",9),M("click",function(){return b.dialogRef.close()}),Q(12," Cancel "),J(),I(13,"button",10),M("click",function(){return b.dialogRef.close(b.fields)}),Q(14," Save "),J()());a&2&&(C(8),ug(b.fields),C(5),F("disabled",b.fieldOrdering==="CUSTOMIZED"&&!b.hasChanges))},dependencies:[$D,
vD,Vy,Xy,nL,pL,oL,YN,XN,UN,FH,HH],styles:["ol[_ngcontent-%COMP%]{list-style-type:none;padding:0;margin:0}li[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);font-size:.8125rem;padding:10px;display:flex;align-items:center}li[_ngcontent-%COMP%]   .arrows[_ngcontent-%COMP%]{visibility:hidden}li[_ngcontent-%COMP%]   .drag-handle[_ngcontent-%COMP%]{cursor:move;margin-right:5px;opacity:.2}li[_ngcontent-%COMP%]   .arrows[_ngcontent-%COMP%]{margin-left:auto}li[aria-grabbed=true][_ngcontent-%COMP%]:focus   span[_ngcontent-%COMP%]{font-style:italic}li[_ngcontent-%COMP%]:focus{border-radius:3px;box-shadow:0 0 0 3px rgba(0,0,0,.1)}li[_ngcontent-%COMP%]:focus   .drag-handle[_ngcontent-%COMP%]{opacity:1}li[_ngcontent-%COMP%]:focus   .arrows[_ngcontent-%COMP%]{visibility:visible}li[_ngcontent-%COMP%]:focus   .arrows.invisible[_ngcontent-%COMP%]{visibility:hidden}li[_ngcontent-%COMP%]:hover   .drag-handle[_ngcontent-%COMP%]{opacity:1}li[_ngcontent-%COMP%]:hover   .arrows[_ngcontent-%COMP%]{visibility:visible}li[_ngcontent-%COMP%]:hover   .arrows.invisible[_ngcontent-%COMP%]{visibility:hidden}li[_ngcontent-%COMP%]:last-of-type{border-bottom:none;margin-bottom:3px}li[_ngcontent-%COMP%]:first-of-type{margin-top:3px}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:.3}.cdk-drag-preview[_ngcontent-%COMP%]{opacity:.3;border-bottom:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform 250ms cubic-bezier(0, 0, 0.2, 1)}"]});var x5=function(){this.matDialog=r(kL);this.confirmationDialog=r(rL);this.fieldConfigService=r(e5);this.analytics=r(wG);this.butterBar=r(hE);this.fields=[];this.isAdmin=!1;this.onReload=new rG;this.displayedColumn=["index","name","type","required","customFieldId"]},vEb=function(a){return eL(a.matDialog.open(w5,{width:"500PX",autoFocus:!1,data:{fields:a.fields,orderingCustomized:a.fieldOrdering}})).subscribe(function(b){b&&M5c(a,b)})},wEb=function(a){a.confirmationDialog.open({title:"Reset ordering?",
content:ti("Resetting the ordering of the custom fields will return them to the position defined by its parent component. This action may also reset the ordering of fields in all other sub-components."),onConfirm:function(){a.reset()}})},M5c=function(a,b){a.analytics.trackEvent("fieldOrdering","reorderFields");var c=b.map(function(d){return{customFieldId:d.customFieldId}});a.componentId?(du(a.butterBar,"Saving...",0),a.fieldConfigService.reorder(a.componentId,c).subscribe(function(){du(a.butterBar,
"Field ordering saved",5E3);a.fields=b.concat();a.fieldOrdering="CUSTOMIZED"},function(){a.butterBar.showWarning("Saving ordering failed, please refresh the page.",5E3)})):a.butterBar.showWarning("Saving ordering failed due to the undefined component id.")};
x5.prototype.reset=function(){var a=this;this.analytics.trackEvent("fieldOrdering","resetFields");this.componentId?(du(this.butterBar,"Resetting orderings..."),this.fieldConfigService.executor.post({url:"action/components/"+this.componentId+"/unorder",body:null,responseConstructor:null}).subscribe(function(){du(a.butterBar,"Ordering reset");a.fieldOrdering="INHERITED";a.onReload.emit()},function(){a.butterBar.showWarning("Reset failed.")})):this.butterBar.showWarning("Reset failed due to the undefined component id.")};
x5.\u0275fac=function(a){return new (a||x5)};
x5.\u0275cmp=t({type:x5,selectors:[["b-field-reorder"]],inputs:{fields:"fields",componentId:"componentId",fieldOrdering:"fieldOrdering",isAdmin:"isAdmin"},outputs:{onReload:"onReload"},decls:22,vars:5,consts:[[1,"field-reorder-panel"],[1,"field-order-table"],["mat-table","",3,"dataSource"],["matColumnDef","index"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","type"],["matColumnDef","required"],["matColumnDef","customFieldId"],["mat-header-row",
"",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"no-data-row"],[1,"edit-button-row"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""],["mat-flat-button","","color","primary",1,"medium",3,"click","disabled"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,"table",2),vg(3,3),D(4,iEb,2,0,"th",4)(5,jEb,2,1,"td",5),wg(),vg(6,6),D(7,kEb,2,0,"th",4)(8,lEb,2,1,"td",5),wg(),vg(9,7),D(10,mEb,2,0,"th",4)(11,nEb,3,3,"td",5),wg(),vg(12,8),D(13,oEb,
2,0,"th",4)(14,pEb,2,1,"td",5),wg(),vg(15,9),D(16,qEb,2,0,"th",4)(17,rEb,2,1,"td",5),wg(),D(18,sEb,1,0,"tr",10)(19,tEb,1,0,"tr",11),J(),D(20,uEb,2,0,"div",12),J(),D(21,xEb,6,2,"div",13),J());a&2&&(C(2),F("dataSource",b.fields),C(16),F("matHeaderRowDef",b.displayedColumn),C(),F("matRowDefColumns",b.displayedColumn),C(),G(b.fields.length===0?20:-1),C(),G(b.isAdmin?21:-1))},dependencies:[vD,Vy,fQ,bR,OQ,UQ,QQ,NQ,WQ,RQ,TQ,XQ,ZQ,qR],styles:["th.mat-mdc-header-cell[_ngcontent-%COMP%], td.mat-mdc-cell[_ngcontent-%COMP%]{padding:8px;text-align:left;font-size:.8125rem;border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}th[_ngcontent-%COMP%]{font-weight:bold;color:#202124;color:var(--text-high-contrast)}td[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}th.mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type, td.mat-mdc-cell[_ngcontent-%COMP%]:first-of-type{padding-left:8px}th.mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type, td.mat-mdc-cell[_ngcontent-%COMP%]:last-of-type{padding-right:8px}.no-data-row[_ngcontent-%COMP%]{padding:12px}button[_ngcontent-%COMP%]{margin-right:12px}"]});var y5=function(){};y5.\u0275fac=function(a){return new (a||y5)};y5.\u0275mod=u({type:y5});y5.\u0275inj=p({providers:[rL],imports:[RE,JH,ML]});var z5=function(){};z5.\u0275fac=function(a){return new (a||z5)};z5.\u0275mod=u({type:z5});z5.\u0275inj=p({imports:[RE,JH,MH,ML,aS,ZN,LH,AM,y5,tR]});var A5=function(){this.analytics=r(wG);this.filename=this.packageName=this.issueId="";this.lineNumbers=[];this.changeNumber=0},zEb=function(a,b){switch(a.packageName){case "wiki":return"https://wiki.corp.google.com/twiki/bin/view/"+encodeURIComponent(a.filename);default:var c="https://cs.corp.google.com/"+encodeURIComponent(a.packageName)+"/"+a.filename+"?q="+N5c+a.issueId+O5c;a.changeNumber&&(c+="&rcl="+a.changeNumber);Array.isArray(b)?c+="&l="+b.join(","):b&&(c+="&l="+b);return c}};
A5.prototype.trackClick=function(a){this.analytics.trackEvent("codeMentions","clickCodeSearchLink",a)};A5.\u0275fac=function(a){return new (a||A5)};
A5.\u0275cmp=t({type:A5,selectors:[["b-file-mention"]],inputs:{issueId:"issueId",packageName:"packageName",filename:"filename",lineNumbers:"lineNumbers",changeNumber:"changeNumber"},decls:5,vars:3,consts:[[1,"bv2-file-mention"],["target","_blank",1,"bv2-file-mention-filename",3,"click","href"],[1,"bv2-file-mention-line-number-list"],[1,"bv2-file-mention-line-number"],["target","_blank",3,"click","href"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"a",1),M("click",function(){return b.trackClick("fileName")}),
Q(2),J(),D(3,yEb,2,1,"span")(4,BEb,6,0,"span"),J());a&2&&(C(),F("href",zEb(b,b.lineNumbers),of),C(),R(" ",b.filename," "),C(),G(b.lineNumbers.length<=10&&b.packageName!="wiki"?4:3))},encapsulation:2});var N5c=encodeURIComponent("content:(https?://)?b(uganizer)?(\\.corp(\\.google\\.com)?)?/(issues/|issue\\?id=)?"),O5c=encodeURIComponent("(\\b|$)");var B5=function(){};B5.\u0275fac=function(a){return new (a||B5)};B5.\u0275mod=u({type:B5});B5.\u0275inj=p({imports:[RE]});var P5c=function(){return{width:400}},Q5c=function(){return[]},C5=function(){var a=this;this.bLocation=r(WI);this.analytics=r(wG);this.activeSession=r(dv);this.componentActions=r(gO);this.cdr=r(sG,{self:!0});this.routeParams=r(PL);this.includeArchived$=new bo(!1);this.createComponentPath=tq.createComponent.makeHref();this.isInternalSession=this.activeSession.isInternalSession();this.trackerRootComponent$=Re(function(){return Fe(a.activeSession.getTracker())}).pipe(Nf(function(b){return b?a.componentActions.get(Number(b.componentId)):
Fe(void 0)}));this.topLevelComponents$=Me([this.trackerRootComponent$,this.includeArchived$]).pipe(Nf(function(b){var c=k(b);b=c.next().value;c=c.next().value;var d;return a.componentActions.getChildren((d=b==null?void 0:b.parentComponentId)!=null?d:0,c)}));this.routeParams.componentId&&EEb(this,Number(this.routeParams.componentId),Je(this.topLevelComponents$))},EEb=function(a,b,c){a.componentActions.get(b).then(function(d){for(var e=Gba(d.componentPathInfo.componentPathId,0,d.componentPathInfo.componentPathId.length-
1),f={0:c},h=k(e),l=h.next();!l.done;l=h.next())l=l.value,f[l]=a.componentActions.getChildren(l,a.includeArchived);return qq(f).then(function(q){for(var v=q[0],y=0,E=k(e),H=E.next(),O={};!H.done;O={parentId$jscomp$27:void 0},H=E.next()){O.parentId$jscomp$27=H.value;H=void 0;var N=(H=v.find(function(T){return function(da){return da.componentId===T.parentId$jscomp$27}}(O)))!=null?H:null;N&&(N.children=q[O.parentId$jscomp$27],N.showChildren=!0,v=N.children,y=N.componentId)}d.archived&&!a.includeArchived&&
(b=y);a.cdr.detectChanges();setTimeout(function(){a.componentTree.fireSelectionEvent(b)})})})};ea.Object.defineProperties(C5.prototype,{includeArchived:{configurable:!0,enumerable:!0,get:function(){return this.includeArchived$.value}}});C5.\u0275fac=function(a){return new (a||C5)};
C5.\u0275cmp=t({type:C5,selectors:[["b-list-components-page"]],features:[Yg([sG])],decls:16,vars:15,consts:[["componentPickerTemplate",""],[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-appbar-left"],["mat-button","",3,"href"],["mat-button","","dialogLabel","Components","panelClass","overflow-visible-inline-dialog-panel",3,"xapInlineDialogClick","overlaySize"],["id","bv2-issue-showarchived-button"],[1,"bv2-view"],[1,"bv2-view-loading"],[1,"top-tree",3,"init","components","includeArchived"],
[1,"component-picker-dialog"],["ariaLabel","Choose a component to navigate to that component.",3,"selectedComponentChange","includeArchived","placeholder","shouldFocus","isRequired"],["label","Show archived",3,"modelChange","model","tooltip"],["size","small"]],template:function(a,b){if(a&1){var c=x();I(0,"h2",1);Q(1,"Browse Components");J();I(2,"div",2)(3,"div",3);D(4,CEb,2,1,"a",4);I(5,"button",5);Q(6," Search Components ");J();D(7,DEb,4,6,"ng-template",null,0,fh)(9,FEb,3,4,"div",6);J()();I(10,"div",
7);D(11,GEb,2,0,"div",8);S(12,"async");I(13,"component-tree-list",9);S(14,"async");S(15,"async");M("init",function(h){z(c);return A(b.componentTree=h)});J()()}if(a&2){var d,e,f;a=L(8);C(4);G(b.isInternalSession?4:-1);C();F("xapInlineDialogClick",a)("overlaySize",ah(13,P5c));C(4);G(b.isInternalSession?9:-1);C(2);G((d=U(12,7,b.topLevelComponents$))!==null&&d!==void 0&&d?-1:11);C(2);F("components",(e=U(14,9,b.topLevelComponents$))!==null&&e!==void 0?e:ah(14,Q5c))("includeArchived",(f=U(15,11,b.includeArchived$))!==
null&&f!==void 0?f:!1)}},dependencies:[JO,HN,GN,KN,RH,vD,Wy,Vy,U0,sO,Iw],styles:[".component-picker-dialog[_ngcontent-%COMP%]{width:400px}.component-picker-dialog[_ngcontent-%COMP%]     input{box-sizing:border-box}"]});var D5=function(){};D5.\u0275fac=function(a){return new (a||D5)};D5.\u0275mod=u({type:D5});D5.\u0275inj=p({imports:[RE,LO,PZ,LN,TN,wN,SH,JH,W0,bW]});var R5c=function(){this.issueId="";this.packageMentionSet={packageName:"",fileMentionSet:[]};this.displayPackageName=!1};R5c.\u0275fac=function(a){return new (a||R5c)};
R5c.\u0275cmp=t({type:R5c,selectors:[["b-package-mentions-listing"]],inputs:{issueId:"issueId",packageMentionSet:"packageMentionSet",displayPackageName:"displayPackageName"},decls:5,vars:1,consts:[[1,"bv2-package-mention-set"],[1,"bv2-package-mention-set-package-name"],[3,"issueId","packageName","filename","lineNumbers","changeNumber"]],template:function(a,b){a&1&&(I(0,"div",0),D(1,HEb,2,1,"p",1),I(2,"ul"),tg(3,IEb,2,5,"li",null,sg),J()());a&2&&(C(),G(b.displayPackageName?1:-1),C(2),ug(b.packageMentionSet.fileMentionSet))},
dependencies:[A5],encapsulation:2});var E5=function(){};E5.\u0275fac=function(a){return new (a||E5)};E5.\u0275mod=u({type:E5});E5.\u0275inj=p({imports:[RE,B5]});var F5=function(){};F5.\u0275fac=function(a){return new (a||F5)};F5.\u0275mod=u({type:F5});F5.\u0275inj=p({imports:[RE,Qz,JH,ML,PN,ZJ,NN]});var G5=function(){this.activeSession=r(dv)};G5.prototype.ngOnInit=function(){};var S5c=function(a){var b=window.location.href;b=b.replace(/\/u\/(\d+)\//,"/");a.trackerInternalBaseUrl&&a.trackerExternalBaseUrl&&(b=b.replace(a.trackerInternalBaseUrl,a.trackerExternalBaseUrl));return b};G5.\u0275fac=function(a){return new (a||G5)};
G5.\u0275cmp=t({type:G5,selectors:[["b-tracker-account-menu-hack"]],inputs:{trackerInternalBaseUrl:"trackerInternalBaseUrl",trackerExternalBaseUrl:"trackerExternalBaseUrl"},decls:11,vars:4,consts:[["accountHackMenu","matMenu"],["aria-label","Open account menu",1,"tracker-account-hack-button",3,"matMenuTriggerFor"],["xPosition","before"],[1,"padded-s-x","text-center"],[1,"padded-s-y"],["mat-menu-item","",3,"href"]],template:function(a,b){a&1&&(K(0,"button",1),I(1,"mat-menu",2,0)(3,"div",3),D(4,JEb,
2,1,"div",4),K(5,"hr"),I(6,"a",5),Q(7,"Switch accounts"),J(),K(8,"hr"),I(9,"a",5),Q(10,"Sign out of all accounts"),J()()());a&2&&(a=L(2),F("matMenuTriggerFor",a),C(4),G(b.activeSession.getUserEmail()?4:-1),C(2),F("href","https://accounts.google.com/AccountChooser?hl=en&osid=1&continue="+encodeURIComponent(S5c(b)),of),C(3),F("href","https://accounts.google.com/Logout?hl=en&continue="+encodeURIComponent(S5c(b)),of))},dependencies:[vI,yI,wI,zI],styles:[".tracker-account-hack-button[_ngcontent-%COMP%]{z-index:9999;top:0;right:0;position:absolute;width:48px;height:48px;padding:0;margin:0;border:none;cursor:pointer;background:none;outline:none}"]});var H5=function(){Z.apply(this,arguments);this.trackerCheckboxValues={}};Y(H5,Z);H5.\u0275dir=Z.\u0275dir;H5.prototype.ngOnChanges=function(a){if(a.currentTrackerId){this.trackerCheckboxValues={};var b;a=k((b=this.availableTrackers)!=null?b:[]);for(b=a.next();!b.done;b=a.next())b=b.value,this.currentTrackerId===b.trackerId?this.trackerCheckboxValues[b.trackerId]=!0:this.trackerCheckboxValues[b.trackerId]=!1}};var T5c=function(a){return Object.keys(Dc(a.trackerCheckboxValues,function(b){return b}))};
H5.\u0275fac=function(){var a;return function(b){return(a||(a=de(H5)))(b||H5)}}();
H5.\u0275cmp=t({type:H5,selectors:[["b-tracker-search"]],inputs:{currentTrackerId:"currentTrackerId",availableTrackers:"availableTrackers"},features:[cg,Hd],decls:9,vars:3,consts:[[1,"bv2-tracker-search"],[1,"bv2-adv-search-rule","bv2-adv-tracker-search-rule"],[1,"bv2-adv-tracker-search-rule-title"],[1,"bv2-adv-tracker-search-rule-error"],[1,"bv2-adv-search-enum-rule"],[1,"bv2-adv-search-enum-item"],["gmat-checkbox","",3,"change","checked"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,
"div",2)(3,"span"),Q(4,"Select a tracker"),J(),D(5,KEb,2,0,"span",3),J(),I(6,"div",4),tg(7,LEb,3,2,"div",5,sg),J()()());a&2&&(ng("hidden",!(b.availableTrackers&&b.availableTrackers.length>1)),C(5),G(T5c(b).length!==0?-1:5),C(2),ug(b.availableTrackers))},dependencies:[qN,uN],styles:[".bv2-adv-tracker-search-rule[_ngcontent-%COMP%]{margin-top:0px;margin-bottom:10px;flex-direction:column}.bv2-adv-tracker-search-rule-title[_ngcontent-%COMP%]{font-weight:bold;margin-bottom:8px}.bv2-adv-tracker-search-rule-error[_ngcontent-%COMP%]{font-weight:normal;margin-left:8px;color:#d93025}"]});var I5=function(){var a=r(nE),b=r(zO);Z.call(this);var c=this;this.analytics=r(wG);this.location=r(WI);this.prefsManager=r(yH);this.domSafe=r(mM);this.prefsManager.preferences$.pipe(Of(this.destroyed$)).subscribe(function(d){c.prefs=d});a.topBarEvents.browseComponents.pipe(Of(this.destroyed$)).subscribe(function(d){d=d.newTab;U5c(c,tq.listComponents.makeHref(),d)});a.topBarEvents.manageHotlists.pipe(Of(this.destroyed$)).subscribe(function(d){d=d.newTab;U5c(c,tq.listHotlists.makeHref(),d)});a.topBarEvents.manageSlos.pipe(Of(this.destroyed$)).subscribe(function(d){d=
d.newTab;U5c(c,tq.listSlos.makeHref(),d)});a.topBarEvents.setDensity.pipe(Of(this.destroyed$)).subscribe(function(d){c.setDensity(d)});a.topBarEvents.openSettings.pipe(Of(this.destroyed$)).subscribe(function(d){var e=d.newTab;U5c(c,b.settings(d.settingsTabName),e)})};Y(I5,Z);I5.\u0275dir=Z.\u0275dir;var U5c=function(a,b,c){c?a.domSafe.openInNewTab(b):a.location.setUrl(b)};
I5.prototype.setDensity=function(a){this.prefs.themePreferences&&(this.prefs.themePreferences.density=a,this.prefsManager.save(this.prefs).pipe(Cf(),Of(this.destroyed$)).subscribe(),this.analytics.trackEvent("preferences","setDisplayDensity",a))};I5.\u0275fac=function(a){return new (a||I5)};I5.\u0275prov=n({token:I5,factory:I5.\u0275fac,providedIn:"root"});var J5=function(){Z.call(this);var a=this;this.activeSession=r(dv);this.searchAcData=r(H3);this.savedSearchApi=r(pF);this.butterBar=r(hE);this.bLocation=r(WI);this.paths=r(zO);this.analytics=r(wG);this.appEvents=r(nE);this.appSearchState=r(KY);this.trackerFridge=r(vH);this.errorHandler=r(jE);r(I5);this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType();this.items=[];this.acHeader=null;this.currentQuery="";this.enableTrackersAccountHack=
lu(this.activeSession,"enableTrackersAccountHack");this.currentTracker=this.activeSession.getTracker();this.associatedTrackers$=Re(function(){var b,c;return Fe((c=(b=a.currentTracker)==null?void 0:b.associatedTrackerIds)!=null?c:[])}).pipe(Nf(function(b){return a.trackerFridge.watchSet(b)}));this.availableTrackers$=this.associatedTrackers$.pipe(B(function(b){return a.currentTracker?[a.currentTracker].concat(w(b)):[]}));this.searchAcData.acRefreshed$.pipe(Of(this.destroyed$)).subscribe(function(){a.items=
a.searchAcData.items;a.acHeader=a.searchAcData.acHeader});this.trackerFridge.error$.pipe(Of(this.destroyed$)).subscribe(function(b){b.status!==403&&a.errorHandler.errorHandler(null,b)})};Y(J5,Z);J5.\u0275dir=Z.\u0275dir;var V5c=function(a,b){if(b)return"Search "+b.name+" Issues";switch(a.frontendAccessMode){case "INTERNAL":return"Search Buganizer";case "PARTNER":return"Search Partner IssueTracker";case "PUBLIC":return"Search IssueTracker";default:return"Search"}};
J5.prototype.ngOnInit=function(){var a=this;this.appSearchState.queryState$.pipe(Of(this.destroyed$)).subscribe(function(c){var d=a.searchAcData,e=c.cursorPosition;d.query=c.query;d.cursorIdx=e;if(d.cursorIdx==null)d.currentSearchContext=null;else{var f=d.query,h=d.cursorIdx;if(h<0||h>f.length)throw Error("Zf");e=new M2c(f,h);if(f){var l=f.slice(0,h);for(var q=!1,v=-1,y=-1;(v=l.indexOf('"',v+1))>-1;)q=!q,y=v;l=q?y:-1;if(l>-1)e.value={val:f.slice(l,h),idx:l};else if(l=f.slice(h),q=l.search("\\s"),
(l=oyb(f.slice(0,h)+(q>-1?l.slice(0,q):l),Q2c))?(l={negated:!!l[1],val:l[2].toLowerCase(),operator:l[3],idx:l.index-l[1].length-l[2].length-l[3].length},l.val.startsWith("customfield")&&(l.customFieldId=l.val.slice(11),l.val="customfield")):l=null,l){q=l.idx+(l.negated?1:0)+l.val.length+l.operator.length+(l.customFieldId?l.customFieldId.length:0);f=f.slice(q);v=Math.max(h-q,0);y=l;if(f.charAt(0)==="("){b:{y=[];for(var E=/[()]/g,H;(H=E.exec(f))!=null;){var O=y[y.length-1];if(O&&O!==H[0]){if(y.pop(),
!y.length){y=H.index>=v;break b}}else y.push(H[0])}y=!0}y=y?2:0}else y=N2c.includes(y.val)&&f.search("^\\d")===-1?1:0;switch(y){case 2:h=N2c.includes(l.val)?Au(f,v,"([()|]\\s*|OR\\s+|AND\\s+|NOT\\s+|-|\\b\\d+\\s+)","[()|\\s-]"):Au(f,v,"[()|\\s-]");/(OR|AND|NOT|-)$/.test(h.val)&&(h.val="",h.idx=v);e.value=h;break;case 1:e.value=Au(f,v,"[()|]","[()|,\\s]");break;case 0:e.value=Au(f,v,"[\\s()|]");f.slice(0,v).search("[\\s()|]")>-1&&(l=null,v=oyb(f,"(?:\\s|^)(?:-?)(customfield|cf)"))&&(e.value=nyb(f,
v.index-v[1].length,h));break;default:xb(y,"unknown ValueType.")}e.value.idx+=q;e.label=l}else l=oyb(f,"(?:\\s|^)(?:-?)(customfield|cf)"),e.value=l?nyb(f,l.index-l[1].length,h):Au(f,h,"[\\s()]")}d.currentSearchContext=e}d.currentSearchContext&&(e=d.currentSearchContext,h=++d.requestIndex,d.refreshRequest$.next({currentRequestIndex:h,currentSearchContext:e}));a.currentQuery=c.query});var b=this.appSearchState.queryState$.pipe(B(function(c){return c.query}));this.appSearchState.searchTriggered$.pipe(Qf(b),
Of(this.destroyed$)).subscribe(function(c){c=k(c);var d=c.next().value;c=c.next().value;var e=a.appSearchState;d=d===void 0?"":d;var f=feb(c),h=f.filters,l=f.text,q=f.complexSyntax,v=f.resourceIds;f=[h,l,v].reduce(Vk);h=[h?"filters":void 0,l?"text":void 0,v?"ids":void 0].filter(Boolean).join("-");q?e.track(d,"complex"):h?e.track(d,h,f):e.track(d,"UNHANDLED");d=La(e.searchHandlerStack);d===void 0?e.$log.warn("No search function installed."):d(c)})};
J5.prototype.ngAfterViewInit=function(){W4c(this.advancedSearchCtrl,this.appSearchState.currentQuery)};var W5c=function(a){if(a.advancedSearchCtrl)return a.advancedSearchCtrl.getState()!=="SUCCESS"?a.currentQuery:c5c(a.advancedSearchCtrl).trim()};g=J5.prototype;g.onAdvancedSearchOpen=function(){this.advancedSearchCtrl&&(W5c(this)!==this.currentQuery||this.advancedSearchCtrl.getState()!=="SUCCESS")&&W4c(this.advancedSearchCtrl,this.currentQuery)};
g.onAdvancedSearchClose=function(){var a,b;this.appSearchState.selectedTrackerIds$.next((b=(a=this.trackerSearchCtrl)==null?void 0:T5c(a))!=null?b:[]);this.advancedSearchCtrl&&(a=W5c(this),a!==void 0&&a!==this.currentQuery&&this.appSearchState.queryState$.next({query:a,cursorPosition:void 0,setViaInteraction:!1}))};
g.submitAdvancedSearch=function(){var a,b;this.appSearchState.selectedTrackerIds$.next((b=(a=this.trackerSearchCtrl)==null?void 0:T5c(a))!=null?b:[]);this.advancedSearchCtrl&&(a=W5c(this),a!==void 0&&(this.appSearchState.queryState$.next({query:a,cursorPosition:void 0,setViaInteraction:!1}),this.appSearchState.searchTriggered$.next("ui-builder")))};
g.saveSearch=function(a){var b=this;if(this.advancedSearchCtrl){var c=W5c(this);c!==void 0&&(du(this.butterBar,"Saving saved search.",1E3),this.savedSearchApi.create(a,c).then(function(d){b.appEvents.savedSearchModified.next();d=d.searchId;du(b.butterBar,"Created saved search '"+a+"' ID "+d+".");b.bLocation.setUrl(b.paths.viewSavedSearch(d));b.analytics.trackEvent("savedSearches","create")}).catch(function(d){b.butterBar.showWarning(Kn(d))}))}};
g.isSearchDisabled=function(){return!!this.trackerSearchCtrl&&T5c(this.trackerSearchCtrl).length===0};J5.\u0275fac=function(a){return new (a||J5)};
J5.\u0275cmp=t({type:J5,selectors:[["b-top-bar-outlet"]],viewQuery:function(a,b){a&1&&(Mg(C4,5),Mg(H5,5));if(a&2){var c;Qg(c=Rg())&&(b.advancedSearchCtrl=c.first);Qg(c=Rg())&&(b.trackerSearchCtrl=c.first)}},features:[cg],decls:7,vars:12,consts:[[3,"searchBoxOnAdvancedSearchOpen","searchBoxOnAdvancedSearchClose","searchBoxOnAdvancedSearchSubmit","searchBoxOnSaveSearch","logoFrontendAccessMode","logoEnvironmentType","searchBoxPlaceholder","searchBoxAutoCompleteItems","searchBoxAutoCompleteHeader","isSearchDisabled"],
[3,"currentTrackerId","availableTrackers"],[3,"isTrackerSearchEnabled"],[1,"bv2-view-loading"],[1,"bv2-validation-error-banner"],[3,"trackerInternalBaseUrl","trackerExternalBaseUrl"],[1,"warning-container"],["svgIcon","alert"]],template:function(a,b){a&1&&(I(0,"b-app-top-bar",0),M("searchBoxOnAdvancedSearchOpen",function(){return b.onAdvancedSearchOpen()})("searchBoxOnAdvancedSearchClose",function(){return b.onAdvancedSearchClose()})("searchBoxOnAdvancedSearchSubmit",function(){return b.submitAdvancedSearch()})("searchBoxOnSaveSearch",
function(c){return b.saveSearch(c)}),D(1,MEb,2,4,"b-tracker-search",1),K(2,"b-advanced-search",2),D(3,NEb,4,0,"div",3)(4,QEb,3,2,"div",4)(5,REb,2,0,"div",4),J(),D(6,SEb,1,2,"b-tracker-account-menu-hack",5));a&2&&(F("logoFrontendAccessMode",b.frontendAccessMode)("logoEnvironmentType",b.environmentType)("searchBoxPlaceholder",V5c(b,b.currentTracker))("searchBoxAutoCompleteItems",b.items)("searchBoxAutoCompleteHeader",b.acHeader)("isSearchDisabled",b.isSearchDisabled()),C(),G(b.currentTracker?1:-1),
C(),F("isTrackerSearchEnabled",!b.currentTracker),C(),G((b.advancedSearchCtrl==null?null:b.advancedSearchCtrl.getState())==="INIT"?3:-1),C(),G((b.advancedSearchCtrl==null?null:b.advancedSearchCtrl.getState())==="NOT_REPRESENTABLE"||(b.advancedSearchCtrl==null?null:b.advancedSearchCtrl.getState())==="SYNTAX_ERROR"?4:-1),C(),G((b.advancedSearchCtrl==null?null:b.advancedSearchCtrl.getState())==="SERVER_ERROR"?5:-1),C(),G(b.enableTrackersAccountHack&&!b.activeSession.isAnonymous()&&b.currentTracker?6:
-1))},dependencies:[$D,C4,H5,s5c,JO,G5,Iw],styles:["b-app-top-bar[_ngcontent-%COMP%]{position:relative;z-index:900}.warning-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}.warning-container[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#e37400;color:var(--warn-gfx);height:30px;width:30px;flex-shrink:0}.warning-container[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{display:inline-block;margin-left:12px}"]});var K5=function(){};K5.\u0275fac=function(a){return new (a||K5)};K5.\u0275mod=u({type:K5});K5.\u0275inj=p({imports:[RE,yN]});var L5=function(){};L5.\u0275fac=function(a){return new (a||L5)};L5.\u0275mod=u({type:L5});L5.\u0275inj=p({imports:[RE,F4,K5,W4,LO,EI]});var M5=function(){this.dialogRef=r(dL);this.data=r(jL);this.userToDisplay=Ri;this.DiffType=E7b;this.updateDiffs=this.data.updateDiffs};M5.prototype.close=function(){this.dialogRef.close()};M5.\u0275fac=function(a){return new (a||M5)};
M5.\u0275cmp=t({type:M5,selectors:[["b-update-history-modal"]],decls:7,vars:0,consts:[["mat-dialog-content","",1,"update-history-modal"],["tabindex","0",1,"update-history-list"],[1,"bv2-event"],["mat-dialog-actions",""],["mat-button","",1,"medium",3,"click"],[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"bv2-event-content-cell"],[1,"bv2-event-user-name",3,"email"],[1,"bv2-event-info"],["mode","datetime",3,"timestamp"],[1,"bv2-event-details"],[1,"bv2-diff-detail"],[1,"bv2-diff-arrow"]],
template:function(a,b){a&1&&(I(0,"div",0)(1,"ul",1),tg(2,aFb,11,3,"li",2,sg),J()(),I(4,"div",3)(5,"button",4),M("click",function(){return b.close()}),Q(6," Close "),J()());a&2&&(C(2),ug(b.updateDiffs))},dependencies:[vD,Vy,pL,oL,wM,tM,VM],styles:[".update-history-modal[_ngcontent-%COMP%]{word-break:break-word}.update-history-modal[_ngcontent-%COMP%]   .update-history-list[_ngcontent-%COMP%]{max-height:500px;overflow-y:auto;padding:0}.update-history-modal[_ngcontent-%COMP%]   .bv2-event[_ngcontent-%COMP%]{padding:0 0 10px}.update-history-modal[_ngcontent-%COMP%]   .bv2-event[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}.update-history-modal[_ngcontent-%COMP%]   .bv2-event[_ngcontent-%COMP%]:last-child{border-bottom:none}.update-history-modal[_ngcontent-%COMP%]   .bv2-event[_ngcontent-%COMP%]   .bv2-event-details[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{width:auto}.update-history-modal[_ngcontent-%COMP%]   .bv2-event[_ngcontent-%COMP%]   .bv2-event-details[_ngcontent-%COMP%]   .bv2-diff-detail[_ngcontent-%COMP%]{margin-right:0}h4[_ngcontent-%COMP%]{margin:0;margin-bottom:8px;font-weight:normal}"]});var N5=function(){};N5.\u0275fac=function(a){return new (a||N5)};N5.\u0275mod=u({type:N5});N5.\u0275inj=p({imports:[RE,JH,ML,BM,$M]});var O5=function(){this.$window=r(aL);this.activeSession=r(dv);this.faviconUrl=this.defaultFaviconUrl=Oc("https://www.gstatic.com/buganizer/img/v4/favicon.png")};O5.\u0275fac=function(a){return new (a||O5)};O5.\u0275prov=n({token:O5,factory:O5.\u0275fac,providedIn:"root"});var X5c=f8b("edited-ids"),Y5c=Lsa("edited-ids"),Z5c=f8b("viewed-ids"),$5c=Lsa("viewed-ids"),P5=function(){var a=this;this.appEvents=r(nE);this.stop$=new Jf;this.edited=new wWc;this.viewed=new wWc;this.addViewed=function(b){xWc(a.viewed,b);Z5c(Array.from(a.viewed.dataStore.keys()).join(","))};this.addEdited=function(b){xWc(a.edited,b);X5c(Array.from(a.edited.dataStore.keys()).join(","))}};P5.\u0275fac=function(a){return new (a||P5)};P5.\u0275prov=n({token:P5,factory:P5.\u0275fac,providedIn:"root"});var a6c=/^\s*[^:/?#]+:/i,b6c=/^#/i,Q5=function(){var a=this;this.bLocation=r(WI);this.linkClickHandler=function(b){if(!(b.ctrlKey||b.metaKey||b.shiftKey||b.which===2||b.button===2||b.defaultPrevented)){var c;a:{for(c=b.target;c;){if(c.tagName==="A")break a;c=c.parentElement}c=void 0}if(c&&(!c.hasAttribute("target")||c.getAttribute("target")==="_self")&&(c=c.getAttribute("href"))&&!a6c.test(c))if(b6c.test(c)){a.bLocation.hash(c.substring(1));var d;(d=document.getElementById(c.substring(1)))==null||
d.scrollIntoView();b.stopPropagation();b.preventDefault()}else b.preventDefault(),a.bLocation.setUrl(c)}}};Q5.prototype.install=function(){document.addEventListener("click",this.linkClickHandler)};Q5.\u0275fac=function(a){return new (a||Q5)};Q5.\u0275prov=n({token:Q5,factory:Q5.\u0275fac,providedIn:"root"});var c6c=[],d6c=!1,R5=function(){Z.apply(this,arguments);this.hatsService=r(gS);this.iconRegistry=r(ZD);this.session=r(dv);this.appHistory=r(Y3);this.routePerformance=r(sZ);this.linkClickHandler=r(Q5);this.issueLru=r(P5);this.faviconService=r(O5);this.imageUrls=r(iO)};Y(R5,Z);R5.\u0275dir=Z.\u0275dir;R5.prototype.tearDown=function(){Z.prototype.ngOnDestroy.call(this);document.removeEventListener("click",this.linkClickHandler.linkClickHandler)};
R5.\u0275fac=function(){var a;return function(b){return(a||(a=de(R5)))(b||R5)}}();R5.\u0275prov=n({token:R5,factory:R5.\u0275fac,providedIn:"root"});
var e6c={provide:P0b,useFactory:function(a){return function(){d6c||(a.iconRegistry._addSvgIconSetConfig("",new O$b(a.imageUrls.ICON_URL)),d6c=!0);if(a.session.isInternalSession()){IAc(a.hatsService,"Y4qgAGETM0g6pPHSLo10T83aMF4T").pipe(Cf(),Of(a.destroyed$)).subscribe();for(var b=k(c6c),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.hatsTriggerId;lu(a.session,c.flagName)&&IAc(a.hatsService,d).pipe(Cf(),Of(a.destroyed$)).subscribe()}}a.appHistory.install();a.routePerformance.install();a.linkClickHandler.install();
b=a.issueLru;yWc(b.viewed,$5c());yWc(b.edited,Y5c());b.appEvents.issueViewed.pipe(Of(b.stop$)).subscribe(b.addViewed);b.appEvents.issueEdited.pipe(Of(b.stop$)).subscribe(b.addEdited);c=a.faviconService;b=c.$window.document.head.querySelector('link[rel="shortcut icon"]');d=b==null?void 0:b.href;c.faviconUrl=d?Oc(d):c.defaultFaviconUrl;var e;d=c.activeSession.getTracker();if(d==null?0:(e=d.branding)==null?0:e.logoUrl){var f;e=Oc(d==null?void 0:(f=d.branding)==null?void 0:f.logoUrl)}else e=c.faviconUrl;
f=e;if(b&&b.href!==f.toString())if(f instanceof Hc)b.href=Jc(f).toString(),b.rel="icon";else{if(m_b.indexOf("icon")===-1)throw Error("ra`icon");f=Pc(f);f!==void 0&&(b.href=f,b.rel="icon")}}},deps:[R5],multi:!0};var S5=function(){this.paths=r(zO);this.bLocation=r(WI)};S5.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());var b=a.elementId;a=wq(a.issueId)+(b?"#"+b:"");this.bLocation.setUrl(a)};S5.\u0275fac=function(a){return new (a||S5)};S5.\u0275prov=n({token:S5,factory:S5.\u0275fac,providedIn:"root"});var f6c={provide:zP,useExisting:S5};var g6c=function(){var a;switch((a=self.location)==null?void 0:a.hostname){case "cider.corp.google.com":case "cider-v.corp.google.com":case "critique.corp.google.com":return 1;case "cider-staging.corp.google.com":case "cider-v-staging.corp.google.com":case "critique-staging.corp.google.com":return 2;case "cider-test.corp.google.com":case "cider-v-test.corp.google.com":case "critique-qa.corp.google.com":return 3;default:return 4}}();var T5=function(a){PF.call(this);this.errorHandlerFn_=a};qv(T5,PF);T5.prototype.wrap=function(a){return h6c(this,a)};var U5=function(a,b){return(b?"__wrapper_":"__protected_")+vp(a)+"__"},h6c=function(a,b){var c=U5(a,!0);b[c]||((b[c]=i6c(a,b))[U5(a,!1)]=b);return b[c]},i6c=function(a,b){var c=function(){if(a.isDisposed())return b.apply(this,arguments);try{return b.apply(this,arguments)}catch(d){a.handleError_(d)}};c[U5(a,!1)]=b;return c};
T5.prototype.handleError_=function(a){if(!(a&&typeof a==="object"&&typeof a.message==="string"&&a.message.indexOf("Error in protected function: ")==0||typeof a==="string"&&a.indexOf("Error in protected function: ")==0))throw this.errorHandlerFn_(a),new j6c(a);};
var k6c=function(a,b){var c=ya.window||ya.globalThis,d=c[b];if(!d)throw Error("cg`"+b);c[b]=function(e,f){typeof e==="string"&&(e=pv(DYb,e));e&&(arguments[0]=e=h6c(a,e));if(d.apply)return d.apply(this,arguments);var h=e;if(arguments.length>2){var l=Array.prototype.slice.call(arguments,2);h=function(){e.apply(this,l)}}return d(h,f)};c[b][U5(a,!1)]=d};
T5.prototype.disposeInternal=function(){var a=ya.window||ya.globalThis;var b=a.setTimeout;b=b[U5(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[U5(this,!1)]||b;a.setInterval=b;T5.superClass_.disposeInternal.call(this)};var j6c=function(a){wa.call(this,"Error in protected function: "+(a&&a.message?String(a.message):String(a)),a);(a=a&&a.stack)&&typeof a==="string"&&(this.stack=a)};qv(j6c,wa);var m6c=function(a,b,c){yp.call(this);this.contextProvider_=b||null;this.additionalArguments_={};this.xhrSender_=l6c;this.handlerUrl_=a;if(!c){this.errorHandler_=null;this.errorHandler_=new T5(ov(this.handleException,this));k6c(this.errorHandler_,"setTimeout");k6c(this.errorHandler_,"setInterval");a=this.errorHandler_;b=ya.window||ya.globalThis;c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(var d=0;d<c.length;d++){var e=c[d];c[d]in b&&k6c(a,
e)}a=this.errorHandler_;g6b=!0;b=ov(a.wrap,a);for(c=0;c<e6b.length;c++)e6b[c](b);f6b.push(a)}};qv(m6c,yp);var n6c=function(a,b){bG.call(this,"F");this.error=a;this.context=b};qv(n6c,bG);var l6c=function(a,b,c,d){if(d instanceof Map){var e={};d=k(d);for(var f=d.next();!f.done;f=d.next()){var h=k(f.value);f=h.next().value;h=h.next().value;e[f]=h}}else e=d;m_a(a,null,b,c,e)};
m6c.prototype.handleException=function(a,b){a=a.error||a;b=b?Gc(b):{};a instanceof Error&&Cea(b,a.__closure__error__context__984382||{});var c=o_b(a);if(this.contextProvider_)try{this.contextProvider_(c,b)}catch(e){}var d=c.message.substring(0,1900);a instanceof wa&&!a.reportErrorToServer||o6c(this,d,c.fileName,c.lineNumber,c.stack,b);try{this.dispatchEvent(new n6c(c,b))}catch(e){}};
var o6c=function(a,b,c,d,e,f){try{var h=gRa(a.handlerUrl_,"script",c,"error",b,"line",d);Ec(a.additionalArguments_)||(h=iRa(h,a.additionalArguments_));b={};b.trace=e;if(f)for(var l in f)b["context."+l]=f[l];var q=bhc(b);a.xhrSender_(h,"POST",q,a.extraHeaders_)}catch(v){}};m6c.prototype.disposeInternal=function(){zo(this.errorHandler_);m6c.superClass_.disposeInternal.call(this)};var V5=function(){this.jsBuild="683742731";this.buildLabel="buganizer.frontend_20241008.09_p0"};V5.\u0275fac=function(a){return new (a||V5)};V5.\u0275prov=n({token:V5,factory:V5.\u0275fac,providedIn:"root"});var W5=function(){};W5.prototype.reportingEnabled=function(){return g6c!==4};W5.\u0275fac=function(a){return new (a||W5)};W5.\u0275prov=n({token:W5,factory:W5.\u0275fac,providedIn:"root"});
var X5=function(){var a=this;this.appContext=r(W5);this.context={};this.reportingExtensions=[];var b=r(V5);this.jsDebugErrorReporter=new m6c("/jserror",function(c,d){d.js_build=b.jsBuild;d.buildLabel=b.buildLabel;d["build-label"]=b.buildLabel;c=k(a.reportingExtensions);for(var e=c.next();!e.done;e=c.next())e.value.enhanceContext(d)},!0)},p6c=function(a,b){b="Error: "+b;console.error("ErrorReporter: ",b);if(a.appContext.reportingEnabled())try{throw Error(b);}catch(c){for(bFb(c),o6c(a.jsDebugErrorReporter,
b,c.fileName,c.lineNumber,c.stack,a.context),a=k(a.reportingExtensions),b=a.next();!b.done;b=a.next())b.value.onReportedError()}};X5.prototype.reportError=function(a){console.error("ErrorReporter: ",(a==null?void 0:a.stack)||a);if(this.appContext.reportingEnabled()){bFb(a);this.jsDebugErrorReporter.handleException(a);a=k(this.reportingExtensions);for(var b=a.next();!b.done;b=a.next())b.value.onReportedError()}};X5.\u0275fac=function(a){return new (a||X5)};
X5.\u0275prov=n({token:X5,factory:X5.\u0275fac,providedIn:"root"});var Y5=function(){this.reporter=r(X5)};
Y5.prototype.handleError=function(a){if(Jn(a))if(a.status===400)var b=!1;else{var c;b=Math.floor(((c=a.status)!=null?c:0)/100)===4}else b=a instanceof Error&&a.message.includes("queueMicrotask is not defined")?!0:!1;if(b)qj("omitting eye3 reporting of",a);else if(typeof a==="string")p6c(this.reporter,a);else if(a instanceof Error||!Jn(a)){b=o_b(a);var d,e;this.reporter.reportError(Object.assign({},b,{name:(d=b.name)!=null?d:"UnknownError",message:(e=b.message)!=null?e:String(a)}))}else p6c(this.reporter,
Kn(a))};Y5.\u0275fac=function(a){return new (a||Y5)};Y5.\u0275prov=n({token:Y5,factory:Y5.\u0275fac,providedIn:"root"});var Z5=function(){this.activeSession=r(dv)};Y(Z5,W5);Z5.prototype.reportingEnabled=function(){return lu(this.activeSession,"reportErrors")};Z5.\u0275fac=function(){var a;return function(b){return(a||(a=de(Z5)))(b||Z5)}}();Z5.\u0275prov=n({token:Z5,factory:Z5.\u0275fac,providedIn:"root"});
var q6c={provide:sf,useClass:Y5},r6c={provide:W5,useClass:Z5},s6c={provide:V5,useValue:{jsBuild:"683742731",buildLabel:"buganizer.frontend_20241008.09_p0"}};var $5=function(){};$5.\u0275fac=function(a){return new (a||$5)};$5.\u0275cmp=t({type:$5,selectors:[["b-empty"]],decls:0,vars:0,template:function(){},encapsulation:2});var a6=function(){};a6.\u0275fac=function(a){return new (a||a6)};a6.\u0275mod=u({type:a6});a6.\u0275inj=p({});var b6=function(){};Y(b6,DE);b6.prototype.store=function(){};b6.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig&&yi(a.params,b.params)};b6.\u0275fac=function(){var a;return function(b){return(a||(a=de(b6)))(b||b6)}}();b6.\u0275prov=n({token:b6,factory:b6.\u0275fac,providedIn:"root"});var c6=function(){this.router=r(HE)};
c6.prototype.canActivate=function(a,b){if(b.url.includes("#ISSUE_HistoryHeader")){var c=k(b.url.split("#ISSUE_HistoryHeader"));a=c.next().value;c=c.next().value;return IE(this.router,[a],{fragment:c&&!isNaN(Number(c))?"comment"+c:void 0})}if(a.queryParamMap.has("showInsights")&&a.queryParamMap.get("showInsights")==="1"){b=k(b.url.split("?")).next().value;var d={};return IE(this.router,[b],{queryParams:Object.assign({},HGa(a.queryParamMap),(d.showInsights="deployments",d)),fragment:(c=a.fragment)!=
null?c:void 0})}return b.url==="/attention"?IE(this.router,["home"]):!0};c6.\u0275fac=function(a){return new (a||c6)};c6.\u0275prov=n({token:c6,factory:c6.\u0275fac,providedIn:"root"});var t6c=/^(\d+)$/,d6=function(){this.butterBar=r(hE);this.paramNamesToCheck=new Set(Object.values(S8b))};d6.prototype.validate=function(a){for(var b=k(Object.keys(a)),c=b.next();!c.done;c=b.next())if(c=c.value,this.paramNamesToCheck.has(c)){var d=a[c],e=cm(d);if(!t6c.test(d)||isNaN(e)||!Number.isInteger(e))return this.butterBar.showWarning("The URL parameter "+c+' has the malformed value "'+d+'".'),!1}return!0};d6.\u0275fac=function(a){return new (a||d6)};
d6.\u0275prov=n({token:d6,factory:d6.\u0275fac,providedIn:"root"});var e6=function(){this.routeParamsValidator=r(d6)};e6.prototype.canActivate=function(a){return this.routeParamsValidator.validate(a.params)};e6.\u0275fac=function(a){return new (a||e6)};e6.\u0275prov=n({token:e6,factory:e6.\u0275fac,providedIn:"root"});var f6=function(){this.activeSession=r(dv);this.router=r(HE)};f6.prototype.canActivate=function(){return this.activeSession.isInternalSession()?!0:IE(this.router,["issues"])};f6.\u0275fac=function(a){return new (a||f6)};f6.\u0275prov=n({token:f6,factory:f6.\u0275fac,providedIn:"root"});var g6=function(){this.activeSession=r(dv);this.router=r(HE)};g6.prototype.canActivate=function(){return this.activeSession.getTracker()&&!lu(this.activeSession,"enableMissionControlInTrackers")?IE(this.router,["issues"]):!0};g6.\u0275fac=function(a){return new (a||g6)};g6.\u0275prov=n({token:g6,factory:g6.\u0275fac,providedIn:"root"});var h6=function(){this.userPreferences=r(yH);this.activeSession=r(dv)},u6c=function(a){var b=a.activeSession.isInternalSession();a=Xo(a.userPreferences.homepagePreferences$);if(b&&(a==null||Object.keys(a).length===0||(a==null?void 0:a.resourceType)==="MISSION_CONTROL"))return"/home";if((a==null?void 0:a.resourceType)==="ASSIGNED_TO_ME"||a==null||!a.resourceId)return"/issues";switch(a.resourceType){case "BOOKMARK_GROUP":return"/dashboard/"+a.resourceId;case "SAVED_SEARCH":return"/savedsearches/"+a.resourceId;
case "HOTLIST":return"/hotlists/"+a.resourceId;default:return"/issues"}};h6.\u0275fac=function(a){return new (a||h6)};h6.\u0275prov=n({token:h6,factory:h6.\u0275fac,providedIn:"root"});var i6=function(){this.router=r(HE);this.homepageRedirection=r(h6)};i6.prototype.canActivate=function(){return IE(this.router,[u6c(this.homepageRedirection)])};i6.\u0275fac=function(a){return new (a||i6)};i6.\u0275prov=n({token:i6,factory:i6.\u0275fac,providedIn:"root"});var v6c={ANDROID:"Android",CHROME:"ChromeOS",IOS:"iOS",LINUX:"Linux",MAC:"Mac",UNKNOWN:"Unknown",WINDOWS:"Windows"};var XXb={default:1363614,apps:1456886,blink:1456407,devtools:1457055,enterprise:1456152,extensions:1456110,installer:1456937,media:1456190,network:1456527,sync:1457192,ui:1457123,webstore:1457238},WXb={default:402888,apps:422083,blink:421442,devtools:422123,enterprise:421726,extensions:422130,installer:421863,media:421886,network:421924,sync:422168,ui:422198,webstore:422443},w6c=["media-bugs@chromium.org"],x6c=["chrome-sync-monorail@google.com"];var y6c={USER:"USER",DEVELOPER:"DEVELOPER",VULN_REPORTER:"VULN_REPORTER",CONTRIBUTOR:"CONTRIBUTOR"},z6c={INPUT:"INPUT",TEXT:"TEXT",SELECT:"SELECT"},A6c=new Bd("CustomQuestionsConfig"),B6c=new Bd("ComponentIds"),C6c=new Bd("CustomFieldIds"),D6c=new Bd("HotlistIds");var j6=function(){this.componentIds=r(B6c);this.persona="USER";this.categoryChange=new rG;var a={};this.options=(a.USER=[{title:"UI",description:"Problems with the user interface (e.g. tabs, context menus, etc...)",value:"UI",componentId:this.componentIds.ui},{title:"Network / Downloading",description:"Problems with accessing remote content",value:"NETWORK_DOWNLOADING",componentId:this.componentIds.network},{title:"Audio / Video",description:"Problems playing back sound or movies",value:"AUDIO_VIDEO",
componentId:this.componentIds.media,ccEmails:w6c},{title:"Content",description:"Problems with webpages not working correctly",value:"CONTENT"},{title:"Apps",description:"Issues with Webstore apps",value:"APPS",componentId:this.componentIds.apps},{title:"Extensions / Themes",description:"Issues with Webstore extensions and themes",value:"EXTENSIONS_THEMES",componentId:this.componentIds.extensions},{title:"Webstore",description:"Problems with the Chrome Webstore itself",value:"WEBSTORE",componentId:this.componentIds.webstore},
{title:"Sync",description:"Problems syncing data to a Google account",value:"SYNC",componentId:this.componentIds.sync,ccEmails:x6c},{title:"Enterprise",description:"Policy configuration and deployment issues",value:"ENTERPRISE",componentId:this.componentIds.enterprise},{title:"Installation",description:"Problem installing Chrome",value:"INSTALLATION",componentId:this.componentIds.installer},{title:"Crashes",description:'The browser closes abruptly or I see "Aw, Snap!" pages',value:"CRASHES"},{title:"Other",
description:"Something not listed here",value:"OTHER"}],a.DEVELOPER=[{title:"API",description:"Problems with a browser API",value:"API",componentId:this.componentIds.blink},{title:"JavaScript",description:"Problems with the JavaScript interpreter",value:"JAVASCRIPT",componentId:this.componentIds.blink},{title:"Developer Tools",description:"Problems with the Developer tool chain/inspector",value:"DEV_TOOLS",componentId:this.componentIds.devtools}],a.VULN_REPORTER=[{title:"Security",description:"Problems with the browser security",
value:"SECURITY"}],a.CONTRIBUTOR=[],a)};j6.prototype.ngOnChanges=function(a){var b=this;a.persona&&a.persona.currentValue==="VULN_REPORTER"&&setTimeout(function(){b.category=b.options.VULN_REPORTER[0];b.categoryChange.emit(b.category)})};j6.\u0275fac=function(a){return new (a||j6)};
j6.\u0275cmp=t({type:j6,selectors:[["wizard-category-select"]],inputs:{persona:"persona",category:"category"},outputs:{categoryChange:"categoryChange"},features:[Hd],decls:6,vars:2,consts:[["appearance","outline","aria-label","Which of the following describes your issue?"],["panelClass","oversized","aria-label","Choose issue category",3,"valueChange","value"],[1,"multiline",3,"value"],[1,"description"]],template:function(a,b){a&1&&(I(0,"mat-form-field",0)(1,"mat-select",1),M("valueChange",function(d){b.category=
d;b.categoryChange.emit(b.category)}),I(2,"mat-select-trigger"),Q(3),J(),tg(4,dFb,5,3,"mat-option",2,sg),J()());if(a&2){var c;C();F("value",b.category);C(2);R(" ",(c=b.category==null?null:b.category.title)!==null&&c!==void 0?c:""," ");C();ug(b.options[b.persona])}},dependencies:[$z,MN,eQ,mQ,nQ,My],styles:[".mat-mdc-select-panel.oversized{max-height:500px;max-width:800px}mat-option.multiline[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1rem;letter-spacing:.00625em;font-weight:400;line-height:1.5em;height:5em}mat-option.multiline[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#5f6368;color:var(--text-muted)}mat-form-field[_ngcontent-%COMP%]{min-width:300px}\n/*# sourceMappingURL=category_select.css.map */"]});var Ou=function(a){return{question:a}},k6=function(){this.config=r(A6c);this.CustomQuestionType=z6c;this.responses=new rG;this.model=Object.assign({},this.config)};k6.prototype.ngOnInit=function(){};var jFb=function(a){var b=a.model[a.category].filter(function(c){return!!c.response});a.responses.emit(b)};k6.\u0275fac=function(a){return new (a||k6)};
k6.\u0275cmp=t({type:k6,selectors:[["wizard-custom-questions"]],inputs:{category:"category"},outputs:{responses:"responses"},decls:10,vars:0,consts:[["customQuestion",""],["input",""],["text",""],["select",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHtml"],["appearance","outline"],["matInput","",3,"ngModelChange","ngModel"],["appearance","outline",1,"textarea"],["required","",3,"valueChange","value"],[3,"value"]],template:function(a,b){a&1&&(tg(0,eFb,1,4,"ng-container",4,sg),D(2,
iFb,3,1,"ng-template",null,0,fh)(4,kFb,3,3,"ng-template",null,1,fh)(6,lFb,4,3,"ng-template",null,2,fh)(8,pFb,6,4,"ng-template",null,3,fh));a&2&&ug(b.model[b.category])},dependencies:[Hw,ki,tz,Bz,ON,hA,$z,MN,eQ,mQ,My],styles:['[_nghost-%COMP%]   h2[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:2rem;font-size:1.5rem;letter-spacing:0;font-weight:400}[_nghost-%COMP%]   h4[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1.125rem;letter-spacing:0;font-weight:400;font-weight:100;margin:0}[_nghost-%COMP%]   h4.required[_ngcontent-%COMP%]:after{content:" *";color:#ea4335;color:var(--bad)}[_nghost-%COMP%]   mat-form-field.textarea[_ngcontent-%COMP%]{min-width:90%}[_nghost-%COMP%]   textarea[_ngcontent-%COMP%]{min-height:4rem;padding:4px 1px 1px 7px}[_nghost-%COMP%]   mat-form-field[_ngcontent-%COMP%]{margin:4px 0}[_nghost-%COMP%]   mat-form-field.inline[_ngcontent-%COMP%]{margin:4px 8px}mat-form-field[_ngcontent-%COMP%]{min-width:500px}\n/*# sourceMappingURL=custom_questions.css.map */']});var E6c=function(){this.Persona=y6c;this.persona="USER";this.personaChange=new rG};E6c.\u0275fac=function(a){return new (a||E6c)};
E6c.\u0275cmp=t({type:E6c,selectors:[["wizard-persona-picker"]],inputs:{persona:"persona"},outputs:{personaChange:"personaChange"},decls:18,vars:5,consts:[["aria-label","Select your following role",3,"ngModelChange","ngModel"],[3,"value"],[1,"subtext"],[1,"vuln-reporter",3,"value"]],template:function(a,b){a&1&&(I(0,"div")(1,"mat-radio-group",0),M("ngModelChange",function(c){b.persona=c;b.personaChange.emit(b.persona)}),I(2,"mat-radio-button",1),Q(3," End User "),I(4,"div",2),Q(5," I am trying to use a website. "),
J()(),I(6,"mat-radio-button",1),Q(7," Web Developer "),I(8,"div",2),Q(9," I am trying to build something on a website. "),J()(),I(10,"mat-radio-button",3),Q(11," Vulnerability Reporter "),I(12,"div",2),Q(13," I am reporting a possible security vulnerability. "),J()(),I(14,"mat-radio-button",1),Q(15," Chromium Contributor "),I(16,"div",2),Q(17," I know about a problem in specific tests or code. "),J()()()());a&2&&(C(),F("ngModel",b.persona),C(),F("value",b.Persona.USER),C(4),F("value",b.Persona.DEVELOPER),
C(4),F("value",b.Persona.VULN_REPORTER),C(4),F("value",b.Persona.CONTRIBUTOR))},dependencies:[tz,Bz,uO,vO],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     mat-radio-button .mat-internal-form-field{-webkit-box-align:baseline;-webkit-align-items:baseline;-moz-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}mat-radio-group[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media (min-width:960px){mat-radio-group[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr}}mat-radio-button[_ngcontent-%COMP%]{border-bottom:2px solid;border-bottom-color:#dadce0;border-bottom-color:var(--c300);font-family:Google Sans,Roboto,Arial,sans-serif;line-height:2rem;font-size:1.5rem;letter-spacing:0;font-weight:400;max-width:270px;height:90px;padding:16px;white-space:nowrap}mat-radio-button[_ngcontent-%COMP%]   .subtext[_ngcontent-%COMP%]{font-size:.9rem;line-height:1.2rem;min-height:48px;margin-top:12px;text-wrap:wrap}\n/*# sourceMappingURL=persona_picker.css.map */"]});var F6c=new Bd("GMAT_CARD_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var G6c=function(a){this.options=a};G6c.\u0275fac=function(a){return new (a||G6c)(af(F6c))};G6c.\u0275dir=ud({type:G6c,selectors:[["mat-card"]],hostVars:2,hostBindings:function(a,b){a&2&&ng("gmat-mdc-card",!b.options.disableGmatStyle)}});var l6=function(){this._elementRef=r(ge)};l6.prototype.focus=function(){this._elementRef.nativeElement.focus()};l6.\u0275fac=function(a){return new (a||l6)};l6.\u0275dir=ud({type:l6,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"],standalone:!0});var m6=function(){this.template=r(Jg)};m6.\u0275fac=function(a){return new (a||m6)};m6.\u0275dir=ud({type:m6,selectors:[["","cdkStepLabel",""]],standalone:!0});var H6c=0,I6c=new Bd("STEPPER_GLOBAL_OPTIONS"),o6=function(){this._stepper=r(n6);this.interacted=!1;this.interactedStream=new kw;this.editable=!0;this.optional=!1;this._customError=this._completedOverride=null;var a=r(I6c,{optional:!0});this._stepperOptions=a?a:{};this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1};g=o6.prototype;g._getDefaultCompleted=function(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted};
g._getDefaultError=function(){return this.stepControl&&this.stepControl.invalid&&this.interacted};g.select=function(){this._stepper.selected=this};g.reset=function(){this.interacted=!1;this._completedOverride!=null&&(this._completedOverride=!1);this._customError!=null&&(this._customError=!1);if(this.stepControl){var a;(a=this._childForms)==null||a.forEach(function(b){var c;return(c=b.resetForm)==null?void 0:c.call(b)});this.stepControl.reset()}};g.ngOnChanges=function(){this._stepper._stateChanged()};
g._markAsInteracted=function(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))};g._showError=function(){var a;return(a=this._stepperOptions.showError)!=null?a:this._customError!=null};
ea.Object.defineProperties(o6.prototype,{completed:{configurable:!0,enumerable:!0,get:function(){return this._completedOverride==null?this._getDefaultCompleted():this._completedOverride},set:function(a){this._completedOverride=a}},hasError:{configurable:!0,enumerable:!0,get:function(){return this._customError==null?this._getDefaultError():this._customError},set:function(a){this._customError=a}}});o6.\u0275fac=function(a){return new (a||o6)};
o6.\u0275cmp=t({type:o6,selectors:[["cdk-step"]],contentQueries:function(a,b,c){a&1&&(Ng(c,m6,5),Ng(c,sz,5));if(a&2){var d;Qg(d=Rg())&&(b.stepLabel=d.first);Qg(d=Rg())&&(b._childForms=d)}},viewQuery:function(a,b){a&1&&Mg(Jg,7);if(a&2){var c;Qg(c=Rg())&&(b.content=c.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",rh],optional:[2,
"optional","optional",rh],completed:[2,"completed","completed",rh],hasError:[2,"hasError","hasError",rh]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],standalone:!0,features:[dg,Hd,$g],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Dg(),D(0,qFb,1,0,"ng-template"))},encapsulation:2,changeDetection:0});
var n6=function(){this._dir=r(Jx,{optional:!0});this._changeDetectorRef=r(rw);this._elementRef=r(ge);this._destroyed=new Jf;this.steps=new Lg;this._sortedHeaders=new Lg;this.linear=!1;this._selectedIndex=0;this.selectionChange=new kw;this.selectedIndexChange=new kw;this._groupId=H6c++;this._orientation="horizontal"};g=n6.prototype;
g.ngAfterContentInit=function(){var a=this;this._steps.changes.pipe(Mf(this._steps),Of(this._destroyed)).subscribe(function(b){a.steps.reset(b.filter(function(c){return c._stepper===a}));Pg(a.steps)})};
g.ngAfterViewInit=function(){var a=this;this._stepHeader.changes.pipe(Mf(this._stepHeader),Of(this._destroyed)).subscribe(function(b){a._sortedHeaders.reset(b.toArray().sort(function(c,d){return c._elementRef.nativeElement.compareDocumentPosition(d._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}));Pg(a._sortedHeaders)});this._keyManager=Cx(Ex(Bx(new Hx(this._sortedHeaders))),this._orientation==="vertical");(this._dir?this._dir.change:Fe()).pipe(Mf(this._layoutDirection()),Of(this._destroyed)).subscribe(function(b){return Dx(a._keyManager,
b)});Fx(this._keyManager,this._selectedIndex);this.steps.changes.subscribe(function(){a.selected||(a._selectedIndex=Math.max(a._selectedIndex-1,0))});this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)};g.ngOnDestroy=function(){var a;(a=this._keyManager)==null||a.destroy();this.steps.destroy();this._sortedHeaders.destroy();this._destroyed.next();this._destroyed.complete()};g.next=function(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)};
g.previous=function(){this.selectedIndex=Math.max(this._selectedIndex-1,0)};g.reset=function(){this._updateSelectedItemIndex(0);this.steps.forEach(function(a){return a.reset()});this._stateChanged()};g._getStepLabelId=function(a){return"cdk-step-label-"+this._groupId+"-"+a};g._getStepContentId=function(a){return"cdk-step-content-"+this._groupId+"-"+a};g._stateChanged=function(){this._changeDetectorRef.markForCheck()};
g._getAnimationDirection=function(a){a-=this._selectedIndex;return a<0?this._layoutDirection()==="rtl"?"next":"previous":a>0?this._layoutDirection()==="rtl"?"previous":"next":"current"};g._getIndicatorType=function(a,b){b=b===void 0?"number":b;var c=this.steps.toArray()[a];a=this._isCurrentStep(a);return c._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(c,a):this._getGuidelineLogic(c,a,b)};
g._getDefaultIndicatorLogic=function(a,b){return a._showError()&&a.hasError&&!b?"error":!a.completed||b?"number":a.editable?"edit":"done"};g._getGuidelineLogic=function(a,b,c){c=c===void 0?"number":c;return a._showError()&&a.hasError&&!b?"error":a.completed&&!b?"done":a.completed&&b?c:a.editable&&b?"edit":c};g._isCurrentStep=function(a){return this._selectedIndex===a};g._getFocusIndex=function(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex};
g._updateSelectedItemIndex=function(a){var b=this.steps.toArray();this.selectionChange.emit({selectedIndex:a,previouslySelectedIndex:this._selectedIndex,selectedStep:b[a],previouslySelectedStep:b[this._selectedIndex]});this._containsFocus()?this._keyManager.setActiveItem(a):Fx(this._keyManager,a);this._selectedIndex=a;this.selectedIndexChange.emit(this._selectedIndex);this._stateChanged()};
g._onKeydown=function(a){var b=Yh(a),c=a.keyCode,d=this._keyManager;if(d.activeItemIndex==null||b||c!==32&&c!==13)Q2b(d,"keyboard").onKeydown(a);else this.selectedIndex=d.activeItemIndex,a.preventDefault()};g._anyControlsInvalidOrPending=function(a){return this.linear&&a>=0?this.steps.toArray().slice(0,a).some(function(b){var c=b.stepControl;return(c?c.invalid||c.pending||!b.interacted:!b.completed)&&!b.optional&&!b._completedOverride}):!1};
g._layoutDirection=function(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"};g._containsFocus=function(){var a=this._elementRef.nativeElement,b=Wh();return a===b||a.contains(b)};g._isValidIndex=function(a){return a>-1&&(!this.steps||a<this.steps.length)};
ea.Object.defineProperties(n6.prototype,{selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){if(this.steps&&this._steps){this._isValidIndex(a);var b;(b=this.selected)==null||b._markAsInteracted();this._selectedIndex!==a&&!this._anyControlsInvalidOrPending(a)&&(a>=this._selectedIndex||this.steps.toArray()[a].editable)&&this._updateSelectedItemIndex(a)}else this._selectedIndex=a}},selected:{configurable:!0,enumerable:!0,get:function(){return this.steps?
this.steps.toArray()[this.selectedIndex]:void 0},set:function(a){this.selectedIndex=a&&this.steps?this.steps.toArray().indexOf(a):-1}},orientation:{configurable:!0,enumerable:!0,get:function(){return this._orientation},set:function(a){this._orientation=a;this._keyManager&&Cx(this._keyManager,a==="vertical")}}});n6.\u0275fac=function(a){return new (a||n6)};
n6.\u0275dir=ud({type:n6,selectors:[["","cdkStepper",""]],contentQueries:function(a,b,c){a&1&&(Ng(c,o6,5),Ng(c,l6,5));if(a&2){var d;Qg(d=Rg())&&(b._steps=d);Qg(d=Rg())&&(b._stepHeader=d)}},inputs:{linear:[2,"linear","linear",rh],selectedIndex:[2,"selectedIndex","selectedIndex",sh],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"],standalone:!0,features:[dg]});var p6=function(){this._stepper=r(n6);this.type="submit"};p6.\u0275fac=function(a){return new (a||p6)};p6.\u0275dir=ud({type:p6,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(){return b._stepper.next()});a&2&&yg("type",b.type)},inputs:{type:"type"},standalone:!0});var q6=function(){this._stepper=r(n6);this.type="button"};q6.\u0275fac=function(a){return new (a||q6)};
q6.\u0275dir=ud({type:q6,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(){return b._stepper.previous()});a&2&&yg("type",b.type)},inputs:{type:"type"},standalone:!0});var r6=function(){};r6.\u0275fac=function(a){return new (a||r6)};r6.\u0275mod=u({type:r6});r6.\u0275inj=p({imports:[Kx]});var s6=function(){p6.apply(this,arguments)};Y(s6,p6);s6.\u0275fac=function(){var a;return function(b){return(a||(a=de(s6)))(b||s6)}}();s6.\u0275dir=ud({type:s6,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(a,b){a&2&&yg("type",b.type)},standalone:!0,features:[cg]});var t6=function(){q6.apply(this,arguments)};Y(t6,q6);t6.\u0275fac=function(){var a;return function(b){return(a||(a=de(t6)))(b||t6)}}();
t6.\u0275dir=ud({type:t6,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(a,b){a&2&&yg("type",b.type)},standalone:!0,features:[cg]});var u6=function(){this.templateRef=r(Jg)};u6.\u0275fac=function(a){return new (a||u6)};u6.\u0275dir=ud({type:u6,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]},standalone:!0});var J6c=function(){this._template=r(Jg)};J6c.\u0275fac=function(a){return new (a||J6c)};J6c.\u0275dir=ud({type:J6c,selectors:[["ng-template","matStepContent",""]],standalone:!0});var v6=function(){m6.apply(this,arguments)};Y(v6,m6);v6.\u0275fac=function(){var a;return function(b){return(a||(a=de(v6)))(b||v6)}}();v6.\u0275dir=ud({type:v6,selectors:[["","matStepLabel",""]],standalone:!0,features:[cg]});var w6=function(){this.changes=new Jf;this.optionalLabel="Optional";this.completedLabel="Completed";this.editableLabel="Editable"};w6.\u0275fac=function(a){return new (a||w6)};w6.\u0275prov=n({token:w6,factory:w6.\u0275fac,providedIn:"root"});var K6c={provide:w6,deps:[[new Wv,new Xv,w6]],useFactory:function(a){return a||new w6}};var x6=function(){this._elementRef=r(ge);this._intl=r(w6);this._focusMonitor=r(ax);r(Yw).load(Fy);var a=r(rw);this._intlSubscription=this._intl.changes.subscribe(function(){return a.markForCheck()})};Y(x6,l6);x6.\u0275dir=l6.\u0275dir;g=x6.prototype;g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};g.ngOnDestroy=function(){this._intlSubscription.unsubscribe();this._focusMonitor.stopMonitoring(this._elementRef)};
g.focus=function(a,b){a?bx(this._focusMonitor,this._elementRef,a,b):this._elementRef.nativeElement.focus(b)};g._stringLabel=function(){return this.label instanceof v6?null:this.label};g._templateLabel=function(){return this.label instanceof v6?this.label:null};g._getHostElement=function(){return this._elementRef.nativeElement};g._getIconContext=function(){return{index:this.index,active:this.active,optional:this.optional}};
g._getDefaultTextForState=function(a){return a=="number"?""+(this.index+1):a=="edit"?"create":a=="error"?"warning":a};x6.\u0275fac=function(a){return new (a||x6)};
x6.\u0275cmp=t({type:x6,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(a,b){a&2&&og("mat-"+(b.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},standalone:!0,features:[cg,$g],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",
3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(a,b){a&1&&(K(0,"div",0),I(1,"div")(2,"div",1),D(3,rFb,1,2,"ng-container",2)(4,wFb,2,1),J()(),I(5,"div",3),D(6,xFb,2,1,"div",4)(7,yFb,2,1,"div",4)(8,zFb,2,1,"div",5)(9,AFb,2,1,"div",6),J());
if(a&2){var c;F("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disableRipple);C();qg("mat-step-icon-state-",b.state," mat-step-icon");ng("mat-step-icon-selected",b.selected);C(2);G(b.iconOverrides&&b.iconOverrides[b.state]?3:4);C(2);ng("mat-step-label-active",b.active)("mat-step-label-selected",b.selected)("mat-step-label-error",b.state=="error");C();G((c=b._templateLabel())?6:b._stringLabel()?7:-1,c);C(2);G(b.optional&&b.state!="error"?8:-1);C();G(b.state==="error"?9:-1)}},dependencies:[Ky,
Hw,$D],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color, color-mix(in srgb, var(--mat-app-inverse-surface) calc(var(--mat-app-hover-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-hover-state-layer-shape, var(--mat-app-corner-medium))}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color, color-mix(in srgb, var(--mat-app-inverse-surface) calc(var(--mat-app-focus-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-focus-state-layer-shape, var(--mat-app-corner-medium))}@media(hover: none){.mat-step-header:hover{background:none}}@media(forced-colors: active){.mat-step-header{outline:solid 1px}.mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-header[aria-disabled=true]{outline-color:GrayText}.mat-step-header[aria-disabled=true] .mat-step-label,.mat-step-header[aria-disabled=true] .mat-step-icon,.mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color, var(--mat-app-on-surface-variant))}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color, var(--mat-app-surface));background-color:var(--mat-stepper-header-icon-background-color, var(--mat-app-on-surface-variant))}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color, transparent);color:var(--mat-stepper-header-error-state-icon-foreground-color, var(--mat-app-error))}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font, var(--mat-app-title-small-font));font-size:var(--mat-stepper-header-label-text-size, var(--mat-app-title-small-size));font-weight:var(--mat-stepper-header-label-text-weight, var(--mat-app-title-small-weight));color:var(--mat-stepper-header-label-text-color, var(--mat-app-on-surface-variant))}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color, var(--mat-app-on-surface-variant))}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color, var(--mat-app-error));font-size:var(--mat-stepper-header-error-state-label-text-size, var(--mat-app-title-small-size))}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size, var(--mat-app-title-small-size));font-weight:var(--mat-stepper-header-selected-state-label-text-weight, var(--mat-app-title-small-weight))}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color, var(--mat-app-primary));color:var(--mat-stepper-header-selected-state-icon-foreground-color, var(--mat-app-on-primary))}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color, var(--mat-app-primary));color:var(--mat-stepper-header-edit-state-icon-foreground-color, var(--mat-app-on-primary))}\n'],
encapsulation:2,changeDetection:0});var L6c=ni("horizontalStepTransition",[qi("previous",pi({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),qi("current",pi({transform:"none",visibility:"inherit"})),qi("next",pi({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),si("* => *",kqa([oi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),lqa()]),{params:{animationDuration:"500ms"}})]),M6c=ni("verticalStepTransition",[qi("previous",pi({height:"0px",visibility:"hidden"})),qi("next",pi({height:"0px",visibility:"hidden"})),
qi("current",pi({height:"*",visibility:"inherit"})),si("* <=> current",kqa([oi("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),lqa()]),{params:{animationDuration:"225ms"}})]);var N6c=["*"],FFb=function(a,b){return{step:a,i:b}},IFb=function(a){return{animationDuration:a}},HFb=function(a,b){return{value:a,params:b}},y6=function(){o6.apply(this,arguments);this._errorStateMatcher=r(Ey,{skipSelf:!0});this._viewContainerRef=r(Kg);this._isSelected=me.EMPTY;this.stepLabel=void 0};Y(y6,o6);
y6.prototype.ngAfterContentInit=function(){var a=this;this._isSelected=this._stepper.steps.changes.pipe(Nf(function(){return a._stepper.selectionChange.pipe(B(function(b){return b.selectedStep===a}),Mf(a._stepper.selected===a))})).subscribe(function(b){b&&a._lazyContent&&!a._portal&&(a._portal=new ny(a._lazyContent._template,a._viewContainerRef))})};y6.prototype.ngOnDestroy=function(){this._isSelected.unsubscribe()};
y6.prototype.isErrorState=function(a,b){var c=!!(a&&a.invalid&&this.interacted);return this._errorStateMatcher.isErrorState(a,b)||c};y6.\u0275fac=function(){var a;return function(b){return(a||(a=de(y6)))(b||y6)}}();
y6.\u0275cmp=t({type:y6,selectors:[["mat-step"]],contentQueries:function(a,b,c){a&1&&(Ng(c,v6,5),Ng(c,J6c,5));if(a&2){var d;Qg(d=Rg())&&(b.stepLabel=d.first);Qg(d=Rg())&&(b._lazyContent=d.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[Yg([{provide:Ey,useExisting:y6},{provide:o6,useExisting:y6}]),cg,$g],ngContentSelectors:N6c,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(a){a&1&&(Dg(),D(0,CFb,2,1,"ng-template"))},dependencies:[ry],
encapsulation:2,changeDetection:0});var z6=function(){n6.call(this);this._steps=this._stepHeader=void 0;this.steps=new Lg;this.animationDone=new kw;this.labelPosition="end";this.headerPosition="top";this._iconOverrides={};this._animationDone=new Jf;this._animationDuration="";this._isServer=!r(Xw).isBrowser;this.orientation=r(ge).nativeElement.nodeName.toLowerCase()==="mat-vertical-stepper"?"vertical":"horizontal"};Y(z6,n6);z6.\u0275dir=n6.\u0275dir;
z6.prototype.ngAfterContentInit=function(){var a=this;n6.prototype.ngAfterContentInit.call(this);this._icons.forEach(function(b){return a._iconOverrides[b.name]=b.templateRef});this.steps.changes.pipe(Of(this._destroyed)).subscribe(function(){a._stateChanged()});this._animationDone.pipe(Ef(function(b,c){return b.fromState===c.fromState&&b.toState===c.toState}),Of(this._destroyed)).subscribe(function(b){b.toState==="current"&&a.animationDone.emit()})};
z6.prototype._stepIsNavigable=function(a,b){return b.completed||this.selectedIndex===a||!this.linear};z6.prototype._getAnimationDuration=function(){return this.animationDuration?this.animationDuration:this.orientation==="horizontal"?"500ms":"225ms"};ea.Object.defineProperties(z6.prototype,{animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){this._animationDuration=/^\d+$/.test(a)?a+"ms":a}}});z6.\u0275fac=function(a){return new (a||z6)};
z6.\u0275cmp=t({type:z6,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(a,b,c){a&1&&(Ng(c,y6,5),Ng(c,u6,5));if(a&2){var d;Qg(d=Rg())&&(b._steps=d);Qg(d=Rg())&&(b._icons=d)}},viewQuery:function(a,b){a&1&&Mg(x6,5);if(a&2){var c;Qg(c=Rg())&&(b._stepHeader=c)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(a,b){a&2&&(eg("aria-orientation",b.orientation),ng("mat-stepper-horizontal",b.orientation==="horizontal")("mat-stepper-vertical",
b.orientation==="vertical")("mat-stepper-label-position-end",b.orientation==="horizontal"&&b.labelPosition=="end")("mat-stepper-label-position-bottom",b.orientation==="horizontal"&&b.labelPosition=="bottom")("mat-stepper-header-position-bottom",b.headerPosition==="bottom"))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper",
"matHorizontalStepper"],standalone:!0,features:[Yg([{provide:n6,useExisting:z6}]),cg,$g],ngContentSelectors:N6c,decls:5,vars:2,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","mat-horizontal-stepper-content-inactive"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",
3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(a,b){a&1&&(Dg(),D(0,DFb,1,0)(1,KFb,7,0,"div",1)(2,MFb,2,0)(3,NFb,1,23,"ng-template",null,0,fh));if(a&2){var c;G(b._isServer?0:-1);C();G((c=b.orientation)==="horizontal"?
1:c==="vertical"?2:-1)}},dependencies:[Hw,x6],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font, var(--mat-app-body-medium-font));background:var(--mat-stepper-container-color, var(--mat-app-surface))}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color, var(--mat-app-outline))}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height, 72px)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color, var(--mat-app-outline))}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}@media(forced-colors: active){.mat-horizontal-content-container{outline:solid 1px}}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}@media(forced-colors: active){.mat-vertical-content-container{outline:solid 1px}}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color, var(--mat-app-outline));top:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\n'],
encapsulation:2,data:{animation:[L6c,M6c]},changeDetection:0});var O6c=["summary"],P6c=["reproSteps"],Q6c=["description"],R6c=function(a){return{nonEmptyValidator:a}},S6c=function(a,b){return{reproStepsValidator:a,nonEmptyValidator:b}},RFb=function(){return{noWizard:"true"}},T6c=[Yi("security@chromium.org")],A6=function(){this.activeSession=r(dv);this.analytics=r(wG);this.butterBar=r(hE);this.currentUser=r(W_);this.componentIds=r(B6c);this.customFieldIds=r(C6c);this.hotlistIds=r(D6c);this.issueApi=r(uD);this.paths=r(zO);this.redirectUrl=r(a4);this.userAccess=
r(YC);this.Persona=y6c;this.PlatformOs=v6c;var a=cFb(),b;var c=window.navigator.userAgent.match(/chrome\/(\d|\.)+/i)||[];if(c.length>0){var d;c=(d=c[0])==null?void 0:d.split("/")[1]}else c=void 0;this.model={persona:"USER",category:void 0,os:a?[a]:[],channel:"Not sure",version:(b=c)!=null?b:"",summary:"",reproSteps:"1. \n2. \n3. ",description:"",regression:"N/A",comments:"",customQuestionResponses:[]};this.ackIssueQuality=!1;this.uploads=[];this.isSubmitEnabled=!0;this.enableRecaptcha=this.activeSession.userRequiresCaptcha();
this.recaptchaResponse="";this.existingIssuesLink="/issues?q=componentid:"+this.componentIds.default+encodeURIComponent("+");this.fullScreen=!0},PFb=function(a,b){switch(b){case 0:return!!a.model.category&&a.ackIssueQuality;case 1:var c,d,e;return!((c=a.summaryControl)==null||!c.valid)&&!((d=a.reproStepsControl)==null||!d.valid)&&!((e=a.descriptionControl)==null||!e.valid);default:xb(b)}};g=A6.prototype;g.nonEmptyValidator=function(a){return(a==null?void 0:a.trim().length)===0?!1:!0};
g.reproStepsValidator=function(a){return a==="1. \n2. \n3. "?!1:!0};g.isCaptchaValid=function(){return!this.enableRecaptcha||this.recaptchaResponse!==""};g.enableSubmit=function(){this.isSubmitEnabled=!0};g.uploadFile=function(a){a=this.attachmentUploader.upload(a);this.addUpload(a)};g.addUpload=function(a){this.uploads.push(a)};g.removeUpload=function(a){Sa(this.uploads,a)};
g.getAttachments=function(){for(var a=[],b=k(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,c.state===2&&c.blobRef&&a.push(zi(c.blobRef));return a};
g.submit=function(){var a=this,b,c,d,e,f;return ve(function(h){switch(h.nextAddress){case 1:var l="BUG",q=null,v=null,y="P2",E="S2",H=[a.hotlistIds.unconfirmed];a.model.regression==="Yes"&&H.push(a.hotlistIds.chromiumRegression);var O,N,T,da=(T=(O=a.model.category)==null?void 0:(N=O.ccEmails)==null?void 0:N.map(Yi).filter(kj))!=null?T:[],ja;((ja=a.model.category)==null?void 0:ja.value)==="SECURITY"&&(l="VULNERABILITY",y="P4",E="S4",q="LIMIT_VIEW",v=T6c);var na;O=((na=a.model.category)==null?void 0:
na.componentId)||a.componentIds.default;na=a.model.summary;N=aGb(a.model,a.customFieldIds);T=a.model;var Ia;ja="\n# Steps to reproduce the problem\n"+T.reproSteps+"\n\n# Problem Description\n"+T.description+"\n\n"+(T.comments.length>0?"\n# Additional Comments\n"+T.comments:"")+"\n\n# Summary\n"+T.summary+"\n\n"+cGb(T.customQuestionResponses)+"\n\n# Additional Data\nCategory: "+((Ia=T.category)==null?void 0:Ia.title)+" \\\nChrome Channel: "+T.channel+" \\\nRegression: "+T.regression;ja=ja.replace(/^\n/,
"");b={componentId:O,type:l,status:"NEW",priority:y,severity:E,title:na,customField:N,comment:ja.replace(/\n{3,}/g,"\n\n"),formattingMode:"MARKDOWN",inProd:!0,isArchived:!1,reporterUser:a.currentUser.user,issueAccessLimitLevel:q,collaboratorsUsers:v,plannedAllocations:null,ccUsers:[a.currentUser.user].concat(w(da)),hotlistId:H,assigneeUser:null,verifierUser:null,duplicateOfIssueId:null,blockedByIssueId:null,blockingIssueId:null,changelist:null,gerritChanges:null,postmortems:null,foundInVersion:null,
targetedToVersion:null,verifiedInVersion:null,retention:null,isDeleted:null,deletionReason:null,duplicateIssueId:null,sloStartTime:null,sloEndTime:null,sloSnoozeType:null};du(a.butterBar,"Saving...",0);we(h,2);return xe(h,a.issueApi.createIssueWithWizard({snapshot:b,attachments:a.getAttachments(),recaptchaToken:a.enableRecaptcha?a.recaptchaResponse:void 0}),4);case 4:c=h.yieldResult;d=c.issueId;if(!d)throw Error("dg");a.butterBar.dismiss();a.analytics.trackEvent("createIssue","fileAndRedirect","wizard",
!0);return xe(h,$C(a.userAccess,"reader","issues/"+d),5);case 5:(e=h.yieldResult)?W3c(a.redirectUrl,wq(d),String(d)):(du(a.butterBar,"New issue created: "+d+" (view access not granted)",0),W3c(a.redirectUrl,a.paths.listIssues()));jv(h,0);break;case 2:f=Be(h),du(a.butterBar,"Failed to create issue: "+f),Ce(h)}})};A6.\u0275fac=function(a){return new (a||A6)};
A6.\u0275cmp=t({type:A6,selectors:[["chrome-wizard"]],viewQuery:function(a,b){a&1&&(Mg(O6c,5),Mg(P6c,5),Mg(Q6c,5),Mg(KT,5));if(a&2){var c;Qg(c=Rg())&&(b.summaryControl=c.first);Qg(c=Rg())&&(b.reproStepsControl=c.first);Qg(c=Rg())&&(b.descriptionControl=c.first);Qg(c=Rg())&&(b.attachmentUploader=c.first)}},inputs:{fullScreen:"fullScreen"},decls:125,vars:46,consts:[["summary","ngModel"],["reproSteps","ngModel"],["description","ngModel"],["headerPosition","bottom","animationDuration","0","aria-label",
"Issue filing form","linear","",3,"disableRipple"],["aria-label","Report an issue with Chromium",3,"completed"],[1,"required"],[3,"personaChange","persona"],[3,"completed","aria-label"],[1,"inline-block"],["appearance","outline","aria-label","Operating system",1,"inline"],["multiple","",3,"ngModelChange","ngModel"],[3,"value"],[1,"inline-block","channel"],["appearance","outline","aria-label","Chrome Channel",1,"inline"],[3,"ngModelChange","ngModel"],["value","Not sure"],["value","Stable"],["value",
"Beta"],["value","Dev"],["value","Canary"],["appearance","outline",1,"inline"],["matInput","","aria-label","Chrome version",3,"ngModelChange","ngModel"],["appearance","outline",1,"textarea"],["matInput","","required","","maxlength","100","name","summary","aria-label","One line summary",3,"ngModelChange","ngModel","customValidators"],["matInput","","required","","maxlength","5000","name","reproSteps","aria-label","Steps to reproduce problem",3,"ngModelChange","ngModel","customValidators"],["matInput",
"","required","","maxlength","5000","name","description","aria-label","Describe the problem",3,"ngModelChange","ngModel","customValidators"],["appearance","outline","aria-label","Did this work before?"],["value","N/A"],["value","Yes"],["value","No"],[1,"actions-container"],["mat-stroked-button","","matStepperPrevious",""],["svgIcon","chevron-left"],["mat-raised-button","","color","primary","matStepperNext","",3,"disabled"],["svgIcon","chevron-right"],["aria-label","Extra information about the issue"],
[3,"category"],["matInput","","aria-label","Additional comments",3,"ngModelChange","ngModel"],[3,"onUploadComplete","onUploadCancel","uploads"],[1,"attachment-selector"],[3,"onSelect","includeTextLabel"],[1,"wizard-recaptcha"],["mat-raised-button","","color","primary",3,"click","disabled"],["matStepperIcon","number"],["matStepperIcon","edit"],["matStepperIcon","done"],[3,"categoryChange","persona","category"],[1,"issue-quality"],[1,"ack-issue-quality",3,"ngModelChange","ngModel"],[3,"href"],["svgIcon",
"chevron-right","iconPositionEnd",""],["href","https://chromium.googlesource.com/chromium/src/+/HEAD/docs/security/faq.md"],["href","https://www.chromium.org/Home/chromium-security/reporting-security-bugs"],["href","https://g.co/chrome/vrp"],[3,"responses","category"],[3,"onUpdate"]],template:function(a,b){if(a&1){var c=x();I(0,"mat-stepper",3)(1,"mat-step",4)(2,"h2");Q(3,"Report an issue with Chromium");J();I(4,"h3");Q(5," We want you to enter the best possible issue report so that the project team members can act on it effectively. The following steps will help route your issue to the correct people. ");
J();K(6,"br");I(7,"h4",5);Q(8,"Please select your following role:");J();I(9,"wizard-persona-picker",6);M("personaChange",function(f){z(c);b.model.category=void 0;b.model.persona=f;return A()});J();D(10,QFb,20,6)(11,SFb,10,2,"div");J();I(12,"mat-step",7)(13,"h2");Q(14);J();I(15,"h3");Q(16,"Please confirm that the following version information is correct.");J();I(17,"h4",8);Q(18,"Operating System:");J();I(19,"mat-form-field",9)(20,"mat-select",10);Xg("ngModelChange",function(f){z(c);Wg(b.model.os,f)||
(b.model.os=f);return A(f)});I(21,"mat-option",11);Q(22,"Android");J();I(23,"mat-option",11);Q(24,"Chrome OS");J();I(25,"mat-option",11);Q(26,"iOS");J();I(27,"mat-option",11);Q(28,"Linux");J();I(29,"mat-option",11);Q(30,"Mac OS");J();I(31,"mat-option",11);Q(32,"Windows");J();I(33,"mat-option",11);Q(34,"Unknown/Other");J()()();I(35,"h4",12);Q(36,"Channel:");J();I(37,"mat-form-field",13)(38,"mat-select",14);Xg("ngModelChange",function(f){z(c);Wg(b.model.channel,f)||(b.model.channel=f);return A(f)});
I(39,"mat-option",15);Q(40,"Not sure");J();I(41,"mat-option",16);Q(42,"Stable");J();I(43,"mat-option",17);Q(44,"Beta");J();I(45,"mat-option",18);Q(46,"Dev");J();I(47,"mat-option",19);Q(48,"Canary");J()()();K(49,"br");I(50,"h4",8);Q(51,"Chrome version:");J();I(52,"mat-form-field",20)(53,"input",21);Xg("ngModelChange",function(f){z(c);Wg(b.model.version,f)||(b.model.version=f);return A(f)});J()();I(54,"h4",5);Q(55,"Please enter a one line summary (100 character limit)");J();I(56,"mat-form-field",22)(57,
"textarea",23,0);Xg("ngModelChange",function(f){z(c);Wg(b.model.summary,f)||(b.model.summary=f);return A(f)});Q(59,"      ");J();D(60,TFb,2,0,"mat-error");J();I(61,"h4",5);Q(62,"Steps to reproduce problem (5000 character limit)");J();I(63,"mat-form-field",22)(64,"textarea",24,1);Xg("ngModelChange",function(f){z(c);Wg(b.model.reproSteps,f)||(b.model.reproSteps=f);return A(f)});Q(66,"      ");J();D(67,UFb,2,0,"mat-error");J();I(68,"h4",5);Q(69,"Please describe the problem (5000 character limit)");J();
I(70,"mat-form-field",22)(71,"textarea",25,2);Xg("ngModelChange",function(f){z(c);Wg(b.model.description,f)||(b.model.description=f);return A(f)});Q(73,"      ");J();D(74,VFb,2,0,"mat-error");J();I(75,"h4");Q(76,"Did this work before?");J();I(77,"mat-form-field",26)(78,"mat-select",14);Xg("ngModelChange",function(f){z(c);Wg(b.model.regression,f)||(b.model.regression=f);return A(f)});I(79,"mat-option",27);Q(80,"Not applicable or don't know");J();I(81,"mat-option",28);Q(82,"Yes - This is a regression");
J();I(83,"mat-option",29);Q(84,"No - I think it never worked");J()()();I(85,"div",30)(86,"button",31);K(87,"mat-icon",32);Q(88," Back ");J();I(89,"button",33);Q(90," Next ");K(91,"mat-icon",34);J()()();I(92,"mat-step",35)(93,"h2");Q(94,"Extra information about the issue");J();D(95,WFb,1,1,"wizard-custom-questions",36);I(96,"h4");Q(97,"Additional comments");J();I(98,"p");Q(99," Upload Chrome variations which can help us investigate this issue: ");J();I(100,"ol")(101,"li");Q(102," Open Chrome. Go to chrome://version/?show-variations-cmd ");
J();I(103,"li");Q(104,' Notice that there is a "Command-line variations" section (you might need to scroll down the page). Copy and save the value of the section to a .txt file like variations.txt. ');J();I(105,"li");Q(106," Upload the file as an attachment. ");J()();I(107,"mat-form-field",22)(108,"textarea",37);Xg("ngModelChange",function(f){z(c);Wg(b.model.comments,f)||(b.model.comments=f);return A(f)});J()();I(109,"h4");Q(110,"Upload any relevant attachments");J();I(111,"b-attachment-uploader",
38);M("onUploadComplete",function(){z(c);return A(b.enableSubmit())})("onUploadCancel",function(f){z(c);b.removeUpload(f);return A(b.enableSubmit())});J();I(112,"div",39)(113,"b-attachment-selector",40);M("onSelect",function(f){z(c);b.uploadFile(f);b.isSubmitEnabled=!1;return A()});J();Q(114," You can include multiple attachments. ");J();D(115,XFb,2,0,"div",41);I(116,"div",30)(117,"button",31);K(118,"mat-icon",32);Q(119," Back ");J();I(120,"button",42);M("click",function(){z(c);return A(b.submit())});
Q(121," Submit ");J()()();D(122,YFb,0,0,"ng-template",43)(123,ZFb,0,0,"ng-template",44)(124,$Fb,0,0,"ng-template",45);J()}if(a&2){a=L(58);var d=L(65),e=L(72);ng("bv2-view",b.fullScreen)("hide-dots",b.model.persona===b.Persona.CONTRIBUTOR);F("disableRipple",!0);C();F("completed",PFb(b,0));C(8);F("persona",b.model.persona);C();G(b.model.persona!==b.Persona.CONTRIBUTOR?10:11);C(2);Fg("aria-label","Details for problems with ",b.model.category==null?null:b.model.category.title,"");F("completed",PFb(b,
1));C(2);R("Details for problems with ",b.model.category==null?null:b.model.category.title,"");C(6);Vg("ngModel",b.model.os);C();F("value",b.PlatformOs.ANDROID);C(2);F("value",b.PlatformOs.CHROME);C(2);F("value",b.PlatformOs.IOS);C(2);F("value",b.PlatformOs.LINUX);C(2);F("value",b.PlatformOs.MAC);C(2);F("value",b.PlatformOs.WINDOWS);C(2);F("value",b.PlatformOs.UNKNOWN);C(5);Vg("ngModel",b.model.channel);C(15);Vg("ngModel",b.model.version);C(4);Vg("ngModel",b.model.summary);F("customValidators",bh(39,
R6c,b.nonEmptyValidator));C(3);G(a.invalid&&(a.dirty||a.touched)?60:-1);C(4);Vg("ngModel",b.model.reproSteps);F("customValidators",ch(41,S6c,b.reproStepsValidator,b.nonEmptyValidator));C(3);G(d.invalid&&(d.dirty||d.touched)?67:-1);C(4);Vg("ngModel",b.model.description);F("customValidators",bh(44,R6c,b.nonEmptyValidator));C(3);G(e.invalid&&(e.dirty||e.touched)?74:-1);C(4);Vg("ngModel",b.model.regression);C(11);F("disabled",!PFb(b,1));C(6);G(b.model.category?95:-1);C(13);Vg("ngModel",b.model.comments);
C(3);F("uploads",b.uploads);C(2);F("includeTextLabel",!0);C(2);G(b.enableRecaptcha?115:-1);C(5);F("disabled",!b.isSubmitEnabled||!b.isCaptchaValid())}},dependencies:[HT,KT,$D,M3,ki,tz,Mz,Nz,Bz,vD,Vy,G6c,VKc,JV,KV,qN,uN,ON,hA,$z,Sz,MN,eQ,mQ,My,y6,z6,s6,t6,u6,aT,j6,k6,E6c],styles:['[_nghost-%COMP%]   h2[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:2rem;font-size:1.5rem;letter-spacing:0;font-weight:400}[_nghost-%COMP%]   h4[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1.125rem;letter-spacing:0;font-weight:400;font-weight:100;margin:0}[_nghost-%COMP%]   h4.required[_ngcontent-%COMP%]:after{content:" *";color:#ea4335;color:var(--bad)}[_nghost-%COMP%]   mat-form-field.textarea[_ngcontent-%COMP%]{min-width:90%}[_nghost-%COMP%]   textarea[_ngcontent-%COMP%]{min-height:4rem;padding:4px 1px 1px 7px}[_nghost-%COMP%]   mat-form-field[_ngcontent-%COMP%]{margin:4px 0}[_nghost-%COMP%]   mat-form-field.inline[_ngcontent-%COMP%]{margin:4px 8px}[_nghost-%COMP%]     .mat-step-header .mat-step-label{display:none}[_nghost-%COMP%]     mat-stepper.hide-dots .mat-horizontal-stepper-header-container{display:none}[_nghost-%COMP%]     .mat-step-header.cdk-program-focused, [_nghost-%COMP%]     .mat-step-header:hover{background-color:unset}[_nghost-%COMP%]     .mat-horizontal-stepper-header-container{max-width:10%;margin-left:40%;-webkit-transform:scale(.35);transform:scale(.35)}[_nghost-%COMP%]     .mat-horizontal-stepper-header-container .mat-step-icon{background-color:#dadce0;background-color:var(--c300)}[_nghost-%COMP%]     .mat-horizontal-stepper-header-container .mat-step-icon-selected{background-color:#1a73e8;background-color:var(--primary-c600)}[_nghost-%COMP%]     .mat-horizontal-stepper-header-container .mat-stepper-horizontal-line{display:none}[_nghost-%COMP%]     .mat-horizontal-content-container{overflow-x:scroll}[_nghost-%COMP%]     mat-checkbox label{text-wrap:wrap}wizard-persona-picker[_ngcontent-%COMP%]{margin-bottom:30px}mat-card[_ngcontent-%COMP%]{background-color:#fef7e0;background-color:var(--yellow-c50);margin-bottom:8px}.actions-container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;padding:8px 12px 4px 0}.actions-container[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:last-child{margin-left:auto}mat-card-header[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1.125rem;letter-spacing:0;font-weight:400;margin-bottom:10px}.issue-quality[_ngcontent-%COMP%]{max-width:88%}mat-stepper[_ngcontent-%COMP%]{max-width:1060px}h4.channel[_ngcontent-%COMP%]{margin-left:12px}.bv2-view[_ngcontent-%COMP%]{top:0}b-attachment-selector[_ngcontent-%COMP%]{padding:4px}.attachment-selector[_ngcontent-%COMP%]{margin:12px 0}.wizard-recaptcha[_ngcontent-%COMP%]{margin:15px 0}p[_ngcontent-%COMP%]{margin:8px 0}\n/*# sourceMappingURL=chrome_wizard.css.map */']});var B6=function(){this.activeSession=r(dv);this.routeParams=r(PL);this.router=r(HE);this.userAccess=r(YC);this.rootComponentId=this.activeSession.getEnvironmentType()==="QA"?WXb.default:XXb.default};
B6.prototype.canActivate=function(){var a=this,b,c;return ve(function(d){if(d.nextAddress==1)return(c=lu(a.activeSession,"enableChromeWizard")&&((b=a.activeSession.getTracker())==null?void 0:b.trackerId)==="157"&&!a.routeParams.template&&!a.routeParams.noWizard)?xe(d,$C(a.userAccess,"writer","components/"+a.rootComponentId+"/issueDefaults"),3):d.jumpTo(2);d.nextAddress!=2&&(c=!d.yieldResult);return c?d.return(IE(a.router,["issues/wizard"])):d.return(!0)})};
B6.\u0275fac=function(a){return new (a||B6)};B6.\u0275prov=n({token:B6,factory:B6.\u0275fac,providedIn:"root"});var C6=function(){var a=this;this.userResources=r(lF);this.history=r(Y3);this.router=r(HE);this.activeSession=r(dv);this.viewIssues=bq;this.createIssue=uJa;this.componentSettings=vJa;this.currentTracker=this.activeSession.getTracker();var b;this.trackerId=(b=this.currentTracker)==null?void 0:b.trackerId;this.includeArchived=!1;this.isThinking=!0;this.isInternalSession=this.activeSession.isInternalSession();this.placeholder=this.currentTracker||this.activeSession.isExternalSession()?"Find components by name or id":
"Find components by name, team, or id";this.recentComponents$=this.userResources.getRecentComponents().then(function(c){return c.filter(function(d){return a.filterTrackerComponents(d)})}).finally(function(){a.isThinking=!1})};C6.prototype.back=function(){Z3(this.history)};C6.prototype.filterTrackerComponents=function(a){return!this.trackerId||a.trackerId===this.trackerId};C6.\u0275fac=function(a){return new (a||C6)};
C6.\u0275cmp=t({type:C6,selectors:[["components-screen-wrapper"]],decls:22,vars:8,consts:[["card",""],["cardBody",""],[1,"flex-kids-y","pos-fill","bg-off-main","overflow","overflow-on-print-media"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-appbar-left"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[1,"bv2-appbar-right"],["mat-button","","routerLink","/components/new",1,"gmat-button","medium"],["label","Show archived","tooltip",
"Toggle whether to show 'archived' Components",1,"margin-x",3,"modelChange","model"],[1,"padded"],[3,"selectedComponentChange","includeArchived","placeholder","ariaLabel"],[1,"margin-top"],[1,"pos-rel","carded","bg-main"],[1,"unstyled-list","reverse-padded-sides","recent-components"],[1,"muted","margin-s-top","margin-left"],["routerLink","/components/all",1,"muted","hover-link"],[1,"muted"],["href","https://developers.google.com/issue-tracker/concepts/components#recent-components","target","_blank"],
[1,"flex-kids-x","clickable-row","padded",3,"routerLinkObj"],[1,"flex-1",3,"onedevHovercardTrigger"],[1,"type-l","normal-link"],[1,"margin-s-left",3,"accessLevel","labelOnlyMode"],[1,"margin-s-left",3,"trackerId","showHovercard"],[1,"muted","line-clamp-2"],[1,"right"],["mat-button","","type","button",1,"gmat-button","medium",3,"routerLinkObj"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"]],template:function(a,b){a&1&&(I(0,"article",2)(1,"header",3)(2,"div",4)(3,"button",
5),M("click",function(){return b.back()}),K(4,"mat-icon",6),J(),I(5,"h2"),Q(6,"Components"),J()(),I(7,"div",7),D(8,dGb,2,0,"a",8),I(9,"b-slide-toggle",9),M("modelChange",function(d){return b.includeArchived=d}),J()()(),I(10,"section",10)(11,"h3"),Q(12,"Search"),J(),I(13,"b-team-component-picker",11),M("selectedComponentChange",function(d){d!=null&&Vt(b.router,vJa(d.componentId).path)}),J(),I(14,"h3",12),Q(15,"Recent Components"),J(),I(16,"div",13),D(17,hGb,4,1,"ol",14),S(18,"async"),J(),I(19,"p",
15)(20,"a",16),Q(21,"See all Components"),J()()()());if(a&2){var c;C(8);G(b.isInternalSession?8:-1);C();F("model",b.includeArchived);C(4);F("includeArchived",b.includeArchived)("placeholder",b.placeholder)("ariaLabel",b.placeholder);C(4);G((c=U(18,6,b.recentComponents$))?17:-1,c)}},dependencies:[vD,Wy,Xy,FH,HH,$D,JE,OE,sO,fO,bK,cK,hK,dK,RH,cO,kO,Iw],encapsulation:2});var U6c=["bookmarkGroupName"],V6c=function(a){return{"bv2-edit-resource-readonly":a}},D6=function(){var a=r(iT);Z.call(this);var b=this;this.location=r(WI);this.appHistory=r(Y3);this.snackBar=r(eE);this.bookmarkGroupsApi=r(dC);this.paths=r(zO);this.analytics=r(wG);this.errorHandler=r(jE);this.appEvents=r(nE);this.error="";this.isSaving=!1;this.bookmarkGroupUnderEdit=new yz({name:new Az("",pz),description:new Az("")});this.subscriptions.add(jT(a,function(){return!(!b.name()&&!b.description())},!1))};
Y(D6,Z);D6.\u0275dir=Z.\u0275dir;g=D6.prototype;g.ngAfterViewInit=function(){this.bookmarkGroupName.nativeElement.focus()};
g.save=function(){var a=this;this.validate()&&(this.snackBar.open("Saving bookmark group...","dismiss",{duration:0}),this.isSaving=!0,this.bookmarkGroupsApi.create({name:this.name(),description:this.description()}).then(function(b){a.isSaving=!1;a.snackBar.open('Bookmark group "'+b.name+'" saved.',"dismiss",{duration:2E3});a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:b.bookmarkGroupId});a.analytics.trackEvent("sidebarHotlists","createdBookmarkGroup");a.location.replaceUrl(a.paths.editBookmarkGroup(b.bookmarkGroupId));
a.revertChanges()}).catch(function(b){a.isSaving=!1;a.errorHandler.errorHandler(null,b)}))};g.validate=function(){if(this.name()==="")return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};g.back=function(){Z3(this.appHistory)};g.revertChanges=function(){this.bookmarkGroupUnderEdit.reset()};g.name=function(){var a,b=(a=this.bookmarkGroupUnderEdit.get("name"))==null?void 0:a.value;return b?b:""};
g.description=function(){var a,b=(a=this.bookmarkGroupUnderEdit.get("description"))==null?void 0:a.value;return b?b:""};D6.\u0275fac=function(a){return new (a||D6)};
D6.\u0275cmp=t({type:D6,selectors:[["b-create-bookmark-group"]],viewQuery:function(a,b){a&1&&Mg(U6c,5);if(a&2){var c;Qg(c=Rg())&&(b.bookmarkGroupName=c.first)}},features:[cg],decls:27,vars:11,consts:[["bookmarkGroupName",""],[1,"kd-appbar"],[1,"kd-buttonbar","ltr"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[1,"bv2-view"],[1,"edit-resource-panel"],[3,"formGroup"],[3,"error"],[1,"edit-field",3,"ngClass"],["for","bookmark-group-name",
1,"required"],["type","text","autofocus","autofocus","id","bookmark-group-name","required","","aria-required","true","formControlName","name",3,"disabled"],["for","bookmark-group-description"],["id","bookmark-group-description","formControlName","description",3,"disabled"],[1,"advanced-settings-info"],[1,"edit-button-row"],["mat-flat-button","","color","primary",3,"click","disabled"],["mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){if(a&1){var c=x();I(0,"div",1)(1,"div",
2)(2,"button",3);M("click",function(){z(c);return A(b.back())});K(3,"mat-icon",4);J();I(4,"h2");Q(5,"Create a new bookmark group");J()()();I(6,"div",5)(7,"div",6)(8,"form",7);K(9,"b-error-banner",8);I(10,"div",9)(11,"label",10);Q(12,"Name");J();K(13,"input",11,0);J();I(15,"div",9)(16,"label",12);Q(17,"Description");J();I(18,"textarea",13);Q(19,"        ");J()();I(20,"p",14);Q(21," Advanced settings such as selected items and access controls may be defined once the bookmark group is created. ");J();
I(22,"div",15)(23,"button",16);M("click",function(){z(c);return A(b.save())});Q(24," Save ");J();I(25,"button",17);M("click",function(){z(c);return A(b.revertChanges())});Q(26," Revert changes ");J()()()()()}a&2&&(C(8),F("formGroup",b.bookmarkGroupUnderEdit),C(),F("error",b.error),C(),F("ngClass",bh(7,V6c,b.isSaving)),C(3),F("disabled",b.isSaving),C(2),F("ngClass",bh(9,V6c,b.isSaving)),C(3),F("disabled",b.isSaving),C(5),F("disabled",b.isSaving))},dependencies:[Ew,$D,vD,Vy,Xy,FH,HH,Cz,ki,tz,uz,Mz,
Hz,Iz,F2],encapsulation:2});var W6c=["form"],E6=function(){Z.call(this);this.butterBar=r(hE);this.paths=r(zO);this.routeParams=r(PL);this.analytics=r(wG);this.appHistory=r(Y3);this.bLocation=r(WI);this.activeSession=r(dv);this.documentationLinks=r(cL);this.componentActions=r(gO);this.component={componentId:0,parentComponentId:0,name:"",description:"",archived:!1,accessLimit:{accessLevel:"ACCESS_LEVEL_UNSPECIFIED"},emailAlias:"dummyemail@google.com",componentPathInfo:{componentPathId:null,componentPathName:null,allCustomField:null,
fieldConfigsMap:new Map},commentEditState:"DISABLED",defaultTemplateId:0,slo:{inherit:!0,source:"BUGSCOPE",id:"0"},bugscopeSloId:"0",spamProtection:"NO_PROTECTIONS"};this.parentComponentInternal=null;this.sessionIsExternal=this.activeSession.isExternalSession();this.commentEditsEnabled=this.componentIsValid=this.retentionIsValid=this.isSaving=!1;this.routeParams.parentId&&this.loadParentComponent(Ei(this.routeParams.parentId))};Y(E6,Z);E6.\u0275dir=Z.\u0275dir;g=E6.prototype;g.ngAfterViewInit=function(){};
g.create=function(){var a=this;this.validate()&&(du(this.butterBar,"Saving component...",0),this.isSaving=!0,this.component.parentComponentId=this.parentComponent.componentId,this.componentActions.create(this.component).then(function(b){du(a.butterBar,"Component saved, redirecting in "+a.activeSession.getCreateComponentRedirectDelay()/1E3+"s.",a.activeSession.getCreateComponentRedirectDelay());a.analytics.trackEvent("component","create");a.commentEditsEnabled?a.analytics.trackEvent("component","comment edits enabled",
"create"):a.analytics.trackEvent("component","comment edits disabled","create");setTimeout(function(){a.isSaving=!1;a.bLocation.replaceUrl(tq.editComponent.makeHref(b.componentId))},a.activeSession.getCreateComponentRedirectDelay())}).catch(function(b){a.butterBar.showWarning(Kn(b),0);a.isSaving=!1}))};g.back=function(){Z3(this.appHistory)};
g.validate=function(){if(this.createComponentForm.form.invalid)return this.error="Error: You must fill out all required fields.",!1;if(this.componentIsValid){if(this.retentionIsValid)return this.error="",!0;this.error="Error: Required retention settings are missing or invalid."}return!1};g.loadParentComponent=function(a){var b=this;this.componentActions.getUncached(a).then(function(c){b.parentComponent=c})};
g.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};g.onComponentSelect=function(a){this.parentComponent=a;X6c(this)};g.accessCheckComplete=function(a){this.componentIsValid=a;X6c(this)};
var X6c=function(a){a.parentComponent?(a.component.commentEditState=a.parentComponent.commentEditState,a.commentEditsEnabled=a.component.commentEditState==="ENABLED"):(a.component.commentEditState="DISABLED",a.commentEditsEnabled=!1)};ea.Object.defineProperties(E6.prototype,{parentComponent:{configurable:!0,enumerable:!0,get:function(){return this.parentComponentInternal},set:function(a){this.parentComponentInternal=a;X6c(this)}}});E6.\u0275fac=function(a){return new (a||E6)};
E6.\u0275cmp=t({type:E6,selectors:[["create-component-page"]],viewQuery:function(a,b){a&1&&Mg(W6c,5);if(a&2){var c;Qg(c=Rg())&&(b.createComponentForm=c.first)}},features:[cg],decls:55,vars:32,consts:[["form","ngForm"],[1,"kd-appbar"],[1,"kd-buttonbar"],["format","icon","size","large","tooltip","Go back","b-aria-label","Go back",3,"onAction"],["name","arrow-backward","size","large"],[1,"bv2-view"],[1,"edit-resource-header"],[1,"edit-resource-panel"],["novalidate","",1,"create-component-form"],[3,"error"],
[1,"edit-field"],["for","component-name",1,"required"],[1,"edit-field-header"],["type","text","id","component-name","placeholder","Component name","name","componentName","aria-label","Component name",3,"ngModelChange","bFocus","ngModel","disabled","required"],["for","component-description"],["id","component-description","placeholder","Component description","name","componentDescription","aria-label","Component description",3,"ngModelChange","ngModel","disabled"],["for","parent-component",1,"required"],
["id","parent-component","ariaLabel","Parent component",3,"selectedComponentChange","accessCheckComplete","selectedComponent","placeholder","isRequired","checkAdminAccess"],[1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],["ariaLabel","Editable comments",3,"change","checked"],[1,"edit-field-help"],[1,"permission-toggle-help","edit-field-help"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["for","retention-settings",1,"required"],["id","retention-settings"],
[3,"modelChange","validChange","issueRetentionDisabled","isExternal","componentPathInfo","initialModel"],[1,"advanced-settings-info"],[1,"bv2-component-button-bar"],["format","fill",3,"onAction","disabled"],["format","hairline",3,"onAction","disabled"]],template:function(a,b){if(a&1){var c=x();I(0,"div",1)(1,"div",2)(2,"b-button",3);M("onAction",function(){z(c);return A(b.back())});K(3,"b-icon",4);J()()();I(4,"div",5)(5,"h2",6);Q(6,"Create component");J();I(7,"div",7)(8,"form",8,0);K(10,"b-error-banner",
9);I(11,"div",10)(12,"label",11)(13,"span",12);Q(14,"Name");J()();I(15,"input",13);Xg("ngModelChange",function(d){z(c);Wg(b.component.name,d)||(b.component.name=d);return A(d)});J()();I(16,"div",10)(17,"label",14)(18,"span",12);Q(19,"Description");J()();I(20,"textarea",15);Xg("ngModelChange",function(d){z(c);Wg(b.component.description,d)||(b.component.description=d);return A(d)});Q(21,"        ");J()();I(22,"div",10)(23,"label",16)(24,"span",12);Q(25,"Parent Component");J()();I(26,"b-team-component-picker",
17);M("selectedComponentChange",function(d){z(c);return A(b.onComponentSelect(d!==null&&d!==void 0?d:null))})("accessCheckComplete",function(d){z(c);return A(b.accessCheckComplete(d))});J()();I(27,"div",18)(28,"div",19)(29,"mat-checkbox",20);M("change",function(d){z(c);return A(b.setCommentEditState(d.checked))});J()();I(30,"div")(31,"strong",21);Q(32,"Editable Comments");J();I(33,"div",22);Q(34," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. ");
D(35,jGb,2,1,"a",23);J()()();I(36,"div",10)(37,"label",24)(38,"span",12);Q(39,"Retention Settings");J()();I(40,"div",21)(41,"p");Q(42,"Please choose a period of time to retain the data stored in this component.");K(43,"br");I(44,"a",23);Q(45," Learn more ");J()()();I(46,"div",25)(47,"b-retention-settings-form",26);M("modelChange",function(d){z(c);return A(b.component.retentionSettings=d)})("validChange",function(d){z(c);return A(b.retentionIsValid=d)});J()()();I(48,"p",27);Q(49," Advanced settings such as custom field and access controls may be defined once the component is created. ");
J();I(50,"div",28)(51,"b-button",29);M("onAction",function(){z(c);return A(b.create())});Q(52," Save ");J();I(53,"b-button",30);M("onAction",function(){z(c);return A(b.back())});Q(54," Discard ");J()()()()()}a&2&&(C(8),ng("show-errors",b.error),C(2),F("error",b.error),C(),ng("bv2-edit-resource-readonly",b.isSaving),C(4),F("bFocus",!0),Vg("ngModel",b.component.name),F("disabled",b.isSaving)("required",!0),C(),ng("bv2-edit-resource-readonly",b.isSaving),C(4),Vg("ngModel",b.component.description),F("disabled",
b.isSaving),C(2),ng("bv2-edit-resource-readonly",b.isSaving),C(4),F("selectedComponent",b.parentComponent)("placeholder","Choose Component")("isRequired",!0)("checkAdminAccess",!0),C(),ng("bv2-edit-resource-readonly",b.isSaving),C(2),F("checked",b.commentEditsEnabled),C(6),G(b.sessionIsExternal?-1:35),C(9),F("href",Zu(),of),C(2),ng("bv2-edit-resource-readonly",b.isSaving),C(),F("issueRetentionDisabled",b.isSaving)("isExternal",cr(b.parentComponent))("componentPathInfo",b.parentComponent==null?null:
b.parentComponent.componentPathInfo)("initialModel",b.component.retentionSettings),C(4),F("disabled",b.isSaving||!b.componentIsValid),C(2),F("disabled",b.isSaving))},dependencies:[IH,F2,W1,Cz,ki,tz,uz,Mz,Bz,zz,yM,qN,uN,F3,sO],styles:["b-team-component-picker[_ngcontent-%COMP%]{display:block;width:600px}\n/*# sourceMappingURL=create_component_page.css.map */"]});var Y6c=["hotlistName"],Z6c=function(a){return{"bv2-edit-resource-readonly":a}},F6=function(){var a=r(iT);Z.call(this);var b=this;this.location=r(WI);this.appHistory=r(Y3);this.snackBar=r(eE);this.hotlistApi=r(hF);this.analytics=r(wG);this.errorHandler=r(jE);this.appEvents=r(nE);this.error="";this.isSaving=!1;this.hotlistUnderEdit=new yz({name:new Az("",pz),description:new Az("")});this.subscriptions.add(jT(a,function(){return!(!b.name()&&!b.description())},!1))};Y(F6,Z);F6.\u0275dir=Z.\u0275dir;
g=F6.prototype;g.ngAfterViewInit=function(){this.hotlistName.nativeElement.focus()};
g.save=function(){var a=this;this.validate()&&(this.snackBar.open("Saving hotlist...","dismiss",{duration:0}),this.isSaving=!0,this.hotlistApi.createHotlist(this.name(),this.description()).then(function(b){a.isSaving=!1;a.snackBar.open('Hotlist "'+b.name+'" saved.',"dismiss",{duration:6E3});a.appEvents.hotlistChanged.next({hotlistId:b.hotlistId});a.analytics.trackEvent("hotlist","create");a.location.replaceUrl(tq.editHotlist.makeHref(b.hotlistId));a.revertChanges()}).catch(function(b){a.isSaving=
!1;a.errorHandler.errorHandler(null,b)}))};g.validate=function(){if(this.name()==="")return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};g.back=function(){Z3(this.appHistory)};g.revertChanges=function(){this.hotlistUnderEdit.reset()};g.name=function(){var a,b=(a=this.hotlistUnderEdit.get("name"))==null?void 0:a.value;return b?b:""};g.description=function(){var a,b=(a=this.hotlistUnderEdit.get("description"))==null?void 0:a.value;return b?b:""};
F6.\u0275fac=function(a){return new (a||F6)};
F6.\u0275cmp=t({type:F6,selectors:[["b-create-hotlist"]],viewQuery:function(a,b){a&1&&Mg(Y6c,5);if(a&2){var c;Qg(c=Rg())&&(b.hotlistName=c.first)}},features:[cg],decls:27,vars:11,consts:[["hotlistName",""],[1,"kd-appbar"],[1,"kd-buttonbar","ltr"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[1,"bv2-view"],[1,"edit-resource-panel"],[3,"formGroup"],[3,"error"],[1,"edit-field",3,"ngClass"],["for","hotlist-name",1,"required"],
["type","text","autofocus","autofocus","id","hotlist-name","required","","aria-required","true","formControlName","name",3,"disabled"],["for","hotlist-description"],["id","hotlist-description","formControlName","description",3,"disabled"],[1,"advanced-settings-info"],[1,"edit-button-row"],["mat-flat-button","","color","primary",3,"click","disabled"],["mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){if(a&1){var c=x();I(0,"div",1)(1,"div",2)(2,"button",3);M("click",function(){z(c);
return A(b.back())});K(3,"mat-icon",4);J();I(4,"h2");Q(5,"Create a new hotlist");J()()();I(6,"div",5)(7,"div",6)(8,"form",7);K(9,"b-error-banner",8);I(10,"div",9)(11,"label",10);Q(12,"Name");J();K(13,"input",11,0);J();I(15,"div",9)(16,"label",12);Q(17,"Description");J();I(18,"textarea",13);Q(19,"        ");J()();I(20,"p",14);Q(21," Advanced settings such as access controls may be defined once the hotlist is created. ");J();I(22,"div",15)(23,"button",16);M("click",function(){z(c);return A(b.save())});
Q(24," Save ");J();I(25,"button",17);M("click",function(){z(c);return A(b.revertChanges())});Q(26," Revert changes ");J()()()()()}a&2&&(C(8),F("formGroup",b.hotlistUnderEdit),C(),F("error",b.error),C(),F("ngClass",bh(7,Z6c,b.isSaving)),C(3),F("disabled",b.isSaving),C(2),F("ngClass",bh(9,Z6c,b.isSaving)),C(3),F("disabled",b.isSaving),C(5),F("disabled",b.isSaving))},dependencies:[Ew,$D,vD,Vy,Xy,FH,HH,Cz,ki,tz,uz,Mz,Hz,Iz,F2],encapsulation:2});var G6=function(a){this.internalArray_=m(a,0,G6.messageId)};Y(G6,V);G6.prototype.getContent=function(){return Gh(this,1)};G6.prototype.setContent=function(a){return gk(this,1,a)};G6.prototype.hasContent=function(){return Hj(this,1)};G6.messageId="b.LlmGenericRequest";var $6c=function(a){this.internalArray_=m(a,0,$6c.messageId)};Y($6c,V);$6c.messageId="b.LlmGenericResponse";var H6=function(){this.executor=r(PB)};H6.prototype.suggestIssueTitle=function(a){a=(new G6).setContent(a);return this.executor.post({url:"/action/llm/suggest_title",body:a,responseConstructor:$6c}).then(function(b){var c;return(c=Gh(b,1))!=null?c:""})};H6.\u0275fac=function(a){return new (a||H6)};H6.\u0275prov=n({token:H6,factory:H6.\u0275fac,providedIn:"root"});var I6=function(){this.isGeneratingTitle=new bo(!1);this.generatedTitle=new bo(null);this.suggestTitleRequested=new Jf};I6.\u0275fac=function(a){return new (a||I6)};I6.\u0275prov=n({token:I6,factory:I6.\u0275fac,providedIn:"root"});var J6=function(){Z.call(this);var a=this;this.activeSession=r(dv);this.butterBar=r(hE);this.analytics=r(wG);this.llmSuggestTitleService=r(I6);this.llmApi=r(H6);this.suggestedTitle=new rG;this.enableSuggestTitle=lu(this.activeSession,"enableSuggestTitle")||!1;Pu(this.llmSuggestTitleService.suggestTitleRequested).pipe(Of(this.destroyed$)).subscribe(function(){a.suggestIssueTitle()})};Y(J6,Z);J6.\u0275dir=Z.\u0275dir;
J6.prototype.suggestIssueTitle=function(){var a=this,b;return ve(function(c){if(c.nextAddress==1){if(!a.enableSuggestTitle||a.description.value==="")return c.return();a.analytics.trackEvent("llm","generate","title");a.llmSuggestTitleService.isGeneratingTitle.next(!0);return xe(c,a.llmApi.suggestIssueTitle(a.description.value),2)}b=c.yieldResult;b=b.trim();if(b===""){var d=a.llmSuggestTitleService;d.generatedTitle.next(null);d.isGeneratingTitle.next(!1);a.suggestedTitle.emit(null);du(a.butterBar,"Could not generate title. Try adding more to the description.",
3E3);return c.return()}d=b;var e=a.llmSuggestTitleService;e.generatedTitle.next(d);e.isGeneratingTitle.next(!1);a.suggestedTitle.emit(d);Ce(c)})};J6.\u0275fac=function(a){return new (a||J6)};
J6.\u0275cmp=t({type:J6,selectors:[["llm-suggest-title-button"]],inputs:{description:"description"},outputs:{suggestedTitle:"suggestedTitle"},features:[cg],decls:3,vars:2,consts:[["mat-stroked-button","","color","primary","type","button","matTooltipPosition","above","aria-label","Generate AI-suggested title for this issue",1,"suggest-title-button","gmat-mdc-button","margin-s-left",3,"click","matTooltip","disabled"],["svgIcon","pen_spark_24px",1,"icon-s","margin-xs-right"]],template:function(a,b){a&
1&&(I(0,"button",0),M("click",function(){return b.suggestIssueTitle()}),K(1,"mat-icon",1),Q(2," Suggest title\n"),J());a&2&&F("matTooltip",b.description.value===""?"Enter a description to suggest a title":"Generate AI-suggested title for this issue")("disabled",b.description.value==="")},dependencies:[$D,vD,Vy,FH,HH],styles:[".suggest-title-button[_ngcontent-%COMP%]{height:29px;line-height:29px;padding:0 12px}.mat-icon[_ngcontent-%COMP%]{margin-top:-4px}\n/*# sourceMappingURL=llm_suggest_title_button.css.map */"]});var a7c=[[["","mainSegment",""]],[["","dropdownSegment",""]]],K6=function(){this.mainSegment=!0};K6.\u0275fac=function(a){return new (a||K6)};K6.\u0275dir=ud({type:K6,selectors:[["button","mainSegment",""]],hostVars:2,hostBindings:function(a,b){a&2&&ng("main-segment",b.mainSegment)}});var L6=function(){this.dropdownAriaLabel=this.dropdownTooltip="";this.disabled=!1;this.size="large";this.dialogClosed=new rG;this.dialogOpened=new rG};L6.prototype.ngAfterContentInit=function(){};
L6.prototype.ngOnChanges=function(a){a.dropdownTooltip&&!this.dropdownAriaLabel&&(this.dropdownAriaLabel=this.dropdownTooltip)};ea.Object.defineProperties(L6.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){var a,b;return(b=(a=this.trigger)==null?void 0:a.isOpen)!=null?b:!1}}});L6.\u0275fac=function(a){return new (a||L6)};
L6.\u0275cmp=t({type:L6,selectors:[["split-button"]],contentQueries:function(a,b,c){a&1&&Ng(c,K6,5);if(a&2){var d;Qg(d=Rg())&&(b.mainSegment=d.first)}},viewQuery:function(a,b){a&1&&Mg(lP,5);if(a&2){var c;Qg(c=Rg())&&(b.trigger=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&ng("expanded",b.expanded)},inputs:{dropdownTooltip:"dropdownTooltip",dropdownAriaLabel:"dropdownAriaLabel",disabled:"disabled",size:"size"},outputs:{dialogClosed:"dialogClosed",dialogOpened:"dialogOpened"},exportAs:["splitButton"],
features:[Hd],ngContentSelectors:["[mainSegment]","[dropdownSegment]"],decls:8,vars:7,consts:[["trigger","onedevPopupPanelTrigger"],["contentPanel","onedevPopupPanel"],["mat-icon-button","","onedevPopupPanelTrigger","",3,"click","onedevPopupPanelTriggerOpened","onedevPopupPanelTriggerClosed","onedevPopupPanelTriggerFor","matTooltip","disabled"],["svgIcon","arrow-dropdown"],["role","region"],[1,"dropdown-container"]],template:function(a,b){if(a&1){var c=x();Dg(a7c);Eg(0);I(1,"button",2,0);M("click",
function(){z(c);var d,e;if((e=(d=b.trigger)==null?void 0:d.isOpen)!=null&&e){var f;(f=b.trigger)==null||f.close()}else{var h;(h=b.trigger)==null||h.open()}return A()})("onedevPopupPanelTriggerOpened",function(){z(c);return A(b.dialogOpened.emit())})("onedevPopupPanelTriggerClosed",function(){z(c);return A(b.dialogClosed.emit())});K(3,"mat-icon",3);J();I(4,"onedev-popup-panel",4,1)(6,"div",5);Eg(7,1);J()()}a&2&&(a=L(5),C(),qg("dropdown-button ",b.size,""),F("onedevPopupPanelTriggerFor",a)("matTooltip",
b.dropdownTooltip)("disabled",b.disabled),eg("aria-label",b.dropdownAriaLabel))},dependencies:[$D,vD,Xy,FH,HH,kP,lP],styles:["[_nghost-%COMP%]    {border:1px solid;border-color:#dadce0;border-color:var(--hairline);border-radius:5px;display:flex;overflow:hidden}[_nghost-%COMP%]     .main-segment{border-radius:5px 0 0 5px;padding-left:8px;padding-right:8px;line-height:13px}[_nghost-%COMP%]    .expanded .dropdown-button mat-icon{transform:rotate(-180deg)}[_nghost-%COMP%]     .dropdown-button:not([disabled]) mat-icon{color:#5f6368;color:var(--icon)}[_nghost-%COMP%]     .dropdown-button{border-left:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:0;width:30px}[_nghost-%COMP%]     .dropdown-button mat-icon{transition:250ms transform}[_nghost-%COMP%]     .mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:0}/*# sourceMappingURL=split_button.css.map */"],
changeDetection:0});var b7c=new Map([["TOTALLY_INCORRECT","Totally incorrect"],["MISSING_IMPORTANT_INFO","Missing important info"],["OTHER","Other"]]),M6=function(){Z.apply(this,arguments);this.butterBar=r(hE);this.analytics=r(wG);this.llmSuggestTitleService=r(I6);this.suggestionAccepted=new rG;this.isGeneratingTitle$=Pu(this.llmSuggestTitleService.isGeneratingTitle).pipe(Kf({refCount:!0,bufferSize:1}));this.suggestedTitle$=Pu(this.llmSuggestTitleService.generatedTitle).pipe(Kf({refCount:!0,bufferSize:1}));this.isVisible$=
Me([Pu(this.llmSuggestTitleService.isGeneratingTitle),Pu(this.llmSuggestTitleService.generatedTitle)]).pipe(Of(this.destroyed$),B(function(a){var b=k(a);a=b.next().value;b=b.next().value;return a||b}));this.suggestedTitleRejectionReasons=["TOTALLY_INCORRECT","MISSING_IMPORTANT_INFO","OTHER"];this.REJECT_REASON_TO_DISPLAY=b7c};Y(M6,Z);M6.\u0275dir=Z.\u0275dir;M6.prototype.close=function(){this.llmSuggestTitleService.generatedTitle.next(null)};
M6.\u0275fac=function(){var a;return function(b){return(a||(a=de(M6)))(b||M6)}}();
M6.\u0275cmp=t({type:M6,selectors:[["llm-suggest-title-preview"]],outputs:{suggestionAccepted:"suggestionAccepted"},features:[cg],decls:2,vars:3,consts:[["splitButton",""],[1,"suggest-title","flex-kids-x","carded","margin-s-top"],[1,"flex-kids-y","flex","gap"],[1,"flex-kids-x","align-items-center","space-between"],[1,"heading-s"],[1,"flex-kids-x"],["mat-icon-button","","aria-label","Re-generate title","matTooltip","Re-generate title",1,"request-title",3,"click"],["svgIcon","refresh"],["mat-icon-button",
"","aria-label","Hide AI suggested title","matTooltip","Hide AI suggested title",1,"hide-suggest-title",3,"click"],["svgIcon","close"],[1,"type-m","margin-s-right"],[1,"flex-kids-x","gap-s"],["mat-flat-button","","color","primary","type","button",1,"small",3,"click","disabled"],["dropdownTooltip","Specify reject reason",3,"size","disabled"],["mat-button","","mainSegment","",1,"small",3,"click","disabled"],["dropdownSegment",""],["mat-menu-item","",1,"rejection-reason"],["mat-menu-item","",1,"rejection-reason",
3,"click"]],template:function(a,b){a&1&&(D(0,nGb,27,13,"div",1),S(1,"async"));a&2&&G(U(1,1,b.isVisible$)?0:-1)},dependencies:[$D,vD,Vy,Xy,FH,HH,JO,L6,K6,wI,Iw],styles:[".suggest-title[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg);border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:4px;padding:8px 8px 16px 16px}\n/*# sourceMappingURL=llm_suggest_title_preview.css.map */"]});var N6=function(){Z.call(this);var a=this;this.similarIssuesApi=r(eP);this.analytics=r(wG);this.activeSession=r(dv);this.hasSearched=this.isLoading=!1;this.loadedIssueCount=0;this.componentId$=new If(1);this.contextRaw$=new If(1);this.tableColumns=["title","priority","createdTime"];this.isInternal=this.activeSession.isInternalSession();this.tableOptions={hideColumnHeaders:!0,enableIssueHovercard:!0,rowLimit:3,navigationOptions:{alwaysOpenNewTab:!0},modes:{createdTime:"relativepastshort"}};this.searchString$=
this.contextRaw$.pipe(B(function(c){return c.trim()}),Ye(function(c){return c.length>=7}),Af(200));this.issues$=Me([this.componentId$,this.searchString$]).pipe(Nf(function(c){var d=k(c);c=d.next().value;d=d.next().value;a.isLoading=!0;return fP(a.similarIssuesApi,{scope:"componentId:"+c+" modified:365d status:open",scopeSortOrder:"vote_count desc",maxResults:15,keyword:d})}),xf(function(c){sj("similarIssuesApi.lookupSimilarIssues() error: ",c);var d,e,f=(e=c==null?void 0:(d=c.error)==null?void 0:
d.status)!=null?e:c==null?void 0:c.status;a.analytics.trackEvent("similarIssues","error",f);return Fe({similarIssues:[],scores:[]})}),B(function(c){return rGb(c)}),Pf(function(c){a.isLoading=!1;a.hasSearched=!0;a.loadedIssueCount=c.length}));this.issueIds$=this.issues$.pipe(B(function(c){return c.map(function(d){return d.issueId})}));var b=this.analytics;this.subscriptions.add(this.issues$.pipe(B(function(c){return c.length})).subscribe(function(c){b.trackEvent("similarIssues","loaded","possible-dupes-"+
c,c)}))};Y(N6,Z);N6.\u0275dir=Z.\u0275dir;
ea.Object.defineProperties(N6.prototype,{isThinkingOnEmpty:{configurable:!0,enumerable:!0,get:function(){return this.isLoading&&!this.hasSearched}},isEmpty:{configurable:!0,enumerable:!0,get:function(){return!this.isLoading&&this.loadedIssueCount===0}},componentId:{configurable:!0,enumerable:!0,set:function(a){this.componentId$.next(a)},get:function(){return Xo(this.componentId$)}},context:{configurable:!0,enumerable:!0,set:function(a){this.contextRaw$.next(a!=null?a:"")}}});
N6.\u0275fac=function(a){return new (a||N6)};
N6.\u0275cmp=t({type:N6,selectors:[["similar-issues"]],hostVars:4,hostBindings:function(a,b){a&2&&ng("thinking-on-empty",b.isThinkingOnEmpty)("is-empty-state",b.isEmpty)},inputs:{componentId:"componentId",context:"context"},features:[cg],decls:8,vars:5,consts:[[1,"flex-kids-x","align-items-center","gap-s","margin-s-y"],["svgIcon","spark_24px","color","primary"],[1,"heading-xs"],["mat-icon-button","","href","http://go/similar-issues-buganizer","target","_blank","matTooltip","Learn more","aria-label",
"Learn more",1,"xs","muted"],[3,"issueIds","tableColumns","options"],["svgIcon","help-outline"]],template:function(a,b){a&1&&(I(0,"div",0),K(1,"mat-icon",1),I(2,"h3",2),Q(3,"Possible duplicates"),J(),D(4,oGb,2,0,"a",3)(5,pGb,1,0,"b-spinner"),J(),D(6,qGb,1,3,"b-issues-table",4),S(7,"async"));if(a&2){var c;C(4);G(b.isInternal?4:-1);C();G(b.isLoading&&!b.isThinkingOnEmpty?5:-1);C();G((c=U(7,3,b.issueIds$))?6:-1,c)}},dependencies:[$D,JO,UV,FH,HH,vD,Yy,Iw],styles:["[_nghost-%COMP%]{display:block}.dark-mode   [_nghost-%COMP%]     .mat-mdc-table, [_nghost-%COMP%]     .mat-mdc-table{background:transparent}.thinking-on-empty[_nghost-%COMP%]{-webkit-animation:_ngcontent-%COMP%_ai-shimmer 2.1s linear infinite;animation:_ngcontent-%COMP%_ai-shimmer 2.1s linear infinite;background:-webkit-linear-gradient(315deg,var(--ai-muted),var(--ai-analog-muted),var(--ai-analog-very-muted),var(--ai-complement-muted),var(--ai-muted),var(--ai-muted),var(--ai-analog-muted),var(--ai-analog-very-muted),var(--ai-complement-muted),var(--ai-muted)) 50%/800% 800%;background:linear-gradient(135deg,var(--ai-muted),var(--ai-analog-muted),var(--ai-analog-very-muted),var(--ai-complement-muted),var(--ai-muted),var(--ai-muted),var(--ai-analog-muted),var(--ai-analog-very-muted),var(--ai-complement-muted),var(--ai-muted)) 50%/800% 800%}@-webkit-keyframes _ngcontent-%COMP%_ai-shimmer{0%{background-position:100% 100%}to{background-position:top 37.5% left 37.5%}}@keyframes _ngcontent-%COMP%_ai-shimmer{0%{background-position:100% 100%}to{background-position:top 37.5% left 37.5%}}.is-empty-state[_nghost-%COMP%]{display:none}\n/*# sourceMappingURL=similar_issues.css.map */"]});var c7c=["popOver"],tGb=function(a){return{$implicit:a}},BGb=function(a){return{editingValue:a}},O6=function(a){this.val="";this.allowMultipleLines=!0;this.disabled=this.centerEditIcon=this.newlineWithEnterKey=!1;this.hasBackdrop=!0;this.fitPopoverToViewport=!1;this.valueChange=new kw;this.editorOpen=new kw;this.required=this.editing=this.headerFocused=!1;this.editingValue=new Az("",{nonNullable:!0});this.onChange=function(){};this.onTouched=function(){};if(a===""||a==="true"||a==="required")this.required=
!0};Y(O6,jU);g=O6.prototype;g.ngOnInit=function(){};g.valueChanged=function(){return this.editingValue.value!==this.value};g.startEditing=function(){this.disabled||(this.onTouched(),this.editing=!0,this.editingValue.setValue(this.value),this.popOver.open(),this.editorOpen.emit({isOpen:!0}))};g.stopEditing=function(a){this.editing=!1;a===0&&(this.onChange(this.editingValue.value),this.value=this.editingValue.value,this.valueChange.emit(this.value));this.editorOpen.emit({isOpen:!1,closeAction:a})};
g.writeValue=function(a){a!=null&&(this.val=a,this.editing||this.editingValue.setValue(a))};g.isActive=function(){return this.headerFocused||this.editing};g.registerOnChange=function(a){this.onChange=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a};ea.Object.defineProperties(O6.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});
O6.\u0275fac=function(a){return new (a||O6)(Zd("required"))};
O6.\u0275cmp=t({type:O6,selectors:[["onedev-text-field"]],viewQuery:function(a,b){a&1&&Mg(c7c,7);if(a&2){var c;Qg(c=Rg())&&(b.popOver=c.first)}},inputs:{value:"value",allowMultipleLines:"allowMultipleLines",multilineMaxLines:"multilineMaxLines",newlineWithEnterKey:"newlineWithEnterKey",centerEditIcon:"centerEditIcon",disabled:"disabled",labelledById:"labelledById",valueTemplate:"valueTemplate",editorTemplate:"editorTemplate",hasBackdrop:"hasBackdrop",fitPopoverToViewport:"fitPopoverToViewport"},outputs:{valueChange:"valueChange",
editorOpen:"editorOpen"},features:[Yg([{provide:mz,useExisting:id(function(){return O6}),multi:!0},{provide:jU,useExisting:id(function(){return O6}),multi:!0}]),cg],decls:11,vars:9,consts:[["anchor",""],["standardValueDisplay",""],["popOver","onedevPopOverEditPanel"],["inputTemplate",""],["singleLineTemplate",""],[3,"click","focus","blur"],[4,"ngIf","ngIfElse"],["class","edit-icon","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",3,"centered",4,"ngIf"],[3,"closedWithAction","anchor","editorTemplate",
"newlineWithEnterKey","hasBackdrop","fitToViewport"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"edit-icon"],["d","M20.71,5.63l-2.34-2.34C18.18,3.1,17.92,3,17.67,3c-0.26,0-0.51,0.1-0.71,0.29L3,17.25L3,21h3.75L20.71,7.04 C21.1,6.65,21.1,6.02,20.71,5.63z M5.92,19H5l0-0.92L15.54,7.53l0.92,0.92L5.92,19z"],[4,"ngIf"],[1,"textarea-wrapper"],["spellcheck","false","autocomplete","off","cdkTextareaAutosize","","cdkAutosizeMinRows","1",3,"formControl",
"cdkAutosizeMaxRows",4,"ngIf","ngIfElse"],["spellcheck","false","autocomplete","off","cdkTextareaAutosize","","cdkAutosizeMinRows","1",3,"formControl","cdkAutosizeMaxRows"],["spellcheck","false","autocomplete","off",3,"formControl"]],template:function(a,b){if(a&1){var c=x();I(0,"button",5,0);M("click",function(){z(c);return A(b.startEditing())})("focus",function(){z(c);return A(b.headerFocused=!0)})("blur",function(){z(c);return A(b.headerFocused=!1)});I(2,"span");D(3,uGb,2,4,"ng-container",6)(4,
vGb,1,1,"ng-template",null,1,fh);J();D(6,wGb,2,2,"svg",7);J();I(7,"onedev-pop-over-edit-panel",8,2);M("closedWithAction",function(f){z(c);return A(b.stopEditing(f))});J();D(9,DGb,2,2,"ng-template",null,3,fh)}if(a&2){a=L(1);var d=L(5),e=L(10);eg("aria-labelledby",b.labelledById);C(3);F("ngIf",b.valueTemplate)("ngIfElse",d);C(3);F("ngIf",!b.disabled);C();F("anchor",a)("editorTemplate",e)("newlineWithEnterKey",b.newlineWithEnterKey)("hasBackdrop",b.hasBackdrop)("fitToViewport",b.fitPopoverToViewport)}},
dependencies:[Gw,Hw,ki,tz,eA,kU,Gz],styles:["button[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;font-size:13px;padding:6px 8px;font-weight:400;letter-spacing:.185714px;line-height:normal;background:none;border:1px solid transparent;color:var(--text-default,#202124);padding:4px;-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;line-height:18px;border-radius:5px;width:100%;min-height:27px;min-width:100px;-webkit-box-align:start;-webkit-align-items:start;-moz-box-align:start;-ms-flex-align:start;align-items:start;text-align:left;white-space:pre-line}button[_ngcontent-%COMP%]:hover{cursor:pointer;border-color:var(--field-hover-border,#d2e3fc)}button[_ngcontent-%COMP%]:disabled{cursor:not-allowed}button.active[_ngcontent-%COMP%], button[_ngcontent-%COMP%]:focus{outline:0;border-color:var(--primary-default,#1a73e8)}.ng-invalid.ng-touched[_nghost-%COMP%]   button[_ngcontent-%COMP%]{border-color:var(--warn-default,#d93025)}.edit-icon[_ngcontent-%COMP%]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;margin-left:auto;width:16px;height:16px;color:var(--icon,#5f6368);fill:currentColor;margin-top:1px}.edit-icon.centered[_ngcontent-%COMP%]{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;margin-top:0}input[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;font-size:13px;padding:6px 8px;font-weight:400;letter-spacing:.185714px;line-height:normal;padding:4px;border-radius:5px;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;color:var(--text-default,#202124);border:1px solid var(--field-hover-border,#d2e3fc);background-color:var(--surface-default,#fff);line-height:18px;-moz-box-sizing:content-box;box-sizing:content-box;width:calc(100% - 10px)}input[_ngcontent-%COMP%]:focus, textarea[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--primary-default,#1a73e8)}"]});var d7c=ni("indicatorRotate",[qi("collapsed, void",pi({transform:"rotate(0deg)"})),qi("expanded",pi({transform:"rotate(180deg)"})),si("expanded <=> collapsed, void => collapsed",oi("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),e7c=ni("bodyExpansion",[qi("collapsed, void",pi({height:"0px",visibility:"hidden"})),qi("expanded",pi({height:"*",visibility:""})),si("expanded <=> collapsed, void => collapsed",oi("225ms cubic-bezier(0.4,0.0,0.2,1)"))]);var f7c=new Bd("CdkAccordion");var g7c=0,P6=function(){this.accordion=r(f7c,{optional:!0,skipSelf:!0});this._changeDetectorRef=r(rw);this._expansionDispatcher=r(Xx);this._openCloseAllSubscription=me.EMPTY;this.closed=new kw;this.opened=new kw;this.destroyed=new kw;this.expandedChange=new kw;this.id="cdk-accordion-child-"+g7c++;this.disabled=this._expanded=!1;this._removeUniqueSelectionListener=function(){}};g=P6.prototype;
g.ngOnInit=function(){var a=this;this._removeUniqueSelectionListener=this._expansionDispatcher.listen(function(b,c){a.accordion&&!a.accordion.multi&&a.accordion.id===c&&a.id!==b&&(a.expanded=!1)});this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())};g.ngOnDestroy=function(){this.opened.complete();this.closed.complete();this.destroyed.emit();this.destroyed.complete();this._removeUniqueSelectionListener();this._openCloseAllSubscription.unsubscribe()};
g.toggle=function(){this.disabled||(this.expanded=!this.expanded)};g.close=function(){this.disabled||(this.expanded=!1)};g.open=function(){this.disabled||(this.expanded=!0)};g._subscribeToOpenCloseAllActions=function(){var a=this;return this.accordion._openCloseAllActions.subscribe(function(b){a.disabled||(a.expanded=b)})};
ea.Object.defineProperties(P6.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){return this._expanded},set:function(a){this._expanded!==a&&(this._expanded=a,this.expandedChange.emit(a),a?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}}});P6.\u0275fac=function(a){return new (a||P6)};
P6.\u0275dir=ud({type:P6,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",rh],disabled:[2,"disabled","disabled",rh]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[Yg([{provide:f7c,useValue:void 0}]),dg]});var Q6=function(){};Q6.\u0275fac=function(a){return new (a||Q6)};Q6.\u0275mod=u({type:Q6});Q6.\u0275inj=p({});var h7c=new Bd("MAT_ACCORDION");var i7c=new Bd("MAT_EXPANSION_PANEL");var j7c=function(){this._template=r(Jg);this._expansionPanel=r(i7c,{optional:!0})};j7c.\u0275fac=function(a){return new (a||j7c)};j7c.\u0275dir=ud({type:j7c,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0});var k7c=["body"],l7c=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],m7c=0,n7c=new Bd("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),R6=function(){P6.call(this);this._viewContainerRef=r(Kg);this._animationMode=r(Zv,{optional:!0});this._document=r(ei);this._hideToggle=!1;this.afterExpand=new kw;this.afterCollapse=new kw;this._inputChanges=new Jf;this.accordion=r(h7c,{optional:!0,skipSelf:!0});this._headerId="mat-expansion-panel-header-"+m7c++;var a=r(n7c,{optional:!0});this._expansionDispatcher=
r(Xx);this._animationsDisabled=this._animationMode==="NoopAnimations";a&&(this.hideToggle=a.hideToggle)};Y(R6,P6);R6.\u0275dir=P6.\u0275dir;g=R6.prototype;g._hasSpacing=function(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1};g._getExpandedState=function(){return this.expanded?"expanded":"collapsed"};g.toggle=function(){this.expanded=!this.expanded};g.close=function(){this.expanded=!1};g.open=function(){this.expanded=!0};
g.ngAfterContentInit=function(){var a=this;this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Mf(null),Ye(function(){return a.expanded&&!a._portal}),Cf()).subscribe(function(){a._portal=new ny(a._lazyContent._template,a._viewContainerRef)})};g.ngOnChanges=function(a){this._inputChanges.next(a)};g.ngOnDestroy=function(){P6.prototype.ngOnDestroy.call(this);this._inputChanges.complete()};
g._containsFocus=function(){if(this._body){var a=this._document.activeElement,b=this._body.nativeElement;return a===b||b.contains(a)}return!1};g._animationStarted=function(a){if(a.fromState!=="void"&&!this._animationsDisabled&&this._body){var b;(b=this._body)==null||b.nativeElement.setAttribute("inert","")}};g._animationDone=function(a){a.fromState!=="void"&&(a.toState==="expanded"?this.afterExpand.emit():a.toState==="collapsed"&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))};
ea.Object.defineProperties(R6.prototype,{hideToggle:{configurable:!0,enumerable:!0,get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(a){this._hideToggle=a}},togglePosition:{configurable:!0,enumerable:!0,get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(a){this._togglePosition=a}}});R6.\u0275fac=function(a){return new (a||R6)};
R6.\u0275cmp=t({type:R6,selectors:[["mat-expansion-panel"]],contentQueries:function(a,b,c){a&1&&Ng(c,j7c,5);if(a&2){var d;Qg(d=Rg())&&(b._lazyContent=d.first)}},viewQuery:function(a,b){a&1&&Mg(k7c,5);if(a&2){var c;Qg(c=Rg())&&(b._body=c.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(a,b){a&2&&ng("mat-expanded",b.expanded)("_mat-animation-noopable",b._animationsDisabled)("mat-expansion-panel-spacing",b._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",rh],
togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[Yg([{provide:h7c,useValue:void 0},{provide:i7c,useExisting:R6}]),dg,cg,Hd,$g],ngContentSelectors:["mat-expansion-panel-header","*","mat-action-row"],decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(a,b){if(a&1){var c=x();Dg(l7c);Eg(0);
I(1,"div",1,0);M("@bodyExpansion.start",function(d){z(c);return A(b._animationStarted(d))})("@bodyExpansion.done",function(d){z(c);return A(b._animationDone(d))});I(3,"div",2);Eg(4,1);D(5,EGb,0,0,"ng-template",3);J();Eg(6,2);J()}a&2&&(C(),F("@bodyExpansion",b._getExpandedState())("id",b.id),eg("aria-labelledby",b._headerId),C(4),F("cdkPortalOutlet",b._portal))},dependencies:[ry],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color, var(--mat-app-surface));color:var(--mat-expansion-container-text-color, var(--mat-app-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font, var(--mat-app-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-app-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-app-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-app-body-large-tracking))}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-app-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}\n'],
encapsulation:2,data:{animation:[e7c]},changeDetection:0});var o7c=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],S6=function(){var a=this;this.panel=r(R6,{host:!0});this._element=r(ge);this._focusMonitor=r(ax);this._changeDetectorRef=r(rw);this._animationMode=r(Zv,{optional:!0});this._parentChangeSubscription=me.EMPTY;this.tabIndex=0;r(Yw).load(Fy);var b=this.panel,c=r(n7c,{optional:!0}),d=r(new Vv("tabindex"),{optional:!0}),e=b.accordion?b.accordion._stateChanges.pipe(Ye(function(f){return!(!f.hideToggle&&!f.togglePosition)})):We;this.tabIndex=
parseInt(d||"")||0;this._parentChangeSubscription=Xe(b.opened,b.closed,e,b._inputChanges.pipe(Ye(function(f){return!!(f.hideToggle||f.disabled||f.togglePosition)}))).subscribe(function(){return a._changeDetectorRef.markForCheck()});b.closed.pipe(Ye(function(){return b._containsFocus()})).subscribe(function(){return bx(a._focusMonitor,a._element,"program")});c&&(this.expandedHeight=c.expandedHeight,this.collapsedHeight=c.collapsedHeight)};g=S6.prototype;g._toggle=function(){this.disabled||this.panel.toggle()};
g._isExpanded=function(){return this.panel.expanded};g._getExpandedState=function(){return this.panel._getExpandedState()};g._getPanelId=function(){return this.panel.id};g._getTogglePosition=function(){return this.panel.togglePosition};g._showToggle=function(){return!this.panel.hideToggle&&!this.panel.disabled};g._getHeaderHeight=function(){var a=this.panel.expanded;return a&&this.expandedHeight?this.expandedHeight:!a&&this.collapsedHeight?this.collapsedHeight:null};
g._keydown=function(a){switch(a.keyCode){case 32:case 13:Yh(a)||(a.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(a)}};g.focus=function(a,b){a?bx(this._focusMonitor,this._element,a,b):this._element.nativeElement.focus(b)};g.ngAfterViewInit=function(){var a=this;this._focusMonitor.monitor(this._element).subscribe(function(b){b&&a.panel.accordion&&a.panel.accordion._handleHeaderFocus(a)})};
g.ngOnDestroy=function(){this._parentChangeSubscription.unsubscribe();this._focusMonitor.stopMonitoring(this._element)};ea.Object.defineProperties(S6.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this.panel.disabled}}});S6.\u0275fac=function(a){return new (a||S6)};
S6.\u0275cmp=t({type:S6,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(a,b){a&1&&M("click",function(){return b._toggle()})("keydown",function(c){return b._keydown(c)});a&2&&(eg("id",b.panel._headerId)("tabindex",b.disabled?-1:b.tabIndex)("aria-controls",b.panel.id)("aria-expanded",b.panel.expanded)("aria-disabled",b.panel.disabled),mg("height",b._getHeaderHeight()),ng("mat-expanded",b.panel.expanded)("mat-expansion-toggle-indicator-after",
b._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",b._getTogglePosition()==="before")("_mat-animation-noopable",b._animationMode==="NoopAnimations"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:sh(a)}]},standalone:!0,features:[dg,$g],ngContentSelectors:["mat-panel-title","mat-panel-description","*"],decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],"xmlns;http://www.w3.org/2000/svg;viewBox;0 -960 960 960;aria-hidden;true;focusable;false".split(";"),
["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(a,b){a&1&&(Dg(o7c),I(0,"span",0),Eg(1),Eg(2,1),Eg(3,2),J(),D(4,FGb,3,1,"span",1));a&2&&(ng("mat-content-hide-toggle",!b._showToggle()),C(4),G(b._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height, 48px);font-family:var(--mat-expansion-header-text-font, var(--mat-app-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-app-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-app-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-app-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-app-title-medium-tracking))}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height, 64px)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-app-on-surface) 38%, transparent))}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-app-on-surface) calc(var(--mat-app-hover-state-layer-opacity) * 100%), transparent))}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-app-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-app-on-surface) calc(var(--mat-app-focus-state-layer-opacity) * 100%), transparent))}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-app-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-app-on-surface-variant))}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-app-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, none)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-app-on-surface-variant));display:var(--mat-expansion-header-indicator-display, inline-block)}@media(forced-colors: active){.mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}}\n'],
encapsulation:2,data:{animation:[d7c]},changeDetection:0});var T6=function(){};T6.\u0275fac=function(a){return new (a||T6)};T6.\u0275dir=ud({type:T6,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0});var U6=function(){};U6.\u0275fac=function(a){return new (a||U6)};U6.\u0275mod=u({type:U6});U6.\u0275inj=p({imports:[yy,Q6,sy]});var p7c=["descriptionConfirmDialog"],q7c=function(a){return{submitted:a}},IGb=function(a,b){return{partner:a,"public":b}},UHb=function(a){return{"bv2-upload-ongoing":a}},tHb=function(){return[]},LHb=function(a){return{required:a}},ZHb=function(){return{standalone:!1}},r7c=new Bd("titleBannedWordsChecker"),s7c=new Bd("descriptionBannedWordsChecker"),t7c={noListedUsers:{title:"Issue will have no listed users",content:"No one will be able to access this issue due to the Issue Access Limit that you have set, and the lack of any listed user on the issue. We strongly recommend maintaining at least one user with access. Are you sure you still want to proceed?"},
loseAccess:{title:"You will lose access",content:"You will not be able to access this issue because you are not listed on the issue and have set a restrictive Issue Access Level. Are you sure you want to proceed?"}},V6=function(){Z.call(this);var a=this;this.routeParams=r(PL);this.hotkeys=r(YH);this.checkBeforeExit=r(iT);this.constants=r(uL);this.ngZone=r(hh);this.$log=r(iE);this.reloadService=r(q_);this.paths=r(zO);this.redirectUrl=r(a4);this.userAccess=r(YC);this.accessPolicy=r(pC);this.bLocation=
r(WI);this.appHistory=r(Y3);this.issueTemplate=r(mE);this.issueTypeDialog=r(sL);this.componentActions=r(gO);this.activeSession=r(dv);this.draftStore=r(bL);this.analytics=r(wG);this.issueApi=r(uD);this.hotlistApi=r(hF);this.butterBar=r(hE);this.errorHandler=r(jE);this.matDialogService=r(kL);this.appEvents=r(nE);this.userPreferencesManager=r(yH);this.cdr=r(sG,{self:!0});this.issueRelationshipsFridge=r(KG);this.issueFullFridge=r(yG);this.componentFridge=r(AC);this.clearcut=r(kG);this.jspbPrincipalTypes=
r(XG);this.trackerFridge=r(vH);this.titleBannedWordsChecker=r(r7c);this.descriptionBannedWordsChecker=r(s7c);this.confirmIssueAccessLimitSettingsService=r(E1);this.componentTemplateApi=r(DC);this.dismissalService=r(EO);this.hostElement=r(ge);this.currentUserBookmarksFridge=r(rF);this.trackerHelpers=r(yL);this.staffingDialogService=r(C1);this.ISSUE_ID_LIST_PATTERN=/^[\s\d,]*$/;this.ISSUE_ID_LIST_DELIMITER=/[\s,]+/;this.COLLABORATOR_GROUPS_TOOLTIP="Collaborator groups are trusted groups that are configured by tracker admins only. Select and add these groups if they should be given collaborator access to this issue.";
this.recentIssuesInComponent=bq;this.userEmail=this.activeSession.getUserEmail();this.sessionIsExternal=this.activeSession.isExternalSession();this.enableRecaptcha=this.activeSession.userRequiresCaptcha();this.hotlistMap={};this.hotlists=[];this.templateTitle=this.templateComment="";this.appliedTemplate=null;this.urlTemplate=new O3c(this.routeParams,this.$log);this.isLoadingComponent=!1;this.descriptionBoxId="bv2-description";this.availablePredefinedTemplates=[];this.preferredTemplateId=this.selectedTemplateInternal=
this.availableExistingIssueTemplate=null;this.everClickedSimilarIssues=this.everShowedIssueHovercard=this.isNavigatingAway=this.isSaving=this.submitRequested=!1;this.selectedHotlists=[];this.componentHasExpandedAccessEnabled=this.canViewIssuesInComponent=this.canEditIssuesInComponent=this.createAclLoading=this.canCreateNewIssuesInComponent=this.newIssueStarted=!1;this.customFieldMap={};this.customFieldAllowedValuesMap={};this.issue=zi(cIb);this.verifierText=this.reporterText=this.assigneeText=null;
this.ccsText=[];this.collaboratorsText=[];this.collaboratorGroupsText=[];this.audience="EXTERNAL";this.selectedComponent=null;this.selectedAccessLimitLevel="LIMIT_NONE";this.selectedComponentProcessedPromise=Promise.resolve(void 0);this.useCodefont=!1;this.hasAdvancedFieldsInUrlTemplate=Q3c(this.urlTemplate)||!!this.parentIssueIds||!!this.childrenIssueIds;this.selectedHotlistIds=[[]];this.isFormatInRoute=!1;this.isCollaboratorsValid=this.isChildIssueIdsValid=this.isParentIssueIdsValid=this.isBlockingIssueIdValid=
this.isBlockedByIssueIdValid=!0;this.invalidCollaboratorsInput=[];this.startTime=new Date;this.recaptchaResponse="";this.toIssuePriority=Ni;this.toIssueSeverity=sra;this.FieldType=PM;this.initialized=!1;this.trackerComponent$=Re(function(){return Fe(a.activeSession.getTracker())}).pipe(Nf(function(c){return c?a.componentFridge.watch(Number(c.componentId)).pipe(Mf(void 0)):Fe(void 0)}));this.trackerId$=new bo(void 0);this.tracker$=this.trackerId$.pipe(Nf(function(c){return c?a.trackerFridge.watch(c):
Fe(void 0)}));this.titleAfterBlur$=new Jf;this.similarIssuesSearchString$=this.titleAfterBlur$.pipe(Df(100));this.trackerCollaboratorGroups=[];this.enableSuggestTitle=lu(this.activeSession,"enableSuggestTitle")&&this.activeSession.isInternalSession();this.enablePlannedAllocationsUi=lu(this.activeSession,"enablePlannedAllocationsUi");this.onAnyClick=function(c){nxa(c).match("SIMILAR-ISSUES")&&(a.everClickedSimilarIssues=!0,a.analytics.trackEvent("similarIssues","click"))};this.getSingleEditFieldType=
qMa;this.getListFieldType=FOa;this.shouldShowSimilarIssues=this.activeSession.isInternalSession()||lu(this.activeSession,"enableSimilarIssueExternal");this.didConfirmNavigateAway=function(){var c,d=(c=a.selectedComponent)==null?void 0:c.componentPathInfo;c=Nu(a.trackerHelpers,d);d="";c&&c.componentPathName&&(d=c.componentPathName[0].toString().trim());a.everShowedIssueHovercard||a.everClickedSimilarIssues?(a.analytics.trackEvent("createIssue","abandon-happy"),a.analytics.trackEvent("createIssue",
"abandon-happy-by-component",""+d)):(a.analytics.trackEvent("createIssue","abandon-normal"),a.analytics.trackEvent("createIssue","abandon-normal-by-component",""+d))};this.fetchUserHotlists();this.checkBeforeExit.didConfirm=this.didConfirmNavigateAway;this.subscriptions.add(this.tracker$.subscribe(function(c){a.updateCollaboratorGroups(c)}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(){a.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.didShowIssueHovercard.subscribe(function(){a.everShowedIssueHovercard=
!0;a.analytics.trackEvent("similarIssues","hover")}));this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(function(){a.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(){a.fetchUserHotlists()}));this.enableCreateIssueWithTemplate=lu(this.activeSession,"enableCreateIssueWithTemplate");this.frontendIsInternalOrPartner=this.activeSession.isInternalSession()||tC(this.activeSession);this.priorityChoices=this.constants.priorities.map(function(c){return{value:c,
displayText:c}});this.severityChoices=this.constants.severities.map(function(c){return{value:c,displayText:c}});this.issueTypeChoices=this.constants.editIssueTypes.map(function(c){return{value:c,displayText:Oi(c),altText:a.constants.issueTypesShortDescriptions.get(c)}});this.piiWarningMessage=this.activeSession.isInternalSession()?"Please be sure you don't include sensitive information/data (PII, SPII, and other sensitive user data) in unrestricted issues (either in text or through attachments). If you do need to include sensitive information, please be sure to link to a secure doc (e.g. a drive file with proper sharing settings) and share only with those that have a business need for access. Please see http://go/buganizerpuppy.":
void 0;this.componentAutocomplete=this.routeParams.componentAutocomplete;this.componentRequestedInUrl=this.routeParams.component;this.templateIssueRequestedInUrl=this.routeParams.template_issue;if(this.routeParams.template){var b=Number(this.routeParams.template);b&&(this.preferredTemplateId=b)}if(b=this.routeParams.parentIssueId)this.parentIssueIds=Array.isArray(b)?b:[b];if(b=this.routeParams.childrenIssueIds)this.childrenIssueIds=Array.isArray(b)?b:[b];if(b=this.routeParams.afterIssueId)this.afterIssueId=
Array.isArray(b)?b[0]:b;aIb(this.issue,this);this.routeParams.description?this.comment=new NL(this.routeParams.description,!0):(b=this.draftStore.$window.sessionStorage.getItem(Wp("0"))||"",this.comment=new NL(b));this.comment.formattingMode=u7c(this);b=v7c(this.routeParams);this.isFormatInRoute=b!=null;b&&(this.comment.formattingMode=b);this.subscriptions.add(this.userPreferencesManager.preferences$.subscribe(function(c){var d;a.useCodefont=(d=c.useCodefont)!=null?d:a.useCodefont}));this.subscriptions.add(ZH(this.hotkeys,
{title:"Create Issue Page",hotkeys:[{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var c;(c=a.hotlistPicker)==null||c.open()}},{keys:["u"],displayAs:"u",description:"Back to previous page",onPress:function(){a.back()}}]}));this.componentRequestedInUrl?(this.newIssueStarted=!0,w7c(this,Number(this.componentRequestedInUrl))):this.componentAutocomplete?x7c(this,this.componentAutocomplete):(V3c(this.urlTemplate,this.issue),this.updateSelectedHotlists());this.templateIssueRequestedInUrl&&
(this.newIssueStarted=!0,y7c(this));this.originalIssueCopy=zi(this.issue);this.routeParams.description&&(this.originalIssueCopy.comment=this.comment.value,this.issue.comment=this.comment.value);this.isFormatInRoute&&(this.issue.formattingMode=this.comment.formattingMode,this.originalIssueCopy.formattingMode=this.issue.formattingMode);this.createRestrictedResourcesComponentIds=this.activeSession.session.config.createRestrictedSubresourcesComponentIds;this.subscriptions.add(jT(this.checkBeforeExit,
function(){return a.hasUnsavedChanges()},!1))};Y(V6,Z);V6.\u0275dir=Z.\u0275dir;V6.prototype.isCaptchaValid=function(){return!this.enableRecaptcha||this.recaptchaResponse!==""};var z7c=function(a){if(!a.templateTitle||!a.templateComment)return!1;var b=pGa(a.comment.value,a.templateComment);return pGa(a.issue.title,a.templateTitle)&&b},VHb=function(a){return a.isSaving||a.isNavigatingAway||!a.canCreateNewIssuesInComponent||!a.isCaptchaValid()||!1};
V6.prototype.ngOnInit=function(){var a=this;this.initialized=!0;this.hostElement.nativeElement.addEventListener("click",this.onAnyClick,!0);this.subscriptions.add(this.trackerComponent$.subscribe(function(b){b&&(a.selectedComponent||a.componentRequestedInUrl||a.templateIssueRequestedInUrl||a.preferredTemplateId||A7c(a,b))}))};V6.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.hostElement.nativeElement.removeEventListener("click",this.onAnyClick,!0)};
var W6=function(a){a.initialized&&a.ngZone.run(function(){a.cdr.detectChanges()})};V6.prototype.back=function(){Z3(this.appHistory)};
var B7c=function(a){var b;return dr(a.selectedComponent)&&!((b=a.selectedComponent)==null||!b.trackerId)&&!vq(a.activeSession)},C7c=function(a,b){b==="LIMIT_VIEW"||b==="LIMIT_VIEW_TRUSTED"?a.selectedAccessLimitLevel=b:(a.selectedAccessLimitLevel="LIMIT_VIEW_TRUSTED",du(a.butterBar,"Because this issue will be on a public tracker, the following Issue Access Limit will be applied: Limited visibility + Google."+(a.canEditIssuesInComponent?" You may modify this access level before creating the issue.":
"")))};V6.prototype.onAccessLimitLevelSelected=function(a){this.selectedAccessLimitLevel=a};
var A7c=function(a,b){a.selectedComponent=b;a.selectedComponent?(a.issue=Object.assign({},a.issue,{componentId:a.selectedComponent.componentId}),a.originalIssueCopy.componentId=a.selectedComponent.componentId,D7c(a),a.audience=cr(a.selectedComponent)?"EXTERNAL":"INTERNAL",a.trackerId$.next(a.selectedComponent.trackerId),a.createRestrictedResourcesComponentIds.includes(a.selectedComponent.componentId)?a.judgementForNewContent={severity:"RESTRICTED",judgementReason:"None Specified"}:a.judgementForNewContent=
void 0):(Fc(a.issue,"componentId"),a.audience="EXTERNAL");a.submitRequested=!1;E7c(a);a.selectedComponentProcessedPromise=Promise.all([F7c(a),G7c(a)]).then(function(){});return a.selectedComponentProcessedPromise},H7c=function(a){a.assigneeText=a.assigneeText?a.assigneeText:null;a.verifierText=a.verifierText?a.verifierText:null;a.reporterText=a.reporterText?a.reporterText:null},LGb=function(a){return XWa(a.selectedComponent)?"External Google partners may be able to see this issue.":dr(a.selectedComponent)?
"Public users may be able to see this issue.":""};V6.prototype.getCollaboratorGroupsString=function(){return this.collaboratorGroupsText.length===0?"":this.collaboratorGroupsText.length>1?this.collaboratorGroupsText.length+" groups selected":this.collaboratorGroupsText[0]};V6.prototype.updateCollaboratorGroups=function(a){a&&a.collaboratorGroups&&(this.trackerCollaboratorGroups=Si(a.collaboratorGroups),this.separateCollaboratorGroups())};
V6.prototype.separateCollaboratorGroups=function(){for(var a=[],b=new Set(this.trackerCollaboratorGroups),c=k(this.collaboratorsText),d=c.next();!d.done;d=c.next())d=d.value,b.has(d)?this.collaboratorGroupsText.push(d):a.push(d);this.collaboratorsText=a;if(this.collaboratorGroupsText.length>0&&!dr(this.selectedComponent)){var e;(e=this.advancedFieldsZippy)==null||e.open()}};
var y7c=function(a){var b=Number(a.templateIssueRequestedInUrl);Number.isNaN(b)?a.butterBar.showWarning("Invalid template_issue specified"):(a.availableExistingIssueTemplate=new I7c(b,"issue","Issue "+b,!1,0,!1),a.selectedTemplate=a.availableExistingIssueTemplate)},F7c=function(a){a.availablePredefinedTemplates=[];a.selectedTemplate&&a.selectedTemplate.type==="predefined"&&!J7c(a)&&(a.selectedTemplate=null);return a.selectedComponent?a.issueTemplate.templatesApi.query(a.selectedComponent.componentId).then(function(b){a.availablePredefinedTemplates=
b.map(function(e){var f=e.name;iu(hu(f))&&(f=e.default?"(default template)":"(unnamed template)");return new I7c(e.templateId,"predefined",f,e.default,e.componentId,e.inheritable)});if(a.preferredTemplateId&&!a.selectedTemplate){var c=a.preferredTemplateId;if(b=a.availablePredefinedTemplates.find(function(e){return e.id===c}))a.selectedTemplate=b,a.preferredTemplateId=null}if(!a.selectedTemplate){b=k(a.availablePredefinedTemplates);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.isDefault){a.selectedTemplate=
d;break}}a.availablePredefinedTemplates.length>0&&!a.selectedTemplate&&(a.selectedTemplate=a.availablePredefinedTemplates[0]);W6(a)}).catch(function(){a.butterBar.showWarning("Unable to load templates for this component")}):Promise.resolve(void 0)},J7c=function(a){var b,c;return a.selectedTemplate&&((b=a.selectedComponent)==null?0:(c=b.componentPathInfo)==null?0:c.componentPathId)?a.selectedTemplate.inheritable&&a.selectedComponent.componentPathInfo.componentPathId.find(function(d){return d===a.selectedTemplate.componentId})!==
void 0:!1},G7c=function(a){if(!a.selectedComponent)return a.canCreateNewIssuesInComponent=!1,a.canEditIssuesInComponent=!1,Promise.resolve(void 0);var b=a.selectedComponent.componentId,c="components/"+b+"/issueDefaults";a.createAclLoading=!0;a.canCreateNewIssuesInComponent=!1;a.canEditIssuesInComponent=!1;a.canViewIssuesInComponent=!1;a.componentHasExpandedAccessEnabled=!1;var d=$C(a.userAccess,"appender","components/"+b).then(function(f){a.canCreateNewIssuesInComponent=f;W6(a)}),e=$C(a.userAccess,
"writer",c).then(function(f){a.canEditIssuesInComponent=f;W6(a)});c=$C(a.userAccess,"reader",c).then(function(f){a.canViewIssuesInComponent=f;W6(a)});b=a.accessPolicy.checkComponentImplicitAccessEnabled(b).then(function(f){a.componentHasExpandedAccessEnabled=f;W6(a)});return Promise.all([d,e,c,b]).then(function(){K7c(a);W6(a)}).catch(function(f){a.$log.warn(f)}).finally(function(){a.createAclLoading=!1})},N7c=function(a){if(a.selectedTemplate){var b=function(c){var d=Object.assign(zi(cIb),c.snapshot);
a.selectedComponent&&(d.componentId=a.selectedComponent.componentId);var e=zi(d);H7c(a);bIb(a,a.issue);var f=zi(a.issue);if(a.appliedTemplate)for(var h=k(Object.keys(a.appliedTemplate)),l=h.next();!l.done;l=h.next()){l=l.value;var q=a.appliedTemplate[l];if(Array.isArray(q)&&Array.isArray(f[l])){q=k(q);for(var v=q.next();!v.done;v=q.next())Zqa(f[l],v.value)}else yi(q,f[l])&&delete f[l]}a.appliedTemplate=e;dIb(d,f);f=e.comment||"";a.comment.value!==a.templateComment&&(Frc(a.comment)||f===""||a.comment.value===
f||(a.templateComment=f,L7c(a,a.comment.value)),d.comment=a.comment.value,d.formattingMode=e.formattingMode);a.templateComment=f;var y;a.templateCommentFormattingMode=(y=e.formattingMode)!=null?y:void 0;a.templateTitle=e.title||"";d.reporterUser=Yi(a.userEmail);B7c(a)&&a.canEditIssuesInComponent?C7c(a,d.issueAccessLimitLevel||"LIMIT_NONE"):a.selectedAccessLimitLevel=d.issueAccessLimitLevel||"LIMIT_NONE";a.issue=d;aIb(a.issue,a);K7c(a);H7c(a);bIb(a,a.issue);a.comment.value=a.issue.comment||"";a.issue.comment&&
a.issue.formattingMode&&(a.comment.formattingMode=a.issue.formattingMode);V3c(a.urlTemplate,a.issue,a.customFieldMap);aIb(a.issue,a);a.originalIssueCopy=zi(a.issue);a.loadHotlists(a.issue.hotlistId).then(function(){a.updateSelectedHotlists();a.originalIssueCopy.hotlistId=zi(a.issue.hotlistId);W6(a)});M7c(a);a.collaboratorGroupsText=[];a.separateCollaboratorGroups();return a.selectedComponent?null:c.snapshot.componentId};a.selectedTemplate.type==="predefined"&&a.selectedComponent?a.componentTemplateApi.get(a.selectedTemplate.componentId,
a.selectedTemplate.id).then(gIb(a.selectedComponent)).then(b).then(function(){W6(a)}).catch(function(c){a.butterBar.showWarning(c.message)}):a.selectedTemplate.type==="issue"&&(hac(a.issueTemplate,String(a.selectedTemplate.id)).then(function(c){var d;if(vq(a.activeSession)&&((d=a.activeSession.getTracker())==null?void 0:d.trackerId)!==c.trackerId)throw Error("eg");return b(c)}).then(function(c){c&&(w7c(a,c),W6(a))}).catch(function(c){a.butterBar.showWarning(c.message)}),Je(a.issueFullFridge.watch(String(a.selectedTemplate.id))).then(function(c){var d;
(d=a.parentIssueIds)!=null&&d.length||(a.parentIssueIds=c==null?void 0:c.parentIssueIds)}));a.selectedTemplate.id!==a.preferredTemplateId&&a.analytics.trackEvent("createIssue","changeTemplate");E7c(a)}};V6.prototype.isValid=function(){return!(NGb(this).length!==0||OGb(this).length!==0)&&!!(this.isBlockedByIssueIdValid&&this.isBlockingIssueIdValid&&this.isParentIssueIdsValid&&this.isCollaboratorsValid)&&!UGb(this.comment)&&!0};
var NGb=function(a){var b=a.issue;a=a.canEditIssuesInComponent?["componentId","priority","type","title"]:["componentId","title"];a=a.filter(function(c){return!b[c]});return a.map(function(c){return c==="componentId"?"component":c})},OGb=function(a){return(a.issue.customField||[]).filter(function(b){return a.isCustomFieldRequired(b)&&Cn(b)}).map(function(b){return'custom field "'+a.getCustomFieldName(b)+'"'})},O7c=function(a){return a.collaboratorsText.length!==0&&a.canEditIssuesInComponent?Gfc(a.jspbPrincipalTypes,
a.collaboratorsText,!1).then(function(b){a.invalidCollaboratorsInput=Object.entries(b).filter(function(c){c=k(c);c.next();c=c.next().value;return(c==null?void 0:c.principalType)!=="USER"}).map(function(c){return k(c).next().value});return a.invalidCollaboratorsInput.length===0}).catch(function(b){a.butterBar.showWarning(b.message);return!1}):Promise.resolve(!0)},yHb=function(a,b){return b.split(a.ISSUE_ID_LIST_DELIMITER).map(function(c){return c.trim()}).map(function(c){return c.startsWith("b/")?
c.slice(2):c}).filter(Boolean)},lHb=function(a){return a.split(",").map(function(b){return b.trim()}).filter(Boolean)},Qu=function(a){return a?a.join(", "):""},M7c=function(a){if(tea(a.customFieldMap,function(c){return c.required||!1})||a.hasAdvancedFieldsInUrlTemplate){var b;(b=a.advancedFieldsZippy)==null||b.open()}};g=V6.prototype;g.getCustomFieldType=function(a){var b,c;return(c=(b=this.customFieldMap[a.customFieldId])==null?void 0:b.type)!=null?c:""};
g.getCustomFieldName=function(a){return(a=this.customFieldMap[a.customFieldId])?a.name:""};g.getCustomFieldAllowedValues=function(a){return(a=this.customFieldMap[a.customFieldId])&&a.allowedValue?a.allowedValue:null};g.getCustomFieldValue=function(a){return Bn(a)};g.getDateValue=function(a){return a};
g.setCustomFieldValue=function(a,b){var c=this.getCustomFieldType(a),d=this.issue.customField.map(function(e){if(e.customFieldId===a.customFieldId)switch(c){case "TEXT":e.textValue=b;break;case "DATE":e.dateValue=b;break;case "ENUM":e.enumValue=b;break;case "NUMERIC":e.numericValue=b;break;case "REPEATED_TEXT":e.repeatedTextValue={values:b};break;case "REPEATED_DATE":e.repeatedDateValue={values:b};break;case "REPEATED_ENUM":e.repeatedEnumValue={values:b};break;case "REPEATED_NUMERIC":e.repeatedNumericValue=
{values:b}}return e});this.analytics.trackEvent("createIssue","changeCustomField",c);this.issue=Object.assign({},this.issue,{customField:d})};g.isCustomFieldRequired=function(a){return this.customFieldMap[a.customFieldId]?this.canEditIssuesInComponent&&!!this.customFieldMap[a.customFieldId].required:!1};g.getListFieldValues=function(a){var b,c;return(c=(b=Bn(a))==null?void 0:b.values)!=null?c:null};
g.saveCommentDraft=function(){this.descriptionBannedWordsChecker.reset();var a=this.comment.value;a===this.templateComment&&(a="");this.draftStore.$window.sessionStorage.setItem(Wp("0"),a);this.issue=Object.assign({},this.issue,{comment:a})};
g.handleHotlistPickerSave=function(a){var b=[];a=k(Object.entries(a.newSelectionMap));for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;(d=d.next().value)&&b.push(Number(c))}this.issue=Object.assign({},this.issue,{hotlistId:b});this.updateSelectedHotlists();this.analytics.trackEvent("createIssue","changeHotlists")};g.removeHotlist=function(a){var b;Sa((b=this.issue.hotlistId)!=null?b:null,a);this.updateSelectedHotlists()};
g.setTitle=function(a){this.titleBannedWordsChecker.reset();this.issue=Object.assign({},this.issue,{title:a})};var cHb=function(a){var b,c,d=(c=(b=a.issue.title)==null?void 0:b.trim())!=null?c:"";a.titleAfterBlur$.next(d)};V6.prototype.setPriority=function(a){this.issue=Object.assign({},this.issue,{priority:Ni(a)});var b;this.analytics.trackEvent("createIssue","changePriority",(b=this.issue.priority)!=null?b:void 0)};
V6.prototype.editStaffing=function(){var a=this,b,c,d,e;return ve(function(f){if(f.nextAddress==1)return xe(f,a.staffingDialogService.show((c=(b=a.issue.plannedAllocations)==null?void 0:b.plannedAllocations)!=null?c:[],void 0,a.canEditIssuesInComponent),2);d=f.yieldResult;if(!d)return f.return();e={plannedAllocations:d};a.issue=Object.assign({},a.issue,{plannedAllocations:e});Ce(f)})};
V6.prototype.setIssueType=function(a){this.issue=Object.assign({},this.issue,{type:rra(a)});var b;this.analytics.trackEvent("createIssue","changeType",(b=this.issue.type)!=null?b:void 0)};V6.prototype.updateSelectedHotlists=function(){var a=this;this.selectedHotlistIds=[this.issue.hotlistId];this.selectedHotlists=this.hotlists.filter(function(b){return a.issue.hotlistId.includes(b.hotlistId)});Kba(this.selectedHotlists,function(b,c){return Gu(b.name,c.name)})};
var P7c=function(a,b){var c,d,e,f,h,l,q,v,y,E,H;return ve(function(O){switch(O.nextAddress){case 1:c=String(b.issueId);d=a.parentIssueIds;if(!d){O.jumpTo(2);break}e=[];return d.length===1?xe(O,a.issueRelationshipsFridge.assignParentToIssues(d[0],[{issueId:c,afterIssueId:a.afterIssueId}]),6):xe(O,Uec(a.issueRelationshipsFridge,c,d),5);case 5:h=O.yieldResult;e=h.notAdded;f=h.errors;O.jumpTo(4);break;case 6:l=O.yieldResult,e=l.notAdded,f=l.errors;case 4:e.length&&a.butterBar.showWarning("Unable to add "+
e+" as parent(s). "+f);case 2:q=a.childrenIssueIds;if((v=q)==null||!v.length){O.jumpTo(7);break}return xe(O,a.issueRelationshipsFridge.assignParentToIssues(c,q.map(function(N){return{issueId:N}})),8);case 8:y=O.yieldResult,E=y.notAdded,H=y.errors,E.length&&a.butterBar.showWarning("Unable to add "+E+" as children. "+H);case 7:return O.return(b)}})},SHb=function(a,b,c){var d,e,f,h,l,q,v,y,E,H,O,N,T,da,ja,na,Ia,Pa,Na,bb,ma,Da;return ve(function(Ea){switch(Ea.nextAddress){case 1:return a.sessionIsExternal&&
z7c(a)?(Q7c(a),Ea.return()):xe(Ea,O7c(a),2);case 2:a.isCollaboratorsValid=Ea.yieldResult;d=a.issue;a.submitRequested=!0;if(!a.isValid()){if(e=document.querySelector(".bv2-view"))e.scrollTop=0;return Ea.return()}d.issueAccessLimitLevel=a.selectedAccessLimitLevel;d.issueAccessLimitLevel&&d.issueAccessLimitLevel!=="LIMIT_NONE"&&a.analytics.trackEvent("issueAccessLimits","create","create_issue:"+d.issueAccessLimitLevel);d.comment=a.comment.value;d.formattingMode=a.comment.formattingMode;f={snapshot:d,
attachments:a.comment.getAttachments()};a.enableRecaptcha&&(f.recaptchaToken=a.recaptchaResponse);a.selectedTemplate&&a.selectedTemplate.type==="predefined"&&(f.templateId=a.selectedTemplate.id);a.judgementForNewContent&&a.judgementForNewContent.severity!=="NONE_DETECTED"&&(f.contentJudgement=a.judgementForNewContent);a.canEditIssuesInComponent||(h={title:f.snapshot.title,componentId:f.snapshot.componentId,comment:f.snapshot.comment,formattingMode:f.snapshot.formattingMode,cc:!a.canViewIssuesInComponent&&
!a.componentHasExpandedAccessEnabled||a.enableCreateIssueWithTemplate?[]:[a.userEmail]},f.snapshot=h);f.snapshot=Dc(f.snapshot,function(zb){return typeof zb!=="string"||!iu(zb)});f.snapshot.customField&&(f.snapshot.customField=f.snapshot.customField.filter(function(zb){return!Cn(zb)}));bIb(a,f.snapshot);if(a.trackerId$.value&&f.snapshot.type==="VULNERABILITY"&&(l=uKa(a.activeSession.getEnvironmentType(),a.trackerId$.value),l!==void 0)){f.snapshot.collaboratorsUsers||(f.snapshot.collaboratorsUsers=
[]);q=k(l);for(v=q.next();!v.done;v=q.next())y=v.value,f.snapshot.collaboratorsUsers.push(y);f.snapshot.issueAccessLimitLevel="LIMIT_VIEW"}a.collaboratorGroupsText.length>0&&(f.snapshot.collaboratorsUsers=yra(a.collaboratorGroupsText).concat(f.snapshot.collaboratorsUsers||[]));f.snapshot.assigneeUser&&(f.snapshot.status="ASSIGNED");E=function(){a.isSaving=!0;a.newIssueStarted=!1;du(a.butterBar,"Creating...",0);a.issueApi.createIssue(f).then(function(zb){return P7c(a,zb)}).then(function(zb){a.draftStore.$window.sessionStorage.removeItem(Wp("0"));
a.originalIssueCopy=zi(a.issue);a.analytics.trackEvent("createIssue","create",a.comment.formattingMode==="MARKDOWN"?"markdown":"non markdown");R7c(a);a.collaboratorGroupsText.length>0&&a.analytics.trackEvent("quickAddCollaborators","create","create_issue:"+zb.issueId);var qb,dc;((qb=a.selectedTemplate)==null?0:qb.inheritable)&&a.selectedTemplate.componentId!==((dc=a.selectedComponent)==null?void 0:dc.componentId)&&a.analytics.trackEvent("templateInheritance","create","issue:"+zb.issueId);if(c){var fc;
a.analytics.trackEvent("createIssue","fileAndRedirect","component",(fc=d.componentId)!=null?fc:void 0);a.butterBar.dismiss();a.isNavigatingAway=!0;a.isSaving=!1;$C(a.userAccess,"reader","issues/"+zb.issueId).then(function(Zb){Zb?W3c(a.redirectUrl,wq(zb.issueId),String(zb.issueId)):(du(a.butterBar,"New issue created: "+zb.issueId+" (view access not granted)",0),W3c(a.redirectUrl,a.paths.listIssues()));W6(a)}).catch(function(Zb){a.errorHandler.errorHandler(null,Zb);a.isNavigatingAway=!1})}else{var qc;
a.analytics.trackEvent("createIssue","fileAndNew","component",(qc=d.componentId)!=null?qc:void 0);qb={};eac(a.butterBar,ui(["New issue created: ",vi("a",(qb.href=wq(zb.issueId),qb),String(zb.issueId))]),0);d.title=a.templateTitle;a.comment=new NL(a.templateComment);(d.comment=a.templateComment)&&a.templateCommentFormattingMode&&(a.comment.formattingMode=a.templateCommentFormattingMode,d.formattingMode=a.templateCommentFormattingMode);a.isSaving=!1;a.submitRequested=!1;a.newIssueStarted=!0;a.originalIssueCopy=
zi(a.issue)}W6(a)}).catch(function(zb){zb.status===403&&Jn(zb)?kE(a.errorHandler,Kn(zb)):a.errorHandler.errorHandler(null,zb);a.isSaving=!1;a.submitRequested=!1;a.newIssueStarted=!1}).finally(function(){a.titleBannedWordsChecker.reset();a.descriptionBannedWordsChecker.reset()})};return xe(Ea,a.dismissalService.isDismissed(rRa("create-issue"))||a.canEditIssuesInComponent||a.frontendIsInternalOrPartner||!a.selectedComponent||!a.selectedComponent.accessLimit||a.selectedComponent.accessLimit.accessLevel===
"INTERNAL"?Promise.resolve(!0):Je(eL(a.matDialogService.open(FO,{width:"500px",data:{action:"create-issue",content:"Submitting this bug report means your email address will be shared with the team that works on this product."}}))),3);case 3:return(H=Ea.yieldResult)?xe(Ea,S7c(a),4):Ea.return();case 4:return(O=Ea.yieldResult)?xe(Ea,X_c(a.confirmIssueAccessLimitSettingsService,{assigneeUser:(N=f.snapshot.assigneeUser)==null?void 0:N.emailAddress,verifierUser:(T=f.snapshot.verifierUser)==null?void 0:
T.emailAddress,ccUsers:(da=f.snapshot.ccUsers)==null?void 0:da.map(function(zb){return zb.emailAddress}).filter(kj),collaboratorsUsers:(ja=f.snapshot.collaboratorsUsers)==null?void 0:ja.map(function(zb){return zb==null?void 0:zb.emailAddress}).filter(kj),issueAccessLimitLevel:f.snapshot.issueAccessLimitLevel,currentUserEmail:a.activeSession.getUserEmail(),canEditIssuesInComponent:a.canEditIssuesInComponent,confirmationDialogText:t7c}),5):Ea.return();case 5:return(na=Ea.yieldResult)?xe(Ea,a.titleBannedWordsChecker.check((Ia=
a.issue.title)!=null?Ia:"",T7c(a),f.snapshot.componentId),6):Ea.return();case 6:return Pa=Ea.yieldResult,xe(Ea,a.descriptionBannedWordsChecker.check((Na=a.issue.comment)!=null?Na:"",T7c(a),f.snapshot.componentId),7);case 7:bb=Ea.yieldResult;if(!Pa||!bb)return(ma=b)==null||ma.preventDefault(),(Da=b)==null||Da.stopPropagation(),Ea.return();E();Ce(Ea)}})},Q7c=function(a){a.isSaving=!0;du(a.butterBar,"Creating...",0);setTimeout(function(){du(a.butterBar,"New issue cr\u00e6ted");a.isSaving=!1;W3c(a.redirectUrl,
a.paths.listIssues())},500)},T7c=function(a){return!!a.selectedComponent&&!!a.selectedComponent.accessLimit&&a.selectedComponent.accessLimit.accessLevel==="EXTERNAL_PUBLIC"},S7c=function(a){var b=Ak();!a.canEditIssuesInComponent||a.issue.type!=="VULNERABILITY"&&a.issue.type!=="PRIVACY_ISSUE"?b.resolve(!0):Sqc(a.issueTypeDialog,a.issue.type,function(){b.resolve(!0)},function(){b.resolve(!1)});return b.promise},x7c=function(a,b){a.isLoadingComponent=!0;a.componentActions.search(b).then(function(c){c.length===
1?(A7c(a,c[0]),W6(a),a.newIssueStarted=!0):a.selectedComponent=c[0]}).catch(function(){a.butterBar.showWarning("Unable to load components from the provided query.")}).finally(function(){a.isLoadingComponent=!1})},w7c=function(a,b){a.isLoadingComponent=!0;a.componentActions.getUncached(b).then(function(c){var d;if(vq(a.activeSession)&&((d=a.activeSession.getTracker())==null?void 0:d.trackerId)!==c.trackerId)throw Error("fg");A7c(a,c);W6(a)}).catch(function(){a.butterBar.showWarning("Component ID "+
b+" does not exist or you do not have access.")}).finally(function(){a.isLoadingComponent=!1})};V6.prototype.hasUnsavedChanges=function(){var a=eIb(this.issue),b=eIb(this.originalIssueCopy);return!yi(a,b)||this.comment.value!==this.originalIssueCopy.comment};
var L7c=function(a,b){eL(a.matDialogService.open(a.descriptionConfirmDialog,{data:b})).pipe(Gf()).subscribe(function(c){c?(a.comment.value=a.templateComment,a.issue.comment=a.templateComment,(a.originalIssueCopy.comment=a.templateComment)&&a.templateCommentFormattingMode&&(a.comment.formattingMode=a.templateCommentFormattingMode,a.issue.formattingMode=a.templateCommentFormattingMode,a.originalIssueCopy.formattingMode=a.templateCommentFormattingMode)):(a.originalIssueCopy.comment=a.templateComment,
a.templateComment="")})},E7c=function(a){a.selectedComponent&&a.bLocation.search("component",a.selectedComponent.componentId);a.selectedTemplate&&(a.selectedTemplate.type==="predefined"?(a.bLocation.search("template",a.selectedTemplate.id),a.bLocation.search("template_issue",null)):a.selectedTemplate.type==="issue"&&(a.bLocation.search("template_issue",a.selectedTemplate.id),a.bLocation.search("template",null)))},JGb=function(a){return a.sessionIsExternal?!1:XWa(a.selectedComponent)},KGb=function(a){return uC(a.activeSession)?
!1:dr(a.selectedComponent)},D7c=function(a){if(a.selectedComponent&&a.selectedComponent.componentPathInfo&&a.selectedComponent.componentPathInfo.allCustomField){for(var b=a.selectedComponent.componentPathInfo.allCustomField,c={},d=k(b),e=d.next();!e.done;e=d.next())e=e.value,c[e.customFieldId]=e;a.customFieldMap=c;a.customFieldAllowedValuesMap=fIb(b);U7c(a)}},U7c=function(a){if(a.issue.customField){a.issue.customField=a.issue.customField.filter(function(e){return a.customFieldMap[e.customFieldId]&&
a.customFieldMap[e.customFieldId].enabledOnIssues});for(var b=a.issue.customField.map(function(e){return e.customFieldId}),c=k(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next())d=d.value,!b.includes(d.customFieldId)&&d.enabledOnIssues&&a.issue.customField.push(d.typedDefaultValue||{customFieldId:d.customFieldId});a.originalIssueCopy.customField=a.issue.customField}},K7c=function(a){if(a.canViewIssuesInComponent||a.componentHasExpandedAccessEnabled)a.ccsText!==void 0?a.ccsText.includes(a.userEmail)||
(a.ccsText=[a.userEmail].concat(w(a.ccsText))):a.ccsText=[a.userEmail]};g=V6.prototype;g.fetchUserHotlists=function(){var a=this;Je(sF(this.currentUserBookmarksFridge)).then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);W6(a)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};g.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&Sa(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};
g.createHotlist=function(a){var b=this;this.analytics.trackEvent("baseIssue","createHotlist");du(this.butterBar,"Creating hotlist "+a.name+"...",0);this.hotlistApi.createHotlist(a.name).then(function(c){du(b.butterBar,"Hotlist "+a.name+" created successfully.");b.addHotlist(c);b.appEvents.hotlistCreated.next();a.successCallback(c);W6(b)}).catch(a.errorCallback)};
g.loadHotlist=function(a){var b=this,c=a.hotlistId;return this.hotlistMap[c]?Promise.resolve(this.hotlistMap[c]):this.hotlistApi.get(c).then(function(d){b.addHotlist(d);a.successCallback(d);W6(b);return d},function(){var d=b.hotlistMap[c];Fc(b.hotlistMap,c);Sa(b.hotlists,d);a.errorCallback()})};g.loadHotlists=function(a){var b=this;a=a.map(function(c){return b.loadHotlist({hotlistId:c,successCallback:function(){},errorCallback:function(){}})});return Promise.all(a).then(function(){W6(b)})};
var v7c=function(a){var b;switch(((b=a.format)==null?void 0:b.toLowerCase())||""){case "plain":return"PLAIN";case "markdown":return"MARKDOWN"}},u7c=function(a){var b;return oj((b=zH(a.userPreferencesManager).textDisplayPreferences)==null?void 0:b.lastPublishMode)||"PLAIN"};
V6.prototype.showNewContentJudgementDialog=function(){var a=this,b,c,d=(c=(b=this.judgementForNewContent)==null?void 0:b.severity)!=null?c:"NONE_DETECTED";this.showContentJudgementDialog({severity:d,contentJudgement:void 0,hasAclToCreate:!0}).pipe(Of(this.destroyed$)).subscribe(function(e){e&&(a.judgementForNewContent=e.contentJudgement)})};V6.prototype.showContentJudgementDialog=function(a){return eL(this.matDialogService.open(qS,{panelClass:"no-jitter",width:"500px",data:a}))};
var R7c=function(a){var b=(new Date).getTime()-a.startTime.getTime();if(b>0){var c=Math.min(b,108E5);pec("createIssue",c,"new-ui");a.analytics.trackEvent("createIssue","createIssue","time-to-create-new-ui",c);lG(a.clearcut,b,"createIssue-fromNewIssuePage")}a.startTime=new Date};
ea.Object.defineProperties(V6.prototype,{selectedTemplate:{configurable:!0,enumerable:!0,get:function(){return this.selectedTemplateInternal},set:function(a){var b=this;if(this.selectedTemplateInternal!==a){this.selectedTemplateInternal=a;var c;(c=this.selectedComponentProcessedPromise)==null||c.then(function(){N7c(b)})}}}});V6.\u0275fac=function(a){return new (a||V6)};
V6.\u0275cmp=t({type:V6,selectors:[["b-create-issue-page"]],viewQuery:function(a,b){a&1&&(Mg(j1,5),Mg(dU,5),Mg(p7c,5),Mg(R6,5));if(a&2){var c;Qg(c=Rg())&&(b.hotlistPicker=c.first);Qg(c=Rg())&&(b.commentBox=c.first);Qg(c=Rg())&&(b.descriptionConfirmDialog=c.first);Qg(c=Rg())&&(b.advancedFieldsZippy=c.first)}},features:[Yg([sG,{provide:r7c,useClass:hT},{provide:s7c,useClass:hT}]),cg],decls:31,vars:14,consts:[["descriptionConfirmDialog",""],["collaboratorGroupField",""],["templateMenu","matMenu"],["priorityMenu",
"matMenu"],["typeMenu","matMenu"],["severityMenu","matMenu"],[1,"a11y-only"],[1,"kd-appbar","bv2-create-issue-scroll-header"],[1,"kd-buttonbar","ltr"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[3,"selectedHotlistIds","choices"],["mat-button","",1,"medium","primary","valign-middle-mat-button-wrapper",3,"routerLinkObj"],["cdkScrollable","",1,"bv2-view"],[1,"bv2-new-issue-main-content"],["novalidate","","name","createIssueForm",
3,"ngClass"],[1,"bv2-create-component-external-warning",3,"ngClass"],["role","alert",1,"bv2-validation-error-banner"],[1,"bv2-create-issue-hotlists"],[1,"bv2-create-issue-row"],[1,"bv2-create-field"],[1,"bv2-top-field-label"],["for","bv2-component",1,"required"],[1,"bv2-create-issue-component"],[3,"selectedComponentChange","selectedComponent","shouldFocus","isRequired"],[1,"bv2-create-field","bv2-right-button"],[1,"bv2-validation-error-banner"],[3,"onApply","onLoad","onCreate","selectedHotlistIds",
"choices"],[3,"name","size"],[3,"href"],[1,"bv2-validation-error"],[1,"bv2-hotlist-chips"],[3,"removeHotlist","hotlist"],["for","bv2-template-chooser"],["mat-button","","color","primary","id","bv2-template-chooser","aria-label","Template","type","button",3,"matMenuTriggerFor"],["iconPositionEnd","","svgIcon","arrow-dropdown",1,"icon-s"],[3,"overlapTrigger"],["mat-menu-item",""],["mat-menu-item","",3,"click"],["for","bv2-title",1,"required"],[1,"bv2-create-issue-title","flex-kids-x","align-items-center"],
["type","text","name","title","aria-label","Issue Title","id","bv2-title","name","title","required","","aria-required","true","autocomplete","off",3,"ngModelChange","blur","ngModel","bFocus"],[3,"description"],[1,"banned-words-warning","break-word"],[1,"bv2-create-field","bv2-create-issue-assignee"],[1,"bv2-create-field","bv2-create-issue-collaborators"],[1,"bv2-create-field","bv2-create-issue-cc"],[1,"bv2-create-issue-details"],["for","bv2-description"],[3,"commentChange","onChange","onSubmit","onRestrict",
"supportsPreview","comment","disabled","judgementForNewContent","componentId","placeholder","idForAriaLabel","audience","showRestrictionOptions","ngClass","warn","canEditIssuesInComponent"],["warning","",1,"banned-words-warning","break-word"],["additionalToolbarItems","",3,"change","initialValue"],[1,"bv2-create-issue-row","access-level-row"],[1,"float-clear"],[1,"bv2-create-issue-zippy"],[1,"mat-elevation-z0","bg-secondary","bordered"],[1,"create-issue-recaptcha"],[1,"bv2-issue-create-button-bar"],
["format","fill","id","bv2-issue-create-button",3,"onAction","disabled","color"],["format","fill","id","bv2-issue-create-start-button",3,"onAction","disabled","color"],["format","hairline","id","bv2-issue-discard-button",3,"onAction","disabled"],[3,"suggestionAccepted"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],["for","bv2-priority",1,"required"],["mat-button","","type","button","color",
"primary",3,"matMenuTriggerFor"],["mat-menu-item","","type","button",3,"click"],["mat-menu-item","","type","button"],["for","bv2-type",1,"required"],["mat-menu-item","","type","button",3,"title"],["mat-menu-item","","type","button",3,"click","title"],["for","bv2-assignee"],[1,"overflow-hidden"],["id","bv2-assignee","type","text","name","assignee","autocomplete","off",1,"bv2-create-issue-textfield",3,"ngModelChange","ngModel","bContactAutocomplete"],["for","bv2-collaborators"],["matTooltip","Collaborators are people directly working on this issue. When expanded access is on, this field grants issue edit permissions",
"matTooltipPosition","above","svgIcon","help-outline","tabindex","0",1,"collaborators-tooltip-icon"],["id","bv2-collaborators","type","text","name","collaborators","autocomplete","off",1,"bv2-create-issue-textfield",3,"ngModelChange","ngModel","bContactAutocomplete"],["for","bv2-cc"],["id","bv2-cc","type","text","name","cc","autocomplete","off",1,"bv2-create-issue-textfield",3,"ngModelChange","ngModel","bContactAutocomplete"],["for","bv2-access-limits","title","Set access level of this issue"],["id",
"bv2-access-limits",3,"updatedAccessLimitLevel","disabled","implicitAccessEnabled","defaultAccessLimitLevel"],["for","bv2-collaborator-groups","title","Set collaborator groups on the issue"],["svgIcon","help-outline","tabindex","0","aria-hidden","false",1,"icon-s","valign-middle","collaborator-group-help-icon",3,"matTooltip"],[4,"ngTemplateOutlet"],["role","heading","aria-level","3"],[1,"required-text"],[1,"bv2-new-issue-metadata"],["aria-label","Set severity",1,"bv2-create-adv-field"],["for","bv2-severity",
"title","Set severity, which reflects how much the issue affects the use of the product"],["mat-button","","type","button","color","primary","id","bv2-severity",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],[1,"bv2-create-adv-field"],["for","bv2-found-in","title","Set version(s) of the product affected by this issue (comma-separated list)"],["id","bv2-found-in","name","foundIn","type","text","autocomplete","off",3,"ngModelChange","ngModel"],["aria-label","Set in prod",1,"bv2-create-adv-field"],
["for","bv2-in-prod","title","Set if this issue occurs in production"],["id","bv2-in-prod","name","inProd","aria-label","Set in prod",3,"ngModelChange","ngModel"],["aria-label","Edit staffing",1,"bv2-create-adv-field","staffing-field"],["for","bv2-reporter","title","Set the reporter of this issue."],["id","bv2-reporter","name","reporter","type","text","autocomplete","off",3,"ngModelChange","ngModel","bContactAutocomplete"],["for","bv2-verifier","title","Set the verifier of this issue."],["id","bv2-verifier",
"name","verifier","type","text","autocomplete","off",3,"ngModelChange","ngModel","bContactAutocomplete"],["for","bv2-targeted-to","title","Set the version(s) of the product in which the issue should be fixed (comma-separated list)"],["id","bv2-targeted-to","name","targetedTo","type","text","autocomplete","off",3,"ngModelChange","ngModel"],["for","bv2-blocked-by","title","Set issue(s) blocking this issue (comma-separated list)"],["id","bv2-blocked-by","name","blockedByInputField","type","text","autocomplete",
"off","pattern","[\\s\\d,]*",3,"ngModelChange","ngModel"],["for","bv2-blocking","title","Set issue(s) blocked by this issue (comma-separated list)"],["id","bv2-blocking","name","blockingInputField","type","text","autocomplete","off","pattern","[\\s\\d,]*",3,"ngModelChange","ngModel"],["for","staffing-button","title","Edit staffing, which represents planned contributors on this issue."],["type","button",1,"staffing-button","b-input-style",3,"click"],[1,"staffing-text"],["name","edit","size","small"],
["for","bv2-parents","title","Set parent issue(s) of this issue (comma-separated list)"],["id","bv2-parents","name","parentsInputField","type","text","pattern","[\\s\\d,]*",3,"ngModelChange","ngModel"],["for","bv2-children","title","Set children issue(s) of this issue (comma-separated list)"],["id","bv2-children","name","childrenInputField","type","text","pattern","[\\s\\d,]*",3,"ngModelChange","ngModel"],["id","bv2-access-limits",3,"updatedAccessLimitLevel","disabled","defaultAccessLimitLevel","implicitAccessEnabled"],
[3,"id","ngClass","title"],[3,"id","value"],[3,"value","options","includeEmptyOption"],[3,"valueChange","id","value"],[3,"boundValueChange","boundValue","isRequired","bv2Id","bv2AriaLabelledby"],[3,"valueChange","value","options","includeEmptyOption"],["name","customInput","tabindex","0",3,"valuesChange","defaultLineCount","type","values","enumChoices","truncate","isRequired"],[1,"bg-off-main","rounded","bordered","padded-s-y","padded-l-x",3,"context","componentId"],[3,"onUpdate"],["mat-dialog-title",
""],[1,"bv2-create-issue-default-description"],["mat-button","",3,"mat-dialog-close"],["mat-button","","mat-dialog-close",""],["appearance","outline",1,"static-label"],["multiple","","aria-label","Collaborator groups",3,"ngModelChange","ngModel","ngModelOptions"],[3,"value"]],template:function(a,b){if(a&1){var c=x();I(0,"h2",6);Q(1,"Create issue");J();I(2,"div",7)(3,"div",8)(4,"button",9);M("click",function(){z(c);return A(b.back())});K(5,"mat-icon",10);J();I(6,"h2");Q(7,"Create Issue");J();D(8,GGb,
1,2,"b-hotlist-picker",11)(9,HGb,2,1,"a",12);J()();I(10,"div",13)(11,"div")(12,"div",14)(13,"form",15);D(14,MGb,6,8,"div",16)(15,VGb,4,3,"div",17)(16,XGb,3,0,"div",18);I(17,"div",19)(18,"div",20)(19,"div",21)(20,"label",22);Q(21,"Component");J()();I(22,"div",23)(23,"b-team-component-picker",24);M("selectedComponentChange",function(e){z(c);return A(A7c(b,e!==null&&e!==void 0?e:null))});J()()();D(24,$Gb,12,4,"div",25);J();D(25,aHb,3,0,"div",26)(26,WHb,42,40,"div");J()()()();D(27,XHb,11,2,"ng-template",
null,0,fh)(29,$Hb,6,4,"ng-template",null,1,fh)}if(a&2){var d;C(8);G(b.canEditIssuesInComponent?8:-1);C();G((d=b.issue.componentId)?9:-1,d);C(4);F("ngClass",bh(12,q7c,b.submitRequested));C();G(JGb(b)||KGb(b)?14:-1);C();G(b.submitRequested&&!b.isValid()?15:-1);C();G(b.selectedHotlists.length>0?16:-1);C(7);F("selectedComponent",b.selectedComponent)("shouldFocus",!b.componentRequestedInUrl&&!b.templateIssueRequestedInUrl)("isRequired",!0);C();G(b.availablePredefinedTemplates.length>0||b.availableExistingIssueTemplate!=
null?24:-1);C();G(b.isLoadingComponent||b.componentRequestedInUrl==null&&b.selectedComponent==null||b.canCreateNewIssuesInComponent||b.createAclLoading||!b.selectedComponent?-1:25);C();G(b.canCreateNewIssuesInComponent||b.createAclLoading||!b.selectedComponent?26:-1)}},dependencies:[IH,dU,kR,YJ,m0,e2,MN,$z,Sz,W1,Cz,ki,tz,uz,Mz,Oz,Bz,zz,qT,j1,yM,x1,$N,vD,Wy,Vy,Xy,eQ,Vx,mQ,nQ,My,lL,nL,pL,oL,R6,S6,T6,vI,yI,wI,zI,NH,OH,FH,HH,O6,sO,Ew,Hw,$D,OE,aT,sT,J6,M6,N6,aM,sR,Iw],styles:[".bv2-create-issue-row[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500;--mat-text-button-icon-spacing:4px}mat-icon.collaborator-group-help-icon[_ngcontent-%COMP%]{padding-left:3px}[_nghost-%COMP%]     mat-form-field.static-label{width:180px;margin-top:5px;font-size:1rem}[_nghost-%COMP%]     mat-form-field.static-label .mat-mdc-form-field-flex{height:24px}[_nghost-%COMP%]     mat-form-field.static-label .mat-mdc-form-field-infix{padding:0}.bv2-create-issue-row.access-level-row[_ngcontent-%COMP%]{display:block;width:-webkit-max-content;width:-moz-max-content;width:max-content}.feedback-button[_ngcontent-%COMP%]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;margin-left:auto}.feedback-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:4px}.feedback-button[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.bv2-top-field-label[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.create-issue-recaptcha[_ngcontent-%COMP%]{float:right;margin:0 15px 15px 0}.mat-mdc-menu-item[_ngcontent-%COMP%]:active, .mat-mdc-menu-item[_ngcontent-%COMP%]:focus, .mat-mdc-menu-item[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.16);background-color:var(--active-bg)}[_nghost-%COMP%]   .collaborators-tooltip-icon[_ngcontent-%COMP%]{height:18px}[_nghost-%COMP%]     .collaborators-tooltip-icon svg{height:90%;margin-top:1px}[_nghost-%COMP%]   input.invalid[_ngcontent-%COMP%]{border-color:var(--bad-high-contrast)!important;border-width:2px!important}[_nghost-%COMP%]     .bv2-issue-create-button-bar b-button .gmat-mdc-button.mat-mdc-unelevated-button.mat-warn{background-color:#c5221f;background-color:var(--bad-gfx)}.banned-words-warning[_ngcontent-%COMP%]{color:#c5221f;color:var(--bad-text)}.staffing-field[_ngcontent-%COMP%]{width:90%}.staffing-field[_ngcontent-%COMP%]   .staffing-text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staffing-field[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:100%}\n/*# sourceMappingURL=create_issue_page.css.map */"]});
var cIb={hotlistId:[],comment:"",severity:"S2",inProd:!1,customField:[]},I7c=function(a,b,c,d,e,f){this.id=a;this.type=b;this.name=c;this.isDefault=d;this.componentId=e;this.inheritable=f};var V7c=["form"],X6=function(){this.bLocation=r(WI);this.sloApi=r(eH);this.errorHandler=r(jE);this.analytics=r(wG);this.butterBar=r(hE);this.appHistory=r(Y3);this.isSaving=this.elementPickerIsValid=!1;this.createSloForm=null;this.error="";this.sloUnderEdit={sloId:"0",parentId:"0",name:"",description:"",elements:[],effectiveElements:[],alertState:"OFF",isArchived:!1}};g=X6.prototype;g.ngAfterViewInit=function(){};
g.save=function(){var a=this;if(!this.validate())return Promise.reject(Error("gg"));du(this.butterBar,"Saving SLO...",0);this.isSaving=!0;return this.sloApi.create(this.sloUnderEdit).then(function(b){du(a.butterBar,"SLO "+b.name+" saved.",2E3);a.analytics.trackEvent("SLO","create");a.bLocation.replaceUrl(tq.editSlo.makeHref(b.sloId))}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isSaving=!1})};g.back=function(){Z3(this.appHistory)};
g.revertChanges=function(){this.sloUnderEdit.name="";this.sloUnderEdit.description="";this.sloUnderEdit.elements=[]};g.updateCollection=function(a){this.sloUnderEdit.elements=a};g.validate=function(){if(this.createSloForm.invalid||!this.elementPickerIsValid)return this.error="Error: You must fill out all required fields and ensure the rules are valid.",!1;this.error="";return!0};X6.\u0275fac=function(a){return new (a||X6)};
X6.\u0275cmp=t({type:X6,selectors:[["create-slo-page"]],viewQuery:function(a,b){a&1&&Mg(V7c,5);if(a&2){var c;Qg(c=Rg())&&(b.createSloForm=c.first)}},decls:30,vars:17,consts:[["form","ngForm"],[1,"kd-appbar"],[1,"kd-buttonbar"],["format","icon","size","large","tooltip","Go back","bAriaLabel","Go back",3,"onAction"],["name","arrow-backward","size","large"],[1,"bv2-view"],[1,"edit-resource-header"],[1,"vertical-centered"],[1,"edit-resource-panel"],["name","createSloForm"],[3,"error"],[1,"edit-field"],
["for","slo-name",1,"required"],["type","text","id","slo-name","name","name",3,"ngModelChange","required","bFocus","ngModel","disabled"],["for","slo-description"],["id","slo-description","name","description",3,"ngModelChange","ngModel","disabled"],[3,"onCollectionUpdate","onValidation","isDisabled","collection"],[1,"advanced-settings-info"],[1,"edit-button-row"],["format","fill",3,"onAction","disabled"],["format","hairline",3,"onAction","disabled"]],template:function(a,b){if(a&1){var c=x();I(0,"div",
1)(1,"div",2)(2,"b-button",3);M("onAction",function(){z(c);return A(b.back())});K(3,"b-icon",4);J()()();I(4,"div",5)(5,"h2",6)(6,"span",7);Q(7,"Create a new SLO");J()();I(8,"div",8)(9,"form",9,0);K(11,"b-error-banner",10);I(12,"div",11)(13,"label",12);Q(14,"Name");J();I(15,"input",13);M("ngModelChange",function(d){z(c);return A(b.sloUnderEdit.name=d)});J()();I(16,"div",11)(17,"label",14);Q(18,"Description");J();I(19,"textarea",15);M("ngModelChange",function(d){z(c);return A(b.sloUnderEdit.description=
d)});Q(20,"        ");J()();I(21,"div",11)(22,"slo-elements-picker",16);M("onCollectionUpdate",function(d){z(c);return A(b.updateCollection(d))})("onValidation",function(d){z(c);return A(b.elementPickerIsValid=d)});J()();I(23,"p",17);Q(24," Access controls may be defined once the slo is created. ");J();I(25,"div",18)(26,"b-button",19);M("onAction",function(){z(c);return A(b.save())});Q(27," Save ");J();I(28,"b-button",20);M("onAction",function(){z(c);return A(b.revertChanges())});Q(29," Revert changes ");
J()()()()()}a&2&&(C(9),ng("show-errors",b.error),C(2),F("error",b.error),C(),ng("bv2-edit-resource-readonly",b.isSaving),C(3),F("required",!0)("bFocus",!0)("ngModel",b.sloUnderEdit.name)("disabled",b.isSaving),C(),ng("bv2-edit-resource-readonly",b.isSaving),C(3),F("ngModel",b.sloUnderEdit.description)("disabled",b.isSaving),C(3),F("isDisabled",!1)("collection",b.sloUnderEdit.elements),C(4),F("disabled",b.isSaving||(b.createSloForm==null?null:b.createSloForm.pending)||(b.createSloForm==null?null:b.createSloForm.invalid)||
!b.elementPickerIsValid),C(2),F("disabled",!(b.sloUnderEdit.name!==""||b.sloUnderEdit.description!==""||b.sloUnderEdit.elements.length>0)))},dependencies:[IH,F2,W1,Cz,ki,tz,uz,Mz,Bz,zz,yM,N3],encapsulation:2});var Y6=function(){this.nextPanelId=1};Y6.\u0275fac=function(a){return new (a||Y6)};Y6.\u0275prov=n({token:Y6,factory:Y6.\u0275fac,providedIn:"root"});var Z6=function(){Z.apply(this,arguments);this.cdr=r(sG);this.paths=r(zO);this.bLocation=r(WI);this.$log=r(iE);this.analytics=r(wG);this.issueApi=r(uD);this.userApi=r(lF);this.bookmarkGroupsApi=r(dC);this.hotlistApi=r(hF);this.butterBar=r(hE);this.pageTitle=r(k_);this.dashboards=r(Y6);this.routeParams=r(PL);this.appSearchState=r(KY);this.userAccess=r(YC);this.errorHandler=r(jE);this.statusMessages=r(xL);this.appEvents=r(nE);this.hotlistFridge=r(mF);this.activeSession=r(dv);this.issueFullFridge=r(yG);
this.currentUserBookmarksFridge=r(rF);this.ANALYTICS_CATEGORY="dashboard";this.userEmail=this.activeSession.getUserEmail();this.groupId=this.routeParams.groupId||null;this.panels=[];this.hotlistChoices=[];this.hotlistMap={};this.isStarred=!1;this.bookmarkGroup=null;this.isAdmin=!1};Y(Z6,Z);Z6.\u0275dir=Z.\u0275dir;
Z6.prototype.ngOnInit=function(){var a=this;this.userApi.getUserBookmark("BOOKMARK_GROUP",this.routeParams.groupId).then(function(){a.isStarred=!0;a.cdr.detectChanges()}).catch(function(){});this.loadBookmarkGroup().then(function(b){W7c(a,b);a.bookmarkGroup=b;a.cdr.detectChanges()}).catch(function(b){a.$log.warn("error loading bookmark group: ",b)});this.fetchUserHotlists();this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(){a.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.dashboardPanels.moveDown.subscribe(function(b){X7c(a,
b,function(c){return c+1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveUp.subscribe(function(b){X7c(a,b,function(c){return c-1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToTop.subscribe(function(b){X7c(a,b,function(){return 0})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToBottom.subscribe(function(b){X7c(a,b,function(){return a.panels.length-1})}));this.subscriptions.add(this.appEvents.dashboardPanels.remove.subscribe(function(b){a.removePanel(b)}));
this.appSearchState.clear()};var lIb=function(a,b){var c=b.panelId;b=b.selectedIssues;if(a=Y7c(a,c))a.selectedIssues=b!=null?b:[]},kIb=function(a,b,c){b.focusedRowIndex=c;if(c!=null)for(a=k(a.panels),c=a.next();!c.done;c=a.next())c=c.value,c!==b&&(c.focusedRowIndex=null)},Y7c=function(a,b){return a.panels.find(function(c){return c.panelId===b})},Z7c=function(a,b){a=a.panels.findIndex(function(c){return c.panelId===b});return a!==-1?a:void 0};g=Z6.prototype;
g.fetchUserHotlists=function(){var a=this;Je(sF(this.currentUserBookmarksFridge)).then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;a.hotlistFridge.announce(c);var d=a.hotlistMap[c.hotlistId];yi(d,c)||(d&&Sa(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.createHotlist=function(a){var b=this;var c=a.name;var d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"createHotlist");du(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);du(b.butterBar,"Hotlist "+c+" created successfully.");b.hotlistChoices.push(e);b.hotlistMap[e.hotlistId]=e;b.appEvents.hotlistCreated.next();d(e);b.cdr.detectChanges()}).catch(a)};
g.loadHotlist=function(a){var b=this;var c=a.hotlistId;var d=a.successCallback;a=a.errorCallback;du(this.butterBar,"Loading hotlist "+c);this.hotlistMap[c]||this.hotlistApi.get(c).then(function(e){b.addHotlist(e);d(e);b.cdr.detectChanges()}).catch(a)};g.addHotlist=function(a){this.hotlistMap[a.hotlistId]||(this.hotlistMap[a.hotlistId]=a,this.hotlistChoices.push(a))};
g.loadHotlists=function(a){var b=this,c=new Set;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=k(d.value.hotlistId||[]);for(var e=d.next();!e.done;e=d.next())e=e.value,this.hotlistMap[e]||c.has(e)||c.add(e)}c=k(c);for(a=c.next();!a.done;a=c.next())this.hotlistApi.get(a.value).then(function(f){b.hotlistFridge.announce(f);b.addHotlist(f);b.cdr.detectChanges()}).catch(function(f){(new Set([403,404])).has(f.status)||b.errorHandler.errorHandler(null,f)})};
g.sendBulkEditRequest=function(a,b){var c=this;if(a.length===1&&a[0].actions.length===1&&a[0].actions[0].fieldName==="readState"){var d=!!a[0].actions[0].value;b=k(this.panels);for(var e=b.next();!e.done;e=b.next()){e=k(e.value.selectedIssues);for(var f=e.next();!f.done;f=e.next())f.value.isRead=d}this.cdr.detectChanges();du(this.butterBar,"Marking "+a[0].issueIds.length+" issues  "+(d?"read":"unread")+"...",0);return AG(this.issueFullFridge,a[0].issueIds,{markRead:d,userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(l){du(c.butterBar,
"Issues marked "+(d?"read":"unread")+".");for(var q=k(c.panels),v=q.next();!v.done;v=q.next()){v=k(v.value.selectedIssues);for(var y=v.next();!y.done;y=v.next()){var E=void 0;y.value.lastViewedTime=(E=l)!=null?E:null}}}).catch(function(l){for(var q=k(c.panels),v=q.next();!v.done;v=q.next()){v=k(v.value.selectedIssues);for(var y=v.next();!y.done;y=v.next())y=y.value,y.isRead=!!y.lastViewedTime&&y.lastViewedTime>=y.majorModifiedTime}c.errorHandler.errorHandler(null,l)}).finally(function(){c.cdr.detectChanges()})}e=
dJa(a).map(function(l){return l.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};du(this.butterBar,"Saving changes...",0);return this.issueApi.issueBulkEdit(h,b).then(function(l){for(var q=k([].concat(w(c.searchPanels),w(c.hotlistPanels))),v=q.next();!v.done;v=q.next()){v=v.value;var y=l;if(v.searchResults){v.searchResults=v.searchResults.clone();for(var E=0,H=k(v.searchResults.issues),O=H.next();!O.done;O=H.next()){O=O.value;if(y.affectedIssues[O.issueId]){var N=
y.affectedIssues[O.issueId];N=Wib(N,y.componentMap[Number(La(N.snapshot).componentId)]);N.selected=O.selected;v.searchResults.issues[E]=N;v.resultsLoaded.emit([v.searchResults.issues[E]])}E++}}}l.errors&&l.errors.length?(q=Gi(l.errors,"issueId"),c.butterBar.showWarning("Failed to update issue(s) "+q.join(", ")+"."),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+l.errors.length)):(l=jrc(c.statusMessages,h))?du(c.butterBar,l):du(c.butterBar,"Saved "+eJa(a).length+" issue(s).")}).catch(function(l){c.errorHandler.errorHandler(null,
l)})};g.loadBookmarkGroup=function(){var a=this;return this.bookmarkGroupsApi.get(this.groupId).then(function(b){$C(a.userAccess,"admin","bookmarkGroups/"+b.bookmarkGroupId).then(function(c){a.isAdmin=c;a.cdr.detectChanges()});a.pageTitle.setTitle(b.name);return b},function(b){a.errorHandler.errorHandler(null,b);return Promise.reject(b)})};var W7c=function(a,b){a.panels=(b.item||[]).map(function(c,d){return $7c(a,c,d===0?0:void 0)})};
Z6.prototype.removePanel=function(a){var b=this,c=Y7c(this,a);c!=null&&(du(this.butterBar,"Saving changes...",0),a=zi(this.bookmarkGroup),a.item=a.item.filter(function(d){return!a8c(b,c,d)}),b8c(this,a))};
var X7c=function(a,b,c){b=Z7c(a,b);if(b!==void 0){var d=a.panels[b];c=c(b);if(c>=a.panels.length||c<0)a.$log.warn("Trying to move panel "+d.panelId+" to "+c);else{b=zi(a.bookmarkGroup);var e,f=(e=a.bookmarkGroup)==null?void 0:e.item.findIndex(function(h){return a8c(a,d,h)});f!==void 0&&(Nba(b.item,f,c),b8c(a,b))}}},b8c=function(a,b){a.bookmarkGroupsApi.update(b).then(function(c){a.bookmarkGroup=c;c8c(a,a.bookmarkGroup.item);du(a.butterBar,"Bookmark group saved.",4E3);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.bookmarkGroup.bookmarkGroupId});
a.cdr.detectChanges()},function(c){a.errorHandler.errorHandler(null,c)})},a8c=function(a,b,c){switch(b.type){case "HOTLIST":return c.hotlistId===b.resourceId;case "SAVED_SEARCH":return c.savedSearchId===b.resourceId;default:return a.$log.warn("Unknown type of a panel: "+b.type),!1}},d8c=function(a,b){return a.panels.find(function(c){return a8c(a,c,b)})},$7c=function(a,b,c){var d=null,e=null;switch(b.resourceType){case "HOTLIST":d="HOTLIST";e=b.hotlistId;break;case "SAVED_SEARCH":d="SAVED_SEARCH";
e=b.savedSearchId;break;default:a.$log.warn("Unsupported item: "+b)}a=a.dashboards;b=a.nextPanelId;a.nextPanelId++;return{panelId:b,resourceId:e,type:d,focusedRowIndex:c!=null?c:null,selectedIssues:[]}},c8c=function(a,b){a.panels=b.map(function(c){var d;return(d=d8c(a,c))!=null?d:$7c(a,c)})};
Z6.prototype.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=function(){a.appEvents.bookmarkGroupModified.next()};this.isStarred?this.userApi.addUserBookmark({resourceType:"BOOKMARK_GROUP",resourceId:this.groupId}).then(b).catch(function(c){a.errorHandler.errorHandler(null,c)}):this.userApi.removeUserBookmark({resourceType:"BOOKMARK_GROUP",resourceId:this.groupId}).then(b).catch(function(c){a.errorHandler.errorHandler(null,c)})};Z6.prototype.editBookmarkGroup=function(){this.bLocation.setUrl(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};
Z6.\u0275fac=function(){var a;return function(b){return(a||(a=de(Z6)))(b||Z6)}}();
Z6.\u0275cmp=t({type:Z6,selectors:[["dashboard-page"]],viewQuery:function(a,b){a&1&&(Mg(r3,5),Mg(p3,5));if(a&2){var c;Qg(c=Rg())&&(b.searchPanels=c);Qg(c=Rg())&&(b.hotlistPanels=c)}},features:[Yg([sG]),cg],decls:10,vars:4,consts:[[1,"a11y-only"],[1,"kd-dashboard-bar","kd-appbar","kd-buttonbar"],[1,"bv2-dashboard-header"],[3,"onSave","onCreateHotlist","onLoadHotlist","hotlistChoices","panels"],["role","main","tabindex","0",1,"bv2-view",3,"bFocus"],[1,"bv2-dashboard-title"],[3,"starMessage","unStarMessage",
"starred","disabled"],[3,"starMessage","unStarMessage","starred"],[1,"bv2-dashboard-title-text"],["aria-label","Bookmark group settings","matTooltip","Bookmark group settings",1,"bv2-edit-icon","bv2-view-resource-edit-button",3,"click"],[3,"starClicked","starMessage","unStarMessage","starred"],[3,"panel","isDashboardEditable","focusedRowIndex","savedSearchId","first","last"],[3,"panel","isDashboardEditable","focusedRowIndex","hotlistId","first","last"],[3,"focusedRowIndexChange","selectionChange",
"resultsLoaded","panel","isDashboardEditable","focusedRowIndex","savedSearchId","first","last"],[3,"focusedRowIndexChange","selectionChange","resultsLoaded","panel","isDashboardEditable","focusedRowIndex","hotlistId","first","last"]],template:function(a,b){a&1&&(I(0,"h2",0),Q(1,"Dashboard"),J(),I(2,"div",1)(3,"div",2),Q(4,"Bookmark groups dashboard"),J(),I(5,"b-dashboard-controls",3),M("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps,c.recaptchaToken)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",
function(c){return b.loadHotlist(c)}),J()(),I(6,"div",4),D(7,jIb,8,2,"div"),tg(8,oIb,3,1,"div",null,sg),J());a&2&&(C(5),F("hotlistChoices",b.hotlistChoices)("panels",b.panels),C(),F("bFocus",!0),C(),G(b.bookmarkGroup?7:-1),C(),ug(b.panels))},dependencies:[u1,xU,r3,p3,W1,FH,HH],encapsulation:2});var $6=function(){};$6.\u0275fac=function(a){return new (a||$6)};$6.\u0275mod=u({type:$6});$6.\u0275inj=p({imports:[v1,PZ,s3,q3,RE,X1,LH]});var e8c=["editBookmarkGroupItemsContainer"],f8c=["bookmarkGroupName"],OIb=function(a){return{"bv2-edit-resource-readonly":a}},QIb=function(a){return{displayText:"Admins",values:a}},PIb=function(a){return[a]},a7=function(){Z.call(this);var a=this;this.routeParams=r(PL);this.location=r(WI);this.activeSession=r(dv);this.butterBar=r(hE);this.accessPolicyApi=r(pC);this.bookmarkGroupsApi=r(dC);this.hotlistApi=r(hF);this.paths=r(zO);this.appHistory=r(Y3);this.pageTitle=r(k_);this.userAccess=r(YC);this.errorHandler=
r(jE);this.appEvents=r(nE);this.snackBar=r(eE);this.confirmationDialog=r(rL);this.checkBeforeExit=r(iT);this.cdr=r(sG,{self:!0});this.documentationLinks=r(cL);this.currentUserBookmarksFridge=r(rF);this.selectedTabIndex=0;this.accessPolicyUnderEdit=op();this.flattenedAccessPolicy=op();this.isAdmin=this.isArchiving=this.isUpdating=this.isLoading=!1;this.isReaderFieldValid=this.isAdminsFieldValid=!0;this.currentUserEmail=this.activeSession.getUserEmail();this.error="";this.selectedHotlistIds=[[]];this.userHotlists=
[];this.userSavedSearches=null;this.savedSearchChoices=[];var b=this.loadBookmarkGroup(this.routeParams.groupId),c=this.loadUserAccess(this.routeParams.groupId);this.loadAccessPolicy(this.routeParams.groupId);g8c(this);h8c(this);Promise.all([b,c]).then(function(){var d;(d=a.bookmarkGroupNameInput)==null||d.nativeElement.focus()});this.subscriptions.add(jT(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!1));b=function(){g8c(a)};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(b));
this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(b));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(){h8c(a)}))};Y(a7,Z);a7.\u0275dir=Z.\u0275dir;g=a7.prototype;g.ngOnInit=function(){this.location.hash()==="access"&&(this.selectedTabIndex=1)};g.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=(d=(b=this.tabs)==null?void 0:(c=b.get(a))==null?void 0:c.nativeElement.id)!=null?d:null;this.location.hash(e,!0)};g.back=function(){Z3(this.appHistory)};
g.isArchived=function(){return this.bookmarkGroup?this.bookmarkGroup.archived:!1};g.isSaving=function(){return this.isUpdating||this.isArchiving};g.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};g.hasUnsavedMetadataChanges=function(){return!yi(this.bookmarkGroup,this.bookmarkGroupUnderEdit)};g.hasUnsavedAccessPolicyChanges=function(){return!yi(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};
g.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};g.revertMetadataChanges=function(){this.bookmarkGroupUnderEdit=zi(this.bookmarkGroup);this.error="";this.selectedHotlistIds=[Gi(this.bookmarkGroup.item.filter(function(a){return a.hasOwnProperty("hotlistId")}),"hotlistId")];i8c(this)};g.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=zi(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.saveMetadata=function(){this.validate()&&this.doSaveMetadata()};
g.saveAccessPolicy=function(){var a=this;this.accessPolicyUnderEdit.admins.includes("USER:"+this.currentUserEmail)?this.doSaveAccessPolicy():this.openConfirmationDialog("Change bookmark group admins",ti("Warning: You may be removing yourself from the admins. Unless you are granted access via a group, you may lose the permission to edit the access settings"),function(){a.doSaveAccessPolicy()})};
g.validate=function(){if(this.bookmarkGroupUnderEdit.name==="")return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};g.archive=function(){var a=this;this.openConfirmationDialog("Archive bookmark group",ti("Do you want to archive this bookmark group?"),function(){j8c(a,"archive")})};g.unarchive=function(){var a=this;this.openConfirmationDialog("Unarchive bookmark group",ti("Do you want to unarchive this bookmark group?"),function(){j8c(a,"unarchive")})};
g.doSaveMetadata=function(){var a=this,b=this.bookmarkGroupUnderEdit,c=this.bookmarkGroup.bookmarkGroupId;this.snackBar.open("Saving bookmark group ID "+c,"dismiss",{duration:0});this.isUpdating=!0;this.bookmarkGroupsApi.update(b).then(function(d){a.snackBar.open("Bookmark group ID "+c+" was saved as "+a.bookmarkGroupUnderEdit.name,"dismiss",{duration:2E3});k8c(a,d);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:c})}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isUpdating=
!1})};
g.doSaveAccessPolicy=function(){var a=this;try{var b=qp(this.accessPolicyUnderEdit)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);this.butterBar.showWarning(b);return}this.isUpdating=!0;this.snackBar.open("Saving access settings...","dismiss",{duration:0});this.accessPolicyApi.update("BOOKMARK_GROUP",this.bookmarkGroup.bookmarkGroupId,b).then(function(c){a.snackBar.open("Access settings saved.","dismiss",{duration:0});a.flattenedAccessPolicy=pp(c);a.accessPolicyUnderEdit=zi(a.flattenedAccessPolicy);
a.loadUserAccess(a.bookmarkGroup.bookmarkGroupId)},function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isUpdating=!1})};
var j8c=function(a,b){var c=zi(a.bookmarkGroup);b==="archive"?(a.snackBar.open('Archiving bookmark group "'+a.bookmarkGroup.name+' ..."',"dismiss",{duration:0}),c.archived=!0):(a.snackBar.open('Unarchiving bookmark group "'+a.bookmarkGroup.name+' ..."',"dismiss",{duration:0}),c.archived=!1);a.isArchiving=!0;a.bookmarkGroupsApi.update(c).then(function(d){b==="archive"?a.snackBar.open('Archived bookmark group "'+a.bookmarkGroup.name+'"."',"dismiss",{duration:2E3}):a.snackBar.open('Unarchived bookmark group "'+
a.bookmarkGroup.name+'"."',"dismiss",{duration:2E3});a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.bookmarkGroup.bookmarkGroupId});k8c(a,d)}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isArchiving=!1})};
a7.prototype.loadBookmarkGroup=function(a){var b=this;this.isLoading=!0;return this.bookmarkGroupsApi.get(a).then(function(c){k8c(b,c);b.selectedHotlistIds=[Gi(b.bookmarkGroup.item,"hotlistId")];i8c(b);b.pageTitle.setTitle("Bookmark group: "+c.name);b.cdr.detectChanges()},function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1})};var k8c=function(a,b){a.bookmarkGroup=b;a.bookmarkGroupUnderEdit=zi(a.bookmarkGroup)};
a7.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("BOOKMARK_GROUP",a).then(function(c){b.flattenedAccessPolicy=pp(c);b.accessPolicyUnderEdit=zi(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};a7.prototype.loadUserAccess=function(a){var b=this;return $C(this.userAccess,"admin","bookmarkGroups/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
var g8c=function(a){Je(sF(a.currentUserBookmarksFridge)).then(function(b){a.userHotlists=b;a.cdr.detectChanges()})},h8c=function(a){a.userSavedSearches=null;Je(Bcc(a.currentUserBookmarksFridge)).then(function(b){a.userSavedSearches=b;i8c(a);a.cdr.detectChanges()})},i8c=function(a){if(a.userSavedSearches&&a.bookmarkGroupUnderEdit!=null){var b=l8c(a.bookmarkGroupUnderEdit.item.filter(function(c){return c.hasOwnProperty("savedSearchId")}));a.savedSearchChoices=a.userSavedSearches.filter(function(c){return b.indexOf(c.searchId)==
-1})}},sIb=function(a,b){var c=Number(b);Ta(a.bookmarkGroupUnderEdit.item,function(e){return e.hotlistId===c});m8c(a,c);var d;(d=a.editBookmarkGroupItemsContainer)==null||d.nativeElement.focus()},uIb=function(a,b){Ta(a.bookmarkGroupUnderEdit.item,function(d){return d.savedSearchId===b});i8c(a);var c;(c=a.editBookmarkGroupItemsContainer)==null||c.nativeElement.focus()},HIb=function(a,b){switch(b.resourceType){case "SAVED_SEARCH":return a.paths.viewSavedSearch(b.savedSearchId);case "HOTLIST":return tq.viewHotlist.makeHref(b.hotlistId);
case "BOOKMARK_GROUP":return a.paths.viewBookmarkGroup(b.bookmarkGroupId);default:xb(b.resourceType)}},CIb=function(a,b){for(var c=k(Object.entries(b.newSelectionMap)),d=c.next(),e={};!d.done;e={id$jscomp$669:void 0},d=c.next()){var f=k(d.value);d=f.next().value;f=f.next().value;e.id$jscomp$669=Ei(d);f&&!b.oldSelectionMap[e.id$jscomp$669]?(FIb(a,e.id$jscomp$669),e=a.userHotlists.find(function(h){return function(l){return l.hotlistId===h.id$jscomp$669}}(e)),a.bookmarkGroupUnderEdit.item.push({hotlistId:e.hotlistId,
name:e.name,resourceType:"HOTLIST"})):b.oldSelectionMap[e.id$jscomp$669]&&!f&&(m8c(a,e.id$jscomp$669),Ta(a.bookmarkGroupUnderEdit.item,function(h){return function(l){return l.hotlistId===h.id$jscomp$669}}(e)))}},FIb=function(a,b){a.selectedHotlistIds[0].push(b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},m8c=function(a,b){Sa(a.selectedHotlistIds[0],b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},yIb=function(a,b){l8c(a.bookmarkGroupUnderEdit.item).indexOf(b.searchId)===-1&&a.bookmarkGroupUnderEdit.item.push({name:b.name,
resourceType:"SAVED_SEARCH",savedSearchId:b.searchId});setTimeout(function(){i8c(a)})},l8c=function(a){return a?Gi(a,"savedSearchId"):[]},DIb=function(a,b){var c=b.name;a.snackBar.open("Creating hotlist "+c+"...","dismiss",{duration:0});a.hotlistApi.createHotlist(c).then(function(d){a.snackBar.open("Hotlist "+c+" created successfully.");a.userHotlists.push(d);b.successCallback(d);a.appEvents.hotlistChanged.next()}).catch(b.errorCallback)},EIb=function(a,b){return a.hotlistApi.get(b.hotlistId).then(function(c){a.userHotlists.push(c);
b.successCallback(c);return c},b.errorCallback)};a7.prototype.getDisplayName=function(a){if(a.name)return a.name;switch(a.resourceType){case "SAVED_SEARCH":return"(Saved Search ID "+a.savedSearchId+")";case "HOTLIST":return"(Hotlist ID "+a.hotlistId+")";case "BOOKMARK_GROUP":return"(Bookmark group ID "+a.bookmarkGroupId+")";default:xb(a.resourceType)}};a7.prototype.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};
a7.\u0275fac=function(a){return new (a||a7)};
a7.\u0275cmp=t({type:a7,selectors:[["b-edit-bookmark-group"]],viewQuery:function(a,b){a&1&&(Mg(e8c,5),Mg(f8c,5),Mg(UO,5,ge));if(a&2){var c;Qg(c=Rg())&&(b.editBookmarkGroupItemsContainer=c.first);Qg(c=Rg())&&(b.bookmarkGroupNameInput=c.first);Qg(c=Rg())&&(b.tabs=c)}},features:[Yg([sG]),cg],decls:9,vars:3,consts:[["bookmarkGroupName",""],["editBookmarkGroupItemsContainer",""],["savedSearchMenu","matMenu"],[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["mat-icon-button","","matTooltip","Go back",
"aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],["mat-button","","color","primary",3,"disabled"],[1,"bv2-view"],["mat-button","","color","primary",3,"click","disabled"],[1,"edit-resource-header"],[1,"resource-archived"],[1,"edit-resource-header-link","normal-link",3,"href"],["mat-align-tabs","start",3,"selectedIndexChange","selectedIndex"],["id","basic","label","Basic Information"],[1,"edit-resource-panel"],[3,"error"],[1,"edit-field",3,"ngClass"],["for","bookmark-group-name",
1,"required"],[1,"edit-field-header"],["type","text","id","bookmark-group-name","required","","aria-required","true",3,"ngModelChange","ngModel","disabled"],["for","bookmark-group-description"],["id","bookmark-group-description",3,"ngModelChange","ngModel","disabled"],[1,"edit-field","bv2-edit-resource-readonly"],[1,"edit-button-row"],["id","access","label","Access Control"],[1,"edit-field-note"],[3,"usersChange","isValid","users"],[3,"usersChange","isValid","users","includeAliases","includeViewAliases",
"containerChips"],[1,"edit-field"],["target","_blank",3,"href"],["for","edit-bookmark-group-items-container"],["role","region","aria-label","Selected items","id","edit-bookmark-group-items-container",1,"keep-focus-ring","edit-bookmark-group-items-container"],[1,"bv2-bookmark-item-chip"],[1,"edit-bookmark-group-edit-items-pane"],[1,"edit-bookmark-group-hotlist-picker"],["for","hotlist-picker-button"],[3,"onApply","onCreate","onLoad","selectedHotlistIds","choices","checkEditAcl"],[1,"edit-bookmark-group-hotlist-search"],
["for","hotlist-search-input-box"],[3,"itemSelect","showGroups","allowStarring"],[1,"edit-bookmark-group-saved-search-picker"],[1,"bv2-saved-search-chip","b-chip","yellow","split"],[1,"edit-bookmark-group-none-select"],[3,"removeHotlist","id"],[1,"left","interactive",3,"href","matTooltip"],["role","button","tabindex","0",1,"right","interactive",3,"click","keydown.enter","keydown.space","matTooltip"],["for","add-from-saved-searches-button"],["id","add-from-saved-searches-button","mat-button","","aria-describedby",
"select-from-saved-searches-button",1,"medium","primary",3,"matMenuTriggerFor"],["id","select-from-saved-searches-button"],"iconPositionEnd  svgIcon arrow-dropdown color primary".split(" "),["matMenuContent",""],["mat-menu-item",""],["mat-menu-item","",3,"click"],[1,"edit-bookmark-group-view-items"],[3,"href"],["mat-flat-button","","color","primary",3,"click","disabled"],["mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(I(0,"div",3)(1,"div",4)(2,"div",5)(3,"button",
6),M("click",function(){return b.back()}),K(4,"mat-icon",7),J(),D(5,pIb,2,1,"button",8)(6,qIb,2,1,"button",8),J()()(),I(7,"div",9),D(8,RIb,46,39),J());a&2&&(C(5),G(b.isAdmin&&!b.isArchived()?5:-1),C(),G(b.isAdmin&&b.isArchived()?6:-1),C(2),G(!b.isLoading&&b.bookmarkGroup.bookmarkGroupId?8:-1))},dependencies:[Ew,$D,FH,HH,vD,Vy,Xy,ZO,UO,VO,F2,rT,j1,z_,ki,tz,Mz,Bz,vI,yI,wI,xI,zI,QP],styles:[".edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-items-container[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);min-height:20px;padding:4px 6px;width:600px}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-items-container[_ngcontent-%COMP%]   span.edit-bookmark-group-none-select[_ngcontent-%COMP%]{line-height:20px}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--button-bg);margin-top:-10px;width:600px}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]   .edit-bookmark-group-hotlist-picker[_ngcontent-%COMP%], .edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]   .edit-bookmark-group-hotlist-search[_ngcontent-%COMP%], .edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]   .edit-bookmark-group-saved-search-picker[_ngcontent-%COMP%]{padding:10px;display:block}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]   .edit-bookmark-group-hotlist-picker[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], .edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]   .edit-bookmark-group-hotlist-search[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], .edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%]   .edit-bookmark-group-saved-search-picker[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{height:24px;width:24px;margin:0}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-view-items[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);color:#5f6368;color:var(--text-muted);min-height:20px;padding:4px 6px 4px 8px;width:586px}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-view-items[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{padding-left:0}.edit-resource-panel[_ngcontent-%COMP%]   .edit-bookmark-group-view-items[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:2px}.edit-bookmark-group-edit-items-pane[_ngcontent-%COMP%], .edit-bookmark-group-items-container[_ngcontent-%COMP%]{box-sizing:border-box}.edit-button-row[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-right:8px}/*# sourceMappingURL=edit_bookmark_group.css.map */"]});var n8c=["savedSearchNameInput"],WIb=function(a){return{"bv2-edit-resource-readonly":a}},YIb=function(a){return{displayText:"Admins",values:a}},XIb=function(a){return[a]},b7=function(){Z.call(this);var a=this;this.routeParams=r(PL);this.location=r(WI);this.accessPolicyApi=r(pC);this.savedSearchApi=r(pF);this.paths=r(zO);this.appHistory=r(Y3);this.butterBar=r(hE);this.pageTitle=r(k_);this.documentationLinks=r(cL);this.userAccess=r(YC);this.errorHandler=r(jE);this.snackBar=r(eE);this.confirmationDialog=
r(rL);this.cdr=r(sG,{self:!0});this.appEvents=r(nE);this.activeSession=r(dv);this.checkBeforeExit=r(iT);this.selectedTabIndex=0;this.isDeleting=this.isUpdating=this.isAdmin=this.isLoading=!1;this.isReaderFieldValid=this.isAdminsFieldValid=!0;this.currentUserEmail=this.activeSession.getUserEmail();this.accessPolicyUnderEdit=op();this.flattenedAccessPolicy=op();this.error="";var b=this.loadSavedSearch(this.routeParams.savedSearchId),c=this.loadUserAccess(this.routeParams.savedSearchId);this.loadAccessPolicy(this.routeParams.savedSearchId);
Promise.all([b,c]).then(function(){var d;(d=a.savedSearchName)==null||d.nativeElement.focus()});this.subscriptions.add(jT(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!1))};Y(b7,Z);b7.\u0275dir=Z.\u0275dir;g=b7.prototype;g.ngOnInit=function(){this.location.hash()==="access"&&(this.selectedTabIndex=1)};g.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=(d=(b=this.tabs)==null?void 0:(c=b.get(a))==null?void 0:c.nativeElement.id)!=null?d:null;this.location.hash(e,!0)};
g.loadSavedSearch=function(a){var b=this;this.isLoading=!0;return this.savedSearchApi.get(a).then(function(c){b.savedSearch=c;b.savedSearchUnderEdit=zi(b.savedSearch);b.pageTitle.setTitle("Saved search: "+c.name)}).catch(function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1;b.cdr.detectChanges()})};
g.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SAVED_SEARCH",a).then(function(c){b.flattenedAccessPolicy=pp(c);b.accessPolicyUnderEdit=zi(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.loadUserAccess=function(a){var b=this;return $C(this.userAccess,"admin","savedSearches/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
g.isSaving=function(){return this.isUpdating||this.isDeleting};g.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};g.back=function(){Z3(this.appHistory)};g.revertMetadataChanges=function(){this.savedSearchUnderEdit=zi(this.savedSearch);this.error=""};g.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=zi(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.hasUnsavedMetadataChanges=function(){return!yi(this.savedSearch,this.savedSearchUnderEdit)};
g.hasUnsavedAccessPolicyChanges=function(){return!yi(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};g.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};
g.saveMetadata=function(){var a=this;this.validate()&&(this.snackBar.open("Save saved search ID "+this.savedSearchUnderEdit.searchId,"dismiss",{duration:0}),this.isUpdating=!0,this.savedSearchApi.update(this.savedSearchUnderEdit.searchId,this.savedSearchUnderEdit).then(function(b){a.snackBar.open("Saved search ID "+b.searchId+' was saved as "'+b.name+'"',"dismiss",{duration:0});a.savedSearch=b;a.savedSearchUnderEdit=zi(b);a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId})}).catch(function(b){a.errorHandler.errorHandler(null,
b)}).finally(function(){a.isUpdating=!1}))};g.validate=function(){if(this.savedSearchUnderEdit.name==="")return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};
g.saveAccessPolicy=function(){var a=this;this.accessPolicyUnderEdit.admins.includes("USER:"+this.currentUserEmail)?this.doSaveAccessPolicy():this.openConfirmationDialog("Change saved search admins",ti("Warning: You may be removing yourself from the admins. Unless you are granted access via a group, you may lose the permission to edit the access settings"),function(){a.doSaveAccessPolicy()})};
g.doSaveAccessPolicy=function(){var a=this;try{var b=qp(this.accessPolicyUnderEdit)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);this.butterBar.showWarning(b);return}this.isUpdating=!0;this.snackBar.open("Saving access settings...","dismiss",{duration:0});this.accessPolicyApi.update("SAVED_SEARCH",this.savedSearch.searchId,b).then(function(c){a.snackBar.open("Access settings saved.","dismiss",{duration:0});a.flattenedAccessPolicy=pp(c);a.accessPolicyUnderEdit=zi(a.flattenedAccessPolicy);
a.loadUserAccess(String(a.savedSearch.searchId));a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId})},function(c){a.errorHandler.errorHandler(null,c);a.butterBar.showWarning(Kn(c),0)}).finally(function(){a.isUpdating=!1})};g.delete=function(){var a=this;this.openConfirmationDialog("Delete saved search",ti("Do you want to delete this saved search?"),function(){a.doDelete()})};
g.doDelete=function(){var a=this;this.snackBar.open("Deleting saved search "+this.savedSearch.name,"dismiss",{duration:0});this.isDeleting=!0;this.savedSearchApi.delete(this.savedSearch.searchId).then(function(){a.snackBar.open("Deleted saved search "+a.savedSearch.name,"dismiss",{duration:0});a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId,action:"delete"});Sic(a.location,"/")}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isDeleting=!1})};
g.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};b7.\u0275fac=function(a){return new (a||b7)};
b7.\u0275cmp=t({type:b7,selectors:[["b-edit-saved-search"]],viewQuery:function(a,b){a&1&&(Mg(n8c,5),Mg(UO,5,ge));if(a&2){var c;Qg(c=Rg())&&(b.savedSearchName=c.first);Qg(c=Rg())&&(b.tabs=c)}},features:[Yg([sG]),cg],decls:9,vars:3,consts:[["savedSearchNameInput",""],[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],["mat-button","","color","primary","matTooltip","Delete saved search",
3,"disabled"],[1,"bv2-view"],[1,"edit-resource-header"],["mat-button","","color","primary","matTooltip","Delete saved search",3,"click","disabled"],[1,"edit-resource-header-link",3,"href"],["gmat-tabs","","mat-align-tabs","start",3,"selectedIndexChange","selectedIndex"],["id","basic","label","Basic Information"],[1,"edit-resource-panel"],[3,"error"],[1,"edit-field",3,"ngClass"],["for","saved-search-name",1,"required"],[1,"edit-field-header"],["type","text","id","saved-search-name","required","","aria-required",
"true",3,"ngModelChange","ngModel","disabled"],["for","saved-search-description"],["id","saved-search-description",3,"ngModelChange","ngModel","disabled"],[1,"edit-field","bv2-edit-resource-readonly"],["for","saved-search-query"],[1,"edit-field-note"],[1,"edit-saved-search-query-container","codefont"],[1,"edit-button-row"],["id","access","label","Access Control"],["for","saved-search-acl-admins"],[3,"usersChange","isValid","users"],["for","saved-search-acl-readers"],[3,"usersChange","isValid","users",
"includeAliases","includeViewAliases","containerChips"],[1,"edit-field"],["target","_blank",3,"href"],["mat-flat-button","","color","primary",3,"click","disabled"],["mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(I(0,"div",1)(1,"div",2)(2,"div",3)(3,"button",4),M("click",function(){return b.back()}),K(4,"mat-icon",5),J(),D(5,SIb,2,1,"button",6),J()()(),I(6,"div",7),D(7,TIb,3,0,"div",8)(8,ZIb,50,38),J());a&2&&(C(5),G(b.isAdmin?5:-1),C(2),G(b.isLoading||b.savedSearch?
-1:7),C(),G(!b.isLoading&&b.savedSearch?8:-1))},dependencies:[Ew,$D,FH,HH,vD,Vy,Xy,ZO,UO,VO,F2,ki,tz,Mz,Bz,QP],encapsulation:2});var o8c=function(a){this.internalArray_=m(a)};Y(o8c,V);o8c.prototype.getSloId_asLegacyNumberOrString=function(){return Vj(this,1)};o8c.prototype.setSloId=function(a){return pl(this,1,a)};var p8c=function(a){this.internalArray_=m(a)};Y(p8c,V);g=p8c.prototype;g.getAuthor=function(){return W(this,bj,1)};g.setAuthor=function(a){X(this,bj,1,a)};g.hasAuthor=function(){return Oj(this,bj,1)};g.getTimestamp=function(){return W(this,wj,2)};g.setTimestamp=function(a){return X(this,wj,2,a)};g.hasTimestamp=function(){return Oj(this,wj,2)};g.getAdd=function(){return W(this,Vo,3)};g.setAdd=function(a){return X(this,Vo,3,a)};g.getRemove=function(){return W(this,Vo,4)};
g.setRemove=function(a){return X(this,Vo,4,a)};g.getAddMask=function(){return W(this,Vm,5)};g.setAddMask=function(a){return X(this,Vm,5,a)};g.getRemoveMask=function(){return W(this,Vm,6)};g.setRemoveMask=function(a){return X(this,Vm,6,a)};g.getFieldUpdatesList=function(){return nj(this,OC,7,Wi())};var q8c=function(a){this.internalArray_=m(a)};Y(q8c,V);var c7=function(a){this.internalArray_=m(a,0,c7.messageId)};Y(c7,V);c7.prototype.getIt=function(){return W(this,q8c,1)};c7.prototype.setIt=function(a){return X(this,q8c,1,a)};c7.messageId="b.ListSloUpdatesResponse";var d7=function(){this.executor=r(PB);var a=r($E);this.sloHistories=a.get("slo_histories-second-level-cache")||a.create("slo_histories-second-level-cache",{capacity:25})};d7.prototype.get=function(a){var b=this.sloHistories.get(String(a));return b!==void 0?b:this.sloHistories.put(String(a),r8c(this,a))};
var r8c=function(a,b){var c=(new o8c).setSloId(Number(b));return a.executor.post({url:"action/slos/"+b+"/updates",body:c,responseConstructor:c7}).then(function(d){d=d.getIt();return{updates:nj(d,p8c,1,Wi()).map(awa)}})};d7.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};d7.prototype.invalidateCache=function(a){this.sloHistories.remove(String(a))};d7.\u0275fac=function(a){return new (a||d7)};d7.\u0275prov=n({token:d7,factory:d7.\u0275fac,providedIn:"root"});var e7=function(){var a=r(dv),b=r(iT);Z.call(this);var c=this;this.routeParams=r(PL);this.bLocation=r(WI);this.appHistory=r(Y3);this.butterBar=r(hE);this.pageTitle=r(k_);this.documentationLinks=r(cL);this.userAccess=r(YC);this.accessPolicyApi=r(pC);this.sloApi=r(eH);this.sloUpdatesApi=r(d7);this.sloUpdatesService=r(U3);this.errorHandler=r(jE);this.matDialogService=r(kL);this.analytics=r(wG);this.confirmationDialogService=r(rL);this.appEvents=r(nE);this.editableAccessPolicy=op();this.flattenedAccessPolicy=
op();this.historyDiffs=void 0;this.isImportedFromBugScope=this.isUneditedFromBugScope=this.elementPickerIsValid=this.isAdminInternal=this.isUpdating=this.isLoading=!1;this.selectedTabIndex=0;this.validity={};this.isInvalid=function(){return Object.values(c.validity).some(function(d){return!d})};this.subscriptions.add(jT(b,function(){return c.hasUnsavedChanges()},!1));b=this.routeParams.sloId;this.resourceName=Bm("SLO",Ei(b));if(this.sloEnabled=a.isInternalSession())s8c(this,b),this.loadUserAccess(b),
this.loadAccessPolicy(b),t8c(this,b);this.alertState={getValue:function(){return c.editableCopy?c.editableCopy.alertState==="ON":!1},getSavedValue:function(){return c.slo?c.slo.alertState==="ON":!1},setValue:function(d){c.editableCopy&&(c.editableCopy.alertState=d?"ON":"OFF")}};this.currentUserEmail=a.getUserEmail()};Y(e7,Z);e7.\u0275dir=Z.\u0275dir;
e7.prototype.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=(d=(b=this.tabs)==null?void 0:(c=b.get(a))==null?void 0:c.nativeElement.id)!=null?d:null;this.bLocation.hash(e,!0)};e7.prototype.ngOnInit=function(){this.bLocation.hash()==="access"&&(this.selectedTabIndex=1)};e7.prototype.updateCollection=function(a){this.editableCopy&&(this.editableCopy.elements=a)};
var s8c=function(a,b){a.isLoading=!0;a.sloApi.get(b).then(function(c){a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=zi(a.slo);a.pageTitle.setTitle("SLO: "+c.name)}).catch(function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isLoading=!1})};
e7.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SLO",Number(a)).then(function(c){b.flattenedAccessPolicy=pp(c);b.editableAccessPolicy=zi(b.flattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)})};var u8c=function(a,b){return a.sloUpdatesApi.get(b).then(function(c){a.historyDiffs=c.updates.map(function(d){return L3c(a.sloUpdatesService,d)})}).catch(function(c){a.errorHandler.errorHandler(null,c)})};g=e7.prototype;
g.loadUserAccess=function(a){var b=this;$C(this.userAccess,"admin",Bm("SLO",Ei(a))).then(function(c){b.isAdminInternal=c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};g.hasUnsavedMetadataChanges=function(){return!yi(this.slo,this.editableCopy)};g.hasUnsavedAccessPolicyChanges=function(){return!yi(this.flattenedAccessPolicy,this.editableAccessPolicy)};
g.saveMetadata=function(){var a=this;v8c(this.slo.elements,this.editableCopy.elements)?this.save():this.confirmationDialogService.open({title:"Save SLO changes?",content:ui([ti("Any changes to the rules will need to be propagated to all impacted issues. Depending on the number of affected issues, this may take a few hours to fully fan-out and reindex."),vi("br"),vi("br"),ti("Please combine changes into as few updates as possible.")]),onConfirm:function(){a.save()},onDismiss:UA})};
var cJb=function(a,b){if(!a.hasUnsavedMetadataChanges()){var c=function(){a.editableCopy.isArchived=b;a.save()};b?a.confirmationDialogService.open({title:"Archive SLO?",content:ti("Archiving this SLO will prevent new usages of the SLO, and will hide the SLO from most searches."),onConfirm:c,onDismiss:UA}):c()}},v8c=function(a,b){if(a.length!==b.length)return!1;for(var c=0;c<a.length;c++){var d=a[c],e=b[c],f;if(f=d.metric===e.metric&&d.matcher===e.matcher)d=d.objective,e=e.objective,f=!d&&!e||!!d&&
!!e&&d.seconds===e.seconds;if(!f)return!1}return!0};
e7.prototype.save=function(){var a=this,b=this.editableCopy;du(this.butterBar,"Saving SLO ID "+b.sloId+"...");this.isUpdating=!0;this.sloApi.update(b).then(function(c){var d='Changes to SLO "'+c.name+'" saved.';v8c(a.slo.elements,a.editableCopy.elements)||(d+=" Propagating this change may take several hours.");du(a.butterBar,d);a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=zi(c);a.sloUpdatesApi.invalidateCache(a.slo.sloId);a.analytics.trackEvent("editSlo","update")}).catch(function(c){a.errorHandler.errorHandler(null,
c)}).finally(function(){a.isUpdating=!1})};e7.prototype.saveAccessPolicy=function(){var a=this;this.isRevokingAdmin()?this.confirmationDialogService.open({title:"Change SLO admins",content:ti("You are about to change the administrator privileges for this SLO. Make sure your changes are correct -- if you revoke your own privileges, you will not be able to undo this action or perform further edits. Do you want to proceed?"),onConfirm:function(){a.doSaveAccessPolicy()},onDismiss:UA}):this.doSaveAccessPolicy()};
e7.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=qp(this.editableAccessPolicy)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);this.butterBar.showWarning(b);return}this.isUpdating=!0;du(this.butterBar,"Saving access settings...");this.accessPolicyApi.update("SLO",this.slo.sloId,b).then(function(c){du(a.butterBar,"Access settings saved.");a.flattenedAccessPolicy=pp(c);a.editableAccessPolicy=zi(a.flattenedAccessPolicy);a.loadUserAccess(a.slo.sloId);a.analytics.trackEvent("editSlo",
"updateAccessPolicy")},function(c){a.butterBar.showWarning(Kn(c),0)}).finally(function(){a.isUpdating=!1})};e7.prototype.isRevokingAdmin=function(){return this.isRevokingDirectAdmin()};
var t8c=function(a,b){u8c(a,b).then(function(){if(a.historyDiffs&&a.historyDiffs.length){var c=a.historyDiffs[0],d=a.historyDiffs[a.historyDiffs.length-1];c.author&&Ui(c.author)==="buganizer-system@google.com"&&(a.isImportedFromBugScope=!0);d.author&&Ui(d.author)==="buganizer-system@google.com"&&(a.isUneditedFromBugScope=!0)}})};g=e7.prototype;
g.isRevokingDirectAdmin=function(){if(yi(this.flattenedAccessPolicy.admins,this.editableAccessPolicy.admins))return!1;var a="USER:"+this.currentUserEmail;return this.flattenedAccessPolicy.admins.includes(a)&&!this.editableAccessPolicy.admins.includes(a)};
g.revertMetadataChanges=function(){var a=this;v8c(this.slo.elements,this.editableCopy.elements)?this.editableCopy=zi(this.slo):this.confirmationDialogService.open({title:"Revert SLO changes?",content:ui([ti("Revert all changes to this SLO?")]),onConfirm:function(){a.editableCopy=zi(a.slo)},onDismiss:UA})};g.revertAccessPolicyChanges=function(){this.editableAccessPolicy=zi(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.isSaving=function(){return this.isUpdating};
g.back=function(){Z3(this.appHistory)};g.isEditDisabled=function(){return!this.editableCopy||this.isSaving()||!this.isAdmin()};g.isAdmin=function(){return this.isAdminInternal};g.showUpdateHistoryModal=function(){var a=this;u8c(this,this.slo.sloId).then(function(){a.matDialogService.open(M5,{width:"600px",data:{updateDiffs:a.historyDiffs}});a.analytics.trackEvent("updateHistoryModal","open");a.analytics.trackEvent("editSlo","viewHistory")})};e7.\u0275fac=function(a){return new (a||e7)};
e7.\u0275cmp=t({type:e7,selectors:[["edit-slo-page"]],viewQuery:function(a,b){a&1&&Mg(UO,5,ge);if(a&2){var c;Qg(c=Rg())&&(b.tabs=c)}},features:[cg],decls:7,vars:2,consts:[["sloBasicsForm","ngForm"],[1,"kd-appbar"],[1,"kd-buttonbar"],["format","icon","size","large","tooltip","Go back","bAriaLabel","Go back",3,"onAction"],["name","arrow-backward","size","large"],[1,"bv2-view"],[1,"bv2-view-loading"],[1,"edit-resource-header"],[1,"vertical-centered"],["gmat-tabs","",1,"bv2-tab-bar",3,"selectedIndexChange",
"selectedIndex"],["id","basic","label","Basic Information"],[1,"edit-resource-panel","edit-slo-basics-form"],["name","sloBasicsForm"],[1,"edit-field"],["for","slo-name",1,"required"],[1,"edit-field-header"],["type","text","id","slo-name","name","slo-name",3,"ngModelChange","required","ngModel","disabled"],["for","slo-description"],["id","slo-description","name","slo-description",3,"ngModelChange","ngModel","disabled"],[1,"edit-field","permission-toggle",3,"bv2-edit-resource-readonly"],["id","bs-warning"],
[3,"onCollectionUpdate","onValidation","isDisabled","collection"],["id","bv2-slo-edit-buttons"],[1,"edit-button-row"],[1,"edit-button-group"],["title","View history for 'Basic Information'",3,"onAction"],["id","access","label","Access Control"],[1,"edit-resource-panel"],["name","accessControlForm","novalidate",""],["for","slo-acl-admins"],[1,"edit-field-note"],[3,"usersChange","isValid","users"],["for","slo-acl-readers"],[3,"usersChange","isValid","users","includeAliases","includeViewAliases"],["target",
"_blank",3,"href"],[1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],[3,"change","checked","disabled"],[1,"edit-field-help"],[1,"permission-toggle-help","edit-field-help"],["target","_blank","href","https://goto.google.com/buganizer-bugscope-slo-sync"],["format","fill","tooltip","Save any changes to the SLO",3,"onAction","disabled"],["tooltip","Discard any changes",3,"onAction","disabled"],["format","fill","tooltip","Archive the SLO and prevent new usages",3,"disabled"],["tooltip",
"Unarchive the SLO and allow new usages",3,"disabled"],["format","fill","tooltip","Archive the SLO and prevent new usages",3,"onAction","disabled"],["tooltip","Unarchive the SLO and allow new usages",3,"onAction","disabled"],["format","fill",3,"onAction","disabled"],[3,"onAction"]],template:function(a,b){a&1&&(I(0,"div",1)(1,"div",2)(2,"b-button",3),M("onAction",function(){return b.back()}),K(3,"b-icon",4),J()()(),I(4,"div",5),D(5,$Ib,2,0,"div",6)(6,hJb,55,32,"div"),J());a&2&&(C(5),G(b.isLoading?
5:-1),C(),G(!b.isLoading&&b.slo&&b.slo.sloId&&b.editableCopy?6:-1))},dependencies:[IH,Cz,ki,tz,uz,Mz,Bz,zz,yM,ZO,UO,VO,QP,qN,uN,N3,JO],encapsulation:2});var f7=function(){Z.apply(this,arguments);var a=this;this.contextSensitiveRegistry=r(WL);this.issueFullFridge=r(yG);this.issuePicker=r(hS);this.snackBar=r(eE);this.imageUrls=r(iO);this.TEA_DARK=this.imageUrls.TEA_DARK;this.TEA_LIGHT=this.imageUrls.TEA_LIGHT;this.getStatus=function(b){return b.snapshot[0].status};this.id$=this.contextSensitiveRegistry.getIssueId();this.searchUrl$=this.id$.pipe(B(function(b){return{path:"/issues",params:{q:"blockedbyid:"+b}}}));this.issue$=this.id$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}));
this.blockingIds$=this.issue$.pipe(B(function(b){var c;return(c=b==null?void 0:b.snapshot[0].blockingIssueId)!=null?c:[]}));this.issuesBeingBlocked$=this.blockingIds$.pipe(Nf(function(b){return a.issueFullFridge.watchSet(b)}));this.blockedAndOpen$=this.issuesBeingBlocked$.pipe(B(function(b){return b.filter(al)}));this.blockedAndOpenIds$=this.blockedAndOpen$.pipe(B(function(b){return b.map(function(c){return String(c.issueId)})}));this.blockedAndClosed$=this.issuesBeingBlocked$.pipe(B(function(b){return b.filter(function(c){return Sta(c)})}));
this.blockedAndClosedIds$=this.blockedAndClosed$.pipe(B(function(b){return b.map(function(c){return String(c.issueId)})}));this.thinking$=this.issueFullFridge.thinking$;this.getMenuItems=function(b){return[{type:"action",label:"Remove this relationship",action:function(){a.onClickRemove(b)},title:"Remove this relationship",icon:"clear"}]};this.didChooseBlocking=function(b){var c=Xo(a.id$);c!=null&&a.issueFullFridge.addBlocking(c,b).catch(a.gotErr)};this.gotErr=function(b){a.snackBar.open(Kn(b)||"Error with network request",
"close",{panelClass:"error"})}};Y(f7,Z);f7.\u0275dir=Z.\u0275dir;f7.prototype.onClickAdd=function(){this.issuePicker.open({title:"Add Blocking",allowMultipleIds:!0,edgeType:"blocking"},this.didChooseBlocking)};f7.prototype.onClickRemove=function(a){var b=Xo(this.id$);b!=null&&this.issueFullFridge.removeBlocking(b,[String(a)]).catch(this.gotErr)};f7.\u0275fac=function(){var a;return function(b){return(a||(a=de(f7)))(b||f7)}}();
f7.\u0275cmp=t({type:f7,selectors:[["ng-component"]],features:[cg],decls:5,vars:6,consts:[[1,"carded","bg-main"],[1,"pos-tr","padded"],[1,"empty-state","layout-centered-column","gap"],[1,"margin-s-top","flex-kids-x","gap-s"],["aria-hidden","true","alt","",1,"light-only",3,"src"],["aria-hidden","true","alt","",1,"dark-only",3,"src"],[1,"type-l"],[1,"muted"],["href","https://developers.google.com/issue-tracker/guides/block-issue","target","_blank",1,"nowrap"],["mat-flat-button","","color","primary",
"matTooltip","Add something this issue is blocking",1,"small",3,"click"],["mat-button","","color","primary",1,"small",3,"routerLink","queryParams"],[1,"section-heading","muted"],[1,"muted","margin-bottom"],[3,"issueIds","menuItemFactory"],[1,"unstyled","reverse-padded-sides"],[1,"padded-x",3,"routerLink"],[1,"right"],["mat-icon-button","","aria-label","",1,"invisible"]],template:function(a,b){a&1&&(I(0,"section",0),D(1,vJb,2,1),S(2,"async"),J(),D(3,wJb,2,0,"aside",1),S(4,"async"));if(a&2){var c;C();
G((c=U(2,2,b.blockingIds$))?1:-1,c);C(2);G(U(4,4,b.thinking$)?3:-1)}},dependencies:[JE,vD,Wy,Vy,Xy,FH,HH,JO,UV,Iw],styles:["[_nghost-%COMP%]{display:block;padding:8px}.b-chip[_ngcontent-%COMP%]{margin:-3px 0;margin-right:0}.section-heading[_ngcontent-%COMP%]{margin-top:0;margin-bottom:4px}b-issues-table[_ngcontent-%COMP%] + .section-heading[_ngcontent-%COMP%]{margin-top:16px}ol[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;padding:8px;padding-left:16px;line-height:1.3}ol[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}ol[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{margin-left:auto;margin-top:-8px;margin-bottom:-8px}[_nghost-%COMP%]     .remove-btn{opacity:0;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;margin:-16px 0}[_nghost-%COMP%]     ol a:hover .remove-btn{opacity:1}ol[_ngcontent-%COMP%]   a[disabled=true][_ngcontent-%COMP%]{background:transparent;opacity:.5;cursor:default}[_nghost-%COMP%]     ol a[disabled=true] .remove-btn{opacity:0}.empty-state[_ngcontent-%COMP%]{padding:32px 0;max-width:30rem}.empty-state[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:240px;min-height:230px}\n/*# sourceMappingURL=issue_blocking.css.map */"],
changeDetection:0});var g7=function(){};g7.\u0275fac=function(a){return new (a||g7)};g7.\u0275mod=u({type:g7});g7.\u0275inj=p({imports:[RE,YD,RK,Qz,Rz,JH,aP,LH,HR,VK,QI,LO,FY]});var h7=function(a){this.internalArray_=m(a,0,h7.messageId)};Y(h7,V);h7.prototype.getIssueId_asLegacyNumberOrString=function(){return Hv(this,1)};h7.prototype.getIssueId_asString=function(){return Nj(this,1)};h7.prototype.setIssueId=function(a){return lk(this,1,a)};h7.messageId="b.MonorailIssueRedirectRequest";var i7=function(a){this.internalArray_=m(a,0,i7.messageId)};Y(i7,V);i7.prototype.getUrl=function(){return W(this,yA,1)};i7.prototype.setUrl=function(a){return X(this,yA,1,a)};i7.prototype.hasUrl=function(){return Oj(this,yA,1)};i7.messageId="b.MonorailIssueRedirectResponse";var j7=function(){this.executor=r(OB)},w8c=function(a,b){b=(new h7).setIssueId(b);return a.executor.post({url:"action/monorailIssueRedirect",body:b,responseConstructor:i7}).pipe(B(function(c){return Asa(c.getUrl())}),xf(function(){return Fe(null)}))};j7.\u0275fac=function(a){return new (a||j7)};j7.\u0275prov=n({token:j7,factory:j7.\u0275fac,providedIn:"root"});var k7=function(a){this.internalArray_=m(a,0,k7.messageId)};Y(k7,V);k7.prototype.getResponse=function(){return W(this,bB,1)};k7.prototype.getReadonlyResponse=function(){return ur(this,bB,1)};k7.prototype.getMutableResponse=function(){return Av(this,bB,1)};k7.prototype.setResponse=function(a){return X(this,bB,1,a)};k7.messageId="b.PiperCreateWorkspaceAndChangeWrappedResponse";var x8c=function(a){this.internalArray_=m(a,0,x8c.messageId)};Y(x8c,V);x8c.prototype.getResponsesList=function(){return nj(this,b7b,1,Wi())};x8c.messageId="b.PiperReadFilesWrappedResponse";var l7=function(){this.executor=r(PB)},z8c=function(a,b){return y8c(a,{paths:[b]}).then(function(c){var d,e;return{content:(d=c.content.get(b))!=null?d:"",revisionNumber:(e=c.revisionNumber.get(b))!=null?e:0}})},y8c=function(a,b){b=zJb(b);return a.executor.post({url:"/action/piper/readFiles",body:b,responseConstructor:x8c}).then(AJb)},A8c=function(a,b){var c=new $6b;b.citcAlias&&gk(c,3,b.citcAlias);if(b.changeDescription){var d=c.setDescription;var e=b.changeDescription;e=(new aB).setText(e.text);
d.call(c,e)}b=b.files.map(EJb);$l(c,4,b);return a.executor.post({url:"/action/piper/createWorkspaceAndChange",body:c,responseConstructor:k7}).then(BJb)};l7.\u0275fac=function(a){return new (a||l7)};l7.\u0275prov=n({token:l7,factory:l7.\u0275fac,providedIn:"root"});var m7=function(a){this.internalArray_=m(a)};Y(m7,V);m7.prototype.setModelId=function(a){cj(this,1,a)};var B8c=function(a){this.internalArray_=m(a)};Y(B8c,V);g=B8c.prototype;g.getOptions=function(){return W(this,m7,1)};g.setOptions=function(a){X(this,m7,1,a)};g.hasOptions=function(){return Oj(this,m7,1)};g.getInput=function(){return Gh(this,2)};g.setInput=function(a){return cj(this,2,a)};var Tu=function(a){this.internalArray_=m(a)};Y(Tu,V);Tu.prototype.getContent=function(){return Gh(this,1)};Tu.prototype.setContent=function(a){return cj(this,1,a)};Tu.prototype.getScore=function(){return zl(this,2)};Tu.prototype.setScore=function(a){return Wl(this,2,a)};var n7=function(a){this.internalArray_=m(a)};Y(n7,V);n7.prototype.setModelId=function(a){cj(this,4,a)};var o7=function(a){this.internalArray_=m(a,0,o7.messageId)};Y(o7,V);o7.prototype.getResponse=function(){return W(this,n7,1)};o7.prototype.getReadonlyResponse=function(){return ur(this,n7,1)};o7.prototype.getMutableResponse=function(){return Av(this,n7,1)};o7.prototype.setResponse=function(a){return X(this,n7,1,a)};o7.messageId="b.GoosePredictionGenerateTextWrappedResponse";var p7=function(){this.executor=r(PB)};
p7.prototype.generate=function(a){var b=(new B8c).setInput(a.input);if(a.options){var c=new m7;a.options.modelId!==void 0&&c.setModelId(a.options.modelId);a.options.outputCount!==void 0&&ek(c,2,a.options.outputCount);a.options.temperature!==void 0&&Zp(c,3,yb(a.options.temperature));a.options.maxDecoderSteps!==void 0&&ek(c,4,a.options.maxDecoderSteps);a.options.eosId!==void 0&&wc(c,5,a.options.eosId,Gb);b.setOptions(c)}return this.executor.post({url:"/action/goose/prediction/generateText",body:b,responseConstructor:o7}).then(FJb)};
p7.\u0275fac=function(a){return new (a||p7)};p7.\u0275prov=n({token:p7,factory:p7.\u0275fac,providedIn:"root"});var C8c=/:(\w+):/,D8c=/(\/\/depot\/)?(google3\/[A-Za-z0-9\.\/_-]+)/,q7=function(){this.piperApi=r(l7);this.gooseApi=r(p7);this.issueFullFridge=r(yG);this.eventsForIssueFridge=r(yF);this.domSafe=r(mM);this.analytics=r(wG)},E8c=function(a,b){return Je(a.issueFullFridge.watch(b,{trustUncertainMemory:!0}).pipe(Ye(kj),Gf()))},F8c=function(a,b){return Je(a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}).pipe(B(function(c){if(!c)return"";var d,e;return(e=(d=c.events.slice(0,1)[0])==null?void 0:d.unlinkifiedComment)!=
null?e:""}),Gf()))},G8c=function(a){return a.split(/^@@$/m).map(function(b){return b.trim()}).filter(function(b){return b.length>0}).map(function(b){return{lines:b.split("\n")}})};
q7.prototype.patch=function(a,b,c,d,e){var f=this;a={sourceFile:{sourceFileId:{depotPath:a,revisionNumber:b+1},fileOperation:b===0?2:7},content:GJb(d)};c={changeDescription:{text:e+"\n\nGenerated by #bug2code\n\nBUG="+c+"\nBUG2CODE="+c},citcAlias:"bug2code_fix_"+Date.now(),files:[a]};return A8c(this.piperApi,c).then(function(h){var l=h.changeNumber;h="https://cider.corp.google.com/?createWs="+h.workspaceName.match(C8c)[1]+"&patchCl="+l;f.domSafe.openInNewTab(h);f.analytics.trackEvent("bug2Code","patchCL")})};
q7.prototype.executePrompt=function(a){return this.gooseApi.generate({input:a,options:{modelId:"goose_v2_m",temperature:0,maxDecoderSteps:4E3}})};
var H8c=function(a){return(a=a.match(D8c))?"//depot/"+a[2]:""},I8c=function(a,b){return"\u25a0 diff --goose --from=BASE --to=CURRENT "+a+"\n    "+b+"\n\u25a1 What are the key changes in the code diff?\n\u25a0 critique --cl_descriptjion\n"},J8c=function(a,b,c,d){var e;a=(e=a==null?void 0:a.snapshot[0].title.trim())!=null?e:"";return"\u25a0 cat "+c+"\n    "+d+"\n\u25a0 Bug b/2234234 title\n    "+a+"\n\u25a0 Bug b/2234234 description\n    "+b.trim()+'\n\u25a0 critique --cl_description --cl_number=541707606\nAutomated fix for "'+
a+'"\n\u25a1 What is the code diff needed to fix the bug?\n\u25a0 patch --goose '+c+"\n@@\n"};q7.\u0275fac=function(a){return new (a||q7)};q7.\u0275prov=n({token:q7,factory:q7.\u0275fac,providedIn:"root"});var r7=function(){};r7.\u0275fac=function(a){return new (a||r7)};r7.\u0275cmp=t({type:r7,selectors:[["change-block"]],hostVars:2,hostBindings:function(a){a&2&&ng("codefont",!0)},inputs:{lines:"lines"},decls:3,vars:0,consts:[[1,"change"],[1,"line",3,"remove","add"],[1,"line"]],template:function(a,b){a&1&&(I(0,"div",0),tg(1,MJb,2,5,"div",1,sg),J());a&2&&(C(),ug(b.lines))},styles:["[_nghost-%COMP%]{border:1px solid var(--grey-300);border-radius:8px;display:block;padding:8px 4px;overflow:auto}[_nghost-%COMP%]:not(:last-child){margin-bottom:12px}[_nghost-%COMP%]   .change[_ngcontent-%COMP%]   .line[_ngcontent-%COMP%]{padding:0 12px;text-wrap:nowrap;white-space:pre}[_nghost-%COMP%]   .change[_ngcontent-%COMP%]   .line.add[_ngcontent-%COMP%]{background-color:#ceead6;background-color:var(--diff-added)}[_nghost-%COMP%]   .change[_ngcontent-%COMP%]   .line.remove[_ngcontent-%COMP%]{background-color:#fad2cf;background-color:var(--diff-removed)}"]});var s7=function(){this.bug2codeService=r(q7);this.chosenFilePath=new rG;this.filePath="";this.isInputValid=!1};s7.prototype.updateFilePath=function(a){this.filePath=a;this.isInputValid=!!H8c(a)};s7.prototype.submit=function(){var a=H8c(this.filePath);this.chosenFilePath.emit(a)};s7.\u0275fac=function(a){return new (a||s7)};
s7.\u0275cmp=t({type:s7,selectors:[["b-bug2code-file-path-input"]],outputs:{chosenFilePath:"chosenFilePath"},decls:8,vars:2,consts:[["for","filePathInput"],["appearance","outline","subscriptSizing","dynamic"],["matInput","","name","filePathInput",3,"ngModelChange","ngModel"],["mat-flat-button","","color","primary",3,"click","disabled"]],template:function(a,b){a&1&&(I(0,"label",0),Q(1," Please provide file path "),J(),I(2,"mat-form-field",1)(3,"mat-label"),Q(4," Enter file path (starting with either //depot/... or google3/...) "),
J(),I(5,"input",2),M("ngModelChange",function(c){return b.updateFilePath(c)}),J()(),I(6,"button",3),M("click",function(){return b.submit()}),Q(7," Continue\n"),J());a&2&&(C(5),F("ngModel",b.filePath),C(),F("disabled",!b.isInputValid))},dependencies:[ki,tz,Bz,vD,Vy,MN,$z,Uz,ON,hA],styles:['label[_ngcontent-%COMP%]{font-family:"Google Sans",Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1rem;letter-spacing:.00625em;font-weight:500}mat-form-field[_ngcontent-%COMP%]{width:100%}mat-form-field[_ngcontent-%COMP%]{--mat-form-field-container-height:52px;--mat-form-field-filled-label-display:block;--mat-form-field-container-vertical-padding:14px;--mat-form-field-filled-with-label-container-padding-top:22px;--mat-form-field-filled-with-label-container-padding-bottom:6px}mat-form-field[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{margin-top:10px}']});var QJb=function(a){return[a]},t7=function(){this.bug2codeService=r(q7);this.piperApi=r(l7);this.error=""};t7.prototype.ngOnInit=function(){this.issueDetails=K8c(this)};t7.prototype.updateFilePath=function(a){var b=this,c,d,e;return ve(function(f){switch(f.nextAddress){case 1:return we(f,2),b.fileDetails=L8c(b,a),c=b,d=c.getOutputData,xe(f,b.fileDetails,5);case 5:return xe(f,d.call(c,f.yieldResult),4);case 4:b.outputData=f.yieldResult;jv(f,0);break;case 2:e=Be(f),b.error=UJb(e),Ce(f)}})};
var PJb=function(a,b){var c,d,e,f,h,l,q,v,y,E;return ve(function(H){switch(H.nextAddress){case 1:return a.fileDetails?xe(H,a.fileDetails,2):H.return();case 2:return c=H.yieldResult,d=c.filePath,e=c.revision,f=c.content,h=b,l=h.diff,q=h.description,we(H,3),v=a.bug2codeService,y=v.patch,xe(H,a.issueDetails,6);case 6:return xe(H,y.call(v,d,e,H.yieldResult.issue.issueId,LJb(f,l),q),5);case 5:jv(H,0);break;case 3:E=Be(H),a.error=UJb(E),Ce(H)}})};
t7.prototype.restart=function(){this.error="";this.outputData=this.fileDetails=void 0};var L8c=function(a,b){var c;return ve(function(d){if(d.nextAddress==1)return xe(d,z8c(a.piperApi,b),2);c=d.yieldResult;return d.return({filePath:b,content:c.content,revision:c.revisionNumber})})},K8c=function(a){var b,c,d;return ve(function(e){return e.nextAddress==1?(b=E8c(a.bug2codeService,a.issueId),c=F8c(a.bug2codeService,a.issueId),xe(e,b,2)):e.nextAddress!=3?(d=e.yieldResult,xe(e,c,3)):e.return({issue:d,description:e.yieldResult})})};
t7.prototype.getOutputData=function(a){var b=this,c,d;return ve(function(e){return e.nextAddress==1?xe(e,M8c(b,a),2):e.nextAddress!=3?(c=e.yieldResult,d=G8c(c),xe(e,b.executePrompt(I8c(a.filePath,c)),3)):e.return({diff:c,diffBlocks:d,description:e.yieldResult})})};
var M8c=function(a,b){var c,d,e,f;return ve(function(h){return h.nextAddress==1?xe(h,a.issueDetails,2):h.nextAddress!=3?(c=h.yieldResult,d=c.issue,e=c.description,f=J8c(d,e,b.filePath,b.content),xe(h,a.executePrompt(f),3)):h.return("@@\n"+h.yieldResult)})};t7.prototype.executePrompt=function(a){var b=this,c;return ve(function(d){if(d.nextAddress==1)return xe(d,b.bug2codeService.executePrompt(a),2);c=d.yieldResult;if(c.outputBlocked)throw Error("ig");return d.return(c.outputs[0])})};
t7.\u0275fac=function(a){return new (a||t7)};
t7.\u0275cmp=t({type:t7,selectors:[["b-bug2code-sidebar"]],inputs:{issueId:"issueId"},decls:4,vars:1,consts:[[1,"loading"],[1,"error"],["mat-flat-button","","color","primary",1,"retry",3,"click"],[1,"gmat-body-2"],[3,"lines"],[1,"cl-description",3,"lines"],["mat-flat-button","","color","primary",1,"patch-changelist",3,"click"],["alt","loading","src","https://www.gstatic.com/devnotify/typing_animation_3x.gif"],[3,"chosenFilePath"]],template:function(a,b){a&1&&D(0,NJb,4,1)(1,RJb,9,3)(2,SJb,4,0,"div",
0)(3,TJb,1,0,"b-bug2code-file-path-input");a&2&&G(b.error?0:b.outputData?1:b.fileDetails?2:3)},dependencies:[vD,Vy,r7,s7],styles:["img[_ngcontent-%COMP%]{border-radius:16px;height:16px;width:24px}.loading[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;padding:32px 16px;gap:8px}i[_ngcontent-%COMP%]{color:var(--text-secondary);font-size:.8125rem}.gmat-body-2[_ngcontent-%COMP%]{margin-bottom:8px}.error[_ngcontent-%COMP%]{margin-bottom:8px;color:#c5221f;color:var(--bad-text)}[_nghost-%COMP%]   change-block.cl-description[_ngcontent-%COMP%]     .line{white-space:pre-line}\n/*# sourceMappingURL=bug2code_sidebar.css.map */"]});var N8c=function(){var a=this;this.llmResponseService=r(oV);this.dataReady=new rG;this.citations$=this.llmResponseService.llmCitations$;this.llmResponseMarkdown$=this.llmResponseService.llmResponseMarkdown$.pipe(Pf(function(){a.dataReady.emit()}))};N8c.\u0275fac=function(a){return new (a||N8c)};
N8c.\u0275cmp=t({type:N8c,selectors:[["llm-response"]],outputs:{dataReady:"dataReady"},decls:2,vars:3,consts:[[3,"content"],[1,"heading-xs","padded-s-bottom"],[1,"citation-item","flex-kids-x","align-items-center","padded-s-bottom"],["svgIcon","public",1,"icon-xs","padded-s-right"],["alt","Icon for this cited website.",1,"icon-xs","padded-s-right",3,"src"],["target","_blank","aria-label","A citation URL for Duckie's response.",3,"href"]],template:function(a,b){a&1&&(D(0,$Jb,3,4),S(1,"async"));if(a&
2){var c;G((c=U(1,1,b.llmResponseMarkdown$))?0:-1,c)}},dependencies:[$D,EP,Iw],encapsulation:2});var kKb=function(a,b){return b.issue.issueId},aKb=function(a){return{issuesAndChangelists:a}},O8c=/(\w+\.)+\w*Exception/,u7=function(){var a=this;this.contextSensitiveRegistry=r(WL);this.issueFullFridge=r(yG);this.issueFridge=r(OF);this.eventsForIssueFridge=r(yF);this.analytics=r(wG);this.imageUrls=r(iO);this.issueAndChangelistDetailsService=r(nV);this.sectionTitle="Related fixed issues";this.issueId$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.issueId$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}),
Kf({bufferSize:1,refCount:!0}));this.events$=this.issueId$.pipe(Nf(function(b){return a.eventsForIssueFridge.watch(b)}),B(function(b){return(b==null?void 0:b.events)||[]}),Kf({bufferSize:1,refCount:!0}));this.firstEvent$=this.events$.pipe(B(function(b){return b.length>0?b[0]:void 0}),Kf({bufferSize:1,refCount:!0}));this.exceptionFirstLine$=this.firstEvent$.pipe(B(function(b){return b==null?void 0:b.unlinkifiedComment}),B(function(b){if(b)return b=b.match(O8c)||[],b.length>0?b[0]:void 0}));this.relatedFixedOutsideComponent$=
this.exceptionFirstLine$.pipe(Nf(function(b){return b?a.issueFridge.watchMany({filter:b+" (status:fixed|status:verified) cl:any type:bug",pageSize:3,sort:"modified_time:desc"}):Fe({results:[]})}),B(function(b){return b.results||[]}),Nf(function(b){return nKc(a.issueAndChangelistDetailsService,b)}));this.relatedFixedInComponent$=Me([this.issue$,this.exceptionFirstLine$]).pipe(Nf(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b&&b.snapshot&&b.snapshot.length&&c?a.issueFridge.watchMany({filter:c+
" (status:fixed|status:verified) cl:any componentId:"+b.snapshot[0].componentId+"+",pageSize:3,sort:"modified_time:desc"}):Fe({results:[]})}),B(function(b){return b.results||[]}),Nf(function(b){return nKc(a.issueAndChangelistDetailsService,b)}));this.issuesAndChangelists$=this.relatedFixedInComponent$.pipe(Nf(function(b){return b&&b.length===3?Fe(b):a.relatedFixedOutsideComponent$.pipe(B(function(c){return Qk([].concat(w(b!=null?b:[]),w(c!=null?c:[])),function(d){return d.issue.issueId}).slice(0,
3)}))}));this.Number=Number;this.hovercardConfig={showDelay:250,hideDelay:250,position:[foc,eoc],triggerKey:[]};this.BUGANIZER_LOGO_URL=this.imageUrls.LOGO_LIGHT;this.issueAnalyticsLabel="relatedIssue";this.changelistAnalyticsLabel="relatedChangelist"};u7.prototype.trackHover=function(a){this.analytics.trackEvent("helpMeFix","hover",a)};u7.prototype.trackClick=function(a){this.analytics.trackEvent("helpMeFix","click",a)};u7.\u0275fac=function(a){return new (a||u7)};
u7.\u0275cmp=t({type:u7,selectors:[["related-fixed-issues"]],decls:4,vars:3,consts:[["issuesAndChangelistsTemplate",""],["issueHovercard","onedevHovercard"],["cardBody",""],["changelistCard","onedevHovercard"],[1,"heading-xs","margin-s-bottom"],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[1,"margin-s-bottom"],[1,"issue-row","flex-kids-x","gap-s","align-items-center"],["height","24","width","24","alt","Buganizer logo",3,"src"],["target","_blank","aria-label","View issue",1,"flex-1","hover-link",
"line-clamp-2","margin-xs-y",3,"onedevHovercardShown","click","href","onedevHovercardTrigger","onedevHovercardConfig"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","issueId"],[1,"changelist-row","flex-kids-x","gap-s","align-items-center","border-left"],["svgIcon","critique-logo",1,"icon-xs"],["target","_blank","aria-label","View changelist",1,"flex-1","muted","hover-link","line-clamp-2","margin-xs-y",3,"onedevHovercardShown","click","href","onedevHovercardTrigger",
"onedevHovercardConfig"],[3,"onedevIsHovercardReady","changelistId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","changelistId"]],template:function(a,b){a&1&&(D(0,cKb,1,1),S(1,"async"),D(2,lKb,2,0,"ng-template",null,0,fh));if(a&2){var c;G((c=U(1,1,b.issuesAndChangelists$))?0:-1,c)}},dependencies:[Hw,$D,bK,cK,hK,dK,XP,WM,Iw],styles:[".issue-row[_ngcontent-%COMP%]{min-height:38px}.changelist-row[_ngcontent-%COMP%]{margin-left:12px;padding-left:8px}"]});var wKb=function(a,b){return b.issue.issueId},mKb=function(a){return{issuesAndChangelists:a}},v7=function(){var a=this;this.helpMeFixService=r(YU);this.analytics=r(wG);this.imageUrls=r(iO);this.issueAndChangelistDetailsService=r(nV);this.sectionTitle="Similar fixed issues";this.issuesAndChangelists$=this.helpMeFixService.similarFixedIssues$.pipe(Nf(function(b){return nKc(a.issueAndChangelistDetailsService,b)}),B(function(b){return b.slice(0,3)}));this.Number=Number;this.hovercardConfig={showDelay:250,
hideDelay:250,position:[foc,eoc],triggerKey:[]};this.BUGANIZER_LOGO_URL=this.imageUrls.LOGO_LIGHT;this.issueAnalyticsLabel="similarIssue";this.changelistAnalyticsLabel="similarChangelist"};v7.prototype.trackHover=function(a){this.analytics.trackEvent("helpMeFix","hover",a)};v7.prototype.trackClick=function(a){this.analytics.trackEvent("helpMeFix","click",a)};v7.\u0275fac=function(a){return new (a||v7)};
v7.\u0275cmp=t({type:v7,selectors:[["similar-fixed-issues"]],decls:4,vars:3,consts:[["issuesAndChangelistsTemplate",""],["issueHovercard","onedevHovercard"],["cardBody",""],["changelistCard","onedevHovercard"],[1,"heading-xs","margin-s-bottom"],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[1,"margin-s-bottom"],[1,"issue-row","flex-kids-x","gap-s","align-items-center"],["height","24","width","24","alt","Buganizer logo",3,"src"],["target","_blank","aria-label","View issue",1,"flex-1","hover-link",
"line-clamp-2","margin-xs-y",3,"onedevHovercardShown","click","href","onedevHovercardTrigger","onedevHovercardConfig"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","issueId"],[1,"changelist-row","flex-kids-x","gap-s","align-items-center","border-left"],["svgIcon","critique-logo",1,"icon-xs"],["target","_blank","aria-label","View changelist",1,"flex-1","muted","hover-link","line-clamp-2","margin-xs-y",3,"onedevHovercardShown","click","href","onedevHovercardTrigger",
"onedevHovercardConfig"],[3,"onedevIsHovercardReady","changelistId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","changelistId"]],template:function(a,b){a&1&&(D(0,oKb,1,1),S(1,"async"),D(2,xKb,2,0,"ng-template",null,0,fh));if(a&2){var c;G((c=U(1,1,b.issuesAndChangelists$))?0:-1,c)}},dependencies:[Hw,$D,bK,cK,hK,dK,XP,WM,Iw],styles:[".issue-row[_ngcontent-%COMP%]{min-height:38px}.changelist-row[_ngcontent-%COMP%]{margin-left:12px;padding-left:8px}"]});var P8c=["container"],w7=function(){Z.apply(this,arguments);this.appEvents=r(nE);this.analytics=r(wG);this.activeSession=r(dv);this.domSafe=r(mM);this.helpMeFixService=r(YU);this.contextSensitiveRegistry=r(WL);this.isHelpMeFixSidebarOpen$=this.helpMeFixService.isHelpMeFixSidebarOpen$;this.issueCategoryConfig$=this.helpMeFixService.currentConfig$.pipe(Of(this.destroyed$),Kf({bufferSize:1,refCount:!0}));this.headerText$=this.issueCategoryConfig$.pipe(B(function(a){var b;return(b=a==null?void 0:a.customBranding)!=
null?b:"Help me fix"}));this.isLlmDisplayModulePresent$=this.issueCategoryConfig$.pipe(B(function(a){return a==null?void 0:a.displayedModules.includes(0)}));this.isLlmLoading$=new bo(!0);this.isLlmDataReady$=Me([this.isLlmDisplayModulePresent$,this.isLlmLoading$]).pipe(B(function(a){var b=k(a);a=b.next().value;b=b.next().value;return!a||!b}),Kf({bufferSize:1,refCount:!0}));this.containerScrolled=this.votedThumbsDown=this.votedThumbsUp=!1;this.allComponentsOptInLink="https://groups.google.com/a/google.com/g/help-me-fix-opt-in-all-components/members";
this.isEnabledOnAllComponents=lu(this.activeSession,"enableHelpMeFixSidebarOnAllComponents");this.hasDismissedBanner=Dk("isHMFAllComponentsOptInBannerDismissed")();this.IssueCategory=pJc;this.DisplayModule=qJc;this.issueId$=this.contextSensitiveRegistry.getIssueId();this.isSidebarExpanded=!1};Y(w7,Z);w7.\u0275dir=Z.\u0275dir;
w7.prototype.ngOnInit=function(){var a=Xo(this.helpMeFixService.currentConfig$);this.analytics.trackEvent("helpMeFix","open","sidebarOpened-"+(a==null?void 0:a.issueCategory));var b=Number(Xo(this.issueId$));this.analytics.trackEvent("helpMeFix","openOnIssueId",a==null?void 0:a.issueCategory,b);this.analytics.trackEvent("helpMeFix","openOnIssueIdJson",JSON.stringify({issueCategory:a==null?void 0:a.issueCategory,issueId:b}))};
w7.prototype.closeSidebar=function(){this.appEvents.closeHelpMeFixSidebar.next();var a=Xo(this.helpMeFixService.currentConfig$);this.analytics.trackEvent("helpMeFix","close","sidebarClosed-"+(a==null?void 0:a.issueCategory))};var DKb=function(a){setTimeout(function(){a.isLlmLoading$.next(!1)})};w7.\u0275fac=function(){var a;return function(b){return(a||(a=de(w7)))(b||w7)}}();
w7.\u0275cmp=t({type:w7,selectors:[["help-me-fix-sidebar"]],viewQuery:function(a,b){a&1&&Mg(P8c,5);if(a&2){var c;Qg(c=Rg())&&(b.container=c.first)}},features:[cg],decls:17,vars:12,consts:[["container",""],[1,"container",3,"scroll"],[1,"flex-kids-x","space-between","padded","padded-s-bottom"],[1,"flex-kids-x","align-items-center"],["svgIcon","spark_24px"],[1,"heading-m","margin-s-left"],[1,"flex-kids-x","gap-s"],["mat-icon-button","","aria-label","toggle expand sidebar",1,"expand-button",3,"click",
"matTooltip"],["svgIcon","expand_all_24px"],["svgIcon","collapse_all_24px"],["mat-icon-button","","aria-label","close sidebar","matTooltip","Close sidebar",1,"close-button",3,"click"],["svgIcon","close"],[1,"padded-x","padded-bottom"],[1,"no-issue-selected"],[1,"card"],[1,"italic"],[1,"card",3,"hidden"],[1,"margin-bottom"],["mat-button","","aria-label","Dismiss help me fix banner",3,"click"],["mat-button","","aria-label","Navigate to group",3,"click"],[3,"dataReady"],[3,"issueId"],[1,"feedback","flex-kids-y"],
[1,"flex-kids-x","align-items-center","justify-flex-end","gap-s"],[1,"flex-kids-x","gap-xs"],["mat-icon-button","","aria-label","vote this was helpful",1,"small",3,"click","disabled"],["svgIcon","thumb_up_24px",1,"icon-s"],["mat-icon-button","","aria-label","vote this was not helpful",1,"small",3,"click","disabled"],["svgIcon","thumb_down_24px",1,"icon-s"],[1,"flex-kids-x","gap-s","justify-flex-end"],[1,"disclaimer","type-s","muted","border-top","margin-s-top","padded-s-top"],["href","http://go/code-ai-policy",
"target","_blank",1,"hover-link"],["href","http://go/help-me-fix-feedback","target","_blank"],[1,"opt-in-footnote","margin-s-top"],["target","_blank",3,"href"]],template:function(a,b){if(a&1){var c=x();I(0,"div",1,0);M("scroll",function(){z(c);b.containerScrolled=b.container.nativeElement.scrollTop===0?!1:!0;return A()});I(2,"header",2)(3,"div",3);K(4,"mat-icon",4);I(5,"span",5);Q(6);S(7,"async");J()();I(8,"div",6)(9,"button",7);M("click",function(){z(c);b.isSidebarExpanded=!b.isSidebarExpanded;return A()});
D(10,yKb,1,0,"mat-icon",8)(11,zKb,1,0,"mat-icon",9);J();I(12,"button",10);M("click",function(){z(c);return A(b.closeSidebar())});K(13,"mat-icon",11);J()()();D(14,NKb,12,13,"div",12);S(15,"async");D(16,OKb,2,0,"div",13);J()}if(a&2){var d;ng("expanded",b.isSidebarExpanded);C(2);ng("elevated",b.containerScrolled);C(4);Tg(U(7,8,b.headerText$));C(3);F("matTooltip",b.isSidebarExpanded?"Collapse sidebar":"Expand sidebar");C();G(b.isSidebarExpanded?11:10);C(4);G((d=U(15,10,b.issueCategoryConfig$))?14:16,
d)}},dependencies:[t7,$D,JO,vD,Vy,Xy,ZP,$P,N8c,u7,v7,HH,Iw],styles:[".container[_ngcontent-%COMP%]{display:block;width:400px;height:100%;overflow-y:scroll}.container.expanded[_ngcontent-%COMP%]{width:600px}.expand-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{-webkit-transform:rotate(90deg);transform:rotate(90deg)}header[_ngcontent-%COMP%]{background-color:#fff;background-color:var(--dialog-bg);position:-webkit-sticky;position:sticky;top:0;z-index:2}.card[_ngcontent-%COMP%]{margin-bottom:24px;overflow-wrap:break-word}.feedback[_ngcontent-%COMP%]   button.voted[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}"]});var XKb=function(a,b){return b.issueId},Q8c={BLOCKED_BY_ISSUES:"blocked_by",PARENT_ISSUES:"parent"},x7=function(){Z.apply(this,arguments);var a=this;this.issueFullFridge=r(yG);this.router=r(HE);this.STATUS_JS_TERSE=Q7b;this.ListIssuesHovercardMode=Q8c;this.mode="blocked_by";this.currentIssueId="";this.issueIds$=new If(1);this.init=new If(1);this.issues$=this.issueIds$.pipe(Ye(kj),Nf(function(b){return a.issueFullFridge.watchSet(b)}),B(function(b){return a.mode==="parent"?b.filter(bl):b.filter(al)}))};
Y(x7,Z);x7.\u0275dir=Z.\u0275dir;x7.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};var UKb=function(a){var b;(b=a.hovercardInstance)==null||b.closeHovercard$.next();a.issueIds$.subscribe(function(c){c=c!=null?c:[];for(var d="id:(",e=k(c.entries()),f=e.next();!f.done;f=e.next()){var h=k(f.value);f=h.next().value;h=h.next().value;d+=h;d=f<c.length-1?d+"|":d+")"}c={q:d};a.router.navigate([tq.listIssues.makeHref()],{queryParams:c})})};
x7.prototype.ngOnInit=function(){var a=this;this.issues$.pipe(Of(this.destroyed$)).subscribe(function(){a.init.next()})};ea.Object.defineProperties(x7.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(a)}}});x7.\u0275fac=function(){var a;return function(b){return(a||(a=de(x7)))(b||x7)}}();
x7.\u0275cmp=t({type:x7,selectors:[["b-list-issues-card"]],inputs:{mode:"mode",currentIssueId:"currentIssueId",issueIds:"issueIds",hovercardInstance:"hovercardInstance"},outputs:{init:"init"},features:[cg],decls:2,vars:3,consts:[["role","dialog","aria-label","List Issues Hovercard",1,"onedev-hovercard-content"],[1,"border-bottom","header-container"],[1,"flex-kids-x","more-issues-container","margin-s-right"],["svgIcon","account_tree_24px",1,"icon-xxs","muted"],[1,"header-text"],["svgIcon","slo-status-no-data",
1,"icon-xxs","gfx-bad"],[3,"routerLink"],[1,"issue-row","flex-kids-x","space-between"],[1,"flex-kids-x","align-items-center"],[1,"issue-id","type-xs"],[1,"type-m","margin-right","issue-title"],[1,"bv2-priority",3,"ngClass"],[3,"class"],["mat-button","",1,"primary","small",3,"click"]],template:function(a,b){a&1&&(D(0,YKb,8,4,"div",0),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.issues$))?0:-1,c)}},dependencies:[Ew,$D,JE,vD,Vy,Iw],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}.header-container[_ngcontent-%COMP%]{line-height:14px;padding:8px 12px}.header-text[_ngcontent-%COMP%]{font-family:Google Sans Display,Roboto,Arial,sans-serif;font-size:.8125rem;line-height:16px;color:#1a73e8;color:var(--text-primary);margin-left:6px}.issue-row[_ngcontent-%COMP%]{line-height:32px;margin:0 12px;padding:4px 0;font-family:Roboto,Arial,sans-serif;color:#202124;color:var(--text)}.issue-row[_ngcontent-%COMP%]   .issue-id[_ngcontent-%COMP%]{height:13px;font-weight:700;padding:1px 4px;margin-right:4px;color:#5f6368;color:var(--text-muted);border:1px solid;border-color:#e8eaed;border-color:var(--gfx-inverse);border-radius:4px}.issue-row[_ngcontent-%COMP%]   .issue-title[_ngcontent-%COMP%]{max-width:200px}.issue-row[_ngcontent-%COMP%]   .issue-title[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link)}.more-issues-container[_ngcontent-%COMP%]{padding:4px 0;-webkit-box-pack:end;-webkit-justify-content:end;-moz-box-pack:end;-ms-flex-pack:end;justify-content:end}"]});var y7=function(){this.issueFullFridge=r(yG);this.paths=r(zO);this.ancestors=new Map;this.issueId="";this.ListIssuesHovercardMode=Q8c;this.reorderedAncestors=[];this.issueIdToTitle=new Map;this.multiParentIssueIds=[]};y7.prototype.ngOnChanges=function(a){var b=this;a.ancestors&&R8c(this).then(function(c){b.issueIdToTitle=c})};y7.prototype.getIssueLink=function(a){return wq(a)};
var R8c=function(a){var b,c,d;return ve(function(e){a.reorderedAncestors=[];for(b=a.issueId;;)if(c=a.ancestors.get(b))if(c.sourceIssueIds.length===1)b=c.sourceIssueIds[0],a.reorderedAncestors.push(b);else{a.multiParentIssueIds=c.sourceIssueIds;break}else break;a.reorderedAncestors.reverse();d=Rk(a.reorderedAncestors);return d.length===0?e.return(new Map):e.return(Je(Me(d.map(function(f){return a.issueFullFridge.watch(f)})).pipe(B(function(f){return f.filter(kj)}),B(function(f){var h=new Map;f=k(f);
for(var l=f.next();!l.done;l=f.next())l=l.value,h.set(l.issueId,l.snapshot[0].title);return h}))))})};y7.\u0275fac=function(a){return new (a||y7)};
y7.\u0275cmp=t({type:y7,selectors:[["ancestors-breadcrumbs"]],inputs:{ancestors:"ancestors",issueId:"issueId"},features:[Hd],decls:4,vars:1,consts:[["card","onedevHovercard"],["cardBody",""],["svgIcon","account_tree_24px","title","Ancestor issues",1,"icon-xs","margin-s-right"],[1,"muted",3,"onedevHovercardTrigger","title"],["svgIcon","chevron-right",1,"icon-xs","chevron","muted"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","hovercardInstance","currentIssueId","issueIds","mode"],[1,"type-s",
3,"href","issueId"]],template:function(a,b){a&1&&(K(0,"mat-icon",2),D(1,aLb,6,5),tg(2,bLb,3,5,null,null,sg));a&2&&(C(),G(b.multiParentIssueIds.length>1?1:-1),C(),ug(b.reorderedAncestors))},dependencies:[$D,BP,bK,cK,hK,dK,x7],styles:["mat-icon[_ngcontent-%COMP%]{vertical-align:middle}[_nghost-%COMP%]     a{color:#202124;color:var(--text-default);line-height:22px;vertical-align:middle}[_nghost-%COMP%]     a.muted{color:#5f6368;color:var(--text-muted)}[_nghost-%COMP%]     a:hover, [_nghost-%COMP%]     a:focus{color:#1a73e8;color:var(--link);text-decoration:underline}.chevron[_ngcontent-%COMP%]{width:18px}.chevron.last[_ngcontent-%COMP%]{margin-right:-3px}"]});var z7=function(){var a=this;this.issueFullFridge=r(yG);this.hotlistFridge=r(mF);this.hotlistPicker=r(CU);this.issueId$=new If(1);this.issue$=this.issueId$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}));this.hotlistsOnIssue$=this.issue$.pipe(B(function(b){var c;return(c=b==null?void 0:b.snapshot[0].hotlistId)!=null?c:[]}));this.count$=this.hotlistsOnIssue$.pipe(B(function(b){return b==null?void 0:b.length}),Mf(0));this.label$=this.count$.pipe(B(function(b){return b>0?"Hotlists ("+b+")":
"Hotlists"}));this.isDisabled$=this.hotlistFridge.saving$;this.HOTKEYS=ep};z7.prototype.onClick=function(){XHc(this.hotlistPicker,this.issue$)};ea.Object.defineProperties(z7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(String(a))}}});z7.\u0275fac=function(a){return new (a||z7)};
z7.\u0275cmp=t({type:z7,selectors:[["hotlist-picker-btn"]],inputs:{issueId:"issueId"},decls:4,vars:7,consts:[["mat-stroked-button","",1,"small",3,"onHotkey","click","hotkey","disabled"]],template:function(a,b){a&1&&(I(0,"button",0),S(1,"async"),M("onHotkey",function(){return b.onClick()})("click",function(){return b.onClick()}),Q(2),S(3,"async"),J());a&2&&(F("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER)("disabled",U(1,3,b.isDisabled$)),C(2),R(" ",U(3,5,b.label$),"\n"))},dependencies:[$H,vD,Vy,Iw],encapsulation:2});var S8c=function(a,b){var c=b.permissions,d=b.retentionState,e=b.isComponentAdmin;if(b.isInternal){if(b.retentionOverride==="INDEFINITE")return{type:"action",label:"Revert to component retention...",title:e?"Revert to component retention...":"You must be a component administrator to perform this action.",disabled:!c.admin,action:function(){a.showComponentRetentionDialog()}};if(!d||d.scheduledDeletionTime)return{type:"action",label:"Retain issue indefinitely...",title:e?"Retain issue indefinitely...":
"You must be a component administrator to perform this action.",disabled:!c.admin,action:function(){a.showIndefiniteRetentionDialog()}}}},T8c=function(a,b){return b.isInternal?{type:"action",label:"Request issue deletion...",title:"Request issue deletion",action:function(){a.requestIssueDeletion()}}:void 0},U8c=function(a,b){var c=!b.isArchived,d=c?"Archive issue":"Unarchive issue";return{type:"action",label:d,title:d+' (requires "issue writer" access)',icon:"archive_24px",disabled:!b.permissions.writer,
action:function(){a.submitArchivalState(c)}}},V8c=function(a,b){if(!b.isDeleted&&b.accessLevel==="EXTERNAL_PUBLIC")return{type:"action",label:"Mark as spam...",title:'Mark as spam... (requires "issue admin" access)',icon:"flag",disabled:!b.permissions.admin,action:function(){a.showFlagAsSpamDialog()}}};var W8c=function(a){return{isDupe:a}},A7=function(){Z.apply(this,arguments);var a=this;this.issueFullFridge=r(yG);this.permissionsFridge=r(WG);this.issuePicker=r(hS);this.snackBar=r(eE);this.eventsForIssueFridge=r(yF);this.TOOLTIP_MARK_DUPE="Mark this issue as a duplicate";this.TOOLTIP_UNMARK_DUPE="Mark this issue as not being a duplicate";this.disabled=!1;this.issueId$=new If(1);this.issue$=this.issueId$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}));this.isDupe$=this.issue$.pipe(B(function(b){var c;
return!!(b==null?0:(c=b.snapshot[0])==null?0:c.duplicateOfIssueId)}));this.permissions$=this.issueId$.pipe(Nf(function(b){return a.permissionsFridge.watch("issues/"+b)}));this.canEdit$=this.permissions$.pipe(B(function(b){return!(b==null||!b.writer)}),Mf(!0));this.didChooseCanonical=function(b){return function(c){(c=c[0])&&wec(a.issueFullFridge,c,b).then(function(){a.eventsForIssueFridge.poke(b)}).catch(a.gotErr)}};this.gotErr=function(b){a.snackBar.open(Kn(b)||"Error with network request","close",
{panelClass:"error"})}};Y(A7,Z);A7.\u0275dir=Z.\u0275dir;
var cLb=function(a){var b,c;return ve(function(d){if(d.nextAddress==1)return a.disabled||a.issueFullFridge.isSaving(a.internalIssueId)||!Xo(a.canEdit$)?d.return():xe(d,Je(a.isDupe$),2);if(d.nextAddress!=3)return b=d.yieldResult,xe(d,Je(a.issue$),3);c=d.yieldResult;if(c==null)return d.return();b?X8c(a,c):a.issuePicker.open({title:"Mark issue as duplicate of:",allowMultipleIds:!1,componentId:c.snapshot[0].componentId,edgeType:"canonical",currentResource:{id:c.issueId,type:"issue"}},a.didChooseCanonical(c.issueId));
Ce(d)})},X8c=function(a,b){var c=b.snapshot[0].duplicateOfIssueId;c!=null&&a.issueFullFridge.removeDuplicate(c,b.issueId).then(function(){a.eventsForIssueFridge.poke(b.issueId)}).catch(a.gotErr)};ea.Object.defineProperties(A7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)}}});A7.\u0275fac=function(){var a;return function(b){return(a||(a=de(A7)))(b||A7)}}();
A7.\u0275cmp=t({type:A7,selectors:[["smart-dupe-btn"]],inputs:{disabled:"disabled",issueId:"issueId"},features:[cg],decls:2,vars:5,consts:[["mat-stroked-button","",1,"small",3,"disabled","title"],["mat-stroked-button","",1,"small",3,"click","disabled","title"]],template:function(a,b){a&1&&(D(0,dLb,3,5,"button",0),S(1,"async"));if(a&2){var c;G((c=bh(3,W8c,U(1,1,b.isDupe$)))?0:-1,c)}},dependencies:[vD,Vy,Iw],encapsulation:2});var B7=function(){this.label=""};B7.prototype.toggle=function(){this.hovercardTrigger&&this.hovercardTrigger.toggle(!this.hovercardTrigger.isExpanded())};B7.\u0275fac=function(a){return new (a||B7)};
B7.\u0275cmp=t({type:B7,selectors:[["help-hover"]],viewQuery:function(a,b){a&1&&Mg(hK,5);if(a&2){var c;Qg(c=Rg())&&(b.hovercardTrigger=c.first)}},inputs:{label:"label",content:"content"},decls:6,vars:3,consts:[["chipHovercard","onedevHovercard"],["role","dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["svgIcon","help-outline",1,"icon-s",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"]],template:function(a,b){a&1&&(I(0,"onedev-hovercard",null,0)(2,"div",1)(3,"div",2),D(4,fLb,1,
1,"ng-container"),J()()(),K(5,"mat-icon",3));a&2&&(a=L(1),C(2),eg("aria-label",b.label),C(2),G(b.content?4:-1),C(),F("onedevHovercardTrigger",a))},dependencies:[Hw,$D,bK,hK],encapsulation:2});var C7=function(){};C7.\u0275fac=function(a){return new (a||C7)};C7.\u0275mod=u({type:C7});C7.\u0275inj=p({imports:[RE,VK]});var D7=function(){Z.apply(this,arguments);var a=this;this.issueFullFridge=r(yG);this.issuePermissionService=r(ZL);this.activeSession=r(dv);this.appEvents=r(nE);this.issueArchiveService=r(cZ);this.domSafe=r(mM);this.editIssueService=r(jM);this.matDialogService=r(kL);this.analytics=r(wG);this.issueId$=new If(1);this.retentionEnabled=this.activeSession.isInternalSession();this.HOTKEYS=ep;this.issue$=this.issueId$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}));this.issueDerivedProperties$=this.issue$.pipe(B(function(b){var c,
d,e,f,h,l,q;return{modifiedTimeMilliseconds:(b==null?void 0:(c=b.aggregatedData)==null?void 0:c.modifiedTimeMicros)!=null?b.aggregatedData.modifiedTimeMicros/1E3:void 0,voted:(l=b==null?void 0:(d=b.userData)==null?void 0:d.voted)!=null?l:!1,voteCount:(q=b==null?void 0:(e=b.aggregatedData)==null?void 0:e.voteCount)!=null?q:0,notificationSubscription:jj(b==null?void 0:(f=b.userData)==null?void 0:f.notificationSubscription),retentionState:b==null?void 0:(h=b.aggregatedData)==null?void 0:h.retentionState}}));
this.menuItems$=Y8c(this);this.state$=Me([this.issueId$,this.issueDerivedProperties$,this.menuItems$]).pipe(B(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;return Object.assign({},{issueId:b},d,{menuItems:c})}))};Y(D7,Z);D7.\u0275dir=Z.\u0275dir;g=D7.prototype;
g.updateSubscription=function(a){var b=this,c;return ve(function(d){if(d.nextAddress==1)return(c=Xo(b.issueId$))?xe(d,b.editIssueService.updateSubscription(c,a),2):d.return();b.analytics.trackEvent("editIssue","updateSubscription",a);Ce(d)})};g.showNotificationSettings=function(a){this.appEvents.topBarEvents.openSettings.next({newTab:a.ctrlKey||a.metaKey,settingsTabName:"notifications"})};
g.showIndefiniteRetentionDialog=function(a){var b=this,c;return ve(function(d){return d.nextAddress==1?b.editIssueService.savingState(a).get("retention")?d.return():xe(d,Je(eL(b.matDialogService.open(fxc,{maxWidth:560}))),2):(c=d.yieldResult)?xe(d,b.editIssueService.updateIssueRetention(a,"INDEFINITE"),0):d.jumpTo(0)})};
g.showComponentRetentionDialog=function(a){var b=this,c;return ve(function(d){return d.nextAddress==1?b.editIssueService.savingState(a).get("retention")?d.return():xe(d,Je(eL(b.matDialogService.open(bxc,{maxWidth:560}))),2):(c=d.yieldResult)?xe(d,b.editIssueService.updateIssueRetention(a,"COMPONENT_DEFAULT"),0):d.jumpTo(0)})};
g.showFlagAsSpamDialog=function(a){var b=this,c;return ve(function(d){return d.nextAddress==1?xe(d,Je(eL(b.matDialogService.open(exc,{maxWidth:560}))),2):(c=d.yieldResult)?xe(d,Bsc(b.editIssueService,String(a)),0):d.jumpTo(0)})};
var Y8c=function(a){var b={requestIssueDeletion:function(){a.domSafe.openInNewTab(qRa(a.activeSession.isInternalSession()))},showIndefiniteRetentionDialog:function(){var c=Xo(a.issueId$);c&&a.showIndefiniteRetentionDialog(c)},showComponentRetentionDialog:function(){var c=Xo(a.issueId$);c&&a.showComponentRetentionDialog(c)},submitArchivalState:function(c){var d=Xo(a.issueId$);d&&a.issueArchiveService.submitArchivalState(d,c)},showFlagAsSpamDialog:function(){var c=Xo(a.issueId$);c&&a.showFlagAsSpamDialog(c)}};
return Me([a.issue$,a.issuePermissionService.userIsComponentAdmin$,a.issuePermissionService.issuePermissions$]).pipe(B(function(c){var d=k(c);c=d.next().value;var e=d.next().value;var f;d={permissions:d.next().value,accessLevel:WJa(c),isArchived:(f=c==null?void 0:c.isArchived)!=null?f:!1,isDeleted:UJa(c),isInternal:a.activeSession.isInternalSession(),isComponentAdmin:e,retentionOverride:ZJa(c),retentionState:bKa(c)};return[U8c(b,d),V8c(b,d),T8c(b,d),S8c(b,d)].filter(kj)}))};
ea.Object.defineProperties(D7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});D7.\u0275fac=function(){var a;return function(b){return(a||(a=de(D7)))(b||D7)}}();
D7.\u0275cmp=t({type:D7,selectors:[["issue-actions"]],viewQuery:function(a,b){a&1&&Mg(B7,5);if(a&2){var c;Qg(c=Rg())&&(b.helpHover=c.first)}},inputs:{issueId:"issueId"},features:[cg],decls:2,vars:3,consts:[["smartDupeBtn",""],["menu","matMenu"],["retentionHelpContent",""],[3,"issueId","voteCount","upvoted"],[3,"issueId"],[3,"onHotkey","issueId","hotkey"],["aria-label","Notification menu",3,"subscriptionChange","showNotificationSettings","subscription","issueId","iconOnly"],["buttonClassname","small",
"aria-label","Insights Graph menu",3,"iconOnly"],["mat-icon-button","","aria-label","More actions","matTooltip","More actions",1,"medium",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],[1,"issue-actions-menu"],["mat-menu-item","",3,"disabled","title"],["mat-menu-item","",1,"informational-only","border-top","flush-bottom"],["mat-menu-item","",3,"click","disabled","title"],[1,"icon-s",3,"svgIcon"],["mat-menu-item","",1,"informational-only","border-top","flush-bottom",3,"click"],["svgIcon",
"",1,"icon-s"],[3,"retentionState"],["label","Learn more about retention",3,"content"],[3,"retentionState","modifiedTime"]],template:function(a,b){a&1&&(D(0,kLb,15,12),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.state$))?0:-1,c)}},dependencies:[WP,$D,B7,$H,W2,vD,Xy,vI,yI,wI,zI,FH,HH,B3,q2,p2,A7,z7,Iw],styles:["[_nghost-%COMP%]{display:flex;gap:4px}[_nghost-%COMP%] > *[_ngcontent-%COMP%]:empty{margin-left:-4px}[mat-icon-button][_ngcontent-%COMP%]{margin-top:-4px;margin-bottom:-4px}[_nghost-%COMP%]     .gmat-mdc-button.small{font-size:.8125rem}.bv2-material   [_nghost-%COMP%]     button.mat-mdc-icon-button:not(.mat-primary):not([disabled]){color:#5f6368;color:var(--muted)}  .issue-actions-menu .mat-mdc-menu-content button.mat-mdc-menu-item.informational-only mat-icon.mat-icon{vertical-align:text-bottom}"]});var E7=function(){Z.call(this);var a=this;this.issueDetailsBrain=r(XL);this.issuePagination=r(j_);this.issueInteractionsTracking=r(VL);this.bLocation=r(WI);this.paths=r(zO);this.refreshMonitor=r(MF);this.butterBar=r(hE);this.internalSearchResults$=new bo(null);this.searchResults$=this.internalSearchResults$.pipe(Ef(),Nf(function(b){return b?b.changed$:Fe(null)}));this.issueId$=this.issueDetailsBrain.id$;this.totalText$=this.searchResults$.pipe(B(function(b){var c;return(c=b==null?void 0:b.totalText)!=
null?c:""}));this.backNavigationLabel$=this.searchResults$.pipe(B(function(b){return(b==null?0:b.params.returnUrl)?"Back to previous search":"Go home"}));this.issueIndex$=Me([this.searchResults$,this.issueId$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;var d;return(d=c&&(b==null?void 0:g_(b,c)))!=null?d:-1}));this.hasPreviousIssue$=Me([this.searchResults$,this.issueId$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;var d;if(d=c)b==null?b=0:(c=g_(b,c),b=c==
null||c===-1?!1:c>b.startIndex||b.params.page>1),d=b;return!!d}));this.hasNextIssue$=Me([this.searchResults$,this.issueId$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;var d;if(d=c)b==null?b=0:(c=g_(b,c),b=c==null||c===-1?!1:c<b.endIndex||b.params.page<b.numPages),d=b;return!!d}));this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){Z8c(a)}));this.subscriptions.add(this.issueDetailsBrain.id$.subscribe(function(b){a.issueId=b;Z8c(a)}))};Y(E7,Z);
E7.\u0275dir=Z.\u0275dir;
var $8c=function(a){var b,c,d=(c=(b=a.internalSearchResults$.value)==null?void 0:b.params.returnUrl)!=null?c:"";a.issueInteractionsTracking.trackNavigation(d===""?"home":"up");a.bLocation.hash("");a.bLocation.setUrl(d)},oLb=function(a){var b=Xo(a.hasNextIssue$),c=Xo(a.issueIndex$);b&&c&&a9c(a,c+1)},nLb=function(a){var b=Xo(a.hasPreviousIssue$),c=Xo(a.issueIndex$);b&&c&&a9c(a,c-1)},Z8c=function(a){var b,c,d;ve(function(e){if(e.nextAddress==1)return xe(e,kYc(a.issuePagination).catch(lLb),2);b=e.yieldResult;
a.internalSearchResults$.next((c=b)!=null?c:null);if(!b||!a.issueId)return e.return();d=g_(b,a.issueId);return d===-1?e.jumpTo(0):xe(e,mYc(a.issuePagination,d).catch(lLb),0)})},a9c=function(a,b){mYc(a.issuePagination,b).then(function(c){a.bLocation.setUrl(wq(c))},function(){a.butterBar.showWarning("Can't find issue id for index '"+b+"'")})};E7.\u0275fac=function(a){return new (a||E7)};E7.\u0275prov=n({token:E7,factory:E7.\u0275fac,providedIn:"root"});var pLb=function(a){return{"invisible zero-width":a}},b9c=function(){this.currentSearchResults=r(E7);this.HOTKEYS=ep};b9c.\u0275fac=function(a){return new (a||b9c)};
b9c.\u0275cmp=t({type:b9c,selectors:[["b-pagination-one-issue"]],decls:2,vars:3,consts:[[3,"ngClass"],["mat-icon-button","","matTooltip","Previous Issue","aria-label","Previous Issue",1,"medium",3,"onHotkey","click","hotkey","disabled"],["svgIcon","arrow-left",1,"icon-l"],["mat-icon-button","","matTooltip","Next Issue","aria-label","Next Issue",1,"medium",3,"onHotkey","click","hotkey","disabled"],["svgIcon","arrow-right",1,"icon-l"]],template:function(a,b){a&1&&(D(0,qLb,8,12,"span",0),S(1,"async"));
if(a&2){var c;G((c=U(1,1,b.currentSearchResults.issueIndex$))?0:-1,c)}},dependencies:[Ew,$D,$H,vD,Xy,FH,HH,Iw],styles:["[_nghost-%COMP%]{display:inline-block;color:#5f6368;color:var(--muted);white-space:nowrap}output[_ngcontent-%COMP%]{font-weight:500}[mat-icon-button][_ngcontent-%COMP%]{margin-left:-4px;padding:0}[_nghost-%COMP%]   span.zero-width[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{width:0}/*# sourceMappingURL=pagination_one_issue.css.map */"],changeDetection:0});var c9c=function(){var a=this;this.brain=r(XL);this.activeSession=r(dv);this.accessIndicatorService=r(UP);this.enableNewVisibilityChips=lu(this.activeSession,"enableNewVisibilityChips");this.INTERNAL="INTERNAL";this.issue$=this.brain.issueJs$.pipe(Ye(kj));this.retentionState$=this.issue$.pipe(B(function(b){var c;return(c=b.aggregatedData)==null?void 0:c.retentionState}));this.modifiedTime$=this.issue$.pipe(B(function(b){var c;return((c=b.aggregatedData)==null?0:c.modifiedTimeMicros)?b.aggregatedData.modifiedTimeMicros/
1E3:void 0}),Ye(kj));this.accessLevel$=this.issue$.pipe(B(function(b){var c;return(c=b.accessLimit)==null?void 0:c.accessLevel}),Ye(kj));this.issueAccessLimitLevel$=this.issue$.pipe(B(function(b){return b.snapshot[0].issueAccessLimitLevel}));this.issueId$=this.issue$.pipe(B(function(b){return b.issueId}));this.hasAccessIndicator$=this.issue$.pipe(Nf(function(b){return jzc(a.accessIndicatorService,b.issueId)}),B(function(b){return b.type!=="no_indicator"}));this.state$=Me([this.retentionState$,this.issueAccessLimitLevel$,
this.modifiedTime$,this.issueId$,this.brain.componentId$,Me([this.accessLevel$,this.hasAccessIndicator$])]).pipe(B(function(b){var c=k(b);b=c.next().value;var d=c.next().value;var e=c.next().value;var f=c.next().value;var h=c.next().value;var l=k(c.next().value);c=l.next().value;l=l.next().value;return{retentionState:b,isAccessLimited:d==="LIMIT_VIEW"||d==="LIMIT_APPEND"||d==="LIMIT_VIEW_TRUSTED",isShowingRetention:(b==null?void 0:b.scheduledDeletionTime)==null?!1:Qtb(b),isShowingPublicPartner:c!==
"INTERNAL",modifiedTime:e,accessLevel:c,issueId:f,componentId:h,issueAccessLimitLevel:d,hasAccessIndicator:l}}))};c9c.\u0275fac=function(a){return new (a||c9c)};
c9c.\u0275cmp=t({type:c9c,selectors:[["issue-chip-indicators"]],decls:2,vars:3,consts:[[1,"flex-kids-x","gap-s","margin-xs-right"],[3,"accessLevel"],[3,"issueId","componentId","accessLimitLevel"],[3,"retentionState","compactMode","modifiedTime"],[3,"issueId"]],template:function(a,b){a&1&&(D(0,xLb,1,1),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.state$))?0:-1,c)}},dependencies:[eU,cO,r2,VP,Iw],encapsulation:2});var F7=function(){this.teamsService=r(lH);this.onTeamLoaded=new If(1);this.teamName$=new bo("");this.isTeamLoaded=!1};F7.prototype.ngOnChanges=function(a){var b=this;a.teamId&&this.teamId!==null&&(this.teamId===0?(this.isTeamLoaded=!0,this.onTeamLoaded.next(this.isTeamLoaded)):mH(this.teamsService,String(this.teamId)).pipe(Cf(),B(function(c){return c.name})).subscribe(function(c){b.teamName$.next(c);b.isTeamLoaded=!0;b.onTeamLoaded.next(b.isTeamLoaded)}))};
F7.\u0275fac=function(a){return new (a||F7)};
F7.\u0275cmp=t({type:F7,selectors:[["b-team-chip"]],inputs:{componentId:"componentId",teamId:"teamId"},outputs:{onTeamLoaded:"onTeamLoaded"},features:[Hd],decls:7,vars:6,consts:[["card","onedevHovercard"],[3,"isReady"],[1,"b-chip","squared","s",3,"onedevHovercardTrigger"],[3,"componentId","teamId"],["svgIcon","supervisor_account_24px",1,"icon-xs"]],template:function(a,b){a&1&&(I(0,"b-async-data-placeholder",1),D(1,yLb,4,4,"div",2),S(2,"async"),J(),I(3,"onedev-hovercard",null,0),vg(5),K(6,"b-team-card",
3),wg(),J());if(a&2){var c;F("isReady",b.isTeamLoaded);C();G(U(2,4,b.teamName$)?1:-1);C(5);F("componentId",b.componentId==null?null:b.componentId.toString())("teamId",(c=b.teamId==null?null:b.teamId.toString())!==null&&c!==void 0?c:"0")}},dependencies:[$D,hP,bK,hK,AN,Iw],styles:["[_nghost-%COMP%]{min-height:22px}mat-icon[_ngcontent-%COMP%]{margin-right:4px;vertical-align:middle}"],changeDetection:0});var G7=function(){Z.apply(this,arguments);var a=this;this.issueFullFridge=r(yG);this.issuePermissionService=r(ZL);this.router=r(HE);this.refreshMonitor=r(MF);this.currentSearchResults=r(E7);this.trackerHelpers=r(yL);this.eventsForIssueFridge=r(yF);this.cdr=r(rw);this.starToggleDisabled=!1;this.issueId$=new If(1);this.internalIssueId="";this.isTeamLoaded=!1;this.ListIssuesHovercardMode=Q8c;this.blockedIdsToUrlQuery=function(b){if(!(b.length<2))return{q:"blockingid:"+a.issueId}};this.HOTKEYS=ep;this.issue$=
this.issueId$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}));this.issueTitle$=this.issue$.pipe(B(function(b){return b==null?void 0:b.snapshot[0].title}));this.starred$=this.issue$.pipe(B(function(b){var c;return jj(b==null?void 0:(c=b.userData)==null?void 0:c.starred)}));this.componentId$=this.issue$.pipe(B(function(b){return jj(b==null?void 0:b.snapshot[0].componentId)}));this.ancestors$=this.issue$.pipe(B(function(b){return jj(b==null?void 0:b.ancestors)}));this.hasAncestors$=this.ancestors$.pipe(B(function(b){return!!(b&&
b.size>0)}));this.teamId$=this.issue$.pipe(B(function(b){var c;return jj(b==null?void 0:(c=b.aggregatedData)==null?void 0:c.teamId)}));this.blockedByids$=this.issue$.pipe(B(function(b){var c;return(c=b==null?void 0:b.snapshot[0].blockedByIssueId)!=null?c:[]}));this.issuesBlockedByCount$=this.blockedByids$.pipe(Nf(function(b){return a.issueFullFridge.watchSet(b)}),B(function(b){return b.filter(al)}),B(function(b){return b.length}));this.blockedByids$.pipe(B(ILb));this.blockedByids$.pipe(B(this.blockedIdsToUrlQuery));
this.isWithinExternalComponent$=this.issuePermissionService.isWithinExternalComponent$;this.status$=this.issue$.pipe(B(function(b){return(b==null?void 0:b.snapshot[0].status)||void 0}));this.statusCssClass$=this.status$.pipe(B(function(b){return a.computeStatusCssClass(b)}));this.prettyStatus$=this.status$.pipe(Ye(kj),B(function(b){return Pi[b]}));this.statusIsFeatured$=this.status$.pipe(B(function(b){return!!S7b[b]}));this.toggleStar=function(){var b=!!Xo(a.starred$);a.starToggleDisabled=!0;sec(a.issueFullFridge,
a.issueId,!b).pipe(Gf(),Of(a.destroyed$)).subscribe(function(){a.starToggleDisabled=!1;a.cdr.markForCheck()})};this.toggleStarDebounced=VA(this.toggleStar,1E3)};Y(G7,Z);G7.\u0275dir=Z.\u0275dir;G7.prototype.computeStatusCssClass=function(a){return a?"status-"+a:""};G7.prototype.refresh=function(){this.refreshMonitor.refreshRequest.next()};ea.Object.defineProperties(G7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)},get:function(){return this.internalIssueId}}});
G7.\u0275fac=function(){var a;return function(b){return(a||(a=de(G7)))(b||G7)}}();
G7.\u0275cmp=t({type:G7,selectors:[["issue-header"]],inputs:{issueId:"issueId"},features:[cg],decls:39,vars:48,consts:[["withAncestorsBreadcrumbs",""],["card","onedevHovercard"],["cardBody",""],[1,"padded-s","border-bottom",3,"ngClass"],[1,"pos-fill",2,"bottom","auto","height","6px",3,"title"],[1,"row","row-1","flex-kids-x","space-between"],[1,"left","flex-kids-x","flex-wrap","gap-s"],[1,"right"],[1,"row","row-2","flex-kids-x","margin-s-top"],[1,"left","flex-kids-x","align-items-top"],[1,"nowrap"],
["mat-icon-button","",1,"small","back-btn",3,"onHotkey","click","hotkey","matTooltip"],["svgIcon","arrow-backward",1,"icon-s"],["mat-icon-button","","matTooltip","Refresh","aria-label","Refresh",1,"small",3,"onHotkey","click","hotkey"],["svgIcon","refresh",1,"icon-s"],[3,"starClicked","onHotkey","starred","disabled","hotkey"],[3,"titleChanged","title","componentId","issueId","hasAclToEdit"],[1,"b-chip","squared","bad","xs","margin-xs-left",3,"onedevHovercardTrigger"],[4,"onedevHovercardLazyBody"],
[1,"float-right",3,"issueId"],[4,"ngTemplateOutlet"],[3,"onTeamLoaded","componentId","teamId"],[3,"componentId","issueId"],[1,"b-chip","squared","s","padding-0"],[3,"issueId","componentId","issueTitle","isExternalIssue"],[3,"componentId","compactMode","issueId"],[1,"b-chip","squared","s"],[3,"ancestors","issueId"],[2,"margin-right","-4px",3,"issueId","componentId","issueTitle","isExternalIssue"],["svgIcon","slo-status-no-data",1,"icon-xxs"],[3,"onedevIsHovercardReady","hovercardInstance","currentIssueId",
"issueIds","mode"]],template:function(a,b){if(a&1){var c=x();I(0,"div",3);S(1,"async");S(2,"async");S(3,"async");K(4,"aside",4);S(5,"async");S(6,"async");I(7,"div",5)(8,"div",6);D(9,ALb,1,1,"ng-container");S(10,"async");D(11,CLb,4,7)(12,FLb,4,7,"ng-template",null,0,fh);J();I(14,"div",7);K(15,"b-pagination-one-issue");J()();I(16,"div",8)(17,"div",9)(18,"div",10)(19,"button",11);S(20,"async");S(21,"async");M("onHotkey",function(){z(c);return A($8c(b.currentSearchResults))})("click",function(){z(c);
return A($8c(b.currentSearchResults))});K(22,"mat-icon",12);J();I(23,"button",13);M("onHotkey",function(){z(c);return A(b.refresh())})("click",function(){z(c);return A(b.refresh())});K(24,"mat-icon",14);J();I(25,"b-star-toggle",15);S(26,"async");M("starClicked",function(){z(c);return A(b.toggleStar())})("onHotkey",function(){z(c);return A(b.toggleStarDebounced())});J()();K(27,"issue-chip-indicators");J();I(28,"div",7)(29,"issue-title",16);S(30,"async");S(31,"async");S(32,"async");M("titleChanged",
function(){z(c);b.eventsForIssueFridge.poke(b.issueId);b.cdr.markForCheck();return A()});J();D(33,GLb,3,2,"div",17);S(34,"async");I(35,"onedev-hovercard",null,1);D(37,HLb,4,7,"ng-container",18);J();K(38,"issue-actions",19);J()()()}if(a&2){var d,e;ng("overline",U(1,22,b.statusIsFeatured$))("color-field",U(2,24,b.statusIsFeatured$));Gg("ngClass",U(3,26,b.statusCssClass$));C(4);Hg("title","[",U(5,28,b.prettyStatus$),"] ",U(6,30,b.issueTitle$),"");C(5);G(U(10,32,b.hasAncestors$)?9:11);C(10);F("hotkey",
b.HOTKEYS.GO_UP_TO_LIST)("matTooltip",(d=U(20,34,b.currentSearchResults.backNavigationLabel$))!==null&&d!==void 0?d:"");eg("aria-label",U(21,36,b.currentSearchResults.backNavigationLabel$));C(4);F("hotkey",b.HOTKEYS.REFRESH_ISSUE);C(2);F("starred",U(26,38,b.starred$))("disabled",b.starToggleDisabled)("hotkey",b.HOTKEYS.TOGGLE_STAR);C(4);F("title",U(30,40,b.issueTitle$))("componentId",U(31,42,b.componentId$))("issueId",b.issueId)("hasAclToEdit",U(32,44,b.issuePermissionService.hasAclToEdit$));C(4);
G((e=U(34,46,b.issuesBlockedByCount$))?33:-1,e);C(5);F("issueId",b.issueId)}},dependencies:[y7,Ew,Hw,$D,oT,$H,bK,cK,hK,dK,nP,OV,x7,vD,Xy,FH,HH,xU,F7,b9c,D7,c9c,Iw],styles:[".row-1[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{align-items:flex-start}.row-2[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{flex-grow:1}.chip[_ngcontent-%COMP%]{margin-left:8px}mat-divider[_ngcontent-%COMP%]{height:16px;margin-left:12px;border-color:#dadce0;border-color:var(--divider)}.back-btn[_ngcontent-%COMP%]{margin-left:-4px}.mat-mdc-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:-2px}b-star-toggle[_ngcontent-%COMP%]{margin-right:4px}b-pagination-one-issue[_ngcontent-%COMP%]{margin-left:8px;height:22px;margin-top:-5px}[_nghost-%COMP%]     .b-chip{margin-right:0;max-width:100%}[_nghost-%COMP%]     issue-title, [_nghost-%COMP%]     issue-title h3{display:inline}[_nghost-%COMP%]     b-app-vote-button .gmat-mdc-button:not([disabled]):not([aria-pressed=true]), [_nghost-%COMP%]     smart-dupe-btn .mat-mdc-outlined-button:not([disabled]), [_nghost-%COMP%]     hotlist-picker-btn .mat-mdc-outlined-button:not([disabled]){background-color:#fff;background-color:var(--background)}"]});var H7=function(){var a=this;this.trackerHelpers=r(yL);this.trackerFridge=r(vH);this.activeSession=r(dv);this.issueTrackerId$=new bo(void 0);var b;this.currentTrackerId=(b=this.activeSession.getTracker())==null?void 0:b.trackerId;this.showTrackerBanner$=this.issueTrackerId$.pipe(B(function(c){return!a.currentTrackerId&&!!c}));this.tracker$=this.issueTrackerId$.pipe(Nf(function(c){return c?a.trackerFridge.watch(c):Fe(void 0)}));this.trackerRedirectUrl$=this.tracker$.pipe(B(function(c){return rr(a.trackerHelpers,
String(a.issueId),c)}))};ea.Object.defineProperties(H7.prototype,{trackerId:{configurable:!0,enumerable:!0,set:function(a){this.issueTrackerId$.next(a||void 0)}}});H7.\u0275fac=function(a){return new (a||H7)};
H7.\u0275cmp=t({type:H7,selectors:[["b-tracker-banner"]],inputs:{issueId:"issueId",trackerId:"trackerId"},decls:3,vars:5,consts:[[1,"tracker-banner"],["alt","",3,"src"],["mat-button","",1,"mat-stroked-button","gmat-mdc-button","small",3,"href"]],template:function(a,b){a&1&&(D(0,JLb,7,6,"div",0),S(1,"async"),S(2,"async"));if(a&2){var c;G((c=U(1,1,b.showTrackerBanner$)&&U(2,3,b.tracker$))?0:-1,c)}},dependencies:[vD,Wy,Iw],styles:[".tracker-banner[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);background-color:#fef7e0;background-color:var(--archived-bg-pale);-moz-box-sizing:border-box;box-sizing:border-box;width:100%;padding:8px 16px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.tracker-banner[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{background-color:#fff;background-color:var(--fab-button-bg);margin-left:auto;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.tracker-banner[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:24px;height:24px;padding:3px;margin-right:12px}.tracker-banner[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:.8125rem}"]});var I7=function(){var a=this;this.trackerHelpers=r(yL);this.trackerFridge=r(vH);this.activeSession=r(dv);this.imageUrls=r(iO);this.trackerId$=new bo(void 0);this.tracker$=this.trackerId$.pipe(Nf(function(b){return b?a.trackerFridge.watch(b):Fe(void 0)}));this.trackerName$=this.tracker$.pipe(B(function(b){return b?b.name:a.activeSession.getAppName()}));this.currentTrackerLogo$=Fe(this.getLogoUrl(this.activeSession.getTracker()));this.trackerLogo$=this.tracker$.pipe(B(function(b){return a.getLogoUrl(b)}));
this.trackerRedirectUrl$=this.tracker$.pipe(B(function(b){var c="";a.issue&&(c=String(a.issueId));a.component&&(c="components/"+a.componentId);return b?rr(a.trackerHelpers,c,b):nrc(a.trackerHelpers,c)}))};I7.prototype.getLogoUrl=function(a){if(a){var b;if((b=a.branding)==null||!b.logoUrl)return"https://www.gstatic.com/buganizer/img/v3/logo_light.svg"}else return this.imageUrls.LOGO_LIGHT;var c,d;return(d=(c=a.branding)==null?void 0:c.logoUrl)!=null?d:""};
I7.prototype.ngOnChanges=function(a){a.issue&&this.issue&&this.trackerId$.next(this.issue.trackerId);a.component&&this.component&&this.trackerId$.next(this.component.trackerId)};
ea.Object.defineProperties(I7.prototype,{showResourceContainer:{configurable:!0,enumerable:!0,get:function(){return this.issue!=null||this.component!=null}},issueId:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this.issue)==null?void 0:a.issueId}},issueType:{configurable:!0,enumerable:!0,get:function(){var a,b=(a=this.issue)==null?void 0:a.snapshot[0],c;return Oi((c=b==null?void 0:b.type)!=null?c:"TYPE_UNSPECIFIED")}},issueStatus:{configurable:!0,enumerable:!0,get:function(){var a,
b=(a=this.issue)==null?void 0:a.snapshot[0],c;return Pi[(c=b==null?void 0:b.status)!=null?c:"STATUS_UNSPECIFIED"]}},componentId:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this.component)==null?void 0:a.componentId}}});I7.\u0275fac=function(a){return new (a||I7)};
I7.\u0275cmp=t({type:I7,selectors:[["b-tracker-redirect"]],inputs:{issue:"issue",component:"component"},features:[Hd],decls:1,vars:1,consts:[[1,"carded","margin-top"],[1,"centered-inside","margin-bottom"],["alt","",1,"logo",3,"src"],["svgIcon","arrow-forward",1,"icon-l"],[1,"centered-inside","heading-l","margin-bottom"],[1,"centered-inside"],["mat-flat-button","","color","primary","matTooltip","Go to the issue","aria-label","Go to the issue",3,"href"]],template:function(a,b){a&1&&D(0,LLb,15,13,"div",
0);a&2&&G(b.showResourceContainer?0:-1)},dependencies:[$D,vD,Wy,FH,HH,Iw],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;align-items:center}ol[_ngcontent-%COMP%]{box-sizing:border-box;width:322px;padding-right:8px}li[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:16px;line-height:21px}li[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}label[_ngcontent-%COMP%]{width:100px;font-weight:bold;color:#5f6368;color:var(--text-muted);margin-right:8px;font-size:.8125rem}.logo[_ngcontent-%COMP%]{margin-right:4px;width:32px;height:32px}"]});var J7=function(){this.dynamicScrollIntoView=r(CV);this.paths=r(zO);this.routeParams=r(PL);this.baseIssueReferenceResolver=r(S5);this.destroyed$=new If(1);var a;this.issueId=(a=this.routeParams.issueId)!=null?a:""};
J7.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());a.issueId&&a.issueId!==this.issueId||!a.elementId?this.baseIssueReferenceResolver.visit(a):(CKc(this.dynamicScrollIntoView,{elementId:a.elementId,parentElement:document.body,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(Of(this.destroyed$)).subscribe(),history&&history.pushState(null,"",wq(this.issueId)+"#"+a.elementId))};J7.prototype.ngOnDestroy=function(){this.destroyed$.next()};
J7.\u0275fac=function(a){return new (a||J7)};J7.\u0275prov=n({token:J7,factory:J7.\u0275fac});var K7=function(){Z.call(this);var a=this;this.el=r(ge);this.router=r(HE);this.router.events.pipe(Ye(FDa),Of(this.destroyed$)).subscribe(function(){var b=["scrollY",a.rememberScroll,a.router.url.toString()].join("-"),c,d=(c=a.el.nativeElement)==null?void 0:c.scrollTop;d?window.sessionStorage.setItem(b,String(d)):window.sessionStorage.removeItem(b)});this.router.events.pipe(Ye(Co),Of(this.destroyed$)).subscribe(function(b){MLb(a.el.nativeElement,["scrollY",a.rememberScroll,b.url].join("-"))})};
Y(K7,Z);K7.\u0275fac=function(a){return new (a||K7)};K7.\u0275dir=ud({type:K7,selectors:[["","rememberScroll",""]],inputs:{rememberScroll:"rememberScroll"},features:[cg]});var L7=function(){};L7.\u0275fac=function(a){return new (a||L7)};L7.\u0275mod=u({type:L7});L7.\u0275inj=p({imports:[RE]});var QLb=function(a){return{monorailRedirectUrl:a}},kMb=function(){return{exact:!0}},M7=function(){Z.apply(this,arguments);var a=this;this.contextSensitiveRegistry=r(WL);this.issueFullFridge=r(yG);this.activeSession=r(dv);this.permissions=r(ZL);this.editIssueService=r(jM);this.counts=r(pZ);this.appEvents=r(nE);this.issueInteractionsTracking=r(VL);this.checkBeforeExit=r(iT);this.butterBar=r(hE);this.routerEvents=r(vG);this.devopsGraph=r(k2);this.refreshMonitor=r(MF);this.eventsForIssueFridge=r(yF);
this.currentUserBookmarksFridge=r(rF);this.permissionsFridge=r(WG);this.issueRelationshipsFridge=r(KG);this.issueService=r(IF);this.errorHandler=r(jE);this.monorailIssueRedirectApi=r(j7);this.domSafe=r(mM);this.helpMeFixService=r(YU);this.id$=this.contextSensitiveRegistry.getIssueId().pipe(Ye(kj));this.issue$=this.id$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}));this.readyForView$=aia(this.issue$.pipe(B(function(b){return{success:!!b}})),this.issueFullFridge.error$.pipe(Qf(this.id$),Ye(function(b){var c=
k(b);b=c.next().value;c=c.next().value;return!(!c||c!==b.idOrKey)}),B(function(){return{success:!1}})));this.mainIssueLoadError$=this.issueFullFridge.error$.pipe(Qf(this.id$),Ye(function(b){var c=k(b);b=c.next().value;c=c.next().value;return!(!c||c!==b.idOrKey)}),Nf(function(b){b=k(b);var c=b.next().value;b=b.next().value;switch(c.status){case 403:return Fe({status:c.status});case 404:return w8c(a.monorailIssueRedirectApi,b).pipe(B(function(d){return{status:c.status,monorailRedirectUrl:d==null?void 0:
d.toString()}}));default:return Fe({status:c.status})}}),Kf({refCount:!0,bufferSize:1}));this.issueTrackerId$=this.issue$.pipe(B(function(b){return b==null?void 0:b.trackerId}));this.showTrackerRedirect$=this.issueTrackerId$.pipe(B(function(b){var c;return a.shouldShowTrackerRedirect((c=a.activeSession.getTracker())==null?void 0:c.trackerId,b)}));this.snapshot$=this.issue$.pipe(B(function(b){return b==null?void 0:b.snapshot[0]}));this.archived$=this.snapshot$.pipe(B(function(b){return b==null?void 0:
b.isArchived}));this.deleted$=this.snapshot$.pipe(B(function(b){return b==null?void 0:b.isDeleted}));this.undeleteButtonTooltip$=this.permissions.canUndeleteIssue$.pipe(B(function(b){return b?void 0:"Only issue admins can undelete issues"}));this.inArchivedComponent$=this.issue$.pipe(B(function(b){return(b==null?void 0:b.isArchived)&&!(b==null?0:b.snapshot[0].isArchived)}));this.status$=this.issue$.pipe(B(function(b){return(b==null?void 0:b.snapshot[0].status)||void 0}));this.prettyStatus$=this.status$.pipe(Ye(kj),
B(function(b){return Pi[b]}));this.issue$.pipe(B(function(b){var c;return(c=b==null?void 0:b.snapshot[0].title)!=null?c:""}));this.issuesBeingBlocked$=this.issue$.pipe(B(function(b){var c;return(c=b==null?void 0:b.snapshot[0].blockingIssueId)!=null?c:[]}),Df(1E3),Nf(function(b){return a.issueFullFridge.watchSet(b)}));this.issue$.pipe(B(function(b){var c;return(c=b==null?void 0:b.snapshot[0].duplicateIssueId)!=null?c:[]}),Df(1E3),Nf(function(b){return a.issueFullFridge.watchSet(b)}));this.issueMetadata$=
Re(function(){return a.id$}).pipe(Ye(kj),Nf(function(b){return a.issueService.getMetadata(b)}),Kf({refCount:!0,bufferSize:1}));this.tabs=[{link:"./",title:"Comments",count$:this.counts.countCommentsDisplay$},{link:"./dependencies",title:"Dependencies",count$:this.counts.countDependenciesDisplay$},{link:"./dupes",title:"Duplicates",count$:this.counts.countDuplicateDisplay$},{link:"./blocking",title:"Blocking",count$:this.counts.countBlockedDisplay$},{link:"./resources",title:"Resources",count$:this.counts.countResourcesDisplay$}].concat(w(lu(this.activeSession,
"enableCodeMentionsUi")?[{link:"./todos",title:"TODOs",count$:this.counts.countTodosDisplay$}]:[]));this.enableHelpMeFixSidebar$=this.helpMeFixService.currentConfig$.pipe(B(function(b){return!!b}));this.isHelpMeFixSidebarOpen$=this.helpMeFixService.isHelpMeFixSidebarOpen$};Y(M7,Z);M7.\u0275dir=Z.\u0275dir;M7.prototype.shouldShowTrackerRedirect=function(a,b){return!!a&&a!==b};
M7.prototype.ngOnInit=function(){var a=this,b;return ve(function(c){if(c.nextAddress==1)return xe(c,Je(a.id$),2);b=c.yieldResult;a.appEvents.issueViewed.next(b);Trc(a.issueInteractionsTracking,b);a.subscriptions.add(a.mainIssueLoadError$.subscribe(function(d){return ve(function(e){if(e.nextAddress==1)return d.status===403?e.return():d.monorailRedirectUrl?xe(e,rq(1E3),3):e.jumpTo(2);if(e.nextAddress!=2)return nM(a.domSafe,d.monorailRedirectUrl),e.return();a.errorHandler.errorHandler(null,d);Ce(e)})}));
a.subscriptions.add(jT(a.checkBeforeExit,function(){return a.editIssueService.issueCommentDraft(b).comment().hasContent()},!1));a.subscriptions.add(a.routerEvents.routeChangeSuccess.subscribe(function(){a.butterBar.dismiss()}));a.subscriptions.add(a.issue$.pipe(Ye(kj),Cf()).subscribe(function(d){AG(a.issueFullFridge,[d.issueId],{userActivityType:"VIEW"})}));a.subscriptions.add(a.refreshMonitor.getObservable().subscribe(function(){a.issueInteractionsTracking.trackNavigation("refresh");a.permissionsFridge.poke("issues/"+
b);a.issueRelationshipsFridge.poke(b);a.issueFullFridge.poke(b);a.eventsForIssueFridge.poke(b);a.currentUserBookmarksFridge.pokeAll();AG(a.issueFullFridge,[b],{userActivityType:"RELOAD"})}));a.destroyed$.subscribe(function(){a.devopsGraph.close();var d=a.issueInteractionsTracking,e=d.getState(b);d.trackDestroy("edit-count",e.editCount);var f=Date.now()-e.startTime;Urc(d,f,"idp-time-on-page",e.variations);d.onUserActiveStatusUpdate(b,!1);d.resetState(b);d.stopActivityTracking$.next();a.editIssueService.clear(b)});
Ce(c)})};M7.\u0275fac=function(){var a;return function(b){return(a||(a=de(M7)))(b||M7)}}();
M7.\u0275cmp=t({type:M7,selectors:[["issue-details-wrapper"]],features:[Yg([sG,lM,{provide:zP,useClass:J7}]),cg],decls:12,vars:6,consts:[["showIssueDetails",""],["issueDetails",""],["showMonorailRedirect",""],["showNoAccessScreen",""],["tabPanel",""],["rla","routerLinkActive"],[1,"a11y-only"],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["hasBackdrop","false","autosize","true"],[4,"ngTemplateOutlet"],["mode","side","position","end",3,"autoFocus","opened","disableClose"],
[1,"flex-kids-y","pos-fill",3,"issue-editor-false"],[1,"bv2-limited-issue-view"],[1,"flex-kids-y","pos-fill"],[1,"border-bottom",3,"messageType","format","iconOverride"],["messageType","caution",1,"border-bottom",3,"format","iconOverride"],["messageType","error","format","app",1,"border-bottom"],[1,"issue-header"],[1,"flex-1","flex-kids-x","overflow","overflow-on-print-media"],["role","main","rememberScroll","center","cdkScrollable","",1,"flex-1","pos-rel","bg-off-main","overflow","overflow-on-print-media"],
[3,"issueId"],["href","http://go/buganizer-issue-archive","target","_blank"],["mat-button","","aria-label","Unarchive issue"],["mat-button","","aria-label","Unarchive issue",3,"click"],["href","http://go/buganizer/guides/manage-component#archiving-a-component","target","_blank"],["href","http://go/issue-retention","target","_blank"],["mat-button","","aria-label","Undelete issue",3,"matTooltip","disabled"],["mat-button","","aria-label","Undelete issue",3,"click","matTooltip","disabled"],[3,"issueId",
"trackerId"],["mat-tab-nav-bar","","gmat-tabs","",3,"tabPanel"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active","routerLinkActiveOptions"],[2,"margin-left","4px"],[3,"issue"],["target","_self",3,"href"],["data-test-id","internal-access-denied",3,"issueMetadata"],["data-test-id","public-access-denied"]],template:function(a,b){a&1&&(D(0,NLb,2,1,"h2",6),S(1,"async"),D(2,ULb,3,4),S(3,"async"),D(4,ZLb,3,3,"ng-template",null,0,fh)(6,qMb,3,3,"ng-template",null,1,fh)(8,rMb,4,2,"ng-template",
null,2,fh)(10,uMb,3,1,"ng-template",null,3,fh));if(a&2){var c,d;G((c=U(1,2,b.id$))?0:-1,c);C(2);G((d=U(3,4,b.readyForView$))?2:-1,d)}},dependencies:[h4,Hw,vE,JE,KE,ZP,$P,Vx,w7,G7,e3,vD,Vy,HZ,IZ,GZ,$O,WO,Qxc,XO,FH,HH,K7,H7,I7,Iw],styles:["[mat-tab-nav-bar][_ngcontent-%COMP%]{padding-left:8px;border-bottom:1px solid var(--divider)}mat-sidenav-container[_ngcontent-%COMP%]{height:100%;--mat-sidenav-container-divider-color: var(--divider)}"]});var N7=function(){Z.apply(this,arguments);var a=this;this.issueFullFridge=r(yG);this.butterBar=r(hE);this.duplicateIssueIds$=new bo([]);this.tableColumns="active-indicator title team id createdTime reporter menu".split(" ");this.initialSort={column:"createdTime",direction:"DESCENDING"};this.getMenuItems=function(b){return[{type:"action",label:"Remove duplicate",action:function(){a.removeDuplicate(b)},title:"Remove duplicate",icon:"clear"}]}};Y(N7,Z);N7.\u0275dir=Z.\u0275dir;
N7.prototype.ngOnInit=function(){};N7.prototype.removeDuplicate=function(a){var b=this,c;return ve(function(d){if(d.nextAddress==1)return we(d,2),xe(d,b.issueFullFridge.removeDuplicate(b.issueId,a),4);if(d.nextAddress!=2)return jv(d,0);c=Be(d);b.butterBar.showWarning("Could not remove duplicate "+a+". "+c);Ce(d)})};ea.Object.defineProperties(N7.prototype,{duplicateIds:{configurable:!0,enumerable:!0,set:function(a){this.duplicateIssueIds$.next((a!=null?a:[]).map(function(b){return String(b)}))}}});
N7.\u0275fac=function(){var a;return function(b){return(a||(a=de(N7)))(b||N7)}}();N7.\u0275cmp=t({type:N7,selectors:[["b-duplicates-table"]],inputs:{duplicateIds:"duplicateIds",issueId:"issueId"},features:[cg],decls:2,vars:3,consts:[[3,"issueIds","menuItemFactory","tableColumns","initialSort"]],template:function(a,b){a&1&&(D(0,vMb,1,4,"b-issues-table",0),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.duplicateIssueIds$))?0:-1,c)}},dependencies:[UV,Iw],encapsulation:2,changeDetection:0});var O7=function(){Z.apply(this,arguments);var a=this;this.paramsService=r(OL);this.issueFullFridge=r(yG);this.issuePicker=r(hS);this.snackBar=r(eE);this.counts=r(pZ);this.imageUrls=r(iO);this.ROBOT_SLEEPING=this.imageUrls.ROBOT_SLEEPING;this.id$=this.paramsService.issueId$;this.dupeUrl$=this.id$.pipe(B(function(b){return{path:"/issues",params:{q:"canonicalid:"+b}}}));this.issue$=this.id$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}));this.duplicateIds$=this.issue$.pipe(B(function(b){var c;
return(c=b==null?void 0:b.snapshot[0].duplicateIssueId)!=null?c:[]}));this.duplicatesCount$=this.duplicateIds$.pipe(Nf(function(b){return b.length===0?Fe(0):a.counts.duplicatesDualCount$.pipe(B(function(c){return c.total.count}))}));this.showTable$=this.duplicatesCount$.pipe(B(function(b){return b>0}),Mf(!0));this.didChooseDupes=function(b){var c=Xo(a.id$);c!=null&&wec(a.issueFullFridge,c,b[0]).catch(a.gotErr)};this.gotErr=function(b){a.snackBar.open(Kn(b)||"Error with network request","close",{panelClass:"error"})}};
Y(O7,Z);O7.\u0275dir=Z.\u0275dir;O7.prototype.isThinking=function(){return this.issueFullFridge.isThinking()};var wMb=function(a){a.issuePicker.open({title:"Add Duplicate",allowMultipleIds:!1,edgeType:"duplicate"},a.didChooseDupes)};O7.\u0275fac=function(){var a;return function(b){return(a||(a=de(O7)))(b||O7)}}();
O7.\u0275cmp=t({type:O7,selectors:[["b-issue-duplicates"]],features:[cg],decls:4,vars:4,consts:[[1,"carded","bg-main"],[1,"pos-tr","padded"],[1,"empty-state","layout-centered-column","gap"],["aria-hidden","true","alt","",3,"src"],[1,"type-l"],[1,"muted"],["href","https://developers.google.com/issue-tracker/guides/duplicate-issue",1,"nowrap"],["mat-flat-button","","color","primary","matTooltip","Add a duplicate to the current issue",1,"small",3,"click"],[1,"section-heading","muted"],["mat-flat-button",
"","color","primary","matTooltip","Add a duplicate to the current issue",1,"small","add",3,"click"],[3,"issueId","duplicateIds"],[1,"margin-s-top","flex-kids-x","gap-s"],["mat-button","","color","primary",1,"small",3,"routerLink","queryParams"]],template:function(a,b){a&1&&(I(0,"section",0),D(1,BMb,3,3),S(2,"async"),J(),D(3,CMb,2,0,"aside",1));if(a&2){var c;C();G((c=U(2,2,b.duplicateIds$))?1:-1,c);C(2);G(b.isThinking()?3:-1)}},dependencies:[JE,vD,Wy,Vy,FH,HH,JO,N7,Iw],styles:["[_nghost-%COMP%]{display:block;padding:8px}.section-heading[_ngcontent-%COMP%]{margin-top:0;margin-bottom:4px}ol[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;padding:8px;padding-left:16px;line-height:1.3}ol[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}ol[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{margin-left:auto;margin-top:-8px;margin-bottom:-8px}[_nghost-%COMP%]     .remove-btn{opacity:0;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;margin:-16px 0}[_nghost-%COMP%]     ol a:hover .remove-btn{opacity:1}ol[_ngcontent-%COMP%]   a[disabled=true][_ngcontent-%COMP%]{background:transparent;opacity:.5;cursor:default}[_nghost-%COMP%]     ol a[disabled=true] .remove-btn{opacity:0}.empty-state[_ngcontent-%COMP%]{padding:32px 0;max-width:30rem}.empty-state[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:150px;min-height:163px}button.add[_ngcontent-%COMP%]{margin-left:16px}\n/*# sourceMappingURL=issue_duplicates.css.map */"]});var P7=function(){};P7.\u0275fac=function(a){return new (a||P7)};P7.\u0275mod=u({type:P7});P7.\u0275inj=p({imports:[RE,YD,RK,Qz,Rz,JH,aP,LH,VK,HR,QI,LO,FY]});var Q7=function(){Z.call(this);var a=this;this.piperApi=r(l7);this.bug2codeService=r(q7);this.close=new rG;this.stages=[];setTimeout(function(){return a.generate()},1E3)};Y(Q7,Z);Q7.\u0275dir=Z.\u0275dir;
Q7.prototype.generate=function(){var a=this,b,c,d,e,f,h,l,q,v,y,E;return ve(function(H){switch(H.nextAddress){case 1:return xe(H,E8c(a.bug2codeService,a.issueId),2);case 2:return b=H.yieldResult,xe(H,F8c(a.bug2codeService,a.issueId),3);case 3:c=H.yieldResult,d=H8c(c);case 4:return d?xe(H,d9c(a,d),8):xe(H,e9c(a),7);case 7:e=H.yieldResult;d=H8c(e);H.jumpTo(4);break;case 8:return f=H.yieldResult,h=J8c(b,c,d,f.content),xe(H,f9c(a,"Analyzing issue using LLM",h),9);case 9:l=H.yieldResult;q="@@\n"+l;var O=
{title:"Previewing code changes",state:"complete",type:"diff-preview",blocks:[]};a.stages.push(O);O.blocks=G8c(q);O=Promise.resolve();return xe(H,O,10);case 10:var N=f.content,T={title:"Applying code changes",state:"in-progress",type:"process"};a.stages.push(T);try{var da=LJb(N,q);T.state="complete";O=Promise.resolve(da)}catch(ja){T.state="error",T.error=""+ja,O=Promise.reject(ja)}return xe(H,O,11);case 11:return v=H.yieldResult,y=I8c(d,q),xe(H,f9c(a,"Generating changelist description",y),12);case 12:return E=
H.yieldResult,a.stages.push({title:"Create changelist",description:E,state:"in-progress",type:"changelist-create",contents:v,revision:f.revision,path:d}),O=Promise.resolve(),xe(H,O,0)}})};
var e9c=function(a){return new Promise(function(b){var c={title:"Request file path (starting with either //depot/\u2026 or google3/\u2026)",state:"in-progress",value:"",type:"text-input",callback:function(){c.state="complete";b(c.value)}};a.stages.push(c)})},f9c=function(a,b,c){var d={title:b,state:"in-progress",type:"process"};a.stages.push(d);return a.bug2codeService.executePrompt(c).then(function(e){if(e.outputBlocked)throw d.state="error",d.error="LLM output blocked.",Error("jg");d.state="complete";
return e.outputs[0]})},d9c=function(a,b){var c={title:"Retrieving data from Piper",state:"in-progress",type:"process"};a.stages.push(c);return z8c(a.piperApi,b).then(function(d){c.state="complete";return{content:d.content,revision:d.revisionNumber}}).catch(function(d){c.state="error";c.error=d.message;throw d;})};
Q7.prototype.patch=function(a){var b=this;return ve(function(c){if(c.nextAddress==1){if(a.type!=="changelist-create")return c.return();a.state="complete";return xe(c,b.bug2codeService.patch(a.path,a.revision,b.issueId,a.contents,a.description),2)}b.close.emit();Ce(c)})};Q7.prototype.blocks=function(a){return a.type==="diff-preview"?a.blocks:[]};Q7.prototype.complete=function(){this.stages.push({title:"Complete",state:"complete",type:"process"});return Promise.resolve()};
Q7.\u0275fac=function(a){return new (a||Q7)};
Q7.\u0275cmp=t({type:Q7,selectors:[["b-bug2code-stepper"]],inputs:{issueId:"issueId"},outputs:{close:"close"},features:[cg],decls:2,vars:0,consts:[[1,"stage"],[1,"icon"],["svgIcon","clear",1,"icon-s"],["svgIcon","done",1,"icon-s"],["svgIcon","spark_24px",1,"icon-s"],[3,"class"],[1,"block"],["type","text",3,"keyup","disabled"],["color","primary","mat-flat-button","","cdkFocusInitial","",1,"medium","dialog-primary-action",3,"click","disabled"],[3,"lines"],[1,"changelist-description","codefont"],["color",
"primary","mat-flat-button","","cdkFocusInitial","",1,"medium","dialog-primary-action","magic",3,"click","disabled"]],template:function(a,b){a&1&&tg(0,MMb,9,3,"div",0,sg);a&2&&ug(b.stages.slice().reverse())},dependencies:[$D,vD,Vy,r7],styles:['[_nghost-%COMP%]{display:flex;flex-direction:column-reverse}[_nghost-%COMP%]   header[_ngcontent-%COMP%]{font-family:"Google Sans",Roboto,Arial,sans-serif}[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{background:var(--blue);display:inline-block;border-radius:100%;padding:6px;color:var(--white);margin-right:12px;width:18px;height:18px;vertical-align:top;text-align:center;line-height:20px}[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]   .icon-s[_ngcontent-%COMP%]{vertical-align:top}[_nghost-%COMP%]   header[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:1.3em;line-height:1.9}[_nghost-%COMP%]   section[_ngcontent-%COMP%]{border-left:1px solid var(--grey-400);margin:16px;padding:8px 16px}[_nghost-%COMP%]   section.process[_ngcontent-%COMP%]{padding:4px}.block[_ngcontent-%COMP%]{margin:4px 0}.block[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{color:var(--muted);font-weight:500}.block[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]{border:1px solid var(--text-secondary);border-radius:4px;width:100%;padding:4px}.block[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]:focus{border-color:var(--primary);outline-color:var(--primary)}.changelist-description[_ngcontent-%COMP%]{margin-bottom:18px}.magic[_ngcontent-%COMP%]{flex-shrink:0}.magic[_ngcontent-%COMP%]:hover:not([disabled]){background:linear-gradient(135deg, #d3e3fd, #d0f8ff, #a8c7fa, #99f0ff, #d3e3fd, #d3e3fd, #d0f8ff, #a8c7fa, #99f0ff, #d3e3fd) 50%/1500% 1500%;animation:_ngcontent-%COMP%_shimmer 2.1s linear infinite;color:var(--blue-800)}@keyframes _ngcontent-%COMP%_shimmer{0%{background-position:100% 100%}100%{background-position:top 37.5% left 37.5%}}']});var g9c=function(){this.dialogRef=r(dL);this.data=r(jL)};g9c.\u0275fac=function(a){return new (a||g9c)};
g9c.\u0275cmp=t({type:g9c,selectors:[["b-llm-generation-dialog"]],decls:11,vars:1,consts:[[1,"dialog"],["mat-dialog-title","",1,"heading"],[1,"heading-m"],["svgIcon","spark_24px",1,"icon-m"],["mat-dialog-content","",1,"content"],[3,"close","issueId"],["mat-dialog-actions","",1,"actions"],["mat-stroked-button","",1,"medium",3,"click"]],template:function(a,b){a&1&&(I(0,"article",0)(1,"header",1)(2,"h1",2),K(3,"mat-icon",3),I(4,"span"),Q(5," Generate LLM suggested change "),J()()(),I(6,"section",4)(7,
"b-bug2code-stepper",5),M("close",function(){b.dialogRef.close()}),J()(),I(8,"footer",6)(9,"button",7),M("click",function(){b.dialogRef.close()}),Q(10," Cancel "),J()()());a&2&&(C(7),F("issueId",b.data.issueId))},dependencies:[$D,vD,Vy,nL,pL,oL,Q7],styles:[".dialog[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;padding:24px;gap:24px;box-sizing:border-box;min-width:60vw;overflow-y:scroll}.dialog[_ngcontent-%COMP%]   .heading-m[_ngcontent-%COMP%]{line-height:26px}.dialog[_ngcontent-%COMP%]   .icon-m[_ngcontent-%COMP%]{display:inline-block;vertical-align:top}.dialog[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{flex-grow:1}.dialog[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]{display:flex;gap:12px}"]});var R7=function(){this.llmSuggestionService=r(XU);this.activeSession=r(dv);this.matDialogService=r(kL);this.analytics=r(wG);this.appEvents=r(nE);this.issueId="";this.isInternalSession=this.activeSession.isInternalSession();this.openInSidebar=lu(this.activeSession,"enableBug2CodeSidebar")};R7.prototype.ngOnInit=function(){this.showLlmSuggestion$=EJc(this.llmSuggestionService,this.issueId)};
R7.prototype.open=function(){this.analytics.trackEvent("bug2Code","generate",this.issueId);this.openInSidebar?this.appEvents.openHelpMeFixSidebar.next():this.openDialog()};R7.prototype.openDialog=function(){this.matDialogService.open(g9c,{panelClass:"no-jitter",maxWidth:"70vw",disableClose:!0,data:{issueId:this.issueId}})};R7.\u0275fac=function(a){return new (a||R7)};
R7.\u0275cmp=t({type:R7,selectors:[["llm-suggested-bug-fix"]],inputs:{issueId:"issueId"},decls:4,vars:3,consts:[["showHeader",""],["aiHelp",""],[1,"carded","margin-s-sides","margin-s-bottom","bg-main","flex-kids-x"],["svgIcon","spark_24px","color","primary",1,"margin-xs-right","shrink-0"],[1,"flex-kids-y","gap-s","full-width"],[3,"ngTemplateOutlet"],[1,"flex-kids-x","gap-s"],["color","primary","mat-flat-button","","color","primary","aria-label","Generate a LLM-suggested CL for this bug.",1,"small",
"generate",3,"click"],[1,"uppercase","badged","early-access"],[3,"panelTemplate"],["svgIcon","help-outline",1,"icon-s"],["target","_blank","href","http://go/bug2code-feedback","matTooltip","Provide feedback for bug2code.","aria-label","Page for providing feedback for bug2code.",1,"feedback-icon","feedback-button"],["svgIcon","feedback-outline",1,"icon-s"]],template:function(a,b){a&1&&(D(0,NMb,7,1,"div",2),S(1,"async"),D(2,PMb,9,1,"ng-template",null,0,fh));a&2&&G(b.isInternalSession&&U(1,1,b.showLlmSuggestion$)?
0:-1)},dependencies:[Hw,$D,vD,Vy,bO,SN,Iw],styles:[".bg-main[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg)}.generate[_ngcontent-%COMP%]{flex-shrink:0}.generate[_ngcontent-%COMP%]:hover{color:var(--blue-800);background:linear-gradient(135deg, #d3e3fd, #d0f8ff, #a8c7fa, #99f0ff, #d3e3fd, #d3e3fd, #d0f8ff, #a8c7fa, #99f0ff, #d3e3fd) 50%/1500% 1500%;animation:_ngcontent-%COMP%_shimmer 2.1s linear infinite}@keyframes _ngcontent-%COMP%_shimmer{0%{background-position:100% 100%}100%{background-position:top 37.5% left 37.5%}}mat-icon[_ngcontent-%COMP%]{vertical-align:bottom}[_nghost-%COMP%]     .llm-dialog{padding:10px}[_nghost-%COMP%]     .feedback-button{padding-left:8px;text-align:center;text-decoration:none}[_nghost-%COMP%]     .feedback-icon{color:var(--mat-icon-color)}"]});var S7=function(){Z.apply(this,arguments);var a=this;this.issueFullFridge=r(yG);this.issueTypeToDisplay=Oi;this.STATUS_JS_FULL_TEXT=Pi;this.STATUS_JS_TERSE=Q7b;this.DUPLICATE="DUPLICATE";this.id$=new If(1);this.issue$=this.id$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}));this.priority$=this.issue$.pipe(B(function(b){return(b==null?void 0:b.snapshot[0].priority)||void 0}));this.type$=this.issue$.pipe(B(function(b){var c;return(c=b==null?void 0:b.snapshot[0].type)!=null?c:void 0}));this.canonicalId$=
this.issue$.pipe(B(function(b){return b==null?void 0:b.snapshot[0].duplicateOfIssueId}));this.status$=this.issue$.pipe(B(function(b){return(b==null?void 0:b.snapshot[0].status)||void 0}));this.statusForChip$=this.status$.pipe(B(function(b){return S7b[b]?b:void 0}));this.statusCssClass$=this.status$.pipe(B(function(b){return a.computeStatusCssClass(b)}))};Y(S7,Z);S7.\u0275dir=Z.\u0275dir;S7.prototype.computeStatusCssClass=function(a){return a?"status-"+a:""};
ea.Object.defineProperties(S7.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});S7.\u0275fac=function(){var a;return function(b){return(a||(a=de(S7)))(b||S7)}}();
S7.\u0275cmp=t({type:S7,selectors:[["issue-description-area"]],inputs:{id:"id"},features:[cg],decls:13,vars:12,consts:[["canonicalHovercard","onedevHovercard"],["canonicalCardBody",""],[1,"flex-kids-x","gap-s"],[1,"chip-container","shrink-0","border-right","padded-s-right"],[3,"class"],[3,"issuePriority"],[3,"issueId"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"title"],[1,"type-s","nowrap"],[3,"routerLink","onedevHovercardTrigger"],[3,"onedevIsHovercardReady","issueId"]],
template:function(a,b){a&1&&(I(0,"div",2)(1,"div",3),D(2,RMb,6,10,"div"),S(3,"async"),D(4,SMb,2,4,"span",4),S(5,"async"),K(6,"b-issue-priority-display",5),S(7,"async"),J(),D(8,TMb,1,1,"b-issue-hotlists",6),S(9,"async"),J(),I(10,"onedev-hovercard",null,0),D(12,UMb,3,4,"b-issue-card",7),J());if(a&2){var c,d,e;C(2);G((c=U(3,4,b.statusForChip$))?2:-1,c);C(2);G((d=U(5,6,b.type$))?4:-1,d);C(2);F("issuePriority",U(7,8,b.priority$));C(2);G((e=U(9,10,b.id$))?8:-1,e)}},dependencies:[JE,bK,cK,hK,dK,XP,NV,pP,
Iw],styles:["[_nghost-%COMP%]{display:block}.chip-container[_ngcontent-%COMP%]{-webkit-align-self:start;-ms-flex-item-align:start;align-self:start;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px;line-height:22px}[_nghost-%COMP%]     .chip-container .b-chip, [_nghost-%COMP%]     .chip-container b-hotlist-chip, [_nghost-%COMP%]     .chip-container b-hotlist-recommendation-chip{margin-right:0}[_nghost-%COMP%]     .chip-container .b-chip, [_nghost-%COMP%]     .chip-container .chip, [_nghost-%COMP%]     .chip-container b-component-access-level-indicator .label{line-height:22px;height:22px}[_nghost-%COMP%]     .chip-container b-component-access-level-indicator .label{border-radius:11px}[_nghost-%COMP%]     .chip-container .b-chip.status{-moz-box-sizing:border-box;box-sizing:border-box;line-height:20px}.thread-filters[_ngcontent-%COMP%]{margin-top:-9px}\n/*# sourceMappingURL=issue_description_area.css.map */"],
changeDetection:0});var T7=function(){this.message=r(aE);this.snackbarRef=r(bE);this.DEFAULT_MESSAGE="New data is available. Click to refresh."};T7.prototype.onDismiss=function(a){this.snackbarRef.dismiss();a.stopPropagation()};T7.\u0275fac=function(a){return new (a||T7)};
T7.\u0275cmp=t({type:T7,selectors:[["refresh-data-notification"]],decls:6,vars:1,consts:[["role","button","aria-label","Refresh data",1,"refresh-data-notification-container",3,"click"],["svgIcon","refresh",1,"margin-right"],[1,"margin-xs-top","full-width"],["mat-icon-button","","aria-label","Dismiss new data notification",1,"refresh-data-notification-dismiss-button","small",3,"click"],["svgIcon","close",1,"icon-m"]],template:function(a,b){a&1&&(I(0,"div",0),M("click",function(){return b.snackbarRef.dismissWithAction()}),
K(1,"mat-icon",1),I(2,"p",2),Q(3),J()(),I(4,"button",3),M("click",function(c){return b.onDismiss(c)}),K(5,"mat-icon",4),J());a&2&&(C(3),R(" ",b.message||b.DEFAULT_MESSAGE," "))},dependencies:[$D,vD,Xy],styles:[".mat-mdc-snack-bar-container.refresh-data-notification{padding:0;min-height:auto;border-radius:8px;background-color:rgba(0,0,0,0);width:480px}.mat-mdc-snack-bar-container.refresh-data-notification .mdc-snackbar__surface{border-radius:8px;padding-right:0}.mat-mdc-snack-bar-container.refresh-data-notification .mat-mdc-snack-bar-label{padding:0}.refresh-data-notification-container{border-radius:8px;background-color:#1a73e8;background-color:var(--primary);color:#fff;cursor:pointer;display:flex;padding:8px 32px 8px 12px}.refresh-data-notification-dismiss-button{position:absolute;right:8px;top:8px}.refresh-data-notification-dismiss-button .mat-icon{color:#fff}/*# sourceMappingURL=refresh_data_notification.css.map */\n"],
encapsulation:2});var U7=function(){this.snackbar=r(eE)},h9c=function(a){var b=ep.REFRESH_ISSUE.displayAs,c={panelClass:"refresh-data-notification",data:"New comment available"};b&&(c.announcementMessage="New comment available. ",c.announcementMessage+="Press "+b+" to fetch new data.");a.currentSnackBar=a.snackbar.openFromComponent(T7,c);return a.currentSnackBar};U7.\u0275fac=function(a){return new (a||U7)};U7.\u0275prov=n({token:U7,factory:U7.\u0275fac,providedIn:"root"});var V7=function(){Z.apply(this,arguments);var a=this;this.eventsForIssue=r(yF);this.issueFullFridge=r(yG);this.preferences=r(yH);this.activeSession=r(dv);this.commentHistoryDialogService=r(JU);this.issueDetailsBrain=r(XL);this.errorHandler=r(jE);this.refreshDataNotification=r(U7);this.eventsForIssueWatcher=r(VS);this.analytics=r(wG);this.appEvents=r(nE);this.id$=new If(1);this.events$=this.id$.pipe(Nf(function(b){return a.eventsForIssue.watch(b)}),B(function(b){var c;return(c=b==null?void 0:b.events)!=
null?c:[]}));this.issue$=this.id$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}));this.accessLevel$=this.issue$.pipe(B(function(b){var c;return b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel}));this.enableLlmSummarization=lu(this.activeSession,"enableIssueSummarizationNoButton")&&this.activeSession.isInternalSession();this.enableInlineScreenshots$=this.preferences.showInlineImages$.pipe(B(Boolean),Mf(!0))};Y(V7,Z);V7.\u0275dir=Z.\u0275dir;
V7.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.issueDetailsBrain.urlComment$.subscribe(function(b){var c=b.commentNumber;b=b.commentVersion;if(c&&b!==void 0&&b>-1){var d=Xo(a.id$);d&&a.commentHistoryDialogService.show(d,c,b!=null?b:-1)}}));this.subscriptions.add(this.eventsForIssue.error$.subscribe(function(b){a.errorHandler.errorHandler(null,b)}));this.subscriptions.add(EDc(this.eventsForIssueWatcher,Xo(this.id$)).subscribe(function(){i9c(a)}));this.subscriptions.add(this.events$.subscribe(function(){var b;
(b=a.refreshDataNotification.currentSnackBar)==null||b.dismiss()}));this.destroyed$.pipe(Cf()).subscribe(function(){var b;(b=a.refreshDataNotification.currentSnackBar)==null||b.dismiss()})};
var i9c=function(a){a.analytics.trackEvent("pushUpdate","display","comment");h9c(a.refreshDataNotification).afterDismissed().subscribe(function(b){b.dismissedByAction?(a.analytics.trackEvent("pushUpdate","fetchResource","comment"),a.issueFullFridge.poke(Xo(a.id$)),a.eventsForIssue.poke(Xo(a.id$)),a.appEvents.scrollToCommentBox.next()):a.analytics.trackEvent("pushUpdate","dismiss","comment")})};ea.Object.defineProperties(V7.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});
V7.\u0275fac=function(){var a;return function(b){return(a||(a=de(V7)))(b||V7)}}();
V7.\u0275cmp=t({type:V7,selectors:[["issue-event-list"]],inputs:{id:"id"},features:[cg],decls:7,vars:16,consts:[[1,"margin-top"],[3,"issueId","events","issueAccessLevel","showFullHistory"]],template:function(a,b){a&1&&(D(0,VMb,2,0,"div",0),K(1,"b-event-stream",1),S(2,"async"),S(3,"async"),S(4,"async"),S(5,"async"),S(6,"async"));a&2&&(G(b.enableLlmSummarization?0:-1),C(),F("issueId",U(2,6,b.id$))("events",U(3,8,b.events$))("issueAccessLevel",U(4,10,b.accessLevel$))("showFullHistory",U(5,12,b.preferences.showFullHistory$)),
eg("data-will-inline-screenshots",U(6,14,b.enableInlineScreenshots$)?!0:null))},dependencies:[DV,vY,Iw],styles:["[_nghost-%COMP%]     .bv2-edit-issue-history-stream {\n      padding-left: 0;\n    }"]});var W7=function(){this.issueReferenceResolver=r(zP);this.userToString=Ui};W7.prototype.ngOnInit=function(){};W7.prototype.getCommentNumberLink=function(a){return aq(this.issueId,{comment:a})};W7.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};W7.\u0275fac=function(a){return new (a||W7)};
W7.\u0275cmp=t({type:W7,selectors:[["comments-info"]],inputs:{issueId:"issueId",comments:"comments"},decls:2,vars:0,consts:[["personCard",""],[1,"comment-info"],[1,"keep-focus-ring","hover-link",3,"routerLinkObj"],[1,"ldap",3,"onedevHovercardTrigger"],[3,"email"],[1,"keep-focus-ring","hover-link",3,"click","routerLinkObj"]],template:function(a,b){a&1&&tg(0,$Mb,5,3,"span",1,sg);a&2&&ug(b.comments)},dependencies:[OE,bK,hK,oM,rR],styles:["[_nghost-%COMP%]{overflow:hidden;display:flex;align-items:center;gap:4px;white-space:nowrap}.comment-info[_ngcontent-%COMP%]{display:flex;overflow:hidden;min-width:25px}.ldap[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:1000000;margin-right:3px}"],
changeDetection:0});var X7=function(){Z.apply(this,arguments);this.ngZone=r(hh)};Y(X7,Z);X7.\u0275dir=Z.\u0275dir;var j9c=function(a,b){return(new re(function(c){var d=new ResizeObserver(function(e){a.ngZone.run(function(){var f=e[0];c.next({height:f.contentRect.height,width:f.contentRect.width})})});d.observe(b);return function(){d.unobserve(b)}})).pipe(Of(a.destroyed$))};X7.\u0275fac=function(){var a;return function(b){return(a||(a=de(X7)))(b||X7)}}();X7.\u0275prov=n({token:X7,factory:X7.\u0275fac,providedIn:"root"});var k9c=["imagesSummaryWidget"],Y7=function(){var a=this;this.resizeService=r(X7);this.router=r(HE);this.route=r(ao);this.imageLinks$=new If(1);this.paginate=!1;this.container$=new If(1);this.containerResize$=this.container$.pipe(B(function(b){return b.nativeElement}),Nf(function(b){return j9c(a.resizeService,b)}));this.issueId$=new If(1);this.lastRenderedImageIndex$=new bo(0);this.allImages$=this.imageLinks$.pipe(B(function(b){b=b.map(function(c){if(c.comment){var d=gGa(c.href);if(d)return{src:d,
comment:c.comment}}}).filter(kj);return gNb(b)}));this.maxImagesInOneRow$=this.containerResize$.pipe(B(function(b){return Math.floor((b.width-16)/216)}),Kf({refCount:!0,bufferSize:1}));this.initialNumberOfImages$=this.maxImagesInOneRow$.pipe(B(function(b){return b*(a.paginate?4:2)}));this.imagesToRender$=Me([this.initialNumberOfImages$,this.allImages$,this.lastRenderedImageIndex$]).pipe(B(function(b){var c=k(b);b=c.next().value;var d=c.next().value;c=c.next().value;return a.paginate?d.slice(0,c||
b):d.slice(0,b)}),B(function(b){return b.map(function(c){var d;return Object.assign({},c,{srcCorp:(d=gGa(c.src,!0))!=null?d:""})})}),Ef())};Y7.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};Y7.prototype.ngOnInit=function(){this.issueId$.next(this.issueId)};Y7.prototype.ngAfterContentInit=function(){this.container$.next(this.container)};
ea.Object.defineProperties(Y7.prototype,{imageLinks:{configurable:!0,enumerable:!0,set:function(a){this.imageLinks$.next(a)},get:function(){return Xo(this.imageLinks$)}}});Y7.\u0275fac=function(a){return new (a||Y7)};
Y7.\u0275cmp=t({type:Y7,selectors:[["inline-images-summary"]],viewQuery:function(a,b){a&1&&Mg(k9c,7);if(a&2){var c;Qg(c=Rg())&&(b.container=c.first)}},inputs:{issueId:"issueId",imageLinks:"imageLinks",paginate:"paginate"},decls:4,vars:3,consts:[["imagesSummaryWidget",""],[1,"container"],[1,"image-wrapper"],["target","_blank",1,"thumbnail",3,"href"],[3,"showByDefault","src"],[3,"issueId","comments"],["mat-button","",1,"small","load-more-screenshots"],["mat-button","",1,"small","see-all-screenshots"],
["mat-button","",1,"small","load-more-screenshots",3,"click"],["mat-button","",1,"small","see-all-screenshots",3,"click"]],template:function(a,b){a&1&&(I(0,"div",null,0),D(2,fNb,2,3),S(3,"async"),J());if(a&2){var c;C(2);G((c=U(3,1,b.allImages$))?2:-1,c)}},dependencies:function(){return[W7,vD,Vy,NI,Iw,Z7]},styles:['.container[_ngcontent-%COMP%]{align-items:flex-start;display:flex;flex-flow:row wrap;justify-content:flex-start;max-height:390px;overflow:hidden}.show-all-images[_ngcontent-%COMP%]{max-height:100%}.image-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-bottom:8px}.image-wrapper[_ngcontent-%COMP%]   comments-info[_ngcontent-%COMP%]{margin:0 8px;max-width:200px}[_nghost-%COMP%]   a.thumbnail[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--surface-secondary);border:2px solid;border-color:#e8eaed;border-color:var(--c200);border-radius:8px;margin:8px;height:150px;width:200px;position:relative;overflow:hidden}[_nghost-%COMP%]   a.thumbnail[_ngcontent-%COMP%]:focus{border-color:#185abc;border-color:var(--primary-c800)}[_nghost-%COMP%]     a.thumbnail img{bottom:0;top:0;left:0;right:0;position:absolute;margin:auto;height:auto;width:auto;max-height:150%;max-width:150%}[_nghost-%COMP%]     a.thumbnail img::before{content:" ";position:absolute;left:0;height:100%;width:100%;background-color:#f8f9fa;background-color:var(--surface-secondary)}[_nghost-%COMP%]     a.thumbnail img::after{content:"\u274cBroken screenshot link";position:absolute;top:46%;left:0;width:100%;text-align:center}']});
var Z7=function(){};Z7.prototype.transform=function(a){return a.split(".png")[0]};Z7.\u0275fac=function(a){return new (a||Z7)};Z7.\u0275pipe=vd({name:"removePngExtension",type:Z7,pure:!0});var l9c={IMAGES:"SW-images",MENTIONED_ISSUES:"SW-mentioned-bugs",LINKS:"SW-links",SIMILAR_ISSUES:"SW-similar-issues"},vOb=[].concat(w(Object.values(l9c)));var m9c=function(a,b){var c=this;this.issueInteractionsTracking=a;this.analytics=b;this.recordInteractionOnce=Bk(function(d){c.analytics.trackEvent("editIssue","click",d)});this.recordImpressionOnce=Bk(function(){c.analytics.trackEvent("editIssue","view","SW")})},gOb=function(a,b,c){a.recordInteractionOnce(c);Uu(a.issueInteractionsTracking,b,c+"-content-interacted");Uu(a.issueInteractionsTracking,b,"SW-content-interacted")};var $7=function(){this.activeSession=r(dv);this.trackerHelpers=r(yL);this.linkText=this.rightText=this.leftText="";this.isExternalLink=!1;this.issueId=this.originalHref=this.redirectedHref=""};
$7.prototype.ngOnChanges=function(){var a;a:{var b=(a=this.sourceComment)==null?void 0:a.formattedComment;if(b){if(b.markdownFormat){a=nNb(b.markdownFormat.content);break a}if(b.literalFormat){a=nNb(b.literalFormat.content);break a}if(b.plainFormat){a=document.createElement("div");b=k(b.plainFormat.plainSection);for(var c=b.next();!c.done;c=b.next())(c=c.value.content)&&a.appendChild(nNb(c));break a}}a=void 0}if(a=a&&n9c(this,a)){b=a.dataset.bOriginalHref;c=a.dataset.bRedirectedHref;var d=a.dataset.bIssueId;
d&&(this.issueId=d);b&&c?(this.redirectedHref=c,this.originalHref=b,this.isExternalLink=!0):(this.originalHref=this.redirectedHref=a.href,this.isExternalLink=!1);b=[];for(c=a;c.previousSibling;){c=c.previousSibling;if(o9c.has(c.nodeName))break;d=void 0;b.push((d=c.textContent)!=null?d:"")}this.leftText=b.reverse().join("");b=[];for(c=a;c.nextSibling;){c=c.nextSibling;if(o9c.has(c.nodeName))break;d=void 0;b.push((d=c.textContent)!=null?d:"")}this.rightText=b.join("");this.linkText=a.innerText||a.href}else this.relatedLink&&
(c=b=a="",hp(this.relatedLink)?c=b=this.relatedLink.href:hGa(this.relatedLink)&&(a=this.relatedLink.issueId,b=this.getIssueUrl(this.relatedLink.issueId),c=this.relatedLink.issueId,c=this.activeSession.isInternalSession()?kra(rr(this.trackerHelpers,c),""):this.getIssueUrl(c)),this.issueId=a,this.originalHref=this.redirectedHref=b,this.isExternalLink=!1,this.rightText=this.leftText="",this.linkText=c)};
var n9c=function(a,b){if(a.relatedLink){if(hGa(a.relatedLink)){var c=a.relatedLink.issueId;return[].concat(w(b.querySelectorAll("a"))).find(function(e){return e.dataset.bIssueId===c})}if(hp(a.relatedLink)){var d=a.relatedLink;return[].concat(w(b.querySelectorAll("a"))).find(function(e){a:{var f=d.href;if(e.innerText===f)e=!0;else{try{f=(new URL(f)).href}catch(h){e=!1;break a}e=e.href===f||e.href.replace("https://cl.corp.google.com/","https://critique.corp.google.com/")===f?!0:!1}}return e})}}};
$7.prototype.getIssueUrl=function(a){return rr(this.trackerHelpers,a)};$7.\u0275fac=function(a){return new (a||$7)};
$7.\u0275cmp=t({type:$7,selectors:[["mentioned-link-with-context"]],inputs:{sourceComment:"sourceComment",relatedLink:"relatedLink"},features:[Hd],decls:7,vars:3,consts:[[1,"wrapper"],["aria-hidden","true",1,"muted","margin-xs-right","left"],[3,"href","originalHref"],["aria-hidden","true",1,"muted","margin-xs-left","right"],[3,"href","issueId"],["target","_blank",1,"keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(I(0,"div",0),Q(1," \u201c "),D(2,hNb,3,3,"span",1)(3,iNb,2,3,"b-external-hyperlink-widget",
2)(4,lNb,2,1)(5,mNb,2,1,"span",3),Q(6," \u201d\n"),J());a&2&&(C(2),G(b.leftText?2:-1),C(),G(b.isExternalLink?3:4),C(2),G(b.rightText?5:-1))},dependencies:[xP,BP,eM],styles:["[_nghost-%COMP%]{overflow:hidden}.wrapper[_ngcontent-%COMP%]{display:flex;align-items:center}.right[_ngcontent-%COMP%], .left[_ngcontent-%COMP%], b-external-hyperlink-widget[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}b-external-hyperlink-widget[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{max-width:max(80%,350px)}.right[_ngcontent-%COMP%], .left[_ngcontent-%COMP%]{flex-shrink:1000000;max-width:max(80%,200px);user-select:none}.left[_ngcontent-%COMP%]{direction:rtl;text-align:left;unicode-bidi:bidi-override}"],
changeDetection:0});var o9c=new Set(["BR"]);var a8=function(){var a=this;this.activeSession=r(dv);this.issueFullFridge=r(yG);this.router=r(HE);this.route=r(ao);this.issueReferenceResolver=r(zP);this.issueReferences$=new If(1);this.currentIssueId$=new If(1);this.paginate=!1;this.lastRenderedMentionedIssueIndex$=new bo(10);this.issuesMap$=this.issueReferences$.pipe(Ye(kj),Nf(function(b){var c=Rk(b.map(function(d){return d.issueId}));return a.issueFullFridge.watchSet(c).pipe(B(function(d){return new Map(d.map(function(e){return[e==null?void 0:
e.issueId.toString(),e]}))}),B(function(d){return new Map(c.map(function(e){return[e,d.get(e)]}))}))}));this.issueReferencesMap$=this.issueReferences$.pipe(Ye(kj),B(function(b){var c=new Map;b=k(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=d.issueId.toString();c.has(e)?c.get(e).push(d):c.set(e,[d])}return c}));this.allMentionedIssues$=Me([this.issueReferencesMap$,this.issuesMap$]).pipe(B(function(b){b=k(b);var c=b.next().value;b=b.next().value;return[].concat(w(b)).filter(function(d){return k(d).next().value!==
a.issueId}).map(function(d){var e=k(d);d=e.next().value;e=e.next().value;var f=c.get(d),h=f==null?void 0:f.map(function(l){var q,v,y=(q=l.comment)==null?void 0:(v=q.userPerformingActionUser)==null?void 0:v.emailAddress;return{commentNumber:l.sourceCommentNumber,author:(y==null?void 0:y.split("@")[0])+"@",issueEvent:l.comment}});return{hasViewAccess:!!e,issueId:d,shortIssueUrl:kra(a.activeSession.getAppBaseUrl(),d),sourceComments:h,title:e==null?void 0:e.snapshot[0].title,priority:e?e.snapshot[0].priority:
null,relatedLinks:f}})}));this.mentionedIssuesToRender$=Me([this.allMentionedIssues$,this.lastRenderedMentionedIssueIndex$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return a.paginate?b.slice(0,c):b.slice(0,5)}))};a8.prototype.getCommentNumberLink=function(a){return aq(this.issueId,{comment:a})};a8.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};
a8.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};ea.Object.defineProperties(a8.prototype,{issueReferences:{configurable:!0,enumerable:!0,set:function(a){this.issueReferences$.next(a)}},currentIssueId:{configurable:!0,enumerable:!0,set:function(a){this.currentIssueId$.next(a);this.issueId=a}}});a8.\u0275fac=function(a){return new (a||a8)};
a8.\u0275cmp=t({type:a8,selectors:[["b-mentioned-issues"]],inputs:{issueReferences:"issueReferences",currentIssueId:"currentIssueId",paginate:"paginate"},decls:2,vars:3,consts:[[3,"matTooltip","issuePriority"],[1,"issue-title-and-link"],[1,"padded-s-sides","title",3,"matTooltip"],[3,"sourceComment","relatedLink"],[1,"margin-left-auto",3,"issueId","comments"],["mat-button","",1,"small","load-more-issues"],["mat-button","",1,"small","see-all-issues"],["mat-button","",1,"small","load-more-issues",3,
"click"],["mat-button","",1,"small","see-all-issues",3,"click"]],template:function(a,b){a&1&&(D(0,uNb,2,3),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.mentionedIssuesToRender$))?0:-1,c)}},dependencies:function(){return[pP,vD,Vy,FH,HH,$7,W7,Iw,b8]},styles:["table[_ngcontent-%COMP%]{width:100%;display:block}table[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none}td[_ngcontent-%COMP%], tr[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;min-width:22px}.title[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:50px}mentioned-link-with-context[_ngcontent-%COMP%]{min-width:100px}.issue-title-and-link[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}.comment-author-and-number[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-column-gap:2px;-moz-column-gap:2px;column-gap:2px}b-issue-priority-display[_ngcontent-%COMP%]{min-height:24px;min-width:22px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.normal-link[_ngcontent-%COMP%]{text-decoration:underline}.see-all-issues[_ngcontent-%COMP%]{margin-left:-8px}"],
changeDetection:0});var b8=function(){};b8.prototype.transform=function(a){return a.map(function(b){return b.issueEvent}).filter(kj)};b8.\u0275fac=function(a){return new (a||b8)};b8.\u0275pipe=vd({name:"toComments",type:b8,pure:!0});var zNb=function(a,b){return b[0].href},c8=function(){var a=this;this.router=r(HE);this.route=r(ao);this.allLinks$=new If(1);this.issueId$=new If(1);this.lastRenderedRelatedLinkIndex$=new bo(10);this.paginate=!1;this.allLinkGroups$=this.allLinks$.pipe(B(function(b){return Bta(b,function(c){return c.href})}));this.linkGroupsToRender$=Me([this.allLinkGroups$,this.lastRenderedRelatedLinkIndex$]).pipe(B(function(b){var c=k(b);b=c.next().value;c=c.next().value;return a.paginate?DNb(b,c):b.length===6?DNb(b,
6):DNb(b,5)}))};c8.prototype.ngOnInit=function(){};c8.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};ea.Object.defineProperties(c8.prototype,{links:{configurable:!0,enumerable:!0,set:function(a){this.allLinks$.next(a)},get:function(){throw Error("Ef");}},issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return Xo(this.issueId$)}}});c8.\u0275fac=function(a){return new (a||c8)};
c8.\u0275cmp=t({type:c8,selectors:[["related-links-widget"]],inputs:{links:"links",issueId:"issueId",paginate:"paginate"},decls:2,vars:3,consts:[[1,"related-link","flex-kids-x","align-items-center","gap-s","margin-xs-bottom"],[3,"sourceComment","relatedLink"],[1,"margin-left-auto",3,"issueId","comments"],["mat-button","",1,"small","load-more-links"],["mat-button","",1,"small","see-all-links"],["mat-button","",1,"small","load-more-links",3,"click"],["mat-button","",1,"small","see-all-links",3,"click"]],
template:function(a,b){a&1&&(D(0,BNb,2,3),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.allLinkGroups$))?0:-1,c)}},dependencies:function(){return[W7,vD,Vy,$7,Iw,d8]},styles:["comments-info[_ngcontent-%COMP%]{flex-shrink:1.5;min-width:5em;justify-content:end}mentioned-link-with-context[_ngcontent-%COMP%]{max-width:90%}"],changeDetection:0});var CNb=Bj(function(a){return Math.min.apply(Math,w(a.map(function(b){return b.sourceCommentNumber})))},Cj),d8=function(){};d8.prototype.transform=function(a){return a.map(function(b){return b.comment}).filter(kj)};
d8.\u0275fac=function(a){return new (a||d8)};d8.\u0275pipe=vd({name:"toComments",type:d8,pure:!0});var e8=function(){qy.apply(this,arguments)};Y(e8,qy);e8.\u0275fac=function(){var a;return function(b){return(a||(a=de(e8)))(b||e8)}}();e8.\u0275dir=ud({type:e8,selectors:[["","expandable-tab-content",""]],features:[cg]});var f8=function(){qy.apply(this,arguments)};Y(f8,qy);f8.\u0275fac=function(){var a;return function(b){return(a||(a=de(f8)))(b||f8)}}();f8.\u0275dir=ud({type:f8,selectors:[["","expandable-tab-header",""]],features:[cg]});var g8=function(){qy.apply(this,arguments)};Y(g8,qy);
g8.\u0275fac=function(){var a;return function(b){return(a||(a=de(g8)))(b||g8)}}();g8.\u0275dir=ud({type:g8,selectors:[["","expandable-tab-icon",""]],features:[cg]});var h8=function(){};h8.prototype.ngOnInit=function(){};h8.\u0275fac=function(a){return new (a||h8)};
h8.\u0275cmp=t({type:h8,selectors:[["expandable-tab"]],contentQueries:function(a,b,c){a&1&&(Ng(c,f8,5,Jg),Ng(c,e8,5,Jg),Ng(c,g8,5,Jg));if(a&2){var d;Qg(d=Rg())&&(b.tabHeaderTemplate=d.first);Qg(d=Rg())&&(b.tabContentTemplate=d.first);Qg(d=Rg())&&(b.tabIconTemplate=d.first)}},inputs:{key:"key",ariaLabel:"ariaLabel"},decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var p9c=function(a,b){return b.key},q9c=function(a){return{allTabsExpanded:a}},FNb=function(a){return{tab:a}},XNb=function(){return[]},i8=function(){Z.apply(this,arguments);this.internalTabKeys$=new If(1);this.ariaLabel="";this.internalExpandedTabs=new KB;this.visibleExpandedTabs$=Me([this.internalTabKeys$,this.internalExpandedTabs.value$]).pipe(B(function(a){var b=k(a);a=b.next().value;var c=b.next().value;return a.filter(function(d){return c.has(d)})}));this.expandedTabsChanged=new rG;this.contentShownChanged=
new rG;this.tabs$=new bo([]);this.allTabsExpanded$=Me([this.tabs$,this.internalExpandedTabs.value$]).pipe(B(function(a){var b=k(a);a=b.next().value;var c=b.next().value;return a.every(function(d){return c.has(d.key)})}))};Y(i8,Z);i8.\u0275dir=Z.\u0275dir;
i8.prototype.ngAfterContentInit=function(){var a=this;this.subscriptions.add(this.internalTabs.changes.pipe(Mf(void 0),B(function(){return a.internalTabs.toArray()}),B(function(b){return new Map(b.map(function(c){return[c.key,c]}))}),Nf(function(b){return Me([Fe(b),a.internalTabKeys$])}),B(function(b){b=k(b);var c=b.next().value;return b.next().value.map(function(d){return Object.assign({},{key:d},c.get(d))})})).subscribe(this.tabs$));this.subscriptions.add(Me([this.internalTabKeys$,this.internalExpandedTabs.value$]).pipe(B(function(b){var c=
k(b);b=c.next().value;c=c.next().value;return Vqa(new Set(b),new Set(c))}),Ef(yi)).subscribe(function(b){a.contentShownChanged.emit(b)}))};i8.prototype.ngOnInit=function(){};i8.prototype.showAll=function(){this.internalExpandedTabs.add.apply(this.internalExpandedTabs,w(this.tabs$.value.map(function(a){return a.key})));this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};i8.prototype.hideAll=function(){this.internalExpandedTabs.clear();this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};
var MNb=function(a){var b;return ve(function(c){if(c.nextAddress==1)return xe(c,Je(a.allTabsExpanded$),2);(b=c.yieldResult)?a.hideAll():a.showAll();Ce(c)})};ea.Object.defineProperties(i8.prototype,{tabKeys:{configurable:!0,enumerable:!0,set:function(a){this.internalTabKeys$.next([].concat(w(a)))},get:function(){var a;return(a=Xo(this.internalTabKeys$))!=null?a:[]}},expandedTabs:{configurable:!0,enumerable:!0,set:function(a){this.internalExpandedTabs.reset(a)},get:function(){return[].concat(w(this.internalExpandedTabs))}}});
i8.\u0275fac=function(){var a;return function(b){return(a||(a=de(i8)))(b||i8)}}();
i8.\u0275cmp=t({type:i8,selectors:[["expandable-tabs"]],contentQueries:function(a,b,c){a&1&&Ng(c,h8,5);if(a&2){var d;Qg(d=Rg())&&(b.internalTabs=d)}},inputs:{tabKeys:"tabKeys",ariaLabel:"ariaLabel",expandedTabs:"expandedTabs"},outputs:{expandedTabsChanged:"expandedTabsChanged",contentShownChanged:"contentShownChanged"},features:[cg],decls:13,vars:10,consts:[["headerText",""],["spacer",""],[1,"tabs-row","flex-kids-x","centered-inside"],["role","tablist","aria-multiselectable","true",1,"expandable-tabs",
"flex-kids-x","centered-inside"],["mat-button","","role","tab",1,"expandable-tab","keep-focus-ring",3,"expanded"],["mat-button","",1,"small",3,"expandable-tabs-hide-all","expandable-tabs-show-all"],[1,"expandable-tabs-contents"],["mat-button","","role","tab",1,"expandable-tab","keep-focus-ring",3,"click"],["svgIcon","done",1,"icon-s"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngTemplateOutlet"],["mat-button","",1,"small",3,"click"],["role","tabpanel",3,"class","id"],["role","tabpanel",
3,"id"],[1,"spacer"]],template:function(a,b){a&1&&(I(0,"div",2)(1,"div",3),tg(2,LNb,9,19,"button",4,p9c),S(4,"async"),J(),D(5,NNb,2,6,"button",5),S(6,"async"),J(),I(7,"div",6),tg(8,ZNb,2,3,null,null,p9c),S(10,"async"),J(),D(11,dOb,2,1,"ng-template",null,0,fh));if(a&2){var c;C();eg("aria-label",b.ariaLabel);C();ug(U(4,2,b.tabs$));C(3);G((c=bh(8,q9c,U(6,4,b.allTabsExpanded$)))?5:-1,c);C(3);ug(U(10,6,b.tabs$))}},dependencies:[Hw,$D,vD,Vy,Iw],styles:[".expandable-tabs[_ngcontent-%COMP%]{gap:8px}.expandable-tab[_ngcontent-%COMP%]{padding:4px 12px 4px 8px;border-radius:16px;border:1px solid;border-color:#dadce0;border-color:var(--c300);color:#3c4043;color:var(--c800)}.expandable-tab.expanded[_ngcontent-%COMP%]{color:#1967d2;color:var(--primary-c700);background-color:#e8f0fe;background-color:var(--primary-c50);border-color:transparent}.expandable-tab[_ngcontent-%COMP%]:hover{-webkit-filter:brightness(95%);filter:brightness(95%)}[_nghost-%COMP%]     .expandable-tab.mat-mdc-button{line-height:unset;height:auto}[_nghost-%COMP%]     .expandable-tab.mat-mdc-button .mat-icon{margin-right:4px}.expandable-tabs-hide-all[_ngcontent-%COMP%], .expandable-tabs-show-all[_ngcontent-%COMP%]{margin-left:auto}.expandable-tab-content[_ngcontent-%COMP%]{margin-left:8px;margin-right:8px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.expandable-tab-content[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:4px;color:#202124;color:var(--c900);margin:16px 0}.expandable-tab-content[_ngcontent-%COMP%]   .spacer[_ngcontent-%COMP%]{margin-top:8px}.expandable-tab-content[_ngcontent-%COMP%]:not(:last-child){padding-bottom:16px;border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}\n/*# sourceMappingURL=expandable_tabs.css.map */"],
changeDetection:0});var hOb=function(){return[]},j8=function(){Z.apply(this,arguments);var a=this;this.activeSession=r(dv);this.userPreferencesManager=r(yH);this.issueInteractionsTracking=r(VL);this.issueFullFridge=r(yG);this.analytics=r(wG);this.eventsForIssueFridge=r(yF);this.similarIssuesApi=r(eP);this.TabKeys=l9c;this.issueId$=new If(1);this.alwaysStartCollapsed=!1;this.issue$=this.issueId$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}),Ye(kj));this.commentNumberToEventMap$=this.issueId$.pipe(Nf(function(b){return a.eventsForIssueFridge.watch(b)}),
B(function(b){var c;return(c=b==null?void 0:b.events)!=null?c:[]}),B(function(b){return new Map(b.filter(function(c){return!!c.commentNumber}).map(function(c){return[c.commentNumber,c]}))}));this.relatedLinks$=Me([this.issue$,this.commentNumberToEventMap$]).pipe(B(function(b){var c=k(b);b=c.next().value;var d=c.next().value;var e;return((e=b.relatedLinks)==null?void 0:e.map(function(f){return Object.assign({},f,{comment:d.get(f.sourceCommentNumber)})}))||[]}));this.imageLinks$=this.relatedLinks$.pipe(B(function(b){return b.filter(dGa)}));
this.distinctImageLinksCount$=this.imageLinks$.pipe(B(function(b){return Qk(b,function(c){return gGa(c.href)})}),B(function(b){return b.length}));this.shouldShowImages$=this.imageLinks$.pipe(B(function(b){return a.activeSession.isInternalSession()&&r9c(a,b)}));this.issues$=this.relatedLinks$.pipe(B(function(b){return b.filter(hGa)}));this.distinctIssuesCount$=this.issues$.pipe(B(function(b){return b.filter(function(c){return c.issueId!==a.issueId})}),B(function(b){return Qk(b,function(c){return c.issueId})}),
B(function(b){return b.length}));this.shouldShowIssues$=this.distinctIssuesCount$.pipe(B(Boolean));this.otherLinks$=this.relatedLinks$.pipe(B(function(b){return b.filter(iGa)}));this.distinctOtherLinksCount$=this.otherLinks$.pipe(B(function(b){return Qk(b,function(c){return c.href})}),B(function(b){return b.length}));this.shouldShowLinks$=this.otherLinks$.pipe(B(function(b){return a.shouldShowLinks(b)}));this.similarIssueIds$=this.issueId$.pipe(Ye(kj),Nf(function(b){return a.activeSession.isInternalSession()||
lu(a.activeSession,"enableSimilarIssueExternal")?fP(a.similarIssuesApi,{issueId:Number(b)}).pipe(B(function(c){return c.similarIssues})):Fe([])}),Pf(function(b){b.forEach(function(c){a.issueFullFridge.announce(c)})}),B(function(b){return b.map(function(c){return c.issueId})}),Kf({bufferSize:1,refCount:!0}));this.shouldShowSimilarIssues$=this.similarIssueIds$.pipe(B(function(b){return b.length>0}));this.tabKeys$=Me([this.shouldShowSimilarIssues$.pipe(B(function(b){return{show:b,key:"SW-similar-issues"}})),
this.shouldShowImages$.pipe(B(function(b){return{show:b,key:"SW-images"}})),this.shouldShowIssues$.pipe(B(function(b){return{show:b,key:"SW-mentioned-bugs"}})),this.shouldShowLinks$.pipe(B(function(b){return{show:b,key:"SW-links"}}))]).pipe(B(function(b){return b.filter(function(c){return c.show}).map(function(c){return c.key})}));this.shouldShowSummaryCard$=this.tabKeys$.pipe(B(function(b){return!!b.length}),Df(0,Zo));this.initiallyExpandedTabs=vOb.map(function(b){return igc(a.userPreferencesManager,
b)?void 0:b}).filter(kj);this.onTabExpanded$=new rG;this.issueSummaryTracking=new m9c(this.issueInteractionsTracking,this.analytics)};Y(j8,Z);j8.\u0275dir=Z.\u0275dir;
j8.prototype.ngOnInit=function(){var a=this;this.alwaysStartCollapsed&&(this.initiallyExpandedTabs=[]);this.subscriptions.add(this.onTabExpanded$.pipe(Af(1E3),Nf(function(b){var c=b.allTabKeys;var d=b.expandedTabKeys;return hgc(a.userPreferencesManager,Object.fromEntries(c.map(function(e){return[e,!d.has(e)]})))})).subscribe());this.subscriptions.add(this.tabKeys$.subscribe(function(b){var c=a.issueSummaryTracking,d=a.issueId;b=new Set(b);for(var e=k(b),f=e.next();!f.done;f=e.next())Uu(c.issueInteractionsTracking,
d,f.value+"-available");b.size>0&&Uu(c.issueInteractionsTracking,d,"SW-available")}))};j8.prototype.shouldShowLinks=function(a){return a.length===0||a.every(function(b){return b.sourceCommentNumber===1})?!1:!0};var r9c=function(a,b){if(b.length===0)return!1;b=b.every(function(c){var d;return c.sourceCommentNumber===1&&((d=c.comment)==null?void 0:d.formattingMode)==="MARKDOWN"});return zH(a.userPreferencesManager).showInlineImages&&b?!1:!0};
ea.Object.defineProperties(j8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return Xo(this.issueId$)}}});j8.\u0275fac=function(){var a;return function(b){return(a||(a=de(j8)))(b||j8)}}();
j8.\u0275cmp=t({type:j8,selectors:[["issue-summary-card"]],inputs:{issueId:"issueId",alwaysStartCollapsed:"alwaysStartCollapsed"},features:[cg],decls:4,vars:3,consts:[[1,"a11y-only"],["ariaLabel","issue summary sections",3,"tabKeys","expandedTabs"],["ariaLabel","issue summary sections",3,"expandedTabsChanged","contentShownChanged","tabKeys","expandedTabs"],["ariaLabel","Toggle screenshots summary section",3,"key"],["expandable-tab-icon",""],["expandable-tab-header",""],["expandable-tab-content",""],
["ariaLabel","Toggle mentioned issues summary section",3,"key"],["ariaLabel","Toggle links summary section",3,"key"],["ariaLabel","Toggle similar issues summary section",3,"key"],["svgIcon","image",1,"icon-s"],[3,"issueId","imageLinks"],[3,"click","issueId","imageLinks"],["svgIcon","bug_report_24px",1,"icon-s"],[3,"issueReferences","currentIssueId"],[3,"click","issueReferences","currentIssueId"],["svgIcon","link",1,"icon-s"],[3,"click","links","issueId"],["svgIcon","spark_24px","color","primary",
1,"icon-s"],[3,"issueId","similarIssueIds"],[3,"click","issueId","similarIssueIds"]],template:function(a,b){a&1&&(I(0,"h3",0),Q(1,"Issue summary"),J(),D(2,wOb,17,6,"expandable-tabs",1),S(3,"async"));if(a&2){var c;C(2);G((c=U(3,1,b.tabKeys$))?2:-1,c)}},dependencies:[$D,h8,e8,f8,g8,i8,Y7,a8,c8,VV,Iw],styles:["[_nghost-%COMP%]{display:block}.chip-container[_ngcontent-%COMP%]{display:flex}issue-summary-chip[_ngcontent-%COMP%]{margin:0 4px}inline-images-summary[_ngcontent-%COMP%]{display:block}inline-images-summary.hidden[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]     expandable-tabs .expandable-tabs-contents .SW-similar-issues{border-bottom:0;padding-bottom:8px}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"]});var k8=function(){this.matDialog=r(kL)};k8.prototype.show=function(a){this.dialog=this.matDialog.open(l8,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{statusUpdates:a}});return Je(eL(this.dialog))};k8.\u0275fac=function(a){return new (a||k8)};k8.\u0275prov=n({token:k8,factory:k8.\u0275fac,providedIn:"root"});var l8=function(){Z.apply(this,arguments);this.data=r(jL);this.dialogService=r(k8);this.dialogRef=r(dL);this.statusUpdates=this.data.statusUpdates};Y(l8,Z);l8.\u0275dir=Z.\u0275dir;
l8.prototype.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(Of(this.destroyed$)).subscribe(function(b){if(b.key==="Escape"){var c;(c=a.dialogService.dialog)==null||c.close()}});this.dialogRef.backdropClick().pipe(Of(this.destroyed$)).subscribe(function(){var b;(b=a.dialogService.dialog)==null||b.close()})};l8.\u0275fac=function(){var a;return function(b){return(a||(a=de(l8)))(b||l8)}}();
l8.\u0275cmp=t({type:l8,selectors:[["ng-component"]],features:[cg],decls:9,vars:1,consts:[["mat-dialog-title",""],["tabindex","0","mat-dialog-content",""],[1,"history-list"],[1,"version"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],[1,"bv2-event-user-image-cell"],[1,"bv2-event-user-image",3,"email"],[1,"version-header"],[1,"bv2-event-user-name",3,"model"],["mode","datetime",3,"timestamp"],[1,"muted","float-right","float-clear"],[1,"type-xs"],[1,"update-email"],[3,"email"]],template:function(a,
b){a&1&&(I(0,"h1",0),Q(1,"History for Status Update"),J(),I(2,"section",1)(3,"ul",2),tg(4,xOb,19,12,"li",3,sg),J()(),I(6,"footer",4)(7,"button",5),Q(8," Close "),J()());a&2&&(C(4),ug(b.statusUpdates),C(3),F("mat-dialog-close",void 0))},dependencies:[VM,vD,Vy,lL,nL,pL,oL,HK,wM,uM,XJ,qM],styles:[".history-list[_ngcontent-%COMP%]{overflow:auto;padding:0}.history-list[_ngcontent-%COMP%]   .version[_ngcontent-%COMP%]:first-child{border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider)}.version[_ngcontent-%COMP%]{position:relative;border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider);padding:8px 5px}.version-header[_ngcontent-%COMP%]{margin-left:40px}pre[_ngcontent-%COMP%]{cursor:auto;display:block;margin:20px 0 10px 40px;white-space:prewrap}b-formatted-date-time[_ngcontent-%COMP%]{float:right}.bv2-event-user-image-cell[_ngcontent-%COMP%]{padding-top:8px;padding-left:5px;margin:0}.update-email[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted)}\n/*# sourceMappingURL=status_update_history.css.map */"],
changeDetection:0});var s9c=["noteContainer"],KOb=function(a){return[a]},t9c={FRESH:0,STALE:1,NONE:2,0:"FRESH",1:"STALE",2:"NONE"},m8=function(){Z.apply(this,arguments);var a=this;this.analytics=r(wG);this.confirmationDialogService=r(rL);this.currentUser=r(W_);this.editStatusUpdateDialogService=r(a2);this.errorHandler=r(jE);this.issueFullFridge=r(yG);this.issuePermissionService=r(ZL);this.statusUpdateService=r(Z1);this.statusUpdateHistoryDialogService=r(k8);this.Freshness=t9c;this.UiState=u9c;this.FormattingMode=cB;
this.issueId$=new If(1);this.issue$=this.issueId$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}));this.componentId$=this.issue$.pipe(B(function(b){return b==null?void 0:b.snapshot[0].componentId}));this.accessLevel$=this.issue$.pipe(B(function(b){var c;return b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel}));this.issue$.pipe(B(function(b){var c;return b==null?void 0:(c=b.aggregatedData)==null?void 0:c.teamId}));this.isCollapsed=!1;this.statusUpdate$=this.issue$.pipe(B(function(b){return b==
null?void 0:b.statusUpdate}));this.statusUpdateAsNote$=this.statusUpdate$.pipe(Ye(kj),B(function(b){return{unlinkifiedComment:b.updateText,formattedComment:b.formattedText}}));this.semanticClass$=this.statusUpdate$.pipe(B(function(b){var c;return(c=nGa(b==null?void 0:b.updateText))!=null?c:""}));this.statusIsEmpty$=this.statusUpdate$.pipe(B(function(b){return((b==null?void 0:b.updateText)||"").trim()===""}));this.freshnessIndicator$=Me([this.statusIsEmpty$,this.statusUpdate$]).pipe(B(function(b){var c=
k(b);b=c.next().value;c=c.next().value;if(b)return 2;var d;b=(c==null?void 0:(d=c.updateTime)==null?void 0:d.seconds)||0;return Date.now()/1E3-b<86400?0:1}));this.uiState$=this.statusIsEmpty$.pipe(B(function(b){return b?1:2}),Mf(0));this.formattingModeOverride$=new bo(void 0);this.formattingMode$=Me([this.statusUpdate$,this.formattingModeOverride$]).pipe(B(function(b){var c=k(b);b=c.next().value;return(c=c.next().value)?c:(b==null?void 0:b.formattingMode)||"PLAIN"}));this.menuItems$=Me([this.issueId$,
this.statusUpdate$,this.issuePermissionService.hasAclToEdit$,this.issuePermissionService.hasAclToAdmin$,this.formattingMode$]).pipe(B(function(b){var c=k(b);var d=c.next().value;var e=c.next().value;b=c.next().value;var f=c.next().value;c=c.next().value;var h=e!=null;e=e&&(e==null?void 0:e.updateText)!=="";var l=[];e&&l.push({type:"submenu",label:"View as",className:"view-as-format",items:[{type:"select",label:"Classic",action:function(){a.formattingModeOverride$.next("PLAIN")},selected:c==="PLAIN"},
{type:"select",label:"Markdown",action:function(){a.formattingModeOverride$.next("MARKDOWN")},selected:c==="MARKDOWN"},{type:"select",label:"Source",action:function(){a.formattingModeOverride$.next("LITERAL")},selected:c==="LITERAL"}]});b&&l.push({type:"action",label:"Edit Status Update",action:function(){a.editStatusUpdate()}});h&&l.push({type:"action",label:"Show editing history",action:function(){v9c(a,d)}});e&&f&&l.push({type:"action",label:"Delete Status Update",action:function(){a.confirmationDialogService.open({title:"Delete Status Update?",
content:ti("\n                    Deleting a Status Update will remove it from the history. It\n                    will be purged after 30 days. This cannot be undone."),confirmButtonText:"Delete",onConfirm:function(){a.doDelete()}})}});l.push(w9c);return l}));this.showEditButton$=this.issuePermissionService.hasAclToEdit$};Y(m8,Z);m8.\u0275dir=Z.\u0275dir;
m8.prototype.ngOnInit=function(){var a=this;setTimeout(function(){var b,c;return ve(function(d){if(d.nextAddress==1)return xe(d,Je(a.uiState$.pipe(Ye(function(e){return e!==0}))),2);b=d.yieldResult;c=MOb(b);a.analytics.trackEvent("issue","statusUpdateDisplay",c);Ce(d)})},1E3)};m8.prototype.ngAfterViewInit=function(){var a;((a=this.noteContainer)==null?void 0:a.nativeElement.scrollHeight)>84&&(this.isCollapsed=!0)};
m8.prototype.editStatusUpdate=function(){var a=this,b,c,d,e,f,h,l,q;return ve(function(v){switch(v.nextAddress){case 1:return xe(v,Je(a.issueId$),2);case 2:return b=v.yieldResult,xe(v,Je(a.componentId$),3);case 3:return c=v.yieldResult,d={issueId:b,updateText:"",version:-1},f=(e=Xo(a.statusUpdate$))!=null?e:d,xe(v,Je(a.accessLevel$),4);case 4:return h=v.yieldResult,l=h==="INTERNAL"?"INTERNAL":"EXTERNAL",xe(v,a.editStatusUpdateDialogService.show(f,l,c),5);case 5:q=v.yieldResult;if(q==null)return v.return();
a.statusUpdateService.update(q).subscribe(function(y){a.didSave(b,y)},function(y){a.errorHandler.errorHandler(null,y)});Ce(v)}})};var AOb=function(a){var b,c;return ve(function(d){if(d.nextAddress==1)return xe(d,Je(a.issueId$),2);b=d.yieldResult;c=Xo(a.statusUpdate$);if(!c)return d.return();a.statusUpdateService.update(c).subscribe(function(e){a.didSave(b,e)},function(e){a.errorHandler.errorHandler(null,e)});Ce(d)})};
m8.prototype.didSave=function(a,b){this.issueFullFridge.manualUpdate(a,function(c){c.statusUpdate=b});this.issueFullFridge.poke(a)};var v9c=function(a,b){var c;ve(function(d){if(d.nextAddress==1)return xe(d,Je(U0c(a.statusUpdateService,b)),2);c=d.yieldResult;a.statusUpdateHistoryDialogService.show(c);Ce(d)})};
m8.prototype.doDelete=function(){var a=this,b;ve(function(c){if(c.nextAddress==1)return xe(c,Je(a.issueId$),2);b=c.yieldResult;a.statusUpdateService.delete(b).subscribe(function(){a.issueFullFridge.manualUpdate(b,function(d){d.statusUpdate=void 0});a.issueFullFridge.poke(b)});Ce(c)})};ea.Object.defineProperties(m8.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});m8.\u0275fac=function(){var a;return function(b){return(a||(a=de(m8)))(b||m8)}}();
m8.\u0275cmp=t({type:m8,selectors:[["status-update"]],viewQuery:function(a,b){a&1&&Mg(s9c,5);if(a&2){var c;Qg(c=Rg())&&(b.noteContainer=c.first)}},inputs:{issueId:"issueId"},features:[cg],decls:2,vars:3,consts:[["userCard",""],["noteContainer",""],[3,"display-none","short-height","class"],["svgIcon","group","color","primary",1,"margin-xs-right","shrink-0"],[1,"flex-kids-x","space-between","align-items-center"],[1,"flex-1-hemmed"],[1,"uppercase","inline-block","margin-s-right"],[1,"empty-message",
"muted","margin-s-right"],["mat-stroked-button","","aria-label","Edit Status Update","color","primary",1,"small"],["mat-stroked-button","","aria-label","Edit Status Update","color","primary",1,"small",3,"click"],[1,"flex-kids-x","space-between"],[1,"left"],[1,"uppercase","inline-block","margin-xs-right"],[1,"edit-info","right"],["matTooltip","Status Update actions",3,"buttonLabel","menuItems"],[1,"pos-rel"],["mat-stroked-button","","aria-label","Edit Status Update","color","primary",1,"small","margin-xs-right",
3,"click"],["mat-button","","aria-label","Mark Status Update as fresh","color","primary",1,"small","margin-xs-right","mark-fresh"],["mat-button","","aria-label","Mark Status Update as fresh","color","primary",1,"small","margin-xs-right","mark-fresh",3,"click"],["matTooltip","Last update made within 24 hours","svgIcon","check_circle_filled_24px",1,"fresh-checkmark"],[3,"onedevHovercardTrigger"],["mode","relativepast",1,"margin-s-right",3,"timestamp"],[3,"email"],[3,"issueId","issueAccessLevel","note",
"formattingMode"],["mat-stroked-button","","color","primary",1,"small","show-more"],["mat-stroked-button","","color","primary",1,"small","show-more",3,"click"]],template:function(a,b){a&1&&(D(0,LOb,5,13,"div",2),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.uiState$))?0:-1,c)}},dependencies:[UU,LP,$D,VM,bK,hK,oM,vD,Vy,FH,HH,Iw,rR],styles:['.collapsed[_ngcontent-%COMP%]{max-height:84px;overflow:hidden}.collapsed[_ngcontent-%COMP%]:after{content:"";height:40px;left:auto;position:absolute;top:44px;width:100%;background:-webkit-gradient(linear,left top,left bottom,from(transparent),to(var(--surface-default)));background:-webkit-linear-gradient(transparent,var(--surface-default));background:linear-gradient(transparent,var(--surface-default))}.fresh-checkmark[_ngcontent-%COMP%]{color:#1e8e3e;color:var(--good-gfx);vertical-align:middle;margin:0;margin-bottom:3px}.short-height[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}']});
var u9c={LOADING:0,EMPTY:1,NORMAL:2,0:"LOADING",1:"EMPTY",2:"NORMAL"},w9c={type:"action",label:"Using the Status Update field...",action:function(){Vc(window,Oc("https://developers.google.com/issue-tracker/concepts/status-update"),"_blank")},icon:"help-outline",className:"border-top"};var n8=function(){Z.apply(this,arguments);var a=this;this.brain=r(XL);this.preferences=r(yH);this.scrollTiming=r(c0);this.analytics=r(wG);this.element=r(ge);this.editIssueService=r(jM);this.appEvents=r(nE);this.routePerformance=r(sZ);this.clearcut=r(kG);this.activeSession=r(dv);this.issuePermissionService=r(ZL);this.id$=this.brain.id$;this.issueAndEvents$=Me([this.brain.issueJs$.pipe(Ye(Boolean)),this.brain.eventsJs$]);this.enableGoosePrompting=lu(this.activeSession,"enableGoosePrompting")&&this.activeSession.isInternalSession();
this.enableGoosePromptingSupportedIssues=lu(this.activeSession,"enableGoosePromptingSupportedIssues")&&this.activeSession.isInternalSession();this.showRecentEventsFirst=!1;this.comment$=this.id$.pipe(Ye(kj),Nf(function(b){return a.editIssueService.issueCommentDraft(b).comment$}));this.finishedRendering$=Me([this.brain.eventsJs$.pipe(Df(0)),mxa("#AddCommentBox textarea",this.element.nativeElement)]).pipe(Cf())};Y(n8,Z);n8.\u0275dir=Z.\u0275dir;
n8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Ye(kj),Of(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.destroyed$.subscribe(function(){x9c(a)});mxa("#comment1 .critical-feature",this.element.nativeElement).pipe(Of(this.destroyed$)).subscribe(function(){var b=function(){zXc(a.routePerformance,"issue-details-w-comments")};requestAnimationFrame(b);setTimeout(b)});this.subscriptions.add(this.issueAndEvents$.pipe(Gf()).subscribe(function(b){var c=
k(b);b=c.next().value;c=c.next().value;y9c(a,b,c)}));this.subscriptions.add(this.finishedRendering$.pipe(Qf(this.comment$)).subscribe(function(b){b=k(b);b.next();b.next().value.hasContent()&&a.appEvents.scrollToCommentBox.next()}))};
var y9c=function(a,b,c){var d=c.map(function(f){return f.unlinkifiedComment}),e=iua(b,c).length;b=jua(b,c);d=d.filter(Boolean).length;e=e>=5||d>=10||b>=10?"collab":"other";bec(a.clearcut,"view_idp_"+e);wo("dimension10",e);c=c.some(function(f){var h,l,q;return((q=(h=f.commentReactions)==null?void 0:(l=h.get("UPVOTE"))==null?void 0:l.count)!=null?q:0)>0});a.analytics.trackEvent("editIssue","view",c?"hasUpvoteReaction":"noUpvoteReaction")},x9c=function(a){var b=a.scrollTiming;if((b=b.scrollTimingMap.has("flex-1 pos-rel bg-off-main overflow overflow-on-print-media")?
b.scrollTimingMap.get("flex-1 pos-rel bg-off-main overflow overflow-on-print-media"):[])&&!(b.length<2)){for(var c=b[0],d=b[0],e=0,f=1;f<b.length;f++)b[f]-d<2E3||(e+=d-c,c=b[f]),d=b[f],f===b.length-1&&(e+=b[f]-c);a.analytics.trackEvent("editIssue","scroll","commentThread",e);lG(a.clearcut,e,"idp-time-scrolling-comments-recentFirst-"+a.showRecentEventsFirst)}};n8.\u0275fac=function(){var a;return function(b){return(a||(a=de(n8)))(b||n8)}}();
n8.\u0275cmp=t({type:n8,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&M("unload",function(){x9c(b)},!1,ie)},features:[cg],decls:7,vars:10,consts:[["issueSummaryCard",""],["id","bv2-edit-issue-details-scroll","tabindex","-1",3,"bFocus"],[1,"carded","margined-s","bg-main",3,"issueId","hidden"],[1,"carded","margined-s","bg-main",3,"recent-first"],[1,"margin-s-sides","margin-s-top","padded-left",3,"id"],[3,"issueId"],[1,"carded","margin-s-sides","margin-s-bottom","bg-main","highlighted-left",
3,"id"],[1,"carded","margined-s","bg-main",3,"issueId"],[1,"carded","margined-s","bg-main"],[3,"id"]],template:function(a,b){a&1&&(I(0,"div",1),D(1,OOb,4,4),S(2,"async"),D(3,POb,3,5,"issue-summary-card",2),S(4,"async"),D(5,SOb,5,5,"div",3),S(6,"async"),J());if(a&2){var c,d,e;F("bFocus",!0);C();G((c=U(2,4,b.id$))?1:-1,c);C(2);G((d=U(4,6,b.id$))?3:-1,d);C(2);G((e=U(6,8,b.id$))?5:-1,e)}},dependencies:[IV,W1,S7,uV,V7,j8,fU,m8,R7,Iw],styles:["issue-summary-card[_ngcontent-%COMP%]{padding:8px}.summary[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg)}"]});var o8=function(){};o8.\u0275fac=function(a){return new (a||o8)};o8.\u0275mod=u({type:o8});o8.\u0275inj=p({imports:[RE,Qz,JH,ML,NN,PN,uR,TN]});var p8=function(){};p8.\u0275fac=function(a){return new (a||p8)};p8.\u0275mod=u({type:p8});p8.\u0275inj=p({imports:[RE,MM,ML,yN,JH,nN,oR,Qz,Rz,PZ,LH,ay]});var q8=function(){Z.apply(this,arguments);this.prefs=r(yH)};Y(q8,Z);q8.\u0275dir=Z.\u0275dir;q8.prototype.onChange=function(a){this.prefs.save({useCodefont:a.checked}).pipe(Of(this.destroyed$)).subscribe()};q8.\u0275fac=function(){var a;return function(b){return(a||(a=de(q8)))(b||q8)}}();
q8.\u0275cmp=t({type:q8,selectors:[["b-toggle-code-font"]],features:[cg],ngContentSelectors:["*"],decls:3,vars:3,consts:[["matTooltip","Use a monospace typeface to display all comments",3,"change","checked"]],template:function(a,b){a&1&&(Dg(),I(0,"mat-slide-toggle",0),S(1,"async"),M("change",function(c){return b.onChange(c)}),Eg(2),J());a&2&&F("checked",U(1,1,b.prefs.codeFont$))},dependencies:[NH,OH,FH,HH,Iw],styles:["mat-slide-toggle[_ngcontent-%COMP%] {font-size: 14px; }"],changeDetection:0});var r8=function(){};r8.\u0275fac=function(a){return new (a||r8)};r8.\u0275mod=u({type:r8});r8.\u0275inj=p({imports:[RE,JH,yN,ML,QH,oR,LH,LO]});var s8=function(){};s8.\u0275fac=function(a){return new (a||s8)};s8.\u0275mod=u({type:s8});s8.\u0275inj=p({providers:[CU],imports:[RE,vR,JH,LH,p8,fW,VK,HR,yY,PR,IR,zY,r8,PZ]});var t8=function(){};t8.\u0275fac=function(a){return new (a||t8)};t8.\u0275mod=u({type:t8});t8.\u0275inj=p({imports:[RE,JH,oR]});var u8=function(){};u8.\u0275fac=function(a){return new (a||u8)};u8.\u0275mod=u({type:u8});u8.\u0275inj=p({imports:[pR,RE,uY,oY,PR,zY,JH,LH,LO,PZ,t8,BM,oR,wY]});var v8=function(){};v8.\u0275fac=function(a){return new (a||v8)};v8.\u0275mod=u({type:v8});v8.\u0275inj=p({imports:[RE,VK,pM,tR]});var w8=function(){};w8.\u0275fac=function(a){return new (a||w8)};w8.\u0275mod=u({type:w8});w8.\u0275inj=p({imports:[v8,RE,VK,pM,JH,tR,QI]});var x8=function(){};x8.\u0275fac=function(a){return new (a||x8)};x8.\u0275mod=u({type:x8});x8.\u0275inj=p({imports:[pR,RE,gM]});var y8=function(){};y8.\u0275fac=function(a){return new (a||y8)};y8.\u0275mod=u({type:y8});y8.\u0275inj=p({imports:[RE,IR,JH,LH,x8,WK,v8]});var z8=function(){};z8.\u0275fac=function(a){return new (a||z8)};z8.\u0275mod=u({type:z8});z8.\u0275inj=p({imports:[v8,RE,JH,x8]});var A8=function(){};A8.\u0275fac=function(a){return new (a||A8)};A8.\u0275mod=u({type:A8});A8.\u0275inj=p({imports:[RE,JH,sy]});var B8=function(){};B8.\u0275fac=function(a){return new (a||B8)};B8.\u0275mod=u({type:B8});B8.\u0275inj=p({imports:[RE,A8,w8,y8,z8,GY]});var C8=function(){};C8.\u0275fac=function(a){return new (a||C8)};C8.\u0275mod=u({type:C8});C8.\u0275inj=p({imports:[ML,yN,RE,xy,JH,pR,bU]});var D8=function(){};D8.\u0275fac=function(a){return new (a||D8)};D8.\u0275mod=u({type:D8});D8.\u0275inj=p({imports:[pR,RE]});var E8=function(){};E8.\u0275fac=function(a){return new (a||E8)};E8.\u0275mod=u({type:E8});E8.\u0275inj=p({imports:[RE,$M,JH,ML,xy,WK,tR,D8,BM]});var F8=function(){};F8.\u0275fac=function(a){return new (a||F8)};F8.\u0275mod=u({type:F8});F8.\u0275inj=p({imports:[tV,pR,RE,$M,C8,VK,pM,JH,LH,tR,E8,D8]});var G8=function(){};G8.\u0275fac=function(a){return new (a||G8)};G8.\u0275mod=u({type:G8});G8.\u0275inj=p({imports:[RE,RK,YD,Qz,JH,ML,aP,Rz,xY,X1,s8,oY,u8,B8,y8,rW,QI,F8,BM,LO,wY,o8]});var z9c=function(){var a=this;this.activeSession=r(dv);this.issueFullFridge=r(yG);this.issueDetailsBrain=r(XL);this.eventsForIssueFridge=r(yF);this.isInternalSession=this.activeSession.isInternalSession();this.issue$=this.issueDetailsBrain.id$.pipe(Nf(function(b){return a.issueFullFridge.watch(b)}),Ye(kj));this.commentNumberToEventMap$=this.issue$.pipe(B(function(b){return b.issueId}),Nf(function(b){return a.eventsForIssueFridge.watch(b)}),B(function(b){var c;return(c=b==null?void 0:b.events)!=null?
c:[]}),B(function(b){return new Map(b.filter(function(c){return!!c.commentNumber}).map(function(c){return[c.commentNumber,c]}))}));this.relatedLinks$=Me([this.issue$,this.commentNumberToEventMap$]).pipe(B(function(b){var c=k(b);b=c.next().value;var d=c.next().value;var e;return((e=b.relatedLinks)==null?void 0:e.map(function(f){return Object.assign({},f,{comment:d.get(f.sourceCommentNumber)})}))||[]}));this.issueReferences$=this.relatedLinks$.pipe(B(function(b){return b.filter(hGa)}));this.imageLinks$=
this.relatedLinks$.pipe(B(function(b){return b.filter(dGa)}));this.otherLinks$=this.relatedLinks$.pipe(B(function(b){return b.filter(iGa)}))};z9c.\u0275fac=function(a){return new (a||z9c)};
z9c.\u0275cmp=t({type:z9c,selectors:[["b-issue-resources"]],decls:3,vars:3,consts:[[1,"carded","bg-main"],["svgIcon","image",1,"icon-s"],[3,"issueId","imageLinks","paginate"],[1,"margin-bottom"],["svgIcon","bug_report_24px",1,"icon-s"],[3,"issueReferences","currentIssueId","paginate"],["svgIcon","link",1,"icon-s"],[3,"links","issueId","paginate"]],template:function(a,b){a&1&&(I(0,"section",0),D(1,$Ob,6,9),S(2,"async"),J());if(a&2){var c;C();G((c=U(2,1,b.issue$))?1:-1,c)}},dependencies:[$D,a8,Y7,c8,
Iw],styles:["[_nghost-%COMP%]{display:block;padding:8px}h4[_ngcontent-%COMP%]{margin:16px 0}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"]});var H8=function(){};H8.\u0275fac=function(a){return new (a||H8)};H8.\u0275mod=u({type:H8});H8.\u0275inj=p({imports:[RE,y8,w8,z8]});var I8=function(){var a=this;this.brain=r(XL);this.codeMentions=r(nZ);this.imageUrls=r(iO);this.ROBOT_SLEEPING=this.imageUrls.ROBOT_SLEEPING;this.id$=this.brain.id$.pipe(Ye(kj));this.codeMentionsState$=this.id$.pipe(Nf(function(b){return wXc(a.codeMentions,b)}))};I8.prototype.displayPackageNames=function(a){return this.codeMentions.displayPackageNames(a)};I8.prototype.trackSqueegeeClick=function(){this.codeMentions.trackSqueegeeClick()};I8.\u0275fac=function(a){return new (a||I8)};
I8.\u0275cmp=t({type:I8,selectors:[["issue-todos"]],decls:3,vars:3,consts:[[1,"carded","bg-main"],[1,"margin-top"],[1,"empty-state","layout-centered-column","gap"],[3,"issueId","packageMentionSet","displayPackageName"],["target","_blank",3,"click","href"],["aria-hidden","true","alt","",3,"src"],[1,"type-l"],[1,"muted"],["href","http://go/buganizer-guide/guides/issue-todos.md","target","_blank"]],template:function(a,b){a&1&&(I(0,"section",0),D(1,ePb,2,3),S(2,"async"),J());if(a&2){var c;C();G((c=U(2,
1,b.id$))?1:-1,c)}},dependencies:[R5c,Iw],styles:["[_nghost-%COMP%]{display:block;padding:8px}.empty-state[_ngcontent-%COMP%]{padding:32px 0;max-width:30rem}.empty-state[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:150px;min-height:163px}[_nghost-%COMP%]     .bv2-package-mention-set{height:auto}[_nghost-%COMP%]     .bv2-package-mention-set li{white-space:nowrap;margin-bottom:4px}\n/*# sourceMappingURL=issue_todos.css.map */"]});var J8=function(){this.cdr=r(sG,{self:!0});this.errorHandler=r(jE);this.currentUserBookmarksFridge=r(rF);this.isLoading=!1;this.hotlists=[];this.createHotlistPath=tq.createHotlist.makeHref()};J8.prototype.ngOnInit=function(){this.fetchUserHotlists()};J8.prototype.fetchUserHotlists=function(){var a=this;this.isLoading=!0;Je(sF(this.currentUserBookmarksFridge)).then(function(b){a.hotlists=b;a.isLoading=!1;a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
J8.\u0275fac=function(a){return new (a||J8)};
J8.\u0275cmp=t({type:J8,selectors:[["list-hotlists-page"]],features:[Yg([sG])],decls:8,vars:2,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],["mat-button","",1,"no-visited-no-active",3,"href"],[1,"bv2-view"],[3,"large"],[3,"hotlists"]],template:function(a,b){a&1&&(I(0,"h2",0),Q(1,"Browse Hotlists"),J(),I(2,"div",1)(3,"a",2),Q(4," Create Hotlist "),J()(),I(5,"div",3),D(6,fPb,1,1,"b-spinner",4)(7,gPb,1,1,"b-hotlist-grid",5),J());a&2&&(C(3),F("href",b.createHotlistPath,of),C(3),G(b.isLoading?
6:7))},dependencies:[J2,JO,vD,Wy],encapsulation:2});var A9c=new Set(["issueId","modifiedTime","createdTime"]),K8=function(){Z.call(this);var a=this;this.cdr=r(sG);this.routerEvents=r(vG);this.window=r(aL);this.bLocation=r(WI);this.$log=r(iE);this.issueApi=r(uD);this.hotlistApi=r(hF);this.activeSession=r(dv);this.butterBar=r(hE);this.analytics=r(wG);this.appSearchState=r(KY);this.issuePagination=r(j_);this.userPreferencesManager=r(yH);this.urlPreferences=r(L2);this.gridPreferencesFetcher=r(N2);this.paths=r(zO);this.timeout=r(UC);this.errorHandler=r(jE);
this.statusMessages=r(xL);this.domSafe=r(mM);this.appEvents=r(nE);this.hotlistFridge=r(mF);this.issueFullFridge=r(yG);this.batchIssueRelationshipsService=r(X3);this.componentFridge=r(AC);this.currentUserBookmarksFridge=r(rF);this.focusedRowIndex=this.displayColumns=null;this.isInitializing=!0;this.currentUserEmail=this.activeSession.getUserEmail();this.searchResults=null;this.hotlistChoices=[];this.hotlistMap={};this.customFieldMap={};this.gridControls=this.cachedSort=null;this.issueColumnsInternal=
[];this.metaColumns=[];this.sortPreferences=[];var b=[{keys:["j"],displayAs:"j",description:"Move to the next issue",onPress:function(){var c;(c=a.resultsGrid)==null||Rtb(c)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue",onPress:function(){var c;(c=a.resultsGrid)==null||Stb(c)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var c;(c=a.resultsGrid)==null||G1c(c)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",
onPress:function(){var c;(c=a.resultsGrid)==null||I1c(c)}},{keys:[cp("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var c;(c=a.resultsGrid)==null||J1c(c,!0)}},{keys:[cp("u")],displayAs:"Shift+u",description:"Mark as unread",onPress:function(){var c;(c=a.resultsGrid)==null||J1c(c,!1)}},{keys:[dp("*","a")],displayAs:"* then a",description:"Select all issues on this page",onPress:function(){var c;(c=a.resultsGrid)==null||c.selectAll()}},{keys:[dp("*","n")],displayAs:"* then n",
description:"Deselect all issues on this page",onPress:function(){var c;(c=a.resultsGrid)==null||D1c(c)}},{keys:["a"],displayAs:"a",description:"Change assignee",onPress:function(){var c;(c=a.gridControls)==null||p1(c,null,0)}},{keys:["d"],displayAs:"d",description:"Mark as duplicate",onPress:function(){var c;(c=a.gridControls)==null||p1(c,$k.DUPLICATE,3)}},{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var c;if((c=a.gridControls)!=null&&c.hasSelectedIssues()){var d;(d=c.hotlistPicker)==
null||d.open()}}},{keys:["r"],displayAs:"r",description:"Add comment",onPress:function(){var c;(c=a.gridControls)==null||G_c(c)}},{keys:["u",cp("r")],displayAs:"u / Shift+r",description:"Refresh search results",onPress:function(){return a.refreshResults()}},{keys:[dp("p","0"),dp("p","1"),dp("p","2"),dp("p","3"),dp("p","4")],displayAs:"p <n>",description:"Mark selected issues as priority n",onPress:function(c){a.resultsGrid&&a.sendBulkEditRequest([{actions:[{fieldName:"priority",value:"P"+c}],issueIds:a.resultsGrid.getSelectedIssues().map(function(d){return d.issueId})}])}},
{keys:[sFa("ENTER")],displayAs:"Ctrl+Enter",description:"Open current issue in new tab",onPress:function(){var c=a.window.document.activeElement;if(c.tagName==="A"){var d=a.paths.getBaseUrl();if(c.href&&!c.href.startsWith(d)){a.domSafe.openInNewTab(c.href);return}}var e;(e=a.resultsGrid)==null||t2(e,{openInNewTab:!0})}},{keys:["o","ENTER"],displayAs:"o / Enter",description:"Open the current issue",onPress:function(c){var d=a.window.document.activeElement;if(c===1&&d.tagName==="A")if(d.href)c=a.paths.getBaseUrl(),
d.href.startsWith(c)?a.bLocation.setUrl(d.href.slice(c.length)):a.domSafe.openInNewTab(d.href);else{var e;(e=a.resultsGrid)==null||t2(e)}else if(c===2){var f;(f=a.resultsGrid)==null||t2(f,{openInNewTab:!0})}else{var h;(h=a.resultsGrid)==null||t2(h)}}}];lu(this.activeSession,"enableIssueSidebar")&&b.push({keys:[cp("o"),cp("ENTER")],displayAs:"Shift+o / Shift+Enter",description:"Toggle current issue in sidebar",onPress:function(c){var d=a.window.document.activeElement;c===1&&d.tagName==="A"&&d.href?
Dq(a.domSafe,d.href):(c=a.resultsGrid)!=null&&(c.isIssueSidebarOpen=!c.isIssueSidebarOpen,c.cdr.detectChanges())}});this.BASE_HOTKEYS=b};Y(K8,Z);K8.prototype.ngOnInit=function(){var a=this;B9c(this);this.fetchUserHotlists();this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(){a.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(){a.fetchUserHotlists()}));this.routerEvents.routeUpdate.pipe(Of(this.destroyed$)).subscribe(function(){B9c(a)})};
var C9c=function(a){var b=[].concat(w(x0c));a.activeSession.isInternalSession()&&(a=b.indexOf("issueId"),b.splice(a,0,"minSlo"));return b.map(gu).filter(kj)};
K8.prototype.fetchUserHotlists=function(){var a=this;Je(sF(this.currentUserBookmarksFridge)).then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=a.hotlistMap[c.hotlistId];yi(d,c)||(d&&Sa(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var B9c=function(a){return D9c(a).then(function(){return a.getIssues()}).then(function(){return a.searchResults?(a.subscribeToIssueChanges(a.searchResults.issues),E9c(a,a.searchResults.startIndex,a.searchResults.endIndex)):Promise.resolve()}).finally(function(){a.cdr.detectChanges()})};
K8.prototype.subscribeToIssueChanges=function(a){var b=this,c;(c=this.issueSubscriptions)==null||c.unsubscribe();this.issueSubscriptions=new me;a=k(a);for(c=a.next();!c.done;c=a.next())this.issueSubscriptions.add(this.issueFullFridge.watch(c.value.id).pipe(Ye(kj),Of(this.destroyed$)).subscribe(function(d){var e;return ve(function(f){if(f.nextAddress==1)return b.searchResults?xe(f,Je(b.componentFridge.watch(d.snapshot[0].componentId,{trustUncertainMemory:!0})),3):f.jumpTo(2);if(f.nextAddress!=2){e=
f.yieldResult;if(!e||!b.searchResults)return f.return();dYc(b.searchResults,[{issue:d,component:e}]);b.searchResults=b.searchResults.clone()}b.cdr.detectChanges();Ce(f)})}))};
var F9c=function(a){return a.window.document.activeElement!=null&&a.window.document.activeElement!==a.window.document.body},D9c=function(a){var b=Ak();F9c(a)&&a.window.document.activeElement.blur();a.timeout.schedule(function(){b.resolve()});return b.promise},E9c=function(a,b,c){var d=Ak();F9c(a)||G9c(a,b,c);a.timeout.schedule(function(){d.resolve()});return d.promise},H9c=function(a,b){if(b.maySkipResults){b=ui(["Too many matching results. Some issues may be omitted.",vi("br"),"Please try to restrict your search further or change the sort column to either CREATED or LAST MODIFIED. "]);
var c={};c=vi("a",(c.href="http://go/buganizer-faq#restrict-search",c),"go/buganizer-faq");c=ui([vi("br"),"See ",c," for more details."]);b=a.activeSession.isInternalSession()?ui([b,c]):b;eac(a.butterBar,b)}};g=K8.prototype;
g.setSort=function(a,b,c){c=c===void 0?!0:c;var d=gu(a);if(d){var e=new ju(d,b==="ASC"?"ASCENDING":"DESCENDING");Ta(this.sortPreferences,function(f){return yi(f.fieldId,e.fieldId)});!c||A9c.has(a)?this.sortPreferences=[e]:this.sortPreferences=[e].concat(this.sortPreferences.slice(0,2));this.saveSortColumns(this.sortPreferences)}else this.$log.warn("WARNING: Invalid field name specified "+a)};
g.getSort=function(){if(!this.sortPreferences.length)return null;var a=this.sortPreferences[0];a={field:a.fieldId.type==="CUSTOM_FIELD"?String(a.fieldId.customFieldId):Ci(a.fieldId.type),direction:a.direction==="ASCENDING"?"ASC":"DESC"};yi(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};g.saveSortColumns=function(a){M2(this.urlPreferences,{sortColumns:a,page:1})};
g.initColumns=function(a,b){var c=this;b=b===void 0?I9c:b;a.then(function(d){c.displayColumns=d;c.metaColumns=b;c.isColumnSaveEnabled=!0;c.issueColumnsInternal=[].concat(w(b),w(Ipb(d)));c.cdr.detectChanges()})};g.saveColumns=function(a){this.displayColumns=a.map(function(b){return gu(b.name)});M2(this.urlPreferences,{displayColumns:this.displayColumns})};
g.goToIssue=function(a,b,c){var d;c&&((d=c.target)==null?void 0:d.tagName)==="A"||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"viewIssue",b?"read":"unread"),a=wq(a),c&&(c.ctrlKey||c.metaKey||c.button===1)?this.domSafe.openInNewTab(a):c&&c.shiftKey?Dq(this.domSafe,a):this.bLocation.setUrl(a))};g.goToPage=function(a){this.bLocation.search("p",a)};var Vu=function(a,b,c){b!==void 0&&a.goToPage(b+c)};g=K8.prototype;g.refreshResults=function(){lYc(this.issuePagination);return B9c(this)};
g.hasResults=function(){return this.searchResults&&this.searchResults.issues.length>0};
g.sendBulkEditRequest=function(a,b){var c=this;if(a.length===1&&a[0].actions.length===1&&a[0].actions[0].fieldName==="readState"){var d=!!a[0].actions[0].value;b=k(a[0].issueIds);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=void 0;(f=this.searchResults)==null||eYc(f,e,d)}this.cdr.detectChanges();du(this.butterBar,"Saving changes...",0);return AG(this.issueFullFridge,a[0].issueIds,{markRead:d,userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(l){for(var q=k(a[0].issueIds),v=q.next();!v.done;v=
q.next()){v=v.value;var y=void 0,E=void 0;(y=c.searchResults)==null||eYc(y,v,void 0,(E=l)!=null?E:null)}du(c.butterBar,"Successfully marked issues "+(d?"read.":"unread."))}).catch(function(l){for(var q=k(a[0].issueIds),v=q.next();!v.done;v=q.next()){v=v.value;var y=void 0;(y=c.searchResults)==null||eYc(y,v)}c.errorHandler.errorHandler(null,l)}).finally(function(){c.cdr.detectChanges()})}e=dJa(a).map(function(l){return l.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));
var h={bulkEditOps:a};du(this.butterBar,"Saving changes...",0);return a.length===1&&a[0].actions.length===1&&a[0].actions[0].fieldName==="parentId"?this.batchIssueRelationshipsService.bulkEdit(a[0]).then(function(l){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var q=k(c.searchResults.issues.entries()),v=q.next();!v.done;v=q.next()){var y=k(v.value);v=y.next().value;y=y.next().value;l.finishedIssues[y.issueId]&&(v=c.searchResults.issues[v],Vib(v,l.finishedIssues[y.issueId],null),
c.loadHotlists(v),Object.assign(c.customFieldMap,v.customFieldMap))}c.cdr.detectChanges()}y=a[0];q=l.notFinishedIssueIds;v=String(y.actions[0].value);y=y.actions[0].actionType;if(y!=="ADD"&&y!=="REMOVE")throw Error("$f");q.length?(c.butterBar.showWarning("Failed to update issue(s) "+q.join(", ")+"."),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+q.length)):du(c.butterBar,(y==="ADD"?"Added child issue(s) to parent ["+v+"]":"Removed child issue(s) from parent ["+v+"]")+" on "+String(Object.keys(l.finishedIssues).length)+
" issues.");c.cdr.detectChanges()}).catch(function(l){c.errorHandler.errorHandler(null,l)}):this.issueApi.issueBulkEdit(h,b).then(function(l){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var q=k(c.searchResults.issues.entries()),v=q.next();!v.done;v=q.next()){var y=k(v.value);v=y.next().value;y=y.next().value;l.affectedIssues[y.issueId]&&(y=l.affectedIssues[y.issueId],v=c.searchResults.issues[v],Vib(v,y,l.componentMap[La(y.snapshot).componentId]),c.loadHotlists(v),Object.assign(c.customFieldMap,
v.customFieldMap))}c.cdr.detectChanges()}l.errors&&l.errors.length?(q="Failed to update issue(s) "+(Gi(l.errors,"issueId").join(", ")+"."),c.butterBar.showWarning(q),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+l.errors.length)):(l=jrc(c.statusMessages,h,c.customFieldMap))?du(c.butterBar,l):du(c.butterBar,"Saved "+eJa(h.bulkEditOps).length+" issue(s).");c.cdr.detectChanges()}).catch(function(l){c.errorHandler.errorHandler(null,l)})};
g.loadHotlists=function(a){var b=this;a=k(a?[a]:this.searchResults?this.searchResults.issues:[]);for(var c=a.next();!c.done;c=a.next()){c=c.value;if(!c.hotlistId)break;c=k(c.hotlistId);for(var d=c.next();!d.done;d=c.next())d=d.value,this.hotlistMap[d]||this.hotlistApi.get(d).then(function(e){b.hotlistFridge.announce(e);b.addHotlist(e)}).catch(function(){})}};g.addHotlist=function(a){this.hotlistMap[a.hotlistId]||(this.hotlistMap[a.hotlistId]=a,this.hotlistChoices.push(a))};
g.createHotlist=function(a){var b=this;var c=a.name;var d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"createHotlist");du(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);du(b.butterBar,"Hotlist "+c+" created successfully.");b.hotlistChoices.push(e);b.hotlistMap[e.hotlistId]=e;b.appEvents.hotlistCreated.next();d(e);b.cdr.detectChanges()}).catch(a)};
g.loadHotlist=function(a){var b=this;var c=a.hotlistId;var d=a.successCallback;a=a.errorCallback;du(this.butterBar,"Loading hotlist "+c);this.hotlistMap[c]||this.hotlistApi.get(c).then(function(e){b.hotlistFridge.announce(e);b.addHotlist(e);d(e);b.cdr.detectChanges()}).catch(a)};g.exportCsv=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"exportCsv");nM(this.domSafe,this.getCsvUrl())};
g.saveResultsPerPage=function(a){var b=this;this.userPreferencesManager.save({resultsPerPage:a}).pipe(Of(this.destroyed$)).subscribe(function(){b.resultsPerPage=a;M2(b.urlPreferences,{page:1});b.analytics.trackEvent(b.ANALYTICS_CATEGORY,"resultsPerPageSave",a.toString());b.refreshResults();b.cdr.detectChanges()},function(c){qj(c)})};
var G9c=function(a,b,c){var d=a.issuePagination.getFocusedIssue();a.timeout.schedule(function(){if(d>=b&&d<=c)a.focusedRowIndex=d-b;else{nYc(a.issuePagination);a.focusedRowIndex=0;var e=document.querySelector(".bv2-view");e&&(e.scrollTop=0)}a.cdr.detectChanges()})},oPb=function(){setTimeout(function(){var a=document.querySelector(".b-select-all-toggle");a&&a.focus()})};
ea.Object.defineProperties(K8.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){yi(this.issueColumnsInternal,a)||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"columnModification",HDa(this.issueColumnsInternal.map(function(b){return b.toString()}),a.map(function(b){return b.toString()}))),this.issueColumnsInternal=a,this.saveColumns(this.issueColumns.slice(this.metaColumns.length)))}}});var I9c=[u2,v2,w2];
K8.\u0275fac=function(a){return new (a||K8)};K8.\u0275dir=ud({type:K8,features:[cg]});var kPb=function(){return{q:"status:open"}},L8=function(){K8.apply(this,arguments);this.hotkeys=r(YH);this.pageTitle=r(k_);this.routePerformance=r(sZ);this.element=r(ge);this.imageUrls=r(iO);this.ANALYTICS_CATEGORY="listIssues";this.isLoading=!0;this.showHotlists=!1;this.SPACE_EMPTY_STATE=this.imageUrls.SPACE_EMPTY_STATE;this.currentTracker=this.activeSession.getTracker();this.cancelConcurrentlyRunningSearches$=new Jf};Y(L8,K8);L8.\u0275dir=K8.\u0275dir;g=L8.prototype;
g.ngOnInit=function(){var a=this;K8.prototype.ngOnInit.call(this);this.subscriptions.add(ZH(this.hotkeys,{title:"Issue List",hotkeys:this.BASE_HOTKEYS}));this.subscriptions.add(this.userPreferencesManager.listViewPreferences$.subscribe(function(b){a.showHotlists=b.showHotlists}))};
g.getIssues=function(){var a=this,b=this.bLocation.search().warning;b&&(Array.isArray(b)&&(b=b[0]),this.butterBar.showWarning(b));this.query=this.urlPreferences.getQuery();if(!this.query)return this.activeSession.isAnonymous()?(this.query="",LY(this.appSearchState,this.query),this.searchResults=null,this.setPageTitle(),this.isLoading=!1):(this.routePerformance.ignoringNextNav=!0,M2(this.urlPreferences,{query:"assignee:"+this.currentUserEmail+" status:open"},!0)),Promise.resolve(void 0);LY(this.appSearchState,
this.query);b=lWc(this.appSearchState);if(b>0)return Sic(this.bLocation,tq.viewHotlist.makeHref(b)),M2(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);b=mWc(this.appSearchState);if(b>0)return Sic(this.bLocation,this.paths.viewSavedSearch(b)),M2(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);this.searchResults=null;this.isLoading=!0;this.setPageTitle();this.subscriptions.add(Qe(Ve(0).pipe(dka()),mxa("b-issues-grid, #no-results",this.element.nativeElement)).subscribe(function(){var c=
function(){zXc(a.routePerformance,"issue-list-w-results")};requestAnimationFrame(c);setTimeout(c)}));return this.doSearch().then(function(c){c&&(a.isLoading=!1,a.cdr.detectChanges())}).catch(function(){a.isLoading=!1;a.cdr.detectChanges()})};
g.doSearch=function(){var a=this;this.cancelConcurrentlyRunningSearches$.next(new J9c);var b=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,query:"",sortColumns:[],displayColumns:C9c(this)}),c=Promise.race([b.searchPreferences.then(function(f){f=zi(f);f.query=a.query;f.returnUrl=a.bLocation.getUrl();f.trackerIds=a.appSearchState.currentTrackerScope;return iYc(a.issuePagination,f)}),Je(this.cancelConcurrentlyRunningSearches$)]),d;((d=this.query)==null?0:d.includes("teamid:"))&&this.analytics.trackEvent(this.ANALYTICS_CATEGORY,
"searchByTeam");var e;((e=this.query)==null?0:e.includes("componentid:"))&&this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"searchByComponent");c.then(function(f){f instanceof J9c||H9c(a,f)}).catch(function(f){typeof f==="number"?M2(a.urlPreferences,{page:f}):a.errorHandler.errorHandler(null,f)});b=b.displayColumns;this.initColumns(b);return qq({searchResultsPage:c,displayColumns:b}).then(function(f){var h=f.searchResultsPage;if(h instanceof J9c)return!1;a.searchResults=h;a.page=h.params.page;a.sortPreferences=
h.params.sortColumns||[];a.loadHotlists();a.cdr.detectChanges();a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"issueSearch",f.displayColumns.join("|")+" ("+a.sortPreferences.join("|")+")");return!0})};g.saveColumns=function(a){this.displayColumns=a.map(function(b){return gu(b.name)});jgc(this.userPreferencesManager,Jpb(a)).pipe(Of(this.destroyed$)).subscribe()};
g.setPageTitle=function(){this.appSearchState.currentQuery===iWc(this.currentUserEmail)?this.pageTitle.setTitle("Assigned to me"):this.appSearchState.currentQuery==="cc:"+this.currentUserEmail?this.pageTitle.setTitle("CC'ed to me"):this.appSearchState.currentQuery==="reporter:"+this.currentUserEmail?this.pageTitle.setTitle("Reported by me"):this.appSearchState.currentQuery===kWc(this.currentUserEmail)?this.pageTitle.setTitle("To be verified"):this.pageTitle.setTitle(this.query)};
g.saveSortColumns=function(a){var b=this,c=this.bLocation.search();a=a.map(function(d){return{column:d.fieldId,order:d.direction}});this.userPreferencesManager.saveSortColumns(a).pipe(Of(this.destroyed$)).subscribe(function(){M2(b.urlPreferences,{page:1,sortColumns:null});oPb();var d=b.bLocation.search();yi(c,d)&&b.refreshResults()})};g.getCsvUrl=function(){return hRa(this.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
L8.\u0275fac=function(){var a;return function(b){return(a||(a=de(L8)))(b||L8)}}();
L8.\u0275cmp=t({type:L8,selectors:[["list-issues-page"]],features:[Yg([sG]),cg],decls:10,vars:7,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[3,"init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv","grid","hotlistChoices"],[1,"bv2-appbar-right"],[3,"pageChange","resultsPerPageChange","searchResults"],[1,"bv2-view"],[1,"bv2-view-loading"],["id","no-results","tabindex","-1",1,"bv2-view-loading","layout-centered-column","gap",3,"bFocus"],[1,"bv2-grid-container"],["aria-hidden",
"true","alt","",1,"empty-state-img",3,"src"],["routerLink","/issues",3,"queryParams"],["href","https://developers.google.com/issue-tracker/concepts/searches","target","_blank"],[3,"init","columnsChange","sortChange","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar"]],template:function(a,b){a&1&&(I(0,"h2",0),Q(1,"Issue search results"),J(),I(2,"div",1)(3,"b-grid-controls",2),M("init",function(c){return b.gridControls=c})("onRefresh",
function(){return b.refreshResults()})("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps,c.recaptchaToken)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)})("onExportCsv",function(){return b.exportCsv()}),J(),I(4,"div",3)(5,"b-pagination",4),M("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return b.saveResultsPerPage(c.option)}),J()()(),I(6,"div",5),D(7,hPb,4,1,"div",6)(8,nPb,6,4,
"div",7)(9,pPb,2,6,"div",8),J());a&2&&(C(3),F("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),C(2),F("searchResults",b.searchResults),C(),eg("aria-busy",b.isLoading),C(),G(b.isLoading?7:-1),C(),G(b.isLoading||b.hasResults()?-1:8),C(),G(!b.isLoading&&b.hasResults()?9:-1))},dependencies:[z2,n3,s2,JE,JO,W1],styles:[".empty-state-img[_ngcontent-%COMP%]{max-width:320px;max-height:320px;padding-bottom:56px}/*# sourceMappingURL=list_issues.css.map */"]});var J9c=function(){},M8=function(){};
M8.\u0275fac=function(a){return new (a||M8)};M8.\u0275mod=u({type:M8});M8.\u0275inj=p({imports:[I2,o3,l3,WR,RE,LO,X1,Qz,FI,BZ,PY]});var N8=function(){this.cdr=r(sG,{self:!0});this.sloApi=r(eH);this.errorHandler=r(jE);this.activeSession=r(dv);this.isLoading=!1;this.activeSlos=[];this.archivedSlos=[];this.createSloPath=tq.createSlo.makeHref();this.sloEnabled=this.activeSession.isInternalSession();this.areArchivedSlosExpanded=!1};N8.prototype.ngOnInit=function(){this.sloEnabled&&K9c(this)};
var K9c=function(a){a.isLoading=!0;a.sloApi.getOwnedSlos().then(function(b){a.activeSlos=b.filter(function(c){return!c.isArchived});a.archivedSlos=b.filter(function(c){return c.isArchived});a.isLoading=!1;a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};N8.\u0275fac=function(a){return new (a||N8)};
N8.\u0275cmp=t({type:N8,selectors:[["list-slos-page"]],features:[Yg([sG])],decls:7,vars:3,consts:[[1,"kd-appbar","kd-buttonbar"],["mat-button","",1,"no-visited-no-active",3,"href"],[1,"bv2-view"],[1,"padded-sides"],[3,"large"],[1,"muted"],[3,"slos"],[1,"slos-note"],[1,"unstyled-button","clickable-row",2,"width","100%",3,"click"],[1,"margined"],[1,"icon-s","vertical-centered",3,"svgIcon"],[1,"conditional-slo-grid"],[1,"muted","padded"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"a",1),Q(2," Create SLO "),
J()(),I(3,"div",2),D(4,qPb,5,0,"div",3)(5,rPb,1,1,"b-spinner",4)(6,xPb,7,6),J());a&2&&(C(),F("href",b.createSloPath,of),C(3),G(b.sloEnabled?4:-1),C(),G(b.isLoading?5:6))},dependencies:[$D,vD,Wy,S3,JO],encapsulation:2});var Nxa=function(a){this.internalArray_=m(a)};Y(Nxa,V);g=Nxa.prototype;g.getAuthor=function(){return W(this,bj,1)};g.setAuthor=function(a){X(this,bj,1,a)};g.hasAuthor=function(){return Oj(this,bj,1)};g.getTimestamp=function(){return W(this,wj,2)};g.setTimestamp=function(a){return X(this,wj,2,a)};g.hasTimestamp=function(){return Oj(this,wj,2)};g.getAdd=function(){return W(this,Lm,3)};g.setAdd=function(a){return X(this,Lm,3,a)};g.getRemove=function(){return W(this,Lm,4)};
g.setRemove=function(a){return X(this,Lm,4,a)};g.getAddMask=function(){return W(this,Vm,5)};g.setAddMask=function(a){return X(this,Vm,5,a)};g.getRemoveMask=function(){return W(this,Vm,6)};g.setRemoveMask=function(a){return X(this,Vm,6,a)};var L9c=function(a){this.internalArray_=m(a)};Y(L9c,V);var O8=function(a){this.internalArray_=m(a,0,O8.messageId)};Y(O8,V);O8.prototype.getIt=function(){return W(this,L9c,2)};O8.prototype.setIt=function(a){return X(this,L9c,2,a)};O8.messageId="b.ComponentHistory";var P8=function(){this.executor=r(PB);this.bCacheFactory=r($E);this.componentHistoriesCache=this.bCacheFactory.get("component_histories-second-level-cache")||this.bCacheFactory.create("component_histories-second-level-cache",{capacity:25})};P8.prototype.get=function(a){var b=this.componentHistoriesCache.get(String(a));return b?b:this.componentHistoriesCache.put(String(a),this.executor.get({url:"action/component_updates/"+a,responseConstructor:O8}).then(Oxa))};
P8.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};P8.prototype.invalidateCache=function(a){this.componentHistoriesCache.remove(String(a))};P8.\u0275fac=function(a){return new (a||P8)};P8.\u0275prov=n({token:P8,factory:P8.\u0275fac,providedIn:"root"});var Q8=function(){};Q8.prototype.ngOnInit=function(){};Q8.\u0275fac=function(a){return new (a||Q8)};Q8.\u0275cmp=t({type:Q8,selectors:[["slo-inheritance-breadcrumbs"]],inputs:{componentPath:"componentPath",teamPath:"teamPath"},decls:2,vars:2,consts:[[3,"teamPath"],["componentPathsLinkTo","settings",3,"componentPathInfo"]],template:function(a,b){a&1&&D(0,yPb,3,1)(1,zPb,3,1);a&2&&(G(b.teamPath?0:-1),C(),G(b.componentPath?1:-1))},dependencies:[eO,t3],styles:["b-component-breadcrumb[_ngcontent-%COMP%], b-team-breadcrumb[_ngcontent-%COMP%]{display:inline-block}"]});var M9c={BASIC:"basic",CUSTOM_FIELDS:"customFields",FIELD_ORDERING:"fieldOrdering",TEMPLATES:"templates",ACCESS:"access"},R8={},N9c=(R8[0]="basic",R8[1]="customFields",R8[2]="fieldOrdering",R8[3]="templates",R8[4]="access",R8),O9c={},P9c=(O9c[0]="access",O9c[1]="access_permissions",O9c),S8=function(){Z.call(this);var a=this;this.bLocation=r(WI);this.route=r(ao);this.Tab=M9c;this.selectedAccessSubTabIndex=this.selectedTabIndex=0;this.componentReady$=new Jf;this.componentReady$.subscribe(function(){a.selectedTabIndex=
0;a.route.fragment.pipe(Of(a.destroyed$)).subscribe(function(b){if(b==="basic")a.selectedTabIndex=0;else if(b==="customFields")a.selectedTabIndex=1;else if(b==="fieldOrdering")a.selectedTabIndex=2;else if(b==="templates")a.selectedTabIndex=3;else if(b==="access"||b==="access"||b==="access_permissions")a.selectedTabIndex=4,b==="access_permissions"&&(a.selectedAccessSubTabIndex=1),HRb(a)})})};Y(S8,Z);S8.\u0275dir=Z.\u0275dir;
S8.prototype.tabChange=function(a){if(a===4&&this.selectedAccessSubTabIndex>0){var b,c=(b=P9c[a])!=null?b:"access";this.bLocation.hash(c,!0)}else b=(c=N9c[a])!=null?c:null,this.bLocation.hash(b,!0);this.selectedTabIndex=a};var HRb=function(a){a.selectedAccessSubTabIndex===1?a.bLocation.hash("access_permissions",!0):a.selectedAccessSubTabIndex===0&&a.bLocation.hash("access",!0)};S8.\u0275fac=function(a){return new (a||S8)};S8.\u0275prov=n({token:S8,factory:S8.\u0275fac,providedIn:"root"});var EPb=function(a){this.internalArray_=m(a)};Y(EPb,V);var Q9c=function(a){this.internalArray_=m(a,0,Q9c.messageId)};Y(Q9c,V);Q9c.messageId="b.BatchGroupMetadataResult";var U8=function(){var a=this;this.groupMetadataResources=r(T8);this.bulkGetter=r(VC).adapt(function(b){return a.groupMetadataResources.bulkGet(b).then(function(c){var d=APb(c);return bZb(b,function(e){return d[e]||null})})})};U8.prototype.get=function(a){return this.bulkGetter.get(a).then(function(b){return b!==null?b:{groupEmail:a,approximateSize:0,sizeCategory:"UNKNOWN",permissionCategory:"UNKNOWN_PERMISSION"}})};U8.\u0275fac=function(a){return new (a||U8)};
U8.\u0275prov=n({token:U8,factory:U8.\u0275fac,providedIn:"root"});var T8=function(){this.executor=r(PB)};T8.prototype.bulkGet=function(a){a=[].concat(w(new Set(a)));a=Am(a.join(","));return this.executor.get({url:"action/group_metadata/"+a,responseConstructor:Q9c}).then(FPb)};T8.\u0275fac=function(a){return new (a||T8)};T8.\u0275prov=n({token:T8,factory:T8.\u0275fac,providedIn:"root"});var GPb=[{field:"admins",accessor:function(a){return a.admins}},{field:"editors",accessor:function(a){return a.editors}},{field:"appenders",accessor:function(a){return a.appenders}},{field:"readers",accessor:function(a){return a.readers}},{field:"restrictedReaders",accessor:function(a){return a.restrictedReaders}},{field:"restrictedPlusReaders",accessor:function(a){return a.restrictedPlusReaders}}];var V8=function(){var a=this;this.activeSession=r(dv);this.confirmationDialogService=r(rL);this.documentationLinks=r(cL);this.groupMetadata=r(U8);this.componentReaders=[];this.enableComponentAutomationCheck=this.enableRostersChecks=!1;this.isPublic=function(){return dr(a.component)};this.hasUnsavedAccessLimitChanges=function(){return a.originalComponent&&a.component?a.originalComponent.accessLimit.accessLevel!==a.component.accessLimit.accessLevel:!1};this.performAccessLimitCheck=function(){return new Promise(function(b){a.hasUnsavedAccessLimitChanges()&&
a.component.accessLimit.accessLevel==="INTERNAL"?a.confirmationDialogService.open({title:"Component Visibility Changed",content:ti("You are about to change the component visibility to Google internal for this component. Make sure your changes are correct -- if this component has any issues, you will not be able to undo this action. Do you want to proceed?"),onConfirm:function(){b(!0)},onDismiss:function(){b(!1)}}):b(!0)})};this.performDeletedAccountsCheck=function(){return new Promise(function(b){a.componentReaders.includes("GROUP:nobody@google.com")?
a.confirmationDialogService.open({title:'"nobody@google.com" is on the access policy',content:ti('"nobody@google.com" was detected, this is usually the result of an account being deleted that was already part of the access policy. It can be found in the following fields: '+[a.componentAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?'"Component Admins"':null,a.componentAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Create Issues"':null,a.issueDefaultAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?
'"Issue Admins"':null,a.issueDefaultAccessPolicyUnderEdit.editors.includes("GROUP:nobody@google.com")?'"Edit Issues"':null,a.issueDefaultAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Comment on Issues"':null,a.issueDefaultAccessPolicyUnderEdit.readers.includes("GROUP:nobody@google.com")?'"View Issues"':null,a.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders.includes("GROUP:nobody@google.com")?'"View restricted+ content"':null,a.issueDefaultAccessPolicyUnderEdit.restrictedReaders.includes("GROUP:nobody@google.com")?
'"View restricted content"':null].filter(function(c){return!!c}).join(", ")+". Do you want to proceed?"),onConfirm:function(){b(!0)},onDismiss:function(){b(!1)}}):b(!0)})};this.performAdminAccessRemovalCheck=function(){return new Promise(function(b){QPb(a.activeSession.getUserEmail(),a.componentFlattenedAccessPolicy,a.componentAccessPolicyUnderEdit)?a.confirmationDialogService.open({title:"Component Administrators Changed",content:ti("You are about to change the administrator privileges for this component. Make sure your changes are correct -- if you revoke your own privileges, you will not be able to undo this action or perform further edits. Do you want to proceed?"),
onConfirm:function(){b(!0)},onDismiss:function(){b(!1)}}):b(!0)})};this.performRestrictedPlusGroupRemovalCheck=function(){return new Promise(function(b){PPb(a.issueDefaultFlattenedAccessPolicy,a.issueDefaultAccessPolicyUnderEdit)?a.confirmationDialogService.open({title:"Group Removed from Restricted+ Readers",content:ti("You are about to remove Restricted+ reader permission for a group. You will not be able to undo this action. Do you want to proceed?"),onConfirm:function(){b(!0)},onDismiss:function(){b(!1)}}):
b(!0)})};this.retrieveGroupMetadata=function(b){b=kp(b);return b.group!==void 0&&b.group.emailAddress?a.groupMetadata.get(b.group.emailAddress):Promise.resolve({approximateSize:0,groupEmail:"",sizeCategory:"UNKNOWN",permissionCategory:"UNKNOWN_PERMISSION"})};this.evaluateNewGroups=function(){var b=Rk([].concat(w(Hi(a.componentAccessPolicyUnderEdit.admins,a.componentFlattenedAccessPolicy.admins)),w(Hi(a.issueDefaultAccessPolicyUnderEdit.admins,a.issueDefaultFlattenedAccessPolicy.admins)),w(Hi(a.issueDefaultAccessPolicyUnderEdit.editors,
a.issueDefaultFlattenedAccessPolicy.editors)),w(Hi(a.issueDefaultAccessPolicyUnderEdit.appenders,a.issueDefaultFlattenedAccessPolicy.appenders)),w(Hi(a.issueDefaultAccessPolicyUnderEdit.readers,a.issueDefaultFlattenedAccessPolicy.readers)),w(Hi(a.issueDefaultAccessPolicyUnderEdit.restrictedReaders,a.issueDefaultFlattenedAccessPolicy.restrictedReaders)),w(Hi(a.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders,a.issueDefaultFlattenedAccessPolicy.restrictedPlusReaders))));return Promise.all(b.map(function(c){return a.retrieveGroupMetadata(c)}))};
this.performAddedLargeOrOpenGroupCheck=function(){return a.enableRostersChecks?a.evaluateNewGroups().then(function(b){var c=KPb(b);b=OPb(b);if(c.size===0&&b.size===0)return Promise.resolve(!0);var d=LPb(c.size,b.size);c=MPb(c);b=NPb(b);var e=ui([c,c===Wu?Wu:vi("br"),b]);c={};e=ui([e,vi("p",{},ui(["Please review the ",vi("a",(c.href=Cqc(a.documentationLinks),c.target="_blank",c),"recommended practices")," and be sure you know what you are doing. Are you  sure that you want to do this?"]))]);return new Promise(function(f){a.confirmationDialogService.open({title:d,
content:e,onConfirm:function(){f(!0)},onDismiss:function(){f(!1)},confirmButtonText:"Add Group"})})}):Promise.resolve(!0)};this.performAddedNewInternalAliasesCheck=function(){return new Promise(function(b){if(a.isPublic()&&JPb(a.issueDefaultAccessPolicyUnderEdit,a.issueDefaultFlattenedAccessPolicy)){var c={};c=ui([vi("p",{},"You are about to give a broad category of users permissions on a public component."),vi("p",{},ui(["Please review the ",vi("a",(c.href=Bqc(a.documentationLinks),c.target="_blank",
c),"recommended practices")," and be sure you know what you are doing. Are you  sure that you want to do this?"]))]);a.confirmationDialogService.open({title:"Adding an broad category of users to a public component",content:c,onConfirm:function(){b(!0)},onDismiss:function(){b(!1)},confirmButtonText:"Add Group Alias"})}else b(!0)})};this.performChangedImplicitAccessCheck=function(){a.implicitAccess={getValue:function(){return a.componentAccessPolicyUnderEdit?a.componentAccessPolicyUnderEdit.implicitAccess===
"ALLOW":!1},getSavedValue:function(){return a.componentFlattenedAccessPolicy?a.componentFlattenedAccessPolicy.implicitAccess==="ALLOW":!1},setValue:function(d){a.componentAccessPolicyUnderEdit&&(a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,{implicitAccess:d?"ALLOW":"DENY"}))}};var b={},c=vi("a",(b.href=oq(a.documentationLinks)+"#expanded-access",b),"Learn more.");return new Promise(function(d){a.implicitAccess.getValue()===a.implicitAccess.getSavedValue()?d(!0):
a.implicitAccess.getValue()?a.confirmationDialogService.open({title:"Turn on expanded access for component "+a.component.componentId+"?",content:ui(["When expanded access is on, assignees and verifiers can edit issues in this component, and CC'd users can comment. ",c]),onConfirm:function(){d(!0)},onDismiss:function(){d(!1)}}):a.confirmationDialogService.open({title:"Turn off expanded access for component "+a.component.componentId+"?",content:ui(["Some users may lose the ability to edit or comment on issues in this component. ",
c]),onConfirm:function(){d(!0)},onDismiss:function(){d(!1)}})})};this.getAddedAutomationInPolicyChange=function(){var b=[].concat(w(HPb(a.issueDefaultFlattenedAccessPolicy,a.issueDefaultAccessPolicyUnderEdit)),w(HPb(a.componentFlattenedAccessPolicy,a.componentAccessPolicyUnderEdit))),c=new Set;b=k(b);for(var d=b.next();!d.done;d=b.next()){d=k(d.value.addedPrincipals);for(var e=d.next();!e.done;e=d.next())e=kp(e.value),(lra(e)?tta(e.user.emailAddress):e.group!==void 0&&tta(e.group.emailAddress))&&
c.add(e)}return[].concat(w(c))};this.performAutomationUserAccessCheck=function(){if(!a.enableComponentAutomationCheck)return Promise.resolve(!0);var b=a.getAddedAutomationInPolicyChange();return new Promise(function(c){if(b.length){var d={};d=vi("a",(d.href=zqc(a.documentationLinks),d)," automation account documentation");a.confirmationDialogService.open({title:"Adding automation accounts",content:ui([ti("You are adding automation accounts to the ACL for this component. All Googlers are entrusted with power and responsibility as stewards of Google's data. Please see the"),
vi("wbr"),d,ti("."),vi.apply(null,["ol",{}].concat(w(b.map(function(e){if(lra(e)){var f;return vi("li",{},ti((f=e.user.emailAddress)!=null?f:""))}if(e.group!==void 0){var h;return vi("li",{},ti((h=e.group.emailAddress)!=null?h:""))}throw Error("kg`"+JSON.stringify(e));})))),vi("br",{}),ti("Are you sure you wish to allow automation to access data in this component?")]),onConfirm:function(){c(!0)},onDismiss:function(){c(!1)}})}else c(!0)})};this.runValidation=function(b){var c,d,e;return ve(function(f){switch(f.nextAddress){case 1:c=
k(b),d=c.next();case 2:if(d.done){f.jumpTo(4);break}e=d.value;return xe(f,e(),5);case 5:if(!f.yieldResult)return f.return(!1);d=c.next();f.jumpTo(2);break;case 4:return f.return(!0)}})};this.enableRostersChecks=lu(this.activeSession,"enableRostersChecks");this.enableComponentAutomationCheck=lu(this.activeSession,"enableComponentAutomationCheck")},R9c=function(a,b){var c=b.component;var d=b.originalComponent;var e=b.componentReaders;var f=b.componentAccessPolicyUnderEdit;var h=b.componentFlattenedAccessPolicy;
var l=b.issueDefaultAccessPolicyUnderEdit;var q=b.issueDefaultFlattenedAccessPolicy;var v,y;return ve(function(E){if(E.nextAddress==1)return a.component=c,a.originalComponent=d,a.componentReaders=e,a.componentAccessPolicyUnderEdit=f,a.componentFlattenedAccessPolicy=h,a.issueDefaultAccessPolicyUnderEdit=l,a.issueDefaultFlattenedAccessPolicy=q,v=[a.performAccessLimitCheck,a.performDeletedAccountsCheck,a.performAdminAccessRemovalCheck,a.performRestrictedPlusGroupRemovalCheck,a.performAddedLargeOrOpenGroupCheck,
a.performAddedNewInternalAliasesCheck,a.performChangedImplicitAccessCheck,a.performAutomationUserAccessCheck],xe(E,a.runValidation(v),2);y=E.yieldResult;return E.return(y)})};V8.\u0275fac=function(a){return new (a||V8)};V8.\u0275prov=n({token:V8,factory:V8.\u0275fac});var W8=function(){Z.apply(this,arguments);this.principalTypes=r(YG);this.componentReaders=[];this.templates=[]};Y(W8,Z);W8.\u0275dir=Z.\u0275dir;
W8.prototype.ngOnChanges=function(){var a=this.componentAccessPolicy,b=this.issueAccessPolicy,c=new Set([].concat(w(this.componentReaders))),d=new Set([].concat(w(a.admins),w(a.inheritedAdmins)));a=new Set([].concat(w(d),w(a.appenders)));var e=new Set([].concat(w(b.admins))),f=new Set([].concat(w(e),w(b.editors))),h=new Set([].concat(w(f),w(b.appenders))),l=new Set([].concat(w(b.restrictedPlusReaders))),q=new Set([].concat(w(l),w(b.restrictedReaders)));b=new Set([].concat(w(q),w(h),w(b.readers)));
this.templates=[{permission:"Admin Components",principals:[].concat(w(d)).map(Xu)},{permission:"Create Issues",principals:[].concat(w(a)).map(Xu)},{permission:"Admin Issues",principals:[].concat(w(e)).map(Xu)},{permission:"Edit Issues",principals:[].concat(w(f)).map(Xu)},{permission:"Comment on Issues",principals:[].concat(w(h)).map(Xu)},{permission:"View Issues",principals:[].concat(w(b)).map(Xu)},{permission:"View Components",principals:[].concat(w(c)).map(Xu)},{permission:"View Restricted",principals:[].concat(w(q)).map(Xu)},
{permission:"View Restricted+",principals:[].concat(w(l)).map(Xu)}];S9c(this,this.templates)};
var S9c=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next()){c=k(c.value.principals);for(var d=c.next(),e={};!d.done;e={principal$jscomp$15:void 0},d=c.next())e.principal$jscomp$15=d.value,e.principal$jscomp$15.principalType==="ALIAS"?e.principal$jscomp$15.detailedUserType="NO_DETAILED_TYPE":ZG(a.principalTypes,e.principal$jscomp$15.value,!0).then(function(f){return function(h){f.principal$jscomp$15.detailedUserType=h.detailedUserType}}(e))}};
W8.\u0275fac=function(){var a;return function(b){return(a||(a=de(W8)))(b||W8)}}();
W8.\u0275cmp=t({type:W8,selectors:[["permissions-view"]],inputs:{issueAccessPolicy:"issueAccessPolicy",componentAccessPolicy:"componentAccessPolicy",componentReaders:"componentReaders",accessLevel:"accessLevel"},features:[cg,Hd],decls:8,vars:0,consts:[[1,"permissions-column-headers"],["scope","col"],[1,"permission-row"],["scope","row"],[3,"value","detailedUserType","principalType","accessLevel","displayText"]],template:function(a,b){a&1&&(I(0,"table")(1,"tr",0)(2,"th",1),Q(3,"Permission"),J(),I(4,
"th",1),Q(5,"Users With Permission"),J()(),tg(6,SPb,6,1,"tr",2,sg),J());a&2&&(C(6),ug(b.templates))},dependencies:[BR],styles:["table[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:10px}.permissions-column-headers[_ngcontent-%COMP%]{display:none}.permission-row[_ngcontent-%COMP%]{border-top:1px solid;border-top-color:#dadce0;border-top-color:var(--divider)}.permission-row[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .permission-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{height:auto;padding:8px;font-size:.8125rem;text-align:left}.permission-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center}b-contact-chip[_ngcontent-%COMP%]{margin-right:5px;margin-top:5px}/*# sourceMappingURL=permissions_view.css.map */"]});var T9c=Object.values({ISSUE_ADMIN:"issueAdmin",ISSUE_EDITOR:"issueEditor",ISSUE_APPENDER:"issueAppender",ISSUE_READER:"issueReader",ISSUE_RESTRICTED_READER:"issueRestrictedReader",ISSUE_RESTRICTED_PLUS_READER:"issueRestrictedPlusReader",COMPONENT_ADMIN:"componentAdmin",COMPONENT_APPENDER:"componentAppender",COMPONENT_READER:"componentReader"}),X8={},U9c=(X8.issueAdmin=new Set(["issueEditor"]),X8.issueEditor=new Set(["issueAppender"]),X8.issueAppender=new Set(["issueReader"]),X8.issueRestrictedReader=
new Set(["issueReader"]),X8.issueRestrictedPlusReader=new Set(["issueRestrictedReader"]),X8.issueReader=new Set(["componentReader"]),X8.componentAdmin=new Set(["componentAppender"]),X8.componentAppender=new Set(["componentReader"]),X8.componentReader=new Set,X8),bQb=Li(T9c,function(a){return U9c[a]}),Yu=Object.values({COMPONENT_ADMIN:"componentAdmin",ISSUE_ADMIN:"issueAdmin",ISSUE_EDITOR:"issueEditor",ISSUE_CONTRIBUTOR:"issueContributor",COMPONENT_ADMIN_ONLY:"componentAdminOnly",ISSUE_CREATOR:"issueCreator",
ISSUE_ADMIN_ONLY:"issueAdminOnly",ISSUE_EDITOR_EXISTING:"issueEditorExisting",ISSUE_COMMENTER:"issueCommenter",RESTRICTED_PLUS_VIEWER:"restrictedPlusViewer",RESTRICTED_VIEWER:"restrictedViewer",ISSUE_VIEWER:"issueViewer"}),Y8={},V9c=(Y8.componentAdmin=new Set(["componentAdmin","issueAdmin"]),Y8.issueAdmin=new Set(["issueAdmin","componentAppender"]),Y8.issueEditor=new Set(["issueEditor","componentAppender"]),Y8.issueContributor=new Set(["issueAppender","componentAppender"]),Y8.componentAdminOnly=new Set(["componentAdmin"]),
Y8.issueCreator=new Set(["componentAppender"]),Y8.issueAdminOnly=new Set(["issueAdmin"]),Y8.issueEditorExisting=new Set(["issueEditor"]),Y8.issueCommenter=new Set(["issueAppender"]),Y8.restrictedPlusViewer=new Set(["issueRestrictedPlusReader"]),Y8.restrictedViewer=new Set(["issueRestrictedReader"]),Y8.issueViewer=new Set(["issueReader"]),Y8),$Pb=Li(Yu,function(a){return V9c[a]}),W9c=cQb(),ZPb=Li(Yu,function(a){a=[].concat(w($Pb.get(a))).flatMap(function(b){return[].concat(w(W9c.get(b)))});return new Set(a)}),
aQb=Li(Yu,function(a){return new Set(Yu.filter(function(b){return b!==a&&Wqa(ZPb.get(b),ZPb.get(a))}))});var fQb={componentAdmin:[],componentAdminOnly:[],issueAdminOnly:[],inheritedComponentAdmin:[],issueAdmin:[],editor:[],contributor:[],viewer:[],editExistingIssuesOnly:[],createIssuesOnly:[],commentOnly:[],viewRestricted:[],viewRestrictedPlus:[]},X9c={admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null};var Z8=function(){var a=this;this.accessPolicyApi=r(pC);this.errorHandler=r(jE);this.butterBar=r(hE);this.userAccess=r(YC);this.componentActions=r(gO);this.componentValidator=r(V8);this.analytics=r(wG);this.isAdmin=!1;this.rolesMap=fQb;this.originalComponent=this.parentComponent=this.component=null;this.isUpdatingAccessLimit=this.isUpdatingAccessPolicy=this.isSaving=!1;this.implicitAccess={getValue:function(){return a.componentAccessPolicyUnderEdit?a.componentAccessPolicyUnderEdit.implicitAccess===
"ALLOW":!1},getSavedValue:function(){return a.componentFlattenedAccessPolicy?a.componentFlattenedAccessPolicy.implicitAccess==="ALLOW":!1},setValue:function(b){a.componentAccessPolicyUnderEdit&&(a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,{implicitAccess:b?"ALLOW":"DENY"}))},isUpdated:function(){var b;return a.componentAccessPolicyUnderEdit.implicitAccess!==((b=a.componentFlattenedAccessPolicy)==null?void 0:b.implicitAccess)}};this.restrictedPlusReadersValidators=
{noRestrictedPlusGroups:function(b){a:{var c=a.issueDefaultFlattenedAccessPolicy;if(b&&c){c=c.restrictedPlusReaders;b=k(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.indexOf("GROUP:")===0&&c.indexOf(d)===-1){c=!1;break a}}c=!0}return c}};this.componentReaders=[];this.issueDefaultFlattenedAccessPolicy=this.componentFlattenedAccessPolicy=X9c;this.componentAccessPolicyUnderEdit=op();this.issueDefaultAccessPolicyUnderEdit=op()};
Z8.prototype.hasUnsavedAccessLimitChanges=function(){var a=this.originalComponent,b=this.component;return a&&b?a.accessLimit.accessLevel!==b.accessLimit.accessLevel:!1};
var Y9c=function(a){if(!a.hasUnsavedAccessLimitChanges())return Promise.resolve();a.isUpdatingAccessLimit=!0;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit;return a.accessPolicyApi.setAccessLimit("COMPONENT",a.componentId,a.component.accessLimit).then(function(b){a.component.accessLimit.accessLevel=b.accessLevel;a.originalComponent.accessLimit.accessLevel=b.accessLevel;du(a.butterBar,"Changed access level.")},function(b){a.component.accessLimit.accessLevel=a.originalComponent.accessLimit.accessLevel;
var c="Could not change access level. ";Jn(b)&&(c+=Kn(b));a.butterBar.showWarning(c)}).finally(function(){a.isUpdatingAccessLimit=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit})};Z8.prototype.updateComponentAndOriginalComponent=function(a){this.component=zi(a);this.originalComponent=zi(a)};
Z8.prototype.loadComponent=function(){var a=this;return this.componentActions.getUncached(this.componentId).then(function(b){a.updateComponentAndOriginalComponent(b);b.parentComponentId>0&&a.loadParentComponent(b.parentComponentId)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};Z8.prototype.loadParentComponent=function(a){var b=this;this.componentActions.get(a).then(function(c){return b.parentComponent=c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
Z8.prototype.initialize=function(a){var b=this;a=a===void 0?this.componentId:a;if(!a&&!this.componentId)return this.butterBar.showWarning("No component found!"),Promise.resolve();this.componentId=a;return Promise.all([this.accessPolicyApi.get("COMPONENT",this.componentId).then(function(c){b.componentFlattenedAccessPolicy=pp(c);b.componentAccessPolicyUnderEdit=zi(b.componentFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.accessPolicyApi.get("ISSUE_DEFAULTS",this.componentId).then(function(c){b.issueDefaultFlattenedAccessPolicy=
pp(c);b.issueDefaultAccessPolicyUnderEdit=zi(b.issueDefaultFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.loadComponent(),this.loadUserAccess(this.componentId)]).then(function(){})};
var Z9c=function(a){a.rolesMap=gQb({componentAccessPolicy:a.componentAccessPolicyUnderEdit,issueAccessPolicy:a.issueDefaultAccessPolicyUnderEdit})},$9c=function(a,b){var c=a.issueDefaultAccessPolicyUnderEdit,d=a.issueDefaultFlattenedAccessPolicy;return d&&iQb(d,c)?a.accessPolicyApi.update("ISSUE_DEFAULTS",a.componentId,b):Promise.resolve(void 0)},a$c=function(a){var b=hQb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy);var c=a.issueDefaultAccessPolicyUnderEdit;a=a.issueDefaultFlattenedAccessPolicy;
c=!(!a||!iQb(a,c));return b||c},b$c=function(a,b){return hQb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy)?a.accessPolicyApi.get("COMPONENT",a.componentId).then(function(c){var d=pp(c);if(hQb(d,a.componentAccessPolicyUnderEdit)){if(hQb(d,a.componentFlattenedAccessPolicy))return Promise.reject(new fac("ConflictingWriteException: The attempted change was based on stale data. Reload the data and try again."));b.readers=c.readers;return a.accessPolicyApi.update("COMPONENT",a.componentId,
b)}}):Promise.resolve(void 0)};Z8.prototype.loadUserAccess=function(a){var b=this;return $C(this.userAccess,"admin","components/"+String(a)).then(function(c){b.isAdmin=c;return b.isAdmin?Promise.resolve(!0):$C(b.userAccess,"writer","components/"+String(a))}).catch(function(c){b.errorHandler.errorHandler(null,c);return Promise.resolve(!1)})};
Z8.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=qp(this.componentAccessPolicyUnderEdit);var c=qp(this.issueDefaultAccessPolicyUnderEdit)}catch(d){return c="An unknown problem occurred",d instanceof Error&&(c=d.message),this.butterBar.showWarning(c),Promise.resolve()}if(a$c(this))return this.isSaving=this.isUpdatingAccessPolicy=!0,du(this.butterBar,"Saving access settings...",0),$9c(this,c).then(function(d){d&&(b.readers=[].concat(w(d.admins||[]),w(d.editors||[]),w(d.appenders||[]),
w(d.readers||[]),w(d.restrictedPlusReaders||[]),w(d.restrictedReaders||[])));return b$c(a,b).catch(function(e){var f;return ve(function(h){if(h.nextAddress==1)return f=qp(a.issueDefaultFlattenedAccessPolicy),xe(h,$9c(a,f),2);throw e;})})}).then(function(){return Y9c(a)}).then(function(){return a.initialize()}).then(function(){var d=a.rolesMap;Z9c(a);var e=a.rolesMap;var f={componentAdminOnly:d.componentAdminOnly,issueAdminOnly:d.issueAdminOnly,viewer:d.viewer,editExistingIssuesOnly:d.editExistingIssuesOnly,
createIssuesOnly:d.createIssuesOnly,commentOnly:d.commentOnly,viewRestricted:d.viewRestricted,viewRestrictedPlus:d.viewRestrictedPlus},h={componentAdminOnly:e.componentAdminOnly,issueAdminOnly:e.issueAdminOnly,viewer:e.viewer,editExistingIssuesOnly:e.editExistingIssuesOnly,createIssuesOnly:e.createIssuesOnly,commentOnly:e.commentOnly,viewRestricted:e.viewRestricted,viewRestrictedPlus:e.viewRestrictedPlus};d=jQb({componentAdmin:d.componentAdmin,issueAdmin:d.issueAdmin,editor:d.editor,contributor:d.contributor},
{componentAdmin:e.componentAdmin,issueAdmin:e.issueAdmin,editor:e.editor,contributor:e.contributor});f=jQb(f,h);switch(d&&f?2:d?0:f?1:3){case 0:a.analytics.trackEvent("roleBasedPermissions","update","roles:standard");break;case 1:a.analytics.trackEvent("roleBasedPermissions","update","roles:advanced");break;case 2:a.analytics.trackEvent("roleBasedPermissions","update","roles:both");break;default:a.analytics.trackEvent("roleBasedPermissions","update","roles:neither")}du(a.butterBar,"Access settings saved",
0)}).catch(function(d){a.butterBar.showWarning(Kn(d),0)}).finally(function(){return ve(function(d){if(d.nextAddress==1)return xe(d,a.loadUserAccess(a.componentId),2);a.isUpdatingAccessPolicy=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit;Ce(d)})});Z9c(this);return Y9c(this)};
var c$c=function(a,b){b=dQb(b);a.issueDefaultAccessPolicyUnderEdit=Object.assign({},a.issueDefaultAccessPolicyUnderEdit,b.issuesPermissions);a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,b.componentPermissions)},vQb=function(a,b){a.component&&a.originalComponent&&a.componentFlattenedAccessPolicy&&a.componentAccessPolicyUnderEdit&&a.issueDefaultFlattenedAccessPolicy&&a.issueDefaultAccessPolicyUnderEdit?(c$c(a,b),R9c(a.componentValidator,{component:a.component,originalComponent:a.originalComponent,
componentReaders:a.componentReaders,componentFlattenedAccessPolicy:a.componentFlattenedAccessPolicy,componentAccessPolicyUnderEdit:a.componentAccessPolicyUnderEdit,issueDefaultFlattenedAccessPolicy:a.issueDefaultFlattenedAccessPolicy,issueDefaultAccessPolicyUnderEdit:a.issueDefaultAccessPolicyUnderEdit}).then(function(c){if(c)return a.doSaveAccessPolicy();du(a.butterBar,"Update failed: Invalid changes to component permissions",0);return Promise.resolve()})):Promise.resolve()};
ea.Object.defineProperties(Z8.prototype,{componentAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){yi(a,this.componentAccessPolicyUnderEditInternal)||(this.componentAccessPolicyUnderEditInternal=a,this.componentReaders=eQb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.componentAccessPolicyUnderEditInternal}},issueDefaultAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){yi(a,
this.issueDefaultAccessPolicyUnderEditInternal)||(this.issueDefaultAccessPolicyUnderEditInternal=a,this.componentReaders=eQb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.issueDefaultAccessPolicyUnderEditInternal}}});Z8.\u0275fac=function(a){return new (a||Z8)};Z8.\u0275prov=n({token:Z8,factory:Z8.\u0275fac});var $8=function(){this.activeSession=r(dv);this.documentationLinks=r(cL);this.rolesEditor=r(Z8);this.AccessLevelStrings=c7b};$8.prototype.getRecentIssuesLink=function(){return bq(this.rolesEditor.component.componentId,{includeArchived:this.rolesEditor.component?this.rolesEditor.component.archived:!1})};$8.prototype.isParentPartner=function(){return!(!this.rolesEditor.parentComponent||!XWa(this.rolesEditor.parentComponent))};
$8.prototype.isParentPublic=function(){return!(!this.rolesEditor.parentComponent||!dr(this.rolesEditor.parentComponent))};$8.\u0275fac=function(a){return new (a||$8)};
$8.\u0275cmp=t({type:$8,selectors:[["access-limit-settings"]],decls:6,vars:3,consts:[[1,"component-banner"],[1,"component-banner","implicit-access-banner"],["aria-label","Learn more about access control","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[1,"component-visibility-settings"],[1,"component-visibility-header"],[1,"access-level-panel"],[1,"access-level-field"],["type","radio","id","access-level-internal","name","accessLevelInternal","value","INTERNAL",3,"disabled","ngModel"],
["for","access-level-internal"],["type","radio","id","access-level-external-partner","name","accessLevelExternal","value","EXTERNAL_PARTNER",3,"disabled","ngModel"],["for","access-level-external-partner"],[1,"access-level-field","bv2-edit-resource-readonly"],["type","radio","id","access-level-public","name","accessLevelPublic","value","EXTERNAL_PUBLIC",3,"disabled","ngModel"],["for","access-level-public"],[1,"access-level-warning"],["type","radio","id","access-level-internal","name","accessLevelInternal",
"value","INTERNAL",3,"ngModelChange","disabled","ngModel"],["type","radio","id","access-level-external-partner","name","accessLevelExternal","value","EXTERNAL_PARTNER",3,"ngModelChange","disabled","ngModel"],["type","radio","id","access-level-public","name","accessLevelPublic","value","EXTERNAL_PUBLIC",3,"ngModelChange","disabled","ngModel"],["aria-label","Learn more about access level","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(D(0,oQb,18,7,"div",
0),I(1,"div",1)(2,"p"),Q(3," Access to issues is granted per component using the settings below. All settings provide access to view the component. "),I(4,"a",2),Q(5,"Learn more"),J()()());if(a&2){a:if(b.activeSession.isExternalSession())a=!1;else{if(b.rolesEditor.component)if(b.rolesEditor.component.parentComponentId){if(b.rolesEditor.parentComponent){a=cr(b.rolesEditor.parentComponent)||cr(b.rolesEditor.component);break a}}else{a=!1;break a}a=void 0}G(a?0:-1);C(4);Fg("href","",oq(b.documentationLinks),
"#recommended-role-based-permissions-configurations",of)}},dependencies:[ki,Ez,tz,Bz],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;margin-bottom:20px}.component-banner[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--button-bg);border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:8px;margin:15px 0 0;padding:16px}.component-banner[_ngcontent-%COMP%]   .component-visibility-settings[_ngcontent-%COMP%]{min-height:28px}.component-banner[_ngcontent-%COMP%]   .component-visibility-header[_ngcontent-%COMP%]{font-weight:bold}.component-banner.access-level-banner[_ngcontent-%COMP%]{margin-bottom:20px}.component-banner.implicit-access-banner[_ngcontent-%COMP%], .component-banner.template-help-banner[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);margin:15px 0px 10px 0}/*# sourceMappingURL=access_limit_settings.css.map */"]});var a9=function(){this.documentationLinks=r(cL);this.rolesEditor=r(Z8)};a9.prototype.isAccessEditDisabled=function(){return this.rolesEditor.isSaving||!this.rolesEditor.isAdmin};a9.prototype.setImplicitAccess=function(a){this.rolesEditor.implicitAccess.setValue(a)};a9.\u0275fac=function(a){return new (a||a9)};
a9.\u0275cmp=t({type:a9,selectors:[["expanded-access-settings"]],decls:10,vars:6,consts:[[1,"expanded-access-settings"],[1,"permission-toggle-checkbox"],["ariaLabelledby","expanded-access-help permission-toggle-help",3,"change","checked","disabled"],[1,"permission-toggle-text"],["id","expanded-access-help",1,"edit-field-help"],["id","permission-toggle-help",1,"permission-toggle-help","edit-field-help"],["target","_blank","aria-label","Learn more about expanded access","aria-describedby","expanded-access-help",
1,"keep-underline","keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"span",1)(2,"mat-checkbox",2),M("change",function(c){return b.setImplicitAccess(c.checked)}),J()(),I(3,"div",3)(4,"strong",4),Q(5,"Expanded access"),J(),I(6,"div",5),Q(7," When checked, assignees, verifiers, and collaborators can edit issues for this component, and CC'd users can add comments. "),I(8,"a",6),Q(9,"Learn more"),J()()()());a&2&&(ng("bv2-edit-resource-readonly",b.isAccessEditDisabled()),C(2),F("checked",
b.rolesEditor.implicitAccess.getValue())("disabled",b.isAccessEditDisabled()),C(6),Fg("href","",oq(b.documentationLinks),"#expanded-access",of))},dependencies:[qN,uN],styles:["[_nghost-%COMP%]{display:flex}.expanded-access-settings[_ngcontent-%COMP%]{background-color:#f8f9fa;background-color:var(--button-bg);border:1px solid;border-color:#dadce0;border-color:var(--divider);display:flex;margin:10px 0px;border-radius:8px;width:100%;padding:16px}.expanded-access-settings[_ngcontent-%COMP%]   mat-checkbox[_ngcontent-%COMP%]{top:-4px;margin-right:-5px}.expanded-access-settings[_ngcontent-%COMP%]   .permission-toggle-text[_ngcontent-%COMP%]{margin-left:1em}/*# sourceMappingURL=expanded_access_settings.css.map */"]});var pQb=function(){return{}},rQb=function(a,b){return{displayText:a,values:b}},qQb=function(a){return[a]},sQb=function(){return[]},b9=function(){this.rolesTableData=[];this.canEdit=!1;this.rolesMapUpdated=new rG;this.formIsValid=new rG;this.aclFormValidity=new Map};b9.prototype.getIconName=function(a,b){return a.grantedPermissions[b]?"done":"issue-status-wont-fix"};b9.prototype.updateRolesMap=function(a,b){this.rolesMapUpdated.emit({role:a,assignees:b})};b9.\u0275fac=function(a){return new (a||b9)};
b9.\u0275cmp=t({type:b9,selectors:[["roles-view-table"]],inputs:{rolesTableData:"rolesTableData",displayedTableColumns:"displayedTableColumns",canEdit:"canEdit",accessLevel:"accessLevel"},outputs:{rolesMapUpdated:"rolesMapUpdated",formIsValid:"formIsValid"},decls:32,vars:0,consts:[["scope","col"],[1,"edit-field"],[1,"role-title"],[3,"htmlFor"],["mat-icon-button","",3,"matTooltip"],["svgIcon","help-outline"],[3,"usersChange","isValid","idForInputBox","users","ariaLabel","accessLevel","customValidators",
"includeAliases","includeViewAliases","containerChips"],["size","large",3,"name"]],template:function(a,b){a&1&&(I(0,"table")(1,"thead")(2,"tr")(3,"th",0),Q(4,"Role Assignments"),J(),I(5,"th",0)(6,"h6"),Q(7,"Admin Components"),J()(),I(8,"th",0)(9,"h6"),Q(10,"Create Issues"),J()(),I(11,"th",0)(12,"h6"),Q(13,"Admin Issues"),J()(),I(14,"th",0)(15,"h6"),Q(16,"Edit Issues"),J()(),I(17,"th",0)(18,"h6"),Q(19,"Comment on Issues"),J()(),I(20,"th",0)(21,"h6"),Q(22,"View Issues"),J()(),I(23,"th",0)(24,"h6"),
Q(25,"View Restricted"),J()(),I(26,"th",0)(27,"h6"),Q(28,"View Restricted+"),J()()()(),I(29,"tbody"),tg(30,tQb,25,29,"tr",null,sg),J()());a&2&&(C(30),ug(b.rolesTableData))},dependencies:[$D,QP,yM,vD,Xy,FH,HH],styles:["table[_ngcontent-%COMP%]{width:100%;font-size:.8125rem;font-family:Roboto,Arial,sans-serif}table[_ngcontent-%COMP%], thead[_ngcontent-%COMP%], tbody[_ngcontent-%COMP%]{display:flex;flex-direction:column}tr[_ngcontent-%COMP%]{display:flex}th[_ngcontent-%COMP%]:first-child{visibility:hidden;flex:0 0 40%}th[_ngcontent-%COMP%]:not(:first-child){width:20em;height:20px;text-align:center}th[_ngcontent-%COMP%]:not(:first-child)   h6[_ngcontent-%COMP%]{display:inline;font-size:.8125rem}td[_ngcontent-%COMP%]:first-child{min-width:250px;flex:0 0 40%}td[_ngcontent-%COMP%]:not(:first-child){display:flex;justify-content:center;width:20em;padding-top:16px}b-multi-user-input[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%]     td .edit-field{margin:14px 0 0}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input{width:auto;max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input input.bv2-multi-user-embedded-input{max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-multi-user-errors{padding:9px}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-user-chip{max-width:100%}[_nghost-%COMP%]     td .edit-field .bv2-multi-user-input .bv2-user-chip .bv2-user-chip-item{display:flex}.role-title[_ngcontent-%COMP%]{display:flex;align-items:center;margin:5px 2px}[_nghost-%COMP%]     .gmat-mdc-button.mat-mdc-icon-button{margin:0 5px;width:24px;height:24px;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%]     .gmat-mdc-button.mat-mdc-icon-button .mat-icon{height:16px;width:16px;--mdc-icon-button-icon-size: 16px}[_nghost-%COMP%]     b-icon{width:2em;margin:30px 0px}/*# sourceMappingURL=roles_view_table.css.map */"]});var c9=function(){this.rolesMap=fQb;this.isSaving=!1;this.saveRolesMap=new rG;this.rolesUnderEdit=fQb;this.formIsValid=!0;this.displayedTableColumns="role componentAdmin createIssues issueAdmin issueEditor issueCommenter issueReader restrictedReader restrictedPlusReader".split(" ");this.standardRolesTableData=[];this.advancedRolesTableData=[]},d$c=function(a){var b=a.rolesUnderEdit,c;var d=[{ariaLabel:"Component Admin role",label:"Component Admins",users:b==null?void 0:b.componentAdmin,roleType:"componentAdmin",
grantedPermissions:{componentAdmin:!0,createIssues:!0,issueAdmin:!0,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Component Admins are granted all the permissions to manage the component and all issues in this component. They can't view restricted content. Typical Component Admins are team leads."},{ariaLabel:"Issue Admin role",label:"Issue Admins",users:b==null?void 0:b.issueAdmin,roleType:"issueAdmin",
grantedPermissions:{componentAdmin:!1,createIssues:!0,issueAdmin:!0,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Issue Admins are granted all permissions to manage issues, but can't edit component settings. They can't view restricted content. Typical Issue Admins are team members."},{ariaLabel:"Issue Editor role",label:"Issue Editors",users:b==null?void 0:b.editor,roleType:"editor",grantedPermissions:{componentAdmin:!1,
createIssues:!0,issueAdmin:!1,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:((c=a.component.accessLimit)==null?void 0:c.accessLevel)!=="EXTERNAL_PUBLIC",includeViewAliases:!1,tooltip:"Issue Editors are granted all issue-related permissions except for admin permissions such as delete an issue or comment, or change restrictions. They can't view restricted content. Typical Issue Editors are collaborating team members."},{ariaLabel:"Issue Contributor role",
label:"Issue Contributors",users:b==null?void 0:b.contributor,roleType:"contributor",grantedPermissions:{componentAdmin:!1,createIssues:!0,issueAdmin:!1,issueEditor:!1,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!0,includeViewAliases:!1,tooltip:"Issue Contributors can read, comment, and create issues, but they can't edit issues. They can't view restricted content. Typical Issue Contributors are external partners or public users."}];a.standardRolesTableData=
d;b=a.rolesUnderEdit;var e,f;d=[{ariaLabel:"Component Admin Only role",label:"Component Admins Only",users:b==null?void 0:b.componentAdminOnly,roleType:"componentAdminOnly",grantedPermissions:{componentAdmin:!0,createIssues:!0,issueAdmin:!1,issueEditor:!1,issueCommenter:!1,issueReader:!1,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Users with the Component Admin Only role can edit the component settings and create issues, but otherwise have no issue-related permissions.",
chips:{displayText:"Inherited Admins",values:(f=b.inheritedComponentAdmin)!=null?f:[]}},{ariaLabel:"Issue Creators Only role",label:"Issue Creators Only",users:b==null?void 0:b.createIssuesOnly,roleType:"createIssuesOnly",grantedPermissions:{componentAdmin:!1,createIssues:!0,issueAdmin:!1,issueEditor:!1,issueCommenter:!1,issueReader:!1,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!0,includeViewAliases:!1,tooltip:"Users with the issue Issue Creators Only role can create issues, but have no other permissions. For example, they are not able to view issues they have created."},
{ariaLabel:"Issue Admin Only role",label:"Issue Admins Only",users:b==null?void 0:b.issueAdminOnly,roleType:"issueAdminOnly",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!0,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Users with the Issue Admin Only role have all issue permissions but cannot create new issues."},{ariaLabel:"Issue Editors (existing issues only) role",label:"Issue Editors (existing issues only)",
users:b==null?void 0:b.editExistingIssuesOnly,roleType:"editExistingIssuesOnly",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:((e=a.component.accessLimit)==null?void 0:e.accessLevel)!=="EXTERNAL_PUBLIC",includeViewAliases:!1,tooltip:"Issue Editors (existing issues only) have the issue editor's permission on existing issues, but they can't create new issues in this component."},
{ariaLabel:"Issue Commenter Only role",label:"Issue Commenter Only",users:b==null?void 0:b.commentOnly,roleType:"commentOnly",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!1,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!0,includeViewAliases:!1,tooltip:"Users with the Issue Commenter Only role may view and comment on issues on this component"},{ariaLabel:"Restricted Plus Content Viewer role",label:"Restricted+ Content Viewer",
users:b==null?void 0:b.viewRestrictedPlus,roleType:"viewRestrictedPlus",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!1,issueCommenter:!1,issueReader:!0,restrictedReader:!0,restrictedPlusReader:!0},includeAliases:!1,includeViewAliases:!1,tooltip:"Only Restricted+ Content Viewers can view Restricted+ content on an issue.",customValidators:a.rolesEditor.restrictedPlusReadersValidators},{ariaLabel:"Restricted Content Viewer role",label:"Restricted Content Viewer",users:b==
null?void 0:b.viewRestricted,roleType:"viewRestricted",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!1,issueCommenter:!1,issueReader:!0,restrictedReader:!0,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Only Restricted Content Viewers can view restricted content on an issue."},{ariaLabel:"Issue Viewer role",label:"Issue Viewers",users:b==null?void 0:b.viewer,roleType:"viewer",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,
issueEditor:!1,issueCommenter:!1,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!0,includeViewAliases:!0,tooltip:"Issue Viewers can only view issues in this component, but can't comment or edit issues."}];a.advancedRolesTableData=d},e$c=function(a){return a.advancedRolesTableData.some(function(b){return b.users.length>0})},f$c=function(a){a.rolesUnderEdit=Object.assign({},a.rolesMap)};g=c9.prototype;g.ngOnInit=function(){f$c(this);d$c(this)};
g.ngOnChanges=function(a){a.rolesMap&&f$c(this);d$c(this)};g.updateRolesMap=function(a){var b={};this.rolesUnderEdit=Object.assign({},this.rolesUnderEdit,(b[a.role]=a.assignees,b))};g.getComponentAccessLevel=function(){if(this.component.accessLimit)return this.component.accessLimit.accessLevel};g.hasUnsavedAccessLimitChanges=function(){return this.rolesEditor.hasUnsavedAccessLimitChanges()};g.canEdit=function(){return!this.isSaving&&this.rolesEditor.isAdmin};
g.canSave=function(){return this.canEdit()&&(!yi(this.rolesMap,this.rolesUnderEdit)||this.rolesEditor.implicitAccess.isUpdated()||this.hasUnsavedAccessLimitChanges())&&this.formIsValid};c9.\u0275fac=function(a){return new (a||c9)};
c9.\u0275cmp=t({type:c9,selectors:[["roles-view"]],inputs:{rolesMap:"rolesMap",isSaving:"isSaving",component:"component",rolesEditor:"rolesEditor"},outputs:{saveRolesMap:"saveRolesMap"},features:[Hd],decls:12,vars:11,consts:[[3,"rolesMapUpdated","formIsValid","rolesTableData","displayedTableColumns","canEdit","accessLevel"],["togglePosition","before",1,"mat-elevation-z0",3,"expanded"],["mat-raised-button","","aria-label","Update","color","primary",3,"click","disabled"],["mat-raised-button","","aria-label",
"Revert Changes",3,"click","disabled"]],template:function(a,b){a&1&&(K(0,"access-limit-settings"),I(1,"roles-view-table",0),M("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),J(),I(2,"mat-expansion-panel",1)(3,"mat-expansion-panel-header")(4,"mat-panel-title"),Q(5," Advanced Roles "),J()(),I(6,"roles-view-table",0),M("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),J()(),K(7,"expanded-access-settings"),
I(8,"button",2),M("click",function(){b.canSave()&&b.saveRolesMap.emit(b.rolesUnderEdit)}),Q(9,"Update"),J(),I(10,"button",3),M("click",function(){f$c(b);d$c(b)}),Q(11," Revert Changes\n"),J());a&2&&(C(),F("rolesTableData",b.standardRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),C(),F("expanded",e$c(b)),C(4),F("rolesTableData",b.advancedRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",
b.getComponentAccessLevel()),C(2),F("disabled",!b.canSave()),C(2),F("disabled",!!yi(b.rolesMap,b.rolesUnderEdit)))},dependencies:[R6,S6,T6,vD,Vy,b9,$8,a9],styles:["[_nghost-%COMP%]     mat-expansion-panel .mat-expansion-panel-body{padding:0}mat-expansion-panel-header[_ngcontent-%COMP%]{margin:0 0 0 8px;padding:0}button[_ngcontent-%COMP%]{margin:0px 10px 5px 0px}/*# sourceMappingURL=roles_view.css.map */"]});var d9=function(){Z.apply(this,arguments);this.rolesEditor=r(Z8);this.route=r(ao);this.tabIndex=0;this.onTabChange=new rG;this.selectedTabIndex=this.tabIndex};Y(d9,Z);d9.\u0275dir=Z.\u0275dir;d9.prototype.ngOnChanges=function(a){a.tabIndex&&(this.selectedTabIndex=a.tabIndex.currentValue)};
d9.prototype.ngOnInit=function(){var a=this;this.selectedTabIndex=this.tabIndex;this.route.paramMap.pipe(B(function(b){return b.get("componentId")}),Ye(kj),Nf(function(b){return a.rolesEditor.initialize(Number(b))}),Of(this.destroyed$)).subscribe(function(){Z9c(a.rolesEditor)})};
d9.prototype.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=(d=(b=this.tabs)==null?void 0:(c=b.get(a))==null?void 0:c.nativeElement.id)!=null?d:null;e==="access"?this.selectedTabIndex=0:e==="access_permissions"&&(this.selectedTabIndex=1);this.onTabChange.emit(a)};d9.prototype.isSaving=function(){return this.rolesEditor.isSaving};d9.\u0275fac=function(){var a;return function(b){return(a||(a=de(d9)))(b||d9)}}();
d9.\u0275cmp=t({type:d9,selectors:[["role-based-permissions"]],viewQuery:function(a,b){a&1&&Mg(UO,5,ge);if(a&2){var c;Qg(c=Rg())&&(b.tabs=c)}},inputs:{tabIndex:"tabIndex"},outputs:{onTabChange:"onTabChange"},features:[Yg([Z8,V8]),cg,Hd],decls:2,vars:2,consts:[[1,"bv2-view-loading"],[1,"padded"],[3,"selectedIndexChange","selectedIndex"],["label","Edit Roles","id","access_roles"],[3,"saveRolesMap","rolesMap","isSaving","component","rolesEditor"],["label","View Permissions","id","access_permissions"],
[3,"componentReaders","componentAccessPolicy","issueAccessPolicy","accessLevel"]],template:function(a,b){a&1&&D(0,uQb,2,0,"div",0)(1,wQb,7,9,"div");a&2&&(G((b.rolesEditor.component==null?0:b.rolesEditor.component.componentId)?-1:0),C(),G((b.rolesEditor.component==null?0:b.rolesEditor.component.componentId)?1:-1))},dependencies:[ZO,UO,VO,JO,W8,c9],styles:["/*# sourceMappingURL=role_based_permissions.css.map */"]});var g$c=["archiveDialog"],h$c=["archiveButton"],i$c=["metadataForm"],e9=function(){Z.apply(this,arguments);var a=this;this.cdr=r(sG,{self:!0});this.routeParams=r(PL);this.bLocation=r(WI);this.templatesApi=r(DC);this.paths=r(zO);this.appHistory=r(Y3);this.butterBar=r(hE);this.pageTitle=r(k_);this.activeSession=r(dv);this.documentationLinks=r(cL);this.matDialogService=r(kL);this.analytics=r(wG);this.checkBeforeExit=r(iT);this.userAccess=r(YC);this.componentActions=r(gO);this.errorHandler=r(jE);this.componentUpdates=
r(v0);this.componentUpdatesApi=r(P8);this.confirmationDialogService=r(rL);this.appEvents=r(nE);this.teamsService=r(lH);this.sloApi=r(dH);this.sloService=r(eH);this.trackerHelpers=r(yL);this.tabsService=r(S8);this.componentId$=new If(1);this.componentListRoute=wJa;this.showSloInheritancePath=!1;this.component$=new bo(null);this.componentTrackerId$=this.component$.pipe(B(function(b){return b==null?void 0:b.trackerId}));this.showTrackerRedirect$=this.componentTrackerId$.pipe(B(function(b){var c;return a.shouldShowTrackerRedirect((c=
a.activeSession.getTracker())==null?void 0:c.trackerId,b)}));this.parentComponent$=new bo(null);this.componentTeam$=new bo(null);this.team$=this.componentTeam$.pipe(Nf(function(b){return(b=b==null?void 0:b.id)&&b!=="0"?mH(a.teamsService,b):Fe(null)}));this.parentComponentTeam$=this.parentComponent$.pipe(Nf(function(b){var c;return(b=b==null?void 0:(c=b.team)==null?void 0:c.id)&&b!=="0"?mH(a.teamsService,b):Fe(null)}));this.inheritedSloMetadata$=Me([this.component$,this.parentComponent$,this.team$]).pipe(B(function(b){var c=
k(b);b=c.next().value;var d=c.next().value;c=c.next().value;if((b==null?0:b.team)&&!b.team.inherit&&b.team.id!=="0"){var e,f=(e=c==null?void 0:c.slo)!=null?e:null;if(f)return{containerType:"TEAM",content:f}}else if(e=(f=d==null?void 0:d.slo)!=null?f:null)return{containerType:"COMPONENT",content:e};return null}));this.inheritedSlo$=this.inheritedSloMetadata$.pipe(Ef(),Nf(function(b){var c="0";b&&(b.containerType==="TEAM"?c=b.content.sloId:b.containerType==="COMPONENT"&&(c=b.content.id));return c===
"0"?Fe({id:"0"}):a.sloService.get(c).then(function(d){return{id:c,slo:d}})}));this.sloPolicySource$=this.inheritedSloMetadata$.pipe(Ef(),Nf(function(b){if(!b)return Fe({name:"None",type:"none"});b=SRb(b);var c=b.sourceTeamId,d=b.sourceComponentId;b=d?Number(d):null;return c&&c!=="0"?a.teamsService.getTeam(c).pipe(B(function(e){var f;return{name:(f=e==null?void 0:e.name)!=null?f:c,type:"team",link:{path:"/teams/"+c+"/edit",fragment:"slo"}}})):b?a.componentActions.get(b).then(function(e){var f;return{name:(f=
e.name)!=null?f:d,type:"component",link:{path:"/components/"+d+"/edit"}}}):Fe(null)}));this.policySourcePath$=Me([this.component$,this.team$,this.parentComponentTeam$,this.inheritedSloMetadata$]).pipe(B(function(b){var c=k(b);b=c.next().value;var d=c.next().value;var e=c.next().value;c=c.next().value;if(!b||!b.componentPathInfo||!c)return null;var f=SRb(c);c=f.sourceComponentId;d=URb(d,f.sourceTeamId,b.team,e);return c===null?{componentPath:null,teamPath:d}:{componentPath:TRb(b,c),teamPath:d}}));
this.enableSloLockingCheck=lu(this.activeSession,"enableSloLockingCheck");this.component=null;this.effectiveCustomFields=[];this.parentComponent=null;this.descendants=[];this.isLoading=this.hasInitialized=!1;this.isAnonymous=this.activeSession.isAnonymous();this.originalParentComponent=this.originalComponent=null;this.isAdminInternal=this.isUpdating=this.isArchiving=!1;this.metadataForm=null;this.error="";this.isComponentSloEditor=this.isEditorInternal=!1;this.updateDiffs=void 0;this.templates=[];
this.isParentComponentRequired=this.commentEditsEnabled=!0;this.retentionIsValid=!1;this.isEnableSloChecked=!0;this.enableSloLockingUi=lu(this.activeSession,"enableSloLockingUi");this.enableTeamLeadSloEditingUi=lu(this.activeSession,"enableTeamLeadSloEditingUi");this.sloLocked$=this.componentId$.pipe(Ye(Boolean),Nf(function(b){return a.sloApi.executor.get({url:"action/components/"+b+"/slo_edit_policy",responseConstructor:Lfc}).pipe(B(REa))}));this.getSloManagementLink=xJa};Y(e9,Z);e9.\u0275dir=Z.\u0275dir;
e9.prototype.shouldShowTrackerRedirect=function(a,b){return!!a&&a!==b};
e9.prototype.ngOnInit=function(){var a=this;this.componentId=Ei(this.routeParams.componentId);this.componentId$.next(String(this.componentId));this.sessionIsExternal=this.activeSession.isExternalSession();this.sessionIsInternal=this.activeSession.isInternalSession();this.subscriptions.add(jT(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!1));this.loadUserAccess(this.componentId);this.enableSloLockingCheck&&j$c(this);this.componentHistoryUiEnabled=this.activeSession.isInternalSession();
k$c(this);this.subscriptions.add(this.appEvents.customFieldsModified.subscribe(function(b){a.effectiveCustomFields=l$c(b)}));this.hasInitialized=!0;this.tabsService.componentReady$.next()};var k$c=function(a){a=[m$c(a,a.componentId),a.loadComponent(a.componentId),a.loadTemplates(a.componentId)];return Promise.all(a).then(function(){})};e9.prototype.isAdmin=function(){return this.isAdminInternal};var $u=function(a){return a.enableSloLockingCheck?a.isComponentSloEditor:a.isAdmin()};
e9.prototype.isSaving=function(){return this.isUpdating||this.isArchiving};e9.prototype.isArchived=function(){return this.component?this.component.archived:!1};e9.prototype.isPublic=function(){return dr(this.component)};e9.prototype.isExternal=function(){return cr(this.component)};var wRb=function(a){var b;if(b=a.sessionIsInternal){b=a.component;var c;b=(b==null?void 0:(c=b.accessLimit)==null?void 0:c.accessLevel)==="INTERNAL"}return b||lu(a.activeSession,"enableEstimatedEffortExternalUi")};
e9.prototype.isParentPublic=function(){return!(!this.parentComponent||!dr(this.parentComponent))};e9.prototype.isParentPartner=function(){return!(!this.parentComponent||!XWa(this.parentComponent))};var gRb=function(a){if(!a.component||!a.component.slo)return!1;var b=!!a.component.team&&a.component.team.id!=="0";return a.component.parentComponentId===0?b:!a.component.slo.inherit};
e9.prototype.hasUnsavedMetadataChanges=function(){return!(yi(this.component,this.originalComponent)&&yi(this.parentComponent,this.originalParentComponent))};e9.prototype.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()};
var n$c=function(a){var b=Ak();a.component.slo.id===a.originalComponent.slo.id&&a.component.slo.source===a.originalComponent.slo.source?b.resolve(!0):a.confirmationDialogService.open({title:"SLO changes may not appear immediately",content:ti("SLO changes will be applied to all issues in this component (and potentially child components). Depending on the total number of affected issues, this may take several hours to fully fan-out and reindex."),onConfirm:function(){b.resolve(!0)},onDismiss:function(){b.resolve(!1)}});
return b.promise},o$c=function(a){var b=Ak();a.sessionIsInternal&&a.parentComponent&&a.parentComponent.componentId!=a.component.parentComponentId?a.confirmationDialogService.open({title:"Changing the parent component may change which SLO is applied",content:ui([ti('Depending on the specific SLO inheritance and/or source settings in this and any child components, changes to the parent component may cause a different "Auto" or inherited SLO to be applied.'),vi("br",{}),vi("br",{}),ti('Changes to the SLO may also take some time to become visible. Updates to the "Auto" SLOs are applied daily, and any changes then need to be fanned out to the affected issues and re-indexed.'),
vi("br",{}),vi("a",{href:"https://goto.google.com/buganizer/guides/apply-slo",target:"_blank"},"Learn More")]),onConfirm:function(){b.resolve(!0)},onDismiss:function(){b.resolve(!1)}}):b.resolve(!0);return b.promise};e9.prototype.saveMetadata=function(){var a=this;return p$c(this)?o$c(this).then(function(b){return b?n$c(a):Promise.resolve(!1)}).then(function(b){b&&a.doSaveMetadata().then(function(){return k$c(a)})}):Promise.resolve()};
e9.prototype.doSaveMetadata=function(){var a=this;this.isUpdating=!0;du(this.butterBar,"Saving changes ...",0);return q$c(this).then(function(){a.parentComponent&&(a.component.parentComponentId=a.parentComponent.componentId)}).then(function(){return r$c(a)}).then(function(){return s$c(a)}).then(function(){return t$c(a)}).then(function(){du(a.butterBar,"Save complete.")}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.componentUpdatesApi.invalidateCache(a.componentId);
a.isUpdating=!1})};
var q$c=function(a){return a.parentComponent&&a.parentComponent.componentId!==a.originalComponent.parentComponentId?a.componentActions.move(a.component.componentId,a.parentComponent.componentId).then(function(){return!0}).catch(function(b){a.component.parentComponentId=a.originalComponent.parentComponentId;return Promise.reject(b)}):Promise.resolve(!1)},r$c=function(a){return a.component.slo&&!yi(a.originalComponent.slo,a.component.slo)?a.componentActions.updateSlo(a.component.componentId,a.component.slo).then(function(){a.analytics.trackEvent("component",
"updateSlo");return!0}).catch(function(b){a.component.slo=a.originalComponent.slo;return Promise.reject(b)}):Promise.resolve(!1)},s$c=function(a){return a.component.team&&!yi(a.originalComponent.team,a.component.team)?a.componentActions.updateTeam(a.component.componentId,a.component.team).then(function(){a.analytics.trackEvent("component","updateTeam");return!0}).catch(function(b){a.component.team=a.originalComponent.team;return Promise.reject(b)}):Promise.resolve(!1)},t$c=function(a){return u$c(a)?
a.componentActions.update(a.component).then(function(){a.analytics.trackEvent("component","update");a.commentEditsEnabled?a.analytics.trackEvent("component","comment edits enabled","update"):a.analytics.trackEvent("component","comment edits disabled","update");return!0}):Promise.resolve(!1)},u$c=function(a){var b=zi(a.component);b.team=a.originalComponent.team;b.slo=a.originalComponent.slo;b.parentComponentId=a.originalComponent.parentComponentId;return!yi(a.originalComponent,b)},p$c=function(a){if(a.isEditorInternal){if(a.metadataForm.invalid)return a.error=
"Error: You must fill out all required fields.",!1;if(a.retentionIsValid)return a.error="",!0;a.error="Error: Required retention settings are missing or invalid.";return!1}a.error="";return!0};e9.prototype.getComponentAccessLevel=function(){if(this.component&&this.component.accessLimit)return this.component.accessLimit.accessLevel};var m$c=function(a,b){return a.componentActions.getChildren(b).then(function(c){a.childComponents=c}).catch(function(c){a.errorHandler.errorHandler(null,c)})};
e9.prototype.revertMetadataChanges=function(){this.updateComponentAndOriginalComponent(this.originalComponent);this.error="";this.parentComponent=zi(this.originalParentComponent);this.parentComponent$.next(this.parentComponent);this.commentEditsEnabled=this.component.commentEditState=="ENABLED"};
var ARb=function(a){a.componentActions.getUncached(a.componentId).then(function(b){a.effectiveCustomFields=l$c(b.componentPathInfo.allCustomField)})},l$c=function(a){return a?a.filter(function(b){return b.enabledOnIssues}):[]};
e9.prototype.loadComponent=function(a){var b=this;this.isLoading=!0;return this.componentActions.getUncached(a).then(function(c){b.updateComponentAndOriginalComponent(c);b.currentName=c.name;c.parentComponentId>0&&b.loadParentComponent(c.parentComponentId);b.effectiveCustomFields=l$c(c.componentPathInfo.allCustomField);b.pageTitle.setTitle("Component: "+c.name);b.archiveAction=c.archived?"Unarchive":"Archive";b.commentEditsEnabled=c.commentEditState=="ENABLED";b.component.parentComponentId===0&&(b.isParentComponentRequired=
!1)}).catch(function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1;b.hasInitialized&&b.cdr.detectChanges()})};e9.prototype.loadUserAccess=function(a){var b=this,c=Bm("COMPONENT",a);$C(this.userAccess,"admin",c).then(function(d){b.isAdminInternal=d;return b.isAdminInternal?!0:$C(b.userAccess,"writer",c)}).then(function(d){b.isEditorInternal=d}).catch(function(d){b.errorHandler.errorHandler(null,d)})};
var j$c=function(a){$C(a.userAccess,"writer",Bm("COMPONENT_SLO",a.componentId)).then(function(b){a.isComponentSloEditor=b})},IQb=function(a){var b,c=Nu(a.trackerHelpers,(b=a.parentComponent)==null?void 0:b.componentPathInfo);return vq(a.activeSession)&&(!c||!c.componentPathId||c.componentPathId.length===0)},av=function(a){return a.isSaving()||!a.isEditorInternal};g=e9.prototype;g.isAccessEditDisabled=function(){return this.isSaving()||!this.isAdmin()};
g.loadParentComponent=function(a){var b=this;this.componentActions.get(a).then(function(c){b.parentComponent=c;b.parentComponent$.next(b.parentComponent);b.originalParentComponent=zi(c);return c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.getRecentIssuesLink=function(){var a=this.isArchived();return bq(this.componentId,{includeArchived:a})};g.componentPermissions=function(a){return{path:"/components/"+a,fragment:this.tabsService.Tab.ACCESS}};
g.createIssue=function(){this.trackClick("createIssue");var a={};this.bLocation.setUrl(this.paths.createIssue((a.component=String(this.component.componentId),a)))};g.createChild=function(){this.bLocation.setUrl(tq.createComponent.makeHref(this.component.componentId))};g.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};
var xQb=function(a){a.butterBar.dismiss();a.retentionIsValid?a.hasUnsavedChanges()?a.butterBar.showWarning("You have unsaved changes on one or more tabs. Please save or revert these changes before "+a.archiveAction.slice(0,-1)+"ing."):(a.isArchiving=!0,du(a.butterBar,"Looking up subcomponents...",0),a.componentActions.getDescendants(a.component.componentId).then(function(b){a.butterBar.dismiss();a.descendants=b;eL(a.matDialogService.open(a.confirmArchiveDialog,{restoreFocus:!1})).pipe(Of(a.destroyed$)).subscribe(function(){a.archiveButton.focus()})}).catch(function(b){a.errorHandler.errorHandler(null,
b)})):a.butterBar.showWarning("Required retention settings are missing or invalid. Please set retention settings before "+a.archiveAction.slice(0,-1)+"ing.")};
e9.prototype.getRetentionPeriod=function(a){var b=a.retentionSettings.retentionSelection;switch(b){case "BUGANIZER_DEFAULT":return"Buganizer default retention (10 years)";case "INDEFINITE_RETENTION":return"Indefinite retention";case "CUSTOM_PERIOD":var c;a=(c=a.retentionSettings.retentionPeriodDays)!=null?c:0;return Tk(a);case "UNSPECIFIED_RETENTION":return"Retention period unspecified";default:xb(b,"unexpected value "+b+"!")}};
e9.prototype.archive=function(){var a=this;this.isArchiving=!0;du(this.butterBar,this.archiveAction.slice(0,-1)+"ing...",0);this.component.archived=!this.component.archived;this.componentActions.update(this.component).then(function(b){a.appEvents.componentModified.next(b.componentId);du(a.butterBar,a.archiveAction+'d component "'+a.component.name+'"',4E3);a.analytics.trackEvent("component","archive");a.updateComponentAndOriginalComponent(b);a.archiveAction=b.archived?"Unarchive":"Archive";a.isArchiving=
!1}).catch(function(b){a.component.archived=!a.component.archived;du(a.butterBar,"Could not "+a.archiveAction.toLowerCase()+" component: "+(Jn(b)?Kn(b):b));a.isArchiving=!1})};
e9.prototype.loadTemplates=function(a){var b=this;return this.templatesApi.query(a).then(function(c){b.templates=c.map(function(d){var e=d.name;e||(e=d.default?"(default template)":"(unnamed template)");var f=b.paths.getBaseUrl(),h={};h=b.paths.createIssue((h.component=a?String(a):void 0,h.template=d.templateId?String(d.templateId):void 0,h));return{name:e,description:d.description||"",url:f+h}})}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
e9.prototype.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};
var v$c=function(a,b){return a.componentHistoryUiEnabled?a.componentUpdatesApi.get(b).then(function(c){a.updateDiffs=c.updates.map(function(d){var e=a.componentUpdates,f=Xlb(d.addMask.paths),h=Xlb(d.removeMask.paths),l={author:d.author||null,timestamp:d.timestamp||null,diffs:[]},q=d.add;d=d.remove;for(var v=k(new Set([].concat(w(f),w(h)))),y=v.next();!y.done;y=v.next()){var E=y.value;if(y=AZc.get(E))if(E==="name"){var H=ou(h,E,d.name);E=ou(f,E,q.name);l.diffs.push(pu(y,H,E))}else if(E==="description")H=
ou(h,E,d.description),E=ou(f,E,q.description),l.diffs.push(pu(y,H,E));else if(E==="parentComponentId")H=ou(h,E,String(d.parentComponentId)),E=ou(f,E,String(q.parentComponentId)),l.diffs.push(pu(y,H,E));else if(E==="isArchived")H=ou(h,E,String(d.archived)),E=ou(f,E,String(q.archived)),l.diffs.push(pu(y,H,E));else if(E==="commentEditState"){var O=BZc.get(d.commentEditState);H=BZc.get(q.commentEditState);O&&H&&(O=ou(h,E,O),E=ou(f,E,H),l.diffs.push(pu(y,O,E)))}else E==="defaultTemplateId"?(H=ou(h,E,String(d.defaultTemplateId)),
E=ou(f,E,String(q.defaultTemplateId)),l.diffs.push(pu(y,H,E))):E==="slo"?e.sessionIsInternal&&(H=ou(h,E,cmb(d.slo)),E=ou(f,E,cmb(q.slo)),l.diffs.push(pu(y,H,E))):E==="team"?e.sessionIsInternal&&(H=ou(h,E,dmb(d.team)),E=ou(f,E,dmb(q.team)),l.diffs.push(pu(y,H,E))):E==="retentionSettings"?(H=ou(h,E,amb(d.retentionSettings)),E=ou(f,E,amb(q.retentionSettings)),l.diffs.push(pu(y,H,E))):e.$log.error("Unsupported diff field "+E)}return l}).filter(function(d){return d.diffs.length})}).catch(function(c){a.errorHandler.errorHandler(null,
c)}):Promise.reject(Error())};e9.prototype.showUpdateHistoryModal=function(){var a=this;v$c(this,this.componentId).then(function(){a.matDialogService.open(M5,{width:"600px",data:{updateDiffs:a.updateDiffs}});a.analytics.trackEvent("updateHistoryModal","open");a.analytics.trackEvent("component","viewHistory")})};e9.prototype.onSloChange=function(a){this.component.slo.id=a?a.sloId:"0";a&&w$c(this)};
var cRb=function(a){var b=!!a.parentComponent,c=a.component.team.id!=="0";return $u(a)&&(c||b)},iRb=function(a){var b=!a.component.team||a.component.team.id==="0",c=!a.parentComponent;return $u(a)&&(!a.component.slo.inherit||c&&b)},MQb=function(a){var b,c,d,e;ve(function(f){b=a.component.parentComponentId===0;c=a.component.team.id!=="0";return(a.component.parentComponentId===0?a.component.team.id!=="0":!a.component.team.inherit&&a.component.team.id!=="0")||b&&c?xe(f,Je(a.team$.pipe(B(function(h){a.component.slo.id=
h.slo.sloId;w$c(a)}))),0):(d=x$c(a),e=d.id,a.component.slo.id=e,w$c(a),f.jumpTo(0))})},hRb=function(a){var b=a.parentComponent||a.isParentComponentRequired;return a.component.team.id!=="0"||b?!0:!1},x$c=function(a){var b=a.component.slo.inherit,c=a.component.slo.source,d=a.component.slo.id;if(b){if(!a.parentComponent)return{inherit:b,source:c,id:d};c=a.parentComponent.slo.source;d=a.parentComponent.slo.id}return{inherit:b,source:c,id:d}},tRb=function(a,b){du(a.butterBar,"Saving effort spec...",0);
a.component&&(a.component.effortSpec=b,a.componentActions.update(a.component).then(function(c){a.updateComponentAndOriginalComponent(c);a.analytics.trackEvent("component","updateEffort");var d,e;if((d=a.component)==null?0:(e=d.effortSpec)==null?0:e.name){var f;du(a.butterBar,((f=a.component.effortSpec)==null?void 0:f.name)+" saved")}else du(a.butterBar,"Estimated Effort saved")}).catch(function(c){a.errorHandler.errorHandler(null,c)}))};
e9.prototype.updateComponentAndOriginalComponent=function(a){this.component=zi(a);this.component$.next(this.component);this.originalComponent=zi(a);var b;this.componentTeam$.next((b=this.component.team)!=null?b:null);w$c(this)};e9.prototype.back=function(){Z3(this.appHistory)};var w$c=function(a){var b;((b=a.component)==null?0:b.slo)?a.isEnableSloChecked=a.component.slo.id!=="0":a.isEnableSloChecked=!1};e9.\u0275fac=function(){var a;return function(b){return(a||(a=de(e9)))(b||e9)}}();
e9.\u0275cmp=t({type:e9,selectors:[["manage-component-page"]],viewQuery:function(a,b){a&1&&(Mg(g$c,5),Mg(h$c,5),Mg(i$c,5));if(a&2){var c;Qg(c=Rg())&&(b.confirmArchiveDialog=c.first);Qg(c=Rg())&&(b.archiveButton=c.first);Qg(c=Rg())&&(b.metadataForm=c.first)}},features:[Yg([sG]),cg],decls:3,vars:3,consts:[["archiveDialog",""],["archiveButton",""],["basic",""],["customFields",""],["fieldOrdering",""],["templatesList",""],["access",""],["metadataForm",""],[1,"bv2-limited-issue-view"],[1,"kd-appbar"],
[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["format","icon","size","large","tooltip","Go back","ariaLabel","Go back",3,"onAction"],["name","arrow-backward","size","large"],["cdkScrollable","",1,"bv2-view"],[1,"bv2-view-loading"],["mat-button","",3,"routerLinkObj"],["format","flat",3,"disabled"],["format","flat",3,"tooltip","disabled"],["format","flat",3,"onAction","disabled"],["format","flat",3,"onAction","tooltip","disabled"],[1,"edit-resource-header"],[1,"resource-archived"],[1,"keep-focus-ring",
"margin-s-right",3,"click","routerLinkObj"],[3,"accessLevel"],[3,"trackerId"],[1,"component-hierarchy-container"],["componentPathsLinkTo","settings",3,"componentPathInfo","isArchived","label"],[1,"float-clear"],["gmat-tabs","",1,"bv2-tab-bar",3,"selectedIndexChange","selectedIndex"],["label","Basic Information",3,"id"],[4,"ngTemplateOutlet"],[3,"id","label"],["label","Field Ordering",3,"id"],["label","Templates",3,"id"],["label","Access Control",3,"id"],[1,"edit-resource-panel"],["name","metadataForm"],
[3,"error"],["aria-label","Name",1,"edit-field"],["for","component-name",1,"required"],[1,"edit-field-header"],["type","text","name","name","required","","id","component-name",3,"ngModelChange","ngModel","disabled"],["aria-label","Description",1,"edit-field"],["tabindex","0",1,"field-label-with-help","keep-focus-ring"],["aria-describedby","component-description-bubble","for","component-description",1,"help-label"],[1,"help-container"],["id","component-description-bubble",1,"help-bubble","jfk-bubble"],
[1,"jfk-bubble-arrow","jfk-bubble-arrowleft"],[1,"jfk-bubble-arrowimplbefore"],[1,"jfk-bubble-arrowimplafter"],["name","description","aria-describedby","component-description-bubble","id","component-description",3,"ngModelChange","ngModel","disabled"],["tabindex","0","aria-label","Parent component",1,"edit-field"],["role","region","aria-label","Editable Comments",1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],["ariaLabelledby","editable-comments-label permission-toggle-help",
3,"change","checked","disabled"],["id","editable-comments-label",1,"edit-field-help"],["id","permission-toggle-help",1,"permission-toggle-help","edit-field-help"],["target","_blank","aria-label","Learn more about editable comments",1,"keep-underline","keep-focus-ring",3,"href"],["role","region","aria-label","Retention Settings",1,"edit-field",3,"bv2-edit-resource-readonly"],["role","region","tabindex","0","aria-label","Team Configuration",1,"edit-field",3,"bv2-edit-resource-readonly"],["role","region",
"tabindex","0","aria-label","SLO Configuration",1,"edit-field",3,"bv2-edit-resource-readonly"],["aria-label","Component alias",1,"edit-field","bv2-edit-resource-readonly"],["aria-describedby","edit-alias-help-bubble",1,"help-label"],["id","edit-alias-help-bubble",1,"help-bubble","jfk-bubble"],["aria-label","Learn more about component alias","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"href"],["name","spam-protection-enable","labelPosition","before",1,"spam-protection-enable",
3,"checked","disabled"],[1,"edit-button-row"],[1,"edit-button-group"],["format","hairline","title","View history for 'Basic Information'"],[1,"edit-field","bv2-edit-resource-readonly"],[3,"children"],["aria-describedby","edit-parent-help-bubble","for","component-parent-id",1,"help-label"],["id","edit-parent-help-bubble",1,"help-bubble","jfk-bubble"],["id","component-parent-id",3,"selectedComponentChange","selectedComponent","placeholder","isRequired"],["role","region","aria-label","Retention Settings",
1,"edit-field"],["for","retention-settings",1,"required"],[1,"edit-field-help"],["target","_blank","aria-label","Learn more about choosing a period of time to retain the data stored in this component.",1,"keep-underline","keep-focus-ring",3,"href"],["id","retention-settings"],[3,"modelChange","validChange","issueRetentionDisabled","isExternal","componentPathInfo","componentId","initialModel"],["role","region","tabindex","0","aria-label","Team Configuration",1,"edit-field"],["for","team-picker"],["id",
"team-picker"],[3,"modelChange","isAdmin","isTopLevel","parentModel","useInternalLink","anchorTarget","model"],["role","region","tabindex","0","aria-label","SLO Configuration",1,"edit-field"],["aria-describedby","edit-slo-help-bubble",1,"help-label"],["id","edit-slo-help-bubble",1,"help-bubble","jfk-bubble"],[1,"metadata","muted"],[1,"slo-policy-link"],[1,"slo-policy-source-link"],[1,"slo-admins-link"],[1,"lock-state"],[1,"edit-field","less-margin"],[3,"routerLinkObj"],[1,"keep-focus-ring","slo-inheritance-link",
3,"routerLinkObj"],["mat-stroked-button","","type","button","aria-label","Display the full SLO inheritance path below",1,"slo-inheritance-path","small",3,"click"],[1,"slo-breadcrumbs"],[3,"componentPath","teamPath"],["target","_blank",1,"keep-focus-ring",3,"routerLinkObj"],["svgIcon","lock-outline"],["svgIcon","lock-open"],["gmat-checkbox","",1,"slo-override",3,"change","checked","disabled"],[1,"edit-field","component-slo-justification-text"],["name","slo-enable","labelPosition","before",1,"slo-enable",
3,"ngModelChange","change","ngModel","disabled"],[1,"edit-field","component-slo-id-select"],["for","component-slo-id"],["id","component-slo-id","aria-describedby","edit-slo-help-bubble","tabindex","-1",1,"bv2-slo-picker","bv2-picker",3,"onSloSelect","bv2Disabled","boundId","bv2Placeholder"],["mat-icon-button","","aria-label","Go to SLO management page","matTooltip","Go to SLO management page.",1,"small",3,"routerLinkObj","target"],["for","component-slo-justification","id","component-settings-slo-justification-label",
1,"required"],["svgIcon","help-outline","tabindex","0","aria-hidden","false","matTooltip","Justification is required to override the org SLO.","aria-label","Justification is required to override the org SLO.",1,"slo-info","icon-s","valign-middle"],["name","comment","aria-labelledby","component-settings-slo-justification-label","required","",3,"ngModelChange","ngModel","disabled"],["svgIcon","pop-out",1,"icon-s"],["name","spam-protection-enable","labelPosition","before",1,"spam-protection-enable",
3,"change","checked","disabled"],["format","fill",3,"onAction","disabled"],["format","hairline",3,"onAction","disabled"],["format","hairline","title","View history for 'Basic Information'",3,"onAction"],[3,"onVisit","children"],["aria-label","Standard Fields",1,"heading-m","padded-x","margin-top"],[3,"effortSpec","parentEffortSpec","disabled"],["aria-label","Custom Fields",1,"heading-m","padded-x","margin-top"],[3,"editMode","isSaving","component","parentComponent"],[3,"updateComponent","effortSpec",
"parentEffortSpec","disabled"],[1,"component-banner","implicit-access-banner"],["aria-label","Learn more about field ordering","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"onReload","fields","componentId","fieldOrdering","isAdmin"],[3,"componentId","supportCustomFields"],[1,"component-field"],[3,"onTabChange","tabIndex"],["mat-dialog-title",""],[1,"b-archive-component-list"],["mat-flat-button","","mat-dialog-close","","aria-label","Click to archive the component","color","primary",
3,"click"],["mat-button","","mat-dialog-close","","aria-label","Click to close the dialog without archiving the component",3,"click"],["aria-label","Learn more about archiving components","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["aria-label","Learn more about buganizer retention","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["aria-label","Learn more on how to recursively unarchive subcomponents","target","_blank",1,"keep-underline","keep-focus-ring",3,
"href"],[3,"component"]],template:function(a,b){a&1&&(D(0,QRb,11,3),S(1,"async"),D(2,RRb,2,1,"div",8));a&2&&G(U(1,1,b.showTrackerRedirect$)?2:0)},dependencies:[IH,Hw,$D,OE,cO,eO,y0,i5,H5c,r5,F1,F2,x5,Cz,ki,tz,uz,Mz,Bz,zz,yM,vD,Wy,Vy,Yy,qN,uN,lL,nL,pL,oL,Vx,NH,OH,ZO,UO,VO,FH,HH,F3,d9,Q8,D3,JO,sO,kO,I7,Iw,Kw],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{width:500px}b-team-component-picker[_ngcontent-%COMP%]{display:block;width:600px}div.edit-field.less-margin[_ngcontent-%COMP%]{margin:8px 0}div.slo-admins-link[_ngcontent-%COMP%]{margin-top:3px}.metadata[_ngcontent-%COMP%]{margin:10px 0}.metadata[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);width:16px;height:16px}.lock-state[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.component-slo-id-select[_ngcontent-%COMP%], .component-slo-justification-text[_ngcontent-%COMP%], .indented[_ngcontent-%COMP%], div.slo-breadcrumbs[_ngcontent-%COMP%]{margin-left:24px}.component-slo-id-select[_ngcontent-%COMP%], mat-slide-toggle.slo-enable[_ngcontent-%COMP%]{display:inline-block}button.slo-inheritance-path[_ngcontent-%COMP%]{margin-left:30px}div.slo-breadcrumbs[_ngcontent-%COMP%]{padding:4px}.field-label-with-help[_ngcontent-%COMP%]:focus   .help-bubble[_ngcontent-%COMP%]{left:8px}.field-label-with-help[_ngcontent-%COMP%]:focus   .help-bubble-right[_ngcontent-%COMP%]{left:-120px}.mat-mdc-button[_ngcontent-%COMP%]:focus, .mat-mdc-button[_ngcontent-%COMP%]:focus-visible, .mat-mdc-button[_ngcontent-%COMP%]:focus-within, .mat-mdc-flat-button.mat-primary[_ngcontent-%COMP%]:focus, .mat-mdc-flat-button.mat-primary[_ngcontent-%COMP%]:focus-visible, .mat-mdc-flat-button.mat-primary[_ngcontent-%COMP%]:focus-within{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color}[_nghost-%COMP%]     .permission-toggle-checkbox mat-checkbox{top:-5px}[_nghost-%COMP%]     .permission-toggle-checkbox mat-checkbox input{width:auto}  .gmat-mdc-button.mat-mdc-button:not([disabled]):focus .mat-button-focus-overlay,   .gmat-mdc-button.mat-mdc-button:not([disabled]):focus-visible .mat-button-focus-overlay,   .gmat-mdc-button.mat-mdc-button:not([disabled]):focus-within .mat-button-focus-overlay,   .gmat-mdc-button.mat-mdc-outlined-button:not([disabled]):focus .mat-button-focus-overlay,   .gmat-mdc-button.mat-mdc-outlined-button:not([disabled]):focus-visible .mat-button-focus-overlay,   .gmat-mdc-button.mat-mdc-outlined-button:not([disabled]):focus-within .mat-button-focus-overlay{opacity:.06}\n/*# sourceMappingURL=manage_component.css.map */"]});var zSb=function(a){return{value:a}},ASb=function(a){return[a]},BSb=function(){return[]},y$c={BASIC:"basic",SLO:"slo",MAPPINGS:"componentMapping",TRIAGE:"triage"},f9=function(){Z.call(this);var a=this;this.activeSession=r(dv);this.accessPolicyApi=r(pC);this.appHistory=r(Y3);this.butterBar=r(hE);this.checkBeforeExit=r(iT);this.componentActions=r(gO);this.errorHandler=r(jE);this.location=r(WI);this.pageTitle=r(k_);this.routeParams=r(PL);this.teamsService=r(lH);this.userAccess=r(YC);this.sloApi=r(dH);
this.sloService=r(eH);this.originalSloLock=!1;this.canEditSloLock=!0;this.sloJustification$=new bo("");this.error="";this.justificationRequiredText="Justification is required to override the org SLO.";this.selectedTabIndex=0;this.teamId=this.routeParams.teamId;this.team$=new If(1);this.teamSlo$=this.team$.pipe(B(function(d){return d.slo}));this.isSloLeadValid=!1;this.sloLeadEmail$=new bo("");this.sloLead$=new bo("");this.sloLeadUserValidators={sloLeadNotUser:function(d){if(d){d=k(d);for(var e=d.next();!e.done;e=
d.next())if(e.value.indexOf("USER:")!==0)return!1}return!0}};this.sloLeadGooglerValidators={sloLeadNotGoogler:function(d){if(d){d=k(d);for(var e=d.next();!e.done;e=d.next())if(e.value.indexOf("UNRESTRICTED_GOOGLER:")!==0)return!1}return!0}};this.teamAdmins$=ue(this.accessPolicyApi.get("TEAM",this.teamId)).pipe(B(function(d){return d.admins.filter(lra).map(ip)}));this.teamLeads$=this.team$.pipe(B(function(d){return d.members.filter(function(e){return e.isLead}).map(function(e){var f,h;return"USER:"+
((h=(f=e.user)==null?void 0:f.emailAddress)!=null?h:"")})}));this.adminsAndLeads$=Me([this.teamAdmins$,this.teamLeads$]).pipe(B(function(d){var e=k(d);d=e.next().value;e=e.next().value;var f=new Set(d);e=e.filter(function(h){return!f.has(h)});return[].concat(w(d),w(e))}));this.associatedComponents$=ue(this.componentActions.search("directteamid:"+this.teamId));this.childTeams$=this.teamsService.getChildTeams([this.teamId]).pipe(B(function(d){return d.values().next().value}));this.teamPath$=this.team$.pipe(B(function(d){var e=
d.pathNames;return d.pathIds.map(function(f,h){return{id:f,name:e[h]}})}));this.isRootTeam$=this.teamPath$.pipe(B(function(d){return d.length<=1?!0:!1}));this.parentTeam$=Me([this.isRootTeam$,this.teamPath$]).pipe(Nf(function(d){var e=k(d);d=e.next().value;e=e.next().value;return d?Fe(null):a.teamsService.getTeam(e[e.length-2].id)}));this.parentTeam=null;this.inheritedSlo$=this.parentTeam$.pipe(Nf(function(d){var e=d==null?void 0:d.slo.sloId;return e&&e!=="0"?a.sloService.get(e).then(function(f){return{id:e,
link:xJa(e),slo:f}}):Fe({id:"0"})}));this.sloPolicySource$=Me([this.parentTeam$,this.teamPath$]).pipe(B(function(d){var e=k(d);d=e.next().value;e=e.next().value;var f=d==null?void 0:d.slo.sourceTeamId;d=e.find(function(h){return h.id===f});return f&&d?{name:d.name,link:{path:"/teams/"+f+"/edit",fragment:"slo"}}:null}));this.sloLock$=this.sloApi.executor.get({url:"action/teams/"+this.teamId+"/slo_edit_policy",responseConstructor:Mfc}).pipe(B(QEa));this.Tab=y$c;this.enableSloLockingUi=lu(this.activeSession,
"enableSloLockingUi");this.enableTeamScope=lu(this.activeSession,"enableTeamScope");this.isSloInheritEnabled$=new bo(!0);this.sloId$=new bo("0");this.enableSloCheckedInternal=!1;this.sloLocked$=new bo(!1);this.hasSloReadAccess$=this.sloId$.pipe(Nf(function(d){return $C(a.userAccess,"reader","slos/"+d)}),Mf(!1));this.sloPickerLink$=Me([this.sloId$,this.hasSloReadAccess$]).pipe(B(function(d){var e=k(d);d=e.next().value;e=e.next().value;return d&&Number(d)>0&&e?xJa(d):null}));this.hasUnsavedChanges$=
Me([this.team$,this.sloId$,this.isSloInheritEnabled$,this.sloLocked$,this.sloJustification$,this.sloLeadEmail$]).pipe(B(function(d){var e=k(d);var f=e.next().value;d=e.next().value;var h=e.next().value;var l=e.next().value;var q=e.next().value;e=e.next().value;var v=f.slo,y,E;f=(E=(y=f.sloLead)==null?void 0:y.emailAddress)!=null?E:"";return v.inherit!==h||v.sloId!==d||l!==a.originalSloLock||v.comment!==q||f!==e}));this.teamExperiments={id:this.teamId,triage:{}};this.hasEditAccess=!1;this.team$.pipe(Of(this.destroyed$)).subscribe(function(d){a.pageTitle.setTitle("Team: "+
d.name)});var b=lu(this.activeSession,"enableSloLockingCheck")?"teams/"+this.teamId+"/slo":"teams/"+this.teamId;$C(this.userAccess,"writer",b).then(function(d){a.hasEditAccess=d});var c=Wo(this.hasUnsavedChanges$.pipe(Of(this.destroyed$)),!1);this.subscriptions.add(jT(this.checkBeforeExit,function(){return c.getValue()},!1))};Y(f9,Z);f9.\u0275dir=Z.\u0275dir;
f9.prototype.ngOnInit=function(){var a=this,b,c,d,e;return ve(function(f){switch(f.nextAddress){case 1:return b=a.location.hash(),b==="basic"?a.selectedTabIndex=0:b==="slo"?a.selectedTabIndex=1:b==="componentMapping"?a.selectedTabIndex=2:b==="triage"&&a.enableTeamScope&&(a.selectedTabIndex=3),we(f,2),xe(f,Je(a.teamsService.get(a.teamId)),4);case 4:c=f.yieldResult;jv(f,3);break;case 2:return Be(f),a.butterBar.showWarning("Unable to fetch team ID '"+a.teamId+"'"),f.return();case 3:return a.team$.next(c),
rSb(a),xe(f,Je(a.parentTeam$),5);case 5:a.parentTeam=f.yieldResult||null;if(!a.enableTeamScope){f.jumpTo(0);break}return xe(f,Je($fc(a.teamsService,a.teamId)).catch(function(){}),7);case 7:d=f.yieldResult,a.teamExperiments=(e=d)!=null?e:{id:a.teamId,triage:{}},Ce(f)}})};f9.prototype.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=(d=(b=this.tabs)==null?void 0:(c=b.get(a))==null?void 0:c.nativeElement.id)!=null?d:null;this.location.hash(e,!0)};
f9.prototype.onSloChange=function(a){a&&(this.sloId=a.sloId)};
var qSb=function(a,b){var c,d,e,f,h,l;return ve(function(q){switch(q.nextAddress){case 1:if(!a.validate())return q.return();du(a.butterBar,"Saving changes...",0);we(q,2);if(((c=b.sloLead)==null?void 0:c.emailAddress)===a.sloLeadEmail){q.jumpTo(4);break}return xe(q,Je(a.teamsService.updateTeam(Object.assign({},b,{sloLead:{emailAddress:a.sloLeadEmail}}))),5);case 5:d=q.yieldResult,a.team$.next(d);case 4:if(a.sloLocked===a.originalSloLock){q.jumpTo(6);break}var v=a.sloApi;var y=a.teamId,E=a.sloLocked,
H=new bH;E=ej(H,2,E?1:2).setTeamId(Number(y));v=v.executor.post({url:"action/teams/"+y+"/slo_edit_policy",responseConstructor:Ofc,body:E}).pipe(B(QEa));return xe(q,Je(v),7);case 7:e=q.yieldResult,a.originalSloLock=e;case 6:f=b.slo;if(f.inherit===a.isSloInheritEnabled&&f.sloId===a.sloId&&a.originalSloLock===a.sloLocked&&f.comment===a.sloJustification){q.jumpTo(8);break}E={sloId:a.sloId,inherit:a.isSloInheritEnabled,comment:a.isSloInheritEnabled?"":a.sloJustification$.getValue(),sourceTeamId:"0"};v=
a.teamsService;y=a.teamId;E=(new jH).setIt(Cxa(E));v=v.executor.post({url:"/action/teams/"+y+"/update_slo",body:E,responseConstructor:gH}).pipe(B(YEa));return xe(q,Je(v),9);case 9:h=q.yieldResult,a.team$.next(h);case 8:du(a.butterBar,"Save complete.");jv(q,0);break;case 2:l=Be(q),lE(a.errorHandler,l),Ce(q)}})},xSb=function(a){var b,c;return ve(function(d){if(d.nextAddress==1){du(a.butterBar,"Saving changes...",0);var e=a.teamExperiments;var f=a.teamsService.executor;var h=f.post,l="action/teams/"+
e.id+"/experiments",q=new EC;if(e.triage.scope){var v=q.setScope(e.triage.scope);dk(v,2,e.triage.showComponentColumn)}e=(new FC).setId(Number(e.id)).setTriage(q);f=h.call(f,{url:l,body:e,responseConstructor:FC}).pipe(B(mya));return xe(d,Je(f),2)}b=d.yieldResult;du(a.butterBar,"Save complete.");a.teamExperiments=(c=b)!=null?c:{id:a.teamId,triage:{}};Ce(d)})};
f9.prototype.validate=function(){if(!this.isSloInheritEnabled&&this.sloJustification$.getValue()==="")return this.error="Justification is required",!1;if(!this.isSloLeadValid)return this.error="Please provide a valid SLO lead",!1;this.error="";return!0};
var z$c=function(a){Je(a.team$).then(function(b){var c;b=(c=b.sloLead)==null?void 0:c.emailAddress;a.sloLead=b?"USER:"+b:""})},A$c=function(a){Je(a.teamSlo$).then(function(b){a.sloId=b.sloId;a.isSloInheritEnabled=b.inherit;a.sloJustification$.next(b.comment)})},B$c=function(a){Je(a.sloLock$).then(function(b){a.originalSloLock=b;a.sloLocked=b})},rSb=function(a){a.error="";z$c(a);A$c(a);a.enableSloLockingUi&&B$c(a)};f9.prototype.back=function(){Z3(this.appHistory)};
ea.Object.defineProperties(f9.prototype,{sloJustification:{configurable:!0,enumerable:!0,get:function(){return this.sloJustification$.getValue()}},sloLeadEmail:{configurable:!0,enumerable:!0,get:function(){return this.sloLeadEmail$.getValue()}},sloLead:{configurable:!0,enumerable:!0,set:function(a){a!==this.sloLead$.getValue()&&(this.sloLead$.next(a),this.sloLeadEmail$.next(a?a.split(":")[1]:""))},get:function(){return this.sloLead$.getValue()}},isSloInheritEnabled:{configurable:!0,enumerable:!0,
set:function(a){a!==this.isSloInheritEnabled$.getValue()&&this.isSloInheritEnabled$.next(a)},get:function(){return this.isSloInheritEnabled$.getValue()}},sloId:{configurable:!0,enumerable:!0,set:function(a){a!==this.sloId$.getValue()&&(this.sloId$.next(a),this.enableSloChecked=a!=="0")},get:function(){return this.sloId$.getValue()}},enableSloChecked:{configurable:!0,enumerable:!0,set:function(a){a!==this.enableSloCheckedInternal&&(this.enableSloCheckedInternal=a,a||(this.sloId="0"))},get:function(){return this.enableSloCheckedInternal}},
sloLocked:{configurable:!0,enumerable:!0,set:function(a){a!==this.sloLocked$.getValue()&&this.sloLocked$.next(a)},get:function(){return this.sloLocked$.getValue()}}});f9.\u0275fac=function(a){return new (a||f9)};
f9.\u0275cmp=t({type:f9,selectors:[["manage-team-page"]],viewQuery:function(a,b){a&1&&Mg(UO,5,ge);if(a&2){var c;Qg(c=Rg())&&(b.tabs=c)}},features:[cg],decls:8,vars:3,consts:[[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["type","button","mat-icon-button","","aria-label","Go back","color","primary","ngClass","large","matTooltip","Go back",3,"click"],["svgIcon","arrow-backward",1,"icon-m"],["cdkScrollable","",1,"bv2-view"],[1,"edit-resource-header"],["target","_blank",3,"href"],["svgIcon",
"pop-out",1,"icon-s"],[1,"team-hierarchy-container"],["gmat-tabs","","mat-align-tabs","start",3,"selectedIndexChange","selectedIndex"],["label","Basic Information",3,"id"],[1,"edit-resource-panel"],[1,"edit-field"],[1,"field-label"],[1,"edit-field-header"],[1,"description"],[1,"field-label-with-help"],[1,"help-label"],[1,"help-container"],[1,"help-bubble","jfk-bubble"],[1,"jfk-bubble-arrow","jfk-bubble-arrowleft"],[1,"jfk-bubble-arrowimplbefore"],[1,"jfk-bubble-arrowimplafter"],[3,"users"],["label",
"Team SLO",3,"id"],["id","edit-slo-help-bubble",1,"help-bubble","jfk-bubble"],[1,"metadata","muted"],[1,"slo-policy-link"],[1,"slo-policy-source-link"],[1,"slo-inheritance-link",3,"routerLinkObj"],[1,"lock-state"],[3,"error"],["idForInputBox","team-slo-lead","ariaLabel","Team SLO lead email",3,"usersChange","isValid","users","customValidators","detailedUserValidators","maxUserAllowed"],[1,"edit-button-row"],["label","Component mapping",3,"id"],["label","Triage",3,"id"],[3,"teamPath"],[3,"routerLink"],
[3,"routerLinkObj"],["svgIcon","lock-outline"],["svgIcon","lock-open"],[1,"edit-field","less-margin"],["gmat-checkbox","",1,"override-slo",3,"change","disabled","checked"],[1,"edit-field","slo-justification"],["name","slo-enable","labelPosition","before",1,"slo-enable",3,"ngModelChange","change","ngModel","disabled"],[1,"team-slo-id-select",3,"onSloSelect","boundId","bv2Disabled","bv2Placeholder"],["mat-icon-button","","matTooltip","Go to SLO management page",1,"small","slo-link",3,"routerLinkObj",
"target"],["id","team-slo-justification-label",1,"required"],["svgIcon","help-outline",1,"icon-s","valign-middle",3,"matTooltip"],["aria-labelledby","team-slo-justification-label","required","",1,"slo-justification-text",3,"ngModelChange","ngModel","disabled"],["gmat-checkbox","",1,"slo-lock",3,"change","checked","disabled"],[1,"edit-button-group"],["gmat-mdc-button","","mat-flat-button","","color","primary",3,"click","disabled"],["gmat-mdc-button","","mat-stroked-button","","color","primary",3,"click",
"disabled"],["aria-label","Triage search scope",1,"edit-field"],["for","triage-search-scope"],["type","text","name","Triage search scope","id","triage-search-scope",3,"ngModelChange","ngModel"],["aria-label","Show component name columnn in triage view",1,"edit-field"],["gmat-checkbox","","id","triage-component-name-toggle",3,"ngModelChange","ngModel"],["gmat-button","","mat-flat-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),
M("click",function(){return b.back()}),K(4,"mat-icon",4),J()()()(),I(5,"div",5),D(6,CSb,97,47),S(7,"async"),J());if(a&2){var c;C(6);G((c=U(7,1,b.team$))?6:-1,c)}},dependencies:[Ew,$D,JE,OE,F2,ki,tz,Mz,Bz,vD,Vy,Yy,Xy,qN,uN,ZO,UO,VO,FH,HH,Vx,NH,OH,QP,D3,t3,Iw],styles:[".description[_ngcontent-%COMP%]{white-space:pre-wrap}button[_ngcontent-%COMP%]{height:32px;line-height:32px}button.mat-mdc-icon-button.large[_ngcontent-%COMP%]{height:36px;line-height:36px;width:36px}.team-hierarchy-container[_ngcontent-%COMP%]{margin-top:-5px;padding-bottom:32px;padding-left:20px}.metadata[_ngcontent-%COMP%]{margin:10px 0}.metadata[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);width:16px;height:16px}.lock-state[_ngcontent-%COMP%]{display:flex;align-items:center}.team-slo-id-select[_ngcontent-%COMP%]{display:inline-block;width:450px}label[_ngcontent-%COMP%]{display:inline-block;line-height:2.2em}label[_ngcontent-%COMP%]   .edit-field-header[_ngcontent-%COMP%]{font-weight:bold}textarea.slo-justification-text[_ngcontent-%COMP%]{height:3em}div.edit-field.less-margin[_ngcontent-%COMP%]{margin:8px 0}ul[_ngcontent-%COMP%]{padding:0}ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{line-height:1.2}.indented[_ngcontent-%COMP%], .slo-justification[_ngcontent-%COMP%], .team-slo-id-select[_ngcontent-%COMP%]{margin-left:24px}.team-slo-id-select[_ngcontent-%COMP%], mat-slide-toggle.slo-enable[_ngcontent-%COMP%]{display:inline-block}/*# sourceMappingURL=manage_team.css.map */"]});var C$c=["content"],D$c=["task_input"],E$c=new RegExp(/b-qa\/(\d+)|b-qa.corp.google.com\/issues\/(\d+)/,"i"),F$c=new RegExp(/b\/(\d+)|b.corp.google.com\/issues\/(\d+)|buganizer.corp.google.com\/issues\/(\d+)|b-nightly\/(\d+)|b-nightly.corp.google.com\/issues\/(\d+)|buganizer-nightly.corp.google.com\/issues\/(\d+)/,"i"),G$c=new RegExp(/cl\/(\d+)|cr\/(\d+)|critique-ng.*.corp.google.com\/cl\/(\d+)|critique-legacy.corp.google.com\/.*review\/(\d+)|critique.corp.google.com\/.*review\/(\d+)/,"i"),H$c=new RegExp(/docs.google.com\/(?:document|spreadsheets|presentation)\/d\/([^\/]+)|drive.google.com\/file\/d\/([^\/]+)/,
"i"),I$c=new RegExp(/([^\/]+)-review.staging-git.corp.google.com\/c\/(.+)\/\+\/(\d+)|([^\/]+)-review.git.corp.google.com\/c\/(.+)\/\+\/(\d+)/,"i"),g9=function(){Z.apply(this,arguments);var a=this;this.activeSession=r(dv);this.errorHandler=r(jE);this.butterBar=r(hE);this.focusEscapeNotifierFactory=r(CM);this.tasksService=r(TG);this.analytics=r(wG);this.cancelClicked=new rG;this.saveClicked=new rG;this.focusEscaped=new rG;this.addTasksForm=new Az("",[pz,function(b){var c;(c=b.value==="")||(b=b.value,
c=(Kk(a.activeSession.session)?F$c:E$c).test(b)||G$c.test(b)||H$c.test(b)||I$c.test(b));c?(a.validationErrorMessage="",b=null):(a.validationErrorMessage="Unsupported link. Task ID could not be extracted from URL.",b={unsupportedUrl:a.validationErrorMessage});return b}]);this.saving=!1;this.validationErrorMessage=""};Y(g9,Z);g9.\u0275dir=Z.\u0275dir;
g9.prototype.ngAfterViewInit=function(){var a=this;this.focusEscapeNotifier=this.focusEscapeNotifierFactory.create(this.content.nativeElement);this.focusEscapeNotifier.escapeSubject$.pipe(Of(this.destroyed$)).subscribe(function(b){if(b===0){var c;(c=a.focusEscapeNotifier)==null||ex(c)}else{var d;(d=a.focusEscapeNotifier)==null||fx(d)}})};
g9.prototype.saveChanges=function(){var a=this;this.saving=!0;this.analytics.trackEvent("manualSignal","add","dialog");var b=this.parseUrl(this.addTasksForm.value),c=J$c(this,this.addTasksForm.value)?3E3:0;vfc(this.tasksService,[b],!0).pipe(Df(c)).subscribe(function(){a.saving=!1;a.saveClicked.emit()},function(d){a.saving=!1;a.butterBar.showWarning("Failed to trigger alert on task: "+b);a.errorHandler.errorHandler(null,d)})};var J$c=function(a,b){return Kk(a.activeSession.session)?F$c.test(b):E$c.test(b)};
g9.prototype.parseUrl=function(a){if(Kk(this.activeSession.session)){if(F$c.test(a))return"b/"+a.match(F$c).slice(1).find(function(b){return!!b})}else if(E$c.test(a))return"b/"+a.match(E$c).slice(1).find(function(b){return!!b});if(G$c.test(a))return"cl/"+a.match(G$c).slice(1).find(function(b){return!!b});if(H$c.test(a))return"drive/"+a.match(H$c).slice(1).find(function(b){return!!b});if(I$c.test(a))return a=a.match(I$c),a[1]?"gerrit/"+a[1]+"."+a[2]+"~"+a[3]:"gerrit/"+a[4]+"."+a[5]+"~"+a[6];throw Error("lg");
};g9.\u0275fac=function(){var a;return function(b){return(a||(a=de(g9)))(b||g9)}}();
g9.\u0275cmp=t({type:g9,selectors:[["b-add-task-dialog"]],viewQuery:function(a,b){a&1&&(Mg(C$c,7),Mg(D$c,7));if(a&2){var c;Qg(c=Rg())&&(b.content=c.first);Qg(c=Rg())&&(b.taskInput=c.first)}},outputs:{cancelClicked:"cancelClicked",saveClicked:"saveClicked",focusEscaped:"focusEscaped"},features:[cg],decls:17,vars:3,consts:[["content",""],["task_input",""],[1,"container"],[1,"add-task-help-text"],"href;http://go/b-home#manual-alerts;target;_blank;aria-label;Link to user guide for manual signals".split(";"),["appearance",
"outline"],["type","url","matInput","","aria-label","Enter task URL","placeholder","ex: https://b.corp.google.com/issues/123456","required","",1,"task-input",3,"formControl"],[1,"actions"],[1,"b-add-task-button-row"],["mat-button","",1,"cancel",3,"click"],["mat-button","",1,"save",3,"click","disabled"]],template:function(a,b){if(a&1){var c=x();I(0,"div",2,0)(2,"div",3)(3,"p");Q(4,"Input a URL from a supported source to add a task. ");I(5,"a",4);Q(6,"Learn more");J()()();I(7,"mat-form-field",5);K(8,
"input",6,1);D(10,DSb,2,1,"mat-error");J();I(11,"div",7)(12,"div",8)(13,"button",9);M("click",function(){z(c);return A(b.cancelClicked.emit())});Q(14,"Cancel");J();I(15,"button",10);M("click",function(){z(c);return A(b.saveChanges())});Q(16,"Add Task");J()()()()}a&2&&(C(8),F("formControl",b.addTasksForm),C(2),G(b.validationErrorMessage?10:-1),C(5),F("disabled",b.addTasksForm.invalid||b.saving))},dependencies:[vD,Vy,ki,tz,Mz,Gz,$z,Sz,hA],styles:[".container[_ngcontent-%COMP%]{box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);padding:4px;border-radius:8px;background-color:#fff;background-color:var(--surface-default)}mat-form-field[_ngcontent-%COMP%]{padding:4px;width:400px}.dark-mode   [_nghost-%COMP%]   input[type=url][_ngcontent-%COMP%]{color-scheme:dark}.add-task-help-text[_ngcontent-%COMP%]{padding:4px;font-weight:bold;color:#5f6368;color:var(--text-muted)}.actions[_ngcontent-%COMP%]{padding:4px;text-align:end}/*# sourceMappingURL=add_task_dialog_content.css.map */"]});var K$c=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}],h9=function(){Z.call(this);var a=this;this.overlay=r(ty);this.element=r(ge);this.openOnEnter=this.openOnClick=!0;this.taskAdded=new rG;this.onClose=new rG;this.opened=!1;this.destroyed$.subscribe(function(){var b;(b=a.overlayRef)==
null||b.dispose()})};Y(h9,Z);g=h9.prototype;g.onHostEnter=function(a){this.openOnEnter&&this.open();a.preventDefault();a.stopPropagation()};g.onClickHost=function(a){this.openOnClick&&this.open();a.preventDefault();a.stopPropagation()};g.open=function(){this.opened||(this.overlayRef=this.createOverlay(),this.attach(),this.opened=!0)};g.close=function(){if(this.opened){var a;(a=this.overlayRef)==null||a.dispose();this.overlayRef=void 0;this.opened=!1;this.onClose.emit()}};
g.onHostTab=function(a){this.opened&&this.addTaskContent&&this.addTaskContent.focusEscapeNotifier&&(fx(this.addTaskContent.focusEscapeNotifier),a.preventDefault())};g.onHostShiftTab=function(a){this.addTaskContent&&this.addTaskContent.focusEscapeNotifier&&(ex(this.addTaskContent.focusEscapeNotifier),a.preventDefault())};
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy();a=this.overlay.create({positionStrategy:a,scrollStrategy:b,hasBackdrop:!0,backdropClass:"b-add-task-dialog-backdrop",panelClass:"b-add-task-dialog-popup"});a.overlayElement.setAttribute("role","dialog");a.overlayElement.setAttribute("title","Add Task By URL");return a};
g.attach=function(){var a=this,b=new my(g9),c;this.addTaskContent=(c=this.overlayRef)==null?void 0:c.attach(b).instance;var d;(d=this.overlayRef)==null||d.updatePosition();setTimeout(function(){a.connectValues();var e;(e=a.addTaskContent)==null||e.taskInput.nativeElement.focus()})};g.getPositionStrategy=function(){return fy(gy(hy(ky(this.overlay.position(),this.element)),8),K$c)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
g.connectValues=function(){var a=this;if(this.addTaskContent&&this.overlayRef){var b=Xe(this.overlayRef._detachments,this.destroyed$);this.addTaskContent.saveClicked.pipe(Of(b)).subscribe(function(){a.taskAdded.emit()});Xe(this.addTaskContent.saveClicked,this.addTaskContent.cancelClicked,this.overlayRef.backdropClick(),this.overlayRef.keydownEvents().pipe(Ye(function(c){return c.code==="Escape"}))).pipe(Of(b)).subscribe(function(){a.close()})}};h9.\u0275fac=function(a){return new (a||h9)};
h9.\u0275dir=ud({type:h9,selectors:[["","bAddTaskDialogToggle",""]],hostAttrs:["aria-haspopup","true"],hostVars:1,hostBindings:function(a,b){a&1&&M("click",function(c){return b.onClickHost(c)})("keydown.enter",function(c){return b.onHostEnter(c)})("keydown.tab",function(c){return b.onHostTab(c)})("keydown.shift.tab",function(c){return b.onHostShiftTab(c)});a&2&&eg("aria-expanded",b.opened||void 0)},inputs:{openOnClick:"openOnClick",openOnEnter:"openOnEnter"},outputs:{taskAdded:"taskAdded",onClose:"onClose"},
exportAs:["bAddTaskDialogToggle"],features:[cg]});var i9=function(){};i9.prototype.transform=function(a){var b=a.comeBackTimestamp;return"Upcoming out of office starting "+L$c.format(new Date(a.futureOooTimestamp.seconds*1E3))+" - back on "+L$c.format(new Date(b.seconds*1E3))};i9.\u0275fac=function(a){return new (a||i9)};i9.\u0275pipe=vd({name:"futureAvailability",type:i9,pure:!0});var L$c=new PC(KM.WEEKDAY_MONTH_DAY_MEDIUM);var j9=function(){this.activeSession=r(dv);this.hovercardReady$=new If(1);this.environmentType=this.activeSession.getEnvironmentType()};j9.prototype.ngOnInit=function(){this.hovercardReady$.next()};j9.prototype.getBaseUrl=function(){switch(this.environmentType){case "PROD":case "NIGHTLY":return"https://taskflow.corp.google.com";default:return"https://taskflow-autopush.corp.google.com"}};j9.\u0275fac=function(a){return new (a||j9)};
j9.\u0275cmp=t({type:j9,selectors:[["iteration-card"]],inputs:{iteration:"iteration"},decls:1,vars:1,consts:[[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center","gap","margin-s-bottom"],["role","img","svgIcon","taskflow-logo",1,"icon-s"],[1,"flex-kids-x","align-items-center","gap"],["role","img","svgIcon","time-24px",1,"icon-s","muted"],["target","_blank",1,"hover-link",3,"href"],["mode","date",3,"paddingLeftPx","timestamp"]],template:function(a,b){a&1&&D(0,ESb,13,7,"div",0);a&2&&G(b.iteration?
0:-1)},dependencies:[$D,VM],encapsulation:2});var k9=function(){this.analytics=r(wG);this.domSafe=r(mM);this.environmentType=r(dv).getEnvironmentType()};k9.prototype.trackHoverEvent=function(){this.analytics.trackEvent("missionControl","hover","iteration-chip")};k9.prototype.getBaseUrl=function(){switch(this.environmentType){case "PROD":case "NIGHTLY":return"https://taskflow.corp.google.com";default:return"https://taskflow-autopush.corp.google.com"}};k9.\u0275fac=function(a){return new (a||k9)};
k9.\u0275cmp=t({type:k9,selectors:[["iteration-chip"]],inputs:{iteration:"iteration"},decls:1,vars:1,consts:[["iterationHovercard","onedevHovercard"],["cardBody",""],[1,"iteration-chip","margin-xs-right",3,"onedevHovercardShown","click","onedevHovercardTrigger"],[3,"onedevIsHovercardReady","iteration",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","iteration"]],template:function(a,b){a&1&&D(0,GSb,5,1);a&2&&G(b.iteration?0:-1)},dependencies:[j9,bK,cK,hK,dK],styles:[".iteration-chip[_ngcontent-%COMP%]{border:1px solid;border-color:#9334e6;border-color:var(--purple-text);color:#9334e6;color:var(--purple-text);height:18px;border-radius:4px;border:1px solid;padding:1px 4px;display:inline-flex}/*# sourceMappingURL=iteration_chip.css.map */"],
changeDetection:0});var M$c=new Map([["TAGGED_IN_COMMENT","Mentioned me"],["REQUIRES_APPROVAL","Added as approver"],["DRIVE_MANUAL_SIGNAL","Manually added"],["DRIVE_SNOOZE_EXPIRED","Recently awoke"],["THREAD_MENTIONS_ME","Mentioned me"],["NEEDS_ATTENTION","In attention set"],["READY_TO_SUBMIT","Ready to submit"],["CHANGELIST_MANUAL_SIGNAL","Manually added"],["NEAR_SLO","Near SLO"],["COMMENT_MENTIONS_ME","Mentioned me"],["BLOCKERS_CLOSED","Blockers closed"],["NEWLY_BLOCKING","Newly blocking"],["NEEDS_REPORTER_INPUT",
"Needs reporter input"],["REPLIED_TO_MENTION","Replied to me"],["NEWLY_ASSIGNED_TO_ME","Newly assigned"],["ISSUE_MANUALLY_SIGNALED","Manually added"],["ISSUE_SNOOZE_EXPIRED","Recently awoke"],["GERRIT_CHANGE_NEEDS_ATTENTION","In attention set"],["GERRIT_CHANGE_READY_TO_SUBMIT","Ready to submit"],["GERRIT_MANUAL_SIGNAL","Manually added"],["GERRIT_SNOOZE_EXPIRED","Recently awoke"],["MENTIONED_NEEDS_RESPONSE","Needs response"]]),oTb=new Map([["TAGGED_IN_COMMENT","Someone mentioned me in a comment"],
["REQUIRES_APPROVAL","You were added as an approver"],["DRIVE_MANUAL_SIGNAL","You manually added this file"],["DRIVE_SNOOZE_EXPIRED","This file recently awoke from a snooze"],["THREAD_MENTIONS_ME","You were mentioned on this CL recently"],["NEEDS_ATTENTION","This CL is in your \u201cNeeds attention\u201d list in Critique"],["CHANGELIST_MANUAL_SIGNAL","You manually added this changelist"],["READY_TO_SUBMIT","This CL is ready to submit"],["NEAR_SLO","20% of SLO time is remaining for this issue"],["COMMENT_MENTIONS_ME",
"You were mentioned on this issue"],["BLOCKERS_CLOSED","The last blocking issue was closed recently"],["NEWLY_BLOCKING","This issue started blocking another issue recently"],["NEEDS_REPORTER_INPUT","Issue was assigned back to reporter (you) recently"],["REPLIED_TO_MENTION","Someone replied to your mention recently"],["NEWLY_ASSIGNED_TO_ME","This issue was recently assigned to you"],["ISSUE_MANUALLY_SIGNALED","You manually added this issue"],["ISSUE_SNOOZE_EXPIRED","This issue recently awoke from a snooze"],
["GERRIT_CHANGE_NEEDS_ATTENTION","Your turn to take action on the change"],["GERRIT_CHANGE_READY_TO_SUBMIT","Your turn to take action on the change"],["GERRIT_MANUAL_SIGNAL","You manually added this change"],["GERRIT_SNOOZE_EXPIRED","This change recently awoke from a snooze"],["MENTIONED_NEEDS_RESPONSE","You were mentioned on this issue and your response is requested"]]),N$c=new Map([["TAGGED_IN_COMMENT","Reply to comment"],["REQUIRES_APPROVAL","Review"],["DRIVE_MANUAL_SIGNAL","Manually added"],["DRIVE_SNOOZE_EXPIRED",
"Dismiss to remove"],["THREAD_MENTIONS_ME","Reply to comment"],["NEEDS_ATTENTION","Review CL"],["READY_TO_SUBMIT","Submit CL"],["CHANGELIST_MANUAL_SIGNAL","Manually added"],["NEAR_SLO","View issue"],["COMMENT_MENTIONS_ME","Reply to comment"],["BLOCKERS_CLOSED","View issue"],["NEWLY_BLOCKING","View blocker issue"],["NEEDS_REPORTER_INPUT","Reply to comment"],["REPLIED_TO_MENTION","Reply to comment"],["NEWLY_ASSIGNED_TO_ME","Start work"],["ISSUE_MANUALLY_SIGNALED","Manually added"],["ISSUE_SNOOZE_EXPIRED",
"Edit or dismiss"],["GERRIT_CHANGE_NEEDS_ATTENTION","Review change"],["GERRIT_CHANGE_READY_TO_SUBMIT","Submit change"],["GERRIT_MANUAL_SIGNAL","Manually added"],["GERRIT_SNOOZE_EXPIRED","Dismiss to remove"],["MENTIONED_NEEDS_RESPONSE","Reply to comment"]]);var l9=function(){this.tasksApi=r(TG);this.analytics=r(wG);this.mentionedDriveComment$=Fe();this.contentReady$=new If(1)};l9.prototype.ngOnInit=function(){var a=this;this.fileId&&this.commentId&&(this.analytics.trackEvent("mentionsCard","view","hovercard"),this.mentionedDriveComment$=zfc(this.tasksApi,this.fileId,this.commentId).pipe(Pf(function(){a.contentReady$.next()})))};l9.\u0275fac=function(a){return new (a||l9)};
l9.\u0275cmp=t({type:l9,selectors:[["mentioned-drive-comments-card"]],inputs:{fileId:"fileId",commentId:"commentId",lastMentionLink:"lastMentionLink"},decls:2,vars:3,consts:[[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center","space-between","margin-s-bottom"],[1,"bv2-event-user-name",3,"model"],["target","_blank",1,"hover-link",3,"href"],["mode","datetime",3,"timestamp"],["target","_blank",1,"hover-link",3,"click","href"]],template:function(a,b){a&1&&(D(0,SSb,11,4,"div",0),S(1,"async"));
if(a&2){var c;G((c=U(1,1,b.mentionedDriveComment$))?0:-1,c)}},dependencies:[VM,uM,Iw],styles:["[_nghost-%COMP%]{background-color:#fff;background-color:var(--surface-default);display:block;height:100%;max-width:700px;max-height:500px;overflow-y:auto}"]});var $Sb=function(a,b){return b.commentNumber},XSb=function(a){return{"margin-s-bottom padded-s-bottom border-bottom":a}},USb=function(a){return{"has-reacted-icon":a}},m9=function(){this.issueCommentsBatchApi=r(BF);this.analytics=r(wG);this.commentNumbers=[];this.mentionedComments$=Fe();this.contentReady$=new If(1);this.thumbsDownClicked=this.thumbsUpClicked=this.hasReacted=!1};
m9.prototype.ngOnInit=function(){var a=this;this.analytics.trackEvent("mentionsCard","view","hovercard");this.mentionedComments$=this.issueCommentsBatchApi.batchGet(this.issueId,this.commentNumbers).pipe(Pf(function(){a.contentReady$.next()}))};m9.prototype.getCommentNumberLink=function(a,b){return aq(a,{comment:b})};m9.prototype.trackThumbsUp=function(){this.thumbsUpClicked=this.hasReacted=!0;this.analytics.trackEvent("needsResponse","accept",O$c(this))};
m9.prototype.trackThumbsDown=function(){this.thumbsDownClicked=this.hasReacted=!0;this.analytics.trackEvent("needsResponse","reject",O$c(this))};var O$c=function(a){return JSON.stringify({id:a.issueId,commentNumber:a.commentNumbers})};m9.\u0275fac=function(a){return new (a||m9)};
m9.\u0275cmp=t({type:m9,selectors:[["mentioned-issue-comments-card"]],inputs:{issueId:"issueId",commentNumbers:"commentNumbers",needsResponse:"needsResponse"},decls:2,vars:3,consts:[[1,"carded","bg-main"],[3,"ngClass"],[1,"flex-kids-x","align-items-center","space-between"],[1,"flex-kids-x","align-items-center","gap-xs"],[1,"bv2-event-user-name",3,"model"],[1,"hover-link",3,"routerLinkObj"],["mode","datetime",3,"timestamp"],[1,"hover-link",3,"click","routerLinkObj"],[3,"issueId","note","formattingMode"],
[1,"flex-kids-x","gap-xs","justify-flex-end","align-items-center"],[1,"type-s","feedback-info"],["mat-icon-button","","aria-label","rate thumbs up",1,"keep-focus-ring","needs-response-feedback",3,"click","disabled"],["svgIcon","thumb_up_24px",1,"icon-s",3,"ngClass"],["mat-icon-button","","aria-label","rate thumbs down",1,"keep-focus-ring","needs-response-feedback",3,"click","disabled"],["svgIcon","thumb_down_24px",1,"icon-s",3,"ngClass"]],template:function(a,b){a&1&&(D(0,aTb,5,0,"div",0),S(1,"async"));
if(a&2){var c;G((c=U(1,1,b.mentionedComments$))?0:-1,c)}},dependencies:[Ew,$D,OE,uM,VM,LP,Iw],styles:[".needs-response-feedback[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;border-radius:24px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:1.75em;line-height:1.75em;padding:0 0 0 0;color:#3c4043;color:var(--gfx);background-color:#fff;background-color:var(--surface-default);border:none}.needs-response-feedback[_ngcontent-%COMP%]   .has-reacted-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.needs-response-feedback[_ngcontent-%COMP%]:focus, .needs-response-feedback[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}button.needs-response-feedback[_ngcontent-%COMP%]:hover{cursor:pointer}.feedback-info[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}[_nghost-%COMP%]{display:block;height:100%;max-width:700px;max-height:500px;overflow-y:auto;background:var(--surface-default)}"]});var n9=function(a,b){this.context={};b.createEmbeddedView(a,this.context)};ea.Object.defineProperties(n9.prototype,{xapLet:{configurable:!0,enumerable:!0,set:function(a){var b=new Set(bTb(a));if(this.context!==void 0)for(var c=k(bTb(this.context).filter(function(e){return!b.has(e)})),d=c.next();!d.done;d=c.next())delete this.context[d.value];c=k(b);for(d=c.next();!d.done;d=c.next())d=d.value,this.context[d]=a[d];this.context.$implicit=a;this.context.xapLet=a}}});
n9.\u0275fac=function(a){return new (a||n9)(af(Jg),af(Kg))};n9.\u0275dir=ud({type:n9,selectors:[["","xapLet",""]],inputs:{xapLet:"xapLet"},standalone:!0});var gTb=function(a,b){return b.type},dTb=function(a){return{signal:a}},qTb=function(){return[]},P$c=function(){this.activeSession=r(dv);this.signals=[];this.SIGNAL_TO_DISPLAY_TEXT=M$c;this.SIGNAL_TO_ACTION_TEXT=N$c;this.getSignalUrgency=bv;this.getHighestPrioritySignal=PSb;this.enableMentionedCommentsHovercard=lu(this.activeSession,"enableMentionedCommentsHovercard")},jTb=function(a,b){return a.filter(function(c){return c!==b}).map(function(c){return M$c.get(c.type)}).join("; ")},mTb=function(a,b){return a.enableMentionedCommentsHovercard&&
(b.type==="MENTIONED_NEEDS_RESPONSE"||b.type==="COMMENT_MENTIONS_ME")&&b.commentNumbers!=null&&b.commentNumbers.length>0&&a.issueId!=null},nTb=function(a){return a.type==="TAGGED_IN_COMMENT"&&a.driveFileId!=null&&a.driveCommentId!=null};P$c.\u0275fac=function(a){return new (a||P$c)};
P$c.\u0275cmp=t({type:P$c,selectors:[["needs-attention-signals-cell"]],inputs:{issueId:"issueId",signals:"signals"},decls:4,vars:1,consts:[["signalChip",""],["mentionedCommentsHovercard","onedevHovercard"],["tooltip","matTooltip"],["cardBody",""],[1,"flex-kids-x","gap-xs"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"flex-kids-x","gap-xs","align-items-center"],[1,"overflow","type-m",3,"matTooltip"],[3,"class","keep-focus-ring","onedevHovercardActive","onedevHovercardTrigger","matTooltip",
"mouseenter","mouseleave",4,"xapLet"],[3,"onedevIsHovercardReady","issueId","commentNumbers","needsResponse"],[3,"onedevIsHovercardReady","fileId","commentId","lastMentionLink"],[3,"mouseenter","mouseleave","onedevHovercardActive","onedevHovercardTrigger","matTooltip"],[3,"onedevIsHovercardReady","issueId","commentNumbers","needsResponse",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","fileId","commentId","lastMentionLink",4,"onedevHovercardLazyBody"]],template:function(a,b){a&1&&D(0,hTb,
3,0,"div",4)(1,lTb,1,1)(2,vTb,5,3,"ng-template",null,0,fh);a&2&&G(b.signals.length<3?0:1)},dependencies:[Hw,FH,HH,bK,cK,hK,dK,m9,l9,n9],styles:[".signal-chip[_ngcontent-%COMP%]{border:1px solid;border-color:#185abc;border-color:var(--blue-text);color:#185abc;color:var(--blue-text);padding:4px 12px;border-radius:32px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;text-align:center;white-space:nowrap}.signal-chip.urgent-0[_ngcontent-%COMP%]{border:1px solid;border-color:#d42521;border-color:var(--red-text);color:#d42521;color:var(--red-text)}.signal-chip.urgent-1[_ngcontent-%COMP%]{border:1px solid;border-color:#9334e6;border-color:var(--purple-text);color:#9334e6;color:var(--purple-text)}"]});var o9=function(){this.tasksService=r(TG);this.okrIds=[];this.hovercardReady$=new If(1);this.teamObjectives$=Fe([])};o9.prototype.ngOnInit=function(){this.teamObjectives$=Bfc(this.tasksService,Q$c(this.okrIds));this.hovercardReady$.next()};
var Q$c=function(a){a=a.map(function(b){return b.includes("/keyResults")?b.substring(0,b.indexOf("/keyResults")):b});return[].concat(w(new Set(a)))},zTb=function(a,b){var c;return(c=a.find(function(d){var e;return d.objective&&(d.objective.objectiveId===b||((e=d.objective.keyResults)==null?void 0:e.some(function(f){return b.includes(f.keyResultId)})))}))==null?void 0:c.objective},ATb=function(a,b){if(b.includes("/keyResults")){var c,d;return(c=zTb(a,b))==null?void 0:(d=c.keyResults)==null?void 0:
d.find(function(e){return b.indexOf(e.keyResultId)>0})}},wTb=function(a){return a&&a!=="RATING_UNSPECIFIED"?" \u2022 "+a:""};o9.\u0275fac=function(a){return new (a||o9)};
o9.\u0275cmp=t({type:o9,selectors:[["okr-card"]],inputs:{okrIds:"okrIds"},decls:2,vars:3,consts:[["role","dialog","aria-label","OKR hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bv2-hovercard-narrow","okr-hovercard-content"],[1,"flex-kids-x","margin-s-bottom","type-m"],[1,"flex-kids-x","padded-s-top","border-top","margin-s-top","margin-s-bottom","type-xs"],[1,"type-and-priority"],["role","link","target","_blank",1,"okr-description",3,"href"],[1,"type-and-priority","kr-indentation"]],
template:function(a,b){a&1&&(D(0,CTb,4,0,"div",0),S(1,"async"));if(a&2){var c;G((c=U(1,1,b.teamObjectives$))?0:-1,c)}},dependencies:[Iw],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.okr-hovercard-content[_ngcontent-%COMP%]   .type-and-priority[_ngcontent-%COMP%]{font-weight:700;width:56px}.okr-hovercard-content[_ngcontent-%COMP%]   .kr-indentation[_ngcontent-%COMP%]{padding-left:16px}.okr-hovercard-content[_ngcontent-%COMP%]   .okr-description[_ngcontent-%COMP%]{word-break:break-word;color:#202124;color:var(--text)}.okr-hovercard-content[_ngcontent-%COMP%]   .okr-description[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link)}"]});var p9=function(){this.analytics=r(wG);this.okrIds=[]};p9.prototype.trackHoverEvent=function(){this.analytics.trackEvent("missionControl","hover","okr-chip")};p9.\u0275fac=function(a){return new (a||p9)};
p9.\u0275cmp=t({type:p9,selectors:[["okr-chip"]],inputs:{okrIds:"okrIds"},decls:1,vars:1,consts:[["okrHovercard","onedevHovercard"],["cardBody",""],[1,"okr-chip","margin-xs-right",3,"onedevHovercardShown","onedevHovercardTrigger"],[3,"onedevIsHovercardReady","okrIds",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","okrIds"]],template:function(a,b){a&1&&D(0,ETb,5,1);a&2&&G(b.okrIds&&b.okrIds.length>0?0:-1)},dependencies:[o9,bK,cK,hK,dK],styles:[".okr-chip[_ngcontent-%COMP%]{background-color:#9334e6;background-color:var(--purple-text);color:#fff;color:var(--surface-default);height:18px;border-radius:4px;border:1px solid;padding:1px 4px;display:inline-flex}/*# sourceMappingURL=okr_chip.css.map */"],
changeDetection:0});var q9=function(){this.hovercardReady$=new If(1)};q9.prototype.ngOnInit=function(){this.hovercardReady$.next()};q9.\u0275fac=function(a){return new (a||q9)};
q9.\u0275cmp=t({type:q9,selectors:[["stale-task-card"]],inputs:{taskId:"taskId"},decls:1,vars:1,consts:[["role","dialog","aria-label","Stale task card",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body","margin-xs"],[1,"bv2-hovercard-narrow"],["href","http://go/b-home#stale-tasks","target","_blank"]],template:function(a,b){a&1&&D(0,FTb,8,0,"div",0);a&2&&G(b.taskId?0:-1)},styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto}.onedev-hovercard-body[_ngcontent-%COMP%]{padding:16px}.bv2-hovercard-narrow[_ngcontent-%COMP%]{max-width:240px}"]});var R$c=function(){this.hovercardConfig={showDelay:250,hideDelay:250,position:[eoc,goc],triggerKey:[]}};R$c.\u0275fac=function(a){return new (a||R$c)};
R$c.\u0275cmp=t({type:R$c,selectors:[["stale-task-indicator"]],inputs:{taskId:"taskId",lastAlertTimestamp:"lastAlertTimestamp"},decls:7,vars:3,consts:[["staleTaskCard","onedevHovercard"],["cardBody",""],[1,"staleness-indicator","valign-middle",3,"onedevHovercardTrigger","onedevHovercardConfig"],["svgIcon","time-24px","color","orange"],[3,"onedevIsHovercardReady","taskId",4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","taskId"]],template:function(a,b){a&1&&(vg(0),I(1,"div",2),K(2,"mat-icon",
3),Q(3),J(),I(4,"onedev-hovercard",null,0),D(6,GTb,2,2,"stale-task-card",4),J(),wg());a&2&&(a=L(5),C(),F("onedevHovercardTrigger",a)("onedevHovercardConfig",b.hovercardConfig),C(2),b=b.lastAlertTimestamp?(b=fq(b.lastAlertTimestamp.seconds,!0))?b+", respond?":"":"",R(" ",b," "))},dependencies:[$D,bK,cK,hK,dK,q9],styles:[".staleness-indicator[_ngcontent-%COMP%]{color:#bd4800;color:var(--orange-text);display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-flow:column wrap;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-flow:column wrap;flex-flow:column wrap;place-content:flex-start center;height:18px;font-weight:700;width:80%}"],
changeDetection:0});var r9=function(){this.DEFINITIONS=oLc;this.sourceFilterKeys=[];this.selectedSources=[];this.change=new rG};r9.\u0275fac=function(a){return new (a||r9)};
r9.\u0275cmp=t({type:r9,selectors:[["source-filter-chips"]],inputs:{sourceFilterKeys:"sourceFilterKeys",selectedSources:"selectedSources"},outputs:{change:"change"},decls:3,vars:0,consts:[["multiple","","aria-label","Source selection",3,"change"],["appearance","hairline-filter",3,"value","selected"],[3,"matTooltip"]],template:function(a,b){a&1&&(I(0,"mat-chip-listbox",0),M("change",function(c){b.selectedSources=c.value;b.change.emit(c.value)}),tg(1,ITb,1,1,null,null,sg),J());a&2&&(C(),ug(b.sourceFilterKeys))},
dependencies:[dQ,lQ,jQ,FH,HH],encapsulation:2});var S$c=["menuTrigger"],T$c={label:"Last 1 day",numberOfDays:1},U$c={label:"Last 7 days",numberOfDays:7},V$c={label:"Last 30 days",numberOfDays:30},W$c={label:"Last 90 days",numberOfDays:90},X$c=[T$c,U$c,V$c,W$c],Y$c={1:T$c,7:U$c,30:V$c,90:W$c},s9=function(){this.timeBoundaries=X$c;this.change=new rG};s9.prototype.getLabel=function(a){if(a==null)return"";var b,c;return(c=(b=Y$c[a])==null?void 0:b.label)!=null?c:""};s9.prototype.openMenu=function(){this.menuTrigger.openMenu()};
s9.\u0275fac=function(a){return new (a||s9)};
s9.\u0275cmp=t({type:s9,selectors:[["time-boundary-filter"]],viewQuery:function(a,b){a&1&&Mg(S$c,5);if(a&2){var c;Qg(c=Rg())&&(b.menuTrigger=c.first)}},inputs:{selectedTimeBoundary:"selectedTimeBoundary"},outputs:{change:"change"},decls:9,vars:3,consts:[["menuTrigger","matMenuTrigger"],["timeBoundaryMenu","matMenu"],["aria-label","Time boundary selection",3,"selectable"],["appearance","hairline-filter","aria-label","Select time boundary","selected","","color","primary","role","button",1,"time-boundary-chip",
3,"keyup.enter","keyup.space","matMenuTriggerFor"],["matChipTrailingIcon","","svgIcon","arrow-dropdown"],["xPosition","before"],["mat-menu-item","",3,"disabled"],["mat-menu-item","",3,"click","disabled"]],template:function(a,b){if(a&1){var c=x();I(0,"mat-chip-listbox",2)(1,"mat-chip-option",3,0);M("keyup.enter",function(){z(c);return A(b.openMenu())})("keyup.space",function(){z(c);return A(b.openMenu())});Q(3);K(4,"mat-icon",4);J()();I(5,"mat-menu",5,1);tg(7,JTb,2,2,"button",6,sg);J()}a&2&&(a=L(6),
F("selectable",!1),C(),F("matMenuTriggerFor",a),C(2),R(" ",b.getLabel(b.selectedTimeBoundary)," "),C(4),ug(b.timeBoundaries))},dependencies:[$D,dQ,lQ,jQ,hQ,vI,yI,wI,zI],encapsulation:2});var Z$c=function(){return{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:80}},$$c=function(a){return[a]},t9=function(){this.isSnoozed=!0;this.snooze=new rG;this.unsnooze=new rG;this.isOpen=new rG;this.timePickerOpen=!1;this.currentPickerDateTime=this.now};t9.prototype.stopPropagation=function(a){a.stopPropagation()};t9.prototype.onOpen=function(a){this.isOpen.emit(a)};var aad=function(a,b){a.setHours(b);a.setMinutes(0);a.setSeconds(0);a.setMilliseconds(0)};
ea.Object.defineProperties(t9.prototype,{now:{configurable:!0,enumerable:!0,get:function(){return new Uk}},laterToday:{configurable:!0,enumerable:!0,get:function(){var a=this.now;a.getHours()>=12?a.add(new Dw("h",3)):aad(a,15);return a}},tomorrow:{configurable:!0,enumerable:!0,get:function(){var a=this.now;a.add(new Dw("d",1));aad(a,8);return a}},nextWeek:{configurable:!0,enumerable:!0,get:function(){var a=this.now;a.setDate(a.getDate()+(7-a.getDay())%7+1);aad(a,8);return a}},nextMonth:{configurable:!0,
enumerable:!0,get:function(){var a=this.now;a.add(new Dw("d",30));aad(a,8);return a}}});t9.\u0275fac=function(a){return new (a||t9)};
t9.\u0275cmp=t({type:t9,selectors:[["snooze-menu"]],viewQuery:function(a,b){a&1&&Mg(yI,7);if(a&2){var c;Qg(c=Rg())&&(b.menu=c.first)}},inputs:{isSnoozed:"isSnoozed"},outputs:{snooze:"snooze",unsnooze:"unsnooze",isOpen:"isOpen"},decls:31,vars:23,consts:[["trigger","cdkOverlayOrigin"],["aria-labelledby","snooze-menu-title",3,"closed"],[1,"title","gmat-body-2",3,"click"],[1,"list"],["mat-menu-item","",3,"click"],[1,"date"],[1,"bottom"],["mat-menu-item",""],["mat-menu-item","","dialogLabel","Pick date & time",
"ttr.aria-label","Pick date & time","matTooltip","Pick date & time","tabindex","0","cdkOverlayOrigin","",3,"keydown.enter","keydown.space","click"],["svgIcon","time-24px"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions"],["svgIcon","clear"],[3,"clickOutside"],[3,"cancelClicked","dateTimeChange","saveClicked","required","renderPanel","dateTime","includeTimePicker"]],template:function(a,b){if(a&1){var c=x();I(0,"mat-menu",1);M("closed",
function(d){z(c);if(d!=="click")b.onOpen(!1);return A()});I(1,"span",2);M("click",function(d){z(c);return A(b.stopPropagation(d))});Q(2," Snooze until... ");J();I(3,"div",3)(4,"button",4);M("click",function(){z(c);var d=b.laterToday;d&&b.snooze.emit(d);b.onOpen(!1);return A()});Q(5," Later today ");I(6,"span",5);Q(7);S(8,"date");J()();I(9,"button",4);M("click",function(){z(c);var d=b.tomorrow;d&&b.snooze.emit(d);b.onOpen(!1);return A()});Q(10," Tomorrow ");I(11,"span",5);Q(12);S(13,"date");J()();
I(14,"button",4);M("click",function(){z(c);var d=b.nextWeek;d&&b.snooze.emit(d);b.onOpen(!1);return A()});Q(15," Next week ");I(16,"span",5);Q(17);S(18,"date");J()();I(19,"button",4);M("click",function(){z(c);var d=b.nextMonth;d&&b.snooze.emit(d);b.onOpen(!1);return A()});Q(20," Next Month ");I(21,"span",5);Q(22);S(23,"date");J()()();I(24,"div",6);D(25,KTb,3,0,"button",7);I(26,"button",8,0);M("keydown.enter",function(){z(c);b.timePickerOpen=!b.timePickerOpen;return A()})("keydown.space",function(){z(c);
b.timePickerOpen=!b.timePickerOpen;return A()})("click",function(){z(c);b.timePickerOpen=!b.timePickerOpen;return A()});K(28,"mat-icon",9);Q(29," Pick date & time ");J()()();D(30,LTb,2,4,"ng-template",10)}a&2&&(a=L(27),C(7),Tg(eh(8,8,b.laterToday.toString(),"EEE, MMM d, h:mm a")),C(5),Tg(eh(13,11,b.tomorrow.toString(),"EEE, MMM d, h:mm a")),C(5),Tg(eh(18,14,b.nextWeek.toString(),"EEE, MMM d, h:mm a")),C(5),Tg(eh(23,17,b.nextMonth.toString(),"EEE, MMM d, h:mm a")),C(3),G(b.isSnoozed?25:-1),C(5),F("cdkConnectedOverlayOrigin",
a)("cdkConnectedOverlayOpen",b.timePickerOpen)("cdkConnectedOverlayPositions",bh(21,$$c,ah(20,Z$c))))},dependencies:[$D,EM,yI,wI,wy,vy,uP,Lw],styles:[".date[_ngcontent-%COMP%]{padding-left:20px;float:right}.title[_ngcontent-%COMP%]{padding:15px;font-size:.8rem;font-weight:700}"],changeDetection:0});var bad=[5433823,5418819,5421028,5122552,5422257];var u9=function(){this.DMA_TOOLTIP_TEXT="Issues related to DMA are part of a code red at Google, see go/dma52-cy";this.hotlistIds=null;this.onChipClicked=new kw},cad=function(a){return bad.some(function(b){var c;return(c=a.hotlistIds)==null?void 0:c.includes(b)})};u9.\u0275fac=function(a){return new (a||u9)};
u9.\u0275cmp=t({type:u9,selectors:[["onedev-dma-chip"]],inputs:{hotlistIds:"hotlistIds"},outputs:{onChipClicked:"onChipClicked"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"chip",3,"matTooltip"],[1,"content"],["href","http://go/dma","target","_blank",3,"click"]],template:function(a,b){a&1&&D(0,MTb,5,1,"ng-container",0);a&2&&F("ngIf",cad(b))},dependencies:[Gw,MR],styles:["[_nghost-%COMP%]{--chip-text:var(--text-inverse,#fff);--chip-bg:var(--red-600,red-600)}body.dark-mode[_nghost-%COMP%], body.dark-mode   [_nghost-%COMP%]{--chip-bg:var(--red-300,red-300)}.chip[_ngcontent-%COMP%]{margin-left:8px;border-radius:10px;color:var(--chip-text);display:inline-block;height:20px;padding:0 6px;background-color:var(--chip-bg)}.chip[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;line-height:12px;margin-bottom:4px;margin-top:4px}.chip[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit;text-decoration:none}"],
changeDetection:0});var v9=function(){Z.call(this);var a=this;this.errorHandler=r(jE);this.tasksService=r(TG);this.missionControlPrefs=r(VY);this.domSafe=r(mM);this.router=r(HE);this.appEvents=r(nE);this.analytics=r(wG);this.clipboard=r(mP);this.activeSession=r(dv);this.needsAttentionTaskFridge=r(VG);this.butterBar=r(hE);this.OPTIONAL_SOURCE_FILTERS=["GERRIT"];this.ALL_NEEDS_ATTENTION_SOURCE_FILTERS=[].concat(w(mLc),w(this.OPTIONAL_SOURCE_FILTERS));this.enableNewVisibilityChips=lu(this.activeSession,"enableNewVisibilityChips");
this.enableViewDismissedTasks=lu(this.activeSession,"enableViewDismissedTasks");this.enableStaleTasks=lu(this.activeSession,"enableStaleTasks");this.enableSnoozedTasks=lu(this.activeSession,"enableSnoozeTasks");this.enableManualSignaling=lu(this.activeSession,"enableManualSignaling");this.enableIterationChip=lu(this.activeSession,"enableIterationChip");this.enableOkrChip=lu(this.activeSession,"enableLinkedOkrChip");this.refreshTable=new Jf;this.SIGNAL_TO_DISPLAY_TEXT=M$c;this.SIGNAL_TO_ACTION_TEXT=
N$c;this.TaskResourceType=w7b;this.SignalStatus=j8b;this.sources$=this.missionControlPrefs.needsAttentionSources$;this.timeBoundary$=this.missionControlPrefs.prefs$.pipe(B(function(b){var c;return(c=b==null?void 0:b.needsAttentionDaysOld)!=null?c:30}));this.signalStatusFilter$=new bo(0);this.allNeedsAttention$=new bo([]);this.tasksQuery$=Me([this.timeBoundary$,this.sources$,this.signalStatusFilter$]).pipe(Of(this.destroyed$),Ef(function(b,c){return b[0]===c[0]&&yi(b[1],c[1])&&b[2]===c[2]}),Nf(function(b){var c=
k(b);b=c.next().value;var d=c.next().value;c=c.next().value;d=d.map(function(e){return yr(e)});return a.needsAttentionTaskFridge.watchMany({maxTaskAgeDays:b,sources:d,signalFilter:c})}),Kf({bufferSize:1,refCount:!0}));this.workItems$=this.tasksQuery$.pipe(Nf(function(b){return a.enableIterationChip||a.enableOkrChip?Afc(a.tasksService,dad(b.results)).pipe(xf(function(c){a.errorHandler.errorHandler(null,c);return Fe([])})):Fe([])}));this.liteTasks$=Me([this.tasksQuery$,this.workItems$]).pipe(B(function(b){var c=
k(b);b=c.next().value;var d=c.next().value;c=ead(d);d=a.getOkrIds(d);c.size>0&&a.analytics.trackEvent("missionControl","display","num-task-iterations",c.size);d.size>0&&a.analytics.trackEvent("missionControl","display","num-task-okrs",d.size);var e;return NSb(b,(e=a.signalStatusFilter$.getValue())!=null?e:0,c,d)}));this.loading$=this.needsAttentionTaskFridge.thinking$;this.tabData=[{signalStatusFilter:0,label:"Active",description:"Shows tasks with at least 1 active signal"}].concat(w(this.enableSnoozedTasks?
[{signalStatusFilter:2,label:"Snoozed",description:"Shows tasks that are snoozed"}]:[]),[{signalStatusFilter:1,label:"Dismissed",description:"Shows tasks with at least 1 dismissed signal"}]);this.displayedColumns="selection type description timestamp signal action buttons".split(" ");this.selection=new Wx(!0,[]);this.DEFAULT_NUM_ROWS_DISPLAYED=this.numDisplayedRows=10;this.getSignalUrgency=bv;this.getHighestPrioritySignal=PSb;Me([this.liteTasks$,this.sources$,this.timeBoundary$,this.signalStatusFilter$]).pipe(Of(this.destroyed$),
B(function(b){var c=k(b);b=c.next().value;c.next();c.next();c.next();b.sort(function(d,e){return Sk(e.lastAlertTimestamp)-Sk(d.lastAlertTimestamp)});return b})).subscribe(function(b){a.allNeedsAttention$.next(b)});Me([this.timeBoundary$,this.sources$]).pipe(Of(this.destroyed$),Ef(function(b,c){return b[0]===c[0]&&yi(b[1],c[1])}),Nf(function(b){var c=k(b);b=c.next().value;c=c.next().value.map(function(d){return yr(d)});return a.needsAttentionTaskFridge.watchMany({maxTaskAgeDays:b,sources:c,signalFilter:0})})).subscribe(function(b){setTimeout(function(){var c=
b.results.filter(function(d){var e;return d.task&&((e=d.signals)==null?void 0:e.filter(function(f){return f.signalStatus===0}))});a.appEvents.missionControlTaskCount.next(c.length)})});this.needsAttentionTaskFridge.error$.pipe(Of(this.destroyed$)).subscribe(function(b){a.errorHandler.errorHandler(null,b)})};Y(v9,Z);v9.\u0275dir=Z.\u0275dir;v9.prototype.ngOnInit=function(){this.refreshTable.pipe(Of(this.destroyed$)).subscribe(this.refreshTaskData.bind(this))};
v9.prototype.refreshTaskData=function(){var a,b,c;Q8b(this.needsAttentionTaskFridge,{maxTaskAgeDays:(a=Xo(this.timeBoundary$))!=null?a:0,sources:((b=Xo(this.sources$))!=null?b:[]).map(function(d){return yr(d)}),signalFilter:(c=this.signalStatusFilter$.getValue())!=null?c:0})};
var UTb=function(a,b){a.selection.selected.length===b.length?a.selection.clear():(b=b.map(function(c){return c.id}),a.selection.select.apply(a.selection,w(b)))},DUb=function(a,b,c){c.getTime()>(new Date).getTime()?(wfc(a.tasksService,[b.id],{seconds:(c==null?NaN:c.getTime())/1E3,nanos:0}).subscribe(function(){},function(d){return void a.errorHandler.errorHandler(null,d)}),fad(a,new Set([b.id])),a.analytics.trackEvent("needsAttention","click","snoozeTask")):a.butterBar.showWarning("Snooze date must be in the future")},
EUb=function(a,b){wfc(a.tasksService,[b.id]).subscribe(function(){},function(c){return void a.errorHandler.errorHandler(null,c)});fad(a,new Set([b.id]));a.analytics.trackEvent("needsAttention","click","unsnoozeTask")},zUb=function(a){if(a=qKa(a.snoozeUntilTimestamp))if(a=a.getTime()-(new Date).getTime(),a>0){a/=1E3;if(a<60)return"1 min left";if(a<3600)return a=Math.floor(a/60),a+" "+(a===1?"min":"mins")+" left";if(a<86400)return a=Math.floor(a/3600),a+" "+(a===1?"hr":"hrs")+" left";a=Math.floor(a/
86400);return a+" "+(a===1?"day":"days")+" left"}};
v9.prototype.navigateToResource=function(a,b,c){if(!(a.defaultPrevented||a.type==="mouseup"&&a instanceof MouseEvent&&a.button!==1||a.type==="keydown"&&a instanceof KeyboardEvent&&a.key!=="Enter")){this.sendClickAnalytics(b,c);var d;if(!a||((d=a.target)==null?void 0:d.tagName)!=="A")if(b.type==="ISSUE")b=Br(b.id),b=tq.viewIssue.makeHref(b),zm(a)?this.domSafe.openInNewTab(b):(a==null?0:a.shiftKey)?Dq(this.domSafe,b):Vt(this.router,b);else{var e;this.domSafe.openInNewTab((e=b.lastMentionLink)!=null?
e:b.link)}}};
v9.prototype.sendClickAnalytics=function(a,b){this.analytics.trackEvent("missionControl","navigate","needsAttention-"+a.type+"-"+a.signals.map(function(e){return e.type}).join(","));var c=k(RUb(a,b)),d=c.next().value;c=c.next().value;this.analytics.trackEvent("missionControl","ctr-sig-yes",d);this.analytics.trackEvent("missionControl","ctr-sig-no",c);gad(this,a,b);this.enableStaleTasks&&(this.analytics.trackEvent("missionControl","click",a.isStaleTask?"click-stale-yes":"click-stale-no"),a=b.filter(function(e){return e.isStaleTask}).length,
this.analytics.trackEvent("missionControl","display","num-stale-task",a),this.analytics.trackEvent("missionControl","display","num-fresh-tasks",b.length-a))};v9.prototype.setNumDisplayedRows=function(a){this.numDisplayedRows=a.length>this.numDisplayedRows?a.length:10};
var FUb=function(a){return Xo(a.signalStatusFilter$)!==1?"Dismiss a work item to hide it from the table":"Un-dismiss a work item to move it back to the Active tab"},cUb=function(a){var b=new Set(a.selection.selected),c,d;return(d=(c=a.allNeedsAttention$.getValue())==null?void 0:c.some(function(e){return b.has(e.id)&&!e.signals.some(function(f){return f.type==="DRIVE_MANUAL_SIGNAL"||f.type==="CHANGELIST_MANUAL_SIGNAL"||f.type==="ISSUE_MANUALLY_SIGNALED"||f.type==="GERRIT_MANUAL_SIGNAL"})}))!=null?
d:!1},BUb=function(a){return Xo(a.signalStatusFilter$)!==2?"Snooze a work item to hide it from the table":"Snooze Options"},ZTb=function(a,b){ufc(a.tasksService,b,Xo(a.signalStatusFilter$)!==1).subscribe(function(){},function(c){return void a.errorHandler.errorHandler(null,c)});fad(a,new Set(b))},bUb=function(a){var b=a.selection.selected,c=cUb(a);a.analytics.trackEvent("manualSignal",c?"add":"remove","bulkControls",b.length);vfc(a.tasksService,b,c).subscribe(function(){a.refreshTaskData()},function(d){return void a.errorHandler.errorHandler(null,
d)});a.selection.clear()};g=v9.prototype;g.copyIdOrLink=function(a){a.type==="ISSUE"?(a=Br(a.id))&&this.clipboard.copy(a):this.clipboard.copy(a.link)};g.sendDmaAnalytics=function(){this.analytics.trackEvent("missionControl","click","dmaChip")};g.extractLastDigits=function(a){var b;return(b=Br(a))!=null?b:""};
g.onTabIndexChange=function(a){this.allNeedsAttention$.next([]);this.selection.clear();var b;this.signalStatusFilter$.next((b=this.tabData[a])==null?void 0:b.signalStatusFilter);var c;this.analytics.trackEvent("missionControl","view",(c=this.tabData[a])==null?void 0:c.label)};g.hasFutureAvailability=function(a){var b,c;return!!(((b=a.futureAvailability)==null?0:b.futureOooTimestamp)&&((c=a.futureAvailability)==null?0:c.comeBackTimestamp))};
var fad=function(a,b){var c=a.allNeedsAttention$.getValue();a.allNeedsAttention$.next(c.filter(function(d){return!b.has(d.id)}));Xo(a.signalStatusFilter$)===0&&a.appEvents.missionControlTaskCount.next(c.filter(function(d){return!b.has(d.id)}).length)},ead=function(a){return a.reduce(function(b,c){c.iterations!==void 0&&c.iterations.length>0&&b.set(c.workItemId,c.iterations[0]);return b},new Map)};
v9.prototype.getOkrIds=function(a){return a.reduce(function(b,c){c.okrIds!==void 0&&c.okrIds.length>0&&b.set(c.workItemId,c.okrIds);return b},new Map)};
var dad=function(a){return a.filter(function(b){return b.task&&b.task.taskResourceType==="ISSUE"}).map(function(b){var c;return(c=b.task)==null?void 0:c.taskId}).filter(kj)},gad=function(a,b,c){had(a,b,c);iad(a,b,c)},had=function(a,b,c){a.hasFutureAvailability(b)?a.analytics.trackEvent("missionControl","ctr-signal-attributes","availability",!0):c.some(function(d){return a.hasFutureAvailability(d)})&&a.analytics.trackEvent("missionControl","ctr-signal-attributes","availability",!1)},iad=function(a,
b,c){b.reviewEstimate?a.analytics.trackEvent("missionControl","ctr-signal-attributes","review-time",!0):c.some(function(d){return!!d.reviewEstimate})&&a.analytics.trackEvent("missionControl","ctr-signal-attributes","review-time",!1)};v9.\u0275fac=function(a){return new (a||v9)};
v9.\u0275cmp=t({type:v9,selectors:[["b-needs-attention-table"]],inputs:{refreshTable:"refreshTable"},features:[cg],decls:13,vars:13,consts:[["pickerToggle","bAddTaskDialogToggle"],["snoozeMenu",""],["gmat-tabs","","matAlignTabs","start","matStretchTabs","false","preserveContent","",3,"selectedIndex"],[1,"flex-kids-x","align-items-center","padded-xs-y","border-bottom"],[1,"heading-s"],[1,"padded-s-x",3,"sourceFilterKeys","selectedSources"],[1,"border-left","padded-s-left","padded-s-right",3,"selectedTimeBoundary"],
[1,"border-left"],[1,"text-center","border-bottom","padded-s-y"],["gmat-tabs","","matAlignTabs","start","matStretchTabs","false","preserveContent","",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],["matTooltipShowDelay","500",1,"tab-label",3,"matTooltip"],[1,"padded-s-x",3,"change","sourceFilterKeys","selectedSources"],[1,"border-left","padded-s-left","padded-s-right",3,"change","selectedTimeBoundary"],["mat-button","","type","button","bAddTaskDialogToggle","",1,"add-task-button",3,
"taskAdded"],[1,"muted","border-bottom","padded-s-y"],["mat-table","","aria-label","Table of alerts",1,"full-width",3,"dataSource"],["matColumnDef","selection"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","description"],["matColumnDef","timestamp"],["matColumnDef","signal"],["matColumnDef","action"],["matColumnDef","buttons"],["mat-header-cell","","class","border-bottom",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],
["mat-row","","class","clickable",3,"click",4,"matRowDef","matRowDefColumns"],["class","mat-row padded-y",4,"matNoDataRow"],["mat-button","",1,"margin-s-top"],["mat-header-cell",""],["aria-label","Select all alerts",3,"change","checked","indeterminate"],["mat-cell",""],["aria-label","Select alert",3,"click","change","checked"],["role","img","matTooltipPosition","left","matTooltipShowDelay","250",3,"matTooltip","svgIcon"],["mat-button","",1,"bulk-dismiss"],["mat-button","",1,"bulk-manual-signal"],
["mat-button","",1,"bulk-dismiss",3,"click"],["mat-button","",1,"bulk-manual-signal",3,"click"],[1,"flex-kids-x","align-items-center"],[1,"italic"],[3,"issueId"],[3,"accessLevel","compactMode"],[3,"okrIds"],[3,"iteration"],[1,"going-ooo",3,"matTooltip"],["matTooltip","Estimated review time (visible only to you)",1,"review-estimate"],[1,"margin-s-right",3,"issuePriority"],["tabindex","0","role","link",1,"subtle-link","break-word","grow-1",3,"auxclick","href"],[3,"onChipClicked","hotlistIds"],["svgIcon",
"event_upcoming_24px"],[3,"click","taskId","lastAlertTimestamp"],["mode","relativepastshort",3,"timestamp","paddingLeftPx"],[3,"issueId","signals"],["mat-button","",1,"primary","action-button"],["mat-header-cell","",1,"border-bottom"],[1,"snooze-time"],[1,"buttons-container"],["mat-icon-button","",1,"copy-btn","xs",3,"click","matTooltip"],["svgIcon","copy","color","primary",1,"copy-icon"],["mat-icon-button","",1,"dismiss-btn","xs",3,"click","ariaLabel","matTooltip"],["svgIcon","issue-status-wont-fix",
"color","primary",1,"dismiss-icon"],["mat-icon-button","",1,"snooze-btn","xs",3,"ariaLabel","matTooltip","matMenuTriggerFor"],[3,"snooze","unsnooze","isSnoozed"],["mat-icon-button","",1,"snooze-btn","xs",3,"click","ariaLabel","matTooltip","matMenuTriggerFor"],["svgIcon","time-24px","color","primary",1,"snooze-icon"],["mat-header-row",""],["mat-row","",1,"clickable",3,"click"],[1,"mat-row","padded-y"],["colspan","7",1,"mat-cell","type-l","text-center","padded-top"],["mat-button","",1,"margin-s-top",
3,"click"],["svgIcon","arrow-down",1,"icon"],["svgIcon","arrow-up",1,"icon"],[3,"ariaLabel"]],template:function(a,b){a&1&&(D(0,PTb,3,1,"mat-tab-group",2),I(1,"div",3)(2,"span",4),Q(3,"Sources"),J(),D(4,QTb,1,2,"source-filter-chips",5),S(5,"async"),D(6,RTb,1,1,"time-boundary-filter",6),S(7,"async"),D(8,STb,4,0,"div",7),J(),D(9,PUb,2,3),S(10,"async"),S(11,"async"),D(12,QUb,2,1,"div",8));if(a&2){var c,d;G(b.enableViewDismissedTasks?0:-1);C(4);G((c=U(5,5,b.sources$))?4:-1,c);C(2);G((d=U(7,7,b.timeBoundary$))?
6:-1,d);C(2);G(b.enableManualSignaling&&b.signalStatusFilter$.getValue()===b.SignalStatus.ACTIVE?8:-1);C();G(U(10,9,b.liteTasks$)&&!U(11,11,b.loading$)?9:12)}},dependencies:[$D,VM,fQ,bR,OQ,UQ,QQ,NQ,WQ,RQ,TQ,XQ,ZQ,$Q,ZO,TO,UO,VO,qN,uN,FH,HH,vD,Wy,Vy,Xy,r9,t9,s9,JO,pP,cO,u9,VP,P$c,R$c,zI,p9,k9,h9,Iw,Ow,i9],styles:[".mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:32px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%], th.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-mdc-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-mdc-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-mdc-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}.mat-mdc-row[_ngcontent-%COMP%]:last-of-type   .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-mdc-row[_ngcontent-%COMP%]   .mat-column-active-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-mdc-row.active[_ngcontent-%COMP%]   .mat-column-active-indicator[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]:focus-within   .mat-column-active-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     mat-spinner.large{top:unset}[_nghost-%COMP%]     .add-task-button:focus-within:not(.cdk-keyboard-focused) .mat-mdc-button-persistent-ripple, [_nghost-%COMP%]     .copy-btn:focus-within:not(.cdk-keyboard-focused) .mat-mdc-button-persistent-ripple, [_nghost-%COMP%]     .dismiss-btn:focus-within:not(.cdk-keyboard-focused) .mat-mdc-button-persistent-ripple, [_nghost-%COMP%]     .snooze-btn:focus-within:not(.cdk-keyboard-focused) .mat-mdc-button-persistent-ripple{--mat-icon-button-focus-state-layer-opacity:0}.mat-column-selection[_ngcontent-%COMP%]{text-align:center}.mat-column-type[_ngcontent-%COMP%]{text-align:center}.mat-column-type[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.product-icon.critique-logo[_ngcontent-%COMP%]{max-width:20px}.product-icon.drive-doc[_ngcontent-%COMP%]{color:#1967d2}.product-icon.drive-sheet[_ngcontent-%COMP%]{color:#1e8e3e}.product-icon.drive-slide[_ngcontent-%COMP%]{color:#f9ab00}.product-icon.gerrit-logo[_ngcontent-%COMP%]{max-width:20px}th.mat-column-signal[_ngcontent-%COMP%]{padding-left:8px}th.mat-column-action[_ngcontent-%COMP%]{padding-left:12px}th.mat-column-description[_ngcontent-%COMP%]{overflow:visible}th.mat-column-buttons[_ngcontent-%COMP%]{padding-left:12px}.copy-icon[_ngcontent-%COMP%]{opacity:0;margin-bottom:1px}.dismiss-icon[_ngcontent-%COMP%]{opacity:0;margin-bottom:1px}.snooze-icon[_ngcontent-%COMP%]{opacity:0;margin-bottom:1px}.buttons-container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.snooze-time[_ngcontent-%COMP%]{position:absolute;padding-left:12px}.copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%], .copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .snooze-icon[_ngcontent-%COMP%], .dismiss-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .dismiss-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%], .dismiss-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .snooze-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .dismiss-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .snooze-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .dismiss-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .snooze-icon[_ngcontent-%COMP%], .snooze-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .snooze-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%], .snooze-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .snooze-icon[_ngcontent-%COMP%]{opacity:1;color:#1a73e8;color:var(--primary);background-color:unset}.copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .snooze-time[_ngcontent-%COMP%], .dismiss-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .snooze-time[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .snooze-time[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .snooze-time[_ngcontent-%COMP%], .snooze-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .snooze-time[_ngcontent-%COMP%]{opacity:0;display:none}a.action-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link);white-space:nowrap}a.action-button[_ngcontent-%COMP%]:active, a.action-button[_ngcontent-%COMP%]:focus, a.action-button[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link)}.bulk-dismiss[_ngcontent-%COMP%]{height:24px;line-height:24px;margin-left:-32px}.bulk-manual-signal[_ngcontent-%COMP%]{height:24px;line-height:24px}.review-estimate[_ngcontent-%COMP%]{background-color:#edfbf1;background-color:var(--green-bg);height:18px;line-height:18px;padding:0 8px}.going-ooo[_ngcontent-%COMP%]{background-color:#fff8e4;background-color:var(--yellow-bg);color:#8f6b00;color:var(--yellow-text);-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;height:18px;padding:0 4px}.going-ooo[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{height:16px;width:16px}.going-ooo[_ngcontent-%COMP%], .review-estimate[_ngcontent-%COMP%]{border-radius:4px;display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;margin-right:4px;vertical-align:middle}"]});var w9=function(){Z.call(this);var a=this;this.prefsService=r(VY);this.appEvents=r(nE);this.analytics=r(wG);this.numNeedsAttentionTasks$=this.appEvents.missionControlTaskCount;this.refreshData=new Jf;this.numNeedsAttentionTasks$.pipe(Ye(kj),Cf(),Of(this.destroyed$)).subscribe(function(e){a.analytics.trackEvent("missionControl","display","num-needs-attention-"+e,e)});var b,c=(b=this.prefsService.prefs.needsAttentionSources)!=null?b:[];b=this.prefsService.prefs.isNeedsAttentionSourcesConfigured;c=c.length!==
0||b?c:[].concat(w(mLc));var d;b=(d=this.prefsService.prefs.needsAttentionDaysOld)!=null?d:30;this.analytics.trackEvent("missionControl","view","needsAttention-sources-"+c.join(",")+"-"+b)};Y(w9,Z);w9.\u0275dir=Z.\u0275dir;w9.prototype.isCollapsed=function(){return this.prefsService.isCollapsed("needs-attention-wrapper")};w9.prototype.toggleCollapsed=function(){this.prefsService.toggleCollapsed("needs-attention-wrapper")};w9.\u0275fac=function(a){return new (a||w9)};
w9.\u0275cmp=t({type:w9,selectors:[["needs-attention-wrapper"]],inputs:{refreshData:"refreshData"},features:[cg],decls:10,vars:6,consts:[[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center"],[1,"heading-s"],["svgIcon","info","tabindex","0","role","button","aria-hidden","false","aria-label","Work items which require actions from you","matTooltip","Work items which require actions from you",1,"info","margin-s-left"],["mat-icon-button","","aria-label","Toggle expansion state",1,"small","collapse-btn",
"margin-s-left",3,"click"],["svgIcon","arrow-up",1,"icon-m"],[1,"alert-count-badge","b-chip"],[1,"main-content"],[1,"alert-count"],[3,"refreshTable"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"header",1)(2,"h3",2),Q(3," Needs attention "),J(),K(4,"mat-icon",3),I(5,"button",4),M("click",function(){return b.toggleCollapsed()}),K(6,"mat-icon",5),J(),D(7,SUb,3,1,"div",6),S(8,"async"),J(),D(9,TUb,2,1,"div",7),J());if(a&2){var c;ng("collapsed",b.isCollapsed());C(7);G((c=U(8,4,b.numNeedsAttentionTasks$))?
7:-1,c);C(2);G(b.isCollapsed()?-1:9)}},dependencies:[$D,vD,Xy,v9,FH,HH,Iw],styles:["[_nghost-%COMP%]{display:block}.collapse-btn[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .1s ease-in-out;transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out}.collapsed[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.carded[_ngcontent-%COMP%]{-webkit-transition:none .1s ease-in-out;transition:none .1s ease-in-out;-webkit-transition-property:padding;transition-property:padding}.carded.collapsed[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.alert-count-badge[_ngcontent-%COMP%]{margin-left:8px;background-color:#c5221f;background-color:var(--text-bad);color:#fff;color:var(--text-inverse);line-height:24px;border-radius:12px}.alert-count-badge[_ngcontent-%COMP%]   .alert-count[_ngcontent-%COMP%]{font-size:.8125rem;height:24px;text-align:center}.info[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);height:20px;width:20px}"]});var LVb=function(){return[]},MVb=function(){return["moreRows"]},x9=function(){Z.call(this);var a=this;this.prefsService=r(VY);this.issueFridge=r(OF);this.router=r(HE);this.domSafe=r(mM);this.analytics=r(wG);this.errorHandler=r(jE);this.activeSession=r(dv);this.clipboard=r(mP);this.myTasksFridge=r(UG);this.tasksService=r(TG);this.OPTIONAL_SOURCE_FILTERS=["GERRIT"];this.ALL_MY_TASK_FILTERS=[].concat(w(nLc),w(this.OPTIONAL_SOURCE_FILTERS));this.TaskResourceType=w7b;this.taskResourceTypeToIcon=Dua;this.extractLastDigits=
Br;this.tableColumns=[].concat(w(hLc));this.tableOptions=Object.assign({},kLc,{rowLimit:10});this.refreshData=new Jf;this.manualSignalTriggered=new rG;this.sources$=this.prefsService.myTasksSources$;this.timeBoundary$=this.prefsService.prefs$.pipe(B(function(d){var e;return(e=d==null?void 0:d.myTasksDaysOld)!=null?e:7}));var b;this.INITIAL_TAB_INDEX=(b=tWc(this.prefsService,"mc-my-tasks"))!=null?b:0;this.enableNewVisibilityChips=lu(this.activeSession,"enableNewVisibilityChips");this.enableManualSignaling=
lu(this.activeSession,"enableManualSignaling");this.isSavingManualSignal=!1;this.tabData=[{label:"Owned",description:"Tasks you own or are the author of",liteTasks:new bo([]),loading:!0},{label:"Collaborating",description:"Tasks you're working on or contributing to (but don't own)",liteTasks:new bo([]),loading:!0},{label:"Following",description:"Tasks you're tracking or have recent activities on",liteTasks:new bo([]),loading:!0},UUb(this.issueFridge)].filter(kj);this.myTasks$=Me([this.timeBoundary$,
this.sources$]).pipe(Of(this.destroyed$),Ef(function(d,e){return d[0]===e[0]&&yi(d[1],e[1])}),Nf(function(d){var e=k(d);d=e.next().value;e=e.next().value;var f=new Set(e.map(function(h){return yr(h)}));return a.myTasksFridge.watchMany({maxTaskAgeDays:d,sources:Array.from(f),issueFilter:VUb(e)})}));this.displayColumns="type title modified role created options".split(" ");this.DEFAULT_NUM_ROWS_DISPLAYED=this.numDisplayedRows=10;this.myTasks$.subscribe(function(d){var e=d.results;d=e.filter(function(v){return v.resourceRelationships.filter(function(y){return y.category===
"OWNER"}).length>0}).sort(TVb);var f=e.filter(function(v){return v.resourceRelationships.filter(function(y){return y.category==="COLLABORATOR"}).length>0}).sort(TVb);e=e.filter(function(v){return v.resourceRelationships.filter(function(y){return y.category==="FOLLOWING"}).length>0}).sort(TVb);var h;(h=a.tabData[0].liteTasks)==null||h.next(d);var l;(l=a.tabData[1].liteTasks)==null||l.next(f);var q;(q=a.tabData[2].liteTasks)==null||q.next(e);a.tabData[0].loading=!1;a.tabData[1].loading=!1;a.tabData[2].loading=
!1});var c;this.analytics.trackEvent("missionControl","display","my-tasks-"+((c=this.tabData[this.INITIAL_TAB_INDEX])==null?void 0:c.label));this.myTasksFridge.error$.pipe(Of(this.destroyed$)).subscribe(function(d){a.errorHandler.errorHandler(null,d)})};Y(x9,Z);x9.\u0275dir=Z.\u0275dir;g=x9.prototype;
g.ngOnInit=function(){var a=this;this.refreshData.pipe(Of(this.destroyed$)).subscribe(function(){var b,c=(b=a.prefsService.prefs.myTasksDaysOld)!=null?b:7;b=a.prefsService.getMyTasksSources();var d=new Set(b.map(function(e){return yr(e)}));a.myTasksFridge.watchMany({maxTaskAgeDays:c,sources:Array.from(d),issueFilter:VUb(b)})})};g.toggleCollapsed=function(){this.prefsService.toggleCollapsed("mc-my-tasks")};g.isCollapsed=function(){return this.prefsService.isCollapsed("mc-my-tasks")};
g.setNumDisplayedRows=function(a){this.numDisplayedRows=a.length>this.numDisplayedRows?a.length:10};g.onTabIndexChange=function(a){Ghb(this.prefsService,"mc-my-tasks",a);this.numDisplayedRows=10;var b;this.analytics.trackEvent("missionControl","view",(b=this.tabData[a])==null?void 0:b.label)};
g.navigateToResource=function(a,b){if(!(a.defaultPrevented||a.type==="mouseup"&&a instanceof MouseEvent&&a.button!==1)){this.sendClickAnalytics(b);var c;a&&((c=a.target)==null?void 0:c.tagName)==="A"||(b.taskResourceType==="ISSUE"?(b=Br(b.taskId),b=tq.viewIssue.makeHref(b),zm(a)?this.domSafe.openInNewTab(b):a&&a.shiftKey?Dq(this.domSafe,b):Vt(this.router,b)):this.domSafe.openInNewTab(b.externalLink))}};
g.copyIdOrLink=function(a){a.taskResourceType==="ISSUE"?(a=Br(a.taskId),this.clipboard.copy(a)):this.clipboard.copy(a.externalLink)};var zVb=function(a,b){a.isSavingManualSignal=!0;a.analytics.trackEvent("manualSignal","add","myTasksRow");var c=b.taskResourceType==="ISSUE"?3E3:0;vfc(a.tasksService,[b.taskId],!0).pipe(Df(c)).subscribe(function(){a.manualSignalTriggered.emit(b);a.isSavingManualSignal=!1},function(d){a.errorHandler.errorHandler(null,d);a.isSavingManualSignal=!1})};
x9.prototype.sendClickAnalytics=function(a){var b,c=((b=a.resourceRelationships[0].roleName)!=null?b:"").split(" ").map(function(d,e){return e===0?d.toLowerCase():d.charAt(0).toUpperCase()+d.substring(1).toLowerCase()}).join("");this.analytics.trackEvent("missionControl","navigate","myTasks-"+a.taskResourceType+"-"+c)};x9.prototype.sendDmaAnalytics=function(){this.analytics.trackEvent("missionControl","click","dmaChip")};x9.prototype.getIds=function(a){return a.map(function(b){return b.issueId})};
var lVb=function(a){return a==="P0"||a==="P1"};x9.\u0275fac=function(a){return new (a||x9)};
x9.\u0275cmp=t({type:x9,selectors:[["my-tasks"]],inputs:{refreshData:"refreshData"},outputs:{manualSignalTriggered:"manualSignalTriggered"},features:[cg],decls:8,vars:3,consts:[[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center"],[1,"heading-s"],["svgIcon","info","tabindex","0","role","button","aria-hidden","false","aria-label","Recent items helps you quickly find your active tasks and docs organized by your relation to them","matTooltip","Recent items helps you quickly find your active tasks and docs organized by your relation to them",
1,"info","margin-s-left"],["mat-icon-button","","aria-label","Toggle collapsed state for this card",1,"small","collapse-btn","margin-s-left",3,"click"],["svgIcon","arrow-up",1,"icon-m"],[1,"main-content","margin-s-top"],["gmat-tabs","","matAlignTabs","start","matStretchTabs","false","preserveContent","",3,"selectedIndexChange","selectedIndex"],["mat-tab-label",""],[1,"tab-filters","flex-kids-x","align-items-center","padded-xs-y","border-bottom"],[1,"text-center","border-bottom","padded-s-y"],["matTooltipShowDelay",
"500",1,"tab-label",3,"matTooltip"],[1,"padded-s-x",3,"sourceFilterKeys","selectedSources"],[1,"border-left","padded-s-left",3,"selectedTimeBoundary"],[1,"padded-s-x",3,"change","sourceFilterKeys","selectedSources"],[1,"border-left","padded-s-left",3,"change","selectedTimeBoundary"],[3,"issueIds","tableColumns","options"],["mat-table","",3,"dataSource","class"],[1,"muted","border-bottom","padded-s-y"],["mat-table","",3,"dataSource"],["matColumnDef","type"],["mat-header-cell","",4,"matHeaderCellDef"],
["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["matColumnDef","modified"],["matColumnDef","role"],["matColumnDef","created"],["matColumnDef","options"],["mat-header-cell","","class","options-column border-bottom",4,"matHeaderCellDef"],["mat-cell","","class","options-column",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","clickable",3,"click",4,"matRowDef","matRowDefColumns"],["matColumnDef","moreRows"],["mat-footer-cell","","colspan","2",4,"matFooterCellDef"],
["mat-footer-row","",3,"hidden",4,"matFooterRowDef"],["class","mat-row padded-y",4,"matNoDataRow"],["mat-header-cell",""],["mat-cell",""],["matTooltipPosition","left","matTooltipShowDelay","250",3,"matTooltip","svgIcon"],[1,"italic"],[1,"margin-xs-right",3,"issuePriority"],[1,"subtle-link","break-word",3,"auxclick","href"],[3,"hotlistIds"],[3,"issueId","compactMode"],[3,"accessLevel","compactMode"],[3,"onChipClicked","hotlistIds"],["mode","relativepastshort",3,"timestamp","paddingLeftPx"],["mat-header-cell",
"",1,"options-column","border-bottom"],["mat-cell","",1,"options-column"],[1,"buttons-container"],["mat-icon-button","","aria-label","Trigger a needs attention alert on this task",1,"manual-signal-btn","xs",3,"disabled","matTooltip"],["mat-icon-button","",1,"copy-btn","xs",3,"click","matTooltip"],["svgIcon","copy","color","primary",1,"copy-icon"],["mat-icon-button","","aria-label","Trigger a needs attention alert on this task",1,"manual-signal-btn","xs",3,"click","disabled","matTooltip"],["svgIcon",
"label_important_outline_24px","color","primary",1,"manual-signal-icon"],["mat-header-row",""],["mat-row","",1,"clickable",3,"click"],["mat-footer-cell","","colspan","2"],["mat-button","",1,"margin-s-top"],["mat-button","",1,"margin-s-top",3,"click"],["svgIcon","arrow-down",1,"icon"],["svgIcon","arrow-up",1,"icon"],["mat-footer-row","",3,"hidden"],[1,"mat-row","padded-y"],["colspan","5",1,"mat-cell","type-l","text-center","padded-top"],[3,"ariaLabel"]],template:function(a,b){a&1&&(I(0,"div",0)(1,
"header",1)(2,"h3",2),Q(3," Recent items "),J(),K(4,"mat-icon",3),I(5,"button",4),M("click",function(){return b.toggleCollapsed()}),K(6,"mat-icon",5),J()(),D(7,SVb,4,1,"div",6),J());a&2&&(ng("collapsed",b.isCollapsed()),C(7),G(b.isCollapsed()?-1:7))},dependencies:[$D,pP,JO,r9,s9,VM,cO,u9,VP,UV,vD,Vy,Xy,ZO,TO,UO,VO,fQ,bR,OQ,UQ,QQ,NQ,WQ,PQ,VQ,RQ,TQ,SQ,XQ,ZQ,YQ,$Q,FH,HH,Iw],styles:[".mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:32px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%], th.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-mdc-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-mdc-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-mdc-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-mdc-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}.mat-mdc-row[_ngcontent-%COMP%]:last-of-type   .mat-mdc-cell[_ngcontent-%COMP%]{border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-mdc-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}[_nghost-%COMP%]{display:block}.collapse-btn[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .1s ease-in-out;transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out}.collapsed[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.carded[_ngcontent-%COMP%]{-webkit-transition:none .1s ease-in-out;transition:none .1s ease-in-out;-webkit-transition-property:padding;transition-property:padding}.carded.collapsed[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.time-boundary-listbox[_ngcontent-%COMP%]   mat-chip-option[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{cursor:pointer}table[_ngcontent-%COMP%]{width:100%;table-layout:fixed}mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{min-height:2rem}mat-header-cell[_ngcontent-%COMP%]{font-weight:500}.mat-mdc-cell[_ngcontent-%COMP%], .mat-mdc-header-cell[_ngcontent-%COMP%]{padding:0 .75rem}.mat-column-type[_ngcontent-%COMP%]{width:4%;min-width:45px;text-align:center}.mat-column-type[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.mat-column-created[_ngcontent-%COMP%], .mat-column-modified[_ngcontent-%COMP%]{min-width:180px;width:12%}.mat-column-role[_ngcontent-%COMP%]{min-width:100px;width:10%}.options-column[_ngcontent-%COMP%]{width:64px;text-align:center}.mat-column-moreRows[_ngcontent-%COMP%]{border:none}.product-icon.critique-logo[_ngcontent-%COMP%]{max-width:20px}.product-icon.drive-doc[_ngcontent-%COMP%]{color:#1967d2}.product-icon.drive-sheet[_ngcontent-%COMP%]{color:#1e8e3e}.product-icon.drive-slide[_ngcontent-%COMP%]{color:#f9ab00}.product-icon.gerrit-logo[_ngcontent-%COMP%]{max-width:20px}.info[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);height:20px;width:20px}.tab-label[_ngcontent-%COMP%]{cursor:pointer}.buttons-container[_ngcontent-%COMP%]{width:100%;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}button.manual-signal-btn[disabled][_ngcontent-%COMP%]{opacity:.35}.copy-icon[_ngcontent-%COMP%], .manual-signal-icon[_ngcontent-%COMP%]{color:#fff;color:var(--background);margin-bottom:1px;max-width:20px}.copy-icon.cdk-keyboard-focused[_ngcontent-%COMP%]   .buttons-container[_ngcontent-%COMP%], .copy-icon.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .copy-icon.cdk-keyboard-focused[_ngcontent-%COMP%]   .manual-signal-icon[_ngcontent-%COMP%], .manual-signal-icon.cdk-keyboard-focused[_ngcontent-%COMP%]   .buttons-container[_ngcontent-%COMP%], .manual-signal-icon.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .manual-signal-icon.cdk-keyboard-focused[_ngcontent-%COMP%]   .manual-signal-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .buttons-container[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .manual-signal-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .buttons-container[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .manual-signal-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--primary);background-color:unset}[_nghost-%COMP%]     .copy-btn:focus-within:not(.cdk-keyboard-focused) .mat-mdc-button-persistent-ripple, [_nghost-%COMP%]     .manual-signal-btn:focus-within:not(.cdk-keyboard-focused) .mat-mdc-button-persistent-ripple{--mat-icon-button-focus-state-layer-opacity:0}\n/*# sourceMappingURL=my_tasks.css.map */"]});var y9=function(){Z.call(this);var a=this;this.hostElement=r(ge);this.analytics=r(wG);this.userFeedback=r(HU);this.prefsService=r(VY);this.hatsService=r(gS);this.appSearchState=r(KY);this.HOTKEYS=ep;this.refreshAllMissionControlData=new Jf;this.refreshNeedsAttentionData=new Jf;this.captureAnyClick=function(b){b=nxa(b);for(var c=k(Object.entries(jad)),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;if(b.includes(d)){a.analytics.trackEvent("missionControl","click",
e);break}}};this.refreshAllMissionControlData.pipe(Of(this.destroyed$)).subscribe(function(){a.refreshNeedsAttentionData.next()})};Y(y9,Z);y9.\u0275dir=Z.\u0275dir;y9.prototype.ngOnInit=function(){var a=this;setTimeout(function(){a.appSearchState.clear()});this.hostElement.nativeElement.addEventListener("click",this.captureAnyClick,!0);var b=k(kad(this)),c=b.next().value;b=b.next().value;this.analytics.trackEvent("missionControl","sections-on-load",c,b);IAc(this.hatsService,"u5xoTzKbb0g6pPHSLo10WcCoiLmK").pipe(Of(this.destroyed$)).subscribe()};
y9.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.hostElement.nativeElement.removeEventListener("click",this.captureAnyClick,!0)};var kad=function(a){a=[a.prefsService.isCollapsed("needs-attention-wrapper")?"-":"a",a.prefsService.isCollapsed("mc-my-tasks")?"-":"t",a.prefsService.isCollapsed("work-areas-wrapper-card")?"-":"w"];var b=a.filter(function(c){return c!=="-"}).length;return[a.join(""),b]};y9.prototype.refresh=function(){this.refreshAllMissionControlData.next()};
y9.\u0275fac=function(a){return new (a||y9)};
y9.\u0275cmp=t({type:y9,selectors:[["ng-component"]],features:[cg],decls:14,vars:4,consts:[[1,"a11y-only"],[1,"padded-s","flex-kids-y","gap-s","pos-fill","bg-off-main","overflow","overflow-on-print-media",3,"onHotkey","hotkey"],[1,"flex-kids-x","align-items-center","justify-flex-end","info-row"],["href","http://go/b-home","target","_blank",1,"margin-right","learn-more-link"],["mat-stroked-button","",1,"small",3,"click"],[1,"a"],[3,"refreshData"],[1,"t"],[3,"manualSignalTriggered","refreshData"],[1,
"w"]],template:function(a,b){a&1&&(I(0,"h2",0),Q(1,"Mission Control"),J(),I(2,"div",1),M("onHotkey",function(){return b.refresh()}),I(3,"div",2)(4,"a",3),Q(5,"Learn about 'Home'"),J(),I(6,"button",4),M("click",function(){uIc(b.userFeedback)}),Q(7,"Give feedback"),J()(),I(8,"section",5),K(9,"needs-attention-wrapper",6),J(),I(10,"section",7)(11,"my-tasks",8),M("manualSignalTriggered",function(){return b.refreshNeedsAttentionData.next()}),J()(),I(12,"section",9),K(13,"work-areas-wrapper-card",6),J()());
a&2&&(C(2),F("hotkey",b.HOTKEYS.REFRESH_ISSUE_LIST),C(7),F("refreshData",b.refreshNeedsAttentionData),C(2),F("refreshData",b.refreshAllMissionControlData),C(2),F("refreshData",b.refreshAllMissionControlData))},dependencies:[vD,Vy,AZ,w9,x9,$H],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     section>*>.carded{box-shadow:0 1px 2px 0 hsla(0,0%,50%,.3),0 2px 6px 2px hsla(0,0%,50%,.15);border:none}.dark-mode   [_nghost-%COMP%]     section>*>.carded{box-shadow:0 2px 3px 0 rgba(0,0,0,.3),0 6px 10px 4px rgba(0,0,0,.15)}.learn-more-link[_ngcontent-%COMP%]{color:#185abc;color:var(--link-high-contrast)}.learn-more-link[_ngcontent-%COMP%]:hover{text-decoration:underline}\n/*# sourceMappingURL=mission_control_wrapper.css.map */"]});
var jad={"NEEDS-ATTENTION-WRAPPER":"needs-attention","MY-TASKS":"my-tasks","MY-TASKS-V1":"my-tasks","WORK-AREAS-WRAPPER-CARD":"work-areas"};var lad=function(a,b){this.name=a;this.resourceType=b;this.options=[]};lad.prototype.shouldDisplay=function(){return!0};lad.prototype.hasOptions=function(){return!1};lad.prototype.getDefaultOptionId=function(){return null};var z9=function(a,b){this.name=a;this.resourceType=b;this.options=[]};z9.prototype.shouldDisplay=function(){return this.options.length>0};z9.prototype.hasOptions=function(){return this.options.length>0};
z9.prototype.getDefaultOptionId=function(){return this.hasOptions()?this.options[0].id:null};
var mad=function(a,b){this.id=a;this.name=b},oad=function(a,b,c,d,e,f){var h=this;this.butterBar=a;this.sidebar=b;this.userPreferencesManager=c;this.cdr=d;this.appEvents=e;this.activeSession=f;this.selectedOptionId=null;this.subscriptions=new me;this.missionControlMainOption=new lad("Home","MISSION_CONTROL");this.assignedToMeMainOption=new lad("Assigned to me","ASSIGNED_TO_ME");this.hotlistMainOption=new z9("Hotlist","HOTLIST");this.savedSearchMainOption=new z9("Saved search","SAVED_SEARCH");this.bookmarkGroupMainOption=
new z9("Bookmark group","BOOKMARK_GROUP");this.mainOptions=[this.assignedToMeMainOption,this.hotlistMainOption,this.savedSearchMainOption,this.bookmarkGroupMainOption];this.isUserInternal()&&this.mainOptions.unshift(this.missionControlMainOption);a={};this.resourceMainOptions=(a.MISSION_CONTROL=this.missionControlMainOption,a.ASSIGNED_TO_ME=this.assignedToMeMainOption,a.HOTLIST=this.hotlistMainOption,a.SAVED_SEARCH=this.savedSearchMainOption,a.BOOKMARK_GROUP=this.bookmarkGroupMainOption,a);this.selectedMainOption=
this.mainOptions[0];nad(this);this.subscriptions.add(this.appEvents.sidebarUpdated.subscribe(function(){nad(h);h.cdr.detectChanges()}));this.subscriptions.add(this.userPreferencesManager.preferences$.subscribe(function(l){l.homepagePreferences&&(l=l.homepagePreferences,l.resourceType?h.selectedMainOption=h.resourceMainOptions[l.resourceType]||h.mainOptions[0]:h.isUserInternal()?h.selectedMainOption=h.missionControlMainOption:h.selectedMainOption=h.assignedToMeMainOption,h.selectedOptionId=l.resourceId||
null,nad(h))}))};oad.prototype.destroy=function(){this.subscriptions.unsubscribe()};
var XVb=function(a){du(a.butterBar,"Saving preferences...",0);var b={resourceType:a.selectedMainOption.resourceType};a.selectedMainOption.hasOptions()&&a.selectedOptionId&&(b.resourceId=a.selectedOptionId);ggc(a.userPreferencesManager,b).subscribe(function(){du(a.butterBar,"Preferences saved.",4E3)})},nad=function(a){function b(c){return new mad(String(c.id),c.name)}a.hotlistMainOption.options=a.sidebar.userHotlists.map(b);a.savedSearchMainOption.options=a.sidebar.userSavedSearches.map(b);a.bookmarkGroupMainOption.options=
a.sidebar.sidebarData.bookmarkGroups.map(b);a.selectedOptionId&&(a.selectedMainOption.options.find(function(c){return c.id===a.selectedOptionId})||a.selectedMainOption.options.push(new mad(String(a.selectedOptionId),a.selectedMainOption.name+" "+a.selectedOptionId)))};oad.prototype.isUserInternal=function(){return this.activeSession.isInternalSession()};var A9=function(){Z.call(this);this.cdr=r(sG,{self:!0});this.userPreferencesManager=r(yH);this.butterBar=r(hE);this.activeSession=r(dv);this.documentationLinks=r(cL);this.analytics=r(wG);this.sidebar=r(s_);this.appEvents=r(nE);this.constants=r(uL);this.IS_INTERNAL_USER=this.activeSession.isInternalSession();this.dateFormats=[{value:"MMM d, yyyy",label:"Dec 31, 2015"},{value:"EE MMM dd, yyyy",label:"Thu Dec 31, 2015"},{value:"yyyy-MM-dd",label:"2015-12-31"},{value:"MM/dd/yyyy",label:"12/31/2015"},
{value:"dd-MM-yyyy",label:"31-12-2015"},{value:"dd.MM.yyyy",label:"31.12.2015"}];this.timeFormats=[{value:"hh:mma",label:"01:00PM"},{value:"h:mma",label:"1:00PM"},{value:"HH:mm",label:"13:00"},{value:"HH:mm:ss",label:"13:00:01"}];this.timeZones=[];this.enableLiteralModeRevisions=lu(this.activeSession,"enableLiteralModeRevisions");this.appName=this.activeSession.getAppName();this.timeZones.push.apply(this.timeZones,w(this.constants.supportedTimeZones.map(function(a){return{value:a.id,label:a.name}})));
this.sloEnabled=this.activeSession.isInternalSession();this.showBugScreensaverSetting=this.activeSession.isInternalSession();this.showShowInlineImagesSetting=this.activeSession.isInternalSession()};Y(A9,Z);A9.\u0275dir=Z.\u0275dir;
A9.prototype.ngOnInit=function(){var a=this;this.destroyed$.subscribe(function(){var b;(b=a.preferredHomepage)==null||b.destroy()});this.preferredHomepage=new oad(this.butterBar,this.sidebar,this.userPreferencesManager,this.cdr,this.appEvents,this.activeSession);this.userPreferencesManager.preferences$.pipe(Of(this.destroyed$)).subscribe(function(b){a.userPreferences=b;a.cdr.detectChanges()})};
A9.prototype.save=function(a,b,c){var d=this;du(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){du(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};
var cWb=function(a){var b;return((b=a.userPreferences.textDisplayPreferences)==null?void 0:b.commentDisplayOverride)==="LITERAL_FORMATTING_MODE"},fWb=function(a){var b;return((b=a.userPreferences.commentFormattingPreferences)==null?void 0:b.commentDisplayOverride)==="LITERAL_FORMATTING_MODE"},gWb=function(a){var b;return((b=a.userPreferences.commentFormattingPreferences)==null?void 0:b.commentCreateOverride)==="LITERAL_FORMATTING_MODE"};
A9.prototype.getShowInlineImages=function(){var a;return(a=this.userPreferences.showInlineImages)!=null?a:!1};ea.Object.defineProperties(A9.prototype,{hideBadgeInNav:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!((a=this.userPreferences)==null?0:(b=a.missionControlPreferences)==null?0:b.hideBadgeInNav)}}});A9.\u0275fac=function(a){return new (a||A9)};
A9.\u0275cmp=t({type:A9,selectors:[["b-general-settings"]],features:[Yg([sG]),cg],decls:73,vars:13,consts:[[1,"flex-kids-x","gap-l","margin-bottom"],[1,"settings-main-left","margin-right"],[1,"heading-s"],[1,"muted","type-s"],["target","_blank",3,"href"],["appearance","outline"],["matTooltip","Current selection for preferred homepage"],["id","bv2-homepage-pref-selection",3,"ngModelChange","selectionChange","ngModel"],[1,"margin-y"],["id","bv2-datetime-pref-date-formatting","appearance","outline"],
["matTooltip","Date/time formatting - Use this format for calendar dates."],[3,"ngModelChange","selectionChange","ngModel"],[3,"value"],["id","bv2-datetime-pref-time-formatting","appearance","outline"],["matTooltip","Date/time formatting - Use this format for times."],["id","bv2-datetime-pref-timezone","appearance","outline"],["matTooltip","Date/time formatting - Format dates and times with respect to this time zone."],["id","bv2-enable-all-hotkeys",3,"change","checked"],[1,"margin-bottom"],["id",
"bv2-force-code-font"],[1,"bv2-settings-preferred-homepage-main-option-select-item",3,"value"],["id","bv2-homepage-pref-suboption-selection",1,"homepage-option-select",3,"ngModelChange","selectionChange","ngModel"],[1,"bv2-settings-preferred-homepage-option-select-item",3,"value"],["id","hide-nav-badge",3,"change","checked"],["id","bv2-force-plain-text",3,"change","checked"],["id","bv2-show-inline-images",3,"change","checked"],["id","bv2-force-display-plain-text",3,"change","checked"],["id","bv2-force-create-plain-text",
3,"change","checked"],["id","bv2-bug-screensaver",3,"change","checked"]],template:function(a,b){a&1&&(I(0,"div")(1,"div",0)(2,"div",1)(3,"p",2),Q(4,"Preferred homepage"),J(),I(5,"p",3),Q(6," Select your preferred homepage when first opening the app. "),I(7,"a",4),Q(8," Learn more "),J()()(),I(9,"div")(10,"div")(11,"mat-form-field",5)(12,"mat-label",6),Q(13," Current selection "),J(),I(14,"mat-select",7),Xg("ngModelChange",function(c){Wg(b.preferredHomepage.selectedMainOption,c)||(b.preferredHomepage.selectedMainOption=
c);return c}),M("selectionChange",function(){var c=b.preferredHomepage;c.selectedOptionId=c.selectedMainOption.getDefaultOptionId();XVb(c);c.cdr.detectChanges()}),tg(15,VVb,1,1,null,null,sg),J()(),D(17,YVb,4,1,"mat-form-field",5),J(),D(18,ZVb,3,1,"div"),J()(),K(19,"hr",8),I(20,"div",0)(21,"div",1)(22,"p",2),Q(23,"Date/time formatting settings"),J(),I(24,"p",3),Q(25," Select how you want dates and times to be formatted. "),I(26,"a",4),Q(27," Learn more "),J()()(),I(28,"div")(29,"div")(30,"mat-form-field",
9)(31,"mat-label",10),Q(32," Dates "),J(),I(33,"mat-select",11),Xg("ngModelChange",function(c){Wg(b.userPreferences.dateTimePreferences.calendarFormat,c)||(b.userPreferences.dateTimePreferences.calendarFormat=c);return c}),M("selectionChange",function(){return b.save("saveDateTimePreferences")}),tg(34,$Vb,2,2,"mat-option",12,sg),J()()(),I(36,"div")(37,"mat-form-field",13)(38,"mat-label",14),Q(39," Times "),J(),I(40,"mat-select",11),Xg("ngModelChange",function(c){Wg(b.userPreferences.dateTimePreferences.timeFormat,
c)||(b.userPreferences.dateTimePreferences.timeFormat=c);return c}),M("selectionChange",function(){return b.save("saveDateTimePreferences")}),tg(41,aWb,2,2,"mat-option",12,sg),J()()(),I(43,"div")(44,"mat-form-field",15)(45,"mat-label",16),Q(46," Time Zones "),J(),I(47,"mat-select",11),Xg("ngModelChange",function(c){Wg(b.userPreferences.dateTimePreferences.timeZone,c)||(b.userPreferences.dateTimePreferences.timeZone=c);return c}),M("selectionChange",function(){return b.save("saveDateTimePreferences")}),
tg(48,bWb,2,2,"mat-option",12,sg),J()()()()(),K(50,"hr",8),I(51,"div",0)(52,"div",1)(53,"p",2),Q(54,"Keyboard settings"),J()(),I(55,"div")(56,"div")(57,"mat-slide-toggle",17),M("change",function(c){b.userPreferences.keyboardPreferences.enableAllHotkeys=c.checked;return b.save("saveKeyboardPreferences")}),Q(58," Enable all hotkeys "),J()()()(),K(59,"hr",8),I(60,"div",0)(61,"div",1)(62,"p",2),Q(63,"Display settings"),J()(),I(64,"div"),D(65,dWb,3,1,"div",18),I(66,"div",18)(67,"b-toggle-code-font",19),
Q(68," Force comments to display with code font "),J()(),D(69,eWb,3,1,"div",18),J()(),D(70,hWb,12,2),K(71,"hr",8),D(72,iWb,8,1,"div",0),J());a&2&&(C(7),F("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-a-homepage",of),C(7),Vg("ngModel",b.preferredHomepage.selectedMainOption),C(),ug(b.preferredHomepage.mainOptions),C(2),G(b.preferredHomepage.selectedMainOption.hasOptions()?17:-1),C(),G(b.IS_INTERNAL_USER?18:-1),C(8),F("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-date-time-formatting",
of),C(7),Vg("ngModel",b.userPreferences.dateTimePreferences.calendarFormat),C(),ug(b.dateFormats),C(6),Vg("ngModel",b.userPreferences.dateTimePreferences.timeFormat),C(),ug(b.timeFormats),C(6),Vg("ngModel",b.userPreferences.dateTimePreferences.timeZone),C(),ug(b.timeZones),C(9),F("checked",b.userPreferences.keyboardPreferences.enableAllHotkeys),C(8),G(b.enableLiteralModeRevisions?-1:65),C(4),G(b.showShowInlineImagesSetting?69:-1),C(),G(b.enableLiteralModeRevisions?70:-1),C(2),G(b.showBugScreensaverSetting?
72:-1))},dependencies:[tz,Bz,eQ,$z,Uz,mQ,My,MN,NH,OH,FH,HH,q8],styles:["[_nghost-%COMP%]     mat-tab-body{height:calc(100vh - 150px)}mat-form-field[_ngcontent-%COMP%]{font-size:.9375rem}mat-slide-toggle[_ngcontent-%COMP%]{font-size:.875rem}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}[_nghost-%COMP%]     .gmat-tabs .mat-mdc-tab-list .mat-mdc-tab-label.cdk-focused.cdk-mouse-focused:not(.mat-mdc-tab-disabled), [_nghost-%COMP%]     .gmat-tabs .mat-mdc-tab-list .mat-mdc-tab-link.cdk-focused.cdk-mouse-focused:not(.mat-mdc-tab-disabled){background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}/*# sourceMappingURL=settings.css.map */"]});var B9=function(){Z.call(this);var a=this;this.userPreferencesManager=r(yH);this.butterBar=r(hE);this.documentationLinks=r(cL);this.analytics=r(wG);this.priorities=["ALL","IMPORTANT","CLOSURE_ONLY","MINIMAL"];this.userPreferencesManager.preferences$.pipe(Of(this.destroyed$)).subscribe(function(b){a.userPreferences=b})};Y(B9,Z);B9.\u0275dir=Z.\u0275dir;
B9.prototype.save=function(a,b,c){var d=this;du(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){du(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};B9.\u0275fac=function(a){return new (a||B9)};
B9.\u0275cmp=t({type:B9,selectors:[["b-notification-settings"]],features:[cg],decls:54,vars:8,consts:[[1,"flex-kids-x","gap-l"],[1,"settings-main-left","margin-right"],[1,"heading-s"],[1,"muted","type-ss"],["target","_blank",3,"href"],["appearance","outline","id","bv2-notification-pref-assigned"],["matTooltip","Notification level - issues for which you are the assignee"],[3,"ngModelChange","selectionChange","ngModel"],[3,"value"],["appearance","outline","id","bv2-notification-pref-reported"],["matTooltip",
"Notification level - issues for which you are the reporter"],["appearance","outline","id","bv2-notification-pref-verified"],["matTooltip","Notification level - issues for which you are the verifier"],["appearance","outline","id","bv2-notification-pref-collaborator"],["matTooltip","Notification level - issues for which you are the collaborator"],["appearance","outline","id","bv2-notification-pref-ccd"],["matTooltip","Notification level - issues on which you are CC'd"],["appearance","outline","id",
"bv2-notification-pref-starred"],["matTooltip","Notification level - issues that you have starred"],["id","bv2-exclude-changes-by-me",3,"change","checked"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"div",1)(2,"p",2),Q(3,"Notification settings"),J(),I(4,"p",3),Q(5," Select the level of email you want to receive for each issue role. "),I(6,"a",4),Q(7," Learn more "),J()()(),I(8,"div")(9,"div")(10,"mat-form-field",5)(11,"mat-label",6),Q(12," Assignee "),J(),I(13,"mat-select",7),Xg("ngModelChange",
function(c){Wg(b.userPreferences.notificationPreferences.assignedPriority,c)||(b.userPreferences.notificationPreferences.assignedPriority=c);return c}),M("selectionChange",function(){return b.save("saveNotificationPreferences")}),tg(14,jWb,3,4,"mat-option",8,sg),J()()(),I(16,"div")(17,"mat-form-field",9)(18,"mat-label",10),Q(19," Reporter "),J(),I(20,"mat-select",7),Xg("ngModelChange",function(c){Wg(b.userPreferences.notificationPreferences.reportedPriority,c)||(b.userPreferences.notificationPreferences.reportedPriority=
c);return c}),M("selectionChange",function(){return b.save("saveNotificationPreferences")}),tg(21,kWb,3,4,"mat-option",8,sg),J()()(),I(23,"div")(24,"mat-form-field",11)(25,"mat-label",12),Q(26," Verifier "),J(),I(27,"mat-select",7),Xg("ngModelChange",function(c){Wg(b.userPreferences.notificationPreferences.verifiedPriority,c)||(b.userPreferences.notificationPreferences.verifiedPriority=c);return c}),M("selectionChange",function(){return b.save("saveNotificationPreferences")}),tg(28,lWb,3,4,"mat-option",
8,sg),J()()(),I(30,"div")(31,"mat-form-field",13)(32,"mat-label",14),Q(33," Collaborator "),J(),I(34,"mat-select",7),Xg("ngModelChange",function(c){Wg(b.userPreferences.notificationPreferences.collaboratorPriority,c)||(b.userPreferences.notificationPreferences.collaboratorPriority=c);return c}),M("selectionChange",function(){return b.save("saveNotificationPreferences")}),tg(35,mWb,3,4,"mat-option",8,sg),J()()(),I(37,"div")(38,"mat-form-field",15)(39,"mat-label",16),Q(40," CC'd "),J(),I(41,"mat-select",
7),Xg("ngModelChange",function(c){Wg(b.userPreferences.notificationPreferences.ccdPriority,c)||(b.userPreferences.notificationPreferences.ccdPriority=c);return c}),M("selectionChange",function(){return b.save("saveNotificationPreferences")}),tg(42,nWb,3,4,"mat-option",8,sg),J()()(),I(44,"div")(45,"mat-form-field",17)(46,"mat-label",18),Q(47," Starred "),J(),I(48,"mat-select",7),Xg("ngModelChange",function(c){Wg(b.userPreferences.notificationPreferences.starredPriority,c)||(b.userPreferences.notificationPreferences.starredPriority=
c);return c}),M("selectionChange",function(){return b.save("saveNotificationPreferences")}),tg(49,oWb,3,4,"mat-option",8,sg),J()()(),I(51,"div")(52,"mat-slide-toggle",19),M("change",function(c){b.userPreferences.notificationPreferences.excludeChangesByMe=c.checked;return b.save("saveNotificationPreferences")}),Q(53," Exclude edits made by you "),J()()()());a&2&&(C(6),F("href",b.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",of),C(7),Vg("ngModel",b.userPreferences.notificationPreferences.assignedPriority),
C(),ug(b.priorities),C(6),Vg("ngModel",b.userPreferences.notificationPreferences.reportedPriority),C(),ug(b.priorities),C(6),Vg("ngModel",b.userPreferences.notificationPreferences.verifiedPriority),C(),ug(b.priorities),C(6),Vg("ngModel",b.userPreferences.notificationPreferences.collaboratorPriority),C(),ug(b.priorities),C(6),Vg("ngModel",b.userPreferences.notificationPreferences.ccdPriority),C(),ug(b.priorities),C(6),Vg("ngModel",b.userPreferences.notificationPreferences.starredPriority),C(),ug(b.priorities),
C(3),F("checked",b.userPreferences.notificationPreferences.excludeChangesByMe))},dependencies:[tz,Bz,eQ,$z,Uz,mQ,My,MN,NH,OH,FH,HH,gsc],styles:["[_nghost-%COMP%]     mat-tab-body{height:calc(100vh - 150px)}mat-form-field[_ngcontent-%COMP%]{font-size:.9375rem}mat-slide-toggle[_ngcontent-%COMP%]{font-size:.875rem}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}[_nghost-%COMP%]     .gmat-tabs .mat-mdc-tab-list .mat-mdc-tab-label.cdk-focused.cdk-mouse-focused:not(.mat-mdc-tab-disabled), [_nghost-%COMP%]     .gmat-tabs .mat-mdc-tab-list .mat-mdc-tab-link.cdk-focused.cdk-mouse-focused:not(.mat-mdc-tab-disabled){background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}/*# sourceMappingURL=settings.css.map */"]});var pad=function(a){this.internalArray_=m(a,0,pad.messageId)};Y(pad,V);pad.messageId="f.mt";var qad=function(a){this.internalArray_=m(a,0,qad.messageId)};Y(qad,V);qad.messageId="b.ListSloReportSubscriptionsResponse";var C9=function(a){this.internalArray_=m(a,0,C9.messageId)};Y(C9,V);C9.prototype.getSubscription=function(){return W(this,So,1)};C9.prototype.setSubscription=function(a){return X(this,So,1,a)};C9.messageId="b.SloReportSubscriptionRequest";var D9=function(a){this.internalArray_=m(a,0,D9.messageId)};Y(D9,V);D9.prototype.getSubscription=function(){return W(this,So,1)};D9.prototype.setSubscription=function(a){return X(this,So,1,a)};D9.messageId="b.SloReportSubscriptionResponse";var E9=function(){this.executor=r(OB)};g=E9.prototype;g.get=function(a){return this.executor.get({url:"action/slo_report_subscriptions/"+a,responseConstructor:D9}).pipe(B(function(b){if(b=b.getSubscription())return SEa(b);throw Error("mg");}))};g.list=function(){return this.executor.get({url:"action/slo_report_subscriptions",responseConstructor:qad}).pipe(B(function(a){return nj(a,So,1,Wi()).map(SEa)}))};
g.create=function(a){if(a.id!==0)throw Error("ng");return this.executor.post({url:"action/slo_report_subscriptions",body:(new C9).setSubscription(UEa(a)),responseConstructor:D9}).pipe(B(function(b){if(b=b.getSubscription())return SEa(b);throw Error("og");}))};
g.update=function(a){if(a.id===0)throw Error("pg");return this.executor.post({url:"action/slo_report_subscriptions/"+a.id,body:(new C9).setSubscription(UEa(a)),responseConstructor:D9}).pipe(B(function(b){if(b=b.getSubscription())return SEa(b);throw Error("og");}))};g.delete=function(a){return this.executor.delete({url:"action/slo_report_subscriptions/"+a,responseConstructor:pad}).pipe(B(function(){}))};E9.\u0275fac=function(a){return new (a||E9)};E9.\u0275prov=n({token:E9,factory:E9.\u0275fac,providedIn:"root"});var rad=function(){this.timeZones=r(tL);this.label="Time zone";this.timezoneId="";this.fullWidth=this.disabled=!1;this.timezoneIdChange=new rG;this.timeZoneOptions$=Vqc(this.timeZones).pipe(B(function(a){return a.sort(qWb)}))};rad.\u0275fac=function(a){return new (a||rad)};
rad.\u0275cmp=t({type:rad,selectors:[["b-timezone-picker"]],inputs:{label:"label",timezoneId:"timezoneId",disabled:"disabled",fullWidth:"fullWidth"},outputs:{timezoneIdChange:"timezoneIdChange"},decls:7,vars:7,consts:[["appearance","outline",1,"form-field-wide-select"],[3,"ngModelChange","disabled","ngModel"],[3,"value"]],template:function(a,b){a&1&&(I(0,"mat-form-field",0)(1,"mat-label"),Q(2),J(),I(3,"mat-select",1),M("ngModelChange",function(c){b.timezoneId!==c&&(b.timezoneId=c,b.timezoneIdChange.emit(b.timezoneId))}),
tg(4,pWb,2,2,"mat-option",2,sg),S(6,"async"),J()());a&2&&(ng("full-width",b.fullWidth),C(2),R(" ",b.label," "),C(),F("disabled",b.disabled)("ngModel",b.timezoneId),C(),ug(U(6,5,b.timeZoneOptions$)))},dependencies:[eQ,$z,Uz,mQ,My,MN,tz,Bz,Iw],styles:["[_nghost-%COMP%]     .mat-form-field-infix { width: fit-content; }","mat-form-field[_ngcontent-%COMP%] { font-size: 16px; }"]});var sad=["sloSubscriptionDialog"],F9=function(){Z.apply(this,arguments);var a=this;this.dateFormatter=r(UM);this.api=r(E9);this.currentUser=r(W_);this.dialog=r(kL);this.timeZones=r(tL);this.confirmationDialogService=r(rL);this.principalTypes=r(YG);this.analytics=r(wG);this.butterBar=r(hE);this.constants=r(uL);this.subscriptions$=new bo([]);this.isBasicMode$=this.subscriptions$.pipe(B(function(b){return b.length===0||b.length===1&&b[0].lead.emailAddress===a.currentUser.email}));this.userSubscription$=
this.subscriptions$.pipe(B(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.lead.emailAddress===a.currentUser.email)return a.inputDaysRemaining=c.daysRemaining,c;return{id:0,lead:a.currentUser.user,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:tad[9].timeOfDay,daysRemaining:0,types:["BUG","CUSTOMER_ISSUE","VULNERABILITY","PRIVACY_ISSUE"],sloIds:[]}}));this.isThinking$=new bo(!1);this.inputHasFocus=!1;this.frequencyOptions=uad;this.repeatOnOptions=
new Map([["daily",[]],["weekly",LWb],["monthly",vad]]);this.DAILY="daily";this.repeatAtOptions$=Me(tad.map(function(b){return Fe(a.dateFormatter.format("HH:mma",void 0,b.date)).pipe(B(function(c){return{timeOfDay:b.timeOfDay,display:c}}))}));this.ceoSelected=this.dialogInvalidEmailFormat=!1;this.emailToUser=Yi;this.columns=["scope","frequency","actions"];this.frequencyDisplayMap=new Map(uad.map(function(b){return[b.frequency,b.display]}));this.timeZoneDisplayMap$=Vqc(this.timeZones).pipe(Cf(),B(function(b){return new Map(b.map(function(c){return[c.id,
c.displayName]}))}),Kf({bufferSize:1,refCount:!0}));this.hourOfDayDisplayMap$=this.repeatAtOptions$.pipe(Cf(),B(function(b){return new Map(b.map(function(c){return[c.timeOfDay.hours,c.display]}))}),Kf({bufferSize:1,refCount:!0}));this.typeChoices=[{value:"BUG",displayText:this.constants.issueTypesDisplayNames.get("BUG")},{value:"CUSTOMER_ISSUE",displayText:this.constants.issueTypesDisplayNames.get("CUSTOMER_ISSUE")},{value:"PRIVACY_ISSUE",displayText:this.constants.issueTypesDisplayNames.get("PRIVACY_ISSUE")},
{value:"VULNERABILITY",displayText:this.constants.issueTypesDisplayNames.get("VULNERABILITY")},{value:"PROCESS",displayText:this.constants.issueTypesDisplayNames.get("PROCESS")},{value:"INTERNAL_CLEANUP",displayText:this.constants.issueTypesDisplayNames.get("INTERNAL_CLEANUP")},{value:"FEATURE_REQUEST",displayText:this.constants.issueTypesDisplayNames.get("FEATURE_REQUEST")},{value:"MILESTONE",displayText:this.constants.issueTypesDisplayNames.get("MILESTONE")},{value:"FEATURE",displayText:this.constants.issueTypesDisplayNames.get("FEATURE")},
{value:"PROJECT",displayText:this.constants.issueTypesDisplayNames.get("PROJECT")},{value:"EPIC",displayText:this.constants.issueTypesDisplayNames.get("EPIC")},{value:"STORY",displayText:this.constants.issueTypesDisplayNames.get("STORY")},{value:"TASK",displayText:this.constants.issueTypesDisplayNames.get("TASK")}];this.compareTimeOfDay=function(b,c){return b.hours===c.hours&&b.minutes===c.minutes&&b.seconds===c.seconds&&b.nanos===c.nanos}};Y(F9,Z);F9.\u0275dir=Z.\u0275dir;F9.prototype.ngOnInit=function(){G9(this)};
var EWb=function(a){a.userSubscription$.pipe(Cf(),Nf(function(b){if(b.id===0)return a.analytics.trackEvent("sloReports","enableOwnSubscription"),a.api.create(b);a.analytics.trackEvent("sloReports","disableOwnSubscription");return a.api.delete(b.id)})).subscribe(function(){G9(a)})},G9=function(a){a.isThinking$.next(!0);a.api.list().pipe(Cf()).subscribe(function(b){a.isThinking$.next(!1);for(var c=k(b),d=c.next();!d.done;d=c.next())d=d.value,d.types.length===0&&(d.types=a.typeChoices.map(function(e){return e.value}));
a.subscriptions$.next(b)})},cv=function(a,b){a.isThinking$.next(!0);b.types.length===a.typeChoices.length&&(b.types=[]);a.api.update(b).subscribe(function(){a.analytics.trackEvent("sloReports","editSubscription");G9(a);a.newSloId=void 0},function(c){c.status===404&&(a.butterBar.showWarning("Subscription does not exist"),G9(a))})},wad=function(a,b){a.isThinking$.next(!0);a.api.delete(b.id).subscribe(function(){a.analytics.trackEvent("sloReports","deleteSubscription");G9(a)})},PWb=function(a,b){a.confirmationDialogService.open({title:"Delete a subscription",
content:ti("You will no longer receive reports from '"+b.lead.emailAddress+"'."),confirmButtonText:"Delete",isDestructive:!0,onConfirm:function(){wad(a,b)}})};F9.prototype.setFrequency=function(a,b){b.frequency=a;eXb(a,b);cv(this,b)};var eXb=function(a,b){a!=="daily"?b.ordinal=a==="weekly"?LWb[0].ordinal:vad[0].ordinal:delete b.ordinal};F9.prototype.setTimeZone=function(a,b){cv(this,Object.assign({},b,{timeZone:Object.assign({},b.timeZone,{id:a})}))};
F9.prototype.setDaysRemaining=function(a){if(this.inputDaysRemaining!==a.daysRemaining){var b;cv(this,Object.assign({},a,{daysRemaining:(b=this.inputDaysRemaining)!=null?b:0}))}};F9.prototype.setIssueType=function(a,b){cv(this,Object.assign({},b,{types:a}))};
var CWb=function(a,b){a.newSloId&&!b.sloIds.includes(a.newSloId)&&cv(a,Object.assign({},b,{sloIds:[].concat(w(b.sloIds),[a.newSloId])}))},zWb=function(a,b,c){if(b.sloIds.includes(c)){var d=b.sloIds.filter(function(e){return e!==c});cv(a,Object.assign({},b,{sloIds:d}))}},fXb=function(a,b){a.newSloId&&!b.sloIds.includes(a.newSloId)&&(b.sloIds.push(a.newSloId),a.newSloId=void 0)},bXb=function(a,b){if(a.sloIds.includes(b)){var c=a.sloIds.filter(function(d){return d!==b});a.sloIds=c}};
F9.prototype.openDialog=function(a){this.sloSubscriptionDialog&&(a||(a={id:0,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:tad[9].timeOfDay,daysRemaining:0,types:["BUG","CUSTOMER_ISSUE","VULNERABILITY","PRIVACY_ISSUE"],sloIds:[]}),this.ceoSelected=this.dialogInvalidEmailFormat=!1,this.dialogRef=this.dialog.open(this.sloSubscriptionDialog,{data:zi(a),panelClass:"slo-report-subscription-dialog",width:"500px"}))};
var gXb=function(a,b){return ve(function(c){if(c.nextAddress==1)return a.dialogRef&&b.lead!==void 0?xe(c,xad(a,b.lead.emailAddress),2):c.return();if(!c.yieldResult)return b.lead.emailAddress="",a.dialogInvalidEmailFormat=!0,c.return();if(b.lead.emailAddress==="sundar@google.com")return b.lead.emailAddress="",a.ceoSelected=!0,c.return();b.id===0?a.api.create(b).subscribe(function(){a.analytics.trackEvent("sloReports","createSubscription");G9(a)}):cv(a,b);a.dialogRef.close();Ce(c)})},xad=function(a,
b){var c;return ve(function(d){if(d.nextAddress==1)return Pk(b)?xe(d,a.principalTypes.get(b),2):d.return(Promise.resolve(!1));c=d.yieldResult;return c.principalType!=="USER"?d.return(Promise.resolve(!1)):d.return(Promise.resolve(!0))})};F9.\u0275fac=function(){var a;return function(b){return(a||(a=de(F9)))(b||F9)}}();
F9.\u0275cmp=t({type:F9,selectors:[["b-slo-reports-settings"]],viewQuery:function(a,b){a&1&&Mg(sad,7);if(a&2){var c;Qg(c=Rg())&&(b.sloSubscriptionDialog=c.first)}},features:[cg],decls:22,vars:14,consts:[["sloSubscriptionDialog",""],["subscriptionMenu","matMenu"],[1,"flex-kids-x","gap-l"],[1,"settings-main-left","margin-right"],[1,"heading-s"],["id","advanced-settings-note",1,"muted","type-s"],"href http://go/issue-slo-reports target _blank aria-describedby advanced-settings-note".split(" "),[1,"full-width"],
[1,"margin-bottom"],["mat-flat-button","","color","primary",3,"click","disabled"],["mat-table","","aria-label","SLO reports subscriptions",1,"bordered","full-width",3,"dataSource"],["id","frequency-settings-note",1,"muted","type-s"],"href http://go/issue-slo-reports target _blank aria-describedby frequency-settings-note".split(" "),[1,"margin-y"],["id","isSubscribedCheckbox",1,"margin-s-right",3,"change","disabled","checked"],["appearance","outline",1,"full-width"],["matInput","","readonly","",3,
"focus","blur","ngModel"],[3,"ngModelChange","ngModel"],[3,"value"],[3,"timezoneIdChange","timezoneId","fullWidth"],["appearance","outline"],["matInput","","type","number",3,"ngModelChange","blur","keydown.enter","ngModel"],["multiple","",3,"ngModelChange","ngModel"],["appearance","outline","subscriptSizing","dynamic"],["matInput","","type","number",3,"ngModelChange","keydown.enter","blur","ngModel"],[1,"flex-kids-x","space-between","margin-xs-y"],[1,"muted","type-s"],[3,"ngModelChange","ngModel",
"compareWith"],[1,"subtle-link",3,"href"],["mat-icon-button","","aria-label","Remove SLO ID",1,"xs",3,"click","matTooltip"],["svgIcon","clear"],["matColumnDef","scope"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","frequency"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","tabindex","0",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","","aria-label","Show actions for this subscription",
3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["mat-menu-item","","aria-label","View and edit subscription attributes",3,"click"],["mat-menu-item","",3,"click"],["mat-header-row",""],["mat-row","","tabindex","0"],["matDialogTitle",""],[1,"type-l","margin-bottom"],["appearance","outline","floatLabel","always",1,"full-width"],["matInput","","required","","placeholder","Search users...",3,"ngModelChange","ngModel","bContactAutocomplete"],["matInput","","type","number",3,"ngModelChange",
"ngModel"],["appearance","outline","subscriptSizing","dynamic",1,"full-width"],["id","new-subscription-note",1,"italic"],"href http://go/issue-slo-reports target _blank aria-describedby new-subscription-note".split(" "),"mat-button  color primary matDialogClose ".split(" ")],template:function(a,b){if(a&1){var c=x();D(0,GWb,11,3);S(1,"async");I(2,"div",2)(3,"div",3)(4,"p",4);Q(5,"Advanced settings");J();I(6,"p",5);Q(7," Add subscriptions to receive other user's reports. ");I(8,"a",6);Q(9,"Learn more");
J()()();I(10,"div",7)(11,"div",8)(12,"button",9);S(13,"async");M("click",function(){z(c);return A(b.openDialog())});Q(14," Create subscription ");J()();D(15,HWb,1,0,"b-spinner");S(16,"async");D(17,TWb,12,3,"table",10);S(18,"async");S(19,"async");J()();D(20,hXb,53,17,"ng-template",null,0,fh)}a&2&&(G(U(1,4,b.isBasicMode$)?0:-1),C(12),F("disabled",U(13,6,b.isThinking$)),C(3),G(U(16,8,b.isThinking$)?15:-1),C(2),G(U(18,10,b.isBasicMode$)||U(19,12,b.isThinking$)?-1:17))},dependencies:[$D,ki,Dz,tz,Mz,Bz,
vD,Vy,Xy,lL,nL,pL,oL,eQ,$z,Uz,Tz,Sz,mQ,My,MN,ON,hA,NH,OH,fQ,bR,OQ,UQ,QQ,NQ,WQ,RQ,TQ,XQ,ZQ,vI,yI,wI,zI,FH,HH,rad,JO,YJ,Iw],styles:["[_nghost-%COMP%]     mat-tab-body{height:calc(100vh - 150px)}mat-form-field[_ngcontent-%COMP%]{font-size:.9375rem}mat-slide-toggle[_ngcontent-%COMP%]{font-size:.875rem}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}[_nghost-%COMP%]     .gmat-tabs .mat-mdc-tab-list .mat-mdc-tab-label.cdk-focused.cdk-mouse-focused:not(.mat-mdc-tab-disabled), [_nghost-%COMP%]     .gmat-tabs .mat-mdc-tab-list .mat-mdc-tab-link.cdk-focused.cdk-mouse-focused:not(.mat-mdc-tab-disabled){background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}/*# sourceMappingURL=settings.css.map */",
".mat-mdc-form-field[_ngcontent-%COMP%]{min-width:300px;margin-bottom:8px}.mat-mdc-header-cell[_ngcontent-%COMP%]{font-weight:600;background-color:#f1f3f4;background-color:var(--c100)}tr.mat-mdc-header-row[_ngcontent-%COMP%], tr.mat-mdc-row[_ngcontent-%COMP%]{height:40px}td.mat-mdc-cell[_ngcontent-%COMP%], td.mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:.8125rem}td.mat-mdc-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}.mat-mdc-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-actions[_ngcontent-%COMP%]{text-align:right}/*# sourceMappingURL=slo_reports_settings.css.map */"]});
var uad=[{frequency:"daily",display:"Daily"},{frequency:"weekly",display:"Weekly"},{frequency:"monthly",display:"Monthly"}],LWb=[{ordinal:1,display:"Mondays"},{ordinal:2,display:"Tuesdays"},{ordinal:3,display:"Wednesdays"},{ordinal:4,display:"Thursdays"},{ordinal:5,display:"Fridays"},{ordinal:6,display:"Saturdays"},{ordinal:7,display:"Sundays"}],vad=[].concat(w(Array.from({length:31}).fill(0).keys())).map(function(a){return{ordinal:a+1,display:MWb(a+1)}}),tad=[].concat(w(Array.from({length:24}).fill(0).keys())).map(function(a){var b=
new Date;b.setHours(a%24);b.setMinutes(0);return{date:b,timeOfDay:{hours:b.getHours(),minutes:0,seconds:0,nanos:0}}});var H9=function(){this.activeSession=r(dv);this.location=r(WI);this.routeParams=r(PL);this.enableSloReportEmail=this.activeSession.isInternalSession()&&lu(this.activeSession,"enableSloReportEmail");this.selectedTabIndex=0};H9.prototype.ngAfterViewInit=function(){this.selectedTabIndex=yad(this,this.routeParams.settingsTab)};H9.prototype.tabChange=function(a){var b,c,d=(b=this.tabs)==null?void 0:(c=b.get(a))==null?void 0:c.nativeElement.id;d?this.location.setUrl(tq.settingsTab.makeHref(d)):this.location.setUrl(tq.settings.makeHref())};
var yad=function(a,b){a=a.tabs.toArray().findIndex(function(c){return c.nativeElement.id===b});return a<0?0:a};H9.\u0275fac=function(a){return new (a||H9)};
H9.\u0275cmp=t({type:H9,selectors:[["b-settings"]],viewQuery:function(a,b){a&1&&Mg(UO,5,ge);if(a&2){var c;Qg(c=Rg())&&(b.tabs=c)}},decls:10,vars:2,consts:[[1,"margined","heading-m"],["gmat-tabs","",3,"selectedIndexChange","selectedIndex"],["label","General"],[1,"padded"],["label","Notifications","id","notifications"],["label","SLO Reports","id","slo-reports"]],template:function(a,b){a&1&&(I(0,"p",0),Q(1,"Settings"),J(),I(2,"mat-tab-group",1),M("selectedIndexChange",function(c){return b.tabChange(c)}),
I(3,"mat-tab",2)(4,"div",3),K(5,"b-general-settings"),J()(),I(6,"mat-tab",4)(7,"div",3),K(8,"b-notification-settings"),J()(),D(9,iXb,3,0,"mat-tab",5),J());a&2&&(C(2),F("selectedIndex",b.selectedTabIndex),C(7),G(b.enableSloReportEmail?9:-1))},dependencies:[ZO,UO,VO,A9,B9,F9],styles:["[_nghost-%COMP%]     mat-tab-body{height:calc(100vh - 150px)}mat-form-field[_ngcontent-%COMP%]{font-size:.9375rem}mat-slide-toggle[_ngcontent-%COMP%]{font-size:.875rem}div.settings-main-left[_ngcontent-%COMP%]{width:200px;min-width:200px}[_nghost-%COMP%]     .gmat-tabs .mat-mdc-tab-list .mat-mdc-tab-label.cdk-focused.cdk-mouse-focused:not(.mat-mdc-tab-disabled), [_nghost-%COMP%]     .gmat-tabs .mat-mdc-tab-list .mat-mdc-tab-link.cdk-focused.cdk-mouse-focused:not(.mat-mdc-tab-disabled){background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}/*# sourceMappingURL=settings.css.map */"],
changeDetection:0});var zad=function(){var a=this.activatedRoute=r(ao),b=r(PL);this.issueId=b.issueId;this.attachmentId=b.attachmentId;this.mimeType=HGa(a.snapshot.queryParamMap).mimeType};zad.\u0275fac=function(a){return new (a||zad)};zad.\u0275cmp=t({type:zad,selectors:[["view-attachment-page"]],decls:1,vars:3,consts:[[3,"issueId","attachmentId","mimeType"]],template:function(a,b){a&1&&K(0,"attachment-preview",0);a&2&&F("issueId",b.issueId)("attachmentId",b.attachmentId)("mimeType",b.mimeType)},dependencies:[QU],encapsulation:2});var I9=function(){var a=r(dv);Z.call(this);this.cdr=r(sG,{self:!0});this.routeParams=r(PL);this.bLocation=r(WI);this.pageTitle=r(k_);this.userApi=r(lF);this.bookmarkGroupsApi=r(dC);this.paths=r(zO);this.appEvents=r(nE);this.isStarred=!1;this.bookmarkGroup=null;this.userEmail=a.getUserEmail()};Y(I9,Z);I9.\u0275dir=Z.\u0275dir;g=I9.prototype;
g.ngOnInit=function(){var a=this,b=function(c){a.bookmarkGroup=c;a.userIsAdmin=c.adminUsers.some(function(d){return d.emailAddress===a.userEmail});a.pageTitle.setTitle(c.name);a.cdr.detectChanges()};this.bookmarkGroupsApi.get(this.routeParams.groupId).then(b);this.userApi.getUserBookmark("BOOKMARK_GROUP",this.routeParams.groupId).then(function(){a.isStarred=!0;a.cdr.detectChanges()}).catch(function(){});this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(c){c&&a.bookmarkGroup&&
c.bookmarkGroupId==a.bookmarkGroup.bookmarkGroupId&&a.bookmarkGroupsApi.get(a.routeParams.groupId).then(b)}))};g.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=function(){a.appEvents.bookmarkGroupModified.next()};this.isStarred?this.userApi.addUserBookmark({resourceType:"BOOKMARK_GROUP",resourceId:this.bookmarkGroup.bookmarkGroupId}).then(b):this.userApi.removeUserBookmark({resourceType:"BOOKMARK_GROUP",resourceId:this.bookmarkGroup.bookmarkGroupId}).then(b)};
g.openEditBookmarkGroup=function(){this.bLocation.setUrl(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};g.getUserEmail=function(){return this.userEmail};g.isEditable=function(){return!!this.bookmarkGroup&&!!this.userIsAdmin};g.getUrl=function(a){switch(a.resourceType){case "SAVED_SEARCH":return this.paths.viewSavedSearch(a.savedSearchId);case "HOTLIST":return tq.viewHotlist.makeHref(a.hotlistId);default:throw Error("qg`"+a.resourceType);}};
g.getDisplayName=function(a){if(a.name)return a.name;switch(a.resourceType){case "SAVED_SEARCH":return"(Saved Search ID "+a.savedSearchId+")";case "HOTLIST":return"(Hotlist ID "+a.hotlistId+")";default:throw Error("qg`"+a.resourceType);}};I9.\u0275fac=function(a){return new (a||I9)};
I9.\u0275cmp=t({type:I9,selectors:[["view-bookmark-group-page"]],features:[Yg([sG]),cg],decls:5,vars:3,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-view"],[1,"bv2-view-bookmark-group-title"],[1,"bv2-view-bookmark-group-header"],[3,"starMessage","unStarMessage","starred","disabled"],[3,"starMessage","unStarMessage","starred"],[1,"bv2-view-bookmark-group-title-text"],["aria-label","Bookmark group settings","matTooltip","Bookmark group settings",1,"bv2-edit-icon","bv2-view-resource-edit-button",
3,"click"],[1,"bv2-view-bookmark-group-description"],[1,"bv2-view-bookmark-group-hotlists"],[3,"starClicked","starMessage","unStarMessage","starred"],[3,"href"]],template:function(a,b){a&1&&(I(0,"h2",0),Q(1),J(),K(2,"div",1),I(3,"div",2),D(4,mXb,13,3,"div"),J());a&2&&(C(),R("View Bookmark Group ",b.bookmarkGroup==null?null:b.bookmarkGroup.name,""),C(2),eg("aria-busy",!b.bookmarkGroup),C(),G(b.bookmarkGroup?4:-1))},dependencies:[xU,FH,HH],encapsulation:2});var J9=function(){};
J9.\u0275fac=function(a){return new (a||J9)};J9.\u0275mod=u({type:J9});J9.\u0275inj=p({imports:[RE,PZ,LH]});var K9=function(){K8.apply(this,arguments);this.ngZone=r(hh);this.userApi=r(lF);this.hotlists=r(m3);this.hotkeys=r(YH);this.pageTitle=r(k_);this.userAccess=r(YC);this.routeParams=r(PL);this.mcPrefs=r(VY);this.ANALYTICS_CATEGORY="hotlistIssues";this.canAppend=this.isAdmin=this.isStarred=!1;this.hotlistId=this.routeParams.hotlistId;this.hotlist=null;this.isLoading=!0;this.repositioning=this.showHotlists=!1};Y(K9,K8);K9.\u0275dir=K8.\u0275dir;
K9.prototype.ngOnInit=function(){var a=this;K8.prototype.ngOnInit.call(this);this.subscriptions.add(ZH(this.hotkeys,{title:"Hotlist",hotkeys:[].concat(w(this.BASE_HOTKEYS),[{keys:[cp("j")],displayAs:"Shift+j",description:"Move the current issue down (when sorting by POS)",onPress:function(){Aad(a,1)}},{keys:[cp("k")],displayAs:"Shift+k",description:"Move the current issue up (when sorting by POS)",onPress:function(){Aad(a,-1)}}])}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(b){b&&
Number(b.hotlistId)===Number(a.hotlistId)&&b.origin!=="view-hotlist"&&Bad(a)}));this.subscriptions.add(this.userPreferencesManager.listViewPreferences$.subscribe(function(b){a.showHotlists=b.showHotlists}));this.userApi.getUserBookmark("HOTLIST",this.hotlistId).then(function(){a.isStarred=!0}).catch(function(){});this.loadUserAccess(this.hotlistId)};
K9.prototype.ngDoCheck=function(){var a;if(this.hotlistName!==((a=this.hotlist)==null?void 0:a.name)){var b;this.hotlistName=(b=this.hotlist)==null?void 0:b.name;this.pageTitle.setTitle(this.hotlistName)}};
K9.prototype.loadUserAccess=function(a){var b=this;$C(this.userAccess,"admin","hotlists/"+a).then(function(c){b.isAdmin=c},function(c){b.errorHandler.errorHandler(null,c)});$C(this.userAccess,"appender","hotlists/"+a).then(function(c){b.canAppend=c},function(c){b.errorHandler.errorHandler(null,c)})};
K9.prototype.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;LY(this.appSearchState,"hotlistid:"+this.hotlistId);var b=this.hotlist?Promise.resolve(this.hotlist):Bad(this);return this.doSearch(b).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
var Bad=function(a){a.hotlistLoading=!0;a.isInitializing=!1;a.hotlist=null;var b=a.hotlistApi.get(a.hotlistId);b.then(function(c){a.hotlist=c}).catch(function(c){a.errorHandler.errorHandler(null,c);a.hotlist=null}).finally(function(){a.hotlistLoading=!1;a.ngZone.run(function(){a.cdr.detectChanges()})});return b};
K9.prototype.doSearch=function(a){var b=this,c=x0c.map(gu).filter(kj),d="hotlistid:"+this.hotlistId,e=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,sortColumns:[],displayColumns:c,query:d},a.then(function(f){return{query:null,displayColumn:f.displayColumn,sortOrder:f.sortOrder}}));a=e.searchPreferences.then(function(f){f=zi(f);f.query=d;f.returnUrl=b.bLocation.getUrl();f.hotlistId=b.hotlistId;f.trackerIds=b.appSearchState.currentTrackerScope;return iYc(b.issuePagination,f)});a.then(function(f){H9c(b,
f)}).catch(function(f){typeof f==="number"?M2(b.urlPreferences,{page:f}):b.errorHandler.errorHandler(null,f)});return qq({searchResultsPage:a,displayColumns:e.displayColumns}).then(function(f){f=f.searchResultsPage;b.searchResults=f;b.page=f.params.page;b.sortPreferences=f.params.sortColumns||[];b.initColumns(e.displayColumns,Cad(b)?Dad:Ead);b.loadHotlists();b.cdr.detectChanges()}).catch(function(){})};
var Cad=function(a){return a.sortPreferences.length===0||a.sortPreferences.length===1&&a.sortPreferences[0].fieldId.type==="POSITION"};K9.prototype.getCsvUrl=function(){var a=this.appSearchState.currentTrackerScope,b=this.displayColumns,c=this.showHotlists,d="action/hotlists/"+this.hotlistId+"/issues/csv",e=eRa(this.sortPreferences);(b=fRa(b))&&(b="position,"+b);return gRa(d,"trackerIds",a,"s",e,"c",b,"h",c)};
K9.prototype.repositionIssue=function(a,b,c){var d=this;c=c===void 0?!1:c;!this.repositioning&&this.searchResults&&(this.repositioning=!0,this.hotlists.repositionIssue(this.hotlistId,this.searchResults.issues,a,b,"view-hotlist",function(){d.searchResults&&(d.searchResults=d.searchResults.clone())}).then(function(e){d.hotlist=e;d.analytics.trackEvent(d.ANALYTICS_CATEGORY,c?"reorderByKeyboard":"issueDragDrop")}).finally(function(){d.repositioning=!1}))};
var Aad=function(a,b){if(a.searchResults&&!a.repositioning&&Cad(a)){var c,d,e=(d=(c=a.resultsGrid)==null?void 0:c.focusedRowIndex)!=null?d:void 0;if(e!=null&&(c=e+b,d=a.searchResults.issues.length,c>=0&&c<d)){if(b===1){var f;(f=a.resultsGrid)==null||Rtb(f)}else if(b===-1){var h;(h=a.resultsGrid)==null||Stb(h)}a.repositionIssue(e,c,!0)}}};g=K9.prototype;
g.save=function(){var a=this;if(this.hotlist){var b=this.hotlist,c=this.urlPreferences.getDisplayColumns();if(c){var d=HDa(b.displayColumn?b.displayColumn.map(function(e){return e.type.toLowerCase()}):[],c.map(function(e){return e.toString()}));b.displayColumn=c}if(c=this.urlPreferences.getSortColumns())b.sortOrder=c.map(function(e){return{direction:e.direction,field:e.fieldId}});du(this.butterBar,"Saving changes to hotlist...");Fad(this,b).then(function(e){du(a.butterBar,'Saved changes to hotlist "'+
e.name+'".');M2(a.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"savedParams",d)})}};g.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");M2(this.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null})};g.hasParamChanges=function(){return this.hotlist&&this.isEditable()?!(!this.urlPreferences.getSortColumns()&&!this.urlPreferences.getDisplayColumns()):!1};
g.isEditable=function(){return this.hotlist!=null&&this.isAdmin};g.isDirectAdmin=function(){return this.hotlist?Si(this.hotlist.adminUsers).includes(this.currentUserEmail):!1};g.setSort=function(a,b){var c=this.getSort();a==="position"||c&&c.field==="position"?K8.prototype.setSort.call(this,a,b,!1):K8.prototype.setSort.call(this,a,b)};
var Fad=function(a,b){return a.hotlistApi.updateMetadata(b.hotlistId,b).then(function(c){a.hotlist=c;Gad(a,c.hotlistId);return c},function(c){a.errorHandler.errorHandler(null,c);return Promise.reject(c)})},Gad=function(a,b){a.appEvents.hotlistChanged.next({hotlistId:b,origin:"view-hotlist"})};
K9.prototype.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=cm(this.hotlistId),c=function(){Gad(a,b)};this.isStarred?this.userApi.addUserBookmark({resourceType:"HOTLIST",resourceId:b}).then(c):this.userApi.removeUserBookmark({resourceType:"HOTLIST",resourceId:b}).then(c)};K9.prototype.openEditHotlist=function(){this.bLocation.setUrl(tq.editHotlist.makeHref(this.hotlistId))};K9.prototype.addToMissionControl=function(a){a!=null&&(this.mcPrefs.addHotlist(a),this.bLocation.setUrl(this.paths.home()))};
K9.prototype.showAddToMcButton=function(a){var b=this.activeSession.isInternalSession();a=a<=500;var c=!this.mcPrefs.hasHotlist(this.hotlistId);return b&&a&&c};var Ead=[u2,v2,w2,L1c],Dad=[u2,K1c,v2,w2,L1c];K9.\u0275fac=function(){var a;return function(b){return(a||(a=de(K9)))(b||K9)}}();
K9.\u0275cmp=t({type:K9,selectors:[["view-hotlist-page"]],features:[Yg([sG]),cg],decls:10,vars:12,consts:[[1,"kd-appbar","kd-buttonbar"],[1,"bv2-edit-controls",3,"init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv","grid","hotlistChoices","showHotlistButtons","currentHotlistId","isHotlistAdmin"],[1,"bv2-appbar-right"],[3,"pageChange","resultsPerPageChange","searchResults"],[1,"bv2-view","bv2-view-hotlist-grid"],[1,"bv2-view-hotlist-title"],[1,"bv2-view-loading"],["tabindex",
"-1",1,"bv2-view-loading",3,"bFocus"],[1,"bv2-grid-container"],["mat-flat-button","","type","button","matTooltip","Add a section on the home page to track and get insights for this hotlist like trending issues, collaborators, and recent activity.",1,"medium","gmat-mdc-button","reverse-margin-left"],["mat-flat-button","","type","button","matTooltip","Add a section on the home page to track and get insights for this hotlist like trending issues, collaborators, and recent activity.",1,"medium","gmat-mdc-button",
"reverse-margin-left",3,"click"],[3,"starMessage","unStarMessage","starred"],[3,"starMessage","unStarMessage","starred","disabled"],[1,"bv2-view-hotlist-title-text"],["tabindex","-1",3,"bFocus"],[1,"bv2-view-hotlist-save-form"],[3,"starClicked","keydown.space","keydown.enter","starMessage","unStarMessage","starred"],["role","heading","aria-level","3"],[3,"matTooltip"],[1,"hotlist-archived"],[1,"button-container"],["aria-label","Hotlist settings","matTooltip","Hotlist settings",1,"bv2-edit-button",
"bv2-view-resource-edit-button",3,"click"],["matTooltip","Display preferences have changed"],["type","button","mat-flat-button","","matTooltip","Save changes to display preferences",1,"medium",3,"click"],["type","button","mat-stroked-button","","matTooltip","Discard changes to display preferences",1,"medium",3,"click"],[3,"init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onRowDragDrop","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving",
"sort","enableSidebar"]],template:function(a,b){a&1&&(I(0,"div",0)(1,"b-grid-controls",1),M("init",function(d){return b.gridControls=d})("onRefresh",function(){return b.refreshResults()})("onSave",function(d){return b.sendBulkEditRequest(d.bulkEditOps)})("onCreateHotlist",function(d){return b.createHotlist(d)})("onLoadHotlist",function(d){return b.loadHotlist(d)})("onExportCsv",function(){return b.exportCsv()}),J(),D(2,oXb,1,1),I(3,"div",2)(4,"b-pagination",3),M("pageChange",function(d){return b.goToPage(d.page)})("resultsPerPageChange",
function(d){return b.saveResultsPerPage(d.option)}),J()()(),I(5,"div",4),D(6,yXb,9,7,"div",5)(7,zXb,4,1,"div",6)(8,AXb,2,2,"div",7)(9,BXb,2,6,"div",8),J());if(a&2){var c;C();F("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices)("showHotlistButtons",b.canAppend)("currentHotlistId",b.hotlistId)("isHotlistAdmin",b.isAdmin);C();G((c=b.searchResults==null?null:b.searchResults.numResults)?2:-1,c);C(2);F("searchResults",b.searchResults);C();eg("aria-busy",b.isLoading);C();G(b.isInitializing?-1:6);C();
G(b.isLoading?7:-1);C();G(b.isLoading||b.hasResults()?-1:8);C();G(!b.isLoading&&b.hasResults()?9:-1)}},dependencies:[z2,n3,xU,s2,FH,HH,JO,W1,vD,Vy],encapsulation:2});var L9=function(){};L9.\u0275fac=function(a){return new (a||L9)};L9.\u0275mod=u({type:L9});L9.\u0275inj=p({imports:[I2,o3,PZ,l3,LH,RE,LO,X1,JH,Qz,FI,BZ,PY]});var M9=function(){K8.apply(this,arguments);this.savedSearchApi=r(pF);this.hotkeys=r(YH);this.pageTitle=r(k_);this.userAccess=r(YC);this.routeParams=r(PL);this.mcPrefs=r(VY);this.ANALYTICS_CATEGORY="savedSearchIssues";this.isAdmin=!1;this.savedSearchId=this.routeParams.savedSearchId;this.savedSearch=null;this.isLoading=!0;this.showHotlists=!1};Y(M9,K8);M9.\u0275dir=K8.\u0275dir;g=M9.prototype;
g.ngOnInit=function(){var a=this;K8.prototype.ngOnInit.call(this);this.subscriptions.add(ZH(this.hotkeys,{title:"Saved Search",hotkeys:this.BASE_HOTKEYS}));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(b){b&&String(b.savedSearchId)===a.savedSearchId&&(b.action==="delete"?(a.savedSearch=null,a.searchResults=null,a.appSearchState.clear()):a.loadSavedSearch())}));this.subscriptions.add(this.userPreferencesManager.listViewPreferences$.subscribe(function(b){a.showHotlists=
b.showHotlists}));this.subscriptions.add(oWc(this.appSearchState,function(b){a.savedSearch?M2(a.urlPreferences,{query:b}):(b=a.paths.listIssues({q:b}),a.bLocation.setUrl(b))}));this.loadUserAccess(this.savedSearchId)};g.loadUserAccess=function(a){var b=this;$C(this.userAccess,"admin","savedSearches/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
g.loadSavedSearch=function(){var a=this;this.savedSearch=null;var b=this.savedSearchApi.get(this.savedSearchId);b.then(function(c){a.savedSearch=c;a.pageTitle.setTitle(c.name)}).catch(function(c){a.errorHandler.errorHandler(null,c);a.savedSearch=null}).finally(function(){a.cdr.detectChanges()});return b};
g.getIssues=function(){var a=this,b=this.urlPreferences.getQuery()||"savedsearchid:"+this.savedSearchId;LY(this.appSearchState,b);this.searchResults=null;this.isLoading=!0;this.isInitializing=!1;b=this.savedSearch?Promise.resolve(this.savedSearch):this.loadSavedSearch();return this.doSearch(b).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
g.doSearch=function(a){var b=this;a=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,query:"",sortColumns:[],displayColumns:C9c(this)},a.then(function(d){return{query:d.query,sortOrder:d.sortOrder||null,displayColumn:d.displayColumn||null}}));var c=a.searchPreferences.then(function(d){if(!d.query)return Promise.reject(null);b.searchParams=d;LY(b.appSearchState,d.query);b.exitLink=b.paths.listIssues({q:d.query});b.cdr.detectChanges();d=zi(d);d.returnUrl=b.bLocation.getUrl();d.trackerIds=
b.appSearchState.currentTrackerScope;return iYc(b.issuePagination,d)});c.then(function(d){H9c(b,d)}).catch(function(d){typeof d==="number"?M2(b.urlPreferences,{page:d}):d&&b.errorHandler.errorHandler(null,d)});this.initColumns(a.displayColumns);return qq({searchResultsPage:c,displayColumns:a.displayColumns}).then(function(d){d=d.searchResultsPage;b.searchResults=d;b.page=d.params.page;b.sortPreferences=d.params.sortColumns||[];b.loadHotlists();b.cdr.detectChanges()}).catch(function(){})};
g.isEditable=function(){return!!this.savedSearch&&this.isAdmin};g.getCsvUrl=function(){return hRa(this.searchParams.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
g.save=function(){var a=this,b=this.urlPreferences.getDisplayColumns();b&&(this.savedSearch.displayColumn=b);if(b=this.urlPreferences.getSortColumns())this.savedSearch.sortOrder=b.map(function(c){return{direction:c.direction,field:c.fieldId}});this.savedSearch.query=this.urlPreferences.getQuery()||this.savedSearch.query;du(this.butterBar,"Saving changes to search...");this.savedSearchApi.update(this.savedSearch.searchId,this.savedSearch).then(function(c){du(a.butterBar,'Saved changes to search "'+
c.name+'".');a.savedSearch=c;M2(a.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"savedParams");a.cdr.detectChanges()}).catch(function(c){a.errorHandler.errorHandler(null,c)})};g.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");M2(this.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null})};
g.hasParamChanges=function(){return this.savedSearch?!!(this.urlPreferences.getQuery()&&this.urlPreferences.getQuery()!==this.savedSearch.query||this.urlPreferences.getSortColumns()||this.urlPreferences.getDisplayColumns()):!1};g.openEditSavedSearch=function(){this.bLocation.setUrl(this.paths.editSavedSearch(this.savedSearchId))};g.addToMissionControl=function(a){a!=null&&(WY(this.mcPrefs,Ar(a)),this.bLocation.setUrl(this.paths.home()))};
g.showAddToMcButton=function(a){var b=this.activeSession.isInternalSession();a=a<=500;var c=!this.mcPrefs.hasSavedSearch(this.savedSearchId);return b&&a&&c};M9.\u0275fac=function(){var a;return function(b){return(a||(a=de(M9)))(b||M9)}}();
M9.\u0275cmp=t({type:M9,selectors:[["view-saved-search-page"]],features:[Yg([sG]),cg],decls:10,vars:8,consts:[[1,"kd-appbar","kd-buttonbar"],[1,"bv2-edit-controls",3,"init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv","grid","hotlistChoices"],[1,"bv2-appbar-right"],[3,"pageChange","resultsPerPageChange","searchResults"],[1,"bv2-view","bv2-view-savedsearch-grid"],[1,"bv2-view-savedsearch-title"],[1,"bv2-view-savedsearch-title-text"],[1,"bv2-view-savedsearch-save-form"],["mat-flat-button",
"","type","button","matTooltip","Add a section on the home page to track and get insights for this Saved Search like trending issues, collaborators, and recent activity.",1,"medium","gmat-mdc-button","reverse-margin-left"],["mat-flat-button","","type","button","matTooltip","Add a section on the home page to track and get insights for this Saved Search like trending issues, collaborators, and recent activity.",1,"medium","gmat-mdc-button","reverse-margin-left",3,"click"],["role","heading","aria-level",
"3"],[3,"matTooltip"],["aria-label","Saved search settings","matTooltip","Saved search settings",1,"bv2-edit-icon","bv2-view-resource-edit-button",3,"click"],["matTooltip","Display preferences or search query have changed"],["type","button","mat-flat-button","","matTooltip","Save changes to display preferences and search query",1,"medium"],["type","button","mat-stroked-button","","matTooltip","Discard changes to display preferences and search query",1,"medium",3,"click"],[1,"bv2-view-savedsearch-exit-link"],
["matTooltip","Show this search with your default display preferences",3,"click","href"],["type","button","mat-flat-button","","matTooltip","Save changes to display preferences and search query",1,"medium",3,"click"],[1,"bv2-view-loading"],["tabindex","-1",1,"bv2-view-loading",3,"bFocus"],[1,"bv2-grid-container"],[3,"init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar"]],
template:function(a,b){a&1&&(I(0,"div",0)(1,"b-grid-controls",1),M("init",function(d){return b.gridControls=d})("onRefresh",function(){return b.refreshResults()})("onSave",function(d){return b.sendBulkEditRequest(d.bulkEditOps)})("onCreateHotlist",function(d){return b.createHotlist(d)})("onLoadHotlist",function(d){return b.loadHotlist(d)})("onExportCsv",function(){return b.exportCsv()}),J(),D(2,DXb,1,1),I(3,"div",2)(4,"b-pagination",3),M("pageChange",function(d){return b.goToPage(d.page)})("resultsPerPageChange",
function(d){return b.saveResultsPerPage(d.option)}),J()()(),I(5,"div",4)(6,"div",5),D(7,IXb,4,3,"div",6)(8,KXb,7,2,"div",7),J(),D(9,PXb,4,3,"div"),J());if(a&2){var c;C();F("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices);C();G((c=b.searchResults==null?null:b.searchResults.numResults)?2:-1,c);C(2);F("searchResults",b.searchResults);C();eg("aria-busy",b.isLoading);C(2);G(b.isInitializing?-1:7);C();G(b.hasParamChanges()?8:-1);C();G(b.savedSearch?9:-1)}},dependencies:[z2,n3,s2,FH,HH,JO,W1,vD,
Vy],encapsulation:2});var N9=function(){};N9.\u0275fac=function(a){return new (a||N9)};N9.\u0275mod=u({type:N9});N9.\u0275inj=p({imports:[I2,o3,l3,RE,LH,LO,X1,JH,Qz,FI,BZ,PY]});var Had={path:tq.viewIssue.routeDeclarationPath,component:M7,children:[{path:"",pathMatch:"full",component:n8},{path:"dependencies",component:vZ},{path:"dupes",component:O7},{path:"blocking",component:f7},{path:"resources",component:z9c}].concat(w(function(a,b){return QXb(function(){return Mk(a)},b)}("enableCodeMentionsUi",{path:"todos",component:I8})))},Iad=[{path:"",component:$5,canActivateGuards:[i6]},{title:ku("Issues"),path:tq.listIssues.routeDeclarationPath,component:L8},{title:ku("New issue"),
path:tq.createIssue.routeDeclarationPath,component:V6,canActivateGuards:[B6]}].concat(w(QXb(function(){var a;if(a=Mk("enableChromeWizard")){var b;a=((b=Jk().tracker)==null?void 0:b.trackerId)==="157"}return a},{title:ku("New issue"),path:tq.createIssueChromeWizard.routeDeclarationPath,component:A6})),[Had,{title:ku("Browse All Components"),path:tq.listComponentsGlobal.routeDeclarationPath,component:C5},{title:ku("Browse Components"),path:tq.listComponents.routeDeclarationPath,component:C6},{title:ku("Create component"),
path:tq.createComponent.routeDeclarationPath,component:E6},{title:ku("Component"),path:tq.editComponent.routeDeclarationPath,component:e9},{path:"components/:componentId/manage",redirectTo:tq.editComponent.routeDeclarationPath},{path:"components/:componentId",redirectTo:tq.editComponent.routeDeclarationPath},{title:ku("Team"),path:tq.editTeam.routeDeclarationPath,component:f9},{path:"teams/:teamId",redirectTo:tq.editTeam.routeDeclarationPath},{title:ku("Create Bookmark Group"),path:tq.createBookmarkGroup.routeDeclarationPath,
component:D6},{title:ku("Bookmark Group"),path:tq.viewBookmarkGroup.routeDeclarationPath,component:I9},{title:ku("Bookmark Group"),path:tq.editBookmarkGroup.routeDeclarationPath,component:a7},{title:ku("Create Hotlist"),path:tq.createHotlist.routeDeclarationPath,component:F6},{title:ku("Hotlist"),path:tq.viewHotlist.routeDeclarationPath,component:K9},{title:ku("Edit Hotlist"),path:tq.editHotlist.routeDeclarationPath,component:E2},{title:ku("Create SLO"),path:tq.createSlo.routeDeclarationPath,component:X6},
{title:ku("SLO"),path:tq.viewSlo.routeDeclarationPath,component:e7},{title:ku("SLO"),path:tq.editSlo.routeDeclarationPath,component:e7},{title:ku("Saved search"),path:tq.editSavedSearch.routeDeclarationPath,component:b7},{title:ku("All of my hotlists"),path:tq.listHotlists.routeDeclarationPath,component:J8},{title:ku("Manage SLOs"),path:tq.listSlos.routeDeclarationPath,component:N8},{title:ku("Saved search"),path:tq.viewSavedSearch.routeDeclarationPath,component:M9},{title:ku("Dashboard"),path:tq.viewDashboard.routeDeclarationPath,
component:Z6},{title:ku("Settings"),path:tq.settingsTab.routeDeclarationPath,component:H9},{title:ku("Settings"),path:tq.settings.routeDeclarationPath,component:H9},{title:ku("Triage"),path:tq.viewTriageDashboard.routeDeclarationPath,component:MY},{title:ku("Triage"),path:tq.viewTriage.routeDeclarationPath,component:NZ},{title:ku("Triage"),path:tq.triageSettings.routeDeclarationPath,component:SZ},{title:ku("View Attachment"),path:tq.viewAttachment.routeDeclarationPath,component:zad,hideAppChrome:!0},
{title:ku("Home"),path:tq.home.routeDeclarationPath,component:y9,canActivateGuards:[f6,g6]},{path:"**",component:$5,canActivateGuards:[i6]}]);var O9=function(){};O9.\u0275fac=function(a){return new (a||O9)};O9.\u0275mod=u({type:O9});O9.\u0275inj=p({imports:[RE,pR]});var P9=function(){};P9.\u0275fac=function(a){return new (a||P9)};P9.\u0275mod=u({type:P9});P9.\u0275inj=p({imports:[RE,VK,HR,aN]});var Q9=function(){};Q9.\u0275fac=function(a){return new (a||Q9)};Q9.\u0275mod=u({type:Q9});Q9.\u0275inj=p({imports:[o8,RE,LO,JH,pR,WR,O9,P9,KH]});var R9=function(){};R9.\u0275fac=function(a){return new (a||R9)};R9.\u0275mod=u({type:R9});R9.\u0275inj=p({imports:[RE,IR,JH]});var S9=function(){};S9.\u0275fac=function(a){return new (a||S9)};S9.\u0275mod=u({type:S9});S9.\u0275inj=p({imports:[RE,pR,VK,HR,R9]});var T9=function(){};T9.\u0275fac=function(a){return new (a||T9)};T9.\u0275mod=u({type:T9});T9.\u0275inj=p({imports:[RE,aI,JH,ML]});var U9=function(){};U9.\u0275fac=function(a){return new (a||U9)};U9.\u0275mod=u({type:U9});U9.\u0275inj=p({imports:[GR,RE,C7,aI,X2,JH,MM,EI,LH,C3,k3,r8,T9]});var V9=function(){};V9.\u0275fac=function(a){return new (a||V9)};V9.\u0275mod=u({type:V9});V9.\u0275inj=p({imports:[RE,aI,JH,LH]});var W9=function(){};W9.\u0275fac=function(a){return new (a||W9)};W9.\u0275mod=u({type:W9});W9.\u0275inj=p({imports:[pW,RE,LH,yN,QH,JH,LO,vR,k3,FR]});var X9=function(){};X9.\u0275fac=function(a){return new (a||X9)};X9.\u0275mod=u({type:X9});X9.\u0275inj=p({imports:[RE,UR,VK,BN]});var Y9=function(){};Y9.\u0275fac=function(a){return new (a||Y9)};Y9.\u0275mod=u({type:Y9});Y9.\u0275inj=p({imports:[S9,UR,RE,cW,qY,aI,VK,PR,zY,R9,JH,MM,LH,PZ,BN,X9,V9,U9,W9]});var Z9=function(){};Z9.\u0275fac=function(a){return new (a||Z9)};Z9.\u0275mod=u({type:Z9});Z9.\u0275inj=p({imports:[RE,JH]});var $9=function(){};$9.\u0275fac=function(a){return new (a||$9)};$9.\u0275mod=u({type:$9});$9.\u0275inj=p({imports:[RE,$M,JH,LH]});var a$=function(){};a$.\u0275fac=function(a){return new (a||a$)};a$.\u0275mod=u({type:a$});a$.\u0275inj=p({imports:[j4,RK,YD,RE,WR,Zx,pR,vR,Qz,Q9,Y9,f3,JH,ML,JZ,aP,LH,Rz,L7,k3,QI,Z9,$9]});var b$=function(){};b$.\u0275fac=function(a){return new (a||b$)};b$.\u0275mod=u({type:b$});b$.\u0275inj=p({imports:[RE,E5]});var c$=function(){};c$.\u0275fac=function(a){return new (a||c$)};c$.\u0275mod=u({type:c$});c$.\u0275inj=p({imports:[RE,YD,RK,Qz,Rz,JH,aP,QI,GR,a$,G8,xZ,g7,P7,b$,H8]});var Jad=Iad.map(function(a){var b=a.redirectTo?void 0:[c6,e6].concat(w(a.canActivateGuards||[])),c;return{title:a.title,path:a.path,redirectTo:a.redirectTo,component:a.component,canDeactivate:[iT],canActivate:b,children:a.children,isRootRoute:!0,hideAppChrome:(c=a.hideAppChrome)!=null?c:!1}});Jad.push({path:"**",canActivate:["dontActivate"],component:$5,isRootRoute:!0,hideAppChrome:!1});
var Kad=Jk().appBaseHref,Lad,d$={initialNavigation:"disabled"},Mad={provide:Xbc,useFactory:function(){return"guarded"},deps:[[HE,new Wv,new Xv]]},Nad=(d$==null?0:d$.errorHandler)?{provide:mbc,useValue:d$.errorHandler}:[],Oad={provide:kbc,useValue:d$?d$:{}},Pad=(d$==null?0:d$.useHash)?{provide:Tw,useClass:Vw}:{provide:Tw,useClass:Uw},Qad={provide:Qbc,useFactory:function(){var a=r(q2b),b=r(hh),c=r(kbc),d=r(CE),e=r(pE);c.scrollOffset&&a.setOffset(c.scrollOffset);return new ME(e,d,a,b,c)}},Rad=(d$==null?
0:d$.preloadingStrategy)?no(0,[{provide:Wbc,useExisting:LE},{provide:Mbc,useExisting:d$.preloadingStrategy}]).\u0275providers:[],Sad;
(d$==null?0:d$.initialNavigation)?Sad=[d$.initialNavigation==="disabled"?no(3,[{provide:P0b,multi:!0,useFactory:function(){var a=r(HE);return function(){Dbc(a)}}},{provide:Vbc,useValue:2}]).\u0275providers:[],d$.initialNavigation==="enabledBlocking"?no(2,[{provide:Vbc,useValue:0},{provide:P0b,multi:!0,deps:[Sf],useFactory:function(a){var b=a.get(m2b,Promise.resolve());return function(){return b.then(function(){return new Promise(function(c){var d=a.get(HE),e=a.get(Ubc);ICa(d,function(){c(!0)});a.get(CE).afterPreactivation=
function(){c(!0);return e.closed?Fe(void 0):e};d.initialNavigation()})})}}}]).\u0275providers:[]]:Sad=[];var Tad=Sad,Uad=(d$==null?0:d$.bindToComponentInputs)?no(8,[wE,{provide:Jac,useExisting:wE}]).\u0275providers:[],Vad;if(d$==null?0:d$.enableViewTransitions){var Wad=[{provide:lbc,useValue:HCa},{provide:FCa,useValue:Object.assign({},{skipNextTransition:!1},void 0)}];Vad=no(9,Wad).\u0275providers}else Vad=[];
Lad={ngModule:NE,providers:[Ybc,[],{provide:DCa,multi:!0,useValue:[]},Mad,Nad,Oad,Pad,Qad,Rad,Tad,Uad,Vad,[{provide:Zbc,useFactory:function(){var a=r(Sf);return function(b){var c=a.get(nh);if(b===c.components[0]){b=a.get(HE);var d=a.get(Ubc);a.get(Vbc)===1&&b.initialNavigation();var e;(e=a.get(Wbc,null,8))==null||Nbc(e);var f;(f=a.get(Qbc,null,8))==null||f.init();c=c.componentTypes[0];b.routerState.root.component=c;b.navigationTransitions.rootComponentType=c;d.closed||(d.next(),d.complete(),d.unsubscribe())}}}},
{provide:Y0b,multi:!0,useExisting:Zbc}]]};var e$=function(){var a=r(HE),b=r(OL);a.config=Jad.map(LBa);a.navigated=!1;a.initialNavigation();Jrc(b)};e$.\u0275fac=function(a){return new (a||e$)};e$.\u0275mod=u({type:e$});e$.\u0275inj=p({providers:[{provide:"dontActivate",useValue:function(){return!1}},{provide:DE,useClass:b6},{provide:p2b,useValue:Kad},e6,c6],imports:[Lad,a6,c$,NE]});var Xad=new Bd("Environment");var Yad=new Bd("Worktracker API Key");var Zad=new Bd("G3C API Keys");var f$=function(){};f$.\u0275fac=function(a){return new (a||f$)};f$.\u0275mod=u({type:f$});f$.\u0275inj=p({providers:[{provide:Xad,useFactory:RXb},{provide:Zad,useValue:{prodApiKey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",stagingApiKey:"AIzaSyCYqhU0fWA9T487wYfx1ogB9z2mNJ9AQco",autopushApiKey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM"}},{provide:Yad,useValue:"AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c"}]});var $ad=function(){};$ad.prototype.send=function(a,b){MFa(a);return this.makeRequest(a).then(function(c){return b?IFa(b,c):c})};var g$=function(a,b,c,d,e){this.gapiUrl=a;this.gapiKey=b;this.customGapiPromise=null;this.gapiConfigUpdates=c||{};this.gapiAuthParams=d||{};this.defaultApiId=e};Y(g$,$ad);g$.prototype.getGapi=function(){var a=this;return(this.customGapiPromise||zGa()).then(function(b){b=b||window.gapi;a.setGapiConfig(b);return GGa(b,{apiKey:a.gapiKey,clientId:a.gapiAuthParams.clientId,scope:a.gapiAuthParams.scope,hostedDomain:a.gapiAuthParams.hostedDomain,fetchBasicProfile:a.gapiAuthParams.fetchBasicProfile}).then(function(){return b})})};
g$.prototype.makeRequest=function(a){var b=this;return this.getGapi().then(function(c){return ve(function(d){if(d.nextAddress==1)return b.gapiAuthParams.minAuthTokenTimeRemaining===void 0?d.jumpTo(2):xe(d,FGa(c,b.gapiAuthParams.minAuthTokenTimeRemaining),2);b.setGapiConfig(c);return d.return(b.parseResponse(c.client.request({root:b.gapiUrl,path:a.path,method:a.httpMethod,body:a.body,params:a.queryParams,headers:a.headers,authType:a.authType,apiId:a.apiId||b.defaultApiId})))})})};
g$.prototype.parseResponse=function(a){return new Promise(function(b,c){a.then(function(d){b(d.result===!1&&d.body!=null?{data:d.body}:d.result)},function(d){c(d.result===!1&&d.body!=null?{data:d.body}:d.result)})})};g$.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&DGa(a,b,this.gapiConfigUpdates[b])};g$.$inject=["gapiUrl","gapiKey","gapiConfigUpdates","gapiAuthParams","defaultApiId"];var h$=function(){};h$.\u0275fac=function(a){return new (a||h$)};h$.\u0275mod=u({type:h$});
h$.\u0275inj=p({providers:[{provide:Aoc,useFactory:function(){var a=new g$("https://people-pa.googleapis.com","AIzaSyClMyMjdjUv-Z9gej4bgUQoU3CSbak7a9s",{withCredentials:!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0}),b=IGa();a.customGapiPromise=b;return new Lic(a)}}],imports:[{ngModule:DR,providers:[PP,{provide:Eyc,useFactory:function(){return{authRealm:1,peopleApiEnv:4,peopleStoreClient:dWc,autocompleteFactory:IQc}}}]}]});var UXb={os:1223084,version:1223033},TXb={os:201569,version:201543};var $Xb={unconfirmed:5437934,chromiumRegression:5438261},ZXb={unconfirmed:1218157,chromiumRegression:1218155};var i$={},abd=(i$.NETWORK_DOWNLOADING=[{type:"INPUT",question:"What specific URL can reproduce the problem?",answerPrefix:"Example URL: "}],i$.AUDIO_VIDEO=[{type:"SELECT",question:"Does this feature work correctly in other browsers?",answerPrefix:"Does this work in other browsers?\n",options:["Not sure - I don't know","Yes - This is just a Chromium problem",{text:"No - I can reproduce the problem in another browser",child:{type:"INPUT",question:"Which other browsers (including versions) also have the problem?"}}]},
{type:"TEXT",question:"Please open chrome://gpu in a new Chrome tab and paste the report here.",answerPrefix:"Contents of chrome://gpu: \n"}],i$.CONTENT=[{type:"INPUT",question:"What specific URL has a problem?",answerPrefix:"Example URL: "},{type:"SELECT",question:"Does the problem occur on multiple sites?",options:["Not sure - I don't know","Yes - Please describe below","No - Just that one URL"]},{type:"SELECT",question:"Is it a problem with a plugin?",options:["Not sure - I don't know",{text:"Yes - Those darn plugins",
child:{type:"INPUT",question:"Which plugin?"}},"No - It's the browser itself"]},{type:"SELECT",question:"Does this feature work correctly in other browsers?",answerPrefix:"Does this work in other browsers? ",options:["Not sure - I don't know","Yes - This is just a Chromium problem",{text:"No - I can reproduce the problem in another browser",child:{type:"INPUT",question:"Which other browsers (including versions) also have the problem?"}}]}],i$.APPS=[{type:"INPUT",question:ui([ti("What is the link to that software in "),
SXb("the Chrome Webstore","https://chrome.google.com/webstore"),ti("?")]),answerPrefix:"Webstore page: "}],i$.EXTENSIONS_THEMES=[{type:"SELECT",question:"What kind of software had the problem?",options:["Chrome Extension - Adds new browser functionality",{text:"Chrome Theme - Makes Chrome look awesome",child:{type:"INPUT",question:"Do you know the latest version where it worked?"}}]},{type:"INPUT",question:ui([ti("What is the link to that software in "),SXb("the Chrome Webstore","https://chrome.google.com/webstore"),
ti("?")]),answerPrefix:"WebStore page: "}],i$.WEBSTORE=[{type:"INPUT",question:"What is the URL of the Chrome WebStore page that had the problem?",answerPrefix:"Webstore page: "}],i$.CRASHES=[{type:"INPUT",question:"Do you have a Report ID from chrome://crashes?",answerPrefix:"Crashed report ID: "},{type:"SELECT",question:"How severe is the crash?",options:["Just one tab","Just one plugin","The whole browser"],answerPrefix:"How much crashed? "},{type:"SELECT",question:"Is it a problem with a plugin?",
options:["Not sure - I don't know",{text:"Yes - Those darn plugins",child:{type:"INPUT",question:"Which plugin?"}},"No - It's the browser itself"]}],i$.OTHER=[{type:"SELECT",question:"Please select a label to classify your issue:",options:["Not sure - I don't know","Type-Feature - Request for new or improved features","Type-Bug-Regression - Used to work, now broken","Type-Bug - Software not working correctly","Cr-UI-I18N - Issue in translating UI to other languages"]}],i$.API=[{type:"SELECT",question:"Which component does this fall under?",
options:"Not sure - I don't know;Blink>Animation;Blink>BackgroundSync;Blink>Bindings;Blink>Bluetooth;Blink>Canvas;Blink>Compositing;Blink>CSS;Blink>DataTransfer;Blink>DOM;Blink>Editing;Blink>FileAPI;Blink>Focus;Blink>Fonts;Blink>Forms;Blink>Fullscreen;Blink>GamepadAPI;Blink>GetUserMedia;Blink>HitTesting;Blink>HTML;Blink>Image;Blink>INPUT;Blink>Internals;Blink>Javascript;Blink>Layout;Blink>Loader;Blink>Location;Blink>Media;Blink>MediaStream;Blink>MemoryAllocator;Blink>Messaging;Blink>Network;Blink>Paint;Blink>Payments;Blink>PerformanceAPIs;Blink>PermissionsAPI;Blink>PresentationAPI;Blink>PushAPI;Blink>SavePage;Blink>Scheduling;Blink>Scroll;Blink>SecurityFeature;Blink>ServiceWorker;Blink>Speech;Blink>Storage;Blink>SVG;Blink>TEXTAutosize;Blink>TEXTEncoding;Blink>TEXTSELECTion;Blink>USB;Blink>Vibration;Blink>ViewSource;Blink>WebAudio;Blink>WebComponents;Blink>WebCrypto;Blink>WebFonts;Blink>WebGL;Blink>WebGPU;Blink>WebMIDI;Blink>WebRTC;Blink>WebShare;Blink>WebVR;Blink>WindowDialog;Blink>Workers;Blink>XML".split(";")},
{type:"SELECT",question:"Does this feature work correctly in other browsers?",answerPrefix:"Does this work in other browsers? ",options:["Not sure - I don't know","Yes - This is just a Chrome problem",{text:"No - I can reproduce the problem in another browser",child:{type:"TEXT",question:"Details of interop issue"}}]}],i$.SECURITY=[{type:"INPUT",question:"For crashes, what type of crash [tab, browser, etc.]:",answerPrefix:"Type of crash: "},{type:"TEXT",question:ui([ti("For crashes, what was the crash state? [See "),
SXb("Reporting Crash Bugs","https://www.chromium.org/Home/chromium-security/reporting-security-bugs/#reporting-crash-bugs"),ti(", include the stack trace *with symbols*, registers, exception record]:")]),answerPrefix:"Crash state: "},{type:"INPUT",question:"Externally reported security bugs may appear in Chrome release notes. If this bug is included, how would you like to be credited?",answerPrefix:"Reporter credit: "}],i$);var j$=function(){};j$.\u0275fac=function(a){return new (a||j$)};j$.\u0275mod=u({type:j$});j$.\u0275inj=p({imports:[dW]});var k$=function(){};k$.\u0275fac=function(a){return new (a||k$)};k$.\u0275mod=u({type:k$});k$.\u0275inj=p({providers:[K6c,Ey],imports:[yy,Qw,sy,r6,QE,Ny,z6,x6,yy]});var l$=function(){};l$.\u0275fac=function(a){return new (a||l$)};l$.\u0275mod=u({type:l$});l$.\u0275inj=p({providers:[{provide:A6c,useValue:abd},{provide:C6c,useFactory:VXb},{provide:B6c,useFactory:YXb},{provide:D6c,useFactory:aYb}],imports:[kW,RE,Q3,Qz,JH,j$,yN,PN,bP,mR,k$,qW]});var m$=function(){};m$.\u0275fac=function(a){return new (a||m$)};m$.\u0275mod=u({type:m$});m$.\u0275inj=p({imports:[RE,JH,LH,oR,Qz,Rz,G2]});var n$=function(){};n$.\u0275fac=function(a){return new (a||n$)};n$.\u0275mod=u({type:n$});n$.\u0275inj=p({imports:[MH,RE,G2,X1,Qz,AM,LH,yN,G3,bW]});var o$=function(){};o$.\u0275fac=function(a){return new (a||o$)};o$.\u0275mod=u({type:o$});o$.\u0275inj=p({imports:[RE,JH,LH,oR,Qz,Rz,G2]});var p$=function(){};p$.\u0275fac=function(a){return new (a||p$)};p$.\u0275mod=u({type:p$});p$.\u0275inj=p({imports:[RE,JH,LH,OR]});var q$=function(){};q$.\u0275fac=function(a){return new (a||q$)};q$.\u0275mod=u({type:q$});q$.\u0275inj=p({imports:[RE,JH,LH,LO,p$,EI]});var r$=function(){};r$.\u0275fac=function(a){return new (a||r$)};r$.\u0275mod=u({type:r$});r$.\u0275inj=p({imports:[RE,LO,IR,HR,GR,FY,LH,VK,JH]});var s$=function(){};s$.\u0275fac=function(a){return new (a||s$)};s$.\u0275mod=u({type:s$});s$.\u0275inj=p({imports:[Qw,Qz,gA,XX,Rz]});var t$=function(){};t$.\u0275fac=function(a){return new (a||t$)};t$.\u0275mod=u({type:t$});t$.\u0275inj=p({imports:[MH,mW,pR,ZJ,s0,Y2,NN,X1,Qz,hW,s1,AM,H1,aO,JH,yN,mR,ML,U6,EI,QH,LH,Y2,gM,tR,Rz,s$,bW,RE,ay,qW,nW,q$,r$]});var u$=function(){};u$.\u0275fac=function(a){return new (a||u$)};u$.\u0275mod=u({type:u$});u$.\u0275inj=p({imports:[MH,RE,G2,X1,Qz,AM,LH,R3]});var v$=function(){};v$.\u0275fac=function(a){return new (a||v$)};v$.\u0275mod=u({type:v$});v$.\u0275inj=p({imports:[RE,LH,JH,aP,G2,hW,s1,H_,oR,Qz,Rz,EI,ER]});var w$=function(){};w$.\u0275fac=function(a){return new (a||w$)};w$.\u0275mod=u({type:w$});w$.\u0275inj=p({imports:[ML,yN,RE,xy,JH,pR,bU,qW]});var x$=function(){};x$.\u0275fac=function(a){return new (a||x$)};x$.\u0275mod=u({type:x$});x$.\u0275inj=p({imports:[RE,LH,JH,aP,G2,oR,ML,Qz,Rz,EI,ER]});var y$=function(){};y$.\u0275fac=function(a){return new (a||y$)};y$.\u0275mod=u({type:y$});y$.\u0275inj=p({imports:[MH,RE,G2,Qz,AM,aP,LH,ER,yN,R3,LO]});var z$=function(){};z$.\u0275fac=function(a){return new (a||z$)};z$.\u0275mod=u({type:z$});z$.\u0275inj=p({imports:[RE,K2,LO,JH]});var A$=function(){};A$.\u0275fac=function(a){return new (a||A$)};A$.\u0275mod=u({type:A$});A$.\u0275inj=p({imports:[RE,JH,T3,LO]});var B$=function(){};B$.\u0275fac=function(a){return new (a||B$)};B$.\u0275mod=u({type:B$});B$.\u0275inj=p({imports:[RE,O0,u3]});var C$=function(){};C$.\u0275fac=function(a){return new (a||C$)};C$.\u0275mod=u({type:C$});C$.\u0275inj=p({imports:[RE,vR,Qz,aP,BM,ER,AM,U6,JH,yN,LH,ML,LO]});var D$=function(){};D$.\u0275fac=function(a){return new (a||D$)};D$.\u0275mod=u({type:D$});D$.\u0275inj=p({imports:[MH,RE,vR,O0,B0,j5,q5,s5,I1,G2,z5,Qz,AM,JH,yN,ML,mR,QH,aP,LH,ER,G3,C$,ay,B$,E3,LO,bW,TR,$9]});var E$=function(){};E$.\u0275fac=function(a){return new (a||E$)};E$.\u0275mod=u({type:E$});E$.\u0275inj=p({imports:[RE,G2,Qz,JH,yN,aP,LH,QH,ER,ay,E3,u3]});var F$=function(){};F$.\u0275fac=function(a){return new (a||F$)};F$.\u0275mod=u({type:F$});F$.\u0275inj=p({imports:[RE,JH,lA,MM,tx,Qz,Rz,aA,iA]});var G$=function(){};G$.\u0275fac=function(a){return new (a||G$)};G$.\u0275mod=u({type:G$});G$.\u0275inj=p({imports:[RE,$M]});var H$=function(){};H$.\u0275fac=function(a){return new (a||H$)};H$.\u0275mod=u({type:H$});H$.\u0275inj=p({imports:[RE,G$,VK,LH]});var I$=function(){};I$.\u0275fac=function(a){return new (a||I$)};I$.\u0275mod=u({type:I$});I$.\u0275inj=p({imports:[RE,$M,BM]});var J$=function(){};J$.\u0275fac=function(a){return new (a||J$)};J$.\u0275mod=u({type:J$});J$.\u0275inj=p({imports:[RE,BM,$M,pR]});var K$=function(){};K$.\u0275fac=function(a){return new (a||K$)};K$.\u0275mod=u({type:K$});K$.\u0275inj=p({imports:[RE,LH,VK,J$,I$]});var L$=function(){};L$.\u0275fac=function(a){return new (a||L$)};L$.\u0275mod=u({type:L$});L$.\u0275inj=p({imports:[RE,VK]});var M$=function(){};M$.\u0275fac=function(a){return new (a||M$)};M$.\u0275mod=u({type:M$});M$.\u0275inj=p({imports:[RE,L$,VK,LH]});var N$=function(){};N$.\u0275fac=function(a){return new (a||N$)};N$.\u0275mod=u({type:N$});N$.\u0275inj=p({imports:[RE,VK]});var O$=function(){};O$.\u0275fac=function(a){return new (a||O$)};O$.\u0275mod=u({type:O$});O$.\u0275inj=p({imports:[RE,LH,VK,N$]});var P$=function(){};P$.\u0275fac=function(a){return new (a||P$)};P$.\u0275mod=u({type:P$});P$.\u0275inj=p({imports:[RE,ZR,LH]});var Q$=function(){};Q$.\u0275fac=function(a){return new (a||Q$)};Q$.\u0275mod=u({type:Q$});Q$.\u0275inj=p({imports:[RE,ZR,EI]});var R$=function(){};R$.\u0275fac=function(a){return new (a||R$)};R$.\u0275mod=u({type:R$});R$.\u0275inj=p({imports:[RE,NM,Zy,QE,DI,xy,vP]});var S$=function(){};S$.\u0275fac=function(a){return new (a||S$)};S$.\u0275mod=u({type:S$});S$.\u0275inj=p({imports:[Qw,jK,NR]});var T$=function(){};T$.\u0275fac=function(a){return new (a||T$)};T$.\u0275mod=u({type:T$});T$.\u0275inj=p({imports:[RE,$M,NM,aS,aP,yN,LH,JH,P$,R$,Q$,LO,IR,vR,S$,FR,K$,O$,DI,M$,H$,F$,xy]});var U$=function(){};U$.\u0275fac=function(a){return new (a||U$)};U$.\u0275mod=u({type:U$});U$.\u0275inj=p({imports:[RE,JH,T$,LH]});var V$=function(){};V$.\u0275fac=function(a){return new (a||V$)};V$.\u0275mod=u({type:V$});V$.\u0275inj=p({imports:[RE,IR,LO,P$,Q$,$M,vR,S$,FR,FY,JH,aP,aS,LH]});var W$=function(){};W$.\u0275fac=function(a){return new (a||W$)};W$.\u0275mod=u({type:W$});W$.\u0275inj=p({imports:[RE,Qz,JH,LH,Rz,BZ,U$,V$,aI]});var X$=function(){};X$.\u0275fac=function(a){return new (a||X$)};X$.\u0275mod=u({type:X$});X$.\u0275inj=p({imports:[mR,RE,Qz]});var Y$=function(){};Y$.\u0275fac=function(a){return new (a||Y$)};Y$.\u0275mod=u({type:Y$});Y$.\u0275inj=p({imports:[WR,RE,Qz,yN,JH,ML,mR,PN,QH,aS,EI,aP,LH,SH,gM,r8,X$,LO,ZJ,QE]});var Z$=function(){};Z$.\u0275fac=function(a){return new (a||Z$)};Z$.\u0275mod=u({type:Z$});Z$.\u0275inj=p({imports:[RE,oR,JH]});var bbd={disableCheatSheet:!0};bbd=bbd===void 0?{}:bbd;
var cbd=[RE,e0,VI,YD,RK,o0,H1,NM,c_,AM,I_,SH,e_,G3,PZ,P_,PR,MH,R2,a1,ZZ,W4,L5,kY,QM,aO,Y0,M0,GR,u$,y$,A$,z$,$6,M8,L9,N9,n$,D$,E$,J9,K2,T3,I1,B5,E5,i3,YK,I2,v1,N5,X4,v5,Y4,F5,u5,t5,q3,s3,cP,o3,t1,U_,WR,pR,bU,w$,iS,YZ,z3,H_,FN,C3,V3,j3,k3,D5,F4,LO,g0,tV,BN,D4,s5,Z$,z5,j4,BM,vR,$M,Y$,aN,WK,S2,V2,R3,E3,T2,G2,a5,m$,o$,p5,J3,W0,O0,P0,B0,U2,l3,c1,zR,Z2,a3,s1,P3,b3,c3,q5,p0,t0,ER,H2,mW,j5,v$,n_,x$,t$,u0,a$,e4,f$,W$,UZ,UD,{ngModule:UI,providers:[sI,{provide:Yhc,useFactory:function(a){return new Lic(new Kic("https://appswaldo-pa.clients6.google.com",
a.waldoApiKey,a.globalApiKey,Object.assign({},Nic,a.gapiConfig),{scope:"https://www.googleapis.com/auth/calendar.readonly"}))},deps:[Mic]},{provide:Mic,useFactory:function(){return{waldoApiKey:"AIzaSyDvxpDVHooCQawPUQkmQxwrtt-Xdp3Q3so",globalApiKey:"AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc",gapiConfig:{withCredentials:!0}}}}]},{ngModule:UH,providers:[TH,{provide:Fgc,useValue:bbd}]},h$];Mk("enableChromeWizard")&&cbd.push(l$);
var dbd=[e6c,rcc,X3c,Y3c,Z3c,$Xc,kec,{provide:uxc,useValue:{animationDuration:"0ms",stretchTabs:!1}},{provide:UYc,useValue:{productName:"Buganizer",cooldownMilliseconds:864E5,enableUsageTracking:!0}},{provide:ugc,useValue:{disableTooltipInteractivity:!0}},{provide:CAc,useValue:"AIzaSyCBj23e6C2MNif_tvceM-CPTXcVDK3sarY"},{provide:FAc,useValue:"92912"},f6c,q6c,r6c,s6c],xw=function(){};xw.prototype.ngDoBootstrap=function(){qj("bootstrapping AppModule")};xw.\u0275fac=function(a){return new (a||xw)};
xw.\u0275mod=u({type:xw,bootstrap:[d0,J5]});xw.\u0275inj=p({providers:[].concat(w(dbd)),imports:[cbd,e$]});fG(document,"DOMContentLoaded",function(){t1b()});
__._ModuleManager_initialize=function(){};
__._ModuleManager_initialize('c/dSirkf/n90YA/ZGAB2e/sLGWFe/M79aPc/nJ4XF/hZVRae',[]);
}catch(e){__._DumpException(e)}
}).call(this,this.default_b);
// Google Inc.
